/* ==========================================================================
   ПЕРЕМЕННЫЕ И ДИЗАЙН-СИСТЕМА (Светлый органик-люкс)
   ========================================================================== */
:root {
    /* Цветовая палитра */
    --color-bg: #F8F6F1;             /* Тёплый кремовый (основной) */
    --color-alt-bg: #EEF0E8;         /* Светлый шалфей (альтернативный) */
    --color-accent: #2D5A27;         /* Глубокий лесной зелёный (первый акцент) */
    --color-accent-light: #8FA67D;   /* Светлый хвойный (второй акцент) */
    --color-text-main: #1A1A18;      /* Тёплый черный (почти черный) */
    --color-text-muted: #5C5C52;     /* Тёплый серый */
    --color-white: #FFFFFF;
    --color-border: rgba(45, 90, 39, 0.15); /* Прозрачный лесной для бордеров */
    
    /* Шрифты */
    --font-heading: 'Cormorant Garamond', Georgia, serif;
    --font-accent: 'Josefin Sans', sans-serif;
    --font-body: 'Lora', Arial, sans-serif;

    /* Декоративные радиусы, тени и переходы */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 30px;
    --shadow-soft: 0 10px 40px rgba(26, 26, 24, 0.03);
    --shadow-medium: 0 15px 50px rgba(45, 90, 39, 0.08);
    --shadow-hover: 0 25px 60px rgba(45, 90, 39, 0.15);
    --transition-smooth: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
    --transition-fast: all 0.25s ease-out;
}

/* Сброс базовых стилей */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html, body {
    overflow-x: hidden !important;
    width: 100vw;
    scroll-behavior: auto; /* Контролируем прокрутку в GSAP самостоятельно */
    -webkit-text-size-adjust: 100%;
}

body {
    background-color: var(--color-bg);
    color: var(--color-text-main);
    font-family: var(--font-body);
    font-weight: 400;
    line-height: 1.62;
    position: relative;
}

/* Скрываем стандартный системный курсор на десктопах */
@media (min-width: 1025px) {
    body, a, button, select, input, textarea {
        cursor: none !important;
    }
}

/* Ограничительные контейнеры */
.container {
    width: 100%;
    max-width: 1320px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 24px;
    padding-right: 24px;
}

/* Вспомогательные сетки */
.grid-2-cols {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 60px;
}

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

/* Типографика */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--color-text-main);
    line-height: 1.2;
    font-weight: 400;
}

p {
    color: var(--color-text-muted);
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-fast);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* Базовые стили секций */
section {
    position: relative;
    padding: 120px 0;
    z-index: 2;
}

/* Общие заголовки секций */
.section-header {
    margin-bottom: 52px; /* Увеличили отступ до комфортного баланса */
}

.section-header.align-center {
    text-align: center;
}

.section-subtitle {
    display: inline-block;
    font-family: var(--font-accent);
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 0.2em;
    color: var(--color-accent-light);
    margin-bottom: 12px;
    font-weight: 600;
}

.section-title {
    font-size: clamp(1.8rem, 4vw, 3.5rem);
    font-weight: 300;
    color: var(--color-accent);
}

.section-intro {
    font-family: var(--font-body);
    font-size: clamp(1rem, 1.5vw, 1.15rem);
    color: var(--color-text-muted);
    max-width: 720px;
    margin: 16px auto 0 auto;
    line-height: 1.6;
}

.section-title span {
    font-style: italic;
    font-weight: 400;
}

/* Кнопки в стиле Премиум-Эко */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-accent);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    padding: 18px 36px;
    border-radius: 40px;
    border: none;
    outline: none;
    position: relative;
    overflow: hidden;
    transition: var(--transition-smooth);
    z-index: 1;
}

/* Премиальная анимация расширения фона из центра (clip-path) */
.btn-hover-effect::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 250px;
    height: 250px;
    border-radius: 50%;
    background-color: var(--color-accent); /* Будет переопределяться у других кнопок */
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    transform: translate(-50%, -50%) scale(0);
    z-index: -1;
}

.btn-hover-effect:hover::before {
    transform: translate(-50%, -50%) scale(1);
}

.btn-primary {
    background-color: var(--color-accent);
    color: var(--color-bg);
    box-shadow: 0 4px 15px rgba(45, 90, 39, 0.15);
}

.btn-primary::before {
    background-color: #1E3D1B; /* Более темный для эффекта наведения */
}

.btn-primary:hover {
    color: var(--color-white);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(45, 90, 39, 0.25);
}

.btn-secondary {
    background-color: transparent;
    color: var(--color-accent);
    border: 1px solid var(--color-accent);
}

.btn-secondary::before {
    background-color: var(--color-accent);
}

.btn-secondary:hover {
    color: var(--color-bg);
    border-color: var(--color-accent);
    transform: translateY(-2px);
}

.btn-nav {
    padding: 10px 22px;
    font-size: 11px;
    background-color: transparent;
    color: var(--color-accent);
    border: 1px solid var(--color-border);
}

.btn-nav::before {
    background-color: var(--color-accent);
}

.btn-nav:hover {
    color: var(--color-bg);
    border-color: var(--color-accent);
}


/* ==========================================================================
   HEADER / НАВИГАЦИЯ
   ========================================================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: transparent;
    z-index: 100;
    transition: var(--transition-smooth);
    padding: 24px 0;
}

/* Состояние sticky-шапки */
.header.sticky {
    padding: 16px 0;
    background-color: rgba(248, 246, 241, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(45, 90, 39, 0.05);
    box-shadow: var(--shadow-soft);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Логотип */
.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    z-index: 101;
}

.logo-icon {
    font-size: 18px;
    font-weight: 300;
    color: var(--color-accent);
    transform: scaleY(1.2);
    display: inline-block;
}

.logo-text {
    font-family: var(--font-accent);
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 0.25em;
    color: var(--color-text-main);
}

/* Меню */
.nav-menu {
    border-radius: 30px;
    padding: 4px;
}

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

.nav-link {
    font-family: var(--font-accent);
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--color-text-main);
    padding: 8px 0;
    position: relative;
    opacity: 0.8;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: var(--color-accent);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.nav-link:hover {
    opacity: 1;
    color: var(--color-accent);
}

.nav-link:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

/* Бургер-меню (для мобильных) */
.burger-menu {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 14px;
    background: transparent;
    border: none;
    z-index: 101;
}

.burger-line {
    width: 100%;
    height: 2px;
    background-color: var(--color-accent);
    transition: var(--transition-fast);
    transform-origin: center;
}


/* ==========================================================================
   HERO СЕКЦИЯ
   ========================================================================== */
.hero-section {
    height: 100vh;
    min-height: 650px;
    display: flex;
    align-items: center;
    padding: 0;
    overflow: hidden;
    position: relative;
}

.hero-bg-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
}

.hero-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(248, 246, 241, 0.8) 0%, rgba(248, 246, 241, 0.92) 100%);
    z-index: 2;
}

.hero-bg-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--color-alt-bg);
    opacity: 0.4;
    z-index: 1;
}

.hero-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    transform: scale(1.05); /* Резервируем место под параллакс */
}

/* Canvas-контейнер */
#particles-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 3;
    pointer-events: none;
}

.hero-content-wrapper {
    position: relative;
    z-index: 4;
    width: 100%;
}

.hero-text-block {
    max-width: 800px;
}

.hero-title {
    font-size: clamp(2rem, 5.5vw, 4.8rem);
    font-weight: 300;
    line-height: 1.15;
    color: var(--color-accent);
    margin-bottom: 24px;
}

/* Классы для анимации побуквенного появления через JS */
.word-span {
    display: inline-block;
    white-space: nowrap;
    overflow: hidden;
}

.letter-span {
    display: inline-block;
    opacity: 0;
    transform: translateY(40px);
}

.hero-subtitle {
    font-family: var(--font-body);
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--color-text-muted);
    line-height: 1.6;
    margin-bottom: 40px;
    max-width: 600px;
    opacity: 0;
    transform: translateY(30px);
}

.hero-cta-wrapper {
    opacity: 0;
    transform: translateY(30px);
}

/* Индикатор скролла */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    z-index: 4;
}

.scroll-line {
    width: 1px;
    height: 60px;
    background-color: rgba(45, 90, 39, 0.15);
    position: relative;
    overflow: hidden;
}

.scroll-line::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 30px;
    background-color: var(--color-accent);
    animation: scroll-down-anim 2.2s infinite ease-in-out;
}

@keyframes scroll-down-anim {
    0% {
        transform: translateY(-100%);
    }
    80%, 100% {
        transform: translateY(200%);
    }
}


    /* ==========================================================================
   СЕКЦИЯ ЦЕННОСТЕЙ
   ========================================================================== */
.values-section {
    background-color: var(--color-bg);
}

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

.value-card {
    background-color: var(--color-white);
    padding: 50px 40px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-soft);
    position: relative;
    overflow: hidden;
    transition: box-shadow 0.4s ease, background-color 0.4s ease;
    opacity: 1; /* Гарантируем видимость по дефолту до анимаций */
}

.value-card.gsap-done {
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.4s cubic-bezier(0.25, 1, 0.5, 1), background-color 0.4s ease;
}

.vcard-border {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background-color: var(--color-accent-light);
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition-smooth);
}

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

.value-card:hover .vcard-border {
    transform: scaleX(1);
}

.value-icon {
    font-size: 32px;
    margin-bottom: 24px;
    display: inline-block;
}

.value-title {
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--color-accent);
    margin-bottom: 16px;
}

.value-desc {
    font-size: 0.95rem;
    line-height: 1.65;
}


/* ==========================================================================
   СЕКЦИЯ АДАПТАЦИИ И КАТАЛОГА ПОКАЗАНЫ В ОТДЕЛЬНОМ ФАЙЛЕ CARDS.CSS
   ========================================================================== */


/* ==========================================================================
   СЕКЦИЯ О НАС
   ========================================================================== */
.about-section {
    background-color: var(--color-alt-bg);
    overflow: hidden;
}

.about-text-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.about-paragraph {
    font-size: 1rem;
    margin-bottom: 24px;
}

.about-paragraph.text-highlight {
    font-size: 1.2rem;
    color: var(--color-accent);
    font-style: italic;
    line-height: 1.5;
}

.about-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.stat-box {
    display: flex;
    flex-direction: column;
}

.stat-number-wrapper {
    display: flex;
    align-items: baseline;
    flex-wrap: nowrap;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 5vw, 4rem);
    color: var(--color-accent);
    line-height: 1;
    font-weight: 300;
    display: inline-block;
}

.stat-suffix {
    font-family: var(--font-heading);
    font-size: clamp(1.5rem, 3vw, 2.22rem);
    color: var(--color-accent);
    margin-left: 2px;
    font-weight: 300;
}

.stat-label {
    font-family: var(--font-accent);
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-text-muted);
    margin-top: 8px;
    line-weight: 1.3;
}

.about-media-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-image-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    width: 85%;
    aspect-ratio: 4 / 5;
    background-color: rgba(45, 90, 39, 0.05);
    box-shadow: var(--shadow-medium);
}

.about-img-placeholder {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 80px;
    z-index: 1;
    opacity: 0.15;
}

.about-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: relative;
    z-index: 2;
}

.about-floating-badge {
    position: absolute;
    bottom: 10%;
    left: 0;
    background-color: var(--color-white);
    padding: 24px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-hover);
    display: flex;
    align-items: center;
    gap: 16px;
    z-index: 3;
    max-width: 250px;
}

.badge-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(45, 90, 39, 0.1);
    color: var(--color-accent);
    font-weight: bold;
    font-size: 18px;
}

.badge-text h4 {
    font-family: var(--font-accent);
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-text-main);
}

.badge-text p {
    font-size: 11px;
    margin-top: 2px;
}


/* ==========================================================================
   СЕКЦИЯ ОТЗЫВОВ
   ========================================================================== */
.reviews-section {
    background-color: var(--color-bg);
}

.reviews-slider-wrapper {
    max-width: 850px;
    margin: 0 auto;
    position: relative;
}

.reviews-track {
    position: relative;
    min-height: 380px; /* Чтобы не скакала высота */
}

.review-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease, visibility 0.6s;
}

.review-slide.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    position: relative; /* Дает высоту родителю */
}

.review-card {
    background-color: var(--color-white);
    padding: 60px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(45, 90, 39, 0.03);
}

.review-quote {
    font-family: var(--font-heading);
    font-size: 120px;
    line-height: 0.1;
    color: rgba(143, 166, 125, 0.15);
    margin-bottom: 20px;
    height: 40px;
}

.review-text {
    font-family: var(--font-body);
    font-size: 1.15rem;
    font-style: italic;
    color: var(--color-text-main);
    line-height: 1.7;
    margin-bottom: 40px;
}

.review-author {
    display: flex;
    align-items: center;
    gap: 16px;
}

.author-avatar-placeholder {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--color-alt-bg);
    color: var(--color-accent);
    font-family: var(--font-accent);
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.02);
}

.author-meta h4 {
    font-family: var(--font-accent);
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-text-main);
}

.author-meta p {
    font-size: 12px;
    margin-top: 2px;
}

/* Органы управления слайдером */
.slider-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 40px;
}

.slider-btn {
    background: transparent;
    border: 1px solid var(--color-border);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    color: var(--color-accent);
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
}

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

.slider-dots {
    display: flex;
    gap: 12px;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: rgba(45, 90, 39, 0.2);
    transition: var(--transition-fast);
}

.dot.active {
    width: 24px;
    border-radius: 10px;
    background-color: var(--color-accent);
}


/* ==========================================================================
   СЕКЦИЯ ФОРМЫ ЗАЯВКИ
   ========================================================================== */
.order-section {
    background-color: var(--color-alt-bg);
    overflow: hidden;
}

.order-info-wrapper {
    padding-right: 40px;
}

.order-desc-p {
    font-size: 1.1rem;
    margin-bottom: 30px;
}

.order-benefits-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.order-benefits-list li {
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--color-text-main);
    display: flex;
    align-items: center;
    gap: 12px;
}

.order-benefits-list li span {
    color: var(--color-accent-light);
    font-weight: bold;
    font-size: 18px;
}

.order-form-container {
    background-color: var(--color-white);
    padding: 60px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-medium);
    position: relative;
    overflow: hidden;
}

.form-bg-glow {
    position: absolute;
    top: -50%;
    right: -50%;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(143, 166, 125, 0.1) 0%, rgba(255,255,255,0) 70%);
    filter: blur(40px);
    pointer-events: none;
}

.form-title {
    font-size: 1.8rem;
    color: var(--color-accent);
    margin-bottom: 30px;
    font-weight: 400;
}

.form-group {
    position: relative;
    margin-bottom: 24px;
}

.form-label {
    display: block;
    font-family: var(--font-accent);
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-text-muted);
    margin-bottom: 8px;
}

.form-input {
    width: 100%;
    padding: 16px 20px;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(45, 90, 39, 0.12);
    background-color: var(--color-bg);
    color: var(--color-text-main);
    font-family: var(--font-body);
    font-size: 15px;
    transition: var(--transition-fast);
    outline: none;
}

.form-input::placeholder {
    color: rgba(26, 26, 24, 0.3);
}

.form-input:focus {
    border-color: var(--color-accent);
    background-color: var(--color-white);
    box-shadow: 0 0 0 3px rgba(45, 90, 39, 0.05);
}

/* Стилизация select */
.select-wrapper {
    position: relative;
}

.select-input {
    appearance: none;
    -webkit-appearance: none;
    padding-right: 40px;
}

.select-arrow {
    position: absolute;
    top: 50%;
    right: 20px;
    transform: translateY(-50%) scaleY(0.6);
    pointer-events: none;
    color: var(--color-accent);
    font-size: 10px;
}

.textarea-input {
    min-height: 100px;
    resize: vertical;
}

/* Ошибки валидации */
.error-message {
    position: absolute;
    bottom: -18px;
    left: 4px;
    font-size: 11px;
    color: #A34E36;
    display: none;
}

.form-group.invalid .form-input {
    border-color: #A34E36;
}

.form-group.invalid .error-message {
    display: block;
}

.form-submit-btn {
    width: 100%;
    margin-top: 10px;
}

/* Спиннер во время псевдо-отправки */
.spinner {
    display: none;
    width: 18px;
    height: 18px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 0.8s linear infinite;
    position: absolute;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.form-submit-btn.loading .btn-text {
    visibility: hidden;
}

.form-submit-btn.loading .spinner {
    display: inline-block;
}

.form-privacy {
    font-size: 11px;
    text-align: center;
    color: rgba(26, 26, 24, 0.4);
    margin-top: 16px;
}

/* Обертка Успеха */
.success-message-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--color-white);
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-smooth);
}

.success-message-overlay.show {
    opacity: 1;
    visibility: visible;
}

.success-card {
    text-align: center;
    max-width: 400px;
}

.success-tree {
    font-size: 70px;
    margin-bottom: 24px;
    animation: pulse-tree 2s infinite ease-in-out;
}

@keyframes pulse-tree {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.success-title {
    font-size: 2.2rem;
    color: var(--color-accent);
    margin-bottom: 16px;
}

.success-text {
    font-size: 0.95rem;
    margin-bottom: 30px;
}


/* ==========================================================================
   КОНТАКТЫ & ФУТЕР
   ========================================================================== */
.footer {
    background-color: var(--color-text-main);
    color: rgba(248, 246, 241, 0.82);
    padding: 100px 0 40px;
    font-family: var(--font-body);
}

.footer .logo-text, .footer .logo-icon {
    color: var(--color-bg);
}

.footer-top-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1.25fr 1fr;
    gap: 40px;
    border-bottom: 1px solid rgba(248, 246, 241, 0.1);
    padding-bottom: 60px;
    margin-bottom: 40px;
}

.footer-col-info {
    padding-right: 40px;
}

.footer-tagline {
    font-size: 0.95rem;
    margin: 24px 0;
    line-height: 1.6;
    color: rgba(248, 246, 241, 0.65);
}

.social-links {
    display: flex;
    gap: 20px;
}

.social-link {
    font-family: var(--font-accent);
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-bg);
    opacity: 0.6;
}

.social-link:hover {
    opacity: 1;
    color: var(--color-accent-light);
}

.footer-heading {
    font-family: var(--font-accent);
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--color-bg);
    margin-bottom: 24px;
}

.footer-links, .footer-contacts {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.footer-links a {
    font-size: 0.95rem;
    opacity: 0.7;
}

.footer-links a:hover {
    opacity: 1;
    color: var(--color-accent-light);
    transform: translateX(4px);
}

.footer-contacts li {
    display: flex;
    gap: 12px;
    font-size: 0.9rem;
    line-height: 1.4;
}

.contact-icon {
    font-size: 16px;
    opacity: 0.8;
}

.contact-text {
    opacity: 0.8;
}

.contact-link:hover {
    opacity: 1;
    color: var(--color-accent-light);
}

.footer-text {
    font-size: 0.9rem;
    line-height: 1.6;
    opacity: 0.7;
}

.footer-text strong {
    color: var(--color-bg);
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 12px;
    color: rgba(248, 246, 241, 0.4);
}

.footer-bottom-links {
    display: flex;
    gap: 24px;
}

.footer-bottom-links a:hover {
    color: var(--color-bg);
}


/* ==========================================================================
   ЭЛЕМЕНТЫ УПРАВЛЕНИЯ СКРОЛЛОМ И КУРСОР
   ========================================================================== */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--color-accent);
    color: var(--color-bg);
    border: none;
    box-shadow: var(--shadow-medium);
    z-index: 99;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition-smooth);
}

.scroll-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-to-top:hover {
    background-color: #1E3D1B;
    transform: translateY(-4px);
}

/* Кастомный курсор */
.custom-cursor {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9999;
}

.cursor-ring {
    position: absolute;
    width: 38px;
    height: 38px;
    border: 1px solid var(--color-accent);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.cursor-dot {
    position: absolute;
    width: 6px;
    height: 6px;
    background-color: var(--color-accent);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
}


/* ==========================================================================
   АДАПТИВНОСТЬ / СЕТКА И ШАПКА
   ========================================================================== */

/* Полноэкранный мобильный оверлей */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: var(--color-bg);
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translateY(-100%);
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.mobile-menu-overlay.open {
    transform: translateY(0);
}

.mobile-menu-content {
    text-align: center;
}

.mobile-nav-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-bottom: 60px;
}

.mobile-nav-link {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    color: var(--color-accent);
}

.mobile-menu-footer {
    display: flex;
    flex-direction: column;
    gap: 10px;
    font-family: var(--font-accent);
    text-transform: uppercase;
    font-size: 11px;
    letter-spacing: 0.1em;
}

/* Изменения гридов и шапки для мобильных */
@media (max-width: 1024px) {
    section {
        padding: 80px 0;
    }

    .nav-list, .header-actions .btn {
        display: none;
    }

    .burger-menu {
        display: flex;
    }

    .custom-cursor {
        display: none !important;
    }

    body {
        cursor: auto !important;
    }

    .grid-2-cols {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .about-media-wrapper {
        margin-top: 20px;
    }

    .about-image-card {
        width: 100%;
    }

    .footer-top-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .values-grid {
        grid-template-columns: 1fr;
    }

    .about-stats-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 16px;
    }

    .about-floating-badge {
        position: relative !important;
        bottom: auto !important;
        left: auto !important;
        margin: 30px auto 0 auto !important;
        transform: none !important; /* Отключаем GSAP сдвиги на мобильном чтобы не вылезали за края */
        width: 100%;
        max-width: 280px;
    }

    .order-form-container {
        padding: 40px 24px;
    }

    .footer-top-grid {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }

    .review-card {
        padding: 40px 24px;
    }
}

@media (max-width: 480px) {
    .about-stats-grid {
        grid-template-columns: 1fr;
        gap: 24px;
        text-align: center;
    }
    
    .stat-number-wrapper {
        justify-content: center;
    }
    
    .stat-box {
        align-items: center;
    }

    .header-container {
        padding: 0 16px;
    }

    section {
        padding: 60px 0;
    }

    .section-title {
        font-size: 2rem;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .order-form-container {
        padding: 30px 16px;
    }

    .review-card {
        padding: 30px 16px;
    }
}
