/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


:root {
    /* Design System Colors */
    --color-text-primary: #0F0F0E;
    --color-text-secondary: #414042;
    --color-accent-orange: #E47239;
    --color-accent-teal: #42ABB3;
    --color-accent-green: #64BF82;
    --color-bg: #FFFFFF;
    --color-ui-gray-200: #E5E7EB;
    --color-ui-gray-500: #6B7280;

    /* Typography Scale */
    --font-display-xl: 84px;
    --font-display-lg: 64px;
    --font-h1: 48px;
    --font-h2: 36px;
    --font-h3: 24px;
    --font-lead: 20px;
    --font-body: 18px;
    --font-caption: 14px;

    /* Spacing */
    --space-xxs: 4px;
    --space-xs: 8px;
    --space-sm: 12px;
    --space-md: 16px;
    --space-lg: 24px;
    --space-xl: 32px;
    --space-2xl: 48px;
    --space-3xl: 64px;

    /* Radius */
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-pill: 999px;

    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(0,0,0,.06);
    --shadow-md: 0 6px 16px rgba(0,0,0,.10);
    --shadow-lg: 0 12px 28px rgba(0,0,0,.14);
}

body {
    font-family: 'Inter', 'Manrope', system-ui, 'Segoe UI', Roboto, Arial, sans-serif;
    line-height: 1.6;
    color: var(--color-text-primary);
    background-color: var(--color-bg);
    font-feature-settings: 'tnum' 1;
    overflow-x: hidden;
}

/* Header Styles */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--color-ui-gray-200);
    transition: all 0.3s ease;
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-md);
}

.header__content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
    gap: var(--space-lg);
}

.header__logo {
    flex-shrink: 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    text-decoration: none;
    color: var(--color-text-primary);
    font-weight: 700;
    font-size: var(--font-h3);
    transition: color 0.3s ease;
}

.logo__image {
    max-width: 40px;
    max-height: 40px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.logo:hover {
    color: var(--color-accent-orange);
}

.logo__text {
    font-weight: 800;
}

.header__nav {
    flex: 1;
    display: flex;
    justify-content: center;
}

.nav__list {
    display: flex;
    align-items: center;
    gap: var(--space-xl);
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav__link {
    color: var(--color-text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: var(--font-body);
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius-md);
    transition: all 0.3s ease;
    position: relative;
}

.nav__link:hover {
    color: var(--color-accent-orange);
    background: rgba(228, 114, 57, 0.1);
}

.nav__link.active {
    color: var(--color-accent-orange);
    background: rgba(228, 114, 57, 0.1);
}

.header__actions {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    flex-shrink: 0;
}

.header__social {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.header__social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: var(--color-bg);
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid var(--color-ui-gray-300);
}

.header__social-link:hover {
    background: var(--color-accent-orange);
    border-color: var(--color-accent-orange);
    transform: translateY(-1px);
}

.header__social-icon {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.header__social-text {
    font-size: var(--font-small);
    color: var(--color-text-secondary);
}

.header__phone {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    color: var(--color-text-primary);
    text-decoration: none;
    font-weight: 600;
    font-size: var(--font-body);
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius-md);
    transition: all 0.3s ease;
}

.header__phone:hover {
    color: var(--color-accent-orange);
    background: rgba(228, 114, 57, 0.1);
}

.header__mobile-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--space-sm);
    border-radius: var(--radius-sm);
    transition: background 0.3s ease;
}

.header__mobile-toggle:hover {
    background: rgba(228, 114, 57, 0.1);
}

.hamburger {
    display: flex;
    flex-direction: column;
    gap: 4px;
    width: 24px;
    height: 18px;
}

.hamburger__line {
    width: 100%;
    height: 2px;
    background: var(--color-text-primary);
    border-radius: 1px;
    transition: all 0.3s ease;
}

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

.header__mobile-toggle.active .hamburger__line:nth-child(2) {
    opacity: 0;
}

.header__mobile-toggle.active .hamburger__line:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Mobile Navigation */
@media (max-width: 1024px) {
    .header__nav {
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        background: var(--color-bg);
        border-bottom: 1px solid var(--color-ui-gray-200);
        box-shadow: var(--shadow-md);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }

    .header__nav.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .nav__list {
        flex-direction: column;
        gap: 0;
        padding: var(--space-lg) 0;
    }

    .nav__item {
        width: 100%;
    }

    .nav__link {
        display: block;
        padding: var(--space-md) var(--space-xl);
        text-align: center;
        border-radius: 0;
    }

    .header__mobile-toggle {
        display: block;
    }

    .header__phone {
        display: none;
    }
}

@media (max-width: 768px) {
    .header__content {
        height: 70px;
    }

    .logo {
        font-size: var(--font-h3);
    }

    .logo__image {
        max-width: 32px;
        max-height: 32px;
    }

    .header__actions .btn {
        padding: var(--space-sm) var(--space-md);
        font-size: var(--font-caption);
    }
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 80px;
}

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

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

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

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

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    background: var(--color-bg);
    padding: calc(80px + var(--space-3xl)) 0 var(--space-3xl) 0;
}

.hero__content {
    display: flex;
    align-items: center;
    gap: var(--space-3xl);
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

/* Hide mobile content on desktop */
.hero__content-mobile {
    display: none;
}

.hero__image--desktop {
    display: block;
}

.hero__text {
    flex: 1;
    max-width: 600px;
    padding-right: var(--space-xl);
}

.hero__title {
    font-size: var(--font-h1);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: var(--space-lg);
    color: var(--color-text-primary);
}

.hero__highlight {
    position: relative;
    display: inline-block;
}

.hero__highlight::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    right: 0;
    height: 8px;
    background: var(--color-accent-orange);
    border-radius: 4px;
    z-index: -1;
}

.hero__subtitle {
    font-size: var(--font-body);
    font-weight: 500;
    color: var(--color-text-secondary);
    margin-bottom: var(--space-md);
    line-height: 1.6;
    max-width: 72ch;
}

.hero__bullets {
    list-style: none;
    padding: 0;
    margin: 0 0 var(--space-xl) 0;
}

.hero__bullet {
    position: relative;
    padding-left: var(--space-lg);
    margin-bottom: var(--space-sm);
    font-size: var(--font-body);
    color: var(--color-text-secondary);
    line-height: 1.6;
}

.hero__bullet::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    background: var(--color-accent-orange);
    border-radius: 50%;
}

.hero__ctas {
    display: flex;
    gap: var(--space-md);
    flex-wrap: nowrap;
    align-items: center;
}

.hero__image {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 800px;
    height: 80vh;
    overflow: hidden;
}

.hero__img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: drop-shadow(var(--shadow-lg));
    transform: scale(1.2);
}



/* Button Component */
.btn {
    border: none;
    padding: var(--space-md) var(--space-xl);
    border-radius: var(--radius-pill);
    font-size: var(--font-body);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    min-height: 44px;
    text-decoration: none;
}

.btn--primary {
    background: var(--color-accent-orange);
    color: var(--color-bg);
}

.btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    background: #d15d2a;
}

.btn--secondary {
    background: transparent;
    color: var(--color-text-primary);
    border: 2px solid var(--color-text-primary);
}

.btn--secondary:hover {
    background: var(--color-accent-orange);
    color: var(--color-bg);
    border-color: var(--color-accent-orange);
}

.btn--outline {
    background: transparent;
    color: var(--color-accent-orange);
    border: 2px solid var(--color-accent-orange);
}

.btn--outline:hover {
    background: var(--color-accent-orange);
    color: var(--color-bg);
}

/* Form Styles */
.form-container {
    width: 100%;
}

.form-title {
    font-size: var(--font-h3);
    font-weight: 700;
    color: var(--color-text-primary);
    text-align: center;
    margin-bottom: var(--space-xl);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

.form-group {
    position: relative;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: var(--space-md) var(--space-lg);
    border: 1px solid var(--color-ui-gray-200);
    border-radius: var(--radius-md);
    font-size: var(--font-body);
    font-family: inherit;
    transition: all 0.3s ease;
    background: var(--color-bg);
    color: var(--color-text-primary);
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--color-accent-orange);
    box-shadow: 0 0 0 3px rgba(228, 114, 57, 0.1);
}


.form-note {
    font-size: var(--font-caption);
    color: var(--color-ui-gray-500);
    text-align: center;
    margin-top: var(--space-lg);
    line-height: 1.4;
}

.privacy-link {
    color: var(--color-accent-orange);
    text-decoration: none;
}

.privacy-link:hover {
    text-decoration: underline;
}

/* Hero Background */
.hero-bg {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-image {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: drop-shadow(var(--shadow-lg));
}

/* Stats Section */
.stats {
    padding: var(--space-3xl) 0;
    background: var(--color-bg);
    border-top: 1px solid var(--color-ui-gray-200);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-2xl);
    max-width: 1000px;
    margin: 0 auto;
}

.stat-item {
    text-align: center;
    padding: var(--space-xl);
    background: var(--color-bg);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--color-ui-gray-200);
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.stat-value {
    font-size: var(--font-h1);
    font-weight: 800;
    color: var(--color-accent-orange);
    line-height: 1;
    margin-bottom: var(--space-sm);
    font-feature-settings: 'tnum' 1;
}

.stat-label {
    font-size: var(--font-body);
    color: var(--color-text-secondary);
    font-weight: 500;
    line-height: 1.4;
}

/* Lead Form Section */
.lead-form-section {
    padding: var(--space-3xl) 0;
    background: var(--color-text-primary);
    color: var(--color-bg);
    position: relative;
    overflow: hidden;
}

.lead-form-section .form-container {
    background: var(--color-bg);
    padding: var(--space-3xl);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--color-ui-gray-200);
    max-width: 500px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 2;
}

.lead-form-section .form-title {
    font-size: var(--font-h2);
    font-weight: 700;
    color: var(--color-text-primary);
    margin-bottom: var(--space-md);
}

.form-subtitle {
    font-size: var(--font-body);
    color: var(--color-text-secondary);
    margin-bottom: var(--space-2xl);
    line-height: 1.6;
}

/* Stop Buying Processes Section */
.stop-processes {
    padding: var(--space-3xl) 0;
    background: var(--color-bg);
}

.stop-processes__content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.stop-processes__visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.visual-circles {
    position: relative;
    width: 400px;
    height: 400px;
}

.circle {
    position: absolute;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.circle--receipt {
    width: 160px;
    height: 160px;
    background: linear-gradient(135deg, #42ABB3 0%, #2F4B69 50%, #E47239 100%);
    top: 0;
    left: 0;
    z-index: 2;
    overflow: hidden;
}

.circle--team {
    width: 280px;
    height: 280px;
    background: linear-gradient(135deg, #42ABB3 0%, #2F4B69 50%, #E47239 100%);
    bottom: 0;
    right: 0;
    z-index: 1;
    overflow: hidden;
}

.circle-image {
    width: 80%;
    height: 80%;
    object-fit: contain;
    object-position: center;
}


.stop-processes__text {
    padding-left: var(--space-xl);
}

.stop-processes__title {
    font-size: var(--font-h1);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: var(--space-xl);
    color: var(--color-text-primary);
}

.title-line {
    display: block;
}

.title-line--highlight {
    color: var(--color-accent-orange);
    position: relative;
}

.title-line--highlight::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    right: 0;
    height: 8px;
    background: var(--color-accent-orange);
    border-radius: var(--radius-sm);
    z-index: -1;
}

.stop-processes__subtitle {
    font-size: var(--font-body);
    font-weight: 500;
    color: var(--color-text-secondary);
    margin-bottom: var(--space-lg);
    line-height: 1.6;
}

.stop-processes__subtitle p {
    margin: 0;
}

.stop-processes__message {
    font-size: var(--font-h3);
    font-weight: 600;
    color: var(--color-text-primary);
    line-height: 1.4;
}

.stop-processes__message p {
    margin: 0;
}

@media (max-width: 768px) {
    .stop-processes {
        padding: var(--space-2xl) 0;
    }

    .stop-processes__content {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
        text-align: center;
    }

    .stop-processes__text {
        padding-left: 0;
        order: 1;
    }

    .stop-processes__visual {
        order: 2;
        margin: 0 auto;
    }

    .visual-circles {
        width: 240px;
        height: 240px;
        margin: 0 auto;
    }

    .circle--receipt {
        width: 100px;
        height: 100px;
    }

    .circle--team {
        width: 200px;
        height: 200px;
    }

    .stop-processes__title {
        font-size: var(--font-h2);
        line-height: 1.2;
        margin-bottom: var(--space-md);
    }

    .stop-processes__subtitle {
        font-size: var(--font-body);
        margin-bottom: var(--space-md);
    }

    .stop-processes__message {
        font-size: var(--font-h4);
    }

    .circle-image {
        object-fit: contain;
    }
}


/* Offer Section */
.offer {
    padding: var(--space-3xl) 0;
    background: var(--color-bg);
}

.section-title {
    font-size: var(--font-h2);
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
    margin-bottom: var(--space-3xl);
    color: var(--color-text-primary);
}

.section-subtitle {
    font-size: var(--font-body);
    color: var(--color-text-secondary);
    max-width: 72ch;
    margin: 0 auto var(--space-3xl) auto;
    text-align: center;
    line-height: 1.6;
}

/* Real Cases Section */
.real-cases {
    padding: var(--space-3xl) 0;
    background: var(--color-bg);
}

.real-cases .section-title,
.real-cases .section-subtitle {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: var(--space-xl);
    padding-right: var(--space-xl);
}

.cases-grid {
    display: flex;
    gap: var(--space-xl);
    overflow-x: auto;
    padding-bottom: var(--space-md);
    margin-bottom: var(--space-2xl);
    scroll-behavior: smooth;
}

.cases-grid::-webkit-scrollbar {
    height: 8px;
}

.cases-grid::-webkit-scrollbar-track {
    background: var(--color-ui-gray-200);
    border-radius: var(--radius-sm);
}

.cases-grid::-webkit-scrollbar-thumb {
    background: var(--color-accent-teal);
    border-radius: var(--radius-sm);
}

.cases-grid::-webkit-scrollbar-thumb:hover {
    background: var(--color-accent-orange);
}

/* Carousel Navigation */
.cases-carousel {
    position: relative;
    display: flex;
    align-items: center;
    gap: var(--space-lg);
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    padding: 0 var(--space-xl);
}

.carousel-nav {
    background: var(--color-bg);
    border: 2px solid var(--color-ui-gray-200);
    border-radius: 50%;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
    z-index: 2;
}

.carousel-nav:hover {
    border-color: var(--color-accent-teal);
    background: var(--color-accent-teal);
    color: white;
    transform: scale(1.1);
}

.carousel-nav:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.carousel-nav svg {
    width: 24px;
    height: 24px;
}

.carousel-scroll-indicator {
    display: none;
}

.cases-grid {
    flex: 1;
    display: flex;
    gap: var(--space-xl);
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.case-card {
    background: var(--color-bg);
    border: 1px solid var(--color-ui-gray-200);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    position: relative;
    flex: 0 0 400px;
    min-height: 500px;
}

.case-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.case-header {
    margin-bottom: var(--space-lg);
    padding-bottom: var(--space-md);
    border-bottom: 1px solid var(--color-ui-gray-200);
}

.case-info {
    width: 100%;
}

.case-name {
    font-size: var(--font-h3);
    font-weight: 700;
    color: var(--color-text-primary);
    margin-bottom: var(--space-xs);
}

/* Новый layout для заголовка и категории в ряд */
.case-title-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-sm);
}

.case-category {
    font-size: var(--font-caption);
    color: var(--color-text-secondary);
    background: transparent;
    padding: var(--space-xs) var(--space-sm);
    border: 1px solid var(--color-ui-gray-200);
    border-radius: var(--radius-sm);
    display: inline-block;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.case-stats {
    margin-top: var(--space-md);
}

.case-stat-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-sm) 0;
    border-bottom: 1px solid var(--color-ui-gray-200);
}

.case-stat-row:last-child {
    border-bottom: none;
}

.stat-label {
    font-size: var(--font-body);
    color: var(--color-text-secondary);
    font-weight: 500;
}

.stat-value {
    font-size: var(--font-h3);
    font-weight: 700;
    color: var(--color-text-primary);
}

.case-content {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

.case-screenshot {
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.screenshot-img {
    width: 100%;
    height: auto;
    display: block;
    cursor: pointer;
    transition: transform 0.3s ease;
}

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

.case-audio h4 {
    font-size: var(--font-body);
    font-weight: 600;
    color: var(--color-text-primary);
    margin-bottom: var(--space-sm);
}

.audio-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.audio-item {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
}

.audio-name {
    font-size: var(--font-caption);
    color: var(--color-text-secondary);
    font-weight: 500;
}

.audio-player {
    width: 100%;
    height: 40px;
    border-radius: var(--radius-sm);
    outline: none;
}

.audio-player::-webkit-media-controls-panel {
    background-color: var(--color-ui-gray-200);
}

.audio-player::-webkit-media-controls-play-button {
    background-color: var(--color-accent-orange);
    border-radius: 50%;
}



/* Social Gallery Section */
.social-gallery {
    padding: var(--space-3xl) 0;
    background: var(--color-ui-gray-100);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-lg);
    margin-bottom: var(--space-2xl);
}

.gallery-item {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    cursor: pointer;
    aspect-ratio: 1;
}

.gallery-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.gallery-img,
.gallery-video,
.gallery-media {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.gallery-video {
    background: var(--color-ui-gray-200);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.3) 100%);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: var(--space-md);
    opacity: 0;
    transition: all 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}


.gallery-play {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.gallery-item:hover .gallery-play {
    background: var(--color-accent-orange);
    border-color: var(--color-accent-orange);
    transform: scale(1.1);
}



/* Анимации фильтрации галереи */
.gallery-item.hidden {
    display: none;
}

.gallery-item.fade-in {
    animation: fadeIn 0.5s ease-in-out;
}

/* Client Calls Section */
.client-calls {
    padding: var(--space-3xl) 0;
    background: var(--color-bg);
}

.calls-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: var(--space-lg);
    margin-bottom: var(--space-2xl);
}

.call-card {
    background: var(--color-bg);
    border: 1px solid var(--color-ui-gray-200);
    border-radius: var(--radius-lg);
    padding: var(--space-md);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.call-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}




.call-player {
    width: 100%;
    height: 50px;
    border-radius: var(--radius-sm);
    outline: none;
}

.call-player::-webkit-media-controls-panel {
    background-color: var(--color-ui-gray-200);
}

.call-player::-webkit-media-controls-play-button {
    background-color: var(--color-accent-orange);
    border-radius: 50%;
}

/* Статистика звонков */

.offer__content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.offer__visual {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 400px;
    height: 100%;
}

.offer__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: drop-shadow(var(--shadow-lg));
    border-radius: var(--radius-lg);
}

.offer__text {
    padding-right: var(--space-xl);
}

.offer__title {
    font-size: var(--font-h2);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: var(--space-lg);
    color: var(--color-text-primary);
}

.offer__description {
    margin-bottom: var(--space-xl);
}

.offer__intro {
    font-size: var(--font-body);
    font-weight: 500;
    color: var(--color-text-secondary);
    margin-bottom: var(--space-lg);
    line-height: 1.6;
}

.offer__intro strong {
    color: var(--color-text-primary);
    font-weight: 600;
}

.offer__benefits {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.offer__benefit {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
    padding: var(--space-md);
    background: rgba(88, 212, 207, 0.05);
    border-left: 3px solid #58d4cf;
    border-radius: var(--radius-sm);
}

.offer__benefit-label {
    font-size: var(--font-body);
    font-weight: 600;
    color: var(--color-text-primary);
    line-height: 1.4;
}

.offer__benefit-text {
    font-size: var(--font-body);
    font-weight: 500;
    color: var(--color-text-secondary);
    line-height: 1.5;
}

.offer__highlight {
    color: #58d4cf;
    font-weight: 600;
}

/* Car Brands Section */
.car-brands {
    padding: var(--space-3xl) 0;
    background: var(--color-bg-light);
    position: relative;
    overflow: hidden;
}

.car-brands__content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: var(--space-3xl);
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.car-brands__text {
    padding-left: var(--space-xl);
}

.car-brands__title {
    font-size: var(--font-h2);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: var(--space-lg);
    color: var(--color-text-primary);
    position: relative;
}

.car-brands__title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 60px;
    height: 4px;
    background: var(--color-accent-orange);
    border-radius: var(--radius-sm);
}

.car-brands__description {
    font-size: var(--font-body);
    font-weight: 500;
    color: var(--color-text-secondary);
    line-height: 1.6;
}

.car-brands__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-lg);
    align-items: center;
}

.car-brand-item {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: var(--space-sm);
}

.car-brand-logo {
    max-width: 100%;
    max-height: 60px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: grayscale(100%) opacity(0.7);
    transition: filter 0.3s ease;
}

.car-brand-item:hover .car-brand-logo {
    filter: grayscale(0%) opacity(1);
}

.car-brands__decoration {
    position: absolute;
    pointer-events: none;
    z-index: 1;
}

.car-brands__decoration--top-left {
    top: -50px;
    left: -50px;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(228, 114, 57, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 15s ease-in-out infinite;
}

/* Services Section */
.services {
    padding: var(--space-3xl) 0;
    background: var(--color-bg-accent);
    position: relative;
    overflow: hidden;
}

.services__content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: var(--space-3xl);
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.services__text {
    padding-right: var(--space-xl);
}

.services__title {
    font-size: var(--font-h2);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: var(--space-lg);
    color: var(--color-text-primary);
    position: relative;
}

.services__title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 60px;
    height: 4px;
    background: var(--color-accent-orange);
    border-radius: var(--radius-sm);
}

.services__description {
    font-size: var(--font-body);
    font-weight: 500;
    color: var(--color-text-secondary);
    line-height: 1.6;
}

.services__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
}

.service-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: var(--space-lg);
    background: var(--color-bg);
    border-radius: var(--radius-lg);
    transition: all 0.3s ease;
    border: 1px solid var(--color-ui-gray-200);
}

.service-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--color-accent-orange);
}

.service-item__image {
    width: 80px;
    height: 80px;
    margin-bottom: var(--space-md);
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-item__img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
}

.services__decoration {
    position: absolute;
    pointer-events: none;
    z-index: 1;
}

.services__decoration--bottom-right {
    bottom: -50px;
    right: -50px;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(66, 171, 179, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 20s ease-in-out infinite reverse;
}

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

.service-item__title {
    font-size: var(--font-body);
    font-weight: 600;
    color: var(--color-text-primary);
    margin: 0;
    line-height: 1.4;
}


.offer__benefits {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.benefit-icon {
    width: 24px;
    height: 24px;
    background: var(--color-accent-orange);
    border-radius: var(--radius-pill);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-bg);
    font-weight: bold;
    font-size: 14px;
    flex-shrink: 0;
}

.benefit-text {
    font-size: var(--font-body);
    font-weight: 500;
    color: var(--color-text-primary);
}

/* Market Structure Section */
.market-structure {
    padding: var(--space-3xl) 0;
    background: var(--color-bg-light);
}

.market-structure__content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.market-structure__visual {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 60vh;
    min-height: 400px;
}

.market-structure__image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(var(--shadow-lg));
    border-radius: var(--radius-lg);
}

.market-structure__text {
    padding-left: var(--space-xl);
}

.market-structure__title {
    font-size: var(--font-h2);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: var(--space-xl);
    color: var(--color-text-primary);
}

.market-structure__mobile-image {
    display: none;
    justify-content: center;
    align-items: center;
    margin-bottom: var(--space-xl);
}

/* Mobile image display for market structure */
@media (max-width: 768px) {
    .market-structure__mobile-image {
        display: flex;
    }

    .market-structure__visual {
        display: none;
    }
}

.market-structure__problems {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    margin-bottom: var(--space-xl);
}

.problem-item {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-md);
    background: rgba(255, 255, 255, 0.8);
    border-radius: var(--radius-md);
    border-left: 4px solid var(--color-error);
}

.problem-icon {
    font-size: 20px;
    flex-shrink: 0;
}

.problem-text {
    font-size: var(--font-body);
    font-weight: 500;
    color: var(--color-text-primary);
    line-height: 1.4;
}

.market-structure__costs {
    background: rgba(255, 255, 255, 0.9);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    border: 1px solid var(--color-border);
}

.cost-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-sm) 0;
    border-bottom: 1px solid var(--color-border-light);
}

.cost-item:last-of-type {
    border-bottom: none;
}

.cost-label {
    font-size: var(--font-body);
    color: var(--color-text-secondary);
}

.cost-value {
    font-size: var(--font-body);
    font-weight: 600;
    color: var(--color-text-primary);
}

.cost-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-md) 0;
    margin-top: var(--space-sm);
    border-top: 2px solid var(--color-border);
}

.cost-total-label {
    font-size: var(--font-lg);
    font-weight: 700;
    color: var(--color-text-primary);
}

.cost-total-value {
    font-size: var(--font-xl);
    font-weight: 800;
    color: var(--color-text-primary);
}

.cost-result {
    text-align: center;
    margin-top: var(--space-md);
    padding: var(--space-md);
    background: var(--color-error);
    border-radius: var(--radius-md);
}

.cost-result-text {
    font-size: var(--font-lg);
    font-weight: 700;
    color: var(--color-bg);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}


/* Pricing Section */
.pricing {
    padding: var(--space-3xl) 0;
    background: var(--color-bg);
}

.pricing-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.price-display {
    margin-bottom: var(--space-2xl);
}

.price-amount {
    display: block;
    font-size: var(--font-display-lg);
    font-weight: 800;
    color: var(--color-accent-orange);
    line-height: 1;
    font-feature-settings: 'tnum' 1;
    margin-bottom: var(--space-sm);
}

.price-label {
    font-size: var(--font-lead);
    color: var(--color-text-secondary);
    font-weight: 500;
}

.pricing-bullets {
    list-style: none;
    padding: 0;
    margin: 0 0 var(--space-2xl) 0;
    text-align: left;
}

.pricing-bullets li {
    position: relative;
    padding-left: var(--space-lg);
    margin-bottom: var(--space-md);
    font-size: var(--font-body);
    color: var(--color-text-secondary);
    line-height: 1.6;
}

.pricing-bullets li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--color-accent-orange);
    font-weight: bold;
    font-size: 1.2em;
}

/* Cooperation Section */
.cooperation {
    padding: var(--space-3xl) 0;
    background: var(--color-bg);
}

.cooperation .section-title {
    font-size: var(--font-h2);
    font-weight: 700;
    line-height: 1.2;
}

.cooperation-steps {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-md);
    max-width: 1000px;
    margin: 0 auto;
    flex-wrap: nowrap;
    width: 100%;
    overflow-x: hidden;
}

.cooperation-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex: 1;
    max-width: 250px;
}

.step-image {
    width: 200px;
    height: 200px;
    margin-bottom: var(--space-md);
    display: flex;
    align-items: center;
    justify-content: center;
}

.step-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.step-content {
    text-align: center;
}

.step-title {
    font-size: var(--font-body);
    font-weight: 500;
    color: var(--color-text-primary);
    line-height: 1.4;
    margin: 0;
}

.cooperation-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 var(--space-sm);
    flex-shrink: 0;
}

.cooperation-arrow svg {
    width: 50px;
    height: 20px;
    opacity: 0.6;
}

/* LK Section */
.lk {
    padding: var(--space-3xl) 0;
    background: var(--color-bg);
}

.lk__content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.lk__text {
    padding-right: var(--space-xl);
}

.lk__title {
    font-size: var(--font-h2);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: var(--space-lg);
    color: var(--color-text-primary);
}

.lk__description {
    font-size: var(--font-body);
    font-weight: 500;
    color: var(--color-text-secondary);
    margin-bottom: var(--space-xl);
    line-height: 1.6;
}

.lk__features {
    margin-bottom: var(--space-xl);
}

.lk__features-title {
    font-size: var(--font-h3);
    font-weight: 600;
    color: var(--color-text-primary);
    margin-bottom: var(--space-md);
}

.lk__features-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.lk__feature-item {
    position: relative;
    padding-left: var(--space-lg);
    margin-bottom: var(--space-sm);
    font-size: var(--font-body);
    color: var(--color-text-secondary);
    line-height: 1.6;
}

.lk__feature-item::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--color-accent-orange);
    font-weight: bold;
    font-size: 1.2em;
}

.lk__note {
    font-size: var(--font-body);
    color: var(--color-text-secondary);
    line-height: 1.6;
    font-style: italic;
}

.lk__visual {
    position: relative;
    height: 100%;
    min-height: 600px;
    overflow: hidden;
    margin-right: calc(-50vw + 50%);
    width: 50vw;
}

.lk__image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    clip-path: polygon(20% 0%, 100% 0%, 100% 100%, 0% 100%);
    transition: transform 0.3s ease;
}

.lk__image:focus {
    outline: 2px solid var(--color-accent-orange);
    outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
    .lk__image {
        transition: none;
    }
}


.section-subtitle {
    font-size: var(--font-body);
    color: var(--color-text-secondary);
    text-align: center;
    margin-bottom: var(--space-3xl);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.brands-section,
.services-section {
    margin-bottom: var(--space-3xl);
}

.brands-section h3,
.services-section h3 {
    font-size: var(--font-h3);
    font-weight: 700;
    color: var(--color-text-primary);
    text-align: center;
    margin-bottom: var(--space-lg);
}

.brands-grid,
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: var(--space-md);
    max-width: 800px;
    margin: 0 auto;
}

.brand-item,
.service-item {
    background: var(--color-bg);
    border: 2px solid var(--color-ui-gray-200);
    border-radius: var(--radius-md);
    padding: var(--space-md) var(--space-sm);
    text-align: center;
    font-size: var(--font-body);
    font-weight: 600;
    color: var(--color-text-primary);
    transition: all 0.3s ease;
}

.brand-item:hover,
.service-item:hover {
    border-color: var(--color-accent-orange);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}


/* How We Get Clients Section */
.how-we-get-clients {
    padding: var(--space-3xl) 0;
    background: var(--color-bg);
}

.how-we-get-clients__title {
    font-size: var(--font-h2);
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
    margin-bottom: var(--space-3xl);
    color: var(--color-text-primary);
}

.how-we-get-clients__highlight {
    position: relative;
    display: inline-block;
}

.how-we-get-clients__highlight::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    right: 0;
    height: 8px;
    background: var(--color-accent-orange);
    border-radius: 4px;
    z-index: -1;
}

.process-flow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-lg);
    margin-bottom: var(--space-3xl);
    flex-wrap: nowrap;
    position: relative;
    padding: var(--space-xl) 0;
}

.process-flow::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg,
        var(--color-accent-orange) 0%,
        var(--color-accent-orange) 20%,
        var(--color-ui-gray-200) 20%,
        var(--color-ui-gray-200) 40%,
        var(--color-accent-orange) 40%,
        var(--color-accent-orange) 60%,
        var(--color-ui-gray-200) 60%,
        var(--color-ui-gray-200) 80%,
        var(--color-accent-orange) 80%,
        var(--color-accent-orange) 100%
    );
    border-radius: 2px;
    transform: translateY(-50%);
    z-index: 1;
}

.process-flow__step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 220px;
    flex: 1;
    position: relative;
    z-index: 2;
    background: var(--color-bg);
    padding: var(--space-sm);
    border-radius: var(--radius-md);
}

.process-flow__image {
    width: 180px;
    height: 180px;
    margin-bottom: var(--space-md);
    display: flex;
    align-items: center;
    justify-content: center;
}

.process-flow__img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.process-flow__text {
    font-size: var(--font-body);
    font-weight: 500;
    color: var(--color-text-primary);
    line-height: 1.4;
    margin: 0;
}

.process-flow__arrow {
    font-size: var(--font-h1);
    color: var(--color-accent-orange);
    font-weight: 700;
    margin: 0 var(--space-sm);
    flex-shrink: 0;
    position: relative;
    z-index: 2;
    background: var(--color-bg);
    padding: var(--space-xs);
    border-radius: var(--radius-sm);
}

.process-description {
    text-align: left;
    max-width: 800px;
    margin: 0 auto;
}

.process-description p {
    font-size: var(--font-body);
    font-weight: 500;
    color: var(--color-text-secondary);
    line-height: 1.6;
    margin-bottom: var(--space-md);
}

.process-description p:last-child {
    margin-bottom: 0;
}

/* Call to Repair Section */
.call-to-repair {
    padding: var(--space-3xl) 0;
    background: var(--color-bg);
}

.call-to-repair__title {
    font-size: var(--font-h2);
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
    margin-bottom: var(--space-3xl);
    color: var(--color-text-primary);
}

.call-to-repair__title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--color-accent-orange);
    margin: var(--space-md) auto 0;
    border-radius: 2px;
}

.call-to-repair__mobile-image {
    display: none;
    justify-content: center;
    align-items: center;
    margin-bottom: var(--space-xl);
}

.call-to-repair__content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    align-items: start;
}

.call-to-repair__visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.call-to-repair__image {
    max-width: 100%;
    height: auto;
    object-fit: contain;
}

.call-to-repair__text {
    display: flex;
    flex-direction: column;
    gap: var(--space-xl);
}

.call-to-repair__step h3 {
    font-size: var(--font-h3);
    font-weight: 600;
    color: var(--color-text-primary);
    margin-bottom: var(--space-sm);
    line-height: 1.4;
}

.call-to-repair__step p {
    font-size: var(--font-body);
    color: var(--color-text-secondary);
    line-height: 1.6;
    margin: 0;
}

.call-to-repair__step strong {
    color: var(--color-accent-orange);
    font-weight: 600;
}


/* Case Study Section */
.case-study {
    padding: var(--space-3xl) 0;
    background: var(--color-bg);
}

.case-study__header {
    text-align: center;
    margin-bottom: var(--space-3xl);
}

.case-study__main-title {
    font-size: var(--font-h2);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: var(--space-md);
    color: var(--color-text-primary);
}

.case-study__main-description {
    font-size: var(--font-h4);
    color: var(--color-text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

.case-study__content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    align-items: center;
    max-width: 1200px;
    margin: 0 auto var(--space-3xl);
    padding: 0;
    background: transparent;
    border: none;
    transition: all 0.3s ease;
}

/* Разные стили для кейсов в соответствии с дизайн-системой */
.case-study__content--style-1 {
    /* Стиль 1 - без дополнительных границ */
}

.case-study__content--style-2 {
    /* Стиль 2 - без дополнительных границ */
}

.case-study__content--style-3 {
    /* Стиль 3 - без дополнительных границ */
}

.case-study__content--style-4 {
    /* Стиль 4 - без дополнительных границ */
}

.case-study__content:hover {
    /* Убираем hover эффекты для минималистичного дизайна */
}

.case-study__content--reverse {
    direction: rtl;
}

.case-study__content--reverse .case-study__text {
    direction: ltr;
    padding-right: 0;
    padding-left: var(--space-xl);
}

.case-study__content--reverse .case-study__visual {
    order: 1;
}

.case-study__text {
    padding-right: var(--space-lg);
}

.case-study__header-item {
    margin-bottom: var(--space-lg);
}

.case-study__metrics {
    margin: var(--space-xl) 0;
    padding: var(--space-lg);
    background: var(--color-ui-gray-50);
    border-radius: var(--radius-md);
    border-left: 4px solid var(--color-accent-orange);
}

.case-study__metrics-title {
    font-size: var(--font-h4);
    font-weight: 700;
    color: var(--color-text-primary);
    margin-bottom: var(--space-md);
    text-align: center;
}

.case-study__metrics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--space-md);
}

.case-study__metric {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-sm) 0;
    border-bottom: 1px solid var(--color-ui-gray-200);
}

.case-study__metric:last-child {
    border-bottom: none;
}

.case-study__metric-label {
    font-size: var(--font-body);
    color: var(--color-text-secondary);
    font-weight: 500;
    line-height: 1.4;
}

.case-study__metric-number {
    font-size: var(--font-h4);
    font-weight: 700;
    color: var(--color-accent-orange);
    font-feature-settings: 'tnum' 1;
}

.case-study__title {
    font-size: var(--font-h2);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: var(--space-lg);
    color: var(--color-text-primary);
}

.case-study__description {
    font-size: var(--font-body);
    font-weight: 400;
    color: var(--color-text-secondary);
    margin-bottom: var(--space-xl);
}

.case-study__features {
    margin-bottom: var(--space-xl);
}

.case-study__features-title {
    font-size: var(--font-h4);
    font-weight: 600;
    color: var(--color-text-primary);
    margin-bottom: var(--space-md);
}

.case-study__features-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.case-study__feature-item {
    font-size: var(--font-body);
    color: var(--color-text-secondary);
    margin-bottom: var(--space-sm);
    padding-left: var(--space-lg);
    position: relative;
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.case-study__feature-icon {
    color: var(--color-accent-orange);
    flex-shrink: 0;
}

.case-study__note {
    font-size: var(--font-body);
    color: var(--color-text-secondary);
    font-weight: 500;
    opacity: 0.9;
}

.case-study__badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--color-accent-orange), #ff6b35);
    color: white;
    padding: var(--space-sm) var(--space-md);
    border-radius: 20px;
    font-size: var(--font-sm);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: var(--space-md);
}

.case-study__visual {
    display: flex;
    align-items: center;
    justify-content: center;
}

.case-study__image {
    width: 100%;
    height: auto;
    border-radius: var(--radius-sm);
}

.case-study__client {
    color: var(--color-text-primary);
    font-size: var(--font-body);
    margin-top: var(--space-md);
    font-weight: 600;
}

.case-study__content-text {
    margin-top: var(--space-md);
    color: var(--color-text-secondary);
    line-height: 1.6;
}

.case-study__content-text p {
    margin-bottom: var(--space-sm);
}

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

.case-study__content-text ul,
.case-study__content-text ol {
    margin: var(--space-sm) 0;
    padding-left: var(--space-lg);
}

.case-study__content-text li {
    margin-bottom: var(--space-xs);
}

.case-study__content-text strong {
    font-weight: var(--font-weight-bold);
}

.case-study__content-text em {
    font-style: italic;
}

/* Стили для дополнительного контента (content) в соответствии с дизайн-системой */
.case-study__content-text h1,
.case-study__content-text h2,
.case-study__content-text h3,
.case-study__content-text h4,
.case-study__content-text h5,
.case-study__content-text h6 {
    font-family: var(--font-family);
    color: var(--color-text-primary);
    margin: var(--space-lg) 0 var(--space-md) 0;
    line-height: 1.2;
}

.case-study__content-text h1 {
    font-size: var(--font-h1);
    font-weight: 800;
}

.case-study__content-text h2 {
    font-size: var(--font-h2);
    font-weight: 700;
}

.case-study__content-text h3 {
    font-size: var(--font-h3);
    font-weight: 700;
}

.case-study__content-text h4 {
    font-size: var(--font-lead);
    font-weight: 600;
}

.case-study__content-text h5,
.case-study__content-text h6 {
    font-size: var(--font-body);
    font-weight: 600;
}

.case-study__content-text blockquote {
    font-family: var(--font-family);
    font-size: var(--font-lead);
    font-style: italic;
    color: var(--color-text-primary);
    border-left: 4px solid var(--color-accent-orange);
    padding-left: var(--space-lg);
    margin: var(--space-lg) 0;
    background: rgba(228, 114, 57, 0.05);
    padding: var(--space-md) var(--space-lg);
    border-radius: var(--radius-sm);
}

.case-study__content-text table {
    font-family: var(--font-family);
    font-size: var(--font-body);
    width: 100%;
    border-collapse: collapse;
    margin: var(--space-lg) 0;
    background: var(--color-bg);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.case-study__content-text th,
.case-study__content-text td {
    padding: var(--space-md);
    text-align: left;
    border-bottom: 1px solid var(--color-ui-gray-200);
}

.case-study__content-text th {
    background: var(--color-ui-gray-200);
    font-weight: 600;
    color: var(--color-text-primary);
}

.case-study__content-text a {
    color: var(--color-accent-orange);
    text-decoration: none;
    transition: color 0.3s ease;
}

.case-study__content-text a:hover {
    color: var(--color-accent-teal);
    text-decoration: underline;
}

.case-study__content-text img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    margin: var(--space-md) 0;
}

.case-study__content-text code {
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
    font-size: var(--font-caption);
    background: var(--color-ui-gray-200);
    padding: 2px 6px;
    border-radius: var(--radius-sm);
    color: var(--color-text-primary);
}

.case-study__content-text pre {
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
    font-size: var(--font-caption);
    background: var(--color-ui-gray-200);
    padding: var(--space-md);
    border-radius: var(--radius-md);
    overflow-x: auto;
    margin: var(--space-md) 0;
}

.case-study__content-text pre code {
    background: none;
    padding: 0;
}

.case-study__video {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    border-radius: var(--radius-sm);
    overflow: hidden;
    background: var(--color-ui-gray-200);
    margin: var(--space-lg) 0;
}

.case-study__video-iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    border-radius: var(--radius-sm);
}

.case-study__video-element {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    border-radius: var(--radius-sm);
    object-fit: cover;
}

/* Стили для загрузки видео */
.case-study__video::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    background: rgba(0, 0, 0, 0.7);
    border-radius: 50%;
    z-index: 1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.case-study__video:hover::before {
    opacity: 1;
}

.case-study__video::after {
    content: '▶';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 20px;
    color: white;
    z-index: 2;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.case-study__video:hover::after {
    opacity: 1;
}

/* Hide play button when video is playing */
.case-study__video.playing::before,
.case-study__video.playing::after {
    opacity: 0 !important;
}

/* Visual feedback for iframe clicks */
.case-study__video.clicked {
    transform: scale(0.98);
    transition: transform 0.2s ease;
}

/* Make iframe videos more interactive - no play button overlay */
.case-study__video:has(.case-study__video-iframe) {
    cursor: default;
}

.case-study__video:has(.case-study__video-iframe)::before,
.case-study__video:has(.case-study__video-iframe)::after {
    display: none !important;
}

/* Ensure iframe is properly sized and clickable */
.case-study__video-iframe {
    pointer-events: auto;
    cursor: pointer;
}


/* Case Study Mobile Styles */
@media (max-width: 768px) {
    .case-study__content {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
        padding: var(--space-lg);
        margin-bottom: var(--space-xl);
    }

    .case-study__text {
        padding-right: 0;
        order: 1;
    }

    .case-study__visual {
        order: 2;
    }

    .case-study__title {
        font-size: var(--font-h3);
        margin-bottom: var(--space-sm);
    }

.case-study__description {
    font-size: var(--font-body);
    margin-bottom: var(--space-lg);
    line-height: 1.6;
}

.case-study__description p {
    margin-bottom: var(--space-sm);
}

.case-study__description p:last-child {
    margin-bottom: 0;
}

.case-study__description ul,
.case-study__description ol {
    margin: var(--space-sm) 0;
    padding-left: var(--space-lg);
}

.case-study__description li {
    margin-bottom: var(--space-xs);
}

.case-study__description strong {
    font-weight: var(--font-weight-bold);
}

.case-study__description em {
    font-style: italic;
}

/* Стили для CKEditor контента в соответствии с дизайн-системой */
.case-study__description h1,
.case-study__description h2,
.case-study__description h3,
.case-study__description h4,
.case-study__description h5,
.case-study__description h6 {
    font-family: var(--font-family);
    color: var(--color-text-primary);
    margin: var(--space-lg) 0 var(--space-md) 0;
    line-height: 1.2;
}

.case-study__description h1 {
    font-size: var(--font-h1);
    font-weight: 800;
}

.case-study__description h2 {
    font-size: var(--font-h2);
    font-weight: 700;
}

.case-study__description h3 {
    font-size: var(--font-h3);
    font-weight: 700;
}

.case-study__description h4 {
    font-size: var(--font-lead);
    font-weight: 600;
}

.case-study__description h5,
.case-study__description h6 {
    font-size: var(--font-body);
    font-weight: 600;
}

.case-study__description p {
    font-family: var(--font-family);
    font-size: var(--font-body);
    line-height: 1.6;
    color: var(--color-text-secondary);
    margin-bottom: var(--space-sm);
}

.case-study__description ul,
.case-study__description ol {
    font-family: var(--font-family);
    font-size: var(--font-body);
    line-height: 1.6;
    color: var(--color-text-secondary);
    margin: var(--space-sm) 0;
    padding-left: var(--space-lg);
}

.case-study__description li {
    margin-bottom: var(--space-xs);
}

.case-study__description blockquote {
    font-family: var(--font-family);
    font-size: var(--font-lead);
    font-style: italic;
    color: var(--color-text-primary);
    border-left: 4px solid var(--color-accent-orange);
    padding-left: var(--space-lg);
    margin: var(--space-lg) 0;
    background: rgba(228, 114, 57, 0.05);
    padding: var(--space-md) var(--space-lg);
    border-radius: var(--radius-sm);
}

.case-study__description table {
    font-family: var(--font-family);
    font-size: var(--font-body);
    width: 100%;
    border-collapse: collapse;
    margin: var(--space-lg) 0;
    background: var(--color-bg);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.case-study__description th,
.case-study__description td {
    padding: var(--space-md);
    text-align: left;
    border-bottom: 1px solid var(--color-ui-gray-200);
}

.case-study__description th {
    background: var(--color-ui-gray-200);
    font-weight: 600;
    color: var(--color-text-primary);
}

.case-study__description a {
    color: var(--color-accent-orange);
    text-decoration: none;
    transition: color 0.3s ease;
}

.case-study__description a:hover {
    color: var(--color-accent-teal);
    text-decoration: underline;
}

.case-study__description img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    margin: var(--space-md) 0;
}

.case-study__description code {
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
    font-size: var(--font-caption);
    background: var(--color-ui-gray-200);
    padding: 2px 6px;
    border-radius: var(--radius-sm);
    color: var(--color-text-primary);
}

.case-study__description pre {
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
    font-size: var(--font-caption);
    background: var(--color-ui-gray-200);
    padding: var(--space-md);
    border-radius: var(--radius-md);
    overflow-x: auto;
    margin: var(--space-md) 0;
}

.case-study__description pre code {
    background: none;
    padding: 0;
}

    .case-study__metrics {
        margin: var(--space-lg) 0;
        padding: var(--space-md);
    }

    .case-study__metrics-grid {
        grid-template-columns: 1fr;
        gap: var(--space-sm);
    }

    .case-study__metric {
        padding: var(--space-xs) 0;
    }

    .case-study__metric-number {
        font-size: var(--font-h5);
    }

    .case-study__metric-label {
        font-size: var(--font-caption);
    }

    .case-study__features-title {
        font-size: var(--font-h4);
        margin-bottom: var(--space-sm);
    }

    .case-study__feature-item {
        font-size: var(--font-caption);
        margin-bottom: var(--space-xs);
    }

}

@media (max-width: 480px) {
    .case-study__content {
        padding: var(--space-md);
        margin-bottom: var(--space-lg);
    }

    .case-study__title {
        font-size: var(--font-h4);
    }

    .case-study__description {
        font-size: var(--font-caption);
    }

    .case-study__video {
        margin: var(--space-md) 0;
        border-radius: var(--radius-sm);
    }

    .case-study__video-iframe,
    .case-study__video-element {
        border-radius: var(--radius-sm);
    }

    .case-study__metrics {
        padding: var(--space-sm);
    }

    .case-study__metrics-grid {
        gap: var(--space-xs);
    }

    .case-study__metric {
        padding: var(--space-xs) 0;
    }

    .case-study__metric-number {
        font-size: var(--font-h5);
    }

    .case-study__video {
        margin: var(--space-sm) 0;
        border-radius: var(--radius-sm);
    }

    .case-study__video-iframe,
    .case-study__video-element {
        border-radius: var(--radius-sm);
    }

    .case-study__video::before {
        width: 40px;
        height: 40px;
    }

    .case-study__video::after {
        font-size: 16px;
    }

    .case-study__feature-item {
        font-size: 12px;
        padding-left: var(--space-md);
    }

    .case-study__feature-icon {
        width: 12px;
        height: 12px;
    }
}




/* FAQ Section */
.faq {
    padding: var(--space-3xl) 0;
    background: var(--color-bg);
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid var(--color-ui-gray-200);
}

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

.faq-question {
    width: 100%;
    background: none;
    border: none;
    padding: var(--space-xl) 0;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: var(--font-body);
    font-weight: 600;
    color: var(--color-text-primary);
    transition: color 0.3s ease;
}

.faq-question:hover {
    color: var(--color-accent-orange);
}

.faq-icon {
    transition: transform 0.3s ease;
    color: var(--color-accent-orange);
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer p {
    padding: 0 0 var(--space-xl) 0;
    margin: 0;
    font-size: var(--font-body);
    color: var(--color-text-secondary);
    line-height: 1.6;
}

/* Final CTA Section */
.final-cta {
    padding: var(--space-3xl) 0;
    background: var(--color-text-primary);
    color: var(--color-bg);
}

.cta-button-large {
    background: var(--color-accent-orange);
    color: var(--color-bg);
    border: none;
    padding: var(--space-lg) var(--space-2xl);
    border-radius: var(--radius-pill);
    font-size: var(--font-lead);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    min-height: 44px;
}

.cta-button-large:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    background: #d15d2a;
}

/* Footer Section */
.footer {
    padding: var(--space-2xl) 0;
    background: var(--color-ui-gray-200);
    border-top: 1px solid var(--color-ui-gray-200);
}

.footer__content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2xl);
    margin-bottom: var(--space-2xl);
}

.footer__contacts {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.footer__title {
    font-size: var(--font-h3);
    font-weight: 700;
    color: var(--color-text-primary);
    margin-bottom: var(--space-sm);
}

.footer__contact-item {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    color: var(--color-text-secondary);
}

.footer__contact-item a {
    color: var(--color-text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer__contact-item a:hover {
    color: var(--color-accent-orange);
}

.footer__social {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.footer__subtitle {
    font-size: var(--font-h4);
    font-weight: 600;
    color: var(--color-text-primary);
    margin-bottom: var(--space-sm);
}

.footer__social-links {
    display: flex;
    gap: var(--space-md);
    flex-wrap: wrap;
}

.footer__social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: var(--color-bg);
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid var(--color-ui-gray-300);
}

.footer__social-link:hover {
    background: var(--color-accent-orange);
    border-color: var(--color-accent-orange);
    transform: translateY(-2px);
}

.footer__social-icon {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.footer__social-text {
    font-size: var(--font-small);
    color: var(--color-text-secondary);
}

.footer__legal {
    border-top: 1px solid var(--color-ui-gray-300);
    padding-top: var(--space-xl);
}

.legal-title {
    font-size: var(--font-h4);
    font-weight: 600;
    color: var(--color-text-primary);
    text-align: center;
    margin-bottom: var(--space-lg);
}

.legal-requisites {
    text-align: center;
    margin-bottom: var(--space-lg);
    padding: var(--space-md);
    background: var(--color-ui-gray-100);
    border-radius: var(--border-radius);
    border: 1px solid var(--color-ui-gray-200);
}

.legal-requisites p {
    margin: 0 0 var(--space-xs) 0;
    font-size: var(--font-small);
    color: var(--color-text-secondary);
    line-height: 1.4;
}

.legal-requisites p:last-child {
    margin-bottom: 0;
}

.legal-links {
    display: flex;
    justify-content: center;
    gap: var(--space-2xl);
    flex-wrap: wrap;
}

.legal-links a {
    color: var(--color-text-secondary);
    text-decoration: none;
    font-size: var(--font-body);
    transition: color 0.3s ease;
}

.legal-links a:hover {
    color: var(--color-accent-orange);
}

/* CTA Section */
.cta-section {
    padding: var(--space-3xl) 0;
    background: var(--color-text-primary);
    color: var(--color-bg);
}

.cta-content {
    text-align: center;
}

.cta-title {
    font-size: var(--font-h2);
    font-weight: 700;
    margin-bottom: var(--space-lg);
    color: var(--color-bg);
}

.cta-subtitle {
    font-size: var(--font-lead);
    color: var(--color-bg);
    opacity: 0.9;
    margin-bottom: var(--space-2xl);
    max-width: 72ch;
    margin-left: auto;
    margin-right: auto;
}

.cta-button-large {
    background: var(--color-accent-orange);
    color: var(--color-bg);
    border: none;
    padding: var(--space-lg) var(--space-2xl);
    border-radius: var(--radius-pill);
    font-size: var(--font-lead);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    min-height: 44px;
}

.cta-button-large:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    background: #d15d2a;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero__content {
        flex-direction: column;
        gap: var(--space-2xl);
        text-align: center;
    }

    .hero__text {
        order: 1;
        padding-right: 0;
        max-width: 100%;
    }

    .hero__image {
        order: 2;
        height: 40vh;
        max-width: 100%;
        width: 100%;
    }

    .hero-stats {
        justify-content: center;
    }

    .offer__content {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
        text-align: center;
    }

    .offer__text {
        padding-right: 0;
        order: 1;
    }

    .offer__visual {
        order: 2;
        min-height: 300px;
    }

    .offer__title {
        font-size: var(--font-h2);
        line-height: 1.2;
    }

    .offer__benefits {
        gap: var(--space-sm);
    }

    .offer__benefit {
        padding: var(--space-sm);
        gap: var(--space-xs);
    }

    .offer__benefit-label,
    .offer__benefit-text {
        font-size: var(--font-caption);
    }

    .car-brands__content {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
        text-align: center;
    }

    .car-brands__text {
        padding-left: 0;
        order: 2;
    }

    .car-brands__grid {
        order: 1;
        grid-template-columns: repeat(3, 1fr);
        gap: var(--space-md);
    }

    .car-brands__title {
        font-size: var(--font-h3);
        line-height: 1.2;
    }

    .services__content {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
        text-align: center;
    }

    .services__text {
        padding-right: 0;
        order: 1;
    }

    .services__grid {
        order: 2;
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-md);
    }

    .services__title {
        font-size: var(--font-h3);
        line-height: 1.2;
    }

    .market-structure__content {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }

    .market-structure__visual {
        display: none;
    }

    .market-structure__text {
        order: 1;
        padding-left: 0;
    }

    .market-structure__title {
        font-size: var(--font-h3);
        line-height: 1.2;
    }

    .market-structure__mobile-image {
        display: flex;
    }

    .problem-item {
        padding: var(--space-sm);
    }

    .market-structure__costs {
        padding: var(--space-md);
    }

    .cost-total-value {
        font-size: var(--font-lg);
    }

    .cost-result-text {
        font-size: var(--font-body);
    }

    .lk__content {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
        text-align: center;
    }

    .lk__text {
        padding-right: 0;
        order: 1;
    }

    .lk__visual {
        order: 2;
        min-height: 400px;
        height: auto;
        margin-right: 0;
        width: 100%;
    }

    .lk__image {
        position: static;
        clip-path: none;
        object-fit: contain;
        height: auto;
    }

    .lk__title {
        font-size: var(--font-h3);
        line-height: 1.2;
    }

    .how-we-get-clients__title {
        font-size: 1.5rem;
        margin-bottom: var(--space-lg);
    }

    .process-flow {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: var(--space-sm);
        padding: var(--space-sm) 0;
        width: 100%;
        max-width: 100%;
        overflow: hidden;
    }

    .process-flow__step {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: var(--space-xs);
        background: var(--color-bg-light);
        border-radius: var(--radius-sm);
        min-width: 0;
        width: 100%;
    }

    .process-flow__image {
        width: 80px;
        height: 80px;
        margin-bottom: var(--space-xs);
    }

    .process-flow__text {
        font-size: 0.7rem;
        text-align: center;
        margin: 0;
        line-height: 1.2;
        word-wrap: break-word;
    }

    .process-flow__step:nth-child(5) {
        grid-column: 1 / -1;
        max-width: 50%;
        margin: 0 auto;
    }

    .process-flow__arrow {
        display: none;
    }

    .process-flow::before {
        display: none;
    }

}

@media (max-width: 768px) {
    .hero {
        min-height: auto;
        padding: calc(70px + var(--space-2xl)) 0 var(--space-2xl) 0;
    }

    .hero__content {
        flex-direction: column;
        gap: var(--space-lg);
        text-align: center;
    }

    .hero__text {
        order: 1;
        padding-right: 0;
        max-width: 100%;
    }

    .hero__title {
        font-size: var(--font-h2);
        line-height: 1.2;
    }

    /* Show mobile content, hide desktop image */
    .hero__content-mobile {
        display: block;
        margin-top: var(--space-lg);
    }

    .hero__image--desktop {
        display: none;
    }

    /* Hide desktop content on mobile */
    .hero__subtitle,
    .hero__bullets,
    .hero__ctas {
        display: none;
    }

    .hero__image {
        order: 1;
        height: 40vh;
        max-width: 100%;
        width: 100%;
        margin: var(--space-lg) 0;
    }

    /* Show mobile content after image */
    .hero__content-mobile .hero__subtitle,
    .hero__content-mobile .hero__bullets,
    .hero__content-mobile .hero__ctas {
        display: block;
    }

    .hero__content-mobile .hero__subtitle {
        font-size: var(--font-body);
        margin-bottom: var(--space-lg);
    }

    .hero__content-mobile .hero__ctas {
        flex-direction: column;
        gap: var(--space-md);
    }

    /* Offer Section - Mobile */
    .offer__content {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
        text-align: center;
    }

    .offer__text {
        padding-right: 0;
        order: 1;
    }

    .offer__visual {
        order: 2;
        min-height: 300px;
    }

    .offer__title {
        font-size: var(--font-h3);
        line-height: 1.2;
    }

    /* Market Structure - Mobile */
    .market-structure__content {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }

    .market-structure__visual {
        display: none;
    }

    .market-structure__text {
        order: 2;
        padding-left: 0;
    }

    .market-structure__title {
        font-size: var(--font-h3);
        line-height: 1.2;
    }

    /* Services Section - Mobile */
    .services__content {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }

    .services__text {
        order: 1;
        text-align: center;
    }

    .services__grid {
        order: 2;
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }

    /* Case Studies - Mobile */
    .case-studies__content {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }

    .case-studies__text {
        order: 1;
        text-align: center;
    }

    .case-studies__grid {
        order: 2;
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }

    /* Real Cases - Mobile */
    .real-cases__content {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }

    .real-cases__text {
        order: 1;
        text-align: center;
    }

    .real-cases__grid {
        order: 2;
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }

    /* Social Gallery - Mobile */
    .social-gallery__content {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }

    .social-gallery__text {
        order: 1;
        text-align: center;
    }

    .social-gallery__grid {
        order: 2;
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }

    /* FAQ - Mobile */
    .faq__content {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }

    .faq__text {
        order: 1;
        text-align: center;
    }

    .faq__list {
        order: 2;
    }

    /* Contact - Mobile */
    .contact__content {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }

    .contact__text {
        order: 1;
        text-align: center;
    }

    .contact__form {
        order: 2;
    }

    /* Cooperation - Mobile */
    .cooperation-steps {
        flex-direction: column;
        gap: var(--space-lg);
        padding: 0 var(--space-md);
    }

    .cooperation-step {
        max-width: 100%;
        width: 100%;
    }

    .cooperation-arrow {
        transform: rotate(90deg);
        margin: var(--space-sm) 0;
    }

    .cooperation-arrow svg {
        width: 30px;
        height: 15px;
    }

    .step-image {
        width: 180px;
        height: 180px;
        max-width: 100%;
    }

    .cooperation .section-title {
        font-size: var(--font-h3);
        line-height: 1.2;
    }

    .step-title {
        font-size: var(--font-body);
    }

    /* LK Section - Mobile */
    .lk__content {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }

    .lk__text {
        order: 1;
        text-align: center;
    }

    .lk__visual {
        order: 2;
    }

    .lk__title {
        font-size: var(--font-h3);
        line-height: 1.2;
    }

    /* Client Calls - Mobile */
    .client-calls__content {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }

    .client-calls__text {
        order: 1;
        text-align: center;
    }

    .client-calls__audio {
        order: 2;
    }

    .client-calls__title {
        font-size: var(--font-h3);
        line-height: 1.2;
    }

    /* How We Get Clients - Mobile */
    .how-we-get-clients__content {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }

    .how-we-get-clients__text {
        order: 1;
        text-align: center;
    }

    .how-we-get-clients__visual {
        order: 2;
    }

    .how-we-get-clients__title {
        font-size: var(--font-h3);
        line-height: 1.2;
    }

    /* Call to Repair - Mobile */
    .call-to-repair__content {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }

    .call-to-repair__text {
        order: 1;
        text-align: center;
    }

    .call-to-repair__visual {
        order: 2;
    }

    .call-to-repair__title {
        font-size: var(--font-h3);
        line-height: 1.2;
    }

    .new-hero {
        padding: var(--space-xl) 0;
        min-height: auto;
    }

    .new-hero-content {
        flex-direction: column;
        gap: var(--space-xl);
        text-align: center;
    }

    .new-hero-text {
        padding-right: 0;
        max-width: 100%;
        order: 1;
    }

    .new-hero-image {
        max-width: 100%;
        order: 2;
    }

    .new-hero-title {
        font-size: var(--font-h3);
        line-height: 1.2;
        margin-bottom: var(--space-md);
    }

    .new-hero-subtitle {
        font-size: var(--font-body);
        margin-bottom: var(--space-sm);
    }

    .hero {
        padding: calc(70px + var(--space-lg)) 0 var(--space-lg) 0;
        min-height: auto;
    }

    .hero__content {
        flex-direction: column;
        gap: var(--space-lg);
        text-align: center;
        max-width: 100%;
        padding: 0;
    }

    .hero__text {
        padding-right: 0;
        max-width: 100%;
        order: 1;
        width: 100%;
    }

    .hero__image {
        order: 2;
        height: 40vh;
        max-width: 100%;
        width: 100%;
    }

    .hero__img {
        transform: scale(1.0);
        max-width: 100%;
        height: auto;
    }

    .hero__title {
        font-size: var(--font-h2);
        line-height: 1.2;
        margin-bottom: var(--space-md);
    }

    .hero__subtitle {
        font-size: var(--font-body);
        margin-bottom: var(--space-md);
    }

    .hero__ctas {
        flex-direction: column;
        gap: var(--space-sm);
        width: 100%;
        margin-top: var(--space-md);
    }

    .hero__ctas .btn {
        width: 100%;
        justify-content: center;
        padding: var(--space-md) var(--space-lg);
    }
}

@media (max-width: 480px) {
    .hero__title {
        font-size: var(--font-h2);
        line-height: 1.2;
    }

    .hero__subtitle {
        font-size: var(--font-caption);
    }

    .hero__image {
        height: 35vh;
    }

    .hero__img {
        transform: scale(0.9);
    }

    .hero__ctas .btn {
        padding: var(--space-sm) var(--space-md);
        font-size: var(--font-caption);
    }



    .case-header {
        flex-direction: column;
        text-align: center;
        gap: var(--space-sm);
    }

    .case-avatar {
        width: 80px;
        height: 80px;
    }

    .case-earnings {
        align-items: center;
    }


    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-sm);
    }

    .gallery-item {
        aspect-ratio: 1;
    }

    .gallery-overlay {
        padding: var(--space-sm);
    }

    .gallery-play {
        width: 40px;
        height: 40px;
    }


    .calls-grid {
        grid-template-columns: 1fr;
        gap: var(--space-md);
    }

    .call-card {
        padding: var(--space-lg);
    }



    .brands-grid,
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-sm);
    }

    .brand-item,
    .service-item {
        padding: var(--space-sm);
        font-size: var(--font-caption);
    }

    .process-step {
        flex-direction: column;
        text-align: center;
        margin-bottom: var(--space-2xl);
    }

    .process-step .step-icon {
        margin-right: 0;
        margin-bottom: var(--space-lg);
        align-self: center;
    }

    .process-step:not(:last-child)::after {
        display: none;
    }

    .metric-value {
        font-size: var(--font-h2);
    }


    .faq-question {
        font-size: var(--font-caption);
        padding: var(--space-lg) 0;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-lg);
    }

    .stat-value {
        font-size: var(--font-h2);
    }

    .cta-button {
        width: 100%;
        justify-content: center;
    }


    .hero-form {
        padding: var(--space-xl) var(--space-lg);
    }

    .section-title {
        font-size: var(--font-h3);
        line-height: 1.2;
    }

    .cta-title {
        font-size: var(--font-h3);
        line-height: 1.2;
    }

    .offer__content {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
        text-align: center;
    }

    .offer__text {
        padding-right: 0;
        order: 1;
    }

    .offer__visual {
        order: 2;
        min-height: 300px;
    }

    .offer__title {
        font-size: var(--font-h2);
    }

    .offer__benefits {
        gap: var(--space-sm);
    }

    .offer__benefit {
        padding: var(--space-sm);
        gap: var(--space-xs);
    }

    .offer__benefit-label,
    .offer__benefit-text {
        font-size: var(--font-caption);
    }

    .car-brands__content {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
        text-align: center;
    }

    .car-brands__text {
        padding-left: 0;
        order: 2;
    }

    .car-brands__grid {
        order: 1;
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-sm);
    }

    .car-brands__title {
        font-size: var(--font-h2);
    }

    .car-brand-logo {
        max-height: 50px;
    }

    .services__content {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
        text-align: center;
    }

    .services__text {
        padding-right: 0;
        order: 1;
    }

    .services__grid {
        order: 2;
        grid-template-columns: 1fr;
        gap: var(--space-sm);
    }

    .services__title {
        font-size: var(--font-h2);
    }

    .service-item {
        padding: var(--space-md);
    }

    .service-item__image {
        width: 60px;
        height: 60px;
        margin-bottom: var(--space-sm);
    }

    .service-item__title {
        font-size: var(--font-caption);
    }

    .market-structure__content {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }

    .market-structure__visual {
        display: none;
    }

    .market-structure__text {
        order: 2;
        padding-left: 0;
    }

    .market-structure__title {
        font-size: var(--font-h2);
    }

    .problem-item {
        padding: var(--space-xs);
        gap: var(--space-sm);
    }

    .problem-icon {
        font-size: 16px;
    }

    .problem-text {
        font-size: var(--font-sm);
    }

    .market-structure__costs {
        padding: var(--space-sm);
    }

    .cost-item {
        padding: var(--space-xs) 0;
    }

    .cost-label,
    .cost-value {
        font-size: var(--font-sm);
    }

    .cost-total {
        padding: var(--space-sm) 0;
    }

    .cost-total-label {
        font-size: var(--font-body);
    }

    .cost-total-value {
        font-size: var(--font-body);
    }

    .cost-result {
        padding: var(--space-sm);
    }

    .cost-result-text {
        font-size: var(--font-sm);
    }

    .cooperation-steps {
        flex-direction: column;
        gap: var(--space-md);
        flex-wrap: nowrap;
        width: 100%;
        overflow-x: hidden;
        padding: 0 var(--space-sm);
        box-sizing: border-box;
    }

    .cooperation-step {
        max-width: 100%;
        width: 100%;
    }

    .cooperation-arrow {
        transform: rotate(90deg);
        margin: var(--space-xs) 0;
    }

    .cooperation-arrow svg {
        width: 24px;
        height: 12px;
    }

    .step-image {
        width: 200px;
        height: 200px;
        max-width: 100%;
    }

    .cooperation .section-title {
        font-size: var(--font-h3);
        line-height: 1.2;
    }

    .step-title {
        font-size: var(--font-caption);
        font-weight: 500;
    }
}

@media (max-width: 480px) {
    .cooperation-steps {
        padding: 0 var(--space-xs);
        gap: var(--space-sm);
    }

    .step-image {
        width: 180px;
        height: 180px;
    }

    .cooperation-arrow svg {
        width: 20px;
        height: 10px;
    }

    .cooperation .section-title {
        font-size: var(--font-h2);
    }

    .step-title {
        font-size: 12px;
    }


    .price-amount {
        font-size: var(--font-h3);
        line-height: 1.2;
    }

    .step {
        flex-direction: column;
        text-align: center;
        margin-bottom: var(--space-2xl);
    }

    .step-icon {
        margin-right: 0;
        margin-bottom: var(--space-lg);
        align-self: center;
    }

    .step:not(:last-child)::after {
        display: none;
    }

    .how-we-get-clients__title {
        font-size: var(--font-h3);
        line-height: 1.2;
    }


    .lk__content {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
        text-align: center;
    }

    .lk__text {
        padding-right: 0;
        order: 1;
    }

    .lk__visual {
        order: 2;
        min-height: 300px;
        height: auto;
        margin-right: 0;
        width: 100%;
    }

    .lk__image {
        position: static;
        clip-path: none;
        object-fit: contain;
        height: auto;
    }

    .lk__title {
        font-size: var(--font-h3);
        line-height: 1.2;
    }

    .brands-grid,
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }


    .cases-carousel {
        gap: var(--space-md);
        padding: 0 var(--space-md);
    }

    .carousel-nav {
        display: none;
    }

    .cases-grid {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        padding-right: var(--space-md);
        scroll-snap-type: x mandatory;
    }

    .case-card {
        flex: 0 0 280px;
        min-height: auto;
        margin-right: var(--space-md);
        scroll-snap-align: start;
    }

    .real-case-metrics {
        gap: var(--space-sm);
    }

    .metric-value {
        font-size: 0.9rem;
        font-weight: 600;
    }

    .metric-label {
        font-size: 0.65rem;
    }

    .case-stats {
        gap: var(--space-sm);
    }

    .stat-value {
        font-size: 0.9rem;
        font-weight: 600;
    }

    .stat-label {
        font-size: 0.65rem;
    }

    .case-name {
        font-size: 1rem;
        font-weight: 600;
    }


    .carousel-scroll-indicator {
        display: block;
        text-align: center;
        margin-top: var(--space-lg);
        padding: 0 var(--space-md);
    }

    .scroll-hint {
        font-size: 0.875rem;
        color: var(--color-text-secondary);
        opacity: 0.8;
    }

    .legal-links {
        flex-direction: column;
        gap: var(--space-md);
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-xl);
    }

    .new-hero-content {
        flex-direction: column;
        gap: var(--space-2xl);
        text-align: center;
    }

    .new-hero-text {
        padding-right: 0;
        max-width: 100%;
    }

    .new-hero-image {
        max-width: 80%;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: calc(70px + var(--space-xl)) 0 var(--space-xl) 0;
    }

    .hero__title {
        font-size: var(--font-h2);
        line-height: 1.2;
    }

    .hero__subtitle {
        font-size: var(--font-caption);
    }

    .hero__image {
        height: 30vh;
    }

    .hero-form {
        padding: var(--space-lg) var(--space-md);
    }

    .cta-button,
    .cta-button-large {
        width: 100%;
        justify-content: center;
    }
}

/* Phone Input Mask */
#phone {
    position: relative;
}

#phone::placeholder {
    color: #9ca3af;
}

/* Form Validation */
.form-group input:invalid:not(:placeholder-shown) {
    border-color: #ef4444;
}

.form-group input:valid:not(:placeholder-shown) {
    border-color: #10b981;
}

/* Loading State */
.cta-button:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.cta-button:disabled:hover {
    transform: none;
    box-shadow: none;
}

/* Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

.hero-text,
.hero-form,
.benefit-card {
    animation: fadeInUp 0.8s ease-out;
}

.benefit-card:nth-child(2) {
    animation-delay: 0.2s;
}

.benefit-card:nth-child(3) {
    animation-delay: 0.4s;
}

/* Call to Repair Section - Mobile */
@media (max-width: 768px) {
    .call-to-repair__content {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }

    .call-to-repair__title {
        font-size: var(--font-h2);
        margin-bottom: var(--space-xl);
    }

    .call-to-repair__mobile-image {
        display: flex;
    }

    .call-to-repair__visual {
        display: none;
    }

    .call-to-repair__text {
        gap: var(--space-lg);
    }

    /* Case Study - Mobile */
    .case-study__content {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }

    .case-study__text {
        padding-right: 0;
    }

    .case-study__title {
        font-size: var(--font-h3);
        margin-bottom: var(--space-sm);
    }

    .case-study__visual {
        margin-right: 0;
        width: 100%;
    }

    .case-study__image-wrapper {
        position: relative;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        border-radius: var(--radius-lg);
        clip-path: none;
    }


    .roi-metrics {
        flex-direction: column;
        gap: var(--space-lg);
    }

    .roi-card {
        padding: var(--space-lg);
    }

    .roi-value {
        font-size: var(--font-h2);
    }

    .video-testimonial__content {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }

    .video-testimonial__text {
        padding-right: 0;
    }

    .video-testimonial__title {
        font-size: var(--font-h3);
        line-height: 1.2;
        margin-bottom: var(--space-md);
    }

    .video-testimonial__visual {
        max-width: 100%;
    }
}

/* Scroll animations */
section {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease-out;
}

section.animate-in {
    opacity: 1;
    transform: translateY(0);
}

/* Video Testimonial Section */
.video-testimonial {
    padding: var(--space-3xl) 0;
    background: var(--color-bg-accent);
    position: relative;
    overflow: hidden;
}

.video-testimonial__content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.video-testimonial__text {
    padding-right: var(--space-xl);
}

.video-testimonial__title {
    font-size: var(--font-display-lg);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: var(--space-lg);
    color: var(--color-text-primary);
    position: relative;
}

.video-testimonial__title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 60px;
    height: 4px;
    background: var(--color-accent-orange);
    border-radius: var(--radius-sm);
}

.video-testimonial__description {
    font-size: var(--font-body);
    font-weight: 500;
    color: var(--color-text-secondary);
    margin-bottom: var(--space-xl);
    line-height: 1.6;
}

.video-testimonial__features {
    margin-bottom: var(--space-xl);
}

.testimonial-feature {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    margin-bottom: var(--space-md);
}

.testimonial-feature__icon {
    width: 24px;
    height: 24px;
    background: var(--color-accent-orange);
    color: var(--color-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 14px;
    flex-shrink: 0;
}

.testimonial-feature__text {
    font-size: var(--font-body);
    color: var(--color-text-secondary);
    font-weight: 500;
}

.video-testimonial__note {
    font-size: var(--font-body);
    color: var(--color-text-secondary);
    font-style: italic;
    opacity: 0.9;
}

.video-testimonial__visual {
    position: relative;
    max-width: 500px;
    margin: 0 auto;
}

.video-testimonial__video-wrapper {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    background: var(--color-ui-gray-100);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.video-testimonial__video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

/* Image Modal Styles */
#imageModal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    transition: all 0.3s ease;
}

#imageModal.active {
    display: flex;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.modal-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.close {
    position: absolute;
    top: -50px;
    right: 0;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10001;
    font-size: 20px;
}

.close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.modal-image {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
}

/* Mobile Modal Styles */
@media (max-width: 768px) {
    .modal-content {
        max-width: 95vw;
        max-height: 95vh;
        padding: var(--space-md);
    }

    .close {
        top: -40px;
        width: 35px;
        height: 35px;
        font-size: 18px;
    }
}

/* ============================================
   LEAD MODAL - BEM METHODOLOGY
   Полностью изолированные стили с префиксом lead-modal
   ============================================ */

/* Блок: lead-modal */
.lead-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10001; /* Выше imageModal (10000) */
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    opacity: 0;
    transition: opacity 0.3s ease;
}

/* Модификатор: lead-modal--visible */
.lead-modal--visible {
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
}

/* Элемент: lead-modal__overlay */
.lead-modal__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

/* Элемент: lead-modal__container */
.lead-modal__container {
    position: relative;
    width: 100%;
    max-width: 480px;
    margin: var(--space-lg);
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.lead-modal--visible .lead-modal__container {
    transform: scale(1);
}

/* Элемент: lead-modal__content */
.lead-modal__content {
    background: var(--color-bg);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    position: relative;
    max-width: 100%;
}

/* Элемент: lead-modal__header */
.lead-modal__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-xl) var(--space-xl) var(--space-lg);
    border-bottom: 1px solid var(--color-ui-gray-200);
}

/* Элемент: lead-modal__title */
.lead-modal__title {
    font-size: var(--font-h3);
    font-weight: 700;
    color: var(--color-text-primary);
    margin: 0;
}

/* Элемент: lead-modal__close */
.lead-modal__close {
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--space-xs);
    border-radius: var(--border-radius);
    color: var(--color-text-secondary);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lead-modal__close:hover {
    background: var(--color-ui-gray-100);
    color: var(--color-text-primary);
}

.lead-modal__close:focus {
    outline: 2px solid var(--color-accent-orange);
    outline-offset: 2px;
}

/* Элемент: lead-modal__body */
.lead-modal__body {
    padding: var(--space-xl);
}

/* Элемент: lead-modal__description */
.lead-modal__description {
    color: var(--color-text-secondary);
    font-size: var(--font-body);
    margin-bottom: var(--space-xl);
    text-align: center;
}

/* ============================================
   LEAD MODAL FORM - BEM METHODOLOGY
   ============================================ */

/* Элемент: lead-modal__form */
.lead-modal__form {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

/* Элемент: lead-modal__form-group */
.lead-modal__form-group {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
}


/* Элемент: lead-modal__form-control */
.lead-modal__form-control {
    padding: var(--space-md);
    border: 2px solid var(--color-ui-gray-200);
    border-radius: var(--border-radius);
    font-size: var(--font-body);
    color: var(--color-text-primary);
    background: var(--color-bg);
    transition: all 0.3s ease;
    width: 100%;
    box-sizing: border-box;
}

.lead-modal__form-control:focus {
    outline: none;
    border-color: var(--color-accent-orange);
    box-shadow: 0 0 0 3px rgba(228, 114, 57, 0.1);
}

.lead-modal__form-control:invalid {
    border-color: var(--color-accent-red);
}

/* Элемент: lead-modal__error-message */
.lead-modal__error-message {
    font-size: var(--font-small);
    color: var(--color-accent-red);
    margin-top: var(--space-xs);
    display: none;
}

/* Элемент: lead-modal__help-text */
.lead-modal__help-text {
    font-size: var(--font-small);
    color: var(--color-text-secondary);
    margin-top: var(--space-xs);
}

/* Элемент: lead-modal__form-actions */
.lead-modal__form-actions {
    margin-top: var(--space-lg);
}

/* ============================================
   LEAD MODAL BUTTON - BEM METHODOLOGY
   ============================================ */

/* Элемент: lead-modal__btn */
.lead-modal__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-md) var(--space-xl);
    border: none;
    border-radius: var(--radius-pill);
    font-size: var(--font-body);
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

/* Модификатор: lead-modal__btn--primary */
.lead-modal__btn--primary {
    background: var(--color-accent-orange);
    color: var(--color-bg);
}

.lead-modal__btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    background: #d15d2a;
}

.lead-modal__btn--primary:focus {
    outline: 2px solid var(--color-accent-orange);
    outline-offset: 2px;
}

/* Модификатор: lead-modal__btn--full-width */
.lead-modal__btn--full-width {
    width: 100%;
}

/* Элемент: lead-modal__btn-text */
.lead-modal__btn-text {
    display: inline;
}

/* Элемент: lead-modal__btn-loading */
.lead-modal__btn-loading {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

/* Элемент: lead-modal__spinner */
.lead-modal__spinner {
    animation: lead-modal-spin 1s linear infinite;
}

@keyframes lead-modal-spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Comprehensive Mobile Styles for 768px */
@media (max-width: 768px) {
    /* Offer Section - Mobile */
    .offer__content {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
        text-align: center;
    }

    .offer__text {
        padding-right: 0;
        order: 1;
    }

    .offer__visual {
        order: 2;
        min-height: 300px;
    }

    .offer__title {
        font-size: var(--font-h3);
        line-height: 1.2;
    }

    /* Market Structure - Mobile */
    .market-structure__content {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }

    .market-structure__visual {
        display: none;
    }

    .market-structure__text {
        order: 2;
        padding-left: 0;
    }

    .market-structure__title {
        font-size: var(--font-h3);
        line-height: 1.2;
    }

    /* Services Section - Mobile */
    .services__content {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }

    .services__text {
        order: 1;
        text-align: center;
    }

    .services__grid {
        order: 2;
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-md);
    }

    .services__title {
        font-size: var(--font-h3);
        line-height: 1.2;
    }

    /* Case Studies - Mobile */
    .case-study__content {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }

    .case-study__text {
        order: 1;
        text-align: center;
        padding-right: 0;
    }

    .case-study__visual {
        order: 2;
    }

    .case-study__title {
        font-size: var(--font-h3);
    }

    /* Real Cases - Mobile */
    .real-cases__content {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }

    .real-cases__text {
        order: 1;
        text-align: center;
    }

    .real-cases__grid {
        order: 2;
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }

    .real-cases__title {
        font-size: var(--font-h3);
        line-height: 1.2;
    }

    /* Social Gallery - Mobile */
    .social-gallery__content {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }

    .social-gallery__text {
        order: 1;
        text-align: center;
    }

    .social-gallery__grid {
        order: 2;
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }

    .social-gallery__title {
        font-size: var(--font-h3);
        line-height: 1.2;
    }

    /* FAQ - Mobile */
    .faq__content {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }

    .faq__text {
        order: 1;
        text-align: center;
    }

    .faq__list {
        order: 2;
    }

    .faq__title {
        font-size: var(--font-h3);
        line-height: 1.2;
    }

    /* Contact - Mobile */
    .contact__content {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }

    .contact__text {
        order: 1;
        text-align: center;
    }

    .contact__form {
        order: 2;
    }

    .contact__title {
        font-size: var(--font-h3);
        line-height: 1.2;
    }

    /* Cooperation - Mobile */
    .cooperation-steps {
        flex-direction: column;
        gap: var(--space-lg);
        padding: 0 var(--space-md);
    }

    .cooperation-step {
        max-width: 100%;
        width: 100%;
    }

    .cooperation-arrow {
        transform: rotate(90deg);
        margin: var(--space-sm) 0;
    }

    .cooperation-arrow svg {
        width: 30px;
        height: 15px;
    }

    .step-image {
        width: 180px;
        height: 180px;
        max-width: 100%;
    }

    .cooperation .section-title {
        font-size: var(--font-h3);
        line-height: 1.2;
    }

    .step-title {
        font-size: var(--font-body);
    }

    /* LK Section - Mobile */
    .lk__content {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }

    .lk__text {
        order: 1;
        text-align: center;
    }

    .lk__visual {
        order: 2;
    }

    .lk__title {
        font-size: var(--font-h3);
        line-height: 1.2;
    }

    /* Client Calls - Mobile */
    .client-calls__content {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }

    .client-calls__text {
        order: 1;
        text-align: center;
    }

    .client-calls__audio {
        order: 2;
    }

    .client-calls__title {
        font-size: var(--font-h3);
        line-height: 1.2;
    }

    /* How We Get Clients - Mobile */
    .how-we-get-clients__content {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }

    .how-we-get-clients__text {
        order: 1;
        text-align: center;
    }

    .how-we-get-clients__visual {
        order: 2;
    }

    .how-we-get-clients__title {
        font-size: var(--font-h3);
        line-height: 1.2;
    }

    /* Car Brands - Mobile */
    .car-brands__content {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
        text-align: center;
    }

    .car-brands__text {
        order: 1;
    }

    .car-brands__grid {
        order: 2;
        grid-template-columns: repeat(3, 1fr);
        gap: var(--space-md);
    }

    .car-brands__title {
        font-size: var(--font-h3);
        line-height: 1.2;
    }

    /* Video Testimonial - Mobile */
    .video-testimonial__content {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }

    .video-testimonial__text {
        order: 1;
        text-align: center;
        padding-right: 0;
    }

    .video-testimonial__visual {
        order: 2;
        max-width: 100%;
    }

    .video-testimonial__title {
        font-size: var(--font-h3);
        line-height: 1.2;
    }

    /* Final CTA - Mobile */
    .final-cta__content {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
        text-align: center;
    }

    .final-cta__text {
        order: 1;
    }

    .final-cta__form {
        order: 2;
    }

    .final-cta__title {
        font-size: var(--font-h3);
        line-height: 1.2;
    }

    /* Footer - Mobile */
    .footer__content {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
        text-align: center;
    }

    .footer__contacts {
        order: 1;
    }

    .footer__social {
        order: 2;
    }

    .footer__social-links {
        justify-content: center;
    }

    .footer__social-link {
        width: 44px;
        height: 44px;
    }

    .footer__social-icon {
        width: 22px;
        height: 22px;
    }

    .legal-links {
        flex-direction: column;
        gap: var(--space-md);
    }

    /* Lead Modal Mobile */
    .lead-modal__container {
        margin: var(--space-sm);
        max-width: calc(100% - var(--space-md));
    }

    .lead-modal__header {
        padding: var(--space-lg);
    }

    .lead-modal__body {
        padding: var(--space-lg);
    }

    .lead-modal__title {
        font-size: var(--font-h4);
    }
}
