/*
 * File:         site.916da0fd.css
 * Path:         public_html/public/assets/css/site.916da0fd.css
 * Last updated: 2026-12-04 12:55 IST
 * Change:       New. The style block from public_html/includes/header.php (lines 647-1004 of the 3 Dec 2026 version),
 *               moved here unchanged so the page HTML is smaller and browsers cache it (homepage size
 *               work, 4 Dec 2026). The code in the name is a version: after editing, save the file under
 *               a new code and change its line in includes/assets.php, so visitors get the new version.
 * Previous:     none (new file)
 */
/* Logo hover (20 Oct 2026): gentle 110% zoom (was 125%, which grew taller than the header
   bar on large screens). Grows from its left edge so it never moves toward the screen edge;
   also on keyboard focus; no movement for visitors who ask their device to reduce motion. */
header.brand-v2 .site-logo { transform-origin: left center; transition: transform .3s ease; }
header.brand-v2 a:hover > .site-logo, header.brand-v2 a:focus-visible > .site-logo { transform: scale(1.1); }
/* The general link hover (.brand-v2 a:hover, scale 1.08, further down) also used to enlarge the
   logo's link, so the old hover was really 1.25 x 1.08 = 135%. Not on the logo link any more. */
header.brand-v2 a:has(> .site-logo):hover { transform: none; }
@media (prefers-reduced-motion: reduce) {
    header.brand-v2 .site-logo { transition: none; }
    header.brand-v2 a:hover > .site-logo, header.brand-v2 a:focus-visible > .site-logo { transform: none; }
}

/* Header background forced to a consistent RGB(244, 249, 251) in both states
   - overriding whatever background-color the compiled site.css applies
   normally (near-white at rest, a pale blue matching the logo box once
   .header-scrolled is added by the JS below). Both selectors are targeted
   explicitly, not just the base one: if the compiled CSS sets the
   scrolled-state color via a more specific .nav-solid.header-scrolled rule,
   an !important override on the base selector alone could still lose that
   specificity comparison. Added directly in header.php since the compiled
   CSS source wasn't available to edit at the root — if a future site.css
   rebuild changes this, this override should still hold, but is worth
   re-checking then. */
header.brand-v2.nav-solid,
header.brand-v2.nav-solid.header-scrolled {
    background-color: #BADAE5 !important;   /* 7 Oct 2026: was rgb(244, 249, 251) - see the site background block below */
}

/* ---- Site background: pale sky-blue (7 Oct 2026) ---------------------------
   Every public page that uses this header (the homepage, Packages, package
   pages, Destinations, About, Contact, the agent account area, ...). Admin,
   the error pages and the /profile/ app have their own <head> and are not
   affected.
   - Radial gradient #D6E9F0 (centre of the screen) to #BADAE5 (edges), on a
     fixed layer behind everything (body::before). background-attachment:
     fixed is not used because iPhones/iPads ignore it. "closest-side" makes
     the gradient reach exactly #BADAE5 at the screen edges, so the header
     and the phone menu (solid #BADAE5) join it without a seam.
   - The footer is transparent (no band, no line where it starts).
   - Text that sits directly on the new background is darkened where it
     would fall below a 4.5:1 contrast ratio (WCAG AA); icons below 3:1. */
html body { background-color: #BADAE5 !important; isolation: isolate; }   /* !important beats the body's bg-surface class */
html body::before {
    content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
    background: radial-gradient(ellipse closest-side at center, #D6E9F0 0%, #BADAE5 100%);
}
html body #mobileMenu { background-color: #BADAE5 !important; }
html body footer.brand-v2 { background: transparent !important; border-top-color: transparent !important; }
html body footer.brand-v2 .footer-brand,
html body footer.brand-v2 .border-slate-100 { border-color: rgba(29, 32, 78, .12) !important; }

/* Footer greys: #64748B (3.2:1) and #94A3B8 (1.7:1) -> #475569 (5.1:1). */
html body footer.brand-v2 .text-slate-500,
html body footer.brand-v2 .text-slate-400,
html body footer.brand-v2 .footer-subtag,
html body footer.brand-v2 .footer-intro { color: #475569 !important; }
html body footer.brand-v2 ul a:hover,
html body footer.brand-v2 ul a:focus-visible { color: #6b1932 !important; }

/* Faded meta text in page content ("1-8 of 10", "Filter", "Show", "Tap a stop
   to jump...", "9 days - tap any day..."): the /40-/70 opacity variants of
   the body text colour fall to 1.8-3.0:1 on the new background. Solid
   #475569 (5.1:1 here, 7.6:1 on white cards) keeps them readable. */
html body main .text-on-surface-variant\/40,
html body main .text-on-surface-variant\/50,
html body main .text-on-surface-variant\/60,
html body main .text-on-surface-variant\/70 { color: #475569 !important; }
html body main a.text-on-surface-variant\/40:hover,
html body main a.text-on-surface-variant\/50:hover,
html body main a.text-on-surface-variant\/60:hover,
html body main a.text-on-surface-variant\/70:hover,
html body main a[class*="text-on-surface-variant/"]:focus-visible { color: #1d204e !important; }   /* keeps their hover:text-primary */
/* Grey #64748B body text placed straight on the page (e.g. the Contact page's
   office addresses): 3.2:1 -> #475569. Also slightly darker on white cards. */
html body main .text-slate-500:not(a):not(button) { color: #475569 !important; }

/* Other pale text found sitting directly on the page:
   legal pages' "Last Updated" line (#94A3B8, 1.7:1), the About page's
   profile eyebrow / title accent in rose (#A8536B, 3.5:1 -> #8E3A55, 4.9:1). */
html body main .update-date { color: #475569 !important; }
html body .cp-eyebrow,
html body .cp-title em { color: #8E3A55 !important; }

/* Package page Inclusions / Exclusions header icons: green #059669 and red
   #EF4444 are ~2.6:1 on the new background (icons need 3:1). */
html body main .material-symbols-outlined.text-emerald-600 { color: #047857 !important; }   /* 3.7:1 */
html body main .material-symbols-outlined.text-red-500 { color: #B91C1C !important; }       /* 4.4:1 */

/* Sticky tab bars - country pages (About France / Visa / Itineraries ...,
   #countryTabBar) and Services (#svcNav). They had their own near-white
   background (#F4F9FB at 95%), which showed as a pale strip on the new
   background. Now: transparent while they sit in the page, so the page
   background shows through unchanged; once they stick to the top while
   scrolling (.is-stuck, set by the small script at the end of this file),
   solid #BADAE5 like the header, so content scrolling underneath stays hidden.
   The left/right scroll-arrow fades on the tab bar fade from #BADAE5, the
   colour at the screen edges where those arrows sit. */
html body #countryTabBar,
html body #svcNav {
    background-color: transparent !important;
    -webkit-backdrop-filter: none !important; backdrop-filter: none !important;
    border-bottom-color: rgba(29, 32, 78, .12) !important;
    transition: background-color .2s ease;
}
html body #countryTabBar.is-stuck,
html body #svcNav.is-stuck {
    background-color: rgba(186, 218, 229, .96) !important;
    -webkit-backdrop-filter: blur(8px) !important; backdrop-filter: blur(8px) !important;
}
html body .tabbar-arrow--left  { background-image: linear-gradient(90deg,  #BADAE5 45%, rgba(186, 218, 229, 0)) !important; }
html body .tabbar-arrow--right { background-image: linear-gradient(270deg, #BADAE5 45%, rgba(186, 218, 229, 0)) !important; }
@media (prefers-reduced-motion: reduce) { html body #countryTabBar, html body #svcNav { transition: none; } }

/* ---- Switchable background (8 Oct 2026) -------------------------------------
   Classes on <html>, set from site_settings 'site_background' (includes/
   site_background.php) and switched live by the admin toggle in this header:
     .site-bg-white  pure white page, header, phone menu and footer
     .site-no-glow   no radial light behind the page (flat colour)
   One class more than the sky rules above (and the homepage's own copy in
   index.php), so these always win without touching those files. */
html.site-bg-white body { background-color: #FFFFFF !important; }
html.site-bg-white body::before { background: radial-gradient(ellipse closest-side at center, #FFFFFF 0%, #EAF4F8 100%) !important; }
html.site-bg-white body header.brand-v2.nav-solid,
html.site-bg-white body header.brand-v2.nav-solid.header-scrolled,
html.site-bg-white body #mobileMenu { background-color: #FFFFFF !important; }
/* White on white needs an edge: faint shadow under the header, hairline above the footer. */
html.site-bg-white body header.brand-v2.nav-solid { box-shadow: 0 1px 0 rgba(29, 32, 78, .08), 0 4px 14px rgba(29, 32, 78, .05) !important; }
html.site-bg-white body footer.brand-v2 { background: #FFFFFF !important; border-top: 1px solid #E8EDF3 !important; }
html.site-bg-white body footer.brand-v2 .footer-brand,
html.site-bg-white body footer.brand-v2 .border-slate-100 { border-color: #EEF2F6 !important; }
html.site-bg-white body #countryTabBar.is-stuck,
html.site-bg-white body #svcNav.is-stuck { background-color: rgba(255, 255, 255, .96) !important; }
html.site-bg-white body #countryTabBar,
html.site-bg-white body #svcNav { border-bottom-color: #E8EDF3 !important; }
html.site-bg-white body .tabbar-arrow--left  { background-image: linear-gradient(90deg,  #FFFFFF 45%, rgba(255, 255, 255, 0)) !important; }
html.site-bg-white body .tabbar-arrow--right { background-image: linear-gradient(270deg, #FFFFFF 45%, rgba(255, 255, 255, 0)) !important; }
html.site-no-glow body::before { display: none !important; }

/* Admin-only background toggle in the header */
.bgt { position: relative; }
.bgt-btn { width: 36px; height: 36px; display: inline-flex; align-items: center; justify-content: center; border-radius: 10px; color: #1d204e; background: rgba(29, 32, 78, .06); border: 1px solid rgba(29, 32, 78, .12); cursor: pointer; }
.bgt-btn:hover { background: rgba(29, 32, 78, .12); }
.bgt-btn:focus-visible { outline: 2px solid #6b1932; outline-offset: 2px; }
.bgt-panel { position: absolute; right: 0; top: calc(100% + 8px); width: min(17.5rem, calc(100vw - 2rem)); background: #fff; border: 1px solid #E2E8F0; border-radius: 14px; box-shadow: 0 12px 32px rgba(29, 32, 78, .18); padding: 14px; z-index: 1100; text-align: left; }
.bgt-panel[hidden] { display: none; }
.bgt-title { font: 900 10px/1.3 Inter, sans-serif; letter-spacing: .14em; text-transform: uppercase; color: #1d204e; margin: 0; }
.bgt-sub { font-size: 11px; color: #475569; margin: 2px 0 10px; }
.bgt-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 0; border-top: 1px solid #EEF2F6; }
.bgt-row span { font-size: 13px; font-weight: 700; color: #1d204e; }
.bgt-switch { position: relative; width: 42px; height: 24px; border-radius: 999px; background: #CBD5E1; border: 0; cursor: pointer; flex-shrink: 0; transition: background .2s ease; }
.bgt-switch::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.25); transition: transform .2s ease; }
.bgt-switch[aria-checked="true"] { background: #1d204e; }
.bgt-switch[aria-checked="true"]::after { transform: translateX(18px); }
.bgt-switch:focus-visible { outline: 2px solid #6b1932; outline-offset: 2px; }
.bgt-switch:disabled { opacity: .5; cursor: wait; }
.bgt-status { font-size: 11px; min-height: 16px; margin-top: 6px; color: #475569; }
.bgt-status.is-error { color: #B91C1C; font-weight: 700; }
@media (prefers-reduced-motion: reduce) { .bgt-switch, .bgt-switch::after { transition: none; } }

/* Phones: the logo (45px tall = ~231px wide) plus search, menu and Login needed
   ~442px, so on 360-430px phones the Login/Dashboard button was pushed ~50px
   off-screen. Let only the logo give way: it shrinks to the space left (about
   164px wide at 375px) and keeps its proportions. Desktop/tablet untouched. */
@media (max-width: 767px) {
    header.brand-v2 a.shrink-0:has(> .site-logo) { flex-shrink: 1; min-width: 0; }
    header.brand-v2 .site-logo { max-width: 100%; height: auto; max-height: 45px; object-fit: contain; }
}

/* Hyperlink hover effect, header + footer - bold plus a slight size increase.
   Scoped to .brand-v2 (shared by <header>, the mobile menu panel, and
   <footer>) so one rule covers every link across both files without
   touching their existing markup or classes.
   Uses transform: scale() rather than a literal font-size bump: link text
   here ranges from text-[9px] up to full nav headings across roughly 8
   distinct size classes, and there's no pure-CSS way to add a fixed +1px to
   "whatever this element's current size already is" without either
   JavaScript or a separate override per size class - font-size: calc(1em +
   1px) does not work here, since em in a font-size declaration resolves
   against the inherited (parent) size, not the element's own pre-hover
   size, so it would not track each link's actual starting size correctly.
   scale(1.08) approximates roughly a 1px increase on the most common link
   sizes in this file (10-14px) while staying visually proportional at
   every other size, and doesn't affect display:block links' layout/width -
   transform is independent of display, so the full-width mobile-menu links
   keep their existing click area untouched. */
.brand-v2 a:hover {
    font-weight: 700;
    transform: scale(1.08);
}

/* Root cause of the Agent Login/Dashboard overflow bug, now confirmed
   directly against build/src/site.css (previously not available in this
   conversation - two earlier attempts here were educated guesses without it).
   The actual dominant cause is NOT spacing, it's font-size: .nav-link-text -
   the class on all five nav dropdown triggers (Destinations, Travel Styles,
   Group Tours, Services, Company; Travel Stories has since moved to the
   footer) - is 17.5px at the header's
   "at rest" size versus 10.5px once scrolled. That's a 67% larger font on
   every nav label AT ONCE, which at common laptop widths (confirmed at
   1366px) is worth far more horizontal space than any gap or margin ever
   could be - five labels each roughly a third wider adds up to more width than
   this whole media query's earlier gap trims freed combined. .site-logo
   compounds it further: 55px at rest vs 40px scrolled.
   This overrides both directly, only in the "at rest" state (:not(.header-
   scrolled) - the already-correct scrolled sizing in site.css is untouched)
   and only across the same 1024-1500px laptop range as before. The specific
   selectors are deliberately more specific than site.css's own single-class
   rules (header.brand-v2:not(...) .nav-link-text beats a bare .nav-link-text
   on specificity), so this wins without needing !important.
   The gap/margin/padding trims from the two earlier attempts are left in
   place below as additional margin on top of this, not removed - they
   weren't wrong, just addressing a much smaller fraction of the actual
   deficit than this does. */
/* 21 Nov 2026: no shrink on scroll. The compiled CSS makes the scrolled header smaller
   (logo 40px, menu 10.5px); these put back the top-of-page sizes in the scrolled state
   too: logo 55px from 768px (phones keep their own rule), menu 17.5px from 1024px, and the
   13px / 45px laptop sizes just below for 1024-1500px. */
@media (min-width: 768px)  { header.brand-v2.header-scrolled .site-logo { height: 55px; } }
header.brand-v2.header-scrolled .nav-link-text { font-size: 17.5px; }
@media (min-width: 1024px) and (max-width: 1500px) {
    header.brand-v2:not(.header-scrolled) .nav-link-text,
    header.brand-v2.header-scrolled .nav-link-text {
        font-size: 13px;
    }
    header.brand-v2:not(.header-scrolled) .site-logo,
    header.brand-v2.header-scrolled .site-logo {
        height: 45px;
    }
}
/* 21 Nov 2026: frosted-glass header once the page is scrolled (solid at the top).
   Not fully transparent - the navy menu text needs a light backing to stay readable over
   photos and dark sections. One class more than the solid-colour rules above, so it wins. */
header.brand-v2.nav-solid.header-scrolled.header-scrolled {
    background-color: rgba(186, 218, 229, .72) !important;
    -webkit-backdrop-filter: saturate(1.6) blur(14px);
    backdrop-filter: saturate(1.6) blur(14px);
    box-shadow: 0 1px 0 rgba(29, 32, 78, .08), 0 8px 24px -16px rgba(29, 32, 78, .35) !important;
    transition: background-color .25s ease, box-shadow .25s ease;
}
html.site-bg-white body header.brand-v2.nav-solid.header-scrolled.header-scrolled {
    background-color: rgba(255, 255, 255, .72) !important;
    box-shadow: 0 1px 0 rgba(29, 32, 78, .08), 0 8px 24px -16px rgba(29, 32, 78, .35) !important;
}
header.brand-v2.header-scrolled > .border-b { border-bottom-color: rgba(29, 32, 78, .08) !important; }
/* Browsers without backdrop blur: keep the header solid so the menu stays readable. */
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
    header.brand-v2.nav-solid.header-scrolled.header-scrolled { background-color: #BADAE5 !important; }
    html.site-bg-white body header.brand-v2.nav-solid.header-scrolled.header-scrolled { background-color: #FFFFFF !important; }
}

@media (min-width: 1024px) and (max-width: 1500px) {
    header.brand-v2 nav.hidden.lg\:flex {
        gap: 0.5rem;
        margin-left: 0.5rem;
    }
    header.brand-v2 .flex.items-center.gap-3.lg\:gap-8 {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    header.brand-v2 .flex.items-center.gap-2.md\:gap-3.ml-auto {
        gap: 0.5rem;
    }
    header.brand-v2 .hidden.md\:flex.items-center.gap-3.mr-1 {
        gap: 0.5rem;
        margin-right: 0.25rem;
    }
}

/* Destinations dropdown - By Country and By Region both showed a scrollbar
   and clipped part of the list, confirmed on screen recording (both tabs:
   By Country cut off after row 9, By Region's "Mainland" column cut off
   mid-list). Root cause is in build/src/site.css: .nav-dropdown-panel has
   max-height:75vh, and its child .nav-dropdown-scroll (flex:1 1 auto,
   overflow-y:auto) fills whatever's left after the fixed head/footer rows and
   scrolls internally once the list needs more room than that - which, at
   normal desktop viewport heights, it does for both tabs (By Country is a
   fixed 9 rows regardless of country count; By Region's "Mainland" column
   alone lists 10+ countries).
   That original max-height existed for a real reason (see site.css's own
   comment) - to keep "View All Packages"/"View All Destinations" reachable
   without scrolling INSIDE the menu, since it opens on :hover and used to put
   that button below the fold. This doesn't undo that: the CTA is still its
   own fixed-size flex row (nav-dropdown-cta's flex:0 0 auto, untouched here),
   it's specifically the list above it that's no longer forced to clip and
   scroll within a percentage of the viewport - flex:0 0 auto here instead
   means "exactly as tall as your content, nothing more, nothing less", so
   the panel grows to fit whichever tab is open and the CTA sits directly
   below it, never overlapping. max-height on the panel itself is raised
   rather than removed outright, purely as a safety net for a genuinely short
   browser window - in practice neither tab's content comes close to 95vh on
   any real desktop or laptop screen, so this should never visibly trigger. */
/* Exchange-rate chip (right-side cluster). Desktop only from 1280px: below that
   the cluster is already fighting for width (see the 1024-1500px notes above),
   and the same figure is in the mobile menu under "Exchange Rate". Fixed 11px so
   it does not resize with the header's at-rest/scrolled font change. A <span>,
   not <a>, so the .brand-v2 a:hover scale/bold rule leaves it alone. */
header.brand-v2 .hdr-fx {
    display: none;
    align-items: center;
    gap: 6px;
    height: 36px;
    padding: 0 10px;
    border-radius: .75rem;
    background: #f1f5f9;
    color: #1d204e;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .02em;
    line-height: 1;
    white-space: nowrap;
    cursor: default;
}
header.brand-v2 .hdr-fx img {
    width: 20px;
    height: 14px;
    border-radius: 2px;
    object-fit: cover;
    box-shadow: 0 0 0 1px rgba(29,32,78,.15);
}
header.brand-v2 .hdr-fx small {
    font-size: 9px;
    font-weight: 700;
    color: #64748b;
    letter-spacing: .04em;
}
@media (min-width: 1280px) {
    header.brand-v2 .hdr-fx { display: inline-flex; }
}
#mobileMenu .mfx-flag { width: 22px; height: 15px; border-radius: 2px; object-fit: cover; }

header.brand-v2 .nav-dropdown-panel {
    max-height: 95vh;
}
/* Menu icons (Travel Styles, Group Tours, Services) + Travel by Season chips. */
.nav-dd-icons { width: 17rem; padding: .6rem; }
.nav-dd-icons .nav-dd-link { display: flex; align-items: center; gap: .65rem; }
.nav-ic { width: 1.9rem; height: 1.9rem; border-radius: .6rem; background: rgba(29,32,78,.06); color: #1d204e;
    display: flex; align-items: center; justify-content: center; flex: 0 0 auto; transition: background-color .15s ease, color .15s ease; }
.nav-dd-icons .nav-dd-link:hover .nav-ic, .nav-dd-icons .nav-dd-link:focus-visible .nav-ic { background: #6b1932; color: #fff; }
.nav-season-lab { font-size: 9px; font-weight: 900; letter-spacing: .18em; text-transform: uppercase; color: #94a3b8;
    padding: .7rem .75rem .35rem; border-top: 1px solid #eef1f6; margin-top: .35rem; }
.nav-season-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .3rem; padding: 0 .2rem .2rem; }
.nav-season-grid a { display: flex; align-items: center; gap: .45rem; padding: .45rem .55rem; border-radius: .6rem;
    font-size: .8rem; font-weight: 600; color: #45464f; border: 1px solid #eef1f6; text-decoration: none; transition: border-color .15s ease, color .15s ease; }
.nav-season-grid a svg { color: #6b1932; flex: 0 0 auto; }
.nav-season-grid a:hover, .nav-season-grid a:focus-visible { border-color: #6b1932; color: #6b1932; }
#mobileMenu .m-ic-link { display: flex; align-items: center; gap: .6rem; }
#mobileMenu .m-ic-link svg { color: #6b1932; flex: 0 0 auto; }
#mobileMenu .nav-season-grid { padding: .25rem 0 0; max-width: 20rem; }
#mobileMenu .nav-season-lab { padding-left: 0; }
header.brand-v2 .nav-dropdown-scroll {
    flex: 0 0 auto;
    overflow: visible;
    max-height: none;
}
