/* ==========================================================================
   123RedSea — stylesheet
   Design source: DESIGN.md (awwwards-only brief). Two colours + one accent,
   Fraunces / DM Sans / Azeret Mono / Bebas Neue, fluid type, reduced-motion
   safe. No build step.
   ========================================================================== */

/* 1. Tokens ------------------------------------------------------------- */
:root {
  color-scheme: light;
  /* base pair */
  --bone: #FAF7F2;
  --bone-2: #F3EADC;
  --abyss: #013A63;
  --abyss-2: #0A4B7A;
  /* single accent */
  --oxide: #D0402D;
  --oxide-ink: #B3341F;
  /* supporting */
  --reef: #00A8C6;
  --reef-ink: #00718A;
  --dune: #EEDFCB;
  /* semantic */
  --bg: var(--bone);
  --bg-elev: #FFFFFF;
  --bg-alt: var(--bone-2);
  --fg: var(--abyss);
  --fg-muted: #45596B;
  --line: rgba(1, 58, 99, .16);
  --line-strong: rgba(1, 58, 99, .4);
  --accent: var(--oxide);
  --accent-fg: #FFFFFF;
  --accent-ink: var(--oxide-ink);
  --focus: #1E5EFF;
  --ink-on-photo: #FFFFFF;
  --shadow-panel: 0 30px 60px -30px rgba(1, 58, 99, .35);
  --shadow-card: 0 12px 30px -18px rgba(1, 58, 99, .35);

  --radius-pill: 999px;
  --radius-card: 20px;
  --radius-panel: 28px;

  /* type scale (DESIGN.md §2) */
  --ff-display: "Outfit", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ff-body: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ff-mono: "Azeret Mono", ui-monospace, Menlo, monospace;
  --ff-caps: "Outfit", system-ui, sans-serif;
  --fs-hero:  clamp(2.75rem, 1.2rem + 6.5vw, 7rem);
  --fs-h1:    clamp(2.25rem, 1.1rem + 4.5vw, 4.75rem);
  --fs-h2:    clamp(1.75rem, 1rem + 2.8vw, 3rem);
  --fs-h3:    clamp(1.25rem, 1rem + 1vw, 1.75rem);
  --fs-lead:  clamp(1.125rem, 1rem + 0.5vw, 1.375rem);
  --fs-body:  clamp(1rem, 0.95rem + 0.2vw, 1.0625rem);
  --fs-small: 0.875rem;
  --fs-label: 0.6875rem;
  --lh-tight: 1.0; --lh-snug: 1.2; --lh-body: 1.55;
  --ls-display: -0.02em; --ls-label: 0.08em; --ls-caps: 0.14em;

  /* layout */
  --container: 1440px;
  --gutter: clamp(16px, 3vw, 40px);
  --section: clamp(72px, 10vw, 160px);
  --header-h: 76px;
  --overlap: clamp(56px, 8vw, 120px);

  /* motion */
  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --dur: .5s;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --bg: #01192C; --bg-elev: #013A63; --bg-alt: #02243F;
    --fg: #FAF7F2; --fg-muted: #B7C1C8;
    --line: rgba(250, 247, 242, .16); --line-strong: rgba(250, 247, 242, .45);
    --accent: #D0402D; --accent-fg: #FFFFFF; --accent-ink: #F2836F;
    --reef-ink: #7ED1E6;
    --shadow-panel: 0 30px 60px -30px rgba(0, 0, 0, .6);
    --shadow-card: 0 12px 30px -18px rgba(0, 0, 0, .6);
  }
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #01192C; --bg-elev: #013A63; --bg-alt: #02243F;
  --fg: #FAF7F2; --fg-muted: #B7C1C8;
  --line: rgba(250, 247, 242, .16); --line-strong: rgba(250, 247, 242, .45);
  --accent: #D0402D; --accent-fg: #FFFFFF; --accent-ink: #F2836F;
  --reef-ink: #7ED1E6;
  --shadow-panel: 0 30px 60px -30px rgba(0, 0, 0, .6);
  --shadow-card: 0 12px 30px -18px rgba(0, 0, 0, .6);
}

/* 2. 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;
  font-family: var(--ff-body);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  background: var(--bg);
  color: var(--fg);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  font-optical-sizing: auto;
}
img, svg, video, canvas { display: block; max-width: 100%; }
img { height: auto; }
button, input, select, textarea { font: inherit; color: inherit; letter-spacing: inherit; }
button { cursor: pointer; }
a { color: inherit; text-underline-offset: .15em; text-decoration-thickness: 1px; }
p { margin: 0 0 1em; max-width: 68ch; }
h1, h2, h3, h4 { margin: 0; font-weight: 300; }
ul, ol { margin: 0; padding: 0; }
hr { border: 0; border-top: 1px solid var(--line); margin: 0; }
address { font-style: normal; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; border-radius: 4px; }
::selection { background: var(--accent); color: var(--accent-fg); }
@view-transition { navigation: auto; }

[hidden] { display: none !important; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; top: 8px; left: 8px; z-index: 200; padding: .6rem 1rem; background: var(--fg); color: var(--bg); border-radius: var(--radius-pill); transform: translateY(-200%); transition: transform .2s; }
.skip-link:focus { transform: none; }

/* 3. Typography ---------------------------------------------------------- */
.display, h1, h2, h3, .h1, .h2, .h3 {
  font-family: var(--ff-display);
  font-weight: 500;
  letter-spacing: var(--ls-display);
  line-height: 1.04;
  font-variation-settings: "SOFT" 30, "WONK" 0;
  text-wrap: balance;
}
h1, .h1 { font-size: var(--fs-h1); }
h2, .h2 { font-size: var(--fs-h2); }
h3, .h3 { font-size: var(--fs-h3); letter-spacing: -0.01em; line-height: 1.15; }
.display--hero { font-size: var(--fs-hero); line-height: .98; }
.display em, h1 em, h2 em, h3 em, .h1 em, .h2 em { font-style: normal; color: var(--reef-ink); }
.lead { font-size: var(--fs-lead); line-height: 1.4; color: var(--fg-muted); max-width: 44ch; }
.muted { color: var(--fg-muted); }
.mono, .kicker, .price, .meta { font-family: var(--ff-mono); font-weight: 500; font-variant-numeric: tabular-nums; }
.kicker { font-size: var(--fs-label); text-transform: uppercase; letter-spacing: var(--ls-label); color: var(--fg-muted); display: inline-flex; align-items: center; gap: .5em; }
.kicker::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.kicker--plain::before { display: none; }
.meta { font-size: var(--fs-label); text-transform: uppercase; letter-spacing: var(--ls-label); color: var(--fg-muted); }
.price { font-weight: 600; letter-spacing: -0.01em; }
.caps { font-family: var(--ff-caps); text-transform: uppercase; letter-spacing: .02em; line-height: .9; }
.small { font-size: var(--fs-small); }
.measure { max-width: 62ch; }
strong { font-weight: 600; }

/* 4. Layout -------------------------------------------------------------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); }
.section--tight { padding-block: calc(var(--section) * .6); }
.section--alt { background: var(--bg-alt); }
.section--ink { background: var(--abyss); color: var(--bone); }
.section-head { display: grid; gap: 1rem; margin-bottom: clamp(32px, 4vw, 56px); align-items: end; }
@media (min-width: 900px) { .section-head { grid-template-columns: 1fr auto; } }
.section-head .lead { margin-top: .75rem; }
.grid { display: grid; gap: clamp(16px, 2vw, 28px); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1000px) { .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; } }
.page { position: relative; z-index: 1; background: var(--bg); }
.stack > * + * { margin-top: var(--stack, 1rem); }
.cluster { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; }
.flow > * + * { margin-top: 1em; }

/* 5. Buttons ------------------------------------------------------------- */
.btn {
  --btn-bg: transparent; --btn-fg: currentColor; --btn-bd: currentColor;
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  padding: .85em 1.4em; min-height: 44px;
  border-radius: var(--radius-pill); border: 1px solid var(--btn-bd);
  background: var(--btn-bg); color: var(--btn-fg);
  font-weight: 500; font-size: .9375rem; line-height: 1; text-decoration: none; white-space: nowrap;
  transition: background var(--dur) var(--ease-out), color var(--dur) var(--ease-out), border-color var(--dur) var(--ease-out), transform .25s var(--ease-out);
  will-change: transform;
}
.btn--primary { --btn-bg: var(--accent); --btn-fg: var(--accent-fg); --btn-bd: transparent; }
.btn--primary:hover { --btn-bg: var(--accent-ink); }
:root[data-theme="dark"] .btn--primary:hover, :root:not([data-theme="light"]) .btn--primary:hover { --btn-bg: #E77A45; }
.btn--ink { --btn-bg: var(--fg); --btn-fg: var(--bg); --btn-bd: transparent; }
.btn--ink:hover { --btn-bg: var(--abyss-2); }
.btn--secondary:hover { --btn-bg: var(--fg); --btn-fg: var(--bg); }
.btn--ghost { --btn-bd: transparent; padding-inline: .9em; }
.btn--ghost:hover { --btn-bg: var(--line); }
.btn--sm { padding: .55em 1em; min-height: 36px; font-size: .875rem; }
.btn--lg { padding: 1.05em 1.8em; font-size: 1.0625rem; }
.btn--block { width: 100%; }
.btn--light { --btn-fg: var(--ink-on-photo); --btn-bd: var(--ink-on-photo); }
.btn--light:hover { --btn-bg: var(--ink-on-photo); --btn-fg: var(--abyss); }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .5; cursor: not-allowed; }
.btn__arrow { display: inline-block; transition: transform .3s var(--ease-out); }
.btn:hover .btn__arrow { transform: translateX(4px); }
.icon-btn { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-strong); background: transparent; color: inherit; transition: background var(--dur), border-color var(--dur); }
.icon-btn:hover { background: var(--line); }
.icon-btn svg { width: 20px; height: 20px; }
.link { text-decoration: underline; text-underline-offset: .2em; }
.link-arrow { display: inline-flex; gap: .4em; align-items: center; font-weight: 500; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: .1em; }
.link-arrow:hover .btn__arrow { transform: translateX(4px); }

/* 6. Header -------------------------------------------------------------- */
.site-header {
  position: fixed; top: 0; inset-inline: 0; z-index: 60;
  transition: transform .45s var(--ease-out), background .35s, color .35s, box-shadow .35s;
}
.site-header.is-hidden { transform: translateY(-105%); }
.site-header.is-scrolled { background: color-mix(in srgb, var(--bg) 78%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--line); }
.site-header--over-photo:not(.is-scrolled) { color: var(--ink-on-photo); }
.site-header__inner { display: flex; align-items: center; gap: clamp(12px, 2vw, 32px); height: var(--header-h); }
.wordmark { font-family: var(--ff-display); font-size: 1.5rem; font-weight: 400; letter-spacing: -0.02em; text-decoration: none; line-height: 1; white-space: nowrap; font-variation-settings: "SOFT" 40, "WONK" 0; }
.wordmark em { font-style: italic; font-variation-settings: "SOFT" 80, "WONK" 1; }
/* 123RedSea logo: concept 3 mark + wordmark, tagline underneath */
.logo { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; color: inherit; line-height: 1; }
.logo__mark { width: 52px; height: auto; flex: none; }
.logo__text { display: grid; gap: .3rem; }
.logo__name { font-family: var(--ff-display); font-weight: 600; font-size: 1.5rem; letter-spacing: -0.02em; }
.logo__tag { font-family: var(--ff-display); font-weight: 400; font-size: .5625rem; letter-spacing: .32em; text-transform: uppercase; }
.logo--stack { flex-direction: column; gap: .5rem; text-align: center; }
.logo--stack .logo__mark { width: clamp(120px, 14vw, 200px); }
.logo--stack .logo__text { justify-items: center; gap: .9rem; }
.logo--stack .logo__name { font-size: clamp(2.75rem, 7vw, 5.5rem); }
.logo--stack .logo__tag { font-size: clamp(.75rem, 1vw, .9375rem); letter-spacing: .42em; padding-left: .42em; }
.site-footer__logo { display: flex; justify-content: center; padding: clamp(24px, 4vw, 56px) 0; }
.site-header--over-photo:not(.is-scrolled) .logo { color: #fff; text-shadow: 0 1px 12px rgba(1, 58, 99, .5); }
@media (max-width: 520px) { .site-header .logo__tag { display: none; } .site-header .logo__mark { width: 40px; } .site-header .theme-toggle { display: none; } }
.wordmark--xl { font-size: clamp(3.5rem, 15vw, 15rem); letter-spacing: -0.04em; font-weight: 300; }
.nav { display: flex; gap: clamp(14px, 2vw, 28px); margin-inline: auto; }
.nav a { font-size: .8125rem; font-weight: 500; text-transform: uppercase; letter-spacing: var(--ls-caps); text-decoration: none; padding: .5rem 0; position: relative; }
.site-header--over-photo:not(.is-scrolled) .nav a, .site-header--over-photo:not(.is-scrolled) .wordmark { text-shadow: 0 1px 12px rgba(1, 58, 99, .5); }
.nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: .2rem; height: 1px; background: currentColor; transition: right .3s var(--ease-out); }
.nav a:hover::after, .nav a[aria-current="page"]::after { right: 0; }
.header-utils { display: flex; align-items: center; gap: .5rem; margin-left: auto; }
.theme-toggle { position: relative; }
.theme-toggle svg { position: absolute; transition: opacity .3s, transform .4s var(--ease-out); }
.theme-toggle .ico-sun { opacity: 1; transform: rotate(0); }
.theme-toggle .ico-moon { opacity: 0; transform: rotate(-60deg); }
:root[data-theme="dark"] .theme-toggle .ico-sun { opacity: 0; transform: rotate(60deg); }
:root[data-theme="dark"] .theme-toggle .ico-moon { opacity: 1; transform: rotate(0); }
.menu-btn { display: none; }
@media (max-width: 900px) {
  .nav { display: none; }
  .menu-btn { display: inline-flex; }
  .site-header .btn--book span.long { display: none; }
}

/* overlay menu */
.menu-overlay { position: fixed; inset: 0; z-index: 70; background: var(--bg); color: var(--fg); display: grid; grid-template-rows: auto 1fr auto; padding: 0 var(--gutter) var(--gutter); transform: translateY(-100%); visibility: hidden; transition: transform .55s var(--ease-out), visibility 0s .55s; }
.menu-overlay[data-open="true"] { transform: none; visibility: visible; transition: transform .55s var(--ease-out), visibility 0s; }
.menu-overlay__bar { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); }
.menu-overlay__links { display: grid; align-content: center; gap: .25rem; }
.menu-overlay__links a { font-family: var(--ff-display); font-size: var(--fs-h1); font-weight: 300; letter-spacing: var(--ls-display); text-decoration: none; padding: .15em 0; display: flex; align-items: baseline; gap: .5em; }
.menu-overlay__links a .n { font-family: var(--ff-mono); font-size: var(--fs-label); color: var(--fg-muted); }
.menu-overlay__foot { display: grid; gap: .75rem; border-top: 1px solid var(--line); padding-top: 1.25rem; }
body[data-menu-open="true"] { overflow: hidden; }

/* 7. Hero (home) --------------------------------------------------------- */
.hero { position: relative; min-height: 100svh; display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: 1fr auto; isolation: isolate; color: var(--ink-on-photo); }
.hero__media { position: absolute; inset: 0; z-index: -1; overflow: hidden; background: var(--abyss); }
/* One shared grade for every photo on the site (DESIGN.md §3: warm shadows,
   lifted blacks, cyan pulled back). Applied as a CSS "LUT" because the
   prototype hot-links its frames; production self-hosts graded exports. */
.hero__media img, .card-tour__media img, .why__photo img, .dest img, .gallery img, .summary__photo img {
  filter: saturate(.78) contrast(.94) brightness(1.03) sepia(.16) hue-rotate(-6deg);
}
.hero__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 60%; transition: opacity 1.2s ease; transform-origin: center; }
.hero__media .hero__img--dusk { opacity: 0; }
:root[data-theme="dark"] .hero__media .hero__img--day { opacity: 0; }
:root[data-theme="dark"] .hero__media .hero__img--dusk { opacity: 1; }
/* stronger top band so the nav and the destination word sit on a 30%+ darkened
   sky, not on bare cloud (DESIGN.md §8.4) */
.hero__scrim { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(1,58,99,.72) 0%, rgba(1,58,99,.34) 28%, rgba(1,58,99,0) 50%, rgba(1,58,99,0) 62%, rgba(1,58,99,.55) 100%); pointer-events: none; }
.hero__top { position: relative; display: grid; padding-top: calc(var(--header-h) + clamp(16px, 3vw, 40px)); padding-bottom: clamp(24px, 4vw, 56px); }
/* the word is anchored to the empty sky band top-left, under the header scrim,
   and sized so it never crosses the photo's subject band */
.hero__word-wrap { display: flex; flex-direction: column; align-items: flex-start; justify-content: space-between; gap: 1.5rem; min-height: 100%; }
.hero__word { font-family: var(--ff-caps); font-size: clamp(3.5rem, 10vw, 11rem); line-height: .82; letter-spacing: .02em; text-transform: uppercase; opacity: .9; margin-left: -.04em; user-select: none; text-shadow: 0 0 60px rgba(1,58,99,.6), 0 2px 24px rgba(1,58,99,.35); }
.hero__ctas { display: flex; flex-wrap: wrap; gap: .75rem; justify-content: flex-end; align-self: flex-end; }
.hero__bottom { position: relative; display: grid; grid-template-columns: 1fr; align-items: end; grid-row: 2; margin-top: calc(var(--header-h) + 18svh); }
.hero__panel { background: var(--bg-elev); color: var(--fg); border-radius: var(--radius-panel) var(--radius-panel) 0 0; padding: clamp(24px, 3.5vw, 48px); margin-bottom: calc(-1 * var(--overlap)); box-shadow: var(--shadow-panel); display: grid; gap: clamp(24px, 3vw, 48px); }
@media (min-width: 1000px) { .hero__panel { grid-template-columns: 1.05fr 1fr; } }
.hero__intro h1 { margin-top: 0; }
.hero__intro .lead { margin-top: 1.25rem; }
.hero__meta { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-top: clamp(20px, 2.5vw, 36px); max-width: 520px; }
.hero__meta p { font-size: var(--fs-small); color: var(--fg-muted); margin: .35rem 0 0; }
@media (max-width: 560px) { .hero__meta { grid-template-columns: 1fr; gap: .75rem; } }
.scroll-cue { display: inline-flex; align-items: center; gap: .6rem; font-family: var(--ff-mono); font-size: var(--fs-label); text-transform: uppercase; letter-spacing: var(--ls-label); }
.scroll-cue__ring { width: 36px; height: 36px; border-radius: 50%; border: 1px solid currentColor; display: grid; place-items: center; }
.scroll-cue__ring svg { width: 14px; height: 14px; animation: cue 1.8s ease-in-out infinite; }
@keyframes cue { 0%, 100% { transform: translateY(-2px); } 50% { transform: translateY(3px); } }
.after-hero { padding-top: calc(var(--overlap) + 40px); padding-bottom: calc(var(--section) * .3); }

/* compact page hero */
.page-hero { padding-top: calc(var(--header-h) + var(--section) * .55); padding-bottom: calc(var(--section) * .5); }
.page-hero h1 { margin-top: .75rem; }
.page-hero .lead { margin-top: 1rem; }

/* 8. Quote widget -------------------------------------------------------- */
.quote { display: grid; gap: 1.25rem; align-content: start; }
.quote__head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; }
.seg { display: inline-flex; border: 1px solid var(--line-strong); border-radius: var(--radius-pill); padding: 3px; gap: 2px; }
.seg label { position: relative; }
.seg input { position: absolute; inset: 0; opacity: 0; margin: 0; }
.seg span { display: inline-block; padding: .4rem .9rem; border-radius: var(--radius-pill); font-size: .8125rem; font-weight: 500; transition: background var(--dur), color var(--dur); }
.seg input:checked + span { background: var(--fg); color: var(--bg); }
.seg input:focus-visible + span { outline: 2px solid var(--focus); outline-offset: 2px; }
.quote__fields { display: grid; gap: 1rem 1.5rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.quote__fields .field--wide { grid-column: 1 / -1; }
@media (min-width: 560px) { .quote__fields { grid-template-columns: repeat(4, minmax(0, 1fr)); } .quote__fields .field--half { grid-column: span 2; } }
@media (max-width: 559px) { .quote__fields .field--half { grid-column: 1 / -1; } }
.field { display: grid; gap: .3rem; border-bottom: 1px solid var(--line-strong); padding-bottom: .45rem; transition: border-color .25s; min-width: 0; }
.field--invalid { border-color: var(--accent-ink); }
.field__label { font-family: var(--ff-mono); font-size: var(--fs-label); text-transform: uppercase; letter-spacing: var(--ls-label); color: var(--fg-muted); font-weight: 500; }
.field input, .field select, .field textarea { width: 100%; border: 0; background: transparent; padding: .3rem 0; font-size: 1.0625rem; line-height: 1.3; border-radius: 0; min-width: 0; }
.field select { appearance: none; -webkit-appearance: none; background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%); background-position: calc(100% - 12px) 55%, calc(100% - 7px) 55%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 22px; cursor: pointer; }
.field :is(input, select, textarea):focus:not(:focus-visible) { outline: none; }
.field :is(input, select, textarea):focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 4px; }
.field:focus-within { border-bottom: 2px solid var(--focus); padding-bottom: calc(.45rem - 1px); }
.field input::placeholder, .field textarea::placeholder { color: var(--fg-muted); opacity: .7; }
.field textarea { resize: vertical; min-height: 80px; }
.field__hint { font-size: .8125rem; color: var(--fg-muted); }
.field__error { font-size: .8125rem; color: var(--accent-ink); font-weight: 500; }
.field input::-webkit-calendar-picker-indicator { opacity: .7; cursor: pointer; }
:root[data-theme="dark"] .field input::-webkit-calendar-picker-indicator { filter: invert(1); }
.stepper { display: flex; align-items: center; gap: .25rem; }
.stepper__btn { width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--line-strong); background: transparent; display: grid; place-items: center; font-size: 1rem; line-height: 1; transition: background var(--dur); }
.stepper__btn:hover { background: var(--line); }
.stepper__value { font-family: var(--ff-mono); font-weight: 500; font-variant-numeric: tabular-nums; min-width: 2.2ch; text-align: center; font-size: 1.0625rem; overflow: hidden; height: 1.4em; position: relative; }
.stepper__value span { display: block; }
.stepper__value.is-rolling span { animation: roll .24s var(--ease-out); }
@keyframes roll { from { transform: translateY(70%); opacity: 0; } to { transform: none; opacity: 1; } }
.stepper input { position: absolute; width: 1px; height: 1px; opacity: 0; }

.sentence { font-family: var(--ff-display); font-size: clamp(1.35rem, 1rem + 1.4vw, 2rem); line-height: 1.5; font-weight: 300; letter-spacing: -0.01em; }
.sentence .chip-sel { display: inline-block; position: relative; vertical-align: baseline; margin: 0 .1em; white-space: nowrap; }
.sentence .chip-sel select { field-sizing: content; }
.sentence .chip-sel select, .sentence .chip-btn { font: inherit; font-weight: 500; font-style: normal; font-variation-settings: "SOFT" 70, "WONK" 1; border: 0; border-bottom: 2px solid var(--accent); background: transparent; padding: 0 .1em; border-radius: 0; color: inherit; appearance: none; -webkit-appearance: none; cursor: pointer; max-width: 100%; line-height: inherit; }
.sentence .chip-sel select:focus-visible, .sentence .chip-btn:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 4px; }
/* the real date/time inputs stay in the DOM for the picker and the form state, but out of sight */
.sentence .chip-hidden { position: absolute; left: 0; bottom: 0; width: 1px; height: 1px; opacity: 0; pointer-events: none; border: 0; padding: 0; margin: 0; }
.sentence .chip-hidden::-webkit-calendar-picker-indicator { display: none; }
.sentence .chip-sel option { font-family: var(--ff-body); font-style: normal; font-size: 1rem; color: var(--abyss); background: #fff; }

.quote__result { display: grid; gap: .5rem; }
.quote__price-line { font-family: var(--ff-mono); font-size: var(--fs-label); letter-spacing: var(--ls-label); text-transform: uppercase; color: var(--fg-muted); display: flex; flex-wrap: wrap; gap: .4rem 1rem; min-height: 1.4em; }
.quote__price-line b { color: var(--fg); font-weight: 500; }
.quote__price-line .warn { color: var(--accent-ink); text-transform: none; letter-spacing: 0; font-family: var(--ff-body); font-size: var(--fs-small); }
.quote__cta .amt { font-family: var(--ff-mono); font-weight: 600; font-variant-numeric: tabular-nums; transition: transform .3s var(--ease-out); display: inline-block; }
.quote__cta.is-bump .amt { animation: bump .4s var(--ease-out); }
@keyframes bump { 0% { transform: scale(1); } 40% { transform: scale(1.12); } 100% { transform: scale(1); } }
.quote__extras { display: flex; flex-wrap: wrap; gap: .75rem 1.5rem; align-items: center; }
.check { display: inline-flex; align-items: center; gap: .5rem; font-size: var(--fs-small); cursor: pointer; }
.check input { width: 18px; height: 18px; accent-color: var(--accent); margin: 0; }
.quote__map { border-radius: var(--radius-card); overflow: hidden; background: var(--bg-alt); aspect-ratio: 16 / 7; }
.quote__map svg { width: 100%; height: 100%; }
.quote__map--all { aspect-ratio: 4 / 3; }
@media (max-width: 700px) { .quote__map--all { aspect-ratio: 3 / 4; } }
.map-legend { display: flex; flex-wrap: wrap; gap: .4rem 1.25rem; margin: 1rem 0 0; font-family: var(--ff-mono); font-size: var(--fs-label); text-transform: uppercase; letter-spacing: var(--ls-label); color: var(--fg-muted); max-width: none; }
.map-legend b { color: var(--fg); font-weight: 500; }

/* 9. Route map (SVG) ----------------------------------------------------- */
.rmap { width: 100%; height: 100%; display: block; font-family: var(--ff-mono); }
.rmap .sea { fill: var(--bg-alt); }
.rmap .land { fill: var(--bg-elev); stroke: var(--line); stroke-width: 1; }
.rmap .nile { fill: none; stroke: var(--line-strong); stroke-width: 1.2; stroke-dasharray: 2 3; }
.rmap .dot { fill: var(--fg-muted); }
.rmap .dot--end { fill: var(--accent); }
.rmap .lbl { fill: var(--fg-muted); font-size: 9px; letter-spacing: .06em; text-transform: uppercase; }
.rmap .lbl--end { fill: var(--fg); font-weight: 500; }
.rmap .route { fill: none; stroke: var(--accent); stroke-width: 2; stroke-linecap: round; stroke-dasharray: var(--len, 1000); stroke-dashoffset: var(--len, 1000); animation: draw 1.1s var(--ease-out) forwards; }
.rmap .route--static { animation: none; stroke-dashoffset: 0; }
@keyframes draw { to { stroke-dashoffset: 0; } }
:root[data-theme="dark"] .rmap .land { fill: #13334A; }
.rmap--thumb { border-radius: 12px; background: transparent; }
.rmap--thumb .land { fill: var(--bg-elev); stroke: var(--line-strong); }
.rmap--thumb .route { stroke-width: 4; }
.rmap--thumb .dot--end { r: 5; }
/* decorative line-drawing variant (CTA band): no sea, no labels, coast as a hairline */
.rmap--decor .land { fill: none; stroke: currentColor; stroke-width: 1.2; }
.rmap--decor .nile { stroke: currentColor; opacity: .6; }
.rmap--decor .dot { fill: currentColor; }
.rmap--decor .dot--end { fill: var(--dune); }
.rmap--decor .route { stroke: var(--dune); }

/* 10. Bento / stats ------------------------------------------------------ */
.bento { display: grid; gap: clamp(12px, 1.5vw, 20px); grid-template-columns: repeat(3, 1fr); }
@media (max-width: 760px) { .bento { grid-template-columns: 1fr; } }
.tile { background: var(--bg-elev); border-radius: var(--radius-card); padding: clamp(20px, 2.5vw, 32px); display: grid; gap: .5rem; align-content: space-between; min-height: 180px; box-shadow: var(--shadow-card); }
.tile__num { font-family: var(--ff-display); font-size: clamp(2.5rem, 1.5rem + 3.5vw, 4.5rem); font-weight: 300; letter-spacing: -0.03em; line-height: 1; font-variant-numeric: tabular-nums; }
.tile__num small { font-size: .45em; letter-spacing: 0; margin-left: .15em; }
.tile__label { color: var(--fg-muted); font-size: var(--fs-small); max-width: 26ch; }

/* 11. Cards -------------------------------------------------------------- */
.card-tour { position: relative; display: grid; grid-template-rows: auto 1fr; background: var(--bg-elev); border-radius: var(--radius-card); overflow: hidden; box-shadow: var(--shadow-card); color: var(--fg); text-decoration: none; transition: transform .45s var(--ease-out), box-shadow .45s var(--ease-out); }
.card-tour:hover { transform: translateY(-4px); box-shadow: 0 24px 40px -24px rgba(1, 58, 99, .45); }
.card-tour__media { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: linear-gradient(160deg, var(--abyss-2), var(--abyss)); }
.card-tour__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.04); transition: opacity .7s var(--ease-out), transform 1.2s var(--ease-out); }
.card-tour__media img.is-active { opacity: 1; transform: scale(1); }
.card-tour__media::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 0 1px rgba(201, 182, 154, .3); border-radius: inherit; pointer-events: none; }
.card-tour__tag { position: absolute; top: 14px; left: 14px; z-index: 2; }
.card-tour__price { position: absolute; right: 14px; bottom: 14px; z-index: 2; transition: transform .3s var(--ease-out); }
.card-tour:hover .card-tour__price { transform: translateY(-2px); }
.pill { display: inline-flex; align-items: center; gap: .4em; padding: .45em .8em; border-radius: var(--radius-pill); font-family: var(--ff-mono); font-size: var(--fs-label); letter-spacing: var(--ls-label); text-transform: uppercase; font-weight: 500; background: var(--bg-elev); color: var(--fg); line-height: 1; }
.pill--ink { background: var(--abyss); color: var(--bone); }
.pill--accent { background: var(--accent); color: var(--accent-fg); }
.pill--reef { background: var(--reef); color: #fff; }
.pill--line { background: transparent; border: 1px solid var(--line-strong); }
.card-tour__body { padding: clamp(16px, 2vw, 24px); display: grid; gap: .6rem; align-content: start; }
.card-tour__body h3 { font-size: 1.35rem; }
.card-tour__meta { display: flex; gap: 1rem; flex-wrap: wrap; }
.card-tour__hl { list-style: none; display: grid; gap: .25rem; font-size: var(--fs-small); color: var(--fg-muted); }
.card-tour__hl li { display: flex; gap: .5rem; }
.card-tour__hl li::before { content: "—"; color: var(--dune); }
.card-tour__foot { display: flex; justify-content: space-between; align-items: center; gap: .75rem; margin-top: .5rem; }
.card-tour .price { font-size: 1.125rem; }
.card-tour .price small { font-family: var(--ff-body); font-weight: 400; font-size: .8125rem; color: var(--fg-muted); letter-spacing: 0; }
.ph--missing img { display: none; }

/* horizontal rail */
.rail-wrap { position: relative; }
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: clamp(260px, 30vw, 380px); gap: clamp(14px, 1.6vw, 22px); overflow-x: auto; scroll-snap-type: x mandatory; padding: 12px var(--gutter) 28px; margin-inline: calc(-1 * var(--gutter)); scrollbar-width: none; overscroll-behavior-x: contain; }
.rail::-webkit-scrollbar { display: none; }
.rail > * { scroll-snap-align: start; }
.rail-nav { display: flex; gap: .5rem; }

/* transfer rows */
.routes { border-top: 1px solid var(--line); }
.route-row { border-bottom: 1px solid var(--line); }
.route-row__main { display: grid; grid-template-columns: 96px 1fr auto; gap: clamp(12px, 2vw, 28px); align-items: center; padding: clamp(14px, 2vw, 22px) 0; text-decoration: none; color: inherit; }
.route-row__map { width: 96px; height: 64px; border-radius: 12px; overflow: hidden; background: var(--bg-alt); }
.route-row__map svg { width: 100%; height: 100%; }
.route-row__title { font-family: var(--ff-display); font-size: clamp(1.15rem, 1rem + 1vw, 1.6rem); font-weight: 300; letter-spacing: -0.01em; line-height: 1.15; display: flex; flex-wrap: wrap; gap: .25em .5em; align-items: baseline; }
.route-row__title .arr { color: var(--accent-ink); font-family: var(--ff-body); }
.route-row__meta { display: flex; flex-wrap: wrap; gap: .4rem 1.2rem; margin-top: .4rem; }
.route-row__side { display: flex; align-items: center; gap: 1rem; justify-self: end; }
.route-row__price { text-align: right; }
.route-row__price .price { font-size: 1.25rem; display: block; }
.route-row__price .from { font-size: var(--fs-label); font-family: var(--ff-mono); text-transform: uppercase; letter-spacing: var(--ls-label); color: var(--fg-muted); }
@media (max-width: 700px) {
  .route-row__main { grid-template-columns: 72px 1fr; }
  .route-row__map { width: 72px; height: 52px; }
  .route-row__side { grid-column: 1 / -1; justify-self: stretch; justify-content: space-between; border-top: 1px dashed var(--line); padding-top: .75rem; }
  .route-row__price { text-align: left; }
}
details.route-row > summary { list-style: none; cursor: pointer; }
details.route-row > summary::-webkit-details-marker { display: none; }
details.route-row > summary .btn-expand { transition: transform .3s var(--ease-out); }
details.route-row[open] > summary .btn-expand { transform: rotate(45deg); }
.route-row__classes { display: grid; gap: .75rem; padding: 0 0 1.5rem; }
@media (min-width: 700px) { .route-row__classes { grid-template-columns: repeat(3, 1fr); padding-left: calc(96px + clamp(12px, 2vw, 28px)); } }
.class-card { display: grid; gap: .35rem; padding: 1rem 1.1rem; border: 1px solid var(--line); border-radius: 14px; background: var(--bg-elev); }
.class-card__name { font-weight: 500; }
.class-card__cap { font-size: var(--fs-small); color: var(--fg-muted); }
.class-card__foot { display: flex; justify-content: space-between; align-items: center; margin-top: .4rem; }

/* filter chips */
.chips { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; }
.chip { display: inline-flex; align-items: center; gap: .45em; padding: .5em .95em; border-radius: var(--radius-pill); border: 1px solid var(--line-strong); background: transparent; font-size: .875rem; font-weight: 500; transition: background var(--dur), color var(--dur), border-color var(--dur); }
.chip[aria-pressed="true"] { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.chip .cnt { font-family: var(--ff-mono); font-size: var(--fs-label); opacity: .7; }
.chip:hover:not([aria-pressed="true"]) { background: var(--line); }
.chips__clear { font-size: .875rem; }
.results-line { font-family: var(--ff-mono); font-size: var(--fs-label); text-transform: uppercase; letter-spacing: var(--ls-label); color: var(--fg-muted); }

/* steps */
.steps { display: grid; gap: clamp(20px, 3vw, 40px); grid-template-columns: repeat(3, 1fr); counter-reset: step; }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } }
.step { display: grid; gap: .75rem; padding-top: 1.25rem; border-top: 1px solid var(--line-strong); }
.step__n { font-family: var(--ff-mono); font-size: var(--fs-label); letter-spacing: var(--ls-label); color: var(--accent-ink); }
.step h3 { font-size: 1.5rem; }
.step p { color: var(--fg-muted); font-size: var(--fs-small); margin: 0; }

/* why-us */
.why { display: grid; gap: clamp(24px, 4vw, 64px); align-items: center; }
@media (min-width: 900px) { .why { grid-template-columns: 1fr 1fr; } }
.why__photo { border-radius: var(--radius-card); overflow: hidden; aspect-ratio: 4 / 5; background: linear-gradient(160deg, var(--abyss-2), var(--abyss)); position: relative; }
.why__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 70% center; }
.why__photo figcaption { position: absolute; left: 16px; bottom: 16px; color: var(--ink-on-photo); }
.why__list { list-style: none; display: grid; gap: 1.25rem; margin-top: 2rem; }
.why__list li { display: grid; grid-template-columns: auto 1fr; gap: 1rem; align-items: start; }
.why__list .n { font-family: var(--ff-mono); font-size: var(--fs-label); color: var(--accent-ink); padding-top: .5em; }
.why__list h3 { font-size: 1.25rem; margin-bottom: .25rem; }
.why__list p { margin: 0; color: var(--fg-muted); font-size: var(--fs-small); }

/* reviews */
.ta-block { display: grid; gap: 1.5rem; }
.ta-block__embed { background: var(--bg-elev); border-radius: var(--radius-card); padding: clamp(16px, 2vw, 28px); min-height: 120px; display: grid; grid-template-columns: minmax(0, 1fr); align-content: center; min-width: 0; overflow-x: auto; } /* third-party widgets can be fixed-width: scroll inside the card, never the page */
.ta-block__embed iframe { width: 100%; border: 0; min-height: 360px; border-radius: 12px; }
.ta-empty { display: grid; gap: .5rem; text-align: left; }
.ta-empty p { margin: 0; color: var(--fg-muted); max-width: 48ch; }
.ta-owl { width: 44px; height: 44px; color: var(--reef-ink); }
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); margin-inline: calc(-1 * var(--gutter)); padding-block: 8px; }
.marquee__track { display: flex; gap: 1rem; width: max-content; animation: marquee var(--marquee-dur, 60s) linear infinite; padding-inline: .5rem; }
.marquee:hover .marquee__track, .marquee:focus-within .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.review-card { width: clamp(260px, 30vw, 360px); background: var(--bg-elev); border-radius: var(--radius-card); padding: 1.25rem 1.4rem; display: grid; gap: .75rem; flex: none; }
.review-card__stars { color: var(--reef-ink); letter-spacing: .1em; font-size: .8rem; }
.review-card blockquote { margin: 0; font-family: var(--ff-display); font-weight: 300; font-size: 1.1rem; line-height: 1.35; letter-spacing: -0.01em; }
.review-card figcaption { font-family: var(--ff-mono); font-size: var(--fs-label); text-transform: uppercase; letter-spacing: var(--ls-label); color: var(--fg-muted); }

/* destinations */
.dests { display: grid; gap: clamp(10px, 1.2vw, 16px); grid-template-columns: repeat(5, 1fr); }
@media (max-width: 1000px) { .dests { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 600px) { .dests { grid-template-columns: repeat(2, 1fr); } }
.dest { position: relative; aspect-ratio: 3 / 4; border-radius: var(--radius-card); overflow: hidden; display: grid; align-items: end; padding: 14px; color: var(--ink-on-photo); text-decoration: none; background: linear-gradient(160deg, var(--abyss-2), var(--abyss)); isolation: isolate; }
.dest img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1; transition: transform 1.2s var(--ease-out); }
.dest:hover img { transform: scale(1.05); }
.dest::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(1,58,99,0) 40%, rgba(1,58,99,.75)); }
.dest .caps { font-size: clamp(1.75rem, 1rem + 2.5vw, 3rem); }
.dest .meta { color: inherit; opacity: .85; }

/* CTA band */
.band { background: var(--abyss); color: var(--bone); border-radius: var(--radius-panel); padding: clamp(32px, 5vw, 72px); display: grid; gap: 1.5rem; align-items: center; position: relative; overflow: hidden; }
@media (min-width: 900px) { .band { grid-template-columns: 1fr auto; } }
.band h2 { font-size: var(--fs-h1); }
.band .btn--primary { --btn-bg: var(--bone); --btn-fg: var(--abyss); }
.band .btn--primary:hover { --btn-bg: #fff; }
.band > * { position: relative; z-index: 1; }
.band__line { position: absolute; left: -60px; bottom: -80px; width: 380px; opacity: .35; pointer-events: none; z-index: 0; color: var(--bone); -webkit-mask-image: radial-gradient(closest-side, #000 30%, transparent 100%); mask-image: radial-gradient(closest-side, #000 30%, transparent 100%); }
@media (max-width: 899px) { .band__line { display: none; } } /* the pill spans the full width on phones; nothing may sit under it */

/* FAQ */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.25rem 0; font-family: var(--ff-display); font-weight: 300; font-size: var(--fs-h3); letter-spacing: -0.01em; line-height: 1.2; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .plus { flex: none; width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--line-strong); display: grid; place-items: center; transition: transform .35s var(--ease-out), background .3s; }
.faq details[open] summary .plus { transform: rotate(45deg); background: var(--fg); color: var(--bg); }
.faq .faq__a { padding: 0 0 1.5rem; color: var(--fg-muted); max-width: 62ch; }
.faq .faq__a p:last-child { margin-bottom: 0; }

/* 12. Footer ------------------------------------------------------------- */
.site-footer { position: sticky; bottom: 0; z-index: 0; background: var(--abyss); color: var(--bone); padding: var(--section) 0 clamp(24px, 3vw, 40px); }
:root[data-theme="dark"] .site-footer { background: #01192C; }
.site-footer .container { display: grid; gap: clamp(28px, 4vw, 56px); }
.site-footer__top { display: grid; gap: 2rem; }
@media (min-width: 900px) { .site-footer__top { grid-template-columns: 1.2fr 1fr 1fr 1fr; } }
.site-footer h4 { font-family: var(--ff-mono); font-size: var(--fs-label); text-transform: uppercase; letter-spacing: var(--ls-label); color: var(--dune); font-weight: 500; margin-bottom: 1rem; }
.site-footer ul { list-style: none; display: grid; gap: .5rem; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.site-footer p { color: rgba(250, 247, 242, .75); }
.site-footer__wordmark { overflow: hidden; line-height: .85; padding-top: .1em; opacity: .95; }
.site-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; border-top: 1px solid rgba(250, 247, 242, .18); padding-top: 1.25rem; font-size: var(--fs-small); color: rgba(250, 247, 242, .7); }
.paymarks { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; }
.paymark { display: inline-flex; align-items: center; gap: .45em; padding: .45em .8em; border-radius: 8px; border: 1px solid rgba(250, 247, 242, .25); font-family: var(--ff-mono); font-size: var(--fs-label); letter-spacing: var(--ls-label); text-transform: uppercase; color: var(--bone); }
.paymark svg { width: 16px; height: 16px; }
.paymark--muted { opacity: .45; }

/* WhatsApp floating pill */
.wa-pill { position: fixed; right: var(--gutter); bottom: var(--gutter); z-index: 55; display: inline-flex; align-items: center; gap: .6rem; padding: .7rem 1.1rem .7rem .8rem; border-radius: var(--radius-pill); background: var(--bg-elev); color: var(--fg); box-shadow: 0 14px 40px -12px rgba(1, 58, 99, .45); text-decoration: none; font-weight: 500; font-size: .9rem; transform: translateY(20px); opacity: 0; visibility: hidden; transition: transform .5s var(--ease-out), opacity .5s, visibility 0s .5s; }
.wa-pill.is-visible { transform: none; opacity: 1; visibility: visible; transition: transform .5s var(--ease-out), opacity .5s, visibility 0s; }
.wa-pill__ico { width: 28px; height: 28px; border-radius: 50%; background: var(--reef); color: #fff; display: grid; place-items: center; }
.wa-pill__ico svg { width: 16px; height: 16px; }
.wa-pill__close { margin-left: .25rem; width: 24px; height: 24px; border-radius: 50%; border: 0; background: transparent; color: var(--fg-muted); display: grid; place-items: center; }
.wa-pill__close:hover { background: var(--line); }

/* toast */
.toast { position: fixed; left: 50%; bottom: calc(var(--gutter) + 8px); transform: translate(-50%, 20px); z-index: 90; background: var(--fg); color: var(--bg); padding: .8rem 1.2rem; border-radius: var(--radius-pill); font-size: .9rem; font-weight: 500; opacity: 0; visibility: hidden; transition: transform .4s var(--ease-out), opacity .4s, visibility 0s .4s; max-width: calc(100vw - 32px); }
.toast.is-visible { transform: translate(-50%, 0); opacity: 1; visibility: visible; transition: transform .4s var(--ease-out), opacity .4s, visibility 0s; }

/* modal (booking widget) */
.modal { border: 0; padding: 0; background: var(--bg-elev); color: var(--fg); border-radius: var(--radius-panel); width: min(760px, calc(100vw - 32px)); max-height: calc(100svh - 32px); box-shadow: var(--shadow-panel); overflow: auto; }
.modal::backdrop { background: rgba(1, 58, 99, .55); backdrop-filter: blur(6px); }
.modal[open] { animation: modal-in .45s var(--ease-out); }
@keyframes modal-in { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
.modal__inner { padding: clamp(20px, 3vw, 40px); display: grid; gap: 1.25rem; }
.modal__head { display: flex; justify-content: space-between; align-items: start; gap: 1rem; }
.modal__head h2 { font-size: var(--fs-h2); }

/* preloader */
.preloader { position: fixed; inset: 0; z-index: 100; background: var(--bg); color: var(--fg); display: grid; place-items: center; transition: opacity .5s ease, visibility 0s .5s; }
.preloader.is-done { opacity: 0; visibility: hidden; }
.preloader .wordmark { font-size: clamp(2rem, 6vw, 4rem); clip-path: inset(0 100% 0 0); animation: wipe .7s var(--ease-out) .1s forwards; }
@keyframes wipe { to { clip-path: inset(0 0 0 0); } }
html:not(.js) .preloader { display: none; }

/* reveal utilities (JS-gated so content never hides without JS) */
html.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease-out), transform .7s var(--ease-out); transition-delay: calc(var(--i, 0) * 60ms); }
html.js .reveal.is-in { opacity: 1; transform: none; }
html.js .reveal-img { clip-path: inset(8% round var(--radius-card)); transition: clip-path 1s var(--ease-out); }
html.js .reveal-img.is-in { clip-path: inset(0 round var(--radius-card)); }
html.js .hero__media img.is-zoomed { transform: scale(1.08); }
.hero__media img { transition: opacity 1.2s ease, transform 1.4s var(--ease-out); }

/* 13. Checkout ----------------------------------------------------------- */
.checkout { display: grid; gap: clamp(24px, 4vw, 64px); align-items: start; }
@media (min-width: 960px) { .checkout { grid-template-columns: minmax(0, 1fr) 400px; } .checkout__aside { position: sticky; top: calc(var(--header-h) + 16px); } }
@media (max-width: 959px) { .checkout__aside { order: -1; } }
.stepbar { display: flex; gap: 1.5rem; flex-wrap: wrap; font-family: var(--ff-mono); font-size: var(--fs-label); text-transform: uppercase; letter-spacing: var(--ls-label); color: var(--fg-muted); margin-bottom: clamp(24px, 3vw, 40px); }
.stepbar li { list-style: none; display: flex; gap: .5rem; align-items: center; }
.stepbar li::before { content: attr(data-n); width: 22px; height: 22px; border-radius: 50%; border: 1px solid var(--line-strong); display: grid; place-items: center; font-size: 10px; }
.stepbar li[aria-current="step"] { color: var(--fg); }
.stepbar li[aria-current="step"]::before { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.stepbar li.is-done::before { content: "✓"; background: var(--reef); border-color: var(--reef); color: #fff; }
.form-grid { display: grid; gap: 1.25rem 1.5rem; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.form-grid .field--wide { grid-column: 1 / -1; }
@media (max-width: 560px) { .form-grid { grid-template-columns: minmax(0, 1fr); } }
.summary { background: var(--bg-elev); border-radius: var(--radius-panel); padding: clamp(20px, 2.5vw, 32px); display: grid; gap: 1rem; box-shadow: var(--shadow-card); }
.summary__map { aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden; background: var(--bg-alt); }
.summary__map svg { width: 100%; height: 100%; }
.summary__photo { aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden; background: linear-gradient(160deg, var(--abyss-2), var(--abyss)); }
.summary__photo img { width: 100%; height: 100%; object-fit: cover; }
.summary h2 { font-size: 1.6rem; }
.summary__sentence { font-family: var(--ff-display); font-weight: 300; font-size: 1.2rem; line-height: 1.4; }
.summary__sentence em { font-style: normal; font-weight: 500; }
.lines { display: grid; gap: .5rem; border-top: 1px solid var(--line); padding-top: 1rem; }
.lines div { display: flex; justify-content: space-between; gap: 1rem; font-size: var(--fs-small); color: var(--fg-muted); }
.lines div.total { font-size: 1.1rem; color: var(--fg); border-top: 1px solid var(--line); padding-top: .75rem; margin-top: .25rem; }
.lines div.total .price { font-size: 1.5rem; }
.pay-methods { display: grid; gap: .75rem; }
.pay-card { display: grid; grid-template-columns: auto 1fr; gap: 1rem; align-items: start; padding: 1.1rem 1.25rem; border: 1px solid var(--line); border-radius: 16px; background: var(--bg-elev); cursor: pointer; transition: border-color .25s, box-shadow .25s; }
.pay-card:has(input:checked) { border-color: var(--fg); box-shadow: 0 0 0 1px var(--fg); }
.pay-card:has(input:focus-visible) { outline: 2px solid var(--focus); outline-offset: 2px; }
.pay-card input { width: 18px; height: 18px; margin: .2rem 0 0; accent-color: var(--accent); }
.pay-card__title { display: flex; gap: .6rem; align-items: center; font-weight: 500; flex-wrap: wrap; }
.pay-card__desc { font-size: var(--fs-small); color: var(--fg-muted); margin: .25rem 0 0; }
.pay-card__body { grid-column: 2; display: none; gap: .75rem; margin-top: .5rem; }
.pay-card:has(input:checked) .pay-card__body { display: grid; }
.notice { border-left: 2px solid var(--accent); padding: .75rem 1rem; background: var(--bg-alt); border-radius: 0 12px 12px 0; font-size: var(--fs-small); }
.notice--ok { border-color: var(--reef); }
.notice p { margin: 0; }
.notice p + p { margin-top: .5rem; }
#paypal-buttons { min-height: 48px; }
.sandbox-tag { font-family: var(--ff-mono); font-size: 10px; letter-spacing: var(--ls-label); text-transform: uppercase; padding: .3em .55em; border-radius: 6px; background: var(--dune); color: var(--abyss); }
.success { display: grid; gap: 1.25rem; padding: clamp(24px, 3vw, 40px); background: var(--bg-elev); border-radius: var(--radius-panel); position: relative; overflow: hidden; }
.success canvas { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.success__ref { font-family: var(--ff-mono); font-size: clamp(1.5rem, 1rem + 2vw, 2.5rem); letter-spacing: .08em; font-weight: 500; }
.checkout-empty { display: grid; gap: 1rem; padding: clamp(24px, 3vw, 40px); background: var(--bg-elev); border-radius: var(--radius-panel); }
.hidden { display: none !important; }

/* 14. Tour detail -------------------------------------------------------- */
.gallery { display: grid; gap: 10px; grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; aspect-ratio: 16 / 8; }
.gallery figure { margin: 0; position: relative; overflow: hidden; border-radius: 16px; background: linear-gradient(160deg, var(--abyss-2), var(--abyss)); }
.gallery figure:first-child { grid-row: 1 / -1; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.gallery figure:hover img { transform: scale(1.04); }
@media (max-width: 760px) { .gallery { grid-template-columns: 1fr 1fr; grid-template-rows: auto; aspect-ratio: auto; } .gallery figure { aspect-ratio: 4 / 3; } .gallery figure:first-child { grid-column: 1 / -1; grid-row: auto; aspect-ratio: 16 / 10; } .gallery figure:nth-child(n+4) { display: none; } }
.detail { display: grid; gap: clamp(28px, 4vw, 64px); align-items: start; }
@media (min-width: 960px) { .detail { grid-template-columns: minmax(0, 1fr) 380px; } .detail__aside { position: sticky; top: calc(var(--header-h) + 16px); } }
.detail__meta { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; margin-top: 1rem; }
.itin { list-style: none; display: grid; gap: 0; border-top: 1px solid var(--line); }
.itin li { display: grid; grid-template-columns: 80px 1fr; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid var(--line); }
.itin .t { font-family: var(--ff-mono); font-size: var(--fs-label); letter-spacing: var(--ls-label); color: var(--accent-ink); padding-top: .35em; }
.itin p { margin: 0; }
.incl { display: grid; gap: 1.5rem; }
@media (min-width: 640px) { .incl { grid-template-columns: 1fr 1fr; } }
.incl ul { list-style: none; display: grid; gap: .4rem; }
.incl li { display: flex; gap: .6rem; font-size: var(--fs-small); }
.incl li::before { content: "+"; font-family: var(--ff-mono); color: var(--reef-ink); }
.incl .no li::before { content: "–"; color: var(--fg-muted); }
.hl { list-style: none; display: grid; gap: .5rem; }
.hl li { display: flex; gap: .75rem; align-items: baseline; min-width: 0; overflow-wrap: anywhere; }
.hl li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); flex: none; transform: translateY(-.2em); }
.book-panel { background: var(--bg-elev); border-radius: var(--radius-panel); padding: clamp(20px, 2.5vw, 32px); display: grid; gap: 1.1rem; box-shadow: var(--shadow-panel); }
.book-panel .lines { border-top: 0; padding-top: 0; }
.sheet-bar { display: none; }
@media (max-width: 959px) {
  .sheet-bar { display: flex; position: fixed; bottom: 0; inset-inline: 0; z-index: 50; background: var(--bg-elev); color: var(--fg); padding: 12px var(--gutter); box-shadow: 0 -10px 30px -18px rgba(1, 58, 99, .5); justify-content: space-between; align-items: center; gap: 1rem; border-top: 1px solid var(--line); }
  body.has-sheet { padding-bottom: 80px; }
  body.has-sheet .wa-pill { bottom: 92px; }
}

/* 15. Admin -------------------------------------------------------------- */
.admin { min-height: 100svh; display: grid; grid-template-columns: 240px minmax(0, 1fr); }
@media (max-width: 860px) { .admin { grid-template-columns: minmax(0, 1fr); } }
.admin__rail { position: sticky; top: 0; align-self: start; height: 100svh; padding: 24px 20px; display: grid; grid-template-rows: auto 1fr auto; gap: 1.5rem; border-right: 1px solid var(--line); background: var(--bg-alt); }
@media (max-width: 860px) { .admin__rail { position: static; height: auto; border-right: 0; border-bottom: 1px solid var(--line); grid-template-rows: auto; } }
.admin__nav { display: grid; gap: .25rem; align-content: start; }
.admin__nav a { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: .2rem .75rem; padding: .6rem .8rem; border-radius: 10px; text-decoration: none; font-size: .9375rem; }
.admin__nav a:hover, .admin__nav a[aria-current="true"] { background: var(--line); }
.admin__nav a .st { font-family: var(--ff-mono); font-size: 10px; letter-spacing: var(--ls-label); text-transform: uppercase; color: var(--fg-muted); }
.admin__main { padding: clamp(20px, 3vw, 48px); display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(28px, 3vw, 48px); align-content: start; max-width: min(960px, 100%); min-width: 0; }
.admin__head { display: flex; justify-content: space-between; align-items: end; gap: 1rem; flex-wrap: wrap; }
.admin__head > * { min-width: 0; flex: 1 1 260px; }
.admin__head h1 { font-size: var(--fs-h2); }
.admin-card { background: var(--bg-elev); border: 1px solid var(--line); border-radius: var(--radius-card); padding: clamp(18px, 2.5vw, 32px); display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.25rem; min-width: 0; }
.admin-card h2 { font-size: 1.4rem; }
.admin-card .form-grid { gap: 1.1rem 1.5rem; }
.toggle { display: inline-flex; align-items: center; gap: .75rem; cursor: pointer; font-weight: 500; }
.toggle input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.toggle .sw { width: 42px; height: 24px; border-radius: 12px; background: var(--line-strong); position: relative; transition: background .25s; flex: none; }
.toggle .sw::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: var(--bg-elev); transition: transform .25s var(--ease-out); }
.toggle input:checked + .sw { background: var(--reef); }
.toggle input:checked + .sw::after { transform: translateX(18px); }
.toggle input:focus-visible + .sw { outline: 2px solid var(--focus); outline-offset: 2px; }
.admin-actions { position: sticky; bottom: 0; background: color-mix(in srgb, var(--bg) 85%, transparent); backdrop-filter: blur(10px); padding: 12px 0; display: flex; gap: .75rem; flex-wrap: wrap; align-items: center; border-top: 1px solid var(--line); }
.admin-preview { border: 1px dashed var(--line-strong); border-radius: 12px; min-height: 160px; padding: 1rem; display: grid; align-content: center; }
.admin-preview iframe { width: 100%; height: 360px; border: 0; border-radius: 8px; background: #fff; }
.code { font-family: var(--ff-mono); font-size: .8125rem; }
.status-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--line-strong); margin-right: .4em; }
.status-dot.on { background: var(--reef); }

/* 15b. Internet on vacation (SIM cards) ---------------------------------- */
.sim-band { position: relative; overflow: hidden; background: var(--abyss); color: var(--bone); border-radius: var(--radius-panel); padding: clamp(28px, 4.5vw, 72px); display: grid; gap: clamp(28px, 4vw, 64px); isolation: isolate; }
@media (min-width: 980px) { .sim-band { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: center; } }
.sim-band > * { position: relative; z-index: 1; }
.sim-band .kicker { color: rgba(250, 247, 242, .72); }
.sim-band h2 { font-size: var(--fs-h1); margin-top: .75rem; max-width: 12ch; }
.sim-band h2 em { color: var(--reef); }
.sim-band .lead { color: rgba(250, 247, 242, .78); margin-top: 1rem; }
.sim-band__facts { list-style: none; display: grid; gap: .9rem; margin-top: 2rem; font-size: var(--fs-small); color: rgba(250, 247, 242, .82); }
.sim-band__facts li { display: grid; grid-template-columns: auto 1fr; gap: 1rem; align-items: baseline; padding-top: .9rem; border-top: 1px solid rgba(250, 247, 242, .16); }
.sim-band__facts .n { font-family: var(--ff-mono); font-size: var(--fs-label); letter-spacing: var(--ls-label); color: var(--reef); }
.sim-band__glow { position: absolute; z-index: 0; right: -18%; top: -40%; width: 70%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(closest-side, rgba(0, 168, 198, .38), rgba(0, 168, 198, .08) 55%, transparent 72%); pointer-events: none; filter: blur(2px); }
.sim-band__glow::after { content: ""; position: absolute; left: 22%; top: 22%; width: 56%; height: 56%; border-radius: 50%; border: 1px solid rgba(250, 247, 242, .12); box-shadow: 0 0 0 40px rgba(250, 247, 242, .05), 0 0 0 90px rgba(250, 247, 242, .03); }

.sim-grid { display: grid; gap: clamp(10px, 1.4vw, 16px); grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 640px) { .sim-grid { grid-template-columns: 1fr; } }
.sim { position: relative; display: grid; gap: .9rem; align-content: start; text-align: left; padding: clamp(18px, 2vw, 26px); border-radius: var(--radius-card); border: 1px solid rgba(250, 247, 242, .16); background: rgba(250, 247, 242, .05); color: var(--bone); cursor: pointer; font: inherit; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); transition: transform .45s var(--ease-out), border-color .3s, background .3s, box-shadow .45s var(--ease-out); }
.sim:focus-visible { outline: 2px solid var(--reef); outline-offset: 3px; }
.sim.is-on { background: var(--bone); color: var(--abyss); border-color: var(--bone); box-shadow: 0 30px 50px -28px rgba(0, 0, 0, .7); }
.sim__top { display: flex; justify-content: space-between; align-items: center; gap: .5rem; min-height: 22px; }
.sim__bars { color: var(--reef); flex: none; }
.sim.is-on .sim__bars { color: var(--reef-ink); }
.sim__gb { display: flex; align-items: baseline; gap: .25rem; margin-top: .25rem; }
.sim__num { font-family: var(--ff-display); font-weight: 300; font-size: clamp(3rem, 2rem + 3.2vw, 4.75rem); line-height: .9; letter-spacing: var(--ls-display); font-variant-numeric: tabular-nums; }
.sim__unit { font-family: var(--ff-mono); font-size: var(--fs-label); letter-spacing: var(--ls-label); text-transform: uppercase; opacity: .75; }
.sim__note { font-size: var(--fs-small); opacity: .78; min-height: 2.6em; }
.sim__foot { display: flex; justify-content: space-between; align-items: center; gap: .75rem; padding-top: .9rem; border-top: 1px solid rgba(250, 247, 242, .18); }
.sim.is-on .sim__foot { border-color: rgba(1, 58, 99, .18); }
.sim__price { font-family: var(--ff-mono); font-size: 1.25rem; }
.sim__cta { white-space: nowrap; display: inline-flex; align-items: center; gap: .4em; font-size: var(--fs-label); letter-spacing: var(--ls-label); text-transform: uppercase; font-family: var(--ff-mono); font-weight: 500; }
.sim__cta .btn__arrow { transition: transform .3s var(--ease-out); }
.sim__cta-on { display: none; color: var(--reef-ink); }
.sim.is-on .sim__cta-add { display: none; }
.sim.is-on .sim__cta-on { display: inline; }
.sim.is-on .sim__cta .btn__arrow { display: none; }
@media (hover: hover) {
  .sim:hover { transform: translateY(-4px); border-color: rgba(250, 247, 242, .4); background: rgba(250, 247, 242, .09); box-shadow: 0 24px 40px -24px rgba(0, 0, 0, .6); }
  .sim.is-on:hover { background: #fff; border-color: #fff; }
  .sim:hover .sim__cta .btn__arrow { transform: translateX(4px); }
}

/* SIM add-on in checkout */
.sim-pick { display: grid; gap: .5rem; grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 640px) { .sim-pick { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.sim-pick label { position: relative; display: grid; gap: .15rem; padding: .8rem .9rem; border: 1px solid var(--line); border-radius: 14px; background: var(--bg-elev); cursor: pointer; transition: border-color .25s, box-shadow .25s; }
.sim-pick label:has(input:checked) { border-color: var(--fg); box-shadow: 0 0 0 1px var(--fg); }
.sim-pick label:has(input:focus-visible) { outline: 2px solid var(--focus); outline-offset: 2px; }
.sim-pick input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.sim-pick b { font-family: var(--ff-display); font-weight: 400; font-size: 1.35rem; line-height: 1; }
.sim-pick span { font-family: var(--ff-mono); font-size: var(--fs-label); letter-spacing: var(--ls-label); text-transform: uppercase; color: var(--fg-muted); }

/* 16. Reduced motion & misc -------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .marquee { -webkit-mask-image: none; mask-image: none; }
  .marquee__track { animation: none; width: auto; overflow-x: auto; flex-wrap: nowrap; }
  .marquee { overflow-x: auto; }
  html.js .reveal, html.js .reveal-img { opacity: 1; transform: none; clip-path: none; }
  .scroll-cue__ring svg { animation: none; }
  .rmap .route { animation: none; stroke-dashoffset: 0; }
  .hero__media img.is-zoomed { transform: none; }
  .preloader { display: none; }
}
@media (prefers-reduced-data: reduce) { .hero__media img { filter: none; } }
@media print { .site-header, .wa-pill, .toast, .menu-overlay, .sheet-bar { display: none !important; } }

/* header Book pill: long label on desktop, short on mobile */
.btn--book .short { display: none; }
@media (max-width: 900px) { .btn--book .short { display: inline; } }
html.lenis { scroll-behavior: auto; }
.chip select, select.chip { cursor: pointer; }
