/* ============================================================
   Through Morocco — redesign prototype (v5)
   Palette: Amber/Gold brand —
     Amber Gold #FFBF00 (signature accent — CTAs, active states, badges;
       always paired with dark text/icons since white text fails contrast
       on a color this bright — see --brand-deep for text/icon use on
       light backgrounds and for accessible hover fills),
     Deep Desert Brown (headings/nav/footer/body structure),
     Sahara Sand (secondary accent — subtle fills/borders),
     White (page background/cards), Charcoal (body text).
   Type: Plus Jakarta Sans throughout
   ============================================================ */

:root {
  --ink: #252525;            /* Charcoal — body text */
  --ink-soft: #6E645C;       /* muted warm charcoal — secondary text */
  --ink-faint: #9C9187;      /* faint muted text */
  --paper: #FFFFFF;          /* White — page background */
  --surface: #FFFFFF;        /* White — cards */
  --surface-2: #F1E7D6;      /* Sahara Sand tint — subtle section/card backgrounds */
  --line: #E6D8C0;           /* Sahara Sand-derived border */
  --brand: #FFBF00;          /* Amber Gold — signature accent. Bright: pair with DARK text/icons, never white. */
  --brand-deep: #7A5700;     /* Amber Gold, deep — text/icon use on light backgrounds, and hover fills paired with white text. Darkened slightly from #8A6300 so its one marginal use (hover text on --surface-2) clears WCAG AA 4.5:1; still reads as the same gold on every other (lighter) background it's used against. */
  --brand-soft: #FFF3D6;     /* Amber Gold, very light tint (rarely used) */
  --heading: #3B2418;        /* Deep Desert Brown — headings, logo, nav, footer */
  --heading-deep: #2A1A10;   /* Deep Desert Brown, darker — hero scrim / dark fills */
  --sand: #D8B98A;           /* Sahara Sand — decorative accent */
  --white: #FFFFFF;

  --font-display: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-body: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: "Poppins", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-serif: "Lora", Georgia, "Times New Roman", serif;

  --ok: #186B3A;             /* Included checkmarks. Darkened from #1F8A4C: at 11px/700 it's small text, and the old value only hit 3.9:1 on --ok-tint (needs 4.5:1) */
  --ok-tint: #E9F5EE;
  --bad: #A23621;            /* Not-included crosses. Darkened from #C4472C for the same reason (was 4.3:1 on --bad-tint) */
  --bad-tint: #FBEDE9;

  --sp-1: 8px; --sp-2: 14px; --sp-3: 22px; --sp-4: 34px; --sp-5: 52px; --sp-6: 76px; --sp-7: 108px;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow-sm: 0 2px 10px rgba(15,20,30,0.07);
  --shadow-md: 0 16px 36px rgba(15,20,30,0.14);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; line-height: 1.16; margin: 0 0 var(--sp-2); letter-spacing: -0.01em; text-wrap: balance; color: var(--heading); }
p { margin: 0 0 var(--sp-2); max-width: 66ch; }
.container { max-width: 1180px; margin: 0 auto; padding: 0 22px; }
/* Visually hidden but still readable by screen readers/AT — used only to
   supply a missing heading level for correct document structure, never to
   hide real visible content. */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.section { padding: var(--sp-6) 0; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 700; letter-spacing: 0.03em;
  color: var(--brand-deep); margin-bottom: var(--sp-2);
}
.lede { font-size: 18px; color: var(--ink-soft); max-width: 60ch; }
.section-head-center { text-align: center; max-width: 620px; margin: 0 auto var(--sp-4); }
.section-head-center .eyebrow { justify-content: center; }
.section-head-center h2 { font-size: clamp(28px, 3.4vw, 40px); }
.section-head-center .lede { margin: 0 auto; }
.divider { border: none; border-top: 1px solid var(--line); margin: var(--sp-5) 0; }

/* ---- Buttons ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 24px;
  border-radius: var(--radius-sm); font-weight: 700; font-size: 15px; border: 1.5px solid transparent;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  cursor: pointer;
}
.btn-primary { background: var(--brand); color: var(--heading); box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--brand-deep); color: var(--white); box-shadow: var(--shadow-md); }
.btn-block { width: 100%; }
.btn-ghost { background: rgba(255,255,255,0.12); border-color: rgba(255,255,255,0.5); color: var(--white); }
.btn-ghost:hover { background: rgba(255,255,255,0.22); }
.btn-outline { background: transparent; border-color: var(--line); color: var(--ink); }
.btn-outline:hover { border-color: var(--brand); background: var(--surface-2); }
.btn-arrow { transition: transform .15s ease; }
.btn:hover .btn-arrow { transform: translateX(3px); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* ---- Header ---- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.site-header-inner { display: flex; align-items: center; justify-content: space-between; padding: 14px 22px; max-width: 1180px; margin: 0 auto; }
.site-logo { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 800; font-size: 19px; color: var(--heading); }
.site-logo-mark {
  width: 38px; height: 38px; display: flex; align-items: center; justify-content: center; flex: none;
}
.site-logo-mark img, .site-logo-mark svg { width: 100%; height: 100%; object-fit: contain; }
.site-logo-accent { color: var(--brand-deep); }
.main-nav { display: flex; align-items: center; gap: var(--sp-4); }
.main-nav ul { display: flex; gap: var(--sp-3); list-style: none; margin: 0; padding: 0; }
.main-nav a { font-size: 14.5px; font-weight: 600; color: var(--ink-soft); padding: 6px 0; border-bottom: 2px solid transparent; }
.main-nav a:hover, .main-nav a.is-active { color: var(--heading); border-bottom-color: var(--brand); }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 6px; }
.nav-toggle svg { width: 24px; height: 24px; color: var(--heading); }

/* ---- "Tours" nav dropdown ---- */
.nav-dropdown { position: relative; }
.nav-dropdown-toggle {
  display: inline-flex; align-items: center; gap: 5px; background: none; border: none; cursor: pointer;
  font: inherit; font-size: 14.5px; font-weight: 600; color: var(--ink-soft); padding: 6px 0; border-bottom: 2px solid transparent;
}
.nav-dropdown-toggle:hover, .nav-dropdown-toggle.is-active, .nav-dropdown.is-open .nav-dropdown-toggle { color: var(--heading); border-bottom-color: var(--brand); }
.nav-dropdown-caret { width: 15px; height: 15px; flex-shrink: 0; transition: transform .15s ease; }
.nav-dropdown.is-open .nav-dropdown-caret { transform: rotate(180deg); }
.nav-dropdown-menu {
  display: block !important; flex-direction: initial; list-style: none; margin: 0; padding: 8px;
  position: absolute; top: calc(100% + 10px); left: 0; z-index: 60;
  min-width: 220px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-sm);
  box-shadow: var(--shadow-md); opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .15s ease, transform .15s ease, visibility .15s ease;
}
.nav-dropdown-menu li + li { margin-top: 2px; }
.nav-dropdown-menu li:first-child { padding-bottom: 6px; margin-bottom: 4px; border-bottom: 1px solid var(--line); }
.nav-dropdown-menu a {
  display: block; padding: 9px 12px; border-radius: 8px; font-size: 14.5px; font-weight: 600;
  color: var(--ink-soft); border-bottom: none !important;
}
.nav-dropdown-menu a:hover { background: var(--surface-2); color: var(--heading); }
.nav-dropdown.is-open .nav-dropdown-menu,
.nav-dropdown:hover .nav-dropdown-menu { opacity: 1; visibility: visible; transform: translateY(0); }

@media (max-width: 860px) {
  .main-nav { position: fixed; top: var(--header-offset, 64px); right: 0; bottom: 0; left: 0; z-index: 55; background: var(--paper); flex-direction: column; align-items: flex-start;
    padding: var(--sp-3) 22px; transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .2s ease, transform .2s ease; overflow-y: auto; }
  .main-nav.is-open { opacity: 1; visibility: visible; transform: translateY(0); }
  .main-nav ul { flex-direction: column; gap: var(--sp-2); width: 100%; }
  .main-nav .btn-row { margin-top: var(--sp-3); }
  .main-nav .btn { width: 100%; }
  .nav-toggle { display: block; }
  .nav-dropdown { width: 100%; }
  .nav-dropdown-toggle { width: 100%; justify-content: space-between; }
  .nav-dropdown:hover .nav-dropdown-menu { opacity: 0; visibility: hidden; transform: translateY(-6px); }
  .nav-dropdown.is-open .nav-dropdown-menu { opacity: 1; visibility: visible; transform: translateY(0); position: static; box-shadow: none; border: none; margin-top: 4px; padding-left: var(--sp-2); }
}

/* ---- Hero (dark scrim over real photography) ---- */
.hero {
  position: relative; color: var(--white); overflow: hidden;
  background-size: cover; background-position: center;
  background-color: var(--heading-deep);
}
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(42,26,16,0.55) 0%, rgba(42,26,16,0.72) 55%, rgba(26,16,10,0.9) 100%);
}
.hero-content { position: relative; z-index: 2; padding: var(--sp-6) 22px var(--sp-5); max-width: 1180px; margin: 0 auto; }
.hero h1 { color: var(--white); font-size: clamp(30px, 5vw, 52px); max-width: 780px; letter-spacing: -0.015em; }
.hero p.hero-sub { color: rgba(255,255,255,0.86); font-size: 18px; max-width: 56ch; margin-bottom: var(--sp-4); font-weight: 400; }
.hero-tag { display: inline-flex; align-items: center; gap: 8px; background: var(--brand); color: var(--heading);
  border-radius: 999px; padding: 7px 16px; font-size: 13px; font-weight: 700; margin-bottom: var(--sp-3); }
.hero-accent { position: relative; color: var(--brand); }
.hero-squiggle { display: inline-block; width: 46px; height: 14px; color: var(--brand); vertical-align: middle; margin: 0 2px 6px; }
.btn-icon { width: 18px; height: 18px; flex-shrink: 0; }

/* ---- Centered hero variant (homepage) ---- */
.hero-center .hero-content { text-align: center; }
.hero-center h1 { margin-left: auto; margin-right: auto; max-width: 980px; font-weight: 800; font-size: clamp(36px, 6.4vw, 66px); }
.hero-center .hero-sub { margin-left: auto; margin-right: auto; max-width: 46ch; font-size: 16px; }
.hero-center .btn-row { justify-content: center; }
.hero-center .stat-strip { justify-content: center; }
.hero-center .stat-item { text-align: center; }

/* ---- Photo CTA band (final call-to-action over real photography) ---- */
.cta-photo {
  position: relative; overflow: hidden; background-size: cover; background-position: center 70%;
  background-color: var(--heading-deep); margin-top: var(--sp-6); padding: var(--sp-6) 22px;
}
.cta-photo::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(42,26,16,0.6) 0%, rgba(42,26,16,0.72) 100%);
}
.cta-photo .container { position: relative; z-index: 2; }
.cta-photo h2 { color: var(--white); }
.cta-photo .lede { color: rgba(255,255,255,0.86); }

/* ---- Trust bar (slim strip under the hero) ---- */
.trust-bar { background: var(--surface-2); border-bottom: 1px solid var(--line); }
.trust-bar-inner {
  max-width: 1180px; margin: 0 auto; padding: var(--sp-3) 22px; display: grid;
  grid-template-columns: repeat(3, 1fr); gap: var(--sp-3);
}
.trust-item { display: flex; align-items: center; gap: 12px; padding: 0 var(--sp-2); position: relative; }
.trust-item + .trust-item::before {
  content: ""; position: absolute; left: -1px; top: 4px; bottom: 4px; width: 1px; background: var(--line);
}
.trust-item-icon {
  width: 38px; height: 38px; border-radius: 50%; background: var(--surface); border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0; color: var(--brand-deep);
}
.trust-item-icon svg { width: 18px; height: 18px; }
.trust-item h4 { font-size: 14.5px; color: var(--heading); margin: 0 0 2px; }
.trust-item p { font-size: 12.5px; color: var(--ink-soft); margin: 0; }
@media (max-width: 760px) {
  .trust-bar-inner { grid-template-columns: 1fr; gap: var(--sp-2); }
  .trust-item + .trust-item::before { display: none; }
}
.hero-simple { padding: 0; }
.hero-simple .hero-content { padding: var(--sp-5) 22px var(--sp-4); }
.hero-simple h1 { font-size: clamp(26px, 3.6vw, 40px); }
.back-pill {
  display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,0.14); backdrop-filter: none;
  border: 1px solid rgba(255,255,255,0.35); color: var(--white); border-radius: 999px; padding: 8px 16px 8px 12px;
  font-size: 13.5px; font-weight: 600; margin-bottom: var(--sp-3);
}
.back-pill:hover { background: rgba(255,255,255,0.24); }

/* ---- Stat strip ---- */
.stat-strip { display: flex; flex-wrap: wrap; gap: var(--sp-4); position: relative; z-index: 2; }
.stat-item { min-width: 120px; }
.stat-num { font-family: var(--font-display); font-size: 28px; font-weight: 800; color: var(--white); }
.stat-label { font-size: 12.5px; color: rgba(255,255,255,0.72); font-weight: 600; }

/* ---- Filter pills (Tour Type / Duration style, from reference) ---- */
.filter-groups-row { display: flex; flex-wrap: wrap; gap: var(--sp-4) var(--sp-5); margin-bottom: var(--sp-2); }
.filter-group { margin-bottom: var(--sp-3); }
.filter-group-label { font-size: 13px; font-weight: 700; color: var(--ink-soft); margin-bottom: 8px; }
.filter-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.filter-pill {
  padding: 9px 18px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--white);
  font-size: 13.5px; font-weight: 600; color: var(--ink-soft); cursor: pointer; transition: all .15s ease;
}
.filter-pill:hover { border-color: var(--brand); color: var(--ink); }
.filter-pill.is-active { background: var(--brand); border-color: var(--brand); color: var(--heading); }
.results-count { font-size: 14px; color: var(--ink-soft); margin: var(--sp-2) 0; }

/* ---- Cards / grids ---- */
.grid { display: grid; gap: var(--sp-3); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 980px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 900px) { .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .grid-3, .grid-2, .grid-4 { grid-template-columns: 1fr; } }

.dest-card { display: block; border-radius: var(--radius); overflow: hidden; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: box-shadow .15s ease, transform .15s ease; }
.dest-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.dest-card-media { position: relative; aspect-ratio: 4/3; overflow: hidden; }
.dest-card-media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s ease; }
.dest-card:hover .dest-card-media img { transform: scale(1.05); }
.dest-card-info { padding: var(--sp-3); }
.dest-card-info h3 { font-size: 18px; margin-bottom: 2px; }
.dest-card-tagline { display: block; font-size: 12.5px; font-weight: 700; letter-spacing: 0.01em; color: var(--brand-deep); margin-bottom: 8px; }
.dest-card-info p { font-size: 13.5px; color: var(--ink-soft); margin: 0 0 12px; }
.dest-card-stat { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--ink-soft); font-weight: 600; padding-top: 10px; border-top: 1px solid var(--line); }
.dest-card-stat svg { width: 15px; height: 15px; color: var(--brand-deep); flex-shrink: 0; }
.dest-card-cta { display: block; margin-top: 10px; font-size: 13.5px; font-weight: 700; color: var(--heading); }
.dest-card:hover .dest-card-cta { color: var(--brand-deep); }

.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; transition: transform .18s ease, box-shadow .18s ease; display: block;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.card-media { aspect-ratio: 4/3; position: relative; overflow: hidden; background: var(--surface-2); }
.card-media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s ease; }
.card:hover .card-media img { transform: scale(1.05); }
.card-badge {
  position: absolute; top: 12px; left: 12px; background: var(--brand); color: var(--heading);
  font-size: 12px; font-weight: 700; padding: 6px 12px; border-radius: 999px;
}
.card-media-tag {
  position: absolute; left: 12px; bottom: 12px; color: var(--white); font-size: 13px; font-weight: 600;
  text-shadow: 0 1px 6px rgba(0,0,0,0.5);
}
.card-body { padding: var(--sp-3); }
.card-eyebrow { font-size: 12.5px; font-weight: 700; letter-spacing: 0.02em; color: var(--brand-deep); margin-bottom: 6px; }
.card h3 { font-size: 18.5px; margin-bottom: 6px; }
.card-desc { color: var(--ink-soft); font-size: 14px; margin: 0; }
.card-highlights { list-style: none; margin: 12px 0 0; padding: 0; display: flex; flex-direction: column; gap: 7px; }
.card-highlights li { display: flex; gap: 8px; align-items: flex-start; font-size: 13px; color: var(--ink-soft); line-height: 1.4; }
.card-highlights svg { width: 14px; height: 14px; color: var(--brand-deep); flex-shrink: 0; margin-top: 3px; }
.card-meta { display: flex; gap: 14px; font-size: 13.5px; color: var(--ink-soft); margin: 12px 0 0; font-weight: 500; }
.card-price { font-weight: 800; color: var(--heading); }
.card-view-btn {
  display: flex; align-items: center; justify-content: center; gap: 6px; width: 100%; margin-top: 12px;
  padding: 10px; border-radius: var(--radius-sm); border: 1.5px solid var(--line);
  font-size: 13.5px; font-weight: 700; color: var(--heading); transition: border-color .15s ease, background .15s ease, color .15s ease;
}
.card-view-btn svg { width: 14px; height: 14px; transition: transform .15s ease; }
.card:hover .card-view-btn { border-color: var(--brand); background: var(--surface-2); color: var(--brand-deep); }
.card:hover .card-view-btn svg { transform: translateX(3px); }

/* ---- Note card (plain content card used in a few grids) ---- */
.note-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: var(--sp-3); }
.note-card h3 { font-size: 16.5px; margin-bottom: 6px; }
.note-card p { font-size: 14.5px; color: var(--ink-soft); margin: 0; }
.note-card-dashed { background: var(--surface-2); border-style: dashed; }

/* ---- Simple feature list (replaces the old floating step-grid) ---- */
.feature-list { display: flex; flex-direction: column; gap: 0; border-top: 1px solid var(--line); }
.feature-row { display: flex; gap: 16px; align-items: flex-start; padding: 18px 0; border-bottom: 1px solid var(--line); }
.feature-icon {
  flex: none; width: 40px; height: 40px; border-radius: 10px; background: var(--surface-2); color: var(--heading);
  display: flex; align-items: center; justify-content: center;
}
.feature-icon svg { width: 20px; height: 20px; }
.feature-row h3 { font-size: 16px; margin-bottom: 4px; }
.feature-row p { font-size: 14.5px; color: var(--ink-soft); margin: 0; }

/* ---- Icon-info blocks (Pickup Location / Duration / Group Type, from reference) ---- */
.info-list { display: flex; flex-direction: column; gap: var(--sp-3); }
.info-row { display: flex; gap: 14px; align-items: flex-start; }
.info-icon {
  flex: none; width: 36px; height: 36px; border-radius: 50%; background: var(--surface-2); color: var(--heading);
  display: flex; align-items: center; justify-content: center;
}
.info-icon svg { width: 18px; height: 18px; }
.info-row h4 { font-size: 15px; font-weight: 700; margin: 0 0 3px; color: var(--heading); }
.info-row p { font-size: 14.5px; color: var(--ink-soft); margin: 0; }
.help-box { background: transparent; border: 1px solid var(--line); border-radius: var(--radius); padding: var(--sp-3); margin-top: var(--sp-3); }
.help-box h4 { font-size: 15.5px; margin-bottom: 4px; }
.help-box p { font-size: 14px; color: var(--ink-soft); margin-bottom: 12px; }
.tour-sidebar { position: sticky; top: 90px; }
.help-box .info-list { margin-top: var(--sp-2); gap: 0; }
.help-box .info-row { padding: 14px 0; border-bottom: 1px solid var(--line); }
.help-box .info-row:last-of-type { border-bottom: none; padding-bottom: 4px; }
.help-box .info-row h4 { margin: 0 0 2px; }
.help-box .info-row p { margin: 0; font-size: 13.5px; }
.cancel-note { font-size: 13px; color: var(--ink-soft); text-align: center; margin: 0; } /* was --ink-faint, which fails WCAG AA (3.1:1) on white for text this size */

/* ---- "About this tour" / "Highlights" cards (tour detail page) ---- */
.tour-card { background: transparent; border: 1px solid var(--line); border-radius: var(--radius); padding: var(--sp-4); }
.tour-card + .tour-card { margin-top: var(--sp-3); }
.tour-card h2 { font-family: var(--font-serif); font-size: 23px; margin-bottom: var(--sp-2); }
.tour-card p:last-child, .tour-card ul:last-child { margin-bottom: 0; }

/* ---- FAQ ---- */
.faq-item { border-bottom: 1px solid var(--line); padding: var(--sp-2) 0; }
.faq-item summary { cursor: pointer; font-weight: 700; font-size: 16px; color: var(--heading); list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 20px; color: var(--heading); flex: none; font-weight: 400; }
.faq-item[open] summary::after { content: "\2212"; }
.faq-item p { margin-top: 10px; color: var(--ink-soft); }

/* ---- Breadcrumb ---- */
.breadcrumb { font-size: 13.5px; color: var(--ink-soft); display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: var(--sp-2); }
.breadcrumb a { color: var(--heading); font-weight: 600; }
.breadcrumb span[aria-hidden] { color: var(--line); }

/* ---- Tables ---- */
.glance-table { width: 100%; border-collapse: collapse; margin: var(--sp-2) 0; }
.glance-table td { padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.glance-table td:first-child { color: var(--ink-soft); width: 34%; font-weight: 500; }
.glance-table td:last-child { font-weight: 700; color: var(--heading); }

/* ---- Day tracker + itinerary ---- */
.day-tracker { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 14px; margin-bottom: var(--sp-2); scrollbar-width: thin; }
.day-tracker-item { flex: none; display: flex; flex-direction: column; gap: 2px; padding: 10px 16px; border-radius: var(--radius-sm);
  background: var(--surface-2); font-size: 13px; min-width: 132px; border: 1.5px solid transparent; transition: border-color .2s ease, background .2s ease; }
.day-tracker-item:hover { border-color: var(--brand); background: var(--white); }
.day-num { font-size: 11px; font-weight: 700; text-transform: uppercase; color: var(--heading); letter-spacing: 0.04em; }

/* ---- Inclusions ---- */
.inclusions-card { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-3); }
@media (max-width: 700px) { .inclusions-card { grid-template-columns: 1fr; } }
.inclusions-card > div { background: var(--surface-2); border-radius: var(--radius); padding: var(--sp-3) var(--sp-4) var(--sp-4); }
.inclusions-card h3 { display: flex; align-items: center; gap: 10px; font-family: var(--font-serif); font-size: 19px; margin-bottom: var(--sp-2); }
.check-list, .cross-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.check-list li, .cross-list li { display: flex; align-items: flex-start; gap: 10px; font-size: 15px; color: var(--ink-soft); }
.icon-badge { flex: none; width: 20px; height: 20px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 11px; margin-top: 2px; font-weight: 700; }
.icon-badge.is-check { background: var(--ok-tint); color: var(--ok); }
.icon-badge.is-cross { background: var(--bad-tint); color: var(--bad); }

/* ---- Note / CTA box (tour detail page closer) ---- */
.note-cta { background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--radius); padding: var(--sp-4); }
.note-cta-row { display: flex; gap: 14px; align-items: flex-start; }
.note-cta-row + .note-cta-row { margin-top: var(--sp-2); }
.note-cta .divider { margin: var(--sp-3) 0; }
.note-cta-icon { flex: none; width: 36px; height: 36px; border-radius: 50%; background: var(--brand-soft); color: var(--brand-deep); display: flex; align-items: center; justify-content: center; }
.note-cta-icon svg { width: 18px; height: 18px; }
.note-cta h3 { font-family: var(--font-serif); font-size: 18px; margin-bottom: 4px; }
.note-cta p { color: var(--ink-soft); margin: 0 0 var(--sp-2); }
.note-cta .btn { margin-top: 4px; }

/* ---- Founder / about ---- */
.founder-row { display: grid; grid-template-columns: 200px 1fr; gap: var(--sp-4); align-items: start; }
@media (max-width: 700px) { .founder-row { grid-template-columns: 1fr; } }
.founder-portrait { width: 100%; aspect-ratio: 1; border-radius: 50%; background: var(--heading); position: relative; overflow: hidden; }
.founder-portrait::after { content: "\1F3DE"; position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 50px; opacity: 0.8; }
.founder-portrait.has-photo::after { display: none; }
.founder-portrait.has-photo { background: var(--surface-2); }
.founder-portrait img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ---- Scenic block (real photography) ---- */
.scenic { border-radius: var(--radius); aspect-ratio: 16/9; position: relative; overflow: hidden; background: var(--surface-2); }
.scenic img { width: 100%; height: 100%; object-fit: cover; display: block; }
.scenic-tall { aspect-ratio: 3/4; }
.scenic-square { aspect-ratio: 1/1; }
.scenic-caption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 10px 14px;
  background: linear-gradient(0deg, rgba(42,26,16,0.78), transparent);
  color: var(--white); font-size: 12.5px; font-weight: 600;
}

.why-split { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; margin: var(--sp-6) 0; }
.why-split-media { position: relative; min-height: 520px; background: var(--surface-2); }
.why-split-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 35% 30%; display: block; }
.why-split-content { display: flex; align-items: center; padding: var(--sp-6) var(--sp-5); }
.why-split-inner { max-width: 560px; margin-left: auto; }
@media (max-width: 900px) {
  .why-split { grid-template-columns: 1fr; margin: var(--sp-5) 0; }
  .why-split-media { min-height: 320px; }
  .why-split-content { padding: var(--sp-5) 22px; }
  .why-split-inner { max-width: none; margin-left: 0; }
}

/* ---- Footer ---- */
.site-footer { background: var(--paper); color: var(--ink-soft); margin-top: var(--sp-7); border-top: 1px solid var(--line); }
.site-footer-inner { max-width: 1180px; margin: 0 auto; padding: var(--sp-6) 22px var(--sp-4); display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: var(--sp-4); }
@media (max-width: 760px) { .site-footer-inner { grid-template-columns: 1fr 1fr; } }
.footer-col h3 { color: var(--heading); font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 12px; }
.footer-col a { display: block; color: var(--ink-soft); font-size: 14.5px; margin-bottom: 8px; }
.footer-col a:hover { color: var(--brand-deep); }
.footer-logo { display: flex; align-items: center; gap: 10px; color: var(--heading); font-family: var(--font-display); font-weight: 800; font-size: 18px; margin-bottom: 10px; }
.footer-logo .site-logo-mark { width: 38px; height: 38px; border-radius: 10px; overflow: hidden; }
.footer-tagline { color: var(--ink-soft); font-size: 14px; max-width: 34ch; margin-bottom: 16px; }
.footer-social { display: flex; gap: 10px; }
.footer-social a { display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line); color: var(--heading); margin-bottom: 0; flex-shrink: 0; }
.footer-social a svg { width: 17px; height: 17px; }
.footer-social a:hover { background: var(--heading); border-color: var(--heading); color: var(--white); }
.footer-contact-row { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 12px; font-size: 14.5px; color: var(--ink-soft); }
.footer-contact-row svg { width: 18px; height: 18px; flex-shrink: 0; margin-top: 1px; color: var(--brand-deep); }
.footer-contact-row a { display: inline; margin-bottom: 0; padding: 0; color: var(--ink-soft); }
.footer-contact-row a:hover { color: var(--brand-deep); }
.site-footer-bottom { border-top: 1px solid var(--line); padding: 18px 22px; text-align: center; font-size: 13px; color: var(--ink-soft); } /* was --ink-faint, which fails WCAG AA (3.1:1) on white for text this size */

/* ---- WhatsApp float ---- */
.whatsapp-float { position: fixed; bottom: 22px; right: 22px; width: 56px; height: 56px; border-radius: 50%; background: #25D366;
  display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow-md); z-index: 60; }
.whatsapp-float svg { width: 28px; height: 28px; }

/* ---- Reveal on scroll ---- */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .5s ease, transform .5s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---- Notice banner (prototype only) ---- */
.proto-banner { background: var(--sand); color: var(--heading); font-size: 13.5px; font-weight: 600; text-align: center; padding: 8px 16px; }
.proto-banner strong { font-weight: 800; }

@media (max-width: 640px) {
  .hero-content { padding: var(--sp-5) 20px var(--sp-4); }
  .founder-row { gap: var(--sp-3); }
}

/* ============================================================
   Tour detail page — visual redesign (v6)
   Presentation only: every rule below re-styles/re-arranges the
   same tour content already rendered by tour.php. No new colors —
   everything draws from the existing :root tokens above.
   ============================================================ */

/* ---- Taller, more editorial hero on the tour page only ---- */
.hero-tour { min-height: 42vh; display: flex; align-items: flex-end; }
.hero-tour .hero-content { padding-bottom: var(--sp-6); }
@media (max-width: 640px) { .hero-tour { min-height: 34vh; } }

/* ---- Quick facts strip — overlaps the hero's bottom edge ---- */
.quick-facts-wrap { position: relative; z-index: 3; margin-top: -44px; margin-bottom: var(--sp-2); }
.quick-facts {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-md); display: grid; grid-template-columns: repeat(4, 1fr);
}
.quick-fact { display: flex; align-items: center; gap: 12px; padding: var(--sp-3); border-right: 1px solid var(--line); min-width: 0; }
.quick-fact:last-child { border-right: none; }
.quick-fact-icon {
  flex: none; width: 40px; height: 40px; border-radius: 50%; background: var(--surface-2); color: var(--heading);
  display: flex; align-items: center; justify-content: center;
}
.quick-fact-icon svg { width: 19px; height: 19px; }
.quick-fact-text { min-width: 0; }
.quick-fact-label { font-size: 11.5px; font-weight: 700; color: var(--ink-soft); text-transform: uppercase; letter-spacing: 0.04em; margin: 0 0 2px; }
.quick-fact-value { font-size: 14.5px; font-weight: 700; color: var(--heading); margin: 0; overflow-wrap: break-word; }
@media (max-width: 900px) {
  .quick-facts { grid-template-columns: repeat(2, 1fr); }
  .quick-fact { border-right: none; border-bottom: 1px solid var(--line); }
  .quick-fact:nth-last-child(-n+2) { border-bottom: none; }
}
@media (max-width: 560px) { .quick-facts-wrap { margin-top: -28px; } }

/* ---- Two-column layout: main content + sticky booking sidebar ---- */
.tour-layout { display: grid; grid-template-columns: 1fr 320px; gap: var(--sp-4); align-items: start; }
@media (max-width: 980px) { .tour-layout { grid-template-columns: 1fr; } }
.tour-layout-main { min-width: 0; }
.tour-layout-main > * + * { margin-top: var(--sp-4); }
.tour-sidebar { position: sticky; top: 90px; min-width: 0; }

/* ---- Section label above a heading (chrome only, no new copy) ---- */
.tour-section-icon {
  display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px;
  border-radius: 10px; background: var(--surface-2); color: var(--brand-deep); margin-right: 10px; flex: none;
}
.tour-section-icon svg { width: 17px; height: 17px; }
.tour-section-head { display: flex; align-items: center; margin-bottom: var(--sp-2); }
.tour-section-head h2 { margin: 0; }

/* ---- Itinerary day cards ----
   Each day is its own bordered card with a dark stripe carrying a large
   day number, rather than a connected timeline -- easier to scan when
   skimming a long multi-day route, and each day reads as a discrete,
   self-contained block. */
.day-tracker-card { background: var(--surface-2); border-radius: var(--radius); padding: var(--sp-2) var(--sp-2) 0; margin-bottom: var(--sp-3); }
.day-tracker { margin-bottom: var(--sp-2); padding-bottom: var(--sp-2); }
.itinerary-timeline { display: flex; flex-direction: column; gap: var(--sp-3); }
.itinerary-day {
  display: flex; align-items: stretch; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; background: var(--surface); box-shadow: var(--shadow-sm); scroll-margin-top: 90px;
}
.itinerary-day-marker {
  flex: none; width: 92px; background: var(--heading); color: var(--white);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: var(--sp-2) 6px; text-align: center; gap: 2px;
}
.itinerary-day-marker .day-eyebrow { font-size: 10.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; opacity: 0.82; }
.itinerary-day-marker .day-num-large { font-family: var(--font-serif); font-size: 34px; line-height: 1.05; }
.itinerary-day-body { flex: 1; min-width: 0; padding: var(--sp-3); }
.itinerary-day-body h3 { font-family: var(--font-serif); font-size: 18px; margin: 0 0 8px; }
.itinerary-day-body p { color: var(--ink-soft); margin: 0; }
.itinerary-day-body p + p { margin-top: 10px; }
@media (max-width: 560px) {
  .itinerary-day-marker { width: 64px; }
  .itinerary-day-marker .day-num-large { font-size: 24px; }
  .itinerary-day-body { padding: var(--sp-2); }
}

/* ---- Accommodation list -> soft cards ---- */
.accommodation-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.accommodation-list li {
  display: flex; align-items: flex-start; gap: 12px; background: var(--surface-2); border-radius: var(--radius-sm);
  padding: 13px 16px; font-size: 14.5px; color: var(--ink);
}
.accommodation-list li svg { flex: none; width: 18px; height: 18px; color: var(--brand-deep); margin-top: 2px; }

/* ---- FAQ section framed as one block ---- */
.faq-block { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 4px var(--sp-4); }
.faq-block .faq-item:last-child { border-bottom: none; }

/* ---- Related links, as chips instead of a comma-separated sentence ---- */
.related-links-block + .related-links-block { margin-top: var(--sp-3); }
.related-links-label { font-size: 13.5px; font-weight: 700; color: var(--ink-soft); margin: 0 0 10px; }
.related-chip-row { display: flex; flex-wrap: wrap; gap: 8px; }
.related-chip {
  display: inline-flex; align-items: center; padding: 8px 15px; border-radius: 999px; border: 1px solid var(--line);
  background: var(--surface); font-size: 13.5px; font-weight: 600; color: var(--heading);
  transition: border-color .15s ease, background .15s ease, color .15s ease;
}
.related-chip:hover { border-color: var(--brand); background: var(--surface-2); color: var(--brand-deep); }

/* ---- Tour photo gallery: existing alt text shown as a visible caption ---- */
.tour-gallery { margin-bottom: 0; }
.tour-gallery .scenic { aspect-ratio: 4/3; }

/* ---- Mobile sticky booking bar (duplicates the existing WhatsApp CTA only) ---- */
.mobile-book-bar { display: none; }
@media (max-width: 760px) {
  .mobile-book-bar {
    display: flex; align-items: center; justify-content: space-between; gap: 14px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 59;
    background: var(--surface); border-top: 1px solid var(--line); box-shadow: 0 -8px 24px rgba(15,20,30,0.12);
    padding: 12px 16px; padding-bottom: calc(12px + env(safe-area-inset-bottom, 0px));
  }
  .mobile-book-bar .mbb-price { font-weight: 800; color: var(--heading); font-size: 16.5px; display: block; }
  .mobile-book-bar .mbb-price-label { font-size: 11px; color: var(--ink-soft); font-weight: 600; display: block; }
  .mobile-book-bar .btn { padding: 11px 20px; font-size: 14px; white-space: nowrap; }
  body:has(.mobile-book-bar) { padding-bottom: 78px; }
  body:has(.mobile-book-bar) .whatsapp-float { display: none; }
}

/* ---- TM brighter heroes: lighter overlay, text kept readable with a left-side fade + shadow ---- */
.hero::before { background: linear-gradient(90deg, rgba(26,16,10,0.58) 0%, rgba(26,16,10,0.32) 50%, rgba(26,16,10,0.08) 100%), linear-gradient(180deg, rgba(26,16,10,0.05) 40%, rgba(26,16,10,0.35) 100%); }
.hero-center::before { background: radial-gradient(ellipse 55% 50% at 50% 48%, rgba(26,16,10,0.42) 0%, rgba(26,16,10,0.18) 60%, rgba(26,16,10,0) 100%), linear-gradient(180deg, rgba(26,16,10,0.05) 0%, rgba(26,16,10,0.12) 60%, rgba(26,16,10,0.30) 100%); }
.hero-center h1, .hero-center p.hero-sub { text-shadow: 0 2px 18px rgba(0,0,0,0.6), 0 1px 3px rgba(0,0,0,0.45); }
.hero h1, .hero p.hero-sub, .hero .stat-item { text-shadow: 0 2px 14px rgba(0,0,0,0.45); }
.hero p.hero-sub { color: rgba(255,255,255,0.95); }
@media (max-width: 640px) { .hero::before { background: linear-gradient(180deg, rgba(26,16,10,0.30) 0%, rgba(26,16,10,0.50) 100%); } }

/* ---- TM shorter card text: 2-line summary, 1-line highlights, prices + buttons aligned at the bottom ---- */
.card { display: flex; flex-direction: column; }
.card-body { flex: 1; display: flex; flex-direction: column; }
.card-desc { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card-meta { margin-top: auto; padding-top: 12px; }

/* ---- TM destination cards 6 lines: clamp intro to 6 lines, align stats + link at the bottom ---- */
.dest-card { display: flex; flex-direction: column; }
.dest-card-info { flex: 1; display: flex; flex-direction: column; }
.dest-card-info p { display: -webkit-box; -webkit-line-clamp: 6; -webkit-box-orient: vertical; overflow: hidden; }
.dest-card-stat { margin-top: auto; }

/* ---- TM CTA band: brand-colour call-to-action (Sahara Sand + zellige star pattern) ---- */
.cta-band { position: relative; overflow: hidden; margin-top: var(--sp-6); padding: var(--sp-6) 22px; background-color: var(--surface-2); background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='64' height='64' viewBox='0 0 64 64'><g fill='none' stroke='%23D8B98A' stroke-opacity='0.45' stroke-width='1.2'><rect x='20' y='20' width='24' height='24'/><rect x='20' y='20' width='24' height='24' transform='rotate(45 32 32)'/><circle cx='32' cy='32' r='5'/><path d='M0 0l8 8M64 0l-8 8M0 64l8-8M64 64l-8-8'/></g></svg>"); background-size: 64px 64px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.cta-band::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(ellipse 60% 70% at 50% 50%, var(--surface-2) 35%, rgba(241,231,214,0) 100%); }
.cta-band::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 5px; background: var(--brand); }
.cta-band .container { position: relative; z-index: 2; }
.cta-band h2 { color: var(--heading); }
.cta-band .lede { color: var(--ink-soft); }

/* ---- TM tighter gap above CTA band ---- */
.cta-band { margin-top: 0; }
.section:has(+ .cta-band) { padding-bottom: var(--sp-4); }

/* ---- TM footer restyle: Deep Desert Brown with gold accents + faint zellige pattern ---- */
.site-footer { position: relative; margin-top: var(--sp-6); background-color: var(--heading-deep); background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='72' height='72' viewBox='0 0 72 72'><g fill='none' stroke='%23FFBF00' stroke-opacity='0.07' stroke-width='1.2'><rect x='22' y='22' width='28' height='28'/><rect x='22' y='22' width='28' height='28' transform='rotate(45 36 36)'/><circle cx='36' cy='36' r='6'/><path d='M0 0l9 9M72 0l-9 9M0 72l9-9M72 72l-9-9'/></g></svg>"); background-size: 72px 72px; color: rgba(255,255,255,0.72); border-top: 4px solid var(--brand); }
main:has(> .cta-band:last-child) + .site-footer { margin-top: 0; }
.site-footer-inner { padding: var(--sp-6) 22px var(--sp-5); gap: var(--sp-5) var(--sp-4); }
.footer-col h3 { color: var(--brand); font-size: 12.5px; letter-spacing: 0.12em; margin-bottom: 18px; padding-bottom: 10px; border-bottom: 1px solid rgba(255,191,0,0.22); }
.footer-col a { color: rgba(255,255,255,0.78); font-size: 14.5px; margin-bottom: 11px; transition: color .15s ease, transform .15s ease; }
.footer-col > a:not(.footer-logo):hover { color: var(--brand); transform: translateX(3px); }
.footer-logo { color: var(--white); font-size: 20px; margin-bottom: 14px; }
.footer-logo em { font-style: normal; color: var(--brand); }
.footer-logo .site-logo-mark { background: rgba(255,191,0,0.12); display: flex; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 12px; }
.footer-logo .site-logo-mark img { width: 30px; height: auto; }
.footer-tagline { color: rgba(255,255,255,0.68); font-size: 14px; line-height: 1.7; max-width: 36ch; margin-bottom: 20px; }
.footer-social a { width: 40px; height: 40px; border: 1px solid rgba(255,191,0,0.45); color: var(--brand); background: rgba(255,255,255,0.03); }
.footer-social a:hover { background: var(--brand); border-color: var(--brand); color: var(--heading-deep); }
.footer-contact-row { color: rgba(255,255,255,0.78); margin-bottom: 14px; }
.footer-contact-row svg { color: var(--brand); }
.footer-contact-row a { color: rgba(255,255,255,0.85); }
.footer-contact-row a:hover { color: var(--brand); }
.footer-contact-row small { color: rgba(255,255,255,0.5); font-size: 12px; }
.site-footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); background: rgba(0,0,0,0.22); padding: 16px 22px; color: rgba(255,255,255,0.6); text-align: left; }
.site-footer-bottom-inner { max-width: 1180px; margin: 0 auto; display: flex; justify-content: space-between; gap: 10px 24px; flex-wrap: wrap; }
.footer-bottom-note { color: rgba(255,191,0,0.75); }
@media (max-width: 760px) { .site-footer-inner { grid-template-columns: 1fr 1fr; } .site-footer-inner > .footer-col:first-child { grid-column: 1 / -1; } .site-footer-bottom-inner { justify-content: center; text-align: center; } }
@media (max-width: 460px) { .site-footer-inner { grid-template-columns: 1fr; } }

/* ---- TM footer fixes ---- */
.footer-col a.footer-logo { display: inline-flex; align-items: center; gap: 12px; color: var(--white); font-size: 21px; font-weight: 800; margin-bottom: 16px; }
.footer-col a.footer-logo:hover { color: var(--white); }
.site-footer-bottom-inner { padding-right: 76px; }
@media (max-width: 760px) { .site-footer-bottom-inner { padding-right: 0; padding-bottom: 56px; } }
@media (max-width: 460px) { .site-footer-inner { grid-template-columns: 1fr 1fr; gap: var(--sp-4) var(--sp-3); } .site-footer-inner > .footer-col:last-child { grid-column: 1 / -1; } }

/* ---- TM why-split photo restyle: framed photo on sand + inset photo + founder badge ---- */
.why-split-media { min-height: 0; padding: var(--sp-5) var(--sp-5) var(--sp-6) var(--sp-5); background-color: var(--surface-2); background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='64' height='64' viewBox='0 0 64 64'><g fill='none' stroke='%23D8B98A' stroke-opacity='0.45' stroke-width='1.2'><rect x='20' y='20' width='24' height='24'/><rect x='20' y='20' width='24' height='24' transform='rotate(45 32 32)'/><circle cx='32' cy='32' r='5'/></g></svg>"); background-size: 64px 64px; display: flex; align-items: center; justify-content: center; }
.why-split-media > picture { position: relative; display: block; width: 100%; max-width: 600px; aspect-ratio: 5/4; z-index: 1; }
.why-split-media > picture::before { content: ""; position: absolute; inset: 18px -18px -18px 18px; border: 3px solid var(--brand); border-radius: 22px; z-index: -1; }
.why-split-media > picture img { position: relative; inset: auto; width: 100%; height: 100%; object-fit: cover; object-position: 30% 45%; border-radius: 22px; box-shadow: 0 24px 48px -18px rgba(42,26,16,0.45); }
.why-photo-inset { position: absolute; z-index: 2; width: 38%; max-width: 230px; aspect-ratio: 1/1; right: calc(50% - 320px); bottom: 18px; border-radius: 18px; overflow: hidden; border: 6px solid var(--white); box-shadow: 0 18px 36px -14px rgba(42,26,16,0.5); }
.why-photo-inset img { position: static; width: 100%; height: 100%; object-fit: cover; }
.why-photo-badge { position: absolute; z-index: 3; left: calc(50% - 320px); top: calc(var(--sp-5) - 14px); background: var(--white); border-radius: 14px; padding: 12px 16px; box-shadow: 0 14px 30px -12px rgba(42,26,16,0.35); border-left: 4px solid var(--brand); display: flex; flex-direction: column; gap: 2px; max-width: 230px; }
.why-photo-badge strong { font-family: var(--font-display); color: var(--heading); font-size: 15px; }
.why-photo-badge span { font-size: 12.5px; color: var(--ink-soft); line-height: 1.4; }
@media (max-width: 1200px) { .why-photo-inset { right: 24px; } .why-photo-badge { left: 24px; } }
@media (max-width: 900px) { .why-split-media { padding: var(--sp-4) 22px var(--sp-5); } .why-split-media > picture { aspect-ratio: 4/3; } .why-photo-inset { width: 34%; right: 14px; bottom: 14px; border-width: 4px; } .why-photo-badge { left: 14px; top: 20px; } .why-split-media > picture::before { inset: 12px -10px -10px 12px; } }

/* ---- TM why photo mobile ---- */
@media (max-width: 900px) { .why-photo-inset { display: none; } .why-photo-badge { top: auto; bottom: calc(var(--sp-5) - 10px); left: auto; right: 12px; max-width: 52%; padding: 9px 12px; } }
