/* ============================================
CSS-ПЕРЕМЕННЫЕ И БАЗОВЫЕ СТИЛИ
============================================ */
:root {
  --color-deep-brown: #2C1810;
  --color-warm-gold: #D4A843;
  --color-soft-amber: #E8B87D;
  --color-cream: #FAF8F5;
  --color-terracotta: #C67B5C;
  --color-deep-blue: #1A2332;
  --font-heading: 'Playfair Display', serif;
  --font-body: 'Lora', serif;
  --font-ui: 'Montserrat', sans-serif;
}

/* Шрифты */
@font-face {
  font-family: 'Playfair Display';
  src: url('../assets/fonts/PlayfairDisplay/PlayfairDisplay-Bold.ttf') format('truetype');
  font-weight: bold; font-display: swap;
}
@font-face {
  font-family: 'Lora';
  src: url('../assets/fonts/Lora/Lora-Regular.ttf') format('truetype');
  font-display: swap;
}
@font-face {
  font-family: 'Montserrat';
  src: url('../assets/fonts/Montserrat/Montserrat-Bold.ttf') format('truetype');
  font-weight: bold; font-display: swap;
}

/* Базовый сброс */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--color-deep-brown);
  background: var(--color-cream);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Секции */
.screen {
  position: relative;
  width: 100%;
  min-height: auto;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 60px 5%;
}

/* Заголовки */
.section-title {
  font-family: var(--font-heading);
  font-weight: bold;
  color: var(--color-deep-brown);
  text-align: center;
  margin-bottom: 40px;
}

/* Кнопки */
.btn {
  font-family: var(--font-ui);
  font-weight: bold;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
}
.btn-primary {
  background: var(--color-warm-gold);
  color: var(--color-deep-brown);
  padding: 18px 36px;
  font-size: 18px;
}
.btn-primary:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 24px rgba(212, 168, 67, 0.4);
}

/* ============================================
КОМПОНЕНТЫ: БАБЛЫ И КНОПКИ
============================================ */
.comic-bubble {
  position: relative;
  top:0px;
  left:50px;
  background: #FAF8F5;
  color: #2C1810;
  border-radius: 16px;
  padding: 24px 48px;
  box-shadow: 0 4px 12px rgba(44, 24, 16, 0.15);
  margin-bottom: 20px;
}
.comic-bubble.bubble-left::after {
  content: "";
  position: absolute;
  bottom: -15px;
  left: 30px;
  border-width: 15px 15px 0;
  border-style: solid;
  border-color: #FAF8F5 transparent transparent transparent;
}
.comic-bubble.bubble-right::after {
  content: "";
  position: absolute;
  bottom: -15px;
  right: 30px;
  border-width: 15px 15px 0;
  border-style: solid;
  border-color: #FAF8F5 transparent transparent transparent;
}

.choice-btn {
  background: rgba(255, 255, 255, 0.9);
  border: 2px solid #D4A843;
  border-radius: 8px;
  padding: 14px 20px;
  font-family: var(--font-ui);
  font-size: 14px;
  color: #2C1810;
  cursor: pointer;
  text-align: left;
  max-width: 800px;
  margin-bottom: 25px;
  transition: all 0.3s ease;
}
.choice-btn:hover {
  background: #D4A843;
  color: #FAF8F5;
  transform: translateX(5px);
}

/* Анимации */
@keyframes pulse-green {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(46, 204, 113, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 15px rgba(46, 204, 113, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(46, 204, 113, 0); }
}

/* ============================================
🔧 ФИКС БАБЛОВ И КНОПОК ВЫБОРА (ЭКРАН 2)
============================================ */

/* 🔒 Контейнер выбора: резервируем место заранее,
   чтобы при появлении кнопок экран не прыгал */
#choices-container {
  min-height: 180px !important;           /* 📏 Высота резерва (меняй если нужно) */
  visibility: hidden !important;          /* Скрыт, но место занято */
  opacity: 0 !important;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  position: relative !important;
  top:0px;
  left:50px;
  z-index: 100 !important;
}
/* ============================================
🔧 ОДИНАКОВАЯ ШИРИНА КНОПОК ВЫБОРА (ЭКРАН 2)
============================================ */

/* Контейнер выбора — растягиваем кнопки на всю ширину */
#choices-container {
  width: 100% !important;
  max-width: 800px !important;
}

/* Кнопки выбора — одинаковая ширина (на всю ширину контейнера) */
#choices-container .choice-btn {
  width: 100% !important;           /* ← Кнопка на всю ширину контейнера */
  min-width: 100% !important;       /* ← Гарантирует одинаковую ширину */
  max-width: 100% !important;       /* ← Не выходит за пределы */
  box-sizing: border-box !important;
  text-align: left !important;
  word-wrap: break-word !important; /* Перенос длинных слов */
}

/* Когда JS делает display: flex — перебиваем на visibility: visible */
#choices-container[style*="flex"] {
  visibility: visible !important;
  opacity: 1 !important;
}

/* 🔒 Баблы: фиксированная минимальная высота,
   чтобы контейнер не схлопывался */
#bubble-container {
  min-height: 120px !important;           /* 📏 Высота резерва под бабл */
  position: relative !important;
  z-index: 50 !important;
}

/* 🔒 Сам бабл: красивый вид без скачков */
#bubble-container .comic-bubble {
  min-width: 400px !important;            /* 📏 Минимальная ширина */
  max-width: 800px !important;            /* 📏 Максимальная ширина */
  padding: 16px 24px !important;          /* 📏 Внутренние отступы (красота) */
  font-size: 18px !important;             /* 📏 Размер текста */
  line-height: 1.5 !important;
  margin: 0 auto 0px auto !important;    /* Центрирование */
  position: relative !important;
  z-index: 60 !important;
}

/* 🔒 Кнопки выбора: красивый вид */
#choices-container .choice-btn {
  min-width: 400px !important;            /* 📏 Минимальная ширина */
  max-width: 800px !important;            /* 📏 Максимальная ширина */
  padding: 14px 24px !important;          /* 📏 Внутренние отступы (красота) */
  font-size: 16px !important;             /* 📏 Размер текста */
  line-height: 1.4 !important;
  margin: 0 auto 0px auto !important;     /* Центрирование */
  position: relative !important;
  z-index: 110 !important;                /* Поверх баблов */
  text-align: left !important;
}

/* 🔒 Шаблоны (скрыты, только для копирования стилей) */
#bubble-template-ivan,
#bubble-template-alina,
#choice-template {
  display: none !important;
}

/* ============================================
ЭКРАН 4: HOW IT WORKS
============================================ */
.screen-how-it-works {
    background-color: #FAF8F5; /* Светлый фон */
    padding: 80px 5%;
}

.screen-how-it-works .section-title {
    color: #2C1810;
    margin-bottom: 20px;
}

.section-subtitle {
    font-family: 'Lora', serif;
    font-size: 18px;
    color: #5C4033;
    text-align: center;
    max-width: 600px;
    margin: 0 auto 60px auto;
}

.steps-grid {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    max-width: 1700px;
    margin: 0 auto;
}

.step-card {
    background: #FFFFFF;
    border-radius: 16px;
    padding: 24px;
    width: 312px; /* Фиксированная ширина для десктопа */
    box-shadow: 0 10px 30px rgba(44, 24, 16, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    border: 1px solid rgba(212, 168, 67, 0.2);
}

.step-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(212, 168, 67, 0.15);
    border-color: #D4A843;
}

.step-number {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    background: #D4A843;
    color: #2C1810;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Montserrat', sans-serif;
    font-weight: bold;
    font-size: 20px;
    box-shadow: 0 4px 10px rgba(212, 168, 67, 0.4);
}

.step-image {
    width: 100%;
    height: 320px; /* Пропорция под 300x240 */
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 20px;
    margin-top: 10px;
    background: #F5EDE0;
}

.step-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.step-card:hover .step-image img {
    transform: scale(1.05);
}

/* Для 5-й карточки (текстовой) */
.step-icon-placeholder {
    width: 100%;
    height: 180px;
    background: linear-gradient(135deg, #FAF8F5 0%, #E8B87D 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    margin-top: 10px;
    border: 2px dashed #D4A843;
}

.icon-life {
    font-size: 60px;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.1));
}

.step-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    font-weight: bold;
    color: #2C1810;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.step-desc {
    font-family: 'Lora', serif;
    font-size: 14px;
    color: #5C4033;
    line-height: 1.5;
    margin: 0;
}

.steps-cta {
    text-align: center;
    margin-top: 60px;
}

/* ============================================
ЭКРАН 4: КАРТОЧКА ИНСТРУМЕНТОВ (5-Й ШАГ)
============================================ */
.step-tools-card {
    width: 100%;
    background: #FAF8F5;
    border: 2px solid #D4A843;
    border-radius: 12px;
    padding: 20px;
    margin-top: 15px;
    box-shadow: 0 4px 12px rgba(44, 24, 16, 0.1);
}

.tools-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: bold;
    color: #2C1810;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
    text-align: center;
}

.tool-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(212, 168, 67, 0.3);
}

.tool-item:last-of-type {
    border-bottom: none;
    margin-bottom: 15px;
}

.tool-icon {
    font-size: 24px;
    flex-shrink: 0;
    width: 30px;
    text-align: center;
}

.tool-content {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.tool-content strong {
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    font-weight: bold;
    color: #2C1810;
}

.tool-content span {
    font-family: 'Lora', serif;
    font-size: 12px;
    color: #5C4033;
    line-height: 1.4;
}

.tools-cta-btn {
    width: 100%;
    padding: 12px;
    background: #D4A843;
    color: #2C1810;
    border: none;
    border-radius: 8px;
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.tools-cta-btn:hover {
    background: #E8B87D;
    transform: scale(1.02);
    box-shadow: 0 4px 12px rgba(212, 168, 67, 0.4);
}

/* Мобильная адаптация для карточки инструментов */
@media (max-width: 1023px) {
    .step-tools-card {
        padding: 15px;
    }
    
    .tools-title {
        font-size: 12px;
    }
    
    .tool-icon {
        font-size: 20px;
        width: 25px;
    }
    
    .tool-content strong {
        font-size: 12px;
    }
    
    .tool-content span {
        font-size: 11px;
    }
    
    .tools-cta-btn {
        font-size: 12px;
        padding: 10px;
    }
}

/* Адаптивность для Экрана 4 */
@media (max-width: 1023px) {
    .steps-grid {
        flex-direction: column;
        align-items: center;
    }
    
    .step-card {
        width: 100%;
        max-width: 350px;
        flex-direction: row; /* На мобильном картинка слева, текст справа */
        text-align: left;
        padding: 20px;
        gap: 20px;
    }
    
    .step-number {
        position: static;
        transform: none;
        flex-shrink: 0;
    }
    
    .step-image, .step-icon-placeholder {
        width: 120px;
        height: 100px;
        margin: 0;
        flex-shrink: 0;
    }
    
    .step-content-wrapper {
        display: flex;
        flex-direction: column;
    }
}

/* ============================================
МОДАЛЬНЫЕ ОКНА (ПОЛИТИКА И ОФЕРТА)
============================================ */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(44, 24, 16, 0.85);
    backdrop-filter: blur(5px);
    z-index: 10000;
    justify-content: center;
    align-items: center;
    padding: 20px;
    box-sizing: border-box;
}

.modal-overlay.active {
    display: flex;
}

.modal-content {
    background: #FAF8F5;
    border-radius: 16px;
    max-width: 800px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    padding: 40px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    border: 2px solid #D4A843;
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    font-size: 32px;
    color: #2C1810;
    cursor: pointer;
    line-height: 1;
    transition: color 0.3s;
}

.modal-close:hover {
    color: #D4A843;
}

.modal-content h2 {
    font-family: 'Playfair Display', serif;
    color: #2C1810;
    font-size: 32px;
    margin-bottom: 30px;
    text-align: center;
}

.modal-content h3 {
    font-family: 'Montserrat', sans-serif;
    color: #D4A843;
    font-size: 18px;
    margin-top: 25px;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.modal-body p {
    font-family: 'Lora', serif;
    color: #2C1810;
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 15px;
}

.modal-body a {
    color: #C67B5C;
    text-decoration: underline;
}

/* Мобильная адаптация модалок */
@media (max-width: 768px) {
    .modal-content {
        padding: 30px 20px;
    }
    
    .modal-content h2 {
        font-size: 24px;
    }
    
    .modal-content h3 {
        font-size: 16px;
    }
    
    .modal-body p {
        font-size: 14px;
    }
}

/* ============================================
ЭКРАН 8: WAITLIST (ЛИСТ ОЖИДАНИЯ)
============================================ */

/* 🎛 ПАНЕЛЬ РУЧНЫХ НАСТРОЕК */
.screen-waitlist {
    --waitlist-padding: 80px 5%;
    --form-width: 600px;
    --form-padding: 40px;
    --field-height: 54px;
    --character-size: 380px;
    --character-gap: 30px;
    --title-size: 48px;
    --subtitle-size: 20px;
    --bonus-size: 16px;
    --cta-size: 18px;
    --proof-size: 16px;
}

.screen-waitlist {
    background: linear-gradient(180deg, #FAF8F5 0%, #E8B87D 100%);
    padding: var(--waitlist-padding);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.waitlist-container {
    max-width: 1400px;
    width: 100%;
    text-align: center;
}

/* ЗАГОЛОВОК */
.waitlist-title {
    color: #2C1810;
    font-size: var(--title-size);
    margin-bottom: 20px;
}

.waitlist-subtitle {
    font-family: 'Lora', serif;
    font-size: var(--subtitle-size);
    color: #2C1810;
    margin-bottom: 30px;
}

/* БОНУСЫ */
.waitlist-bonuses {
    list-style: none;
    padding: 0;
    margin: 0 auto 40px auto;
    max-width: 600px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px 24px;
}

.waitlist-bonuses li {
    font-family: 'Lora', serif;
    font-size: var(--bonus-size);
    color: #2C1810;
    display: flex;
    align-items: center;
    gap: 10px;
    text-align: left;
}

.bonus-icon {
    flex-shrink: 0;
    font-size: 18px;
}

/* ФОРМА + ПЕРСОНАЖИ */
.waitlist-form-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--character-gap);
    margin-bottom: 40px;
    position: relative;
}

/* ПЕРСОНАЖИ */
.character {
    width: var(--character-size);
    height: var(--character-size);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.character-avatar {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: all 0.4s ease;
    filter: drop-shadow(0 8px 24px rgba(44, 24, 16, 0.2));
}

/* ФОРМА */
.waitlist-form {
    background: #FAF8F5;
    border: 2px solid #D4A843;
    border-radius: 16px;
    padding: var(--form-padding);
    width: var(--form-width);
    max-width: 100%;
    box-shadow: 0 10px 40px rgba(44, 24, 16, 0.15);
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.form-field {
    width: 100%;
}

.form-field input {
    width: 100%;
    height: var(--field-height);
    padding: 0 20px;
    border: 2px solid #D4A843;
    border-radius: 10px;
    background: #FFFFFF;
    font-family: 'Lora', serif;
    font-size: 16px;
    color: #2C1810;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.form-field input::placeholder {
    color: #8B7355;
    opacity: 0.7;
}

.form-field input:focus {
    outline: none;
    border-color: #D4A843;
    box-shadow: 0 0 0 3px rgba(212, 168, 67, 0.2);
    background: #FFFDF7;
}

.form-field input:invalid:not(:placeholder-shown) {
    border-color: #C0392B;
}

/* РАДИО-КНОПКИ */
.radio-group {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.radio-label {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    border: 2px solid #D4A843;
    border-radius: 10px;
    background: #FFFFFF;
    cursor: pointer;
    transition: all 0.3s ease;
    flex: 1;
    min-width: 180px;
    justify-content: center;
}

.radio-label:hover {
    background: #FFFDF7;
    transform: translateY(-2px);
}

.radio-label input[type="radio"] {
    width: 18px;
    height: 18px;
    accent-color: #D4A843;
    cursor: pointer;
}

.radio-label input[type="radio"]:checked + .radio-text {
    font-weight: bold;
    color: #2C1810;
}

.radio-label:has(input:checked) {
    background: #FFF4D6;
    border-color: #D4A843;
    box-shadow: 0 4px 12px rgba(212, 168, 67, 0.3);
}

.radio-text {
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    color: #5C4033;
}

/* CTA КНОПКА */
.waitlist-cta {
    width: 100%;
    padding: 18px 36px;
    font-size: var(--cta-size);
    margin-top: 8px;
    transition: all 0.3s ease;
}

.waitlist-cta:hover {
    transform: scale(1.02);
    box-shadow: 0 12px 32px rgba(212, 168, 67, 0.5);
}

.waitlist-cta:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* ПРИВАТНОСТЬ */
.privacy-note {
    font-family: 'Lora', serif;
    font-size: 12px;
    color: #5C4033;
    opacity: 0.7;
    margin: 0;
    text-align: center;
}

/* СОЦИАЛЬНОЕ ДОКАЗАТЕЛЬСТВО */
.social-proof {
    margin-top: 20px;
}

.social-proof p {
    font-family: 'Lora', serif;
    font-size: var(--proof-size);
    color: #2C1810;
    font-weight: 600;
}

/* АНИМАЦИЯ РЕАКЦИЙ */
.character-avatar.reaction-change {
    animation: avatarReaction 0.5s ease;
}

@keyframes avatarReaction {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

/* ============================================
ЭКРАН 5: MODULES
============================================ */
.screen-modules {
    background-color: #2C1810;
    padding: 80px 5%;
    color: #FAF8F5;
}

.screen-modules .container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.screen-modules .section-title {
    color: #FAF8F5 !important;
    text-shadow: 0 2px 20px rgba(212, 168, 67, 0.3);
}

.modules-subtitle {
    font-family: 'Lora', serif;
    font-size: 18px;
    color: #D4A843;
    margin-top: -30px;
    margin-bottom: 50px;
}

.modules-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

/*  КАРТОЧКА МОДУЛЯ — НОВАЯ СТРУКТУРА */
.module-card {
    background: rgba(44, 24, 16, 0.6);
    border: 2px solid rgba(212, 168, 67, 0.3);
    border-radius: 16px;
    overflow: hidden; /* ← ВАЖНО: обрезает изображение по рамке */
    position: relative;
    cursor: pointer;
    transition: all 0.4s ease;
    backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
}

.module-card:hover {
    border-color: #D4A843;
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(212, 168, 67, 0.2);
    background: rgba(44, 24, 16, 0.8);
}

/* 🖼 ИЗОБРАЖЕНИЕ 4:3 — ЗАПОЛНЯЕТ ВЕРХ КАРТОЧКИ */
.module-image {
    width: 100%;
    aspect-ratio: 4 / 3; /* ← ФОРМАТ 4:3 */
    overflow: hidden;
    background: #1A2332;
    flex-shrink: 0;
}

.module-image img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* ← ЗАПОЛНЯЕТ БЕЗ ПУСТОТЫ */
    transition: transform 0.5s ease;
}

.module-card:hover .module-image img {
    transform: scale(1.05);
}

/*  КОНТЕНТ КАРТОЧКИ (ТЕКСТ) */
.module-content {
    padding: 24px 20px 20px 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.module-icon {
    font-size: 32px;
    margin-bottom: 12px;
}

.module-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 20px;
    font-weight: bold;
    color: #FAF8F5;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.module-desc {
    font-family: 'Lora', serif;
    font-size: 15px;
    color: rgba(250, 248, 245, 0.85);
    line-height: 1.5;
    margin-bottom: 12px;
    flex: 1;
}

.module-hint {
    font-family: 'Montserrat', sans-serif;
    font-size: 11px;
    color: #D4A843;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.8;
    margin-top: auto;
}

/* 🎁 БОНУСНАЯ КАРТОЧКА */
.bonus-module-card {
    background: linear-gradient(135deg, rgba(212, 168, 67, 0.1) 0%, rgba(44, 24, 16, 0.6) 100%);
    border: 1px solid rgba(212, 168, 67, 0.5);
    border-radius: 16px;
    padding: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    max-width: 800px;
    margin: 0 auto;
}

.bonus-icon {
    font-size: 40px;
}

.bonus-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 18px;
    font-weight: bold;
    color: #D4A843;
    margin-bottom: 5px;
}

.bonus-desc {
    font-family: 'Lora', serif;
    font-size: 14px;
    color: rgba(250, 248, 245, 0.8);
    margin: 0;
}

/* ============================================
МОДАЛЬНОЕ ОКНО ДИАЛОГОВ МОДУЛЕЙ
============================================ */
.module-dialogue-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(44, 24, 16, 0.9);
    backdrop-filter: blur(10px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.module-dialogue-modal {
    background: #2C1810;
    border: 2px solid #D4A843;
    border-radius: 16px;
    max-width: 700px;
    width: 100%;
    max-height: 80vh;
    overflow-y: auto;
    padding: 40px;
    position: relative;
}

.module-dialogue-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    font-size: 32px;
    color: #FAF8F5;
    cursor: pointer;
    transition: color 0.3s;
}

.module-dialogue-close:hover {
    color: #D4A843;
}

.module-dialogue-title {
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    color: #D4A843;
    text-align: center;
    margin-bottom: 30px;
}

.module-dialogue-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.dialogue-replica {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    animation: fadeInUp 0.4s ease;
}

.dialogue-replica.ivan {
    flex-direction: row-reverse;
}

.replica-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #D4A843;
    flex-shrink: 0;
}

.replica-content {
    flex: 1;
    background: rgba(250, 248, 245, 0.1);
    border-radius: 12px;
    padding: 15px 20px;
}

.dialogue-replica.ivan .replica-content {
    background: rgba(212, 168, 67, 0.15);
}

.replica-name {
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    font-weight: bold;
    color: #D4A843;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: block;
    margin-bottom: 5px;
}

.replica-text {
    font-family: 'Lora', serif;
    font-size: 15px;
    color: #FAF8F5;
    line-height: 1.6;
    margin: 0;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================
МОДАЛЬНОЕ ОКНО ДИАЛОГОВ МОДУЛЕЙ (СВЕТЛАЯ ТЕМА)
============================================ */
.module-dialogue-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(44, 24, 16, 0.7); /* Полупрозрачный тёмный фон */
    backdrop-filter: blur(8px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.module-dialogue-modal {
    background: #FAF8F5; /* СВЕТЛЫЙ фон */
    border: 2px solid #D4A843;
    border-radius: 16px;
    max-width: 700px;
    width: 100%;
    max-height: 80vh;
    overflow-y: auto;
    padding: 40px;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.module-dialogue-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    font-size: 32px;
    color: #2C1810; /* ТЁМНЫЙ крестик */
    cursor: pointer;
    transition: color 0.3s;
    line-height: 1;
}

.module-dialogue-close:hover {
    color: #D4A843;
}

.module-modal-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid rgba(212, 168, 67, 0.3);
}

.module-modal-icon {
    font-size: 36px;
}

.module-modal-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 24px;
    font-weight: bold;
    color: #2C1810; /* ТЁМНЫЙ заголовок */
    margin: 0;
    text-transform: uppercase;
}

.module-dialogue-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.dialogue-replica {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    animation: fadeInUp 0.4s ease;
}

.dialogue-replica.ivan {
    flex-direction: row-reverse;
}

.replica-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #D4A843;
    flex-shrink: 0;
    background: #F5EDE0;
}

.replica-content {
    flex: 1;
    background: rgba(44, 24, 16, 0.05); /* Лёгкий тёмный фон для контраста */
    border-radius: 12px;
    padding: 15px 20px;
    border: 1px solid rgba(212, 168, 67, 0.2);
}

.dialogue-replica.ivan .replica-content {
    background: rgba(212, 168, 67, 0.08); /* Чуть более золотистый для Ивана */
}

.replica-name {
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    font-weight: bold;
    color: #D4A843;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: block;
    margin-bottom: 5px;
}

.replica-text {
    font-family: 'Lora', serif;
    font-size: 15px;
    color: #2C1810; /* ТЁМНЫЙ текст реплик */
    line-height: 1.6;
    margin: 0;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Мобильная адаптация */
@media (max-width: 1023px) {
    .module-dialogue-modal {
        padding: 30px 20px;
    }
    
    .module-modal-title {
        font-size: 20px;
    }
    
    .replica-avatar {
        width: 40px;
        height: 40px;
    }
    
    .replica-text {
        font-size: 14px;
    }
    
    .replica-content {
        padding: 12px 14px;
    }
}

/* ============================================
CTA-КНОПКА В МОДАЛКЕ ДИАЛОГА
============================================ */
.module-dialogue-cta {
    margin-top: 30px;
    text-align: center;
    animation: fadeInUp 0.6s ease;
}

.module-dialogue-cta .btn-primary {
    display: inline-block;
    padding: 16px 36px;
    background: linear-gradient(135deg, #D4A843 0%, #E8B87D 100%);
    color: #2C1810;
    border: none;
    border-radius: 12px;
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(212, 168, 67, 0.4);
    text-decoration: none;
}

.module-dialogue-cta .btn-primary:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 24px rgba(212, 168, 67, 0.6);
}

.module-dialogue-cta .cta-subtitle {
    display: block;
    margin-top: 10px;
    font-family: 'Lora', serif;
    font-size: 13px;
    color: rgba(250, 248, 245, 0.7);
    font-style: italic;
}

/* Мобильная адаптация CTA */
@media (max-width: 1023px) {
    .module-dialogue-cta .btn-primary {
        width: 100%;
        max-width: 335px;
        padding: 14px 24px;
        font-size: 15px;
    }
}

/* ============================================
ЭКРАН 7: FEATURES (ПРЕИМУЩЕСТВА + МЕТА-СПОР)
============================================ */
.screen-features {
    padding: 80px 5%;
}
.screen-features .container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}
.screen-features .section-title {
    color: #FAF8F5;
    text-shadow: 0 2px 20px rgba(212, 168, 67, 0.3);
}

/* 🃏 СЕТКА КАРТОЧЕК */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 60px;
}
.feature-card {
    background: rgba(44, 24, 16, 0.6);
    border: 2px solid rgba(212, 168, 67, 0.3);
    border-radius: 16px;
    padding: 28px 24px;
    text-align: left;
    backdrop-filter: blur(10px);
    transition: all 0.4s ease;
}
.feature-card:hover {
    border-color: #D4A843;
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(212, 168, 67, 0.2);
    background: rgba(44, 24, 16, 0.8);
}
.feature-icon {
    font-size: 36px;
    margin-bottom: 14px;
    display: block;
}
.feature-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 17px;
    font-weight: bold;
    color: #FAF8F5;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.feature-desc {
    font-family: 'Lora', serif;
    font-size: 14px;
    color: rgba(250, 248, 245, 0.85);
    line-height: 1.5;
    margin: 0;
}

/* ============================================
ЭКРАН 7: МЕТА-СПОР
============================================ */
.meta-dialogue {
    max-width: 700px;
    margin: 0 auto;
}
.meta-dialogue-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 22px;
    font-weight: bold;
    color: #D4A843;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
}
.meta-dialogue-subtitle {
    font-family: 'Lora', serif;
    font-size: 15px;
    color: rgba(250, 248, 245, 0.8);
    margin-bottom: 24px;
    line-height: 1.5;
}
/* Светлое «окно» диалога на тёмном фоне экрана */
.meta-dialogue-window {
    background: #FAF8F5;
    border: 2px solid #D4A843;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    text-align: left;
}
.meta-dialogue-body {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-height: 420px;
    overflow-y: auto;
    padding-right: 8px;
}
/* Панель управления (прогресс + «Дальше») */
.meta-dialogue-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 2px solid rgba(212, 168, 67, 0.3);
}
.meta-dialogue-progress {
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    font-weight: bold;
    color: #D4A843;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.meta-dialogue-next {
    padding: 12px 28px;
    font-size: 15px;
}
/* Футер с CTA и «Повторить» (появляется в конце) */
.meta-dialogue-footer {
    display: none;
    margin-top: 20px;
    animation: fadeInUp 0.6s ease;
}
.meta-dialogue-footer.visible {
    display: block;
}
.meta-dialogue-cta {
    width: 100%;
    padding: 16px 36px;
    font-size: 16px;
}
.meta-dialogue-restart {
    display: block;
    margin: 12px auto 0;
    padding: 10px 22px;
    background: transparent;
    color: #D4A843;
    border: 2px solid #D4A843;
    border-radius: 8px;
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}
.meta-dialogue-restart:hover {
    background: #D4A843;
    color: #2C1810;
}

/* ============================================
ЭКРАН 7: РАЗМЕРЫ + ИКОНКИ (ФИНАЛЬНАЯ ВЕРСИЯ)
Иконки с чёрным фоном → mix-blend-mode: screen
============================================ */

/* Контейнер шире → карточки шире (1200 → 1400) */
.screen-features .container {
    max-width: 1400px;
}

/* Иконки преимуществ: чёрный фон растворяется на тёмных карточках.
   ВАЖНО: filter: none — иначе тень легла бы квадратом по фону PNG */
.feature-icon {
    width: 72px;
    height: 72px;
    object-fit: contain;
    margin-bottom: 16px;
    display: block;
    mix-blend-mode: screen;   /* ← чёрный становится «прозрачным» */
    filter: none;             /* ← отменяем drop-shadow из прошлой версии */
}

/* Окно мета-спора шире (700 → 980) */
.meta-dialogue {
    max-width: 1280px;
}

/* Зона диалога выше под крупные аватары */
.meta-dialogue-body {
    height: 220px;
    max-height: 220px;
}

/* Аватары в мета-споре: 50px → 120px (×2.4) */
.meta-dialogue-body .replica-avatar {
    width: 170px;
    height: 170px;
    border-width: 3px;
}

/* Текст диалога крупнее */
.meta-dialogue-body .replica-text {
    font-size: 19px;
}
.meta-dialogue-body .replica-name {
    font-size: 13px;
}
.meta-dialogue-body .replica-content {
    padding: 18px 24px;
}
.meta-dialogue-body .dialogue-replica {
    gap: 20px;
}

/* ============================================
ЭКРАН 6: EXPERTS & TEAM
============================================ */
.screen-experts {
    background-color: #FAF8F5; /* подложка, если фон не прогрузится */
    padding: 80px 5%;
}
.screen-experts .container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}
.screen-experts .section-title {
    color: #2C1810;
}

/* 🌟 Основной эксперт */
.expert-lead {
    display: flex;
    align-items: center;
    gap: 40px;
    background: rgba(255, 255, 255, 0.95);
    border: 2px solid rgba(212, 168, 67, 0.4);
    border-radius: 20px;
    padding: 40px;
    max-width: 900px;
    margin: 0 auto 50px auto;
    box-shadow: 0 10px 40px rgba(44, 24, 16, 0.12);
    text-align: left;
}
.expert-lead .expert-photo {
    width: 220px;
    height: 220px;
}

/* Фото (круглое, золотая рамка) */
.expert-photo {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #D4A843;
    box-shadow: 0 6px 20px rgba(212, 168, 67, 0.35);
    flex-shrink: 0;
    background: #F5EDE0;
}

/* Тексты карточек */
.expert-name {
    font-family: 'Playfair Display', serif;
    font-size: 26px;
    color: #2C1810;
    margin-bottom: 6px;
}
.expert-role {
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    font-weight: bold;
    color: #C67B5C;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 14px;
}
.expert-quote {
    font-family: 'Lora', serif;
    font-style: italic;
    font-size: 16px;
    color: #5C4033;
    line-height: 1.6;
    margin-bottom: 14px;
}
.expert-specs {
    list-style: none;
    padding: 0;
    margin: 0;
}
.expert-specs li {
    font-family: 'Lora', serif;
    font-size: 14px;
    color: #2C1810;
    line-height: 1.5;
    padding-left: 20px;
    position: relative;
    margin-bottom: 6px;
    text-align: left;
}
.expert-specs li::before {
    content: "✦";
    position: absolute;
    left: 0;
    color: #D4A843;
}

/* 👥 Сетка команды */
.experts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 50px;
}
.expert-card {
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(212, 168, 67, 0.3);
    border-radius: 16px;
    padding: 30px 24px;
    box-shadow: 0 8px 24px rgba(44, 24, 16, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}
.expert-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(212, 168, 67, 0.2);
    border-color: #D4A843;
}
.expert-card .expert-photo {
    margin-bottom: 16px;
}
.expert-card .expert-name { font-size: 20px; }
.expert-card .expert-role { font-size: 11px; }
.expert-card .expert-quote { font-size: 14px; }
.expert-card .expert-specs li { font-size: 13px; }

/* 🤝 Партнёры */
.experts-partners {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    margin-bottom: 50px;
}
.partner-card {
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(212, 168, 67, 0.3);
    border-radius: 16px;
    padding: 24px 32px;
    display: flex;
    align-items: center;
    gap: 20px;
    box-shadow: 0 8px 24px rgba(44, 24, 16, 0.08);
}
.partner-card img {
    width: 90px;
    height: 90px;
    object-fit: contain;
    flex-shrink: 0;
}
.partner-card p {
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: bold;
    color: #2C1810;
    max-width: 240px;
    text-align: left;
    margin: 0;
}

/* 📚 Научная база */
.experts-science {
    background: rgba(212, 168, 67, 0.12);
    border: 2px solid rgba(212, 168, 67, 0.5);
    border-radius: 16px;
    padding: 30px 40px;
    max-width: 900px;
    margin: 0 auto;
}
.experts-science h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    font-weight: bold;
    color: #2C1810;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 12px;
}
.experts-science p {
    font-family: 'Lora', serif;
    font-size: 15px;
    color: #2C1810;
    line-height: 1.7;
    margin: 0;
    text-align: left;
}

/* ============================================
БОНУС-КАРТОЧКА (ЭКРАН 5): CTA НА ФОРМУ
============================================ */
.bonus-module-card {
    cursor: pointer;
    transition: all 0.3s ease;
}
.bonus-module-card:hover {
    border-color: #D4A843;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(212, 168, 67, 0.25);
}
.bonus-hint {
    font-family: 'Montserrat', sans-serif;
    font-size: 11px;
    color: #D4A843;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 10px;
    opacity: 0.85;
}

/* ============================================
ЭКРАН 9: FAQ
============================================ */
.screen-faq {
    padding: 80px 5%;
}
.screen-faq .section-title {
    color: #FAF8F5;
    text-shadow: 0 2px 20px rgba(212, 168, 67, 0.3);
}
.faq-accordion {
    max-width: 800px;
    margin: 0 auto 40px auto;
}
.faq-question {
    width: 100%;
    text-align: left;
}
/* Вторичная кнопка (ссылка на faq-all) */
.btn-secondary {
    display: inline-block;
    background: transparent;
    color: #FAF8F5;
    border: 2px solid #D4A843;
    border-radius: 12px;
    padding: 14px 32px;
    font-size: 16px;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
}
.btn-secondary:hover {
    background: #D4A843;
    color: #2C1810;
    transform: scale(1.03);
}

/* ============================================
FAQ-ALL: КНОПКА "НАЗАД" (ТЁМНАЯ ТЕМА, КАК ЭКРАН 9)
============================================ */
.faq-all-back {
    position: absolute;
    top: 30px;
    left: 5%;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: bold;
    color: #FAF8F5;
    text-decoration: none;
    border: 2px solid #D4A843;
    border-radius: 8px;
    padding: 10px 20px;
    transition: all 0.3s ease;
    z-index: 10;
}
.faq-all-back:hover {
    background: #D4A843;
    color: #2C1810;
}

/* ============================================
ЭКРАН 10: CONTACTS
============================================ */
.screen-contacts {
    padding: 80px 5%;
    background-color: #FAF8F5;
}
.screen-contacts .container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}
.screen-contacts .section-title {
    color: #2C1810;
    margin-bottom: 10px;
}
.contacts-subtitle {
    font-family: 'Lora', serif;
    font-style: italic;
    font-size: 18px;
    color: #5C4033;
    margin-bottom: 50px;
}
.contacts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 50px;
}
.contact-card {
    background: rgba(255, 255, 255, 0.95);
    border: 2px solid rgba(212, 168, 67, 0.3);
    border-radius: 16px;
    padding: 32px 24px;
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}
.contact-card:hover {
    border-color: #D4A843;
    transform: translateY(-5px);
    box-shadow: 0 12px 32px rgba(212, 168, 67, 0.2);
}
.contact-icon {
    width: 64px;
    height: 64px;
    object-fit: contain;
    margin-bottom: 16px;
}
.contact-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: bold;
    color: #C67B5C;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
}
.contact-value {
    font-family: 'Playfair Display', serif;
    font-size: 20px;
    color: #2C1810;
    margin-bottom: 8px;
    line-height: 1.3;
    word-break: break-word;
}
.contact-hint {
    font-family: 'Lora', serif;
    font-size: 13px;
    color: #5C4033;
    margin: 0;
    line-height: 1.4;
}
.contact-list {
    list-style: none;
    padding: 0;
    margin: 4px 0 0 0;
    font-family: 'Lora', serif;
    font-size: 13px;
    color: #5C4033;
    line-height: 1.6;
    text-align: left;
}

/* Блок поддержки */
.contacts-support {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    background: rgba(212, 168, 67, 0.12);
    border: 2px solid rgba(212, 168, 67, 0.4);
    border-radius: 16px;
    padding: 24px 32px;
    max-width: 800px;
    margin: 0 auto;
}
.support-item {
    display: flex;
    align-items: center;
    gap: 14px;
    text-align: left;
}
.support-icon {
    width: 40px;
    height: 40px;
    object-fit: contain;
    flex-shrink: 0;
}
.support-item strong {
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    color: #2C1810;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: block;
    margin-bottom: 2px;
}
.support-item p {
    font-family: 'Lora', serif;
    font-size: 14px;
    color: #5C4033;
    margin: 0;
    line-height: 1.4;
}
.support-item a {
    color: #C67B5C;
    text-decoration: none;
    font-weight: 600;
}
.support-item a:hover {
    text-decoration: underline;
}

/* ============================================
ЭКРАН 11: FOOTER (ДВЕРСИЯ 2.0)
Крупнее, чище, с подписями к VK,
копирайт в самом низу
============================================ */
.screen-footer {
    background-color: #2C1810;
    color: #FAF8F5;
    padding: 80px 5% 40px;
    min-height: auto;
}
.footer-container {
    max-width: 1400px;
    margin: 0 auto;
}
.footer-main {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr; /* Лого-колонка шире */
    gap: 60px;
    margin-bottom: 50px;
    align-items: start;
}

/* БРЕНД (только лого и копирайт) */
.footer-brand {
    text-align: left;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
.footer-logo {
    width: 220px;              /* 📏 КРУПНОЕ ЛОГО: ~180→220 */
    height: auto;
    object-fit: contain;
    margin-bottom: 20px;
    filter: drop-shadow(0 4px 16px rgba(212, 168, 67, 0.4));
}
.footer-brand-copy {
    font-family: 'Lora', serif;
    font-size: 14px;
    color: rgba(250, 248, 245, 0.7);
    margin: 0;
    line-height: 1.5;
}

/* НАВИГАЦИЯ и ДОКУМЕНТЫ */
.footer-col-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 18px;          /* 📏 КРУПНЕЕ: 13→18 */
    font-weight: bold;
    color: #D4A843;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 24px;
}
.footer-nav ul,
.footer-docs ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer-nav li,
.footer-docs li {
    margin-bottom: 14px;
}
.footer-nav a,
.footer-docs a {
    font-family: 'Lora', serif;
    font-size: 17px;          /* 📏 КРУПНЕЕ: 14→17 */
    color: rgba(250, 248, 245, 0.9);
    text-decoration: none;
    transition: color 0.3s ease;
    line-height: 1.5;
}
.footer-nav a:hover,
.footer-docs a:hover {
    color: #D4A843;
}

/* РАЗДЕЛИТЕЛЬ */
.footer-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, #D4A843, transparent);
    opacity: 0.4;
    margin: 40px 0 30px;
}

/* НИЖНЯЯ СТРОКА: EMAIL + СОЦСЕТИ */
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 24px;
    margin-bottom: 24px;
}
.footer-bottom-left a {
    font-family: 'Lora', serif;
    font-size: 17px;          /* 📏 КРУПНЕЕ */
    color: rgba(250, 248, 245, 0.9);
    text-decoration: none;
    transition: color 0.3s ease;
}
.footer-bottom-left a:hover {
    color: #D4A843;
}

/* СОЦСЕТИ С ПОДПИСЯМИ */
.footer-bottom-right {
    display: flex;
    gap: 28px;
    align-items: center;
}
.footer-social-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}
.footer-social-item a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;              /* 📏 КРУПНЕЕ иконки */
    height: 48px;
    background: rgba(212, 168, 67, 0.12);
    border: 1px solid rgba(212, 168, 67, 0.5);
    border-radius: 50%;
    transition: all 0.3s ease;
}
.footer-social-item a:hover {
    background: #D4A843;
    transform: translateY(-3px);
    border-color: #D4A843;
}
.footer-social-item img {
    width: 26px;              /* 📏 КРУПНЕЕ */
    height: 26px;
    object-fit: contain;
}
.footer-social-item span {
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    color: rgba(250, 248, 245, 0.7);
    text-align: center;
    max-width: 110px;
    line-height: 1.3;
}

/* СТРОКА РАЗРАБОТЧИКА */
.footer-developer {
    text-align: center;
    font-family: 'Lora', serif;
    font-size: 15px;          /* 📏 КРУПНЕЕ */
    color: rgba(250, 248, 245, 0.65);
    margin: 20px 0 16px;
}
.footer-developer a {
    color: #D4A843;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}
.footer-developer a:hover {
    color: #E8B87D;
    text-decoration: underline;
}

/* РЕКВИЗИТЫ */
.footer-requisites {
    text-align: center;
    font-family: 'Lora', serif;
    font-size: 13px;          /* 📏 ЧУТЬ КРУПНЕЕ */
    color: rgba(250, 248, 245, 0.5);
    line-height: 1.6;
    padding-top: 20px;
    border-top: 1px solid rgba(212, 168, 67, 0.15);
}
.footer-requisites p {
    margin: 4px 0;
}

/* КОПИРАЙТ "ВСЕ ПРАВА ЗАЩИЩЕНЫ" — ВСЕГДА В НИЗУ */
.footer-copyright {
    text-align: center;
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    font-weight: bold;
    color: rgba(250, 248, 245, 0.5);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-top: 24px;
    padding-top: 16px;
}

/* ============================================
ФУТЕР: ФИНАЛЬНЫЕ ПРАВКИ (ДЕСКТОП)
- Логотип ×4 (220 → ~800px)
- Тексты над 1 разделителем ×2 (17 → 34px)
- Больше воздуха между блоками
- Реквизиты в 1 строку
============================================ */

/* Логотип ×4 */
.footer-logo {
    max-width: 900px !important;
    width: 100% !important;
    height: auto !important;
}

/* Прячем копирайт из блока бренда (перенесён вниз) */
.footer-brand-copy {
    display: none !important;
}

/* Тексты над 1 разделителем — в 2 раза крупнее */
.footer-nav a,
.footer-docs a {
    font-size: 28px !important;
    line-height: 1.4 !important;
}
/* Заголовки колонок пропорционально крупнее */
.footer-col-title {
    font-size: 26px !important;
    margin-bottom: 30px !important;
}

/* Опускаем тексты — больше воздуха */
.footer-main {
    margin-bottom: 80px !important;
    gap: 80px !important;
}
/* Текст под 1 разделителем опускаем ниже */
.footer-bottom {
    margin-top: 40px !important;
    margin-bottom: 40px !important;
}
/* Под 2 разделителем опускаем ещё ниже */
.footer-developer {
    margin: 0px 0px 0px !important;
    font-size: 17px !important;
}

/* Реквизиты — в 1 строку */
.footer-requisites {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 8px 28px !important;
    margin-top: 24px !important;
}
.footer-requisites p {
    margin: 0 !important;
    white-space: nowrap !important;
    font-size: 14px !important;
}

/* Копирайт — внизу, крупнее */
.footer-copyright {
    font-size: 15px !important;
    margin-top: 50px !important;
    padding-top: 15px !important;
}
.footer-copyright p {
    margin: 4px 0 !important;
}

/* ============================================
ФУТЕР: РАЗРАБОТЧИК В ОДНУ ЛИНИЮ С EMAIL И СОЦСЕТЯМИ
(перебивает старые отступы .footer-developer)
============================================ */
.footer-developer {
    margin: 0 !important;
    text-align: center !important;
}
/* HERO: фон без JS (фикс LCP) */
.screen-hero { background-image: url('../assets/images/backgrounds/desktop/bg_hero_desktop.webp'); }
@media (max-width: 1023px) {
    .screen-hero { background-image: url('../assets/images/backgrounds/mobile/bg_hero_mobile.webp'); }
}

/* МОБИЛЬНЫЙ ФИКС: нет пустого пространства справа */
html {
    overflow-x: hidden;
    max-width: 100%;
}
