/* =====================================================================
   Voyager en Égypte : public site styles
   Palette "Lapis & stone": one accent (lapis-lazuli blue), cool stone neutrals.
   Shape rule: buttons, chips = pill; cards, images = 14px; inputs = 10px.
   Z-index scale: header 50, floating WhatsApp 45, mobile booking bar 40, skip link 100.
   ===================================================================== */

/* Fonts: subsets load on demand through unicode-range (latin, latin-ext for RO/PL, cyrillic for RU, arabic for AR). */
@font-face { font-family: "Cormorant"; font-style: normal; font-weight: 300 700; font-display: swap; src: url("../fonts/cormorant-garamond-var.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Cormorant"; font-style: normal; font-weight: 300 700; font-display: swap; src: url("../fonts/cormorant-garamond-var-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Cormorant"; font-style: normal; font-weight: 300 700; font-display: swap; src: url("../fonts/cormorant-garamond-var-cyrillic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Cormorant"; font-style: italic; font-weight: 300 700; font-display: swap; src: url("../fonts/cormorant-garamond-var-italic.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Cormorant"; font-style: italic; font-weight: 300 700; font-display: swap; src: url("../fonts/cormorant-garamond-var-italic-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Cormorant"; font-style: italic; font-weight: 300 700; font-display: swap; src: url("../fonts/cormorant-garamond-var-italic-cyrillic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Geist"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("../fonts/geist-var.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Geist"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("../fonts/geist-var-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Geist"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("../fonts/geist-var-cyrillic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Amiri"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/amiri-arabic-400.woff2") format("woff2");
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC; }
@font-face { font-family: "Amiri"; font-style: normal; font-weight: 500 700; font-display: swap; src: url("../fonts/amiri-arabic-700.woff2") format("woff2");
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC; }
@font-face { font-family: "Noto Sans Arabic"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("../fonts/noto-sans-arabic-var.woff2") format("woff2");
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC; }

:root {
  --bg: #f4f3ef;
  --surface: #eae8e1;
  --card: #fbfaf8;
  --ink: #12162a;
  --ink-2: #4a4f63;
  --ink-3: #6b7085;
  --line: #d8d5cb;
  --accent: #1f3c94;
  --accent-hover: #172f78;
  --on-accent: #f7f7f4;
  --accent-soft: #e1e6f4;
  --danger: #b42318;
  --success: #1d6b46;
  --wa: #13804a;        /* WhatsApp buttons only: recognisable green, white text passes AA */
  --wa-hover: #0f6b3e;
  --wa-ink: #13804a;    /* WhatsApp-coloured text on the page background */
  --photo-ink: #f6f5f1;
  --shadow: 0 1px 2px rgb(18 22 42 / .06), 0 12px 32px -12px rgb(18 22 42 / .18);
  --shadow-lg: 0 30px 60px -24px rgb(18 22 42 / .35);

  --font-display: "Cormorant", "Cormorant Garamond", Garamond, "Times New Roman", serif;
  --font-body: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --r-card: 14px;
  --r-input: 10px;
  --r-pill: 999px;
  --header-h: 68px;
  --container: 1280px;
  --gutter: clamp(16px, 4vw, 40px);
  --ease: cubic-bezier(.16, 1, .3, 1);
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0b0e1a;
    --surface: #10142a;
    --card: #141a33;
    --ink: #ecebe6;
    --ink-2: #b0b4c6;
    --ink-3: #8c91a7;
    --line: #262d4a;
    --accent: #93a9ff;
    --accent-hover: #b0c0ff;
    --on-accent: #0b0e1a;
    --accent-soft: #1b2450;
    --danger: #ff8f84;
    --success: #6fd3a1;
    --wa-ink: #5fd197;
    --shadow: 0 1px 2px rgb(0 0 0 / .3), 0 12px 32px -12px rgb(0 0 0 / .6);
    --shadow-lg: 0 30px 60px -24px rgb(0 0 0 / .7);
    color-scheme: dark;
  }
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
button { font: inherit; color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 500; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--accent); color: var(--on-accent); }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.muted { color: var(--ink-3); }
.small { font-size: .875rem; }
.icon { width: 1.15em; height: 1.15em; flex: none; display: inline-block; vertical-align: -.2em; }
.icon-xl { width: 56px; height: 56px; color: var(--accent); }

.skip-link {
  position: fixed; inset-inline-start: 16px; top: 12px; z-index: 100; transform: translateY(-200%);
  background: var(--accent); color: var(--on-accent); padding: 10px 16px; border-radius: var(--r-pill);
  text-decoration: none; transition: transform .2s;
}
.skip-link:focus { transform: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 46px; padding: 0 22px; border-radius: var(--r-pill);
  font-weight: 500; font-size: .975rem; letter-spacing: .005em; white-space: nowrap;
  text-decoration: none; border: 1px solid transparent; cursor: pointer;
  transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .2s var(--ease), box-shadow .25s var(--ease);
}
.btn:active { transform: translateY(1px) scale(.98); }
.btn-sm { min-height: 40px; padding: 0 18px; font-size: .9rem; }
.btn-lg { min-height: 54px; padding: 0 28px; font-size: 1.02rem; }
.btn-block { width: 100%; }
.btn-primary { background: var(--accent); color: var(--on-accent); box-shadow: 0 8px 20px -10px rgb(31 60 148 / .6); }
.btn-primary:hover { background: var(--accent-hover); }
.btn-outline { border-color: var(--line); color: var(--ink); background: transparent; }
.btn-outline:hover { border-color: var(--ink-3); background: var(--surface); }
.btn-glass {
  color: var(--photo-ink); border-color: rgb(255 255 255 / .35);
  background: rgb(255 255 255 / .12);
  -webkit-backdrop-filter: blur(14px) saturate(160%); backdrop-filter: blur(14px) saturate(160%);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / .2);
}
.btn-glass:hover { background: rgb(255 255 255 / .22); }
.btn-glass .icon { color: inherit; }
.btn-wa { background: var(--wa); color: #fff; box-shadow: 0 8px 20px -10px rgb(19 128 74 / .6); }
.btn-wa:hover { background: var(--wa-hover); }
.btn-wa .icon { width: 1.25em; height: 1.25em; }

/* WhatsApp booking on trip cards (sits over the photo, outside the card link) */
.trip-card-wa {
  position: absolute; z-index: 2; top: 14px; inset-inline-end: 14px; display: inline-flex; align-items: center; gap: 6px;
  min-height: 38px; padding: 0 14px 0 11px; border-radius: var(--r-pill); background: var(--wa); color: #fff;
  font-size: .85rem; font-weight: 600; text-decoration: none; box-shadow: 0 8px 20px -8px rgb(8 10 22 / .55);
  transition: background-color .2s, transform .2s var(--ease);
}
.trip-card-wa:hover { background: var(--wa-hover); transform: translateY(-1px); }
.trip-card-wa:active { transform: scale(.97); }
.trip-card-wa .icon { width: 18px; height: 18px; }
.trip-card-wa:focus-visible, .compact-wa:focus-visible { outline: 2px solid #fff; outline-offset: 2px; box-shadow: 0 0 0 4px var(--wa); }

.compact-item { position: relative; }
.compact-wa {
  position: absolute; bottom: 14px; inset-inline-end: 14px; width: 38px; height: 38px; display: grid; place-items: center;
  border-radius: var(--r-pill); background: var(--wa); color: #fff; transition: background-color .2s, transform .2s var(--ease);
}
.compact-wa:hover { background: var(--wa-hover); transform: scale(1.06); }
.compact-wa .icon { width: 20px; height: 20px; }
.compact-wa span { display: none; } /* icon only: the aria-label carries the text */

.wa-or { margin: -6px 0 22px; }
.wa-or a { display: inline-flex; align-items: center; gap: 8px; color: var(--wa-ink); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.wa-or .icon { width: 20px; height: 20px; flex: none; }
@media (prefers-reduced-transparency: reduce) {
  .btn-glass { background: rgb(12 16 32 / .82); -webkit-backdrop-filter: none; backdrop-filter: none; }
}

.icon-btn {
  width: 46px; height: 46px; border-radius: var(--r-pill); border: 1px solid var(--line);
  background: var(--card); display: inline-grid; place-items: center; cursor: pointer;
  transition: border-color .2s, background-color .2s, transform .2s var(--ease);
}
.icon-btn:hover { border-color: var(--ink-3); }
.icon-btn:active { transform: scale(.95); }
.icon-btn:disabled { opacity: .4; cursor: default; }

.link-arrow {
  display: inline-flex; align-items: center; gap: .45em; font-weight: 500; color: var(--accent);
  text-decoration: none;
}
.link-arrow .icon { transition: transform .3s var(--ease); }
.link-arrow:hover .icon { transform: translateX(4px); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--header-h);
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  -webkit-backdrop-filter: blur(16px) saturate(140%); backdrop-filter: blur(16px) saturate(140%);
  border-bottom: 1px solid color-mix(in srgb, var(--line) 70%, transparent);
  transition: background-color .35s var(--ease), border-color .35s var(--ease), color .35s var(--ease);
}
.header-inner { height: 100%; display: flex; align-items: center; gap: 32px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; flex: none; }
.brand-mark { width: 30px; height: 30px; }
.brand-name { font-family: var(--font-display); font-size: 1.45rem; font-weight: 600; letter-spacing: .005em; line-height: 1; }
.main-nav { margin-inline-start: auto; }
.main-nav ul { display: flex; gap: 6px; }
.main-nav a {
  display: block; padding: 8px 14px; border-radius: var(--r-pill); text-decoration: none;
  font-size: .95rem; font-weight: 450; color: var(--ink-2); transition: color .2s, background-color .2s;
}
.main-nav a:hover { color: var(--ink); background: color-mix(in srgb, var(--surface) 80%, transparent); }
.main-nav a[aria-current="page"] { color: var(--ink); background: var(--surface); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.menu-toggle {
  display: none; width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer;
  place-items: center; border-radius: var(--r-pill);
}
.menu-toggle .icon { width: 26px; height: 26px; }

/* Transparent header over full-bleed photos, until the page is scrolled */
body:is(.is-home, .is-trip, .is-destination) .site-header:not(.is-solid):not(.menu-open) {
  background: transparent; border-color: transparent; color: var(--photo-ink);
  -webkit-backdrop-filter: none; backdrop-filter: none;
}
body:is(.is-home, .is-trip, .is-destination) .site-header:not(.is-solid):not(.menu-open) .main-nav a { color: rgb(246 245 241 / .86); }
body:is(.is-home, .is-trip, .is-destination) .site-header:not(.is-solid):not(.menu-open) .main-nav a:hover,
body:is(.is-home, .is-trip, .is-destination) .site-header:not(.is-solid):not(.menu-open) .main-nav a[aria-current="page"] { color: #fff; background: rgb(255 255 255 / .14); }
body:is(.is-home, .is-trip, .is-destination) .site-header:not(.is-solid):not(.menu-open) .brand-mark { filter: brightness(0) invert(1); }

.mobile-menu {
  position: absolute; inset: var(--header-h) 0 auto 0; background: var(--bg);
  border-bottom: 1px solid var(--line); padding: 12px var(--gutter) 24px;
  box-shadow: var(--shadow-lg);
}
.mobile-menu nav { display: grid; margin-bottom: 16px; }
.mobile-menu nav a {
  padding: 14px 4px; font-family: var(--font-display); font-size: 1.6rem; text-decoration: none;
  border-bottom: 1px solid var(--line);
}
.mobile-menu nav a[aria-current="page"] { color: var(--accent); }
.mobile-menu .btn { width: 100%; }

@media (max-width: 960px) {
  .main-nav { display: none; }
  .menu-toggle { display: inline-grid; }
  .header-actions { margin-inline-start: auto; }
}
@media (max-width: 520px) {
  .header-cta { display: none; }
  .brand-name { font-size: 1.3rem; }
}

main { display: block; }
body:not(:is(.is-home, .is-trip, .is-destination)) main { padding-top: var(--header-h); }

/* ---------- Sections ---------- */
.section { padding-block: clamp(56px, 7.5vw, 104px); }
.section:not(.section-tint) + .section:not(.section-tint) { padding-top: clamp(16px, 2.5vw, 32px); }
.section-tight { padding-block: clamp(32px, 5vw, 64px); }
.section-flush-top { padding-top: 0; }
.section-tint { background: var(--surface); }
.section-head { margin-bottom: clamp(28px, 4vw, 48px); max-width: 720px; }
.section-title {
  font-family: var(--font-display); font-weight: 500; letter-spacing: -.01em;
  font-size: clamp(2.1rem, 4.2vw, 3.4rem); line-height: 1.05; text-wrap: balance;
}
.section-lead { margin-top: 14px; color: var(--ink-2); font-size: 1.1rem; max-width: 60ch; }
.section-more { margin-top: 32px; }
.eyebrow {
  font-size: .78rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 18px;
}

/* ---------- Hero ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: min(100dvh, 940px); display: flex; align-items: flex-end;
  color: var(--photo-ink); background: #0b0e1a;
}
.hero-media, .cover-media, .cta-media { position: absolute; inset: 0; z-index: -1; }
.hero-media img, .cover-media img, .cta-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-media img { object-position: 64% 78%; }
.top-sentinel { position: absolute; top: 0; left: 0; width: 1px; height: 48px; pointer-events: none; }
.hero-media::after, .cover-media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(to top, rgb(8 10 22 / .82) 0%, rgb(8 10 22 / .45) 38%, rgb(8 10 22 / 0) 68%),
    linear-gradient(to right, rgb(8 10 22 / .45) 0%, rgb(8 10 22 / 0) 60%),
    linear-gradient(to bottom, rgb(8 10 22 / .45) 0%, rgb(8 10 22 / 0) 22%);
}
.hero-content { padding-top: calc(var(--header-h) + 48px); padding-bottom: clamp(48px, 9vh, 104px); }
.hero-title {
  font-family: var(--font-display); font-weight: 500; letter-spacing: -.015em;
  font-size: clamp(3rem, 6.4vw, 5.6rem); line-height: 1.04; max-width: 17ch; text-wrap: balance; padding-bottom: 4px;
}
.hero-sub { margin-top: 22px; max-width: 46ch; font-size: clamp(1.05rem, 1.4vw, 1.2rem); color: rgb(246 245 241 / .88); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }

/* ---------- Trust band ---------- */
.trust-band { background: var(--surface); border-bottom: 1px solid var(--line); }
.trust-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px 48px; flex-wrap: wrap; padding-block: 26px; }
.trust-score { display: flex; align-items: center; gap: 18px; text-decoration: none; }
.trust-number { font-family: var(--font-display); font-size: 3.4rem; line-height: 1; font-weight: 600; color: var(--accent); }
.trust-detail { display: grid; gap: 2px; color: var(--ink-2); font-size: .95rem; }
.trust-platforms { display: flex; flex-wrap: wrap; gap: 10px 28px; }
.trust-platforms li, .trust-platforms a { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; color: var(--ink-2); text-decoration: none; }
.trust-platforms .icon { width: 24px; height: 24px; color: var(--ink); }
.trust-platforms a:hover { color: var(--ink); }

/* ---------- Stars ---------- */
.stars { display: inline-flex; gap: 2px; color: var(--accent); }
.stars .icon { width: 16px; height: 16px; }
.stars .icon:not(.is-on) { color: var(--line); }
.stars-lg .icon { width: 22px; height: 22px; }
.star.is-on { color: var(--accent); }

/* ---------- Reviews spotlight ---------- */
.spotlight-grid { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.spotlight-grid.is-solo { grid-template-columns: minmax(0, 860px); }
.spotlight-quote { margin: 0; }
.spotlight-quote blockquote { margin: 22px 0 26px; }
.spotlight-quote figcaption a { color: var(--accent); text-decoration: none; display: inline-flex; gap: 6px; align-items: center; margin-top: 6px; font-size: .95rem; }
.spotlight-quote figcaption a:hover { text-decoration: underline; }
.spotlight-quote blockquote p {
  font-family: var(--font-display); font-style: italic; font-weight: 500;
  font-size: clamp(1.75rem, 3vw, 2.6rem); line-height: 1.2; text-wrap: pretty; padding-bottom: 4px;
}
.spotlight-quote figcaption { display: grid; gap: 2px; }
.spotlight-quote figcaption strong { font-weight: 600; }
.spotlight-quote figcaption span { color: var(--ink-3); }

.proof-stack { position: relative; height: clamp(360px, 38vw, 480px); }
.proof-shot {
  position: absolute; width: 58%; aspect-ratio: 4 / 5; padding: 0; border: 6px solid var(--card);
  border-radius: var(--r-card); overflow: hidden; background: var(--card); cursor: zoom-in;
  box-shadow: var(--shadow-lg); transition: transform .5s var(--ease);
}
.proof-shot img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.proof-shot-1 { left: 0; top: 6%; transform: rotate(-5deg); z-index: 1; }
.proof-shot-2 { right: 0; top: 0; transform: rotate(4deg); z-index: 2; }
.proof-shot-3 { left: 22%; bottom: 0; transform: rotate(-1deg); z-index: 3; width: 52%; }
.proof-shot:hover, .proof-shot:focus-visible { transform: rotate(0) translateY(-6px) scale(1.03); z-index: 4; }
.proof-caption {
  position: absolute; bottom: -38px; left: 0; right: 0; display: flex; justify-content: center; align-items: center;
  gap: 8px; color: var(--ink-3); font-size: .9rem;
}
.proof-caption .icon { color: var(--accent); }

@media (max-width: 860px) {
  .spotlight-grid { grid-template-columns: 1fr; }
  .proof-stack { height: clamp(300px, 90vw, 420px); margin-bottom: 40px; }
}

/* Carousel (scroll-snap, buttons enhance) */
.carousel { margin-top: clamp(56px, 7vw, 96px); }
.carousel-track {
  display: grid; grid-auto-flow: column; grid-auto-columns: clamp(280px, 31%, 400px); gap: 20px;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: 2px; padding: 4px 2px 8px;
  scrollbar-width: none; overscroll-behavior-x: contain;
}
.carousel-track::-webkit-scrollbar { display: none; }
.carousel-slide { scroll-snap-align: start; display: flex; }
.carousel-slide .review-card { width: 100%; }
.carousel-controls { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 24px; }
.carousel-buttons { display: flex; gap: 10px; }

/* ---------- Review card ---------- */
.review-card {
  margin: 0; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-card);
  padding: 26px; display: flex; flex-direction: column; gap: 14px;
}
.review-card-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.review-source { display: inline-flex; align-items: center; gap: 6px; font-size: .82rem; color: var(--ink-3); }
.review-source .icon { width: 18px; height: 18px; }
.review-title { font-weight: 600; }
.review-body { margin: 0; color: var(--ink-2); display: grid; gap: .8em; }
.review-card.is-clamped .review-body { display: -webkit-box; -webkit-line-clamp: 6; -webkit-box-orient: vertical; overflow: hidden; }
.review-card.is-clamped .review-body p { display: inline; }
.review-author { display: flex; align-items: center; gap: 12px; margin-top: auto; padding-top: 6px; }
.review-author > span:last-child { display: grid; line-height: 1.35; font-size: .95rem; }
.review-author .muted { font-size: .85rem; }
.avatar {
  width: 42px; height: 42px; border-radius: var(--r-pill); display: grid; place-items: center; flex: none;
  background: var(--accent-soft); color: var(--accent); font-weight: 600; font-size: .9rem; letter-spacing: .02em;
}
.review-trip { display: inline-flex; gap: 6px; align-items: center; font-size: .85rem; color: var(--accent); text-decoration: none; }
.review-trip:hover { text-decoration: underline; }
.review-proof {
  align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px;
  border-radius: var(--r-pill); border: 1px solid var(--line); background: transparent; cursor: zoom-in; font-size: .85rem;
  transition: border-color .2s, background-color .2s;
}
.review-proof:hover { border-color: var(--accent); color: var(--accent); }

.review-masonry { columns: 3 320px; column-gap: 20px; }
.review-masonry .review-card { break-inside: avoid; margin-bottom: 20px; }
.review-stack { display: grid; gap: 16px; margin: 24px 0; }
.review-pair { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }

/* ---------- Trip cards ---------- */
.trip-card { position: relative; border-radius: var(--r-card); }
.trip-card-link {
  display: flex; flex-direction: column; height: 100%; text-decoration: none; background: var(--card);
  border: 1px solid var(--line); border-radius: var(--r-card); overflow: hidden;
  transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .3s;
}
.trip-card-link:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.trip-card-media { aspect-ratio: 4 / 3; overflow: hidden; background: var(--surface); }
.trip-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.trip-card-link:hover .trip-card-media img { transform: scale(1.05); }
.trip-card-body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.trip-card-meta { display: flex; flex-wrap: wrap; gap: 4px 16px; font-size: .85rem; color: var(--ink-3); }
.trip-card-meta span { display: inline-flex; align-items: center; gap: 5px; }
.trip-card-title { font-family: var(--font-display); font-size: 1.6rem; line-height: 1.12; font-weight: 600; text-wrap: balance; }
.trip-card-summary { color: inherit; opacity: .88; max-width: 52ch; }
.trip-card-foot { margin-top: auto; padding-top: 8px; display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.trip-card-price { color: var(--ink-3); font-size: .9rem; }
.trip-card-price strong { color: var(--ink); font-size: 1.15rem; font-weight: 600; }
.trip-card-rating { display: inline-flex; align-items: center; gap: 4px; font-weight: 600; font-size: .95rem; }
.trip-card-rating .muted { font-weight: 400; }

.trip-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
@media (max-width: 1024px) { .trip-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .trip-grid { grid-template-columns: 1fr; } }

/* Bento of historical trips: photo-led tiles with text over a scrim */
.bento { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: minmax(250px, 1fr); gap: 20px; }
.bento .trip-card-link { position: relative; border: 0; color: var(--photo-ink); background: #0b0e1a; }
.bento .trip-card-media { position: absolute; inset: 0; aspect-ratio: auto; }
.bento .trip-card-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgb(8 10 22 / .88) 0%, rgb(8 10 22 / .35) 50%, rgb(8 10 22 / 0) 75%); }
.bento .trip-card-body { position: relative; justify-content: flex-end; padding: 22px; }
.bento .trip-card-foot { margin-top: 0; }
.bento .trip-card-meta, .bento .trip-card-price { color: rgb(246 245 241 / .8); }
.bento .trip-card-price strong { color: #fff; }
.bento .trip-card-title { font-size: 1.45rem; }
.bento .is-large .trip-card-title { font-size: clamp(1.9rem, 3vw, 2.6rem); }
.bento .is-large .trip-card-body { padding: clamp(24px, 3vw, 36px); }
.bento .is-large { grid-column: span 2; grid-row: span 2; }
.bento-n4 .trip-card:last-child { grid-column: span 2; }
.bento-n3 .trip-card:not(.is-large) { grid-column: span 2; }
.bento-n2 .trip-card { grid-column: span 2; grid-row: span 2; }
.bento-n1 .trip-card { grid-column: 1 / -1; grid-row: span 2; }
@media (max-width: 900px) {
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: minmax(240px, auto); }
  .bento .trip-card, .bento .is-large, .bento-n4 .trip-card:last-child, .bento-n3 .trip-card:not(.is-large) { grid-column: span 1; grid-row: span 1; }
  .bento .is-large { grid-column: 1 / -1; min-height: 380px; }
}
@media (max-width: 560px) {
  .bento { grid-template-columns: 1fr; grid-auto-rows: minmax(300px, auto); }
  .bento .trip-card { grid-column: 1 / -1 !important; }
}

/* ---------- Destinations accordion (home) ---------- */
.accordion-gallery { display: flex; gap: 10px; height: clamp(440px, 46vw, 580px); }
.accordion-item {
  position: relative; flex: 1 1 0; min-width: 0; overflow: hidden; border-radius: var(--r-card);
  color: var(--photo-ink); text-decoration: none; background: #0b0e1a;
  transition: flex-grow .7s var(--ease);
}
.accordion-item img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.accordion-item::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgb(8 10 22 / .85), rgb(8 10 22 / .1) 60%); }
.accordion-text { position: absolute; z-index: 1; left: 0; right: 0; bottom: 0; padding: 22px 14px; display: grid; }
.accordion-name { font-family: var(--font-display); font-size: 1.15rem; font-weight: 600; line-height: 1.1; overflow-wrap: anywhere; }
.accordion-tagline, .accordion-count {
  opacity: 0; transform: translateY(8px); transition: opacity .4s var(--ease), transform .5s var(--ease);
  max-width: 34ch; color: rgb(246 245 241 / .86); max-height: 0; overflow: hidden;
}
.accordion-count { font-size: .85rem; font-weight: 600; letter-spacing: .02em; }
.accordion-item.is-active { flex-grow: 3.4; }
.accordion-item.is-active .accordion-text { padding: 26px 24px; gap: 6px; }
.accordion-item.is-active .accordion-name { font-size: clamp(1.8rem, 2.6vw, 2.4rem); }
.accordion-item.is-active .accordion-tagline, .accordion-item.is-active .accordion-count { opacity: 1; transform: none; transition-delay: .2s; max-height: 4em; }
.accordion-item.is-active img { transform: scale(1.04); }
@media (max-width: 860px) {
  .accordion-gallery {
    height: auto; display: grid; grid-auto-flow: column; grid-auto-columns: 78%; overflow-x: auto;
    scroll-snap-type: x mandatory; scrollbar-width: none; gap: 14px; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter);
  }
  .accordion-gallery::-webkit-scrollbar { display: none; }
  .accordion-item { aspect-ratio: 3 / 4; scroll-snap-align: center; }
  .accordion-item .accordion-name { font-size: 1.8rem; }
  .accordion-text { padding: 22px 20px; gap: 6px; }
  .accordion-tagline, .accordion-count { opacity: 1; transform: none; max-height: none; }
}

/* ---------- Guide split ---------- */
.split { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(40px, 7vw, 112px); align-items: center; }
.split-media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--r-card); }
.split-text .section-lead { margin-top: 18px; }
.promise-list { display: grid; gap: 22px; margin: 34px 0; }
.promise-list li { display: flex; gap: 16px; align-items: flex-start; }
.promise-list li > .icon { width: 44px; height: 44px; padding: 10px; border-radius: var(--r-pill); background: var(--accent-soft); color: var(--accent); }
.promise-list strong { display: block; font-weight: 600; margin-bottom: 2px; }
.promise-list span { color: var(--ink-2); }
@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; }
  .split-media img { aspect-ratio: 4 / 3; }
}

/* ---------- Compact trip list ---------- */
.compact-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.compact-card {
  position: relative; display: flex; gap: 18px; align-items: center; padding: 14px; padding-inline-end: 48px;
  border: 1px solid var(--line); border-radius: var(--r-card); text-decoration: none; background: var(--card);
  transition: border-color .25s, transform .4s var(--ease);
}
.compact-card:hover { border-color: var(--accent); transform: translateY(-2px); }
.compact-media { width: 112px; flex: none; }
.compact-media img { width: 112px; height: 112px; object-fit: cover; border-radius: 10px; }
.compact-body { display: grid; gap: 4px; }
.compact-cat { font-size: .8rem; color: var(--accent); font-weight: 600; }
.compact-title { font-family: var(--font-display); font-size: 1.4rem; line-height: 1.15; font-weight: 600; }
.compact-meta { font-size: .9rem; color: var(--ink-3); }
.compact-arrow { position: absolute; top: 16px; inset-inline-end: 16px; color: var(--ink-3); transition: transform .3s var(--ease), color .3s; }
.compact-card:hover .compact-arrow { color: var(--accent); transform: translate(2px, -2px); }
@media (max-width: 760px) {
  .compact-grid { grid-template-columns: 1fr; }
  .compact-media, .compact-media img { width: 88px; height: 88px; }
}

/* ---------- CTA band ---------- */
.cta-band { position: relative; isolation: isolate; overflow: hidden; color: var(--photo-ink); min-height: clamp(460px, 52vw, 620px); display: flex; align-items: center; background: #0b0e1a; }
.cta-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to right, rgb(8 10 22 / .85), rgb(8 10 22 / .35) 70%); }
.cta-content { padding-block: 72px; }
.cta-content h2 { font-family: var(--font-display); font-size: clamp(2.3rem, 4.6vw, 3.8rem); line-height: 1.05; max-width: 16ch; text-wrap: balance; }
.cta-content p { margin-top: 18px; max-width: 46ch; color: rgb(246 245 241 / .86); font-size: 1.1rem; }

/* ---------- Page heads and covers ---------- */
.page-head { padding-top: clamp(28px, 5vw, 56px); padding-bottom: clamp(8px, 2vw, 16px); }
.page-title { font-family: var(--font-display); font-weight: 500; font-size: clamp(2.6rem, 5.4vw, 4.4rem); line-height: 1.02; letter-spacing: -.015em; text-wrap: balance; margin-top: 18px; }
.page-lead { margin-top: 16px; font-size: 1.15rem; color: var(--ink-2); max-width: 60ch; }

.breadcrumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; font-size: .88rem; color: var(--ink-3); }
.breadcrumbs li { display: inline-flex; align-items: center; gap: 6px; }
.breadcrumbs a { text-decoration: none; }
.breadcrumbs a:hover { color: var(--ink); text-decoration: underline; }
.breadcrumbs .icon { width: 12px; height: 12px; opacity: .7; }
.breadcrumbs [aria-current] { color: var(--ink-2); }

.cover-hero { position: relative; isolation: isolate; overflow: hidden; min-height: clamp(440px, 72vh, 700px); display: flex; align-items: flex-end; color: var(--photo-ink); background: #0b0e1a; }
.cover-content { padding-top: calc(var(--header-h) + 40px); padding-bottom: clamp(36px, 6vw, 72px); }
.cover-hero .breadcrumbs ol, .cover-hero .breadcrumbs [aria-current] { color: rgb(246 245 241 / .78); }
.cover-hero .breadcrumbs a:hover { color: #fff; }
.cover-title { font-family: var(--font-display); font-weight: 500; font-size: clamp(2.6rem, 6vw, 5rem); line-height: 1.02; letter-spacing: -.015em; margin-top: 16px; max-width: 18ch; text-wrap: balance; }
.cover-hero.is-trip .cover-title { font-size: clamp(2.3rem, 4.8vw, 4rem); max-width: 22ch; }
.cover-sub { margin-top: 14px; font-size: 1.2rem; color: rgb(246 245 241 / .88); max-width: 48ch; }
.cover-facts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.cover-facts li, .cover-facts a {
  display: inline-flex; align-items: center; gap: 7px; padding: 7px 14px; border-radius: var(--r-pill);
  background: rgb(255 255 255 / .12); border: 1px solid rgb(255 255 255 / .22); font-size: .92rem; text-decoration: none;
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.cover-facts a { padding: 0; border: 0; background: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
.cover-facts .star.is-on { color: #fff; }

/* ---------- Destinations page ---------- */
.dest-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.dest-tile { position: relative; display: block; min-height: 380px; border-radius: var(--r-card); overflow: hidden; color: var(--photo-ink); text-decoration: none; background: #0b0e1a; }
.dest-tile.is-wide { grid-column: span 2; }
.dest-media { position: absolute; inset: 0; }
.dest-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.dest-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgb(8 10 22 / .85), rgb(8 10 22 / 0) 62%); }
.dest-tile:hover img { transform: scale(1.05); }
.dest-text { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px; display: grid; gap: 6px; }
.dest-name { font-family: var(--font-display); font-size: clamp(1.8rem, 2.6vw, 2.4rem); line-height: 1.05; font-weight: 600; }
.dest-tagline { color: rgb(246 245 241 / .86); max-width: 40ch; }
.dest-count { display: inline-flex; gap: 6px; align-items: center; font-weight: 600; font-size: .9rem; margin-top: 4px; }
.dest-count .icon { transition: transform .3s var(--ease); }
.dest-tile:hover .dest-count .icon { transform: translateX(4px); }
@media (max-width: 960px) { .dest-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .dest-grid { grid-template-columns: 1fr; } .dest-tile.is-wide { grid-column: auto; } .dest-tile { min-height: 320px; } }

.prose-wrap { max-width: 820px; }
.prose { display: grid; gap: 1.1em; color: var(--ink-2); }
.prose h2 { font-family: var(--font-display); color: var(--ink); font-size: 1.8rem; margin-top: .6em; }
.lead-prose p:first-child { font-family: var(--font-display); font-size: clamp(1.5rem, 2.4vw, 2rem); line-height: 1.3; color: var(--ink); }

.pill-scroller { display: flex; gap: 12px; overflow-x: auto; padding-bottom: 6px; scrollbar-width: thin; }
.dest-pill {
  display: inline-flex; align-items: center; gap: 12px; padding: 6px 20px 6px 6px; flex: none;
  border: 1px solid var(--line); border-radius: var(--r-pill); text-decoration: none; font-weight: 500; background: var(--card);
  transition: border-color .2s;
}
.dest-pill:hover { border-color: var(--accent); }
.dest-pill img { width: 48px; height: 48px; border-radius: var(--r-pill); object-fit: cover; }

/* ---------- Filters, empty states, pagination ---------- */
.filter-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.filter-chips a {
  display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: var(--r-pill);
  border: 1px solid var(--line); text-decoration: none; font-size: .93rem; font-weight: 500; background: var(--card);
  transition: border-color .2s, background-color .2s, color .2s;
}
.filter-chips a span { color: var(--ink-3); font-weight: 400; }
.filter-chips a:hover { border-color: var(--ink-3); }
.filter-chips a[aria-current="page"] { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.filter-chips a[aria-current="page"] span { color: inherit; opacity: .8; }

.empty-state {
  display: grid; justify-items: center; gap: 16px; text-align: center; padding: 64px 24px;
  border: 1px dashed var(--line); border-radius: var(--r-card); color: var(--ink-2);
}
.empty-state > .icon { width: 44px; height: 44px; color: var(--accent); }
.empty-state p { max-width: 46ch; }

.pagination { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin-top: 40px; }
.pagination a { min-width: 44px; height: 44px; display: inline-grid; place-items: center; padding: 0 12px; border-radius: var(--r-pill); border: 1px solid var(--line); text-decoration: none; }
.pagination a[aria-current="page"] { background: var(--accent); color: var(--on-accent); border-color: var(--accent); }

.custom-trip { display: flex; align-items: center; justify-content: space-between; gap: 24px 48px; flex-wrap: wrap; }
.custom-trip .section-title { font-size: clamp(1.9rem, 3.4vw, 2.8rem); }

/* ---------- Trip page ---------- */
.trip-layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: clamp(40px, 6vw, 80px); padding-block: clamp(48px, 6vw, 80px); align-items: start; }
.trip-section { padding-bottom: clamp(40px, 5vw, 56px); margin-bottom: clamp(40px, 5vw, 56px); border-bottom: 1px solid var(--line); }
.trip-section:last-child { border-bottom: 0; margin-bottom: 0; }
.trip-h2 { font-family: var(--font-display); font-size: clamp(2rem, 3vw, 2.5rem); line-height: 1.1; margin-bottom: 22px; }
.trip-summary { font-family: var(--font-display); font-size: clamp(1.4rem, 2.2vw, 1.75rem); line-height: 1.3; margin-bottom: 20px; }
.check-list { display: grid; gap: 14px; }
.check-list.two-col { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 32px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; }
.check-list .icon { color: var(--accent); width: 22px; height: 22px; margin-top: 2px; }

.timeline { position: relative; display: grid; gap: 28px; padding-inline-start: 34px; }
.timeline::before { content: ""; position: absolute; inset-inline-start: 8px; top: 10px; bottom: 10px; width: 1px; background: var(--line); }
.timeline li { position: relative; }
.timeline li::before {
  content: ""; position: absolute; inset-inline-start: -33px; top: 7px; width: 17px; height: 17px; border-radius: var(--r-pill);
  background: var(--bg); border: 2px solid var(--accent);
}
.timeline h3 { font-weight: 600; font-size: 1.08rem; margin-bottom: 4px; }
.timeline p { color: var(--ink-2); }

.incl-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.incl-col { padding: 26px; border-radius: var(--r-card); background: var(--card); border: 1px solid var(--line); }
.incl-col.is-in { background: var(--accent-soft); border-color: transparent; }
.incl-col h3 { font-weight: 600; margin-bottom: 16px; }
.incl-col ul { display: grid; gap: 12px; }
.incl-col li { display: flex; gap: 10px; align-items: flex-start; }
.incl-col li .icon { margin-top: 4px; }
.incl-col.is-in .icon { color: var(--accent); }
.incl-col.is-out .icon { color: var(--ink-3); }

.gallery-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.gallery-item { padding: 0; border: 0; border-radius: var(--r-card); overflow: hidden; cursor: zoom-in; background: var(--surface); aspect-ratio: 4 / 3; }
.gallery-grid.g-lead .gallery-item:first-child { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
.gallery-grid.g-cols-1 { grid-template-columns: 1fr; }
.gallery-grid.g-cols-1 .gallery-item { aspect-ratio: 16 / 9; }
.gallery-grid.g-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.gallery-item:hover img { transform: scale(1.04); }

.trip-rating { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }

.trip-aside { position: sticky; top: calc(var(--header-h) + 24px); }
.book-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-card); padding: 28px; box-shadow: var(--shadow); display: grid; gap: 18px; }
.book-price { display: grid; gap: 2px; }
.book-price strong { font-family: var(--font-display); font-size: 2.8rem; line-height: 1; font-weight: 600; }
.book-facts { display: grid; gap: 10px; padding-block: 16px; border-block: 1px solid var(--line); }
.book-facts li { display: flex; gap: 10px; align-items: center; color: var(--ink-2); }
.book-facts .icon { color: var(--accent); }
.book-note { display: flex; gap: 8px; align-items: center; font-size: .88rem; color: var(--ink-3); }

.mobile-book { display: none; }
@media (max-width: 1024px) {
  .trip-layout { grid-template-columns: 1fr; }
  .trip-aside { display: none; }
  .mobile-book {
    position: fixed; z-index: 40; left: 0; right: 0; bottom: 0; display: flex; align-items: center; justify-content: space-between; gap: 16px;
    padding: 12px var(--gutter) calc(12px + env(safe-area-inset-bottom)); background: color-mix(in srgb, var(--bg) 92%, transparent);
    -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); border-top: 1px solid var(--line);
    transition: transform .4s var(--ease);
  }
  .mobile-book strong { font-family: var(--font-display); font-size: 1.6rem; }
  body.is-trip { padding-bottom: 76px; }
  body.is-trip .wa-float { display: none; } /* the booking bar has its own WhatsApp button */
  .mobile-book-actions { display: flex; gap: 8px; }
  .mobile-book .btn { padding: 0 16px; }
}
@media (max-width: 480px) {
  .mobile-book-wa { width: 46px; padding: 0 !important; }
  .mobile-book-wa span { display: none; } /* icon only on small phones: the aria-label carries the text */
}
@media (max-width: 640px) {
  .check-list.two-col, .incl-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ---------- Reviews page ---------- */
.rating-summary { display: grid; grid-template-columns: auto minmax(0, 420px); justify-content: start; gap: 32px clamp(48px, 8vw, 120px); align-items: center; }
.rating-big { display: grid; gap: 8px; justify-items: start; }
.rating-number { font-family: var(--font-display); font-size: clamp(4.5rem, 9vw, 7rem); line-height: .9; font-weight: 600; color: var(--accent); }
.rating-dist { display: grid; gap: 8px; }
.rating-dist li { display: grid; grid-template-columns: 44px 1fr 36px; align-items: center; gap: 12px; font-size: .92rem; }
.dist-label { display: inline-flex; align-items: center; gap: 4px; }
.dist-label .icon { width: 14px; height: 14px; }
.dist-bar { height: 8px; border-radius: var(--r-pill); background: var(--accent); width: var(--w); min-width: 2px; }
.dist-count { color: var(--ink-3); text-align: end; }
@media (max-width: 700px) { .rating-summary { grid-template-columns: 1fr; } }

.shot-wall { columns: 4 220px; column-gap: 16px; }
.shot {
  position: relative; display: block; width: 100%; margin: 0 0 16px; padding: 0; border: 1px solid var(--line);
  border-radius: var(--r-card); overflow: hidden; background: var(--card); cursor: zoom-in; break-inside: avoid;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.shot:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.shot img { width: 100%; }
.shot-label { display: flex; align-items: center; gap: 8px; padding: 10px 14px; font-size: .88rem; font-weight: 500; text-align: start; }

/* ---------- About ---------- */
.about-split { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(40px, 7vw, 104px); align-items: start; }
.about-media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--r-card); position: sticky; top: calc(var(--header-h) + 24px); }
.about-text .page-title { margin-top: 0; }
.about-signature { margin-top: 12px; font-family: var(--font-display); font-style: italic; font-size: 1.4rem; color: var(--accent); padding-bottom: 2px; }
.about-text .prose { margin-top: 28px; font-size: 1.1rem; }
@media (max-width: 860px) { .about-split { grid-template-columns: 1fr; } .about-media img { aspect-ratio: 4 / 3; position: static; } }

.fact-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 24px; margin: 0; }
.fact-row div { display: flex; flex-direction: column-reverse; gap: 4px; padding-top: 18px; border-top: 1px solid var(--line); }
.fact-row dd { margin: 0; font-family: var(--font-display); font-size: clamp(2.6rem, 4.5vw, 3.6rem); line-height: 1; font-weight: 600; color: var(--accent); }
.fact-row dt { color: var(--ink-2); }

.values-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.value { position: relative; isolation: isolate; overflow: hidden; padding: clamp(26px, 3vw, 40px); border-radius: var(--r-card); background: var(--card); border: 1px solid var(--line); display: grid; gap: 10px; align-content: end; min-height: 260px; }
.value.is-wide { grid-column: span 2; }
.value > .icon { width: 30px; height: 30px; color: var(--accent); margin-bottom: 8px; }
.value h3 { font-family: var(--font-display); font-size: 1.75rem; line-height: 1.1; font-weight: 600; }
.value p { color: var(--ink-2); max-width: 46ch; }
.value:first-child { color: var(--photo-ink); border: 0; background: #0b0e1a url("../img/seed/texture-hieroglyphs-sm.webp") center / cover; }
.value:first-child::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgb(8 10 22 / .9), rgb(8 10 22 / .35)); }
.value:first-child p { color: rgb(246 245 241 / .85); }
.value:first-child > .icon { color: #fff; }
.value:last-child { background: var(--accent); color: var(--on-accent); border: 0; }
.value:last-child p, .value:last-child > .icon { color: inherit; opacity: .9; }
@media (max-width: 860px) { .values-grid { grid-template-columns: 1fr; } .value.is-wide { grid-column: auto; } }

/* ---------- Contact and forms ---------- */
.contact-layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: clamp(40px, 6vw, 88px); align-items: start; }
.aside-title { font-family: var(--font-display); font-size: 1.8rem; margin-bottom: 18px; }
.contact-list { display: grid; gap: 10px; margin-bottom: 20px; }
.contact-list a, .contact-static {
  display: flex; gap: 14px; align-items: flex-start; padding: 16px; border-radius: var(--r-card);
  border: 1px solid var(--line); background: var(--card); text-decoration: none; transition: border-color .2s;
}
.contact-list a:hover { border-color: var(--accent); }
.contact-list .icon { width: 24px; height: 24px; color: var(--accent); margin-top: 2px; }
.contact-list span span { display: grid; color: var(--ink-2); font-size: .95rem; word-break: break-word; }
.contact-list strong { color: var(--ink); font-weight: 600; }
@media (max-width: 900px) { .contact-layout { grid-template-columns: 1fr; } }

.inquiry-form { display: grid; gap: 20px; margin-top: 8px; }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 640px) { .field-row { grid-template-columns: 1fr; } }
.field { display: grid; gap: 8px; align-content: start; }
.field label { font-weight: 500; font-size: .95rem; }
.optional { color: var(--ink-3); font-weight: 400; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 12px 14px; border-radius: var(--r-input);
  border: 1px solid color-mix(in srgb, var(--ink-3) 55%, var(--line)); background: var(--card); color: var(--ink);
  font: inherit; font-size: 1rem; transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 25%, transparent); }
.field [aria-invalid="true"] { border-color: var(--danger); }
.field-help { font-size: .85rem; color: var(--ink-3); }
.field-error { font-size: .88rem; color: var(--danger); min-height: 0; }
.field-error:empty { display: none; }
.form-foot { display: flex; align-items: center; gap: 16px 24px; flex-wrap: wrap; }
.form-note { font-size: .88rem; color: var(--ink-3); max-width: 40ch; }
.form-status:empty { display: none; }
.form-status { padding: 14px 16px; border-radius: var(--r-input); background: var(--accent-soft); }
.form-status.is-error { background: color-mix(in srgb, var(--danger) 12%, transparent); color: var(--danger); }
.form-status.is-success { background: color-mix(in srgb, var(--success) 14%, transparent); color: var(--success); font-weight: 500; }
.inquiry-form.is-sending button[type="submit"] { opacity: .7; pointer-events: none; }
.hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.notice { display: flex; gap: 12px; align-items: flex-start; padding: 16px 18px; border-radius: var(--r-input); margin-bottom: 20px; }
.notice.is-success { background: color-mix(in srgb, var(--success) 14%, transparent); color: var(--success); }
.notice .icon { width: 22px; height: 22px; margin-top: 2px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--surface); border-top: 1px solid var(--line); padding-top: clamp(56px, 7vw, 88px); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; }
.footer-brand p { margin-top: 14px; color: var(--ink-2); max-width: 36ch; }
.socials { display: flex; gap: 8px; margin-top: 20px; }
.socials a { width: 42px; height: 42px; display: grid; place-items: center; border-radius: var(--r-pill); border: 1px solid var(--line); transition: border-color .2s, color .2s; }
.socials a:hover { border-color: var(--accent); color: var(--accent); }
.socials .icon { width: 20px; height: 20px; }
.footer-col { display: grid; gap: 10px; align-content: start; }
.footer-col h2 { font-family: var(--font-body); font-size: .95rem; font-weight: 600; margin-bottom: 6px; }
.footer-col a { display: inline-flex; align-items: center; gap: 8px; color: var(--ink-2); text-decoration: none; word-break: break-word; }
.footer-col a:hover { color: var(--ink); }
.footer-bottom { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 56px; padding-block: 24px; border-top: 1px solid var(--line); font-size: .88rem; color: var(--ink-3); }
.footer-bottom a { color: inherit; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }

/* ---------- Floating WhatsApp ---------- */
.wa-float {
  position: fixed; z-index: 45; inset-inline-end: 20px; bottom: calc(20px + env(safe-area-inset-bottom)); width: 58px; height: 58px;
  display: grid; place-items: center; border-radius: var(--r-pill); background: var(--wa); color: #fff;
  box-shadow: var(--shadow-lg); transition: transform .3s var(--ease);
}
.wa-float:hover { transform: translateY(-3px) scale(1.04); }
.wa-float .icon { width: 30px; height: 30px; }

/* ---------- Lightbox ---------- */
.lightbox { width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgb(6 8 16 / .94); color: #fff; }
.lightbox::backdrop { background: rgb(6 8 16 / .6); }
.lightbox[open] { display: grid; place-items: center; }
.lightbox figure { margin: 0; padding: 64px 72px; display: grid; gap: 12px; justify-items: center; max-height: 100dvh; }
.lightbox img { max-width: min(1200px, 100%); max-height: calc(100dvh - 160px); width: auto; height: auto; object-fit: contain; border-radius: 8px; }
.lightbox figcaption { font-size: .92rem; color: rgb(255 255 255 / .75); text-align: center; }
.lightbox-close, .lightbox-nav {
  position: absolute; width: 48px; height: 48px; border-radius: var(--r-pill); display: grid; place-items: center;
  border: 1px solid rgb(255 255 255 / .25); background: rgb(255 255 255 / .08); color: #fff; cursor: pointer;
}
.lightbox-close { top: 16px; inset-inline-end: 16px; }
.lightbox-nav { top: 50%; transform: translateY(-50%); }
.lightbox-nav.prev { inset-inline-start: 16px; }
.lightbox-nav.next { inset-inline-end: 16px; }
.lightbox-nav[hidden] { display: none; }
@media (max-width: 640px) { .lightbox figure { padding: 72px 12px; } .lightbox-nav { top: auto; bottom: 16px; transform: none; } }

.not-found { text-align: center; padding-top: calc(var(--header-h) + 64px); }
.not-found .container { display: grid; justify-items: center; }
.not-found .page-lead { margin-inline: auto; }
.not-found .hero-ctas { justify-content: center; }

/* ---------- Motion (only with JS, honours reduced motion) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
  .js [data-reveal].is-in { opacity: 1; transform: none; }
  .hero-img { animation: hero-settle 2.2s var(--ease) both; }
  .hero-title, .hero-sub, .hero-content .hero-ctas { animation: hero-rise 1.1s var(--ease) both; }
  .hero-sub { animation-delay: .15s; }
  .hero-content .hero-ctas { animation-delay: .3s; }
}
@keyframes hero-settle { from { transform: scale(1.08); } to { transform: scale(1); } }
@keyframes hero-rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* ---------- Language switcher ---------- */
.lang-switch { position: relative; }
.lang-switch summary {
  list-style: none; display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 10px 0 12px;
  border: 1px solid transparent; border-radius: var(--r-pill); cursor: pointer; user-select: none;
  font-size: .82rem; font-weight: 600; letter-spacing: .06em; color: var(--ink-2);
  transition: background-color .2s, border-color .2s, color .2s;
}
.lang-switch summary::-webkit-details-marker { display: none; }
.lang-switch summary .icon { width: 18px; height: 18px; }
.lang-switch summary .lang-caret { width: 12px; height: 12px; opacity: .7; transition: transform .25s var(--ease); }
.lang-switch[open] .lang-caret { transform: rotate(180deg); }
.lang-switch summary:hover, .lang-switch[open] summary { background: var(--surface); border-color: var(--line); color: var(--ink); }
.lang-switch summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.lang-menu {
  position: absolute; z-index: 5; top: calc(100% + 10px); inset-inline-end: 0; width: 232px; padding: 8px;
  background: var(--card); color: var(--ink); border: 1px solid var(--line); border-radius: var(--r-card); box-shadow: var(--shadow-lg);
  transform-origin: top right;
}
[dir="rtl"] .lang-menu { transform-origin: top left; }
.lang-switch[open] .lang-menu { animation: lang-pop .22s var(--ease) both; }
@keyframes lang-pop { from { opacity: 0; transform: translateY(-6px) scale(.97); } to { opacity: 1; transform: none; } }
.lang-menu-label { margin: 4px 12px 6px; font-size: .7rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
.lang-menu ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.lang-menu a {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 9px 10px 9px 12px;
  border-radius: 10px; text-decoration: none; color: var(--ink); font-size: .95rem; line-height: 1.25;
  transition: background-color .15s, color .15s;
}
.lang-menu a:hover, .lang-menu a:focus-visible { background: var(--surface); outline: none; }
.lang-menu a[aria-current] { background: color-mix(in srgb, var(--accent) 10%, transparent); color: var(--accent); font-weight: 600; }
.lang-code { font-size: .72rem; font-weight: 600; letter-spacing: .08em; color: var(--ink-3); }
.lang-check { width: 16px; height: 16px; flex: none; }
body:is(.is-home, .is-trip, .is-destination) .site-header:not(.is-solid):not(.menu-open) .lang-switch summary { color: rgb(246 245 241 / .92); }
body:is(.is-home, .is-trip, .is-destination) .site-header:not(.is-solid):not(.menu-open) .lang-switch summary:hover,
body:is(.is-home, .is-trip, .is-destination) .site-header:not(.is-solid):not(.menu-open) .lang-switch[open] summary {
  background: rgb(255 255 255 / .14); border-color: rgb(255 255 255 / .24); color: #fff;
}

/* ---------- Scripts: Arabic and Chinese typography ---------- */
:root:lang(ar) {
  --font-display: "Amiri", "Cormorant", serif;
  --font-body: "Noto Sans Arabic", "Geist", ui-sans-serif, system-ui, sans-serif;
}
:root:lang(zh) {
  --font-display: "Cormorant", "Noto Serif SC", "Songti SC", "STSong", "SimSun", serif;
  --font-body: "Geist", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", ui-sans-serif, system-ui, sans-serif;
}
:lang(ar) body { line-height: 1.85; }
:lang(ar) *, :lang(zh) * { letter-spacing: normal !important; }
:lang(ar) :is(.hero-title, .page-title, .cover-title, .section-title, .cta-content h2, .trip-h2, .trip-card-title, .dest-name, .accordion-name, .compact-title) { line-height: 1.4; }
:lang(zh) :is(.hero-title, .page-title, .cover-title, .section-title, .cta-content h2, .trip-h2, .trip-card-title, .dest-name, .accordion-name, .compact-title) { line-height: 1.3; font-weight: 600; }
:lang(ar) :is(.spotlight-quote blockquote p, .about-signature), :lang(zh) :is(.spotlight-quote blockquote p, .about-signature) { font-style: normal; }
:lang(ar) .hero-title { font-size: clamp(2.6rem, 5.6vw, 4.8rem); }
:lang(zh) .hero-title { font-size: clamp(2.4rem, 5vw, 4.4rem); }
:lang(ar) .eyebrow, :lang(zh) .eyebrow { text-transform: none; font-size: .9rem; }

/* ---------- Right-to-left ---------- */
/* Directional icons point the reading way */
[dir="rtl"] :is(.dir-icon, .link-arrow .icon, .dest-count .icon, .compact-arrow, .carousel-buttons .icon, .lightbox-nav .icon) { transform: scaleX(-1); }
[dir="rtl"] .link-arrow:hover .icon, [dir="rtl"] .dest-tile:hover .dest-count .icon { transform: scaleX(-1) translateX(4px); }
[dir="rtl"] .compact-card:hover .compact-arrow { transform: scaleX(-1) translate(2px, -2px); }
/* Hero and closing band: mirror the photo so the subject stays opposite the text */
[dir="rtl"] .hero-media, [dir="rtl"] .cta-media { transform: scaleX(-1); }
[dir="rtl"] .cover-media::after {
  background:
    linear-gradient(to top, rgb(8 10 22 / .82) 0%, rgb(8 10 22 / .45) 38%, rgb(8 10 22 / 0) 68%),
    linear-gradient(to left, rgb(8 10 22 / .45) 0%, rgb(8 10 22 / 0) 60%),
    linear-gradient(to bottom, rgb(8 10 22 / .45) 0%, rgb(8 10 22 / 0) 22%);
}
[dir="rtl"] .proof-shot-1 { transform: rotate(5deg); }
[dir="rtl"] .proof-shot-2 { transform: rotate(-4deg); }
[dir="rtl"] .proof-shot-3 { transform: rotate(1deg); }
[dir="rtl"] .proof-shot:is(:hover, :focus-visible) { transform: rotate(0) translateY(-6px) scale(1.03); }
