/* ==========================================================================
   WowTrip Holiday — Core Stylesheet
   Design language inspired by premium travel-brand layouts.
   ========================================================================== */

:root {
    /* ---- Brand palette, sampled directly from WOWTRIPHOLIDAY_logo ----
       navy #002e63 (mountains / wordmark banner)
       sky  #06aafd (sun / plane swoosh)                              */
    --navy:        #002e63;   /* primary brand navy  */
    --navy-deep:   #001f45;   /* darker navy, footer */
    --navy-soft:   #0a4a8f;   /* lighter navy        */
    --teal:        #06aafd;   /* brand sky blue (primary accent) */
    --teal-dark:   #0288d1;   /* darker sky, hover / text */
    --sky-light:   #6dcefd;   /* sun highlight       */
    --sky-pale:    #ace2fd;   /* sun outer glow      */
    --sand:        #06aafd;   /* accent now follows the brand blue */
    --coral:       #ff6b52;   /* reserved: sale / urgency only */
    --green:       #25b36b;
    --whatsapp:    #25d366;

    --ink:         #0b2136;   /* navy-tinted near-black for headings */
    --body:        #47607a;
    --muted:       #5f7590;   /* darkened for AA contrast on white/tint */
    --line:        #e2eaf3;
    --bg:          #ffffff;
    --bg-soft:     #f4f8fc;
    --bg-tint:     #e8f1fa;

    --radius-sm:   10px;
    --radius:      16px;
    --radius-lg:   24px;
    --radius-pill: 999px;

    --shadow-sm:   0 4px 14px rgba(0, 46, 99, .06);
    --shadow:      0 14px 34px rgba(0, 46, 99, .10);
    --shadow-lg:   0 26px 60px rgba(0, 46, 99, .16);

    --font-body:   'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --font-head:   'Outfit', 'Plus Jakarta Sans', sans-serif;

    --container:   1200px;
    --header-h:    100px;
}

/* ------------------------------ Reset ---------------------------------- */
* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

html { overflow-x: hidden; }

body {
    font-family: var(--font-body);
    font-size: 15px;
    line-height: 1.65;
    color: var(--body);
    background: var(--bg);
    overflow-x: hidden;
    /* Guards against any single wide child forcing a sideways scroll. */
    max-width: 100%;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

h1, h2, h3, h4, h5 {
    font-family: var(--font-head);
    color: var(--ink);
    line-height: 1.2;
    font-weight: 800;
}

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.mt-10 { margin-top: 10px; }

/* ------------------------------ Buttons -------------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 13px 26px;
    border-radius: var(--radius-pill);
    font-weight: 700;
    font-size: 14.5px;
    line-height: 1;
    /* Long labels (e.g. "Chat with Our Travel Experts on WhatsApp" = 424px)
       cannot fit a 375px screen. `nowrap` stopped the button shrinking, so
       it spilled ~69px past the right edge and got clipped by
       body{overflow-x:hidden}. Allow wrapping as a last resort instead. */
    white-space: normal;
    text-align: center;
    transition: transform .22s ease, box-shadow .22s ease, background .22s ease, color .22s ease;
    border: 1.5px solid transparent;
}
.btn:hover { transform: translateY(-2px); }
.btn-sm   { padding: 10px 18px; font-size: 13.5px; }
.btn-lg   { padding: 17px 36px; font-size: 16px; }
.btn-block{ width: 100%; }

.btn-primary      { background: linear-gradient(135deg, var(--teal), var(--teal-dark)); color: #fff; box-shadow: 0 10px 24px rgba(6,170,253,.32); }
.btn-primary:hover{ box-shadow: 0 16px 32px rgba(6,170,253,.42); }

/* "sand" is now the brand sky blue — kept as a separate class so existing
   markup keeps working, but it reads as the logo's accent colour. */
.btn-sand         { background: linear-gradient(135deg, var(--sky-light), var(--teal)); color: #00203f; box-shadow: 0 10px 24px rgba(6,170,253,.34); }

.btn-whatsapp     { background: var(--whatsapp); color: #fff; box-shadow: 0 10px 24px rgba(37,211,102,.30); }
.btn-whatsapp:hover{ box-shadow: 0 16px 32px rgba(37,211,102,.38); }

.btn-ghost        { background: rgba(255,255,255,.10); color: var(--navy); border-color: rgba(0,46,99,.15); }
.btn-ghost:hover  { background: var(--navy); color: #fff; }

/* Keep WhatsApp green — it is a recognisable, high-converting cue and sits
   outside the brand palette on purpose. */
.btn-whatsapp-outline { background: transparent; color: #128c4b; border-color: rgba(37,211,102,.55); }
.btn-whatsapp-outline:hover { background: var(--whatsapp); color: #fff; border-color: var(--whatsapp); }
.btn-whatsapp-outline i { color: var(--whatsapp); }
.btn-whatsapp-outline:hover i { color: #fff; }

.btn-outline-light{ background: transparent; color: #fff; border-color: rgba(255,255,255,.55); }
.btn-outline-light:hover { background: #fff; color: var(--navy); }

.btn-link {
    display: inline-flex; align-items: center; gap: 8px;
    font-weight: 700; color: var(--navy-soft); font-size: 14px;
}
.btn-link i { transition: transform .2s ease; }
.btn-link:hover i { transform: translateX(4px); }

/* ------------------------------ Top bar -------------------------------- */
.topbar {
    background: var(--navy-deep);
    color: rgba(255,255,255,.82);
    font-size: 13px;
    padding: 15px 0 15px;
}
.topbar-inner {
    display: flex; align-items: center; justify-content: space-between;
    gap: 16px; min-height: 42px; flex-wrap: wrap;
}
.topbar-left { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.topbar-left span, .topbar-left a { display: inline-flex; align-items: center; gap: 7px; }
.topbar-left i { color: var(--sand); }
.topbar a:hover { color: #fff; }
.topbar-right { display: flex; align-items: center; gap: 16px; }

.promo-pill {
    background: linear-gradient(135deg, var(--coral), #ff4f34);
    color: #fff; padding: 5px 14px; border-radius: var(--radius-pill);
    white-space: nowrap; flex: 0 0 auto;
    font-weight: 700; font-size: 12.5px; letter-spacing: .2px;
}
.socials { display: flex; gap: 6px; }
.socials a {
    width: 27px; height: 27px; border-radius: 50%;
    display: grid; place-items: center;
    background: rgba(255,255,255,.10); font-size: 12px;
    transition: background .2s ease, transform .2s ease;
}
.socials a:hover { background: var(--teal); transform: translateY(-2px); color: #fff; }

/* ------------------------------ Header / nav --------------------------- */
.site-header {
    position: sticky; top: 0; z-index: 900;
    background: rgba(255,255,255,.96);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--line);
    transition: box-shadow .25s ease;
}
.site-header.scrolled { box-shadow: 0 8px 28px rgba(0,46,99,.10); }

.nav-inner {
    display: flex; align-items: center; justify-content: space-between;
    gap: 18px; min-height: var(--header-h);
}

/* The wordmark already contains "WOWTRIPHOLIDAY", so the logo image carries
   the whole brand — no adjacent text needed.
   NOTE: the artwork is near-square (520x381), so height also drives width:
   a 64px height renders ~87px wide. Sized to fill the header without
   crowding the nav. */
.brand { display: flex; align-items: center; flex: 0 0 auto; }
.brand img {
    height: 68px; width: auto; display: block;
    transition: transform .25s ease;
}
.brand:hover img { transform: scale(1.03); }
.brand:focus-visible { outline: 2px solid var(--teal); outline-offset: 4px; border-radius: 6px; }

/* Footer sits on navy, so it uses the white-out artwork variant and can run
   much larger there — there is no nav competing for space. */
.brand-light img { height: 118px; }

.main-nav > ul { display: flex; align-items: center; gap: 4px; flex-wrap: nowrap; }
.main-nav > ul > li { flex: 0 0 auto; }
.main-nav > ul > li > a {
    display: inline-flex; align-items: center; gap: 6px;
    flex-wrap: nowrap; flex-shrink: 0;
    padding: 10px 11px; border-radius: var(--radius-sm);
    font-weight: 600; font-size: 14.5px; color: var(--ink);
    white-space: nowrap;
    transition: color .2s ease, background .2s ease;
}
.main-nav > ul > li > a:hover,
.main-nav > ul > li > a.active { color: var(--navy); background: var(--bg-tint); }
.nav-badge {
    background: var(--coral); color: #fff; font-size: 9.5px; font-weight: 800;
    padding: 2px 6px; border-radius: 5px; letter-spacing: .5px;
}

/* ----------------------- Nav dropdown (Destinations) -------------------- */
/* The Destinations item lists every published destination. On desktop the
   panel opens on hover / keyboard focus (no JS); inside the drawer it becomes
   a touch-friendly accordion driven by the caret button (see main.js). */
.main-nav > ul > li.has-drop { position: relative; }

.nav-caret { font-size: 10px; color: var(--muted); transition: transform .2s ease; }
.main-nav > ul > li.has-drop:hover .nav-caret,
.main-nav > ul > li.has-drop:focus-within .nav-caret { transform: rotate(180deg); }

/* Invisible hover bridge. The nav item is only ~40px tall inside a 100px
   header, so the pointer crosses dead space on the way down to the panel and
   `:hover` would drop, snapping the menu shut. The bridge fills that gap and
   is only rendered while the item is hovered/focused, so it can never
   intercept clicks aimed at the page underneath. */
.main-nav > ul > li.has-drop::before {
    content: ""; position: absolute; left: 0; right: 0; top: 100%;
    height: calc(var(--header-h) / 2 + 12px);
    display: none;
}
.main-nav > ul > li.has-drop:hover::before,
.main-nav > ul > li.has-drop:focus-within::before { display: block; }

.nav-drop {
    position: absolute; left: 0; z-index: 30;
    /* 50% is the item's centre, so adding half the header lands the panel on
       the header's bottom edge — measured, not hard-coded, so it survives a
       change to --header-h. */
    top: calc(50% + var(--header-h) / 2 + 6px);
    display: grid; grid-template-columns: 1fr 1fr; column-gap: 4px; row-gap: 2px;
    min-width: 340px; max-height: 68vh; overflow-y: auto;
    padding: 8px;
    background: var(--bg); border: 1px solid var(--line);
    border-radius: var(--radius); box-shadow: var(--shadow);
    opacity: 0; visibility: hidden; transform: translateY(6px);
    transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
}
.main-nav > ul > li.has-drop:hover .nav-drop,
.main-nav > ul > li.has-drop:focus-within .nav-drop {
    opacity: 1; visibility: visible; transform: translateY(0);
}
.nav-drop a {
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    padding: 9px 12px; border-radius: var(--radius-sm);
    font-weight: 600; font-size: 14px; color: var(--ink); white-space: nowrap;
    transition: background .18s ease, color .18s ease;
}
.nav-drop a:hover, .nav-drop a:focus-visible { background: var(--bg-tint); color: var(--navy); }
.nav-drop-all { grid-column: 1 / -1; margin-top: 6px; padding-top: 6px; border-top: 1px solid var(--line); }
.nav-drop-all a { color: var(--teal-dark); font-weight: 700; }
.nav-drop-all a i { font-size: 11px; }
/* Desktop uses hover, so the caret button would be a duplicate control. */
.nav-drop-toggle { display: none; }

.nav-actions { display: flex; align-items: center; gap: 10px; }
.nav-mobile-cta { display: none; }

.nav-toggle {
    display: none; flex-direction: column; gap: 5px;
    width: 42px; height: 42px; border-radius: 11px;
    align-items: center; justify-content: center;
    background: var(--bg-tint);
}
.nav-toggle span { display: block; width: 19px; height: 2px; background: var(--navy); border-radius: 2px; transition: transform .25s ease, opacity .25s ease; }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-overlay {
    position: fixed; inset: 0; background: rgba(0,31,69,.5);
    opacity: 0; visibility: hidden; transition: .25s ease; z-index: 880;
}
.nav-overlay.show { opacity: 1; visibility: visible; }

/* ------------------------------ Hero ----------------------------------- */
.hero {
    position: relative;
    /* Bottom padding clears the stats band, which floats up over the hero
       with a negative margin — without this the avatar row collides with it. */
    padding: 82px 0 74px;
    background:
        linear-gradient(115deg, rgba(0,31,69,.94) 0%, rgba(0,46,99,.84) 45%, rgba(6,170,253,.62) 100%),
        url('https://images.unsplash.com/photo-1506905925346-21bda4d32df4?auto=format&fit=crop&w=1920&q=80') center/cover no-repeat;
    color: #fff;
    overflow: hidden;
}
.hero::after {
    content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 90px;
    background: linear-gradient(to top, var(--bg), transparent);
    pointer-events: none;
}
.hero-grid {
    display: grid; grid-template-columns: 1.08fr .92fr;
    gap: 52px; align-items: center; position: relative; z-index: 2;
}
.hero-eyebrow {
    display: inline-flex; align-items: center; gap: 9px;
    background: rgba(255,255,255,.13); border: 1px solid rgba(255,255,255,.22);
    padding: 8px 18px; border-radius: var(--radius-pill);
    font-size: 13px; font-weight: 700; letter-spacing: .4px;
    backdrop-filter: blur(6px);
}
.hero-eyebrow i { color: var(--sand); }
.hero h1 {
    color: #fff; font-size: clamp(36px, 4.6vw, 60px);
    margin: 22px 0 16px; letter-spacing: -1.2px;
}
.hero h1 .accent {
    background: linear-gradient(120deg, var(--teal), var(--sky-pale));
    -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero p.lead { font-size: 17px; color: rgba(255,255,255,.86); max-width: 520px; }
.hero-cta { display: flex; gap: 14px; margin-top: 32px; flex-wrap: wrap; }
.hero-trust {
    display: flex; align-items: center; gap: 14px; margin-top: 34px;
    padding-top: 26px; border-top: 1px solid rgba(255,255,255,.16);
}
.avatar-stack { display: flex; }
.avatar-stack span {
    width: 38px; height: 38px; border-radius: 50%; margin-left: -11px;
    border: 2.5px solid rgba(255,255,255,.85);
    display: grid; place-items: center; font-size: 13px; font-weight: 800; color: #fff;
}
.avatar-stack span:first-child { margin-left: 0; }
.avatar-stack span:nth-child(1) { background: linear-gradient(135deg,#06aafd,#0288d1); }
.avatar-stack span:nth-child(2) { background: linear-gradient(135deg,#0a4a8f,#002e63); }
.avatar-stack span:nth-child(3) { background: linear-gradient(135deg,#6dcefd,#06aafd); }
.avatar-stack span:nth-child(4) { background: linear-gradient(135deg,#ace2fd,#0a4a8f); }
.hero-trust p { font-size: 13.5px; color: rgba(255,255,255,.9); }
.hero-trust p strong { color: #fff; }

/* ------------------------------ Enquiry card --------------------------- */
.enquiry-card {
    background: #fff; border-radius: var(--radius-lg);
    padding: 30px; box-shadow: var(--shadow-lg);
    color: var(--body);
}
.enquiry-card h3 { font-size: 22px; margin-bottom: 5px; }
.enquiry-card .sub { font-size: 13.5px; color: var(--muted); margin-bottom: 20px; }
.enquiry-card .sub i { color: var(--green); }

.field { margin-bottom: 14px; }
.field label {
    display: block; font-size: 12.5px; font-weight: 700; color: var(--ink);
    margin-bottom: 6px; letter-spacing: .2px;
}
.field .input-wrap { position: relative; }
.field .input-wrap i {
    position: absolute; left: 14px; top: 50%; transform: translateY(-50%);
    color: var(--muted); font-size: 14px; pointer-events: none;
}
.field select, .field input {
    width: 100%; padding: 13px 14px 13px 40px;
    border: 1.5px solid var(--line); border-radius: var(--radius-sm);
    font-family: inherit; font-size: 14px; color: var(--ink);
    background: var(--bg-soft);
    appearance: none;
    transition: border-color .2s ease, background .2s ease, box-shadow .2s ease;
}
.field select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' fill='%238794a3' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right 14px center;
}
.field select:focus, .field input:focus {
    outline: none; border-color: var(--teal); background: #fff;
    box-shadow: 0 0 0 4px rgba(6,170,253,.14);
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
/* Honey-pot: kept in the DOM and reachable by bots, but off-screen and
   untabbable for people. Never use display:none — some bots skip those. */
.hp-field {
    position: absolute; left: -9999px; width: 1px; height: 1px;
    overflow: hidden; opacity: 0; pointer-events: none;
}
.form-note {
    font-size: 12px; color: var(--muted); text-align: center; margin-top: 12px;
}
.form-note i { color: var(--green); }

/* ------------------------------ Stats bar ------------------------------ */
.stats-band {
    position: relative; z-index: 3;
    margin-top: -44px;
}
.stats-grid {
    background: #fff; border-radius: var(--radius-lg);
    box-shadow: var(--shadow); border: 1px solid var(--line);
    display: grid; grid-template-columns: repeat(4, 1fr);
    padding: 26px 12px;
}
.stat {
    text-align: center; padding: 8px 18px;
    border-right: 1px solid var(--line);
}
.stat:last-child { border-right: none; }
.stat strong {
    display: block; font-family: var(--font-head); font-size: 30px;
    color: var(--navy); letter-spacing: -.6px;
}
.stat span { font-size: 13px; color: var(--muted); font-weight: 600; }

/* ------------------------------ Section shell -------------------------- */
.section { padding: 74px 0; }
.section-soft { background: var(--bg-soft); }
.section-tint { background: linear-gradient(180deg, var(--bg-tint), #fff); }

.section-head {
    display: flex; align-items: flex-end; justify-content: space-between;
    gap: 24px; margin-bottom: 40px; flex-wrap: wrap;
}
.section-head.center { flex-direction: column; align-items: center; text-align: center; }
.eyebrow {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: 12.5px; font-weight: 800; letter-spacing: 2.4px;
    text-transform: uppercase; color: var(--teal);
}
.eyebrow i { font-size: 13px; }
.section-head h2 {
    font-size: clamp(26px, 3.2vw, 40px); margin: 12px 0 10px;
    letter-spacing: -.8px;
}
.section-head p { max-width: 620px; color: var(--body); }

/* ------------------------------ Destination cards ---------------------- */
.dest-scroller {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(255px, 100%), 1fr));
    gap: 24px;
}
.dest-card {
    position: relative; border-radius: var(--radius);
    overflow: hidden; background: #fff;
    box-shadow: var(--shadow-sm); border: 1px solid var(--line);
    transition: transform .3s ease, box-shadow .3s ease;
}
.dest-card:hover { transform: translateY(-7px); box-shadow: var(--shadow-lg); }
.dest-media {
    position: relative; height: 190px;
    background-size: cover; background-position: center;
}
.dest-media::after {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(0,31,69,.80), rgba(0,31,69,0) 58%);
}
.dest-chip {
    position: absolute; top: 13px; left: 13px; z-index: 2;
    background: rgba(255,255,255,.94); color: var(--navy);
    font-size: 11.5px; font-weight: 800; padding: 5px 11px;
    border-radius: var(--radius-pill); letter-spacing: .4px;
}
.dest-rating {
    position: absolute; top: 13px; right: 13px; z-index: 2;
    background: rgba(0,31,69,.74); color: #fff; font-size: 12px;
    font-weight: 700; padding: 5px 10px; border-radius: var(--radius-pill);
    backdrop-filter: blur(5px);
}
.dest-rating i { color: var(--sand); }
.dest-name {
    position: absolute; bottom: 13px; left: 15px; right: 15px; z-index: 2;
}
.dest-name h3 { color: #fff; font-size: 20px; }
.dest-name span { font-size: 12.5px; color: rgba(255,255,255,.82); }
.dest-body {
    display: flex; align-items: center; justify-content: space-between;
    gap: 12px; padding: 16px 16px;
}
.dest-price small { display: block; font-size: 11px; color: var(--muted); font-weight: 600; }
.dest-price strong { font-family: var(--font-head); font-size: 20px; color: var(--navy); }
.dest-go {
    width: 38px; height: 38px; border-radius: 50%; flex: 0 0 auto;
    display: grid; place-items: center;
    background: var(--bg-tint); color: var(--navy); font-size: 13px;
    transition: background .25s ease, color .25s ease, transform .25s ease;
}
.dest-card:hover .dest-go { background: var(--teal); color: #fff; transform: rotate(-45deg); }

/* ------------------------------ Package cards -------------------------- */
.pkg-grid {
    /* min(...) lets the track shrink below 290px on very narrow screens
       (e.g. 320px, where the container is only 280px wide) instead of
       overflowing the container and being clipped by body{overflow-x:hidden}. */
    display: grid; grid-template-columns: repeat(auto-fill, minmax(min(290px, 100%), 1fr));
    gap: 26px;
}
.pkg-card {
    background: #fff; border-radius: var(--radius);
    overflow: hidden; border: 1px solid var(--line);
    box-shadow: var(--shadow-sm);
    display: flex; flex-direction: column;
    transition: transform .3s ease, box-shadow .3s ease;
}
.pkg-card:hover { transform: translateY(-7px); box-shadow: var(--shadow-lg); }

.pkg-media {
    position: relative; height: 205px;
    background-size: cover; background-position: center;
}
.pkg-media::after {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(0,31,69,.55), transparent 55%);
}
.pkg-badge {
    position: absolute; top: 13px; left: 13px; z-index: 2;
    background: linear-gradient(135deg, var(--coral), #ff4f34); color: #fff;
    font-size: 11px; font-weight: 800; padding: 5px 12px;
    border-radius: var(--radius-pill); letter-spacing: .3px;
}
.pkg-off {
    position: absolute; top: 13px; right: 13px; z-index: 2;
    background: var(--green); color: #fff; font-size: 11px; font-weight: 800;
    padding: 5px 11px; border-radius: var(--radius-pill);
}
.pkg-duration {
    position: absolute; bottom: 13px; left: 13px; z-index: 2;
    background: rgba(255,255,255,.94); color: var(--navy);
    font-size: 11.5px; font-weight: 800; padding: 5px 11px;
    border-radius: var(--radius-pill);
}
.pkg-body { padding: 18px 18px 20px; display: flex; flex-direction: column; flex: 1; }
.pkg-rating { display: flex; align-items: center; gap: 7px; font-size: 12.5px; margin-bottom: 8px; }
.stars { color: var(--sand); letter-spacing: 1px; font-size: 12px; }
.rating-val { font-weight: 800; color: var(--ink); }
.rating-count { color: var(--muted); }
.pkg-title { font-size: 18.5px; margin-bottom: 5px; }
.pkg-sub { font-size: 13.5px; color: var(--muted); margin-bottom: 13px; }
.pkg-tags { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 16px; }
.pkg-tags li {
    font-size: 11.5px; font-weight: 600; color: var(--navy-soft);
    background: var(--bg-tint); padding: 4px 11px; border-radius: var(--radius-pill);
}
.pkg-tags li::before { content: '✓ '; color: var(--green); font-weight: 800; }
.pkg-foot {
    display: flex; align-items: flex-end; justify-content: space-between;
    gap: 12px; margin-top: auto; padding-top: 15px; border-top: 1px dashed var(--line);
}
.pkg-price small { display: block; font-size: 11px; color: var(--muted); font-weight: 600; }
.pkg-price strong { font-family: var(--font-head); font-size: 23px; color: var(--navy); display: inline-block; }
.pkg-price s { font-size: 13px; color: var(--muted); margin-left: 6px; }
.pkg-price em { display: block; font-style: normal; font-size: 11px; color: var(--muted); }

/* ------------------------------ Marquee section ------------------------ */
.ribbon {
    background: linear-gradient(90deg, var(--navy) 0%, var(--navy-soft) 45%, var(--teal-dark) 100%);
    color: #fff; padding: 16px 0; overflow: hidden;
}
.ribbon-track { display: flex; gap: 46px; align-items: center; animation: slide 26s linear infinite; }
.ribbon-track span { font-weight: 700; font-size: 14.5px; white-space: nowrap; display: inline-flex; align-items: center; gap: 10px; }
.ribbon-track i { color: var(--sand); }
@keyframes slide { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ------------------------------ Features ------------------------------- */
.features-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(272px, 100%), 1fr)); gap: 22px; }
.feature-card {
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
    padding: 28px 24px; box-shadow: var(--shadow-sm);
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.feature-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: rgba(6,170,253,.38); }
.feature-icon {
    width: 54px; height: 54px; border-radius: 16px;
    display: grid; place-items: center; font-size: 21px;
    background: var(--bg-tint); color: var(--navy-soft); margin-bottom: 17px;
    transition: background .25s ease, color .25s ease;
}
.feature-card:hover .feature-icon { background: linear-gradient(135deg, var(--teal), var(--navy-soft)); color: #fff; }
.feature-card h3 { font-size: 17.5px; margin-bottom: 8px; }
.feature-card p { font-size: 13.8px; }

/* ------------------------------ Reviews -------------------------------- */
.reviews-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(292px, 100%), 1fr)); gap: 24px; }
.review-card {
    background: #fff; border-radius: var(--radius); padding: 26px 24px;
    border: 1px solid var(--line); box-shadow: var(--shadow-sm);
    position: relative; display: flex; flex-direction: column;
    transition: transform .25s ease, box-shadow .25s ease;
}
.review-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.review-card::before {
    content: '\201C'; position: absolute; top: 6px; right: 22px;
    font-family: Georgia, serif; font-size: 76px; color: var(--bg-tint); line-height: 1;
}
.review-card .stars { margin-bottom: 12px; }
.review-text { font-size: 14.2px; color: var(--body); flex: 1; position: relative; z-index: 1; }
.review-foot { display: flex; align-items: center; gap: 12px; margin-top: 20px; padding-top: 17px; border-top: 1px solid var(--line); }
.review-avatar {
    width: 44px; height: 44px; border-radius: 50%; flex: 0 0 auto;
    display: grid; place-items: center; color: #fff; font-weight: 800; font-size: 15px;
}
.review-foot strong { display: block; color: var(--ink); font-size: 14.5px; }
.review-foot small { color: var(--muted); font-size: 12.5px; }
.review-tag {
    display: inline-flex; align-items: center; gap: 6px;
    background: var(--bg-tint); color: var(--navy-soft);
    font-size: 11.5px; font-weight: 700; padding: 4px 5px 4px 10px;
    border-radius: var(--radius-pill); margin-bottom: 13px; width: fit-content;
}
.review-tag .dot { width: 18px; height: 18px; border-radius: 50%; background: var(--teal); color: #fff; display: grid; place-items: center; font-size: 9px; }
.review-tag .wa { background: var(--whatsapp); }

/* Rating badge row */
.rating-row { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 34px; justify-content: center; }
.rating-box {
    display: flex; align-items: center; gap: 12px;
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
    padding: 14px 22px; box-shadow: var(--shadow-sm);
}
.rating-box i { font-size: 22px; }
.rating-box .g { color: #4285f4; }
.rating-box .t { color: #00af87; }
.rating-box .f { color: #1877f2; }
.rating-box strong { display: block; color: var(--ink); font-size: 14.5px; }
.rating-box small { color: var(--muted); font-size: 12.5px; }

/* ------------------------------ WhatsApp chat cards -------------------- */
.chat-wall { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr)); gap: 22px; }
.chat-card {
    background: #eaf7ef; border: 1px solid #cfeadd; border-radius: var(--radius);
    padding: 20px; box-shadow: var(--shadow-sm); position: relative;
    transition: transform .25s ease, box-shadow .25s ease;
}
.chat-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.chat-head { display: flex; align-items: center; gap: 11px; margin-bottom: 13px; }
.chat-head .av {
    width: 42px; height: 42px; border-radius: 50%; color: #fff;
    display: grid; place-items: center; font-weight: 800; font-size: 15px; flex: 0 0 auto;
}
.chat-head strong { display: block; color: var(--ink); font-size: 14.5px; }
.chat-head small { color: #6b8b7c; font-size: 12px; }
.chat-bubble {
    background: #fff; border-radius: 4px 14px 14px 14px;
    padding: 14px 16px; font-size: 14px; color: #35544a;
    box-shadow: 0 3px 10px rgba(37,211,102,.10);
}
.chat-time { text-align: right; font-size: 11.5px; color: #7fa28f; margin-top: 8px; }
.chat-time i { color: var(--whatsapp); margin-left: 4px; }

.chat-cta { text-align: center; margin-top: 40px; }

/* ------------------------------ CTA banner ----------------------------- */
.cta-band {
    position: relative; color: #fff; text-align: center; padding: 84px 0;
    background:
        linear-gradient(120deg, rgba(0,31,69,.90) 0%, rgba(0,46,99,.72) 55%, rgba(6,170,253,.38) 100%),
        url('https://images.unsplash.com/photo-1488646953014-85cb44e25828?auto=format&fit=crop&w=1920&q=80') center/cover fixed no-repeat;
}
.cta-band h2 { color: #fff; font-size: clamp(27px, 3.6vw, 44px); letter-spacing: -.8px; }
.cta-band p { color: rgba(255,255,255,.88); font-size: 17px; margin: 14px auto 30px; max-width: 620px; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ------------------------------ Newsletter ----------------------------- */
.newsletter-band {
    background: linear-gradient(115deg, var(--navy-soft), var(--navy) 55%, var(--navy-deep));
    color: #fff; padding: 50px 0;
}
.newsletter-inner {
    display: flex; align-items: center; justify-content: space-between;
    gap: 34px; flex-wrap: wrap;
}
.newsletter-text h3 { color: #fff; font-size: 25px; margin-bottom: 6px; }
.newsletter-text h3 i { color: var(--sand); margin-right: 9px; }
.newsletter-text p { color: rgba(255,255,255,.82); font-size: 14.5px; }
.newsletter-form {
    display: flex; gap: 11px; flex: 1; max-width: 500px; min-width: 280px;
    flex-wrap: wrap; align-items: center;
}
.newsletter-form input {
    flex: 1; padding: 15px 22px; border-radius: var(--radius-pill);
    border: 1.5px solid rgba(255,255,255,.45); background: rgba(255,255,255,.18);
    color: #fff; font-family: inherit; font-size: 14.5px;
}
/* Placeholder must stay readable on the navy band — .85 white, not .65. */
.newsletter-form input::placeholder { color: rgba(255,255,255,.85); opacity: 1; }
.newsletter-form input:focus { outline: none; background: rgba(255,255,255,.26); border-color: var(--sky-pale); }
.newsletter-form .btn-primary {
    background: linear-gradient(135deg, var(--teal), var(--teal-dark));
    color: #fff; box-shadow: 0 10px 24px rgba(6,170,253,.34);
}
.newsletter-form .btn-primary[disabled] { opacity: .7; cursor: progress; }
/* Inline result message. It sits on its own line beneath the field/button
   pair, so it reads as a reply to the whole form rather than a label
   squeezed beside the Subscribe button. */
.newsletter-status {
    flex: 0 0 100%; width: 100%;
    margin: 14px 0 0; padding: 11px 16px;
    font-size: 13.5px; font-weight: 600; line-height: 1.5;
    text-align: center;
    border-radius: var(--radius);
    /* Guard against a long server message stretching the row off-screen. */
    overflow-wrap: anywhere;
}
.newsletter-status.is-ok {
    color: #d7ffe6;
    background: rgba(60, 200, 120, .18);
    border: 1px solid rgba(120, 230, 165, .45);
}
.newsletter-status.is-err {
    color: #ffe0d9;
    background: rgba(230, 90, 70, .20);
    border: 1px solid rgba(255, 150, 135, .45);
}
/* The form is a flex row; the status line must break onto its own row. */
.newsletter-form { flex-wrap: wrap; }

/* ------------------------------ Footer --------------------------------- */
.site-footer { background: var(--navy-deep); color: rgba(255,255,255,.72); padding-top: 66px; }
.footer-grid {
    display: grid; grid-template-columns: 1.7fr 1fr 1fr 1fr 1.35fr;
    gap: 34px; padding-bottom: 50px;
}
.footer-col h4 {
    color: #fff; font-size: 15.5px; margin-bottom: 18px;
    letter-spacing: .3px; position: relative; padding-bottom: 11px;
}
.footer-col h4::after {
    content: ''; position: absolute; left: 0; bottom: 0;
    width: 34px; height: 3px; border-radius: 3px;
    background: linear-gradient(90deg, var(--sand), var(--teal));
}
.footer-col ul li { margin-bottom: 10px; font-size: 14px; }
.footer-col ul a { transition: color .2s ease, padding-left .2s ease; }
.footer-col ul a:hover { color: var(--sand); padding-left: 4px; }
.link-strong { color: var(--sand); font-weight: 700; }
.footer-about p { font-size: 14px; margin: 20px 0 20px; max-width: 340px; }
.footer-certs { display: flex; flex-wrap: wrap; gap: 9px; }
.footer-certs span {
    display: inline-flex; align-items: center; gap: 7px;
    background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.13);
    padding: 7px 13px; border-radius: var(--radius-pill);
    font-size: 12px; font-weight: 700; color: rgba(255,255,255,.88);
}
.footer-certs i { color: var(--sand); }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; line-height: 1.6; }
.footer-contact i { color: var(--sand); margin-top: 4px; }

.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 22px 0; }
.footer-bottom-inner {
    display: flex; align-items: center; justify-content: space-between;
    gap: 18px; flex-wrap: wrap; font-size: 13.5px;
}
.footer-legal { display: flex; gap: 22px; flex-wrap: wrap; }
.footer-legal a:hover { color: var(--sand); }

/* ------------------------------ Floating --------------------------------- */
.float-wa {
    position: fixed; right: 22px; bottom: 22px; z-index: 950;
    width: 58px; height: 58px; border-radius: 50%;
    background: var(--whatsapp); color: #fff; font-size: 28px;
    display: grid; place-items: center;
    box-shadow: 0 12px 30px rgba(37,211,102,.45);
    animation: pulse 2.4s infinite;
}
.float-wa:hover { transform: scale(1.08); }
@keyframes pulse {
    0%   { box-shadow: 0 12px 30px rgba(37,211,102,.45), 0 0 0 0 rgba(37,211,102,.55); }
    70%  { box-shadow: 0 12px 30px rgba(37,211,102,.45), 0 0 0 18px rgba(37,211,102,0); }
    100% { box-shadow: 0 12px 30px rgba(37,211,102,.45), 0 0 0 0 rgba(37,211,102,0); }
}

.back-to-top {
    position: fixed; right: 26px; bottom: 92px; z-index: 940;
    width: 44px; height: 44px; border-radius: 50%;
    background: var(--navy); color: #fff; font-size: 15px;
    display: grid; place-items: center;
    opacity: 0; visibility: hidden; transform: translateY(12px);
    transition: .25s ease; box-shadow: var(--shadow);
}
.back-to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { background: var(--teal); }

/* ------------------------------ Reveal animation ----------------------- */
/* Only hide content when JS is available to reveal it again (html.js is set
   inline in the head). Without JS the page renders fully visible. */
html.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
html.js .reveal.visible { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
    html.js .reveal { opacity: 1; transform: none; transition: none; }
    .ribbon-track { animation: none; }
    .float-wa { animation: none; }
    html { scroll-behavior: auto; }
}

/* ------------------------------ Responsive ----------------------------- */
@media (max-width: 1100px) {
    .footer-grid { grid-template-columns: repeat(3, 1fr); }
    .footer-about { grid-column: 1 / -1; }
}

@media (max-width: 1024px) {
    /* Off-canvas drawer.
       Park it with translateX(100%), NOT `right: -340px`: a fixed element
       pushed off-screen with `right` still enlarges the scrollable area
       (it created 340px of horizontal scroll on every mobile width).
       A transform moves it without affecting layout or scroll bounds. */
    .main-nav {
        position: fixed; top: 0; right: 0; z-index: 890;
        width: 320px; max-width: 88vw; height: 100vh;
        background: #fff; padding: 88px 22px 30px;
        box-shadow: -12px 0 40px rgba(0,31,69,.18);
        transform: translateX(100%);
        visibility: hidden;
        transition: transform .3s ease, visibility .3s ease;
        overflow-y: auto; overscroll-behavior: contain;
    }
    .main-nav.open { transform: translateX(0); visibility: visible; }
    .main-nav > ul { flex-direction: column; align-items: stretch; gap: 2px; }
    .main-nav > ul > li > a { padding: 13px 14px; border-radius: var(--radius-sm); font-size: 15px; }

    /* Dropdown -> inline accordion. The link keeps working as a link; the
       caret button on its right expands the list, because hover has no
       meaning on touch. */
    .main-nav > ul > li.has-drop { position: static; display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
    .main-nav > ul > li.has-drop::before { display: none; }
    .main-nav > ul > li.has-drop > a { flex: 1 1 auto; }
    .nav-caret { display: none; }
    .nav-drop-toggle {
        display: inline-flex; align-items: center; justify-content: center;
        flex: 0 0 auto; width: 42px; height: 42px;
        border-radius: var(--radius-sm); background: var(--bg-tint);
        color: var(--navy); font-size: 12px;
        transition: transform .2s ease, background .2s ease;
    }
    .nav-drop-toggle:hover { background: var(--sky-pale); }
    .nav-drop-toggle[aria-expanded="true"] { transform: rotate(180deg); }
    .nav-drop {
        position: static; width: 100%; min-width: 0; max-height: none; overflow: visible;
        grid-template-columns: 1fr; row-gap: 1px;
        margin: 4px 0 8px; padding: 4px 0 4px 12px;
        background: none; border: none; border-left: 2px solid var(--line);
        border-radius: 0; box-shadow: none;
        opacity: 1; visibility: visible; transform: none;
        display: none;
    }
    .nav-drop.open { display: grid; }
    .nav-drop a { padding: 10px 12px; font-size: 14.5px; }
    .nav-drop-all { margin-top: 4px; padding-top: 4px; }

    .nav-mobile-cta { display: block; margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--line); }
    .nav-toggle { display: flex; }
    .nav-actions .btn-ghost { display: none; }
    .nav-actions .btn-primary { display: none; }

    .hero-grid { grid-template-columns: 1fr; gap: 44px; }
    .brand img { height: 60px; }
    .brand-light img { height: 100px; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 8px 0; }
    .stat:nth-child(2) { border-right: none; }
    .stat:nth-child(1), .stat:nth-child(2) { padding-bottom: 18px; border-bottom: 1px solid var(--line); }
    .stat:nth-child(3), .stat:nth-child(4) { padding-top: 18px; }
}

@media (max-width: 768px) {
    .topbar-left span:first-child { display: none; }
    /* Wrap as ONE centred row. With `space-between` + wrap, .topbar-right
       dropped to a second line and snapped to the far LEFT (pill starting
       at x=20) instead of staying right-aligned — 68px tall on most phones
       and 104px on 320px. Centring both groups keeps it to two tidy lines
       at worst and stops the promo pill from looking detached. */
    .topbar-inner {justify-content: center;gap: 10px 18px;}
    .topbar-left { gap: 14px; justify-content: center; }
    .topbar-right {gap: 12px;}
    .topbar-right .socials { display: none; }
    .section { padding: 56px 0; }
    .hero { padding-top: 56px; }
    .hero h1 { letter-spacing: -.5px; }
    .section-head { margin-bottom: 30px; }
    .enquiry-card { padding: 24px 20px; }
    .newsletter-inner { flex-direction: column; align-items: stretch; }
    .newsletter-form { flex-direction: column; max-width: 100%; }
    .newsletter-form .btn { padding: 15px 26px; }
    .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 28px; }
    .cta-band { background-attachment: scroll; padding: 60px 0; }
    .float-wa { width: 52px; height: 52px; font-size: 25px; right: 16px; bottom: 16px; }
    .back-to-top { right: 20px; bottom: 80px; }
}

@media (max-width: 520px) {
    body { font-size: 14.5px; }
    .brand img { height: 50px; }
    .brand-light img { height: 84px; }
    .field-row { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: 1fr; }
    .stat { border-right: none; border-bottom: 1px solid var(--line); padding: 14px 10px; }
    .stat:last-child { border-bottom: none; }
    .stat:nth-child(2) { border-bottom: 1px solid var(--line); }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom-inner { flex-direction: column; text-align: center; }
    .footer-legal { justify-content: center; }
    .hero-cta .btn { width: 100%; }
    .nav-actions .btn-whatsapp-outline { display: none; }
}
/* ==========================================================================
   Inner pages — page hero, breadcrumbs, filter chips, empty state
   ========================================================================== */

.page-hero {
    position: relative;
    padding: 74px 0 62px;
    color: #fff;
    background:
        linear-gradient(115deg, rgba(0,31,69,.94) 0%, rgba(0,46,99,.84) 45%, rgba(6,170,253,.62) 100%),
        url('https://images.unsplash.com/photo-1506905925346-21bda4d32df4?auto=format&fit=crop&w=1920&q=80') center/cover no-repeat;
    overflow: hidden;
}
.page-hero::after {
    content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 70px;
    background: linear-gradient(to top, var(--bg), transparent);
    pointer-events: none;
}
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 {
    color: #fff; font-size: clamp(28px, 3.8vw, 46px);
    letter-spacing: -1px; margin: 12px 0 10px;
}
.page-hero p { color: rgba(255,255,255,.86); font-size: 16.5px; max-width: 620px; }

.eyebrow-light { color: var(--sky-pale); }

/* ----------------------------- Breadcrumbs ---------------------------- */
.crumbs {
    display: flex; align-items: center; gap: 9px; flex-wrap: wrap;
    font-size: 13px; color: rgba(255,255,255,.72); margin-bottom: 6px;
}
.crumbs a { color: rgba(255,255,255,.9); font-weight: 600; }
.crumbs a:hover { color: #fff; text-decoration: underline; }
.crumbs i { font-size: 9px; opacity: .6; }
.crumbs span { color: rgba(255,255,255,.72); }

/* ---------------------------- Filter chips ---------------------------- */
.chips { display: flex; flex-wrap: wrap; gap: 9px; margin-bottom: 30px; }
.chip-filter {
    padding: 8px 17px; border-radius: var(--radius-pill);
    background: #fff; border: 1.5px solid var(--line);
    font-size: 13.5px; font-weight: 600; color: var(--body);
    transition: background .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
}
.chip-filter:hover { border-color: rgba(6,170,253,.5); color: var(--navy); transform: translateY(-1px); }
.chip-filter.active {
    background: linear-gradient(135deg, var(--teal), var(--teal-dark));
    border-color: transparent; color: #fff;
    box-shadow: 0 8px 18px rgba(6,170,253,.28);
}

/* ---------------------------- Pagination ------------------------------ */
.pagination {
    display: flex; align-items: center; justify-content: space-between;
    flex-wrap: wrap; gap: 14px; margin-top: 34px;
}
.pagination-info { font-size: 13.5px; color: var(--muted); }
.pagination-info strong { color: var(--ink); }
.pagination-list {
    display: flex; align-items: center; gap: 7px;
    list-style: none; margin: 0; padding: 0;
}
.page-link {
    display: inline-flex; align-items: center; justify-content: center;
    min-width: 38px; height: 38px; padding: 0 11px;
    border-radius: var(--radius-pill); border: 1.5px solid var(--line);
    background: #fff; color: var(--body); font-size: 13.5px; font-weight: 700;
    transition: border-color .2s ease, color .2s ease, transform .2s ease;
}
.page-link:hover { border-color: rgba(6,170,253,.5); color: var(--navy); transform: translateY(-1px); }
.page-link.is-active {
    background: linear-gradient(135deg, var(--teal), var(--teal-dark));
    border-color: transparent; color: #fff;
    box-shadow: 0 8px 18px rgba(6,170,253,.28);
}
.page-link.is-disabled { opacity: .45; pointer-events: none; }
.page-ellipsis { padding: 0 3px; color: var(--muted); font-weight: 700; }

/* ----------------------------- Result bar ----------------------------- */
.result-bar {
    display: flex; align-items: center; justify-content: space-between;
    gap: 16px; flex-wrap: wrap; margin-bottom: 22px;
}
.result-count { font-size: 14px; color: var(--muted); }
.result-count strong { color: var(--ink); }

/* ---------------------------- Empty state ----------------------------- */
.empty-state {
    text-align: center; padding: 70px 24px;
    background: #fff; border: 1px solid var(--line);
    border-radius: var(--radius-lg); box-shadow: var(--shadow-sm);
}
.empty-state i { font-size: 44px; color: #c3d4e5; margin-bottom: 16px; display: block; }
.empty-state h3 { font-size: 21px; margin-bottom: 8px; }
.empty-state p { color: var(--body); margin-bottom: 22px; max-width: 460px; margin-inline: auto; }

/* ==========================================================================
   Package details page
   ========================================================================== */
.detail-grid {
    display: grid; grid-template-columns: 1.55fr .95fr;
    gap: 34px; align-items: start;
}

.detail-hero {
    position: relative; border-radius: var(--radius-lg); overflow: hidden;
    height: 380px; background-size: cover; background-position: center;
    background-color: var(--bg-tint);
    box-shadow: var(--shadow);
}
.detail-hero::after {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(0,31,69,.82), rgba(0,31,69,.12) 62%);
}
.detail-hero__badges { position: absolute; top: 16px; left: 16px; right: 16px; z-index: 2; display: flex; gap: 9px; flex-wrap: wrap; }
.detail-hero__title {
    position: absolute; bottom: 0; left: 0; right: 0; z-index: 2; padding: 26px 28px;
}
/* h2 as well as h1: the banner above owns the page's <h1>, so the title
   inside the detail hero is a sub-heading but must look identical. */
.detail-hero__title h1,
.detail-hero__title h2 { color: #fff; font-size: clamp(24px, 3.2vw, 38px); letter-spacing: -.8px; margin: 0; }
.detail-hero__title p { color: rgba(255,255,255,.86); font-size: 15px; margin-top: 6px; }

.detail-meta {
    display: flex; gap: 26px; flex-wrap: wrap;
    padding: 20px 26px; background: #fff;
    border: 1px solid var(--line); border-radius: var(--radius);
    margin-top: 22px; box-shadow: var(--shadow-sm);
}
.detail-meta__item { display: flex; align-items: center; gap: 11px; }
.detail-meta__item i {
    width: 40px; height: 40px; border-radius: 12px; flex: 0 0 auto;
    display: grid; place-items: center; font-size: 16px;
    background: var(--bg-tint); color: var(--navy-soft);
}
.detail-meta__item small { display: block; font-size: 11.5px; color: var(--muted); font-weight: 700; text-transform: uppercase; letter-spacing: .5px; }
.detail-meta__item strong { color: var(--ink); font-size: 15px; }

.detail-block { margin-top: 30px; }
.detail-block h2 { font-size: 20px; margin-bottom: 14px; }
.detail-block p { color: var(--body); line-height: 1.75; }

.include-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 12px; }
.include-item {
    display: flex; align-items: center; gap: 10px;
    padding: 12px 15px; background: #fff;
    border: 1px solid var(--line); border-radius: var(--radius-sm);
    font-size: 14px; font-weight: 600; color: var(--navy-soft);
}
.include-item i { color: var(--green); font-size: 14px; }

/* Sticky booking card */
.booking-card {
    position: sticky; top: 92px;
    background: #fff; border: 1px solid var(--line);
    border-radius: var(--radius-lg); box-shadow: var(--shadow);
    overflow: hidden;
}
.booking-card__head { padding: 22px 24px; border-bottom: 1px solid var(--line); }
.booking-card__head small { font-size: 12px; color: var(--muted); font-weight: 700; }
.booking-card__price { display: flex; align-items: baseline; gap: 9px; margin-top: 4px; }
.booking-card__price strong { font-family: var(--font-head); font-size: 34px; color: var(--navy); letter-spacing: -1px; }
.booking-card__price s { color: var(--muted); font-size: 15px; }
.booking-card__save {
    display: inline-block; margin-top: 9px;
    background: #eaf7ef; color: #1c7a4a;
    font-size: 12px; font-weight: 800; padding: 4px 11px; border-radius: var(--radius-pill);
}
.booking-card__body { padding: 20px 24px 24px; }
.booking-card__note { font-size: 12.5px; color: var(--muted); text-align: center; margin-top: 12px; }
.booking-card__note i { color: var(--green); }
.booking-card__list { margin-top: 18px; padding-top: 18px; border-top: 1px dashed var(--line); }
.booking-card__list li {
    display: flex; align-items: center; gap: 9px;
    font-size: 13.5px; color: var(--body); margin-bottom: 9px;
}
.booking-card__list i { color: var(--teal-dark); font-size: 12px; }

/* Related packages */
.related-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(290px, 100%), 1fr)); gap: 26px; }

@media (max-width: 1024px) {
    .detail-grid { grid-template-columns: 1fr; gap: 26px; }
    .booking-card { position: static; }
    .detail-hero { height: 300px; }
}
@media (max-width: 768px) {
    .page-hero { padding: 52px 0 46px; }
    .detail-meta { gap: 18px; padding: 17px 20px; }
    .detail-hero__title { padding: 20px; }
}
@media (max-width: 560px) {
    .detail-hero { height: 240px; }
    .booking-card__price strong { font-size: 28px; }
    .include-grid { grid-template-columns: 1fr; }
    .chips { gap: 7px; }
    .chip-filter { padding: 7px 13px; font-size: 12.8px; }
    .pagination { justify-content: center; text-align: center; }
    .pagination-info { width: 100%; }
    .page-link { min-width: 34px; height: 34px; padding: 0 9px; font-size: 12.8px; }
}
/* ---------------------------- Sort control ---------------------------- */
.sort-form { display: flex; align-items: center; gap: 9px; }
.sort-form label { font-size: 13px; color: var(--muted); font-weight: 600; }
.sort-form select {
    padding: 9px 34px 9px 14px; border-radius: var(--radius-pill);
    border: 1.5px solid var(--line); background: #fff;
    font-family: inherit; font-size: 13.5px; font-weight: 600; color: var(--ink);
    appearance: none; cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' fill='%235f7590' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right 13px center;
}
.sort-form select:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 4px rgba(6,170,253,.13); }
/* ==========================================================================
   Special Deals page — featured deal banner
   ========================================================================== */
.deal-feature {
    display: grid; grid-template-columns: 1fr 1.1fr;
    background: #fff; border: 1px solid var(--line);
    border-radius: var(--radius-lg); overflow: hidden;
    box-shadow: var(--shadow); margin-bottom: 10px;
}
.deal-feature__media {
    position: relative; min-height: 320px;
    background-size: cover; background-position: center;
    background-color: var(--bg-tint);
}
.deal-feature__media::after {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(120deg, rgba(0,31,69,.55), rgba(0,31,69,.05));
}
.deal-feature__flag {
    position: absolute; top: 18px; left: 18px; z-index: 2;
    background: linear-gradient(135deg, var(--coral), #ff4f34); color: #fff;
    font-size: 12px; font-weight: 800; padding: 7px 15px;
    border-radius: var(--radius-pill); letter-spacing: .3px;
    box-shadow: 0 8px 20px rgba(255,79,52,.35);
}
.deal-feature__body { padding: 34px 36px; display: flex; flex-direction: column; justify-content: center; }
.deal-feature__body h2 { font-size: clamp(22px, 2.6vw, 31px); margin: 10px 0 8px; letter-spacing: -.6px; }
.deal-feature__body > p { color: var(--body); }
.deal-feature__price { display: flex; align-items: baseline; gap: 11px; flex-wrap: wrap; margin-top: 18px; }
.deal-feature__price strong { font-family: var(--font-head); font-size: 34px; color: var(--navy); letter-spacing: -1px; }
.deal-feature__price s { color: var(--muted); font-size: 16px; }
.deal-save {
    background: #eaf7ef; color: #1c7a4a;
    font-size: 12.5px; font-weight: 800; padding: 5px 12px;
    border-radius: var(--radius-pill);
}
.deal-feature__note { font-size: 13.5px; color: var(--muted); margin-top: 6px; }
.deal-feature__actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; }

/* ==========================================================================
   Alpha grouping (Destinations page)
   ========================================================================== */
.alpha-group { margin-bottom: 40px; scroll-margin-top: 110px; }
.alpha-heading {
    font-size: 20px; color: var(--navy);
    margin-bottom: 18px; padding-bottom: 10px;
    border-bottom: 2px solid var(--bg-tint);
    letter-spacing: -.3px;
}

/* ==========================================================================
   Inline search (listing pages)
   ========================================================================== */
.search-inline { position: relative; min-width: 260px; }
.search-inline > i {
    position: absolute; left: 15px; top: 50%; transform: translateY(-50%);
    color: var(--muted); font-size: 13px; pointer-events: none;
}
.search-inline input {
    width: 100%; padding: 10px 16px 10px 38px;
    border: 1.5px solid var(--line); border-radius: var(--radius-pill);
    font-family: inherit; font-size: 14px; color: var(--ink); background: #fff;
    transition: border-color .2s ease, box-shadow .2s ease;
}
.search-inline input:focus {
    outline: none; border-color: var(--teal);
    box-shadow: 0 0 0 4px rgba(6,170,253,.13);
}
.visually-hidden {
    position: absolute; width: 1px; height: 1px; overflow: hidden;
    clip: rect(0 0 0 0); white-space: nowrap;
}

/* ==========================================================================
   Static content pages (About / Contact)
   ========================================================================== */
.prose { max-width: 780px; }
.prose h2 { font-size: 24px; margin: 34px 0 12px; }
.prose h2:first-child { margin-top: 0; }
.prose p { margin-bottom: 15px; line-height: 1.8; }
.prose ul { margin: 0 0 18px 0; }
.prose ul li {
    position: relative; padding-left: 26px; margin-bottom: 10px; line-height: 1.7;
}
.prose ul li::before {
    content: '\f00c'; font-family: 'Font Awesome 6 Free'; font-weight: 900;
    position: absolute; left: 0; top: 2px; font-size: 12px; color: var(--green);
}

/* Destination page: every package for that place ------------------------- */
/* Fixed column count rather than auto-fit: with 4 cards auto-fit would place
   3 + 1 and stretch the lone card across a third of the row, leaving a gap.
   `auto-fill` keeps every card the same width; the last row is centred. */
.dest-pkg-grid {
    display: grid; gap: 22px;
    grid-template-columns: repeat(auto-fill, minmax(310px, 1fr));
    justify-content: center;
}
/* Don't let a short final row's cards stretch — keep them card-sized. */
.dest-pkg-grid > .dest-pkg { align-self: stretch; }

/* ------------------------- Optional scroller --------------------------- */
/* Destinations carry 3–4 trips, which is a single comfortable row — a scroller
   there would clip the first card and add a scrollbar for a few pixels of
   travel, which reads as a bug rather than a feature. So the default is a
   plain fitting row, and the horizontal treatment only engages on the
   .is-scroller variant, applied by the template when the count is genuinely
   too large to show at once.

   The row is a grid whose column count equals the number of cards, so 3–4 of
   them share the width exactly — no stretching, no orphan card, no clipping.
   A flex row cannot do this: a growing last card stretches to full width when
   it wraps, and a fixed basis leaves the row short. */
/* One column per card. --pkg-cols is set inline by the template, which is the
   only place that knows how many cards there are; the fallback keeps a sane row
   if the variable is ever missing. `minmax(0, 1fr)` lets a column shrink below
   its content width instead of overflowing the track.

   The count is computed in PHP and handed in as --pkg-cols, because `repeat()`
   needs a literal integer and CSS cannot clamp a custom property into one. */
.scroller-track {
    display: grid;
    grid-template-columns: repeat(var(--pkg-cols, 3), minmax(0, 1fr));
    gap: 22px;
    align-items: stretch;
}

/* Scrolling variant, for destinations with too many trips to show at once.
   `grid-auto-flow: column` lays the cards along one axis; the explicit width
   per column replaces the equal-share sizing used by the fitting row. */
.scroller-track.is-scroller {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: clamp(260px, 78vw, 310px);
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x proximity;
    /* Room for the hover lift and focus ring, which the overflow box would
       otherwise clip. */
    padding: 6px 2px 16px;
    margin-inline: -2px;              /* so the first card lines up with the container */
    scrollbar-width: thin;
    scrollbar-color: var(--line) transparent;
}
.scroller-track.is-scroller > .dest-pkg { scroll-snap-align: start; }

.scroller-track.is-scroller::-webkit-scrollbar { height: 8px; }
.scroller-track.is-scroller::-webkit-scrollbar-track { background: transparent; }
.scroller-track.is-scroller::-webkit-scrollbar-thumb {
    background: var(--line); border-radius: var(--radius-pill);
}
.scroller-track.is-scroller::-webkit-scrollbar-thumb:hover { background: #c9d8e8; }

.scroller-nav { display: flex; gap: 9px; flex-shrink: 0; }
.scroller-nav[hidden] { display: none; }
.scroller-btn {
    width: 42px; height: 42px; border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
    background: #fff; border: 1.5px solid var(--line); color: var(--navy);
    font-size: 14px; cursor: pointer;
    transition: background .2s ease, color .2s ease, border-color .2s ease, opacity .2s ease;
}
.scroller-btn:hover:not(:disabled) {
    background: linear-gradient(135deg, var(--teal), var(--teal-dark));
    border-color: transparent; color: #fff;
}
.scroller-btn:disabled { opacity: .4; cursor: default; }
.scroller-btn:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; }

@media (max-width: 700px) {
    .dest-pkg-grid { grid-template-columns: 1fr; }
    .dest-pkg__tags { grid-template-columns: 1fr; }
    /* One card per row on a phone — the fitting row stacks cleanly. */
    .scroller-track { grid-template-columns: 1fr; gap: 18px; }
}
.dest-pkg {
    display: flex; flex-direction: column; overflow: hidden;
    background: #fff; border: 1px solid var(--line);
    border-radius: var(--radius); box-shadow: var(--shadow-sm);
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.dest-pkg:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.dest-pkg.is-featured { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(6,170,253,.14); }
.dest-pkg__media {
    position: relative; height: 168px;
    background-size: cover; background-position: center;
}
.dest-pkg__body { display: flex; flex-direction: column; flex: 1; padding: 18px 20px 20px; }
.dest-pkg__head { display: flex; align-items: flex-start; gap: 10px; justify-content: space-between; }
.dest-pkg__head h3 { font-size: 17px; line-height: 1.35; margin: 0; }
.dest-pkg__badge {
    flex: none; font-size: 10.5px; font-weight: 800; letter-spacing: .4px;
    text-transform: uppercase; padding: 4px 9px; border-radius: var(--radius-pill);
    background: var(--bg-tint); color: var(--navy-soft);
}
.dest-pkg__route { font-size: 13.5px; color: var(--body); margin: 7px 0 0; }
.dest-pkg__route i { color: var(--teal); margin-right: 4px; }
.dest-pkg__meta {
    display: flex; flex-wrap: wrap; gap: 14px;
    margin: 12px 0 0; font-size: 12.5px; color: var(--body);
}
.dest-pkg__meta i { color: var(--sand-dark, #e0a944); margin-right: 4px; }
.dest-pkg__tags {
    list-style: none; margin: 14px 0 0; padding: 0;
    display: grid; grid-template-columns: 1fr 1fr; gap: 7px 12px;
}
.dest-pkg__tags li { font-size: 12.5px; color: var(--body); }
.dest-pkg__tags i { color: var(--green); margin-right: 5px; font-size: 11px; }
.dest-pkg__foot {
    display: flex; align-items: flex-end; justify-content: space-between; gap: 12px;
    margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line);
}
.dest-pkg__price { display: flex; flex-direction: column; line-height: 1.25; }
.dest-pkg__price small { font-size: 11px; color: var(--body); }
.dest-pkg__price strong { font-size: 20px; color: var(--navy-soft); }
.dest-pkg__price s { font-size: 12.5px; color: var(--body); opacity: .75; }
.dest-pkg__price em { font-size: 11px; font-style: normal; color: var(--body); }

/* Legal / policy pages (Privacy, Terms, Refund) -------------------------- */
.legal-meta {
    max-width: 780px; margin: 0 0 26px; padding: 16px 20px;
    background: var(--bg-tint); border: 1px solid var(--line);
    border-radius: var(--radius); font-size: 14px; color: var(--body);
}
.legal-meta strong { color: var(--navy-soft); }
.legal .prose h2 {
    padding-top: 22px; border-top: 1px solid var(--line);
}
.legal .prose h2:first-child { padding-top: 0; border-top: 0; }
/* Policy lists are plain bullets — the green tick used elsewhere would
   wrongly imply these are benefits. */
.legal .prose ul li::before {
    content: '\f111'; font-size: 7px; color: var(--navy-soft); top: 7px;
}
.legal .prose ol { margin: 0 0 18px 22px; }
.legal .prose ol li { margin-bottom: 10px; line-height: 1.7; }
.legal .prose h3 { font-size: 18px; margin: 22px 0 8px; }
.legal .prose a { color: var(--navy-soft); font-weight: 700; }

.info-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 18px; margin-top: 8px;
}
.info-card {
    background: #fff; border: 1px solid var(--line);
    border-radius: var(--radius); padding: 24px 22px;
    box-shadow: var(--shadow-sm);
}
.info-card i {
    width: 48px; height: 48px; border-radius: 14px;
    display: grid; place-items: center; font-size: 18px;
    background: var(--bg-tint); color: var(--navy-soft); margin-bottom: 15px;
}
.info-card h3 { font-size: 16.5px; margin-bottom: 6px; }
.info-card p, .info-card a { font-size: 14px; color: var(--body); }
.info-card a { font-weight: 700; color: var(--navy-soft); }
.info-card a:hover { color: var(--teal-dark); text-decoration: underline; }

.contact-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 34px; align-items: start; }

.value-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}
.value-card {
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
    padding: 26px 22px; box-shadow: var(--shadow-sm);
    transition: transform .25s ease, box-shadow .25s ease;
}
.value-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.value-card .feature-icon { margin-bottom: 15px; }
.value-card h3 { font-size: 17px; margin-bottom: 7px; }
.value-card p { font-size: 13.8px; }

@media (max-width: 900px) {
    .deal-feature { grid-template-columns: 1fr; }
    .deal-feature__media { min-height: 220px; }
    .deal-feature__body { padding: 26px 22px; }
    .contact-grid { grid-template-columns: 1fr; gap: 26px; }
}
@media (max-width: 560px) {
    .deal-feature__body { padding: 22px 18px; }
    .deal-feature__price strong { font-size: 27px; }
    .deal-feature__actions .btn { width: 100%; }
    .search-inline { min-width: 0; width: 100%; }
    .alpha-heading { font-size: 18px; }
}
/* ==========================================================================
   Itinerary list (package details)
   ========================================================================== */
.itinerary { list-style: none; counter-reset: day; }
.itinerary li {
    display: flex; align-items: flex-start; gap: 14px;
    padding: 14px 16px; background: #fff;
    border: 1px solid var(--line); border-radius: var(--radius-sm);
    margin-bottom: 10px; font-size: 14.5px; color: var(--body);
    line-height: 1.65;
}
.itinerary-num {
    flex: 0 0 auto; width: 28px; height: 28px;
    display: grid; place-items: center;
    background: linear-gradient(135deg, var(--teal), var(--teal-dark));
    color: #fff; font-weight: 800; font-size: 12.5px;
    border-radius: 50%;
}
