/* ==========================================================================
   KAIKET — GLASSHAVEN-Inspired Premium DARK Strict Corporate Landing Page Styles
   ========================================================================== */

/* 1. Сброс стилей и базовые настройки */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

:root {
    /* Роскошная, строгая и деловая темная палитра в стиле Glasshaven */
    --bg-main: #0a0b0d;           /* Основной матовый супертемный фон страницы */
    --bg-card: #121316;           /* Премиальный глубокий графитовый фон карточек-секций */
    --bg-card-hover: #16181b;     /* Чуть более светлый тон графита при наведении */
    --bg-accent: #ffffff;         /* Высококонтрастный белоснежный цвет для основных кнопок/акцентов */
    --bg-accent-hover: #f3f4f6;   /* Дымчатый белый для ховеров кнопок */
    
    /* Цвета текста для строгого темного оформления */
    --text-primary: #ffffff;      /* Чистый белый для главных заголовков */
    --text-secondary: #e2e5ec;    /* Мягкий платиново-серебристый для основного текста */
    --text-muted: #848995;        /* Приглушенный стальной серый для подписей */
    --text-accent: #b0b5c1;       /* Прохладный slate-платиновый акцент */
    
    /* Тонкие границы и контуры в стиле Glasshaven (адаптированные под темную тему) */
    --border-thin: rgba(255, 255, 255, 0.06);
    --border-hover: rgba(255, 255, 255, 0.14);
    --border-active: rgba(255, 255, 255, 0.22);
    
    /* Шрифты */
    --font-heading: 'Montserrat', -apple-system, sans-serif;
    --font-body: 'Inter', -apple-system, sans-serif;
    
    /* Анимации */
    --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-normal: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-slow: 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    
    /* Отступы */
    --card-radius: 28px;
    --card-gap: 40px;             /* Расстояние между карточками на странице */
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-main);
    color: var(--text-secondary);
    line-height: 1.65;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    letter-spacing: -0.01em;
}

/* Ограничивающий контейнер */
.glasshaven-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--card-gap) 24px;
    display: flex;
    flex-direction: column;
    gap: var(--card-gap);         /* Расположение элементов друг за другом с одинаковым зазором */
}

/* Базовый класс для всех секций-карточек */
.gh-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-thin);
    border-radius: var(--card-radius);
    padding: 64px 56px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.35);
    transition: border-color var(--transition-normal), box-shadow var(--transition-normal);
}

.gh-card:hover {
    border-color: var(--border-hover);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
}

/* Текстовый бейдж на секциях */
.card-badge {
    font-family: var(--font-heading);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.25em;
    color: var(--text-muted);
    text-transform: uppercase;
    margin-bottom: 12px;
}

.card-badge.font-wide {
    letter-spacing: 0.3em;
}

/* Заголовки разделов */
.card-main-title {
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 800;
    letter-spacing: 0.08em;
    color: var(--text-primary);
    text-transform: uppercase;
    line-height: 1.25;
}


/* ==========================================================================
   2. КАРТОЧКА 1 — HERO CARD (Главный экран)
   ========================================================================== */
.hero-card {
    height: 88vh;
    min-height: 620px;
    padding: 0 !important; /* Убираем падинги для фонового изображения во всю карточку */
}

.hero-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center 30%;
    transition: transform 12s ease;
}

.hero-card:hover .hero-bg-image {
    transform: scale(1.05); /* Легкий медленный зум при наведении на весь экран */
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Облегченный темный оверлей, чтобы фоновое фото было четко видно */
    background: linear-gradient(180deg, 
        rgba(10, 11, 13, 0.65) 0%, 
        rgba(10, 11, 13, 0.25) 45%, 
        rgba(10, 11, 13, 0.75) 100%
    );
    z-index: 1;
}

.hero-content-wrapper {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 44px 48px;
}

/* Навигация внутри карточки */
.hero-navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    padding-bottom: 20px;
}

.nav-links {
    display: flex;
    gap: 28px;
}

.nav-link {
    color: var(--text-muted);
    text-decoration: none;
    font-family: var(--font-heading);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.18em;
    transition: var(--transition-fast);
}

.nav-link:hover {
    color: var(--text-primary);
}

.nav-phone .phone-link {
    color: var(--text-primary);
    text-decoration: none;
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.05em;
    transition: var(--transition-fast);
}

.nav-phone .phone-link:hover {
    color: var(--text-muted);
}

/* Главный заголовок */
.hero-main-title-box {
    text-align: center;
    margin-top: -20px;
}

.logo-brand {
    font-family: var(--font-heading);
    font-size: 76px;
    font-weight: 900;
    letter-spacing: 0.3em;
    color: var(--text-primary);
    line-height: 1;
    margin-right: -0.3em; /* Компенсация letter-spacing справа */
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.45);
}

.logo-brand-img {
    max-height: 280px;
    max-width: 100%;
    width: auto;
    height: auto;
    display: block;
    margin: 0 auto;
    /* mix-blend-mode скрывает черный фон изображения и оставляет только логотип белого цвета */
    mix-blend-mode: screen;
    filter: drop-shadow(0 4px 20px rgba(0, 0, 0, 0.45));
    
    /* Защита изображения от копирования, выделения, перетаскивания и контекстного меню браузера */
    pointer-events: none;       /* Отключает любые клики, наведение и вызов мобильного контекстного меню */
    user-select: none;          /* Запрещает выделение картинки */
    -webkit-user-drag: none;    /* Запрещает перетаскивание картинки (в Chrome/Safari/Edge) */
}

.logo-sub {
    font-family: var(--font-body);
    font-size: 10px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.4em;
    color: var(--text-muted);
    margin-top: 14px;
    display: block;
    margin-right: -0.4em;
}

/* Нижний блок инфо */
.hero-bottom-bar {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding-top: 24px;
}

.hero-bottom-left {
    max-width: 65%;
}

.hero-tagline {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 0.14em;
    color: var(--text-primary);
    margin-bottom: 6px;
    line-height: 1.4;
}

.hero-tagline-sub {
    font-size: 12.5px;
    color: var(--text-muted);
    font-weight: 400;
}

.hero-location {
    font-family: var(--font-heading);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.2em;
    color: var(--text-primary);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 6px 14px;
    border-radius: 4px;
    display: inline-block;
}

/* Стрелка вниз */
.scroll-indicator {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    cursor: pointer;
    animation: bounce 2.2s infinite;
    opacity: 0.4;
    transition: var(--transition-fast);
    z-index: 5;
}

.scroll-indicator:hover {
    opacity: 0.9;
}

.scroll-indicator svg {
    width: 24px;
    height: 24px;
    stroke: var(--text-primary);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translate(-50%, 0); }
    40% { transform: translate(-50%, -6px); }
    60% { transform: translate(-50%, -3px); }
}


/* ==========================================================================
   3. КАРТОЧКА 2 — ABOUT CARD (О нас / CEO)
   ========================================================================== */
.card-grid-about {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 64px;
    align-items: center;
}

.title-underline {
    width: 44px;
    height: 2px;
    background-color: var(--text-primary);
    margin: 16px 0 28px 0;
}

.ceo-intro {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 20px;
    letter-spacing: 0.02em;
}

.about-paragraphs p {
    font-size: 14.5px;
    color: var(--text-accent);
    margin-bottom: 18px;
    line-height: 1.7;
    font-weight: 300;
}

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

.about-paragraphs p:last-child {
    margin-bottom: 0;
}

.about-visual-content {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border-thin);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    aspect-ratio: 4 / 5;
}

.ceo-photo-about {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform var(--transition-slow);
}

.about-visual-content:hover .ceo-photo-about {
    transform: scale(1.04);
}

.ceo-photo-caption {
    position: absolute;
    bottom: 14px;
    right: 18px;
    font-family: var(--font-heading);
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.15em;
    color: rgba(255, 255, 255, 0.35);
}


/* ==========================================================================
   4. КАРТОЧКА 3 — SERVICES (Наши преимущества)
   ========================================================================== */
.services-header {
    margin-bottom: 44px;
}

.services-columns-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.service-col-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: transform var(--transition-normal);
}

.service-img-wrapper {
    width: 100%;
    aspect-ratio: 16 / 10;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid var(--border-thin);
    margin-bottom: 20px;
}

.service-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.service-col-card:hover .service-img {
    transform: scale(1.06);
}

.service-num {
    font-family: var(--font-heading);
    font-size: 26px;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.15);
    margin-bottom: 8px;
    line-height: 1;
}

.service-title {
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: var(--text-primary);
    margin-bottom: 10px;
    line-height: 1.4;
}

.service-desc {
    font-size: 12.5px;
    color: var(--text-muted);
    line-height: 1.6;
    font-weight: 300;
}


/* ==========================================================================
   5. КАРТОЧКА 4 — PLAN CARD (Карта процедуры)
   ========================================================================== */
.plan-container-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 64px;
    align-items: end;
}

.plan-subtitle {
    font-family: var(--font-heading);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.15em;
    color: var(--text-muted);
    margin-top: 6px;
    margin-bottom: 32px;
}

.plan-table {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.plan-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

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

.plan-row-name {
    font-size: 13.5px;
    color: var(--text-accent);
    font-weight: 300;
}

.plan-row-value {
    font-size: 14px;
    color: var(--text-primary);
    font-weight: 500;
    text-align: right;
}

.plan-visual-wrapper {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border-thin);
    aspect-ratio: 4 / 5;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.plan-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.plan-visual-wrapper:hover .plan-image {
    transform: scale(1.04);
}

.plan-image-caption {
    position: absolute;
    bottom: 14px;
    right: 18px;
    font-family: var(--font-heading);
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.15em;
    color: rgba(255, 255, 255, 0.3);
}


/* ==========================================================================
   6. КАРТОЧКА 5 — BOT CTA CARD (Интерактивный тест)
   ========================================================================== */
.bot-cta-card-section {
    background-color: var(--bg-main); /* Контрастный легкий тон для КТА */
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 80px 56px;
}

.bot-cta-glow {
    position: absolute;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.02) 0%, rgba(255, 255, 255, 0) 70%);
    pointer-events: none;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
}

.bot-cta-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.bot-cta-title {
    font-family: var(--font-heading);
    font-size: 32px;
    font-weight: 800;
    letter-spacing: 0.12em;
    color: var(--text-primary);
    margin-top: 8px;
    margin-bottom: 48px;
}

/* Сетка для двух колонок CTA */
.bot-cta-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    width: 100%;
    margin-bottom: 48px;
}

.bot-cta-column {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 24px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 16px;
    transition: var(--transition-normal);
}

.bot-cta-column:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.08);
    transform: translateY(-4px);
}

.bot-cta-icon-box {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
    margin-bottom: 20px;
}

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

.bot-cta-col-title {
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.bot-cta-col-desc {
    font-size: 13px;
    color: var(--text-accent);
    line-height: 1.6;
    font-weight: 300;
}

.bot-cta-action {
    position: relative;
    display: inline-block;
}

/* Декоративная стрелка */
.curved-arrow {
    position: absolute;
    left: -100px;
    top: -24px;
    width: 80px;
    height: 80px;
    pointer-events: none;
}

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

/* Премиальная контрастная кнопка */
.cta-premium-btn {
    background-color: var(--bg-accent);
    color: var(--bg-main);
    border: none;
    padding: 18px 38px;
    font-family: var(--font-heading);
    font-size: 12.5px;
    font-weight: 800;
    letter-spacing: 0.15em;
    border-radius: 50px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    transition: var(--transition-normal);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.cta-premium-btn:hover {
    background-color: var(--bg-accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.5);
}

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

.btn-arrow-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    background-color: var(--bg-main);
    color: var(--text-primary);
    border-radius: 50%;
}

.btn-arrow-icon svg {
    width: 12px;
    height: 12px;
}


/* ==========================================================================
   7. КАРТОЧКА 6 — TESTIMONIALS (Слайдер отзывов)
   ========================================================================== */
.reviews-card-section {
    text-align: center;
}

.reviews-subtitle {
    font-size: 13.5px;
    color: var(--text-muted);
    margin-top: 6px;
    margin-bottom: 0;
    font-weight: 300;
}

.reviews-slider-outer {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 100%;
    margin: 44px auto 0 auto;
}

.reviews-viewport {
    width: 100%;
    overflow: hidden;
}

.reviews-slider {
    display: flex;
    gap: 24px;
    width: 100%;
    transition: transform var(--transition-slow);
    will-change: transform;
}

.review-slide {
    flex: 0 0 calc((100% - 48px) / 3); /* 3 слайда с учетом двух gap по 24px */
    cursor: pointer;
    transition: transform var(--transition-normal);
}

.review-card-frame {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.08);
    aspect-ratio: 956 / 1920;
    background-color: #ffffff;
}

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

.frame-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(12, 13, 16, 0.9);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    opacity: 0;
    transition: var(--transition-fast);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.review-slide:hover .frame-overlay {
    opacity: 1;
}

.review-slide:hover {
    transform: translateY(-4px);
}

.zoom-svg {
    width: 28px;
    height: 28px;
    stroke: var(--text-primary);
}

.frame-overlay span {
    font-family: var(--font-heading);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.15em;
    color: var(--text-primary);
}

/* Стрелки навигации слайдера */
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: var(--bg-card);
    border: 1px solid var(--border-thin);
    color: var(--text-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-fast);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
    z-index: 10;
}

.slider-arrow:hover {
    background-color: var(--bg-accent);
    color: var(--bg-main);
    border-color: var(--bg-accent);
}

.slider-arrow.prev { left: -24px; }
.slider-arrow.next { right: -24px; }

.slider-arrow svg {
    width: 18px;
    height: 18px;
}

.slider-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 32px;
}

.dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.15);
    cursor: pointer;
    transition: var(--transition-fast);
}

.dot.active {
    background-color: var(--text-primary);
    transform: scale(1.3);
}


/* ==========================================================================
   8. КАРТОЧКА 7 — FAQ (Часто задаваемые вопросы)
   ========================================================================== */
.faq-header {
    text-align: center;
    margin-bottom: 48px;
}

.faq-subtitle {
    font-size: 13.5px;
    color: var(--text-muted);
    margin-top: 6px;
    font-weight: 300;
}

/* Аккордеон FAQ */
.faq-accordion {
    max-width: 860px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-accordion-item {
    background-color: rgba(255, 255, 255, 0.015);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    overflow: hidden;
    transition: var(--transition-normal);
}

.faq-accordion-item:hover {
    background-color: rgba(255, 255, 255, 0.025);
    border-color: rgba(255, 255, 255, 0.12);
}

.faq-accordion-item.active {
    background-color: rgba(255, 255, 255, 0.02);
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.faq-accordion-trigger {
    width: 100%;
    background: none;
    border: none;
    outline: none;
    padding: 24px 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    text-align: left;
}

.faq-accordion-title {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    letter-spacing: 0.01em;
    line-height: 1.4;
    transition: var(--transition-fast);
}

.faq-accordion-item:hover .faq-accordion-title {
    color: var(--text-primary);
}

.faq-accordion-icon {
    position: relative;
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    margin-left: 20px;
    transition: transform 0.65s cubic-bezier(0.25, 1, 0.3, 1);
}

.faq-accordion-icon::before,
.faq-accordion-icon::after {
    content: "";
    position: absolute;
    background-color: var(--text-muted);
    transition: background-color 0.4s ease, transform 0.65s cubic-bezier(0.25, 1, 0.3, 1);
}

/* Горизонтальная линия плюса */
.faq-accordion-icon::before {
    top: 9px;
    left: 2px;
    width: 16px;
    height: 2px;
}

/* Вертикальная линия плюса */
.faq-accordion-icon::after {
    top: 2px;
    left: 9px;
    width: 2px;
    height: 16px;
}

/* Анимация иконки при открытии */
.faq-accordion-item.active .faq-accordion-icon {
    transform: rotate(45deg);
}

.faq-accordion-item.active .faq-accordion-icon::before,
.faq-accordion-item.active .faq-accordion-icon::after {
    background-color: var(--text-primary);
}

/* Выплывающий контент */
.faq-accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.65s cubic-bezier(0.25, 1, 0.3, 1);
}

.faq-accordion-inner {
    padding: 0 32px 28px 32px;
}

.faq-item-text {
    font-size: 13.5px;
    color: var(--text-secondary);
    line-height: 1.7;
    font-weight: 300;
}

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

.faq-inline-list {
    list-style-type: none;
    margin-top: 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.faq-inline-list li {
    position: relative;
    padding-left: 20px;
    font-size: 13px;
    color: var(--text-secondary);
}

.faq-inline-list li::before {
    content: "•";
    position: absolute;
    left: 4px;
    color: var(--text-muted);
    font-weight: bold;
}


/* ==========================================================================
   9. КАРТОЧКА 8 — FOOTER CARD (Контакты и подвал)
   ========================================================================== */
.footer-card {
    background-color: var(--bg-card);
    padding: 56px 48px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.2fr 0.9fr;
    gap: 48px;
    align-items: start;
}

/* Левая секция */
.footer-left {
    text-align: center;
}
.footer-brand {
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 900;
    letter-spacing: 0.25em;
    color: var(--text-primary);
    line-height: 1;
    display: block;
    margin-bottom: 6px;
}

.footer-ceo-name {
    font-family: var(--font-heading);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    text-transform: uppercase;
    margin-bottom: 24px;
}

.footer-legal-copy {
    font-size: 11px;
    color: var(--text-muted);
    line-height: 1.6;
    font-weight: 300;
}

/* Центральная секция */
.footer-center {
    text-align: center;
    border-left: 1px solid rgba(255, 255, 255, 0.06);
    border-right: 1px solid rgba(255, 255, 255, 0.06);
    padding: 0 24px;
}

.footer-legal-link {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-fast);
}

.footer-legal-link:hover {
    color: var(--text-primary);
}

/* Правая секция */
.footer-right {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-social-label {
    font-family: var(--font-heading);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.18em;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.footer-social-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
    max-width: 220px;
}

.gh-social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: transparent;
    color: var(--text-primary);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50px;
    padding: 12px 24px;
    font-family: var(--font-heading);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-decoration: none;
    transition: var(--transition-normal);
}

.gh-social-btn:hover {
    background-color: var(--bg-accent);
    color: var(--bg-main);
    border-color: var(--bg-accent);
    transform: scale(1.02);
}

.social-icon-svg {
    width: 14px;
    height: 14px;
    fill: currentColor;
}

.social-icon-img {
    width: 14px;
    height: 14px;
    object-fit: contain;
    border-radius: 50%; /* Добавим легкое скругление для картинок, если это необходимо */
}

.social-icon-img.tg-icon-img {
    width: 18px;
    height: 18px;
}

/* Дополнительный блок юридической информации ИП в футере */
.footer-legal-title {
    font-family: var(--font-heading);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.15em;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.footer-legal-item {
    font-size: 12.5px;
    color: var(--text-secondary);
    font-weight: 300;
    line-height: 1.6;
    margin-bottom: 6px;
}

.footer-contacts-text {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 16px;
    width: 100%;
}

.footer-contact-row {
    font-size: 13px;
    color: var(--text-secondary);
    font-weight: 300;
}

.footer-link {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 400;
    transition: var(--transition-fast);
}

.footer-link:hover {
    color: var(--text-muted);
}


/* ==========================================================================
   10. ЛАЙТБОКС (Просмотр во весь экран)
   ========================================================================== */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(10, 11, 13, 0.98);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition-normal);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.lightbox.active {
    opacity: 1;
    pointer-events: auto;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 85vh;
    aspect-ratio: 956 / 1920;
    height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-img {
    width: auto;
    height: 100%;
    max-width: 100%;
    border-radius: 16px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.6);
    border: 1px solid var(--border-thin);
    object-fit: contain;
    animation: zoomIn 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes zoomIn {
    from { transform: scale(0.94); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.lightbox-close {
    position: absolute;
    top: 24px;
    right: 24px;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 32px;
    cursor: pointer;
    opacity: 0.5;
    transition: var(--transition-fast);
}

.lightbox-close:hover {
    opacity: 1;
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--text-primary);
    cursor: pointer;
    opacity: 0.5;
    transition: var(--transition-fast);
    padding: 20px;
}

.lightbox-nav:hover {
    opacity: 1;
}

.lightbox-prev { left: 40px; }
.lightbox-next { right: 40px; }

.lightbox-nav svg {
    width: 32px;
    height: 32px;
}


/* ==========================================================================
   11. АДАПТИВНОСТЬ (Media Queries)
   ========================================================================== */
@media (max-width: 1200px) {
    .slider-arrow.prev { left: -16px; }
    .slider-arrow.next { right: -16px; }
    
    .logo-brand {
        font-size: 64px;
    }
    
    .logo-brand-img {
        max-height: 240px;
    }
}

@media (max-width: 1024px) {
    .gh-card {
        padding: 48px 36px;
    }
    
    .logo-brand {
        font-size: 56px;
    }
    
    .logo-brand-img {
        max-height: 200px;
    }
    
    .card-grid-about {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .about-visual-content {
        max-width: 440px;
        margin: 0 auto;
        aspect-ratio: 1 / 1;
    }
    
    .services-columns-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 28px;
    }
    
    .plan-container-grid {
        grid-template-columns: 1fr;
        gap: 44px;
    }
    
    .plan-visual-wrapper {
        max-width: 440px;
        margin: 0 auto;
        aspect-ratio: 16 / 10;
    }
    
    .reviews-slider {
        display: flex;
    }
    
    .review-slide {
        flex: 0 0 calc((100% - 24px) / 2); /* 2 слайда с учетом одного gap 24px */
    }
    
    .review-slide:last-child {
        display: block;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 36px;
        text-align: center;
    }
    
    .footer-center {
        border-left: none;
        border-right: none;
        border-top: 1px solid rgba(255, 255, 255, 0.06);
        border-bottom: 1px solid rgba(255, 255, 255, 0.06);
        padding: 24px 0;
    }
    
    .footer-right {
        align-items: center;
    }
}

@media (max-width: 768px) {
    .bot-cta-grid {
        grid-template-columns: 1fr;
        gap: 24px;
        margin-bottom: 32px;
    }
    
    .bot-cta-column {
        padding: 20px;
    }

    .glasshaven-wrapper {
        padding: 20px 16px;
        gap: 24px;
    }
    
    .gh-card {
        padding: 36px 24px;
        border-radius: 20px;
    }
    
    .hero-card {
        height: auto;
        min-height: 540px;
    }
    
    .hero-content-wrapper {
        padding: 24px 20px;
        min-height: 540px;
    }
    
    .hero-navbar .nav-links {
        display: none; /* Скрываем текстовые ссылки на мобильном */
    }
    
    .hero-navbar {
        justify-content: center;
        padding-bottom: 14px;
    }
    
    .logo-brand {
        font-size: 38px;
        letter-spacing: 0.2em;
        margin-right: -0.2em;
    }
    
    .logo-brand-img {
        max-height: 160px;
    }
    
    .logo-sub {
        font-size: 8.5px;
        letter-spacing: 0.25em;
        margin-right: -0.25em;
        margin-top: 8px;
    }
    
    .hero-bottom-bar {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 16px;
    }
    
    .hero-bottom-left {
        max-width: 100%;
    }
    
    .hero-tagline {
        font-size: 14px;
        letter-spacing: 0.1em;
    }
    
    .hero-tagline-sub {
        font-size: 11px;
    }
    
    .hero-location {
        font-size: 9px;
        padding: 4px 10px;
    }
    
    .card-main-title {
        font-size: 22px;
    }
    
    .services-columns-grid {
        grid-template-columns: 1fr;
    }
    
    .reviews-slider {
        display: flex;
    }
    
    .review-slide {
        flex: 0 0 100%; /* 1 слайд на весь экран */
    }
    
    .review-slide:nth-child(2) {
        display: block;
    }
    
    .lightbox-nav {
        display: none;
    }
}

@media (max-width: 480px) {
    .logo-brand {
        font-size: 32px;
    }
    
    .logo-brand-img {
        max-height: 120px;
    }
    
    .footer-big-phone {
        font-size: 24px;
    }
    
    .cta-premium-btn {
        padding: 16px 28px;
        font-size: 11px;
    }
}
