/* ===== ПОЛНАЯ АДАПТИВНОСТЬ ПОД ВСЕ РАЗРЕШЕНИЯ ===== */
/* Версия: v2 — расширенная поддержка всех устройств */

/* ==========================================================================
   МОБИЛЬНЫЕ УСТРОЙСТВА (ПОРТРЕТНАЯ ОРИЕНТАЦИЯ)
   ========================================================================== */

/* --- 240×320 (очень старые кнопочные телефоны) --- */
@media (max-width: 240px) {
    .container { padding: 0 6px !important; }
    .logo-img { height: 45px !important; }
    .logo-fallback { font-size: 32px !important; }
    .hero-title { font-size: 16px !important; }
    .hero-subtitle { font-size: 11px !important; }
    .section-title { font-size: 16px !important; }
    .btn { font-size: 10px !important; padding: 6px 11px !important; }
    .nav a { font-size: 11px !important; padding: 8px 11px !important; }
    .tour-info-wide h3 { font-size: 14px !important; }
    .tour-price { font-size: 14px !important; }
    .tour-badge { font-size: 9px !important; padding: 3px 8px !important; }
}

/* --- 320×480 (iPhone SE, старые Android) --- */
@media (max-width: 320px) and (min-width: 241px) {
    .container { padding: 0 8px !important; }
    .logo-img { height: 60px !important; }
    .logo-fallback { font-size: 42px !important; }
    .hero-title { font-size: 20px !important; }
    .hero-subtitle { font-size: 12px !important; }
    .hero-features { font-size: 11px !important; gap: 8px !important; }
    .hero-features span { padding: 8px 14px !important; }
    .section-title { font-size: 20px !important; }
    .btn { font-size: 12px !important; padding: 10px 20px !important; }
    .nav a { font-size: 13px !important; padding: 10px 15px !important; }
    .tour-info-wide h3 { font-size: 16px !important; }
    .tour-price { font-size: 16px !important; }
    .tour-badge { font-size: 10px !important; padding: 4px 10px !important; }
    .search-box-modern input { font-size: 12px !important; padding: 12px 40px !important; }
}

/* --- 360×640 (современные смартфоны, самый частый) --- */
@media (max-width: 360px) and (min-width: 321px) {
    .container { padding: 0 10px !important; }
    .logo-img { height: 70px !important; }
    .logo-fallback { font-size: 45px !important; }
    .hero-title { font-size: 22px !important; }
    .hero-subtitle { font-size: 13px !important; }
    .hero-features { font-size: 12px !important; gap: 10px !important; }
    .hero-features span { padding: 10px 16px !important; }
    .section-title { font-size: 22px !important; }
    .btn { font-size: 13px !important; padding: 12px 22px !important; }
    .nav a { font-size: 14px !important; padding: 11px 16px !important; }
    .tour-info-wide h3 { font-size: 17px !important; }
    .tour-price { font-size: 17px !important; }
    .tour-badge { font-size: 11px !important; padding: 5px 11px !important; }
    .search-box-modern input { font-size: 13px !important; padding: 14px 44px !important; }
}

/* --- 375×667 (iPhone 6/7/8) --- */
@media (max-width: 375px) and (min-width: 361px) {
    .container { padding: 0 12px !important; }
    .logo-img { height: 75px !important; }
    .logo-fallback { font-size: 48px !important; }
    .hero-title { font-size: 23px !important; }
    .hero-subtitle { font-size: 14px !important; }
    .hero-features { font-size: 13px !important; gap: 10px !important; }
    .hero-features span { padding: 11px 17px !important; }
    .section-title { font-size: 24px !important; }
    .btn { font-size: 14px !important; padding: 13px 24px !important; }
    .nav a { font-size: 14px !important; padding: 12px 17px !important; }
    .tour-info-wide h3 { font-size: 18px !important; }
    .tour-price { font-size: 18px !important; }
    .tour-badge { font-size: 11px !important; padding: 5px 12px !important; }
    .search-box-modern input { font-size: 14px !important; padding: 15px 46px !important; }
}

/* --- 390×844 (iPhone 12/13/14) --- */
@media (max-width: 390px) and (min-width: 376px) {
    .container { padding: 0 14px !important; }
    .logo-img { height: 80px !important; }
    .logo-fallback { font-size: 50px !important; }
    .hero-title { font-size: 24px !important; }
    .hero-subtitle { font-size: 14px !important; }
    .hero-features { font-size: 13px !important; gap: 11px !important; }
    .hero-features span { padding: 12px 18px !important; }
    .section-title { font-size: 25px !important; }
    .btn { font-size: 14px !important; padding: 14px 25px !important; }
    .nav a { font-size: 15px !important; padding: 12px 18px !important; }
    .tour-info-wide h3 { font-size: 18px !important; }
    .tour-price { font-size: 18px !important; }
    .tour-badge { font-size: 11px !important; padding: 5px 12px !important; }
    .search-box-modern input { font-size: 14px !important; padding: 15px 48px !important; }
}

/* --- 414×896 (iPhone XR/11/Plus) --- */
@media (max-width: 414px) and (min-width: 391px) {
    .container { padding: 0 15px !important; }
    .logo-img { height: 85px !important; }
    .logo-fallback { font-size: 52px !important; }
    .hero-title { font-size: 25px !important; }
    .hero-subtitle { font-size: 15px !important; }
    .hero-features { font-size: 14px !important; gap: 12px !important; }
    .hero-features span { padding: 13px 19px !important; }
    .section-title { font-size: 26px !important; }
    .btn { font-size: 15px !important; padding: 15px 26px !important; }
    .nav a { font-size: 15px !important; padding: 13px 19px !important; }
    .tour-info-wide h3 { font-size: 19px !important; }
    .tour-price { font-size: 19px !important; }
    .tour-badge { font-size: 12px !important; padding: 6px 13px !important; }
    .search-box-modern input { font-size: 15px !important; padding: 16px 48px !important; }
}

/* --- 430×932 (iPhone 14 Pro Max) --- */
@media (max-width: 430px) and (min-width: 415px) {
    .container { padding: 0 16px !important; }
    .logo-img { height: 90px !important; }
    .logo-fallback { font-size: 55px !important; }
    .hero-title { font-size: 26px !important; }
    .hero-subtitle { font-size: 15px !important; }
    .hero-features { font-size: 14px !important; gap: 12px !important; }
    .hero-features span { padding: 14px 20px !important; }
    .section-title { font-size: 27px !important; }
    .btn { font-size: 15px !important; padding: 16px 28px !important; }
    .nav a { font-size: 15px !important; padding: 13px 20px !important; }
    .tour-info-wide h3 { font-size: 19px !important; }
    .tour-price { font-size: 19px !important; }
    .tour-badge { font-size: 12px !important; padding: 6px 14px !important; }
    .search-box-modern input { font-size: 15px !important; padding: 16px 50px !important; }
}

/* --- 480×800 (старые Android) --- */
@media (max-width: 480px) and (min-width: 431px) {
    .container { padding: 0 18px !important; }
    .logo-img { height: 95px !important; }
    .logo-fallback { font-size: 58px !important; }
    .hero-title { font-size: 27px !important; }
    .hero-subtitle { font-size: 16px !important; }
    .hero-features { font-size: 15px !important; gap: 13px !important; }
    .hero-features span { padding: 15px 21px !important; }
    .section-title { font-size: 28px !important; }
    .btn { font-size: 16px !important; padding: 17px 30px !important; }
    .nav a { font-size: 16px !important; padding: 14px 21px !important; }
    .tour-info-wide h3 { font-size: 20px !important; }
    .tour-price { font-size: 20px !important; }
    .tour-badge { font-size: 12px !important; padding: 6px 15px !important; }
    .search-box-modern input { font-size: 15px !important; padding: 17px 50px !important; }
}

/* ==========================================================================
   МОБИЛЬНЫЕ УСТРОЙСТВА (АЛЬБОМНАЯ ОРИЕНТАЦИЯ)
   ========================================================================== */

/* --- 640×360 (альбомные старые Android) --- */
@media (max-width: 640px) and (min-width: 481px) and (orientation: landscape) {
    .container { padding: 0 15px !important; }
    .hero { min-height: 60vh !important; padding-top: 80px !important; }
    .logo-img { height: 70px !important; }
    .hero-title { font-size: 24px !important; }
    .hero-subtitle { font-size: 14px !important; }
    .hero-features { gap: 10px !important; flex-wrap: nowrap !important; overflow-x: auto !important; }
    .hero-features span { font-size: 12px !important; padding: 8px 14px !important; white-space: nowrap !important; }
    .section-title { font-size: 24px !important; margin-bottom: 25px !important; }
    .tour-card-wide { height: 160px !important; }
    .tour-image-wide { width: 220px !important; }
    .tour-info-wide { padding: 20px 30px !important; }
    .tour-info-wide h3 { font-size: 17px !important; }
    .tour-description { font-size: 12px !important; }
    .tour-price { font-size: 17px !important; }
    .nav a { font-size: 14px !important; padding: 10px 16px !important; }
}

/* --- 667×375 (альбомные iPhone 6/7/8) --- */
@media (max-width: 667px) and (min-width: 641px) and (orientation: landscape) {
    .container { padding: 0 16px !important; }
    .hero { min-height: 65vh !important; }
    .logo-img { height: 75px !important; }
    .hero-title { font-size: 25px !important; }
    .hero-subtitle { font-size: 14px !important; }
    .hero-features { gap: 11px !important; }
    .hero-features span { font-size: 13px !important; padding: 9px 15px !important; }
    .section-title { font-size: 25px !important; }
    .tour-card-wide { height: 170px !important; }
    .tour-image-wide { width: 240px !important; }
    .tour-info-wide h3 { font-size: 18px !important; }
    .tour-price { font-size: 18px !important; }
}

/* --- 844×390 (альбомные iPhone 12/13/14) --- */
@media (max-width: 844px) and (min-width: 668px) and (orientation: landscape) {
    .container { padding: 0 18px !important; }
    .hero { min-height: 65vh !important; }
    .logo-img { height: 80px !important; }
    .hero-title { font-size: 26px !important; }
    .hero-subtitle { font-size: 15px !important; }
    .hero-features { gap: 12px !important; }
    .hero-features span { font-size: 13px !important; padding: 10px 16px !important; }
    .section-title { font-size: 26px !important; }
    .tour-card-wide { height: 180px !important; }
    .tour-image-wide { width: 260px !important; }
    .tour-info-wide h3 { font-size: 19px !important; }
    .tour-price { font-size: 19px !important; }
}

/* --- 896×414 (альбомные iPhone XR/11/Plus) --- */
@media (max-width: 896px) and (min-width: 845px) and (orientation: landscape) {
    .container { padding: 0 20px !important; }
    .hero { min-height: 70vh !important; }
    .logo-img { height: 85px !important; }
    .hero-title { font-size: 27px !important; }
    .hero-subtitle { font-size: 15px !important; }
    .hero-features { gap: 13px !important; }
    .hero-features span { font-size: 14px !important; padding: 11px 17px !important; }
    .section-title { font-size: 27px !important; }
    .tour-card-wide { height: 190px !important; }
    .tour-image-wide { width: 280px !important; }
    .tour-info-wide h3 { font-size: 20px !important; }
    .tour-price { font-size: 20px !important; }
}

/* --- 932×430 (альбомные iPhone 14 Pro Max) --- */
@media (max-width: 932px) and (min-width: 897px) and (orientation: landscape) {
    .container { padding: 0 22px !important; }
    .hero { min-height: 70vh !important; }
    .logo-img { height: 90px !important; }
    .hero-title { font-size: 28px !important; }
    .hero-subtitle { font-size: 16px !important; }
    .hero-features { gap: 14px !important; }
    .hero-features span { font-size: 14px !important; padding: 12px 18px !important; }
    .section-title { font-size: 28px !important; }
    .tour-card-wide { height: 200px !important; }
    .tour-image-wide { width: 300px !important; }
    .tour-info-wide h3 { font-size: 21px !important; }
    .tour-price { font-size: 21px !important; }
}

/* ==========================================================================
   ПЛАНШЕТЫ (ПОРТРЕТ И АЛЬБОМ)
   ========================================================================== */

/* --- 600×960 (маленькие планшеты, Surface Duo) --- */
@media (max-width: 600px) and (min-width: 481px) and (orientation: portrait) {
    .container { padding: 0 18px !important; }
    .logo-img { height: 100px !important; }
    .hero-title { font-size: 30px !important; }
    .hero-subtitle { font-size: 16px !important; }
    .section-title { font-size: 28px !important; }
    .tour-card-wide { height: 200px !important; }
    .tour-image-wide { width: 260px !important; }
    .tour-info-wide h3 { font-size: 20px !important; }
    .tour-price { font-size: 20px !important; }
    .nav a { font-size: 15px !important; padding: 13px 20px !important; }
}

/* --- 768×1024 (iPad Mini, Air 9.7") --- */
@media (max-width: 768px) and (min-width: 601px) {
    body { padding-top: 70px !important; }
    .container { padding: 0 20px !important; }
    .logo-img { height: 110px !important; }
    .hero-title { font-size: 32px !important; }
    .hero-subtitle { font-size: 17px !important; }
    .hero-features { font-size: 14px !important; gap: 12px !important; }
    .hero-features span { padding: 12px 20px !important; }
    .section-title { font-size: 30px !important; }
    .btn { font-size: 15px !important; padding: 14px 28px !important; }
    .nav a { font-size: 15px !important; padding: 13px 21px !important; }
    .tour-card-wide { height: 210px !important; }
    .tour-image-wide { width: 280px !important; }
    .tour-info-wide h3 { font-size: 21px !important; }
    .tour-price { font-size: 21px !important; }
    .tour-badge { font-size: 12px !important; padding: 6px 14px !important; }
    .search-box-modern input { font-size: 15px !important; padding: 16px 50px !important; }
}

/* --- 800×1280 (популярные Android планшеты) --- */
@media (max-width: 800px) and (min-width: 769px) {
    .container { padding: 0 22px !important; }
    .logo-img { height: 120px !important; }
    .hero-title { font-size: 34px !important; }
    .hero-subtitle { font-size: 18px !important; }
    .hero-features { font-size: 15px !important; gap: 14px !important; }
    .hero-features span { padding: 13px 22px !important; }
    .section-title { font-size: 31px !important; }
    .btn { font-size: 16px !important; padding: 15px 30px !important; }
    .nav a { font-size: 16px !important; padding: 14px 22px !important; }
    .tour-card-wide { height: 215px !important; }
    .tour-image-wide { width: 290px !important; }
    .tour-info-wide h3 { font-size: 22px !important; }
    .tour-price { font-size: 22px !important; }
}

/* --- 834×1194 (iPad Pro 11") --- */
@media (max-width: 834px) and (min-width: 801px) {
    .container { padding: 0 24px !important; }
    .logo-img { height: 125px !important; }
    .hero-title { font-size: 35px !important; }
    .hero-subtitle { font-size: 18px !important; }
    .hero-features { font-size: 15px !important; gap: 15px !important; }
    .hero-features span { padding: 14px 23px !important; }
    .section-title { font-size: 32px !important; }
    .btn { font-size: 16px !important; padding: 16px 32px !important; }
    .nav a { font-size: 16px !important; padding: 14px 23px !important; }
    .tour-card-wide { height: 220px !important; }
    .tour-image-wide { width: 300px !important; }
    .tour-info-wide h3 { font-size: 23px !important; }
    .tour-price { font-size: 23px !important; }
    .search-box-modern input { font-size: 16px !important; padding: 17px 52px !important; }
}

/* --- 1024×1366 (iPad Pro 12.9") --- */
@media (max-width: 1024px) and (min-width: 835px) {
    .container { padding: 0 26px !important; }
    .logo-img { height: 135px !important; }
    .hero-title { font-size: 38px !important; }
    .hero-subtitle { font-size: 19px !important; }
    .hero-features { font-size: 16px !important; gap: 16px !important; }
    .hero-features span { padding: 15px 25px !important; }
    .section-title { font-size: 34px !important; }
    .btn { font-size: 17px !important; padding: 17px 35px !important; }
    .nav a { font-size: 17px !important; padding: 15px 25px !important; }
    .tour-card-wide { height: 225px !important; }
    .tour-image-wide { width: 320px !important; }
    .tour-info-wide h3 { font-size: 24px !important; }
    .tour-price { font-size: 24px !important; }
    .search-box-modern input { font-size: 16px !important; padding: 18px 54px !important; }
}

/* ==========================================================================
   НОУТБУКИ И МОНИТОРЫ
   ========================================================================== */

/* --- 1280×720 (HD, базовый ноутбук) --- */
@media (max-width: 1280px) and (min-width: 1025px) {
    .container { padding: 0 25px !important; }
    .header .container { padding: 0 25px !important; }
    .logo { margin-left: -50px !important; }
    .logo-img { height: 100px !important; }
    .logo-fallback { font-size: 30px !important; }
    .nav { gap: 12px !important; margin-left: 20px !important; }
    .nav a { font-size: 14px !important; padding: 12px 18px !important; }
    .header-right { margin-left: 50px !important; gap: 20px !important; }
    .header-phone, .header-address, .header-hours { font-size: 14px !important; }
    .hero h1 { font-size: 40px !important; }
    .hero-subtitle { font-size: 18px !important; }
    .hero-features { gap: 15px !important; }
    .hero-features span { font-size: 14px !important; padding: 12px 20px !important; }
    .hero .btn-primary { padding: 20px 50px !important; font-size: 18px !important; }
    .section-title { font-size: 32px !important; margin-bottom: 35px !important; }
    .tour-card-wide { height: 200px !important; }
    .tour-image-wide { width: 300px !important; }
    .tour-info-wide h3 { font-size: 20px !important; }
    .tour-description { font-size: 14px !important; }
    .tour-price { font-size: 22px !important; }
    .search-title { font-size: 32px !important; }
    .search-subtitle { font-size: 16px !important; }
    .search-box-modern input { font-size: 15px !important; padding: 16px 50px 16px 55px !important; }
    .request-form { padding: 30px !important; }
    .footer-modern-content { gap: 35px !important; }
    .calendar-title { font-size: 32px !important; }
    .calendar-subtitle { font-size: 16px !important; }
}

/* --- 1366×768 (самый частый для дешёвых ноутбуков) --- */
@media (max-width: 1366px) and (min-width: 1281px) {
    .container { padding: 0 30px !important; }
    .header .container { padding: 0 30px !important; }
    .logo { margin-left: -120px !important; }
    .logo-img { height: 135px !important; }
    .logo-fallback { font-size: 55px !important; }
    .nav { gap: 14px !important; margin-left: 25px !important; }
    .nav a { font-size: 15px !important; padding: 13px 20px !important; }
    .header-right { margin-left: 40px !important; gap: 22px !important; }
    .header-phone, .header-address, .header-hours { font-size: 15px !important; }
    .hero h1 { font-size: 44px !important; }
    .hero-subtitle { font-size: 19px !important; }
    .hero-features span { font-size: 15px !important; padding: 13px 22px !important; }
    .hero .btn-primary { padding: 22px 55px !important; font-size: 19px !important; }
    .section-title { font-size: 34px !important; margin-bottom: 38px !important; }
    .tour-card-wide { height: 210px !important; }
    .tour-image-wide { width: 320px !important; }
    .tour-info-wide h3 { font-size: 21px !important; }
    .tour-price { font-size: 23px !important; }
    .search-title { font-size: 34px !important; }
    .search-box-modern input { font-size: 16px !important; padding: 17px 52px 17px 58px !important; }
    .request-form { padding: 32px !important; }
    .calendar-title { font-size: 34px !important; }
}

/* --- 1440×900 (MacBook Air 13") --- */
@media (max-width: 1440px) and (min-width: 1367px) {
    .container { padding: 0 35px !important; }
    .header .container { padding: 0 35px !important; }
    .logo { margin-left: -150px !important; }
    .logo-img { height: 145px !important; }
    .logo-fallback { font-size: 58px !important; }
    .nav { gap: 16px !important; margin-left: 30px !important; }
    .nav a { font-size: 16px !important; padding: 14px 22px !important; }
    .header-right { margin-left: 50px !important; gap: 25px !important; }
    .header-phone, .header-address, .header-hours { font-size: 15px !important; }
    .hero h1 { font-size: 46px !important; }
    .hero-subtitle { font-size: 20px !important; }
    .section-title { font-size: 35px !important; }
    .tour-image-wide { width: 340px !important; }
    .tour-info-wide h3 { font-size: 22px !important; }
    .tour-price { font-size: 24px !important; }
    .search-title { font-size: 35px !important; }
    .calendar-title { font-size: 35px !important; }
}

/* --- 1536×864 (современный стандарт) --- */
@media (max-width: 1535px) and (min-width: 1441px) {
    .container { padding: 0 38px !important; }
    .header .container { padding: 0 38px !important; }
    .logo { margin-left: -180px !important; }
    .logo-img { height: 155px !important; }
    .logo-fallback { font-size: 60px !important; }
    .nav { gap: 18px !important; margin-left: 35px !important; }
    .nav a { font-size: 17px !important; padding: 15px 24px !important; }
    .header-right { margin-left: 60px !important; gap: 28px !important; }
    .hero h1 { font-size: 48px !important; }
    .section-title { font-size: 36px !important; }
    .tour-image-wide { width: 360px !important; }
    .tour-info-wide h3 { font-size: 23px !important; }
    .calendar-title { font-size: 36px !important; }
}

/* --- 1600×900 --- */
@media (max-width: 1600px) and (min-width: 1537px) {
    .container { padding: 0 40px !important; }
    .header .container { padding: 0 40px !important; }
    .logo { margin-left: -200px !important; }
    .logo-img { height: 160px !important; }
    .nav { gap: 20px !important; margin-left: 40px !important; }
    .nav a { font-size: 17px !important; padding: 15px 25px !important; }
    .header-right { margin-left: 65px !important; gap: 30px !important; }
    .tour-image-wide { width: 370px !important; }
    .calendar-title { font-size: 37px !important; }
}

/* --- 1680×1050 (WSXGA+) --- */
@media (max-width: 1680px) and (min-width: 1601px) {
    .container { padding: 0 42px !important; }
    .header .container { padding: 0 42px !important; }
    .logo { margin-left: -210px !important; }
    .logo-img { height: 165px !important; }
    .logo-fallback { font-size: 62px !important; }
    .nav { gap: 21px !important; margin-left: 42px !important; }
    .nav a { font-size: 18px !important; padding: 15px 26px !important; }
    .header-right { margin-left: 70px !important; gap: 31px !important; }
    .header-phone, .header-address, .header-hours { font-size: 16px !important; }
    .hero h1 { font-size: 50px !important; }
    .hero-subtitle { font-size: 20px !important; }
    .section-title { font-size: 37px !important; }
    .tour-image-wide { width: 380px !important; }
    .tour-info-wide h3 { font-size: 24px !important; }
    .tour-price { font-size: 26px !important; }
    .calendar-title { font-size: 37px !important; }
}

/* --- 1920×1080 (Full HD, самый популярный) --- */
@media (max-width: 1920px) and (min-width: 1681px) {
    .container { padding: 0 45px !important; }
    .header .container { padding: 0 45px !important; }
    .logo { margin-left: -220px !important; }
    .logo-img { height: 170px !important; }
    .logo-fallback { font-size: 65px !important; }
    .nav { gap: 22px !important; margin-left: 45px !important; }
    .nav a { font-size: 18px !important; padding: 16px 26px !important; }
    .header-right { margin-left: 75px !important; gap: 32px !important; }
    .header-phone, .header-address, .header-hours { font-size: 16px !important; }
    .hero h1 { font-size: 52px !important; }
    .hero-subtitle { font-size: 21px !important; }
    .section-title { font-size: 38px !important; }
    .tour-image-wide { width: 390px !important; }
    .tour-info-wide h3 { font-size: 25px !important; }
    .tour-price { font-size: 27px !important; }
    .calendar-title { font-size: 38px !important; }
}

/* ==========================================================================
   БОЛЬШИЕ ЭКРАНЫ
   ========================================================================== */

/* --- 2560×1440 (2K/QHD, игровые мониторы) --- */
@media (min-width: 2560px) and (max-width: 2559px) {
    .container { max-width: 2000px !important; padding: 0 70px !important; }
    .header .container { padding: 0 70px !important; }
    .logo-img { height: 260px !important; }
    .logo-fallback { font-size: 95px !important; }
    .nav { gap: 26px !important; }
    .nav a { font-size: 26px !important; padding: 20px 36px !important; }
    .header-phone, .header-address, .header-hours { font-size: 22px !important; }
    .hero h1 { font-size: 88px !important; }
    .hero-subtitle { font-size: 30px !important; }
    .hero-features { font-size: 22px !important; gap: 22px !important; }
    .section-title { font-size: 66px !important; }
    .tour-image-wide { width: 450px !important; }
    .tour-info-wide h3 { font-size: 38px !important; }
    .tour-price { font-size: 44px !important; }
    .btn { font-size: 20px !important; padding: 18px 44px !important; }
    .calendar-title { font-size: 44px !important; }
}

/* --- 2560×1600 (MacBook Pro 16") --- */
@media (min-width: 2560px) and (max-width: 2559px) and (min-height: 1600px) {
    .container { max-width: 2100px !important; padding: 0 75px !important; }
    .logo-img { height: 270px !important; }
    .hero h1 { font-size: 92px !important; }
}

/* --- 3440×1440 (ультраширокие) --- */
@media (min-width: 3440px) {
    .container { max-width: 2400px !important; padding: 0 90px !important; }
    .header .container { padding: 0 90px !important; }
    .logo-img { height: 300px !important; }
    .logo-fallback { font-size: 110px !important; }
    .nav { gap: 30px !important; }
    .nav a { font-size: 30px !important; padding: 24px 42px !important; }
    .header-phone, .header-address, .header-hours { font-size: 26px !important; }
    .hero h1 { font-size: 100px !important; }
    .hero-subtitle { font-size: 34px !important; }
    .hero-features { font-size: 26px !important; gap: 26px !important; }
    .section-title { font-size: 76px !important; }
    .tour-image-wide { width: 500px !important; }
    .tour-info-wide h3 { font-size: 44px !important; }
    .tour-price { font-size: 52px !important; }
    .btn { font-size: 24px !important; padding: 22px 52px !important; }
    .calendar-title { font-size: 52px !important; }
}

/* --- 3840×2160 (4K UHD) --- */
@media (min-width: 3840px) {
    .container { max-width: 2600px !important; padding: 0 100px !important; }
    .header .container { padding: 0 100px !important; }
    .logo-img { height: 320px !important; }
    .logo-fallback { font-size: 120px !important; }
    .nav { gap: 35px !important; }
    .nav a { font-size: 32px !important; padding: 26px 46px !important; }
    .header-phone, .header-address, .header-hours { font-size: 28px !important; }
    .hero h1 { font-size: 110px !important; }
    .hero-subtitle { font-size: 36px !important; }
    .hero-features { font-size: 28px !important; gap: 28px !important; }
    .section-title { font-size: 84px !important; }
    .tour-image-wide { width: 550px !important; }
    .tour-info-wide h3 { font-size: 48px !important; }
    .tour-price { font-size: 56px !important; }
    .btn { font-size: 26px !important; padding: 24px 56px !important; }
    .calendar-title { font-size: 56px !important; }
}

/* ==========================================================================
   РЕТРО / РЕДКИЕ УСТРОЙСТВА
   ========================================================================== */

/* --- 600×1024 (Windows планшеты) --- */
@media (max-width: 600px) and (min-width: 481px) and (min-height: 1024px) {
    .container { padding: 0 18px !important; }
    .logo-img { height: 95px !important; }
    .hero { min-height: 45vh !important; }
    .hero-title { font-size: 28px !important; }
    .section-title { font-size: 26px !important; }
    .tour-card-wide { height: 180px !important; }
    .tour-image-wide { width: 240px !important; }
}

/* --- 800×600 (старые мониторы) --- */
@media (max-width: 800px) and (max-height: 600px) and (min-width: 769px) {
    .logo-img { height: 100px !important; }
    .hero { min-height: 85vh !important; }
    .hero h1 { font-size: 32px !important; }
    .nav a { font-size: 14px !important; padding: 10px 16px !important; }
    .tour-card-wide { height: 160px !important; }
    .tour-image-wide { width: 220px !important; }
}

/* --- 1024×600 (нетбуки) --- */
@media (max-width: 1024px) and (max-height: 600px) {
    .logo-img { height: 90px !important; }
    .hero { min-height: 90vh !important; padding-top: 50px !important; }
    .hero h1 { font-size: 28px !important; }
    .hero-subtitle { font-size: 14px !important; }
    .nav a { font-size: 13px !important; padding: 9px 15px !important; }
    .section-title { font-size: 24px !important; }
    .tour-card-wide { height: 150px !important; }
    .tour-image-wide { width: 200px !important; }
    .tour-info-wide { padding: 15px 25px !important; }
    .tour-info-wide h3 { font-size: 16px !important; }
}

/* ==========================================================================
   ОПТИМИЗАЦИЯ ПО ВЫСОТЕ ЭКРАНА
   ========================================================================== */

/* --- Очень низкие экраны (до 480px высота) --- */
@media (max-height: 480px) and (min-width: 769px) {
    .hero { min-height: 95vh !important; padding-top: 40px !important; }
    .logo-img { height: 80px !important; }
    .hero h1 { font-size: 24px !important; }
    .hero-subtitle { font-size: 12px !important; }
    .hero-features { display: none !important; }
    .nav a { font-size: 12px !important; padding: 8px 14px !important; }
}

/* --- Низкие экраны (481px - 600px высота) --- */
@media (max-height: 600px) and (min-height: 481px) and (min-width: 769px) {
    .hero { min-height: 85vh !important; padding-top: 55px !important; }
    .logo-img { height: 100px !important; }
    .hero h1 { font-size: 30px !important; }
    .hero-subtitle { font-size: 14px !important; }
    .hero-features { gap: 10px !important; }
    .hero-features span { font-size: 12px !important; padding: 8px 14px !important; }
    .nav a { font-size: 13px !important; padding: 10px 16px !important; }
}

/* --- Средние экраны (601px - 768px высота) --- */
@media (max-height: 768px) and (min-height: 601px) and (min-width: 769px) {
    .hero { min-height: 80vh !important; }
    .logo-img { height: 130px !important; }
    .hero h1 { font-size: 38px !important; }
    .hero-subtitle { font-size: 17px !important; }
    .nav a { font-size: 15px !important; padding: 12px 18px !important; }
}

/* --- Высокие экраны (769px - 900px высота) --- */
@media (max-height: 900px) and (min-height: 769px) and (min-width: 769px) {
    .hero { min-height: 75vh !important; }
    .logo-img { height: 150px !important; }
    .hero h1 { font-size: 42px !important; }
}

/* --- Очень высокие экраны (901px+ высота) --- */
@media (min-height: 901px) and (min-width: 769px) {
    .hero { min-height: 70vh !important; }
    .logo-img { height: 180px !important; }
    .hero h1 { font-size: 48px !important; }
}
        gap: 15px !important;
        margin-left: 25px !important;
    }
    
    .nav a {
        font-size: 15px !important;
        padding: 12px 19px !important;
    }
    
    .hero-title {
        font-size: 36px !important;
    }
    
    .hero-subtitle {
        font-size: 19px !important;
    }
    
    .section-title {
        font-size: 29px !important;
    }
    
    .tour-info-wide h3 {
        font-size: 22px !important;
    }
    
    .tour-price {
        font-size: 24px !important;
    }
}

/* === Большие телефоны (576px - 768px) === */
@media (max-width: 768px) and (min-width: 576px) {
    body { padding-top: 65px !important; }
    .container {
        padding: 0 20px !important;
    }
    
    .logo-img {
        height: 110px !important;
    }
    
    .hero-title {
        font-size: 32px !important;
    }
    
    .hero-subtitle {
        font-size: 17px !important;
    }
    
    .hero-features {
        font-size: 14px !important;
    }
    
    .section-title {
        font-size: 26px !important;
    }
    
    .btn-large-hero {
        padding: 14px 35px !important;
        font-size: 15px !important;
    }
}

/* === Стандартные телефоны (481px - 576px) === */
@media (max-width: 576px) and (min-width: 481px) {
    body { padding-top: 60px !important; }
    .container {
        padding: 0 16px !important;
    }
    
    .logo-img {
        height: 95px !important;
    }
    
    .hero-title {
        font-size: 28px !important;
    }
    
    .hero-subtitle {
        font-size: 15px !important;
    }
    
    .section-title {
        font-size: 24px !important;
    }
    
    .search-box-modern input {
        font-size: 14px !important;
        padding: 15px 48px !important;
    }
}

/* === Маленькие телефоны (до 480px) === */
@media (max-width: 480px) {
    body { padding-top: 55px !important; }
    .container {
        padding: 0 12px !important;
    }
    
    .logo-img {
        height: 80px !important;
    }
    
    .logo-fallback {
        font-size: 45px !important;
    }
    
    .hero-title {
        font-size: 24px !important;
    }
    
    .hero-subtitle {
        font-size: 14px !important;
    }
    
    .hero-features {
        font-size: 12px !important;
        gap: 10px !important;
    }
    
    .section-title {
        font-size: 22px !important;
    }
    
    .btn {
        font-size: 13px !important;
        padding: 10px 20px !important;
    }
    
    .search-box-modern input {
        font-size: 13px !important;
        padding: 13px 42px !important;
    }
    
    .tour-info-wide h3 {
        font-size: 18px !important;
    }
    
    .tour-price {
        font-size: 18px !important;
    }
    
    .tour-badge {
        font-size: 11px !important;
        padding: 4px 10px !important;
    }
}

/* === Очень маленькие телефоны (до 375px) === */
@media (max-width: 375px) {
    body { padding-top: 50px !important; }
    .container {
        padding: 0 10px !important;
    }
    
    .logo-img {
        height: 70px !important;
    }
    
    .hero-title {
        font-size: 21px !important;
    }
    
    .hero-subtitle {
        font-size: 12px !important;
    }
    
    .section-title {
        font-size: 20px !important;
    }
    
    .btn {
        font-size: 12px !important;
        padding: 9px 16px !important;
    }
    
    .nav a {
        font-size: 13px !important;
        padding: 10px 15px !important;
    }
}

/* === Адаптация по высоте экрана === */
@media (max-height: 600px) and (min-width: 769px) {
    .hero {
        min-height: 70vh !important;
    }
    
    .header {
        padding-top: 5px !important;
    }
    
    .logo-img {
        height: 120px !important;
    }
    
    .nav a {
        padding: 10px 18px !important;
    }
}

/* === Компактные экраны ноутбуков (768px высота) === */
@media (max-height: 768px) and (min-width: 992px) {
    .hero {
        min-height: 80vh !important;
    }
    
    .logo-img {
        height: 140px !important;
    }
}

/* === Оптимизация для iPhone SE и подобных (320px) === */
@media (max-width: 320px) {
    body { padding-top: 45px !important; }
    .container {
        padding: 0 8px !important;
    }
    
    .logo-img {
        height: 60px !important;
    }
    
    .hero-title {
        font-size: 19px !important;
    }
    
    .section-title {
        font-size: 18px !important;
    }
    
    .btn {
        font-size: 11px !important;
        padding: 8px 14px !important;
    }
}

/* === Оптимизация для foldable устройств === */
@media (max-width: 800px) and (min-width: 600px) and (orientation: portrait) {
    .container {
        padding: 0 18px !important;
    }
    
    .nav {
        gap: 12px !important;
    }
    
    .nav a {
        font-size: 14px !important;
        padding: 11px 17px !important;
    }
}

/* === Плотность пикселей (Retina и высокоплотные экраны) === */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .logo-img,
    .hero-bg,
    .tour-img-full {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

/* === Режим экономии энергии === */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* === Тёмная тема системы === */
@media (prefers-color-scheme: dark) {
    /* Можно добавить поддержку тёмной темы в будущем */
}

/* === Touch-устройства === */
@media (hover: none) and (pointer: coarse) {
    /* Увеличиваем область нажатия для touch-кнопок */
    .btn,
    .nav a,
    .tour-card-wide,
    .form-input,
    .form-textarea {
        min-height: 48px !important;
    }
    
    /* Убираем hover-эффекты, заменяем на active */
    .tour-card-wide:hover {
        transform: none !important;
    }
    
    .tour-card-wide:active {
        transform: scale(0.98) !important;
    }
}

/* === Связка ширины и высоты для конкретных устройств === */

/* iPad Pro 12.9" */
@media (max-width: 1024px) and (max-height: 1194px) {
    .container {
        padding: 0 24px !important;
    }
}

/* iPad Pro 11" / iPad Air */
@media (max-width: 834px) and (max-height: 1194px) {
    .container {
        padding: 0 20px !important;
    }
}

/* iPad Mini / маленькие планшеты */
@media (max-width: 768px) and (max-height: 1024px) {
    .container {
        padding: 0 18px !important;
    }
}

/* iPhone 14 Pro Max / большие телефоны */
@media (max-width: 430px) and (max-height: 932px) {
    .container {
        padding: 0 14px !important;
    }
}

/* iPhone 14 / стандартные телефоны */
@media (max-width: 390px) and (max-height: 844px) {
    .container {
        padding: 0 12px !important;
    }
}

/* iPhone SE / маленькие телефоны */
@media (max-width: 375px) and (max-height: 667px) {
    .container {
        padding: 0 10px !important;
    }
}

/* ==========================================================================
   НОУТБУКИ: 1680×1050 (WSXGA+, MacBook Pro 15" ретро)
   ========================================================================== */
@media (max-width: 1680px) and (min-width: 1601px) {
    .container {
        padding: 0 42px !important;
    }
    
    .header .container {
        padding: 0 42px !important;
    }
    
    .logo {
        margin-left: -210px !important;
    }
    
    .logo-img {
        height: 165px !important;
    }
    
    .nav {
        gap: 21px !important;
        margin-left: 42px !important;
    }
    
    .nav a {
        font-size: 18px !important;
        padding: 16px 27px !important;
    }
    
    .header-right {
        margin-left: 70px !important;
        gap: 31px !important;
    }
    
    .hero h1 {
        font-size: 50px !important;
    }
    
    .section-title {
        font-size: 37px !important;
    }
    
    .tour-image-wide {
        width: 385px !important;
    }
    
    .calendar-title {
        font-size: 37px !important;
    }
}

/* ==========================================================================
   БОЛЬШИЕ ЭКРАНЫ
   ========================================================================== */

/* --- 2560×1440 (2K/QHD, игровые мониторы) --- */
@media (max-width: 2559px) and (min-width: 1921px) {
    .container {
        max-width: 1800px !important;
        padding: 0 60px !important;
    }
    
    .header .container {
        padding: 0 60px !important;
    }
    
    .logo {
        margin-left: -250px !important;
    }
    
    .logo-img {
        height: 220px !important;
    }
    
    .logo-fallback {
        font-size: 80px !important;
    }
    
    .nav {
        gap: 26px !important;
        margin-left: 55px !important;
    }
    
    .nav a {
        font-size: 22px !important;
        padding: 18px 32px !important;
    }
    
    .header-right {
        margin-left: 90px !important;
        gap: 38px !important;
    }
    
    .header-phone,
    .header-address,
    .header-hours {
        font-size: 19px !important;
    }
    
    .hero h1 {
        font-size: 70px !important;
    }
    
    .hero-subtitle {
        font-size: 26px !important;
    }
    
    .hero-features {
        font-size: 19px !important;
        gap: 20px !important;
    }
    
    .hero-features span {
        padding: 16px 28px !important;
    }
    
    .section-title {
        font-size: 52px !important;
    }
    
    .tour-image-wide {
        width: 420px !important;
    }
    
    .tour-info-wide h3 {
        font-size: 30px !important;
    }
    
    .tour-price {
        font-size: 32px !important;
    }
    
    .btn {
        font-size: 20px !important;
        padding: 19px 42px !important;
    }
    
    .calendar-title {
        font-size: 48px !important;
    }
}

/* --- 2560×1600 (MacBook Pro 16") --- */
@media (max-width: 2560px) and (min-width: 1921px) and (min-height: 1500px) {
    .container {
        max-width: 1900px !important;
    }
    
    .logo-img {
        height: 230px !important;
    }
    
    .nav a {
        font-size: 23px !important;
        padding: 19px 34px !important;
    }
    
    .hero h1 {
        font-size: 72px !important;
    }
    
    .section-title {
        font-size: 54px !important;
    }
}

/* --- 3440×1440 (ультраширокие мониторы 21:9) --- */
@media (min-width: 3440px) {
    .container {
        max-width: 2600px !important;
        padding: 0 100px !important;
    }
    
    .header .container {
        padding: 0 100px !important;
    }
    
    .logo {
        margin-left: -300px !important;
    }
    
    .logo-img {
        height: 260px !important;
    }
    
    .logo-fallback {
        font-size: 95px !important;
    }
    
    .nav {
        gap: 30px !important;
        margin-left: 70px !important;
    }
    
    .nav a {
        font-size: 26px !important;
        padding: 21px 36px !important;
    }
    
    .header-right {
        margin-left: 120px !important;
        gap: 45px !important;
    }
    
    .header-phone,
    .header-address,
    .header-hours {
        font-size: 22px !important;
    }
    
    .hero h1 {
        font-size: 85px !important;
    }
    
    .hero-subtitle {
        font-size: 30px !important;
    }
    
    .hero-features {
        font-size: 22px !important;
        gap: 22px !important;
    }
    
    .section-title {
        font-size: 64px !important;
    }
    
    .tour-image-wide {
        width: 480px !important;
    }
    
    .tour-info-wide h3 {
        font-size: 36px !important;
    }
    
    .tour-price {
        font-size: 40px !important;
    }
    
    .btn {
        font-size: 22px !important;
        padding: 22px 50px !important;
    }
    
    .calendar-title {
        font-size: 56px !important;
    }
}

/* --- 3840×2160 (4K UHD) --- */
@media (min-width: 3840px) {
    .container {
        max-width: 3200px !important;
        padding: 0 120px !important;
    }
    
    .header .container {
        padding: 0 120px !important;
    }
    
    .logo {
        margin-left: -350px !important;
    }
    
    .logo-img {
        height: 300px !important;
    }
    
    .logo-fallback {
        font-size: 110px !important;
    }
    
    .nav {
        gap: 35px !important;
        margin-left: 80px !important;
    }
    
    .nav a {
        font-size: 30px !important;
        padding: 24px 42px !important;
    }
    
    .header-right {
        margin-left: 150px !important;
        gap: 55px !important;
    }
    
    .header-phone,
    .header-address,
    .header-hours {
        font-size: 26px !important;
    }
    
    .hero h1 {
        font-size: 100px !important;
    }
    
    .hero-subtitle {
        font-size: 36px !important;
    }
    
    .hero-features {
        font-size: 26px !important;
        gap: 26px !important;
    }
    
    .section-title {
        font-size: 76px !important;
    }
    
    .tour-image-wide {
        width: 550px !important;
    }
    
    .tour-info-wide h3 {
        font-size: 42px !important;
    }
    
    .tour-price {
        font-size: 48px !important;
    }
    
    .btn {
        font-size: 26px !important;
        padding: 26px 58px !important;
    }
    
    .calendar-title {
        font-size: 64px !important;
    }
}

/* ==========================================================================
   РЕТРО / РЕДКИЕ УСТРОЙСТВА
   ========================================================================== */

/* --- 600×1024 (Windows планшеты, старые нетбуки) --- */
@media (max-width: 600px) and (min-height: 900px) and (orientation: portrait) {
    .container {
        padding: 0 16px !important;
    }
    
    .logo-img {
        height: 85px !important;
    }
    
    .hero-title {
        font-size: 26px !important;
    }
    
    .section-title {
        font-size: 24px !important;
    }
    
    .tour-card-wide {
        height: 180px !important;
    }
    
    .tour-image-wide {
        width: 240px !important;
    }
    
    .nav a {
        font-size: 13px !important;
        padding: 10px 16px !important;
    }
}

/* ==========================================================================
   ОПТИМИЗАЦИЯ ПО ВЫСОТЕ ЭКРАНА
   ========================================================================== */

/* --- Низкие экраны (нетбуки, старые ноутбуки < 600px высота) --- */
@media (max-height: 600px) and (min-width: 769px) {
    .hero {
        min-height: 65vh !important;
        padding-top: 50px !important;
    }
    
    .header {
        padding-top: 3px !important;
        padding-bottom: 3px !important;
    }
    
    .logo-img {
        height: 100px !important;
    }
    
    .nav a {
        padding: 9px 16px !important;
        font-size: 14px !important;
    }
    
    .hero h1 {
        font-size: 32px !important;
    }
    
    .hero-subtitle {
        font-size: 16px !important;
    }
    
    .hero-features {
        gap: 10px !important;
        margin-bottom: 25px !important;
    }
    
    .hero-features span {
        padding: 8px 14px !important;
        font-size: 13px !important;
    }
    
    section {
        padding: 40px 0 !important;
    }
}

/* --- Средние экраны (ноутбуки 600-768px высота) --- */
@media (max-height: 768px) and (min-height: 601px) and (min-width: 992px) {
    .hero {
        min-height: 75vh !important;
    }
    
    .logo-img {
        height: 130px !important;
    }
    
    .nav a {
        padding: 12px 20px !important;
    }
    
    section {
        padding: 60px 0 !important;
    }
    
    .hero h1 {
        font-size: 42px !important;
    }
}

/* --- Высокие экраны (ноутбуки 900px+ высота) --- */
@media (min-height: 900px) and (min-width: 1280px) {
    .hero {
        min-height: 85vh !important;
    }
    
    section {
        padding: 100px 0 !important;
    }
    
    .tours {
        padding: 120px 0 !important;
    }
}

/* --- Очень высокие экраны (мониторы 1080px+ высота) --- */
@media (min-height: 1080px) and (min-width: 1920px) {
    .hero {
        min-height: 90vh !important;
    }
    
    .hero h1 {
        font-size: 80px !important;
    }
    
    section {
        padding: 120px 0 !important;
    }
}

/* ==========================================================================
   ОРИЕНТАЦИЯ ЭКРАНА
   ========================================================================== */

/* --- Портретная ориентация на планшетах --- */
@media (orientation: portrait) and (min-width: 768px) and (max-width: 1024px) {
    .hero {
        min-height: 50vh !important;
    }
    
    .tour-card-wide {
        height: 200px !important;
    }
    
    .tour-image-wide {
        width: 280px !important;
    }
}

/* --- Альбомная ориентация на планшетах --- */
@media (orientation: landscape) and (min-width: 1024px) and (max-width: 1366px) {
    .hero {
        min-height: 75vh !important;
    }
    
    .tour-card-wide {
        height: 210px !important;
    }
    
    .tour-image-wide {
        width: 320px !important;
    }
}

/* ==========================================================================
   СПЕЦИАЛЬНЫЕ РЕЖИМЫ
   ========================================================================== */

/* --- Печать --- */
@media print {
    .header,
    .mobile-menu-btn,
    .hero-bg,
    .hero-particles,
    .hero-gradient-overlay,
    .hero::before,
    .hero::after,
    .footer-modern,
    .max-subscribe-banner,
    .vk-subscribe-banner,
    .modal-overlay,
    .search-section,
    .map-section,
    .how-to-reach,
    .callback-form,
    .request-section,
    .contact-cta {
        display: none !important;
    }
    
    body {
        padding-top: 0 !important;
        background: white !important;
        color: black !important;
    }
    
    .container {
        max-width: 100% !important;
        padding: 0 20px !important;
    }
    
    .tour-card-wide {
        break-inside: avoid;
        box-shadow: none !important;
        border: 1px solid #ddd !important;
        page-break-inside: avoid;
    }
    
    .tour-image-wide {
        width: 200px !important;
    }
    
    a {
        text-decoration: none !important;
        color: black !important;
    }
    
    .section-title {
        font-size: 24px !important;
        margin-bottom: 20px !important;
    }
}
