/* ==========================================================================
   1. ОБЩИЕ НАСТРОЙКИ САЙТА
   ========================================================================== */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth; /* Плавная прокрутка по сайту */
    font-family: 'Inter', sans-serif;
}

/* Универсальный стиль для заголовков блоков (Обо мне, 3D-тур, Галерея) */
.block-title {
    color: #ffffff;
    font-size: 42px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-align: center;
    margin-bottom: 40px;
}

/* ==========================================================================
   2. ШАПКА САЙТА (HEADER)
   ========================================================================== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 90px;
    background-color: rgba(0, 0, 0, 0.7); /* Чёрный 70% прозрачности */
    backdrop-filter: blur(10px); /* Размытие заднего фона */
    z-index: 1000;
    display: flex;
    align-items: center;
}

.header-container {
    width: 100%;
    max-width: 100%; /* Растягиваем к краям экрана */
    padding: 0 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Левая часть шапки: Лого и Имя */
.header-logo-block {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-img {
    height: 60px; /* Увеличен на 20% */
    width: auto;
    object-fit: contain;
}

.brand-name {
    color: #ffffff;
    font-size: 28px; /* Увеличено на 30% */
    font-weight: 400; /* Не жирный шрифт */
    white-space: nowrap;
}

/* Центральная часть: Меню-навигация (Идеальный центр на ПК) */
.header-nav {
    display: flex;
    gap: 60px;
    position: absolute;
    left: 50%;
    transform: translateX(-50%); /* Сдвигает блок ровно на половину его собственной ширины назад, обеспечивая математический центр */
}

/* Специальный стиль для ссылки "3D-туры" на третьей странице */
.nav-tour-link {
    margin-left: 40px; /* Увеличили отступ, чтобы отодвинуть ссылку еще правее */
    color: #ffffff !important; /* Принудительно возвращаем чистый белый цвет в обычном состоянии */
}

/* 👇 ДОБАВЛЯЕМ СЮДА: Эффект наведения специально для этой ссылки */
.nav-tour-link:hover {
    color: #ff8562 !important; /* При наведении принудительно перекрашиваем в оранжевый */
}



.nav-link {
    color: #ffffff;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #ff8562; /* Твой фирменный цвет при наведении */
}

/* Правая часть: Кнопка и Соцсети */
.header-actions {
    display: flex;
    align-items: center;
    gap: 25px;
}

.btn-contacts {
    color: #ffffff;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    border: 2px solid #ffffff;
    padding: 10px 22px;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.btn-contacts:hover {
    background-color: #ff8562;
    border-color: #ff8562;
}

/* Блок иконок соцсетей */
.social-icons {
    display: flex;
    align-items: center;
    gap: 15px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background-color: transparent;
    border-radius: 0;
    transition: transform 0.2s ease;
}

.social-link:hover {
    background-color: transparent;
    transform: translateY(-2px);
}

.social-img-file {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Бургер-меню (скрыто на ПК) */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.menu-toggle span {
    display: block;
    width: 28px;
    height: 3px;
    background-color: #ffffff;
    transition: all 0.3s ease;
}

/* ==========================================================================
   3. ГЛАВНЫЙ ЭКРАН (HERO SECTION)
   ========================================================================== */
.hero-section {
    position: relative;
    width: 100%;
    height: 100vh;
    background-image: linear-gradient(rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.35)), url('img/hero-background.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 20px;
}

.hero-content {
    max-width: 900px;
    width: 100%;
    z-index: 10;
}

.hero-title {
    color: #ffffff;
    font-size: 48px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 50px; /* Увеличенный отступ до описания */
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-subtitle {
    color: rgba(255, 255, 255, 0.85);
    font-size: 20px;
    font-weight: 400;
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto;
}


/* ==========================================================================
   4. БЛОК: ОБО МНЕ
   ========================================================================== */
.about-section {
    background-color: #14181d; /* Твой благородный цвет */
    padding: 120px 20px;
    display: flex;
    justify-content: center;
}

.about-container {
    max-width: 1100px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.about-text {
    color: rgba(255, 255, 255, 0.9);
    font-size: 19px;
    line-height: 1.7;
    text-align: center;
    max-width: 850px;
    margin-bottom: 60px;
}

.about-features {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    width: 100%;
    margin-bottom: 0;
}

.feature-item {
    flex: 1;
    background-color: #1a2026; /* Контрастный фон карточек */
    padding: 30px 25px;
    border-radius: 8px;
    text-align: center;
    transition: transform 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
}

.feature-icon-wrapper {
    width: 50px;
    height: 50px;
    margin: 0 auto 20px auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-feature-icon {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.feature-title {
    color: #ffffff;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 10px;
}

.feature-descr {
    color: rgba(255, 255, 255, 0.7);
    font-size: 15px;
    line-height: 1.5;
}

/* Контейнер для кнопки "Обсудить проект" под карточками */
.about-action-wrapper {
    width: 100%;
    display: flex;
    justify-content: center; /* Выравнивает строго по центру */
    margin-top: 50px; /* Отступ сверху от контейнеров */
}

/* Кнопка в стиле "Больше туров" */
.btn-about-cta {
    display: inline-block;
    color: #ffffff;
    text-decoration: none;
    padding: 14px 40px;
    font-size: 16px;
    font-weight: 600;
    border: 2px solid #ff8562;
    border-radius: 6px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.btn-about-cta:hover {
    background-color: #ff8562;
    box-shadow: 0 5px 15px rgba(255, 133, 98, 0.3);
    transform: translateY(-2px);
}



/* ==========================================================================
   5. БЛОК: 3D-ТУР (НА ГЛАВНОЙ СТРАНИЦЕ)
   ========================================================================== */
.tour-section {
    background-color: #1a2026; /* Чередование: блок чуть светлее основного фона */
    padding: 120px 20px;
    display: flex;
    justify-content: center;
}

.tour-container {
    max-width: 1200px;
    width: 100%;
}

.tour-grid {
    display: flex;
    justify-content: center;
    gap: 40px;
    width: 100%;
}

.tour-card {
    flex: 1;
    max-width: 500px;
    background-color: #14181d;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.tour-card:hover {
    transform: translateY(-5px);
}

.tour-image-box {
    width: 80%;            /* Уменьшаем ширину контейнера картинки на 20% */
    margin: 0 auto;        /* Центрируем картинку по горизонтали внутри карточки */
    margin-top: 25px;      /* Добавляем эстетичный отступ сверху, чтобы картинка не прилипала к краю карточки */
    aspect-ratio: 9 / 16;  /* Сохраняем твои идеальные пропорции 9:16 */
    overflow: hidden;
    background-color: #0b0d10;
    border-radius: 8px;    /* Добавляем легкое скругление углов самой картинке, так как она теперь не касается краев карточки */
}


.tour-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.tour-card:hover .tour-img {
    transform: scale(1.03);
}

.tour-info {
    padding: 30px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.tour-card-title {
    color: #ffffff;
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 15px;
}

.tour-card-descr {
    color: rgba(255, 255, 255, 0.7);
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 25px;
    flex-grow: 1;
}

.btn-tour {
    display: inline-block;
    text-align: center;
    background-color: #ff8562;
    color: #ffffff;
    text-decoration: none;
    padding: 14px 28px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 6px;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.btn-tour:hover {
    background-color: #e06e4c;
    transform: translateY(-1px);
}

.tour-more-action {
    margin-top: 50px;
    text-align: center;
}

.btn-more-tours {
    display: inline-block;
    color: #ffffff;
    text-decoration: none;
    padding: 14px 35px;
    font-size: 16px;
    font-weight: 600;
    border: 2px solid #ff8562;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.btn-more-tours:hover {
    background-color: #ff8562;
    box-shadow: 0 5px 15px rgba(255, 133, 98, 0.3);
}

/* ==========================================================================
   6. СЕТКА ДЛЯ ВНУТРЕННЕЙ СТРАНИЦЫ (3 КОЛОНКИ С ЦЕНТРИРОВАНИЕМ КАРТОЧЕК)
   ========================================================================== */

/* Контейнер, удерживающий сетку туров */
.tour-container {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto; /* Центрируем сам блок с турами на странице */
}

.tour-grid-page {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* Ровно 3 колонки */
    gap: 40px 30px; /* 40px между рядами (строками) и 30px между колонками */
    width: 100%;
    justify-items: center; /* Центрируем каждую карточку внутри её ячейки сетки */
}

/* Увеличили контейнер под картинки на 10% (было max-width: 70%, стало 80%) */
.tour-grid-page .tour-image-box {
    max-width: 80%; 
    margin: 0 auto; /* Центрируем изображение внутри карточки */
}

/* Фиксируем центрирование самих карточек на случай, если они решат сместиться */
.tour-grid-page .tour-card {
    width: 100%;
    max-width: 400px; /* Оптимальная ширина для 3-х колонок, чтобы текст и кнопки не сжимались */
}


/* АДАПТИВ ДЛЯ ПЛИТКИ НА ПЛАНШЕТАХ И МОБИЛКАХ (Переносим сюда для порядка) */
@media (max-width: 1024px) {
    .tour-grid-page {
        grid-template-columns: repeat(2, 1fr); /* На планшетах перестраиваем по 2 штуки в ряд */
    }
}


/* ==========================================================================
   7. ПОДВАЛ САЙТА (КОНТАКТЫ) С ФОНОМ И ВЫРАВНИВАНИЕМ ВЛЕВО
   ========================================================================== */
.site-footer {
    position: relative;
    width: 100%;
    min-height: 450px;
    background-image: url('img/background_contakt.jpg'); /* Твой фон на месте */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
}

.footer-container {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 60px;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start; /* Всё строго по левому краю */
    gap: 25px; /* Увеличили зазор между элементами */
    text-shadow: 1px 1px 10px rgba(0, 0, 0, 0.8), 2px 2px 5px rgba(0, 0, 0, 0.9);
}

.footer-title {
    color: #ffffff;
    font-size: 42px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 5px;
}

.footer-contacts-text {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-link {
    color: #ffffff;
    font-size: 24px;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: #ff8562;
}

/* Стили для кнопок мессенджеров */
.footer-messengers {
    display: flex;
    gap: 15px; /* Расстояние между кнопками */
    margin-top: 10px;
}

.footer-btn {
    display: inline-block;
    color: #ffffff;
    text-decoration: none;
    padding: 12px 30px;
    font-size: 15px;
    font-weight: 600;
    border: 2px solid #ff8562; /* Твой фирменный оранжевый */
    border-radius: 6px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    background-color: rgba(20, 24, 29, 0.5); /* Легкий темный фон для читаемости */
}

.footer-btn:hover {
    background-color: #ff8562;
    box-shadow: 0 5px 15px rgba(255, 133, 98, 0.3);
    transform: translateY(-2px);
}

/* Корректный мобильный адаптив для новых кнопок */
@media (max-width: 768px) {
    .footer-messengers {
        flex-direction: column; /* На мобилках кнопки встанут друг под друга */
        width: 100%;
    }
    .footer-btn {
        text-align: center;
        width: 100%; /* Кнопки растянутся во всю ширину для удобного тапа пальцем */
    }
}



/* ==========================================================================
   8. БЛОК: ГАЛЕРЕЯ (ДЕСТКТОПНАЯ АСИММЕТРИЧНАЯ СЕТКА)
   ========================================================================== */
.gallery-section {
    background-color: #14181d;
    padding: 120px 20px;
    display: flex;
    justify-content: center;
}
.gallery-container {
    max-width: 1200px;
    width: 100%;
}
.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    background-color: #1a2026;
}
.gallery-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}
.gallery-item:hover .gallery-img {
    transform: scale(1.03);
}
.gallery-row-mixed {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}
.gallery-row-mixed .item-vertical {
    flex: 1;
    aspect-ratio: 9 / 11;
}
.gallery-sub-column {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.gallery-sub-column .item-horizontal {
    flex: 1;
}
.gallery-row-verticals {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.gallery-row-verticals .gallery-item {
    aspect-ratio: 9 / 14;
}
.gallery-more-action {
    margin-top: 50px;
    text-align: center;
}
.btn-more-gallery {
    display: inline-block;
    color: #ffffff;
    text-decoration: none;
    padding: 14px 45px;
    font-size: 16px;
    font-weight: 600;
    border: 2px solid #ff8562;
    border-radius: 6px;
    transition: all 0.3s ease;
}
.btn-more-gallery:hover {
    background-color: #ff8562;
    box-shadow: 0 5px 15px rgba(255, 133, 98, 0.3);
}

/* ==========================================================================
   9. СТИЛИ ДЛЯ ОТДЕЛЬНОЙ СТРАНИЦЫ ГАЛЕРЕИ (ИНТЕРЬЕРЫ / ЭКСТЕРЬЕРЫ - ДЕСКТОП)
   ========================================================================== */
.gallery-page-container {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 0 20px;
}
.gallery-page-block {
    margin-bottom: 80px; 
    scroll-margin-top: 110px; 
}
.gallery-block-subtitle {
    color: #ffffff;
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 30px;
    border-left: 4px solid #ff8562; 
    padding-left: 15px;
}
.gallery-page-item {
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
    background-color: #1a2026;
    transition: transform 0.3s ease;
}
.gallery-page-item:hover {
    transform: translateY(-3px);
}
.gallery-page-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.gallery-grid-vertical {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
.gallery-grid-vertical .gallery-page-item {
    aspect-ratio: 9 / 14; 
}
.gallery-grid-horizontal {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}
.gallery-grid-horizontal .gallery-page-item {
    aspect-ratio: 16 / 10; 
}

/* ==========================================================================
   10. СТИЛИ ДЛЯ СТРАНИЦЫ ЗАСТРОЙЩИКОВ (DEVELOPERS - ДЕСКТОП)
   ========================================================================= */
.dev-hero {
    padding: 160px 20px 100px 20px;
    text-align: center;
    background: linear-gradient(rgba(20, 24, 29, 0.85), rgba(20, 24, 29, 0.95)), url('img/hero-background.jpg');
    background-size: cover;
    background-position: center;
}
.dev-hero-content {
    max-width: 900px;
    margin: 0 auto;
}
.dev-hero-title {
    font-size: 42px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 25px;
    text-transform: uppercase;
}
.dev-hero-subtitle {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}
.dev-features-section {
    padding: 100px 20px;
}
.dev-features-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 120px; 
}
.dev-row {
    display: flex;
    align-items: center;
    gap: 60px;
}
.dev-row.reverse {
    flex-direction: row-reverse;
}
.dev-col-text {
    flex: 1;
}
.dev-tag {
    display: inline-block;
    color: #ff8562;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
}
.dev-col-text h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 25px;
    color: #ffffff;
    line-height: 1.3;
}
.dev-col-text p {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.7;
    margin-bottom: 15px;
}
.dev-col-img {
    flex: 1;
    display: flex;
    justify-content: center;
}
.dev-img-wrapper {
    width: 100%;
    max-width: 500px; 
    aspect-ratio: 1 / 1; 
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}
.dev-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.dev-img-wrapper:hover img {
    transform: scale(1.02);
}

/* Базовые настройки контента для страницы девелоперов */
.dev-main-content {
    background-color: #14181d;
    color: #ffffff;
    padding-top: 90px; /* Отступ под большую десктопную шапку */
}


/* ==========================================================================
   11. АДАПТИВНОСТЬ ДЛЯ СРЕДНИХ ЭКРАНОВ И ПЛАНШЕТОВ (ДО 1024px / 992px)
   ========================================================================== */
@media (max-width: 1024px) {
    .tour-grid-page {
        grid-template-columns: repeat(2, 1fr); 
    }
}

@media (max-width: 992px) {
    .menu-toggle {
        display: flex;
    }
    .header-nav {
        position: fixed; 
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background-color: rgba(0, 0, 0, 0.98); 
        display: flex;
        flex-direction: column;
        justify-content: center; 
        align-items: center;
        gap: 35px; 
        transition: right 0.4s ease;
        padding: 0;
        z-index: 1000;
        transform: none !important; 
    }
    .nav-tour-link {
        margin-left: 0 !important;
    }
    .header-actions {
        position: fixed;
        top: calc(50% + 140px); 
        right: -100%;
        width: 70%;
        display: flex;
        flex-direction: column;
        gap: 25px;
        transition: right 0.4s ease;
        z-index: 1001;
        align-items: center;
    }
    .header-nav.active,
    .header-actions.active {
        right: 0;
    }
    .menu-toggle.active span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
    .menu-toggle.active span:nth-child(2) { opacity: 0; }
    .menu-toggle.active span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

    .hero-title { font-size: 38px; }
    .hero-subtitle { font-size: 18px; }

    /* Общий адаптив для застройщиков (Планшеты) */
    .dev-row, .dev-row.reverse {
        flex-direction: column; 
        gap: 40px;
    }
    .dev-col-text h2 {
        font-size: 26px;
    }
    .dev-hero-title {
        font-size: 30px;
    }
}

@media (max-width: 850px) {
    .about-section, .tour-section { padding: 80px 20px; }
    .about-text { font-size: 16px; margin-bottom: 40px; }
    .about-features, .tour-grid { flex-direction: column; align-items: center; gap: 20px; }
    .feature-item, .tour-card { width: 100%; max-width: 450px; }
    .tour-info { padding: 20px; }
    .tour-card-title { font-size: 20px; }
    .tour-card-descr { font-size: 14px; }
}

/* ==========================================================================
   12. ЕДИНЫЙ МОБИЛЬНЫЙ АДАПТИВ ДЛЯ СМАРТФОНОВ (ДО 768px / 576px / 480px)
   ========================================================================== */
@media (max-width: 768px) {
    .site-header { height: 72px !important; }
    .logo-img { height: 44px !important; }
    .brand-name { font-size: 18px !important; }

    .site-header .header-container {
        justify-content: space-between !important; 
        gap: 15px !important; 
    }
    .site-header .btn-contacts[href="../"] {
        padding: 6px 12px !important; 
        font-size: 13px !important;    
        margin-left: auto !important; 
    }

    .tour-grid-page { grid-template-columns: 1fr; }
    .tour-grid-page .tour-image-box { max-width: 100%; }

    .site-footer { min-height: 350px !important; background-position: calc(50% + 50px) center !important; }
    .footer-container { padding: 0 30px !important; }
    .footer-title { font-size: 32px !important; }
    .footer-link { font-size: 18px !important; }

    .gallery-row-mixed {
        flex-direction: column; 
        gap: 20px;
    }
    .gallery-row-verticals {
        grid-template-columns: 1fr; 
        gap: 20px;
        margin-top: 20px;
    }
    .gallery-row-mixed .item-vertical,
    .gallery-row-verticals .gallery-item {
        aspect-ratio: 4 / 5; 
    }

    .gallery-grid-vertical,
    .gallery-grid-horizontal {
        grid-template-columns: 1fr !important; 
        gap: 20px;
    }

    .site-header .header-nav {
        position: fixed !important; 
        left: auto !important;     
        transform: none !important; 
    }
    .site-header:has(.menu-toggle) .header-nav {
        display: flex !important;
    }
    .nav-tour-link {
        margin-left: 0 !important;
    }

    .footer-messengers {
        flex-direction: column; 
        width: 100%;
    }
    .footer-btn {
        text-align: center;
        width: 100%; 
    }

    /* Уменьшаем отступ под компактную мобильную шапку */
    .dev-main-content {
        padding-top: 72px; 
    }


}

@media (max-width: 576px) {
    .hero-title { font-size: 28px; margin-bottom: 20px; }
    .hero-subtitle { font-size: 15px; line-height: 1.5; }
}

@media (max-width: 480px) {
    .header-nav, .header-actions { width: 100%; }
}
