/* ============================================
   DESKTOP UNIFIED SYSTEM - PC SCREENS ONLY
   Unified proportional scaling for 1024px to 4K
   Single source of truth for desktop layouts
   ============================================ */

/* ============================================
   CORE DESKTOP VARIABLES - Tiered by Resolution
   ============================================ */

/* Small Desktop: 1024px - 1279px */
@media (min-width: 1024px) and (max-width: 1279px) {
    :root {
        /* Контейнер занимает 92% экрана, оставляя 4% по бокам */
        --desktop-container: 92%;
        --desktop-padding: 1.25rem;
        --desktop-gap: 1rem;

        /* Unified Section Spacing */
        --section-padding-y: 2rem;
        --section-margin-y: 1.5rem;

        /* Typography Scale */
        --title-scale: 1.6rem;
        --subtitle-scale: 0.9rem;
        --body-scale: 0.875rem;
        --small-scale: 0.75rem;

        /* Card System */
        --card-gap: 0.875rem;
        --card-padding: 1rem;
        --card-radius: 0.75rem;
    }
}

/* Medium Desktop: 1280px - 1599px */
@media (min-width: 1280px) and (max-width: 1599px) {
    :root {
        /* Контейнер занимает 88% экрана */
        --desktop-container: 88%;
        --desktop-padding: 1.5rem;
        --desktop-gap: 1.25rem;

        /* Unified Section Spacing */
        --section-padding-y: 2.5rem;
        --section-margin-y: 2rem;

        /* Typography Scale */
        --title-scale: 1.8rem;
        --subtitle-scale: 1rem;
        --body-scale: 0.95rem;
        --small-scale: 0.8rem;

        /* Card System */
        --card-gap: 1.25rem;
        --card-padding: 1.25rem;
        --card-radius: 1rem;
    }
}

/* Large Desktop: 1600px+ */
@media (min-width: 1600px) {
    :root {
        /* Контейнер занимает 85% но не более 1800px */
        --desktop-container: min(85%, 1800px);
        --desktop-padding: 2rem;
        --desktop-gap: 1.5rem;

        /* Unified Section Spacing */
        --section-padding-y: 3rem;
        --section-margin-y: 2.5rem;

        /* Typography Scale */
        --title-scale: 2rem;
        --subtitle-scale: 1.1rem;
        --body-scale: 1rem;
        --small-scale: 0.85rem;

        /* Card System */
        --card-gap: 1.5rem;
        --card-padding: 1.5rem;
        --card-radius: 1.25rem;
    }
}

/* ============================================
   UNIFIED CONTAINER SYSTEM
   Same proportions across all PC screens
   ============================================ */
@media (min-width: 1024px) {

    /* Global container normalization */
    .container,
    .nav-container,
    .news-container,
    .tours-container,
    .services-container,
    .rental-container,
    .promo-banners-section .container,
    .hero .container,
    .footer-content {
        max-width: var(--desktop-container) !important;
        margin-left: auto !important;
        margin-right: auto !important;
        padding-left: var(--desktop-padding) !important;
        padding-right: var(--desktop-padding) !important;
        width: 100% !important;
    }

    /* Section unified spacing */
    .section {
        padding-top: var(--section-padding-y) !important;
        padding-bottom: var(--section-padding-y) !important;
    }
}

/* ============================================
   HEADER - Unified Desktop Scale
   ============================================ */
@media (min-width: 1024px) {
    .header {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 1030;
        background: rgba(255, 255, 255, 0.98);
        -webkit-backdrop-filter: blur(10px);
        backdrop-filter: blur(10px);
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    }

    .nav-container {
        height: clamp(58px, 6vh, 80px) !important;
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        /* Расширяем контейнер и уменьшаем отступы чтобы кнопки не обрезались */
        max-width: clamp(960px, 95vw, 1900px) !important;
        padding-left: clamp(0.75rem, 1.2vw, 1.5rem) !important;
        padding-right: clamp(0.75rem, 1.2vw, 1.5rem) !important;
        margin-left: auto !important;
        margin-right: auto !important;
        width: 100% !important;
    }

    .logo {
        font-size: clamp(1.1rem, 1.3vw, 1.5rem);
    }

    .logo-text {
        font-size: clamp(1.1rem, 1.3vw, 1.5rem) !important;
    }

    .nav-menu {
        display: flex;
        align-items: center;
        justify-content: space-evenly !important;
        gap: 0 !important;
        margin-left: clamp(1rem, 2vw, 3rem) !important;
    }

    .nav-link {
        font-size: clamp(0.7rem, 0.8vw, 0.9rem) !important;
        padding: clamp(0.25rem, 0.4vw, 0.5rem) clamp(0.4rem, 0.6vw, 1rem) !important;
        white-space: nowrap;
        font-weight: 500;
    }

    .nav-actions {
        display: flex;
        align-items: center;
        gap: clamp(0.4rem, 0.7vw, 1rem) !important;
    }

    .lang-btn {
        padding: clamp(0.2rem, 0.35vw, 0.4rem) clamp(0.35rem, 0.6vw, 0.75rem) !important;
        font-size: clamp(0.6rem, 0.7vw, 0.8rem) !important;
    }

    .country-select {
        min-width: clamp(90px, 9vw, 150px) !important;
        padding: clamp(0.25rem, 0.4vw, 0.4rem) clamp(0.4rem, 0.6vw, 0.8rem) !important;
        font-size: clamp(0.6rem, 0.7vw, 0.8rem) !important;
    }

    .btn-sm {
        padding: clamp(0.2rem, 0.3vw, 0.4rem) clamp(0.4rem, 0.5vw, 0.8rem) !important;
        font-size: clamp(0.55rem, 0.6vw, 0.75rem) !important;
        max-height: 32px !important;
    }
}

/* ============================================
   HERO SECTION - Unified Proportions
   ============================================ */
@media (min-width: 1024px) {
    .hero {
        min-height: clamp(50vh, 60vh, 70vh) !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        padding-top: calc(clamp(60px, 6vh, 85px) + clamp(2rem, 4vw, 4rem)) !important;
        padding-bottom: clamp(1.5rem, 3vw, 3rem) !important;
        /* Симметричные отступы слева и справа */
        padding-left: clamp(2rem, 5vw, 8rem) !important;
        padding-right: clamp(2rem, 5vw, 8rem) !important;
        text-align: center !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .hero-content {
        /* Используем flexbox для идеальной центровки */
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        max-width: clamp(800px, 80vw, 1400px) !important;
        width: 100% !important;
        margin-left: auto !important;
        margin-right: auto !important;
        text-align: center !important;
    }

    .hero-title {
        /* Уменьшен max для размещения в одну строку на 2K */
        font-size: clamp(1.5rem, 2.2vw, 2.4rem) !important;
        font-weight: 800 !important;
        line-height: 1.15 !important;
        letter-spacing: -0.02em !important;
        margin-bottom: clamp(0.5rem, 1vw, 1.2rem) !important;
        color: var(--color-dark) !important;
        /* Центровка + одна строка */
        text-align: center !important;
        width: fit-content !important;
        display: block !important;
        margin-left: auto !important;
        margin-right: auto !important;
        white-space: nowrap !important;
    }

    .hero-subtitle {
        /* Пропорционально уменьшен */
        font-size: clamp(0.55rem, 0.7vw, 0.85rem) !important;
        line-height: 1.4 !important;
        color: rgba(0, 0, 0, 0.5) !important;
        margin-bottom: clamp(1.2rem, 2.5vw, 3rem) !important;
        /* Без ограничения ширины для одной строки */
        max-width: none !important;
        width: fit-content !important;
        display: block !important;
        margin-left: auto !important;
        margin-right: auto !important;
        text-align: center !important;
        white-space: nowrap !important;
    }

    /* Search Box - compact wrapper, taller input, smaller button */
    .hero-search {
        width: 100% !important;
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        /* ~35% less height: reduced margin */
        margin: 0 auto clamp(0.9rem, 1.8vw, 2.2rem) !important;
    }

    .search-box {
        width: 100% !important;
        max-width: clamp(516px, 65.52vw, 1123px) !important;
        /* Wrapper ~30–40% smaller: minimal padding */
        padding: 2px 2px 2px clamp(0.5rem, 1vw, 1rem) !important;
        border-radius: clamp(20px, 2.2vw, 28px) !important;
        box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.12) !important;
        margin-left: auto !important;
        margin-right: auto !important;
        align-items: center !important;
    }

    /* Input field ~3x taller by min-height */
    .search-input {
        font-size: clamp(0.85rem, 1vw, 1.1rem) !important;
        min-height: 3em !important;
        padding: 0.35em 0 !important;
        line-height: 1.4 !important;
    }

    /* Search button smaller */
    .search-icon-btn,
    .search-box button {
        width: clamp(28px, 2.8vw, 40px) !important;
        height: clamp(28px, 2.8vw, 40px) !important;
        min-width: clamp(28px, 2.8vw, 40px) !important;
        min-height: clamp(28px, 2.8vw, 40px) !important;
        aspect-ratio: 1 / 1 !important;
        border-radius: 50% !important;
        padding: 0 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        flex-shrink: 0 !important;
    }

    .search-icon-btn svg,
    .search-box button svg {
        width: clamp(14px, 1.4vw, 20px) !important;
        height: clamp(14px, 1.4vw, 20px) !important;
    }

    /* Stats - Unified blocks */
    .hero-stats {
        display: flex !important;
        justify-content: center !important;
        gap: clamp(0.75rem, 2vw, 3rem) !important;
        margin-top: clamp(1.5rem, 3vw, 4rem) !important;
    }

    .stat-item {
        width: clamp(110px, 14vw, 240px) !important;
        height: clamp(70px, 9vw, 140px) !important;
        padding: clamp(0.5rem, 1vw, 2rem) !important;
        border-radius: clamp(8px, 1.2vw, 24px) !important;
        background: rgba(255, 255, 255, 0.95) !important;
        -webkit-backdrop-filter: blur(20px) !important;
        backdrop-filter: blur(20px) !important;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08) !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
    }

    .stat-number {
        font-size: clamp(0.9rem, 1.4vw, 1.8rem) !important;
        font-weight: 800 !important;
        color: var(--color-primary) !important;
    }

    .stat-label {
        font-size: clamp(0.55rem, 0.75vw, 0.9rem) !important;
        font-weight: 600 !important;
        color: var(--color-dark) !important;
        text-align: center !important;
    }
}

/* ============================================
   PROMO BANNERS - Unified Grid
   ============================================ */
@media (min-width: 1024px) {
    .promo-banners-section {
        padding-top: clamp(2rem, 4vw, 5rem) !important;
        padding-bottom: clamp(3rem, 6vw, 8rem) !important;
    }

    .promo-banners-grid {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: var(--card-gap) !important;
    }

    .promo-banner {
        min-height: clamp(90px, 10vw, 160px) !important;
        padding: clamp(1rem, 1.5vw, 2rem) clamp(1.25rem, 2vw, 2.5rem) !important;
        border-radius: var(--card-radius) !important;
    }

    .promo-banner-icon {
        width: clamp(48px, 5vw, 72px) !important;
        height: clamp(48px, 5vw, 72px) !important;
    }

    .promo-banner-icon svg {
        width: clamp(24px, 2.5vw, 40px) !important;
        height: clamp(24px, 2.5vw, 40px) !important;
    }

    .promo-banner-title {
        font-size: clamp(1rem, 1.3vw, 1.5rem) !important;
    }

    .promo-banner-description {
        font-size: clamp(0.75rem, 0.9vw, 1rem) !important;
    }
}

/* ============================================
   SECTION HEADERS - Unified Typography
   ============================================ */
@media (min-width: 1024px) {
    .section-header {
        margin-bottom: clamp(2rem, 4vw, 4rem) !important;
    }

    .section-title {
        font-size: clamp(1.5rem, 2.2vw, 2.5rem) !important;
        margin-bottom: clamp(0.5rem, 1vw, 1rem) !important;
    }

    .section-description {
        font-size: clamp(0.9rem, 1.1vw, 1.2rem) !important;
        max-width: clamp(500px, 50vw, 700px) !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }
}

/* ============================================
   CATEGORY GRID - Unified 4-Column Layout
   ============================================ */
@media (min-width: 1024px) {
    .category-grid {
        display: grid !important;
        grid-template-columns: repeat(4, 1fr) !important;
        gap: var(--card-gap) !important;
        width: 100% !important;
    }

    .category-card {
        min-height: clamp(220px, 18vw, 320px) !important;
        padding: clamp(0.8rem, 1.2vw, 1.5rem) !important;
        padding-bottom: 0 !important;
        border-radius: var(--card-radius) !important;
    }

    .category-icon {
        width: clamp(56px, 6vw, 100px) !important;
        height: clamp(56px, 6vw, 100px) !important;
        margin-bottom: clamp(0.75rem, 1.2vw, 1.5rem) !important;
    }

    .category-title {
        font-size: clamp(0.95rem, 1.2vw, 1.4rem) !important;
        margin-bottom: clamp(0.3rem, 0.6vw, 0.75rem) !important;
    }

    .category-description {
        font-size: clamp(0.75rem, 0.85vw, 1rem) !important;
        line-height: 1.45 !important;
    }

    .category-count {
        min-height: clamp(60px, 7vw, 100px) !important;
        padding: clamp(1rem, 1.2vw, 1.5rem) !important;
        margin: 0 clamp(-1rem, -1.5vw, -2rem) !important;
    }

    .category-count span:first-child {
        font-size: clamp(1.1rem, 1.5vw, 1.8rem) !important;
    }

    .category-count span:last-child {
        font-size: clamp(0.6rem, 0.7vw, 0.85rem) !important;
    }
}

/* ============================================
   CARDS - Unified Service & News Cards
   ============================================ */
@media (min-width: 1024px) {

    .card,
    .services-grid .card {
        min-height: clamp(300px, 22vw, 400px) !important;
        height: auto !important;
        border-radius: var(--card-radius) !important;
        overflow: hidden !important;
    }

    .card-image {
        aspect-ratio: 16 / 10 !important;
        width: 100% !important;
        object-fit: cover !important;
    }

    .card-content {
        padding: clamp(0.8rem, 1.2vw, 1.5rem) !important;
        display: flex !important;
        flex-direction: column !important;
        flex: 1 !important;
    }

    .card-title {
        font-size: clamp(0.9rem, 1.1vw, 1.3rem) !important;
        line-height: 1.35 !important;
        margin-bottom: clamp(0.4rem, 0.6vw, 0.75rem) !important;
    }

    .card-text {
        font-size: clamp(0.75rem, 0.85vw, 1rem) !important;
        line-height: 1.5 !important;
        margin-bottom: clamp(0.6rem, 1vw, 1rem) !important;
    }

    .card-footer {
        margin-top: auto !important;
        padding-top: clamp(0.5rem, 0.8vw, 1rem) !important;
    }

    .card-footer .btn {
        padding: clamp(0.5rem, 0.7vw, 0.85rem) clamp(1rem, 1.3vw, 1.5rem) !important;
        font-size: clamp(0.75rem, 0.85vw, 0.95rem) !important;
    }
}

/* ============================================
   NEWS CARDS - Homepage Version
   ============================================ */
@media (min-width: 1024px) {
    .homepage-news-card {
        min-height: clamp(300px, 22vw, 400px) !important;
    }

    .homepage-news-card .card-image-wrapper {
        height: auto !important;
        aspect-ratio: 16 / 10 !important;
    }

    .homepage-news-card .card-title {
        font-size: clamp(0.8rem, 0.95vw, 1.1rem) !important;
    }

    .homepage-news-card .card-text {
        font-size: clamp(0.7rem, 0.8vw, 0.9rem) !important;
    }

    .homepage-news-card .news-date {
        font-size: clamp(0.6rem, 0.7vw, 0.8rem) !important;
    }

    .news-category-badge {
        font-size: clamp(0.55rem, 0.65vw, 0.75rem) !important;
        padding: clamp(3px, 0.4vw, 5px) clamp(8px, 0.9vw, 12px) !important;
    }
}

/* ============================================
   SERVICES GRID - 4 Columns Unified
   ============================================ */
@media (min-width: 1024px) {
    .services-grid {
        display: grid !important;
        grid-template-columns: repeat(4, 1fr) !important;
        gap: var(--card-gap) !important;
    }
}

/* ============================================
   AI SEARCH PROMO - Unified Scale
   ============================================ */
@media (min-width: 1024px) {
    section[style*="background: var(--gradient-primary)"] h2 {
        font-size: clamp(1.5rem, 2.2vw, 2.8rem) !important;
    }

    section[style*="background: var(--gradient-primary)"] p {
        font-size: clamp(0.95rem, 1.15vw, 1.35rem) !important;
    }

    section[style*="background: var(--gradient-primary)"] .btn-lg {
        padding: clamp(0.75rem, 1vw, 1.25rem) clamp(1.5rem, 2vw, 2.5rem) !important;
        font-size: clamp(0.85rem, 1vw, 1.15rem) !important;
    }
}

/* ============================================
   FOOTER - Unified Desktop Layout
   ============================================ */
@media (min-width: 1024px) {
    .footer {
        padding-top: clamp(2rem, 4vw, 4rem) !important;
        padding-bottom: clamp(1rem, 2vw, 2rem) !important;
        margin-top: clamp(3rem, 5vw, 6rem) !important;
    }

    .footer-content {
        display: grid !important;
        grid-template-columns: repeat(4, 1fr) !important;
        gap: clamp(1.5rem, 3vw, 4rem) !important;
    }

    .footer-section h4 {
        font-size: clamp(0.85rem, 1vw, 1.1rem) !important;
        margin-bottom: clamp(0.5rem, 0.8vw, 1rem) !important;
    }

    .footer-links a,
    .footer p {
        font-size: clamp(0.75rem, 0.85vw, 0.95rem) !important;
    }

    .footer-bottom {
        font-size: clamp(0.7rem, 0.8vw, 0.9rem) !important;
        padding-top: clamp(0.75rem, 1.2vw, 1.5rem) !important;
    }
}

/* ============================================
   AI WIDGET - Bottom right, 150px from bottom
   ============================================ */
@media (min-width: 1024px) {
    .ai-guide-widget {
        position: fixed !important;
        bottom: 150px !important;
        top: auto !important;
        transform: none !important;
        right: 24px !important;
    }

    .ai-guide-button {
        width: clamp(48px, 4.5vw, 65px) !important;
        height: clamp(48px, 4.5vw, 65px) !important;
    }

    .ai-guide-chat {
        position: fixed !important;
        top: auto !important;
        bottom: clamp(100px, 12vh, 150px) !important;
        transform: translateX(0) !important;
        width: 28rem !important;
        height: 38rem !important;
        right: 24px !important;
    }
}

/* Chat compact for large screens (1920px+) */
@media (min-width: 1920px) {
    .ai-guide-chat {
        width: 30rem !important;
        height: 40rem !important;
        max-height: calc(95vh - 80px) !important;
        right: 80px !important;
        top: 50% !important;
        bottom: auto !important;
        transform: translateY(-50%) !important;
    }

    .ai-guide-chat.open {
        transform: translateY(-50%) translateX(0) !important;
    }
}

/* ============================================
   FILTER & TABS - Unified
   ============================================ */
@media (min-width: 1024px) {
    .category-tabs-container {
        max-width: var(--desktop-container) !important;
        padding: clamp(0.5rem, 0.8vw, 1rem) var(--desktop-padding) !important;
    }

    .category-tab {
        font-size: clamp(0.7rem, 0.8vw, 0.9rem) !important;
        padding: clamp(0.3rem, 0.4vw, 0.5rem) clamp(0.6rem, 0.8vw, 1rem) !important;
        gap: clamp(0.2rem, 0.3vw, 0.4rem) !important;
    }

    .category-tab .count {
        font-size: clamp(0.6rem, 0.7vw, 0.8rem) !important;
    }

    .filter-bar {
        padding: clamp(0.75rem, 1vw, 1.25rem) clamp(1rem, 1.5vw, 2rem) !important;
        gap: clamp(0.75rem, 1.2vw, 1.5rem) !important;
        border-radius: var(--card-radius) !important;
    }

    .filter-group label {
        font-size: clamp(0.7rem, 0.8vw, 0.9rem) !important;
    }

    .filter-select {
        height: clamp(32px, 3vw, 40px) !important;
        font-size: clamp(0.7rem, 0.8vw, 0.9rem) !important;
        padding: 0 clamp(0.5rem, 0.8vw, 1rem) !important;
    }
}

/* ============================================
   BREADCRUMBS - Unified
   ============================================ */
@media (min-width: 1024px) {
    .breadcrumbs {
        font-size: clamp(0.7rem, 0.8vw, 0.9rem) !important;
        padding: clamp(0.5rem, 0.8vw, 1rem) 0 !important;
    }
}

/* ============================================
   BUTTONS - Unified Scale
   ============================================ */
@media (min-width: 1024px) {
    .btn {
        padding: clamp(0.6rem, 0.8vw, 1rem) clamp(1.2rem, 1.5vw, 2rem) !important;
        font-size: clamp(0.8rem, 0.9vw, 1rem) !important;
        border-radius: clamp(0.5rem, 0.7vw, 0.85rem) !important;
    }

    .btn-lg {
        padding: clamp(0.85rem, 1.1vw, 1.3rem) clamp(1.75rem, 2.2vw, 2.8rem) !important;
        font-size: clamp(0.9rem, 1vw, 1.15rem) !important;
    }
}

/* ============================================
   FORM CONTROLS - Unified
   ============================================ */
@media (min-width: 1024px) {

    input.form-control,
    select.form-control,
    textarea.form-control {
        padding: clamp(0.75rem, 1vw, 1.25rem) clamp(1rem, 1.2vw, 1.5rem) !important;
        font-size: clamp(0.85rem, 0.95vw, 1.1rem) !important;
        min-height: clamp(44px, 4vw, 56px) !important;
        border-radius: clamp(0.5rem, 0.7vw, 0.85rem) !important;
    }
}

/* ============================================
   PAGINATION - Unified
   ============================================ */
@media (min-width: 1024px) {
    .pagination-compact {
        gap: clamp(4px, 0.5vw, 8px) !important;
    }

    .pagination-compact .btn {
        min-width: clamp(34px, 3vw, 42px) !important;
        height: clamp(34px, 3vw, 42px) !important;
        font-size: clamp(0.75rem, 0.85vw, 0.95rem) !important;
    }
}

/* ============================================
   AUTH PAGES - Unified
   ============================================ */
@media (min-width: 1024px) {
    .auth-container {
        padding-top: clamp(3rem, 5vw, 5rem) !important;
    }

    .auth-card {
        max-width: clamp(380px, 30vw, 500px) !important;
        padding: clamp(2rem, 3vw, 3.5rem) !important;
    }

    .auth-header h1 {
        font-size: clamp(1.5rem, 2vw, 2.5rem) !important;
    }
}

/* ============================================
   PROFILE PAGES - Unified
   ============================================ */
@media (min-width: 1024px) {
    .profile-container {
        max-width: var(--desktop-container) !important;
        padding-top: clamp(5rem, 8vw, 7rem) !important;
    }

    .profile-layout {
        grid-template-columns: clamp(220px, 18vw, 320px) 1fr !important;
        gap: clamp(1.5rem, 3vw, 3rem) !important;
    }

    .avatar-circle {
        width: clamp(70px, 7vw, 100px) !important;
        height: clamp(70px, 7vw, 100px) !important;
        font-size: clamp(1.5rem, 2vw, 2.5rem) !important;
    }
}

/* ============================================
   FORCE OVERRIDES - Ensure Consistency
   These use higher specificity to override
   conflicting rules from other CSS files
   ============================================ */
@media (min-width: 1024px) {

    /* Container width consistency */
    body .container,
    body .nav-container,
    body .news-container,
    body .tours-container {
        max-width: var(--desktop-container) !important;
    }

    /* Grid consistency */
    body .category-grid,
    body .services-grid {
        grid-template-columns: repeat(4, 1fr) !important;
        gap: var(--card-gap) !important;
    }

    /* Note: hero-title, hero-subtitle, stat-item, search-box, promo-banner
       are now controlled by clamp() values defined above */
}

/* ============================================
   PRINT OPTIMIZATION
   ============================================ */
@media print {
    .hero {
        min-height: 0 !important;
        padding: 2rem !important;
    }

    .ai-guide-widget {
        display: none !important;
    }
}