   *, *::before, *::after {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        :root {
            --yellow: #f5c518;
            --yellow-hover: #e6b800;
            --yellow-shadow: rgba(245, 197, 24, 0.4);
            --white: #ffffff;
            --text-dark: #2a2040;
            --text-light: #d4d4d4;
            --text-muted: rgba(255, 255, 255, 0.85);
            --purple-card: rgba(120, 85, 170, 0.16);
            --purple-card-border: rgba(160, 130, 200, 0.3);
            --purple-section: #f3eefa;
            --purple-accent: #7b4fad;
            --max-width: 1770px;
        }

        html {
            scroll-behavior: smooth;
        }

        body {
            font-family: 'Inter', sans-serif;
            min-height: 100vh;
            overflow-x: hidden;
            color: var(--white);
        }

        .container {
            width: 100%;
            max-width: var(--max-width);
            margin: 0 auto;
            padding: 0 48px;
        }

        /* ==========================================
           NAVIGATION
           ========================================== */
        .nav {
            position: relative;
            z-index: 100;
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 20px 0;
        }

        .nav-logo {
            flex-shrink: 0;
            text-decoration: none;
            line-height: 0;
        }

        .nav-logo img {
            height: 42px;
            width: auto;
            object-fit: contain;
            filter: drop-shadow(0 2px 8px rgba(80, 50, 120, 0.25));
        }

        .nav-links {
            display: flex;
            align-items: center;
            gap: 32px;
            list-style: none;
        }

        .nav-links a {
            color: var(--white);
            text-decoration: none;
            font-size: 14px;
            font-weight: 500;
            letter-spacing: 0.3px;
            position: relative;
            padding: 4px 0;
            transition: opacity 0.3s ease;
            text-shadow: 0 1px 8px rgba(80, 50, 120, 0.4), 0 0 20px rgba(180, 155, 210, 0.6);
        }

        .nav-links a::after {
            content: '';
            position: absolute;
            bottom: -2px;
            left: 0;
            width: 0;
            height: 2px;
            background: var(--white);
            border-radius: 2px;
            transition: width 0.3s ease;
        }

        .nav-links a:hover::after {
            width: 100%;
        }

        .nav-links a:hover {
            opacity: 0.85;
        }

        /* ==========================================
           BUTTONS
           ========================================== */
        .btn-cta {
            display: inline-flex;
            justify-content: center;
            align-items: center;
            gap: 8px;
            background: var(--yellow);
            color: var(--text-dark);
            font-family: 'Inter', sans-serif;
            font-size: 14px;
            font-weight: 600;
            padding: 12px 24px;
            border: none;
            border-radius: 50px;
            cursor: pointer;
            text-decoration: none;
            box-shadow: 0 4px 20px var(--yellow-shadow), 0 0 40px rgba(245, 197, 24, 0.15);
            transition: all 0.3s ease;
            flex-shrink: 0;
        }

        .btn-cta:hover {
            background: var(--yellow-hover);
            transform: translateY(-2px);
            box-shadow: 0 6px 28px var(--yellow-shadow), 0 0 50px rgba(245, 197, 24, 0.25);
        }

        .btn-cta:active {
            transform: translateY(0);
        }

        .btn-cta-large {
            font-size: 16px;
            padding: 16px 36px;
        }

        .btn-cta-xlarge {
            font-size: 17px;
            padding: 18px 44px;
        }

        /* ==========================================
           BURGER & MOBILE MENU
           ========================================== */
        .burger {
            display: none;
            flex-direction: column;
            gap: 5px;
            cursor: pointer;
            background: none;
            border: none;
            padding: 8px;
            z-index: 200;
        }

        .burger span {
            display: block;
            width: 26px;
            height: 2.5px;
            background: var(--white);
            border-radius: 4px;
            transition: all 0.3s ease;
            box-shadow: 0 1px 6px rgba(60, 30, 100, 0.4);
        }

        .burger.active span:nth-child(1) {
            transform: rotate(45deg) translate(5px, 5px);
        }

        .burger.active span:nth-child(2) {
            opacity: 0;
        }

        .burger.active span:nth-child(3) {
            transform: rotate(-45deg) translate(6px, -6px);
        }

        .mobile-menu {
            display: none;
            position: fixed;
            inset: 0;
            z-index: 99;
            background: linear-gradient(165deg, rgba(201, 181, 222, 0.97), rgba(170, 145, 205, 0.97));
            backdrop-filter: blur(20px);
            flex-direction: column;
            align-items: center;
            justify-content: center;
            gap: 28px;
            opacity: 0;
            transition: opacity 0.4s ease;
        }

        .mobile-menu.open {
            display: flex;
            opacity: 1;
        }

        .mobile-menu a {
            color: var(--white);
            text-decoration: none;
            font-size: 20px;
            font-weight: 500;
            text-shadow: 0 1px 6px rgba(60, 30, 100, 0.3);
            transition: opacity 0.3s;
        }

        .mobile-menu a:hover {
            opacity: 0.7;
        }

        /* ==========================================
           HERO — FIRST SCREEN
           ========================================== */
        .hero {
            position: relative;
            min-height: 100vh;
            display: flex;
            flex-direction: column;
            overflow: hidden;
        }

        .hero-bg {
            position: absolute;
            inset: 0;
            z-index: 0;
            background: url('../img/bg.webp') center/cover no-repeat;
        }

        .hero-bg::after {
            content: '';
            position: absolute;
            inset: 0;
            background: linear-gradient(
                180deg,
                rgba(200, 175, 220, 0.2) 0%,
                rgba(180, 155, 210, 0.25) 50%,
                rgba(160, 130, 195, 0.35) 100%
            );
        }

        .hero-content {
            position: relative;
            z-index: 10;
            flex: 1;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 0 0 60px;
        }

        .hero-grid {
            display: grid;
            grid-template-columns: 1fr 1.15fr;
            gap: 48px;
            align-items: center;
            width: 100%;
        }

        .hero-image-card {
            background: var(--white);
            border-radius: 28px;
            overflow: hidden;
            box-shadow: 0 20px 60px rgba(80, 50, 120, 0.2), 0 4px 20px rgba(80, 50, 120, 0.1);
            aspect-ratio: 4 / 3;
        }

        .hero-image-card img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            display: block;
        }

        .hero-image-card .placeholder {
            width: 100%;
            height: 100%;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            background: linear-gradient(135deg, #f5f0fa 0%, #ebe3f3 100%);
            color: #a89bc0;
            gap: 12px;
        }

        .placeholder svg {
            width: 64px;
            height: 64px;
            opacity: 0.5;
        }

        .placeholder span {
            font-size: 14px;
            font-weight: 500;
        }

        .hero-text {
            display: flex;
            flex-direction: column;
            gap: 24px;
        }

        .hero-text h1 {
            font-size: 42px;
            font-weight: 700;
            line-height: 1.18;
            color: var(--white);
            text-shadow: 0 2px 16px rgba(60, 30, 100, 0.45), 0 0 40px rgba(160, 130, 195, 0.5);
            letter-spacing: -0.3px;
        }

        .hero-text h2 {
            font-size: 22px;
            font-weight: 400;
            line-height: 1.4;
            color: var(--text-muted);
            text-shadow: 0 1px 10px rgba(60, 30, 100, 0.35), 0 0 30px rgba(160, 130, 195, 0.4);
        }

        .hero-actions {
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            gap: 24px;
            margin-top: 8px;
        }

        .phone-block {
            display: flex;
            align-items: center;
            gap: 12px;
            text-decoration: none;
        }

        .phone-icon {
            width: 44px;
            height: 44px;
            border-radius: 50%;
            overflow: hidden;
            flex-shrink: 0;
            background: rgba(255, 255, 255, 0.15);
            backdrop-filter: blur(10px);
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .phone-icon img {
            width: 28px;
            height: 28px;
            object-fit: contain;
        }

        .phone-number {
            font-size: 20px;
            font-weight: 600;
            color: var(--white);
            text-decoration: none;
            letter-spacing: 0.5px;
            text-shadow: 0 1px 8px rgba(60, 30, 100, 0.4), 0 0 20px rgba(160, 130, 195, 0.4);
            transition: opacity 0.3s;
        }

        .phone-number:hover {
            opacity: 0.85;
        }

        /* ==========================================
           SECTION 2 — ТРИ СОСТОЯНИЯ
           ========================================== */
        .section-states {
            background: var(--purple-section);
            padding: 100px 0 90px;
        }

        .states-header {
            text-align: center;
            margin-bottom: 60px;
        }

        .states-header h2 {
            font-size: 40px;
            font-weight: 700;
            color: var(--text-dark);
            line-height: 1.22;
            letter-spacing: -0.3px;
            max-width: 900px;
            margin: 0 auto;
        }

        .states-header h2 span {
            color: var(--purple-accent);
        }

        .states-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 32px;
            margin-bottom: 56px;
        }

        .state-card {
            background: linear-gradient(160deg, rgba(130, 95, 180, 0.16) 0%, rgba(110, 75, 160, 0.22) 100%);
            border: 1px solid var(--purple-card-border);
            border-radius: 24px;
            padding: 40px 32px 36px;
            display: flex;
            flex-direction: column;
            align-items: center;
            text-align: center;
            gap: 24px;
            transition: transform 0.35s ease, box-shadow 0.35s ease;
        }

        .state-card:hover {
            transform: translateY(-6px);
            box-shadow: 0 16px 48px rgba(100, 65, 150, 0.18);
        }

        .state-card-icon {
            width: 80px;
            height: 80px;
            flex-shrink: 0;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .state-card-icon img {
            width: 100%;
            height: 100%;
            object-fit: contain;
        }

        .state-card-body {
            display: flex;
            flex-direction: column;
            gap: 12px;
            background: #000000b8;
            padding: 10px;
            border-radius: 10px;
        }

        .state-card-body h3 {
            font-size: 20px;
            font-weight: 600;
            color: #ff504d;
            line-height: 1.3;
        }

        .state-card-body ul {
            list-style: none;
            display: flex;
            flex-direction: column;
            gap: 8px;
        }

        .state-card-body ul li {
            font-size: 15px;
            font-weight: 400;
            color: var(--white);
            line-height: 1.45;
            position: relative;
            padding-left: 20px;
        }

        .state-card-body ul li::before {
            content: '';
            position: absolute;
            left: 0;
            top: 8px;
            width: 6px;
            height: 6px;
            border-radius: 50%;
            background: #9b7cc5;
            opacity: 0.7;
        }

        .states-bottom {
            text-align: center;
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 32px;
        }

        .states-bottom p {
            font-size: 16px;
            font-weight: 400;
            color: #5a4a72;
            line-height: 1.65;
            max-width: 720px;
        }

        .states-bottom p strong {
            color: var(--text-dark);
            font-weight: 600;
        }

        /* ==========================================
           SECTION 3 — ЧТО ТЫ ПОЛУЧИШЬ
           ========================================== */
        .section-benefits {
            background: var(--white);
            padding: 100px 0 90px;
        }

        .benefits-header {
            text-align: center;
            margin-bottom: 24px;
        }

        .benefits-header h2 {
            font-size: 40px;
            font-weight: 700;
            color: var(--text-dark);
            line-height: 1.22;
            letter-spacing: -0.3px;
            max-width: 920px;
            margin: 0 auto;
        }

        .benefits-header h2 span {
            color: var(--purple-accent);
        }

        .benefits-subtitle {
            text-align: center;
            margin-bottom: 60px;
        }

        .benefits-subtitle p {
            font-size: 17px;
            font-weight: 400;
            color: #5a4a72;
            line-height: 1.65;
            max-width: 740px;
            margin: 0 auto;
        }

        .benefits-grid {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 28px;
        }

        .presentation-block {

    display: flex;
    justify-content: center;
    padding: 25px 0;

        }
        .benefit-card {
            background: linear-gradient(160deg, rgba(130, 95, 180, 0.10) 0%, rgba(110, 75, 160, 0.16) 100%);
            border: 1px solid var(--purple-card-border);
            border-radius: 24px;
            padding: 36px 32px 32px;
            display: flex;
            gap: 24px;
            align-items: flex-start;
            transition: transform 0.35s ease, box-shadow 0.35s ease;
        }

        .benefit-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 16px 48px rgba(100, 65, 150, 0.14);
        }

        .benefit-card-icon {
            width: 72px;
            height: 72px;
            flex-shrink: 0;
            border-radius: 20px;
            background: linear-gradient(135deg, rgba(123, 79, 173, 0.15) 0%, rgba(123, 79, 173, 0.25) 100%);
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .benefit-card-icon svg {
            width: 36px;
            height: 36px;
            stroke: var(--purple-accent);
            fill: none;
            stroke-width: 1.8;
            stroke-linecap: round;
            stroke-linejoin: round;
        }

        .benefit-card-content {
            display: flex;
            flex-direction: column;
            gap: 10px;
        }

        .benefit-card-content h3 {
            font-size: 19px;
            font-weight: 700;
            color: var(--text-dark);
            line-height: 1.3;
            letter-spacing: -0.2px;
        }

        .benefit-card-content p {
            font-size: 15px;
            font-weight: 400;
            color: #5a4a72;
            line-height: 1.55;
        }

        /* ==========================================
   SECTION 4 — TESTIMONIALS (ОТЗЫВЫ)
   ========================================== */
.section-testimonials {
    background: linear-gradient(135deg, #d4c4f0 0%, #c8b5e8 50%, #b8a8e0 100%);
    padding: 100px 0 90px;
    position: relative;
    overflow: visible;
    min-height: 1200px;
}

.testimonials-bg-decoration {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
    z-index: 0;
}

.heart-bubble {
    position: absolute;
    background: linear-gradient(135deg, #9b7dd4 0%, #8b6fc4 100%);
    border-radius: 20px;
    padding: 20px;
    box-shadow: 0 10px 40px rgba(123, 79, 173, 0.3);
    animation: floatBubble 6s ease-in-out infinite;
}

.heart-bubble svg {
    width: 60px;
    height: 60px;
    filter: drop-shadow(0 2px 8px rgba(245, 197, 24, 0.4));
}

.bubble-1 {
    top: 120px;
    right: 10%;
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: rotate(-12deg);
    animation-delay: 0s;
    z-index: 1;
}

.bubble-2 {
    bottom: 300px;
    right: 5%;
    width: 120px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: rotate(8deg);
    animation-delay: 3s;
    z-index: 1;
}

@keyframes floatBubble {
    0%, 100% {
        transform: translateY(0) rotate(-12deg);
    }
    50% {
        transform: translateY(-20px) rotate(-8deg);
    }
}

.bubble-2 {
    animation-name: floatBubble2;
}

@keyframes floatBubble2 {
    0%, 100% {
        transform: translateY(0) rotate(8deg);
    }
    50% {
        transform: translateY(-25px) rotate(12deg);
    }
}

.testimonials-header {
    text-align: left;
    margin-bottom: 60px;
    position: relative;
    z-index: 1;
}

.testimonials-header h2 {
    font-size: 48px;
    font-weight: 800;
    color: var(--white);
    line-height: 1.15;
    letter-spacing: -0.5px;
    text-shadow: 0 4px 20px rgba(80, 50, 120, 0.3);
}

.testimonials-header .highlight-number {
    display: block;
    font-size: 64px;
    margin-bottom: 8px;
    color: var(--white);
    text-shadow: 0 4px 25px rgba(80, 50, 120, 0.4), 0 0 50px rgba(255, 255, 255, 0.2);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
    margin-bottom: 48px;
    position: relative;
    z-index: 1;
    max-width: 900px;
}

.testimonial-card {
    background: var(--white);
    border-radius: 24px;
    padding: 15px;
    box-shadow: 0 8px 32px rgba(120, 85, 170, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.8);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 48px rgba(120, 85, 170, 0.25);
}

.testimonial-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}
.testimonial-card img {
    max-width: 450px;
    width: 100%;
}
.testimonial-user {
    display: flex;
    align-items: center;
    gap: 12px;
}

.testimonial-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid rgba(123, 79, 173, 0.2);
    box-shadow: 0 4px 12px rgba(123, 79, 173, 0.15);
}

.testimonial-info h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-dark);
    line-height: 1.3;
    margin: 0;
}

.testimonial-count {
    font-size: 13px;
    color: #7a6b8a;
    font-weight: 400;
}

.btn-subscribe {
    background: rgba(123, 79, 173, 0.1);
    color: var(--purple-accent);
    border: none;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(123, 79, 173, 0.1);
}

.btn-subscribe:hover {
    background: rgba(123, 79, 173, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(123, 79, 173, 0.2);
}

.testimonial-rating {
    display: flex;
    align-items: center;
    gap: 8px;
}

.star {
    color: var(--yellow);
    font-size: 18px;
    text-shadow: 0 1px 4px rgba(245, 197, 24, 0.4);
}

.testimonial-date {
    font-size: 13px;
    color: #9a8aa8;
    margin-left: auto;
    font-weight: 500;
}

.testimonial-body {
    color: #5a4a72;
    font-size: 14px;
    line-height: 1.7;
    flex: 1;
}

.testimonial-body p {
    margin: 0;
}

.testimonials-cta {
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
    position: relative;
    z-index: 1;
    margin-top: 20px;
    max-width: 900px;
}

.btn-yandex-reviews {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.95);
    color: var(--text-dark);
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    font-weight: 600;
    padding: 14px 28px;
    border: 2px solid rgba(252, 63, 29, 0.3);
    border-radius: 50px;
    cursor: pointer;
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(252, 63, 29, 0.2), 0 0 30px rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.btn-yandex-reviews:hover {
    background: var(--white);
    border-color: rgba(252, 63, 29, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 6px 28px rgba(252, 63, 29, 0.3), 0 0 40px rgba(255, 255, 255, 0.4);
}

.yandex-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.testimonials-nurse-image {
    max-height: 700px;
    position: absolute;
    right: 0;
    top: 15%;
    width: 50%;
    max-width: 700px;
    z-index: 2;
    pointer-events: none;
}

.testimonials-nurse-image .nurse-img {
    max-height: 700px;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 -10px 50px rgba(80, 50, 120, 0.3));
    animation: nurseFloat 8s ease-in-out infinite;
}

@keyframes nurseFloat {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-15px);
    }
}

/* Responsive for testimonials */
@media (max-width: 1400px) {
    .testimonials-nurse-image {
        max-width: 600px;
        width: 45%;
    }
    
    .testimonials-header h2 {
        font-size: 42px;
    }
    
    .testimonials-header .highlight-number {
        font-size: 56px;
    }
}

@media (max-width: 1200px) {
    .testimonials-nurse-image {
        max-width: 500px;
        width: 40%;
    }
}

@media (max-width: 1024px) {
    .testimonials-nurse-image {
        max-width: 400px;
        width: 35%;
        opacity: 0.7;
    }
    
    .testimonials-header h2 {
        font-size: 36px;
    }

    .testimonials-header .highlight-number {
        font-size: 48px;
    }

    .testimonial-card {
        padding: 26px 22px 22px;
    }
    
    .bubble-1,
    .bubble-2 {
        width: 80px;
        height: 80px;
    }
    
    .bubble-1 svg,
    .bubble-2 svg {
        width: 45px;
        height: 45px;
    }
}

@media (max-width: 768px) {
    .section-testimonials {
        padding: 60px 0 56px;
        min-height: auto;
    }

    .testimonials-header {
        margin-bottom: 36px;
        text-align: center;
    }

    .testimonials-header h2 {
        font-size: 28px;
    }

    .testimonials-header .highlight-number {
        font-size: 38px;
        display: inline;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .testimonial-card {
        padding: 24px 20px 20px;
        gap: 14px;
    }

    .testimonial-avatar {
        width: 42px;
        height: 42px;
    }

    .testimonial-info h4 {
        font-size: 15px;
    }

    .testimonial-body {
        font-size: 13px;
        line-height: 1.65;
    }

    .btn-subscribe {
        padding: 6px 14px;
        font-size: 12px;
    }
    
    .heart-bubble {
        display: none;
    }
    
    .testimonials-nurse-image {
        display: none;
    }
    
    .testimonials-cta {
        align-items: center;
    }
    
    .btn-yandex-reviews {
        width: 100%;
        justify-content: center;
        font-size: 14px;
        padding: 12px 24px;
    }
}

@media (max-width: 480px) {
    .testimonials-header h2 {
        font-size: 24px;
    }

    .testimonial-card {
        border-radius: 18px;
        padding: 20px 16px;
    }

    .testimonial-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .btn-subscribe {
        align-self: flex-end;
    }
    
    .star {
        font-size: 16px;
    }
    
    .btn-yandex-reviews {
        font-size: 13px;
        padding: 10px 20px;
    }
    
    .yandex-icon {
        width: 20px;
        height: 20px;
    }
}



/* ==========================================
   SECTION 5 — LIVING CONDITIONS (ПРОЖИВАНИЕ)
   ========================================== */
.section-living {
    background: linear-gradient(135deg, #e0d0f5 0%, #d4c4f0 50%, #c8b5e8 100%);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.section-living::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.4'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.3;
    pointer-events: none;
}

.living-header {
    text-align: center;
    margin-bottom: 70px;
    position: relative;
    z-index: 1;
}

.living-header h2 {
    font-size: 48px;
    font-weight: 800;
    color: var(--white);
    text-shadow: 0 4px 20px rgba(80, 50, 120, 0.3);
    letter-spacing: -0.5px;
}

.living-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 50px 40px;
    position: relative;
    z-index: 1;
}

.living-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.polaroid-frame {
    position: relative;
    background: var(--white);
    padding: 16px 16px 40px;
    border-radius: 4px;
    box-shadow: 0 8px 32px rgba(120, 85, 170, 0.2);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    transform: rotate(var(--rotation, 0deg));
    width: 100%;
    aspect-ratio: 4/3;
    overflow: hidden;
}

.polaroid-frame::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 100%);
    pointer-events: none;
    z-index: 2;
}

.polaroid-frame:hover {
    transform: rotate(0deg) translateY(-10px);
    box-shadow: 0 16px 48px rgba(120, 85, 170, 0.3);
}

.polaroid-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 2px;
}

.washi-tape {
    position: absolute;
    top: -12px;
    width: 100px;
    height: 28px;
    background-size: 8px 8px;
    opacity: 0.8;
    z-index: 3;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.tape-1 {
    left: 30%;
    background: repeating-linear-gradient(
        45deg,
        #ffd54f,
        #ffd54f 4px,
        #ffc107 4px,
        #ffc107 8px
    );
    transform: rotate(-3deg);
}

.tape-2 {
    left: 35%;
    background: repeating-linear-gradient(
        90deg,
        #ffb74d,
        #ffb74d 4px,
        #ff9800 4px,
        #ff9800 8px
    );
    transform: rotate(2deg);
}

.tape-3 {
    left: 25%;
    background: repeating-linear-gradient(
        0deg,
        #a5d6a7,
        #a5d6a7 4px,
        #81c784 4px,
        #81c784 8px
    );
    transform: rotate(-2deg);
}

.tape-4 {
    left: 40%;
    background: repeating-linear-gradient(
        45deg,
        #ef9a9a,
        #ef9a9a 4px,
        #e57373 4px,
        #e57373 8px
    );
    transform: rotate(3deg);
}

.tape-5 {
    left: 30%;
    background: repeating-linear-gradient(
        90deg,
        #ce93d8,
        #ce93d8 4px,
        #ba68c8 4px,
        #ba68c8 8px
    );
    transform: rotate(-1deg);
}

.tape-6 {
    left: 35%;
    background: repeating-linear-gradient(
        0deg,
        #80cbc4,
        #80cbc4 4px,
        #4db6ac 4px,
        #4db6ac 8px
    );
    transform: rotate(2deg);
}

.photo-decoration {
    position: absolute;
    width: 40px;
    height: 40px;
    z-index: 3;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
    animation: decorateFloat 4s ease-in-out infinite;
}

.heart-icon {
    bottom: 50px;
    left: -20px;
}

.coffee-icon {
    top: -15px;
    right: -15px;
    animation-delay: 0.5s;
}

.leaf-icon {
    bottom: 45px;
    left: -25px;
    animation-delay: 1s;
}

.lotus-icon {
    top: -20px;
    right: -10px;
    animation-delay: 1.5s;
}

.dumbbell-icon {
    bottom: 40px;
    right: -20px;
    animation-delay: 2s;
}

.plate-icon {
    top: -10px;
    right: -15px;
    animation-delay: 2.5s;
}

@keyframes decorateFloat {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-8px) rotate(5deg);
    }
}

.photo-label {
    margin-top: 16px;
    padding: 10px 24px;
    border-radius: 20px;
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 600;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.photo-label span {
    display: inline-block;
    padding: 4px 8px;
}

.photo-label:hover {
    transform: scale(1.05);
}

.label-orange {
    background: #ffe0b2;
    color: #e65100;
}

.label-yellow {
    background: #fff9c4;
    color: #f57f17;
}

.label-green {
    background: #c8e6c9;
    color: #2e7d32;
}

.label-brown {
    background: #d7ccc8;
    color: #5d4037;
}

.label-lightgreen {
    background: #dcfedc;
    color: #1b5e20;
}

.label-beige {
    background: #efebe9;
    color: #4e342e;
}

.arrow-curve {
    position: absolute;
    top: 50%;
    right: -35px;
    width: 40px;
    height: 60px;
    transform: translateY(-50%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.living-card:hover .arrow-curve {
    opacity: 1;
}

.arrow-curve svg {
    width: 100%;
    height: 100%;
}

/* Responsive for living section */
@media (max-width: 1200px) {
    .living-grid {
        gap: 40px 30px;
    }
    
    .living-header h2 {
        font-size: 42px;
    }
}

@media (max-width: 1024px) {
    .living-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
    
    .living-card:nth-child(5) .arrow-curve,
    .living-card:nth-child(6) .arrow-curve {
        display: none;
    }
}

@media (max-width: 768px) {
    .section-living {
        padding: 60px 0;
    }
    
    .living-header {
        margin-bottom: 40px;
    }
    
    .living-header h2 {
        font-size: 32px;
    }
    
    .living-grid {
        grid-template-columns: 1fr;
        gap: 35px;
    }
    
    .arrow-curve {
        display: none !important;
    }
    
    .polaroid-frame {
        max-width: 400px;
        margin: 0 auto;
    }
    
    .photo-label {
        font-size: 15px;
        padding: 8px 20px;
    }
    
    .photo-decoration {
        width: 35px;
        height: 35px;
    }
}

@media (max-width: 480px) {
    .living-header h2 {
        font-size: 26px;
    }
    
    .polaroid-frame {
        padding: 12px 12px 32px;
    }
    
    .photo-label {
        font-size: 14px;
        padding: 6px 16px;
    }
    
    .washi-tape {
        width: 80px;
        height: 22px;
    }
}


/* ==========================================
   SECTION 7 — PRICING (ЦЕНЫ)
   ========================================== */
.section-pricing {
    background: var(--purple-section); /* #f3eefa */
    padding: 100px 0 90px;
    position: relative;
}

.pricing-header {
    text-align: center;
    margin-bottom: 56px;
}

.pricing-header h2 {
    font-size: 40px;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.22;
    letter-spacing: -0.3px;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-bottom: 48px;
}

.pricing-card {
    background: var(--white);
    border-radius: 24px;
    padding: 36px 28px 32px;
    border: 1px solid var(--purple-card-border);
    display: flex;
    flex-direction: column;
    gap: 24px;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
    position: relative;
    overflow: hidden;
}

.pricing-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 48px rgba(100, 65, 150, 0.15);
}

/* Акцентная карточка (средняя) */
.pricing-card.featured {
    border-color: var(--purple-accent);
    box-shadow: 0 12px 40px rgba(123, 79, 173, 0.12);
    transform: scale(1.02);
}

.pricing-card.featured:hover {
    transform: scale(1.02) translateY(-6px);
}

.pricing-card.featured::before {
    content: 'Популярный выбор';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    background: var(--purple-accent);
    color: var(--white);
    font-size: 11px;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 0 0 10px 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 2;
}

.card-header {
    text-align: center;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(160, 130, 200, 0.2);
}

.card-header h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.price {
    font-size: 32px;
    font-weight: 800;
    color: var(--purple-accent);
    line-height: 1;
}

.price .period {
    font-size: 15px;
    font-weight: 500;
    color: #7a6b8a;
    display: block;
    margin-top: 6px;
}

.features-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
    flex: 1;
}

.features-list li {
    font-size: 15px;
    font-weight: 400;
    color: #5a4a72;
    line-height: 1.45;
    position: relative;
    padding-left: 28px;
}

.features-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 5px;
    width: 18px;
    height: 18px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%237b4fad'%3E%3Cpath d='M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41L9 16.17z'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
}

/* Кнопка-контур */
.btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: transparent;
    color: var(--purple-accent);
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    font-weight: 600;
    padding: 14px 24px;
    border: 2px solid rgba(123, 79, 173, 0.3);
    border-radius: 50px;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
    width: 100%;
    margin-top: 8px;
}

.btn-outline:hover {
    background: rgba(123, 79, 173, 0.08);
    border-color: var(--purple-accent);
    transform: translateY(-2px);
}

.pricing-footer {
    text-align: center;
    margin-top: 16px;
}

.veteran-note {
    font-size: 15px;
    font-weight: 500;
    color: #5a4a72;
    background: rgba(123, 79, 173, 0.08);
    display: inline-block;
    padding: 12px 24px;
    border-radius: 50px;
    border: 1px solid rgba(123, 79, 173, 0.15);
    text-align: center;
}

/* ==========================================
   RESPONSIVE - 1024px BREAKPOINT
   ========================================== */
@media (max-width: 1024px) {
    .section-pricing {
        padding: 80px 0 72px;
    }

    .pricing-grid {
        grid-template-columns: 1fr; /* Вертикальное расположение */
        gap: 24px;
        max-width: 540px;
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 40px;
    }

    .pricing-card.featured {
        transform: scale(1);
    }

    .pricing-card.featured:hover {
        transform: translateY(-6px);
    }

    .pricing-header h2 {
        font-size: 32px;
    }
}

@media (max-width: 480px) {
    .pricing-header h2 {
        font-size: 26px;
    }

    .pricing-card {
        padding: 28px 20px 24px;
    }

    .price {
        font-size: 28px;
    }

    .veteran-note {
        font-size: 14px;
        padding: 10px 20px;
    }
}

/* ==========================================
   SECTION - REHABILITATION STAGES (ЭТАПЫ)
   ========================================== */
.section-stages {
    background: linear-gradient(180deg, #f8f5fc 0%, #ffffff 100%);
    padding: 100px 0;
    position: relative;
}

.stages-header {
    text-align: center;
    margin-bottom: 70px;
}

.stages-header h2 {
    font-size: 42px;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 16px;
    line-height: 1.2;
}

.stages-header p {
    font-size: 18px;
    color: #7a6b8a;
    max-width: 600px;
    margin: 0 auto;
}

.stages-list {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.stage-block {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 0;
    background: var(--white);
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(120, 85, 170, 0.12);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.stage-block:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(120, 85, 170, 0.2);
}

/* Нечетные блоки - номер слева (по умолчанию) */
.stage-block:nth-child(odd) {
    direction: ltr;
}

.stage-block:nth-child(odd) .stage-number-side {
    order: 1;
}

.stage-block:nth-child(odd) .stage-content-side {
    order: 2;
}

/* Четные блоки - номер справа */
.stage-block:nth-child(even) {
    direction: ltr;
}

.stage-block:nth-child(even) .stage-number-side {
    order: 2;
}

.stage-block:nth-child(even) .stage-content-side {
    order: 1;
}

/* Сторона с номером (изображение) */
.stage-number-side {
    position: relative;
    min-height: 320px;
    overflow: hidden;
}

.stage-number {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.stage-block:hover .stage-number {
    transform: scale(1.05);
}

.stage-number::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(123, 79, 173, 0.35) 0%, rgba(90, 55, 140, 0.9) 100%);
    transition: background 0.4s ease;
}

.stage-block:hover .stage-number::before {
    background: linear-gradient(135deg, rgba(147, 112, 219, 0.25) 0%, rgba(123, 79, 173, 0.95) 100%);
}

.stage-number span {
    position: relative;
    z-index: 2;
    font-size: 72px;
    font-weight: 900;
    color: var(--white);
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    line-height: 1;
    transition: all 0.4s ease;
}

.stage-block:hover .stage-number span {
    transform: scale(1.1);
    text-shadow: 0 6px 30px rgba(0, 0, 0, 0.4);
}

/* Сторона с контентом */
.stage-content-side {
    padding: 48px 44px 44px;
    display: flex;
    flex-direction: column;
    gap: 18px;
    background: var(--white);
    transition: background 0.4s ease;
}

.stage-block:hover .stage-content-side {
    background: linear-gradient(135deg, #faf8fc 0%, #f5f0fa 100%);
}

.stage-content-side h3 {
    font-size: 26px;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.3;
    margin: 0;
    transition: color 0.3s ease;
}

.stage-block:hover .stage-content-side h3 {
    color: var(--purple-accent);
}

.stage-content-side > p {
    font-size: 16px;
    line-height: 1.65;
    color: #5a4a72;
    margin: 0;
    flex: 1;
}

.stage-details {
    list-style: none;
    padding: 0;
    margin: 8px 0 0 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.stage-details li {
    font-size: 14px;
    font-weight: 500;
    color: #7a6b8a;
    padding-left: 24px;
    position: relative;
    transition: color 0.3s ease;
}

.stage-block:hover .stage-details li {
    color: var(--purple-accent);
}

.stage-details li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 9px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--purple-accent);
    opacity: 0.6;
    transition: all 0.3s ease;
}

.stage-block:hover .stage-details li::before {
    opacity: 1;
    transform: scale(1.2);
}

/* ==========================================
   RESPONSIVE - 1024px
   ========================================== */
@media (max-width: 1024px) {
    .section-stages {
        padding: 80px 0;
    }

    .stages-header h2 {
        font-size: 36px;
    }

    .stage-block {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .stage-number-side,
    .stage-block:nth-child(odd) .stage-number-side,
    .stage-block:nth-child(even) .stage-number-side {
        order: -1 !important;
        min-height: 240px;
    }

    .stage-content-side,
    .stage-block:nth-child(odd) .stage-content-side,
    .stage-block:nth-child(even) .stage-content-side {
        order: 1 !important;
    }

    .stage-number span {
        font-size: 56px;
    }

    .stage-content-side {
        padding: 36px 32px 32px;
    }

    .stage-content-side h3 {
        font-size: 22px;
    }
}

/* ==========================================
   RESPONSIVE - 768px
   ========================================== */
@media (max-width: 768px) {
    .section-stages {
        padding: 60px 0;
    }

    .stages-header {
        margin-bottom: 50px;
    }

    .stages-header h2 {
        font-size: 30px;
    }

    .stages-header p {
        font-size: 16px;
    }

    .stage-block {
        border-radius: 20px;
    }

    .stage-number-side {
        min-height: 200px;
    }

    .stage-number span {
        font-size: 48px;
    }

    .stage-content-side {
        padding: 28px 24px 24px;
        gap: 14px;
    }

    .stage-content-side h3 {
        font-size: 20px;
    }

    .stage-content-side > p {
        font-size: 15px;
    }

    .stage-details li {
        font-size: 13px;
    }
}

/* ==========================================
   RESPONSIVE - 480px
   ========================================== */
@media (max-width: 480px) {
    .stages-header h2 {
        font-size: 26px;
    }

    .stage-number-side {
        min-height: 160px;
    }

    .stage-number span {
        font-size: 40px;
    }

    .stage-content-side {
        padding: 24px 20px 20px;
    }

    .stage-content-side h3 {
        font-size: 18px;
    }

    .stage-content-side > p {
        font-size: 14px;
    }

    .stage-details {
        gap: 8px;
    }

    .stage-details li {
        padding-left: 20px;
        font-size: 13px;
    }
}

/* ==========================================
   SECTION - ABOUT CENTER
   ========================================== */
.section-about {
    background: var(--white); /* Или var(--white) */
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.about-wrapper {
    display: flex;
    align-items: center;
    gap: 80px; /* Большой отступ между картинкой и текстом */
    width: 100%;
}

/* --- Left Side: Image --- */
.about-image-block {
    flex: 1;
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(123, 79, 173, 0.15);
    min-height: 450px;
}

.about-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    min-height: 450px;
}

/* Декоративный бейдж */
.about-badge {
    position: absolute;
    bottom: 32px;
    right: 32px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 16px 20px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    animation: badgeFloat 4s ease-in-out infinite;
}

.badge-icon {
    width: 40px;
    height: 40px;
    background: #f3eefa;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--purple-accent);
}

.badge-icon svg {
    width: 24px;
    height: 24px;
}

.badge-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.badge-text span {
    font-size: 11px;
    color: #7a6b8a;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge-text strong {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-dark);
}

@keyframes badgeFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

/* --- Right Side: Content --- */
.about-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.section-tag {
    display: inline-block;
    background: #f3eefa;
    color: var(--purple-accent);
    font-size: 13px;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
    width: fit-content;
}

.about-title {
    font-size: 40px;
    font-weight: 800;
    color: var(--text-dark);
    line-height: 1.2;
    letter-spacing: -0.5px;
    margin: 0;
}

.about-text {
    font-size: 16px;
    line-height: 1.6;
    color: #5a4a72;
    margin: 0;
}

.about-features {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-top: 8px;
}

.about-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
    font-weight: 500;
    color: var(--text-dark);
}

.feature-check {
    width: 24px;
    height: 24px;
    background: rgba(123, 79, 173, 0.1);
    color: var(--purple-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
    flex-shrink: 0;
}

.about-actions {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 12px;
    flex-wrap: wrap;
}

.btn-phone {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-dark);
    text-decoration: none;
    transition: color 0.3s ease;
}

.btn-phone:hover {
    color: var(--purple-accent);
}

.btn-phone .btn-phone-text {
    text-shadow: 0 1px 4px rgba(0,0,0,0.05);
}

/* ==========================================
   RESPONSIVE - 1024px BREAKPOINT
   ========================================== */
@media (max-width: 1024px) {
    .section-about {
        padding: 80px 0;
    }

    .about-wrapper {
        flex-direction: column; /* Переключаем в вертикальный вид */
        gap: 40px;
    }

    .about-image-block {
        width: 100%;
        min-height: auto;
        height: 400px; /* Фиксируем высоту на планшете */
    }

    .about-img {
        min-height: 400px;
    }

    .about-content {
        text-align: center;
        align-items: center; /* Центрируем контент */
    }
    
    .section-tag {
        margin: 0 auto;
    }

    .about-title {
        font-size: 32px;
    }

    .about-actions {
        justify-content: center;
        flex-direction: column; /* Кнопки и телефон в колонку */
        width: 100%;
    }

    .btn-phone {
        margin-top: 8px;
    }
}

@media (max-width: 768px) {
    .about-image-block {
        height: 300px;
    }
    .about-img {
        min-height: 300px;
    }

    .about-title {
        font-size: 28px;
    }

    .about-text {
        font-size: 15px;
    }

    .about-badge {
        bottom: 20px;
        right: 20px;
        padding: 12px 16px;
    }
    
    .badge-text strong {
        font-size: 14px;
    }
}


/* ==========================================
   HERO SLIDER STYLES
   ========================================== */
.hero-slider {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(80, 50, 120, 0.2), 0 4px 20px rgba(80, 50, 120, 0.1);
}

.slider-container {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    aspect-ratio: 4/3;
}

.slider-track {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
}

.slider-slide {
    min-width: 100%;
    height: 100%;
}

.slide-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Кнопки навигации */
.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: none;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    z-index: 10;
    opacity: 0;
    visibility: hidden;
}

.slider-btn svg {
    width: 24px;
    height: 24px;
    stroke: var(--text-dark);
}

.slider-btn:hover {
    background: var(--white);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 28px rgba(0, 0, 0, 0.2);
}

.slider-btn:active {
    transform: translateY(-50%) scale(0.95);
}

.hero-slider:hover .slider-btn {
    opacity: 1;
    visibility: visible;
}

.slider-prev {
    left: 20px;
}

.slider-next {
    right: 20px;
}

/* Индикаторы (точки) */
.slider-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.8);
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.dot:hover {
    background: rgba(255, 255, 255, 0.8);
    transform: scale(1.2);
}

.dot.active {
    background: var(--white);
    border-color: var(--white);
    transform: scale(1.2);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

/* Счётчик слайдов */
.slide-counter {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
    z-index: 10;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* ==========================================
   STICKY HEADER STATE
   ========================================== */
.nav.sticky {
    position: fixed !important;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: linear-gradient(180deg, rgba(42, 32, 64, 0.98) 0%, rgba(42, 32, 64, 0.95) 100%);
    backdrop-filter: blur(12px);
    padding: 12px 0 !important;
    box-shadow: 0 4px 30px rgba(80, 50, 120, 0.25);
    animation: slideDown 0.3s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Адаптация элементов внутри липкого хедера */
.nav.sticky .nav-logo img {
    height: 36px;
    transition: height 0.3s ease;
}

.nav.sticky .nav-links a {
    font-size: 13px;
    opacity: 0.95;
}

.nav.sticky .btn-cta {
    padding: 10px 20px;
    font-size: 13px;
}

/* Мобильное меню в липком состоянии */
.nav.sticky .burger span {
    background: var(--white);
}

@media (max-width: 1024px) {
    .nav.sticky .nav-logo img {
        height: 32px;
    }
    
    .nav.sticky .btn-cta {
        padding: 8px 16px;
        font-size: 12px;
    }
}

@media (max-width: 768px) {
    .nav.sticky {
        padding: 10px 0 !important;
    }
    
    .nav.sticky .nav-logo img {
        height: 28px;
    }
}

/* ==========================================
   RESPONSIVE SLIDER
   ========================================== */
@media (max-width: 1024px) {
    .slider-btn {
        width: 42px;
        height: 42px;
    }
    
    .slider-btn svg {
        width: 20px;
        height: 20px;
    }
    
    .slider-prev {
        left: 15px;
    }
    
    .slider-next {
        right: 15px;
    }
    
    .hero-slider:hover .slider-btn {
        opacity: 1;
        visibility: visible;
    }
}

@media (max-width: 768px) {
    .slider-container {
        aspect-ratio: 16/10;
    }
    
    .slider-btn {
        width: 38px;
        height: 38px;
        opacity: 1;
        visibility: visible;
        background: rgba(255, 255, 255, 0.9);
    }
    
    .slider-btn svg {
        width: 18px;
        height: 18px;
    }
    
    .slider-prev {
        left: 12px;
    }
    
    .slider-next {
        right: 12px;
    }
    
    .slider-dots {
        bottom: 15px;
        gap: 8px;
    }
    
    .dot {
        width: 8px;
        height: 8px;
    }
    
    .slide-counter {
        top: 15px;
        right: 15px;
        padding: 6px 12px;
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .slider-container {
        aspect-ratio: 4/3;
        border-radius: 20px;
    }
    
    .slider-btn {
        width: 34px;
        height: 34px;
    }
    
    .slider-btn svg {
        width: 16px;
        height: 16px;
    }
    
    .slider-dots {
        bottom: 12px;
    }
    
    .dot {
        width: 7px;
        height: 7px;
    }
}

/* ==========================================
   SECTION 6 — 3 STEPS (ШАГИ)
   ========================================== */
.section-steps {
    background: var(--white);
    padding: 100px 0 90px;
    position: relative;
}

.steps-header {
    text-align: center;
    margin-bottom: 56px;
}

.steps-header h2 {
    font-size: 44px;
    font-weight: 800;
    color: #2e2545;
    line-height: 1.18;
    letter-spacing: -0.5px;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.step-card {
    background: #f2edf9;
    border-radius: 28px;
    padding: 32px 28px 28px;
    display: flex;
    flex-direction: column;
    gap: 18px;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
    position: relative;
}

.step-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 48px rgba(100, 65, 150, 0.12);
}

.step-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 4px;
}

.step-number {
    background: linear-gradient(135deg, #b89eff 0%, #7c3aed 100%);
    color: var(--white);
    font-size: 18px;
    font-weight: 700;
    padding: 10px 22px;
    border-radius: 50px;
    min-width: 76px;
    text-align: center;
    box-shadow: 0 6px 16px rgba(124, 58, 237, 0.35);
    flex-shrink: 0;
}

.step-header h3 {
    font-size: 20px;
    font-weight: 700;
    color: #2e2545;
    line-height: 1.25;
    margin: 0;
    flex: 1;
}

.step-content p {
    font-size: 15px;
    font-weight: 400;
    color: #4a3f6b;
    line-height: 1.65;
    margin: 0;
}

.step-result {
    background: #e2d8f4;
    border-radius: 18px;
    padding: 18px 20px;
    margin-top: 8px;
}

.step-result p {
    font-size: 15px;
    font-weight: 500;
    color: #3a2d5c;
    line-height: 1.55;
    margin: 0;
}

.steps-cta {
    text-align: center;
    margin-top: 56px;
}

.steps-cta .btn-cta {
    min-width: 280px;
    justify-content: center;
    font-size: 17px;
    padding: 18px 48px;
}

/* Responsive for steps section */
@media (max-width: 1024px) {
    .steps-header h2 {
        font-size: 36px;
    }
    .step-card {
        padding: 28px 24px 24px;
    }
    .step-header h3 {
        font-size: 18px;
    }
    .step-number {
        font-size: 16px;
        padding: 8px 18px;
        min-width: 64px;
    }
}

@media (max-width: 768px) {
    .section-steps {
        padding: 60px 0 56px;
    }
    .steps-header {
        margin-bottom: 36px;
    }
    .steps-header h2 {
        font-size: 28px;
        line-height: 1.25;
    }
    .steps-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .step-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    .step-number {
        min-width: auto;
    }
    .steps-cta {
        margin-top: 40px;
    }
    .steps-cta .btn-cta {
        width: 100%;
        min-width: auto;
    }
}

@media (max-width: 480px) {
    .steps-header h2 {
        font-size: 24px;
    }
    .step-card {
        border-radius: 20px;
        padding: 24px 20px 20px;
    }
    .step-result {
        border-radius: 14px;
        padding: 14px 16px;
    }
    .step-result p, .step-content p {
        font-size: 14px;
    }
    .steps-cta .btn-cta {
        font-size: 15px;
        padding: 16px 32px;
    }
}

        /* ==========================================
           RESPONSIVE
           ========================================== */
        @media (max-width: 1200px) {
            .states-header h2,
            .benefits-header h2 {
                font-size: 34px;
            }

            .state-card {
                padding: 32px 24px 28px;
            }

            .state-card-icon {
                width: 68px;
                height: 68px;
            }

            .benefit-card {
                padding: 30px 26px 26px;
            }
        }

        @media (max-width: 1024px) {
            .container {
                padding: 0 32px;
            }

            .nav-logo img {
                height: 36px;
            }

            .nav-links {
                gap: 20px;
            }

            .nav-links a {
                font-size: 13px;
            }

            .hero-content {
                padding: 0 0 48px;
            }

            .hero-grid {
                gap: 36px;
            }

            .hero-text h1 {
                font-size: 34px;
            }

            .hero-text h2 {
                font-size: 19px;
            }

            .btn-cta {
                font-size: 13px;
                padding: 10px 20px;
            }

            .btn-cta-large {
                font-size: 15px;
                padding: 14px 30px;
            }

            .section-states,
            .section-benefits {
                padding: 80px 0 72px;
            }

            .states-header,
            .benefits-header {
                margin-bottom: 20px;
            }

            .states-header h2,
            .benefits-header h2 {
                font-size: 30px;
            }

            .benefits-subtitle {
                margin-bottom: 44px;
            }

            .benefits-subtitle p {
                font-size: 16px;
            }

            .states-grid {
                gap: 24px;
            }

            .benefits-grid {
                gap: 22px;
            }
        }

        @media (max-width: 768px) {
            .container {
                padding: 0 20px;
            }

            .nav-links,
            .nav .btn-cta {
                display: none;
            }

            .burger {
                display: flex;
            }

            .hero-grid {
                grid-template-columns: 1fr;
                gap: 32px;
            }

            .hero-text {
                order: 1;
            }

            .hero-image-card {
                order: 2;
                aspect-ratio: 16 / 10;
            }

            .hero-text h1 {
                font-size: 28px;
                line-height: 1.2;
            }

            .hero-text h2 {
                font-size: 17px;
                line-height: 1.4;
            }

            .hero-actions {
                flex-direction: column;
                align-items: flex-start;
                gap: 16px;
            }

            .btn-cta-large,
            .btn-cta-xlarge {
                width: 100%;
                justify-content: center;
                text-align: center;
            }

            .phone-number {
                font-size: 18px;
            }

            .phone-icon {
                width: 38px;
                height: 38px;
            }

            .phone-icon img {
                width: 24px;
                height: 24px;
            }

            /* Section 2 mobile */
            .section-states {
                padding: 60px 0 56px;
            }

            .states-header {
                margin-bottom: 36px;
            }

            .states-header h2 {
                font-size: 24px;
            }

            .states-grid {
                grid-template-columns: 1fr;
                gap: 20px;
            }

            .state-card {
                padding: 28px 24px 24px;
                flex-direction: row;
                text-align: left;
                align-items: flex-start;
                gap: 20px;
            }

            .state-card-icon {
                width: 60px;
                height: 60px;
            }

            .state-card-body h3 {
                font-size: 17px;
            }

            .state-card-body ul li {
                font-size: 14px;
            }

            .states-bottom p {
                font-size: 14px;
            }

            /* Section 3 mobile */
            .section-benefits {
                padding: 60px 0 56px;
            }

            .benefits-header {
                margin-bottom: 16px;
            }

            .benefits-header h2 {
                font-size: 24px;
            }

            .benefits-subtitle {
                margin-bottom: 36px;
            }

            .benefits-subtitle p {
                font-size: 15px;
            }

            .benefits-grid {
                grid-template-columns: 1fr;
                gap: 18px;
            }

            .benefit-card {
                padding: 24px 20px 20px;
                gap: 18px;
            }

            .benefit-card-icon {
                width: 60px;
                height: 60px;
                border-radius: 16px;
            }

            .benefit-card-icon svg {
                width: 30px;
                height: 30px;
            }

            .benefit-card-content h3 {
                font-size: 17px;
            }

            .benefit-card-content p {
                font-size: 14px;
            }
        }

        @media (max-width: 480px) {
            .nav-logo img {
                height: 30px;
            }

            .hero-text h1 {
                font-size: 24px;
            }

            .hero-text h2 {
                font-size: 15px;
            }

            .hero-image-card {
                border-radius: 20px;
            }

            .states-header h2,
            .benefits-header h2 {
                font-size: 22px;
            }

            .state-card {
                border-radius: 18px;
                padding: 20px 18px;
                gap: 16px;
            }

            .state-card-icon {
                width: 50px;
                height: 50px;
            }

            .state-card-body h3 {
                font-size: 15px;
            }

            .btn-cta-xlarge {
                font-size: 15px;
                padding: 16px 32px;
            }

            .benefit-card {
                border-radius: 18px;
                padding: 20px 16px;
                gap: 14px;
            }

            .benefit-card-icon {
                width: 52px;
                height: 52px;
                border-radius: 14px;
            }

            .benefit-card-icon svg {
                width: 26px;
                height: 26px;
            }

            .benefit-card-content h3 {
                font-size: 16px;
            }

            .benefit-card-content p {
                font-size: 13px;
            }
        }


        /* ==========================================
   HEADER CONTACTS & LAYOUT
   ========================================== */
.nav-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.nav-contact-desktop {
    display: flex;
    align-items: center;
    gap: 20px;
}

.nav-contact-desktop div{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 10px;

}
.nav-location,
.nav-phone {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--white);
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    opacity: 0.9;
    transition: opacity 0.3s ease, transform 0.3s ease;
    text-shadow: 0 1px 8px rgba(60, 30, 100, 0.4), 0 0 20px rgba(180, 155, 210, 0.6);
}
.nav-phone {
    font-size: 20px;
}

.nav-location:hover,
.nav-phone:hover {
    opacity: 1;
    transform: translateY(-1px);
}

.nav-icon {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    stroke: currentColor;
}

/* Мобильный блок контактов */
.mobile-contact {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    width: 100%;
}

.mobile-contact .nav-location,
.mobile-contact .nav-phone {
    font-size: 16px;
    color: var(--white);
    text-shadow: 0 1px 6px rgba(60, 30, 100, 0.3);
}

.mobile-close {
    margin-top: 20px;
    color: rgba(255, 255, 255, 0.6);
    text-decoration: underline;
    font-size: 14px;
    transition: color 0.3s;
}

.mobile-close:hover {
    color: var(--white);
}

/* Адаптация для sticky-состояния */
.nav.sticky .nav-contact-desktop {
    gap: 16px;
}

.nav.sticky .nav-location,
.nav.sticky {
    font-size: 12px;
}

/* ==========================================
   RESPONSIVE BREAKPOINTS
   ========================================== */
@media (max-width: 1200px) {
    .nav-wrapper {
        gap: 16px;
    }
    .nav-contact-desktop {
        gap: 14px;
    }
    .nav-location,
    .nav-phone {
        font-size: 12px;
    }
}

@media (min-width: 1024px) {
.mob-toggle-inverse {
    display: none !important;
}
}
@media (max-width: 1024px) {
    .nav-contact-desktop {
        /* Скрываем десктопные контакты */
        /* display: none;  */
    }
    .mob-toggle {
        display: none !important; /* Скрываем десктопные контакты */
    }
    .nav-wrapper {
        gap: 12px;
    }
    .nav-logo img {
        height: 36px;
    }
}

@media (max-width: 768px) {
    .nav-wrapper {
        gap: 8px;
    }
    .nav-logo img {
        height: 32px;
    }
    .nav-links {
        display: none;
    }
    .nav-cta {
        display: none; /* CTA перенесён в мобильное меню */
    }
}

@media (max-width: 480px) {
    .mobile-contact .nav-location,
    .mobile-contact .nav-phone {
        font-size: 15px;
    }
    .nav-logo img {
        height: 28px;
    }
}


/* ==========================================
   SECTION - SPECIALISTS (FIXED OVERLAP)
   ========================================== */
.section-specialists {
    background: linear-gradient(180deg, #ffffff 0%, #f8f5fc 100%);
    /* Увеличиваем верхний отступ, чтобы аватару было где "дышать" */
    padding: 140px 0 120px; 
    position: relative;
    overflow: visible; /* Разрешаем элементам выходить за границы */
}

.specialists-header {
    text-align: center;
    /* Критически важно: увеличиваем отступ снизу, чтобы заголовок не перекрывал аватар */
    margin-bottom: 100px; 
    position: relative;
    z-index: 1; /* Заголовок ниже аватара, если что-то перекрывается */
}

.specialists-header h2 {
    font-size: 42px;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.specialists-header p {
    font-size: 18px;
    color: #7a6b8a;
    max-width: 550px;
    margin: 0 auto;
}

/* Slider Layout */
.specialists-slider-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 100px;
    overflow: visible; /* Убираем обрезку краев */
    z-index: 2;
}

.specialists-slider {
    width: 100%;
    overflow: visible; /* Позволяем аватару выходить за границы слайдера */
    border-radius: 28px;
    position: relative;
}

.spec-track {
    display: flex;
    gap: 32px;
    will-change: transform;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 40px 0;
}

/* Slides */
.spec-slide {
    flex: 0 0 calc((100% - 64px) / 3);
    max-width: calc((100% - 64px) / 3);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0.4;
    transform: scale(0.88);
    filter: blur(1px) brightness(0.85);
    cursor: pointer;
    user-select: none;
    position: relative; /* Для позиционирования аватара */
}

.spec-slide.active {
    opacity: 1;
    transform: scale(1);
    filter: blur(0) brightness(1);
    z-index: 10; /* Активная карточка всегда сверху */
}

.spec-slide.adjacent {
    opacity: 0.7;
    transform: scale(0.94);
    filter: blur(0.5px) brightness(0.92);
    z-index: 5;
}

/* Card Design */
.spec-card {
    background: var(--white);
    border-radius: 28px;
    /* Отступ сверху = половина высоты аватара + зазор */
    padding: 130px 28px 36px; 
    text-align: center;
    position: relative;
    box-shadow: 0 10px 30px rgba(120, 85, 170, 0.12);
    transition: box-shadow 0.4s ease, transform 0.4s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.spec-slide.active .spec-card {
    box-shadow: 0 20px 60px rgba(120, 85, 170, 0.25);
    transform: translateY(-8px);
}

/* PHOTO 200x200 */
.spec-avatar {
    width: 200px;       /* 200px */
    height: 200px;      /* 200px */
    border-radius: 50%;
    object-fit: cover;
    border: 6px solid var(--white);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
    position: absolute;
    top: -100px;        /* Подъем ровно на половину высоты */
    left: 50%;
    transform: translateX(-50%);
    background: #f3eefa;
    transition: transform 0.4s ease;
    z-index: 20; /* Аватар должен быть выше всего */
}

.spec-slide.active .spec-avatar {
    transform: translateX(-50%) scale(1.03);
}

.spec-info {
    margin-top: 12px;
    width: 100%;
}

.spec-info h4 {
    font-size: 21px;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0 0 8px 0;
    line-height: 1.3;
}

.spec-info span {
    font-size: 15px;
    font-weight: 500;
    color: #8b7aa8;
    display: block;
    line-height: 1.4;
}

/* Navigation Buttons */
.slider-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: var(--white);
    border: 2px solid rgba(123, 79, 173, 0.25);
    color: var(--purple-accent);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.35s ease;
    box-shadow: 0 8px 28px rgba(120, 85, 170, 0.18);
    z-index: 30;
}

.slider-nav-btn svg {
    width: 30px;
    height: 30px;
    transition: transform 0.3s ease;
}

.slider-nav-btn:hover {
    background: var(--purple-accent);
    color: var(--white);
    border-color: var(--purple-accent);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 12px 36px rgba(123, 79, 173, 0.35);
}

.slider-nav-btn:hover svg {
    transform: scale(1.15);
}

.slider-nav-btn:active {
    transform: translateY(-50%) scale(0.96);
}

.slider-nav-btn:disabled,
.slider-nav-btn.inactive {
    opacity: 0.3;
    pointer-events: none;
    cursor: default;
}

.prev-btn { left: 10px; }
.next-btn { right: 10px; }

/* ==========================================
   RESPONSIVE
   ========================================== */
@media (max-width: 1200px) {
    .spec-avatar {
        width: 170px;
        height: 170px;
        top: -85px;
    }
    .spec-card {
        padding: 105px 24px 32px;
    }
    .specialists-header {
        margin-bottom: 90px; /* Чуть уменьшаем для средних экранов */
    }
}

@media (max-width: 1024px) {
    .section-specialists {
        padding: 100px 0 90px;
    }
    .specialists-slider-wrapper {
        padding: 0 70px;
    }
    .spec-avatar {
        width: 150px;
        height: 150px;
        top: -75px;
    }
    .spec-card {
        padding: 95px 20px 28px;
    }
    .specialists-header {
        margin-bottom: 85px;
    }
    .slider-nav-btn {
        width: 60px;
        height: 60px;
    }
    .slider-nav-btn svg {
        width: 26px;
        height: 26px;
    }
}

/* ==========================================
   MOBILE FIX FOR SPECIALISTS SLIDER (CSS ONLY)
   ========================================== */
@media (max-width: 768px) {
    /* Фиксируем ширину обёртки и скрываем переполнение */
    .specialists-slider-wrapper {
        overflow: hidden; /* Ключевое свойство — обрезает всё, что вылезает */
        padding: 0 24px;
        position: relative;
    }

    /* Трек должен быть гибким, но не растягиваться за пределы экрана */
    .spec-track {
        display: flex;
        gap: 20px;
        width: 100%; /* Явно указываем ширину */
        max-width: 100vw; /* Не больше ширины viewport */
        box-sizing: border-box;
    }

    /* Каждый слайд занимает ровно 100% доступной ширины */
    .spec-slide {
        flex: 0 0 calc(100% - 48px); /* Учитываем padding родителя (24px * 2) */
        max-width: calc(100% - 48px);
        min-width: calc(100% - 48px); /* Запрещаем сжиматься/растягиваться */
        transition: opacity 0.4s ease, transform 0.4s ease;
    }

    /* Скрываем неактивные слайды полностью — они не занимают место */
    .spec-slide:not(.active) {
        display: none !important;
    }

    /* Активный слайд виден и центрирован */
    .spec-slide.active {
        display: block !important;
        opacity: 1;
        transform: scale(1);
        z-index: 10;
    }

    /* Adjacent-слайды на мобильных не нужны — скрываем их */
    .spec-slide.adjacent {
        display: none !important;
    }

    /* Адаптация внутренних элементов под мобильный размер */
    .spec-avatar {
        width: 130px;
        height: 130px;
        top: -30px; /* Было -65px → теперь -40px: опускаем аватар вниз */
        left: 50%;
        transform: translateX(-50%);
        border-width: 5px;
        z-index: 20;
    }

    .spec-card {
        padding-top: 90px; /* Увеличиваем верхний отступ, чтобы освободить место под аватар */
        border-radius: 24px;
    }

    .slider-nav-btn {
        width: 48px;
        height: 48px;
    }

    .slider-nav-btn svg {
        width: 20px;
        height: 20px;
    }

    .prev-btn { left: 0; }
    .next-btn { right: 0; }
    .spec-info {
        margin-top: 20px; /* Небольшой отступ после аватара */
    }
    .spec-info h4 {
               font-size: 18px;
        line-height: 1.3;
    }

    .spec-info span {
         font-size: 14px;
        line-height: 1.4;
    }
}

@media (max-width: 480px) {

    .specialists-slider-wrapper {
        padding: 0 24px;
    }
    .specialists-header {
        margin-bottom: 60px;
    }
    .spec-avatar {
        width: 110px;
        height: 110px;
        top: -30px;
    }
    .spec-card {
        padding: 90px 16px 20px;
    }
}

/* ==========================================
   FOOTER STYLES
   ========================================== */
.footer {
    background-color: #2e2545; /* Тёмно-фиолетовый фон */
    color: rgba(255, 255, 255, 0.85);
    padding: 80px 0 40px;
    font-size: 15px;
    line-height: 1.5;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr; /* 4 колонки */
    gap: 40px;
    margin-bottom: 60px;
}

/* Logo & Brand */
.footer-logo-link {
    display: inline-block;
    margin-bottom: 20px;
    line-height: 0;
}

.footer-logo {
    height: 48px; /* Чуть больше, чем в хедере */
    width: auto;
    object-fit: contain;
}

.footer-desc {
    font-size: 14px;
    opacity: 0.7;
    max-width: 300px;
    margin: 0;
}

.footer-desc strong {
    color: var(--yellow);
    font-weight: 600;
}

/* Titles */
.footer-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--white);
    margin: 0 0 24px 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    padding-bottom: 12px;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--yellow);
    border-radius: 2px;
}

/* Links List */
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-links a:hover {
    color: var(--yellow);
    transform: translateX(4px);
}

/* Contacts */
.footer-phone {
    display: block;
    font-size: 20px;
    font-weight: 700;
    color: var(--white);
    text-decoration: none;
    margin-bottom: 16px;
    transition: color 0.3s ease;
}

.footer-phone:hover {
    color: var(--yellow);
}

.footer-address {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    opacity: 0.8;
    font-size: 14px;
}

.footer-address svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    margin-top: 3px;
    color: var(--yellow);
}

/* Legal Text */
.legal-text {
    font-size: 12px;
    line-height: 1.6;
    opacity: 0.6;
    margin: 0 0 12px 0;
}

.legal-text strong {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
}

/* Bottom Bar */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.disclaimer {
    font-size: 13px;
    color: #ff9e9e; /* Легкий красный оттенок для внимания */
    font-weight: 600;
    margin: 0;
}

.copyright {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.4);
    margin: 0;
}

/* ==========================================
   RESPONSIVE FOOTER
   ========================================== */
@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr; /* 2 колонки */
        gap: 40px;
    }
    .footer-brand {
        grid-column: 1 / -1; /* Бренд на всю ширину сверху */
        text-align: center;
        margin-bottom: 20px;
    }
    .footer-desc {
        margin: 0 auto;
    }
    .footer-title::after {
        left: 50%;
        transform: translateX(-50%);
    }
    .footer-links {
        align-items: center;
    }
    .footer-contacts, .footer-legal {
        text-align: center;
    }
    .footer-address {
        justify-content: center;
    }
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .footer {
        padding: 60px 0 30px;
    }
    .footer-grid {
        grid-template-columns: 1fr; /* 1 колонка */
        gap: 40px;
    }
    .footer-brand {
        text-align: center;
    }
    .footer-title {
        margin-bottom: 16px;
    }
    .footer-links {
        align-items: center;
        gap: 16px;
    }
    .footer-phone {
        font-size: 18px;
    }
    .footer-address {
        justify-content: center;
    }
}


/* ==========================================
   SECTION - LICENSE (ЛИЦЕНЗИЯ)
   ========================================== */
.section-license {
    background: linear-gradient(135deg, #f8f5fc 0%, #ede7f6 50%, #f3eefa 100%);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

/* Декоративные элементы на фоне */
.section-license::before,
.section-license::after {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(123, 79, 173, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.section-license::before {
    top: -150px;
    left: -150px;
}

.section-license::after {
    bottom: -150px;
    right: -150px;
}

.license-header {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
    z-index: 1;
}

.license-header h2 {
    font-size: 40px;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 16px;
    line-height: 1.2;
}

.license-header p {
    font-size: 18px;
    color: #7a6b8a;
    max-width: 600px;
    margin: 0 auto;
}

.license-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin-bottom: 50px;
    position: relative;
    z-index: 1;
}

.license-card {
    background: var(--white);
    border-radius: 24px;
    padding: 32px;
    box-shadow: 0 12px 40px rgba(120, 85, 170, 0.15);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    position: relative;
}

.license-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(120, 85, 170, 0.25);
}

.license-image-wrapper {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    background: #f8f5fc;
    aspect-ratio: 3/4;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(123, 79, 173, 0.1);
}

.license-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.4s ease;
}

.license-card:hover .license-img {
    transform: scale(1.02);
}

.license-label {
    text-align: center;
    margin-top: 20px;
    font-size: 14px;
    font-weight: 600;
    color: #7a6b8a;
    padding: 8px 16px;
    background: rgba(123, 79, 173, 0.08);
    border-radius: 20px;
    display: inline-block;
    width: 100%;
}

.license-info {
    text-align: center;
    position: relative;
    z-index: 1;
}

.license-badge {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, rgba(123, 79, 173, 0.12) 0%, rgba(123, 79, 173, 0.08) 100%);
    padding: 16px 32px;
    border-radius: 50px;
    border: 2px solid rgba(123, 79, 173, 0.2);
    box-shadow: 0 4px 20px rgba(123, 79, 173, 0.1);
}

.license-badge svg {
    width: 24px;
    height: 24px;
    color: #4caf50;
    flex-shrink: 0;
}

.license-badge span {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-dark);
}

/* ==========================================
   RESPONSIVE - LICENSE SECTION
   ========================================== */
@media (max-width: 1024px) {
    .section-license {
        padding: 80px 0;
    }
    .license-header h2 {
        font-size: 34px;
    }
    .license-grid {
        gap: 30px;
    }
    .license-card {
        padding: 24px;
    }
}

@media (max-width: 768px) {
    .section-license {
        padding: 60px 0;
    }
    .license-header {
        margin-bottom: 40px;
    }
    .license-header h2 {
        font-size: 28px;
    }
    .license-header p {
        font-size: 15px;
    }
    .license-grid {
        grid-template-columns: 1fr; /* Одна колонка на мобильных */
        gap: 24px;
    }
    .license-card {
        padding: 20px;
    }
    .license-badge {
        flex-direction: column;
        gap: 8px;
        padding: 14px 24px;
    }
    .license-badge svg {
        width: 28px;
        height: 28px;
    }
    .license-badge span {
        font-size: 14px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .license-header h2 {
        font-size: 24px;
    }
    .license-image-wrapper {
        aspect-ratio: 3/4;
    }
}

/* ==========================================
   SECTION - FAQ (ВОПРОС-ОТВЕТ)
   ========================================== */
.section-faq {
    background: var(--white);
    padding: 100px 0;
    position: relative;
}

.faq-header {
    text-align: center;
    margin-bottom: 60px;
}

.faq-header h2 {
    font-size: 40px;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 16px;
    line-height: 1.2;
}

.faq-header p {
    font-size: 18px;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

.faq-accordion {
    max-width: 900px;
    margin: 0 auto 48px;
}

.faq-item {
    border-bottom: 1px solid var(--purple-card-border);
    margin-bottom: 8px;
}

.faq-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 24px 20px;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    font-family: inherit;
    font-size: 17px;
    font-weight: 600;
    color: var(--text-dark);
    transition: color var(--transition-fast);
    border-radius: 12px;
}

.faq-question:hover {
    color: var(--purple-accent);
    background: rgba(123, 79, 173, 0.05);
}

.faq-question[aria-expanded="true"] {
    color: var(--purple-accent);
    background: rgba(123, 79, 173, 0.08);
}

.faq-question-text {
    flex: 1;
    padding-right: 8px;
}

.faq-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--purple-accent);
    transition: transform var(--transition-fast);
}

.faq-question[aria-expanded="true"] .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-smooth), opacity var(--transition-fast);
    opacity: 0;
}

.faq-answer[aria-hidden="false"] {
    max-height: 500px;
    opacity: 1;
}

.faq-answer-content {
    padding: 0 20px 24px 20px;
    color: var(--text-gray);
    font-size: 15px;
    line-height: 1.7;
}

.faq-answer-content p {
    margin: 0;
    color: #000;
}

.faq-cta {
    text-align: center;
    margin-top: 40px;
}

.faq-cta p {
    font-size: 16px;
    color: var(--text-gray);
    margin-bottom: 20px;
}

.faq-cta .btn-cta {
    min-width: 280px;
    justify-content: center;
}

/* ==========================================
   RESPONSIVE - FAQ
   ========================================== */
@media (max-width: 1024px) {
    .section-faq {
        padding: 80px 0;
    }
    
    .faq-header h2 {
        font-size: 34px;
    }
    
    .faq-question {
        font-size: 16px;
        padding: 20px 16px;
    }
    
    .faq-answer-content {
        padding: 0 16px 20px 16px;
        font-size: 14px;
    }
}

@media (max-width: 768px) {
    .section-faq {
        padding: 60px 0;
    }
    
    .faq-header {
        margin-bottom: 40px;
    }
    
    .faq-header h2 {
        font-size: 28px;
    }
    
    .faq-header p {
        font-size: 15px;
    }
    
    .faq-question {
        font-size: 15px;
        padding: 18px 12px;
        gap: 12px;
    }
    
    .faq-icon {
        width: 20px;
        height: 20px;
    }
    
    .faq-answer-content {
        padding: 0 12px 18px 12px;
        font-size: 14px;
        line-height: 1.65;
    }
    
    .faq-cta .btn-cta {
        width: 100%;
        min-width: auto;
    }
}

@media (max-width: 480px) {
    .faq-header h2 {
        font-size: 24px;
    }
    
    .faq-question {
        font-size: 14px;
        padding: 16px 10px;
    }
    
    .faq-answer-content {
        font-size: 13px;
        padding: 0 10px 16px 10px;
    }
}


/* ==========================================
   SECTION - REVIEWS (ИСТОРИИ ВЫЗДОРОВЛЕНИЯ)
   ========================================== */
.section-reviews {
    background: linear-gradient(180deg, #f8f5fc 0%, #ffffff 100%);
    padding: 100px 0;
    position: relative;
}

.reviews-header {
    text-align: center;
    margin-bottom: 70px;
}

.reviews-header h2 {
    font-size: 40px;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 16px;
    line-height: 1.2;
}

.reviews-header p {
    font-size: 18px;
    color: var(--text-dark);
    max-width: 600px;
    margin: 0 auto;
}

.reviews-list {
    display: flex;
    flex-direction: column;
    gap: 60px;
    margin-bottom: 60px;
}

.review-card {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 48px;
    background: var(--white);
    border-radius: var(--border-radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-md);
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.review-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

.review-card.reverse {
    grid-template-columns: 1.2fr 1fr;
    direction: rtl;
}

.review-card.reverse > * {
    direction: ltr;
}

.review-images {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    align-items: start;
}

.review-image-wrapper {
    position: relative;
    border-radius: var(--border-radius-md);
    overflow: hidden;
    aspect-ratio: 4/5;
    box-shadow: var(--shadow-sm);
}

.review-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform var(--transition-smooth);
}

.review-card:hover .review-img {
    transform: scale(1.05);
}

.review-badge {
    position: absolute;
    bottom: 16px;
    left: 16px;
    background: rgba(123, 79, 173, 0.95);
    color: var(--white);
    font-size: 13px;
    font-weight: 700;
    padding: 8px 16px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.review-badge.after {
    background: rgba(76, 175, 80, 0.95);
}

.review-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.review-meta {
    padding-bottom: 16px;
    border-bottom: 2px solid var(--purple-section);
}

.review-meta h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 6px;
}

.review-period {
    font-size: 14px;
    font-weight: 500;
    color: var(--purple-accent);
    background: rgba(123, 79, 173, 0.1);
    padding: 4px 12px;
    border-radius: 12px;
    display: inline-block;
}

.review-text {
    flex: 1;
}

.review-text p {
    font-size: 15px;
    line-height: 1.75;
    color: #000;
    margin-bottom: 16px;
}

.review-text p:last-child {
    margin-bottom: 0;
}

.review-rating {
    display: flex;
    gap: 4px;
    padding-top: 16px;
    border-top: 1px solid var(--purple-card-border);
}

.star {
    color: var(--yellow);
    font-size: 20px;
    text-shadow: 0 2px 4px rgba(245, 197, 24, 0.3);
}

.reviews-cta {
    text-align: center;
    margin-top: 40px;
}

.reviews-cta p {
    font-size: 16px;
    color: var(--text-gray);
    margin-bottom: 20px;
}

.reviews-cta .btn-outline {
    min-width: 260px;
    justify-content: center;
}

/* ==========================================
   RESPONSIVE - REVIEWS
   ========================================== */
@media (max-width: 1024px) {
    .section-reviews {
        padding: 80px 0;
    }
    
    .review-card {
        grid-template-columns: 1fr;
        gap: 32px;
        padding: 32px;
    }
    
    .review-card.reverse {
        grid-template-columns: 1fr;
        direction: ltr;
    }
    
    .review-images {
        max-width: 500px;
        margin: 0 auto;
    }
    
    .reviews-header h2 {
        font-size: 34px;
    }
}

@media (max-width: 768px) {
    .section-reviews {
        padding: 60px 0;
    }
    
    .reviews-header {
        margin-bottom: 50px;
    }
    
    .reviews-header h2 {
        font-size: 28px;
    }
    
    .reviews-header p {
        font-size: 15px;
    }
    
    .review-card {
        padding: 24px;
        gap: 24px;
    }
    
    .review-images {
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }
    
    .review-image-wrapper {
        aspect-ratio: 3/4;
    }
    
    .review-badge {
        font-size: 11px;
        padding: 6px 12px;
        bottom: 12px;
        left: 12px;
    }
    
    .review-meta h3 {
        font-size: 20px;
    }
    
    .review-text p {
        font-size: 14px;
        line-height: 1.65;
    }
    
    .star {
        font-size: 18px;
    }
    
    .reviews-cta .btn-outline {
        width: 100%;
        min-width: auto;
    }
}

@media (max-width: 480px) {
    .reviews-header h2 {
        font-size: 24px;
    }
    
    .review-card {
        padding: 20px;
        border-radius: var(--border-radius-md);
    }
    
    .review-images {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .review-image-wrapper {
        aspect-ratio: 4/5;
    }
    
    .review-badge {
        font-size: 10px;
        padding: 4px 10px;
    }
    
    .review-meta h3 {
        font-size: 18px;
    }
    
    .review-period {
        font-size: 13px;
    }
    
    .review-text p {
        font-size: 13px;
    }
    
    .star {
        font-size: 16px;
    }
}


/* ==========================================
   LIGHTBOX & ZOOM EFFECT
   ========================================== */

/* Индикатор зума при наведении */
.review-image-trigger {
    cursor: zoom-in;
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
}

.zoom-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.8);
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
    pointer-events: none;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.zoom-icon svg {
    width: 20px;
    height: 20px;
    stroke: var(--purple-accent);
}

.review-image-wrapper:hover .zoom-icon {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

/* Сам Лайтбокс (на весь экран) */
.lightbox-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(20, 10, 35, 0.95); /* Тёмный фон */
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    backdrop-filter: blur(5px);
}

.lightbox-overlay.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-overlay img {
    max-width: 90%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
    transform: scale(0.9);
    transition: transform 0.3s ease;
    cursor: zoom-out;
}

.lightbox-overlay.active img {
    transform: scale(1);
}

/* Кнопка закрытия */
.lightbox-close {
    position: absolute;
    top: 30px;
    right: 30px;
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}

.lightbox-close svg {
    width: 28px;
    height: 28px;
    stroke: var(--white);
}

.lightbox-close:hover {
    background: rgba(255, 255, 255, 0.25);
}


/* ==========================================
   MODAL POP-UP STYLES
   ========================================== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(30, 20, 50, 0.6); /* Тёмный полупрозрачный фон */
    backdrop-filter: blur(8px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: var(--white);
    width: 100%;
    max-width: 440px;
    padding: 40px;
    border-radius: var(--border-radius-lg);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    position: relative;
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.modal-overlay.active .modal-content {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 36px;
    height: 36px;
    background: var(--purple-section);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background var(--transition-fast);
}

.modal-close svg {
    width: 20px;
    height: 20px;
    stroke: var(--purple-accent);
}

.modal-close:hover {
    background: rgba(123, 79, 173, 0.2);
}

.modal-header {
    text-align: center;
    margin-bottom: 32px;
}

.modal-header h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.modal-header p {
    font-size: 15px;
    color: var(--text-dark);
    line-height: 1.5;
}

.modal-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-input {
    width: 100%;
    padding: 16px 20px;
    border: 2px solid var(--purple-card-border);
    border-radius: 14px;
    font-family: inherit;
    font-size: 15px;
    color: var(--text-dark);
    background: #fcf9ff;
    transition: all var(--transition-fast);
    outline: none;
}

.form-input:focus {
    border-color: var(--purple-accent);
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(123, 79, 173, 0.1);
}

.form-input::placeholder {
    color: #b8a8e0;
}

/* Custom Checkbox */
.form-checkbox-group {
    margin-bottom: 8px;
}

.custom-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    font-size: 13px;
    line-height: 1.4;
    color: var(--text-dark);
}

.custom-checkbox input {
    display: none; /* Скрываем стандартный чекбокс */
}

.checkmark {
    width: 20px;
    height: 20px;
    min-width: 20px;
    border: 2px solid var(--purple-card-border);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
    margin-top: 1px;
}

.checkmark::after {
    content: '';
    width: 6px;
    height: 10px;
    border: solid var(--white);
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
    opacity: 0;
    transition: opacity var(--transition-fast);
}

.custom-checkbox input:checked ~ .checkmark {
    background: var(--purple-accent);
    border-color: var(--purple-accent);
}

.custom-checkbox input:checked ~ .checkmark::after {
    opacity: 1;
}

.privacy-link {
    color: var(--purple-accent);
    text-decoration: underline;
    transition: color var(--transition-fast);
}

.privacy-link:hover {
    color: #5a3591;
}

/* Submit Button */
.modal-submit-btn {
    width: 100%;
    padding: 18px;
    background: var(--yellow);
    color: var(--text-dark);
    font-family: inherit;
    font-size: 16px;
    font-weight: 700;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px var(--yellow-shadow);
}

.modal-submit-btn:hover:not(:disabled) {
    background: var(--yellow-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 28px var(--yellow-shadow);
}

/* Disabled State */
.modal-submit-btn:disabled {
    background: #e2e2e2;
    color: #999;
    cursor: not-allowed;
    box-shadow: none;
    transform: none;
}


/* ==========================================
   HERO MEDIA CONTAINER & CHOICE SCREEN
   ========================================== */
.hero-media-container {
    position: relative;
    width: 100%;
    border-radius: 28px; /* Как в вашем .hero-image-card */
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(80, 50, 120, 0.2), 0 4px 20px rgba(80, 50, 120, 0.1);
    aspect-ratio: 4 / 3;
    background: #000;
}

/* --- Choice Wrapper --- */
.center-choice-wrapper {
    position: absolute;
    inset: 0;
    display: flex;
    width: 100%;
    height: 100%;
    z-index: 2;
    transition: opacity 0.5s ease;
}

.center-choice-wrapper.hidden {
    opacity: 0;
    pointer-events: none;
}

/* --- Choice Sides (Diagonal Split) --- */
.choice-side {
    position: relative;
    flex: 1;
    cursor: pointer;
    overflow: hidden;
    transition: flex 0.5s ease;
}

/* Форма левого треугольника */
/* .choice-left {
    clip-path: polygon(0 0, 100% 0, 0 100%); 

    clip-path: polygon(0 0, 100% 0, 60% 100%, 0% 100%);
} */

/* Форма правого треугольника */
/* .choice-right {
    clip-path: polygon(100% 0, 100% 100%, 0% 100%);
  
    clip-path: polygon(100% 0, 100% 100%, 0% 100%, 40% 0);
} */

/* Background Image */
.choice-bg {
    position: absolute;
    inset: -2px; /* Чуть больше для безопасности скоса */
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

/* Dark Overlay */
.choice-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    transition: background 0.4s ease;
}

/* Content Text */
.choice-content {
    position: absolute;
    z-index: 10;
    color: var(--white);
    text-align: center;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.choice-content h3 {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 4px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.choice-content p {
    font-size: 16px;
    opacity: 0.9;
    margin-bottom: 12px;
}

.btn-select {
    display: inline-block;
    padding: 10px 24px;
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(4px);
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    border: 1px solid rgba(255,255,255,0.4);
    transition: all 0.3s ease;
}

/* --- HOVER EFFECTS --- */

/* 1. При наведении на сторону, она немного расширяется (опционально) */
.choice-side:hover {
    flex: 1.15; 
}

/* 2. Затемняем ту сторону, на которую НЕ наведен курсор */
.center-choice-wrapper:hover .choice-side .choice-overlay {
    background: rgba(0, 0, 0, 0.7); /* Сильнее затемняем обе */
}

/* 3. Но возвращаем яркость той, на которую наведен */
.choice-side:hover .choice-overlay {
    background: rgba(0, 0, 0, 0.15) !important; /* Очень светлое затемнение */
}

.choice-side:hover .choice-bg {
    transform: scale(1.05);
}

.choice-side:hover .btn-select {
    background: var(--yellow);
    color: var(--text-dark);
    border-color: var(--yellow);
}

/* --- Slider Screen Styles --- */
.hero-slider-screen {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block; /* JS переключит на flex */
    animation: fadeIn 0.6s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.slider-back-btn {
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 50;
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(0,0,0,0.6);
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    backdrop-filter: blur(4px);
    transition: background 0.3s;
}

.slider-back-btn:hover {
    background: rgba(0,0,0,0.8);
}

.slider-back-btn svg {
    width: 16px;
    height: 16px;
}

.current-center-label {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 50;
    background: var(--white);
    color: var(--text-dark);
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 14px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

/* ==========================================
   REVIEWS HORIZONTAL SCROLL SECTION
   ========================================== */
/* ==========================================
   REVIEWS HORIZONTAL SCROLL SECTION
   ========================================== */
.section-reviews-scroll {
    background: #f8f5fc;
    padding: 80px 0;
    overflow: hidden;
}

.reviews-header {
    text-align: center;
    margin-bottom: 40px;
    padding: 0 20px;
}

.reviews-header h2 {
    font-size: 36px;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 10px;
}

/* Трек с прокруткой */
.reviews-track {
    display: flex;
    gap: 24px;
    overflow-x: auto; /* Горизонтальная прокрутка */
    padding: 20px 48px 50px 48px; /* Увеличил нижний отступ до 50px, чтобы скроллбар не прилипал к карточкам */
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    
    /* Для Firefox: тонкий скроллбар фиолетового цвета */
    scrollbar-width: thin;
    scrollbar-color: var(--purple-accent) rgba(123, 79, 173, 0.1);
}

/* --- СТИЛИЗАЦИЯ СКРОЛЛБАРА ДЛЯ CHROME/SAFARI/EDGE --- */

/* Ширина полосы прокрутки */
.reviews-track::-webkit-scrollbar {
    height: 10px; /* Высота горизонтального скролла */
}

/* Фон трека (дорожка, по которой ездит ползунок) */
.reviews-track::-webkit-scrollbar-track {
    background: rgba(123, 79, 173, 0.1); /* Светло-фиолетовый фон */
    border-radius: 10px;
    margin: 0 48px; /* Отступы по бокам, чтобы скролл был такой же ширины, как контент */
}

/* Сам ползунок (Thumb) */
.reviews-track::-webkit-scrollbar-thumb {
    background: var(--purple-accent); /* Фиолетовый цвет ползунка */
    border-radius: 10px;
    border: 2px solid transparent; /* Прозрачная рамка для создания отступа внутри трека (опционально) */
    background-clip: content-box; /* Чтобы рамка работала корректно */
    min-width: 40px; /* Минимальная ширина ползунка */
    transition: background 0.3s ease;
}

/* Ползунок при наведении */
.reviews-track::-webkit-scrollbar-thumb:hover {
    background: #5a3591; /* Более темный фиолетовый при наведении */
}

/* --- КОНЕЦ СТИЛЕЙ СКРОЛЛБАРА --- */

/* Карточка отзыва */
.review-card-item {
    flex: 0 0 85%; 
    max-width: 320px;
    background: var(--white);
    border-radius: 20px;
    padding: 20px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    scroll-snap-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: transform 0.3s ease;
}

.review-preview-img {

    overflow: hidden;
    margin-bottom: 16px;
    border: 3px solid var(--purple-section);
}

.review-preview-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.review-content h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.review-short {
    font-size: 14px;
    color: var(--text-dark);
    line-height: 1.5;
    margin-bottom: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.btn-open-review {
    background: transparent;
    border: 1px solid var(--purple-accent);
    color: var(--purple-accent);
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    white-space: nowrap;
}

.btn-open-review:hover {
    background: var(--purple-accent);
    color: white;
}

.scroll-hint {
    display: none;
    text-align: center;
    margin-top: 10px;
    color: var(--text-light);
    font-size: 14px;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.scroll-hint svg {
    width: 16px;
    height: 16px;
    animation: bounceRight 1.5s infinite;
}

@keyframes bounceRight {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(5px); }
}

/* ==========================================
   DESKTOP STYLES (> 1024px)
   ========================================== */
@media (min-width: 1025px) {
    .review-card-item {
        flex: 0 0 calc(25% - 18px);
        max-width: none;
    }
    
    .reviews-track {
        /* На ПК можно оставить overflow-x: auto, если карточек > 4, 
           или изменить на visible, если всегда ровно 4 */
        overflow-x: auto; 
        padding: 20px 0 50px 0; /* Боковые отступы убираем, нижний оставляем для скролла */
    }
    
    /* Корректировка маржинов трека скролла для ПК, чтобы он был по ширине контейнера */
    .reviews-track::-webkit-scrollbar-track {
        margin: 0; /* Убираем боковые отступы трека на ПК, если убрали padding у родителя */
        /* Если хотите, чтобы скроллбар был строго под контентом, верните margin: 0 48px; 
           но тогда padding у .reviews-track тоже должен быть 0 48px */
    }
}

@media (max-width: 768px) {
    .scroll-hint { display: flex; }
    
    /* На мобильных скроллбар обычно скрыт системно, но если нужно явно показать: */
    .reviews-track::-webkit-scrollbar {
        height: 4px; /* Тонкая полоска */
    }
    .reviews-track::-webkit-scrollbar-thumb {
        background: rgba(123, 79, 173, 0.3); /* Полупрозрачный */
        border-radius: 4px;
    }
    .reviews-track::-webkit-scrollbar-track {
        background: transparent;
        margin: 0;
    }
}
/* ==========================================
   MODAL STYLES (Копируем из предыдущего ответа)
   ========================================== */
.modal-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.8);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    backdrop-filter: blur(5px);
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.review-modal-content {
    background: white;
    width: 90%;
    max-width: 900px;
    max-height: 90vh;
    overflow-y: auto;
    border-radius: 20px;
    padding: 40px;
    position: relative;
}

.modal-close {
    position: absolute;
    top: 20px; right: 20px;
    background: none; border: none;
    cursor: pointer;
}

.review-modal-body {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 30px;
}

.review-modal-images {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.review-modal-img-wrapper {
    position: relative;
    aspect-ratio: 4/5;
    border-radius: 10px;
    overflow: hidden;
}

.review-modal-img-wrapper img {
    width: 100%; height: 100%; object-fit: cover;
}

.modal-badge {
    position: absolute; bottom: 10px; left: 10px;
    background: rgba(123, 79, 173, 0.9); color: white;
    padding: 4px 10px; border-radius: 10px; font-size: 12px; font-weight: bold;
}
.modal-badge.after { background: rgba(76, 175, 80, 0.9); }

.review-modal-text h3 { margin-bottom: 15px; font-size: 22px; color: var(--text-dark);}
.review-modal-text p { line-height: 1.6; color: #555; }

/* Mobile Modal Adaptation */
@media (max-width: 768px) {
    .review-modal-body { grid-template-columns: 1fr; }
    .review-modal-content { padding: 20px; width: 95%; }
    .scroll-hint { display: flex; } /* Показываем подсказку на мобильных */
}

/* ==========================================
   SECTION - PROBLEMS WE SOLVE
   ========================================== */
.section-problems {
    background: var(--white);
    padding: 100px 0;
    position: relative;
}

.problems-header {
    text-align: center;
    margin-bottom: 60px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.problems-header h2 {
    font-size: 40px;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 16px;
    line-height: 1.2;
}

.problems-header p {
    font-size: 18px;
    color: var(--text-gray);
    line-height: 1.6;
}

.problems-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-bottom: 60px;
}

.problem-card {
    background: #fcf9ff; /* Очень светлый фиолетовый фон */
    border: 1px solid rgba(123, 79, 173, 0.1);
    border-radius: var(--border-radius-lg);
    padding: 40px 32px;
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.problem-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
    background: var(--white);
    border-color: var(--purple-accent);
}

/* Акцентная карточка (Алкоголизм) */
.problem-card.featured {
    background: linear-gradient(135deg, #f3eefa 0%, #ffffff 100%);
    border: 2px solid var(--purple-accent);
    position: relative;
    overflow: hidden;
}

.problem-card.featured::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, rgba(123, 79, 173, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    transform: translate(30%, -30%);
}

.problem-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    color: var(--white);
}

.icon-addiction { background: linear-gradient(135deg, #ef5350 0%, #c62828 100%); } /* Красный для наркотиков */
.icon-alcohol { background: linear-gradient(135deg, #7b4fad 0%, #5a3591 100%); } /* Фиолетовый для алкоголя */
.icon-gambling { background: linear-gradient(135deg, #ffa726 0%, #f57c00 100%); } /* Оранжевый для игр */

.problem-icon svg {
    width: 32px;
    height: 32px;
    stroke-width: 2.5;
}

.problem-card h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 24px;
    line-height: 1.3;
}

.problem-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
}

.problem-list li {
    font-size: 15px;
    color: var(--text-dark);
    line-height: 1.5;
    position: relative;
    padding-left: 24px;
}

.problem-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0;
    color: var(--purple-accent);
    font-weight: bold;
    font-size: 14px;
}

.problem-list .sub-item {
    padding-left: 24px;
    font-size: 14px;
    color: #7a6b8a;
}

.problem-list .sub-item::before {
    content: '•';
    font-size: 20px;
    line-height: 1;
    top: -2px;
}

.problems-cta {
    text-align: center;
    background: var(--purple-section);
    padding: 40px;
    border-radius: var(--border-radius-lg);
}

.problems-cta p {
    font-size: 18px;
    color: var(--text-dark);
    font-weight: 500;
    margin-bottom: 24px;
}

/* ==========================================
   RESPONSIVE - PROBLEMS
   ========================================== */
@media (max-width: 1024px) {
    .problems-grid {
        grid-template-columns: 1fr; /* Одна колонка на планшетах и ниже */
        gap: 24px;
    }
    
    .problem-card {
        padding: 32px 24px;
    }
    
    .problems-header h2 {
        font-size: 34px;
    }
}

@media (max-width: 768px) {
    .section-problems {
        padding: 60px 0;
    }
    
    .problems-header {
        margin-bottom: 40px;
    }
    
    .problems-header h2 {
        font-size: 28px;
    }
    
    .problems-header p {
        font-size: 16px;
    }
    
    .problem-card h3 {
        font-size: 22px;
    }
    
    .problems-cta {
        padding: 30px 20px;
    }
    
    .problems-cta p {
        font-size: 16px;
    }
    
    .problems-cta .btn-cta {
        width: 100%;
        min-width: auto;
    }
}
/* ==========================================
   MODAL: PRIVACY POLICY STYLES
   ========================================== */
.modal-large {
    max-width: 800px; /* Шире чем форма */
    height: 80vh;     /* Фиксированная высота */
    display: flex;
    flex-direction: column;
}

.modal-body.scrollable-content {
    overflow-y: auto; /* Прокрутка внутри модалки */
    padding-right: 10px; /* Отступ для скроллбара */
    text-align: left;
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-dark);
    flex: 1;
}

.modal-body.scrollable-content p {
    margin-bottom: 12px;
    color: var(--text-dark);
}

.modal-body.scrollable-content strong {
    color: var(--text-dark);
    display: block;
    margin-top: 16px;
    margin-bottom: 8px;
}

/* Стилизация скроллбара внутри модалки */
.modal-body.scrollable-content::-webkit-scrollbar {
    width: 6px;
}
.modal-body.scrollable-content::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}
.modal-body.scrollable-content::-webkit-scrollbar-thumb {
    background: var(--purple-accent);
    border-radius: 3px;
}

/* ==========================================
   COOKIE BANNER STYLES
   ========================================== */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(42, 32, 64, 0.98); /* Темный фон как у футера */
    backdrop-filter: blur(10px);
    z-index: 9998; /* Ниже модалок, но выше контента */
    padding: 16px 0;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.1);
    transform: translateY(100%); /* Скрыта по умолчанию */
    transition: transform 0.5s ease;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.cookie-banner.visible {
    transform: translateY(0);
}

.cookie-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}

.cookie-text p {
    color: rgba(255,255,255,0.8);
    font-size: 14px;
    margin: 0;
    line-height: 1.4;
}

.cookie-text a {
    color: var(--yellow);
    text-decoration: underline;
    cursor: pointer;
}

.cookie-actions {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
}

.btn-cookie {
    padding: 10px 24px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    font-family: inherit;
}

.btn-cta-small {
    background: var(--yellow);
    color: var(--text-dark);
}

.btn-cta-small:hover {
    background: var(--yellow-hover);
    transform: translateY(-2px);
}

.btn-outline-small {
    background: transparent;
    border: 1px solid rgba(255,255,255,0.3);
    color: var(--white);
}

.btn-outline-small:hover {
    background: rgba(255,255,255,0.1);
    border-color: var(--white);
}

/* Mobile Cookie Banner */
@media (max-width: 768px) {
    .cookie-container {
        flex-direction: column;
        text-align: center;
        gap: 16px;
    }
    
    .cookie-actions {
        width: 100%;
        justify-content: center;
    }
    
    .btn-cookie {
        flex: 1;
        max-width: 160px;
    }
}