/* ============================================================
   ALLIANCE TRAVEL — Cinematic Design System
   Dark editorial · Warm bronze · Destination accents
   ============================================================ */

/* v26 mobile-ux: render-blocking @import removed (an @import blocks the whole
   stylesheet). DM Sans still loads via the <link> in each page <head>. */

/* ── Reset ─────────────────────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h, 72px) + 12px);
  font-size: 16px;
  overflow-x: clip;
}

body {
  background: var(--bg);
  color: var(--txt-1);
  font-family: var(--font-body);
  font-size: var(--fs-body, 1rem);
  line-height: var(--lh-relaxed, 1.6);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
  /* v22 Agent 3 — svh = smallest viewport height (URL bar showing). Body
     uses svh so the page always fits regardless of iOS Safari URL-bar
     state; pre-15.4 falls back to vh. Sticky/full-bleed regions use
     dvh instead — see scroll-hero__pinned for the rationale. */
  min-height: 100vh;
  min-height: 100svh;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  cursor: pointer;
  font-family: inherit;
  border: none;
  background: none;
}

/* ════════════════════════════════════════════════════════════════
   ⛰  RESPONSIVE FOUNDATION  (v22 · 2026-05-22)
   ════════════════════════════════════════════════════════════════
   Single source of truth for breakpoints, spacing scale, fluid type,
   section rhythm, container gutters, touch safety, mobile-perf gates.
   ADDITIVE: legacy --s1..--s12 + scattered clamp() are left alone.
   ════════════════════════════════════════════════════════════════ */
:root {
  /* ── SPACING SCALE — 8-aligned (user-requested 8/16/24/32/48/64/80) ── */
  --space-1:  4px;
  --space-2:  8px;
  --space-3:  16px;
  --space-4:  24px;
  --space-5:  32px;
  --space-6:  48px;
  --space-7:  64px;
  --space-8:  80px;
  --space-9:  96px;
  --space-10: 128px;

  /* ── FLUID SECTION RHYTHM — recovers ~96px per section on mobile ── */
  --section-y:    clamp(48px, 8vw, 96px);
  --section-y-sm: clamp(32px, 5vw, 64px);
  --section-y-lg: clamp(64px, 10vw, 128px);

  /* ── CONTAINER GUTTER ── */
  --container-x: clamp(16px, 5vw, 80px);

  /* ── FLUID TYPOGRAPHY SCALE ── */
  --fs-caption:    clamp(0.75rem,    0.70rem  + 0.20vw, 0.8125rem);
  --fs-body-sm:    clamp(0.8125rem,  0.78rem  + 0.15vw, 0.875rem);
  /* v26 mobile-ux: floor raised 0.9375rem→1rem so body copy never drops below 16px on phones */
  --fs-body:       clamp(1rem,       0.90rem  + 0.20vw, 1rem);
  --fs-body-lg:    clamp(1rem,       0.95rem  + 0.30vw, 1.125rem);
  --fs-h6:         clamp(1rem,       0.95rem  + 0.30vw, 1.125rem);
  --fs-h5:         clamp(1.125rem,   1.05rem  + 0.40vw, 1.25rem);
  --fs-h4:         clamp(1.25rem,    1.10rem  + 0.80vw, 1.5rem);
  --fs-h3:         clamp(1.5rem,     1.20rem  + 1.40vw, 2rem);
  --fs-h2:         clamp(1.875rem,   1.40rem  + 2.20vw, 2.75rem);
  --fs-h1:         clamp(2.25rem,    1.60rem  + 3.00vw, 3.5rem);
  --fs-display-2:  clamp(2.75rem,    1.80rem  + 4.50vw, 4.5rem);
  --fs-display-1:  clamp(3rem,       2.00rem  + 6.00vw, 6rem);

  /* ── LINE-HEIGHT TOKENS ── */
  --lh-tight:    1.1;
  --lh-snug:     1.25;
  --lh-normal:   1.5;
  --lh-relaxed:  1.7;

  /* ── TOUCH & FORM TARGETS ── */
  --touch-min:   44px;
  --field-h:     52px;
  --field-fs:    16px;

  /* ── STICKY CHROME HEIGHTS ── */
  --nav-h:        72px;
  --sticky-bar-h: 68px;
  --fab-size:     56px;
}

/* Touch-device safety — 44×44 targets + iOS-zoom-safe inputs */
@media (pointer: coarse) {
  a[href]:not(.skip-link):not(.nav-logo):not(.lang-btn),
  button:not(.theme-toggle):not(.lang-btn):not(.nav-hamburger),
  [role="button"],
  summary,
  .phone-card__btn {
    min-height: var(--touch-min);
  }
  input:not([type="checkbox"]):not([type="radio"]),
  select,
  textarea {
    min-height: var(--field-h);
    font-size: max(var(--field-fs), 1rem);
  }
  a, button, [role="button"], summary, input, select, textarea {
    touch-action: manipulation;
  }
}

/* Performance gates for small viewports.
   Heavy backdrop-filter blurs cost GPU cycles on mobile; cap or strip
   them per selector. Only touches blurs > 12px on selectors that appear
   on mobile trip + landing pages. Locked-out: .nav-backdrop (Phase 3),
   .site-nav.scrolled (already gated above), .trust-strip (already nulled). */
@media (max-width: 640px) {
  .site-nav.scrolled {
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
  }
  .trust-strip {
    background: rgba(12, 14, 18, 0.92);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
  /* Floating pill site-nav: 24px sat(180%) → 8px no-sat */
  .site-nav {
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
  }
  /* Sticky bars: cap 16-20px → 8px, drop saturate */
  .sticky-total,
  .trip-sticky-bar {
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
  }
  /* Dropdown menu (trip switcher), toast: cap 12-18px → 8px */
  .trip-switcher__menu,
  .toast {
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
  }
  /* Hero ghost button: 12px → 8px */
  .scroll-hero .btn--ghost,
  .home-hero .btn--ghost,
  .hero .btn--ghost {
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
  }
  /* Trip-card overlays (mobile shows ~3 cards stacked, each with 2 blurred chips) */
  .trip-card__from,
  .trip-card__monument {
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
  }
  /* Globe-hint pill (~480-640px range, visible briefly) */
  .globe-hint {
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
  }
  /* Glass elevation wrapper utility */
  [data-elev="glass"] {
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
  }
  section + section::before { display: none !important; }
  .home-hero__photos picture:nth-child(n+3) { display: none; }
}

/* Reduced motion — hard kill switch */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Fluid typography utilities */
.fs-display-1 { font-size: var(--fs-display-1); line-height: var(--lh-tight);   }
.fs-display-2 { font-size: var(--fs-display-2); line-height: var(--lh-tight);   }
.fs-h1        { font-size: var(--fs-h1);        line-height: var(--lh-snug);    }
.fs-h2        { font-size: var(--fs-h2);        line-height: var(--lh-snug);    }
.fs-h3        { font-size: var(--fs-h3);        line-height: var(--lh-snug);    }
.fs-h4        { font-size: var(--fs-h4);        line-height: var(--lh-snug);    }
.fs-h5        { font-size: var(--fs-h5);        line-height: var(--lh-normal);  }
.fs-h6        { font-size: var(--fs-h6);        line-height: var(--lh-normal);  }
.fs-body-lg   { font-size: var(--fs-body-lg);   line-height: var(--lh-relaxed); }
.fs-body      { font-size: var(--fs-body);      line-height: var(--lh-relaxed); }
.fs-body-sm   { font-size: var(--fs-body-sm);   line-height: var(--lh-normal);  }
.fs-caption   { font-size: var(--fs-caption);   line-height: var(--lh-normal);  }

/* Adaptive grid utilities */
.grid-cards     { display: grid; gap: var(--space-5); grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid-cards--sm { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: var(--space-4); }
.grid-cards--lg { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: var(--space-5); }
.grid-cards--xl { grid-template-columns: repeat(auto-fit, minmax(360px, 1fr)); gap: var(--space-5); }

/* Atomic utilities — minimal set for inline-style migration (v22 Phase A) */
.u-hidden        { display: none; }
.u-block         { display: block; }
.u-inline-block  { display: inline-block; }
.u-text-center   { text-align: center; }
.u-mx-auto       { margin-inline: auto; }
.u-m-0           { margin: 0; }
.u-mt-1          { margin-top: 4px; }
.u-mt-2          { margin-top: 6px; }
.u-mt-3          { margin-top: 8px; }
.u-mt-sp3        { margin-top: var(--space-3); }
.u-mt-sp4        { margin-top: var(--space-4); }
.u-mt-sp5        { margin-top: var(--space-5); }
.u-mb-1          { margin-bottom: 4px; }
.u-mb-sp3        { margin-bottom: var(--space-3); }
.u-mb-sp4        { margin-bottom: var(--space-4); }
.u-mb-sp5        { margin-bottom: var(--space-5); }
.u-mb-sp7        { margin-bottom: var(--space-7); }
.u-size-full     { width: 100%; height: 100%; }
.u-measure-sm    { max-width: 500px; }
.u-measure-md    { max-width: 600px; }
.u-measure-lg    { max-width: 680px; }
.u-measure-xl    { max-width: 720px; }
.u-text-1        { color: var(--txt-1); }
.u-text-2        { color: var(--txt-2); }
.u-text-3        { color: var(--txt-3); }
.u-text-mint     { color: var(--mint); }
.u-text-accent   { color: var(--accent); }
.u-fw-300        { font-weight: 300; }
.u-fw-400        { font-weight: 400; }
.u-fw-500        { font-weight: 500; }
.u-fw-600        { font-weight: 600; }
.u-font-display  { font-family: var(--font-display); }
.u-radius-clip   { border-radius: var(--r2); overflow: hidden; }
.u-divider       { height: 1px; background: var(--border); }
.u-bg-2          { background: var(--bg-2); }
.u-no-decoration { text-decoration: none; }
.u-uppercase     { text-transform: uppercase; }
.u-letter-wide   { letter-spacing: .1em; }
.u-link-mint     { color: var(--mint); text-decoration: none; }

/* Noscript fallback styling (used in 5 region pages' booking-section <noscript>) */
.u-noscript-card { margin: 48px auto; padding: 24px; background: rgba(255,255,255,.04);
                   border: 1px solid rgba(255,255,255,.1); border-radius: 14px; color: #fbf8f1; }
.u-noscript-msg  { margin: 0 0 16px; color: #c9cdd4; line-height: 1.6; }
.u-noscript-title { margin: 0 0 12px; }
.u-cluster       { display: flex; flex-wrap: wrap; gap: var(--space-4); }
.u-cluster--sm   { display: flex; flex-wrap: wrap; gap: var(--space-3); }

/* ════════════════════════════════════════════════════════════════
   ⛰  /RESPONSIVE FOUNDATION
   ════════════════════════════════════════════════════════════════ */

/* Mobile will-change gates (v22) — release compositor layers for
   continuous-animation + scroll-linked selectors on ≤640px. The
   keyframes / scroll handlers still run, but the browser is allowed
   to manage layer creation per-frame instead of permanently. Outside
   the foundation block so component-level concerns stay editable.

   v26 mobile-ux GPU audit: the scroll-hero layers the plan flags
   (.scroll-hero__bg/__media/__title) declare will-change permanently in
   their base rules (:7773/:7811/:7851 etc.). On low-end GPUs that permanent
   hold is released HERE — every will-change-bearing layer in that group
   (__bg, __media, __media::after, __title-pre, __title-post) is listed below,
   so ≤640px phones (the low-end target) never hold those layers forever.
   (.scroll-hero__title itself declares no will-change; only its animating
   -pre/-post halves do, and both are gated.) Scoping via .is-released was
   rejected: that class is dead — no JS/HTML ever sets it — so it would be a
   no-op. No runtime change needed beyond this existing gate. */
@media (max-width: 640px) {
  [data-region] .hero,
  .home-hero__photos img,
  .fab-whatsapp::before,
  .globe-polaroid,
  .scroll-hero__bg,
  .scroll-hero__media,
  .scroll-hero__media::after,
  .scroll-hero__title-pre,
  .scroll-hero__title-post,
  .scroll-hero__eyebrow,
  .scroll-hero__caption,
  .scroll-hero__skip,
  .scroll-hero__continuation {
    will-change: auto;
  }
}

/* ════════════════════════════════════════════════════════════════
   🔺 Z-INDEX LAYER SYSTEM  (v22 · 2026-05-22)
   ════════════════════════════════════════════════════════════════
   Single semantic layer system. Use tokens rather than raw numbers
   so layer relationships stay explicit and reorderable in one place.
   Order: base → raised → dropdown → sticky → nav → backdrop →
   drawer → modal → toast → fab.

   MIGRATION SCOPE: site-chrome layers (nav, sticky, dropdown, modal,
   toast, fab, lightbox, scroll-progress, sticky-total, skip-link,
   trip-switcher menu, trip-sticky-bar) → tokens. Intra-component
   stacking ladders (small integers 0–25 used to order children inside
   one isolated stacking context, e.g. hero layers, scroll-hero
   parts, map pins, trip-card overlays) intentionally STAY raw —
   those numbers form a local ladder a single token can't capture.
   Negative values (-1, -2) for decorative ::before underlays also
   stay raw. The 3 z-indexes inside MOBILE NAV DRAWER are locked
   from d91e50b — do not migrate.
   ════════════════════════════════════════════════════════════════ */
:root {
  --z-base:     0;
  --z-raised:   1;     /* card hover lifts, image overlays            */
  --z-dropdown: 100;   /* select dropdowns, tooltips                  */
  --z-sticky:   200;   /* sticky-total bar                            */
  --z-nav:      300;   /* fixed site-nav                              */
  --z-backdrop: 350;   /* nav drawer backdrop (below drawer)          */
  --z-drawer:   400;   /* nav drawer panel                            */
  --z-modal:    500;   /* lightbox, full overlays                     */
  --z-toast:    600;   /* toast notifications                         */
  --z-fab:      650;   /* WhatsApp FAB                                */
}

ul {
  list-style: none;
}

input,
select {
  font-family: inherit;
}

/* ══════════════════════════════════════════════════════════════
   CANONICAL TOKEN ROOT — single source of truth
   ──────────────────────────────────────────────────────────────
   This block consolidates 4 years of v1 → v19 token redefinitions
   that previously lived in 5 separate :root blocks scattered through
   the file. All cascade-winning values are preserved exactly — Phase
   A.1 produces ZERO visual diff. Scale migration (spacing, radii,
   elevation refinements) is deferred to Phase A.2 with its own visual
   review.

   ARCHITECTURE
     • Dark mode is the default (no theme attribute needed).
     • Light mode override lives in the single :root[data-theme="light"]
       block immediately below.
     • Per-page accent overrides (egypt amber, azerbaijan crimson,
       istanbul teal, malaysia mint, sharm coral) live in the inline
       <style> at the head of each HTML page — page-scoped, not site
       tokens.
     • Legacy color shims (--navy-hov, --mint-hov, --sage-light,
       --danger-light) are kept as literal values matching the pre-
       cleanup baseline. The --bronze family was deleted in Phase J
       once all consumers migrated to var(--mint*). Remaining shims
       will get deleted as components migrate.

   ADD-A-TOKEN RULES
     1. Add it here, not in another :root block.
     2. If it's a brand color, add the dark variant here AND the light
        equivalent in the light-mode block below.
     3. If it's motion, it must use one of: --t-fast, --t-base, --t-slow,
        --t-cinema (durations) × --ease-out, --ease-spring, --ease-snap,
        --ease-bounce (easings). No ad-hoc bezier curves.
   ══════════════════════════════════════════════════════════════ */
:root {
  /* ── Surfaces — 6-layer dark ladder (v19) ──────────────────────── */
  --bg-deep:   #06090d;          /* page edge, behind sticky chrome  */
  --bg:        #0a0f15;          /* page background                  */
  --bg-low:    #0d131b;          /* one tick darker for low-priority */
  --bg-2:      #11181f;          /* alternating section bg           */
  --bg-card:   #161e28;          /* card surfaces — clearly elevated */
  --bg-elev:   #1c2532;          /* hover state, dropdowns, modals   */
  --bg-glass:  rgba(20, 26, 36, .72);  /* frosted backdrop pill/nav  */

  /* ── Borders ───────────────────────────────────────────────────── */
  --border:      rgba(255, 255, 255, .06);
  --border-hi:   rgba(255, 255, 255, .12);
  --border-mint: rgba(156, 232, 178, .32);

  /* ── Text — warm-temperature ladder (v19) ──────────────────────── */
  --txt-1:  #f3ede2;             /* primary — warm cream             */
  --txt-2:  #b6ada0;             /* secondary — warm beige           */
  --txt-3:  #8e857a;             /* tertiary — muted warm gray (v22.2 WCAG-AA bump from #7a7268 4.06:1 → 4.6:1) */

  /* ── Brand — Prussian Blue + Mint ──────────────────────────────── */
  --navy:        #002c51;
  --navy-soft:   #003d72;
  --navy-dim:    rgba(0, 44, 81, .30);
  --mint:        #9ce8b2;
  --mint-soft:   #7dd4a0;
  --mint-deep:   #5cb37c;
  --mint-dim:    rgba(156, 232, 178, .10);
  --mint-glow:   rgba(156, 232, 178, .28);
  --ring:        rgba(156, 232, 178, .55);   /* focus ring */

  /* ── Default accent (per-page <style> overrides this on trip pages) */
  --accent:       #9ce8b2;
  --accent-dim:   rgba(156, 232, 178, .12);
  --accent-glow:  rgba(156, 232, 178, .26);

  /* ── Status ────────────────────────────────────────────────────── */
  --sage:         #3B7A65;
  --sage-soft:    rgba(59, 122, 101, .18);
  --danger:       #cf5252;
  --danger-soft:  rgba(207, 82, 82, .12);
  --warn:         #e0a04a;
  --warn-soft:    rgba(224, 160, 74, .14);
  --star-gold:    #F5C842;   /* testimonial stars, luxe-ribbon flag — brighter than --warn */

  /* ── WhatsApp — brand color, immutable in both themes ───────────── */
  --wa-green:     #25D366;
  --wa-green-hov: #1ebe5d;

  /* ── Per-region hero atmospheres (always dark, no light override) ─ */
  --region-bg-egypt:      #0a0703;
  --region-bg-azerbaijan: #050a14;
  --region-bg-istanbul:   #080612;
  --region-bg-malaysia:   #030a05;
  --region-bg-sharm:      #020a10;

  /* ── Typography ────────────────────────────────────────────────── */
  --font-display: 'DM Sans', system-ui, sans-serif;
  --font-body:    'DM Sans', system-ui, sans-serif;

  /* ── Spacing scale (legacy v1 — kept for backward compat; use --space-* in new code)
       Aliases by design: --s4/--s5 both 24px (legacy v1 → v6 widening absorbed a removed step);
                          --s7/--s8 both 40px (same lineage). 3000+ references across
                          components — DO NOT delete, only fix anomalies.
       v22 anomaly fix: --s2 was 9px (off-8-grid). Now 8px so the legacy
       and --space-2 (8px) scales agree at that step. Single 1px nudge,
       no expected visual regression — visually verified at 1440px. */
  --s1:   4px;  --s2:   8px;  --s3:  16px;  --s4:  24px;
  --s5:  24px;  --s6:  32px;  --s7:  40px;  --s8:  40px;
  --s9:  56px;  --s10: 72px;  --s11: 96px;  --s12: 128px;

  /* ── Radii (--r1 = 2px today; will move to 4px in A.2) ─────────── */
  --r1: 2px;
  --r2: 8px;
  --r3: 12px;
  --r4: 999px;

  /* ── Elevation (navy-tinted v1; refined ladder in A.2) ────────── */
  --elev-1: 0 1px 0 rgba(0, 44, 81, .2),  0 4px 16px rgba(0, 0, 0, .4);
  --elev-2: 0 12px 48px rgba(0, 0, 0, .6), 0 0 0 1px rgba(0, 44, 81, .15);

  /* ── Motion — durations (survey Q14: +--t-cinema) ──────────────── */
  --t-fast:   180ms;    /* tap, focus, micro state                    */
  --t-base:   320ms;    /* component hover, dropdown, modal           */
  --t-slow:   560ms;    /* section entrance, sticky reveal            */
  --t-cinema: 900ms;    /* hero entrance, map fly-to, page transition */
  --t:        200ms ease-out;  /* legacy v1 alias — TODO migrate to --t-fast */

  /* ── Motion — easings (survey Q13: 3 base + 1 bounce) ──────────── */
  --ease-out:    cubic-bezier(.22, 1, .36, 1);
  --ease-spring: cubic-bezier(.22, 1, .36, 1);   /* same curve, semantic alias */
  --ease-snap:   cubic-bezier(.4,  0, .2, 1);    /* taps & chrome (Material)   */
  --ease-bounce: cubic-bezier(.34, 1.5, .64, 1); /* DELIGHT ONLY — toast, counter punch */
  /* Legacy alias kept while a few v6 transitions still reference it.
     --ease-out-quart deleted in phase H — had zero consumers. */
  --ease-spring-soft: var(--ease-spring);

  /* ── Legacy color shims (literal values matching baseline) ─────── */
  --navy-hov:     #003d72;                    /* = navy-soft */
  --mint-hov:     #7dd4a0;                    /* = mint-soft */
  --sage-light:   rgba(59, 122, 101, .18);    /* = sage-soft */
  --danger-light: rgba(185, 64, 64, .15);     /* v1 red (lower saturation than --danger) */
  /* v21 phase J: --bronze, --bronze-hov, --bronze-dim deleted — every
     consumer migrated to var(--mint), var(--mint-hov), var(--mint-dim). */
}

/* ── Light mode — single canonical override ──────────────────────── */
:root[data-theme="light"] {
  /* Surfaces */
  --bg-deep:   #ede5d4;
  --bg:        #fbf8f1;          /* warm cream page */
  --bg-low:    #f5efe1;
  --bg-2:      #f7f1e3;
  --bg-card:   #ffffff;
  --bg-elev:   #ffffff;
  --bg-glass:  rgba(251, 248, 241, .82);

  /* Borders */
  --border:      rgba(0, 44, 81, .08);
  --border-hi:   rgba(0, 44, 81, .16);
  --border-mint: rgba(35, 122, 74, .35);

  /* Text — txt-3 uses v3.1 WCAG fix (#5a6a7c, 5.8:1 contrast on cream)
     instead of v19's regressed #8a8e98 (3.04:1, failed AA). */
  --txt-1:  #002c51;             /* primary — brand Prussian */
  --txt-2:  #4a5567;             /* secondary — slate        */
  --txt-3:  #5a6a7c;             /* tertiary — AA-compliant  */

  /* Brand — mint darkened for AA contrast on cream */
  --navy:        #002c51;
  --navy-soft:   #003d72;
  --navy-dim:    rgba(0, 44, 81, .12);
  --mint:        #237a4a;
  --mint-soft:   #2c8a55;
  --mint-deep:   #1f6b40;
  --mint-dim:    rgba(35, 122, 74, .10);
  --mint-glow:   rgba(35, 122, 74, .25);
  --ring:        rgba(35, 122, 74, .50);

  /* Accent (default; per-page <style> overrides win) */
  --accent:       #237a4a;
  --accent-dim:   rgba(35, 122, 74, .12);
  --accent-glow:  rgba(35, 122, 74, .24);

  /* Elevation — navy-tinted, softer */
  --elev-1: 0 1px 0 rgba(0, 44, 81, .06), 0 4px 16px rgba(0, 44, 81, .05);
  --elev-2: 0 12px 48px rgba(0, 44, 81, .12);

  /* Legacy color shims (literal values matching baseline) */
  --mint-hov:     #1a6638;                  /* slightly darker than --mint-soft */
  /* v21 phase J: --bronze, --bronze-hov, --bronze-dim deleted — every
     consumer migrated to var(--mint), var(--mint-hov), var(--mint-dim). */
}

/* ── Layout ─────────────────────────────────────────────── */
.container {
  max-width: 1280px;
  margin-inline: auto;
  padding-inline: var(--container-x, clamp(16px, 5vw, 80px));
  width: 100%;
}
.container--narrow { max-width: 960px; }
.container--prose  { max-width: 70ch; }

.section    { padding-block: var(--section-y,    clamp(48px, 8vw, 96px));  }
.section-sm { padding-block: var(--section-y-sm, clamp(32px, 5vw, 64px));  }
.section-lg { padding-block: var(--section-y-lg, clamp(64px, 10vw, 128px));}

/* ── Navigation ─────────────────────────────────────────── */
.site-nav {
  position: fixed;
  top: 0;
  inset-inline: 0;
  z-index: var(--z-nav);
  padding: var(--s4) var(--s7);
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background var(--t-fast), backdrop-filter var(--t-fast);
}

.site-nav.scrolled {
  background: rgba(12, 14, 18, .88);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 500;
  letter-spacing: .02em;
  color: var(--txt-1);
}

.nav-logo span {
  color: var(--mint);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--s6);
}

.nav-links a {
  font-size: .875rem;
  color: var(--txt-2);
  transition: color var(--t-fast);
}

.nav-links a:hover {
  color: var(--txt-1);
}

.nav-cta {
  font-size: .875rem;
  font-weight: 500;
  padding: var(--s2) var(--s5);
  background: var(--mint);
  color: #fff;
  border-radius: 999px;
  transition: background var(--t-fast), transform var(--t-fast);
}

.nav-cta:hover {
  background: var(--mint-hov);
  transform: translateY(-1px);
}

/* ════════════════════════════════════════════════════════════════
   MOBILE NAV DRAWER  (v22 · Phase 3 component #1)
   - ≤900px: hamburger replaces inline nav controls; drawer slides
     in from right (LTR) / left (RTL); backdrop + body scroll lock.
   - ≥901px: drawer wrapper is `display: contents` → desktop layout
     is byte-identical to pre-drawer.
   ════════════════════════════════════════════════════════════════ */

.nav-hamburger { display: none; }
.nav-drawer    { display: contents; }
.nav-backdrop  { display: none; }

@media (max-width: 900px) {
  .site-nav {
    padding: 12px 16px;
    /* Strip backdrop-filter on mobile — it creates a containing block that
       traps the position:fixed .nav-drawer inside the nav's ~72px height box.
       Replace with a solid bg so visual identity stays consistent. Bonus:
       backdrop-filter is GPU-expensive on phones; removing it is a perf win. */
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    background: var(--bg-deep, #06090d);
  }
  :root[data-theme="light"] .site-nav { background: rgba(251, 248, 241, 0.98); }

  .nav-hamburger {
    display: grid;
    place-items: center;
    width: var(--touch-min);
    height: var(--touch-min);
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 999px;
    color: var(--txt-1);
    cursor: pointer;
    transition: border-color var(--t-fast), color var(--t-fast), transform var(--t-fast);
    margin-inline-start: auto;
    flex-shrink: 0;
    z-index: 120;
  }
  .nav-hamburger:hover, .nav-hamburger:focus-visible {
    border-color: var(--mint);
    color: var(--mint);
  }
  .nav-hamburger .icon-close { display: none; }
  .site-nav.nav-open .nav-hamburger .icon-menu  { display: none; }
  .site-nav.nav-open .nav-hamburger .icon-close { display: block; }

  .nav-drawer {
    display: flex;
    position: fixed;
    top: 0; right: 0; bottom: 0;
    width: min(85vw, 360px);
    background: var(--bg-elev);
    border-inline-start: 1px solid var(--border);
    z-index: 110;
    flex-direction: column;
    align-items: stretch;
    gap: var(--space-3);
    padding: calc(var(--nav-h) + 16px) var(--space-5) var(--space-5);
    transform: translateX(100%);
    transition: transform var(--t-base) var(--ease-out), visibility 0s linear var(--t-base);
    visibility: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding-bottom: max(var(--space-5), env(safe-area-inset-bottom));
    box-shadow: -16px 0 48px rgba(0,0,0,.4);
  }
  [dir="rtl"] .nav-drawer {
    right: auto; left: 0;
    border-inline-start: none;
    border-inline-end: 1px solid var(--border);
    transform: translateX(-100%);
    box-shadow: 16px 0 48px rgba(0,0,0,.4);
  }
  /* Drawer lives on <body> (not inside .site-nav, because nav's
     backdrop-filter creates a containing block that would clip a
     fixed-positioned child). The .is-open class is added to the
     drawer itself by initNavDrawer's setOpen(). */
  .nav-drawer.is-open {
    transform: translateX(0) !important;
    visibility: visible !important;
    transition: transform var(--t-base) var(--ease-out);
  }
  [dir="rtl"] .nav-drawer.is-open {
    transform: translateX(0) !important;
  }

  /* !important needed to beat the later .site-nav .nav-links rules at
     L3596, L3835, L3952 which set display:none, flex-direction:row,
     order:1, grid-column — all designed for the inline desktop nav. */
  .nav-drawer .nav-links {
    list-style: none; margin: 0; padding: 0;
    display: flex !important;
    flex-direction: column !important;
    order: 0 !important;
    gap: 0 !important;
    border-bottom: 1px solid var(--border);
    margin-bottom: var(--space-3);
  }
  .nav-drawer .nav-links li {
    list-style: none;
    width: 100%;
  }
  .nav-drawer .nav-links a {
    display: flex !important;
    align-items: center;
    width: 100%;
    white-space: normal !important;
  }
  .nav-drawer .nav-links li { border-top: 1px solid var(--border); }
  .nav-drawer .nav-links a {
    display: flex; align-items: center;
    padding: var(--space-3) 0;
    font-size: var(--fs-h6);
    color: var(--txt-1);
    min-height: var(--touch-min);
    transition: color var(--t-fast);
  }
  .nav-drawer .nav-links a:hover, .nav-drawer .nav-links a:focus-visible { color: var(--mint); }

  .nav-drawer .lang-switcher, .nav-drawer .theme-toggle { align-self: flex-start; }

  .nav-drawer .nav-cta {
    display: flex; justify-content: center; align-items: center;
    gap: var(--space-2);
    margin-top: auto;
    padding: var(--space-3) var(--space-4);
    min-height: var(--touch-min);
    font-size: var(--fs-body);
    border-radius: 999px;
    width: 100%;
    box-sizing: border-box;
  }

  /* Controls move into .nav-drawer at <=900px via initNavDrawer() in
     enhance.js. Hide their inline-nav slots so they don't render twice
     during the brief moment between page parse and JS execution. */
  .site-nav > .nav-links,
  .site-nav > .lang-switcher,
  .site-nav > .theme-toggle,
  .site-nav > .nav-cta { display: none; }

  .nav-backdrop {
    display: block;
    position: fixed; inset: 0;
    background: rgba(0,0,0,.55);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    z-index: 105;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--t-base) var(--ease-out);
  }
  .nav-backdrop.is-visible { opacity: 1; pointer-events: auto; }

  body.nav-scroll-lock { overflow: hidden; }
}

/* ── Hero ───────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  grid-template-rows: 1fr auto;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background: var(--hero-gradient, linear-gradient(135deg, #1a1208 0%, #0a0c12 60%, #0c1420 100%));
}

.hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 70% 50%, var(--accent-glow), transparent 70%);
}

.hero__noise {
  position: absolute;
  inset: 0;
  opacity: .03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* v21 phase J.2.4: .hero__faded-title (v13 trip-hero giant watermark) deleted —
   v14 scroll-pinned hero has no host for this. Same pattern as the
   home-hero's TRAVEL watermark removed in E.1. */

.hero__inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s7);
  align-items: center;
  padding: 140px clamp(20px, 5vw, 80px) var(--s10);
  max-width: 1280px;
  margin-inline: auto;
  width: 100%;
}

.hero__content {
  display: flex;
  flex-direction: column;
  gap: var(--s5);
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--s2);
  font-size: .75rem;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent);
  padding: var(--s1) var(--s3);
  border: 1px solid var(--accent-dim);
  border-radius: 999px;
  width: fit-content;
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(44px, 6vw, 88px);
  font-weight: 400;
  line-height: 1.05;
  color: var(--txt-1);
}

.hero__title em {
  font-style: italic;
  color: var(--accent);
}

.hero__lede {
  font-size: 1.0625rem;
  color: var(--txt-2);
  max-width: 44ch;
  line-height: 1.65;
}

.hero__price {
  font-size: .875rem;
  color: var(--txt-2);
  display: flex;
  align-items: baseline;
  gap: var(--s2);
}

.hero__price strong {
  font-family: var(--font-body);
  font-variant-numeric: tabular-nums;
  font-size: 2rem;
  font-weight: 600;
  color: var(--txt-1);
}

.hero__price span {
  font-size: .75rem;
  color: var(--txt-3);
}

.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s3);
  margin-top: var(--s2);
}

/* Visual side of hero */
.hero__visual {
  position: relative;
  height: clamp(340px, 45vw, 560px);
  border-radius: var(--r4);
  overflow: hidden;
  background: var(--accent-dim);
  border: 1px solid var(--border-hi);
}

.hero__visual-art {
  width: 100%;
  height: 100%;
  background: var(--hero-art, linear-gradient(160deg, var(--accent-dim) 0%, transparent 60%));
}

/* v21 phase J.2.4: .hero__dep-card + .dep-pill + .dep-badge family
   deleted — the floating "departure card" overlay on v13 trip heroes
   that showed upcoming flight dates inline. v14 hero replaced this
   with the calculator section; the floating overlay is gone. */

/* v21 phase J.2.4: .hero__strip + .hero__strip-inner + .trust-pill
   family deleted — v13 hero trust strip (review-stars / experience-
   years / certifications under the hero). v14 + v7 industry layer
   replaced this with the standalone .trust-strip component injected
   by enhance.js. */

/* ── Floating highlight cards ────────────────────────────── */
.highlights {
  background: var(--bg-2);
}

.highlights__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--s4);
}

.hl-card {
  /* bg + border-color from canonical v21-D.2 surface block */
  border: 1px solid;
  border-radius: var(--r3);
  padding: var(--s6);
  display: flex;
  flex-direction: column;
  gap: var(--s4);
  transition: transform var(--t), box-shadow var(--t), border-color var(--t);
}

.hl-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--elev-2);
  border-color: var(--border-hi);
}

.hl-card__icon {
  width: 44px;
  height: 44px;
  border-radius: var(--r2);
  background: var(--accent-dim);
  display: grid;
  place-items: center;
  color: var(--accent);
}

.hl-card__label {
  font-size: .75rem;
  font-weight: 500;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--txt-3);
}

.hl-card__title {
  font-size: 1rem;
  font-weight: 500;
  color: var(--txt-1);
}

.hl-card__body {
  font-size: .8125rem;
  color: var(--txt-2);
  line-height: 1.55;
}

/* ── Section heads ──────────────────────────────────────── */
.section-head {
  margin-bottom: var(--s9);
}

.section-head__eyebrow {
  font-size: .6875rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--s3);
}

.section-head__title {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 400;
  color: var(--txt-1);
  line-height: 1.1;
}

.section-head__title em {
  font-style: italic;
  color: var(--accent);
}

.section-head__sub {
  font-size: 1rem;
  color: var(--txt-2);
  max-width: 56ch;
  margin-top: var(--s3);
}

/* ── Hotel Picker ───────────────────────────────────────── */
.hotels {
  background: var(--bg);
}

.tier-tabs {
  display: flex;
  gap: var(--s2);
  flex-wrap: wrap;
  border-bottom: 1px solid var(--border);
  margin-bottom: var(--s7);
}

.tier-tab {
  padding: var(--s3) var(--s5);
  font-size: .8125rem;
  font-weight: 500;
  color: var(--txt-3);
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  transition: color var(--t-fast), border-color var(--t-fast);
  cursor: pointer;
}

.tier-tab[aria-pressed="true"],
.tier-tab:hover {
  color: var(--txt-1);
}

.tier-tab[aria-pressed="true"] {
  border-color: var(--accent);
  color: var(--accent);
}

.hotel-grid {
  display: grid;
  /* v26 mobile-ux: mid-band orphan audit. The 600-768px band is already
     forced to a single column by the ≤768px override (:2249), so the 300px
     floor cannot strand a lopsided 2-up there. Above 768px the 1fr tracks
     stay equal-width and only form a 2-up once inner width clears 624px, then
     a 3-up at the 1280px container — both balanced. Floor kept at 300px on
     purpose; no earlier 1-col forcing needed. */
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: var(--s5);
}

.hotel-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r3);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform var(--t), box-shadow var(--t), border-color var(--t);
  cursor: pointer;
}

.hotel-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--elev-2);
  border-color: var(--border-hi);
}

.hotel-card.selected {
  border-color: var(--mint);
  box-shadow: 0 0 0 1px var(--mint), var(--elev-2);
}

.hotel-card__img {
  aspect-ratio: 4/3;
  background: var(--accent-dim);
  position: relative;
  overflow: hidden;
}

/* v21 phase J.2.5: .hotel-card__img-art + its hover-scale deleted —
   a gradient fill layer for hotel card photos that was replaced by
   real <img> elements via the hotel-card__photo class. */

.hotel-card__ribbon {
  position: absolute;
  top: var(--s3);
  left: var(--s3);
  font-size: .625rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .08em;
  padding: 3px var(--s2);
  border-radius: var(--r1);
  background: rgba(12, 14, 18, .8);
  color: var(--txt-2);
}

.hotel-card__ribbon.economique {
  color: #8AB4F8;
}

.hotel-card__ribbon.medium {
  color: #8BD5CA;
}

.hotel-card__ribbon.premium {
  color: var(--mint);
}

.hotel-card__ribbon.luxe {
  color: var(--star-gold);
}

.hotel-card__body {
  padding: var(--s5);
  display: flex;
  flex-direction: column;
  gap: var(--s3);
  flex: 1;
}

.hotel-card__stars {
  display: flex;
  gap: 2px;
  color: var(--star-gold);
}

.hotel-card__name {
  font-size: 1rem;
  font-weight: 500;
  color: var(--txt-1);
}

.hotel-card__amenities {
  display: flex;
  gap: var(--s2);
  flex-wrap: wrap;
}

.amenity-pill {
  font-size: .625rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .06em;
  padding: 3px var(--s2);
  background: var(--accent-dim);
  color: var(--accent);
  border-radius: 4px;
}

.hotel-card__price {
  font-size: .8125rem;
  color: var(--txt-2);
  margin-top: auto;
}

.hotel-card__price strong {
  font-size: 1.375rem;
  font-weight: 600;
  color: var(--txt-1);
  font-variant-numeric: tabular-nums;
  display: block;
}

.hotel-card__cta {
  width: 100%;
  padding: var(--s3) var(--s5);
  border-radius: var(--r2);
  font-size: .875rem;
  font-weight: 500;
  border: 1px solid var(--border-hi);
  color: var(--txt-1);
  transition: background var(--t-fast), border-color var(--t-fast), color var(--t-fast);
  text-align: center;
}

.hotel-card__cta:hover {
  background: var(--mint-dim);
  border-color: var(--mint);
  color: var(--mint);
}

.hotel-card.selected .hotel-card__cta {
  background: var(--mint-dim);
  border-color: var(--mint);
  color: var(--mint);
}

/* Empty state */
.hotel-empty {
  grid-column: 1/-1;
  text-align: center;
  padding: var(--s11) var(--s6);
  color: var(--txt-2);
}

.hotel-empty button {
  margin-top: var(--s4);
  color: var(--accent);
  font-size: .875rem;
  text-decoration: underline;
  cursor: pointer;
}

/* ── Pricing Calculator ──────────────────────────────────── */
.calc-section {
  background: var(--bg-2);
}

.calc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s9);
  align-items: start;
}

.calc-form {
  display: flex;
  flex-direction: column;
  gap: var(--s6);
}

.calc-form-group {
  display: flex;
  flex-direction: column;
  gap: var(--s2);
  min-width: 0;
}

/* Responsive: the hotel/formule <select>'s longest <option> was forcing the
   calc grid's column to its ~700px min-content, clipping the calculator on
   phones. Let the grid items + form controls shrink below intrinsic width. */
.calc-grid > * { min-width: 0; }
.calc-form select,
.calc-form input,
.calc-form textarea { min-width: 0; max-width: 100%; }

.calc-form-label {
  /* v22 Agent 3 — same uplift as .bform-field label: --txt-3 → --txt-2,
     fluid --fs-body-sm, tighter letter-spacing. Keeps the calculator
     and booking form visually consistent. */
  font-size: var(--fs-body-sm);
  font-weight: 500;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--txt-2);
}

/* Date chips */
.date-chips {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s2);
}

.date-chip {
  padding: var(--s2) var(--s4);
  border-radius: 999px;
  border: 1px solid var(--border);
  font-size: .8125rem;
  color: var(--txt-2);
  transition: all var(--t-fast);
  cursor: pointer;
}

/* Hover gated to non-touch + non-active chips — fixes "hover stuck on first
   default chip after selecting another" (touch devices retain :hover until
   you tap somewhere else; active chip overrides hover so the freeze never
   manifests as a stale visual). */
@media (hover: hover) {
  .date-chip:not(.active):hover {
    border-color: var(--border-hi);
    color: var(--txt-1);
  }
}

.date-chip.active,
.date-chip.active:hover {
  border-color: var(--mint);
  background: var(--mint-dim);
  color: var(--mint);
}

.date-chip:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* Segmented (room type) */
.segmented {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--border);
  border-radius: var(--r2);
  overflow: hidden;
  background: var(--bg);
}

.seg-opt {
  padding: var(--s3);
  text-align: center;
  font-size: .8125rem;
  color: var(--txt-2);
  border-right: 1px solid var(--border);
  cursor: pointer;
  transition: background var(--t-fast), color var(--t-fast);
}

.seg-opt:last-child {
  border-right: none;
}

.seg-opt:hover {
  background: var(--bg-card);
  color: var(--txt-1);
}

.seg-opt.active {
  background: var(--mint-dim);
  color: var(--mint);
  font-weight: 500;
}

/* Stepper */
.stepper-row {
  display: flex;
  flex-direction: column;
  gap: var(--s3);
}

.stepper-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--s3) 0;
  border-bottom: 1px solid var(--border);
}

.stepper-item:last-child {
  border-bottom: none;
}

.stepper-item__info h4 {
  font-size: .875rem;
  color: var(--txt-1);
}

.stepper-item__info p {
  font-size: .75rem;
  color: var(--txt-3);
}

.stepper {
  display: flex;
  align-items: center;
  gap: var(--s3);
}

.stepper__btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: grid;
  place-items: center;
  font-size: 1.125rem;
  color: var(--txt-2);
  transition: all var(--t-fast);
}

.stepper__btn:hover:not(:disabled) {
  border-color: var(--mint);
  color: var(--mint);
}

.stepper__btn:disabled {
  opacity: .35;
  cursor: not-allowed;
}

.stepper__val {
  font-size: 1rem;
  font-weight: 500;
  color: var(--txt-1);
  min-width: 20px;
  text-align: center;
  font-variant-numeric: tabular-nums;
}

/* Extras toggles */
.extras-list {
  display: flex;
  flex-direction: column;
  gap: var(--s3);
}

.extra-toggle {
  display: flex;
  align-items: center;
  gap: var(--s4);
  padding: var(--s4);
  border: 1px solid var(--border);
  border-radius: var(--r2);
  cursor: pointer;
  transition: border-color var(--t-fast), background var(--t-fast);
}

.extra-toggle:hover {
  border-color: var(--border-hi);
  background: var(--bg-card);
}

.extra-toggle.checked {
  border-color: var(--mint);
  background: var(--mint-dim);
}

.extra-toggle__check {
  width: 20px;
  height: 20px;
  border-radius: 4px;
  border: 1px solid var(--border);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  transition: background var(--t-fast), border-color var(--t-fast);
}

.extra-toggle.checked .extra-toggle__check {
  background: var(--mint);
  border-color: var(--mint);
}

.extra-toggle__info {
  flex: 1;
}

.extra-toggle__label {
  font-size: .875rem;
  color: var(--txt-1);
}

.extra-toggle__detail {
  font-size: .75rem;
  color: var(--txt-3);
}

.extra-toggle__price {
  font-size: .875rem;
  font-weight: 500;
  color: var(--txt-2);
  font-variant-numeric: tabular-nums;
  margin-left: auto;
  white-space: nowrap;
}

/* Breakdown panel */
.breakdown {
  position: sticky;
  top: 100px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r3);
  overflow: hidden;
}

.breakdown__header {
  padding: var(--s5) var(--s6);
  border-bottom: 1px solid var(--border);
  font-size: .6875rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--txt-3);
}

.breakdown__lines {
  padding: var(--s5) var(--s6);
  display: flex;
  flex-direction: column;
  gap: var(--s4);
  min-height: 120px;
}

.breakdown__line {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: var(--s3);
  font-size: .875rem;
  color: var(--txt-2);
  animation: lineIn var(--t) both;
  min-width: 0;
}

.breakdown__line span {
  text-align: right;
  font-variant-numeric: tabular-nums;
}
/* The label (1st span) must wrap; only the amount (last span) stays on one
   line — otherwise a long package label nowraps past the panel on phones. */
.breakdown__line span:first-child {
  text-align: left;
  min-width: 0;
  overflow-wrap: anywhere;
}
.breakdown__line span:last-child {
  white-space: nowrap;
  flex-shrink: 0;
}

.breakdown__divider {
  height: 1px;
  background: var(--border);
}

.breakdown__total {
  padding: var(--s5) var(--s6);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.breakdown__total-label {
  font-size: .875rem;
  color: var(--txt-2);
}

.breakdown__total-amount {
  font-family: var(--font-body);
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--txt-1);
  font-variant-numeric: tabular-nums;
}

.breakdown__usd {
  padding: 0 var(--s6) var(--s4);
  font-size: .75rem;
  color: var(--txt-3);
  display: flex;
  align-items: center;
  gap: var(--s2);
}

.breakdown__ctas {
  padding: var(--s5) var(--s6);
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: var(--s3);
}

.breakdown__empty {
  padding: var(--s8) var(--s6);
  text-align: center;
  color: var(--txt-3);
  font-size: .875rem;
}

.breakdown__why {
  padding: 0 var(--s6) var(--s5);
}

.breakdown__why details {
  font-size: .8125rem;
  color: var(--txt-3);
}

.breakdown__why summary {
  cursor: pointer;
  color: var(--accent);
  display: flex;
  align-items: center;
  gap: var(--s1);
}

.breakdown__why summary:hover {
  color: var(--mint-hov);
}

/* ── Buttons — canonical primitive (v21 phase D.1) ─────────────────
   Previously: `.btn--primary` redefined 3× across lines 1190, 2509,
   3183, with a stale orange box-shadow (bronze legacy) hidden behind
   a mint override 2000 lines later. Consolidated into one block here.
   Variants tweak only what differs from the base. */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--s2);
  padding: var(--s3) var(--s6);
  border-radius: 999px;
  font-size: .9375rem;
  font-weight: 500;
  transition:
    background   var(--t-fast) var(--ease-out),
    color        var(--t-fast) var(--ease-out),
    border-color var(--t-fast) var(--ease-out),
    transform    var(--t-fast) var(--ease-snap),
    box-shadow   var(--t-fast) var(--ease-out);
  cursor: pointer;
  border: none;
  text-align: center;
  white-space: nowrap;
  max-width: 100%;
}
.btn:active { transform: scale(.97); }
.btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
/* On phones, let a long-label button wrap instead of overflowing the viewport
   (e.g. "Une question ? Contactez-nous sur WhatsApp"). Desktop stays nowrap. */
@media (max-width: 600px) {
  .btn { white-space: normal; }
}

/* Primary — mint fill, navy text, mint glow on hover, radial halo on hover */
.btn--primary {
  position: relative;
  overflow: hidden;
  background: var(--mint);
  color: var(--navy);
  font-weight: 600;
}
.btn--primary:hover {
  background: var(--mint-soft);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px var(--mint-glow);
}
.btn--primary::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(255, 255, 255, .35) 0%, transparent 60%);
  opacity: 0;
  transition: opacity var(--t-fast) var(--ease-out);
  pointer-events: none;
}
.btn--primary:hover::after { opacity: .6; }

/* Ghost — outlined, transparent fill, tints to accent on hover */
.btn--ghost {
  border: 1px solid rgba(255, 255, 255, .25);
  color: var(--txt-1);
  background: transparent;
}
.btn--ghost:hover {
  border-color: var(--mint);
  color: var(--mint);
  background: var(--mint-dim);
}

/* WhatsApp — brand green */
.btn--wa {
  background: var(--wa-green);
  color: #fff;
}
.btn--wa:hover {
  background: var(--wa-green-hov);
  transform: translateY(-1px);
}

/* Size + layout variants */
.btn--full { width: 100%; justify-content: center; }
.btn--sm   { padding: var(--s2) var(--s5); font-size: .875rem; }

/* Mobile sticky total bar */
.sticky-total {
  display: none;
  position: fixed;
  bottom: 0;
  inset-inline: 0;
  z-index: var(--z-sticky);
  background: rgba(12, 14, 18, .96);
  backdrop-filter: blur(16px);
  border-top: 1px solid var(--border);
  padding: var(--s3) var(--s5);
  align-items: center;
  justify-content: space-between;
  gap: var(--s4);
}

.sticky-total__label {
  font-size: .875rem;
  color: var(--txt-2);
}

.sticky-total__amount {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--txt-1);
  font-variant-numeric: tabular-nums;
}

/* ── Itinerary ───────────────────────────────────────────── */
.itinerary-bg {
  background: var(--bg);
}

.timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 15px;
  top: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(to bottom, transparent, var(--border) 10%, var(--border) 90%, transparent);
}

.tl-day {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: var(--s5);
  padding-bottom: var(--s8);
  cursor: pointer;
}

.tl-day:last-child {
  padding-bottom: 0;
}

.tl-node {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: .75rem;
  font-weight: 600;
  color: var(--txt-3);
  transition: background var(--t-fast), border-color var(--t-fast), color var(--t-fast);
  position: relative;
  z-index: 1;
}

.tl-day.active .tl-node,
.tl-day:hover .tl-node {
  background: var(--accent-dim);
  border-color: var(--accent);
  color: var(--accent);
}

.tl-content {
  padding-top: 4px;
}

.tl-day-label {
  font-size: .75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--accent);
  margin-bottom: var(--s1);
}

.tl-title {
  font-size: 1rem;
  font-weight: 500;
  color: var(--txt-1);
  margin-bottom: var(--s2);
}

.tl-activities {
  font-size: .875rem;
  color: var(--txt-2);
  line-height: 1.6;
}

.tl-tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s2);
  margin-top: var(--s3);
}

.tl-tag {
  font-size: .625rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .07em;
  padding: 2px var(--s2);
  border-radius: 4px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--txt-3);
}

/* v21 phase J.2: ~95 lines of .packages-bg / .packages-grid /
   .pkg-card / .pkg-card.recommended / .pkg-badge / .pkg-tier /
   .pkg-name / .pkg-price / .pkg-features / .pkg-feature CSS deleted.
   The packages tier-comparison feature was never built — zero HTML
   consumers across all 6 pages, zero JS references. */

/* ── Trust / Social proof ────────────────────────────────── */
.trust-bg {
  background: var(--bg);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: var(--s5);
  margin-bottom: var(--s11);
}

.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r2);
  padding: var(--s6);
  text-align: center;
}

.stat-card__num {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 300;
  color: var(--txt-1);
  font-variant-numeric: tabular-nums;
}

.stat-card__label {
  font-size: .8125rem;
  color: var(--txt-3);
  margin-top: var(--s1);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--s5);
}

.testi-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r3);
  padding: var(--s6);
  display: flex;
  flex-direction: column;
  gap: var(--s4);
}

.testi-stars {
  color: var(--star-gold);
  display: flex;
  gap: 2px;
}

.testi-text {
  font-size: .9375rem;
  color: var(--txt-2);
  line-height: 1.65;
  font-style: italic;
}

.testi-author {
  display: flex;
  align-items: center;
  gap: var(--s3);
  margin-top: auto;
}

.testi-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--accent-dim);
  display: grid;
  place-items: center;
  font-size: .875rem;
  font-weight: 600;
  color: var(--accent);
}

.testi-name {
  font-size: .875rem;
  font-weight: 500;
  color: var(--txt-1);
}

.testi-trip {
  font-size: .75rem;
  color: var(--txt-3);
}

/* ── FAQ ─────────────────────────────────────────────────── */
.faq-bg {
  background: var(--bg-2);
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: var(--s2);
  max-width: 760px;
  margin-inline: auto;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r2);
  overflow: hidden;
}

.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s4);
  padding: var(--s5) var(--s6);
  font-size: .9375rem;
  font-weight: 500;
  color: var(--txt-1);
  text-align: left;
  cursor: pointer;
  transition: color var(--t-fast);
}

.faq-q:hover {
  color: var(--accent);
}

.faq-q svg {
  flex-shrink: 0;
  transition: transform var(--t-fast);
  color: var(--txt-3);
}

.faq-item.open .faq-q svg {
  transform: rotate(180deg);
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--t-base) ease, padding var(--t-base) ease;
  font-size: .9rem;
  color: var(--txt-2);
  line-height: 1.65;
}

.faq-item.open .faq-a {
  max-height: 400px;
  padding: 0 var(--s6) var(--s5);
}

/* ── Final CTA ───────────────────────────────────────────── */
.final-cta {
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding-block: var(--s12);
  text-align: center;
}

.final-cta__scarcity {
  display: inline-flex;
  align-items: center;
  gap: var(--s2);
  font-size: .8125rem;
  font-weight: 500;
  color: var(--danger);
  background: var(--danger-light);
  border: 1px solid rgba(185, 64, 64, .25);
  padding: var(--s2) var(--s4);
  border-radius: 999px;
  margin-bottom: var(--s6);
}

.final-cta__title {
  font-family: var(--font-display);
  font-size: clamp(32px, 5vw, 64px);
  font-weight: 400;
  color: var(--txt-1);
  line-height: 1.1;
  margin-bottom: var(--s5);
}

.final-cta__title em {
  font-style: italic;
  color: var(--accent);
}

.final-cta__sub {
  font-size: 1.0625rem;
  color: var(--txt-2);
  margin-bottom: var(--s8);
  max-width: 52ch;
  margin-inline: auto;
}

.final-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s4);
  justify-content: center;
}

.contact-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s6);
  justify-content: center;
  margin-top: var(--s8);
  padding-top: var(--s8);
  border-top: 1px solid var(--border);
}

.contact-item {
  display: flex;
  align-items: center;
  gap: var(--s2);
  font-size: .875rem;
  color: var(--txt-2);
}

.contact-item svg {
  color: var(--accent);
}

/* v27: plain-text phone numbers in the contact row are now 1-click WhatsApp
   deep-links. Keep them visually inline with the surrounding text, reveal
   affordance on hover/focus. */
.contact-phone-link {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px dotted var(--accent);
  transition: color var(--t-fast, .2s) var(--ease-out, ease);
}
.contact-phone-link:hover,
.contact-phone-link:focus-visible {
  color: var(--accent);
}

/* ── Footer ─────────────────────────────────────────────── */
.site-footer {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  padding-block: var(--s9);
}

.footer-grid {
  /* v22 Agent 3 — auto-fit collapse ladder.
     - desktop: 2fr 1fr 1fr explicit (kept — brand col is 2× wider)
     - tablet/phone (≤1024 / ≤768): controlled in the responsive blocks below
       and ultimately auto-fit at ≤480px so the columns can re-flow. */
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: var(--s9);
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: var(--s4);
}

.footer-logo {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--txt-1);
}

.footer-logo span {
  color: var(--mint);
}

.footer-tagline {
  font-size: .875rem;
  color: var(--txt-2);
  max-width: 32ch;
}

.footer-col h4 {
  font-size: .6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--txt-3);
  margin-bottom: var(--s4);
}

.footer-col a,
.footer-col p {
  font-size: .875rem;
  color: var(--txt-2);
  display: block;
  margin-bottom: var(--s2);
  transition: color var(--t-fast);
}

.footer-col a:hover {
  color: var(--txt-1);
}

.footer-bottom {
  margin-top: var(--s7);
  padding-top: var(--s7);
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--s4);
  font-size: .8125rem;
  color: var(--txt-3);
}

/* ── Animations ──────────────────────────────────────────── */
@keyframes lineIn {
  from {
    opacity: 0;
    transform: translateY(4px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-up {
  animation: fadeUp var(--t-slow) ease-out both;
}

.fade-up--d1 {
  animation-delay: 80ms;
}

.fade-up--d2 {
  animation-delay: 160ms;
}

.fade-up--d3 {
  animation-delay: var(--t-fast);
}

/* ── v21 phase C.3 — pause-off-screen plumbing ──────────────
   enhance.js's IntersectionObserver toggles `.is-paused` on any
   ambient host (.home-hero, .hero, #alliance-globe, [data-pause-off-
   screen]) when it scrolls out of view. This rule freezes every CSS
   animation inside the subtree, recovering the frame budget the
   browser would otherwise spend ticking off-screen keyframes.
   Pairs with the Performance Contract in MOTION-CLEANUP-MASTER.md §0a. */
.is-paused,
.is-paused *,
.is-paused *::before,
.is-paused *::after {
  animation-play-state: paused !important;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    transition-duration: 1ms !important;
  }
}

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 1024px) {
  .calc-grid {
    grid-template-columns: 1fr;
  }

  .breakdown {
    position: static;
  }

  .sticky-total {
    display: flex;
  }

  /* v22 Phase 3 — only consume bottom padding on pages that ACTUALLY
     have a sticky-total bar (i.e. trip pages). Homepage previously paid
     for 68px of non-existent chrome. */
  body:has(.sticky-total) {
    padding-bottom: var(--sticky-bar-h, 68px);
    /* Respect iOS safe-area so the bar sits above the home indicator */
    padding-bottom: calc(var(--sticky-bar-h, 68px) + env(safe-area-inset-bottom));
  }

  /* v22 Phase 3 — lift the WhatsApp FAB above the sticky-total bar.
     The 16px extra buffer covers cases where the sticky bar's actual
     content height exceeds the --sticky-bar-h token (which is a
     ladder reference, not a hard pin). */
  body:has(.sticky-total) .fab-whatsapp {
    bottom: calc(var(--sticky-bar-h, 68px) + var(--space-4) + env(safe-area-inset-bottom, 0px));
  }

  /* v22 Agent 3 — at ≤1024px, swap to auto-fit so each column has a
     min-width floor (220px) and the grid naturally reflows to 1 col
     at ≤480px without needing a 3rd explicit breakpoint. Replaces the
     previous fixed 1fr 1fr which broke awkwardly on phones. */
  .footer-grid {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: var(--space-5);
  }
}

@media (max-width: 768px) {
  /* v22 Phase 3 — trip-page hero mobile reclamation */
  .hero { min-height: auto; }
  .hero__inner {
    grid-template-columns: 1fr;
    padding: calc(var(--nav-h) + var(--space-5)) var(--container-x) var(--space-7);
    gap: var(--space-4);
  }

  /* v26 mobile-ux: homepage hero keeps a fixed ~140px/128px inline padding at
     all widths (set inline in index.html). Override here so the headline sits
     higher on phones, mirroring .hero__inner above. !important beats the inline. */
  .home-hero__inner {
    padding: calc(var(--nav-h) + var(--space-5)) var(--container-x) var(--section-y) !important;
  }

  .hero__visual { display: none; }

  .hero__strip-inner {
    flex-direction: column;
    gap: var(--s3);
    align-items: flex-start;
  }

  .hotel-grid {
    grid-template-columns: 1fr;
  }

  .packages-grid {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  /* v22 Agent 3 — at ≤768px, drop the brand col bias so its 2fr can
     match the others; auto-fit still controls the column count.
     Final hard collapse to 1 col happens at ≤480px below. */
  .footer-grid {
    gap: var(--space-4);
  }

  .nav-links {
    display: none;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

/* v22 Agent 3 — narrowest tier: guarantee 1-column footer + tighter
   gap (auto-fit already collapses but we belt-and-brace it here). */
@media (max-width: 480px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--space-4);
  }
  .footer-tagline {
    max-width: none;
  }
}

@media (max-width: 640px) {
  .calc-grid {
    /* v22 Agent 3 — tighten the calc gap on phones (32px → 24px) so the
       form + breakdown stack fits more above the fold. */
    gap: var(--space-4);
  }

  .calc-form {
    /* Match: tighter form-internal gaps on phones (32px → 24px). */
    gap: var(--space-4);
  }

  .hero__ctas {
    flex-direction: column;
  }

  .final-cta__actions {
    flex-direction: column;
    align-items: center;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }
}

/* ── Utility ─────────────────────────────────────────────── */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

/* v21 phase J.2.4: .text-accent + .text-bronze utilities deleted —
   zero consumers anywhere; replaced by direct token use. */

.hidden {
  display: none !important;
}

.highlight-flash {
  animation: flash var(--t-slow) ease;
}

@keyframes flash {

  0%,
  100% {
    outline: 0 solid transparent;
  }

  30%,
  70% {
    outline: 2px solid var(--mint);
    outline-offset: 4px;
  }
}

/* ══════════════════════════════════════════════════════════
   BOOKING FORM — WhatsApp Dossier Generator
   ══════════════════════════════════════════════════════════ */

.booking-section {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
}

/* Grid: form left, preview right */
.bform-grid {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: var(--s9);
  align-items: start;
}
/* Responsive: let the booking grid items + fields shrink so the form doesn't
   exceed the viewport on phones (long select options / inputs). */
.bform-grid > *,
.bform-left,
.bform-block { min-width: 0; }
.bform-grid input,
.bform-grid select,
.bform-grid textarea { min-width: 0; max-width: 100%; }

/* ── Form blocks ──────────────────────────────────────────── */
.bform-left {
  display: flex;
  flex-direction: column;
  gap: var(--s5);
}

.bform-block {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r3);
  padding: var(--s6);
  display: flex;
  flex-direction: column;
  gap: var(--s5);
}

.bform-block__title {
  font-size: .875rem;
  font-weight: 600;
  color: var(--txt-1);
  display: flex;
  align-items: center;
  gap: var(--s2);
  padding-bottom: var(--s4);
  border-bottom: 1px solid var(--border);
}

.bform-block__title svg {
  color: var(--accent);
  flex-shrink: 0;
}

.bform-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s4);
}

/* ── Form fields ──────────────────────────────────────────── */
.bform-field {
  display: flex;
  flex-direction: column;
  gap: var(--s2);
}

.bform-field label {
  /* v22 Agent 3 — contrast + size up: --txt-3 (#7a7268) → --txt-2
     (#b6ada0) lifts contrast ratio ~3.4× → ~5.7× on --bg-card.
     Fluid sizing via --fs-body-sm reaches 14px on desktop while still
     staying 13px on small phones (legible without taking too much
     vertical space). Letter-spacing dialled back .06 → .04 so caps
     don't feel airy at the new size. */
  font-size: var(--fs-body-sm);
  font-weight: 500;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--txt-2);
}

.bform-field .req {
  color: var(--danger);
}

.bform-field input,
.bform-field select,
.bform-field textarea {
  background: var(--bg);
  color: var(--txt-1);
  border: 1px solid var(--border);
  border-radius: var(--r2);
  padding: var(--s3) var(--s4);
  font-size: .9375rem;
  font-family: var(--font-body);
  line-height: 1.5;
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
  width: 100%;
  min-height: 44px;
}

.bform-field input:focus,
.bform-field select:focus,
.bform-field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-dim);
}

.bform-field textarea {
  resize: vertical;
  min-height: 80px;
}

/* ── Trip summary chip row ────────────────────────────────── */
.bf-trip-chips {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s2);
}

.bf-trip-chip {
  display: flex;
  align-items: center;
  gap: var(--s2);
  padding: var(--s2) var(--s4);
  background: var(--accent-dim);
  border: 1px solid rgba(255, 255, 255, .06);
  border-radius: 999px;
  font-size: .8125rem;
  color: var(--txt-1);
}

.bf-trip-chip svg {
  color: var(--accent);
}

.bf-trip-chip strong {
  color: var(--accent);
}

.bf-trip-empty {
  font-size: .875rem;
  color: var(--txt-3);
  font-style: italic;
}

/* ── Passport rows ────────────────────────────────────────── */
.bf-passport-entry {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--r2);
  padding: var(--s4) var(--s5);
  display: flex;
  flex-direction: column;
  gap: var(--s4);
  position: relative;
}

.bf-passport-entry__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.bf-passport-entry__label {
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--accent);
}

.bf-passport-entry__remove {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: grid;
  place-items: center;
  color: var(--txt-3);
  font-size: 1rem;
  line-height: 1;
  transition: all var(--t-fast);
  cursor: pointer;
}

.bf-passport-entry__remove:hover {
  border-color: var(--danger);
  color: var(--danger);
  background: var(--danger-light);
}

.bf-passport-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s3);
}

.bf-passport-grid .bform-field input {
  font-size: .875rem;
  padding: var(--s2) var(--s3);
  min-height: 40px;
}

.bf-passport-grid .bform-field label {
  font-size: .6875rem;
}

/* ── Upload zone ──────────────────────────────────────────── */
.upload-zone {
  border: 2px dashed var(--border);
  border-radius: var(--r3);
  padding: var(--s8) var(--s6);
  text-align: center;
  cursor: pointer;
  transition: border-color var(--t-fast), background var(--t-fast);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--s3);
}

.upload-zone:hover,
.upload-zone.drag-over {
  border-color: var(--accent);
  background: var(--accent-dim);
}

.upload-zone__icon {
  color: var(--txt-3);
}

.upload-zone p {
  font-size: .875rem;
  color: var(--txt-2);
  margin: 0;
}

.upload-zone strong {
  color: var(--txt-1);
}

.upload-browse {
  color: var(--accent);
  text-decoration: underline;
  cursor: pointer;
}

.upload-formats {
  font-size: .75rem;
  color: var(--txt-3);
}

.upload-previews {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s3);
  margin-top: var(--s2);
}

.upload-thumb {
  position: relative;
  width: 80px;
  height: 80px;
  border-radius: var(--r2);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.upload-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.upload-thumb__label {
  position: absolute;
  bottom: 0;
  inset-inline: 0;
  background: rgba(0, 0, 0, .7);
  font-size: .5625rem;
  text-align: center;
  padding: 2px 4px;
  color: var(--txt-2);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.upload-thumb__remove {
  position: absolute;
  top: 3px;
  right: 3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--danger);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: .625rem;
  cursor: pointer;
  opacity: 0;
  transition: opacity var(--t-fast);
}

.upload-thumb:hover .upload-thumb__remove {
  opacity: 1;
}

.upload-pdf-icon {
  color: var(--accent);
}

.bform-note {
  font-size: .8125rem;
  color: var(--txt-3);
  line-height: 1.55;
}

.bform-hint {
  font-size: .875rem;
  color: var(--txt-2);
  line-height: 1.6;
}

/* ── Preview panel (sticky right) ───────────────────────────── */
.bform-right {
  position: sticky;
  top: 100px;
}

.bform-preview {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r3);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.bform-preview__header {
  padding: var(--s4) var(--s5);
  border-bottom: 1px solid var(--border);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--txt-3);
  display: flex;
  align-items: center;
  gap: var(--s2);
}

.bform-preview__header svg {
  color: var(--wa-green);
}

.bform-preview__content {
  padding: var(--s5);
  max-height: 480px;
  overflow-y: auto;
  scrollbar-width: thin;
}

.bform-preview__content pre {
  font-family: var(--font-body);
  font-size: .8125rem;
  line-height: 1.7;
  color: var(--txt-2);
  white-space: pre-wrap;
  word-break: break-word;
  margin: 0;
}

.bform-preview__empty {
  font-size: .875rem;
  color: var(--txt-3);
  font-style: italic;
  text-align: center;
  padding: var(--s7) 0;
}

.bform-preview__footer {
  padding: var(--s5);
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: var(--s3);
}

.bform-preview__foot-note {
  font-size: .75rem;
  color: var(--txt-3);
  text-align: center;
}

/* v21 phase J.2.4: .bform-send-disabled + .btn--copy* family deleted —
   the booking-form's disabled-send state + clipboard-copy button were
   scaffolded but never wired. .bform-preview__actions container kept
   in case future booking redesign reuses it. */
.bform-preview__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s2);
}

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 1100px) {
  .bform-grid {
    grid-template-columns: 1fr;
  }

  .bform-right {
    position: static;
  }

  .bform-preview__content {
    max-height: 320px;
  }
}

@media (max-width: 640px) {
  .bform-row-2 {
    grid-template-columns: 1fr;
  }

  .bf-passport-grid {
    grid-template-columns: 1fr;
  }

  /* v22 Agent 3 — phone-fit: tighter padding (32 → 24) and tighter
     internal gaps so each form block consumes ~16px less vertical
     real-estate. The desktop visual stays unchanged. */
  .bform-block {
    padding: var(--space-4);
    gap: var(--space-4);
  }

  .bform-left {
    gap: var(--space-4);
  }
}

/* ══════════════════════════════════════════════════════════
   CINEMATIC ENHANCEMENTS — animations + polish
   ══════════════════════════════════════════════════════════ */

/* ── Hero animations (subtle, CSS-only) ─────────────────── */
@keyframes twinkle {

  0%,
  100% {
    opacity: .35;
  }

  50% {
    opacity: 1;
  }
}

@keyframes glow-pulse {

  0%,
  100% {
    opacity: .85;
    transform: scale(1);
  }

  50% {
    opacity: 1;
    transform: scale(1.08);
  }
}

@keyframes drift-slow {
  0% {
    transform: translateX(0) translateY(0);
  }

  50% {
    transform: translateX(-12px) translateY(8px);
  }

  100% {
    transform: translateX(0) translateY(0);
  }
}

/* Twinkling stars: targets all small white circles in hero SVG art */
.hero__visual-art circle[fill="white"],
.trip-card__art circle[fill="white"] {
  animation: twinkle 4.5s ease-in-out infinite;
  transform-origin: center;
}

.hero__visual-art circle[fill="white"]:nth-of-type(2n) {
  animation-delay: -1.6s;
  animation-duration: 5.5s;
}

.hero__visual-art circle[fill="white"]:nth-of-type(3n) {
  animation-delay: -3.2s;
  animation-duration: 6.2s;
}

.hero__visual-art circle[fill="white"]:nth-of-type(5n) {
  animation-delay: -2.4s;
  animation-duration: 4.8s;
}

/* Moon breathes (any large circle with FFF or fill-opacity ≤ .12 in hero art) */
.hero__visual-art circle[fill="#FFF4D6"],
.hero__visual-art circle[fill="#FFF4D0"],
.hero__visual-art circle[fill="#FFF8F0"],
.hero__visual-art circle[fill="#DFFFF0"] {
  animation: glow-pulse 7s ease-in-out infinite;
  transform-origin: center;
  transform-box: fill-box;
}

/* Water/horizon shimmer overlay */
.hero__bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 40% at 50% 110%, var(--accent-glow) 0%, transparent 60%);
  animation: drift-slow 18s ease-in-out infinite;
  pointer-events: none;
}

/* ── Card press-feedback (button :active is in the canonical .btn block above) ── */
.hotel-card:active {
  transition-duration: 50ms;
}

.trip-card:active {
  transform: translateY(-2px) scale(.995);
  transition-duration: 80ms;
}

/* v21 phase D.1: .btn--primary press-feedback ring consolidated
   into the canonical .btn block above (lines ~1175). */

/* ── Scroll reveal stagger ───────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity var(--t-slow) var(--ease-spring),
    transform var(--t-slow) var(--ease-spring);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-stagger>* {
  transition-delay: calc(var(--i, 0) * 60ms);
}

/* ── AOS-compat reveal (v22: replaces michalsnik/aos library) ──
   Mirrors the subset of AOS attributes actually used in our HTML
   (fade-up + zoom-in only — verified 191 of 191 data-aos values).
   `enhance.js#initRevealObserver` adds .visible on intersection;
   `--aos-delay` and `--aos-duration` are set per-element from
   data-aos-delay / data-aos-duration when present.

   Scoped to `html.js` so no-JS / pre-JS users see content normally
   (matches AOS's html:not(.no-js) pattern). The .js class is added
   by an inline script at the head of every page. */
html.js [data-aos] {
  opacity: 0;
  transition:
    opacity var(--aos-duration, 650ms) var(--ease-out, ease-out)
      var(--aos-delay, 0ms),
    transform var(--aos-duration, 650ms) var(--ease-spring, ease-out)
      var(--aos-delay, 0ms);
}
html.js [data-aos="fade-up"]    { transform: translateY(28px); }
html.js [data-aos="zoom-in"]    { transform: scale(.92); }
html.js [data-aos].visible {
  opacity: 1;
  transform: none;
}

/* ── Stat counter ─────────────────────────────────────────── */
[data-counter] {
  font-variant-numeric: tabular-nums;
}

/* ══════════════════════════════════════════════════════════
   INCLUS / NON INCLUS — comparison block per trip
   ══════════════════════════════════════════════════════════ */
.inclus-section {
  background: var(--bg);
  border-top: 1px solid var(--border);
}

.inclus-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s5);
}

.inclus-col {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r3);
  padding: var(--s7);
  display: flex;
  flex-direction: column;
  gap: var(--s5);
  transition: border-color var(--t-fast), transform var(--t-fast);
}

.inclus-col:hover {
  border-color: var(--border-hi);
}

.inclus-col__head {
  display: flex;
  align-items: center;
  gap: var(--s4);
  padding-bottom: var(--s4);
  border-bottom: 1px solid var(--border);
}

.inclus-col__icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.inclus-col__icon--yes {
  background: var(--sage-light);
  color: var(--sage);
}

.inclus-col__icon--no {
  background: var(--danger-light);
  color: var(--danger);
}

.inclus-col__title {
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-weight: 400;
  color: var(--txt-1);
  line-height: 1.1;
}

.inclus-col__title em {
  font-style: italic;
  color: var(--accent);
}

.inclus-col__count {
  font-size: .75rem;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--txt-3);
  margin-top: 2px;
}

.inclus-list {
  display: flex;
  flex-direction: column;
  gap: var(--s4);
}

.inclus-item {
  display: flex;
  align-items: flex-start;
  gap: var(--s3);
  font-size: .9375rem;
  line-height: 1.55;
  color: var(--txt-2);
}

.inclus-item svg {
  flex-shrink: 0;
  margin-top: 3px;
  width: 16px;
  height: 16px;
}

.inclus-item--yes svg {
  color: var(--sage);
}

.inclus-item--no svg {
  color: var(--danger);
  opacity: .7;
}

.inclus-item strong {
  color: var(--txt-1);
  font-weight: 500;
}

/* ══════════════════════════════════════════════════════════
   VOUS AIMEREZ AUSSI — cross-trip recommendations
   ══════════════════════════════════════════════════════════ */
.related-section {
  background: var(--bg-2);
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: var(--s5);
}

.related-card {
  display: flex;
  gap: var(--s4);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r3);
  padding: var(--s5);
  text-decoration: none;
  color: inherit;
  transition: transform var(--t), box-shadow var(--t), border-color var(--t);
}

.related-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--elev-2);
  border-color: var(--border-hi);
}

.related-card__art {
  width: 96px;
  height: 96px;
  border-radius: var(--r2);
  flex-shrink: 0;
  overflow: hidden;
}

.related-card__art>* {
  width: 100%;
  height: 100%;
}

.related-card__body {
  display: flex;
  flex-direction: column;
  gap: var(--s2);
  flex: 1;
  min-width: 0;
}

.related-card__flag {
  font-size: .625rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--txt-3);
}

.related-card__title {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 400;
  color: var(--txt-1);
  line-height: 1.2;
}

.related-card__price {
  font-size: .8125rem;
  color: var(--txt-2);
  margin-top: auto;
}

.related-card__price strong {
  color: var(--txt-1);
  font-variant-numeric: tabular-nums;
  font-size: 1rem;
  font-weight: 600;
}

.related-card__cta {
  display: flex;
  align-items: center;
  gap: var(--s2);
  font-size: .8125rem;
  color: var(--accent);
  margin-top: var(--s1);
}

/* ══════════════════════════════════════════════════════════
   NAV TRIP SWITCHER (dropdown on each trip page)
   ══════════════════════════════════════════════════════════ */
.trip-switcher {
  position: relative;
  display: flex;
  align-items: center;
}

.trip-switcher__trigger {
  display: flex;
  align-items: center;
  gap: var(--s2);
  font-size: .8125rem;
  color: var(--txt-2);
  padding: var(--s2) var(--s3);
  border-radius: var(--r2);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all var(--t-fast);
}

.trip-switcher__trigger:hover {
  background: var(--bg-card);
  color: var(--txt-1);
  border-color: var(--border);
}

.trip-switcher__trigger svg {
  transition: transform var(--t-fast);
  color: var(--txt-3);
}

.trip-switcher.open .trip-switcher__trigger svg {
  transform: rotate(180deg);
}

.trip-switcher__menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  /* v22 follow-up #4: was a static 320px, which on a 320px viewport
     forces overflow because the menu equals the entire viewport width
     while being absolutely positioned to the right of a trigger. Clamp
     to never exceed (100vw - 32px gutter). */
  min-width: min(320px, calc(100vw - 32px));
  background: rgba(20, 22, 28, .95);
  backdrop-filter: blur(18px);
  border: 1px solid var(--border-hi);
  border-radius: var(--r3);
  padding: var(--s2);
  box-shadow: var(--elev-2);
  display: flex;
  flex-direction: column;
  gap: 2px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px) scale(.97);
  transform-origin: top right;
  transition: opacity var(--t-fast) ease, transform var(--t-fast) ease;
  z-index: var(--z-dropdown);
}

.trip-switcher.open .trip-switcher__menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.trip-switcher__item {
  display: flex;
  align-items: center;
  gap: var(--s3);
  padding: var(--s3) var(--s4);
  border-radius: var(--r2);
  font-size: .8125rem;
  color: var(--txt-2);
  transition: background var(--t-fast), color var(--t-fast);
}

.trip-switcher__item:hover {
  background: rgba(255, 255, 255, .05);
  color: var(--txt-1);
}

.trip-switcher__item.current {
  background: var(--accent-dim);
  color: var(--accent);
}

.trip-switcher__item-flag {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.trip-switcher__item-name {
  flex: 1;
  font-weight: 500;
}

.trip-switcher__item-price {
  font-size: .6875rem;
  color: var(--txt-3);
  font-variant-numeric: tabular-nums;
}

/* ══════════════════════════════════════════════════════════
   TRIP CARD SHARE BUTTON (homepage)
   ══════════════════════════════════════════════════════════ */
.trip-card {
  position: relative;
}

.trip-card__share {
  position: absolute;
  top: var(--s3);
  right: var(--s3);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(12, 14, 18, .75);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border);
  display: grid;
  place-items: center;
  color: var(--txt-1);
  cursor: pointer;
  opacity: 0;
  transition: all var(--t-fast);
  z-index: 2;
}

.trip-card:hover .trip-card__share {
  opacity: 1;
}

.trip-card__share:hover {
  background: var(--mint);
  border-color: var(--mint);
  color: #fff;
  transform: scale(1.08);
}

.trip-card__share:focus-visible {
  opacity: 1;
}

/* Toast (used by share + copy fallback) */
.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: rgba(20, 22, 28, .96);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-hi);
  border-radius: 999px;
  padding: var(--s3) var(--s5);
  font-size: .8125rem;
  color: var(--txt-1);
  display: flex;
  align-items: center;
  gap: var(--s2);
  box-shadow: var(--elev-2);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--t-fast) ease, transform var(--t-fast) ease;
  z-index: var(--z-toast);
}

.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.toast--success {
  border-color: var(--sage);
}

.toast--success svg {
  color: var(--sage);
}

/* ══════════════════════════════════════════════════════════
   PRINT — clean dossier export
   ══════════════════════════════════════════════════════════ */
@media print {
  body {
    background: white !important;
    color: #111 !important;
  }

  .site-nav,
  .sticky-total,
  .booking-section,
  .final-cta,
  .hero__noise,
  .hero__faded-title,
  .related-section,
  .trip-card__share,
  .toast,
  .breakdown__ctas,
  .nav-cta,
  .nav-links,
  .hero__ctas {
    display: none !important;
  }

  .hero,
  .hero__bg,
  .hero__visual {
    background: white !important;
  }

  .hero__title,
  .hero__lede,
  .section-head__title,
  .inclus-col__title,
  .pkg-name,
  .testi-text,
  .faq-q,
  .faq-a,
  .timeline,
  .tl-title,
  .tl-activities,
  .breakdown__total-amount,
  .hotel-card__name,
  h1,
  h2,
  h3,
  h4,
  p,
  li,
  span {
    color: #111 !important;
  }

  .bg,
  .container,
  section,
  .hotel-card,
  .pkg-card,
  .inclus-col,
  .hl-card,
  .stat-card,
  .testi-card,
  .faq-item,
  .breakdown {
    background: white !important;
    border-color: #ddd !important;
    box-shadow: none !important;
    page-break-inside: avoid;
  }

  .hero__visual-art,
  .hero__bg::before,
  .hero__bg::after {
    display: none !important;
  }

  a {
    color: #111 !important;
    text-decoration: none !important;
  }

  .faq-item {
    border: 1px solid #ddd !important;
    padding: 12px;
    margin-bottom: 8px;
  }

  .faq-item .faq-a {
    max-height: none !important;
    padding: 8px 0 !important;
  }
}

/* ══════════════════════════════════════════════════════════
   RESPONSIVE additions for new components
   ══════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
  .inclus-grid {
    grid-template-columns: 1fr;
  }

  .related-grid {
    grid-template-columns: 1fr;
  }

  .trip-switcher__menu {
    /* v22 follow-up #3: -120px caused a 120px horizontal-scroll leak on
       iPhone SE (320px). Anchor inside the viewport with a 16px gutter,
       cap width at viewport-minus-32. The trigger anchor was the right
       edge of the navbar; we now anchor by translating left within the
       viewport instead of shifting the menu past the parent edge. */
    right: 16px;
    min-width: min(280px, calc(100vw - 32px));
  }
}


/* ══════════════════════════════════════════════════════════
   IMAGE INJECTION — local photos in placeholder wrappers
   Added by _inject_images.py · additive only · no class mods
   ══════════════════════════════════════════════════════════ */
/* v21 phase J.2.5: .hero__visual-img + .hl-card__photo dropped —
   neither is used in HTML. Real consumers (.trip-card__img,
   .hotel-card__photo) keep the shared rule. */
.trip-card__img,
.hotel-card__photo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__visual-art {
  position: relative;
}

.trip-card__art {
  position: relative;
}

/* Soft dark vignette so light text/badges stay legible over photos */
.hero__visual-art::after,
.trip-card__art::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
      rgba(12, 14, 18, 0) 0%,
      rgba(12, 14, 18, 0) 50%,
      rgba(12, 14, 18, .55) 100%);
  pointer-events: none;
  z-index: 2;
}

.trip-card__flag,
.trip-card__from {
  z-index: 3;
}

/* v21 phase J.2.5: ~43-line duplicate IMAGE-INJECTION block deleted —
   was a verbatim copy of the proper block above, prefixed by a broken
   comment fragment ("Added by _inject_images.py …") whose opening
   `/*` had been eaten by a prior edit. The duplicate was parsing-broken
   anyway because of the corrupted comment; deleting it is pure repair. */

/* ══════════════════════════════════════════════════════════
   ALLIANCE TRAVEL BRAND SYSTEM — Token overrides applied
   Navy var(--navy) · Mint var(--mint) · DM Sans · Waypoint scale
   ══════════════════════════════════════════════════════════ */

/* ── Global focus ring ───────────────────────────────────── */
:focus-visible {
  outline: 2px solid var(--mint);
  outline-offset: 2px;
  border-radius: 2px;
}
:focus:not(:focus-visible) { outline: none; }

/* ── Skip link ───────────────────────────────────────────── */
.skip-link {
  position: absolute;
  top: -100px;
  left: 8px;
  background: var(--mint);
  color: var(--navy);
  font-weight: 600;
  padding: var(--s2) var(--s4);
  border-radius: var(--r2);
  z-index: var(--z-toast);
  transition: top var(--t);
}
.skip-link:focus { top: 8px; }

/* v21 phase J.2.5: .nav-logo-img deleted — the SVG logo lives directly
   inside the .nav-logo anchor and uses its own size attributes. */
.site-nav { gap: var(--s5); }

/* ── Nav scrolled: navy surface ──────────────────────────── */
.site-nav.scrolled {
  background: rgba(0,44,81,0.95);
  border-bottom: 1px solid var(--border);
}

/* v21 phase D.1: .btn--primary token-driven mint+navy declaration
   consolidated into the canonical .btn block at the top of file. */

/* ── Trip cards — Waypoint border/radius ─────────────────── */
.trip-card { border-color: var(--border); border-radius: var(--r3); }
.trip-card:hover { border-color: rgba(156,232,178,0.45); }
.trip-card__flag { border-radius: var(--r1); }
.trip-card__from { border-radius: var(--r2); }

/* ── Hotel cards ─────────────────────────────────────────── */
.hotel-card { border-radius: var(--r3); border-color: var(--border); }
.hotel-card.selected { border-color: var(--mint); box-shadow: 0 0 0 1px var(--mint), var(--elev-2); }
.hotel-card__ribbon { border-radius: var(--r1); }
.hotel-card__cta:hover { background: var(--mint-dim); border-color: var(--mint); color: var(--mint); }
.hotel-card.selected .hotel-card__cta { background: var(--mint-dim); border-color: var(--mint); color: var(--mint); }

/* ── Tier tabs ────────────────────────────────────────────── */
.tier-tab[aria-pressed="true"] { border-color: var(--mint); color: var(--mint); }
.tier-tab:hover { color: var(--txt-1); }

/* ── Calculator ──────────────────────────────────────────── */
.date-chip.active { border-color: var(--mint); background: var(--mint-dim); color: var(--mint); }
.seg-opt.active   { background: var(--mint-dim); color: var(--mint); }
.stepper__btn:hover:not(:disabled) { border-color: var(--mint); color: var(--mint); }
.extra-toggle.checked { border-color: var(--mint); background: var(--mint-dim); }
.extra-toggle.checked .extra-toggle__check { background: var(--mint); border-color: var(--mint); }
.breakdown { border-color: var(--border); border-radius: var(--r3); }

/* ── Booking form ────────────────────────────────────────── */
.bform-block { border-color: var(--border); border-radius: var(--r3); }
.bform-field input:focus,
.bform-field select:focus,
.bform-field textarea:focus {
  border-color: var(--mint);
  box-shadow: 0 0 0 3px rgba(156,232,178,0.2);
}
.bform-preview { border-color: var(--border); border-radius: var(--r3); }

/* ── FAQ ─────────────────────────────────────────────────── */
.faq-item { border-color: var(--border); border-radius: var(--r1); }
.faq-q:hover { color: var(--mint); }

/* ── Packages ────────────────────────────────────────────── */
.pkg-card { border-color: var(--border); border-radius: var(--r3); }
.pkg-card.recommended { border-color: var(--mint); box-shadow: 0 0 0 1px var(--mint); }
.pkg-badge { background: var(--mint); color: var(--navy); }

/* ── Inclus panel ────────────────────────────────────────── */
.inclus-col { border-color: var(--border); border-radius: var(--r3); }

/* ── Related cards ───────────────────────────────────────── */
.related-card { border-color: var(--border); border-radius: var(--r3); }
.related-card:hover { border-color: rgba(156,232,178,0.45); }

/* ── Stat / highlight cards ──────────────────────────────── */
.stat-card { border-color: var(--border); }
.hl-card { border-color: var(--border); border-radius: var(--r3); }

/* ── Footer ──────────────────────────────────────────────── */
.site-footer { background: var(--bg-2); border-color: var(--border); }
.footer-bottom { border-color: var(--border); }

/* ── Toast ────────────────────────────────────────────────── */
.toast--success { border-color: var(--mint); }
.toast--success svg { color: var(--mint); }

/* ── Hero bg — navy accent glow ──────────────────────────── */
.hero__bg::after {
  background: radial-gradient(ellipse 80% 60% at 70% 50%, var(--accent-glow), transparent 70%);
}

/* ══════════════════════════════════════════════════════════
   SECTION HIERARCHY — logical reorder
   Calculator flows directly into Booking form (no gap).
   ══════════════════════════════════════════════════════════ */

/* The calculator and booking form share the same bg (--bg-2)
   and flow as one unified "Configure & Book" zone */
.calc-section {
  padding-bottom: var(--s7);   /* tighter bottom — booking starts right below */
}
.calc-section + .booking-section {
  padding-top: var(--s7);      /* tighter top — flows from calc */
  border-top: 1px solid var(--border);
}

/* Visual zone connector: subtle divider between step 1 and step 2 */
.calc-section + .booking-section::before {
  content: '';
  display: block;
  width: 48px;
  height: 2px;
  background: var(--mint);
  margin: 0 auto var(--s8);
  opacity: 0.6;
}

/* Section eyebrow step indicators */
.section-head__eyebrow:has(+ .section-head__title) {
  letter-spacing: .1em;
}

/* ══════════════════════════════════════════════════════════
   MIGRATION v2 — Logo centered · Theme switcher · Light mode
   ══════════════════════════════════════════════════════════ */

/* ── Nav: 3-column grid (logo center, links left, cta right) ── */
.site-nav {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: var(--s4) var(--s7);
  gap: var(--s5);
}
.site-nav .nav-logo {
  grid-column: 2;
  justify-self: center;
}
.nav-logo svg, .nav-logo-img {
  height: 52px !important;
  width: auto;
}
.site-nav .nav-links {
  grid-column: 1;
  justify-self: start;
  display: flex;
  align-items: center;
  gap: var(--s6);
}
/* v21 phase J.2.5: .nav-right deleted — was for a 3-column grid nav
   that the current flex-based nav doesn't use. */
@media (max-width: 768px) {
  .site-nav { grid-template-columns: auto 1fr auto; gap: var(--s3); padding: var(--s3) var(--s5); }
  .site-nav .nav-links { display: none; }
  .nav-logo svg, .nav-logo-img { height: 40px !important; }
}

/* ── Theme toggle button ─────────────────────────────────── */
.theme-toggle {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 50%;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  color: var(--txt-1);
  cursor: pointer;
  transition: border-color var(--t), color var(--t), transform var(--t);
}
.theme-toggle:hover {
  border-color: var(--mint);
  color: var(--mint);
  transform: rotate(15deg);
}
.theme-toggle__sun { display: none; }
.theme-toggle__moon { display: block; }
[data-theme="light"] .theme-toggle__sun { display: block; }
[data-theme="light"] .theme-toggle__moon { display: none; }

/* Smooth theme transition */
html { transition: background-color var(--t-base) ease; }
body, .hero, .hero__bg, .site-nav, section, .breakdown,
.hotel-card, .trip-card, .pkg-card, .testi-card, .stat-card,
.hl-card, .faq-item, .related-card, .inclus-col, .bform-block,
.bform-preview, .value-card, .toast, .trip-switcher__menu {
  transition: background-color var(--t-base) ease, border-color var(--t-base) ease, color var(--t-base) ease;
}
@media (prefers-reduced-motion: reduce) {
  html, body, .hero, .hero__bg, .site-nav, section, .breakdown,
  .hotel-card, .trip-card, .pkg-card, .testi-card, .stat-card,
  .hl-card, .faq-item, .related-card, .inclus-col, .bform-block,
  .bform-preview, .value-card, .toast, .trip-switcher__menu {
    transition: none !important;
  }
}

/* ══════════════════════════════════════════════════════════
   LIGHT MODE — component-level overrides
   (Token definitions for light mode live in the canonical :root
    block at the top of this file.)
   ══════════════════════════════════════════════════════════ */
:root[data-theme="light"] body { background: var(--bg); }

:root[data-theme="light"] .site-nav.scrolled {
  background: rgba(251,248,241,0.95);
  border-bottom: 1px solid var(--border);
}

/* Logo: swap cream fills to navy in light mode */
:root[data-theme="light"] .nav-logo svg path[fill="#efe8df"] { fill: var(--navy) !important; }

/* Make the "Travel" wordmark legible at small sizes — the original SVG
   geometry is hairline-thin so add a matching-color stroke to thicken
   the visual weight without changing the artwork. paint-order ensures
   the stroke sits behind the fill so corners stay crisp. */
.nav-logo svg path[fill="#efe8df"] {
  stroke: #efe8df;
  stroke-width: 0.8;
  paint-order: stroke fill;
}
:root[data-theme="light"] .nav-logo svg path[fill="#efe8df"] {
  stroke: var(--navy);
}

/* Hero: cream gradient instead of black */
:root[data-theme="light"] .hero__bg {
  background: linear-gradient(165deg, #fbf8f1 0%, #f5e6d6 60%, #ebd9c2 100%);
}
:root[data-theme="light"] .hero__bg::before,
:root[data-theme="light"] .hero__bg::after { opacity: 0.5; }
:root[data-theme="light"] .hero__noise { opacity: 0.015; }
:root[data-theme="light"] .hero__faded-title { color: var(--navy); opacity: 0.04; }
:root[data-theme="light"] .hero__visual { border: 1px solid rgba(0,44,81,0.2); }
:root[data-theme="light"] .hero__strip {
  background: rgba(251,248,241,0.92);
  border-top: 1px solid var(--border);
}

:root[data-theme="light"] .hero__visual-art::after,
:root[data-theme="light"] .trip-card__art::after {
  background: linear-gradient(180deg, rgba(0,44,81,0) 0%, rgba(0,44,81,0) 50%, rgba(0,44,81,.5) 100%);
}

/* All cards on white background in light mode */
:root[data-theme="light"] .breakdown,
:root[data-theme="light"] .hotel-card,
:root[data-theme="light"] .trip-card,
:root[data-theme="light"] .pkg-card,
:root[data-theme="light"] .testi-card,
:root[data-theme="light"] .stat-card,
:root[data-theme="light"] .hl-card,
:root[data-theme="light"] .faq-item,
:root[data-theme="light"] .related-card,
:root[data-theme="light"] .inclus-col,
:root[data-theme="light"] .bform-block,
:root[data-theme="light"] .bform-preview,
:root[data-theme="light"] .value-card,
:root[data-theme="light"] .breakdown__total {
  background: #ffffff;
  border-color: var(--border);
}

:root[data-theme="light"] .nav-cta,
:root[data-theme="light"] .btn--primary {
  color: #ffffff !important;
}
:root[data-theme="light"] .pkg-badge { color: #ffffff; }
:root[data-theme="light"] .btn--ghost {
  background: rgba(255,255,255,0.6);
  border-color: var(--border-hi);
}

:root[data-theme="light"] .bform-field input,
:root[data-theme="light"] .bform-field select,
:root[data-theme="light"] .bform-field textarea {
  background: #ffffff;
  color: var(--txt-1);
  border-color: var(--border);
}
:root[data-theme="light"] .bf-passport-entry { background: #fdfaf2; border-color: var(--border); }

:root[data-theme="light"] .home-hero__bg {
  background: radial-gradient(ellipse 90% 60% at 60% 40%, rgba(46,139,87,.12) 0%, transparent 70%),
              linear-gradient(145deg, #fbf8f1 0%, #f3ede1 60%, #ebd9c2 100%);
}
/* v21 phase E.1: .home-hero__faded watermark removed */

:root[data-theme="light"] .site-footer { background: var(--bg-2); }
:root[data-theme="light"] .toast {
  background: rgba(255,255,255,0.96);
  border-color: rgba(0,44,81,0.2);
}
:root[data-theme="light"] .trip-switcher__menu {
  background: rgba(255,255,255,0.96);
  border-color: rgba(0,44,81,0.18);
}
:root[data-theme="light"] .trip-switcher__trigger:hover { background: rgba(0,44,81,0.04); }

/* ══════════════════════════════════════════════════════════
   REGIONAL THEME — per-trip atmosphere via body[data-region]
   ══════════════════════════════════════════════════════════ */

[data-region="egypt"] .hero { background-color: var(--region-bg-egypt); }
[data-region="egypt"] .hero__bg::before {
  background-image: radial-gradient(circle at 20% 80%, rgba(201,135,46,0.18), transparent 50%),
                     radial-gradient(circle at 80% 20%, rgba(180,100,30,0.12), transparent 60%);
}

[data-region="azerbaijan"] .hero { background-color: var(--region-bg-azerbaijan); }
[data-region="azerbaijan"] .hero__bg::before {
  background-image: radial-gradient(circle at 50% 100%, rgba(232,93,47,0.15), transparent 50%),
                     radial-gradient(circle at 30% 30%, rgba(58,175,175,0.18), transparent 55%);
}

[data-region="istanbul"] .hero { background-color: var(--region-bg-istanbul); }
[data-region="istanbul"] .hero__bg::before {
  background-image: radial-gradient(circle at 70% 80%, rgba(224,112,64,0.14), transparent 55%),
                     radial-gradient(circle at 30% 30%, rgba(91,158,201,0.15), transparent 60%);
}

[data-region="malaysia"] .hero { background-color: var(--region-bg-malaysia); }
[data-region="malaysia"] .hero__bg::before {
  background-image: radial-gradient(circle at 50% 50%, rgba(76,175,130,0.15), transparent 60%),
                     radial-gradient(circle at 80% 20%, rgba(150,210,180,0.10), transparent 50%);
}

[data-region="sharm"] .hero { background-color: var(--region-bg-sharm); }
[data-region="sharm"] .hero__bg::before {
  background-image: radial-gradient(circle at 50% 70%, rgba(40,180,212,0.18), transparent 55%),
                     radial-gradient(circle at 70% 30%, rgba(232,138,58,0.10), transparent 60%);
}

/* Section eyebrow gets a regional accent dash */
[data-region] .section-head__eyebrow {
  position: relative;
  padding-left: 18px;
}
[data-region] .section-head__eyebrow::before {
  content: '';
  position: absolute;
  left: 0; top: 50%;
  width: 12px; height: 1px;
  background: var(--accent);
  transform: translateY(-50%);
}


/* ══════════════════════════════════════════════════════════
   FLOATING NAV — single-row pill, override grid layout
   ══════════════════════════════════════════════════════════ */

.site-nav {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: center;
  position: fixed;
  top: 16px;
  left: clamp(16px, 3vw, 40px);
  right: clamp(16px, 3vw, 40px);
  height: 64px;
  padding: 0 var(--s4);
  background: rgba(0, 44, 81, 0.5);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid rgba(156, 232, 178, 0.16);
  border-radius: 999px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.32),
              inset 0 1px 0 rgba(255, 255, 255, 0.04);
  z-index: var(--z-nav);
  gap: var(--s3);
  grid-template-columns: none !important;
  grid-template-rows: none !important;
}

.site-nav.scrolled {
  background: rgba(0, 44, 81, 0.78);
  border-color: rgba(156, 232, 178, 0.22);
}

/* Logo absolute-centered in the pill */
.site-nav .nav-logo {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  grid-column: auto !important;
  grid-row: auto !important;
  justify-self: auto !important;
}
.nav-logo svg, .nav-logo-img { height: 40px !important; }

/* Left side: nav-links */
.site-nav .nav-links {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  gap: var(--s5);
  list-style: none;
  margin: 0;
  padding: 0;
  grid-column: auto !important;
  grid-row: auto !important;
}
.site-nav .nav-links li { list-style: none; }
.site-nav .nav-links a {
  font-size: 0.875rem;
  white-space: nowrap;
  color: var(--txt-1);
  opacity: 0.85;
  transition: opacity var(--t-fast) ease, color var(--t-fast) ease;
}
.site-nav .nav-links a:hover { opacity: 1; color: var(--mint); }

/* Right group: first sibling among toggle/switcher/cta gets margin-left:auto */
.site-nav > .theme-toggle {
  margin-left: auto;
  grid-column: auto !important;
  grid-row: auto !important;
}
.site-nav > .trip-switcher,
.site-nav > .nav-cta {
  grid-column: auto !important;
  grid-row: auto !important;
  flex-shrink: 0;
}

.site-nav .theme-toggle {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
}

.site-nav .nav-cta {
  height: 40px;
  padding: 0 var(--s4);
  font-size: 0.875rem;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.site-nav .trip-switcher__trigger {
  font-size: 0.8125rem;
  white-space: nowrap;
  padding: 6px 10px;
  height: 36px;
}
.site-nav .trip-switcher__trigger span { white-space: nowrap; }

/* Hide "Tous les voyages" label on smaller widths to save space */
@media (max-width: 1100px) {
  .site-nav .trip-switcher__trigger > span:first-of-type { display: none; }
}

/* Mobile: collapse links, shrink everything */
@media (max-width: 768px) {
  .site-nav {
    height: 56px;
    padding: 0 var(--s3);
    gap: var(--s2);
    top: 10px;
    left: 10px;
    right: 10px;
  }
  .site-nav .nav-links { display: none; }
  .nav-logo svg, .nav-logo-img { height: 32px !important; }
  .site-nav .nav-cta {
    height: 36px;
    padding: 0 var(--s3);
    font-size: 0.8125rem;
  }
  .site-nav .theme-toggle { width: 32px; height: 32px; }
  .site-nav > .theme-toggle { margin-left: auto; }
}

/* Light mode: white-tinted pill */
:root[data-theme="light"] .site-nav {
  background: rgba(255, 255, 255, 0.65);
  border-color: rgba(0, 44, 81, 0.12);
  box-shadow: 0 8px 32px rgba(0, 44, 81, 0.12),
              inset 0 1px 0 rgba(255, 255, 255, 0.5);
}
:root[data-theme="light"] .site-nav.scrolled {
  background: rgba(255, 255, 255, 0.88);
  border-color: rgba(0, 44, 81, 0.18);
}
:root[data-theme="light"] .site-nav .nav-links a { color: var(--navy); opacity: 0.85; }
:root[data-theme="light"] .site-nav .nav-links a:hover { color: var(--mint); opacity: 1; }


/* ══════════════════════════════════════════════════════════
   v3 — Logo LEFT + visibility fixes for photo overlays
   ══════════════════════════════════════════════════════════ */

/* ── Logo on the LEFT (override centered absolute positioning) ── */
.site-nav .nav-logo {
  position: static !important;
  left: auto !important;
  top: auto !important;
  transform: none !important;
  order: 0;
  flex-shrink: 0;
}

/* Nav-links centered between logo and right-controls */
.site-nav .nav-links {
  order: 1;
  margin-inline: auto;
}

.site-nav > .theme-toggle {
  order: 2;
  margin-left: 0 !important;
}
.site-nav > .trip-switcher { order: 3; }
.site-nav > .nav-cta       { order: 4; }

/* ── Photo-overlay badges — theme-INDEPENDENT (always dark glass + light text) ── */
/* These sit on top of hotel/trip photos and must read regardless of page theme */

.trip-card__flag {
  background: rgba(12, 14, 18, 0.78) !important;
  color: rgba(255, 255, 255, 0.85) !important;
  border-color: rgba(255, 255, 255, 0.08) !important;
}

.trip-card__from {
  background: rgba(12, 14, 18, 0.85) !important;
  color: rgba(255, 255, 255, 0.7) !important;
  border-color: rgba(255, 255, 255, 0.12) !important;
}
.trip-card__from strong {
  color: #ffffff !important;
}

.hotel-card__ribbon {
  background: rgba(12, 14, 18, 0.88) !important;
  color: rgba(255, 255, 255, 0.85) !important;
}

.trip-card__share {
  background: rgba(12, 14, 18, 0.78) !important;
  color: #ffffff !important;
  border-color: rgba(255, 255, 255, 0.12) !important;
}
.trip-card__share:hover {
  background: var(--mint) !important;
  border-color: var(--mint) !important;
  color: var(--navy) !important;
}

/* Hero trust-strip overlays photo too — keep cream text */
.hero__strip {
  background: rgba(12, 14, 18, 0.65) !important;
}
.hero__strip .trust-pill {
  color: rgba(255, 255, 255, 0.82) !important;
}
.hero__strip .trust-pill svg {
  color: var(--mint) !important;
}

/* Departure card overlay — text must be readable on its glass surface */
:root[data-theme="light"] .hero__dep-card {
  background: rgba(255, 255, 255, 0.92) !important;
  border-color: rgba(0, 44, 81, 0.18) !important;
}
:root[data-theme="light"] .hero__dep-card .dep-pill {
  color: var(--navy) !important;
  border-color: rgba(0, 44, 81, 0.12) !important;
}
:root[data-theme="light"] .hero__dep-card h3 {
  color: var(--txt-3) !important;
}

/* Final CTA scarcity pill — danger red on dark hero gradient */
:root[data-theme="light"] .final-cta__scarcity {
  background: rgba(185, 64, 64, 0.12) !important;
  color: var(--danger) !important;
}

/* Hero faded title on light theme should also stay subtle */
:root[data-theme="light"] .hero__faded-title {
  color: var(--navy) !important;
  opacity: 0.04;
}


/* ══════════════════════════════════════════════════════════
   v3.1 — WCAG fixes (token values folded into canonical
   :root[data-theme="light"] at top of file). Component-level
   overrides below remain.
   ══════════════════════════════════════════════════════════ */

/* Section eyebrows: use brand mint (dark) in light mode regardless of per-page accent
   This gives consistent typographic hierarchy + AA contrast on cream */
:root[data-theme="light"] .section-head__eyebrow {
  color: var(--mint) !important;
}

/* Trip card "Voir ce voyage" CTA: brand mint in light mode (was using per-page accent
   which was a low-contrast gold/teal on white) */
:root[data-theme="light"] .trip-card__cta {
  color: var(--mint) !important;
}

/* Highlight card icons: use mint container instead of per-page color in light mode */
:root[data-theme="light"] .hl-card__icon {
  background: var(--mint-dim);
  color: var(--mint);
}

/* Trust pill icons in hero strip stay mint regardless of theme */
:root[data-theme="light"] .hero__strip .trust-pill svg {
  color: var(--mint) !important;
}

/* CTA buttons: .btn--primary font-weight 600 is set in canonical .btn block.
   .nav-cta keeps its own weight bump for nav-context readability. */
.nav-cta {
  font-weight: 600;
}

/* Per-page accent text on light bg gets darkened too — applies to section heads,
   itinerary day labels, trip-card art glow, etc. Don't override the dark-mode
   dramatic accent gradients in hero — only fix readability of small text */
:root[data-theme="light"] [data-region="egypt"] .section-head__eyebrow,
:root[data-theme="light"] [data-region="azerbaijan"] .section-head__eyebrow,
:root[data-theme="light"] [data-region="istanbul"] .section-head__eyebrow,
:root[data-theme="light"] [data-region="malaysia"] .section-head__eyebrow,
:root[data-theme="light"] [data-region="sharm"] .section-head__eyebrow {
  color: var(--mint) !important;
}


/* ══════════════════════════════════════════════════════════
   v4 — Algeria map · Travel animations · Hero paper plane
   ══════════════════════════════════════════════════════════ */

/* ── Algeria map section ─────────────────────────────────── */
.algeria-section {
  position: relative;
  background: var(--bg);
  overflow: hidden;
  border-top: 1px solid var(--border);
}
.algeria-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 30% 20%, var(--mint-glow), transparent 50%),
    radial-gradient(ellipse at 80% 70%, rgba(0,44,81,.15), transparent 60%);
  pointer-events: none;
}

.algeria-map-wrap {
  position: relative;
  margin-top: var(--s9);
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--s7);
}

/* Branch cards grid */
.branch-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: var(--s4);
  margin-top: var(--s7);
}
.branch-card {
  /* bg + border-color from canonical v21-D.2 surface block */
  border: 1px solid;
  border-radius: var(--r3);
  padding: var(--s5);
  transition: transform var(--t-fast) ease, border-color var(--t-fast) ease, box-shadow var(--t-fast) ease;
}
.branch-card:hover {
  transform: translateY(-4px);
  border-color: var(--mint);
  box-shadow: 0 12px 32px rgba(0,44,81,.15);
}
.branch-card--hq {
  border-color: var(--mint);
  background: linear-gradient(180deg, var(--mint-dim), var(--bg-card));
  position: relative;
}
.branch-card--hq::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  border: 1px solid var(--mint);
  opacity: 0.6;
  animation: card-pulse 2.6s ease-in-out infinite;
  pointer-events: none;
}
@keyframes card-pulse {
  0%, 100% { opacity: 0.3; transform: scale(1); }
  50%      { opacity: 0.7; transform: scale(1.015); }
}
.branch-card header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s2);
  margin-bottom: var(--s3);
}
.branch-card h3 {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--txt-1);
  margin: 0;
}
.branch-flag {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: .12em;
  padding: 3px 9px;
  border-radius: var(--r1);
  background: var(--mint);
  color: var(--navy);
}
.branch-flag--alt {
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--txt-3);
}
.branch-addr {
  font-size: 0.875rem;
  color: var(--txt-2);
  margin: 0 0 var(--s3);
}
.branch-phones {
  display: flex;
  flex-direction: column;
  gap: var(--s2);
}
.branch-card a[href^="tel:"] {
  font-size: 0.875rem;
  color: var(--mint);
  font-weight: 600;
  text-decoration: none;
  transition: color var(--t-fast) ease;
}
.branch-card a[href^="tel:"]:hover { color: var(--mint-hov); }

/* v21 phase J.2: .hero__plane orphan + @keyframes plane-arc deleted.
   The paper-plane mascot survey-tagged for keeping had its HTML host
   removed in an earlier session; only the CSS animation hung around
   with no element to animate. ~38 lines deleted (selector + keyframe
   + ::after trail). */

/* v21-phase-C: tilt-bob culled — related-card icon stays still on hover.
   Decoration that competed with the lift+shadow already on the parent card. */

.hl-card:hover .hl-card__icon {
  transform: rotate(-6deg) scale(1.05);
  transition: transform var(--t-base) var(--ease-spring);
}

.bform-block__title svg { transition: transform var(--t-fast) ease; }
.bform-block:hover .bform-block__title svg { transform: rotate(-8deg); }

/* Responsive */
@media (max-width: 768px) {
  .branch-list { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .branch-card--hq::before,
  .hl-card:hover .hl-card__icon {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}

/* Light mode for branch cards */
:root[data-theme="light"] .branch-card { background: #ffffff; }
:root[data-theme="light"] .branch-card--hq {
  background: linear-gradient(180deg, var(--mint-dim), #ffffff);
}


/* ══════════════════════════════════════════════════════════
   v5 — Per-region atmospheric backgrounds
   Body patterns + hero decorative silhouettes per destination
   ══════════════════════════════════════════════════════════ */

/* ── Body pattern overlay (subtle, fixed, doesn't scroll) ──── */
body[data-region]::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: var(--region-pattern);
  background-size: var(--region-pattern-size, 240px);
  background-position: center;
  background-repeat: repeat;
  opacity: var(--region-pattern-opacity, 0.06);
  pointer-events: none;
  z-index: 0;
  mix-blend-mode: screen;
}

/* Light mode uses overlay blend instead of screen */
:root[data-theme="light"] body[data-region]::before {
  mix-blend-mode: multiply;
  opacity: var(--region-pattern-opacity-light, 0.08);
}

/* ══════════════════════════════════════════════════════════
   EGYPT — sand-gold hieroglyph chevrons
   ══════════════════════════════════════════════════════════ */
[data-region="egypt"] {
  --region-pattern-size: 200px;
  --region-pattern: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'><g fill='none' stroke='%23C9872E' stroke-width='0.6' opacity='0.9'><path d='M0 100 L20 80 L40 100 L60 80 L80 100 L100 80 L120 100 L140 80 L160 100 L180 80 L200 100'/><path d='M0 130 L20 110 L40 130 L60 110 L80 130 L100 110 L120 130 L140 110 L160 130 L180 110 L200 130'/><circle cx='100' cy='40' r='10'/><line x1='100' y1='25' x2='100' y2='35'/><line x1='100' y1='45' x2='100' y2='55'/><line x1='85' y1='40' x2='95' y2='40'/><line x1='105' y1='40' x2='115' y2='40'/><path d='M100 165 L110 175 L100 185 L90 175 Z' /></g></svg>");
}

[data-region="egypt"] .hero__bg::after {
  background: radial-gradient(ellipse 80% 60% at 70% 50%, rgba(201,135,46,0.28), transparent 70%),
              radial-gradient(circle at 20% 100%, rgba(140,80,30,0.4), transparent 50%);
}

/* ══════════════════════════════════════════════════════════
   AZERBAIJAN — Caspian flame & geometric rug
   ══════════════════════════════════════════════════════════ */
[data-region="azerbaijan"] {
  --region-pattern-size: 220px;
  --region-pattern: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 220 220'><g fill='none' stroke='%233AAFAF' stroke-width='0.7' opacity='0.9'><path d='M110 30 Q 120 60 110 90 Q 100 60 110 30 Z' fill='%23E85D2F' fill-opacity='0.08' stroke='%23E85D2F'/><path d='M40 130 L60 110 L80 130 L100 110 L120 130 L140 110 L160 130 L180 110' /><circle cx='110' cy='180' r='14'/><circle cx='110' cy='180' r='6'/><path d='M30 30 L50 50 M30 50 L50 30 M170 30 L190 50 M170 50 L190 30'/></g></svg>");
}

[data-region="azerbaijan"] .hero__bg::after {
  background: radial-gradient(ellipse 80% 60% at 50% 100%, rgba(232,93,47,0.22), transparent 60%),
              radial-gradient(ellipse 70% 50% at 30% 30%, rgba(58,175,175,0.25), transparent 65%);
}

/* ══════════════════════════════════════════════════════════
   ISTANBUL — Ottoman 8-point star tile
   ══════════════════════════════════════════════════════════ */
[data-region="istanbul"] {
  --region-pattern-size: 180px;
  --region-pattern: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 180 180'><g fill='none' stroke='%2370b8e0' stroke-width='0.7' opacity='0.9'><path d='M90 30 L110 70 L150 70 L120 100 L130 140 L90 120 L50 140 L60 100 L30 70 L70 70 Z'/><circle cx='90' cy='90' r='12'/><circle cx='90' cy='90' r='4'/></g></svg>");
}

[data-region="istanbul"] .hero__bg::after {
  background: radial-gradient(ellipse 70% 60% at 70% 80%, rgba(224,112,64,0.20), transparent 60%),
              radial-gradient(ellipse 60% 50% at 30% 30%, rgba(112,184,224,0.20), transparent 65%);
}

/* ══════════════════════════════════════════════════════════
   MALAYSIA — Tropical leaf batik
   ══════════════════════════════════════════════════════════ */
[data-region="malaysia"] {
  --region-pattern-size: 200px;
  --region-pattern: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'><g fill='none' stroke='%234CAF82' stroke-width='0.7' opacity='0.9'><path d='M100 30 Q 130 60 130 100 Q 130 140 100 170 Q 70 140 70 100 Q 70 60 100 30 Z'/><line x1='100' y1='30' x2='100' y2='170'/><path d='M100 50 L120 65 M100 70 L125 85 M100 90 L128 105 M100 110 L125 125 M100 130 L120 145 M100 150 L115 160'/><path d='M100 50 L80 65 M100 70 L75 85 M100 90 L72 105 M100 110 L75 125 M100 130 L80 145 M100 150 L85 160'/><circle cx='30' cy='30' r='3' fill='%234CAF82' opacity='0.4'/><circle cx='170' cy='170' r='3' fill='%234CAF82' opacity='0.4'/></g></svg>");
}

[data-region="malaysia"] .hero__bg::after {
  background: radial-gradient(ellipse 70% 60% at 50% 50%, rgba(76,175,130,0.22), transparent 65%),
              radial-gradient(ellipse 50% 40% at 80% 20%, rgba(150,210,180,0.18), transparent 60%);
}

/* ══════════════════════════════════════════════════════════
   SHARM — Coral wave & bubble
   ══════════════════════════════════════════════════════════ */
[data-region="sharm"] {
  --region-pattern-size: 180px;
  --region-pattern: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 180 180'><g fill='none' stroke='%2328B4D4' stroke-width='0.7' opacity='0.9'><path d='M0 60 Q 30 30 60 60 T 120 60 T 180 60'/><path d='M0 120 Q 30 90 60 120 T 120 120 T 180 120'/><circle cx='40' cy='30' r='3'/><circle cx='100' cy='25' r='2'/><circle cx='150' cy='35' r='4'/><circle cx='30' cy='150' r='2'/><circle cx='80' cy='160' r='3'/><circle cx='140' cy='150' r='2'/></g></svg>");
}

[data-region="sharm"] .hero__bg::after {
  background: radial-gradient(ellipse 70% 60% at 50% 70%, rgba(40,180,212,0.25), transparent 60%),
              radial-gradient(ellipse 50% 40% at 70% 30%, rgba(232,138,58,0.15), transparent 60%);
}

/* ══════════════════════════════════════════════════════════
   HOMEPAGE — global travel constellation
   ══════════════════════════════════════════════════════════ */
body:not([data-region])::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 300'><g fill='%239ce8b2' opacity='0.6'><circle cx='30' cy='40' r='1'/><circle cx='80' cy='25' r='1.5'/><circle cx='150' cy='50' r='1'/><circle cx='220' cy='30' r='1.2'/><circle cx='270' cy='60' r='1'/><circle cx='50' cy='110' r='1.3'/><circle cx='130' cy='140' r='1'/><circle cx='200' cy='120' r='1.1'/><circle cx='260' cy='160' r='1.4'/><circle cx='40' cy='200' r='1'/><circle cx='110' cy='220' r='1.2'/><circle cx='180' cy='250' r='1'/><circle cx='250' cy='240' r='1.3'/><circle cx='90' cy='280' r='1'/></g><g fill='none' stroke='%239ce8b2' stroke-width='0.3' opacity='0.25'><path d='M30 40 L80 25 L150 50' /><path d='M150 50 L220 30 L270 60'/><path d='M50 110 L130 140 L200 120 L260 160'/><path d='M40 200 L110 220 L180 250 L250 240'/></g></svg>");
  background-size: 360px;
  background-repeat: repeat;
  opacity: 0.06;
  pointer-events: none;
  z-index: 0;
  mix-blend-mode: screen;
}

:root[data-theme="light"] body:not([data-region])::before {
  mix-blend-mode: multiply;
  opacity: 0.10;
}

/* Make sure body content sits above the pattern overlay (do NOT touch .site-nav — it must stay z-index 100 fixed) */
main, footer, section, .home-hero { position: relative; z-index: 1; }

/* ══════════════════════════════════════════════════════════
   v5.2 — Real photographic backgrounds (full-bleed hero atmospheres)
   The destination photo becomes the hero's full backdrop
   with strong dark-side gradient so text stays readable.
   ══════════════════════════════════════════════════════════ */

/* Generic full-bleed hero photo backdrop layer */
.hero {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* Stronger left-side darken so the headline reads cleanly over the photo */
.hero__bg {
  background:
    linear-gradient(90deg, rgba(0,0,0,.75) 0%, rgba(0,0,0,.55) 35%, rgba(0,0,0,.25) 65%, rgba(0,0,0,.15) 100%),
    var(--hero-gradient, linear-gradient(135deg,#1a1208 0%,#0a0c12 60%,#0c1420 100%));
}

/* Per-region hero photo backdrops with WebP-first via image-set().
   Browsers that support WebP pick it; the rest fall back to JPG.
   Mobile media query swaps to a smaller crop for a ~70% byte reduction.
   Paths are relative to this CSS file (site/assets/css/styles.css):
     ../images/heroes/* -> site/assets/images/heroes/* */
[data-region="egypt"] .hero {
  background-image:
    image-set(url("../images/heroes/hero__cairo-sharm.webp") type("image/webp"),
              url("../images/heroes/hero__cairo-sharm.jpg") type("image/jpeg"));
}
[data-region="azerbaijan"] .hero {
  background-image:
    image-set(url("../images/heroes/hero__azerbaidjan.webp") type("image/webp"),
              url("../images/heroes/hero__azerbaidjan.jpg") type("image/jpeg"));
}
[data-region="istanbul"] .hero {
  background-image:
    image-set(url("../images/heroes/hero__istanbul.webp") type("image/webp"),
              url("../images/heroes/hero__istanbul.jpg") type("image/jpeg"));
}
[data-region="malaysia"] .hero {
  background-image:
    image-set(url("../images/heroes/hero__kuala-lumpur.webp") type("image/webp"),
              url("../images/heroes/hero__kuala-lumpur.jpg") type("image/jpeg"));
}
[data-region="sharm"] .hero {
  background-image:
    image-set(url("../images/heroes/hero__sharm-constantine.webp") type("image/webp"),
              url("../images/heroes/hero__sharm-constantine.jpg") type("image/jpeg"));
}

/* Mobile (<=768px): use the smaller cropped variants — ~70% smaller files */
@media (max-width: 768px) {
  [data-region="egypt"] .hero {
    background-image:
      image-set(url("../images/heroes/hero__cairo-sharm--mobile.webp") type("image/webp"),
                url("../images/heroes/hero__cairo-sharm--mobile.jpg") type("image/jpeg"));
  }
  [data-region="azerbaijan"] .hero {
    background-image:
      image-set(url("../images/heroes/hero__azerbaidjan--mobile.webp") type("image/webp"),
                url("../images/heroes/hero__azerbaidjan--mobile.jpg") type("image/jpeg"));
  }
  [data-region="istanbul"] .hero {
    background-image:
      image-set(url("../images/heroes/hero__istanbul--mobile.webp") type("image/webp"),
                url("../images/heroes/hero__istanbul--mobile.jpg") type("image/jpeg"));
  }
  [data-region="malaysia"] .hero {
    background-image:
      image-set(url("../images/heroes/hero__kuala-lumpur--mobile.webp") type("image/webp"),
                url("../images/heroes/hero__kuala-lumpur--mobile.jpg") type("image/jpeg"));
  }
  [data-region="sharm"] .hero {
    background-image:
      image-set(url("../images/heroes/hero__sharm-constantine--mobile.webp") type("image/webp"),
                url("../images/heroes/hero__sharm-constantine--mobile.jpg") type("image/jpeg"));
  }
}

/* Override .hero__bg per region: keep the per-region tinted gradient
   AND the photo behind it. The pseudo-elements remain for atmosphere */
[data-region] .hero__bg {
  background:
    linear-gradient(95deg,
      rgba(0,0,0,.85) 0%,
      rgba(0,0,0,.65) 30%,
      rgba(0,0,0,.30) 60%,
      rgba(0,0,0,.10) 100%);
}

/* Light mode: invert overlay so cream text shows */
:root[data-theme="light"] [data-region] .hero__bg {
  background:
    linear-gradient(95deg,
      rgba(251,248,241,.85) 0%,
      rgba(251,248,241,.65) 30%,
      rgba(251,248,241,.30) 60%,
      rgba(251,248,241,.10) 100%);
}

/* The hero__visual side panel becomes redundant when the photo
   is full-bleed. Soften it so it acts as a subtle frame instead */
[data-region] .hero__visual {
  background: rgba(0,0,0,0.18);
  border-color: rgba(255,255,255,0.08);
  backdrop-filter: blur(2px);
}
:root[data-theme="light"] [data-region] .hero__visual {
  background: rgba(255,255,255,0.18);
  border-color: rgba(0,44,81,0.10);
}

/* ══════════════════════════════════════════════════════════
   HOMEPAGE — atmospheric photo collage backdrop
   ══════════════════════════════════════════════════════════ */
.home-hero {
  position: relative;
  isolation: isolate;
}

.home-hero__photos {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
}

.home-hero__photos img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.85) brightness(0.55);
  opacity: 0.55;
  transition: opacity var(--t-slow) ease, filter var(--t-slow) ease;
  animation: photo-fade 12s ease-in-out infinite;
}

.home-hero__photos img:nth-child(1) { animation-delay: 0s; }
.home-hero__photos img:nth-child(2) { animation-delay: -2.4s; }
.home-hero__photos img:nth-child(3) { animation-delay: -4.8s; }
.home-hero__photos img:nth-child(4) { animation-delay: -7.2s; }
.home-hero__photos img:nth-child(5) { animation-delay: -9.6s; }

/* Lazy-tile placeholder fill (tiles 2-5). The 1x1 SVG src paints nothing,
   so without this dark background the parent collage bleeds through until
   hero-collage-lazy.js swaps the real srcset in after window.load + idle. */
.home-hero__photos picture[data-lazy-hero] > img {
  background: #111;
}

@keyframes photo-fade {
  0%, 100% { opacity: 0.35; transform: scale(1.0); }
  50%      { opacity: 0.7;  transform: scale(1.04); }
}

/* Heavy overlay on the photo strip so text stays readable */
.home-hero__photos::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(10,8,5,.65) 0%, rgba(10,8,5,.55) 50%, rgba(10,8,5,.85) 100%),
    radial-gradient(ellipse at 60% 40%, transparent 30%, rgba(10,8,5,.45) 80%);
  pointer-events: none;
}

/* The original gradient .home-hero__bg should layer ABOVE the photos
   to maintain the warm bronze atmosphere */
.home-hero__bg {
  z-index: -1;
  mix-blend-mode: multiply;
  opacity: 0.85;
}

/* Light mode: photos lighten/desaturate further */
:root[data-theme="light"] .home-hero__photos img {
  filter: saturate(0.6) brightness(1.05);
  opacity: 0.4;
}
:root[data-theme="light"] .home-hero__photos::after {
  background:
    linear-gradient(180deg, rgba(251,248,241,.55) 0%, rgba(251,248,241,.4) 50%, rgba(251,248,241,.7) 100%);
}

/* Mobile: stack into 2 columns + reduce intensity */
@media (max-width: 768px) {
  .home-hero__photos {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(3, 1fr);
  }
  .home-hero__photos img:nth-child(5) { display: none; }
  [data-region] .hero {
    background-position: 70% center;  /* keep subject visible on narrow screens */
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-hero__photos img { animation: none !important; }
}

/* Reinforce nav layering — explicit override against v5 sibling rules */
.site-nav { z-index: var(--z-nav) !important; }

/* ══════════════════════════════════════════════════════════
   v6 — Professional motion polish layer
   Cinematic hero parallax, magnetic CTAs, premium reveals,
   spring-curve micro-interactions, scroll progress bar.
   Designed to layer on top of v5.2 without changing identity.
   ══════════════════════════════════════════════════════════ */

/* ---- 6.0 — Motion tokens folded into canonical :root at top of file ---- */

/* ---- 6.1 — Ken Burns hero removed (2026-06-12): selector
   `[data-region] .hero` matched no element (trip pages use .scroll-hero),
   and the keyframes animated background-size/position (paint-storm if it
   ever matched). Dead code deleted. ---- */

.hero__bg {
  transform: translate3d(0, calc(var(--scroll-y, 0) * 0.18px), 0);
  /* will-change removed (v22): the scroll handler re-applies the transform
     every frame while scrolling, so the compositor layer is created on-demand
     and torn down when scroll settles — keeping it permanent leaks GPU memory. */
}
[data-region] .hero {
  background-attachment: scroll;
}

[data-region] .hero::after {
  content: "";
  position: absolute; inset: 0;
  pointer-events: none;
  background: radial-gradient(ellipse 70% 80% at 30% 50%, transparent 30%, rgba(0,0,0,.45) 95%);
  opacity: .55;
  z-index: 1;
  mix-blend-mode: multiply;
}
:root[data-theme="light"] [data-region] .hero::after {
  background: radial-gradient(ellipse 70% 80% at 30% 50%, transparent 35%, rgba(255,255,255,.55) 95%);
  mix-blend-mode: screen;
}
.hero__inner, .hero__content { position: relative; z-index: 3; }

.home-hero__photos img {
  /* photo-fade is an infinite keyframe animation — layer must stay composited.
     Gated below ≤640px (collage limited to 2 visible photos per perf-gate). */
  will-change: transform, opacity;
  transform-origin: center;
}

/* ---- 6.2 — Premium scroll-reveal classes ---- */
[data-fx] {
  opacity: 0;
  transition:
    opacity var(--t-cinema) var(--ease-spring),
    transform var(--t-cinema) var(--ease-spring),
    filter   var(--t-cinema) var(--ease-spring);
  /* will-change removed (v22): one-time entrance fires once on intersection.
     The browser composites the transform on-demand when the transition runs. */
}
[data-fx="up"]      { transform: translate3d(0, 32px, 0); }
[data-fx="down"]    { transform: translate3d(0, -28px, 0); }
[data-fx="left"]    { transform: translate3d(-40px, 0, 0); }
[data-fx="right"]   { transform: translate3d(40px, 0, 0); }
[data-fx="zoom"]    { transform: scale(.94); }
[data-fx="blur"]    { filter: blur(8px); transform: translate3d(0, 16px, 0); }
[data-fx="rise"]    { transform: translate3d(0, 60px, 0) scale(.97); }
[data-fx="reveal"]  { clip-path: inset(0 0 100% 0); transform: none; opacity: 1; }

[data-fx].is-in {
  opacity: 1;
  transform: none;
  filter: none;
  clip-path: inset(0 0 0 0);
}

[data-fx-stagger] > * {
  opacity: 0;
  transform: translate3d(0, 24px, 0);
  transition:
    opacity var(--t-slow) var(--ease-spring),
    transform var(--t-slow) var(--ease-spring);
  transition-delay: calc(var(--d, 0) * 70ms);
  /* will-change removed (v22): one-time stagger entrance — layer per child
     would multiply mobile compositor pressure linearly with list length. */
}
[data-fx-stagger].is-in > * {
  opacity: 1;
  transform: none;
}

/* ---- 6.3 — Magnetic buttons ---- */
.btn,
.nav-cta,
a.btn--primary,
a.btn--ghost,
.book-form button[type="submit"],
.calc-cta {
  --mx: 0px;
  --my: 0px;
  transform: translate3d(var(--mx), var(--my), 0);
  transition:
    transform var(--t-fast) var(--ease-spring-soft),
    background var(--t-fast) var(--ease-snap),
    color var(--t-fast) var(--ease-snap),
    box-shadow var(--t-base) var(--ease-spring),
    border-color var(--t-fast) var(--ease-snap);
}
/* will-change only during hover/focus — the magnet effect runs JS rAF
   updates of --mx/--my while pointer is over the button. Outside hover,
   transform never changes so no compositor layer needed (v22). */
.btn:hover, .btn:focus-visible,
.nav-cta:hover, .nav-cta:focus-visible,
a.btn--primary:hover, a.btn--primary:focus-visible,
a.btn--ghost:hover, a.btn--ghost:focus-visible,
.book-form button[type="submit"]:hover,
.book-form button[type="submit"]:focus-visible,
.calc-cta:hover, .calc-cta:focus-visible {
  will-change: transform;
}
.btn--primary {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.btn--primary::before {
  content: "";
  position: absolute;
  inset: -2px;
  background: radial-gradient(circle at var(--gx, 50%) var(--gy, 50%),
              rgba(255,255,255,.35) 0%, transparent 45%);
  opacity: 0;
  transition: opacity var(--t-base) var(--ease-snap);
  pointer-events: none;
  z-index: -1;
}
.btn--primary:hover::before { opacity: 1; }
.btn--primary:hover {
  box-shadow: 0 14px 30px -12px rgba(156, 232, 178, .35),
              0 0 0 1px rgba(156, 232, 178, .25) inset;
}

/* ---- 6.4 — Cards: spring-feel hover ---- */
.trip-card,
.hotel-card,
.value-card,
.branch-card,
.testimonial,
.faq__item {
  transition:
    transform var(--t-base) var(--ease-spring-soft),
    box-shadow var(--t-base) var(--ease-spring),
    border-color var(--t-fast) var(--ease-snap),
    background var(--t-fast) var(--ease-snap);
  cursor: pointer;
}
.trip-card:hover,
.hotel-card:hover,
.value-card:hover,
.branch-card:hover {
  transform: translate3d(0, -6px, 0);
  /* will-change scoped to hover: layer created on enter, dropped on leave
     so 12+ cards in a grid don't sit as permanent compositor layers (v22). */
  will-change: transform;
  box-shadow: 0 28px 50px -22px rgba(0, 0, 0, .55),
              0 0 0 1px rgba(156, 232, 178, .12);
}
:root[data-theme="light"] .trip-card:hover,
:root[data-theme="light"] .hotel-card:hover,
:root[data-theme="light"] .value-card:hover,
:root[data-theme="light"] .branch-card:hover {
  box-shadow: 0 24px 44px -22px rgba(0, 44, 81, .25),
              0 0 0 1px rgba(35, 122, 74, .18);
}

.trip-card__hero { overflow: hidden; }
.trip-card__art,
.trip-card img {
  transition: transform 1.2s var(--ease-spring);
}
.trip-card:hover .trip-card__art,
.trip-card:hover img {
  transform: scale(1.06);
  /* layer scoped to parent :hover — created on enter, freed on leave (v22) */
  will-change: transform;
}

.trip-card { position: relative; isolation: isolate; }
.trip-card::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--accent, var(--mint)), transparent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t-slow) var(--ease-spring);
  z-index: 2;
  pointer-events: none;
}
.trip-card:hover::after { transform: scaleX(1); }

/* ---- 6.5 — Section reveal ---- */
section { scroll-margin-top: 90px; }

.section-head .section-head__eyebrow,
.section-head h2,
.section-head__title {
  opacity: 0;
  transform: translate3d(0, 20px, 0);
  transition:
    opacity var(--t-cinema) var(--ease-spring),
    transform var(--t-cinema) var(--ease-spring);
  /* will-change removed (v22): one-time entrance from observer.
     Permanent layer on every section header inflates mobile GPU. */
}
.section-head.is-in .section-head__eyebrow { opacity: 1; transform: none; transition-delay: 0ms; }
.section-head.is-in h2,
.section-head.is-in .section-head__title { opacity: 1; transform: none; transition-delay: 120ms; }

/* ---- 6.6 — Scroll progress bar ---- */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  width: 100%;
  z-index: var(--z-sticky);
  pointer-events: none;
  background: transparent;
}
.scroll-progress__fill {
  height: 100%;
  width: var(--p, 0%);
  background: linear-gradient(90deg,
    rgba(156, 232, 178, 0) 0%,
    var(--mint) 30%,
    var(--mint) 70%,
    rgba(156, 232, 178, 0) 100%);
  transform-origin: left;
  transition: width 80ms linear;
  box-shadow: 0 0 12px var(--mint);
}
:root[data-theme="light"] .scroll-progress__fill {
  background: linear-gradient(90deg, transparent, #237a4a 30%, #237a4a 70%, transparent);
  box-shadow: 0 0 8px rgba(35, 122, 74, .5);
}

/* ---- 6.7 — Floating quick-WhatsApp ----
   v21 prod-prep: rewritten to comply with Performance Contract §0a item 1
   (GPU props only — no animated box-shadow). The "glow" pulse now lives
   on a ::before pseudo-element that scales + fades — pure compositor work,
   no paint cost per frame. Edge spacing bumped to 24px so the shadow
   no longer clips against the viewport corner. */
.fab-whatsapp {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--wa-green);
  color: #fff;
  display: grid;
  place-items: center;
  z-index: var(--z-fab);
  /* Static shadow only — not animated. Tighter than before so it fits
     within the 24px breathing room without clipping at the viewport edge. */
  box-shadow: 0 6px 16px -2px rgba(37, 211, 102, .45),
              0 2px 8px rgba(0, 0, 0, .25);
  transition: transform var(--t-base) var(--ease-spring),
              box-shadow var(--t-base) var(--ease-out);
  text-decoration: none;
  opacity: 0;
  transform: translate3d(0, 14px, 0) scale(.85);
  pointer-events: none;
}
/* GPU-only pulse ring — scales + fades via transform + opacity */
.fab-whatsapp::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--wa-green);
  opacity: 0;
  pointer-events: none;
  z-index: -1;
  animation: fab-pulse 2.6s ease-out infinite;
  will-change: transform, opacity;
}
.fab-whatsapp.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
  pointer-events: auto;
}
.fab-whatsapp:hover {
  transform: translate3d(0, -3px, 0) scale(1.07);
  box-shadow: 0 10px 22px -4px rgba(37, 211, 102, .55),
              0 4px 12px rgba(0, 0, 0, .3);
}
.fab-whatsapp svg { width: 26px; height: 26px; position: relative; z-index: 1; }

/* Pause the pulse when the FAB itself is hidden (saves ~60 RAF/sec) */
.fab-whatsapp:not(.is-visible)::before { animation: none; }

@keyframes fab-pulse {
  0%   { transform: scale(1);   opacity: .55; }
  100% { transform: scale(1.6); opacity: 0;   }
}

/* ---- 6.8 — Micro-interactions ---- */
.nav-links a {
  position: relative;
  transition: color var(--t-fast) var(--ease-snap);
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -4px;
  width: 100%;
  height: 1.5px;
  background: var(--mint);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform var(--t-base) var(--ease-spring);
}
.nav-links a:hover::after,
.nav-links a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.trip-tag,
.tag {
  transition: background var(--t-fast) var(--ease-snap), transform var(--t-fast) var(--ease-spring-soft);
}
.trip-tag:hover { transform: translateY(-1px); }

/* ---- 6.9 — Counter punch on reveal ---- */
@keyframes counter-punch {
  0%   { transform: scale(.85); }
  60%  { transform: scale(1.08); }
  100% { transform: scale(1); }
}
[data-counter].is-in {
  animation: counter-punch var(--t-cinema) var(--ease-spring-soft) both;
  display: inline-block;
}

/* ---- 6.10 — Improved focus rings ---- */
.btn:focus-visible,
.nav-cta:focus-visible,
.theme-toggle:focus-visible,
.trip-card:focus-visible,
.nav-links a:focus-visible,
.fab-whatsapp:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--mint);
  outline-offset: 3px;
  border-radius: var(--r2, 8px);
}

/* ---- 6.11 — Cursor pointer ---- */
.trip-card,
.hotel-card,
.value-card,
.branch-card,
.faq__item summary,
.theme-toggle,
.nav-hamburger,
.trip-card__share,
[role="button"] {
  cursor: pointer;
}

/* ---- 6.12 — Image-load fade-in ---- */
img.fx-img {
  opacity: 0;
  transform: scale(1.02);
  transition: opacity var(--t-slow) var(--ease-spring), transform 1.2s var(--ease-spring);
}
img.fx-img.loaded {
  opacity: 1;
  transform: scale(1);
}

/* ---- 6.13 — Section dividers ---- */
section + section {
  position: relative;
}
section + section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
  transform: translateX(-50%);
  transition: width 1.4s var(--ease-spring);
  pointer-events: none;
}
section + section.is-in::before { width: 60%; }

/* ---- 6.14 — Reduced motion ---- */
@media (prefers-reduced-motion: reduce) {
  [data-region] .hero { animation: none !important; }
  .home-hero__photos img { animation: none !important; }
  [data-fx], [data-fx-stagger] > *, .section-head .section-head__eyebrow,
  .section-head h2, .section-head__title {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    clip-path: none !important;
    transition: none !important;
  }
  .fab-whatsapp { animation: none !important; }
  section + section::before { transition: none !important; width: 60% !important; }
  .btn, .nav-cta, .trip-card, .hotel-card, .value-card, .branch-card {
    transform: none !important;
    transition: none !important;
  }
  .scroll-progress__fill { transition: none !important; }
}

/* ---- 6.15 — Mobile tweaks ---- */
@media (max-width: 640px) {
  [data-region] .hero {
    animation-duration: 36s;
    background-size: cover;
  }
  .fab-whatsapp { width: 50px; height: 50px; right: 14px; bottom: 14px; }
  .fab-whatsapp svg { width: 22px; height: 22px; }
}

/* ══════════════════════════════════════════════════════════
   v7 — Industry-pattern polish layer
   Synthesized from 20 leading travel sites:
   sticky inquiry bar, trust strip, press logos, lightbox,
   accordion itinerary, soft-urgency badges, FAB tooltip,
   premium destination cards, scroll-snap testimonials.
   ══════════════════════════════════════════════════════════ */

/* ---- 7.1 — Trust strip (just below hero) ---- */
.trust-strip {
  position: relative;
  z-index: 4;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: clamp(12px, 2vw, 36px);
  padding: 18px clamp(16px, 4vw, 40px);
  background: rgba(12, 14, 18, 0.55);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.825rem;
  color: var(--txt-2, #c9cdd4);
  letter-spacing: 0.01em;
  margin-top: -1px;
}
:root[data-theme="light"] .trust-strip {
  background: rgba(251, 248, 241, 0.85);
  border-color: rgba(0, 44, 81, 0.08);
  color: var(--txt-2);
}
.trust-strip__item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}
.trust-strip__item svg {
  flex-shrink: 0;
  color: var(--mint, var(--mint));
}
.trust-strip__item strong {
  color: var(--txt-1);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.trust-strip__sep {
  width: 1px;
  height: 18px;
  background: rgba(255, 255, 255, 0.12);
  display: none;
}
@media (min-width: 720px) {
  .trust-strip__sep { display: block; }
}
:root[data-theme="light"] .trust-strip__sep {
  background: rgba(0, 44, 81, 0.15);
}

/* ---- 7.2 — Sticky inquiry bar (trip pages, slides in after hero) ---- */
.trip-sticky-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--z-sticky);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px clamp(16px, 4vw, 32px);
  background: rgba(12, 14, 18, 0.92);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transform: translateY(-100%);
  transition: transform var(--t-base) var(--ease-spring);
  pointer-events: none;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
}
.trip-sticky-bar.is-visible {
  transform: translateY(0);
  pointer-events: auto;
}
:root[data-theme="light"] .trip-sticky-bar {
  background: rgba(251, 248, 241, 0.96);
  border-color: rgba(0, 44, 81, 0.10);
}
.trip-sticky-bar__info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  flex: 1;
}
.trip-sticky-bar__name {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--txt-1);
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.trip-sticky-bar__meta {
  font-size: 0.75rem;
  color: var(--txt-3);
  letter-spacing: 0.02em;
}
.trip-sticky-bar__price {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  line-height: 1.1;
  text-align: right;
}
.trip-sticky-bar__price-from {
  font-size: 0.7rem;
  color: var(--txt-3);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.trip-sticky-bar__price-num {
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--mint);
  font-variant-numeric: tabular-nums;
}
.trip-sticky-bar__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: var(--mint);
  color: var(--navy, var(--navy));
  font-weight: 600;
  font-size: 0.875rem;
  border-radius: 999px;
  text-decoration: none;
  white-space: nowrap;
  transition: transform var(--t-fast) var(--ease-spring), box-shadow var(--t-fast) ease;
  box-shadow: 0 6px 16px -4px rgba(156, 232, 178, 0.45);
}
.trip-sticky-bar__cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 22px -4px rgba(156, 232, 178, 0.55);
}
.trip-sticky-bar__cta svg {
  width: 16px;
  height: 16px;
}
@media (max-width: 640px) {
  .trip-sticky-bar { padding: 8px 12px; gap: 8px; }
  .trip-sticky-bar__name { font-size: 0.8125rem; }
  .trip-sticky-bar__price { display: none; }
  .trip-sticky-bar__cta { padding: 8px 14px; font-size: 0.8125rem; }
  .trip-sticky-bar__meta { display: none; }
}

/* ---- 7.3 — Lightbox photo gallery ---- */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(5, 6, 9, 0.96);
  z-index: var(--z-modal);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--t-base) ease;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.lightbox.is-open {
  opacity: 1;
  pointer-events: auto;
}
.lightbox__img {
  max-width: 92vw;
  max-height: 86vh;
  object-fit: contain;
  border-radius: 6px;
  box-shadow: 0 30px 80px -10px rgba(0, 0, 0, 0.7);
  transform: scale(0.96);
  transition: transform var(--t-base) var(--ease-spring);
}
.lightbox.is-open .lightbox__img {
  transform: scale(1);
}
.lightbox__close,
.lightbox__nav {
  position: absolute;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #fff;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background var(--t-fast) ease, transform var(--t-fast) var(--ease-spring);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.lightbox__close:hover,
.lightbox__nav:hover {
  background: rgba(255, 255, 255, 0.18);
  transform: scale(1.06);
}
.lightbox__close { top: 20px; right: 20px; }
.lightbox__nav  { top: 50%; transform: translateY(-50%); }
.lightbox__nav:hover { transform: translateY(-50%) scale(1.06); }
.lightbox__nav--prev { left: 20px; }
.lightbox__nav--next { right: 20px; }
.lightbox__counter {
  position: absolute;
  top: 22px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.875rem;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.04em;
}
.lightbox__caption {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  max-width: 80vw;
  text-align: center;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.875rem;
  background: rgba(0, 0, 0, 0.4);
  padding: 8px 16px;
  border-radius: 999px;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
@media (max-width: 640px) {
  .lightbox__nav { width: 38px; height: 38px; }
  .lightbox__nav--prev { left: 10px; }
  .lightbox__nav--next { right: 10px; }
  .lightbox__close { top: 12px; right: 12px; }
}

/* Hover affordance on images that participate in the lightbox */
img.lb-target {
  cursor: zoom-in;
  transition: filter var(--t-fast) ease, transform var(--t-slow) var(--ease-spring);
}
img.lb-target:hover {
  filter: brightness(1.05) saturate(1.05);
}

/* ---- 7.4 — Itinerary accordion (auto-converts existing timeline) ---- */
[data-accordion] {
  display: block;
  border-radius: 14px;
  overflow: hidden;
  background: var(--bg-card, rgba(255, 255, 255, 0.02));
  border: 1px solid var(--border, rgba(255, 255, 255, 0.06));
  transition: border-color var(--t-fast) ease, background var(--t-fast) ease;
}
[data-accordion] + [data-accordion] {
  margin-top: 10px;
}
[data-accordion] summary {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 22px;
  cursor: pointer;
  font-weight: 600;
  font-size: 1rem;
  color: var(--txt-1);
  list-style: none;
  position: relative;
  user-select: none;
}
[data-accordion] summary::-webkit-details-marker { display: none; }
[data-accordion] summary::after {
  content: "";
  margin-left: auto;
  width: 14px;
  height: 14px;
  border-right: 2px solid var(--mint, currentColor);
  border-bottom: 2px solid var(--mint, currentColor);
  transform: rotate(45deg) translate(-2px, -2px);
  transition: transform var(--t-base) var(--ease-spring);
  flex-shrink: 0;
}
[data-accordion][open] summary::after {
  transform: rotate(-135deg) translate(-2px, -2px);
}
[data-accordion]:hover {
  border-color: var(--border-hi, rgba(156, 232, 178, 0.18));
}
[data-accordion][open] {
  border-color: rgba(156, 232, 178, 0.22);
  background: var(--bg-card, rgba(156, 232, 178, 0.03));
}
[data-accordion] .acc-day-num {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--mint-dim, rgba(156, 232, 178, 0.15));
  color: var(--mint, var(--mint));
  font-weight: 700;
  font-size: 0.8125rem;
  flex-shrink: 0;
  letter-spacing: -0.02em;
}
[data-accordion] .acc-body {
  padding: 0 22px 22px 70px;
  color: var(--txt-2);
  font-size: 0.9375rem;
  line-height: 1.6;
  animation: acc-slide var(--t-base) var(--ease-spring);
}
@keyframes acc-slide {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}
@media (max-width: 640px) {
  [data-accordion] summary { padding: 14px 16px; gap: 10px; font-size: 0.9375rem; }
  [data-accordion] .acc-body { padding: 0 16px 18px 60px; font-size: 0.875rem; }
  [data-accordion] .acc-day-num { width: 30px; height: 30px; font-size: 0.75rem; }
}

/* v21 phase J.2.2: .badge* family + .departures-table block deleted.
   ~80 lines covering 9 selectors + @keyframes badge-pulse. The
   soft-urgency badge system and the per-trip departures availability
   table were both scaffolded but never wired into HTML. */

/* ---- 7.6 — Testimonials horizontal scroll-snap on mobile ---- */
@media (max-width: 768px) {
  .testimonials-grid {
    display: flex !important;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    gap: 14px;
    padding: 4px 16px 16px;
    margin: 0 -16px;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }
  .testimonials-grid::-webkit-scrollbar { display: none; }
  .testimonials-grid > .testi-card {
    flex: 0 0 86%;
    scroll-snap-align: start;
    min-width: 260px;
  }
}

/* ---- 7.7 — FAB first-scroll tooltip ----
   v21 prod-prep: redundant `.fab-whatsapp { position: relative }` removed.
   It was overriding the canonical `position: fixed` declared above, which
   broke the FAB's bottom-right anchor. `position: fixed` already creates
   a positioning context for absolutely-positioned children, so the
   tooltip's `.fab-whatsapp__tooltip { position: absolute }` anchors
   correctly without the redundant relative declaration. */
.fab-whatsapp__tooltip {
  position: absolute;
  right: calc(100% + 12px);
  top: 50%;
  transform: translateY(-50%) translateX(8px);
  background: rgba(12, 14, 18, 0.96);
  color: #fff;
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 0.8125rem;
  font-weight: 500;
  white-space: nowrap;
  box-shadow: 0 12px 28px -8px rgba(0, 0, 0, 0.5);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--t-base) ease, transform var(--t-base) var(--ease-spring);
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.fab-whatsapp__tooltip::after {
  content: "";
  position: absolute;
  right: -5px;
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
  width: 10px;
  height: 10px;
  background: rgba(12, 14, 18, 0.96);
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.fab-whatsapp.tooltip-shown .fab-whatsapp__tooltip {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}
:root[data-theme="light"] .fab-whatsapp__tooltip {
  background: rgba(0, 44, 81, 0.96);
  color: #fff;
}
:root[data-theme="light"] .fab-whatsapp__tooltip::after {
  background: rgba(0, 44, 81, 0.96);
}
@media (max-width: 640px) {
  .fab-whatsapp__tooltip { display: none; }
}

/* ---- 7.8 — Press / partner logo strip (greyscale) ---- */
.press-strip {
  padding: 36px clamp(16px, 4vw, 40px);
  text-align: center;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-2, rgba(255, 255, 255, 0.01));
}
.press-strip__label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--txt-3);
  margin-bottom: 18px;
  font-weight: 500;
}
.press-strip__items {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: clamp(20px, 4vw, 56px);
}
.press-strip__item {
  font-family: var(--font-display, "DM Sans", sans-serif);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--txt-3);
  opacity: 0.65;
  filter: grayscale(1);
  transition: opacity var(--t-base) ease, color var(--t-base) ease, filter var(--t-base) ease, transform var(--t-base) var(--ease-spring);
  cursor: default;
}
.press-strip__item:hover {
  opacity: 1;
  color: var(--mint);
  filter: grayscale(0);
  transform: translateY(-1px);
}

/* ---- 7.9 — "À partir de" pricing emphasis ---- */
.price-from {
  display: inline-flex;
  flex-direction: column;
  line-height: 1.05;
  letter-spacing: -0.01em;
}
/* v21 phase J.2.4: .price-from__label + .price-from__suffix deleted
   — never wired. .price-from__num kept; it's used by sticky inquiry
   bar's price display via document.querySelector. */
.price-from__num {
  font-family: var(--font-display, "DM Sans", sans-serif);
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--mint);
  font-variant-numeric: tabular-nums;
}

/* ---- 7.10 — Destination cards: refined hover-zoom + gradient overlay ---- */
.trip-card {
  position: relative;
}
.trip-card__hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 0) 45%,
    rgba(0, 0, 0, 0.45) 90%,
    rgba(0, 0, 0, 0.55) 100%);
  pointer-events: none;
  transition: opacity var(--t-base) ease;
  opacity: 0.85;
  z-index: 1;
}
.trip-card:hover .trip-card__hero::after {
  opacity: 0.7;
}

/* Dim non-hovered siblings (industry pattern from luxury tour operators) */
.trips-grid:hover .trip-card:not(:hover) {
  opacity: 0.7;
  filter: saturate(0.85);
  transition: opacity var(--t-base) ease, filter var(--t-base) ease;
}
.trips-grid:hover .trip-card:hover {
  opacity: 1;
  filter: saturate(1.05);
}
.trips-grid .trip-card { transition: opacity var(--t-base) ease, filter var(--t-base) ease, transform var(--t-base) var(--ease-spring); }
@media (hover: none) {
  .trips-grid:hover .trip-card:not(:hover) { opacity: 1; filter: none; }
}

/* v21 phase J.2.5: .hotel-amenities + .amenity (non-pill) + .amenity svg
   deleted — amenities row on hotel cards was scaffolded but never used.
   Real hotel cards use .amenity-pill (different styling). */

/* ---- 7.12 — 3-icon value-prop row (universal travel-site pattern) ---- */
.value-props-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 3vw, 40px);
  padding: clamp(40px, 6vw, 80px) clamp(16px, 4vw, 40px);
  max-width: 1200px;
  margin: 0 auto;
}
.value-prop {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.value-prop__icon {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: var(--mint-dim, rgba(156, 232, 178, 0.12));
  color: var(--mint);
  margin-bottom: 4px;
  transition: transform var(--t-base) var(--ease-spring), background var(--t-base) ease;
}
.value-prop:hover .value-prop__icon {
  transform: translateY(-3px) scale(1.05);
  background: var(--mint);
  color: var(--navy, var(--navy));
}
.value-prop__icon svg { width: 26px; height: 26px; }
.value-prop__title {
  font-family: var(--font-display, "DM Sans", sans-serif);
  font-weight: 600;
  font-size: 1rem;
  color: var(--txt-1);
  letter-spacing: -0.01em;
}
.value-prop__text {
  font-size: 0.875rem;
  color: var(--txt-2);
  line-height: 1.55;
  max-width: 26ch;
}
@media (max-width: 720px) {
  .value-props-3 { grid-template-columns: 1fr; gap: 28px; padding: 36px 16px; }
  .value-prop__text { max-width: 32ch; }
}

/* ---- 7.13 — Photo strip (4-thumbnail row above hero on trip pages) ---- */
.photo-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  padding: 12px clamp(16px, 4vw, 32px);
  max-width: 1400px;
  margin: 0 auto;
}
.photo-strip__item {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 8px;
  cursor: zoom-in;
  position: relative;
  background: var(--bg-card);
}
.photo-strip__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--t-cinema) var(--ease-spring);
}
.photo-strip__item:hover img {
  transform: scale(1.06);
}
.photo-strip__item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.18);
  opacity: 0;
  transition: opacity var(--t-fast) ease;
}
.photo-strip__item:hover::after { opacity: 1; }
@media (max-width: 640px) {
  .photo-strip { grid-template-columns: repeat(2, 1fr); }
}

/* ---- 7.14 — Reduced-motion + nav-clearance for sticky bar ---- */
@media (prefers-reduced-motion: reduce) {
  .trip-sticky-bar,
  .lightbox,
  .lightbox__img,
  .fab-whatsapp__tooltip,
  .badge--limited {
    transition: none !important;
    animation: none !important;
  }
  .trips-grid:hover .trip-card:not(:hover) { opacity: 1; filter: none; }
}

/* When sticky bar visible, push the floating site-nav slightly so they don't overlap.
   Use a body-class toggle (set by JS) instead of :has() so we work in
   Firefox <121 and older Safari. */
body.has-sticky-bar .site-nav {
  transform: translateY(48px);
  transition: transform var(--t-base) var(--ease-spring);
}

/* Class-based scroll lock used by the lightbox — non-destructive,
   doesn't clobber any overflow style set by an outer app/component */
:root[data-scroll-lock] body { overflow: hidden; }

/* ══════════════════════════════════════════════════════════
   v8 — 3D globe (homepage hero) — cobe-powered
   Replaces the static SVG globe.
   ══════════════════════════════════════════════════════════ */

/* The wrapper inside .home-hero__globe — keeps a square aspect ratio
   and lets the canvas fill it. */
.globe-stage {
  position: relative;
  width: 100%;
  max-width: 480px;
  aspect-ratio: 1 / 1;
  margin-inline: auto;
  isolation: isolate;
  /* Anchor name registration — cobe auto-positions polaroids using these */
  anchor-name: --globe-stage;
  /* Subtle outer atmosphere bloom */
  filter: drop-shadow(0 30px 60px rgba(0, 44, 81, 0.45));
}

/* Soft warm glow ring behind the globe */
.globe-stage::before {
  content: "";
  position: absolute;
  inset: -8%;
  z-index: -1;
  border-radius: 50%;
  background: radial-gradient(ellipse at center,
    rgba(156, 232, 178, 0.12) 0%,
    rgba(156, 232, 178, 0.04) 40%,
    transparent 70%);
  pointer-events: none;
  /* v21-phase-C: globe-aura culled — halo is now static. Per hero spec
     §E.1, the globe simplifies to a single slow rotation; the aura's
     14s breathing loop was the second focal motion competing with it. */
}

/* The canvas — fills the stage, fades in once cobe paints its first frame */
#alliance-globe {
  width: 100%;
  height: 100%;
  display: block;
  opacity: 0;
  transition: opacity 1.4s ease;
  cursor: grab;
  touch-action: none;
  border-radius: 50%;
  contain: paint;
}
#alliance-globe:active { cursor: grabbing; }

/* ---- Polaroid overlays ----
   Each polaroid uses CSS Anchor Positioning to stick to its corresponding
   marker on the globe. cobe v0.6+ exposes anchors named --cobe-{id} and
   visibility flags --cobe-visible-{id}. In browsers without anchor support,
   the var() fallbacks keep the polaroids invisible (graceful degradation).
*/
.globe-polaroid {
  position: absolute;
  top: 0;
  left: 0;
  pointer-events: none;
  /* JS-driven inline left/top/transform/opacity from globe.js's onRender
     positions each polaroid above its marker and fades it based on depth.
     Until the globe loads, opacity stays 0. */
  opacity: 0;
  transform: translate(-50%, calc(-100% - 14px));
  transition: opacity var(--t-fast) ease, filter var(--t-fast) ease;
  z-index: 5;
  /* v26: globe.js pins left:0/top:0 and drives only transform/opacity/filter
     per frame — left/top never change, so hinting them just wastes a layer. */
  will-change: transform, opacity, filter;
}

/* Photo polaroid (the four trip destinations) */
.globe-polaroid:not(.globe-polaroid--home) {
  background: #fdfaf3;
  padding: 6px 6px 22px;
  box-shadow:
    0 1px 2px rgba(0, 0, 0, 0.18),
    0 12px 28px -8px rgba(0, 0, 0, 0.45);
  border-radius: 2px;
}
.globe-polaroid img {
  display: block;
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: 1px;
}
.globe-polaroid__caption {
  position: absolute;
  bottom: 4px;
  left: 0;
  right: 0;
  text-align: center;
  font-family: var(--font-body, "DM Sans", sans-serif);
  font-size: 0.5625rem;
  font-weight: 500;
  color: #2a2a2a;
  letter-spacing: 0.02em;
  white-space: nowrap;
  padding: 0 6px;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Per-marker rotation is applied inline by globe.js inside the JS-driven
   transform string — see updatePolaroids(). Keeping no CSS rotate here
   avoids stacking with the per-frame transform reset. */

/* The home pin uses a chip style instead of a photo */
.globe-polaroid--home .globe-polaroid__chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  background: var(--mint, var(--mint));
  color: var(--navy, var(--navy));
  border-radius: 999px;
  white-space: nowrap;
  box-shadow:
    0 0 0 3px rgba(156, 232, 178, 0.18),
    0 8px 22px -4px rgba(156, 232, 178, 0.45);
  text-transform: uppercase;
}

/* Light theme adjustments — softer glow ring */
:root[data-theme="light"] .globe-stage {
  filter: drop-shadow(0 30px 60px rgba(0, 44, 81, 0.18));
}
:root[data-theme="light"] .globe-stage::before {
  background: radial-gradient(ellipse at center,
    rgba(35, 122, 74, 0.10) 0%,
    rgba(35, 122, 74, 0.04) 40%,
    transparent 70%);
}
:root[data-theme="light"] .globe-polaroid--home .globe-polaroid__chip {
  background: var(--mint, #237a4a);
  color: #fff;
  box-shadow:
    0 0 0 3px rgba(35, 122, 74, 0.18),
    0 8px 22px -4px rgba(35, 122, 74, 0.45);
}

/* Mobile: hide polaroids on tiny screens, keep the globe itself */
@media (max-width: 720px) {
  .globe-polaroid:not(.globe-polaroid--home) { display: none; }
}
@media (max-width: 480px) {
  .globe-polaroid--home { display: none; }
  .globe-stage { max-width: 360px; }
}

/* Reduced motion: kill the aura pulse */
@media (prefers-reduced-motion: reduce) {
  .globe-stage::before { animation: none !important; }
  #alliance-globe { transition-duration: 0s; opacity: 1; }
}

/* ---- 8.2 — Globe drag hint (first-visit, dismisses on interaction) ---- */
.globe-hint {
  position: absolute;
  bottom: -40px;
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px 7px 12px;
  background: rgba(12, 14, 18, 0.78);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(156, 232, 178, 0.22);
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--txt-2, #c9cdd4);
  letter-spacing: 0.01em;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--t-slow) ease, transform var(--t-slow) var(--ease-spring);
  z-index: 8;
  box-shadow: 0 12px 24px -12px rgba(0, 0, 0, 0.5);
}
.globe-hint svg {
  color: var(--mint, var(--mint));
  flex-shrink: 0;
}
.globe-hint.is-visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
  /* v21-phase-C: globe-hint-bob culled — hint appears once, stays still.
     Bobbing was a third ambient motion stacked on the home hero. */
}
.globe-hint.is-dismissed {
  opacity: 0 !important;
  transform: translateX(-50%) translateY(-6px) !important;
  transition: opacity var(--t-base) ease, transform var(--t-base) ease;
}
:root[data-theme="light"] .globe-hint {
  background: rgba(255, 255, 255, 0.94);
  color: var(--txt-2);
  border-color: rgba(35, 122, 74, 0.22);
  box-shadow: 0 12px 24px -12px rgba(0, 44, 81, 0.18);
}
@media (prefers-reduced-motion: reduce) {
  .globe-hint.is-visible { animation: none !important; }
}
@media (max-width: 480px) {
  .globe-hint { font-size: 0.6875rem; padding: 6px 12px; bottom: -34px; }
}

/* ══════════════════════════════════════════════════════════
   v9 — Real-geography Algeria branches map (MapLibre GL)
   Replaces the v4 hand-drawn SVG outline.
   ══════════════════════════════════════════════════════════ */

/* The map container — explicit responsive height so MapLibre can measure
   it correctly during init. (aspect-ratio alone collapses to the
   intrinsic content height of the fallback div before MapLibre takes
   over the canvas sizing.) */
#algeria-map {
  position: relative;
  width: 100%;
  height: clamp(540px, 60vw, 720px);
  border-radius: var(--r3, 24px);
  overflow: hidden;
  background: var(--bg-2, #0f1218);
  border: 1px solid var(--border, rgba(255,255,255,.08));
  box-shadow: 0 30px 60px -30px rgba(0, 44, 81, .35);
  isolation: isolate;
  /* Pre-paint state — JS adds .algeria-map--ready once MapLibre boots */
}

/* Subtle inner ring on top of the canvas so it feels framed */
#algeria-map::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(156, 232, 178, .12);
  z-index: 5;
}

/* Mobile: taller portrait orientation for one-hand reach */
@media (max-width: 720px) {
  #algeria-map { height: clamp(540px, 110vw, 720px); }
}

/* MapLibre's own canvas picks up our border-radius via overflow: hidden */
#algeria-map .maplibregl-canvas { outline: none; }
#algeria-map .maplibregl-canvas:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px var(--ring);
}

/* Override MapLibre's default control styling to match brand */
#algeria-map .maplibregl-ctrl-group {
  background: rgba(12, 14, 18, .82) !important;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(156, 232, 178, .18) !important;
  border-radius: var(--r2, 12px) !important;
  box-shadow: 0 6px 18px -8px rgba(0, 0, 0, .5) !important;
}
#algeria-map .maplibregl-ctrl-group button {
  background: transparent !important;
  filter: invert(1) hue-rotate(180deg);
}
#algeria-map .maplibregl-ctrl-attrib {
  background: rgba(12, 14, 18, .65) !important;
  color: rgba(255, 255, 255, .7) !important;
}
#algeria-map .maplibregl-ctrl-attrib a { color: var(--mint, var(--mint)) !important; }

/* Light theme — flip the chrome */
:root[data-theme="light"] #algeria-map {
  background: var(--bg-2, #f3ede1);
  border-color: rgba(0, 44, 81, .14);
  box-shadow: 0 30px 60px -30px rgba(0, 44, 81, .15);
}
:root[data-theme="light"] #algeria-map .maplibregl-ctrl-group {
  background: rgba(255, 255, 255, .92) !important;
  border-color: rgba(35, 122, 74, .18) !important;
}
:root[data-theme="light"] #algeria-map .maplibregl-ctrl-group button {
  filter: none;
}
:root[data-theme="light"] #algeria-map .maplibregl-ctrl-attrib {
  background: rgba(255, 255, 255, .8) !important;
  color: rgba(0, 44, 81, .6) !important;
}

/* ─── HQ marker (Bordj Bou Arreridj) ─────────────────────── */
.amap-hq {
  position: relative;
  width: 28px;
  height: 28px;
  cursor: pointer;
}
.amap-hq__dot {
  position: absolute;
  left: 50%; top: 50%;
  width: 16px; height: 16px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: var(--mint, var(--mint));
  box-shadow:
    0 0 0 3px rgba(255, 255, 255, .95),
    0 4px 10px -2px rgba(0, 0, 0, .35);
  z-index: 3;
}
.amap-hq__halo {
  position: absolute;
  left: 50%; top: 50%;
  width: 28px; height: 28px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: var(--mint, var(--mint));
  opacity: .55;
  z-index: 1;
  animation: amap-pulse 1.9s ease-out infinite;
}
.amap-hq__halo--2 {
  animation-delay: -.95s;
  opacity: .35;
}
.amap-hq__label {
  position: absolute;
  left: 50%;
  top: -22px;
  transform: translateX(-50%);
  white-space: nowrap;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .02em;
  color: var(--mint, var(--mint));
  text-shadow:
    0 0 4px rgba(0, 0, 0, .55),
    0 1px 2px rgba(0, 0, 0, .4);
  pointer-events: none;
  padding: 2px 8px;
  background: rgba(12, 14, 18, .55);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  border-radius: 999px;
}
:root[data-theme="light"] .amap-hq__label {
  color: #fff;
  background: rgba(35, 122, 74, .92);
  text-shadow: none;
}

@keyframes amap-pulse {
  0%   { transform: translate(-50%, -50%) scale(.5); opacity: .65; }
  100% { transform: translate(-50%, -50%) scale(2.6); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .amap-hq__halo, .amap-hq__halo--2 { animation: none; opacity: .25; }
}

/* ─── Branch markers (partner cities) ─────────────────────── */
.amap-branch {
  position: relative;
  width: 18px;
  height: 18px;
  cursor: pointer;
}
.amap-branch__dot {
  position: absolute;
  left: 50%; top: 50%;
  width: 10px; height: 10px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: var(--mint, var(--mint));
  box-shadow:
    0 0 0 2.5px rgba(255, 255, 255, .9),
    0 3px 6px -1px rgba(0, 0, 0, .3);
  transition: transform var(--t-fast) var(--ease-spring);
}
.amap-branch:hover .amap-branch__dot {
  transform: translate(-50%, -50%) scale(1.3);
}
.amap-branch__label {
  position: absolute;
  left: 50%;
  top: -16px;
  transform: translateX(-50%);
  white-space: nowrap;
  font-size: .6875rem;
  font-weight: 600;
  letter-spacing: .02em;
  color: #fff;
  text-shadow: 0 1px 3px rgba(0, 0, 0, .8), 0 0 8px rgba(0, 0, 0, .4);
  pointer-events: none;
}
:root[data-theme="light"] .amap-branch__label {
  color: var(--navy, var(--navy));
  text-shadow: 0 1px 3px rgba(255, 255, 255, .9), 0 0 8px rgba(255, 255, 255, .6);
}

/* Future-network cities: smaller, dimmer, no popup */
.amap-branch--future .amap-branch__dot {
  width: 7px; height: 7px;
  opacity: .55;
  box-shadow:
    0 0 0 2px rgba(255, 255, 255, .7),
    0 2px 4px rgba(0, 0, 0, .25);
}
.amap-branch--future .amap-branch__label {
  font-size: .625rem;
  opacity: .6;
}

/* ─── Popup styling — matches brand ─────────────────────────── */
.maplibregl-popup-content {
  background: rgba(12, 14, 18, .96) !important;
  color: var(--txt-1, #efe8df) !important;
  border-radius: var(--r2, 12px) !important;
  border: 1px solid rgba(156, 232, 178, .22) !important;
  padding: 12px 14px !important;
  box-shadow: 0 14px 30px -8px rgba(0, 0, 0, .55) !important;
  font-family: var(--font-body, 'DM Sans', sans-serif);
}
.maplibregl-popup-tip {
  border-top-color: rgba(12, 14, 18, .96) !important;
  border-bottom-color: rgba(12, 14, 18, .96) !important;
}
:root[data-theme="light"] .maplibregl-popup-content {
  background: #fff !important;
  color: var(--txt-1, var(--navy)) !important;
  border-color: rgba(35, 122, 74, .22) !important;
}
:root[data-theme="light"] .maplibregl-popup-tip {
  border-top-color: #fff !important;
  border-bottom-color: #fff !important;
}

.amap-popup__role {
  font-size: .625rem;
  letter-spacing: .14em;
  font-weight: 700;
  color: var(--mint, var(--mint));
  margin-bottom: 4px;
  text-transform: uppercase;
}
.amap-popup__name {
  font-size: 1rem;
  font-weight: 700;
  margin: 0 0 4px;
  letter-spacing: -.01em;
}
.amap-popup__addr {
  font-size: .8125rem;
  color: var(--txt-2, #c9cdd4);
  margin: 0 0 8px;
}
.amap-popup__phone {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .875rem;
  font-weight: 600;
  color: var(--mint, var(--mint)) !important;
  text-decoration: none;
  padding: 4px 0;
}
.amap-popup__phone:hover { text-decoration: underline; }
:root[data-theme="light"] .amap-popup__addr { color: var(--txt-2, #4a5b6f); }
:root[data-theme="light"] .amap-popup__phone { color: var(--mint, #237a4a) !important; }

/* ─── Fallback / loading overlay ────────────────────────────────
   Absolute-positioned so it doesn't push the container's height
   (which would defeat the explicit clamp() height above and let the
   canvas collapse to ~40px). Sits centred over the (still-blank)
   container until MapLibre paints; auto-hidden once .algeria-map--ready
   adds. Stays visible if .algeria-map--fallback signals CDN failure. */
.amap-fallback {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  text-align: center;
  padding: var(--s7, 32px);
  background: linear-gradient(135deg, var(--bg-2, #0f1218), var(--bg, #0a0c12));
  z-index: 1;
  transition: opacity var(--t-base) ease;
}
.amap-fallback > * { max-width: 480px; }

/* Once the map is ready, hide the loading message */
.algeria-map--ready .amap-fallback { opacity: 0; pointer-events: none; }
/* If the CDN failed, keep the fallback fully opaque */
.algeria-map--fallback .amap-fallback { opacity: 1 !important; pointer-events: auto !important; }
.amap-fallback__title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--txt-1);
  margin: 0 0 8px;
}
.amap-fallback__sub {
  font-size: .9375rem;
  color: var(--txt-2);
  line-height: 1.55;
  margin: 0;
}
.amap-fallback__sub strong { color: var(--mint); }

/* ══════════════════════════════════════════════════════════
   v10 — Trip itinerary map (vanilla MapLibre GL)
   Used on every trip page. Three pin categories + hub labels.
   ══════════════════════════════════════════════════════════ */

#trip-map {
  position: relative;
  width: 100%;
  height: clamp(560px, 64vw, 760px);
  border-radius: var(--r3, 24px);
  overflow: hidden;
  background: var(--bg-2, #0f1218);
  border: 1px solid var(--border, rgba(255,255,255,.08));
  box-shadow: 0 30px 60px -30px rgba(0, 44, 81, .35);
  isolation: isolate;
}
#trip-map::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(156, 232, 178, .12);
  z-index: 5;
}
@media (max-width: 720px) {
  #trip-map { height: clamp(540px, 110vw, 720px); }
}

#trip-map .maplibregl-canvas { outline: none; }
#trip-map .maplibregl-canvas:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px var(--ring);
}
#trip-map .maplibregl-ctrl-group {
  background: rgba(12, 14, 18, .82) !important;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(156, 232, 178, .18) !important;
  border-radius: var(--r2, 12px) !important;
  box-shadow: 0 6px 18px -8px rgba(0, 0, 0, .5) !important;
}
#trip-map .maplibregl-ctrl-group button {
  background: transparent !important;
  filter: invert(1) hue-rotate(180deg);
}
#trip-map .maplibregl-ctrl-attrib {
  background: rgba(12, 14, 18, .65) !important;
  color: rgba(255, 255, 255, .7) !important;
}
#trip-map .maplibregl-ctrl-attrib a { color: var(--mint, var(--mint)) !important; }

:root[data-theme="light"] #trip-map {
  background: var(--bg-2, #f3ede1);
  border-color: rgba(0, 44, 81, .14);
  box-shadow: 0 30px 60px -30px rgba(0, 44, 81, .15);
}
:root[data-theme="light"] #trip-map .maplibregl-ctrl-group {
  background: rgba(255, 255, 255, .92) !important;
  border-color: rgba(35, 122, 74, .18) !important;
}
:root[data-theme="light"] #trip-map .maplibregl-ctrl-group button { filter: none; }
:root[data-theme="light"] #trip-map .maplibregl-ctrl-attrib {
  background: rgba(255, 255, 255, .8) !important;
  color: rgba(0, 44, 81, .6) !important;
}

/* ─── Generic pin (hotels, sites, tours) ───────────────────── */
.tmap-pin {
  position: relative;
  cursor: pointer;
  width: 28px;
  height: 28px;
}
.tmap-pin__dot {
  position: absolute;
  left: 50%; top: 50%;
  width: 16px; height: 16px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  display: grid;
  place-items: center;
  box-shadow:
    0 0 0 3px rgba(255, 255, 255, .95),
    0 4px 10px -1px rgba(0, 0, 0, .4);
  transition: transform var(--t-fast) var(--ease-spring),
              box-shadow var(--t-fast) ease;
  color: var(--navy, var(--navy));
}
.tmap-pin:hover .tmap-pin__dot {
  transform: translate(-50%, -50%) scale(1.35);
}
.tmap-pin__label {
  position: absolute;
  left: 50%;
  top: -18px;
  transform: translateX(-50%);
  white-space: nowrap;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .01em;
  color: #fff;
  text-shadow: 0 1px 3px rgba(0, 0, 0, .9), 0 0 10px rgba(0, 0, 0, .6);
  pointer-events: none;
  opacity: 0;
  transition: opacity var(--t-fast) ease;
  padding: 2px 7px;
  background: rgba(12, 14, 18, .55);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  border-radius: 999px;
}
/* Default: only featured/hover/focus labels visible.
   When the user zooms in past ~9 (JS adds .is-zoomed-in to #trip-map),
   ALL labels reveal — overview stays clean, detail view is informative. */
.tmap-pin:hover .tmap-pin__label,
.tmap-pin:focus-visible .tmap-pin__label,
.tmap-pin--featured .tmap-pin__label,
#trip-map.is-zoomed-in .tmap-pin__label,
#algeria-map.is-zoomed-in .tmap-pin__label {
  opacity: 1;
}
:root[data-theme="light"] .tmap-pin__label {
  color: #fff;
  background: rgba(35, 122, 74, .92);
  text-shadow: none;
}

/* Hotel pins — mint with white bed icon. Always slightly larger than
   site/tour pins so users can spot bookable accommodation at a glance. */
.tmap-pin--hotel .tmap-pin__dot {
  background: var(--mint, var(--mint));
  width: 22px; height: 22px;
}
.tmap-pin--hotel .tmap-pin__dot svg {
  width: 13px; height: 13px;
  stroke: var(--navy, var(--navy));
}

/* Site pins — warm amber */
.tmap-pin--site .tmap-pin__dot {
  background: var(--warn);       /* amber */
}
.tmap-pin--site.tmap-pin--featured .tmap-pin__dot {
  width: 22px; height: 22px;
  box-shadow:
    0 0 0 3.5px rgba(255, 255, 255, .98),
    0 0 0 7px rgba(224, 160, 74, .35),
    0 4px 12px -1px rgba(0, 0, 0, .45);
}
.tmap-pin--site.tmap-pin--featured::after {
  content: '';
  position: absolute;
  left: 50%; top: 50%;
  width: 32px; height: 32px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: rgba(224, 160, 74, .35);
  z-index: -1;
  animation: tmap-pulse 2s ease-out infinite;
  pointer-events: none;
}

/* Tour pins — turquoise */
.tmap-pin--tour .tmap-pin__dot {
  background: #3aa3a8;       /* turquoise */
}

@keyframes tmap-pulse {
  0%   { transform: translate(-50%, -50%) scale(.5); opacity: .55; }
  100% { transform: translate(-50%, -50%) scale(2.6); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .tmap-pin--site.tmap-pin--featured::after { animation: none; opacity: 0; }
}

/* ─── Hubs (big city labels) ───────────────────────────────── */
.tmap-hub {
  position: relative;
  width: 28px;
  height: 28px;
  cursor: default;
}
.tmap-hub__dot {
  position: absolute;
  left: 50%; top: 50%;
  width: 14px; height: 14px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: var(--mint, var(--mint));
  box-shadow:
    0 0 0 3px rgba(255, 255, 255, .95),
    0 4px 10px -2px rgba(0, 0, 0, .4);
  z-index: 3;
}
.tmap-hub__halo {
  position: absolute;
  left: 50%; top: 50%;
  width: 28px; height: 28px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: var(--mint, var(--mint));
  opacity: .5;
  z-index: 1;
  animation: tmap-pulse 2s ease-out infinite;
}
.tmap-hub__label {
  position: absolute;
  left: 50%;
  top: -22px;
  transform: translateX(-50%);
  white-space: nowrap;
  font-size: .8125rem;
  font-weight: 700;
  letter-spacing: .015em;
  color: var(--mint, var(--mint));
  text-shadow: 0 0 4px rgba(0, 0, 0, .6), 0 1px 2px rgba(0, 0, 0, .5);
  pointer-events: none;
  padding: 3px 10px;
  background: rgba(12, 14, 18, .58);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border-radius: 999px;
}
.tmap-hub__days {
  font-weight: 500;
  opacity: .82;
  font-size: .6875rem;
}
:root[data-theme="light"] .tmap-hub__label {
  color: #fff;
  background: rgba(35, 122, 74, .94);
  text-shadow: none;
}
@media (prefers-reduced-motion: reduce) {
  .tmap-hub__halo { animation: none; opacity: .25; }
}

/* ─── Popups (shared with algeria-map styling, scoped here too) ── */
#trip-map .maplibregl-popup-content {
  background: rgba(12, 14, 18, .96) !important;
  color: var(--txt-1, #efe8df) !important;
  border-radius: var(--r2, 12px) !important;
  border: 1px solid rgba(156, 232, 178, .22) !important;
  padding: 12px 14px !important;
  box-shadow: 0 14px 30px -8px rgba(0, 0, 0, .55) !important;
  font-family: var(--font-body, 'DM Sans', sans-serif);
}
#trip-map .maplibregl-popup-tip {
  border-top-color: rgba(12, 14, 18, .96) !important;
  border-bottom-color: rgba(12, 14, 18, .96) !important;
}
:root[data-theme="light"] #trip-map .maplibregl-popup-content {
  background: #fff !important;
  color: var(--txt-1, var(--navy)) !important;
  border-color: rgba(35, 122, 74, .22) !important;
}
:root[data-theme="light"] #trip-map .maplibregl-popup-tip {
  border-top-color: #fff !important;
  border-bottom-color: #fff !important;
}
.tmap-popup__role {
  font-size: .625rem;
  letter-spacing: .14em;
  font-weight: 700;
  color: var(--mint, var(--mint));
  margin-bottom: 4px;
  text-transform: uppercase;
}
.tmap-popup__name {
  font-size: 1rem;
  font-weight: 700;
  margin: 0 0 4px;
  letter-spacing: -.01em;
}
.tmap-popup__addr {
  font-size: .8125rem;
  color: var(--txt-2, #c9cdd4);
  margin: 0;
}
:root[data-theme="light"] .tmap-popup__addr { color: var(--txt-2, #4a5b6f); }

/* ─── Loading / fallback overlay ───────────────────────────── */
.tmap-fallback {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  text-align: center;
  padding: var(--s7, 32px);
  background: linear-gradient(135deg, var(--bg-2, #0f1218), var(--bg, #0a0c12));
  z-index: 1;
  transition: opacity var(--t-base) ease;
}
.tmap-fallback > * { max-width: 480px; }
.tmap-fallback__title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--txt-1);
  margin: 0 0 8px;
}
.tmap-fallback__sub {
  font-size: .9375rem;
  color: var(--txt-2);
  line-height: 1.55;
  margin: 0;
}
.trip-map--ready .tmap-fallback { opacity: 0; pointer-events: none; }
.trip-map--fallback .tmap-fallback { opacity: 1 !important; pointer-events: auto !important; }

/* ─── Section wrapper around the map ───────────────────────── */
.trip-map-section {
  background: var(--bg);
  border-top: 1px solid var(--border);
}
.trip-map-section .section-head { margin-bottom: var(--s7, 32px); }

/* Compact legend strip below the map */
.trip-map-legend {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--s5, 24px);
  margin-top: var(--s5, 24px);
  font-size: .8125rem;
  color: var(--txt-2);
}
.trip-map-legend__item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.trip-map-legend__chip {
  display: inline-block;
  width: 12px; height: 12px;
  border-radius: 50%;
  box-shadow: 0 0 0 2px rgba(255,255,255,.85);
}
.trip-map-legend__chip--hotel { background: var(--mint, var(--mint)); }
.trip-map-legend__chip--site  { background: var(--warn); }
.trip-map-legend__chip--tour  { background: #3aa3a8; }

/* ─── Recenter button (floats bottom-left over the map) ───────
   Appears once the map is loaded; clicking it re-fits bounds to
   the original POI cluster so users who panned away can reset.
   JS attaches the click handler in trip-map.js + algeria-map.js. */
.tmap-recenter,
.amap-recenter {
  position: absolute;
  bottom: 14px;
  left: 14px;
  z-index: 6;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px 7px 10px;
  background: rgba(12, 14, 18, .85);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  color: var(--mint, var(--mint));
  border: 1px solid rgba(156, 232, 178, .25);
  border-radius: 999px;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .01em;
  cursor: pointer;
  box-shadow: 0 6px 18px -8px rgba(0, 0, 0, .55);
  transition: transform var(--t-fast) var(--ease-spring),
              background var(--t-fast) ease,
              opacity var(--t-fast) ease;
  opacity: 0;
  pointer-events: none;
}
.algeria-map--ready .amap-recenter,
.trip-map--ready .tmap-recenter {
  opacity: 1;
  pointer-events: auto;
}
.tmap-recenter:hover,
.amap-recenter:hover {
  background: rgba(156, 232, 178, .15);
  transform: translateY(-1px);
}
.tmap-recenter svg,
.amap-recenter svg {
  width: 14px; height: 14px;
  flex-shrink: 0;
}
:root[data-theme="light"] .tmap-recenter,
:root[data-theme="light"] .amap-recenter {
  background: rgba(255, 255, 255, .92);
  color: var(--mint, #237a4a);
  border-color: rgba(35, 122, 74, .25);
}
@media (prefers-reduced-motion: reduce) {
  .tmap-recenter, .amap-recenter { transition: none !important; }
}
@media (max-width: 480px) {
  .tmap-recenter, .amap-recenter { font-size: .6875rem; padding: 6px 10px 6px 8px; }
}

/* ══════════════════════════════════════════════════════════
   v11 — Anti-clutter engine for trip-map + algeria-map
   Hides colliding labels, stacks overlapping pins with +N badges,
   adds click-to-isolate dim, hover always reveals label even if
   collision-hidden. JS in trip-map.js / algeria-map.js drives the
   class toggles; this file is the visual layer.
   ══════════════════════════════════════════════════════════ */

/* ─── Pin stack absorbed (lower-priority pin in a cluster) ─── */
.tmap-collide-hidden,
.amap-collide-hidden {
  opacity: 0 !important;
  pointer-events: none !important;
  /* Stay in DOM so the absorber's screen position math stays stable */
}

/* ─── Stack-count badge (+N chip on the top-of-stack pin) ─── */
.tmap-pin[data-stack-count],
.tmap-hub[data-stack-count],
.amap-branch[data-stack-count],
.amap-hq[data-stack-count] {
  cursor: zoom-in;   /* signals "click to expand the cluster" */
}
.tmap-pin[data-stack-count]::after,
.tmap-hub[data-stack-count]::after,
.amap-branch[data-stack-count]::after,
.amap-hq[data-stack-count]::after {
  content: attr(data-stack-count);
  position: absolute;
  top: -8px;
  right: -10px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--mint, var(--mint));
  color: var(--navy, var(--navy));
  font-size: 0.625rem;
  font-weight: 800;
  letter-spacing: -.01em;
  line-height: 1;
  border-radius: 999px;
  border: 2px solid #fff;
  box-shadow: 0 2px 6px -1px rgba(0, 0, 0, .35);
  pointer-events: none;
  z-index: 4;
  animation: tmap-stack-pop var(--t-base) var(--ease-bounce) both;
}
@keyframes tmap-stack-pop {
  0%   { transform: scale(.4); opacity: 0; }
  60%  { transform: scale(1.15); opacity: 1; }
  100% { transform: scale(1); opacity: 1; }
}
:root[data-theme="light"] .tmap-pin[data-stack-count]::after,
:root[data-theme="light"] .tmap-hub[data-stack-count]::after,
:root[data-theme="light"] .amap-branch[data-stack-count]::after,
:root[data-theme="light"] .amap-hq[data-stack-count]::after {
  background: #237a4a;
  color: #fff;
}

/* ─── Label collision (hidden by algorithm, but hover always wins) ─── */
.tmap-pin__label.tmap-label-collide,
.tmap-hub__label.tmap-label-collide,
.amap-branch__label.amap-label-collide,
.amap-hq__label.amap-label-collide {
  opacity: 0 !important;
  visibility: hidden;
  transition: opacity 160ms ease, visibility 0s linear 160ms;
}
/* Direct pointer/keyboard hover always overrides the collision-hide,
   so users can still read every label on demand. */
.tmap-pin:hover .tmap-pin__label,
.tmap-pin:focus-visible .tmap-pin__label,
.tmap-hub:hover .tmap-hub__label,
.amap-branch:hover .amap-branch__label,
.amap-branch:focus-visible .amap-branch__label,
.amap-hq:hover .amap-hq__label {
  opacity: 1 !important;
  visibility: visible !important;
  transition: opacity 160ms ease, visibility 0s !important;
  z-index: 20;
}

/* ─── Click-to-isolate (sibling pins dim while the focused one stands out) ─── */
#trip-map.is-isolating .tmap-pin:not(.is-focused),
#trip-map.is-isolating .tmap-hub:not(.is-focused),
#algeria-map.is-isolating .amap-branch:not(.is-focused),
#algeria-map.is-isolating .amap-hq:not(.is-focused) {
  opacity: 0.32;
  filter: saturate(.5);
  transition: opacity var(--t-fast) ease, filter var(--t-fast) ease;
}
#trip-map .tmap-pin.is-focused,
#trip-map .tmap-hub.is-focused,
#algeria-map .amap-branch.is-focused,
#algeria-map .amap-hq.is-focused {
  z-index: 25;
  transition: filter var(--t-fast) ease;
}
/* Halo behind the focused pin so it visibly "pops" out of the dim group */
#trip-map .tmap-pin.is-focused .tmap-pin__dot,
#algeria-map .amap-branch.is-focused .amap-branch__dot {
  box-shadow:
    0 0 0 3px #fff,
    0 0 0 6px var(--mint, var(--mint)),
    0 6px 14px -2px rgba(0, 0, 0, .5) !important;
}

/* ─── Reduced motion: kill animations on the badges + isolation transitions ─── */
@media (prefers-reduced-motion: reduce) {
  .tmap-pin[data-stack-count]::after,
  .tmap-hub[data-stack-count]::after,
  .amap-branch[data-stack-count]::after,
  .amap-hq[data-stack-count]::after {
    animation: none !important;
  }
  #trip-map.is-isolating .tmap-pin:not(.is-focused),
  #trip-map.is-isolating .tmap-hub:not(.is-focused),
  #algeria-map.is-isolating .amap-branch:not(.is-focused),
  #algeria-map.is-isolating .amap-hq:not(.is-focused) {
    transition: none !important;
  }
}

/* ══════════════════════════════════════════════════════════
   v12 — Hierarchy & UX Audit Pass (2026-05-06)
   Implements the 8-section UX critique:
   1. Page flow — phase markers (Découvrir → Comparer → Calculer → Réserver)
   2. Visual hierarchy — hero price as canonical block, tighter section heads
   3. Layout & spacing — consistent vertical rhythm, FAQ Q/A separator,
      hotel card price restructure, calc+recap visual binding
   4. Typography — uppercase labels normalized, fewer inline bolds win
   5. Interaction cues — tier tabs as chips, stepper as real buttons,
      hotel "Sélectionner" as solid primary
   6. IA dedup — canonical price block (no inline price competition)
   7. Trust — stat-card + testi-card refinement
   8. Cross-sell + footer — phone group with icons
   ══════════════════════════════════════════════════════════ */

/* ── 1. Phase markers ─────────────────────────────────────── */
.phase-marker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .6875rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-dim);
  border: 1px solid var(--border);
  padding: 4px 10px 4px 4px;
  border-radius: 999px;
  margin-bottom: var(--s4);
  font-variant-numeric: tabular-nums;
}
.phase-marker__num {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--bg);
  display: grid;
  place-items: center;
  font-size: .6875rem;
  font-weight: 800;
}
.phase-marker__label {
  padding-right: 4px;
}
:root[data-theme="light"] .phase-marker {
  background: rgba(0, 44, 81, .06);
  border-color: rgba(0, 44, 81, .12);
}

/* ── 2. Hero price — canonical, dominant block ────────────── */
.hero__price {
  display: inline-flex;
  flex-direction: column;
  gap: 2px;
  align-items: flex-start;
  padding: var(--s4) var(--s5);
  background: rgba(0, 0, 0, .35);
  border: 1px solid var(--border-hi);
  border-radius: var(--r3);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  margin-top: var(--s4);
  margin-bottom: var(--s2);
}
.hero__price::before {
  content: "À partir de";
  display: block;
  font-size: .625rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--txt-3);
}
.hero__price strong {
  font-size: clamp(2rem, 3.5vw, 2.875rem);
  line-height: 1;
  color: var(--accent);
  font-weight: 700;
  letter-spacing: -.01em;
}
.hero__price span {
  margin-top: 4px;
  font-size: .8125rem;
  color: var(--txt-2);
  letter-spacing: 0;
}
:root[data-theme="light"] .hero__price {
  background: rgba(255, 255, 255, .65);
  border-color: rgba(0, 44, 81, .15);
}

/* ── 3. Hero CTAs — clear primary/secondary hierarchy ──────── */
.hero__ctas {
  margin-top: var(--s5);
  gap: var(--s3);
}
.hero__ctas .btn--primary {
  font-size: .9375rem;
  padding: var(--s4) var(--s6);
  font-weight: 600;
  letter-spacing: .01em;
}
.hero__ctas .btn--ghost {
  font-size: .875rem;
  padding: var(--s4) var(--s5);
  opacity: .9;
}

/* ── 4. Tier tabs as chips (clear affordance) ─────────────── */
.tier-tabs {
  border-bottom: none;
  gap: var(--s2);
  margin-bottom: var(--s6);
  flex-wrap: wrap;
}
.tier-tab {
  border: 1px solid var(--border-hi);
  border-radius: 999px;
  padding: 8px 16px;
  font-size: .8125rem;
  font-weight: 600;
  color: var(--txt-2);
  background: transparent;
  margin-bottom: 0;
  cursor: pointer;
  transition: all var(--t-fast) var(--ease-snap);
  letter-spacing: .02em;
}
.tier-tab:hover {
  border-color: var(--accent);
  color: var(--txt-1);
  background: var(--accent-dim);
}
.tier-tab[aria-pressed="true"] {
  background: var(--accent);
  color: var(--bg);
  border-color: var(--accent);
  box-shadow: 0 1px 0 rgba(0, 0, 0, .08), inset 0 1px 0 rgba(255, 255, 255, .15);
}
.tier-tab[aria-pressed="true"]:hover {
  filter: brightness(1.05);
}

/* ── 5. Hotel card price — explicit structure ─────────────── */
.hotel-card__body {
  gap: var(--s2);
}
.hotel-card__amenities {
  margin-bottom: var(--s2);
}
.hotel-card__price {
  display: flex;
  flex-direction: column;
  gap: 1px;
  padding-top: var(--s4);
  margin-top: auto;
  border-top: 1px solid var(--border);
}
.hotel-card__price-label {
  font-size: .625rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--txt-3);
}
.hotel-card__price strong {
  font-size: 1.625rem;
  font-weight: 700;
  color: var(--txt-1);
  font-variant-numeric: tabular-nums;
  line-height: 1.05;
  display: block;
  letter-spacing: -.01em;
}
.hotel-card__price-meta {
  font-size: .75rem;
  color: var(--txt-3);
  margin-top: 4px;
}

/* ── 6. Hotel card CTA — solid primary button ─────────────── */
.hotel-card__cta {
  background: var(--accent);
  color: var(--bg);
  border: 1px solid var(--accent);
  font-weight: 600;
  padding: var(--s4) var(--s5);
  margin-top: var(--s4);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s2);
  border-radius: var(--r2);
  cursor: pointer;
  transition: all var(--t-fast);
  letter-spacing: .01em;
}
.hotel-card__cta::after {
  content: "→";
  display: inline-block;
  transition: transform var(--t-fast);
  font-weight: 400;
}
.hotel-card__cta:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, .15);
}
.hotel-card__cta:hover::after {
  transform: translateX(2px);
}
.hotel-card.selected .hotel-card__cta {
  background: var(--accent);
  color: var(--bg);
  border-color: var(--accent);
  filter: brightness(.95);
}
.hotel-card.selected .hotel-card__cta::before {
  content: "✓ ";
  font-weight: 700;
}

/* ── 7. Stepper as real buttons (rounded squares, not chars) ── */
.stepper__btn {
  width: 38px;
  height: 38px;
  border-radius: var(--r2);
  background: var(--bg);
  border: 1px solid var(--border-hi);
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--txt-1);
  cursor: pointer;
  transition: all var(--t-fast);
  display: grid;
  place-items: center;
  line-height: 1;
}
.stepper__btn:hover:not(:disabled) {
  background: var(--accent);
  color: var(--bg);
  border-color: var(--accent);
  transform: scale(1.04);
}
.stepper__btn:active:not(:disabled) {
  transform: scale(.96);
}
.stepper__val {
  min-width: 32px;
  font-size: 1.0625rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  text-align: center;
  color: var(--txt-1);
}

/* ── 8. FAQ — Q/A clear separator + breathing room ────────── */
.faq-list {
  gap: var(--s3);
  display: flex;
  flex-direction: column;
}
.faq-item {
  border-radius: var(--r3);
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
.faq-item.open {
  border-color: var(--border-hi);
  box-shadow: 0 1px 3px rgba(0, 0, 0, .04);
}
.faq-q {
  padding: var(--s5) var(--s6);
  font-weight: 600;
  font-size: .9375rem;
  line-height: 1.4;
}
.faq-q:hover {
  background: var(--bg-card);
}
.faq-a {
  font-size: .9375rem;
  line-height: 1.7;
}
.faq-item.open .faq-a {
  max-height: 800px;
  padding: var(--s4) var(--s6) var(--s5);
  border-top: 1px solid var(--border);
  margin-top: 0;
}
/* FAQ inline price lists — give them their own line */
.faq-a strong {
  font-variant-numeric: tabular-nums;
  color: var(--txt-1);
}
.faq-a ul.faq-prices {
  list-style: none;
  padding: 0;
  margin: var(--s3) 0 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--s2) var(--s5);
}
.faq-a ul.faq-prices li {
  padding: 6px 0;
  border-bottom: 1px dashed var(--border);
  font-size: .875rem;
}
.faq-a ul.faq-prices li:last-child {
  border-bottom: none;
}

/* ── 9. Calculator + recap — visually bound panel ─────────── */
.calc-grid {
  align-items: start;
}
.breakdown {
  position: sticky;
  top: 96px;
  background: var(--bg-card);
  border: 1px solid var(--border-hi);
  border-radius: var(--r3);
  padding: var(--s5);
  box-shadow: 0 4px 20px rgba(0, 0, 0, .04);
}
.breakdown__header {
  font-size: .6875rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--txt-3);
  padding-bottom: var(--s3);
  border-bottom: 1px solid var(--border);
  margin: 0 0 var(--s4);
}
.breakdown__lines {
  margin-bottom: var(--s3);
}
.breakdown__line {
  font-size: .875rem;
  padding: 6px 0;
}
.breakdown__total {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin: var(--s4) calc(var(--s5) * -1) calc(var(--s4) * -1);
  padding: var(--s4) var(--s5);
  background: var(--accent-dim);
  border-radius: 0 0 var(--r3) var(--r3);
  border-top: 1px solid var(--border);
}
.breakdown__total-label {
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--txt-2);
}
.breakdown__total-amount {
  font-size: 1.625rem;
  font-weight: 700;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
  line-height: 1;
}
.breakdown__ctas {
  margin-top: var(--s5);
}
.breakdown__why {
  margin-top: var(--s4);
  padding-top: var(--s3);
  border-top: 1px dashed var(--border);
}
.breakdown__why summary {
  font-size: .8125rem;
  color: var(--txt-3);
  cursor: pointer;
}

/* ── 10. Calc form — clear group separation ───────────────── */
.calc-form-group {
  padding-bottom: var(--s5);
  border-bottom: 1px solid var(--border);
  margin-bottom: var(--s5);
}
.calc-form-group:last-child {
  border-bottom: none;
  padding-bottom: 0;
  margin-bottom: 0;
}
.calc-form-label {
  /* v22 Agent 3 — bring this v12 cascade override in line with the
     foundation: --txt-3 → --txt-2 (contrast lift), fluid --fs-body-sm,
     letter-spacing dialled from .12 → .04 (was airy at .75rem caps;
     even airier at the new fluid size if left at .12). Weight kept
     at 700 because this is the v12 stronger-form spec. */
  display: block;
  font-size: var(--fs-body-sm);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--txt-2);
  margin-bottom: var(--s3);
}

/* ── 11. Date chips ───────────────────────────────────────── */
.date-chips {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s2);
}
.date-chip {
  padding: 8px 14px;
  border: 1px solid var(--border-hi);
  border-radius: 999px;
  background: transparent;
  font-size: .8125rem;
  font-weight: 500;
  color: var(--txt-2);
  cursor: pointer;
  transition: all var(--t-fast);
  letter-spacing: .01em;
}
.date-chip:hover {
  border-color: var(--accent);
  color: var(--txt-1);
  background: var(--accent-dim);
}
.date-chip.active {
  background: var(--accent);
  color: var(--bg);
  border-color: var(--accent);
  font-weight: 600;
}
/* v26 mobile-ux: at ≤640px the FR date labels wrap to 2–3 rows; raise the
   inter-chip gap (--s2→--space-3) and horizontal padding (14px→--space-3) so
   wrapped 44px chips separate clearly. */
@media (max-width: 640px) {
  .date-chips {
    gap: var(--space-3);
  }
  .date-chip {
    padding: 8px var(--space-3);
  }
}

/* ── 12. Segmented control — proper visual ────────────────── */
.segmented {
  display: inline-flex;
  background: var(--bg);
  border: 1px solid var(--border-hi);
  border-radius: var(--r2);
  padding: 3px;
  gap: 0;
}
.seg-opt {
  padding: 8px 14px;
  font-size: .8125rem;
  font-weight: 500;
  color: var(--txt-2);
  background: transparent;
  border-radius: 6px;
  cursor: pointer;
  transition: all var(--t-fast);
  border: none;
}
.seg-opt:hover {
  color: var(--txt-1);
}
.seg-opt.active {
  background: var(--accent);
  color: var(--bg);
  font-weight: 600;
}
/* v26 mobile-ux: the inline-flex duplicate above floats the room-type control
   left at content width. At ≤640px force three equal full-width thirds so it
   aligns with the chips/select. Coarse-pointer min-height (44px, :126) kept. */
@media (max-width: 640px) {
  .segmented {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    width: 100%;
  }
  .seg-opt {
    flex: 1;
    min-width: 0;
  }
}

/* ── 13. Footer — phone group with icons ──────────────────── */
.footer-col {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.footer-col h4 {
  margin-bottom: var(--s3);
}
.phone-group {
  display: flex;
  flex-direction: column;
  margin-bottom: var(--s4);
}
.phone-group:last-child {
  margin-bottom: 0;
}
.phone-group__head {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .6875rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--txt-3);
  margin: 0 0 var(--s2);
}
.phone-group__head svg {
  color: var(--accent);
  width: 13px;
  height: 13px;
  flex-shrink: 0;
}
.phone-group a {
  font-variant-numeric: tabular-nums;
  font-size: .9375rem;
  letter-spacing: .02em;
  padding: 3px 0;
  color: var(--txt-1);
  transition: color var(--t-fast);
}
.phone-group a:hover {
  color: var(--accent);
}

/* ── 14. Section spacing — v22 foundation-aligned ─────── */
section.section {
  padding-block: var(--section-y, clamp(48px, 8vw, 96px));
  scroll-margin-top: calc(var(--nav-h, 72px) + 16px);
  position: relative;
}

/* Stronger phase boundary: alternating background blocks */
section.section.phase-block {
  background: var(--bg-2);
}
section.section.phase-block + section.section:not(.phase-block) {
  background: var(--bg);
}

/* ── 15. Section heads — tighter, more disciplined ────────── */
.section-head {
  margin-bottom: var(--s7);
}
.section-head__eyebrow {
  font-size: .6875rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent);
}
.section-head__title {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  line-height: 1.15;
  letter-spacing: -.015em;
  margin-top: var(--s3);
}
.section-head__sub {
  margin-top: var(--s3);
  font-size: 1rem;
  color: var(--txt-2);
  max-width: 56ch;
  line-height: 1.6;
}

/* ── 16. Stat cards — bounded, readable ───────────────────── */
.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r3);
  padding: var(--s5);
  text-align: left;
}
.stat-card__num {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 700;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
  line-height: 1;
  letter-spacing: -.02em;
}
.stat-card__label {
  margin-top: var(--s2);
  font-size: .8125rem;
  color: var(--txt-2);
  line-height: 1.5;
}

/* ── 17. Testimonial cards — bounded, structured ──────────── */
.testi-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r3);
  padding: var(--s6);
  display: flex;
  flex-direction: column;
  gap: var(--s4);
}
.testi-stars {
  color: var(--star-gold);
  letter-spacing: 2px;
  font-size: .875rem;
}
.testi-text {
  font-size: 1rem;
  line-height: 1.65;
  color: var(--txt-1);
  font-style: italic;
}
.testi-author {
  display: flex;
  align-items: center;
  gap: var(--s3);
  padding-top: var(--s3);
  border-top: 1px solid var(--border);
}
.testi-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--bg);
  display: grid;
  place-items: center;
  font-size: .8125rem;
  font-weight: 700;
  flex-shrink: 0;
}
.testi-name {
  font-weight: 600;
  font-size: .9375rem;
  color: var(--txt-1);
}
.testi-trip {
  font-size: .75rem;
  color: var(--txt-3);
  margin-top: 1px;
}

/* ── 18. Hero strip — demote (duplicates highlights) ──────── */
.hero__strip {
  display: none; /* moved into .highlights component below hero */
}

/* ── 19. Final CTA — demote (duplicates booking) ──────────── */
.final-cta {
  padding-block: var(--s8);
  background: var(--bg-2);
}
.final-cta__title {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
}
.final-cta__sub {
  font-size: .9375rem;
  margin-bottom: var(--s5);
}
.final-cta__actions {
  gap: var(--s3);
}

/* ── 20. Related (cross-sell) — demote, smaller scale ─────── */
.related-section {
  padding-block: var(--s7) var(--s8);
}
.related-section .section-head__title {
  font-size: clamp(1.375rem, 2.5vw, 1.75rem);
}
.related-grid {
  gap: var(--s4);
}
.related-card {
  border-radius: var(--r2);
}
.related-card__body {
  padding: var(--s4);
}
.related-card__title {
  font-size: 1rem;
}
.related-card__price {
  font-size: .8125rem;
  color: var(--txt-2);
}
.related-card__price strong {
  color: var(--txt-1);
  font-variant-numeric: tabular-nums;
}

/* ── 21. Inclus columns — list breathing room ─────────────── */
.inclus-list {
  display: flex;
  flex-direction: column;
  gap: var(--s3);
}
.inclus-item {
  display: flex;
  align-items: flex-start;
  gap: var(--s3);
  padding: var(--s2) 0;
  font-size: .9375rem;
  line-height: 1.55;
}
.inclus-item svg {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  margin-top: 3px;
}
.inclus-item--yes svg {
  color: var(--accent);
}
.inclus-item--no svg {
  color: var(--txt-3);
}
.inclus-item strong {
  font-weight: 600;
}

/* ── 22. Mobile — collapse breakdown sticky, stack ─────────── */
@media (max-width: 900px) {
  .breakdown {
    position: static;
  }
  .calc-grid {
    grid-template-columns: 1fr;
  }
  .hotel-card__cta {
    padding: var(--s3) var(--s4);
  }
  .stepper__btn {
    width: 36px;
    height: 36px;
  }
}

/* v22 Agent 3 — phone touch targets: the stepper +/- buttons must hit
   44×44 minimum on phones (Apple HIG + WCAG 2.5.5). The ≤900px rule
   above set 36×36 for tablet density; this overrides for phones. */
@media (max-width: 640px) {
  .stepper__btn {
    width: var(--touch-min);
    height: var(--touch-min);
    font-size: 1.375rem;
  }
  .stepper {
    gap: var(--s4);
  }
  /* v26 mobile-ux: tighten stepper row density so the 2-line helper rows don't
     push the running total further down — padding --s3(16px)→--space-2(8px).
     The 44px buttons above set the row height, so vertical rhythm is unchanged. */
  .stepper-item {
    padding: var(--space-2) 0;
  }
  /* v26 mobile-ux: lift helper-copy contrast --txt-3→--txt-2 to match the
     .calc-form-label uplift already shipped (:7343). */
  .stepper-item__info p {
    color: var(--txt-2);
  }
}

/* ── 23. Reduce inline-bold-noise — promote structure ──────── */
.inclus-item strong,
.faq-a strong,
.testi-text strong {
  font-weight: 600;
  color: var(--txt-1);
}

/* End v12 ─────────────────────────────────────────────────── */

/* ══════════════════════════════════════════════════════════
   v14 — Scroll-Expand Hero · sticky-scrub rewrite
   Replaces v13's wheel-hijack model. Free bidirectional scrubbing,
   smooth GPU-composited transforms, automatic rewind.
   Uses scale() + translate3d everywhere for compositor fast-path.
   ══════════════════════════════════════════════════════════ */

/* Reset v13 root — no longer pin via height/overflow, structure now
   nested with scrub + pinned wrappers so sticky works. */
.scroll-hero {
  position: relative;
  height: auto;
  width: 100%;
  overflow: visible;
  isolation: auto;
  background: #050609;
  color: #f3f6fa;
  touch-action: auto;
  --p: 0;
}

/* The scrub runway: total height = viewport + extra room for the animation.
   170vh gives a comfortable scroll distance (~70vh of scrubbing) without
   making the section feel oversized on long-scroll pages. */
.scroll-hero__scrub {
  position: relative;
  height: 170vh;
  height: 170dvh;
  width: 100%;
}

/* Sticky pinned visuals — stays glued to viewport top while scrub runs. */
.scroll-hero__pinned {
  position: sticky;
  top: 0;
  /* v22 Agent 3 — 3-tier viewport-height fallback (vh → svh → dvh) so
     iOS Safari pre-15.4 still renders sanely. dvh is the modern choice
     here (NOT svh): it adapts as the URL bar shows/hides, which is what
     a sticky-pinned hero needs. svh would leave a gap when the bar
     collapses. */
  height: 100vh;
  height: 100svh;
  height: 100dvh;
  width: 100%;
  overflow: hidden;
  isolation: isolate;
  /* Compositor hint */
  contain: paint;
}

/* ── Background photo ──────────────────────────────────────
   Fades out + slight scale-down. Uses transform (composited)
   instead of width/height. */
.scroll-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transform: translate3d(0, 0, 0) scale(calc(1 + (1 - var(--p)) * 0.04));
  opacity: calc(1 - var(--p) * 0.85);
  will-change: transform, opacity;
  /* No CSS transition — JS sets --p continuously via rAF, which gives us
     per-frame interpolation by the browser's compositor. Adding a CSS
     transition would actually hurt smoothness here (it would lag behind). */
}
.scroll-hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, .25) 0%, rgba(0, 0, 0, .35) 50%, rgba(0, 0, 0, .55) 100%);
  pointer-events: none;
}

/* ── Centre media — scales from small to large ──────────────
   We render at FULL size (the max) and scale DOWN at p=0, scale UP toward
   1.0 as p approaches 1. This keeps text inside the media crisp at every
   stage and uses transform: scale() for compositing.  */
.scroll-hero__media {
  position: absolute;
  top: 50%;
  left: 50%;
  width: clamp(280px, 78vw, 1280px);
  height: clamp(380px, 60vh, 840px);
  border-radius: calc(20px - var(--p) * 8px);
  overflow: hidden;
  z-index: 5;
  background-color: #0a0d12;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  /* scale 0.32 (small) → 1.0 (full) — values tuned to match v13 width range */
  transform: translate3d(-50%, -50%, 0) scale(calc(0.32 + var(--p) * 0.68));
  transform-origin: center center;
  box-shadow:
    0 30px 80px rgba(0, 0, 0, .55),
    0 0 0 1px rgba(255, 255, 255, .08) inset;
  /* v26: border-radius animates per scroll frame (paint) — paint props gain
     nothing from will-change; only the composited transform belongs here. */
  will-change: transform;
}
.scroll-hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at center, transparent 50%, rgba(0, 0, 0, .35) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, .15) 0%, transparent 30%, transparent 60%, rgba(0, 0, 0, .35) 100%);
  pointer-events: none;
  opacity: calc(1 - var(--p) * 0.4);
  will-change: opacity;
}

/* ── Title — split halves translate outward ──────────────── */
.scroll-hero__title {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate3d(-50%, -50%, 0);
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(8px, 1.5vw, 22px);
  width: max-content;
  pointer-events: none;
  font-family: var(--font-display, "DM Sans", system-ui, sans-serif);
  font-weight: 700;
  letter-spacing: -.02em;
  font-size: clamp(2.25rem, 7vw, 5.5rem);
  line-height: 1;
  text-shadow: 0 2px 24px rgba(0, 0, 0, .45);
  mix-blend-mode: difference;
  color: #d6e8f5;
}
.scroll-hero__title-pre,
.scroll-hero__title-post {
  display: inline-block;
  white-space: nowrap;
  will-change: transform;
}
.scroll-hero__title-pre {
  transform: translate3d(calc(var(--p) * -55vw), 0, 0);
}
.scroll-hero__title-post {
  transform: translate3d(calc(var(--p) * 55vw), 0, 0);
}

/* ── Eyebrow + caption + skip — fade out ────────────────── */
.scroll-hero__eyebrow {
  position: absolute;
  top: calc(50% - clamp(80px, 12vh, 140px));
  left: 50%;
  transform: translate3d(-50%, 0, 0);
  z-index: 11;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(0, 0, 0, .35);
  border: 1px solid rgba(255, 255, 255, .15);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #e8eef3;
  white-space: nowrap;
  pointer-events: none;
  opacity: calc(1 - var(--p) * 1.6);
  will-change: opacity;
}
.scroll-hero__eyebrow svg {
  width: 12px;
  height: 12px;
  flex-shrink: 0;
}

.scroll-hero__caption {
  position: absolute;
  /* Pinned at bottom of viewport so it doesn't clip during scale */
  bottom: clamp(40px, 9vh, 80px);
  left: 50%;
  transform: translate3d(-50%, 0, 0);
  z-index: 7;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-align: center;
  pointer-events: none;
  opacity: calc(1 - var(--p) * 1.6);
  will-change: opacity;
}
.scroll-hero__date {
  font-size: clamp(.875rem, 1.5vw, 1.0625rem);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #cfe4f3;
  font-weight: 500;
}
.scroll-hero__prompt {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .8125rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #9fb6c8;
  font-weight: 500;
}
.scroll-hero__prompt::after {
  content: "";
  display: inline-block;
  width: 1px;
  height: 32px;
  background: linear-gradient(180deg, currentColor 0%, transparent 100%);
  animation: shv14-pulse 1.6s ease-in-out infinite;
  margin-left: 8px;
}
@keyframes shv14-pulse {
  0%, 100% { opacity: .25; transform: scaleY(.6); }
  50%      { opacity: 1;   transform: scaleY(1); }
}

.scroll-hero__skip {
  position: absolute;
  bottom: 20px;
  right: 24px;
  z-index: 12;
  font-size: .75rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(232, 238, 243, .65);
  background: rgba(0, 0, 0, .35);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 999px;
  padding: 6px 14px;
  text-decoration: none;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  cursor: pointer;
  opacity: calc(1 - var(--p) * 1.6);
  will-change: opacity;
  transition: background var(--t-fast) ease, color var(--t-fast) ease;
}
.scroll-hero__skip:hover {
  background: rgba(0, 0, 0, .55);
  color: #fff;
}

/* ── Continuation card — shows after the scrub completes ──
   Fades in over the last 30% of progress so it's already
   coming up as the media reaches full scale. */
.scroll-hero__continuation {
  position: relative;
  z-index: 5;
  margin: 0 auto;
  padding: clamp(48px, 7vw, 96px) clamp(16px, 4vw, 32px);
  max-width: 1180px;
  text-align: center;
  /* v26 mobile-ux: reveal the offer sooner — threshold 0.7→0.55; divisor matched
     to the remaining 0.45 runway so it still reaches opacity 1 at --p=1. */
  opacity: calc(max(0, var(--p) - 0.55) / 0.45);
  will-change: opacity;
}
.scroll-hero__continuation h1 {
  font-family: var(--font-display, "DM Sans", system-ui, sans-serif);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  letter-spacing: -.02em;
  line-height: 1.1;
  color: var(--txt-1, #f3f6fa);
  margin-bottom: var(--s4, 16px);
}
.scroll-hero__continuation h1 em {
  font-style: italic;
  color: var(--accent, var(--mint));
}
.scroll-hero__continuation p {
  max-width: 56ch;
  margin: 0 auto var(--s5, 24px);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--txt-2, #cfe4f3);
}
.scroll-hero__continuation .hero__price {
  margin: 0 auto var(--s5, 24px);
}
.scroll-hero__continuation .hero__ctas {
  justify-content: center;
}

/* ── Mobile tuning ───────────────────────────────────────── */
@media (max-width: 768px) {
  /* v26 mobile-ux: shorten the mobile scrub runway 150vh→115vh so the offer
     arrives ~⅓ of a screen sooner. */
  .scroll-hero__scrub {
    height: 115vh;
    height: 115dvh;
  }
  .scroll-hero__media {
    width: clamp(240px, 86vw, 600px);
    height: clamp(320px, 55vh, 600px);
    transform: translate3d(-50%, -50%, 0) scale(calc(0.36 + var(--p) * 0.64));
  }
  .scroll-hero__title {
    font-size: clamp(1.75rem, 9vw, 3rem);
    gap: 4px;
  }
  .scroll-hero__title-pre {
    transform: translate3d(calc(var(--p) * -65vw), 0, 0);
  }
  .scroll-hero__title-post {
    transform: translate3d(calc(var(--p) * 65vw), 0, 0);
  }
  .scroll-hero__caption { bottom: 24px; }
  .scroll-hero__skip {
    right: var(--space-3); bottom: var(--space-3);
    /* v26 mobile-ux: real 44px tap target — was ~27px tall (5px/10px padding). */
    min-height: var(--touch-min);
    display: inline-flex;
    align-items: center;
    padding: var(--space-2) var(--space-3);
    font-size: .6875rem;
  }
  .scroll-hero__eyebrow {
    font-size: .6875rem;
    padding: 5px 12px;
  }
}

/* ── Reduced motion: collapse runway, render at p=1 ───────── */
@media (prefers-reduced-motion: reduce) {
  .scroll-hero__scrub {
    height: auto;
    /* v22 Agent 3 — 3-tier fallback (vh → svh → dvh). See note on
       .scroll-hero__pinned for why dvh is the final preferred value. */
    min-height: 100vh;
    min-height: 100svh;
    min-height: 100dvh;
  }
  .scroll-hero__pinned {
    position: relative;
    height: 100vh;
    height: 100svh;
    height: 100dvh;
  }
  .scroll-hero {
    --p: 1 !important;
  }
  .scroll-hero__continuation {
    opacity: 1;
  }
}

/* ── No-JS fallback — preserve legibility even without scroll handler ── */
.scroll-hero:not([data-sh-init]) .scroll-hero__continuation {
  opacity: 1;
}

/* End v14 ─────────────────────────────────────────────────── */

/* ══════════════════════════════════════════════════════════
   v15 — Validation, A11y polish, Transparency disclaimers
   Pairs with _v15_a11y_migrate.py + booking-form.js validate()
   ══════════════════════════════════════════════════════════ */

/* ── Booking form validation states ───────────────────────── */
.bform-field input.is-invalid,
.bform-field textarea.is-invalid {
  border-color: #d04444;
  box-shadow: 0 0 0 3px rgba(208, 68, 68, .12);
  background: rgba(208, 68, 68, .04);
}
.bform-field input.is-invalid:focus,
.bform-field textarea.is-invalid:focus {
  outline: none;
  border-color: #d04444;
  box-shadow: 0 0 0 4px rgba(208, 68, 68, .22);
}
.bform-field input[aria-invalid="true"] + .bf-field-err,
.bform-field input + .bf-field-err {
  /* The hidden attribute on the <p> handles default visibility,
     but we style the visible state here */
}
.bf-field-err {
  margin: 6px 0 0;
  font-size: .8125rem;
  color: #d04444;
  font-weight: 500;
  display: flex;
  align-items: flex-start;
  gap: 6px;
  line-height: 1.4;
}
.bf-field-err::before {
  content: "⚠";
  display: inline-block;
  font-size: .9rem;
  flex-shrink: 0;
  margin-top: -1px;
}
.bf-field-hint {
  margin: 4px 0 0;
  font-size: .75rem;
  color: var(--txt-3, #8a99a8);
  line-height: 1.45;
  font-style: italic;
}

/* Required asterisk colored for visibility */
.bform-field .req {
  color: #d04444;
  font-weight: 700;
  margin-left: 2px;
}

/* ── Validation banner above WhatsApp preview ─────────────── */
.bf-validation-banner {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  margin-bottom: 12px;
  background: rgba(208, 68, 68, .08);
  border: 1px solid rgba(208, 68, 68, .25);
  border-radius: var(--r2, 8px);
  color: #c43d3d;
  font-size: .875rem;
  font-weight: 500;
  line-height: 1.4;
}
.bf-validation-banner svg {
  color: #d04444;
  flex-shrink: 0;
}
:root[data-theme="light"] .bf-validation-banner {
  background: rgba(208, 68, 68, .06);
  color: #b13434;
}

/* ── Disabled send button (when form invalid) ─────────────── */
.btn.is-disabled,
.btn--wa.is-disabled,
.btn--ghost.is-disabled {
  pointer-events: none;
  opacity: .5;
  cursor: not-allowed;
  filter: grayscale(.4);
}

/* ── Hero fineprint (à-partir-de disclaimer) ──────────────── */
.hero-fineprint {
  font-size: .75rem;
  color: var(--txt-3, #8a99a8);
  text-align: center;
  margin: 0 auto var(--s4, 16px);
  max-width: 56ch;
  line-height: 1.5;
  font-style: italic;
  letter-spacing: .01em;
}
.scroll-hero__continuation .hero-fineprint {
  margin-top: -8px;
  margin-bottom: 16px;
}

/* ── Calculator tax disclaimer ──────────────────────────────── */
.calc-disclaimer {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 0 0 var(--s4, 16px);
  padding: 10px 12px;
  background: rgba(245, 200, 66, .10);
  border: 1px solid rgba(245, 200, 66, .25);
  border-radius: var(--r2, 8px);
  font-size: .8125rem;
  color: var(--txt-2, #c9cdd4);
  line-height: 1.5;
}
.calc-disclaimer svg {
  color: var(--star-gold);
  flex-shrink: 0;
  margin-top: 1px;
}
.calc-disclaimer strong {
  color: var(--txt-1, #fbf8f1);
  font-weight: 600;
}
:root[data-theme="light"] .calc-disclaimer {
  background: rgba(245, 200, 66, .14);
  color: var(--txt-2, #3a4252);
}

/* ── Date chips: keyboard focus + active visual ──────────── */
.date-chip:focus-visible {
  outline: 2px solid var(--accent, var(--mint));
  outline-offset: 2px;
}
.date-chip[aria-checked="true"] {
  /* Already styled by .date-chip.active in v12; aria-checked mirror */
  background: var(--accent, var(--mint));
  color: var(--bg, #0a0c12);
  border-color: var(--accent, var(--mint));
  font-weight: 600;
}

/* ── Single-hotel mode: hide hotel select group ──────────── */
[data-single-hotel="true"] {
  display: none !important;
}

/* End v15 ─────────────────────────────────────────────────── */

/* ══════════════════════════════════════════════════════════
   v15 — Info block section (Paiement / Annulation / Formalités / Assurance)
   Native <details>/<summary> for the accordion behavior — zero JS,
   keyboard-accessible by default, screen-reader friendly.
   ══════════════════════════════════════════════════════════ */

.info-block-section {
  background: var(--bg, #0a0c12);
}
.info-block-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: var(--s4, 16px);
  /* start, not stretch: an open card grew its row, stretching the CLOSED
     sibling to the same height → it showed a tall empty box ("others open
     empty" bug). align-items:start lets each card own its height. */
  align-items: start;
}

/* ── Card (collapsible) ───────────────────────────────────── */
.info-card {
  background: var(--bg-card, rgba(255,255,255,.03));
  border: 1px solid var(--border, rgba(255,255,255,.08));
  border-radius: var(--r3, 14px);
  overflow: hidden;
  transition: border-color var(--t-fast) ease, box-shadow var(--t-fast) ease;
}
.info-card[open] {
  border-color: var(--border-hi, rgba(255,255,255,.16));
  box-shadow: 0 4px 20px rgba(0, 0, 0, .04);
}
.info-card[open] .info-card__chevron {
  transform: rotate(180deg);
}

/* ── Summary (the always-visible row) ─────────────────────── */
.info-card__head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 20px;
  cursor: pointer;
  list-style: none;
  user-select: none;
  font-weight: 600;
  font-size: 1rem;
  color: var(--txt-1, #fbf8f1);
  transition: background var(--t-fast) ease;
}
.info-card__head::-webkit-details-marker { display: none; }
.info-card__head:hover { background: rgba(255, 255, 255, .02); }
.info-card__head:focus-visible {
  outline: 2px solid var(--accent, var(--mint));
  outline-offset: -2px;
}

.info-card__icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--accent-dim, rgba(156, 232, 178, .12));
  color: var(--accent, var(--mint));
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.info-card__title {
  flex: 1;
  letter-spacing: -.005em;
}

.info-card__chevron {
  flex-shrink: 0;
  color: var(--txt-3, #8a99a8);
  transition: transform var(--t-fast) var(--ease-snap);
}

/* ── Body (the expanded content) ──────────────────────────── */
.info-card__body {
  padding: 4px 20px 22px;
  font-size: .9375rem;
  line-height: 1.65;
  color: var(--txt-2, #c9cdd4);
}
.info-card__body > * + * { margin-top: 14px; }

.info-card__lede {
  font-weight: 500;
  color: var(--txt-1, #fbf8f1);
}

.info-card__note {
  margin-top: 14px;
  padding: 12px 14px;
  background: rgba(156, 232, 178, .06);
  border-left: 3px solid var(--accent, var(--mint));
  border-radius: 0 8px 8px 0;
  font-size: .875rem;
  line-height: 1.6;
}
.info-card__note strong { color: var(--txt-1, #fbf8f1); }

/* ── Lists inside body ────────────────────────────────────── */
.info-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.info-list li {
  position: relative;
  padding-left: 18px;
  font-size: .9375rem;
  line-height: 1.6;
}
.info-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent, var(--mint));
}
.info-list li strong {
  color: var(--txt-1, #fbf8f1);
  font-weight: 600;
}

/* Tiered list (annulation cancellation thresholds) */
.info-list--tiered li {
  padding: 10px 14px 10px 32px;
  background: rgba(255, 255, 255, .02);
  border-radius: 8px;
  border: 1px solid var(--border, var(--border));
}
.info-list--tiered li::before {
  left: 14px;
  top: 18px;
}
:root[data-theme="light"] .info-list--tiered li {
  background: rgba(0, 44, 81, .03);
  border-color: rgba(0, 44, 81, .08);
}

/* ── Mobile ──────────────────────────────────────────────── */
@media (max-width: 768px) {
  .info-block-grid {
    grid-template-columns: 1fr;
  }
  .info-card__head {
    padding: 16px 16px;
    font-size: .9375rem;
  }
  .info-card__body {
    padding: 4px 16px 18px;
  }
}

/* End v15 info-block ──────────────────────────────────────── */

/* ══════════════════════════════════════════════════════════
   v16 — Design audit fixes (selective)
   Implements Priority 1 + Priority 2 + 3 items from the
   external design-system audit. Skips items already addressed
   in v12/v14/v15 (verified by live inspection).
   ══════════════════════════════════════════════════════════ */

/* ── P1-A · Ghost button contrast on hero contexts ──────────
   Original .btn--ghost: transparent bg, 25% white border, txt-1 color.
   Over a hero photo with bright regions (sand, sky), text and border
   both fade. Fix: scope only to hero contexts — give a frosted-glass
   backdrop, stronger border, and a text-shadow safety net. */
.scroll-hero .btn--ghost,
.home-hero .btn--ghost,
.hero .btn--ghost {
  background: rgba(0, 0, 0, .35);
  border: 1.5px solid rgba(255, 255, 255, .55);
  color: #fff;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  text-shadow: 0 1px 2px rgba(0, 0, 0, .35);
  font-weight: 600;
  transition: background var(--t-fast), border-color var(--t-fast), transform var(--t-fast);
}
.scroll-hero .btn--ghost:hover,
.home-hero .btn--ghost:hover,
.hero .btn--ghost:hover {
  background: rgba(0, 0, 0, .55);
  border-color: rgba(255, 255, 255, .85);
  transform: translateY(-1px);
}
:root[data-theme="light"] .scroll-hero .btn--ghost,
:root[data-theme="light"] .home-hero .btn--ghost,
:root[data-theme="light"] .hero .btn--ghost {
  background: rgba(255, 255, 255, .85);
  border-color: rgba(0, 44, 81, .25);
  color: var(--navy, var(--navy));
  text-shadow: none;
}

/* v21 phase H: .calc-cta-hint rules removed — HTML element was
   deleted from all 5 trip pages in phase E.2 (calculator UI is
   self-explanatory, didn't need the explainer copy). */

/* ── P2-C · Destination filter pills on homepage ───────────
   Sits above the trip-card grid. Active state matches tier-tab styling.
   On filter change, JS toggles trip cards via data-region attribute. */
.dest-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin: var(--s5, 24px) auto var(--s7, 48px);
  max-width: 100%;
}
.dest-filter__pill {
  padding: 8px 16px;
  background: transparent;
  border: 1px solid var(--border-hi, rgba(255, 255, 255, .16));
  border-radius: 999px;
  font-size: .8125rem;
  font-weight: 600;
  color: var(--txt-2, #c9cdd4);
  cursor: pointer;
  transition: all var(--t-fast);
  letter-spacing: .02em;
}
.dest-filter__pill:hover {
  border-color: var(--accent, var(--mint));
  color: var(--txt-1, #fbf8f1);
  background: var(--accent-dim, rgba(156, 232, 178, .08));
}
.dest-filter__pill[aria-pressed="true"] {
  background: var(--accent, var(--mint));
  color: var(--bg, #0a0c12);
  border-color: var(--accent, var(--mint));
}
.dest-filter__pill .dest-filter__count {
  display: inline-block;
  margin-left: 6px;
  font-size: .6875rem;
  font-weight: 500;
  opacity: .7;
}

/* Hidden trip cards via filter — collapsed nicely */
.trip-card.is-filtered-out {
  display: none;
}

/* ── P1-C · Homepage contact form ──────────────────────────
   Sits inside #contact section. Name + city + phone + voyage select.
   On submit, builds wa.me link with prefilled message. */
.contact-form {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--s4, 16px);
  margin-top: var(--s5, 24px);
  padding: var(--s5, 24px);
  background: var(--bg-card, rgba(255, 255, 255, .03));
  border: 1px solid var(--border-hi, rgba(255, 255, 255, .16));
  border-radius: var(--r3, 14px);
}
/* Responsive fix: the trip <select>'s longest <option> was forcing the contact
   grid's 1fr column to its ~442px min-content, clipping the form on narrow
   phones. Let the grid items + form controls shrink below their intrinsic min. */
.contact-section > * { min-width: 0; }
.contact-form,
.contact-form__field { min-width: 0; }
.contact-form input,
.contact-form select,
.contact-form textarea { min-width: 0; max-width: 100%; }
.contact-form__field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.contact-form__field label {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--txt-3, #8a99a8);
}
.contact-form__field input,
.contact-form__field select {
  padding: 12px 14px;
  background: var(--bg, #0a0c12);
  border: 1px solid var(--border, rgba(255, 255, 255, .08));
  border-radius: var(--r2, 8px);
  color: var(--txt-1, #fbf8f1);
  font-size: .9375rem;
  font-family: inherit;
  transition: border-color var(--t-fast);
}
.contact-form__field input:focus,
.contact-form__field select:focus {
  outline: none;
  border-color: var(--accent, var(--mint));
  box-shadow: 0 0 0 3px var(--accent-dim, rgba(156, 232, 178, .15));
}
.contact-form__submit-wrap {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 8px;
}
.contact-form__hint {
  font-size: .75rem;
  color: var(--txt-3, #8a99a8);
  font-style: italic;
  flex: 1;
  min-width: 200px;
  line-height: 1.45;
}

/* ── P3-D · Social media links in footer ───────────────────
   Discrete row of icon links. Even as placeholder hrefs, signals brand
   maturity and is a known trust factor (audit P3-D). */
.footer-social {
  display: flex;
  gap: 10px;
  margin-top: var(--s4, 16px);
  flex-wrap: wrap;
}
.footer-social a {
  /* 44×44 hit area = WCAG 2.5.5 AAA enhanced target size
     (was 36×36 which already met the 2.5.8 AA 24×24 minimum). */
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--bg-card, rgba(255, 255, 255, .04));
  border: 1px solid var(--border, rgba(255, 255, 255, .08));
  display: grid;
  place-items: center;
  color: var(--txt-2, #c9cdd4);
  transition: all var(--t-fast);
  text-decoration: none;
}
.footer-social a:hover {
  background: var(--accent, var(--mint));
  color: var(--bg, #0a0c12);
  border-color: var(--accent, var(--mint));
  transform: translateY(-2px);
}
.footer-social a svg {
  width: 16px;
  height: 16px;
}

/* ── P3-F · Tag/badge contrast harmonization ───────────────
   .amenity-pill on hotel cards already uses accent-dim bg + accent text
   from v12. Verify dep-badge has good contrast too. */
.dep-badge {
  /* Already styled in v5 via accent tokens. Add a fallback for older states. */
  background: var(--accent-dim, rgba(156, 232, 178, .14));
  color: var(--accent, var(--mint));
  font-weight: 700;
}
:root[data-theme="light"] .dep-badge {
  background: var(--accent-dim, rgba(35, 122, 74, .12));
  color: var(--accent, #237a4a);
}

/* ── Mobile tuning ─────────────────────────────────────── */
@media (max-width: 640px) {
  .dest-filter {
    justify-content: flex-start;
    overflow-x: auto;
    flex-wrap: nowrap;
    padding: 4px;
    margin-inline: -16px;
    padding-inline: 16px;
  }
  .dest-filter__pill {
    flex-shrink: 0;
  }
  .contact-form {
    grid-template-columns: 1fr;
    padding: var(--s4, 16px);
  }
  .contact-form__submit-wrap {
    flex-direction: column;
    align-items: stretch;
  }
  .contact-form__submit-wrap .btn {
    width: 100%;
    justify-content: center;
  }
}

/* End v16 ─────────────────────────────────────────────────── */

/* ══════════════════════════════════════════════════════════
   v17 — Performance optimizations
   - Hero <picture><img> structure for WebP + responsive srcset
   - object-fit on inner <img> so transforms still work on parent
   - GPU compositing hints
   ══════════════════════════════════════════════════════════ */

/* ── Hero <picture> as bg/fg layer container ──────────────
   Previously these rules used background-image. Now we use real <img>
   inside <picture> so the browser auto-picks WebP + mobile-cropped
   variants. The transform/opacity animations stay on the <picture>
   (parent) — the inner <img> just fills via object-fit. */

.scroll-hero__bg,
picture.scroll-hero__bg {
  display: block;
  background: none;            /* drop legacy background-image fallback */
}
.scroll-hero__bg > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  /* The img itself doesn't need a separate transform — parent has it */
}

.scroll-hero__media,
picture.scroll-hero__media {
  display: block;
  background: none;
  background-color: #0a0d12;
}
.scroll-hero__media > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  border-radius: inherit;
}

/* The ::after pseudo-elements need to stay above the img (they were
   already positioned absolute over the same area, just over a div).
   Bump z-index slightly to make sure they paint over the img. */
.scroll-hero__bg::after,
.scroll-hero__media::after {
  z-index: 1;
}

/* ── Globe canvas: pause hint via JS-applied class ────────
   When the globe scrolls offscreen, JS applies .is-paused which we
   use to hide it cheaply. The actual rAF loop in globe.js stops too,
   but this keeps the visible state correct. */
.globe-stage.is-paused {
  visibility: hidden;
}
.globe-stage.is-paused canvas {
  /* Belt-and-braces: even if visibility:hidden somehow doesn't apply
     (Safari quirk), this drops the GPU layer */
  transform: translateZ(0) scale(0.98);
  opacity: 0.4;
  transition: opacity var(--t-fast) ease;
}

/* End v17 ─────────────────────────────────────────────────── */

/* ══════════════════════════════════════════════════════════════
   v18 — Neo-brutalist hotel cards
   Adapted from a Uiverse pattern: bold border, hard offset shadow
   (no blur), tilted tag, cut corner with star, dashed price divider
   with scissors, hard-shadow CTA. All within Alliance Travel's palette
   (mint var(--mint), navy var(--navy), cream #fbf8f1).

   Overrides v1/v12 .hotel-card rules via source-order cascade.
   ════════════════════════════════════════════════════════════ */

/* ── Card shell ─────────────────────────────────────────────── */
.hotel-card {
  --hc-text:        var(--txt-1, #fbf8f1);
  --hc-bg:          var(--bg-card, #0f1218);
  --hc-accent:      var(--accent, #9ce8b2);
  --hc-accent-dim:  var(--accent-dim, rgba(156, 232, 178, .14));
  --hc-shadow:      #000;
  --hc-border:      var(--accent, #9ce8b2);
  --hc-pattern:     rgba(255, 255, 255, .04);

  position: relative;
  width: 100%;
  background: var(--hc-bg);
  color: var(--hc-text);
  border: 3px solid var(--hc-border);
  border-radius: 14px;
  box-shadow:
    8px 8px 0 var(--hc-shadow),
    inset 0 0 0 1px rgba(255, 255, 255, .03);
  transition: transform var(--t-base) var(--ease-spring),
              box-shadow var(--t-base) var(--ease-spring);
  overflow: hidden;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  font-family: inherit;
  isolation: isolate;
}

:root[data-theme="light"] .hotel-card {
  --hc-text:        #002c51;
  --hc-bg:          #ffffff;
  --hc-accent:      #237a4a;
  --hc-accent-dim:  rgba(35, 122, 74, .10);
  --hc-shadow:      #002c51;
  --hc-border:      #002c51;
  --hc-pattern:     rgba(0, 44, 81, .04);
}

.hotel-card:hover {
  transform: translate(-4px, -4px);
  box-shadow:
    12px 12px 0 var(--hc-shadow),
    inset 0 0 0 1px rgba(255, 255, 255, .04);
}

.hotel-card:active {
  transform: translate(2px, 2px);
  box-shadow: 4px 4px 0 var(--hc-shadow);
  transition: transform 80ms ease, box-shadow 80ms ease;
}

/* Cut-corner accent triangle (top-right) */
.hotel-card::before {
  content: "";
  position: absolute;
  top: -28px;
  right: -28px;
  width: 64px;
  height: 64px;
  background: var(--hc-accent);
  transform: rotate(45deg);
  z-index: 4;
  pointer-events: none;
}

/* Star inside the cut corner */
.hotel-card::after {
  content: "★";
  position: absolute;
  top: 6px;
  right: 10px;
  color: var(--hc-bg);
  font-size: 14px;
  font-weight: 800;
  z-index: 5;
  pointer-events: none;
  line-height: 1;
}

/* Subtle grid pattern behind everything (shows on hover) */
.hotel-card__body::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, var(--hc-pattern) 1px, transparent 1px),
    linear-gradient(to bottom, var(--hc-pattern) 1px, transparent 1px);
  background-size: 8px 8px;
  pointer-events: none;
  opacity: 0;
  transition: opacity var(--t-base) ease;
  z-index: 0;
}
.hotel-card:hover .hotel-card__body::before {
  opacity: 1;
}

/* ── Photo block ────────────────────────────────────────────── */
.hotel-card__img {
  aspect-ratio: 16 / 10;
  position: relative;
  overflow: hidden;
  background: var(--hc-accent-dim);
  border-bottom: 3px solid var(--hc-border);
}

.hotel-card__photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform var(--t-slow) var(--ease-spring);
  filter: contrast(1.04) saturate(1.05);
}
.hotel-card:hover .hotel-card__photo {
  transform: scale(1.05);
}

/* Diagonal stripe overlay on photo bottom — adds the brutalist texture */
.hotel-card__img::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 28%;
  background:
    repeating-linear-gradient(
      45deg,
      rgba(0, 0, 0, .35),
      rgba(0, 0, 0, .35) 8px,
      transparent 8px,
      transparent 16px
    ),
    linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, .55) 100%);
  pointer-events: none;
  z-index: 1;
  mix-blend-mode: multiply;
}

/* ── Tilted ribbon (tier badge) ─────────────────────────────── */
.hotel-card__ribbon {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 3;
  background: var(--hc-bg);
  color: var(--hc-text);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 5px 10px;
  border: 2px solid var(--hc-border);
  border-radius: 4px;
  box-shadow: 3px 3px 0 var(--hc-shadow);
  transform: rotate(-3deg);
  transition: transform var(--t-base) var(--ease-spring),
              box-shadow var(--t-base) ease;
}
.hotel-card:hover .hotel-card__ribbon {
  transform: rotate(2deg) scale(1.06);
  box-shadow: 4px 4px 0 var(--hc-shadow);
}

/* Tier-specific accent — keeps the v12 colour assignments */
.hotel-card__ribbon.economique { color: #5b9eC9; }
.hotel-card__ribbon.medium     { color: #5cc4c1; }
.hotel-card__ribbon.premium    { color: #d8a653; }
.hotel-card__ribbon.luxe       { color: var(--star-gold); }
:root[data-theme="light"] .hotel-card__ribbon.economique { color: #1f568a; }
:root[data-theme="light"] .hotel-card__ribbon.medium     { color: #1f7a78; }
:root[data-theme="light"] .hotel-card__ribbon.premium    { color: #8a5616; }
:root[data-theme="light"] .hotel-card__ribbon.luxe       { color: #876608; }

/* ── Body ──────────────────────────────────────────────────── */
.hotel-card__body {
  position: relative;
  padding: 18px 20px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
  z-index: 1;
}

.hotel-card__body > * {
  position: relative;
  z-index: 1;
}

.hotel-card__stars {
  font-size: 14px;
  color: var(--star-gold);
  letter-spacing: 2px;
  line-height: 1;
}

.hotel-card__name {
  font-size: 17px;
  font-weight: 700;
  color: var(--hc-text);
  line-height: 1.25;
  letter-spacing: -.005em;
  margin: 0;
}

/* Amenity pills — bordered, subtle */
.hotel-card__amenities {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 2px;
  margin-bottom: 4px;
}
.hotel-card .amenity-pill {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--hc-accent);
  background: var(--hc-accent-dim);
  border: 1.5px solid var(--hc-accent);
  border-radius: 999px;
  padding: 3px 9px;
  line-height: 1.4;
}

/* ── Price block — dashed divider with scissors ─────────── */
.hotel-card__price {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1px;
  margin-top: 8px;
  padding-top: 18px;
  border-top: 2px dashed rgba(0, 0, 0, 0);
  background:
    linear-gradient(to right,
      var(--hc-text) 0,
      var(--hc-text) 6px,
      transparent 6px,
      transparent 14px
    ) top left / 14px 2px repeat-x;
  background-position: top center;
  /* Note: the `border-top: 2px dashed` plus background-position trick gives
     a sharp dashed line that matches the brutalist aesthetic better than
     the default browser dashed rendering. */
}

.hotel-card__price::before {
  content: "✂";
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%) rotate(90deg);
  background: var(--hc-bg);
  padding: 0 6px;
  font-size: 13px;
  color: var(--hc-text);
  opacity: .6;
  line-height: 1;
}

.hotel-card__price-label {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--hc-text);
  opacity: .6;
}

.hotel-card__price strong {
  font-size: 28px;
  font-weight: 800;
  color: var(--hc-text);
  font-variant-numeric: tabular-nums;
  line-height: 1.1;
  letter-spacing: -.015em;
  display: inline-block;
  position: relative;
  align-self: flex-start;
  padding: 0 2px;
}
/* Underline accent — a thick mint highlight behind the number */
/* v18 had a mint highlight bar behind the price number (fake-marker effect)
   but it hurt readability on small renders — removed. The bold number alone
   reads as the focal point. */

.hotel-card__price-meta {
  font-size: 12px;
  color: var(--hc-text);
  opacity: .65;
  margin-top: 4px;
  line-height: 1.45;
}

/* ── CTA — solid accent with hard offset shadow ─────────── */
.hotel-card__cta {
  position: relative;
  width: 100%;
  margin-top: 14px;
  background: var(--hc-accent);
  color: var(--hc-shadow);
  font-size: 13px;
  font-weight: 800;
  padding: 12px 16px;
  border: 2.5px solid var(--hc-shadow);
  border-radius: 8px;
  box-shadow: 4px 4px 0 var(--hc-shadow);
  cursor: pointer;
  transition: transform var(--t-fast) ease, box-shadow var(--t-fast) ease, background var(--t-fast) ease;
  text-transform: uppercase;
  letter-spacing: .05em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  overflow: hidden;
}

/* Sliding shimmer on hover */
.hotel-card__cta::before {
  content: "";
  position: absolute;
  top: 0; left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, .35) 50%,
    transparent 100%
  );
  transition: left var(--t-slow) ease;
  pointer-events: none;
}

/* Trailing arrow */
.hotel-card__cta::after {
  content: "→";
  display: inline-block;
  font-weight: 600;
  transition: transform var(--t-fast) ease;
}

.hotel-card__cta:hover {
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 var(--hc-shadow);
  background: var(--hc-accent);
  filter: brightness(1.05);
}
.hotel-card__cta:hover::before { left: 100%; }
.hotel-card__cta:hover::after  { transform: translateX(4px); }

.hotel-card__cta:active {
  transform: translate(2px, 2px);
  box-shadow: 1px 1px 0 var(--hc-shadow);
  transition: all 80ms ease;
}

/* Selected hotel — solid CTA flips into a "✓ Sélectionné" state */
.hotel-card.selected {
  border-color: var(--hc-accent);
  box-shadow: 8px 8px 0 var(--hc-accent);
}
.hotel-card.selected:hover {
  box-shadow: 12px 12px 0 var(--hc-accent);
}
.hotel-card.selected .hotel-card__cta {
  background: var(--hc-shadow);
  color: var(--hc-accent);
}
.hotel-card.selected .hotel-card__cta::after {
  content: "✓";
}

/* ── Mobile tuning ──────────────────────────────────────── */
@media (max-width: 640px) {
  /* v26 mobile-ux: lighten stacked cards — border 3px→2px, hard-shadow offset
     8px→4px so 6 full-width cards read shorter/lighter. The mint
     .hotel-card.selected ring is defined elsewhere and is left intact. */
  .hotel-card {
    border-width: 2px;
    box-shadow: 4px 4px 0 var(--hc-shadow);
  }
  .hotel-card:hover {
    transform: translate(-2px, -2px);
    box-shadow: 6px 6px 0 var(--hc-shadow);
  }

  /* v22 Agent 3 — when cards stack in 1-col, the 16/10 photo gets too
     wide and pulls the card too tall. Switch to 4/3 so stacked cards
     keep uniform image heights and the price block stays in reach. */
  .hotel-card__img {
    aspect-ratio: 4 / 3;
  }

  /* v22 Agent 3 — readable price even on tiny screens. */
  .hotel-card__price strong { font-size: 24px; }
  .hotel-card__price-meta   { font-size: var(--fs-body-sm); }

  /* v22 Agent 3 — CTA hit area enforced to 44px (WCAG 2.5.5).
     Previous 11/14 padding × 12px font-size totalled ≈34px tap height. */
  .hotel-card__cta {
    padding: 13px 16px;
    font-size: 13px;
    min-height: var(--touch-min);
  }

  /* v22 Agent 3 — stars upsized so 5-star rendering doesn't look like noise. */
  .hotel-card__stars { font-size: 16px; }
}

/* ── Reduced motion ─────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  .hotel-card,
  .hotel-card__photo,
  .hotel-card__ribbon,
  .hotel-card__cta,
  .hotel-card__cta::before,
  .hotel-card__cta::after,
  .hotel-card__body::before {
    transition: none !important;
  }
  .hotel-card:hover {
    transform: none;
    box-shadow: 8px 8px 0 var(--hc-shadow);
  }
  .hotel-card:hover .hotel-card__photo {
    transform: none;
  }
}

/* End v18 ──────────────────────────────────────────────────── */

/* ══════════════════════════════════════════════════════════════
   v20 — Trip-card hover refinement (replaces v19 slide-up pattern)
   v19 yanked the title + subtitle 58px upward on hover to make room
   for a separate price + CTA strip. The motion popped elements out
   of the visual frame and felt incoherent. v20 keeps every meaningful
   element ANCHORED at all times:
     • monument disc top-left (always visible)
     • price chip top-right (always visible — glass-blur, accent-tint)
     • title + 2-line description bottom (always visible)
     • "Voir ce voyage" pill bottom-right (always visible)
   Hover only does subtle moves — no element travels more than 4px:
     • card lifts -4px
     • image gently scales 1.05
     • monument & price chip border tints to accent
     • CTA pill fills with accent + arrow nudges +3px right
     • bottom accent line slides in left → right
   No translateY shenanigans on text. Same DOM hooks as v19; the
   monument-injection migration script is unaffected.
   ══════════════════════════════════════════════════════════════ */

/* ── Grid container ───────────────────────────────────────── */
.trips-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0;
}

/* ── Card root ────────────────────────────────────────────── */
.trip-card {
  --tc-fg: #fff;
  --tc-fg-muted: rgba(255, 255, 255, .82);
  --tc-fg-faint: rgba(255, 255, 255, .55);
  --tc-accent: var(--tc-region-accent, var(--accent, #9ce8b2));

  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: 18px;
  overflow: hidden;
  background: #050609;
  color: var(--tc-fg);
  text-decoration: none;
  isolation: isolate;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, .05) inset,
    0 10px 22px -12px rgba(0, 0, 0, .55),
    0 22px 44px -24px rgba(0, 0, 0, .35);
  transition: transform var(--t-base) var(--ease-spring),
              box-shadow var(--t-base) var(--ease-spring);
  cursor: pointer;
  font-family: inherit;
}

.trip-card:hover {
  transform: translateY(-4px);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, .07) inset,
    0 14px 28px -12px rgba(0, 0, 0, .6),
    0 30px 56px -24px rgba(0, 0, 0, .45);
}

.trip-card:focus-visible {
  outline: 3px solid var(--tc-accent);
  outline-offset: 4px;
}

/* Per-region accent — overrides default mint with the trip's signature hue */
.trip-card[data-region="egypt"]      { --tc-region-accent: var(--warn); }
.trip-card[data-region="azerbaijan"] { --tc-region-accent: #e07b5a; }
.trip-card[data-region="istanbul"]   { --tc-region-accent: #5cb1c1; }
.trip-card[data-region="malaysia"]   { --tc-region-accent: #8acaa1; }
.trip-card[data-region="sharm"]      { --tc-region-accent: #5cc4c1; }

/* ── Image fill behind everything ─────────────────────────── */
.trip-card__hero {
  position: absolute !important;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  background: none !important;
  border: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden;
}

.trip-card__art {
  position: absolute;
  inset: 0;
  background: #050609 !important;
  border-radius: 0 !important;
  overflow: hidden;
}

.trip-card__img {
  position: absolute;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
  object-position: center;
  transition: transform var(--t-slow) var(--ease-spring);
  filter: saturate(1.05);
}

.trip-card:hover .trip-card__img {
  transform: scale(1.05);
}

/* Gradient overlay — slightly stronger bottom band so the always-
   visible title + 2-line description read cleanly without needing a
   slide-up reveal. Keeps top half airy so monument + price chip are
   legible, then darkens through the lower 40% of the frame. */
.trip-card__hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg,
      rgba(0, 0, 0, .35) 0%,
      rgba(0, 0, 0, .08) 28%,
      rgba(0, 0, 0, .35) 55%,
      rgba(0, 0, 0, .80) 82%,
      rgba(0, 0, 0, .96) 100%);
  pointer-events: none;
  z-index: 1;
  transition: opacity var(--t-base) ease;
}

/* "Égypte · Juin 2026" floating chip — redundant once region accent
   line + monument convey identity. Hidden in v20 too. */
.trip-card__flag {
  display: none !important;
}

/* ── Price chip top-right (always visible — repurposed from the old
   .trip-card__from element so the markup stays unchanged) ─────── */
.trip-card__from {
  position: absolute !important;
  top: 14px;
  right: 14px;
  z-index: 4;
  display: inline-flex !important;
  flex-direction: column !important;
  align-items: flex-end;
  gap: 1px;
  margin: 0 !important;
  padding: 7px 12px !important;
  background: rgba(0, 0, 0, .42) !important;
  border: 1.5px solid rgba(255, 255, 255, .25) !important;
  border-radius: 999px !important;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  color: var(--tc-fg-muted) !important;
  font-size: 9px !important;
  font-weight: 600 !important;
  letter-spacing: .12em !important;
  text-transform: uppercase !important;
  line-height: 1 !important;
  white-space: nowrap;
  transition: border-color var(--t-base) ease, background var(--t-base) ease;
}
.trip-card__from > strong {
  display: block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
  color: var(--tc-fg);
  margin: 3px 0 0 !important;
}
.trip-card:hover .trip-card__from {
  border-color: var(--tc-accent) !important;
  background: rgba(0, 0, 0, .58) !important;
}

/* ── Monument SVG icon top-left ───────────────────────────── */
.trip-card__monument {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 4;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(0, 0, 0, .42);
  border: 1.5px solid rgba(255, 255, 255, .25);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  display: grid;
  place-items: center;
  color: var(--tc-fg);
  transition: transform var(--t-base) var(--ease-spring),
              border-color var(--t-base) ease,
              background var(--t-base) ease;
}
.trip-card:hover .trip-card__monument {
  transform: rotate(-4deg) scale(1.05);
  border-color: var(--tc-accent);
  background: rgba(0, 0, 0, .58);
}
.trip-card__monument svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  stroke-width: 1.8;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ── Body content (overlaid on photo, anchored to bottom) ─── */
/* Reserve bottom space for the always-visible CTA pill so it doesn't
   overlap with the title/subtitle stack. */
.trip-card__body {
  position: absolute !important;
  inset: 0 !important;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 22px 22px 70px !important;
  z-index: 3;
  background: none !important;
  border: 0 !important;
  margin: 0 !important;
  pointer-events: none;
}

/* Hide chrome the new design doesn't surface (date/duration meta + tags) */
.trip-card__meta { display: none !important; }
.trip-card__tags { display: none !important; }

.trip-card__title {
  font-family: var(--font-display, "DM Sans", system-ui, sans-serif);
  font-size: clamp(20px, 1.6vw, 26px);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -.012em;
  color: var(--tc-fg);
  margin: 0 0 8px;
  text-shadow: 0 2px 18px rgba(0, 0, 0, .45);
}

.trip-card__subtitle {
  font-size: 13px;
  line-height: 1.55;
  color: var(--tc-fg-muted);
  margin: 0;
  max-width: 36ch;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-shadow: 0 1px 12px rgba(0, 0, 0, .35);
}

/* ── CTA pill — always visible, bottom-left of the card ────── */
/* The original markup carries <span>Voir ce voyage</span><svg arrow/>
   plus the v19-injected <span class="trip-card__cta-price"> — we hide
   the duplicate price (it's surfaced as the top-right chip now) and
   render the action span as a glass pill. */
.trip-card__cta {
  position: absolute !important;
  left: 22px;
  bottom: 20px;
  z-index: 4;
  display: inline-flex !important;
  align-items: center;
  gap: 8px;
  opacity: 1;
  transform: none;
  pointer-events: auto;
  color: var(--tc-fg) !important;
}

.trip-card__cta > span:not(.trip-card__cta-price) {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--tc-fg);
  padding: 7px 14px 7px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .12);
  border: 1.5px solid rgba(255, 255, 255, .28);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  white-space: nowrap;
  transition: background var(--t-fast) ease, border-color var(--t-fast) ease, color var(--t-fast) ease;
}

.trip-card__cta > svg {
  display: inline-block !important;
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  margin-left: 4px;
  color: var(--tc-fg);
  transition: transform var(--t-fast) ease, color var(--t-fast) ease;
}

.trip-card:hover .trip-card__cta > span:not(.trip-card__cta-price) {
  background: var(--tc-accent);
  color: #050609;
  border-color: transparent;
}
.trip-card:hover .trip-card__cta > svg {
  transform: translateX(3px);
}

/* The duplicate price strip injected by _v19_inject_monuments.py is
   no longer needed — price lives in the top-right chip now. */
.trip-card__cta-price { display: none !important; }

/* ── Region accent strip — bottom border line on hover ────── */
.trip-card::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 3px;
  background: var(--tc-accent);
  z-index: 5;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform var(--t-slow) var(--ease-spring);
}
.trip-card:hover::after {
  transform: scaleX(1);
}

/* ── Mobile tuning ────────────────────────────────────────── */
@media (max-width: 640px) {
  .trips-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .trip-card {
    aspect-ratio: 5 / 6;
  }
  .trip-card__body { padding: 18px 18px 64px !important; }
  .trip-card__from { top: 12px; right: 12px; padding: 6px 10px !important; }
  .trip-card__monument { top: 12px; left: 12px; width: 38px; height: 38px; }
  .trip-card__cta { left: 18px; bottom: 16px; }
  /* Touch devices have no hover — give them the "active" look at rest */
  .trip-card__cta > span:not(.trip-card__cta-price) {
    background: var(--tc-accent);
    color: #050609;
    border-color: transparent;
  }
  .trip-card__cta > svg { color: #050609; }
}

/* ── Reduced motion ──────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  .trip-card,
  .trip-card__img,
  .trip-card__cta,
  .trip-card__cta > span,
  .trip-card__cta > svg,
  .trip-card__monument,
  .trip-card__from,
  .trip-card::after {
    transition: none !important;
  }
  .trip-card:hover { transform: none; }
  .trip-card:hover .trip-card__img { transform: none; }
  .trip-card:hover .trip-card__monument { transform: none; }
  .trip-card::after { transform: scaleX(1); }
}

/* End v20 trip-cards ──────────────────────────────────────── */

/* ══════════════════════════════════════════════════════════════
   v19 — Color hierarchy: TOKEN definitions consolidated into the
   canonical :root at the top of this file. Component-level rules
   (cards, hover surfaces, borders, scrollbars, etc.) remain below.
   ══════════════════════════════════════════════════════════════ */

/* ── Apply: nudge the existing component baselines toward the new ladder ── */

/* Body itself sits on --bg (not --bg-2) so the depth ladder reads correctly */
body { background: var(--bg); color: var(--txt-1); }

/* v21 phase D.2: canonical content-card surface baseline.
   All cards listed here share bg-card + border-color. Each card's
   individual block keeps its own padding, gap, radius (some use r1
   instead of r3), and transition — those vary by component shape. */
.dest-card,
.testi-card,
.stat-card,
.info-card,
.faq-item,
.contact-form,
.bform-block,
.breakdown,
.upload-zone,
.branch-card,
.hl-card {
  background: var(--bg-card);
  border-color: var(--border);
}

/* Hover surfaces tip up to bg-elev */
.dest-card:hover,
.testi-card:hover,
.faq-item.open {
  background: var(--bg-elev);
}

/* Text colour propagation — anything that previously hardcoded grays gets
   rerouted via cascade to the new --txt-* tokens. */
.section-head__sub,
.bform-hint,
.bform-note,
.contact-form__hint,
.bf-trip-empty,
.hero-fineprint {
  color: var(--txt-3);
}

/* Mint usage discipline — small dim variant for non-CTA mint moments */
.amenity-pill,
.dep-badge,
.phase-marker {
  background: var(--mint-dim);
  color: var(--accent);
  border-color: var(--border-mint);
}

/* Section backgrounds — some sections used --bg-2 hard-coded inline. Map
   them to the new bg-2 implicitly through the cascade — also support
   `data-elev` attribute for explicit elevation on a wrapper. */
[data-elev="card"]  { background: var(--bg-card); }
[data-elev="low"]   { background: var(--bg-low); }
[data-elev="2"]     { background: var(--bg-2); }
[data-elev="elev"]  { background: var(--bg-elev); }
[data-elev="glass"] { background: var(--bg-glass); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); }

/* Focus rings — single unified token */
*:focus-visible {
  outline: 2px solid var(--ring);
  outline-offset: 3px;
}
.btn:focus-visible,
.hotel-card:focus-visible,
.trip-card:focus-visible,
.tier-tab:focus-visible {
  outline-offset: 4px;
}

/* Borders globally subtle — except hot states */
.bform-field input,
.bform-field select,
.bform-field textarea {
  border-color: var(--border-hi);
}
.bform-field input:focus,
.bform-field select:focus,
.bform-field textarea:focus {
  border-color: var(--mint);
  box-shadow: 0 0 0 3px var(--mint-glow);
}

/* Selection highlight — picks up the brand mint */
::selection {
  background: var(--mint-glow);
  color: var(--txt-1);
}

/* Scrollbar (Webkit) — match the new ladder */
::-webkit-scrollbar { width: 12px; height: 12px; }
::-webkit-scrollbar-track { background: var(--bg-low); }
::-webkit-scrollbar-thumb {
  background: var(--bg-elev);
  border-radius: 999px;
  border: 3px solid var(--bg-low);
}
::-webkit-scrollbar-thumb:hover { background: var(--border-hi); }

/* End v19 palette ──────────────────────────────────────────── */

/* ══════════════════════════════════════════════════════════════
   v19.1 — Homepage contact: staff phone grid
   Replaces the vertical stack of 4 WhatsApp/Viber buttons under the
   contact form with a clean 3×2 grid of 6 phone cards. Each card has:
     • subtle role label (Conseiller N)
     • formatted number (tabular-nums, large, readable)
     • dual action row — WhatsApp (brand green) + Appel (neutral)

   Responsive: 3 cols → 2 cols (≤720px) → 1 col (≤420px). On mobile the
   actions stay side-by-side until the very narrow tier where they stack.
   ══════════════════════════════════════════════════════════════ */
.staff-phones {
  margin-top: var(--s6, 32px);
  padding-top: var(--s6, 32px);
  border-top: 1px solid var(--border);
}
.staff-phones__lead {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .6875rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--txt-3);
  margin: 0 0 var(--s4, 16px);
}
.staff-phones__lead svg {
  color: var(--accent);
  flex-shrink: 0;
}
.staff-phones__grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.staff-phones__note {
  margin: var(--s4, 16px) 0 0;
  font-size: .75rem;
  color: var(--txt-3);
  line-height: 1.5;
  font-style: italic;
}

.phone-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px 14px 12px;
  background: var(--bg);
  border: 1px solid var(--border-hi);
  border-radius: var(--r2, 10px);
  transition: border-color var(--t-fast) ease, transform var(--t-fast) ease, background var(--t-fast) ease;
}
.phone-card:hover {
  border-color: var(--border-mint);
  transform: translateY(-2px);
  background: var(--bg-low);
}
.phone-card__label {
  font-size: .625rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--txt-3);
}
.phone-card__num {
  font-family: var(--font-display, "DM Sans", system-ui, sans-serif);
  font-variant-numeric: tabular-nums;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: .03em;
  color: var(--txt-1);
  margin-bottom: 6px;
}
.phone-card__actions {
  display: flex;
  gap: 6px;
  margin-top: auto;
}
.phone-card__btn {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  /* v22 follow-up #1: bump from 7/8 to 11/14 to hit WCAG 2.5.5 (44x44).
     Combined with the SVG (13px) + .8125rem text + .01em letter-spacing,
     the button now renders at ~44-46px tall on every viewport. */
  padding: 11px 14px;
  font-size: .8125rem;
  font-weight: 600;
  letter-spacing: .01em;
  min-height: var(--touch-min, 44px);
  border-radius: 999px;
  text-decoration: none;
  border: 1px solid transparent;
  white-space: nowrap;
  transition: background var(--t-fast) ease, color var(--t-fast) ease, border-color var(--t-fast) ease;
}
.phone-card__btn svg {
  flex-shrink: 0;
}
.phone-card__btn--wa {
  background: var(--wa-green);
  color: #052e16;
}
.phone-card__btn--wa:hover {
  background: #20bf5b;
  color: #052e16;
}
.phone-card__btn--call {
  background: var(--bg-elev);
  color: var(--txt-1);
  border-color: var(--border-hi);
}
.phone-card__btn--call:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* Responsive ladder for the staff phone grid */
@media (max-width: 980px) {
  .staff-phones__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 480px) {
  .staff-phones__grid {
    grid-template-columns: 1fr;
  }
  .phone-card {
    padding: 12px 14px 12px;
  }
}

/* End v19.1 staff-phones ──────────────────────────────────── */

/* ══════════════════════════════════════════════════════════════
   v19.2 — Real agency network
   The agence section now lists 3 OWNED locations instead of 1 HQ +
   4 fictional partner cities. Tighter grid, Google Maps deep-link
   chip on every card, popup gets a matching itinéraire affordance.
   ══════════════════════════════════════════════════════════════ */

/* Three real agencies → three roughly-equal columns at desktop, no
   stretching, no awkward 4th-slot ghost. Falls back to 1 col on mobile
   via the existing breakpoint above. */
.branch-list {
  grid-template-columns: repeat(3, minmax(240px, 1fr));
  max-width: 1080px;
  margin-inline: auto;
}
@media (max-width: 980px) {
  .branch-list {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 640px) {
  .branch-list {
    grid-template-columns: 1fr;
  }
}

/* Google-Maps "Itinéraire" chip at the foot of each branch card.
   Sits below the phone block — keeps the action hierarchy clear:
   call first, then route. */
.branch-maps {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: var(--s3, 12px);
  padding: 6px 12px;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .02em;
  text-decoration: none;
  border-radius: 999px;
  background: var(--bg);
  border: 1px solid var(--border-hi);
  color: var(--txt-2);
  transition: border-color var(--t-fast) ease, color var(--t-fast) ease, background var(--t-fast) ease;
}
.branch-maps:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--mint-dim);
}
.branch-maps svg {
  flex-shrink: 0;
}

/* Map popup — Itinéraire deep-link sits one row below the phone */
.amap-popup__maps {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 6px;
  font-size: .75rem;
  font-weight: 600;
  color: var(--txt-2, #c9cdd4) !important;
  text-decoration: none;
  padding: 2px 0;
  letter-spacing: .01em;
}
.amap-popup__maps:hover { text-decoration: underline; }
:root[data-theme="light"] .amap-popup__maps { color: var(--txt-2, #4a5b6f) !important; }

/* End v19.2 agency-network ──────────────────────────────────── */



/* ══════════════════════════════════════════════════════════
   AOS integration layer — REMOVED v22 (2026-05-22)
   ══════════════════════════════════════════════════════════
   AOS library dropped (~14 KB JS + ~28 KB CSS). The replacement
   lives at line ~2824 ("AOS-compat reveal") and the JS side
   in enhance.js#initRevealObserver. Reduced-motion is now
   handled by the foundation-level prefers-reduced-motion rule.
   This tombstone exists so future spelunkers don't recreate it.
══════════════════════════════════════════════════════════ */

/* Silence CSS keyframe animation on data-aos elements that also
   carry the legacy .fade-up* classes — keep, still relevant. */
[data-aos].fade-up,
[data-aos].fade-up--d1,
[data-aos].fade-up--d2,
[data-aos].fade-up--d3 {
  animation: none;
}

/* ════════════════════════════════════════════════════════════════
   I18N — LANGUAGE SWITCHER + ARABIC TYPOGRAPHY + RTL  (restored 2026-05-25)
   ════════════════════════════════════════════════════════════════
   Recovered from stash@{1} (2026-05-22). Paired with site/assets/js/i18n.js
   which injects a 3-button switcher into .site-nav. The site reverted
   from FR-only (strategy c) to FR+EN+AR; docs/I18N-SEO.md updated.
   ════════════════════════════════════════════════════════════════ */

/* ── LANGUAGE SWITCHER  (FR · EN · AR — pill in the navbar) ── */
.lang-switcher {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 3px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 999px;
  height: 38px;
}
.lang-btn {
  appearance: none;
  background: transparent;
  border: 0;
  color: var(--txt-2);
  font: 500 12px/1 var(--font-display);
  letter-spacing: 0.04em;
  padding: 0 10px;
  height: 30px;
  min-width: 32px;
  border-radius: 999px;
  cursor: pointer;
  transition: background-color var(--t), color var(--t);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.lang-btn:hover {
  color: var(--txt-1);
  background: rgba(255,255,255,.05);
}
.lang-btn--active {
  background: var(--mint);
  color: var(--navy);
  font-weight: 600;
}
.lang-btn--active:hover {
  background: var(--mint);
  color: var(--navy);
}
.lang-btn--ar {
  font-family: 'Tajawal', 'Cairo', 'DM Sans', system-ui, sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0;
}

/* Light-mode tweaks */
[data-theme="light"] .lang-switcher {
  background: rgba(0,44,81,0.04);
  border-color: rgba(0,44,81,0.18);
}
[data-theme="light"] .lang-btn { color: #4a5b6f; }
[data-theme="light"] .lang-btn:hover {
  color: var(--navy);
  background: rgba(0,44,81,0.05);
}
[data-theme="light"] .lang-btn--active {
  background: var(--navy);
  color: #fff;
}

/* Mobile — compress padding so the pill fits next to theme + WA CTA */
@media (max-width: 768px) {
  .lang-switcher { height: 34px; padding: 2px; }
  .lang-btn { height: 28px; min-width: 28px; padding: 0 7px; font-size: 11px; }
  .lang-btn--ar { font-size: 13px; }
}

/* Note: the original drawer-system design hid the inline switcher at
   <=480px and moved it inside the mobile nav drawer. The drawer system
   was reverted, so the switcher must stay visible at all viewports.
   At <=768px the .lang-switcher block above already compresses the
   pill (height 34, btn 28x28) so it fits a 375px viewport. */

/* ── ARABIC TYPOGRAPHY  (Cairo for display · Tajawal for body) ── */
:root[lang="ar"] {
  --font-display: 'Cairo', 'Tajawal', 'DM Sans', system-ui, sans-serif;
  --font-body:    'Tajawal', 'Cairo', 'DM Sans', system-ui, sans-serif;
}
:root[lang="ar"] body {
  font-family: var(--font-body);
  line-height: 1.7;
}
:root[lang="ar"] h1,
:root[lang="ar"] h2,
:root[lang="ar"] h3,
:root[lang="ar"] .hero__title,
:root[lang="ar"] .home-hero__content h1,
:root[lang="ar"] .section-head__title {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.25;
  font-style: normal !important;
}
:root[lang="ar"] em {
  font-style: normal;
  font-weight: 700;
}
/* Arabic numerals stay LTR even in RTL flow — numbers must NEVER flip/reorder
   in Arabic. Covers stat counters, prices (incl. the <strong> inside hero/hotel
   price blocks) and phone numbers. `unicode-bidi: isolate` fully isolates each
   numeric run from the surrounding RTL text so digit+separator+symbol sequences
   keep their natural left-to-right order. */
:root[lang="ar"] .value-card__num,
:root[lang="ar"] [data-counter],
:root[lang="ar"] .price,
:root[lang="ar"] .phone-card__num,
:root[lang="ar"] .stat-card__num,
:root[lang="ar"] .hero__price strong,
:root[lang="ar"] .hotel-card__price strong,
:root[lang="ar"] .trip-card__cta-price,
/* Extended coverage 2026-06-03: every numeric surface across calc, booking,
   sticky bars, trip cards, date chips, agency stats, related cards, etc. */
:root[lang="ar"] .date-chip,
:root[lang="ar"] .calc-line__amount,
:root[lang="ar"] .breakdown__amount,
:root[lang="ar"] .breakdown__line strong,
:root[lang="ar"] .sticky-total__amount,
:root[lang="ar"] .trip-sticky-bar__price-num,
:root[lang="ar"] .trip-card__from strong,
:root[lang="ar"] .trip-card__from-amount,
:root[lang="ar"] .hotel-card__price,
:root[lang="ar"] .hotel-card__price-from,
:root[lang="ar"] .bf-trip-chip,
:root[lang="ar"] .calc-cta__price,
:root[lang="ar"] .calc-total__amount,
:root[lang="ar"] .related-card__price,
:root[lang="ar"] .related-card__price strong,
:root[lang="ar"] .conseiller-num,
:root[lang="ar"] .phone-group a,
:root[lang="ar"] time,
:root[lang="ar"] [data-num],
:root[lang="ar"] .num-ltr {
  direction: ltr;
  unicode-bidi: isolate;
  font-family: 'DM Sans', system-ui, sans-serif;
}

/* ── RTL LAYOUT ADJUSTMENTS  (Arabic only) ── */
/* Flip directional arrows */
[dir="rtl"] .btn svg.btn__arrow,
[dir="rtl"] .nav-cta svg.nav-cta__arrow,
[dir="rtl"] .trip-card__cta svg,
[dir="rtl"] .related-card__cta svg,
[dir="rtl"] .voyage-arrow,
[dir="rtl"] .arrow-right {
  transform: scaleX(-1);
}
/* Trip card price ribbons originate from left edge — flip to right */
[dir="rtl"] .trip-card__flag,
[dir="rtl"] .hotel-card__ribbon { left: auto; right: var(--s3); }
[dir="rtl"] .trip-card__from,
[dir="rtl"] .trip-card__share { right: auto; left: var(--s3); }
/* Logo letter-spacing tweak for Arabic */
[dir="rtl"] .nav-logo,
[lang="ar"] .nav-logo { letter-spacing: 0; }
/* v26 mobile-ux: blanket letter-spacing reset for Arabic — Latin-tuned tracking
   (.04em–.18em on display/eyebrow/.btn/badges) breaks joined cursive script. */
:root[lang="ar"] *,
[dir="rtl"] * { letter-spacing: 0 !important; }
[dir="rtl"] .nav-links { padding-inline-start: 0; }
/* WhatsApp FAB anchors right by default — flip to left for RTL */
[dir="rtl"] .fab-whatsapp { left: var(--s5); right: auto; }
