/* Sanchar Yatra frontend. Layout follows the sy-landing design mockup. */

:root {
    /* Brand colours taken from the Sanchar Yatra logo */
    --brand: #ff7411;         /* logo orange: accents, icons, highlights */
    --brand-strong: #c24e08;  /* deeper orange: solid buttons + links (4.8:1 with white) */
    --brand-ink: #3c3c3c;     /* logo charcoal: header text, dark bands */
    --brand-soft: #fff1e6;    /* tinted surfaces */
    --orange: var(--brand-strong);
    --orange-bright: var(--brand);
    --ink: #1c2226;
    --ink-soft: #4a5257;
    --muted: #6b7378;
    --surface: #f6f5f5;
    --surface-card: #ededed;
    --surface-alt: #e4e4e4;
    --panel: #474747;
    --footer: #262b2b;
    --line: #d9d9d9;
    --white: #fdfdfd;

    --font-display: 'Playfair Display', Georgia, serif;
    --font-body: 'Open Sans', 'Segoe UI', system-ui, sans-serif;

    --radius-sm: 10px;
    --radius: 16px;
    --radius-lg: 28px;
    --radius-pill: 999px;
    --shadow: 0 10px 30px rgba(38, 43, 43, 0.12);
    --shadow-sm: 0 3px 10px rgba(38, 43, 43, 0.08);
    --ease: cubic-bezier(0.16, 1, 0.3, 1);

    --container: 1280px;
    --gutter: clamp(16px, 4vw, 40px);
    --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }

body {
    margin: 0;
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--ink);
    background: var(--surface);
    -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; cursor: pointer; }

.container {
    width: 100%;
    max-width: var(--container);
    margin-inline: auto;
    padding-inline: var(--gutter);
}

.sr-only {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

.skip-link {
    position: absolute; left: 16px; top: -48px; z-index: 100;
    padding: 8px 14px; border-radius: var(--radius-sm);
    background: var(--ink); color: var(--white); text-decoration: none;
}
.skip-link:focus { top: 12px; }

:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    min-height: 40px; padding: 8px 22px;
    border: 1.5px solid transparent; border-radius: var(--radius-pill);
    font-weight: 600; font-style: italic; line-height: 1.2;
    text-decoration: none; white-space: nowrap;
    transition: transform .2s var(--ease), background-color .2s, color .2s, box-shadow .2s;
}
.btn:active { transform: translateY(1px) scale(0.98); }

.btn-outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-outline:hover { background: var(--ink); color: var(--white); }

.btn-accent { background: var(--orange); color: var(--white); }
.btn-accent:hover { background: #a84306; }

.btn-ghost {
    min-height: 48px; padding: 10px 36px; font-size: 1.125rem; font-weight: 400;
    border-color: var(--ink); color: var(--ink); background: var(--surface);
}
.btn-ghost:hover { background: var(--ink); color: var(--white); }

/* ---------- Header ---------- */
.site-header {
    position: sticky; top: 0; z-index: 50;
    background: var(--white);
    border-bottom: 1px solid #ececec;
    box-shadow: 0 2px 14px rgba(60, 60, 60, 0.08);
}
.header-inner {
    display: flex; align-items: center; justify-content: space-between; gap: 24px;
    min-height: var(--header-h);
}
.brand { display: inline-flex; align-items: center; text-decoration: none; flex-shrink: 0; }
.brand-logo { height: 56px; width: auto; }
.brand-text { font-family: var(--font-display); font-style: italic; font-weight: 700; font-size: 1.6rem; color: var(--ink); }

.site-nav { display: flex; align-items: center; gap: 32px; flex: 1; justify-content: flex-end; }
.nav-links { display: flex; align-items: center; gap: 8px; }
.nav-link {
    display: block; padding: 8px 16px; border-radius: var(--radius-sm);
    color: var(--ink); text-decoration: none; font-size: 1.05rem;
    transition: background-color .2s;
}
.nav-link:hover { background: var(--surface); }
.nav-link.is-active { background: var(--brand-soft); color: var(--brand-strong); font-weight: 700; }
.nav-actions { display: flex; align-items: center; gap: 14px; }

.nav-toggle {
    display: none; width: 44px; height: 44px; border-radius: var(--radius-sm);
    border: 0; background: var(--surface); color: var(--brand-ink); font-size: 1.25rem;
}

/* ---------- Hero ---------- */
.hero { padding-top: 0; }
.hero-media {
    position: relative; isolation: isolate; overflow: hidden;
    min-height: clamp(420px, 62vh, 560px);
    margin-top: -1px;
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
    display: flex; align-items: flex-start; justify-content: center;
    padding: clamp(40px, 7vh, 72px) 24px 140px;
    text-align: center; color: var(--white);
}
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero-media::after {
    content: ""; position: absolute; inset: 0; z-index: -1;
    background: linear-gradient(180deg, rgba(10, 30, 40, 0.55) 0%, rgba(10, 30, 40, 0.35) 55%, rgba(10, 30, 40, 0.5) 100%);
}
.hero-title {
    font-family: var(--font-display); font-style: italic; font-weight: 700;
    font-size: clamp(2.1rem, 5.2vw, 4rem); line-height: 1.18; padding-bottom: 4px;
    text-shadow: 0 2px 18px rgba(0, 0, 0, 0.25);
}
.hero-title em { color: var(--orange-bright); }
.hero-sub {
    max-width: 44ch; margin: 20px auto 0;
    font-family: var(--font-display); font-weight: 600; font-size: clamp(1rem, 1.6vw, 1.15rem); line-height: 1.5;
}

/* ---------- Search ---------- */
.search {
    position: relative; z-index: 2;
    max-width: 1080px; margin: -120px auto 0;
    box-shadow: var(--shadow); border-radius: var(--radius);
}
.search-tabs {
    display: grid; grid-template-columns: repeat(5, 1fr);
    background: #e3e3e3; border-radius: var(--radius) var(--radius) 0 0; overflow: hidden;
}
.search-tab {
    display: flex; align-items: center; justify-content: center; gap: 10px;
    min-height: 64px; padding: 10px; border: 0; border-right: 1px solid #d0d0d0;
    background: transparent; color: #666; font-style: italic; font-weight: 600;
    transition: background-color .2s, color .2s;
}
.search-tab:last-child { border-right: 0; }
.search-tab i { font-size: 1.15rem; }
.search-tab:hover { color: var(--ink); background: #ececec; }
.search-tab.is-active { background: var(--brand); color: var(--ink); }

.search-panel {
    display: grid; grid-template-columns: 1fr auto 1fr 1fr auto; align-items: stretch;
    background: var(--panel); color: var(--white);
    border-radius: 0 0 var(--radius) var(--radius);
    position: relative;
}
.search-panel[hidden] { display: none; }
.search-panel:not(:has(.swap-btn)) { grid-template-columns: 1fr 1fr 1fr auto; }

.search-field {
    display: flex; flex-direction: column; justify-content: center; gap: 4px;
    padding: 26px 28px; border-right: 1px solid rgba(255, 255, 255, 0.18);
    min-width: 0;
}
.search-field label { font-size: 0.95rem; color: #e2e2e2; }
.search-field input {
    width: 100%; min-width: 0; padding: 4px 0; border: 0; border-bottom: 1.5px solid transparent;
    background: transparent; color: var(--white);
    font: 700 clamp(1.3rem, 2.4vw, 1.9rem)/1.2 var(--font-body);
    color-scheme: dark;
}
.search-field input[type="date"], .search-field input[type="month"] { font-size: clamp(1.1rem, 1.8vw, 1.45rem); }
.search-field input::placeholder { color: #b9b9b9; opacity: 1; }
.search-field input:focus { outline: none; border-bottom-color: var(--brand); }
.search-field input.is-invalid { border-bottom-color: var(--orange-bright); }

.swap-btn {
    align-self: center; width: 48px; height: 48px; margin-inline: -24px; z-index: 1;
    border: 0; border-radius: 50%; background: var(--white); color: var(--brand-strong); font-size: 1.1rem;
    box-shadow: var(--shadow-sm); transition: transform .3s var(--ease);
}
.swap-btn:hover { transform: rotate(180deg); }
.swap-btn + .search-field { padding-left: 44px; }

.search-submit { display: flex; align-items: center; justify-content: center; padding: 20px 28px; }
.btn-search {
    min-height: 52px; min-width: 160px; font-size: 1.35rem; font-weight: 700;
    background: var(--brand-strong); color: var(--white);
    box-shadow: 0 6px 16px rgba(194, 78, 8, 0.35);
}
.btn-search:hover { background: #a84306; box-shadow: 0 8px 22px rgba(194, 78, 8, 0.45); }

.search-status {
    grid-column: 1 / -1; padding: 0 28px; font-size: 0.95rem; color: #f3f3f3;
}
.search-status:not(:empty) { padding-block: 0 18px; }

/* ---------- Sections ---------- */
.section { padding-block: clamp(48px, 7vw, 80px) 0; }
.section-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.section-title {
    font-family: var(--font-body); font-style: italic; font-weight: 600;
    font-size: clamp(1.6rem, 3vw, 2.2rem); line-height: 1.25; color: var(--ink);
}
.empty-state { margin-top: 24px; color: var(--muted); }

.divider-cta {
    position: relative; display: flex; justify-content: center;
    margin-top: clamp(40px, 5vw, 64px);
}
.divider-cta::before {
    content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: var(--line); z-index: -1;
}

/* ---------- Destinations ---------- */
.carousel-controls { display: flex; gap: 10px; }
.round-btn {
    width: 44px; height: 44px; border-radius: 50%;
    border: 1px solid var(--line); background: var(--white); color: var(--ink);
    transition: background-color .2s, color .2s, transform .2s var(--ease);
}
.round-btn:hover { background: var(--ink); color: var(--white); }
.round-btn:active { transform: scale(0.94); }
.round-btn:disabled { opacity: 0.4; cursor: default; background: var(--white); color: var(--ink); }

.dest-track {
    display: grid; grid-auto-flow: column; grid-auto-columns: clamp(220px, 24vw, 300px); gap: 24px;
    margin-top: 28px; padding: 4px max(var(--gutter), calc((100vw - var(--container)) / 2 + var(--gutter))) 12px;
    overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: max(var(--gutter), calc((100vw - var(--container)) / 2 + var(--gutter)));
    scrollbar-width: none;
}
.dest-track::-webkit-scrollbar { display: none; }
.dest-card {
    position: relative; overflow: hidden; aspect-ratio: 3 / 4; border-radius: var(--radius);
    scroll-snap-align: start; text-decoration: none; color: var(--white); background: #333;
}
.dest-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.dest-card:hover img { transform: scale(1.06); }
.dest-card::after {
    content: ""; position: absolute; inset: 45% 0 0; background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.72));
}
.dest-info { position: absolute; left: 18px; right: 18px; bottom: 16px; z-index: 1; display: flex; flex-direction: column; }
.dest-name { font-family: var(--font-display); font-style: italic; font-weight: 700; font-size: 1.5rem; line-height: 1.2; }
.dest-region { font-size: 0.9rem; opacity: 0.92; display: flex; flex-direction: column; }
.dest-count { font-size: 0.8rem; opacity: 0.85; }

/* ---------- Hotels ---------- */
.hotel-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 4vw, 56px) clamp(20px, 3.5vw, 48px);
    margin-top: 32px; padding-inline: clamp(0px, 3vw, 40px);
}
.hotel-card {
    display: flex; flex-direction: column;
    padding: 10px; border-radius: var(--radius);
    background: var(--surface-card); border: 1px solid #e2e2e2;
    transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.hotel-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.hotel-media { position: relative; }
.hotel-media img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius-sm); }
.hotel-badge {
    position: absolute; top: 20px; right: -10px;
    padding: 6px 16px; border-radius: var(--radius-pill) 0 0 var(--radius-pill);
    background: var(--orange); color: var(--white); font-size: 0.85rem; font-weight: 700; font-style: italic;
}
.hotel-badge--urgent { background: #c8283b; }
.hotel-rating {
    position: absolute; right: 12px; bottom: 12px;
    display: inline-flex; align-items: center; gap: 6px;
    padding: 4px 12px; border-radius: var(--radius-pill);
    background: rgba(20, 20, 20, 0.62); color: var(--white); font-size: 1rem;
}
.hotel-rating i { color: #f7b733; }
.hotel-body { padding: 18px 10px 14px; }
.hotel-name { font-family: var(--font-display); font-style: italic; font-weight: 600; font-size: 1.35rem; line-height: 1.3; color: #3d3d3d; }
.hotel-address { margin-top: 8px; font-size: 0.9rem; color: var(--ink-soft); line-height: 1.5; }
.hotel-price { margin-top: 10px; font-size: 0.9rem; color: var(--ink-soft); }
.hotel-price strong { color: var(--orange); font-size: 1.05rem; }

/* ---------- Packages ---------- */
.package-grid {
    display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px clamp(24px, 5vw, 72px);
    margin-top: 56px; padding-inline: clamp(0px, 4vw, 64px);
}
.package-card {
    --notch: 22px;
    position: relative; isolation: isolate; display: grid; grid-template-columns: 45% 1fr; gap: 18px;
    padding: 22px 20px;
    filter: drop-shadow(0 4px 10px rgba(38, 43, 43, 0.08));
}
/* Card surface lives on a pseudo-element so the ticket notch mask
   does not clip the ribbon and offer badge that overhang the card. */
.package-card::before {
    content: ""; position: absolute; inset: 0; z-index: -1;
    border-radius: var(--radius); background: var(--surface-card);
    -webkit-mask: radial-gradient(circle var(--notch) at 100% 50%, transparent 98%, #000);
            mask: radial-gradient(circle var(--notch) at 100% 50%, transparent 98%, #000);
}
.package-card.is-trending::before { border-top-right-radius: 0; }
.package-ribbon {
    position: absolute; top: -40px; right: 0;
    padding: 6px 28px 6px 48px;
    background: linear-gradient(90deg, #1f1f1f 70%, #b35a14);
    clip-path: polygon(34px 0, 100% 0, 100% 100%, 0 100%);
    border-radius: 0 var(--radius-sm) 0 0;
    color: var(--white); font-style: italic; font-weight: 700; letter-spacing: 0.18em; font-size: 1.05rem;
}
.package-offer {
    position: absolute; top: -18px; left: -18px; z-index: 1;
    display: grid; place-items: center; width: 76px; height: 76px;
    background: linear-gradient(135deg, #d9580a, #a84306);
    clip-path: polygon(50% 0%, 61% 10%, 75% 6%, 79% 21%, 94% 25%, 90% 39%, 100% 50%, 90% 61%, 94% 75%, 79% 79%, 75% 94%, 61% 90%, 50% 100%, 39% 90%, 25% 94%, 21% 79%, 6% 75%, 10% 61%, 0% 50%, 10% 39%, 6% 25%, 21% 21%, 25% 6%, 39% 10%);
    color: var(--white); font-size: 0.72rem; font-weight: 600; font-style: italic; line-height: 1.05; text-align: center;
    transform: rotate(-18deg);
}
.package-offer strong { display: block; font-size: 1.05rem; }
.package-watermark {
    position: absolute; top: 8px; right: 20px; font-size: 3.6rem; color: var(--orange-bright); opacity: 0.14;
    transform: rotate(-12deg); pointer-events: none;
}
.package-media img { width: 100%; height: 100%; min-height: 240px; object-fit: cover; border-radius: var(--radius); }
.package-body { display: flex; flex-direction: column; gap: 8px; padding: 6px 12px 0 0; }
.package-name { font-family: var(--font-display); font-style: italic; font-weight: 600; font-size: 1.45rem; color: #3d3d3d; }
.package-summary { color: var(--ink-soft); }
.package-meta { display: flex; gap: 18px; margin-top: 4px; color: var(--muted); font-weight: 600; font-size: 0.95rem; }
.package-meta i { margin-right: 4px; }
.package-price {
    margin-top: 8px; font-size: 1.6rem; font-weight: 700; font-style: italic; color: var(--ink);
}
.package-price::first-letter { color: var(--orange); }
.package-price small { font-size: 0.7rem; font-weight: 400; }
.btn-book {
    margin-top: auto; min-height: 48px; font-size: 1.2rem;
    background: linear-gradient(90deg, #d9580a, #b84a07); color: var(--white);
}
.btn-book:hover { box-shadow: 0 8px 20px rgba(232, 93, 4, 0.35); }

/* ---------- Stats ---------- */
.stats { padding-bottom: clamp(48px, 6vw, 72px); }
.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; padding-inline: clamp(16px, 6vw, 88px); }
.stat-value {
    font-family: var(--font-display); font-weight: 700; font-size: clamp(2rem, 3.5vw, 2.6rem);
    color: var(--orange); line-height: 1.1; font-variant-numeric: oldstyle-nums;
}
.stat-value small { font-size: 0.5em; }
.stat-title { margin-top: 10px; font-family: var(--font-display); font-weight: 600; font-size: clamp(1.4rem, 2.4vw, 1.85rem); line-height: 1.2; }
.stat-text { margin-top: 14px; max-width: 30ch; color: var(--ink-soft); }

/* ---------- Why us ---------- */
.why { background: var(--surface-alt); padding-block: clamp(56px, 8vw, 100px); }
.why-grid { display: grid; grid-template-columns: 1fr 1fr; align-items: center; }
.why-intro { padding-right: clamp(24px, 6vw, 96px); }
.why-title {
    font-family: var(--font-display); font-style: italic; font-weight: 700;
    font-size: clamp(2.2rem, 4vw, 3.2rem); line-height: 1.15; color: #3d3d3d; padding-bottom: 6px;
}
.why-title span { display: block; }
.why-title span em { font-style: inherit; color: var(--brand-strong); }
.why-intro p { margin-top: 28px; max-width: 42ch; font-size: 1.15rem; color: var(--ink-soft); line-height: 1.75; }
.why-list {
    counter-reset: why; display: grid; gap: 40px;
    padding-left: clamp(24px, 6vw, 96px); border-left: 2px solid #9a9a9a;
}
.why-list li { counter-increment: why; position: relative; padding-left: 60px; }
.why-list li::before {
    content: counter(why); position: absolute; left: 0; top: 2px;
    display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%;
    background: var(--orange); color: var(--white);
    font-family: var(--font-display); font-weight: 700; font-size: 1.1rem;
}
.why-list h3 { font-size: 1.4rem; font-weight: 600; color: #3d3d3d; line-height: 1.3; }
.why-list p { margin-top: 8px; max-width: 44ch; color: var(--ink-soft); font-size: 0.95rem; }

/* ---------- SEO links + footer ---------- */
.seo-links { padding-block: clamp(40px, 5vw, 64px); background: var(--surface); }
.seo-group + .seo-group { margin-top: 32px; }
.seo-heading { font-size: 1.1rem; font-weight: 700; color: var(--ink); }
.seo-list { margin-top: 10px; font-size: 0.85rem; color: var(--ink-soft); line-height: 1.7; }

.site-footer { background: #2b2b2b; color: #d9d9d9; }
.footer-top {
    display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(4, minmax(0, 1fr)); gap: 40px 32px;
    padding-block: 56px 40px;
}
.footer-logo {
    display: inline-flex; padding: 10px 16px; border-radius: var(--radius-sm); background: var(--white);
    transition: transform .2s var(--ease);
}
.footer-logo:hover { transform: translateY(-2px); }
.footer-logo img { height: 44px; width: auto; }
.footer-logo .brand-text { color: var(--brand-ink); }
.footer-about { margin-top: 16px; max-width: 34ch; color: #bdbdbd; font-size: 0.95rem; }
.footer-contact-list { display: grid; gap: 10px; margin-top: 20px; font-size: 0.95rem; }
.footer-contact-list li { display: flex; gap: 12px; align-items: baseline; }
.footer-contact-list i { width: 16px; color: var(--brand); }
.footer-contact-list a { color: #f2f2f2; text-decoration: none; overflow-wrap: anywhere; }
.footer-contact-list a:hover { color: var(--brand); }
.footer-heading { font-size: 0.95rem; font-weight: 700; color: var(--white); letter-spacing: 0.02em; margin-bottom: 16px; }
.footer-col ul { display: grid; gap: 10px; }
.footer-col a { color: #cfcfcf; text-decoration: none; font-size: 0.95rem; transition: color .2s; }
.footer-col a:hover { color: var(--brand); }
.footer-socials { display: flex; gap: 12px; margin-top: 20px; }
.footer-socials a {
    display: grid; place-items: center; width: 40px; height: 40px;
    border: 1.5px solid #555; border-radius: 50%;
    color: #e6e6e6; font-size: 1rem; text-decoration: none;
    transition: background-color .2s, border-color .2s, color .2s, transform .2s var(--ease);
}
.footer-socials a:hover { background: var(--brand); border-color: var(--brand); color: #1f1f1f; transform: translateY(-2px); }
.footer-bottom { border-top: 1px solid #3d3d3d; }
.footer-bottom-inner {
    display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px;
    padding-block: 18px; font-size: 0.875rem; color: #a8a8a8;
}
.footer-legal { display: flex; gap: 20px; }
.footer-legal a { color: #cfcfcf; text-decoration: none; }
.footer-legal a:hover { color: var(--brand); }
.footer-pay { display: flex; align-items: center; gap: 10px; font-size: 1.6rem; color: #cfcfcf; }
.pay-badge {
    display: inline-flex; align-items: center; gap: 6px; padding: 2px 8px; border-radius: 5px;
    border: 1px solid #555; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.04em;
}

/* ---------- Motion ---------- */
@media (prefers-reduced-motion: no-preference) {
    .hero-copy { animation: rise .9s var(--ease) both; }
    .search { animation: rise .9s .15s var(--ease) both; }
    /* Uses `translate` (not `transform`) so it never overrides hover lifts on cards. */
    .js .reveal { opacity: 0; translate: 0 28px; transition: opacity .7s var(--ease), translate .7s var(--ease); }
    .js .reveal.is-visible { opacity: 1; translate: 0 0; }
    @keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    /* Entrance animations, scroll reveals and page transitions are only defined for
       no-preference, so here we just stop smooth scrolling. Small hover feedback stays. */
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
    .site-nav { gap: 16px; }
    .nav-link { padding: 8px 10px; }
    .search { margin-inline: 0; }
    .hotel-grid { grid-template-columns: repeat(2, 1fr); padding-inline: 0; }
    .package-grid { grid-template-columns: 1fr; max-width: 640px; margin-inline: auto; padding-inline: 0; }
}

@media (max-width: 900px) {
    :root { --header-h: 64px; }
    .brand-logo { height: 46px; }
    .nav-toggle { display: grid; place-items: center; }
    .site-nav {
        position: absolute; top: 100%; left: 0; right: 0;
        flex-direction: column; align-items: stretch; gap: 16px;
        padding: 16px var(--gutter) 24px;
        background: var(--white); box-shadow: 0 12px 20px rgba(60, 60, 60, 0.12);
    }
    .site-nav:not(.is-open) { display: none; }
    .nav-links { flex-direction: column; align-items: stretch; gap: 4px; }
    .nav-link { padding: 12px 14px; }
    .nav-actions .btn { flex: 1; min-height: 44px; }

    .hero-media { padding-bottom: 120px; border-radius: 0 0 var(--radius) var(--radius); margin-inline: calc(var(--gutter) * -1); }

    .search-tabs { grid-template-columns: repeat(5, minmax(64px, 1fr)); overflow-x: auto; }
    .search-tab { flex-direction: column; gap: 4px; min-height: 60px; font-size: 0.8rem; }
    .search-panel, .search-panel:not(:has(.swap-btn)) { grid-template-columns: 1fr 1fr; }
    .search-field { padding: 18px 20px; border-right: 0; border-bottom: 1px solid rgba(255, 255, 255, 0.18); }
    .search-field:first-child, .search-panel .swap-btn + .search-field { grid-column: 1 / -1; }
    .search-panel:not(:has(.swap-btn)) .search-field:first-child { grid-column: 1 / -1; }
    .swap-btn { position: absolute; right: 20px; top: 62px; margin: 0; width: 42px; height: 42px; transform: rotate(90deg); }
    .swap-btn:hover { transform: rotate(270deg); }
    .search-panel .search-field:has(+ .swap-btn) { padding-right: 76px; }
    .swap-btn + .search-field { padding-left: 20px; }
    .search-submit { grid-column: 1 / -1; padding: 18px 20px; }
    .btn-search { width: 100%; }

    .stats-grid { grid-template-columns: 1fr; gap: 36px; padding-inline: var(--gutter); }
    .why-grid { grid-template-columns: 1fr; gap: 48px; }
    .why-intro { padding-right: 0; }
    .why-list { border-left: 0; padding-left: 0; border-top: 2px solid #9a9a9a; padding-top: 40px; }
}

@media (max-width: 640px) {
    .hotel-grid { grid-template-columns: 1fr; }
    .dest-track { grid-auto-columns: 72%; gap: 16px; }
    .carousel-controls { display: none; }
    .package-card { grid-template-columns: 1fr; --notch: 0px; }
    .package-media img { min-height: 0; aspect-ratio: 16 / 10; }
    .package-body { padding: 0 4px; }
    .package-ribbon { font-size: 0.9rem; }
    .package-offer { left: -6px; top: -14px; width: 64px; height: 64px; }
    .search-panel .search-field:not(:first-child):not(.swap-btn + .search-field) { grid-column: 1 / -1; }
    .footer-top { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 20px; padding-block: 40px 28px; }
    .footer-brand-col { grid-column: 1 / -1; }
    .footer-bottom-inner { flex-direction: column; align-items: flex-start; }
}
