﻿/* Scroll lock helper */
.no-scroll {
    overflow: hidden;
}
/* Состояние скрытого хедера для всех брейкпоинтов */
.header--hidden {
    transform: translateY(-100%);
}
/* Smooth scrolling */
html {
    scroll-behavior: smooth;
    width: 100%;
    max-width: 100%;

}

/* Import fonts */
@font-face {
    font-family: 'InterTight';
    src: url('fonts/InterTight-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'InterTight';
    src: url('fonts/InterTight-SemiBold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
}

@font-face {
    font-family: 'InterTight';
    src: url('fonts/InterTight-Light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: 'Unbounded';
    src: url('fonts/Unbounded-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Unbounded';
    src: url('fonts/Unbounded-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'Unbounded';
    src: url('fonts/Unbounded-Light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
}

/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'InterTight', sans-serif;
    background-color: #000000;
    color: #ffffff;
    line-height: 1.6;
    overflow-x: hidden;
    word-wrap: break-word;
    overflow-wrap: break-word;
    word-break: keep-all;
    hyphens: none;
}

/* ===== УНИФИЦИРОВАННАЯ СИСТЕМА ТЕКСТОВЫХ КЛАССОВ ===== */

/* Базовые текстовые классы */
.text-primary {
    color: #FFFFFF;
    font-family: 'Unbounded', sans-serif;
    font-weight: 400;
    text-transform: uppercase;
    word-wrap: break-word;
    overflow-wrap: break-word;
    word-break: keep-all;
    hyphens: none;
}

.text-secondary {
    font-family: 'InterTight', sans-serif;
    color: #ffffff;
    font-weight: 400;
    line-height: 1.6;
    word-break: keep-all;
    hyphens: none;
}

.text-muted {
    font-family: 'InterTight', sans-serif;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 400;
    line-height: 1.6;
}

.text-accent {
    font-family: 'InterTight', sans-serif;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 400;
    line-height: 1.6;
}

.text-small {
    font-family: 'InterTight', sans-serif;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 400;
    line-height: 1.5;
}

/* Размеры текста */
.text-xl {
    font-size: 76.8px;
    line-height: 99.84px;
}

.text-lg {
    font-size: 48px;
    line-height: 1.2;
}

.text-md {
    font-size: 24px;
    line-height: 1.2;
}

.text-base {
    font-size: 18px;
    line-height: 1.6;
}

.text-sm {
    font-size: 16px;
    line-height: 1.6;
}

.text-xs {
    font-size: 14px;
    line-height: 1.6;
}

.text-xxs {
    font-size: 12px;
    line-height: 1.5;
}

/* ===== УНИФИЦИРОВАННАЯ СИСТЕМА КАРТОЧЕК ===== */

/* Базовые классы карточек */
/* Контейнер для карточек */
.pricing-grid {
    display: flex;
    flex-wrap: nowrap;           /* в одну строку */
    gap: 24px;
    overflow-x: auto;            /* горизонтальный скролл ВКЛ */
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x proximity; /* приятная фиксация при прокрутке */
    padding-bottom: 8px;         /* чтобы скроллбар не прилипал к карточкам */
}

/* Базовая карточка */
.card {
    background-color: #000;
    border-radius: 20px;
}

/* Карточка цен */
.card-pricing {
    display: flex;
    flex-direction: column; /* Вертикальное выравнивание */
    justify-content: flex-start;
    flex: 1 1 300px;
    max-width: 420px;
    min-height: 460px; /* Одинаковая высота */
    box-sizing: border-box;
    border: 2px solid rgba(255, 255, 255, 0.3);
    padding: 30px 20px;
    text-align: center;
    position: relative;
    transition: border-color 0.3s ease;
}

.card-pricing:hover {
    border-color: rgba(255, 255, 255, 0.6);
}

.card-pricing--popular {
    border-color: #ff6b35;
}

/* Заголовок */
.card-pricing__title {
    margin-bottom: 20px;
    font-size: 14px;
    font-family: 'Unbounded', sans-serif;
    color: #fff;
}

/* Цена */
.card-pricing__price {
    font-family: 'Unbounded', sans-serif;
    font-size: 32px;
    font-weight: 500;
    color: #fff;
    margin-bottom: 30px;
}

/* Детали */
.card-pricing__details {
    margin-bottom: 20px;
}

.card-pricing__term {
    margin-bottom: 15px;
}

.card-pricing__term-text {
    padding: 8px 16px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    display: inline-block;
    font-family: 'InterTight', sans-serif;
    font-size: 14px;
    color: #fff;
}

.card-pricing__description {
    opacity: 0.8;
    font-family: 'InterTight', sans-serif;
    font-size: 14px;
    color: #fff;
}

/* Кнопка */
.card-pricing__button {
    margin-top: auto; /* прижимаем к низу карточки */
    width: 100%;
    background-color: #fff;
    color: #000;
    border: none;
    padding: 16px 24px;
    border-radius: 12px;
    font-family: 'InterTight', sans-serif;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.card-pricing__button:hover {
    background-color: #ff6b35;
    color: #fff;
}

/* Популярная карточка */
.card-pricing__button--popular {
    background-color: #ff6b35;
    color: #fff;
}

.card-pricing__button--popular:hover {
    background-color: #fff;
    color: #000;
}

/* Бейдж “популярный” */
.card-pricing__badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #ff6b35;
    color: #fff;
    padding: 6px 16px;
    border-radius: 20px;
    font-family: 'Unbounded', sans-serif;
    font-size: 14px;
    font-weight: 500;
}

/* Карточки отзывов */
.card-review {
    padding: 30px;
    /* border: 1px solid rgba(255, 255, 255, 0.1); */
}

.card-review:hover {
    border-color: #ff6b35;
}

.card-review__text {
    font-style: italic;
    margin-bottom: 20px;
}

.card-review__author {
    margin-top: 20px;
}

.card-review__name {
    margin-bottom: 10px;
}

.card-review__position {
    margin-bottom: 5px;
}

.card-review__location {
    color: rgba(255, 255, 255, 0.5);
}

/* Карточки FAQ */
.card-faq {
    padding: 25px;
    border-radius: 15px;
    cursor: pointer;
}

.card-faq:hover {
    border-color: rgba(255, 255, 255, 0.2);
}

.card-faq__question {
    margin-bottom: 20px;
    position: relative;
    padding-right: 30px;
}

.card-faq__question::after {
    content: '+';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 20px;
    font-weight: bold;
    color: #ff6b35;
    transition: transform 0.3s ease;
    display: none;
}

.card-faq.active .card-faq__question::after {
    transform: translateY(-50%) rotate(45deg);
}

.card-faq__answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    margin-bottom: 0;
}

.card-faq.active .card-faq__answer {
    max-height: 200px;
    padding-top: 15px;
    margin-bottom: 15px;
}

/* Карточки кейсов */
.card-case {
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, 0.1);
    box-sizing: border-box;
}

.card-case__image {
    height: clamp(300px, 50vw, 500px);
    background-color: #000000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-case__placeholder {
    color: white;
    font-family: 'InterTight', sans-serif;
    font-size: 16px;
    font-weight: 500;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    padding: clamp(80px, 20vw, 180px) clamp(15px, 3vw, 20px) clamp(20px, 5vw, 40px);
}

.loader-spinner {
    width: clamp(60px, 15vw, 100px);
    height: clamp(60px, 15vw, 100px);
    border: clamp(4px, 1vw, 6px) solid rgba(255, 255, 255, 0.2);
    border-top: clamp(4px, 1vw, 6px) solid #ffffff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loader-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    margin-top: auto;
}

.loader-text__line {
    font-family: 'Unbounded', sans-serif;
    font-size: clamp(10px, 2.5vw, 20px);
    font-weight: 500;
    color: #ff6b35;
    text-align: center;
    line-height: 1.2;
}

.card-case--loading {
    opacity: 0.9;
    border-color: rgba(255, 255, 255, 0.3);
}

.card-case__content {
    padding: 25px;
}

.card-case__title {
    margin-bottom: 15px;
}

.card-case__description {
    margin-bottom: 20px;
}

.card-case__results {
    display: flex;
    gap: 20px;
}

.card-case__result-item {
    text-align: center;
}

.card-case__result-number {
    display: block;
    font-family: 'Unbounded', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: #ff6b35;
    /* margin-bottom: 5px; */
}

.card-case__result-text {
    font-family: 'InterTight', sans-serif;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
}

.container {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0 60px;
}

/* Header */
.header {
    padding: 20px 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 2000; /* above .mobile-nav (1000) */
    transition: transform 0.24s ease;
    will-change: transform;
}

.header-wrapper {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 20px;
    position: relative;
}

.header-mobile-controls {
    display: flex;
    align-items: center;
    gap: 15px;
    justify-self: end;
}

.header-nav-container {
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.70);
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    height: 60px;
    flex-shrink: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 30px;
}

.logo-text {
    font-family: 'Unbounded', sans-serif;
    font-size: 24px;
    font-weight: 600;
    color: #ffffff;
}

.logo-link {
    text-decoration: none;
    color: inherit;
    transition: opacity 0.3s ease;
}

.logo-link:hover {
    opacity: 0.8;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-link {
    color: #ffffff;
    text-decoration: none;
    font-size: 16px;
    font-weight: 400;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #ff6b35;
}

.nav-link--active {
    color: #ff6b35 !important;
}

.mobile-nav-link:hover {
    color: #ff6b35;
}

.mobile-nav-link--active {
    color: #ff6b35 !important;
    background-color: rgba(255, 107, 53, 0.1);
    border-radius: 8px;
}

.logo {
    justify-self: start;
}

.logo-text {
    font-family: 'Unbounded', sans-serif;
    font-size: 24px;
    font-weight: 600;
    color: #ffffff;
}

.cta-button {
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.70);
    padding: 12px 24px;
    border-radius: 50px;
    font-family: 'InterTight', sans-serif;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    justify-self: end;
    height: 60px;
    display: flex;
    align-items: center;
    text-decoration: none;
}

.cta-button:hover {
    background-color: rgba(255, 107, 53, 0.8);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    color: #ffffff;
    border-color: rgba(255, 107, 53, 0.6);
}

.cta-button:active {
    transform: translateY(0);
    background-color: rgba(255, 107, 53, 0.9);
}

/* Burger Menu */
.burger-menu {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 30px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    position: relative; /* ensure z-index takes effect */
    z-index: 1100; /* above .mobile-nav (1000) */
}

.burger-line {
    width: 100%;
    height: 3px;
    background-color: #ffffff;
    transition: all 0.3s ease;
    border-radius: 2px;
}

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

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

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

/* Mobile Navigation */
.mobile-nav {
    position: fixed;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100vh;
    height: calc(var(--vh, 1vh) * 100); /* Use CSS custom property for dynamic height */
    height: 100dvh; /* Dynamic viewport height for mobile browsers */
    min-height: 100vh;
    min-height: calc(var(--vh, 1vh) * 100);
    min-height: 100dvh;
    background-color: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 1000;
    transition: left 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.mobile-nav.active {
    left: 0;
}

.mobile-nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: center;
}

.mobile-nav-list li {
    margin: 20px 0;
}

.mobile-nav-list a {
    color: #ffffff;
    text-decoration: none;
    font-family: 'Unbounded', sans-serif;
    font-size: 24px;
    font-weight: 400;
    transition: color 0.3s ease;
}

.mobile-nav-list a:hover {
    color: #ff6b35;
}

/* Mobile Navigation - Additional mobile browser fixes */
@supports (height: 100dvh) {
    .mobile-nav {
        height: 100dvh;
        min-height: 100dvh;
    }
}

/* iOS Safari specific fixes */
@supports (-webkit-touch-callout: none) {
    .mobile-nav {
        height: -webkit-fill-available;
        min-height: -webkit-fill-available;
    }
}

.breadcrumb-nav {
    display: flex;
    gap: 10px;
    align-items: center;
}

.breadcrumb-btn {
    padding: 8px 16px;
    border-radius: 6px;
    border: none;
    font-family: 'InterTight', sans-serif;
    font-size: 14px;
    font-weight: 400;
    cursor: pointer;
    transition: all 0.3s ease;
}

.breadcrumb-btn--home {
    background-color: #ffffff;
    color: #000000;
}

.breadcrumb-btn--current {
    background-color: #ff6b35;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 8px;
}

.breadcrumb-icon {
    font-size: 12px;
}

/* Main Content */
.main {
    padding: 60px 0;
    overflow-x: hidden;
}

.main-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    overflow: hidden;
}

.content-left {
    z-index: 2;
}

.hero-title {
    background: linear-gradient(165deg, #FFF 2.45%, rgba(255, 255, 255, 0.00) 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-family: 'Unbounded', sans-serif;
    font-size: 76.8px;
    font-style: normal;
    font-weight: 400;
    line-height: 99.84px;
    text-transform: uppercase;
    margin-bottom: 30px;
    word-wrap: break-word;
    overflow-wrap: break-word;
    word-break: keep-all;
    hyphens: none;
}

.title-line {
    display: block;
}
.video-container {
    position: relative;
    width: 100%;
    height: 600px;
    overflow: hidden;
    border-radius: 20px;
}

.hero-video {
    width: 100%;
    height: 120%;
    object-fit: contain;
    position: absolute;
    top: -10%;
    left: -10%;
    z-index: 1;
    overflow: visible;
    border-radius: 20px;
}

.main-description {
    font-family: 'InterTight', sans-serif;
    font-size: 18px;
    font-weight: 400;
    line-height: 1.6;
    color: #ffffff;
    max-width: none;
    width: 100%;
    word-break: keep-all;
    hyphens: none;
    position: relative;
    padding-top: 30px;
}

.main-description::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: rgba(255, 255, 255, 0.3);
}

/* Abstract Graphic */
.content-right {
    position: relative;
    height: 600px;
}

.abstract-graphic {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    border-radius: 20px;
}

spline-viewer {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 20px;
    background: transparent;
    display: block;
    /* Оптимизация производительности */
    transform: translateZ(0);
    will-change: transform;
    backface-visibility: hidden;
    /* Отключение некоторых эффектов для экономии ресурсов */
    pointer-events: auto;
}

.spline-iframe {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 20px;
    background: transparent;
    /* Оптимизация производительности */
    transform: translateZ(0);
    will-change: transform;
    backface-visibility: hidden;
    /* Отключение некоторых эффектов для экономии ресурсов */
    pointer-events: auto;
}

/* Pricing Section */
.pricing {
    padding: 100px 0;
    background-color: #000000;
}

/* ===== СЕКЦИОННЫЕ ЗАГОЛОВКИ ===== */
.section-title {
    text-align: left;
    margin-bottom: 60px;
}

.pricing-title {
    text-align: left;
    margin-bottom: 60px;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 60px;
}

.button-arrow {
    font-size: 18px;
    font-weight: bold;
}

.pricing-footer {
    text-align: center;
}

.more-tariffs-btn {
    background-color: transparent;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 16px 32px;
    border-radius: 12px;
    font-family: 'InterTight', sans-serif;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.more-tariffs-btn:hover {
    border-color: #ff6b35;
    color: #ff6b35;
}

/* ===== СЕКЦИИ ===== */
.arguments-section {
    padding: 80px 0;
    background-color: #000000;
}

.arguments-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.card-argument__title {
    margin-bottom: 20px;
    line-height: 1.3;
}

.card-argument__description {
    line-height: 1.6;
    opacity: 0.8;
}

.reviews-section {
    padding: 80px 0;
    background-color: #000000;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

/* FAQ Section */
.faq-section {
    padding: 80px 0;
}

.faq-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 50px;
}

.faq-item {
    background-color: transparent;
    border: none;
    border-radius: 0;
    padding: 30px 0;
    cursor: pointer;
    transition: all 0.3s ease;
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 40px;
    align-items: flex-start;
    position: relative;
    /* iOS Safari touch optimization - только отключение выделения текста */
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* Hover эффекты убраны */

.faq-item.active .faq-question {
    background-color: transparent;
    border-left: none;
    padding-left: 0;
}

.faq-question {
    margin-bottom: 0;
    line-height: 1.3;
    position: sticky;
    top: 120px;
    z-index: 10;
    background-color: transparent;
    padding: 20px 0;
    margin: -20px 0;
    transition: all 0.3s ease;
    border-radius: 0;
}

.faq-question:hover {
    background-color: transparent;
}

.faq-answer {
    margin-bottom: 0;
    line-height: 1.5;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.faq-item.active .faq-answer {
    opacity: 1;
}

/* Скрываем мобильные карточки на десктопе */
.faq-mobile-cards {
    display: none;
}


.stages-title {
    text-align: left;
    margin-bottom: 50px;
}

.stages-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(4, 1fr);
    gap: 15px;
    margin-top: 50px;
}

.card-stage {
    background-color: #000000;
    border: none;
    border-radius: 20px;
    padding: 20px;
    text-align: left;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    min-height: 200px;
}

.card-stage__number {
    font-family: 'Unbounded', sans-serif;
    font-size: 32px;
    font-weight: 600;
    color: #ff6b35;
    margin-right: 10px;
    line-height: 1;
    display: inline-block;
}

.card-stage__title {
    margin-bottom: 15px;
    font-size: 18px;
    line-height: 1.2;
    text-align: left;
    display: flex;
    align-items: center;
}

.card-stage__description {
    font-size: 16x;
    line-height: 1.4;
    text-align: left;
    flex-grow: 1;
}

/* Cases Section */
.cases-section {
    padding: 80px 0;
    background-color: #000000;
}

.cases-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

/* Contact Section */
.contact-section {
    padding: 80px 0;
    position: relative;
    width: 100%;
}

.contact-section .container {
    max-width: none;
    padding: 0 60px;
    width: 100%;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    width: 100%;
    max-width: none;
    position: relative;
    overflow: hidden;
}

.contact-form-container {
    flex-direction: column;
    gap: 30px;
    width: 100%;
    position: relative;
    z-index: 2;
}

.contact-video-container {
    position: relative;
    width: 100%;
    height: 600px;
    overflow: hidden;
    border-radius: 20px;
}

.contact-video {
    width: 150%;
    object-fit: contain;
    position: absolute;
    top: -10%;
    left: -10%;
    z-index: 1;
    overflow: visible;
    border-radius: 20px;
}

.contact-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 40px;
}

.contact-item h4 {
    margin-bottom: 10px;
}

.contact-item p {
    line-height: 1.5;
}

/* Contact Form Styles */
.contact-form {
    border-radius: 20px;
    /* padding: 40px; */
    /* max-width: 600px; */
    margin: 0 auto;
}

.contact-form-title {
    font-family: 'InterTight', sans-serif;
    font-size: 24px;
    font-weight: 500;
    color: #ffffff;
    margin-bottom: 30px;
    line-height: 1.3;
}

/* Form Styles */
.form {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group input,
.form-group textarea {
    background-color: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    padding: 22px 24px;
    font-family: 'InterTight', sans-serif;
    font-size: 18px;
    color: #ffffff;
    transition: all 0.3s ease;
    width: 100%;
    box-sizing: border-box;
    min-height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: left;
    resize: none;
    overflow: hidden;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #ff6b35;
    background-color: rgba(0, 0, 0, 0.4);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.5);
    font-size: 18px;
}

/* Service Tags */
.service-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 10px 0;
}

.service-tag {
    background-color: #000000;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 12px 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'InterTight', sans-serif;
    font-size: 14px;
    color: #ffffff;
}

.service-tag:hover {
    border-color: #ff6b35;
    background-color: rgba(255, 107, 53, 0.1);
}

.service-tag.active {
    border-color: #ff6b35;
    background-color: rgba(255, 107, 53, 0.2);
    color: #ff6b35;
}

/* File Attachment */
.file-attachment {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 10px 0;
    background-color: rgba(0, 0, 0, 0.2);
    border-radius: 12px;
    padding: 15px 20px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.file-icon {
    width: 32px;
    height: 32px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    transition: all 0.3s ease;
}

.file-attachment:hover .file-icon {
    border-color: #ff6b35;
    color: #ff6b35;
}

.file-text {
    font-family: 'InterTight', sans-serif;
    font-size: 16px;
    color: #ffffff;
    transition: color 0.3s ease;
}

.file-attachment:hover .file-text {
    color: #ff6b35;
}

.btn-primary {
    background: linear-gradient(135deg, #ff6b35, #ff8c42);
    border: none;
    border-radius: 12px;
    padding: 22px 30px;
    font-family: 'Unbounded', sans-serif;
    font-size: 18px;
    font-weight: 600;
    color: #ffffff;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
    width: 100%;
    box-sizing: border-box;
    min-height: 60px;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #ff8c42, #ff6b35);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.3);
}

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

/* Footer */
.footer {
    background-color: #000000;
    padding: 40px 0 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-title {
    font-family: 'Unbounded', sans-serif;
    font-size: 24px;
    font-weight: 600;
    color: #ffffff;
    margin: 0;
}

.footer-tagline {
    font-family: 'InterTight', sans-serif;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 8px;
    text-align: right;
}

.footer-phone {
    font-family: 'InterTight', sans-serif;
    font-size: 18px;
    font-weight: 500;
    color: #ffffff;
    margin: 0;
}

.footer-email {
    font-family: 'InterTight', sans-serif;
    font-size: 18px;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-email:hover {
    color: #ff6b35;
}

.footer-bottom {
    /* border-top: 1px solid rgba(255, 255, 255, 0.1); */
    padding-top: 20px;
}

.footer-copyright {
    font-family: 'InterTight', sans-serif;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
    margin: 0;
}

/* ===== АДАПТИВНЫЕ РАЗМЕРЫ ТЕКСТА ===== */
@media (min-width: 1400px) {
    .text-xl {
        font-size: 96px;
        line-height: 124px;
    }
    
    .text-lg {
        font-size: 64px;
    }
    
    .text-md {
        font-size: 32px;
    }
    
    .text-base {
        font-size: 22px;
    }
    
    .text-sm {
        font-size: 18px;
    }
    
    .text-xs {
        font-size: 16px;
    }
    
    .text-xxs {
        font-size: 14px;
    }
}

@media (min-width: 1600px) {
    .text-xl {
        font-size: 120px;
        line-height: 156px;
    }
    
    .text-lg {
        font-size: 80px;
    }
    
    .text-md {
        font-size: 36px;
    }
    
    .text-base {
        font-size: 24px;
    }
    
    .text-sm {
        font-size: 20px;
    }
    
    .text-xs {
        font-size: 18px;
    }
    
    .text-xxs {
        font-size: 16px;
    }
}

@media (min-width: 2000px) {
    .text-xl {
        font-size: 140px;
        line-height: 182px;
    }
    
    .text-lg {
        font-size: 96px;
    }
    
    .text-md {
        font-size: 40px;
    }
    
    .text-base {
        font-size: 28px;
    }
    
    .text-sm {
        font-size: 22px;
    }
    
    .text-xs {
        font-size: 20px;
    }
    
    .text-xxs {
        font-size: 18px;
    }
}

@media (max-width: 1200px) {
    .header-nav-container {
        display: none;
    }
    
    .header-wrapper {
        grid-template-columns: 1fr auto;
        gap: 15px;
    }
    
    .burger-menu {
        display: flex;
    }
    
    .pricing-grid {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        gap: 25px;
        padding: 20px 0 20px 0;
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;
        /* Скрытие скроллбара */
        scrollbar-width: none; /* Firefox */
        -ms-overflow-style: none; /* IE and Edge */
    }
    
    .pricing-grid::-webkit-scrollbar {
        display: none; /* Chrome, Safari, Opera */
    }
    
    .card-pricing {
        flex: 0 0 280px;
        scroll-snap-align: start;
        height: 100%;
        min-height: 350px;
    }
    
    .stages-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(6, 1fr);
    }
    
    .arguments-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
}

@media (max-width: 1024px) {
    .container {
        padding: 0 30px;
    }
    
    .header-nav-container {
        width: 90%;
        max-width: 833.55px;
    }
    
    .pricing-title {
        font-size: 40px;
    }
    
    .reviews-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
    
    .faq-grid {
        grid-template-columns: 1fr;
    }
    
    .cases-grid {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        gap: 25px;
        padding: 20px 0 20px 0;
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;
        /* Скрытие скроллбара */
        scrollbar-width: none; /* Firefox */
        -ms-overflow-style: none; /* IE and Edge */
    }
    
    .cases-grid::-webkit-scrollbar {
        display: none; /* Chrome, Safari, Opera */
    }
    
    .card-case {
        flex: 0 0 280px;
        scroll-snap-align: start;
        height: 100%;
        min-height: 300px;
        min-width: 300px;

    }
    
    .contact-section .container {
        padding: 0 30px;
    }
    
    .contact-content {
        gap: 30px;
        align-items: center;
    }
    
    .contact-video-container {
        width: 100%;
        overflow: hidden;
        border-radius: 20px;
        position: absolute;
    }
    
    .contact-video {
        width: 150%;
        object-fit: contain;
        position: absolute;
        top: -31%;
        left: 16%;
        z-index: 1;
        overflow: visible;
        border-radius: 20px;
    }
    
    .contact-details {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 25px;
        text-align: center;
    }
    
    .footer-contact {
        text-align: center;
    }
}

@media (max-width: 900px) {
    .pricing-card {
        padding: 25px 15px;
    }
}

@media (max-width: 600px) {
    .pricing-card {
        padding: 30px 20px;
    }
}

@media (max-width: 1024px) {
    .header {
        padding: 15px 0;
    }
    
    .header-mobile-controls {
        gap: 10px;
    }
    
    .cta-button {
        padding: 8px 16px;
        font-size: 14px;
        border-radius: 50px;
        height: 50px;
    }
    
    .burger-menu {
        display: flex;
    }
    
    .text-xl {
        font-size: 45px;
        line-height: 58px;
    }
    
    .text-base {
        font-size: 16px;
    }
    
    .content-right {
        height: 300px;
    }
    
    /* Оптимизация для мобильных устройств */
    spline-viewer {
        /* Уменьшение качества на мобильных для экономии ресурсов */
        image-rendering: optimizeSpeed;
        image-rendering: -moz-crisp-edges;
        image-rendering: -webkit-optimize-contrast;
        image-rendering: optimize-contrast;
        /* Отключение взаимодействия на мобильных для экономии ресурсов */
        pointer-events: none;
    }
    
    .spline-iframe {
        /* Уменьшение качества на мобильных для экономии ресурсов */
        image-rendering: optimizeSpeed;
        image-rendering: -moz-crisp-edges;
        image-rendering: -webkit-optimize-contrast;
        image-rendering: optimize-contrast;
    }
    
    .pricing-grid {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        gap: 20px;
        padding: 20px 0 20px 0;
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;
        /* Скрытие скроллбара */
        scrollbar-width: none; /* Firefox */
        -ms-overflow-style: none; /* IE and Edge */
    }
    
    .pricing-grid::-webkit-scrollbar {
        display: none; /* Chrome, Safari, Opera */
    }
    
    .card-pricing {
        flex: 0 0 220px;
        scroll-snap-align: start;
        height: 100%;
        min-height: 350px;
        border-radius: 20px;
        border-width: 1px;
        position: relative;
    }
    
    .card-pricing__badge {
        position: absolute;
        top: -12px;
        left: 50%;
        transform: translateX(-50%);
        background-color: #ff6b35;
        color: #ffffff;
        padding: 2px 20px;
        border-radius: 20px;
        font-family: 'Unbounded', sans-serif;
        font-size: 12px;
        font-weight: 500;
        z-index: 10;
    }
    
    .card-pricing__price {
        position: absolute;
        top: 80px;
        left: 50%;
        transform: translateX(-50%);
        margin: 0;
        width: 100%;
        text-align: center;
        font-size: 24px;
    }
    
    .card-pricing__title {
        position: absolute;
        top: 20px;
        left: 50%;
        transform: translateX(-50%);
        margin: 0;
        width: 100%;
        text-align: center;
        font-size: 10px;
        line-height: 1.2;
        padding: 0 10px;
    }
    
    .card-pricing__details {
        position: absolute;
        top: 140px;
        left: 50%;
        transform: translateX(-50%);
        width: calc(100% - 40px);
        text-align: center;
    }
    
    .card-pricing__button {
        position: absolute;
        bottom: 20px;
        left: 50%;
        transform: translateX(-50%);
        width: calc(100% - 40px);
    }
    
    .text-lg {
        font-size: 32px;
    }
    
    .pricing {
        padding: 60px 0;
    }
    
    .container {
        padding: 0 20px;
    }
    
    .main-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .video-container {
        width: 100%;
        height: 100%;
        overflow: hidden;
        border-radius: 20px;
        position: absolute;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
    }
    
    .hero-video {
        width: 150%;
        height: 250%;
        object-fit: contain;
        position: absolute;
        top: -105%;
        left: calc(200px - 10%);
        z-index: -1;
        overflow: visible;
        border-radius: 20px;
    }
    
    .content-left {
        text-align: left;
    }
    
    .arguments-grid {
        grid-template-columns: 1fr;
    }
    
    .portfolio-grid {
        flex-direction: column;
        gap: 20px;
    }
    
    .portfolio-item {
        flex: none;
        width: 100%;
    }
    
    .section-with-plaque {
        flex-direction: column;
        gap: 30px;
    }
    
    .plaque {
        width: 100%;
        height: auto;
        padding: 20px;
    }
    
    .stages-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        gap: 8px;
    }
    
    .card-stage {
        min-height: 120px;
        padding: 0px;
        text-align: left;
    }
    
    .card-stage__number {
        font-size: 28px;
        margin-right: 8px;
    }
    
    .card-stage__title {
        font-size: 15px;
        margin-bottom: 10px;
        text-align: left;
    }
    
    .card-stage__description {
        text-align: left;
    }
    
    .faq-grid {
        gap: 15px;
    }
    
    .faq-item {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 25px;
        /* iOS Safari mobile optimization - только убираем подсветку тапа */
        -webkit-tap-highlight-color: transparent;
    }
    
    .faq-question {
        position: static !important;
        padding: 0 !important;
        margin: 0 !important;
        background-color: transparent !important;
        top: auto !important;
        z-index: auto !important;
        transform: none !important;
    }
    
    .faq-item {
        padding: 20px 0 !important;
        margin-bottom: 10px;
    }
    
    .faq-question {
        margin-bottom: 15px;
    }
    
    .faq-answer {
        opacity: 0;
        max-height: 0;
        overflow: hidden;
        transition: opacity 0.3s ease, max-height 0.3s ease;
    }
    
    .faq-item.active .faq-answer {
        opacity: 1;
        max-height: 200px;
        padding-top: 10px;
    }
    
    /* Первый элемент активен по умолчанию на мобильных - убрано для избежания конфликта с JS */
    
    .faq-question::after {
        content: '+';
        position: relative;
        display: inline-block;
        margin-left: 8px;
        font-size: 18px;
        font-weight: bold;
        color: #ff6b35;
        transition: transform 0.3s ease;
        vertical-align: middle;
        line-height: 1;
    }
    
    .faq-item.active .faq-question::after {
        transform: rotate(45deg);
    }
    
    /* Первый элемент показывает повернутую иконку по умолчанию - убрано для избежания конфликта с JS */
    
    .faq-question {
        position: relative;
        padding-right: 0;
    }
    
    .arguments-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .cases-grid {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        gap: 20px;
        padding: 20px 0 20px 0;
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;
        /* Скрытие скроллбара */
        scrollbar-width: none; /* Firefox */
        -ms-overflow-style: none; /* IE and Edge */
    }
    
    .cases-grid::-webkit-scrollbar {
        display: none; /* Chrome, Safari, Opera */
    }
    
    .card-case {
        flex: 0 0 220px;
        scroll-snap-align: start;
        height: 100%;
        min-height: 350px;
        border-radius: 20px;
        border-width: 1px;
        position: relative;
    }
    
    .contact-section .container {
        padding: 0 20px;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 30px;
        align-items: center;
    }
    
    .contact-form-container {
        gap: 20px;
    }
    
    .contact-video-container {
        width: 100%;
        height: 600px;
        overflow: hidden;
        border-radius: 20px;
        position: absolute;
    }
    
    .contact-video {
        width: 150%;
        height: 120%;
        object-fit: contain;
        position: absolute;
        top: -35%;
        left: -10%;
        z-index: 1;
        overflow: visible;
        border-radius: 20px;
    }
    
    .contact-details {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .footer-contact {
        text-align: center;
    }
    

    
    .contact-form-title {
        font-size: 20px;
        margin-bottom: 25px;
    }
    
    .form-row {
        grid-template-columns: 1fr 1fr;
        gap: 15px;
    }
    
    .form {
        gap: 20px;
    }
    
    .form-group input,
    .form-group textarea {
        padding: 18px 20px;
        font-size: 16px;
        min-height: 50px;
        text-align: left;
    }
    
    .service-tags {
        gap: 10px;
    }
    
    .service-tag {
        padding: 10px 16px;
        font-size: 13px;
    }
    
    .file-icon {
        width: 28px;
        height: 28px;
    }
    
    .file-text {
        font-size: 14px;
    }
    
    .btn-primary {
        padding: 18px 25px;
        font-size: 16px;
        min-height: 50px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .header {
        padding: 10px 0;
    }
    
    .text-xl {
        font-size: 28px;
        line-height: 36px;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    .text-base {
        font-size: 18px;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    .text-lg {
        font-size: 32px;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    .text-md {
        font-size: 20px;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .footer-contact {
        text-align: center;
    }
    
    .footer-title {
        font-size: 20px;
    }
    
    .footer-phone {
        font-size: 14px;
    }
    
    .footer-email {
        font-size: 13px;
    }
    
    .card-pricing,
    .card-review,
    .card-faq,
    .card-case {
        padding: 0px;
    }
    
    .card-faq__question {
        font-size: 18px;
    }
    
    .card-faq__answer {
        font-size: 13px;
    }
    
    .header-nav-container {
        padding: 0 15px;
    }
    
    .arguments-section {
        padding: 60px 0;
    }
    
    .reviews-section {
        padding: 60px 0;
    }
    
    .faq-section {
        padding: 0;
    }

    .stages {
        padding: 60px 0;
    }
    
    .cases-section {
        padding: 60px 0;
    }
    
    .contact-section {
        padding: 60px 0;
    }
    
    .contact-section .container {
        padding: 0 15px;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 20px;
        align-items: center;
    }
    
    .contact-form-container {
        gap: 15px;
    }
    
    .contact-content {
        gap: 20px;
        align-items: center;
    }
    
    .contact-video-container {
        position: absolute;
        width: 100%;
        overflow: hidden;
        order: -1;
    }
    
    .contact-video {
        width: 200%;
        height: 250%;
        object-fit: contain;
        position: absolute;
        top: -105%;
        left: -10%;
        z-index: -1;
        overflow: visible;
        border-radius: 20px;
    }
}

/* Desktop styles for modal video */
@media (min-width: 1025px) {
    .modal-video-container {
        position: relative;
        width: 100%;
        height: 100%;
        overflow: hidden;
        border-radius: 20px;
    }
    
    .modal-video {
        width: 120%;
        height: 120%;
        object-fit: contain;
        position: absolute;
        top: -10%;
        left: -10%;
        z-index: 1;
        overflow: visible;
        border-radius: 20px;
    }
}

/* Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    padding: 20px;
}

.modal-content {
    background-color: #000000;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    max-width: max-content;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
}

.modal-content-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: stretch;
    position: relative;
    overflow: hidden;
}

.modal-form-container {
    position: relative;
    z-index: 2;
}

.modal-video-container {
    position: relative;
    width: 100%;
    height: 600px;
    overflow: hidden;
    border-radius: 20px;
}

.modal-video {
    width: 120%;
    height: 120%;
    object-fit: contain;
    position: absolute;
    top: -10%;
    left: -10%;
    z-index: 1;
    overflow: visible;
    border-radius: 20px;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px 30px 20px 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.modal-title {
    margin: 0;
    font-size: 24px;
}

.modal-close {
    background: none;
    border: none;
    color: #ffffff;
    cursor: pointer;
    padding: 8px;
    border-radius: 8px;
    transition: background-color 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.modal-body {
    padding: 30px;
}

.modal-form {
    margin: 0;
}

.modal-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.modal-form .form-group {
    margin-bottom: 0;
}

.modal-form .form-group input,
.modal-form .form-group textarea {
    width: 100%;
    padding: 22px 24px;
    font-size: 18px;
    background-color: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 1);
    border-radius: 50px; /* match contact form */
    color: #ffffff;
    font-family: 'InterTight', sans-serif;
    transition: all 0.3s ease;
    text-align: left; /* match contact form */
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.modal-form .form-group input:focus,
.modal-form .form-group textarea:focus {
    outline: none;
    border-color: #ff6b35;
    background-color: rgba(0, 0, 0, 0.4);
}

.modal-form .form-group input::placeholder,
.modal-form .form-group textarea::placeholder {
    color: rgba(255, 255, 255, 1); /* match contact form */
    font-size: 18px;
}

.modal-form .file-attachment {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0; /* match contact form */
    background-color: transparent;
    border: none;
    border-radius: 0;
    margin-bottom: 0;
    cursor: pointer;
    transition: none;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.modal-form .file-attachment:hover {
    background-color: transparent;
    border-color: transparent;
}

.modal-form .file-icon {
    color: rgba(255, 255, 255, 0.6);
}

.modal-form .file-text {
    color: rgba(255, 255, 255, 0.8);
    font-size: 16px;
    font-family: 'InterTight', sans-serif;
}

.modal-form .btn-primary {
    width: auto; /* match contact form */
    padding: 22px 30px;
    font-size: 18px;
    background: linear-gradient(135deg, #ff6b35, #ff8c42);
    color: #ffffff;
    border: none;
    border-radius: 12px;
    font-family: 'InterTight', sans-serif;
    font-weight: 600; /* match primary button */
    cursor: pointer;
    transition: all 0.3s ease;
}

.modal-form .btn-primary:hover {
    background-color: #e55a2b;
    transform: translateY(-2px);
}

/* Modal Responsive */
@media (max-width: 768px) {
    .modal-content {
        margin: 10px;
        max-height: 95vh;
        max-width: 700px;
    }
    
    .modal-content-wrapper {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .modal-video-container {
        width: 100%;
        height: 100%;
        overflow: hidden;
        border-radius: 20px;
        position: absolute;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
    }
    
    .modal-video {
        width: 200%;
        height: 250%;
        object-fit: contain;
        position: absolute;
        top: -105%;
        left: calc(200px - 10%);
        z-index: -1;
        overflow: visible;
        border-radius: 20px;
    }
    
    .modal-header {
        padding: 20px 20px 15px 20px;
    }
    
    .modal-title {
        font-size: 20px;
    }
    
    .modal-body {
        padding: 20px;
    }
    
    .modal-form .form-row {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .modal-form .form-group input,
    .modal-form .form-group textarea {
        padding: 18px 20px;
        font-size: 16px;
        min-height: 50px;
        text-align: left; /* match contact form */
        border-radius: 50px;
    }
    
    .modal-form .form-group input::placeholder,
    .modal-form .form-group textarea::placeholder {
        font-size: 16px;
    }
    
    .modal-form .btn-primary {
        padding: 18px 25px;
        font-size: 16px;
        min-height: 50px;
    }
}

@media (max-width: 480px) {
    .modal-overlay {
        padding: 10px;
    }
    
    .modal-content {
        margin: 5px;
        max-width: 600px;
    }
    
    .modal-content-wrapper {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .modal-video-container {
        position: absolute;
        width: 100%;
        overflow: hidden;
        order: -1;
    }
    
    .modal-video {
        width: 200%;
        height: 250%;
        object-fit: contain;
        position: absolute;
        top: -105%;
        left: calc(200px - 10%);
        z-index: -1;
        overflow: visible;
        border-radius: 20px;
    }
    
    .modal-header {
        padding: 15px 15px 10px 15px;
    }
    
    .modal-title {
        font-size: 18px;
    }
    
    .modal-body {
        padding: 15px;
    }
    
    .modal-form .form-group input,
    .modal-form .form-group textarea {
        padding: 15px 18px;
        font-size: 14px;
        min-height: 45px;
        text-align: left; /* match contact form */
        border-radius: 50px;
    }
    
    .modal-form .form-group input::placeholder,
    .modal-form .form-group textarea::placeholder {
        font-size: 14px;
    }
    
    .modal-form .btn-primary {
        padding: 15px 20px;
        font-size: 14px;
        min-height: 45px;
    }
}

/* Desktop styles for video */
@media (min-width: 1025px) {
    .video-container {
        position: relative;
        width: 100%;
        height: 100%;
        overflow: hidden;
        border-radius: 20px;
    }
    
    .hero-video {
        width: 120%;
        height: 120%;
        object-fit: contain;
        position: absolute;
        top: -10%;
        left: -10%;
        z-index: 1;
        overflow: visible;
        border-radius: 20px;
    }
}