/* --- ФИНАЛЬНЫЙ BATTLE62 STYLE --- */
*, *::before, *::after { box-sizing: border-box; }
body, html { margin: 0; padding: 0; overflow-x: hidden; max-width: 100vw; background: #050505; color: #fff; font-family: 'Segoe UI', Roboto, sans-serif; overflow-x: hidden; scroll-behavior: smooth; }
body { transition: filter 0.5s; } /* Плавное затемнение для модалок */

/* Header */
.logo { font-size: 2rem; font-weight: 900; letter-spacing: -1px; user-select: none; }
.logo span { color: #ff003c; }
nav { display: flex; justify-content: space-between; padding: 1rem 5%; align-items: center; position: fixed; top: 0; width: 100%; box-sizing: border-box; background: rgba(0,0,0,0.8); backdrop-filter: blur(10px); z-index: 1000; }
.menu-btn { color: #ff003c; font-weight: bold; cursor: pointer; letter-spacing: 2px; }

/* Кнопки */
.btn-main { padding: 1.2rem 3rem; background: transparent; border: 2px solid #ff003c; color: #fff; font-weight: bold; cursor: pointer; transition: 0.3s; position: relative; overflow: hidden; letter-spacing: 2px; }
.btn-main:hover { background: #ff003c; box-shadow: 0 0 30px #ff003c; }
.btn-small { padding: 15px; background: transparent; border: 1px solid #ff003c; color: #fff; cursor: pointer; transition: 0.3s; width: 100%; text-transform: uppercase; font-size: 0.85rem; }
.btn-small:hover { background: #ff003c; }

/* Секции */
.hero { height: 100vh; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; padding: 0 5%; }
.title { font-size: clamp(3rem, 10vw, 8rem); font-weight: 900; line-height: 0.9; margin: 0; filter: drop-shadow(0 0 15px rgba(255,0,60,0.5)); text-transform: uppercase; }
.subtitle { font-size: 1.2rem; color: #888; margin-top: 2rem; max-width: 600px; line-height: 1.6; }
.section-title { text-align: center; font-size: 3rem; margin-bottom: 50px; color: #fff; text-transform: uppercase; letter-spacing: 2px; }
.section-description { text-align: center; max-width: 700px; margin: 0 auto 60px; color: #aaa; font-size: 1.1rem; line-height: 1.6; }

/* Квесты */
.quests { padding: 100px 5% 50px; background: #080808; }
.quest-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 20px; }
.quest-card { background: #111; padding: 40px; border-left: 4px solid #ff003c; transition: 0.4s; cursor: pointer; display: flex; flex-direction: column; justify-content: space-between; min-height: 280px; }
.quest-card:hover { background: #1a1a1a; transform: translateY(-10px); box-shadow: 0 10px 30px rgba(255,0,60,0.2); }
.quest-card h3 { font-size: 1.5rem; margin: 0; color: #ff003c; }
.quest-desc { color: #aaa; margin-top: 15px; font-size: 0.95rem; line-height: 1.6; flex-grow: 1; }
.btn-more { margin-top: 20px; font-size: 0.8rem; color: #ff003c; font-weight: bold; letter-spacing: 1px; display: inline-block; transition: 0.3s; opacity: 0.6; }
.quest-card:hover .btn-more { opacity: 1; text-shadow: 0 0 10px rgba(255,0,60,0.5); }

/* Цены */
.pricing { padding: 80px 5%; background: #050505; text-align: center; }
.toggle-container { margin-bottom: 50px; display: flex; justify-content: center; align-items: center; gap: 15px; }
.switch { position: relative; display: inline-block; width: 60px; height: 34px; }
.switch input { opacity: 0; width: 0; height: 0; }
.slider { position: absolute; cursor: pointer; top: 0; left: 0; right: 0; bottom: 0; background-color: #333; transition: .4s; border-radius: 34px; }
.slider:before { position: absolute; content: ""; height: 26px; width: 26px; left: 4px; bottom: 4px; background-color: white; transition: .4s; border-radius: 50%; }
input:checked + .slider { background-color: #ff003c; }
input:checked + .slider:before { transform: translateX(26px); }
.price-grid { display: flex; justify-content: center; gap: 30px; flex-wrap: wrap; }
.price-card { background: #111; padding: 50px 30px; width: 300px; border: 1px solid #222; position: relative; transition: 0.3s; text-align: left; }
.price-card.featured { border-color: #ff003c; transform: scale(1.05); background: #151515; }
.badge { position: absolute; top: 20px; right: 20px; background: #ff003c; font-size: 0.7rem; padding: 5px 10px; font-weight: bold; }
.price-tag { font-size: 3rem; font-weight: 900; margin-bottom: 20px; color: #fff; text-align: center; }
.price-card h3 { margin-bottom: 30px; letter-spacing: 2px; text-transform: uppercase; color: #ddd; }
.price-card ul { list-style: none; padding: 0; margin-bottom: 40px; color: #aaa; font-size: 0.95rem; }
.price-card li { margin-bottom: 15px; border-bottom: 1px solid #222; padding-bottom: 10px; }

/* Преимущества */
.benefits { padding: 80px 5%; background: #080808; position: relative; }
.benefit-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 30px; text-align: center; }
.benefit-card { background: #111; padding: 40px; border: 1px solid #1a1a1a; transition: 0.4s; }
.benefit-card:hover { transform: translateY(-5px); border-color: #ff003c; box-shadow: 0 10px 30px rgba(255,0,60,0.2); }
.benefit-icon { font-size: 3rem; margin-bottom: 20px; filter: drop-shadow(0 0 10px rgba(255,255,255,0.2)); }
.benefit-card h3 { font-size: 1.2rem; color: #ff003c; margin-bottom: 15px; letter-spacing: 1px; }
.benefit-card p { color: #888; font-size: 0.95rem; line-height: 1.6; }

/* Модалки */
.modal-overlay, .photo-modal-overlay, .panel-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: 1500; opacity: 0; pointer-events: none; transition: 0.4s; backdrop-filter: blur(8px); }
.modal-overlay { background: rgba(0,0,0,0.85); display: flex; justify-content: center; align-items: center; }
.photo-modal-overlay { background: rgba(0,0,0,0.9); display: flex; justify-content: center; align-items: center; z-index: 1001; transition: 0.5s; backdrop-filter: blur(10px); }
.panel-overlay { background: rgba(0,0,0,0.8); z-index: 1500; transition: 0.4s; backdrop-filter: blur(5px); }

.modal-overlay.active, .photo-modal-overlay.active, .panel-overlay.active { opacity: 1; pointer-events: all; }
body.active-modal { overflow: hidden; filter: blur(2px) grayscale(50%); }

.modal-content { background: #111; padding: 50px 40px; border: 1px solid #ff003c; width: 90%; max-width: 450px; position: relative; transform: translateY(-50px); transition: 0.4s; text-align: center; }
.photo-modal-content { background: #000; padding: 10px; border: 2px solid #ff003c; max-width: 90%; max-height: 90%; position: relative; transform: scale(0.8); transition: 0.5s ease-out; text-align: center; box-shadow: 0 0 50px rgba(255,0,60,0.3); }

.modal-overlay.active .modal-content { transform: translateY(0); box-shadow: 0 0 40px rgba(255,0,60,0.2); }
.photo-modal-overlay.active .photo-modal-content { transform: scale(1); }

.close-btn, .close-photo-modal { position: absolute; color: #fff; cursor: pointer; transition: 0.3s; line-height: 1; }
.close-btn { top: 15px; right: 20px; font-size: 2rem; color: #555; }
.close-btn:hover { color: #ff003c; transform: scale(1.1); }
.close-photo-modal { top: -15px; right: -15px; font-size: 2.5rem; background: #ff003c; width: 40px; height: 40px; line-height: 35px; border-radius: 50%; text-align: center; }

#quest-photo { max-width: 100%; max-height: 80vh; object-fit: contain; display: block; margin: 0 auto; }
#quest-photo-title { color: #fff; margin-top: 15px; font-size: 1.3rem; letter-spacing: 1px; text-transform: uppercase; }

.modal-content h3 { color: #fff; margin-bottom: 30px; font-size: 1.5rem; text-transform: uppercase; }
.modal-content input { width: 100%; padding: 15px; margin-bottom: 20px; background: #050505; border: 1px solid #333; color: #fff; font-size: 1rem; box-sizing: border-box; outline: none; transition: 0.3s; }
.modal-content input:focus { border-color: #ff003c; box-shadow: 0 0 10px rgba(255,0,60,0.1); }

/* Боковые панели */
.special-formats { padding: 80px 5%; background: #080808; text-align: center; }
.format-banners { display: flex; gap: 30px; justify-content: center; flex-wrap: wrap; margin-top: 40px; }
.format-banner { flex: 1; min-width: 320px; height: 250px; display: flex; flex-direction: column; justify-content: center; align-items: center; border: 2px solid #222; cursor: pointer; transition: 0.5s; position: relative; border-radius: 10px; }
.format-banner:hover { border-color: #ff003c; transform: translateY(-10px); box-shadow: 0 15px 30px rgba(255,0,60,0.2); }
.format-banner h3 { font-size: 2.2rem; color: #fff; margin: 0; text-shadow: 2px 2px 10px #000; letter-spacing: 2px; }
.format-banner p { color: #ccc; text-shadow: 1px 1px 5px #000; font-size: 1.1rem; margin-top: 10px; }

.side-panel { position: fixed; top: 0; right: -150%; box-sizing: border-box; width: 100%; max-width: 500px; height: 100vh; background: #0f0f0f; z-index: 2000; overflow-y: auto; padding: 60px 40px; border-left: 2px solid #ff003c; transition: 0.5s cubic-bezier(0.77, 0, 0.175, 1); box-shadow: -10px 0 50px rgba(0,0,0,0.9); }
.side-panel.active { right: 0; }
.close-panel { position: absolute; top: 15px; right: 25px; font-size: 3rem; color: #555; background: none; border: none; cursor: pointer; transition: 0.3s; line-height: 1; }
.close-panel:hover { color: #ff003c; transform: rotate(90deg); }

.panel-content h2 { color: #ff003c; font-size: 1.8rem; margin-top: 0; margin-bottom: 20px; line-height: 1.2; text-transform: uppercase; }
.panel-content p { color: #aaa; font-size: 1.05rem; line-height: 1.6; margin-bottom: 20px; }
.panel-content ul { color: #ddd; font-size: 1.05rem; line-height: 1.8; padding-left: 20px; margin-bottom: 30px; list-style: square; }
.panel-content li { margin-bottom: 10px; }

/* Footer */
footer { background: #080808; padding: 60px 5% 20px; border-top: 2px solid #111; margin-top: 50px; }
.footer-content { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 40px; margin-bottom: 40px; }
.footer-info { flex: 1; min-width: 300px; text-align: left; }
.footer-info p { color: #888; margin: 15px 0; font-size: 1.1rem; }
.btn-feedback { margin-top: 20px; border-color: #ff003c; width: max-content; padding: 12px 30px; }
.btn-feedback:hover { background: #ff003c; box-shadow: 0 0 20px #ff003c; }
.footer-map { flex: 1; min-width: 300px; border: 1px solid #333; overflow: hidden; }
.footer-bottom { text-align: center; border-top: 1px solid #1a1a1a; padding-top: 20px; font-size: 0.9rem; color: #555; }
.author-link { color: #777; text-decoration: none; transition: 0.3s; letter-spacing: 1px; }
.author-link:hover { color: #ff003c; text-shadow: 0 0 10px #ff003c; }

/* ФИКС: Кнопка на главном экране */
.cta-container { margin-top: 50px; position: relative; z-index: 50; }

/* ФИКС: Кнопки действий внутри карточек квестов */
.quest-actions { display: flex; justify-content: space-between; align-items: center; margin-top: 25px; gap: 10px; flex-wrap: wrap; }
.quest-actions .btn-more { margin-top: 0; }
.btn-action { padding: 10px 15px; background: transparent; border: 1px solid #ff003c; color: #fff; cursor: pointer; transition: 0.3s; text-transform: uppercase; font-size: 0.75rem; font-weight: bold; letter-spacing: 1px; }
.btn-action:hover { background: #ff003c; box-shadow: 0 0 15px rgba(255,0,60,0.5); }

/* ФИКС: Двухэтажная навигационная шапка */
html { scroll-padding-top: 110px; } /* Смещение якорей, чтобы шапка не перекрывала заголовки */
nav { display: none; } /* Отключаем старый пустой навбар */

.main-header { position: fixed; width: 100%; top: 0; left: 0; z-index: 2000; background: rgba(5,5,5,0.95); backdrop-filter: blur(15px); border-bottom: 1px solid #1a1a1a; transition: 0.3s; }
.header-top { display: flex; justify-content: space-between; padding: 8px 5%; border-bottom: 1px solid #1a1a1a; font-size: 0.8rem; align-items: center; background: #000; }
.header-socials { display: flex; gap: 15px; }
.social-icon { color: #888; text-decoration: none; transition: 0.3s; font-weight: bold; letter-spacing: 1px; }
.social-icon.vk:hover { color: #0077FF; text-shadow: 0 0 10px rgba(0,119,255,0.5); }
.social-icon.tt:hover { color: #fff; text-shadow: 0 0 10px rgba(255,255,255,0.5); }
.social-icon.wa:hover { color: #25D366; text-shadow: 0 0 10px rgba(37,211,102,0.5); }
.social-icon.tg:hover { color: #229ED9; text-shadow: 0 0 10px rgba(34,158,217,0.5); }

.header-contact { display: flex; gap: 20px; align-items: center; }
.header-phone { color: #fff; text-decoration: none; font-weight: bold; letter-spacing: 1px; transition: 0.3s; font-size: 0.95rem; }
.header-phone:hover { color: #ff003c; }

.btn-outline-small { background: transparent; border: 1px solid #ff003c; color: #ff003c; padding: 5px 15px; cursor: pointer; font-size: 0.75rem; transition: 0.3s; font-weight: bold; text-transform: uppercase; border-radius: 3px; }
.btn-outline-small:hover { background: #ff003c; color: #fff; box-shadow: 0 0 15px rgba(255,0,60,0.4); }

.header-main { display: flex; justify-content: space-between; padding: 15px 5%; align-items: center; }
.nav-links { list-style: none; display: flex; gap: 35px; margin: 0; padding: 0; }
.nav-links a { color: #fff; text-decoration: none; font-weight: 700; letter-spacing: 1.5px; transition: 0.3s; font-size: 0.9rem; text-transform: uppercase; }
.nav-links a:hover { color: #ff003c; text-shadow: 0 0 10px rgba(255,0,60,0.5); }

@media (max-width: 900px) {
    .header-top { flex-direction: column; gap: 10px; padding: 10px; }
    .header-main { flex-direction: column; gap: 15px; padding-bottom: 15px; }
    .nav-links { gap: 15px; flex-wrap: wrap; justify-content: center; }
}

/* ФИКС: Блок отзывов в подвале */
.footer-reviews { flex: 1; min-width: 250px; text-align: left; }
.footer-reviews h3 { color: #fff; margin-top: 0; margin-bottom: 15px; font-size: 1.2rem; text-transform: uppercase; letter-spacing: 1px; }
.footer-reviews p { color: #888; font-size: 0.95rem; margin-bottom: 20px; line-height: 1.5; }
.review-links { display: flex; flex-direction: column; gap: 15px; width: max-content; }
.review-btn { display: inline-block; padding: 12px 25px; text-decoration: none; font-weight: bold; border-radius: 5px; text-align: center; transition: 0.3s; color: #fff; letter-spacing: 1px; font-size: 0.9rem; }

/* Фирменные цвета площадок - Диммированные в простое, Неон при наведении */
.review-btn.yandex { background: rgba(255, 0, 0, 0.05); border: 1px solid rgba(255, 0, 0, 0.2); color: #888; }
.review-btn.yandex:hover { background: #ff0000; color: #fff; box-shadow: 0 0 20px rgba(255, 0, 0, 0.6); border-color: #ff0000; }
.review-btn.dgis { background: rgba(161, 210, 20, 0.05); border: 1px solid rgba(161, 210, 20, 0.2); color: #888; }
.review-btn.dgis:hover { background: #A1D214; color: #000; box-shadow: 0 0 20px rgba(161, 210, 20, 0.6); border-color: #A1D214; }

/* --- МОБИЛЬНАЯ АДАПТАЦИЯ (ФИКС) --- */
@media (max-width: 768px) {
    /* 1. Шапка: делаем её компактнее */
    /* ВОЗВРАЩАЕМ ВЕРХНЮЮ ПОЛОСУ (КОМПАКТНО) */
    .header-top { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 8px 5%; border-bottom: 1px solid #1a1a1a; }
    .header-socials { justify-content: center; gap: 15px; width: 100%; }
    .social-icon { font-size: 0.8rem; }
    .header-contact { justify-content: center; flex-wrap: wrap; gap: 10px; width: 100%; }
    .header-phone { font-size: 0.85rem; }
    .btn-outline-small { font-size: 0.7rem; padding: 4px 10px; }
    
    /* Сдвигаем якоря чуть ниже, так как шапка стала выше */
    html { scroll-padding-top: 140px; } /* Скрываем верхнюю полоску, чтобы не занимать место */
    .header-main { padding: 10px 5%; flex-direction: column; align-items: center; gap: 5px; }
    /* ВОЗВРАЩАЕМ НАВИГАЦИЮ НА МОБИЛЬНЫЕ */
    .nav-links { 
        display: flex !important; 
        flex-wrap: wrap; 
        justify-content: center; 
        gap: 15px; 
        margin-top: 5px; 
        width: 100%; 
        padding: 0;
        list-style: none;
    }
    .nav-links li { margin: 0; padding: 0; }
    .nav-links a { font-size: 0.8rem; letter-spacing: 1px; } /* Скрываем текстовое меню (обычно на мобилках делают бургер, но пока просто уберем, чтобы не мешало) */
    .logo { font-size: 1.5rem; }
    html { scroll-padding-top: 70px; }

    /* 2. Главный экран: уменьшаем шрифты */
    .hero { padding-top: 80px; height: auto; min-height: 80vh; }
    .title { font-size: 3rem !important; line-height: 1.1; }
    .subtitle { font-size: 1rem; margin-top: 1rem; }
    .cta-container { margin-top: 30px; }

    /* 3. Сетки: делаем в один столбец */
    .quest-grid, .price-grid, .benefit-grid, .format-banners { 
        grid-template-columns: 1fr !important; 
        display: flex; 
        flex-direction: column;
        gap: 20px; 
    }
    .price-card.featured { transform: none; } /* Убираем увеличение выделенной карточки, на мобиле это только мешает */
    
    /* 4. Боковые панели: на весь экран */
    .side-panel { width: 100%; max-width: 100%; border-left: none; }
    .panel-content { padding: 40px 20px; }

    /* 5. Подвал */
    .footer-content { flex-direction: column; text-align: center; }
    .footer-info, .footer-reviews { text-align: center; align-items: center; }
    .review-links { width: 100%; align-items: center; }
    .btn-feedback { width: 100%; }
}

/* Принудительно убираем горизонтальный скролл */
body, html { overflow-x: hidden; position: relative; width: 100%; }

/* --- СОВРЕМЕННОЕ МОБИЛЬНОЕ МЕНЮ (БУРГЕР) --- */
.burger-btn { display: none; font-size: 2.2rem; color: #ff003c; cursor: pointer; user-select: none; line-height: 1; }

@media (max-width: 768px) {
    .burger-btn { display: block; }
    
    /* Узкая шапка по умолчанию */
    .main-header { display: flex; flex-direction: column; height: 65px; overflow: hidden; transition: height 0.4s cubic-bezier(0.77, 0, 0.175, 1); background: #050505 !important; }
    .main-header.nav-open { height: 100vh; overflow-y: auto; }
    
    /* Блок с логотипом всегда наверху */
    .header-main { order: 1; width: 100%; display: flex !important; flex-direction: row !important; justify-content: space-between !important; align-items: center; flex-wrap: wrap; padding: 12px 5% !important; border-bottom: 1px solid #1a1a1a; }
    .logo { font-size: 1.5rem !important; margin: 0; }
    
    /* Навигация падает под логотип (скрыта по умолчанию) */
    .nav-links { flex-basis: 100%; display: flex !important; flex-direction: column; padding: 30px 0 10px; gap: 20px; align-items: center; opacity: 0; transition: opacity 0.3s; margin: 0; border-bottom: 1px solid #1a1a1a; }
    .nav-links a { font-size: 1.2rem; }

    /* Контакты идут в самый низ (скрыты по умолчанию) */
    .header-top { order: 2; display: flex !important; flex-direction: column; padding: 30px 5%; border: none; opacity: 0; transition: opacity 0.3s; }
    .header-contact { flex-direction: column; gap: 15px; width: 100%; align-items: center; }
    .btn-outline-small { width: 100%; max-width: 250px; text-align: center; padding: 12px; font-size: 1rem; }
    .header-phone { font-size: 1.2rem; }
    .header-socials { justify-content: center; gap: 25px; margin-top: 15px; width: 100%; }
    .social-icon { font-size: 1.2rem; }
    
    /* Анимация проявления текста при открытии */
    .main-header.nav-open .nav-links, .main-header.nav-open .header-top { opacity: 1; transition-delay: 0.2s; }
    
    html { scroll-padding-top: 65px !important; }
}

/* --- ФИНАЛЬНАЯ ШАПКА: КОНТАКТЫ ВИДНЫ, НАВИГАЦИЯ В БУРГЕРЕ --- */
@media (max-width: 768px) {
    /* Разрешаем шапке растягиваться под видимый контент */
    .main-header { 
        height: auto !important; 
        overflow: visible !important; 
        background: rgba(5,5,5,0.98) !important;
    }
    
    /* 1. Этаж: Контакты (возвращаем видимость по умолчанию) */
    .header-top { 
        order: 1 !important; 
        opacity: 1 !important; 
        display: flex !important; 
        flex-direction: column !important;
        gap: 12px !important;
        padding: 15px 5% 10px !important; 
        border-bottom: 1px solid #1a1a1a !important;
    }
    .header-socials { margin-top: 0 !important; }
    
    /* 2. Этаж: Логотип и Бургер */
    .header-main { 
        order: 2 !important; 
        padding: 12px 5% !important; 
        border-bottom: none !important;
    }
    
    /* 3. Этаж: Навигация (Спрятана в "карман" с нулевой высотой) */
    .nav-links { 
        order: 3 !important; 
        max-height: 0; 
        overflow: hidden; 
        opacity: 0 !important; 
        padding: 0 !important; 
        margin: 0 !important; 
        transition: all 0.4s ease; 
        border-bottom: none !important;
    }
    
    /* Состояние открытого меню: карман раскрывается */
    .main-header.nav-open .nav-links { 
        max-height: 300px; 
        opacity: 1 !important; 
        padding: 20px 0 30px !important; 
        border-top: 1px solid #1a1a1a !important;
    }

    /* Смещаем контент страницы ниже, так как шапка стала шире */
    html { scroll-padding-top: 150px !important; }
}

/* =========================================
   ULTIMATE APP-STYLE MOBILE LAYOUT (ФИКС)
   ========================================= */
.mobile-bottom-bar { display: none; } /* Скрыто на компьютерах */

@media (max-width: 768px) {
    /* 1. Идеально тонкая шапка наверху */
    .main-header { height: 60px !important; padding: 0 !important; overflow: hidden !important; background: rgba(5,5,5,0.98) !important; }
    .main-header.nav-open { height: 100vh !important; overflow-y: auto !important; }
    
    .header-main { order: 1 !important; height: 60px !important; padding: 0 5% !important; border-bottom: none !important; }
    
    /* 2. Прячем всё лишнее в бургер */
    .nav-links, .header-top { max-height: 0 !important; opacity: 0 !important; padding: 0 !important; margin: 0 !important; border: none !important; }
    
    .main-header.nav-open .nav-links { order: 2 !important; max-height: 400px !important; opacity: 1 !important; padding: 20px 0 !important; margin-top: 10px !important; border-top: 1px solid #1a1a1a !important; }
    .main-header.nav-open .header-top { order: 3 !important; max-height: 300px !important; opacity: 1 !important; padding: 20px 5% !important; border-top: 1px solid #1a1a1a !important; }

    /* Внутри открытого меню оставляем только соцсети огромного размера */
    .header-contact { display: none !important; } /* Контакты переехали вниз */
    .header-socials { gap: 30px !important; justify-content: center !important; }
    .social-icon { font-size: 1.5rem !important; }

    /* 3. APP BAR - Прилипающая нижняя панель с главными кнопками */
    .mobile-bottom-bar {
        display: flex !important;
        position: fixed !important;
        bottom: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: 60px !important;
        background: #050505 !important;
        border-top: 1px solid #ff003c !important;
        z-index: 2000 !important;
    }
    .bar-btn {
        flex: 1 !important;
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        font-size: 0.9rem !important;
        font-weight: bold !important;
        color: #fff !important;
        text-decoration: none !important;
        letter-spacing: 1px !important;
        cursor: pointer !important;
        border: none !important;
        background: transparent !important;
        text-transform: uppercase !important;
    }
    .call-btn { border-right: 1px solid #1a1a1a !important; }
    .req-btn { color: #ff003c !important; }
    
    /* Отодвигаем контент, чтобы нижняя плашка его не перекрыла */
    body { padding-bottom: 60px !important; }
    html { scroll-padding-top: 65px !important; }
}

/* --- ФИКС: МОБИЛЬНЫЕ КОНТАКТЫ В ПОДВАЛЕ --- */
.mobile-footer-contacts { display: none; } /* На ПК прячем этот блок */

@media (max-width: 768px) {
    /* 1. Прячем верхний блок с соцсетями (чтобы не дублировать в бургере) */
    .main-header.nav-open .header-top { display: none !important; }
    
    /* 2. Показываем и стилизуем блок контактов в подвале */
    .mobile-footer-contacts { 
        display: flex; 
        flex-direction: column; 
        align-items: center; 
        gap: 15px; 
        margin-top: 20px; 
        padding-top: 20px; 
        border-top: 1px solid #1a1a1a; 
        width: 100%; 
    }
    .mobile-footer-phone { 
        font-size: 1.4rem; 
        font-weight: bold; 
        color: #fff; 
        text-decoration: none; 
        letter-spacing: 1px; 
    }
    .mobile-footer-socials { 
        display: flex; 
        gap: 20px; 
        justify-content: center; 
        flex-wrap: wrap; 
    }
    .mobile-footer-socials .social-icon { 
        font-size: 1.2rem; 
    }
}

/* Индивидуальный фон для шторки корпоратива */
#modal-corporate .modal-header {
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.7)), 
                url('../img/quests/corporate-main.jpg') center/cover !important;
}
