/* =========================================
   1. ПЕРЕМЕННЫЕ И БАЗОВЫЕ НАСТРОЙКИ
   ========================================= */
:root {
    --red: #d31d24;    /* Фирменный красный LEEMOTORS */
    --dark: #000000;
    --white: #ffffff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
/* Убираем подчеркивание у всех ссылок на сайте */
a {
    text-decoration: none !important;
}

/* Плавная прокрутка по якорям для всего сайта */
html {
    scroll-behavior: smooth;
}

body {

    font-family: 'Montserrat', sans-serif;
    background-color: #000;
    color: #fff;
    padding-top: 100px; /* Отступ сверху, чтобы контент не заезжал под фиксированную шапку */
    -webkit-font-smoothing: antialiased; /* Сглаживание шрифтов (как на Mac) */
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

/* Убираем подчеркивание у всех ссылок в шапке */
header a {
    text-decoration: none !important;
}


/* =========================================
   2. ШАПКА САЙТА (HEADER) И НАВИГАЦИЯ
   ========================================= */
header {
    background: rgba(10, 10, 10, 0.85);
    padding: 0; /* Убрали отступы сверху и снизу, чтобы логотип влез целиком */
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 9999;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
}

.header-container {
    width: 100%;
    padding: 0 40px;
    margin: 0 auto;
}

.header-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 40px;
}

.main-logo {
    height: 130px; /* Делаем высоту картинки огромной */
    width: auto;
    display: block;
    object-fit: contain;
    margin: -25px 0; /* Отрицательный отступ: "выдвигаем" пустые прозрачные края за пределы шапки */
}

/* Десктопное меню */
.nav-menu {
    display: flex;
    gap: 20px;
}

.nav-menu a {
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.7;
    transition: 0.3s;
}

.nav-menu a:hover {
    color: var(--red);
    opacity: 1;
}

/* Десктопные иконки соцсетей */
.header-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.social-icon {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff !important;
    font-size: 1rem;
    transition: 0.3s;
}

.social-icon:hover {
    background: var(--red);
    transform: translateY(-3px);
}


/* =========================================
   3. ПОЛНОЭКРАННОЕ МОБИЛЬНОЕ МЕНЮ (БУРГЕР)
   ========================================= */
.burger-btn {
    display: none; /* Скрыто на компьютерах */
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    z-index: 10000;
}

.burger-btn span {
    width: 30px;
    height: 3px;
    background: #fff;
    border-radius: 2px;
    transition: 0.3s;
}

.mobile-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: #000;
    z-index: 10001;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: 0.4s ease-in-out;
}

.mobile-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.close-btn {
    position: absolute;
    top: 30px;
    right: 30px;
    font-size: 3rem;
    color: #fff;
    cursor: pointer;
    transition: 0.3s;
}

.close-btn:hover {
    color: var(--red);
}

.mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 30px;
    text-align: center;
    margin-bottom: 50px;
}

.mobile-nav a {
    color: #fff;
    font-size: 1.2rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: none;
    transition: 0.3s;
}

.mobile-nav a:hover {
    color: var(--red);
}

.mobile-socials {
    display: flex;
    gap: 15px;
}



/* =========================================
   АНИМАЦИИ ПРИ СКРОЛЛЕ (SCROLL REVEAL)
   ========================================= */
.reveal {
    opacity: 0; /* Изначально блок невидим */
    transform: translateY(50px); /* Изначально сдвинут вниз на 50px */
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1); /* Очень плавная кривая анимации */
}

.reveal.active {
    opacity: 1; /* Полностью виден */
    transform: translateY(0); /* Встает на свое родное место */
}




/* =========================================
   4. БЛОК 1: HERO СЕКЦИЯ (ГЛАВНЫЙ ЭКРАН)
   ========================================= */
.hero {
    position: relative;
    height: calc(100vh - 100px);
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: flex-start; /* Текст по левому краю */
    text-align: left;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Затемнение слева, чтобы белый текст читался идеально */
    background: linear-gradient(to right, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.3) 100%),
                url('https://images.unsplash.com/photo-1555215695-3004980ad54e?auto=format&fit=crop&q=80&w=1920');
    background-size: cover;
    background-position: center;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
    margin: 0;
}

.hero h1 {
    font-size: 4rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 25px;
    letter-spacing: -1px;
}

.hero h1 .highlight {
    color: var(--red); /* Выделяем "НАПРЯМУЮ" красным */
}

.hero-subtitle {
    font-size: 1.1rem;
    font-weight: 400;
    line-height: 1.7;
    margin-bottom: 30px;
    opacity: 0.8;
    max-width: 550px;
}


/* =========================================
   5. HERO КНОПКА (ПУЗЫРИК) И СТРЕЛОЧКА
   ========================================= */
.hero-buttons {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 10px;
}

/* Нарисованная стрелочка */
.hand-drawn-arrow {
    opacity: 0.8;
    transform: rotate(-10deg);
    animation: bounceLeft 2s infinite ease-in-out;
}

@keyframes bounceLeft {
    0%, 100% { transform: translateX(0) rotate(-10deg); }
    50% { transform: translateX(5px) rotate(-10deg); }
}

/* Стеклянная кнопка (Glassmorphism) */
.btn-glass {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 18px 40px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #fff !important;
    text-decoration: none;

    border-radius: 50px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.3);

    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
}

.btn-glass:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.btn-glass i {
    font-size: 1.1rem;
    transition: transform 0.3s ease;
}

.btn-glass:hover i {
    transform: translateX(4px); /* Стрелочка внутри кнопки уезжает вправо */
}


/* =========================================
   6. АДАПТИВНОСТЬ (МЕДИАЗАПРОСЫ)
   ========================================= */

/* Для планшетов и небольших экранов */
@media (max-width: 1150px) {
    .nav-menu, .desktop-socials { display: none; } /* Прячем десктопное меню */
    .burger-btn { display: flex; } /* Показываем бургер */
    .header-container { padding: 0 20px; }
}

/* Для мобильных телефонов (iPhone 12 и т.д.) */
@media (max-width: 768px) {
    .hero {
        padding-top: 30px;
        align-items: flex-start; /* Текст поднимается чуть выше */
    }
    .hero h1 {
        font-size: 2.5rem;
    }
    .hero-subtitle {
        font-size: 1rem;
    }
    .hero-buttons {
        flex-direction: column;
        width: 100%;
        gap: 15px;
    }
    .hand-drawn-arrow {
        display: none; /* Прячем стрелочку на телефонах, чтобы не занимала место */
    }
    .btn-glass {
        width: 100%; /* Кнопка во всю ширину экрана */
        justify-content: center;
    }
}

/* Мелкие правки для очень узких экранов */
@media (max-width: 480px) {
    header { padding: 10px 0; }
    .main-logo { height: 40px; }
}





/* =========================================
   БЛОК: СРОКИ ДОСТАВКИ
   ========================================= */
.timeline-section {
    background-color: #000; /* Чисто черный для контраста */
    padding: 100px 0;
}

.timeline-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.time-card {
    background: #111;
    border: 1px solid rgba(255,255,255,0.05);
    padding: 40px 30px;
    border-radius: 12px;
    text-align: center;
    transition: transform 0.3s ease;
    position: relative;
}

.time-card:hover {
    transform: translateY(-10px);
    border-color: rgba(211, 29, 36, 0.5);
}

.time-icon {
    width: 70px;
    height: 70px;
    background: rgba(211, 29, 36, 0.1);
    color: var(--red);
    font-size: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    margin: 0 auto 20px auto;
}

.time-card h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: #fff;
}

.time-days {
    display: inline-block;
    background: var(--red);
    color: #fff;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.time-card p {
    color: #888;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Адаптивность для телефонов */
@media (max-width: 768px) {
    .timeline-grid {
        grid-template-columns: 1fr;
    }
    /* Добавляем стрелочку вниз между карточками на телефоне */
    .time-card:not(:last-child)::after {
        content: '\f0dd'; /* Иконка стрелки FontAwesome */
        font-family: 'Font Awesome 5 Free';
        font-weight: 900;
        position: absolute;
        bottom: -25px;
        left: 50%;
        transform: translateX(-50%);
        color: var(--red);
        font-size: 24px;
    }
}





/* =========================================
   ОБЩИЙ КОНТЕЙНЕР ДЛЯ ВСЕХ БЛОКОВ
   ========================================= */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* =========================================
   7. БЛОК 2: О НАС И РАБОТА
   ========================================= */
.about-section {
    background-color: #f9f9f9; /* Светло-серый фон для контраста с Hero */
    color: var(--dark); /* Текст теперь темный */
    padding: 100px 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Ровно 50% на 50% */
    gap: 50px;
    align-items: center;
}

/* --- ВИДЕО ПЛЕЙСХОЛДЕР --- */
.video-placeholder {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    cursor: pointer;
    aspect-ratio: 16 / 9; /* <--- ДОБАВЬ ТОЛЬКО ЭТУ СТРОКУ */
}

.video-placeholder:hover {
    transform: translateY(-5px); /* Легкое поднятие при наведении */
}

.video-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Кнопка Play поверх картинки */
.play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70px;
    height: 70px;
    background-color: var(--red);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    padding-left: 5px; /* Чтобы треугольник казался визуально по центру */
    box-shadow: 0 10px 20px rgba(211, 29, 36, 0.4);
    transition: 0.3s;
}

.video-placeholder:hover .play-btn {
    transform: translate(-50%, -50%) scale(1.1); /* Кнопка увеличивается */
}

/* --- ТЕКСТОВАЯ ЧАСТЬ --- */
.about-text h2 {
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 20px;
    line-height: 1.2;
}

/* Красная полосочка под заголовком */
.divider {
    width: 60px;
    height: 4px;
    background-color: var(--red);
    margin-bottom: 30px;
    border-radius: 2px;
}

.about-text p {
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 20px;
    color: #444; /* Слегка серый текст для мягкости чтения */
}

.about-text strong {
    color: var(--dark);
}

/* Список с галочками */
.about-list {
    list-style: none;
    margin-top: 30px;
}

.about-list li {
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.about-list i {
    color: var(--red); /* Красные галочки */
    font-size: 1.2rem;
}

/* =========================================
   АДАПТИВНОСТЬ ДЛЯ БЛОКА О НАС
   ========================================= */
@media (max-width: 992px) {
    .about-grid {
        grid-template-columns: 1fr; /* На планшетах и телефонах всё в одну колонку */
        gap: 40px;
    }



    .about-text h2 {
        font-size: 2rem;
    }
}







/* =========================================
   8. БЛОК 3: КАЛЬКУЛЯТОР
   ========================================= */
.calculator-section {
    background-color: #111; /* Меняем на темный графит */
    padding: 100px 0;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05); /* Тончайшая стеклянная линия снизу */
}

.calc-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

.calculator-section h2 {
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 20px;
}

.calculator-section .divider {
    margin: 0 auto 30px auto;
}

.calc-desc {
    font-size: 1.1rem;
    color: #aaa;
    margin-bottom: 40px;
}

/* Карточка калькулятора */
.calc-card {
    background: #111;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    text-align: left;
}

/* Ползунок */
.slider-container {
    margin-bottom: 40px;
}

.slider-labels {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 15px;
    font-size: 0.9rem;
    color: #888;
    font-weight: 600;
}

.highlight-price {
    font-size: 2rem;
    color: var(--red);
    font-weight: 900;
}

.custom-slider {
    -webkit-appearance: none;
    width: 100%;
    height: 6px;
    background: #333;
    border-radius: 5px;
    outline: none;
}

.custom-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--red);
    cursor: pointer;
    transition: 0.2s;
    box-shadow: 0 0 10px rgba(211, 29, 36, 0.5);
}

.custom-slider::-webkit-slider-thumb:hover {
    transform: scale(1.2);
}

/* Смета */
.calc-results {
    background: rgba(0, 0, 0, 0.4);
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 30px;
}

.result-row {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.1);
    font-size: 1.05rem;
    color: #ccc;
}

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

.result-row strong {
    color: #fff;
    font-weight: 700;
}

.total-row {
    margin-top: 10px;
    padding-top: 20px;
    border-top: 2px solid rgba(255, 255, 255, 0.1);
    font-size: 1.2rem;
    color: #fff;
}

.total-row strong {
    color: var(--red);
    font-size: 1.4rem;
}

/* Кнопка и примечание */
.btn-calc {
    width: 100%;
    justify-content: center;
    padding: 20px;
    font-size: 1rem;
    border-radius: 8px;
}

.calc-note {
    text-align: center;
    font-size: 0.8rem;
    color: #666;
    margin-top: 20px;
    line-height: 1.5;
}

/* Адаптивность */
@media (max-width: 768px) {
    .calc-card { padding: 25px 20px; }
    .result-row { flex-direction: column; gap: 5px; text-align: left; }
    .result-row strong { align-self: flex-start; font-size: 1.1rem; }
}






/* =========================================
   9. БЛОК 4: ПОРТФОЛИО И МОДАЛЬНОЕ ОКНО
   ========================================= */
.portfolio-section { background-color: #000; padding: 100px 0; }
.section-header { margin-bottom: 50px; }
.text-center { text-align: center; }
.section-header h2 { font-size: 2.5rem; font-weight: 900; margin-bottom: 15px; }
.section-header .highlight { color: var(--red); }
.section-desc { color: #888; font-size: 1.1rem; }
.mt-60 { margin-top: 60px; }

/* Сетка */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

/* Карточка */
.car-card {
    background: #111;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer; /* Курсор-палец при наведении */
}
.car-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(211, 29, 36, 0.15);
}

/* Контейнер для фото в карточке */
.car-img-wrap {
    position: relative;
    /* height: 300px;  <-- УДАЛИТЬ ЭТУ СТРОКУ */
    width: 100%;
    overflow: hidden;
    display: block;
    background-color: transparent; /* Убедитесь, что нет фонового цвета, который может мешать */
}

/* Сама картинка */
.car-img-wrap img {
    width: 100%; /* Занимает всю ширину обертки */
    height: auto !important; /* Автоматическая высота для сохранения пропорций (используем !important, чтобы перебить старые стили) */
    object-fit: contain; /* Отображает все изображение целиком без обрезки, сохраняя пропорции */
    object-position: center;
    transition: transform 0.5s ease;
}

.car-card:hover .car-img-wrap img { transform: scale(1.08); }

.car-badge {
    position: absolute; top: 15px; right: 15px;
    background: var(--red); color: #fff;
    font-size: 0.8rem; font-weight: 700; padding: 5px 12px;
    border-radius: 4px; text-transform: uppercase;
}

.car-info { padding: 25px; }

/* Жестко фиксируем заголовок и мини-логотип */
.car-info h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    font-weight: 700;
    display: flex;
    align-items: center;
}
.brand-mini-logo {
    width: 30px !important;
    height: 30px !important;
    object-fit: contain;
    margin-right: 12px;
    filter: brightness(0) invert(1);
}

.car-specs { list-style: none; display: flex; gap: 20px; color: #aaa; font-size: 0.95rem; }
.car-specs i { color: var(--red); margin-right: 5px; }

/* Кнопка */
.portfolio-section .btn-glass:hover {
    box-shadow: 0 0 25px rgba(211, 29, 36, 0.3);
    border-color: var(--red);
}
.btn-glass i { font-size: 1.2rem; margin-right: 8px; vertical-align: middle; }

/* Модальное окно */
.modal-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.9); display: none;
    justify-content: center; align-items: center;
    z-index: 10000; backdrop-filter: blur(10px);
}
.modal-content {
    max-width: 800px; /* Окно никогда не будет шире 800 пикселей */
        width: 90%; /* На телефонах оставит небольшие отступы по бокам */
        max-height: 90vh; /* Окно не будет вылезать за пределы экрана по высоте */
        overflow-y: auto; /* Если текст очень длинный, появится аккуратный скролл внутри окна */
        margin: 5vh auto; /* Центрируем с небольшим отступом сверху */
        padding: 30px;
        border-radius: 16px;
}
@keyframes zoomIn { from { transform: scale(0.8); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.close-modal {
    position: absolute; top: 15px; right: 25px;
    font-size: 35px; color: #fff; cursor: pointer; z-index: 10;
}
.video-container { position: relative; padding-bottom: 56.25%; height: 0; }
.video-container iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }
.modal-text { padding: 30px; }
.modal-text h2 { margin-bottom: 15px; font-size: 2rem; color: #fff; }
.modal-text p { color: #ccc; line-height: 1.6; margin-bottom: 25px; }

@media (max-width: 768px) {
    .portfolio-grid { grid-template-columns: 1fr; }
}
/* Специфические настройки для кнопки в модальном окне */
.modal-btn {
    width: 100%;
    justify-content: center;
    margin-top: 10px;
    background: rgba(255, 255, 255, 0.03); /* Чуть заметный фон */
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.modal-btn:hover {
    background: rgba(211, 29, 36, 0.1); /* Легкий красный оттенок при наведении */
    border-color: var(--red);
    box-shadow: 0 0 20px rgba(211, 29, 36, 0.2);
}

.modal-btn i {
    margin-right: 10px;
}



/* =========================================
   10. БЛОК 5: КОНТАКТЫ И ФУТЕР
   ========================================= */
.footer-section {
    background-color: #111; /* Делаем в цвет темного графита (как карточки) */
    padding: 80px 0 30px;
    border-top: 2px solid var(--red); /* Яркая красная линия для премиального контраста */
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

/* Бренд-секция */
.footer-logo {
    max-width: 250px;
    margin-bottom: 20px;
}

.footer-desc {
    color: #888;
    line-height: 1.6;
    margin-bottom: 30px;
    max-width: 400px;
}

.footer-socials {
    display: flex;
    gap: 15px;
}

.social-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 45px;
    height: 45px;
    background: #111;
    color: #fff;
    border-radius: 50%;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.social-icon:hover {
    background: var(--red);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(211, 29, 36, 0.3);
}

/* Контакты */
.footer-contacts h3 {
    font-size: 1.5rem;
    margin-bottom: 30px;
    font-weight: 700;
}

.contacts-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.contacts-list li {
    display: flex;
    align-items: center;
    gap: 20px;
}

.contacts-list i {
    font-size: 1.8rem;
    color: var(--red);
}

.contacts-list strong {
    display: block;
    font-size: 0.9rem;
    color: #888;
    margin-bottom: 5px;
}

.contacts-list a, .contacts-list span {
    color: #fff;
    font-size: 1.1rem;
    font-weight: 600;
    transition: color 0.3s;
}

.contacts-list a:hover {
    color: var(--red);
}

/* Копирайт */
.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: #555;
    font-size: 0.9rem;
}

/* Адаптивность для телефонов */
@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-desc {
        max-width: 100%;
    }
}



/* =========================================
   ВСПЛЫВАЮЩЕЕ ОКНО (МОДАЛКА ДЛЯ ВИДЕО О НАС)
   ========================================= */
.video-modal {
    display: none; /* Скрыто по умолчанию */
    position: fixed;
    z-index: 99999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(5px);
    justify-content: center;
    align-items: center;
}

.video-modal.active {
    display: flex; /* Показывается при добавлении класса JS */
}

.video-modal-content {
    position: relative;
    width: 90%;
    max-width: 1000px;
    aspect-ratio: 16 / 9;
    box-shadow: 0 0 50px rgba(0,0,0,0.5);
}

.video-modal-content iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 12px;
    border: none;
}

.video-modal-close {
    position: absolute;
    top: 20px;
    right: 40px;
    color: white;
    font-size: 50px;
    cursor: pointer;
    transition: color 0.3s;
    line-height: 1;
}

.video-modal-close:hover {
    color: var(--red);
}


/* =========================================
   11. БЛОК: СЛОВО ОСНОВАТЕЛЯ
   ========================================= */
.founder-section {
    background-color: #000;
    padding: 100px 0;
}

.founder-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

/* Контейнер для фото */
.founder-image {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    /* Легкое красное свечение вокруг фото для премиальности */
    box-shadow: 0 20px 50px rgba(211, 29, 36, 0.15);
}

.founder-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    max-height: 600px; /* Чтобы фото не было слишком гигантским на больших экранах */
}

/* Текстовая часть */
.founder-content h2 {
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 20px;
}

/* Блок с цитатой */
.founder-quote {
    font-size: 1.15rem;
    line-height: 1.8;
    color: #ccc;
    font-style: italic;
    margin-bottom: 40px;
    position: relative;
    padding-left: 25px;
    border-left: 4px solid var(--red); /* Красная линия слева от текста */
}

.founder-name strong {
    display: block;
    font-size: 1.4rem;
    color: #fff;
    margin-bottom: 8px;
}

.founder-name span {
    color: var(--red);
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Адаптивность для телефонов и планшетов */
@media (max-width: 992px) {
    .founder-grid {
        grid-template-columns: 1fr; /* Фото и текст встают друг под другом */
        gap: 40px;
    }

    .founder-image img {
        max-height: 500px;
    }

    .founder-content h2 {
        font-size: 2rem;
    }
}

#modalDesc {
    line-height: 1.8; /* Делает межстрочный интервал больше */
    font-size: 1.1rem;
    color: #cccccc;
}

#modalDesc strong {
    color: #ffffff; /* Делает названия характеристик ярче */
}