/* ===== ОСНОВНЫЕ СТИЛИ ДЛЯ bs-1c.ru ===== */
/* ===== Версия: финальная (исправлено 18.03.2026) ===== */

/* ===== ПЕРЕМЕННЫЕ ===== */
:root {
    /* Основные цвета (объединено из bfl-vsem и zarya.ru) */
    --primary-dark: #0E2244;
    --primary-blue: #00489A;
    --primary-light: #4f9ffb;
    --bg-light: #F6F7F8;
    --text-dark: #1b1f3b;
    --text-gray: #778A96;
    --white: #ffffff;
    --border-color: #E2E8F0;
    --accent-color: #00489A;
    
    /* Градиенты */
    --gradient-primary: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-blue) 54%, var(--primary-light) 100%);
    --gradient-button: linear-gradient(90deg, var(--primary-light), var(--primary-blue));
    
    /* Тени */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

/* ===== СБРОС И БАЗОВЫЕ СТИЛИ ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Golos Text', 'Inter', sans-serif;
    background-color: var(--white);
    color: var(--text-dark);
    line-height: 1.5;
    font-size: 16px;
    overflow-x: hidden;
}
article {
	font-size:18px;
} 

.container {
    max-width: 1366px;
    margin: 0 auto;
    padding: 0 64px;
}

@media (max-width: 1200px) {
    .container {
        padding: 0 4%;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }
}

/* ===== ТИПОГРАФИЯ ===== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.8;
    margin-bottom: 20px;
    color: var(--text-dark);
}

h1 {
    font-size: 72px;
    font-weight: 600;
    line-height: 1.1;
}

h2 {
    font-size: 38px;
    font-weight: 700;
    margin-bottom: 24px;
}

h3 {
    font-size: 24px;
    font-weight: 600;
}

h4 {
    font-size: 20px;
    font-weight: 600;
}

p {
    font-size: 18px;
    line-height: 1.5;
    color: #1b1f3b;
    margin-bottom: 16px;
}

a {
    color: var(--primary-blue);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--primary-light);
}

ul, ol {
    margin: 15px 0 15px 20px;
}

li {
    margin-bottom: 8px;
}

img {
    max-width: 100%;
    height: auto;
}

.section-title {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.section-title span {
    color: var(--primary-blue);
}

/* ===== ГРАДИЕНТЫ ===== */
.gradient-bg {
    background: var(--gradient-primary);
    color: var(--white);
}

.gradient-button {
    background: var(--gradient-button);
    transition: all 0.3s;
}

.gradient-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px -5px rgba(0, 72, 154, 0.4);
}

/* ===== КНОПКИ ===== */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 16px;
    text-decoration: none;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    text-align: center;
    line-height: 1.5;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: transparent;
    transition: background-color 0.3s;
    border-radius: inherit;
    z-index: 1;
}

.btn:hover::before {
    background-color: rgba(255, 255, 255, 0.2);
}

.btn-primary {
    background-color: var(--white);
    color: var(--primary-blue);
    border: 1px solid var(--primary-blue);
}

.btn-primary:hover {
    background-color: var(--primary-blue);
    color: var(--white);
}

.btn-secondary {
    background-color: transparent;
    border: 1px solid var(--white);
    color: var(--white);
}

.btn-blue {
    background-color: var(--primary-blue);
    color: var(--white);
}

.btn-large {
    padding: 18px 24px;
    font-size: 20px;
    border-radius: 16px;
}

.btn-small {
    padding: 8px 20px;
    font-size: 16px;
}

.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* ===== ШАПКА (HEADER) ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: transparent;
    transition: background-color 0.3s, box-shadow 0.3s;
    padding: 0;
}
.header-inner {
    background-color: var(--primary-dark) !important;
    box-shadow: var(--shadow-md);
}

.header.scrolled {
    background-color: var(--primary-dark);
    box-shadow: var(--shadow-md);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

/* Логотип с PNG */
.logo-img {
    height: 60px;
    width: auto;
    display: block;
}

@media (max-width: 768px) {
    .logo-img {
        height: 42px;
    }
}

/* Навигация */
.nav-menu {
    display: flex;
    gap: 32px;
    align-items: center;
	text-transform: uppercase;
}

.nav-link {
    color: var(--white);
    text-decoration: none;
    font-weight: 400;
    font-size: 16px;
    transition: opacity 0.3s;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: var(--white);
    transform: scaleX(0);
    transition: transform 0.3s;
}

.nav-link:hover::after {
    transform: scaleX(1);
}

.header-phone {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    font-size: 20px;
}

.header-phone span {
    font-size: 14px;
    color: #a0b3c6;
    display: block;
    text-align: right;
}

/* ===== БУРГЕР-МЕНЮ ===== */
.burger {
    display: none;
    width: 30px;
    height: 30px;
    flex-direction: column;
    justify-content: space-around;
    cursor: pointer;
    z-index: 1001;
    position: relative;
}

.burger span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: var(--white);
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* Анимация для активного состояния (крестик) */
.burger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.burger.active span:nth-child(2) {
    opacity: 0;
    transform: translateX(-10px);
}

.burger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -8px);
}

/* Мобильное меню */
.burger-menu {
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-blue) 100%);
    padding: 0;
    height: 0;
    overflow: hidden;
    transition: height 0.35s ease;
    z-index: 999;
    box-shadow: var(--shadow-lg);
}

.burger-menu.active {
    height: auto;
    padding: 20px 0;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.burger-menu a {
    display: block;
    padding: 15px 20px;
    color: var(--white);
    text-decoration: none;
    font-size: 18px;
    font-weight: 400;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    transition: background-color 0.3s;
}

.burger-menu a:last-child {
    border-bottom: none;
}

.burger-menu a:hover {
    background-color: rgba(255,255,255,0.1);
}

/* Затемнение фона при открытом меню */
body.menu-open {
    overflow: hidden;
}

body.menu-open::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 998;
    backdrop-filter: blur(3px);
}

/* ===== ХЛЕБНЫЕ КРОШКИ ===== */
.breadcrumbs {
    background: var(--bg-light, #F6F7F8);
    padding: 15px 0;
     
}

.breadcrumb {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.breadcrumb li {
    display: inline-flex;
    align-items: center;
    font-size: 14px;
    line-height: 1.5;
    color: var(--text-gray, #778A96);
    position: relative;
}

/* Разделитель между элементами */
.breadcrumb li:not(:last-child)::after {
    content: '/';
    margin-left: 8px;
    color: var(--text-gray, #778A96);
    font-size: 14px;
    opacity: 0.7;
}

/* Ссылки */
.breadcrumb li a {
    color: var(--primary-blue, #00489A);
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
    display: inline-block;
}

.breadcrumb li a:hover {
    color: var(--primary-light, #4f9ffb);
    text-decoration: underline;
}

/* Текущий элемент (активный) */
.breadcrumb li.active {
    color: var(--text-gray, #778A96);
    font-weight: 500;
    cursor: default;
}

/* Для микроразметки Schema.org */
.breadcrumb li[itemprop="itemListElement"] {
    display: inline-flex;
    align-items: center;
}

.breadcrumb li[itemprop="itemListElement"] meta {
    display: none;
}

/* Адаптив для планшетов */
@media screen and (max-width: 1200px) {
    .breadcrumbs {
        padding: 12px 0;
    }
    
    .breadcrumb li {
        font-size: 13px;
    }
}

/* Адаптив для мобильных */
@media screen and (max-width: 768px) {
    .breadcrumbs {
        padding: 10px 0;
    }
    
    .breadcrumb {
        gap: 5px;
    }
    
    .breadcrumb li {
        font-size: 12px;
    }
    
    .breadcrumb li:not(:last-child)::after {
        margin-left: 5px;
        font-size: 12px;
    }
}

/* Адаптив для маленьких телефонов */
@media screen and (max-width: 480px) {
    .breadcrumbs {
        padding: 8px 0;
    }
    
    .breadcrumb li {
        font-size: 11px;
    }
    
    .breadcrumb li:not(:last-child)::after {
        margin-left: 4px;
        font-size: 11px;
    }
}

/* Адаптив для очень маленьких телефонов */
@media screen and (max-width: 360px) {
    .breadcrumbs {
    }
    
    .breadcrumb li {
        font-size: 10px;
    }
}

/* Темная тема (опционально) */
@media (prefers-color-scheme: dark) {
    .breadcrumbs {
        background: rgba(255, 255, 255, 0.05);
        border-bottom-color: rgba(255, 255, 255, 0.1);
    }
}

/* ===== HERO СЕКЦИЯ ===== */
.hero {
    background: linear-gradient(336deg, var(--primary-dark) 35%, var(--primary-blue) 100%);
    /*height: 100vh;*/
    min-height: 700px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    padding-top: 80px; 
    box-sizing: border-box;
}
.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    position: relative;
    z-index: 10;
}

.hero-content {
    max-width: 600px;
}

.hero h1 {
    color: var(--white);
    font-size: 62px;
    margin-bottom: 24px;
}

.hero p {
    color: rgba(255,255,255,0.8);
    font-size: 20px;
    margin-bottom: 48px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* Фото юриста */
.hero-photo {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 150px;
}

.hero-photo img {
    max-width: 100%;
    max-height: 600px;
    width: auto;
    height: auto;
    border-radius: 24px;
    position: relative;
    z-index: 20;
}

/* Шумовая текстура */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: repeating-linear-gradient(45deg, rgba(255,255,255,0.02) 0px, rgba(255,255,255,0.02) 2px, transparent 2px, transparent 4px);
    opacity: 0.5;
    pointer-events: none;
    animation: noise 2s steps(2) infinite;
}

@keyframes noise {
    0% { transform: translate3d(0,9%,0); }
    10% { transform: translate3d(-1%,-4%,0); }
    20% { transform: translate3d(-8%,2%,0); }
    30% { transform: translate3d(9%,-9%,0); }
    40% { transform: translate3d(-2%,7%,0); }
    50% { transform: translate3d(-9%,-4%,0); }
    60% { transform: translate3d(2%,6%,0); }
    70% { transform: translate3d(7%,-8%,0); }
    80% { transform: translate3d(-9%,1%,0); }
    90% { transform: translate3d(6%,-5%,0); }
    100% { transform: translate3d(-7%,0,0); }
}

/* ===== СТАРЫЕ СТИЛИ ИЗ ПЕРВОЙ ВЕРСИИ ===== */
.hero-stats {
    display: flex;
    gap: 40px;
    margin: 40px 0;
}

.hero-stats-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.hero-stats-item img {
    width: 30px;
    height: 30px;
    filter: brightness(0) invert(1);
}

/* ===== ОГЛАВЛЕНИЕ (TOC) ===== */
.toc {
    background: var(--white);
    border-radius: 20px;
    padding: 30px;
    margin: 40px 0;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
}

.toc h2 {
    font-size: 24px;
    margin-bottom: 20px;
}

.toc ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 15px 30px;
    margin: 0;
}

.toc li a {
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: 500;
    border-bottom: 1px dashed var(--primary-light);
    padding-bottom: 2px;
}

.toc li a:hover {
    color: var(--primary-light);
    border-bottom-color: var(--primary-light);
}
/* ========= introtext ============ */
.section-cards {
	font-size: 22px;
    margin: 30px 0;
    padding: 30px 35px;
    background-color: var(--bg-light, #F6F7F8);
    border-radius: 20px;
    position: relative;
    border: 1px solid var(--border-color, #E2E8F0);
    box-shadow: var(--shadow-md, 0 4px 6px -1px rgba(0, 0, 0, 0.1));
}

/* Декоративная линия */
.section-cards::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-blue, #00489A) 0%, var(--primary-light, #4f9ffb) 100%);
    border-radius: 4px 0 0 4px;
}


/* ===== КАРТОЧКИ СЕКЦИЙ ===== */
.section-card {
    background: var(--white);
    border-radius: 24px;
    padding: 40px;
    margin-bottom: 30px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
    transition: transform 0.3s, box-shadow 0.3s;
}

.section-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.section-card h2 {
    font-size: 30px;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 15px;
    border-bottom: 3px solid var(--primary-light);
}

.section-card h3 {
    font-size: 22px;
    margin: 25px 0 15px;
    color: var(--primary-blue);
}

/* ===== ТАБЛИЦА СРАВНЕНИЯ ===== */
.comparison-table {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin: 20px 0;
}

.comparison-col {
    padding: 25px;
    border-radius: 16px;
}

.comparison-col.green {
    background: #f0fdf4;
    border: 1px solid #86efac;
}

.comparison-col.red {
    background: #fef2f2;
    border: 1px solid #fca5a5;
}

.comparison-col h4 {
    font-size: 20px;
    margin-bottom: 15px;
    text-align: center;
}

/* ===== FAQ С ПЛЮСАМИ ===== */
.faq-section {
    padding: 80px 0;
    background-color: var(--white);
}

.faq-accordion {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid var(--border-color);
    padding: 0;
    margin-bottom: 0;
}

.faq-question {
    padding: 25px 0;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background-color: rgba(0, 72, 154, 0.02);
}

.faq-question h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-dark);
    margin: 0;
    padding-right: 40px;
    line-height: 1.4;
}

.faq-toggle {
    position: relative;
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.faq-toggle::before,
.faq-toggle::after {
    content: '';
    position: absolute;
    background-color: var(--primary-blue);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.faq-toggle::before {
    width: 24px;
    height: 2px;
    top: 11px;
    left: 0;
}

.faq-toggle::after {
    width: 2px;
    height: 24px;
    top: 0;
    left: 11px;
}

.faq-item.active .faq-toggle::after {
    transform: rotate(90deg);
    opacity: 0;
}

.faq-item.active .faq-toggle {
    transform: rotate(90deg);
}

.faq-answer {
    padding: 0 0 25px 0;
    display: none;
    animation: fadeIn 0.5s ease;
}

.faq-item.active .faq-answer {
    display: block;
}

.faq-answer p {
    font-size: 17px;
    color: var(--text-gray);
    margin-bottom: 15px;
    line-height: 1.6;
}

.faq-answer p:last-child {
    margin-bottom: 0;
}

.faq-answer strong {
    color: var(--primary-blue);
    font-weight: 600;
}

/* Адаптив для FAQ */
@media screen and (max-width: 768px) {
    .faq-section {
        padding: 60px 0;
    }
    
    .faq-question {
        padding: 20px 0;
    }
    
    .faq-question h3 {
        font-size: 18px;
        padding-right: 30px;
    }
    
    .faq-toggle {
        width: 20px;
        height: 20px;
    }
    
    .faq-toggle::before {
        width: 20px;
        top: 9px;
    }
    
    .faq-toggle::after {
        height: 20px;
        left: 9px;
    }
    
    .faq-answer {
        padding: 0 0 20px 0;
    }
    
    .faq-answer p {
        font-size: 15px;
    }
}

@media screen and (max-width: 480px) {
    .faq-question h3 {
        font-size: 16px;
        padding-right: 25px;
    }
    
    .faq-answer p {
        font-size: 14px;
    }
}

/* ===== КВИЗ-ФОРМА ===== */
.quiz-section {
    background: var(--gradient-primary);
    color: var(--white);
    padding: 80px 0;
    margin: 40px 0;
    border-radius: 40px;
}

.quiz-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.quiz-content h2 {
    color: var(--white);
    font-size: 34px;
    font-weight: 600;
    margin-bottom: 30px;
}

.quiz-form {
    background: var(--white);
    border-radius: 20px;
    padding: 40px;
    color: var(--text-dark);
    box-shadow: var(--shadow-xl);
}

.quiz-form h3 {
    margin-bottom: 20px;
    color: var(--text-dark);
}

.form-question {
    margin-bottom: 30px;
}

.form-question .number {
    display: inline-block;
    width: 40px;
    height: 40px;
    background: var(--gradient-button);
    color: var(--white);
    border-radius: 50%;
    text-align: center;
    line-height: 40px;
    font-weight: 600;
    margin-bottom: 15px;
}

.form-question p {
    font-weight: 600;
    margin-bottom: 15px;
}

.radio-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.radio-group label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    padding: 10px;
    border-radius: 8px;
    transition: background 0.3s;
}

.radio-group label:hover {
    background: var(--bg-light);
}

.quiz-form input[type="text"],
.quiz-form input[type="tel"],
.quiz-form input[type="email"],
.quiz-form textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid var(--border-color);
    border-radius: 14px;
    font-size: 16px;
    margin-bottom: 20px;
    font-family: 'Golos Text', 'Inter', sans-serif;
    transition: border-color 0.3s;
}

.quiz-form input:focus,
.quiz-form textarea:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(0, 72, 154, 0.1);
}

.quiz-form .btn {
    width: 100%;
    background: var(--primary-blue);
    color: var(--white);
    font-size: 18px;
    padding: 18px;
    border-radius: 14px;
    border: none;
    cursor: pointer;
    transition: background 0.3s;
}

.quiz-form .btn:hover {
    background: var(--primary-light);
}

.form-note {
    font-size: 12px;
    color: var(--text-gray);
    margin-top: 15px;
    text-align: center;
}

/* ===== СПИСОК С ГАЛОЧКАМИ ===== */
ul.check-list {
    margin: 20px 0 30px 0;
    padding-left: 0;
    list-style: none;
    color: var(--text-gray);
}

ul.check-list li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 10px;
    line-height: 1.5;
}

ul.check-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--primary-blue);
    font-size: 20px;
    font-weight: 600;
    line-height: 1.5;
}

/* ===== ОТЗЫВЫ ===== */
.reviews {
    background: var(--bg-light);
    padding: 80px 0;
    overflow: hidden;
}

.reviews-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.reviews-slider {
    display: flex;
    gap: 30px;
    overflow-x: auto;
    scrollbar-width: none;
    padding-bottom: 20px;
}

.reviews-slider::-webkit-scrollbar {
    display: none;
}

.review-card {
    min-width: 350px;
    background: var(--white);
    border-radius: 20px;
    padding: 30px;
    box-shadow: var(--shadow-md);
    transition: transform 0.3s;
}

.review-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.review-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 20px;
    margin-bottom: 20px;
    background: var(--bg-light);
}

.review-name {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.review-status {
    color: var(--primary-blue);
    font-weight: 500;
    margin-bottom: 10px;
}

.review-case {
    font-size: 16px;
    margin-bottom: 5px;
    color: var(--text-dark);
}

.review-number {
    color: var(--text-gray);
    font-size: 14px;
}

/* ===== СЕТКА УСЛУГ ===== */
.services-section {
    padding: 80px 0;
    background-color: var(--bg-light);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
    margin-top: 40px;
}

.service-card {
    background-color: var(--white);
    border-radius: 24px;
    padding: 24px;
    text-align: center;
    transition: transform 0.3s, background-color 0.3s;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.service-card:hover {
    background-color: rgba(0,72,154,0.1);
    transform: translateY(-5px);
}

.service-card img {
    width: 44px;
    height: 44px;
}

.service-card h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-dark);
    white-space: pre-line;
}

.service-card p {
    font-size: 16px;
    color: var(--text-gray);
    margin: 0;
}

/* ===== СЕТКА СТАТЕЙ ===== */
.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.article-card {
    background: var(--white);
    border-radius: 24px;
    padding: 30px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    transition: transform 0.3s;
}

.article-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.article-card .date {
    color: var(--primary-light);
    font-size: 14px;
    margin-bottom: 10px;
}

.article-card h3 a {
    color: var(--text-dark);
    text-decoration: none;
}

.article-card h3 a:hover {
    color: var(--primary-blue);
}

/* ===== СЕКЦИЯ РЕЗУЛЬТАТОВ ===== */
.results-section {
    padding: 80px 0;
    background-color: var(--white);
}

.results-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.results-title h2 {
    margin-bottom: 24px;
}

.results-title p {
    font-size: 18px;
    color: var(--text-gray);
    margin-bottom: 32px;
}

.stats-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-top: 40px;
}

.stat-card {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.stat-number {
    font-size: 72px;
    font-weight: 800;
    color: var(--primary-blue);
    line-height: 1;
}

.stat-label {
    font-size: 16px;
    color: var(--text-gray);
}


/* ===== СЕКЦИЯ КАРТЫ ===== */
.map-section {
    padding: 80px 0;
    background-color: var(--white);
}

.map-container {
    background-color: var(--white);
    border-radius: 48px;
    padding: 64px 0;
}

.map-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    margin-bottom: 32px;
}

.map-text h2 {
    margin-bottom: 12px;
}

.map-subtitle {
    font-weight: 600;
    color: var(--primary-blue);
    margin-bottom: 24px;
}

.map-description {
    padding: 24px 32px;
    border: 1.5px solid var(--primary-blue);
    border-radius: 12px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 24px;
}

.map-description svg {
    height: 32px;
    width: auto;
    fill: var(--primary-blue);
}

.map-wrapper {
    width: 100%;
    margin: 32px 0;
}

.map-button {
    text-align: center;
}

/* ===== СЕКЦИЯ ФОРМЫ ===== */
.form-section {
    padding: 80px 0;
}

.form-container {
    background-color: var(--primary-blue);
    border-radius: 27px;
    padding: 64px;
    position: relative;
    overflow: hidden;
}

.form-bg {
    position: absolute;
    top: 25%;
    left: 85%;
    transform: translate(-50%, -50%) rotate(44.53deg);
}

.form-title {
    color: var(--white);
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 32px;
    position: relative;
    z-index: 50;
}

.form-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    max-width: 700px;
    position: relative;
    z-index: 50;
}

.form-input {
    flex: 1 1 300px;
    height: 62px;
}

.form-input input {
    width: 100%;
    height: 100%;
    padding: 16px;
    border: 1.5px solid rgba(0,72,154,0.1);
    border-radius: 12px;
    font-size: 16px;
    transition: all 0.3s;
}

.form-input input:focus {
    outline: none;
    box-shadow: 0 0 0 1.5px rgba(0,72,154,0.5);
    border-color: var(--primary-blue);
}

.form-submit {
    flex: 1 1 300px;
    height: 62px;
    background-color: var(--white);
    color: var(--primary-blue);
    border: none;
    border-radius: 12px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.form-submit:hover {
    background-color: var(--primary-light);
    color: var(--white);
}

.form-note {
    color: rgba(255,255,255,0.8);
    font-size: 14px;
    margin-top: 16px;
}

.form-note a {
    color: var(--white);
    text-decoration: underline;
}

/* ===== СЕКЦИЯ "ДЛЯ КОГО" ===== */
.for-section {
    padding: 80px 0;
    background-color: var(--white);
}

.for-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.for-card {
    background-color: var(--white);
    border: 1px dashed var(--border-color);
    border-radius: 24px;
    padding: 30px;
    text-align: center;
    transition: transform 0.3s;
}

.for-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px -10px rgba(0,0,0,0.1);
}

.for-card-image {
    height: 120px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.for-card-image img {
    max-height: 100%;
    width: auto;
}

.for-card-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.for-card-line {
    width: 60px;
    height: 2px;
    background-color: var(--primary-blue);
    margin: 0 auto 20px;
}

.for-card-text {
    font-size: 17px;
    color: var(--text-gray);
    margin-bottom: 10px;
}

/* ===== ФУТЕР ===== */
.footer {
    background-color: var(--primary-dark);
    color: var(--white);
    padding: 60px 0 30px;
}

.footer a {
    color: var(--white);
    text-decoration: none;
    transition: opacity 0.3s;
}

.footer a:hover {
    opacity: 0.8;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 2fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo svg {
    height: 32px;
    width: auto;
    fill: var(--white);
    margin-bottom: 16px;
}

.footer-logo p {
    color:#d3d6d7;
}


.footer-contacts {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 20px;
}

.footer-phone {
    font-size: 24px;
    font-weight: 600;
    color: var(--white);
}

.footer-social {
    display: flex;
    gap: 16px;
}

.footer-social svg {
    width: 24px;
    height: 24px;
    fill: var(--white);
}

.footer-column {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-link {
    position: relative;
    width: fit-content;
}

.footer-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: var(--white);
    transform: scaleX(0);
    transition: transform 0.35s;
}

.footer-link:hover::after {
    transform: scaleX(1);
}

.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 24px;
    margin-top: 28px;
    padding-top: 28px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-legal {
   /* opacity: 0.8;*/
}
    /* Стили для липкого блока */
    .footer-legal {
        position: relative;
        bottom: 0;
        left: 0;
        right: 0;
        background: #0e2244;
        padding: 12px 20px;
        z-index: 99;
        font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    }
    
    .footer-legal-content {
        max-width: 1200px;
        margin: 0 auto;
        font-size: 13px;
        line-height: 1.4;
        color: #333;
    }
    
    .footer-legal-reklama {
        margin-bottom: 6px;
    }
    
    .footer-legal-badge {
        background: #0e2244;
        color: #fff;
        padding: 2px 8px;
        border-radius: 4px;
        font-size: 12px;
        font-weight: 500;
        display: inline-block;
        margin-right: 10px;
    }
    
    .footer-legal-inn {
        font-size: 12px;
        color: #fff;
    }
    
    .footer-legal-warning {
        font-size: 12px;
        color: #fff;
    }
    
    .footer-legal-warning strong {
        color: #CBA55A;
    }
    
    /* Адаптация для мобильных */
    @media (max-width: 768px) {
        .footer-legal {
            padding: 10px 15px;
        }
        .footer-legal-content {
            font-size: 11px;
        }
        .footer-legal-warning {
            font-size: 10px;
        }
        body {
            padding-bottom: 85px;
        }
    }
/* ===== СТРАНИЦА 404 ===== */
.error-404 {
    text-align: center;
    padding: 100px 0;
}

.error-404 h1 {
    font-size: 120px;
    color: var(--primary-blue);
    margin-bottom: 20px;
}

.error-404 p {
    font-size: 20px;
    margin-bottom: 40px;
}

/* ===== ФОРМЫ ПОДПИСКИ ===== */
.subscribe-form {
    max-width: 500px;
    margin: 40px auto;
    padding: 40px;
    background: var(--white);
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
}

.subscribe-form input {
    width: 100%;
    padding: 15px;
    margin-bottom: 20px;
    border: 1px solid var(--border-color);
    border-radius: 14px;
}

/* ===== КНОПКА "НАВЕРХ" ===== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary-blue);
    color: var(--white);
    border: none;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    z-index: 99;
    box-shadow: var(--shadow-lg);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--primary-light);
    transform: translateY(-5px);
}

/* ===== УВЕДОМЛЕНИЯ ===== */
.notifications-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 20000;
}

.notification {
    background: var(--white);
    border-radius: 14px;
    padding: 15px 25px;
    margin-bottom: 10px;
    box-shadow: var(--shadow-lg);
    transform: translateX(100%);
    opacity: 0;
    transition: all 0.3s;
    max-width: 350px;
}

.notification.show {
    transform: translateX(0);
    opacity: 1;
}

.notification-success {
    border-left: 4px solid #10b981;
}

.notification-error {
    border-left: 4px solid #f44336;
}

.notification-info {
    border-left: 4px solid var(--primary-blue);
}

/* ===== КАСТОМНЫЙ СЕЛЕКТ ===== */
.select-wrapper {
    position: relative;
    width: 100%;
}

.select-header {
    width: 100%;
    padding: 15px;
    border: 1px solid var(--border-color);
    border-radius: 14px;
    background: var(--white);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.select-arrow {
    transition: transform 0.3s;
}

.select-options {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 14px;
    margin-top: 5px;
    max-height: 200px;
    overflow-y: auto;
    z-index: 10;
    display: none;
}

.select-options.active {
    display: block;
}

.select-option {
    padding: 12px 15px;
    cursor: pointer;
    transition: background 0.3s;
}

.select-option:hover {
    background: var(--bg-light);
}

.select-option.selected {
    background: var(--primary-blue);
    color: var(--white);
}

/* ===== ЗАГРУЗКА ФАЙЛА ===== */
.file-upload {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
}

.file-upload-btn {
    padding: 12px 20px;
    background: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: 14px;
    cursor: pointer;
    transition: all 0.3s;
}

.file-upload-btn:hover {
    background: var(--primary-light);
    color: var(--white);
}

.file-name {
    color: var(--text-gray);
    font-size: 14px;
}

/* ===== ТУЛТИП ===== */
.tooltip {
    position: fixed;
    background: var(--text-dark);
    color: var(--white);
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 12px;
    z-index: 10000;
    pointer-events: none;
    white-space: nowrap;
}

.tooltip::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 5px solid var(--text-dark);
}

/* ===== АНИМАЦИИ ===== */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.6s ease forwards;
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.bounce {
    animation: bounce 2s infinite;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.slide-in {
    animation: slideIn 0.6s ease forwards;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

.pulse {
    animation: pulse 2s infinite;
}

/* ===== СТИЛИ ДЛЯ СТРАНИЦЫ "О НАС" ===== */
.fullwidth-content {
    width: 100%;
    margin: 50px 0;
}

.fullwidth-content .section-card {
    width: 100%;
    max-width: 100%;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 50px;
}

.mt-40 {
    margin-top: 40px;
}

/* Адаптив */
@media screen and (max-width: 768px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .fullwidth-content {
        margin-bottom: 30px;
    }
}


/* ===== ВСПОМОГАТЕЛЬНЫЕ КЛАССЫ ===== */
.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

.mt-20 { margin-top: 20px; }
.mt-40 { margin-top: 40px; }
.mt-60 { margin-top: 60px; }
.mb-20 { margin-bottom: 20px; }
.mb-40 { margin-bottom: 40px; }
.mb-60 { margin-bottom: 60px; }

.hidden {
    display: none !important;
}

.visible {
    display: block !important;
}

/* ===== АДАПТИВНОСТЬ ===== */
@media (max-width: 1200px) {
    h1 { font-size: 52px; }
    h2 { font-size: 38px; }
    .section-title { font-size: 38px; }
    
    .nav-menu { display: none; }
    .burger { display: flex; }
    
    .results-grid {
        grid-template-columns: 1fr;
    }
    
    .map-content {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
	.hero {
        min-height: 600px;
        padding-top: 80px;
    }
}

@media (max-width: 768px) {
    h1 { font-size: 36px; }
    h2 { font-size: 28px; }
    .section-title { font-size: 28px; }
    
    .hero {
        height: auto;
        min-height: auto;
		padding: 120px 0 60px; 
        padding-top: 100px; 
    }
    
    .hero h1 { font-size: 36px; }
    
    .form-container { padding: 30px; }
    .form-title { font-size: 32px; }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-cards {
        grid-template-columns: 1fr;
    }
    
    .for-grid {
        grid-template-columns: 1fr;
    }
    
    .burger-menu {
        display: block;
    }
    
    .back-to-top {
        bottom: 20px;
        right: 20px;
    }
	.header .container {
        height: 60px; 
    }
}

/* ===== ПОПАП ===== */
.popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
}

.popup.active {
    opacity: 1;
    visibility: visible;
}

.popup-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
}

.popup-container {
    position: relative;
    width: 90%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
    margin: 50px auto;
    background: var(--white);
    border-radius: 24px;
    box-shadow: var(--shadow-2xl);
    transform: translateY(-30px);
    transition: transform 0.4s;
}

.popup.active .popup-container {
    transform: translateY(0);
}

.popup-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    border: none;
    background: var(--bg-light);
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-dark);
    transition: all 0.3s;
    z-index: 10;
}

.popup-close:hover {
    background: var(--primary-blue);
    color: var(--white);
    transform: rotate(90deg);
}

.popup-content {
    padding: 40px;
}

.popup-header {
    text-align: center;
    margin-bottom: 30px;
}

.popup-header h2 {
    color: var(--text-dark);
    margin-bottom: 10px;
}

.popup-header p {
    color: var(--text-gray);
}

/* Форма в попапе */
.popup-form .form-group {
    margin-bottom: 20px;
}

.popup-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text-dark);
}

.popup-form input,
.popup-form select,
.popup-form textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid var(--border-color);
    border-radius: 14px;
    font-size: 16px;
    transition: all 0.3s;
}

.popup-form input:focus,
.popup-form select:focus,
.popup-form textarea:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(0, 72, 154, 0.1);
}

.popup-form input.error {
    border-color: #f44336;
}

.error-message {
    display: block;
    color: #f44336;
    font-size: 12px;
    margin-top: 5px;
}

/* Чекбокс */
.checkbox-group {
    margin: 20px 0;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.checkbox-text {
    font-size: 14px;
    color: var(--text-gray);
}

/* Попап "Спасибо" */
.popup-thankyou .popup-content {
    text-align: center;
}

.thankyou-icon {
    width: 80px;
    height: 80px;
    background: #f0fdf4;
    border: 2px solid #86efac;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    color: #10b981;
    margin: 0 auto 30px;
}

.popup-thankyou h2 {
    margin-bottom: 20px;
}

.popup-thankyou p {
    margin-bottom: 10px;
}

/* ===== ПЕЧАТЬ ===== */
@media print {
    .header,
    .footer,
    .quiz-section,
    .btn,
    .form-section,
    .popup {
        display: none !important;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.5;
        color: #000;
    }
    
    a {
        color: #000;
        text-decoration: underline;
    }
}
/* ===== СТРАНИЦА СПИСКА СТАТЕЙ ===== */
.page-header {
    background-color: var(--bg-light);
	padding-top: 120px;
}

.page-description {
    font-size: 18px;
    color: var(--text-gray);
    max-width: 700px;
    margin: 20px 0 0;
}

.articles-section {
    padding: 60px 0 80px;
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin: 40px 0;
}

.article-card {
    background: var(--white);
    border-radius: 20px;
    padding: 25px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    transition: transform 0.3s, box-shadow 0.3s;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.article-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.article-date {
    color: var(--primary-blue);
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 15px;
}

.article-card h3 {
    font-size: 20px;
    margin-bottom: 15px;
    line-height: 1.4;
}

.article-card h3 a {
    color: var(--text-dark);
    text-decoration: none;
    transition: color 0.3s;
}

.article-card h3 a:hover {
    color: var(--primary-blue);
}

.article-excerpt {
    font-size: 15px;
    color: var(--text-gray);
    line-height: 1.6;
    margin-bottom: 20px;
    flex: 1;
}

.article-meta {
    display: flex;
    gap: 15px;
    font-size: 13px;
    color: var(--text-gray);
    margin-bottom: 20px;
    padding-top: 15px;
    border-top: 1px solid var(--border-color);
}

.article-author,
.article-reading-time {
    position: relative;
    padding-left: 20px;
}

.article-author::before {
    content: '✎';
    position: absolute;
    left: 0;
    color: var(--primary-blue);
}

.article-reading-time::before {
    content: '⌛';
    position: absolute;
    left: 0;
    color: var(--primary-blue);
}

.article-read-more {
    color: var(--primary-blue);
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.article-read-more:hover {
    gap: 10px;
    color: var(--primary-light);
}

/* Пагинация */
.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 50px;
}

.pagination a,
.pagination span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 10px;
    border-radius: 10px;
    background: var(--white);
    color: var(--text-dark);
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s;
    border: 1px solid var(--border-color);
}

.pagination a:hover {
    background: var(--primary-blue);
    color: var(--white);
    border-color: var(--primary-blue);
}

.pagination .active {
    background: var(--primary-blue);
    color: var(--white);
    border-color: var(--primary-blue);
}

/* Секция подписки */
.subscribe-section {
    padding: 60px 0;
    background-color: var(--bg-light);
}

.subscribe-card {
    background: var(--white);
    border-radius: 30px;
    padding: 50px;
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
    box-shadow: var(--shadow-lg);
}

.subscribe-title {
    font-size: 28px;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.subscribe-text {
    font-size: 16px;
    color: var(--text-gray);
    margin-bottom: 30px;
}

.subscribe-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-width: 400px;
    margin: 0 auto;
}

.subscribe-input input {
    width: 100%;
    padding: 15px;
    border: 1px solid var(--border-color);
    border-radius: 14px;
    font-size: 16px;
    transition: all 0.3s;
}

.subscribe-input input:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(0, 72, 154, 0.1);
}

.subscribe-note {
    font-size: 12px;
    color: var(--text-gray);
    margin-top: 10px;
}

.subscribe-note a {
    color: var(--primary-blue);
    text-decoration: underline;
}

/* Адаптив для списка статей */
@media screen and (max-width: 1200px) and (min-width: 769px) {
    .articles-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 768px) {
    .page-header {
        padding: 100px 0 30px;
    }
    
    .articles-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .article-card {
        padding: 20px;
    }
    
    .article-card h3 {
        font-size: 18px;
    }
    
    .subscribe-card {
        padding: 30px 20px;
    }
    
    .subscribe-title {
        font-size: 24px;
    }
}

@media screen and (max-width: 480px) {
    .article-meta {
        flex-direction: column;
        gap: 5px;
    }
    
    .pagination {
        flex-wrap: wrap;
    }
}

 /* Дополнительные стили для страницы "О нас" */
        .team-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 30px;
            margin-top: 30px;
        }
        
        .team-member {
            background: var(--bg-light);
            border-radius: 20px;
            padding: 30px;
            text-align: center;
            transition: transform 0.3s;
        }
        
        .team-member:hover {
            transform: translateY(-5px);
        }
        
        .team-member img {
            width: 120px;
            height: 120px;
            border-radius: 50%;
            object-fit: cover;
            margin-bottom: 20px;
            border: 4px solid var(--primary-blue);
        }
        
        .team-member h3 {
            margin-bottom: 5px;
            color: var(--text-dark);
        }
        
        .team-member .position {
            color: var(--primary-blue);
            font-weight: 500;
            margin-bottom: 10px;
        }
        
        .team-member .experience {
            font-size: 14px;
            color: var(--text-gray);
        }
        
        .benefits-list {
            list-style: none;
            padding: 0;
        }
        
        .benefits-list li {
            margin-bottom: 15px;
            padding-left: 35px;
            position: relative;
            font-size: 16px;
            line-height: 1.5;
        }
        
        .benefits-list li::before {
            content: "✓";
            position: absolute;
            left: 0;
            top: 0;
            color: var(--primary-blue);
            font-size: 22px;
            font-weight: 600;
            width: 25px;
            height: 25px;
            display: flex;
            align-items: center;
            justify-content: center;
            background: rgba(0,72,154,0.1);
            border-radius: 50%;
        }
        
        .reviews-section {
            margin-top: 60px;
        }
        
        .reviews-section h2 {
            text-align: center;
            margin-bottom: 40px;
        }
        
        .reviews-grid {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 30px;
        }
        
        .review-card {
            background: var(--white);
            border-radius: 20px;
            padding: 30px;
            box-shadow: var(--shadow-md);
            border: 1px solid var(--border-color);
            transition: transform 0.3s;
        }
        
        .review-card:hover {
            transform: translateY(-5px);
            box-shadow: var(--shadow-xl);
        }
        
        .review-card p {
            font-size: 16px;
            font-style: italic;
            margin-bottom: 20px;
            color: var(--text-dark);
        }
        
        .review-author {
            font-weight: 600;
            color: var(--primary-blue);
        }
        
        .review-city {
            font-size: 14px;
            color: var(--text-gray);
        }
        
        @media screen and (max-width: 768px) {
            .reviews-grid {
                grid-template-columns: 1fr;
            }
            
            .team-grid {
                grid-template-columns: 1fr;
            }
        }
		
/* ===== ДОПОЛНИТЕЛЬНЫЕ СТИЛИ ДЛЯ УСЛУГ ===== */

/* Услуги сетка */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin: 40px 0;
}

@media screen and (max-width: 1200px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 600px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
}

/* Карточка услуги */
.service-card {
    background: var(--white);
    border-radius: 24px;
    padding: 30px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 0;
    background: linear-gradient(180deg, var(--primary-light), var(--primary-blue));
    transition: height 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.service-card:hover::before {
    height: 100%;
}

/* Иконка услуги */
.service-icon {
    margin-bottom: 20px;
    width: 60px;
    height: 60px;
    background: rgba(0, 72, 154, 0.1);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-icon svg {
    width: 32px;
    height: 32px;
    transition: transform 0.3s ease;
}

.service-card:hover .service-icon svg {
    transform: scale(1.1);
}

/* Заголовок услуги */
.service-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.4;
}

.service-title a {
    color: var(--text-dark);
    text-decoration: none;
    transition: color 0.3s ease;
}

.service-title a:hover {
    color: var(--primary-blue);
}

/* Описание услуги */
.service-description {
    font-size: 16px;
    color: var(--text-gray);
    line-height: 1.6;
    margin-bottom: 25px;
    flex: 1;
}

/* Футер карточки */
.service-footer {
    margin-top: auto;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}

/* Кнопка в карточке */
.service-card .btn {
    width: 100%;
    text-align: center;
}

/* Секция "Другие статьи по теме" */
.related-articles-section {
    margin: 80px 0;
    padding: 60px 0;
    background: var(--bg-light);
    border-radius: 48px;
}

.related-articles-section .section-title {
    text-align: center;
    margin-bottom: 50px;
}

/* Адаптив */
@media screen and (max-width: 1200px) {
    .service-card {
        padding: 25px;
    }
    
    .service-title {
        font-size: 20px;
    }
    
    .service-description {
        font-size: 15px;
    }
}

@media screen and (max-width: 768px) {
    .related-articles-section {
        margin: 60px 0;
        padding: 40px 0;
        border-radius: 30px;
    }
    
    .service-card {
        padding: 20px;
    }
    
    .service-icon {
        width: 50px;
        height: 50px;
        border-radius: 14px;
    }
    
    .service-icon svg {
        width: 28px;
        height: 28px;
    }
    
    .service-title {
        font-size: 18px;
    }
}

@media screen and (max-width: 480px) {
    .related-articles-section {
        margin: 40px 0;
        padding: 30px 0;
        border-radius: 20px;
    }
}

/* Темная тема для карточек */
@media (prefers-color-scheme: dark) {
    .service-card {
        background: rgba(255, 255, 255, 0.05);
        border-color: rgba(255, 255, 255, 0.1);
    }
    
    .service-title a {
        color: var(--white);
    }
    
    .service-icon {
        background: rgba(79, 159, 251, 0.2);
    }
}	
/* ===== СПИСКИ С ГАЛОЧКАМИ В КАРТОЧКАХ ===== */

/* Автоматическое применение галочек к спискам в section-card */
.section-card ul:not(.no-check) {
    list-style: none;
    padding-left: 0;
    margin: 20px 0;
}

.section-card ul:not(.no-check) li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 12px;
    font-size: 18px;
    line-height: 1.5;
    color: var(--text-dark);
}

.section-card ul:not(.no-check) li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--primary-blue);
    font-size: 20px;
    font-weight: 600;
    line-height: 1.5;
}

/* Если список внутри параграфа */
.section-card p ul {
    margin-top: 10px;
}

/* Адаптив для мобильных */
@media screen and (max-width: 768px) {
    .section-card ul:not(.no-check) li {
        font-size: 15px;
        padding-left: 25px;
        margin-bottom: 10px;
    }
    
    .section-card ul:not(.no-check) li::before {
        font-size: 18px;
    }
}

@media screen and (max-width: 480px) {
    .section-card ul:not(.no-check) li {
        font-size: 14px;
        padding-left: 22px;
    }
    
    .section-card ul:not(.no-check) li::before {
        font-size: 16px;
    }
}
/* ===== СТИЛИ ДЛЯ ЦИТАТ - СОВРЕМЕННЫЙ ВАРИАНТ ===== */
blockquote {
    margin: 30px 0;
    padding: 30px 35px;
    background-color: var(--bg-light, #F6F7F8);
    border-radius: 20px;
    position: relative;
    border: 1px solid var(--border-color, #E2E8F0);
    box-shadow: var(--shadow-md, 0 4px 6px -1px rgba(0, 0, 0, 0.1));
}

/* Декоративная линия */
blockquote::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-blue, #00489A) 0%, var(--primary-light, #4f9ffb) 100%);
    border-radius: 4px 0 0 4px;
}

blockquote p {
    margin: 0;
    font-size: 18px;
    line-height: 1.7;
    color: var(--text-dark, #1B1F3B);
    position: relative;
    z-index: 2;
}

blockquote p strong {
    color: var(--primary-blue, #00489A);
    font-weight: 700;
}

/* Адаптив */
@media screen and (max-width: 768px) {
    blockquote {
        margin: 20px 0;
        padding: 20px 25px;
    }
    
    blockquote p {
        font-size: 16px;
    }
}
/* ===== СТИЛИ ДЛЯ ТАБЛИЦ В СТАТЬЯХ ===== */
.article-content {
    overflow-x: auto; /* Для горизонтального скролла на мобильных */
	padding: 10px 15px;
}

.article-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 30px 0;
    font-size: 16px;
    line-height: 1.6;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-md, 0 4px 6px -1px rgba(0, 0, 0, 0.1));
    background: var(--white, #ffffff);
}

/* Заголовки таблицы */
.article-content thead tr {
    background: linear-gradient(135deg, var(--primary-dark, #0E2244) 0%, var(--primary-blue, #00489A) 100%);
    color: var(--white, #ffffff);
}

.article-content th {
    padding: 16px 20px;
    font-weight: 600;
    font-size: 16px;
    text-align: left;
    white-space: nowrap;
}

/* Ячейки таблицы */
.article-content td {
    padding: 14px 20px;
    border-bottom: 1px solid var(--border-color, #E2E8F0);
    color: var(--text-dark, #1B1F3B);
}
/* ===== БЛОК АВТОРА ===== */
.author-box {
    display: flex;
    gap: 30px;
    align-items: center;
    background: var(--bg-light, #F6F7F8);
    border-radius: 20px;
    padding: 30px;
    margin: 40px 0;
    border: 1px solid var(--border-color, #E2E8F0);
    box-shadow: var(--shadow-md, 0 4px 6px -1px rgba(0, 0, 0, 0.1));
}

.author-avatar {
    flex-shrink: 0;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid var(--primary-blue, #00489A);
    box-shadow: var(--shadow-lg, 0 10px 15px -3px rgba(0, 0, 0, 0.1));
}

.author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.author-info {
    flex: 1;
}

.author-info h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: var(--text-dark, #1B1F3B);
    position: relative;
    padding-bottom: 10px;
}

.author-info h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--primary-blue, #00489A);
    border-radius: 2px;
}

.author-info p {
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-gray, #778A96);
    margin-bottom: 15px;
}

.author-meta {
    display: flex;
    gap: 20px;
    margin-top: 15px;
}

.author-experience {
    display: inline-block;
    padding: 6px 16px;
    background: var(--primary-blue, #00489A);
    color: white;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 500;
}

/* Адаптив для мобильных */
@media screen and (max-width: 768px) {
    .author-box {
        flex-direction: column;
        text-align: center;
        gap: 20px;
        padding: 25px;
    }
    
    .author-avatar {
        width: 100px;
        height: 100px;
    }
    
    .author-info h3::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .author-meta {
        justify-content: center;
    }
}

@media screen and (max-width: 480px) {
    .author-box {
        padding: 20px;
    }
    
    .author-avatar {
        width: 80px;
        height: 80px;
        border-width: 3px;
    }
    
    .author-info h3 {
        font-size: 20px;
    }
    
    .author-info p {
        font-size: 14px;
    }
}
/* ===== СТРАНИЦА ОТЗЫВОВ ===== */
.reviews-page-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 30px;
}

.review-page-card {
    background: var(--white);
    border-radius: 20px;
    padding: 25px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    transition: transform 0.3s, box-shadow 0.3s;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.review-page-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.review-page-header {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    align-items: center;
}

.review-page-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    border: 2px solid var(--primary-blue);
}

.review-page-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.review-page-info {
    flex: 1;
}

.review-page-name {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 5px;
    color: var(--text-dark);
}

.review-page-city {
    font-size: 14px;
    color: var(--text-gray);
    margin-bottom: 5px;
}

.review-page-rating {
    display: inline-block;
    padding: 3px 10px;
    background: #ffd700;
    color: #000;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
}

.review-page-rating span {
    color: #fff;
    margin-left: 3px;
}

.review-page-content {
    flex: 1;
    margin-bottom: 20px;
}

.review-page-content p {
    font-size: 15px;
    line-height: 1.6;
    color: var(--text-dark);
    font-style: italic;
    margin: 0;
}

.review-page-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    border-top: 1px solid var(--border-color);
    font-size: 13px;
    color: var(--text-gray);
}

.review-page-case {
    background: rgba(0,72,154,0.1);
    padding: 3px 10px;
    border-radius: 20px;
    color: var(--primary-blue);
}

/* Фильтр отзывов */
.reviews-filter .filter-btn {
    padding: 8px 20px;
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 30px;
    color: var(--text-dark);
    text-decoration: none;
    transition: all 0.3s;
}

.reviews-filter .filter-btn:hover,
.reviews-filter .filter-btn.active {
    background: var(--primary-blue);
    color: white;
    border-color: var(--primary-blue);
}

/* Форма добавления отзыва */
.add-review-card {
    background: linear-gradient(135deg, var(--bg-light) 0%, var(--white) 100%);
    border-radius: 30px;
    padding: 50px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-lg);
}

.review-form .form-group {
    margin-bottom: 15px;
}

.review-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text-dark);
}

.review-form input,
.review-form select,
.review-form textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: 14px;
    font-size: 16px;
    transition: all 0.3s;
}

.review-form input:focus,
.review-form select:focus,
.review-form textarea:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(0,72,154,0.1);
}

.review-form input[type="file"] {
    padding: 10px;
    background: var(--white);
}

.review-form .checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.review-form .checkbox-text {
    font-size: 14px;
    color: var(--text-gray);
}

/* Адаптив */
@media screen and (max-width: 1200px) and (min-width: 769px) {
    .reviews-page-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 768px) {
    .reviews-page-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .add-review-card {
        padding: 30px 20px;
    }
    
    .review-form .form-grid {
        grid-template-columns: 1fr !important;
    }
    
    .review-form .full-width {
        grid-column: span 1 !important;
    }
    
    .reviews-filter {
        flex-direction: column;
        align-items: center;
    }
    
    .reviews-filter .filter-btn {
        width: 100%;
        text-align: center;
    }
}

@media screen and (max-width: 480px) {
    .review-page-header {
        flex-direction: column;
        text-align: center;
    }
    
    .review-page-footer {
        flex-direction: column;
        gap: 10px;
        align-items: flex-start;
    }
}

/* Чередование строк */
.article-content tbody tr:nth-child(even) {
    background-color: var(--bg-light, #F6F7F8);
}

.article-content tbody tr:hover {
    background-color: rgba(0, 72, 154, 0.05);
    transition: background-color 0.3s ease;
}

/* Первая ячейка в строке */
.article-content td:first-child {
    font-weight: 500;
}

/* Адаптив для мобильных */
@media screen and (max-width: 768px) {
    .article-content table {
        font-size: 14px;
        margin: 20px 0;
    }
    
    .article-content th,
    .article-content td {
        padding: 12px 15px;
    }
}

@media screen and (max-width: 480px) {
    .article-content th,
    .article-content td {
        padding: 10px 12px;
        font-size: 13px;
    }
}	
/* ===== ОТЗЫВЫ ИЗ ВНЕШНИХ ИСТОЧНИКОВ ===== */
.external-reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin: 30px 0;
}

.external-review-card {
    background: linear-gradient(135deg, #fff 0%, #f9f9f9 100%);
    border-radius: 20px;
    padding: 25px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-md);
    transition: transform 0.3s;
}

.external-review-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.external-review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border-color);
}

.external-review-source {
    display: flex;
    align-items: center;
    gap: 8px;
}

.source-icon {
    width: 24px;
    height: 24px;
}

.source-name {
    font-weight: 600;
    color: var(--text-dark);
}

.external-review-rating {
    background: #ffd700;
    padding: 4px 10px;
    border-radius: 20px;
    font-weight: 600;
    color: #000;
}

.external-review-content p {
    font-size: 15px;
    line-height: 1.6;
    color: var(--text-dark);
    font-style: italic;
    margin-bottom: 15px;
}

.external-review-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 16px;
    color: var(--text-gray);
}

.external-review-author {
    font-weight: 600;
    color: var(--primary-blue);
}

/* ===== СКРИНШОТЫ ОТЗЫВОВ ===== */
.screenshots-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin: 30px 0;
}

.screenshot-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    aspect-ratio: 3/4;
    cursor: pointer;
}

.screenshot-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.screenshot-card:hover img {
    transform: scale(1.05);
}

.screenshot-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 15px;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.screenshot-source {
    font-size: 14px;
    font-weight: 500;
    background: rgba(255,255,255,0.2);
    padding: 4px 12px;
    border-radius: 20px;
    backdrop-filter: blur(5px);
}

/* ===== ФОРМА В ПОПАПЕ ===== */
.review-popup-form .form-group {
    margin-bottom: 20px;
}

.review-popup-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text-dark);
}

.review-popup-form input,
.review-popup-form select,
.review-popup-form textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    font-size: 15px;
    transition: all 0.3s;
}

.review-popup-form input:focus,
.review-popup-form select:focus,
.review-popup-form textarea:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(0,72,154,0.1);
}

/* ===== АДАПТИВ ===== */
@media screen and (max-width: 1200px) and (min-width: 769px) {
    .external-reviews-grid,
    .screenshots-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 768px) {
    .external-reviews-grid,
    .screenshots-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .external-review-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
}
/* ===== ДЕТАЛЬНАЯ СТРАНИЦА ОТЗЫВА ===== */
.review-detail-card {
    background: var(--white);
    border-radius: 30px;
    padding: 40px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
    max-width: 900px;
    margin: 0 auto;
}

.review-detail-header {
    display: flex;
    gap: 30px;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 2px solid var(--border-color);
}

.review-detail-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid var(--primary-blue);
    flex-shrink: 0;
}

.review-detail-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.review-detail-info {
    flex: 1;
}

.review-detail-name {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.review-detail-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 10px;
    flex-wrap: wrap;
}

.review-detail-city {
    font-size: 16px;
    color: var(--text-gray);
    background: var(--bg-light);
    padding: 5px 15px;
    border-radius: 30px;
}

.review-detail-rating {
    font-size: 16px;
    font-weight: 600;
    background: #ffd700;
    padding: 5px 15px;
    border-radius: 30px;
    color: #000;
}

.review-detail-rating span {
    color: #fff;
    margin-left: 5px;
}

.review-detail-case {
    font-size: 15px;
    color: var(--primary-blue);
    font-weight: 500;
    margin-bottom: 10px;
    padding: 5px 15px;
    background: rgba(0,72,154,0.1);
    border-radius: 30px;
    display: inline-block;
}

.review-detail-date {
    font-size: 14px;
    color: var(--text-gray);
}

.review-detail-content {
    margin-bottom: 30px;
}

.review-detail-content h3 {
    font-size: 20px;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.review-detail-text {
    font-size: 18px;
    line-height: 1.8;
    color: var(--text-dark);
    background: var(--bg-light);
    padding: 30px;
    border-radius: 20px;
    font-style: italic;
}

.review-detail-text p {
    margin-bottom: 15px;
}

.review-detail-text p:last-child {
    margin-bottom: 0;
}

/* Галерея отзыва */
.review-detail-gallery {
    margin-top: 30px;
}

.review-detail-gallery h3 {
    font-size: 20px;
    margin-bottom: 20px;
}

.review-gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

.review-gallery-item {
    aspect-ratio: 1;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
}

.review-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.review-gallery-item:hover img {
    transform: scale(1.1);
}

/* Другие отзывы */
.other-reviews-section {
    margin-top: 70px;
}

.other-reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-top: 30px;
}

.other-review-card {
    background: var(--white);
    border-radius: 20px;
    padding: 20px;
    border: 1px solid var(--border-color);
    transition: all 0.3s;
    height: 100%;
}

.other-review-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.other-review-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.other-review-header {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    align-items: center;
}

.other-review-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid var(--primary-blue);
    flex-shrink: 0;
}

.other-review-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.other-review-info {
    flex: 1;
}

.other-review-name {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 3px;
    color: var(--text-dark);
}

.other-review-city {
    font-size: 13px;
    color: var(--text-gray);
    margin-bottom: 3px;
}

.other-review-rating {
    font-size: 12px;
    color: #ffd700;
    font-weight: 600;
}

.other-review-text {
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-gray);
    margin-bottom: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.other-review-more {
    font-size: 16px;
    color: var(--primary-blue);
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.other-review-more:hover {
    gap: 8px;
}

/* Адаптив */
@media screen and (max-width: 1200px) and (min-width: 769px) {
    .other-reviews-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 768px) {
    .review-detail-card {
        padding: 25px;
    }
    
    .review-detail-header {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
    
    .review-detail-meta {
        justify-content: center;
    }
    
    .review-detail-name {
        font-size: 26px;
    }
    
    .review-detail-text {
        font-size: 16px;
        padding: 20px;
    }
    
    .review-gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .other-reviews-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

@media screen and (max-width: 480px) {
    .review-detail-avatar {
        width: 100px;
        height: 100px;
    }
    
    .review-detail-meta {
        flex-direction: column;
        gap: 10px;
    }
    
    .review-gallery-grid {
        grid-template-columns: 1fr;
    }
}

/* ===== НОВЫЙ БЛОК: ПРЕИМУЩЕСТВА И РАССРОЧКА ===== */
.advantages-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin: 40px 0;
}

.advantage-card {
    background: white;
    border-radius: 24px;
    padding: 30px 20px;
    text-align: center;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
}

.advantage-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.advantage-card--large {
    grid-row: span 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-blue) 100%);
    color: white;
}

.advantage-card--large .advantage-number {
    font-size: 72px;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 15px;
    color: #CBA55A;
}

.advantage-card--large .advantage-text {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 15px;
}

.advantage-card--large .advantage-desc {
    font-size: 16px;
    opacity: 0.9;
    max-width: 250px;
    margin: 0 auto;
}

.advantage-card--installment {
    position: relative;
    border: 2px solid #CBA55A;
    background: linear-gradient(135deg, #fff8e7 0%, #ffffff 100%);
}

.advantage-card--installment .advantage-title {
    font-size: 22px;
    margin: 15px 0;
}

.advantage-card--installment .gold {
    color: #CBA55A;
    font-weight: 700;
}

.advantage-installment-details {
    margin: 20px 0;
}

.installment-item {
    margin-bottom: 10px;
}

.installment-value {
    display: block;
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-dark);
}

.installment-label {
    font-size: 14px;
    color: var(--text-gray);
}

.btn-gold {
    background: #CBA55A;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-gold:hover {
    background: #b88d3f;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px -5px rgba(203, 165, 90, 0.4);
}

.advantage-popup-trigger {
    position: absolute;
    top: 15px;
    right: 15px;
    cursor: pointer;
    opacity: 0.6;
    transition: opacity 0.3s;
}

.advantage-popup-trigger:hover {
    opacity: 1;
}

.advantage-card .advantage-icon {
    margin-bottom: 15px;
}

.advantage-number-small {
    font-size: 36px;
    font-weight: 700;
    color: var(--primary-blue);
    line-height: 1.2;
}

.advantage-text-small {
    font-size: 16px;
    color: var(--text-gray);
}

.advantage-card--guarantee {
    background: linear-gradient(135deg, #e8f0fe 0%, #ffffff 100%);
}

.advantage-guarantee-text {
    font-size: 28px;
    font-weight: 700;
    margin: 10px 0;
}

.advantage-guarantee-text .gold {
    color: #CBA55A;
    font-size: 36px;
}

.advantage-desc-small {
    font-size: 14px;
    color: var(--text-gray);
}

/* Блок с подробной информацией о рассрочке */
.installment-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    margin-top: 60px;
    padding: 40px;
    background: white;
    border-radius: 30px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
}

.installment-info-content {
    padding-right: 30px;
}

.installment-info-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--primary-dark);
}

.installment-info-list {
    list-style: none;
    padding: 0;
    margin: 0 0 30px 0;
}

.installment-info-list li {
    padding-left: 30px;
    margin-bottom: 15px;
    position: relative;
    font-size: 17px;
    color: var(--text-dark);
}

.installment-info-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    color: #CBA55A;
    font-size: 20px;
    font-weight: 600;
}

.installment-info-list li strong {
    color: var(--primary-blue);
}

.installment-info-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.installment-info-image img {
    max-width: 100%;
    max-height: 300px;
}

/* Адаптив */
@media screen and (max-width: 1200px) {
    .advantages-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .advantage-card--large {
        grid-column: span 2;
    }
}

@media screen and (max-width: 1200px) and (min-width: 769px) {
    .advantages-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .advantage-card--large {
        grid-column: span 1;
    }
    
    .installment-info {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .installment-info-content {
        padding-right: 0;
    }
    
    .installment-info-list li {
        text-align: left;
    }
}

@media screen and (max-width: 768px) {
    .advantages-grid {
        grid-template-columns: 1fr;
    }
    
    .advantage-card--large {
        grid-row: auto;
    }
    
    .installment-info {
        padding: 25px;
    }
    
    .installment-info-title {
        font-size: 24px;
    }
}
/* ===== НОВЫЙ БЛОК: СОХРАНЕНИЕ ИМУЩЕСТВА ===== */
.advantage-card--property {
    background: linear-gradient(135deg, #e6f0fa 0%, #ffffff 100%);
    border: 1px solid var(--primary-blue);
    grid-column: span 2;
    display: flex;
    align-items: center;
    text-align: left;
    padding: 25px;
    gap: 20px;
}

.advantage-property-text {
    flex: 1;
}

.property-title {
    display: block;
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 10px;
}

.property-desc {
    display: block;
    font-size: 16px;
    line-height: 1.5;
    color: var(--text-gray);
}

.property-desc strong {
    color: var(--primary-blue);
}


/* ===== СЕКЦИЯ РЕШЕНИЙ ===== */
.bankruptcy-solution-section {
    padding: 60px 0 80px;
    background: var(--white);
}

.solution-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin: 50px 0 40px;
}

.solution-card {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 30px 20px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: var(--shadow-md);
}

.solution-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.solution-icon {
    margin-bottom: 20px;
}

.solution-card p {
    font-size: 17px;
    font-weight: 600;
    color: var(--text-dark);
    margin: 0;
    line-height: 1.5;
}

.solution-cta {
    text-align: center;
    margin-top: 40px;
}

/* ===== СЕКЦИЯ ПРОБЛЕМ (ПЛИТОЧНАЯ ВЕРСИЯ) ===== */
.problems-grid-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.problems-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin: 50px 0 40px;
}

.problem-grid-card {
    background: white;
    border-radius: 20px;
    padding: 30px 20px;
    text-align: center;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.problem-grid-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-blue);
}

.problem-grid-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-blue), #CBA55A);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.problem-grid-card:hover::before {
    transform: scaleX(1);
}

.problem-grid-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, rgba(0, 72, 154, 0.1) 0%, rgba(203, 165, 90, 0.1) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    transition: all 0.3s ease;
}

.problem-grid-card:hover .problem-grid-icon {
    background: linear-gradient(135deg, var(--primary-blue) 0%, #CBA55A 100%);
}

.problem-grid-icon i {
    font-size: 32px;
    color: var(--primary-blue);
    transition: all 0.3s ease;
}

.problem-grid-card:hover .problem-grid-icon i {
    color: white;
}

.problem-grid-number {
    font-size: 36px;
    font-weight: 800;
    color: #CBA55A;
    line-height: 1;
    margin-bottom: 15px;
    opacity: 0.3;
    transition: all 0.3s ease;
}

.problem-grid-card:hover .problem-grid-number {
    opacity: 1;
    transform: scale(1.1);
}

.problem-grid-text {
    font-size: 17px;
    line-height: 1.5;
    color: var(--text-dark);
    font-weight: 500;
}

.problems-cta {
    text-align: center;
    margin-top: 50px;
    padding: 40px;
    background: linear-gradient(135deg, rgba(0, 72, 154, 0.05) 0%, rgba(203, 165, 90, 0.05) 100%);
    border-radius: 30px;
}

.problems-cta-text {
    font-size: 20px;
    font-weight: 600;
    color: var(--primary-dark);
    margin-bottom: 25px;
}

/* Адаптив */
@media screen and (max-width: 1200px) {
    .problems-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media screen and (max-width: 1200px) and (min-width: 769px) {
    .problems-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 768px) {
    .problems-grid-section {
        padding: 60px 0;
    }
    
    .problems-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .problem-grid-card {
        padding: 20px 15px;
    }
    
    .problem-grid-icon {
        width: 50px;
        height: 50px;
        margin-bottom: 15px;
    }
    
    .problem-grid-icon i {
        font-size: 24px;
    }
    
    .problem-grid-number {
        font-size: 28px;
        margin-bottom: 10px;
    }
    
    .problem-grid-text {
        font-size: 13px;
    }
    
    .problems-cta {
        padding: 30px 20px;
    }
    
    .problems-cta-text {
        font-size: 18px;
    }
}

@media screen and (max-width: 480px) {
    .problems-grid {
        grid-template-columns: 1fr;
    }
    
    .problem-grid-card {
        display: flex;
        align-items: center;
        text-align: left;
        padding: 15px;
        gap: 15px;
    }
    
    .problem-grid-icon {
        margin: 0;
        width: 45px;
        height: 45px;
        flex-shrink: 0;
    }
    
    .problem-grid-number {
        margin-bottom: 0;
        font-size: 24px;
        min-width: 35px;
    }
    
    .problem-grid-content {
        flex: 1;
    }
    
    .problem-grid-text {
        font-size: 13px;
    }
}

/* Альтернативный вариант с горизонтальным скроллом на телефонах */
@media screen and (max-width: 480px) and (orientation: portrait) {
    .problems-grid {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        padding: 10px 5px 20px;
        gap: 15px;
    }
    
    .problem-grid-card {
        min-width: 260px;
        scroll-snap-align: start;
        display: block;
        text-align: center;
    }
    
    .problem-grid-icon {
        margin: 0 auto 15px;
    }
}

/* Анимация для иконок */
@keyframes pulse-gold {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}

.problem-grid-card:hover .problem-grid-icon i {
    animation: pulse-gold 0.5s ease;
}

/* Градиент для четных карточек */
.problem-grid-card:nth-child(even) .problem-grid-icon {
    background: linear-gradient(135deg, rgba(203, 165, 90, 0.1) 0%, rgba(0, 72, 154, 0.1) 100%);
}

.problem-grid-card:nth-child(even):hover .problem-grid-icon {
    background: linear-gradient(135deg, #CBA55A 0%, var(--primary-blue) 100%);
}

/* Стили для номера */
.problem-grid-number {
    background: linear-gradient(135deg, rgba(203, 165, 90, 0.1) 0%, rgba(203, 165, 90, 0.05) 100%);
    display: inline-block;
    padding: 5px 15px;
    border-radius: 30px;
    font-size: 24px;
    margin-bottom: 15px;
    opacity: 1;
    color: #CBA55A;
}

.problem-grid-card:hover .problem-grid-number {
    background: linear-gradient(135deg, #CBA55A 0%, #b88d3f 100%);
    color: white;
}

/* ===== НОВЫЕ СТИЛИ ДЛЯ КАРТОЧЕК "ОНЛАЙН" И "СУД" ===== */
/* Обновленные стили для карточки статистики */
.advantage-card--large {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-blue) 100%);
    color: white;
    min-height: 380px; /* Фиксированная минимальная высота, как у карточки рассрочки */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 30px 20px;
}

.advantage-card--large .advantage-number {
    font-size: 72px;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 15px;
    color: #CBA55A;
}

.advantage-card--large .advantage-text {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 15px;
}

.advantage-card--large .advantage-desc {
    font-size: 16px;
    opacity: 0.9;
    max-width: 250px;
    margin: 0 auto;
}

/* Стили для карточки рассрочки (для справки) */
.advantage-card--installment {
    min-height: 380px; /* Явно задаем высоту */
    display: flex;
    flex-direction: column;
}

/* Обновленная сетка для 7 элементов */
.advantages-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin: 40px 0;
}

/* Адаптив для новой сетки */
@media screen and (max-width: 1200px) {
    .advantages-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .advantage-card--large {
        grid-column: span 2;
        min-height: 350px;
    }
}

@media screen and (max-width: 1200px) and (min-width: 769px) {
    .advantages-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .advantage-card--large {
        grid-column: span 1;
        min-height: 380px;
    }
}

@media screen and (max-width: 768px) {
    .advantages-grid {
        grid-template-columns: 1fr;
    }
    
    .advantage-card--large,
    .advantage-card--installment {
        min-height: auto;
        grid-row: auto;
    }
}
/* ===== СЕКЦИЯ ТЕСТА НА БАНКРОТСТВО ===== */
.bankruptcy-test-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.test-card {
    background: white;
    border-radius: 30px;
    padding: 50px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
}

.test-title {
    font-size: 32px;
    text-align: center;
    margin-bottom: 40px;
    color: var(--text-dark);
}

.test-title .gold {
    color: #00489a;
}

/* Вопросы */
.test-question {
    margin-bottom: 35px;
    padding-bottom: 25px;
    border-bottom: 1px solid var(--border-color);
}

.test-question:last-of-type {
    border-bottom: none;
}

.test-question-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--primary-dark);
}

/* Опции ответов */
.test-options {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.test-options--multiple {
    flex-direction: column;
    gap: 12px;
}

.test-options--inline {
    flex-direction: row;
}

.test-option {
    display: flex;
    align-items: center;
    cursor: pointer;
    padding: 10px 20px;
    background: var(--bg-light);
    border-radius: 40px;
    transition: all 0.3s;
}

.test-option:hover {
    background: rgba(0, 72, 154, 0.1);
}

.test-option--checkbox {
    background: transparent;
    padding: 8px 0;
}

.test-option--checkbox:hover {
    background: transparent;
}

.test-option input {
    display: none;
}

.test-option-text {
    font-size: 16px;
    color: var(--text-dark);
    position: relative;
    padding-left: 38px;
    cursor: pointer;
}

.test-option-text::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    border: 2px solid var(--border-color);
    border-radius: 50%;
    background: white;
    transition: all 0.3s;
}

.test-option--checkbox .test-option-text::before {
    border-radius: 4px;
}

.test-option input:checked + .test-option-text::before {
    border-color: var(--primary-blue);
    background: var(--primary-blue);
    box-shadow: inset 0 0 0 3px white;
}

.test-option--checkbox input:checked + .test-option-text::before {
    background: var(--primary-blue);
    box-shadow: none;
    content: '✓';
    color: white;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Контактные данные */
.test-contact {
    margin-top: 35px;
    padding: 25px;
    background: var(--bg-light);
    border-radius: 20px;
}

.test-contact-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--primary-dark);
}

.test-contact-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.test-contact-field label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-dark);
}

.test-contact-field input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    font-size: 16px;
    transition: all 0.3s;
}

.test-contact-field input:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(0, 72, 154, 0.1);
}

/* Уведомление и согласие */
.test-notice {
    margin: 25px 0;
    padding: 20px;
    background: #fff8e7;
    border-left: 4px solid #CBA55A;
    border-radius: 12px;
}

.test-notice p {
    margin: 0;
    font-size: 14px;
    color: var(--text-gray);
    line-height: 1.5;
}

.test-submit {
    width: 100%;
    margin: 20px 0;
}

.test-consent {
    font-size: 12px;
    color: var(--text-gray);
    text-align: center;
    line-height: 1.5;
}

.test-consent a {
    color: var(--primary-blue);
    text-decoration: underline;
}

/* Адаптив */
@media screen and (max-width: 768px) {
    .test-card {
        padding: 30px 20px;
    }
    
    .test-title {
        font-size: 24px;
    }
    
    .test-contact-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .test-options {
        flex-direction: column;
        gap: 10px;
    }
    
    .test-options--inline {
        flex-direction: row;
        flex-wrap: wrap;
    }
    
    .test-option {
        width: 100%;
        justify-content: left;
    }
    
    .test-options--inline .test-option {
        width: auto;
    }
}

@media screen and (max-width: 480px) {
    .test-options--inline {
        flex-direction: column;
    }
    
    .test-options--inline .test-option {
        width: 100%;
    }
}

/* Стили для попапа с тестом */
.popup-test .popup-container {
    max-width: 700px;
    max-height: 90vh;
    overflow-y: auto;
}

.popup-test .test-card {
    padding: 0;
    box-shadow: none;
}

/* ===== СЛАЙДЕР С РЕАЛЬНЫМИ ИСТОРИЯМИ ===== */
.stories-slider-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.stories-subtitle {
    text-align: center;
    font-size: 18px;
    color: var(--text-gray);
    margin-bottom: 50px;
}

.stories-slider {
    position: relative;
    padding: 10px 0 60px;
}

.storiesSwiper {
    overflow: hidden;
    padding: 10px 0;
}

/* Карточка истории */
.story-card {
    background: white;
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    transition: transform 0.3s, box-shadow 0.3s;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.story-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-2xl);
}

/* Видео блок */
.story-video .video-container {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    cursor: pointer;
    background: #fff;
}

.story-video .video-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.story-video .video-thumbnail {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.story-video .video-container:hover .video-thumbnail {
    transform: scale(1.05);
}

.story-video .play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70px;
    height: 70px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    cursor: pointer;
    transition: all 0.3s;
    z-index: 20;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.story-video .play-button:hover {
    transform: translate(-50%, -50%) scale(1.1);
    background: white;
}

.story-video .play-button svg {
    width: 24px;
    height: 24px;
}

.story-video .play-button span {
    font-size: 10px;
    color: var(--primary-blue);
    font-weight: 600;
}

.story-video .video-duration {
    position: absolute;
    bottom: 12px;
    right: 12px;
    background: rgba(0,0,0,0.7);
    color: white;
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 12px;
    z-index: 20;
}

/* Контент карточки */
.story-content {
    padding: 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.story-name {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--primary-dark);
}

.story-stats {
    margin-bottom: 20px;
}

.story-stat {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px dashed var(--border-color);
}

.story-stat:last-child {
    border-bottom: none;
}

.stat-label {
    font-size: 16px;
    color: var(--text-gray);
}

.stat-value {
    font-size: 16px;
    font-weight: 600;
    color: var(--primary-blue);
}

.story-result {
    background: #f8f5ee;
    padding: 16px;
    border-radius: 12px;
    margin: 15px 0 20px;
}

.story-result p {
    margin: 0;
    font-size: 16px;
    line-height: 1.5;
    color: var(--text-dark);
}

.story-result strong {
    color: var(--primary-blue);
}

.story-btn {
    width: 100%;
    text-align: center;
    margin-top: auto;
}

/* Навигация слайдера */
.stories-slider .swiper-button-prev,
.stories-slider .swiper-button-next {
    width: 44px;
    height: 44px;
    background: white;
    border-radius: 50%;
    box-shadow: var(--shadow-md);
    transition: all 0.3s;
}

.stories-slider .swiper-button-prev:after,
.stories-slider .swiper-button-next:after {
    font-size: 18px;
    color: var(--primary-blue);
}

.stories-slider .swiper-button-prev:hover,
.stories-slider .swiper-button-next:hover {
    background: var(--primary-blue);
}

.stories-slider .swiper-button-prev:hover:after,
.stories-slider .swiper-button-next:hover:after {
    color: white;
}

.stories-slider .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: var(--border-color);
    opacity: 1;
    transition: all 0.3s;
}

.stories-slider .swiper-pagination-bullet-active {
    background: var(--primary-blue);
    width: 24px;
    border-radius: 5px;
}

.stories-all {
    text-align: center;
    margin-top: 50px;
}

/* Адаптив */
@media screen and (max-width: 1200px) and (min-width: 769px) {
    .story-stats {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 5px 15px;
    }
    
    .story-stat {
        border-bottom: none;
        padding: 5px 0;
    }
}

@media screen and (max-width: 768px) {
    .stories-slider-section {
        padding: 60px 0;
    }
    
    .stories-subtitle {
        font-size: 16px;
        margin-bottom: 30px;
    }
    
    .story-name {
        font-size: 20px;
    }
    
    .story-stats {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 5px 15px;
    }
    
    .story-stat {
        border-bottom: none;
        padding: 5px 0;
    }
    
    .story-video .play-button {
        width: 50px;
        height: 50px;
    }
    
    .story-video .play-button svg {
        width: 18px;
        height: 18px;
    }
}

@media screen and (max-width: 480px) {
    .story-stats {
        grid-template-columns: 1fr;
    }
    
    .story-content {
        padding: 20px;
    }
    
    .story-name {
        font-size: 18px;
    }
    
    .story-stat {
        flex-wrap: wrap;
        gap: 5px;
    }
    
    .story-result p {
        font-size: 13px;
    }
}
/* ===== ДОПОЛНИТЕЛЬНЫЕ СТИЛИ ДЛЯ СЕКЦИИ ПРЕИМУЩЕСТВ ===== */

.advantages-section {
    overflow-x: hidden;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin: 40px 0;
}

.advantage-card {
    width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

/* Адаптив для больших планшетов */
@media screen and (max-width: 1200px) and (min-width: 1001px) {
    .advantages-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .advantage-card--large {
        grid-column: span 2;
    }
}

/* Адаптив для планшетов */
@media screen and (max-width: 1000px) and (min-width: 769px) {
    .advantages-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .advantage-card--large {
        grid-column: span 2;
    }
    
    .advantage-card--property {
        grid-column: span 2;
    }
}

/* Адаптив для мобильных */
@media screen and (max-width: 768px) {
    .advantages-grid {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }
    
    .advantage-card {
        width: 100%;
        margin: 0;
    }
    
    .advantage-card--property {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .advantage-property-text {
        text-align: center;
    }
    
    .advantage-property-text .property-title {
        font-size: 18px;
    }
    
    .advantage-property-text .property-desc {
        font-size: 13px;
    }
    
    .installment-info {
        flex-direction: column;
        text-align: center;
    }
    
    .installment-info-content {
        padding-right: 0;
    }
    
    .installment-info-image {
        display: none;
    }
}
.video-container {
    position: relative;
    width: 100%;
    height: 100%;
    background: #000;
}

.video-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
    z-index: 1;
}

.video-player {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: none;
    z-index: 2;
}

.video-player video {
    width: 100%;
    height: 100%;
    object-fit: cover; /* или contain, в зависимости от ваших предпочтений */
}

.play-button {
    position: relative;
    z-index: 2;
    cursor: pointer;
    transition: transform 0.2s;
}

.play-button:hover {
    transform: scale(1.1);
}

/* Анимация для кнопки play */
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.play-button {
    animation: pulse 2s infinite;
}
/* ===== СЛАЙДЕР ОТЗЫВОВ ИЗ ЯНДЕКС ===== */
/* Стили для навигации слайдера отзывов */
.yandex-reviews-slider {
    position: relative;
    padding: 0 40px;
}

.yandex-reviews-slider .swiper-button-next,
.yandex-reviews-slider .swiper-button-prev {
    width: 40px;
    height: 40px;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    color: white;
}

.yandex-reviews-slider .swiper-button-next:after,
.yandex-reviews-slider .swiper-button-prev:after {
    font-size: 18px;
}

.yandex-reviews-slider .swiper-pagination {
    position: relative;
    margin-top: 30px;
}

.yandex-reviews-slider .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: #ccc;
    opacity: 1;
}

.yandex-reviews-slider .swiper-pagination-bullet-active {
    background: #ffcc00;
}

/* Адаптив для мобильных */
@media (max-width: 768px) {
    .yandex-reviews-slider {
        padding: 0 20px;
    }
    
    .yandex-reviews-slider .swiper-button-next,
    .yandex-reviews-slider .swiper-button-prev {
        width: 30px;
        height: 30px;
    }
    
    .yandex-reviews-slider .swiper-button-next:after,
    .yandex-reviews-slider .swiper-button-prev:after {
        font-size: 14px;
    }
}
/* ===== КАРТОЧКИ ОТЗЫВОВ С ФИКСИРОВАННОЙ ВЫСОТОЙ ===== */
.yandex-reviews-slider .external-review-card {
    height: 460px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    position: relative;
    transition: all 0.3s ease;
}

/* Состояние при раскрытии */
.yandex-reviews-slider .external-review-card.expanded {
    height: auto;
    min-height: 460px;
    max-height: none;
    z-index: 10;
    box-shadow: var(--shadow-xl);
}

/* Контейнер для контента с обрезкой */
.yandex-reviews-slider .external-review-content {
    flex: 1;
    overflow: hidden;
    position: relative;
    margin-bottom: 15px;
}

/* Текст с обрезкой */
.yandex-reviews-slider .external-review-content p {
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-dark);
    font-style: italic;
    margin: 0;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 8;
    -webkit-box-orient: vertical;
    transition: all 0.3s ease;
}

/* При раскрытии показываем весь текст */
.yandex-reviews-slider .external-review-card.expanded .external-review-content p {
    display: block;
    -webkit-line-clamp: unset;
    overflow: visible;
}

/* Градиентная маска для нераскрытых карточек */
.yandex-reviews-slider .external-review-content::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: linear-gradient(to bottom, transparent, white);
    pointer-events: none;
    transition: opacity 0.3s ease;
}

/* При раскрытии скрываем градиент */
.yandex-reviews-slider .external-review-card.expanded .external-review-content::after {
    opacity: 0;
}

/* Кнопка "Читать полностью" */
.yandex-reviews-slider .external-review-readmore {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: transparent;
    border: none;
    color: var(--primary-blue);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    padding: 10px 12px;
    margin-top: 10px;
    transition: all 0.3s ease;
    width: 100%;
    border-top: 1px solid var(--border-color);
    background: var(--white);
}

.yandex-reviews-slider .external-review-readmore:hover {
    color: var(--primary-light);
    gap: 12px;
}

.yandex-reviews-slider .external-review-readmore .readmore-icon {
    transition: transform 0.3s ease;
}

.yandex-reviews-slider .external-review-card.expanded .external-review-readmore .readmore-icon {
    transform: rotate(180deg);
}

/* Адаптация футера */
.yandex-reviews-slider .external-review-footer {
    margin-top: auto;
    padding-top: 12px;
    border-top: 1px solid var(--border-color);
}

/* Адаптив для мобильных */
@media screen and (max-width: 768px) {
    .yandex-reviews-slider .external-review-card {
        height: 440px;
    }
    
    .yandex-reviews-slider .external-review-content p {
        font-size: 14px;
        -webkit-line-clamp: 7;
    }
    
    .yandex-reviews-slider .external-review-readmore {
        font-size: 13px;
        padding: 6px 10px;
    }
}

@media screen and (max-width: 480px) {
    .yandex-reviews-slider .external-review-card {
        height: 420px;
    }
    
    .yandex-reviews-slider .external-review-content p {
        font-size: 13px;
        -webkit-line-clamp: 6;
    }
}
/* ===== КАРТИНКА НА СТРАНИЦЕ "О НАС" ===== */
.about-hero-image {
    width: 100%;
    margin: 40px 0;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.about-hero-img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.about-hero-image:hover .about-hero-img {
    transform: scale(1.02);
}

/* Адаптив для картинки */
@media screen and (max-width: 768px) {
    .about-hero-image {
        margin-bottom: 30px;
        border-radius: 20px;
    }
}

@media screen and (max-width: 480px) {
    .about-hero-image {
        margin-bottom: 20px;
        border-radius: 16px;
    }
}
/* Стили для иконок в секции долгов */
.bankruptcy-solution-section .solution-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, rgba(0, 72, 154, 0.1) 0%, rgba(203, 165, 90, 0.1) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    transition: all 0.3s ease;
}

.bankruptcy-solution-section .solution-icon i {
    font-size: 32px;
    color: var(--primary-blue);
    transition: all 0.3s ease;
}

.bankruptcy-solution-section .solution-card:hover .solution-icon {
    background: linear-gradient(135deg, var(--primary-blue) 0%, #CBA55A 100%);
}

.bankruptcy-solution-section .solution-card:hover .solution-icon i {
    color: white;
}
/* ===== СЕКЦИЯ ВИДЕО ===== */
.video-pros-cons-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-bottom: 1px solid var(--border-color);
}

.video-pros-cons-wrapper {
    max-width: 1200px;
    margin: 0 auto;
}

.video-pros-cons-content {
    text-align: center;
    margin-bottom: 50px;
}

.video-subtitle {
    font-size: 18px;
    color: var(--text-gray);
    max-width: 700px;
    margin: 0 auto;
}

.video-pros-cons-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: start;
    margin-bottom: 50px;
}

/* Видео плеер */
.video-player-wrapper {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    background: #000;
    aspect-ratio: 16 / 9;
}

.video-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
    background: #1a1a2e;
    z-index: 10;
}

.video-thumbnail {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.video-placeholder:hover .video-thumbnail {
    transform: scale(1.05);
}

.play-button-large {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.95);
    border: none;
    border-radius: 60px;
    padding: 12px 28px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    color: var(--primary-blue);
    transition: all 0.3s ease;
    z-index: 20;
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
    white-space: nowrap;
}

.play-button-large:hover {
    transform: translate(-50%, -50%) scale(1.05);
    background: white;
    gap: 16px;
}

.play-button-large svg {
    width: 28px;
    height: 28px;
}

.video-duration-badge {
    position: absolute;
    bottom: 16px;
    right: 16px;
    background: rgba(0,0,0,0.7);
    color: white;
    padding: 6px 12px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 500;
    backdrop-filter: blur(4px);
    z-index: 20;
}

.video-player {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    z-index: 30;
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-player video {
    width: 100%;
    height: 100%;
    object-fit: contain; /* Изменено с cover на contain, чтобы видео было видно полностью */
    background: #000;
}

/* Блок с ключевыми тезисами */
.video-key-points {
    background: var(--white);
    border-radius: 24px;
    padding: 30px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
}

.key-points-grid {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.key-point {
    display: flex;
    gap: 18px;
    align-items: flex-start;
    padding: 20px;
    border-radius: 20px;
    transition: all 0.3s ease;
}

.key-point.pros {
    background: linear-gradient(135deg, #e8f5e9 0%, #ffffff 100%);
    border-left: 4px solid #2E7D32;
}

.key-point.cons {
    background: linear-gradient(135deg, #ffebee 0%, #ffffff 100%);
    border-left: 4px solid #C62828;
}

.key-point-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-sm);
}

.key-point-text strong {
    display: block;
    font-size: 18px;
    margin-bottom: 8px;
}

.key-point-text span {
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-gray);
}

.key-point.pros .key-point-text strong {
    color: #2E7D32;
}

.key-point.cons .key-point-text strong {
    color: #C62828;
}

/* CTA блок */
.video-cta {
    text-align: center;
    margin-top: 40px;
}

.video-cta .btn-large {
    min-width: 320px;
    margin-bottom: 20px;
}

.video-cta-note {
    font-size: 13px;
    color: var(--text-gray);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.5;
}

/* ===== АДАПТИВ ===== */
@media screen and (max-width: 992px) {
    .video-pros-cons-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .video-player-wrapper {
        max-width: 600px;
        margin: 0 auto;
        width: 100%;
    }
    
    .video-key-points {
        max-width: 600px;
        margin: 0 auto;
    }
}

@media screen and (max-width: 768px) {
    .video-pros-cons-section {
        padding: 60px 0;
    }
    
    .video-pros-cons-content {
        margin-bottom: 30px;
    }
    
    .video-subtitle {
        font-size: 16px;
    }
    
    .play-button-large {
        padding: 10px 20px;
        font-size: 14px;
    }
    
    .play-button-large svg {
        width: 22px;
        height: 22px;
    }
    
    .key-point {
        padding: 16px;
        gap: 12px;
    }
    
    .key-point-icon {
        width: 36px;
        height: 36px;
    }
    
    .key-point-text strong {
        font-size: 16px;
    }
    
    .key-point-text span {
        font-size: 14px;
    }
    
    .video-cta .btn-large {
        min-width: 280px;
        padding: 14px 24px;
        font-size: 16px;
    }
}

@media screen and (max-width: 480px) {
    .key-point {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }
    
    .key-point-icon {
        margin-bottom: 8px;
    }
    
    .play-button-large span {
        display: none;
    }
    
    .play-button-large {
        padding: 12px;
        border-radius: 50%;
    }
    
    .video-duration-badge {
        bottom: 12px;
        right: 12px;
        font-size: 11px;
        padding: 4px 8px;
    }
}
/* ===== БЛОК ПРЕИМУЩЕСТВ (3 колонки на всю ширину) ===== */
.fullwidth-features {
    padding: 80px 0;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
}

.features-grid-full {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card-full {
    background: var(--white);
    border-radius: 24px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.feature-card-full:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-blue);
}

.feature-icon-large {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(0, 72, 154, 0.1) 0%, rgba(203, 165, 90, 0.1) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    transition: all 0.3s ease;
}

.feature-card-full:hover .feature-icon-large {
    background: linear-gradient(135deg, var(--primary-blue) 0%, #CBA55A 100%);
}

.feature-icon-large i {
    font-size: 36px;
    color: var(--primary-blue);
    transition: all 0.3s ease;
}

.feature-card-full:hover .feature-icon-large i {
    color: white;
}

.feature-card-full h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-dark);
}

.feature-card-full p {
    font-size: 15px;
    line-height: 1.6;
    color: var(--text-gray);
    margin: 0;
}

/* Анимация при скролле */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

/* Адаптив */
@media screen and (max-width: 992px) {
    .features-grid-full {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    
    .fullwidth-features {
        padding: 60px 0;
    }
}

@media screen and (max-width: 768px) {
    .features-grid-full {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .feature-card-full {
        padding: 30px 20px;
    }
    
    .feature-icon-large {
        width: 70px;
        height: 70px;
    }
    
    .feature-icon-large i {
        font-size: 32px;
    }
    
    .feature-card-full h3 {
        font-size: 20px;
    }
    
    .feature-card-full p {
        font-size: 14px;
    }
    
    .fullwidth-features {
        padding: 50px 0;
    }
}

@media screen and (max-width: 480px) {
    .feature-card-full {
        padding: 25px 20px;
    }
    
    .feature-icon-large {
        width: 60px;
        height: 60px;
    }
    
    .feature-icon-large i {
        font-size: 28px;
    }
}
   /* Дополнительные стили для графиков и анимаций */
        :root {
            --gold-accent: #CBA55A;
            --blue-light: #4f9ffb;
            --transition-smooth: all 0.4s cubic-bezier(0.2, 0.9, 0.4, 1.1);
        }

        /* ===== СТАТИСТИЧЕСКИЕ КАРТОЧКИ С КРУГОВЫМИ ДИАГРАММАМИ ===== */
        .stat-chart-card {
            background: white;
            border-radius: 28px;
            padding: 30px 24px;
            box-shadow: var(--shadow-md);
            border: 1px solid var(--border-color);
            transition: var(--transition-smooth);
            text-align: center;
        }
        .stat-chart-card:hover {
            transform: translateY(-6px);
            box-shadow: var(--shadow-xl);
        }
        .circular-chart {
            width: 140px;
            height: 140px;
            margin: 0 auto 20px;
        }
        .circle-bg {
            stroke: #eef2f8;
            stroke-width: 8;
            fill: none;
        }
        .circle-progress {
            stroke: var(--primary-blue);
            stroke-width: 8;
            fill: none;
            stroke-linecap: round;
            stroke-dasharray: 283;
            stroke-dashoffset: 283;
            transition: stroke-dashoffset 1.2s ease-out;
        }
        .chart-percent {
            font-size: 28px;
            font-weight: 800;
            fill: var(--primary-dark);
            dominant-baseline: middle;
            text-anchor: middle;
        }
        .chart-label {
            font-size: 14px;
            fill: var(--text-gray);
        }
        .stat-title {
            font-size: 20px;
            font-weight: 700;
            margin: 16px 0 8px;
            color: var(--primary-dark);
        }
        .stat-desc {
            font-size: 14px;
            color: var(--text-gray);
            line-height: 1.5;
        }

        /* ===== ПРОГРЕСС-БАРЫ ДЛЯ ЭТАПОВ ===== */
        .stages-timeline {
            margin: 50px 0 30px;
        }
        .stage-progress-item {
            display: flex;
            align-items: center;
            gap: 20px;
            margin-bottom: 28px;
            flex-wrap: wrap;
        }
        .stage-marker {
            width: 48px;
            height: 48px;
            background: rgba(0,72,154,0.1);
            border-radius: 30px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: 800;
            font-size: 20px;
            color: var(--primary-blue);
            transition: var(--transition-smooth);
        }
        .stage-content {
            flex: 1;
            min-width: 180px;
        }
        .stage-content h4 {
            margin: 0 0 6px;
            font-size: 18px;
        }
        .progress-bar-bg {
            background: #e9edf2;
            border-radius: 20px;
            height: 8px;
            overflow: hidden;
            margin-top: 8px;
        }
        .progress-fill {
            width: 0%;
            height: 100%;
            background: linear-gradient(90deg, var(--primary-blue), var(--blue-light));
            border-radius: 20px;
            transition: width 1s ease;
        }
        .stage-percent {
            font-size: 15px;
            font-weight: 600;
            color: var(--primary-blue);
            min-width: 60px;
            text-align: right;
        }

        /* ===== ТОЧЕЧНАЯ СТАТИСТИКА (DOTS) ===== */
        .dot-stats-grid {
            display: flex;
            justify-content: space-between;
            gap: 20px;
            margin: 40px 0;
            flex-wrap: wrap;
        }
        .dot-stat-item {
            flex: 1;
            text-align: center;
            background: #F9FAFE;
            padding: 24px 16px;
            border-radius: 24px;
            transition: var(--transition-smooth);
        }
        .dot-stat-item:hover {
            background: white;
            box-shadow: 0 12px 25px -12px rgba(0,0,0,0.1);
        }
        .dot-group {
            display: flex;
            justify-content: center;
            gap: 8px;
            margin-bottom: 18px;
            flex-wrap: wrap;
        }
        .dot {
            width: 10px;
            height: 10px;
            background: var(--primary-blue);
            border-radius: 50%;
            opacity: 0.5;
            transition: all 0.2s;
        }
        .dot.filled {
            opacity: 1;
            background: var(--gold-accent);
            transform: scale(1.2);
        }
        .dot-stat-number {
            font-size: 32px;
            font-weight: 800;
            color: var(--primary-dark);
            margin: 10px 0 5px;
        }
        .dot-stat-label {
            font-size: 15px;
            color: var(--text-gray);
        }


        /* ===== АНИМАЦИЯ ПРИ ПОЯВЛЕНИИ ===== */
        .animate-on-scroll {
            opacity: 0;
            transform: translateY(20px);
            transition: opacity 0.8s ease, transform 0.8s ease;
        }
        .animate-on-scroll.visible {
            opacity: 1;
            transform: translateY(0);
        }

        /* ===== МИНИМАЛИСТИЧНЫЙ ГРАФИК (линия тренда) ===== */
        .trend-graph {
            background: white;
            border-radius: 28px;
            padding: 32px;
            margin: 50px 0;
            border: 1px solid var(--border-color);
            box-shadow: var(--shadow-md);
        }
        .trend-header {
            display: flex;
            justify-content: space-between;
            margin-bottom: 25px;
            flex-wrap: wrap;
        }
        .trend-title {
            font-weight: 700;
            font-size: 20px;
        }
        .trend-value {
            color: var(--primary-blue);
            font-weight: 800;
        }
        .svg-trend {
            width: 100%;
            height: 90px;
        }
        .trend-line {
            stroke: var(--primary-blue);
            stroke-width: 2.5;
            fill: none;
            stroke-linecap: round;
        }
        .trend-area {
            fill: rgba(0,72,154,0.08);
        }

        /* ===== СЕКЦИЯ FAQ НА ВСЮ ШИРИНУ ===== */
        .fullwidth-faq {
            margin: 60px 0;
        }

        @media (max-width: 768px) {
           
            .stage-progress-item { 
                flex-direction: column; 
                align-items: flex-start; 
                gap: 12px; 
            }
            .stage-percent { 
                text-align: left; 
            }
            .dot-stats-grid { 
                flex-direction: column; 
            }
            .circular-chart { 
                width: 110px; 
                height: 110px; 
            }
            .trend-header {
                flex-direction: column;
                gap: 10px;
            }
        }
		
.sitemap-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 40px;
    margin: 40px 0;
}

.sitemap-section h2 {
    font-size: 22px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary-blue);
}

.sitemap-section h3 {
    font-size: 18px;
    margin-bottom: 15px;
    color: var(--primary-blue);
}

.sitemap-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sitemap-list li {
    margin-bottom: 10px;
}

.sitemap-list li a {
    color: var(--text-dark);
    text-decoration: none;
    transition: color 0.3s;
}

.sitemap-list li a:hover {
    color: var(--primary-blue);
    text-decoration: underline;
}
 /* Дополнительные стили для контактной страницы */
        
        /* Единая карточка с контактами */
        .contacts-card {
            background: var(--white);
            border-radius: 24px;
            padding: 40px;
            box-shadow: var(--shadow-md);
            border: 1px solid var(--border-color);
            transition: transform 0.3s, box-shadow 0.3s;
        }
        
        .contacts-card:hover {
            transform: translateY(-5px);
            box-shadow: var(--shadow-xl);
        }
        
        /* Сетка для информации */
        .contacts-grid {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 40px;
        }
        
        /* Секция контактов */
        .contacts-section h3 {
            font-size: 22px;
            margin-bottom: 25px;
            color: var(--primary-dark);
            padding-bottom: 12px;
            border-bottom: 2px solid var(--primary-blue);
            display: inline-block;
        }
        
        .contact-item {
            margin-bottom: 25px;
        }
        
        .contact-item label {
            font-weight: 600;
            color: var(--text-gray);
            display: block;
            margin-bottom: 8px;
            font-size: 14px;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }
        
        .contact-item .value {
            font-size: 18px;
            font-weight: 500;
            color: var(--text-dark);
            line-height: 1.5;
        }
        
        .contact-item .value a {
            color: var(--primary-blue);
            text-decoration: none;
        }
        
        .contact-item .value a:hover {
            text-decoration: underline;
        }
        
        /* Список реквизитов */
        .requisites-list {
            list-style: none;
            padding: 0;
            margin: 0;
        }
        
        .requisites-list li {
            display: flex;
            justify-content: space-between;
            padding: 12px 0;
            border-bottom: 1px solid var(--border-color);
        }
        
        .requisites-list li:last-child {
            border-bottom: none;
        }
        
        .requisites-label {
            font-weight: 600;
            color: var(--text-gray);
        }
        
        .requisites-value {
            color: var(--text-dark);
            font-weight: 500;
            text-align: right;
        }
        
        /* Режим работы */
        .work-hours {
            background: var(--bg-light);
            border-radius: 16px;
            padding: 20px;
            margin-top: 20px;
        }
        
        .work-hours-item {
            display: flex;
            justify-content: space-between;
            padding: 8px 0;
        }
        
        .work-hours-day {
            font-weight: 600;
            color: var(--text-dark);
        }
        
        .work-hours-time {
            color: var(--primary-blue);
        }
        
        /* Кнопка вызова попапа */
        .contact-action {
            text-align: center;
            margin-top: 40px;
            padding-top: 30px;
            border-top: 1px solid var(--border-color);
        }
        
        .btn-callback {
            display: inline-block;
            background: var(--primary-blue);
            color: white;
            padding: 16px 40px;
            font-size: 18px;
            font-weight: 600;
            border-radius: 50px;
            border: none;
            cursor: pointer;
            transition: all 0.3s ease;
            text-decoration: none;
            box-shadow: var(--shadow-md);
        }
        
        .btn-callback:hover {
            background: var(--primary-light);
            transform: translateY(-2px);
            box-shadow: var(--shadow-lg);
        }
        
        /* Адаптив для планшетов */
        @media screen and (max-width: 1024px) and (min-width: 769px) {
            .contacts-card {
                padding: 30px;
            }
            
            .contacts-grid {
                gap: 30px;
            }
            
            .contact-item .value {
                font-size: 16px;
            }
        }
        
        /* Адаптив для мобильных */
        @media screen and (max-width: 968px) {
            .contacts-card {
                padding: 25px;
				margin-top: 25px;
            }
            
            .contacts-grid {
                grid-template-columns: 1fr;
                gap: 30px;
            }
            
            .contact-item .value {
                font-size: 16px;
            }
            
            .requisites-list li {
                flex-direction: column;
                gap: 5px;
                text-align: center;
            }
            
            .requisites-value {
                text-align: center;
            }
            
            .work-hours-item {
                flex-direction: column;
                gap: 5px;
                text-align: center;
            }
            
            .btn-callback {
                padding: 14px 30px;
                font-size: 16px;
                width: 100%;
            }
        }
        
        /* Адаптив для маленьких телефонов */
        @media screen and (max-width: 480px) {
            .contacts-card {
                padding: 20px;
            }
            
            .contacts-section h3 {
                font-size: 20px;
            }
            
            .contact-item .value {
                font-size: 15px;
            }
            
            .requisites-label,
            .requisites-value {
                font-size: 14px;
            }
        }
/* Дополнительные стили для страницы услуги */
        
        /* Адаптация для мобильных - блок стоимости первым */
        @media screen and (max-width: 968px) {
            .service-two-columns {
                display: flex !important;
                flex-direction: column !important;
            }
            
            .service-left-col {
                order: 2 !important;
            }
            
            .service-right-col {
                order: 1 !important;
                margin-bottom: 30px !important;
            }
            
            .service-price {
                padding: 25px 20px !important;
            }
            
            .service-price .price {
                font-size: 36px !important;
            }
            
            .quiz-form {
                padding: 25px 20px !important;
            }
            
            .features-grid-full {
                grid-template-columns: 1fr !important;
                gap: 20px !important;
            }
            
            .feature-card-full {
                padding: 25px 20px !important;
            }
            
            .stage-progress-item {
                flex-direction: column !important;
                align-items: flex-start !important;
                gap: 12px !important;
            }
            
            .stage-percent {
                text-align: left !important;
            }
            
            .trend-graph {
                padding: 20px !important;
            }
            
            .articles-grid {
                grid-template-columns: 1fr !important;
            }
            
            .container {
                padding: 0 20px !important;
            }
        }
        
        /* Для планшетов */
        @media screen and (max-width: 1024px) and (min-width: 769px) {
            .features-grid-full {
                grid-template-columns: repeat(2, 1fr) !important;
                gap: 25px !important;
            }
            
            .articles-grid {
                grid-template-columns: repeat(2, 1fr) !important;
            }
        }
        
        /* Для маленьких телефонов */
        @media screen and (max-width: 480px) {
            .service-price .price {
                font-size: 32px !important;
            }
            
            .service-price h3 {
                font-size: 20px !important;
            }
            
            .quiz-form .btn {
                padding: 14px !important;
                font-size: 16px !important;
            }
            
            .feature-card-full h3 {
                font-size: 18px !important;
            }
            
            .feature-card-full p {
                font-size: 14px !important;
            }
            
            .stage-marker {
                width: 40px !important;
                height: 40px !important;
                font-size: 18px !important;
            }
            
            .stage-content h4 {
                font-size: 16px !important;
            }
        }
        
        /* Анимация для прогресс-баров */
        .progress-fill {
            transition: width 1s ease-out;
        }
        
        /* Стили для блока стоимости */
        .service-price {
            transition: transform 0.3s ease;
        }
		.service-price span {
			font-weight: 600;
        }
        
        .service-price:hover {
            transform: translateY(-5px);
        }
        
        /* Стили для карточек преимуществ */
        .feature-card-full {
            transition: all 0.3s ease;
        }
        
        .feature-card-full:hover {
            transform: translateY(-8px);
            box-shadow: var(--shadow-xl);
        }
        
        /* Анимация появления */
        .animate-on-scroll {
            opacity: 0;
            transform: translateY(30px);
            transition: opacity 0.6s ease, transform 0.6s ease;
        }
        
        .animate-on-scroll.visible {
            opacity: 1;
            transform: translateY(0);
        }
        
        /* Стили для иконок Font Awesome */
        .feature-icon-large i {
            font-size: 36px;
            color: var(--primary-blue);
        }
        
        .feature-card-full:hover .feature-icon-large i {
            color: white;
        }	
/* ===== СТИЛИ ДЛЯ QR-КОДА (упрощенная версия) ===== */

.qr-code-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}

.qr-code-container > div {
    display: inline-block;
    text-align: center;
}

.qr-code-container img {
    width: 150px;
    height: 150px;
    margin-bottom: 10px;
    background: var(--white);
    padding: 10px;
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease;
}

.qr-code-container img:hover {
    transform: scale(1.05);
}

.qr-code-container p {
    font-size: 14px;
    color: var(--text-gray);
    margin: 0;
}

.qr-code-container p:first-of-type {
    margin-bottom: 5px;
}

/* Адаптив для мобильных */
@media screen and (max-width: 768px) {
    .qr-code-container img {
        width: 120px;
        height: 120px;
        padding: 8px;
    }
    
    .qr-code-container p {
        font-size: 12px;
    }
}

@media screen and (max-width: 480px) {
    .qr-code-container img {
        width: 100px;
        height: 100px;
        padding: 6px;
    }
    
    .qr-code-container p {
        font-size: 11px;
    }
}
/* Cookies уведомление с крестиком */
#cookie-notice {
    display: none;
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background: #1a1a2e;
    color: #fff;
    padding: 18px 25px;
    z-index: 9999;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
}

.cookie-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    padding-right: 30px;
}

.cookie-text {
    flex: 1;
    font-size: 14px;
    line-height: 1.5;
}

.cookie-text a {
    color: #4a9eff;
    text-decoration: underline;
}

.cookie-buttons {
    display: flex;
    gap: 10px;
    align-items: center;
}

.cookie-button {
    background: #4a9eff;
    color: #fff;
    border: none;
    padding: 10px 30px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: background 0.2s;
}

.cookie-button:hover {
    background: #3a7ed4;
}

.cookie-close {
    background: none;
    border: none;
    color: #888;
    font-size: 24px;
    cursor: pointer;
    padding: 0 10px;
    transition: color 0.2s;
    position: absolute;
    top: 15px;
    right: 15px;
}

.cookie-close:hover {
    color: #fff;
}

@media (max-width: 768px) {
    #cookie-notice {
        left: 10px;
        right: 10px;
        bottom: 10px;
        padding: 15px;
    }
    
    .cookie-container {
        flex-direction: column;
        text-align: center;
        padding-right: 0;
    }
    
    .cookie-button {
        width: 100%;
    }
}

/* Дополнительные стили для попапа скидки */
#discount-popup .popup-container {
    transform: translateY(-30px);
    transition: transform 0.4s ease, opacity 0.4s ease;
    opacity: 0;
}

#discount-popup.active .popup-container {
    transform: translateY(0);
    opacity: 1;
}

#discount-popup .popup-overlay {
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
}

/* Анимация появления */
@keyframes discountPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

#discount-popup.active .popup-content svg {
    animation: discountPulse 0.5s ease;
}
/* CSS для ошибок */
.has-error input,
.has-error .test-option input,
.has-error select,
.has-error textarea {
    border-color: #ff4444 !important;
}

.has-warning input,
.has-warning .test-option input,
.has-warning select,
.has-warning textarea {
    border-color: #ffbb33 !important;
}

.help-block {
    color: #ff4444;
    font-size: 12px;
    margin-top: 5px;
}

.required {
    color: #ff4444;
}

.alert {
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 4px;
}

.alert-danger {
    background-color: #f2dede;
    border-color: #ebccd1;
    color: #a94442;
}

.alert-success {
    background-color: #dff0d8;
    border-color: #d6e9c6;
    color: #3c763d;
}

/* ===== ПЛАВАЮЩАЯ КНОПКА КОНСУЛЬТАЦИИ ===== */
.floating-consult-btn {
    position: fixed;
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 999;
    cursor: pointer;
    transition: all 0.3s ease;
}

.floating-btn-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #00489A 0%, #0E2244 100%);
    border-radius: 50%;
    box-shadow: 0 8px 25px rgba(0, 72, 154, 0.4);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.floating-btn-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #4f9ffb 0%, #00489A 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.floating-consult-btn:hover .floating-btn-content {
    transform: scale(1.08);
    box-shadow: 0 12px 35px rgba(0, 72, 154, 0.5);
}

.floating-consult-btn:hover .floating-btn-content::before {
    opacity: 1;
}

.floating-icon {
    position: relative;
    z-index: 1;
    /*font-size: 32px;*/
    color: white;
    font-weight: bold;
    margin-bottom: 5px;
}

.floating-icon svg {
    width: 32px;
    height: 32px;
    fill: white;
}

.floating-text {
    position: relative;
    z-index: 1;
    font-size: 11px;
    font-weight: 600;
    color: white;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Пульсация для привлечения внимания */
.floating-consult-btn.pulse .floating-btn-content {
    animation: pulse-ring 1.5s ease-out infinite;
}

@keyframes pulse-ring {
    0% {
        box-shadow: 0 0 0 0 rgba(0, 72, 154, 0.7);
    }
    70% {
        box-shadow: 0 0 0 20px rgba(0, 72, 154, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(0, 72, 154, 0);
    }
}

/* Скрытие кнопки при скролле вниз (опционально) */
.floating-consult-btn.hide-on-scroll {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.floating-consult-btn.hide-on-scroll.visible {
    opacity: 1;
    visibility: visible;
}

/* Адаптив для планшетов */
@media screen and (max-width: 1024px) and (min-width: 769px) {
    .floating-consult-btn {
        right: 20px;
    }
    
    .floating-btn-content {
        width: 70px;
        height: 70px;
    }
    
    .floating-icon {
        font-size: 28px;
    }
    
    .floating-icon svg {
        width: 28px;
        height: 28px;
    }
    
    .floating-text {
        font-size: 10px;
    }
}

/* Адаптив для мобильных устройств */
@media screen and (max-width: 768px) {
    .floating-consult-btn {
        right: 15px;
        bottom: 80px;
        top: auto;
        transform: translateY(0);
    }
    
    .floating-btn-content {
        width: 60px;
        height: 60px;
    }
    
    .floating-icon {
        font-size: 24px;
        margin-bottom: 3px;
    }
    
    .floating-icon svg {
        width: 24px;
        height: 24px;
    }
    
    .floating-text {
        font-size: 9px;
    }
}

/* Адаптив для маленьких телефонов */
@media screen and (max-width: 480px) {
    .floating-consult-btn {
        right: 12px;
        bottom: 170px;
    }
    
    .floating-btn-content {
        width: 52px;
        height: 52px;
    }
    
    .floating-icon {
        font-size: 20px;
        margin-bottom: 2px;
    }
    
    .floating-icon svg {
        width: 20px;
        height: 20px;
    }
    
    .floating-text {
        font-size: 8px;
    }
}

/* Для устройств с левой стороны (если нужно) */
@media screen and (max-width: 768px) and (min-width: 481px) {
    .floating-consult-btn {
        right: 15px;
    }
}

/* Анимация появления кнопки */
@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.floating-consult-btn.animate-in {
    animation: slideInRight 0.5s ease forwards;
}

/* ===== СЛАЙДЕР ОТЗЫВОВ ===== */
.reviews-section {
    padding: 80px 0;
    background: var(--white);
    overflow-x: hidden;
}

.reviews-subtitle {
    text-align: center;
    font-size: 18px;
    color: var(--text-gray);
    margin-bottom: 40px;
}

/* Обертка слайдера */
.reviews-slider-wrapper {
    position: relative;
    margin: 0 auto;
    width: 100%;
    overflow: visible !important;
}

/* Сам слайдер - здесь скрываем лишние слайды */
.reviewsSwiper {
    overflow: hidden !important;
    padding: 10px 0 50px;
    width: 100%;
}

/* Контейнер слайдов */
.reviewsSwiper .swiper-wrapper {
    display: flex;
    transition-timing-function: ease-in-out;
}

/* Карточка отзыва */
.review-slide-card {
    background: var(--white);
    border-radius: 24px;
    padding: 30px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
}

.review-slide-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-blue);
}

/* Кавычки */
.review-slide-card::before {
    content: '"';
    position: absolute;
    top: 20px;
    right: 25px;
    font-size: 80px;
    font-family: Georgia, serif;
    color: rgba(0, 72, 154, 0.1);
    line-height: 1;
}

/* Заголовок карточки */
.review-slide-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    position: relative;
    z-index: 2;
}

.review-slide-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid var(--primary-blue);
    flex-shrink: 0;
    background: var(--bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
}

.review-slide-avatar i {
    font-size: 28px;
    color: var(--primary-blue);
}

.review-slide-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.review-slide-info {
    flex: 1;
}

.review-slide-name {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 5px;
    color: var(--text-dark);
}

.review-slide-name a {
    color: var(--text-dark);
    text-decoration: none;
    transition: color 0.3s;
}

.review-slide-name a:hover {
    color: var(--primary-blue);
}

.review-slide-city {
    font-size: 13px;
    color: var(--text-gray);
}

.review-slide-rating {
    margin-top: 5px;
    color: #ffc107;
    font-size: 14px;
    letter-spacing: 2px;
}

/* Текст отзыва */
.review-slide-text {
    flex: 1;
    margin: 15px 0 20px;
    position: relative;
    z-index: 2;
}

.review-slide-text p {
    font-size: 15px;
    line-height: 1.6;
    color: var(--text-dark);
    font-style: italic;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 6;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Номер дела */
.review-slide-case {
    display: inline-block;
    background: rgba(0, 72, 154, 0.1);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    color: var(--primary-blue);
    margin-top: 15px;
    align-self: flex-start;
}

/* ===== НАВИГАЦИЯ СЛАЙДЕРА ОТЗЫВОВ ===== */
.reviews-swiper-button-prev,
.reviews-swiper-button-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    z-index: 10;
    color: var(--primary-blue);
}

.reviews-swiper-button-prev {
    left: 5px;
}

.reviews-swiper-button-next {
    right: 5px;
}

.reviews-swiper-button-prev:hover,
.reviews-swiper-button-next:hover {
    background: var(--primary-blue);
    color: white;
    transform: translateY(-50%) scale(1.05);
}

.reviews-swiper-button-prev svg,
.reviews-swiper-button-next svg {
    width: 24px;
    height: 24px;
}

/* ===== ПАГИНАЦИЯ ===== */
.reviews-swiper-pagination {
    position: relative;
    text-align: center;
    margin-top: 30px;
    padding-top: 10px;
}

.reviews-swiper-pagination .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: var(--border-color);
    opacity: 1;
    transition: all 0.3s ease;
    margin: 0 6px;
}

.reviews-swiper-pagination .swiper-pagination-bullet-active {
    background: var(--primary-blue);
    width: 24px;
    border-radius: 5px;
}

/* ===== АДАПТИВ ===== */
@media screen and (max-width: 1024px) {
    .reviews-swiper-button-prev {
        left: -15px;
    }
    
    .reviews-swiper-button-next {
        right: -15px;
    }
}

@media screen and (max-width: 768px) {
    .reviews-section {
        padding: 60px 0;
    }
    
    .reviews-subtitle {
        font-size: 16px;
        margin-bottom: 30px;
    }
    
    .review-slide-card {
        padding: 25px;
    }
    
    .review-slide-header {
        gap: 12px;
    }
    
    .review-slide-avatar {
        width: 50px;
        height: 50px;
    }
    
    .review-slide-name {
        font-size: 16px;
    }
    
    .review-slide-text p {
        font-size: 14px;
        -webkit-line-clamp: 5;
    }
    
    .reviews-swiper-button-prev,
    .reviews-swiper-button-next {
        width: 36px;
        height: 36px;
    }
    
    .reviews-swiper-button-prev svg,
    .reviews-swiper-button-next svg {
        width: 20px;
        height: 20px;
    }
    
    .reviews-swiper-button-prev {
        left: -10px;
    }
    
    .reviews-swiper-button-next {
        right: -10px;
    }
}

@media screen and (max-width: 480px) {
    .review-slide-card {
        padding: 20px;
    }
    
    .review-slide-avatar {
        width: 45px;
        height: 45px;
    }
    
    .review-slide-text p {
        font-size: 13px;
        -webkit-line-clamp: 4;
    }
    
    .review-slide-card::before {
        font-size: 60px;
        top: 15px;
        right: 15px;
    }
    
    .reviews-swiper-button-prev,
    .reviews-swiper-button-next {
        width: 32px;
        height: 32px;
    }
    
    .reviews-swiper-button-prev {
        left: -5px;
    }
    
    .reviews-swiper-button-next {
        right: -5px;
    }
}


/* ===== СЛАЙДЕР СКРИНШОТОВ ОТЗЫВОВ ===== */
.reviews-screenshots-section {
    padding: 60px 0;
    background: var(--bg-light);
    overflow-x: hidden; /* Только горизонтальный overflow для секции */
}

.screenshots-subtitle {
    text-align: center;
    font-size: 18px;
    color: var(--text-gray);
    margin-bottom: 40px;
}

/* Обертка слайдера - важные стили */
.screenshots-slider-wrapper {
    position: relative;
    margin: 0 auto;
    width: 100%;
    overflow: visible !important; /* Важно! Не скрываем стрелки */
}

/* Сам слайдер - здесь должен быть overflow: hidden для скрытия соседних слайдов */
.screenshotsSwiper {
    overflow: hidden !important; /* Это правильно - скрывает слайды за пределами видимости */
    padding: 10px 0 50px;
    width: 100%;
}

/* Контейнер слайдов */
.screenshotsSwiper .swiper-wrapper {
    display: flex;
    transition-timing-function: ease-in-out;
}

/* Карточка скриншота */
.screenshot-slide-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    cursor: pointer;
    aspect-ratio: 3/4;
    background: var(--white);
}

.screenshot-slide-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.screenshot-slide-card a {
    display: block;
    width: 100%;
    height: 100%;
}

.screenshot-slide-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.screenshot-slide-card:hover img {
    transform: scale(1.05);
}

/* Оверлей с источником */
.screenshot-slide-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px 15px;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.screenshot-slide-card:hover .screenshot-slide-overlay {
    opacity: 1;
}

.screenshot-source {
    font-size: 14px;
    font-weight: 500;
    background: rgba(0, 72, 154, 0.9);
    padding: 6px 14px;
    border-radius: 30px;
    backdrop-filter: blur(5px);
    color: white;
}

/* ===== НАВИГАЦИЯ СЛАЙДЕРА СКРИНШОТОВ ===== */
.screenshots-swiper-button-prev,
.screenshots-swiper-button-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    z-index: 10;
    color: var(--primary-blue);
}

.screenshots-swiper-button-prev {
    left: -20px;
}

.screenshots-swiper-button-next {
    right: -20px;
}

.screenshots-swiper-button-prev:hover,
.screenshots-swiper-button-next:hover {
    background: var(--primary-blue);
    color: white;
    transform: translateY(-50%) scale(1.05);
}

.screenshots-swiper-button-prev svg,
.screenshots-swiper-button-next svg {
    width: 24px;
    height: 24px;
}

/* ===== ПАГИНАЦИЯ ===== */
.screenshots-swiper-pagination {
    position: relative;
    text-align: center;
    margin-top: 30px;
    padding-top: 10px;
}

.screenshots-swiper-pagination .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: var(--border-color);
    opacity: 1;
    transition: all 0.3s ease;
    margin: 0 6px;
}

.screenshots-swiper-pagination .swiper-pagination-bullet-active {
    background: var(--primary-blue);
    width: 24px;
    border-radius: 5px;
}

/* ===== АДАПТИВ ===== */
@media screen and (max-width: 1024px) {
    .screenshots-swiper-button-prev {
        left: -15px;
    }
    
    .screenshots-swiper-button-next {
        right: -15px;
    }
}

@media screen and (max-width: 768px) {
    .reviews-screenshots-section {
        padding: 50px 0;
    }
    
    .screenshots-subtitle {
        font-size: 16px;
        margin-bottom: 30px;
    }
    
    .screenshots-swiper-button-prev,
    .screenshots-swiper-button-next {
        width: 36px;
        height: 36px;
    }
    
    .screenshots-swiper-button-prev svg,
    .screenshots-swiper-button-next svg {
        width: 20px;
        height: 20px;
    }
    
    .screenshots-swiper-button-prev {
        left: -10px;
    }
    
    .screenshots-swiper-button-next {
        right: -10px;
    }
    
    .screenshot-source {
        font-size: 12px;
        padding: 4px 10px;
    }
}

@media screen and (max-width: 480px) {
    .screenshots-swiper-button-prev,
    .screenshots-swiper-button-next {
        width: 32px;
        height: 32px;
    }
    
    .screenshots-swiper-button-prev {
        left: -5px;
    }
    
    .screenshots-swiper-button-next {
        right: -5px;
    }
    
    .screenshots-swiper-button-prev svg,
    .screenshots-swiper-button-next svg {
        width: 18px;
        height: 18px;
    }
}
/* Блок со статистикой отзыва */
.review-detail-stats {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #e0e4e8;
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.review-detail-stat {
    background: #f8f9fa;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 14px;
}

.review-detail-stat .stat-label {
    color: #6c757d;
    font-weight: 500;
    margin-right: 8px;
}

.review-detail-stat .stat-value {
    color: #2c3e50;
    font-weight: 600;
}

.review-detail-result {
    background: #e8f5e9;
    border-left: 3px solid #4caf50;
}

.review-detail-result .stat-value {
    color: #2e7d32;
}

/* Город и рейтинг */
.review-detail-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
    margin-bottom: 10px;
}

.review-detail-city {
    color: #6c757d;
    font-size: 14px;
}

.review-detail-case {
    color: #00489A;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 10px;
}
.review-detail-case-link {
    display: inline-block;
    margin-left: 12px;
    font-size: 12px;
    color: #00489A;
    text-decoration: none;
    border-bottom: 1px dashed #00489A;
}

.review-detail-case-link:hover {
    color: #002f5f;
    border-bottom-style: solid;
}
/* Стиль для бейджа "скоро" */
.badge {
  display: inline-block;
  background: #e0e0e0;
  color: #777;
  font-size: 11px;
  font-weight: 400;
  padding: 2px 8px;
  border-radius: 20px;
  margin-left: 8px;
  vertical-align: middle;
  line-height: 1.4;
}

/* Тёмная тема (если есть) */
@media (prefers-color-scheme: dark) {
  .badge {
    background: #3a3a3a;
    color: #aaa;
  }
}
/* ===== СЕКЦИЯ ГЕОГРАФИИ ===== */
.geography-section {
    padding: 60px 0;
    background: var(--bg-light, #F6F7F8);
    border-radius: 30px;
    margin: 40px 0;
}

.geography-section .container {
    max-width: 1366px;
    margin: 0 auto;
    padding: 0 64px;
}

.geography-section h2 {
    font-size: 38px;
    font-weight: 700;
    margin-bottom: 40px;
    text-align: center;
}

.geography-section h2 span {
    color: var(--primary-blue, #00489A);
}

.region-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

.region-category {
    background: var(--white, #ffffff);
    border-radius: 20px;
    padding: 25px;
    box-shadow: var(--shadow-md, 0 4px 6px -1px rgba(0, 0, 0, 0.1));
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--border-color, #E2E8F0);
}

.region-category:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl, 0 20px 25px -5px rgba(0, 0, 0, 0.1));
}

.region-category h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 18px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--primary-blue, #00489A);
    color: var(--primary-dark, #0E2244);
}

.region-category ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.region-category ul li {
    margin-bottom: 12px;
}

.region-category ul li:last-child {
    margin-bottom: 0;
}

.region-category ul li a {
    color: var(--text-dark, #1b1f3b);
    text-decoration: none;
    font-size: 16px;
    transition: all 0.3s ease;
    display: inline-block;
    position: relative;
    padding-left: 20px;
}

.region-category ul li a::before {
    content: "→";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--primary-blue, #00489A);
    transition: transform 0.3s ease;
}

.region-category ul li a:hover {
    color: var(--primary-blue, #00489A);
    padding-left: 25px;
}

.region-category ul li a:hover::before {
    transform: translateX(3px);
}

/* Адаптив для планшетов */
@media screen and (max-width: 1024px) and (min-width: 769px) {
    .geography-section {
        padding: 50px 0;
        margin: 30px 0;
    }
    
    .region-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
}

/* Адаптив для мобильных */
@media screen and (max-width: 768px) {
    .geography-section {
        padding: 40px 0;
        margin: 25px 0;
        border-radius: 20px;
    }
    
    .geography-section .container {
        padding: 0 20px;
    }
    
    .geography-section h2 {
        font-size: 28px;
        margin-bottom: 30px;
    }
    
    .region-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .region-category {
        padding: 20px;
    }
    
    .region-category h3 {
        font-size: 18px;
        margin-bottom: 15px;
    }
    
    .region-category ul li a {
        font-size: 15px;
    }
}

/* Адаптив для маленьких телефонов */
@media screen and (max-width: 480px) {
    .geography-section {
        padding: 30px 0;
        margin: 20px 0;
        border-radius: 16px;
    }
    
    .region-category {
        padding: 15px;
    }
    
    .region-category h3 {
        font-size: 16px;
    }
    
    .region-category ul li a {
        font-size: 14px;
        padding-left: 18px;
    }
}