/* === RESPONSIVE — HOLIDAYTOUR === */

@media (max-width: 1200px) {
    .ht-footer__grid { grid-template-columns: repeat(3, 1fr); }
    .ht-tours__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 1024px) {
    .ht-header__nav { display: none !important; }
    .ht-hamburger { display: flex !important; }
    .ht-header__cta { padding: 8px 16px; font-size: .75rem; }

    .ht-types__grid { grid-template-columns: repeat(2, 1fr); }
    .ht-why__grid { grid-template-columns: repeat(2, 1fr); }
    .ht-catalog { grid-template-columns: 1fr; }

    .ht-newsletter__content { flex-direction: column; gap: 32px; text-align: center; }
    .ht-newsletter__form { width: 100%; max-width: 500px; margin: 0 auto; }
}

@media (max-width: 768px) {
    :root { --header-height: 56px; --promo-height: 32px; }
    .section { padding: 50px 0; }
    .container { padding: 0 16px; }

    /* Promo bar */
    .ht-promo { font-size: .7rem; padding: 6px 12px; }

    /* Header */
    .ht-header { padding: 0 12px; }
    .ht-header__logo img { height: 40px !important; width: 40px !important; }
    .ht-header__logo-text { font-size: 1rem; }
    .ht-header__logo-slogan { font-size: .65rem; }
    .ht-header__logo { gap: 8px; }
    .ht-header__cta { display: none; }
    .ht-header__icon-btn { width: 34px; height: 34px; }
    .ht-header__actions { gap: 8px; }

    /* Hero */
    .ht-hero { min-height: 100vh; min-height: 100dvh; }
    .ht-hero__title { font-size: clamp(2rem, 9vw, 3.5rem) !important; }
    .ht-hero__desc { font-size: 1rem; margin-bottom: 28px; }
    .ht-hero__content { padding: 0 16px; }

    /* Hero search */
    .ht-hero__search {
        flex-direction: column;
        padding: 16px;
        border-radius: 16px;
        gap: 0;
    }
    .ht-hero__search-divider { display: none; }
    .ht-hero__search-field {
        width: 100%;
        padding: 12px 14px;
        border-bottom: 1px solid rgba(82,183,136,.15);
    }
    .ht-hero__search-field:last-of-type { border-bottom: none; }
    .ht-hero__search-btn {
        width: 100%;
        justify-content: center;
        border-radius: 12px;
        margin-top: 8px;
        padding: 14px;
    }

    /* Destinations */
    .ht-destinations__grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .ht-destination-card { height: 180px; }
    .ht-destination-card__name { font-size: 1.05rem; }

    /* Tour types */
    .ht-types__grid { grid-template-columns: 1fr 1fr; gap: 12px; }
    .ht-type-card { padding: 28px 16px; }
    .ht-type-card__icon { font-size: 2rem; }

    /* Tours grid */
    .ht-tours__grid { grid-template-columns: 1fr; gap: 20px; }

    /* Stats */
    .ht-stats { grid-template-columns: repeat(2, 1fr); gap: 16px; }
    .ht-stat__number { font-size: 2rem; }

    /* Why us */
    .ht-why__grid { grid-template-columns: 1fr 1fr; gap: 16px; }
    .ht-why__item { padding: 20px 12px; }
    .ht-why__icon { width: 60px; height: 60px; font-size: 1.5rem; }

    /* Trust */
    .ht-trust__grid { grid-template-columns: 1fr; gap: 16px; }
    .ht-trust__card { padding: 28px 20px; }

    /* Testimonials */
    .ht-testimonial__card { padding: 24px; }
    .ht-testimonial__text { font-size: 1rem; }

    /* Newsletter */
    .ht-newsletter__form { flex-direction: column; }
    .ht-newsletter__btn { width: 100%; text-align: center; }
    .ht-newsletter__content { text-align: center; }

    /* Blog */
    .ht-blog__grid { grid-template-columns: 1fr; gap: 20px; }

    /* Featured tabs */
    .ht-featured__tabs { overflow-x: auto; flex-wrap: nowrap; padding-bottom: 8px; -webkit-overflow-scrolling: touch; }
    .ht-featured__tab { white-space: nowrap; flex-shrink: 0; }

    /* Footer */
    .ht-footer__grid { grid-template-columns: 1fr 1fr; gap: 28px; }
    .ht-footer__brand { grid-column: 1 / -1; }
    .ht-footer__logo-img { height: 45px !important; }
    .ht-footer__logo-name { font-size: 1.3rem; }
    .ht-footer__bottom { flex-direction: column; gap: 10px; text-align: center; }

    /* Section headers */
    .section-header .heading-lg { font-size: 1.6rem; }
    .section-header p { font-size: .9rem; }
    .label { font-size: .65rem; }

    /* AI Chat */
    .ht-ai-chat { width: calc(100% - 24px); right: 12px; bottom: 90px; max-height: 70vh; }
    .ht-chat-btn { width: 56px; height: 56px; bottom: 16px; right: 16px; }
    .ht-chat-btn img { width: 56px !important; height: 56px !important; }

    /* Tours strip */
    .ht-tours-strip { padding: 20px 0; }
    .ht-tours-strip__inner { flex-direction: column; align-items: flex-start; gap: 12px; }
    .ht-tours-strip__title { font-size: 1.3rem; }
    .ht-tours-strip__icon { font-size: 1.4rem; }
    .ht-tours-strip__count { font-size: .8rem; padding: 6px 16px; }

    /* Inner hero */
    .ht-inner-hero { padding: 18px 0; }
    .ht-inner-hero__title { font-size: 1.2rem; }
    .ht-inner-hero .ht-breadcrumb { font-size: .75rem; }

    /* Catalog */
    .ht-catalog { grid-template-columns: 1fr !important; padding: 30px 0 60px; }
    .ht-catalog__results-bar { flex-direction: column; gap: 12px; align-items: flex-start; }
    .ht-filters { position: relative; border-radius: var(--radius); margin-bottom: 20px; }

    /* Filters as bottom sheet on mobile */
    .ht-filters {
        position: fixed;
        bottom: -100%;
        left: 0;
        right: 0;
        z-index: 9998;
        border-radius: 20px 20px 0 0;
        max-height: 80vh;
        overflow-y: auto;
        transition: bottom .4s ease;
        box-shadow: 0 -10px 40px rgba(0,0,0,.2);
    }
    .ht-filters.open { bottom: 0; }
    .ht-filter-toggle {
        display: flex;
        position: sticky;
        bottom: 16px;
        left: 50%;
        transform: translateX(-50%);
        z-index: 100;
    }
}

@media (max-width: 480px) {
    .heading-xl { font-size: 1.8rem; }
    .heading-lg { font-size: 1.4rem; }

    .ht-hero__title { font-size: clamp(1.8rem, 10vw, 2.8rem) !important; }
    .ht-hero__subtitle { font-size: .85rem; letter-spacing: 1px; }

    .ht-destinations__grid { grid-template-columns: 1fr 1fr; gap: 8px; }
    .ht-destination-card { height: 150px; }

    .ht-types__grid { grid-template-columns: 1fr; }
    .ht-why__grid { grid-template-columns: 1fr; }

    .ht-footer__grid { grid-template-columns: 1fr; }

    .ht-tour-card__footer { flex-direction: column; align-items: flex-start; gap: 12px; }
    .ht-tour-card__cta { width: 100%; text-align: center; }
    .ht-tour-card__image { height: 200px; }

    .btn { padding: 12px 24px; font-size: .85rem; }

    .ht-stats { grid-template-columns: 1fr 1fr; gap: 12px; padding: 40px 0; }
    .ht-stat__number { font-size: 1.8rem; }
}

/* Hide filter toggle on desktop */
@media (min-width: 769px) {
    .ht-filter-toggle { display: none; }
}
