/* ========================================================================
   1. БАЗОВЫЕ НАСТРОЙКИ
   ======================================================================== */
html {
    scroll-behavior: smooth;
}

:root {
    --bg-body: #050F1E;    
    --blue: #0070BA;       
    --blue-hover: #005a96;
    --text-dark: #1D1D1F;
    --text-white: #FFFFFF;
    --font: 'Manrope', sans-serif;
    --radius-card: 30px;   
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    background-color: var(--bg-body);
    font-family: var(--font);
    line-height: 1.4;
    overflow-x: hidden;
    min-height: 100vh;
    color: #fff;
}

a { text-decoration: none; color: inherit; transition: 0.3s; }
button { border: none; cursor: pointer; font-family: inherit; }
img { display: block; max-width: 100%; }

/* ========================================================================
   2. ГЛАВНЫЙ ЭКРАН (HERO)
   ======================================================================== */
.hero-section {
    padding: 20px;
    height: 100vh;
    min-height: 800px;
    width: 100%;
}

.hero-card {
    width: 100%;
    height: 100%;
    background-color: #252B3B;
    border-radius: var(--radius-card);
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    overflow: hidden;
    z-index: 1;
}
.hero-bg-img {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    z-index: 0;
}

.hero-content {
    padding: 0 60px 180px 60px; /* Отступ снизу 180px */
    max-width: 1100px;
    position: relative;
    z-index: 10;
}

.geo-badge {
    background-color: #1A1A1A;
    color: #fff;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 12px 24px;
    border-radius: 50px;
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 35px;
}

.pulse-dot {
    width: 10px; height: 10px;
    background-color: #00FF57;
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 10px #00FF57;
    animation: pulse 2s infinite;
}

.hero-title {
    font-size: 80px;
    line-height: 1;
    font-weight: 400;
    color: #fff; 
    letter-spacing: -2px;
}

.typing-text { font-size: 24px; color: #fff; margin-top: 10px; min-height: 40px; }
#typewriter { color: #00DCFF; border-right: 2px solid #00DCFF; padding-right: 5px; animation: blink-cursor 0.7s infinite; }

/* ========================================================================
   3. ХЕДЕР (ПРЯМОУГОЛЬНЫЙ С ЗАКРУГЛЕНИЯМИ)
   ======================================================================== */
.header {
    position: fixed;
    top: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    
    width: 90%;
    max-width: 1200px;
    height: 70px;
    
    background: rgba(80, 80, 80, 0.4);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    
    border: 1px solid rgba(255, 255, 255, 0.15);
    
    /* ИСПРАВЛЕНО: БЫЛО 100px, СТАЛО 20px (как везде) */
    border-radius: 20px;
    
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 15px 0 30px;
    transition: all 0.3s ease;
}

.logo img { height: 30px; width: auto; }
.nav-menu { display: flex; gap: 30px; height: 100%; align-items: center; }
.nav-menu a {
    color: #fff; font-size: 14px; font-weight: 500;
    text-transform: uppercase; opacity: 0.9; letter-spacing: 0.5px;
}
.nav-menu a:hover { color: #00DCFF; opacity: 1; text-shadow: 0 0 15px rgba(0, 220, 255, 0.4); }
.header-right { display: flex; gap: 15px; align-items: center; }
.phone-btn { background: transparent; color: #fff; font-size: 14px; font-weight: 600; display: flex; align-items: center; gap: 8px; }
.phone-btn i { color: #00DCFF; }

/* КНОПКА В ХЕДЕРЕ (ПРЯМОУГОЛЬНАЯ) */
.btn-primary {
    background-color: var(--blue); color: #fff;
    height: 46px; padding: 0 30px;
    
    /* ИСПРАВЛЕНО: БЫЛО 50px, СТАЛО 12px (стиль кнопок сайта) */
    border-radius: 12px;
    
    font-weight: 600; font-size: 14px; transition: 0.3s;
    display: flex; align-items: center; justify-content: center;
    position: relative; overflow: hidden;
}
.btn-primary:hover { background-color: #00DCFF; color: #050F1E; box-shadow: 0 0 20px rgba(0, 220, 255, 0.4); }

/* ========================================================================
   4. МОБИЛЬНОЕ МЕНЮ
   ======================================================================== */
.burger-btn { display: none; flex-direction: column; justify-content: center; gap: 6px; width: 30px; height: 30px; background: transparent; margin-right: 10px; }
.burger-btn span { width: 100%; height: 2px; background-color: #fff; border-radius: 2px; }
.mobile-menu-overlay { position: fixed; top: 0; right: -100%; width: 100%; height: 100vh; background-color: rgba(0, 0, 0, 0.7); z-index: 99999; transition: 0.4s cubic-bezier(0.77,0.2,0.05,1.0); display: flex; justify-content: flex-end; visibility: hidden; }
.mobile-menu-overlay.active { right: 0; visibility: visible; }
.mobile-menu-content { width: 100%; max-width: 400px; height: 100%; background-color: #050F1E; padding: 40px; display: flex; flex-direction: column; box-shadow: -10px 0 30px rgba(0,0,0,0.8); overflow-y: auto; }
.close-btn { align-self: flex-end; width: 44px; height: 44px; background: rgba(255,255,255,0.1); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 20px; transition: 0.3s; margin-bottom: 40px; }
.mobile-nav { display: flex; flex-direction: column; gap: 30px; margin-bottom: auto; }
.mobile-nav a { font-size: 24px; font-weight: 500; color: #fff; opacity: 0.8; }
.mobile-contacts { display: flex; flex-direction: column; gap: 20px; padding-top: 30px; border-top: 1px solid rgba(255,255,255,0.1); }
.mobile-phone { font-size: 20px; font-weight: 700; color: #fff; }
.mobile-cta { width: 100%; padding: 18px; text-align: center; background-color: var(--blue); }

/* ========================================================================
   5. ОСНОВНЫЕ БЛОКИ
   ======================================================================== */

/* --- 2. ЭКРАН (BENTO) --- */
.bento-section { padding: 20px 60px 100px 60px; width: 100%; margin-top: 20px; }
.bento-grid { display: grid; grid-template-columns: 1.8fr 90px 1fr 1fr; grid-template-rows: 240px 240px; gap: 20px; }
.b-card { background-color: #252B3B; border: 1px solid rgba(255, 255, 255, 0.2); border-radius: 30px; padding: 30px; color: #fff; display: flex; flex-direction: column; justify-content: space-between; overflow: hidden; }
.b-text { grid-column: 1 / 2; grid-row: 1 / 3; justify-content: flex-start; gap: 30px; }
.b-text h2 { font-size: 32px; font-weight: 500; line-height: 1.3; text-transform: uppercase; }
.b-desc { font-size: 15px; line-height: 1.6; color: #B0B5C0; display: flex; flex-direction: column; gap: 20px; }
.b-btn { grid-column: 2 / 3; grid-row: 1 / 3; background-color: #0088B0; border: none; padding: 0; align-items: center; justify-content: center; cursor: pointer; transition: 0.3s; }
.b-btn:hover { background-color: #00A0D6; }
.b-btn span { color: #fff; font-size: 24px; font-weight: 600; white-space: nowrap; writing-mode: vertical-rl; transform: rotate(180deg); }
.b-15 { grid-column: 3 / 4; grid-row: 1 / 3; justify-content: space-between; }
.b-1000 { grid-column: 4 / 5; grid-row: 1 / 2; }
.b-50 { grid-column: 4 / 5; grid-row: 2 / 3; }
.stat-num { font-size: 48px; font-weight: 600; margin-bottom: 10px; align-self: flex-end; }
.b-15 .stat-num { align-self: flex-start; font-size: 56px; }
.stat-text { font-size: 13px; color: #B0B5C0; line-height: 1.4; }

/* --- 3. ЭКРАН (ВИДЕО) --- */
.video-section { padding: 0 20px; width: 100%; margin-bottom: 100px; }

.video-card { 
    width: 100%; 
    height: 600px; 
    background-color: #252B3B; 
    
    /* ВОТ ЗДЕСЬ УКАЖИТЕ ПУТЬ К ВАШЕЙ КАРТИНКЕ */
    background-image: url('../images/video_bg.jpg'); 
    
    background-size: cover; 
    background-position: center; 
    border-radius: 30px; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    position: relative; 
    overflow: hidden; 
    cursor: pointer; 
    box-shadow: 0 20px 40px rgba(0,0,0,0.3); 
}

.video-card:hover::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.4); }

.play-btn { 
    position: relative; z-index: 2; 
    width: 100px; height: 100px; 
    border-radius: 50%; 
    background: rgba(255, 255, 255, 0.2); 
    backdrop-filter: blur(10px); 
    border: 1px solid rgba(255, 255, 255, 0.4); 
    color: #fff; font-size: 30px; 
    display: flex; align-items: center; justify-content: center; 
    transition: 0.3s; 
}

.video-card:hover .play-btn { transform: scale(1.1); background: #fff; color: #0070BA; }


/* --- 4. ЭКРАН (УСЛУГИ) --- */
.services-section { padding: 20px 60px 100px 60px; width: 100%; margin-top: 20px; }
.container-services { max-width: 100%; margin: 0; }
.services-section h2 { font-size: 48px; color: #fff; margin-bottom: 40px; font-weight: 400; }
.services-tabs { display: flex; gap: 40px; margin-bottom: 40px; overflow-x: auto; padding-bottom: 10px; border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
.tab-btn { background: transparent; border: none; font-size: 20px; color: #B0B5C0; cursor: pointer; white-space: nowrap; padding-bottom: 15px; position: relative; transition: 0.3s; }
.tab-btn:hover, .tab-btn.active { color: #fff; font-weight: 500; }
.tab-btn.active::after { content: ''; position: absolute; bottom: -1px; left: 0; width: 100%; height: 3px; background-color: #fff; box-shadow: 0 0 10px rgba(255, 255, 255, 0.5); }
.services-content-wrapper { position: relative; min-height: 500px; }
.service-block { display: none; grid-template-columns: 350px 1fr; gap: 30px; animation: fadeIn 0.5s ease; }
.service-block.active { display: grid; }
.service-img { height: 100%; min-height: 500px; border-radius: 20px; overflow: hidden; }
.service-img img { width: 100%; height: 100%; object-fit: cover; }

/* ! ВАЖНО: СТИЛИ ДЛЯ ОПИСАНИЯ УСЛУГИ И КНОПКИ ВНУТРИ ! */
.service-info { 
    background-color: #2E3447; border-radius: 20px; padding: 60px; color: #fff; 
    display: flex; flex-direction: column; justify-content: center;
    align-items: flex-start; /* Кнопка слева */
}
.service-info h3 { font-size: 26px; line-height: 1.4; margin-bottom: 20px; font-weight: 500; }
.service-subtitle { font-size: 16px; color: #B0B5C0; margin-bottom: 30px; }
.service-list { list-style: none; padding: 0; }
.service-list li { position: relative; padding-left: 20px; margin-bottom: 15px; color: #E2E8F0; }
.service-list li::before { content: '•'; color: #fff; position: absolute; left: 0; top: 0px; font-size: 20px; }

/* Кнопка внутри услуг */
.service-info button, 
.service-info .open-modal-btn {
    width: auto; min-width: 220px; height: 55px; padding: 0 40px; margin-top: 30px;
    background-color: #00B8D9; color: #050F1E; font-size: 16px; font-weight: 600;
    border-radius: 10px; border: none; cursor: pointer;
    position: relative; overflow: hidden;
    display: flex; align-items: center; justify-content: center;
}
.service-info button::after, 
.service-info .open-modal-btn::after {
    content: ''; position: absolute; top: 0; left: -100%; width: 50%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transform: skewX(-20deg); animation: shimmer 3s infinite;
}

/* --- 5. ЭКРАН (ГАРАНТИИ) --- */
.guarantee-section { padding: 20px 60px 100px 60px; width: 100%; text-align: center; color: #fff; }
.g-header { font-size: 28px; margin-bottom: 60px; display: flex; align-items: center; justify-content: center; gap: 15px; white-space: nowrap; }
.cyan-badge { background-color: #00DCFF; color: #050F1E; border-radius: 12px; padding: 5px 20px; font-weight: 600; display: inline-block; }
.g-cards-row { display: flex; justify-content: space-between; gap: 15px; margin-bottom: 80px; width: 100%; }
.g-card { flex: 1; background-color: #0B1426; border: 1px solid rgba(255, 255, 255, 0.15); border-radius: 15px; padding: 20px 10px; display: flex; align-items: center; justify-content: center; min-height: 80px; transition: 0.3s; }
.g-card:hover { border-color: #00DCFF; transform: translateY(-3px); }
.g-statement p { font-size: 40px; line-height: 1.5; font-weight: 400; }

/* --- 6. ЭКРАН (ЭТАПЫ) --- */
.steps-section { padding: 20px 20px 100px 20px; width: 100%; }
.steps-card-container { background-color: #2E3447; border-radius: 40px; padding: 60px; width: 100%; }
.steps-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; column-gap: 40px; row-gap: 60px; }
.step-item { display: flex; flex-direction: column; align-items: flex-start; }
.title-block h2 { font-size: 48px; line-height: 1.1; color: #fff; margin-top: 30px; }
.step-img { width: 100%; height: 240px; border-radius: 20px; overflow: hidden; margin-bottom: 25px; background-color: #000; }
.step-img img { width: 100%; height: 100%; object-fit: cover; transition: 0.5s; }
.step-img:hover img { transform: scale(1.05); }
.step-badge { margin-bottom: 15px; font-size: 14px; padding: 6px 15px; }
.step-item h3 { font-size: 28px; color: #fff; margin-bottom: 10px; font-weight: 400; }
.step-item p { font-size: 15px; color: #B0B5C0; line-height: 1.4; max-width: 90%; }

/* --- 7. ЭКРАН (ПРЕИМУЩЕСТВА) --- */
.advantages-section { padding: 20px 60px 100px 60px; width: 100%; }
.section-title { font-size: 40px; color: #fff; margin-bottom: 40px; padding-left: 10px; }
.adv-card { display: flex; width: 100%; height: 500px; border-radius: 40px; overflow: hidden; background-color: #252B3B; }
.adv-item { flex: 1; position: relative; background-size: cover; background-position: center; border-right: 1px solid rgba(255, 255, 255, 0.1); display: flex; flex-direction: column; justify-content: space-between; padding: 30px; }
.adv-item:last-child { border-right: none; }
.adv-overlay { position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.3) 100%); z-index: 1; }
.adv-item h3, .adv-icon { position: relative; z-index: 2; color: #fff; font-size: 24px; font-weight: 500; }
.adv-icon { font-size: 40px; color: #00DCFF; }
.adv-item.highlight { background-color: #00DCFF; background-image: none !important; border-right: none; }
.adv-item.highlight h3, .adv-item.highlight .adv-icon { color: #050F1E; }
.adv-item:hover .adv-overlay { background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.4) 100%); }

/* --- 8. ЭКРАН (CTA) --- */
.cta-section { padding: 20px 20px 100px 20px; width: 100%; }
.cta-card {
    width: 100%; min-height: 450px; border-radius: 40px; padding: 60px;
    background: linear-gradient(90deg, #00DCFF 40%, rgba(0, 220, 255, 0.8) 60%, rgba(0, 220, 255, 0) 100%), url('../images/modal2.png');
    background-size: cover; background-position: right center; display: flex; align-items: center;
}
.cta-content { max-width: 600px; position: relative; z-index: 2; }
.cta-content h2 { color: #050F1E; font-size: 48px; font-weight: 600; margin-bottom: 40px; }
.cta-btn { background-color: #050F1E; color: #fff; font-size: 18px; font-weight: 500; padding: 18px 40px; border: none; border-radius: 12px; cursor: pointer; transition: 0.3s; }
.cta-btn:hover { background-color: #fff; color: #050F1E; box-shadow: 0 10px 20px rgba(0,0,0,0.2); }

/* --- 9. ФУТЕР --- */
.footer-section { background-color: #050F1E; padding: 60px 20px 40px 20px; color: #fff; border-top: 1px solid rgba(255, 255, 255, 0.05); }
.footer-content { width: 100%; }
.footer-top { display: flex; justify-content: space-between; gap: 60px; margin-bottom: 40px; }
.footer-brand { max-width: 450px; }
.f-logo-block { display: flex; align-items: center; gap: 15px; margin-bottom: 25px; }
.f-title { display: block; font-size: 24px; font-weight: 700; text-transform: uppercase; margin-bottom: 5px; }
.f-subtitle { display: block; font-size: 12px; color: #B0B5C0; }
.f-desc { font-size: 14px; line-height: 1.6; color: #B0B5C0; }
.footer-nav { display: flex; gap: 80px; }
.f-col h4, .f-col-title { font-size: 20px; margin-bottom: 20px; font-weight: 500; }
.f-col ul { list-style: none; padding: 0; }
.f-col ul li { margin-bottom: 15px; }
.f-col ul li a { color: #B0B5C0; font-size: 16px; transition: 0.3s; }
.f-col ul li a:hover { color: #00DCFF; }
.footer-line { width: 100%; height: 1px; background-color: rgba(255, 255, 255, 0.1); margin-bottom: 30px; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; }
.copyright { font-size: 14px; color: #B0B5C0; }
.footer-socials { display: flex; gap: 15px; }
.f-btn { display: flex; align-items: center; justify-content: center; border: 1px solid rgba(255, 255, 255, 0.3); border-radius: 8px; color: #fff; height: 50px; }
.f-btn:hover { border-color: #00DCFF; color: #00DCFF; }
.f-btn-wide { padding: 0 30px; gap: 10px; font-size: 16px; }
.f-btn-icon { width: 50px; font-size: 20px; }

/* ========================================================================
   6. МОДАЛЬНЫЕ ОКНА И ЭЛЕМЕНТЫ UI
   ======================================================================== */
.modal-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(5, 15, 30, 0.85); backdrop-filter: blur(5px); z-index: 10000; display: flex; align-items: center; justify-content: center; opacity: 0; visibility: hidden; transition: 0.3s; }
.modal-overlay.active { opacity: 1; visibility: visible; }
.modal-card { background-color: #1A2233; border: 1px solid rgba(0, 220, 255, 0.2); width: 100%; max-width: 600px; padding: 50px; border-radius: 20px; position: relative; transform: translateY(20px); transition: 0.3s; }
.modal-overlay.active .modal-card { transform: translateY(0); }
.modal-close { position: absolute; top: 15px; right: 20px; background: none; border: none; color: #fff; font-size: 30px; }
.modal-title { color: #fff; font-size: 28px; margin-bottom: 10px; text-align: center; }
.modal-subtitle { color: #B0B5C0; text-align: center; font-size: 14px; margin-bottom: 30px; }
.input-group input, .input-group textarea { width: 100%; background-color: #0B1426; border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 10px; padding: 15px 20px; color: #fff; font-size: 16px; margin-bottom: 15px; }

/* КНОПКА ОТПРАВКИ В ФОРМЕ */
.modal-submit-btn { 
    width: auto; min-width: 220px; padding: 0 40px; height: 55px; 
    display: block; margin: 20px auto 0 auto; 
    background-color: #00DCFF; color: #050F1E; font-size: 16px; font-weight: 600; 
    border-radius: 10px; position: relative; overflow: hidden;
}
.modal-submit-btn::after { 
    content: ''; position: absolute; top: 0; left: -100%; width: 50%; height: 100%; 
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent); 
    transform: skewX(-20deg); animation: shimmer 3s infinite; 
}

.checkbox-group { display: flex; gap: 10px; color: #B0B5C0; font-size: 13px; margin-bottom: 20px; }
.success-card { text-align: center; max-width: 400px; }
.success-icon { font-size: 60px; color: #00DCFF; margin-bottom: 20px; }

/* КНОПКА "НАВЕРХ" */
.scroll-top-btn { 
    position: fixed; bottom: 90px; left: 40px; 
    width: 50px; height: 50px; background-color: #00DCFF; color: #050F1E; 
    border-radius: 50%; font-size: 20px; 
    display: flex; align-items: center; justify-content: center; 
    box-shadow: 0 5px 15px rgba(0, 220, 255, 0.3); 
    z-index: 90; opacity: 0; visibility: hidden; transition: 0.4s; 
}
.scroll-top-btn.show { opacity: 1; visibility: visible; }

/* COOKIE & NOISE */
.cookie-banner { position: fixed; bottom: -100px; width: 100%; background: rgba(11, 20, 38, 0.95); padding: 20px; display: flex; justify-content: center; gap: 20px; z-index: 9999; transition: 0.5s; }
.cookie-banner.show { bottom: 0; }
.cookie-banner button { background: #00DCFF; padding: 8px 25px; border-radius: 5px; font-weight: 600; }
.noise-overlay { position: fixed; width: 100%; height: 100%; pointer-events: none; z-index: 9000; opacity: 0.05; background: url('https://grainy-gradients.vercel.app/noise.svg'); }

/* АНИМАЦИИ */
@keyframes blink-cursor { 0%, 100% { border-color: transparent; } 50% { border-color: #00DCFF; } }
@keyframes pulse { 0% { opacity: 1; transform: scale(1); } 50% { opacity: 0.5; transform: scale(1.2); } 100% { opacity: 1; transform: scale(1); } }
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
@keyframes shimmer { 10%, 100% { left: 200%; } }
@keyframes show-center { 0% { opacity: 0; transform: scale(0.8); } 10% { opacity: 1; transform: scale(1); } 20% { opacity: 1; transform: scale(1); } 30% { opacity: 0; transform: scale(1.2); } 100% { opacity: 0; } }
@keyframes show-plane-center { 0% { opacity: 0; transform: translate(0, 10px); } 10% { opacity: 1; transform: translate(0, 0); } 20% { opacity: 1; transform: translate(0, 0); } 30% { opacity: 0; transform: translate(20px, -20px); } 100% { opacity: 0; } }
@keyframes road-run { 0% { left: -40%; } 100% { left: 100%; } }
@keyframes blink { 0%, 100% { opacity: 0.4; } 50% { opacity: 1; } }

.btn-primary::after, .cta-btn::after { content: ''; position: absolute; top: 0; left: -100%; width: 50%; height: 100%; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent); transform: skewX(-20deg); animation: shimmer 3s infinite; }

/* ПРЕЛОАДЕР */
#preloader { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: #050F1E; z-index: 999999; display: flex; justify-content: center; align-items: center; transition: opacity 0.5s; }
.loader-wrap { width: 220px; height: auto; position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; }
.vehicle-box { width: 100%; height: 50px; position: relative; display: flex; justify-content: center; align-items: flex-end; margin-bottom: 5px; }
.vehicle { font-size: 40px; color: #00DCFF; position: absolute; bottom: 0; opacity: 0; filter: drop-shadow(0 0 5px rgba(0, 220, 255, 0.4)); }
.v-truck { animation: show-center 2s infinite linear; }
.v-ship { animation: show-center 2s infinite linear 0.5s; }
.v-train { animation: show-center 2s infinite linear 1.0s; }
.v-plane { animation: show-plane-center 2s infinite linear 1.5s; }
.road-line { width: 100%; height: 3px; background: rgba(255,255,255,0.1); position: relative; overflow: hidden; border-radius: 3px; margin-top: 5px; }
.road-line::after { content: ''; position: absolute; width: 40%; height: 100%; background: #00DCFF; box-shadow: 0 0 10px #00DCFF; animation: road-run 1.5s infinite ease-in-out; }
.loading-text { margin-top: 15px; color: #fff; font-weight: 600; letter-spacing: 4px; text-transform: uppercase; animation: blink 2s infinite ease-in-out; }

.reveal-block { opacity: 0; transform: translateY(50px); transition: all 0.8s ease-out; }
.reveal-block.active { opacity: 1; transform: translateY(0); }

/* --- МУЛЬТИ-МЕССЕНДЖЕРЫ --- */
.messengers-widget {
    position: fixed; bottom: 90px; right: 40px; z-index: 10000;
    display: flex; flex-direction: column; align-items: center; gap: 15px;
}
.messengers-list {
    display: flex; flex-direction: column; gap: 15px;
    opacity: 0; visibility: hidden; transform: translateY(20px);
    transition: 0.3s cubic-bezier(0.68, -0.55, 0.27, 1.55);
}
.messengers-widget.active .messengers-list { opacity: 1; visibility: visible; transform: translateY(0); }

.ms-item {
    width: 50px; height: 50px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: #fff; font-size: 24px; box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    text-decoration: none; transition: 0.3s;
}
.ms-item:hover { transform: scale(1.1); }
.whatsapp { background-color: #25D366; }
.telegram { background-color: #0088cc; }

.messengers-toggle {
    width: 65px; height: 65px; background-color: #00DCFF; color: #050F1E;
    border-radius: 50%; border: none; font-size: 28px; cursor: pointer;
    box-shadow: 0 5px 20px rgba(0, 220, 255, 0.4);
    animation: pulse-cyan 2s infinite;
    display: flex; align-items: center; justify-content: center;
    position: relative; z-index: 10001;
}
@keyframes pulse-cyan { 0% { box-shadow: 0 0 0 0 rgba(0, 220, 255, 0.7); } 70% { box-shadow: 0 0 0 15px rgba(0, 220, 255, 0); } 100% { box-shadow: 0 0 0 0 rgba(0, 220, 255, 0); } }

.messengers-toggle i { position: absolute; transition: 0.3s; }
.close-icon { opacity: 0; transform: rotate(-90deg); }
.open-icon { opacity: 1; transform: rotate(0); }
.messengers-widget.active .close-icon { opacity: 1; transform: rotate(0); }
.messengers-widget.active .open-icon { opacity: 0; transform: rotate(90deg); }
.messengers-widget.active .messengers-toggle { animation: none; background-color: #fff; color: #050F1E; }


/* ========================================================================
   7. АДАПТИВНОСТЬ
   ======================================================================== */

/* --- ПЛАНШЕТ (до 1200px) --- */
@media (max-width: 1200px) {
    .nav-menu, .header-right { display: none; }
    .burger-btn { display: flex; }
    .header { width: 95%; padding: 0 20px; height: 60px; top: 15px; }
    .hero-title { font-size: 54px; }
    
    .bento-section { padding: 20px 20px 60px 20px; }
    .bento-grid { display: flex; flex-direction: column; gap: 20px; }
    .b-text { height: auto; min-height: 200px; }
    .b-btn { width: 100%; height: 80px; flex-direction: row; }
    .b-btn span { writing-mode: horizontal-tb; transform: none; font-size: 20px; }

    .service-block { grid-template-columns: 1fr; }
    .service-img { height: 300px; min-height: auto; }
    .g-cards-row { flex-wrap: wrap; }
    .g-card { flex: 1 1 45%; margin-bottom: 10px; }
    .steps-grid { grid-template-columns: 1fr 1fr; }
    .adv-card { flex-wrap: wrap; height: auto; }
    .adv-item { flex: 1 1 50%; height: 300px; border-bottom: 1px solid rgba(255,255,255,0.1); }
    .adv-item:nth-child(2) { border-right: none; }
    .footer-top { flex-direction: column; gap: 40px; }
    .footer-nav { width: 100%; justify-content: space-between; gap: 20px; }
}

/* --- МОБИЛЬНЫЙ (до 768px) --- */
@media (max-width: 768px) {
    /* Hero */
    .hero-section { height: auto; min-height: 800px; padding: 10px; }
    .hero-card { height: auto; min-height: 800px; }
    .hero-card::before {
        content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%;
        background: rgba(0, 0, 0, 0.4); z-index: 2;
    }
    .hero-content { padding: 100px 20px 32px 20px; position: relative; z-index: 5; }
    .hero-title { font-size: 36px; letter-spacing: -1px; }
    
    /* Отступы */
    .bento-section, .services-section, .guarantee-section, .steps-section, .advantages-section, .cta-section, .footer-section {
        padding: 40px 20px;
    }

    /* Услуги */
    .services-tabs { gap: 20px; }
    .tab-btn { font-size: 16px; }
    .service-info { padding: 30px 20px; }

    /* Bento */
    .bento-grid { gap: 15px; }
    .b-card { width: 100%; padding: 25px 20px; }
    .b-btn { height: 70px; }
    .b-15, .b-1000, .b-50 { flex-direction: row; justify-content: flex-start; gap: 20px; text-align: left; }
    .stat-num { font-size: 32px; margin: 0; min-width: 80px; }

    /* Остальное */
    .video-section { padding: 0 10px; margin-bottom: 60px; }
    .video-card { height: 250px; border-radius: 20px; }
    .g-header { font-size: 20px; flex-direction: column; gap: 15px; white-space: normal; }
    .g-cards-row { flex-direction: column; gap: 10px; margin-bottom: 40px; }
    .g-card { width: 100%; flex: auto; min-height: 60px; padding: 20px; }
    .g-statement p { font-size: 22px; text-align: left; }
    .steps-card-container { padding: 25px 20px; border-radius: 20px; }
    .steps-grid { grid-template-columns: 1fr; row-gap: 40px; }
    .title-block h2 { font-size: 32px; }
    .step-img { height: 200px; }
    .section-title { font-size: 28px; padding-left: 0; margin-bottom: 30px; }
    .adv-card { border-radius: 20px; flex-direction: column; }
    .adv-item { flex: auto; width: 100%; height: 200px; border-right: none; border-bottom: 1px solid rgba(255,255,255,0.1); }
    .adv-item:last-child { border-bottom: none; }
    
    /* CTA */
    .cta-card {
        background: linear-gradient(180deg, #00DCFF 0%, #00DCFF 55%, rgba(0, 220, 255, 0) 100%), url('../images/modal2.png');
        background-size: cover; background-position: center bottom;
        min-height: 500px; padding: 40px 20px 20px 20px;
        flex-direction: column; justify-content: flex-start; align-items: flex-start;
    }
    .cta-content h2 { font-size: 32px; margin-bottom: 30px; color: #050F1E; }
    .cta-btn { width: 100%; padding: 15px; }

    /* Footer */
    .footer-nav { flex-direction: column; gap: 30px; }
    .footer-bottom { flex-direction: column-reverse; gap: 20px; align-items: flex-start; }
    .footer-socials { width: 100%; flex-wrap: wrap; }
    .f-btn-wide { flex: 1; }
    .modal-card { max-width: 90%; padding: 30px 20px; }
    .cursor-glow { display: none; }

    /* Плавающие кнопки (Подняты на 80px) */
    .scroll-top-btn { bottom: 80px; left: 20px; right: auto; }
    .messengers-widget { bottom: 80px; right: 20px; }
    .messengers-toggle { width: 55px; height: 55px; font-size: 24px; }
    .ms-item { width: 45px; height: 45px; font-size: 20px; }
}
/* --- ЛОГОТИП В ФУТЕРЕ (ПРИНУДИТЕЛЬНЫЙ РАЗМЕР) --- */
.f-logo-img-link {
    display: block;
    margin-bottom: 30px;
}

.f-logo-img-link img {
    /* Меняем auto на конкретное число, чтобы растянуть картинку */
    width: 300px;       
    
    max-width: 100%;    /* Чтобы не вылезала на мобильных */
    height: auto;       /* Высота подстроится сама */
    object-fit: contain;
}

/* На мобильном чуть меньше */
@media (max-width: 768px) {
    .f-logo-img-link img {
        width: 240px;
    }
}

/* --- МОДАЛЬНОЕ ОКНО ВИДЕО --- */
.video-modal-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.9); /* Сильное затемнение */
    z-index: 20000;
    display: flex; align-items: center; justify-content: center;
    opacity: 0; visibility: hidden; transition: 0.3s;
}

.video-modal-overlay.active {
    opacity: 1; visibility: visible;
}

.video-modal-container {
    width: 90%;
    max-width: 1000px;
    position: relative;
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* Пропорция 16:9 */
    height: 0;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}

.video-wrapper iframe {
    position: absolute; top: 0; left: 0;
    width: 100%; height: 100%;
}

.video-modal-close {
    position: absolute;
    top: -40px; right: 0;
    background: none; border: none;
    color: #fff; font-size: 40px;
    cursor: pointer; transition: 0.3s;
}
.video-modal-close:hover { color: #00DCFF; transform: scale(1.1); }


/* ==============================================
   ФИКС БАГА С БАННЕРОМ
   ============================================== */

/* 1. Отключаем блик на самом синем баннере */
.cta-card::after {
    content: none !important;
    display: none !important;
    animation: none !important;
    background: none !important;
}

/* 2. Убеждаемся, что блик работает ТОЛЬКО на кнопке */
.cta-btn {
    position: relative;
    overflow: hidden; /* Чтобы блик не вылезал за границы кнопки */
    z-index: 5;
}

.cta-btn::after {
    content: ''; 
    position: absolute; 
    top: 0; 
    left: -100%; 
    width: 50%; 
    height: 100%; 
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent); 
    transform: skewX(-20deg); 
    animation: shimmer 3s infinite;
    display: block !important;
}
