/* Amed Bali Fast Boat. Palette from Amed itself: the strait, the Gili shallows,
   the gold on Wayan's poster and jukung trim, Amed's black volcanic sand. */
:root {
  --strait: #0A3A66;
  --strait-deep: #062848;
  --lagoon: #27B5C3;
  --lagoon-ink: #127C87;
  --gold: #F4B43A;
  --sand: #1C1916;
  --salt: #F6FAFB;
  --ink: #10233A;
  --muted: #56687A;
  --line: #D9E3EA;
  --error: #C23B3B;
  --display: 'Big Shoulders Display', 'Oswald', 'Arial Narrow', Impact, sans-serif;
  --body: 'Figtree', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, monospace;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 400 16px/1.55 var(--body); color: var(--ink); background: var(--salt); }
img, svg, video { display: block; max-width: 100%; }
h1, h2, h3 { margin: 0; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: fixed; left: 16px; top: -60px; z-index: 100; padding: 10px 14px; background: var(--gold); color: var(--sand); border-radius: 8px; font-weight: 700; }
.skip:focus { top: 8px; }
:focus-visible { outline: 3px solid var(--lagoon-ink); outline-offset: 2px; }
.top :focus-visible, .hero-copy :focus-visible, .crossing :focus-visible, .sheet-head :focus-visible, .foot :focus-visible { outline-color: var(--gold); }

.wrap { width: min(100% - 32px, 1160px); margin-inline: auto; }
.narrow { width: min(100% - 32px, 760px); }
.eyebrow { margin: 0 0 12px; font: 700 12px/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--lagoon-ink); }
.display { font-family: var(--display); font-weight: 800; text-transform: uppercase; line-height: .9; letter-spacing: .005em; text-wrap: balance; }
h2.display { font-size: clamp(2.5rem, 10vw, 4.6rem); color: var(--strait); }
.lede { font-size: 1.075rem; max-width: 36ch; margin: 16px 0 0; }
.fine { font-size: 12.5px; color: var(--muted); }
main > section { padding-block: 72px; }
::placeholder { color: #9AA9B6; font-weight: 500; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 20px; border: 0; border-radius: 12px; font-weight: 700; font-size: 16px; text-decoration: none; cursor: pointer; transition: transform .15s, filter .15s; }
.btn:active { transform: scale(.98); }
.btn-gold { background: var(--gold); color: var(--sand); }
.btn-gold:hover { filter: brightness(1.06); }
.btn-ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn-block { width: 100%; }
.btn-lg { min-height: 56px; font-size: 17px; }
.more { background: none; border: 0; padding: 0; color: var(--strait); font-weight: 700; text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 2px; text-decoration-color: var(--gold); cursor: pointer; }

/* Header */
.top { position: fixed; inset: 0 0 auto; z-index: 30; display: flex; align-items: center; gap: 16px; height: 60px; padding-inline: 16px; color: #fff; transition: background .3s, box-shadow .3s; }
.top.scrolled { background: rgba(6, 40, 72, .92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: 0 1px 0 rgba(255, 255, 255, .08); }
.brand { display: grid; line-height: 1; text-decoration: none; margin: 0 auto 0 0; }
.brand-name { font: 900 22px/1 var(--display); text-transform: uppercase; letter-spacing: .03em; }
.brand-sub { font: 700 9.5px/1 var(--mono); letter-spacing: .38em; text-transform: uppercase; color: var(--gold); margin-top: 4px; }
.nav, .nav-book { display: none; }
.nav a { text-decoration: none; font-weight: 600; font-size: 15px; opacity: .85; }
.nav a:hover { opacity: 1; }
.lang { display: flex; padding: 3px; border-radius: 999px; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .35); }
.lang button { min-width: 44px; height: 34px; border: 0; border-radius: 999px; background: none; font: 700 12px var(--mono); letter-spacing: .08em; cursor: pointer; }
.lang [aria-pressed="true"] { background: var(--gold); color: var(--sand); }

/* Hero */
.hero { position: relative; isolation: isolate; overflow: hidden; color: #fff; padding-block: 84px 36px;
  background: radial-gradient(120% 70% at 85% 0%, #17659F 0%, var(--strait) 45%, var(--strait-deep) 100%); }
/* Phones: video fills the first screen, then fades into the strait behind the booking card. */
.hero-media { position: absolute; inset: 0 0 auto; height: 100svh; z-index: -1; background: url(assets/hero-poster-m.jpg) center / cover; }
.hero-video { width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.2s; }
.has-video .hero-video { opacity: 1; }
.hero-media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(6, 40, 72, .6), rgba(6, 40, 72, .25) 35%, rgba(6, 40, 72, .6) 70%, var(--strait-deep)); }
.hero-swell { position: absolute; bottom: 0; left: 0; width: 200%; height: 45%; animation: swell 22s linear infinite; }
.hero-swell path:first-child { fill: rgba(39, 181, 195, .10); }
.hero-swell path:last-child { fill: rgba(39, 181, 195, .07); }
@keyframes swell { to { transform: translateX(-50%); } }

.hero-inner { display: grid; gap: 28px; }
.hero .eyebrow { color: var(--gold); display: flex; align-items: center; gap: 10px; }
.eyebrow-live::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 0 rgba(244, 180, 58, .7); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(244, 180, 58, 0); } 100% { box-shadow: 0 0 0 0 rgba(244, 180, 58, 0); } }
.hero h1 { font-size: clamp(3.6rem, 16vw, 8rem); font-weight: 900; line-height: .84; }
.hero h1 .line { display: block; }
.hero h1 em { font-style: normal; color: var(--gold); }
.hero .lede { color: rgba(255, 255, 255, .86); }
/* Phones: headline over the sky, the boat visible mid-screen, intro + countdown at the bottom of the first screen
   (clear of the dock). The booking card follows just below the fold. */
.hero-copy { display: flex; flex-direction: column; min-height: calc(100svh - 180px); }
.hero .lede { margin-top: auto; }
.countdown { margin-top: 24px; }
.cd-units { display: flex; gap: 8px; }
.cd-units span { min-width: 64px; padding: 8px 10px; text-align: center; border-radius: 10px; background: rgba(255, 255, 255, .08); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14); }
.cd-units b { display: block; font: 700 1.55rem/1.1 var(--mono); font-variant-numeric: tabular-nums; }
.cd-units small { font-size: 11px; letter-spacing: .08em; text-transform: uppercase; opacity: .7; }
.cd-label { margin: 8px 0 0; font-size: 13px; opacity: .7; }
.cd-live { margin-top: 24px; font: 700 14px var(--mono); color: var(--gold); }

/* Search card */
.search { display: grid; gap: 10px; padding: 16px; border-radius: 20px; background: var(--salt); color: var(--ink); box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .5); }
.seg { display: grid; grid-template-columns: 1fr 1fr; padding: 4px; border-radius: 12px; background: #E6EEF3; }
.seg input, .chips input { position: absolute; opacity: 0; pointer-events: none; }
.seg span { display: block; padding: 10px; text-align: center; border-radius: 9px; font-weight: 700; font-size: 14px; color: var(--muted); cursor: pointer; }
.seg input:checked + span { background: #fff; color: var(--strait); box-shadow: 0 1px 3px rgba(16, 35, 58, .15); }
.seg input:focus-visible + span { outline: 3px solid var(--lagoon-ink); }
.field { display: block; padding: 8px 12px; border-radius: 12px; background: #fff; box-shadow: inset 0 0 0 1.5px var(--line); }
.field:focus-within { box-shadow: inset 0 0 0 2px var(--lagoon); }
.field:has([aria-invalid="true"]) { box-shadow: inset 0 0 0 2px var(--error); }
.label { display: block; font-size: 11.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.field input, .field select, .field textarea { display: block; width: 100%; padding: 2px 0; border: 0; background: transparent; font-size: 16px; font-weight: 600; outline: none; }
.field textarea { resize: vertical; font-weight: 500; }
.field select { appearance: none; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230A3A66' stroke-width='2.5'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right center / 18px no-repeat; padding-right: 48px; cursor: pointer; }
.field-fixed strong { display: block; padding: 2px 0; font-size: 16px; }
.route { position: relative; display: grid; gap: 8px; }
.swap { position: absolute; right: 12px; top: 50%; translate: 0 -50%; display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--strait); color: #fff; cursor: pointer; box-shadow: 0 0 0 4px var(--salt); transition: rotate .3s; }
.swap svg { width: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.swap.flipped { rotate: 180deg; }
.dates { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 8px; }
.err { margin: 4px 0 0; font-size: 13px; font-weight: 600; color: var(--error); }
.pax summary { list-style: none; cursor: pointer; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230A3A66' stroke-width='2.5'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right center / 18px no-repeat; }
.pax summary::-webkit-details-marker { display: none; }
.pax summary strong { display: block; padding: 2px 0; }
.pax-panel { display: grid; gap: 12px; margin-top: 10px; padding-top: 12px; border-top: 1px solid var(--line); }
.stepper { display: grid; grid-template-columns: 1fr 44px 40px 44px; align-items: center; gap: 4px; }
.stepper p { margin: 0; font-weight: 700; }
.stepper small { display: block; font-size: 12.5px; font-weight: 500; color: var(--muted); }
.stepper button { width: 44px; height: 44px; border: 0; border-radius: 50%; background: #fff; box-shadow: inset 0 0 0 1.5px var(--line); font-size: 20px; cursor: pointer; }
.stepper input { text-align: center; font: 700 17px var(--mono); padding: 0; -moz-appearance: textfield; appearance: textfield; }
.stepper input::-webkit-inner-spin-button { -webkit-appearance: none; }
.from-price { margin: 2px 0 0; text-align: center; font-size: 14px; color: var(--muted); }
.from-price b { font-family: var(--mono); color: var(--ink); }
.trust { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 14px; margin: 0; padding: 0; list-style: none; font-size: 12.5px; color: var(--muted); }
.trust li::before { content: '✓ '; color: var(--lagoon-ink); font-weight: 700; }

/* The Crossing */
.crossing { background: var(--strait-deep); color: #fff; }
.crossing .eyebrow { color: var(--lagoon); }
.crossing h2.display { color: #fff; }
.crossing .lede { color: rgba(255, 255, 255, .8); max-width: 52ch; }
.map { margin: 32px 0 20px; }
.map svg { width: 100%; height: auto; }
.map .land { fill: var(--sand); stroke: rgba(39, 181, 195, .55); stroke-width: 1.5; }
.map .agung ellipse { fill: none; stroke: rgba(255, 255, 255, .16); stroke-width: 1.5; }
.map .shallows ellipse { fill: var(--lagoon); opacity: .38; }
.map .gili ellipse { fill: #F1E3C0; }
.map .wallace { fill: none; stroke: rgba(255, 255, 255, .28); stroke-width: 2; stroke-dasharray: 1 9; stroke-linecap: round; }
.map .ghost path { fill: none; stroke: rgba(255, 255, 255, .32); stroke-width: 2.5; stroke-dasharray: 5 9; }
.map .ghost text { fill: rgba(255, 255, 255, .45); text-anchor: middle; }
.map .routes path { fill: none; stroke: var(--gold); stroke-width: 4.5; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; opacity: 0; }
.map .routes path.on { opacity: 1; }
.map .boat path { fill: #fff; stroke: var(--gold); stroke-width: 2; }
.map .pins circle { fill: var(--gold); stroke: var(--strait-deep); stroke-width: 2; }
.map .labels text { font: 600 20px var(--body); fill: #fff; }
.map .labels line { stroke: rgba(255, 255, 255, .4); }
.map .map-strong { font-size: 28px; font-weight: 800; fill: var(--gold); }
.map .map-land { font: 800 46px var(--display); letter-spacing: .3em; fill: rgba(255, 255, 255, .13); }
.map .map-tiny { font: 500 13px var(--mono); letter-spacing: .14em; text-transform: uppercase; fill: rgba(255, 255, 255, .5); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; border: 0; }
.chips legend { margin-bottom: 10px; color: rgba(255, 255, 255, .6); }
.chips span { display: inline-block; padding: 10px 16px; border-radius: 999px; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .3); font-weight: 700; font-size: 15px; cursor: pointer; transition: background .2s, color .2s; }
.chips input:checked + span { background: var(--gold); color: var(--sand); box-shadow: none; }
.chips input:focus-visible + span { outline: 3px solid var(--gold); outline-offset: 2px; }
.compare { display: grid; gap: 14px; margin-top: 28px; }
.bar { position: relative; display: flex; justify-content: space-between; gap: 12px; padding-bottom: 20px; font-size: 14px; }
.bar span { color: rgba(255, 255, 255, .8); }
.bar b { font-family: var(--mono); }
.bar::before, .bar::after { content: ''; position: absolute; left: 0; bottom: 0; height: 10px; border-radius: 5px; }
.bar::before { right: 0; background: rgba(255, 255, 255, .08); }
.bar::after { width: calc(var(--w, 1) * 100%); transform-origin: left; transition: transform 1.4s cubic-bezier(.6, 0, .2, 1), width .6s; }
.bar-direct::after { background: var(--gold); }
.bar-direct b { color: var(--gold); font-size: 16px; }
.bar-via::after { background: repeating-linear-gradient(90deg, rgba(255, 255, 255, .35) 0 8px, transparent 8px 13px); }
.js .compare:not(.in) .bar::after { transform: scaleX(0); }
.fact { margin: 28px 0 0; padding-left: 12px; border-left: 2px solid var(--lagoon); font-size: 14px; color: rgba(255, 255, 255, .62); max-width: 60ch; }

/* Timetable */
.tabs { display: inline-flex; margin: 24px 0 8px; padding: 4px; border-radius: 12px; background: #E6EEF3; }
.tabs button { padding: 10px 16px; border: 0; border-radius: 9px; background: none; font-weight: 700; font-size: 15px; color: var(--muted); cursor: pointer; }
.tabs [aria-selected="true"] { background: #fff; color: var(--strait); box-shadow: 0 1px 3px rgba(16, 35, 58, .15); }
.tt-head { margin: 8px 0 0; text-align: right; font-size: 11.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.stops { position: relative; margin: 0; padding: 0; list-style: none; }
.stops::before { content: ''; position: absolute; left: 7px; top: 30px; bottom: 30px; width: 2px; background: rgba(10, 58, 102, .2); }
.stops li { position: relative; display: grid; grid-template-columns: 58px 1fr auto; align-items: center; gap: 12px; padding: 14px 0 14px 28px; border-bottom: 1px solid var(--line); }
.stops li::before { content: ''; position: absolute; left: 1px; top: 50%; translate: 0 -50%; width: 14px; height: 14px; border-radius: 50%; background: var(--salt); box-shadow: inset 0 0 0 3px var(--strait); }
.stops li.terminal::before { background: var(--gold); box-shadow: inset 0 0 0 3px var(--sand); }
.stops time { font: 700 18px var(--mono); color: var(--strait); }
.stops strong { display: block; font-size: 16px; }
.stops span { font-size: 13px; color: var(--muted); }
.stops .price { text-align: right; }
.stops .price b { display: block; font: 700 15px var(--mono); }
.stops .price small { font-size: 12px; color: var(--muted); }
.tt-return { margin: 16px 0 0; font-weight: 700; color: var(--strait); }
.tt-note { margin: 6px 0 0; font-size: 14px; }

/* The boat */
.boat { background: #fff; }
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 28px; }
.ph { position: relative; margin: 0; overflow: hidden; aspect-ratio: 1; border-radius: 14px; border: 1.5px dashed rgba(10, 58, 102, .25);
  background: repeating-linear-gradient(135deg, rgba(39, 181, 195, .11) 0 10px, rgba(39, 181, 195, .04) 10px 20px), #EAF3F6; }
.ph img { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; object-fit: cover; }
.ph figcaption { position: absolute; inset: 0; display: grid; place-content: center; padding: 8px; text-align: center; font: 500 11px var(--mono); color: rgba(10, 58, 102, .6); word-break: break-all; }
.ph figcaption::before { content: 'Photo'; font: 800 18px var(--display); letter-spacing: .12em; text-transform: uppercase; color: var(--strait); opacity: .45; }
.gallery .ph-hero { grid-column: 1 / -1; aspect-ratio: 16 / 10; }
.amenities { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; margin: 28px 0 0; padding: 0; list-style: none; }
.amenities li { padding: 16px; border-radius: 14px; background: var(--salt); }
.amenities svg { width: 28px; height: 28px; fill: none; stroke: var(--strait); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.amenities h3 { margin: 10px 0 4px; font-size: 16px; }
.amenities p { margin: 0; font-size: 14px; color: var(--muted); }

/* Destinations */
.dest-list { display: grid; grid-auto-flow: column; grid-auto-columns: min(78%, 320px); gap: 14px; margin: 28px 0 0; padding: 4px 16px 16px; list-style: none; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: 16px; scrollbar-width: none; }
.dest-list::-webkit-scrollbar { display: none; }
.dest { scroll-snap-align: start; overflow: hidden; border-radius: 16px; background: #fff; box-shadow: 0 1px 2px rgba(16, 35, 58, .06), 0 10px 30px -12px rgba(16, 35, 58, .2); padding-bottom: 18px; }
.dest .ph { aspect-ratio: 4 / 3; border: 0; border-radius: 0; }
.dest h3, .dest p, .dest .more { margin-inline: 16px; }
.dest h3 { margin-top: 14px; font: 800 26px/1 var(--display); text-transform: uppercase; color: var(--strait); }
.dest p { margin-block: 6px; font-size: 14.5px; color: var(--muted); }
.dest .arr { font: 700 13px var(--mono); color: var(--lagoon-ink); }
.dest .more { display: inline-block; margin-top: 4px; }

/* FAQ */
.faq { background: #fff; }
.faq h2 { margin-bottom: 20px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { position: relative; padding: 18px 36px 18px 0; font-weight: 700; font-size: 17px; list-style: none; cursor: pointer; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 4px; top: 50%; translate: 0 -50%; font: 500 24px var(--mono); color: var(--lagoon-ink); transition: rotate .2s; }
.faq details[open] summary::after { rotate: 45deg; }
.faq details p { margin: 0 0 18px; color: var(--muted); max-width: 62ch; }

/* Footer + dock */
.foot { padding-block: 48px 120px; background: var(--sand); color: rgba(255, 255, 255, .72); }
.foot .brand { color: #fff; margin-bottom: 12px; }
.foot a { color: var(--gold); font-weight: 700; }
.foot .fine { color: rgba(255, 255, 255, .5); }
.dock { position: fixed; inset: auto 0 0; z-index: 20; display: flex; align-items: center; gap: 10px; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .95); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: 0 -1px 0 var(--line); transform: translateY(110%); transition: transform .35s cubic-bezier(.2, .8, .2, 1); }
.dock.show { transform: none; }
.dock-wa { flex: none; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: #25D366; color: #fff; }
.dock-wa svg { width: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linejoin: round; }
.dock-price { flex: 1; margin: 0; font-size: 12.5px; color: var(--muted); line-height: 1.3; }
.dock-price b { display: block; font: 700 15px var(--mono); color: var(--ink); }
html { scroll-padding-top: 72px; }
html:has(dialog[open]) { overflow: hidden; }

/* Booking sheet: full-screen on phones, centred panel from 700px */
.sheet { width: 100%; max-width: 100%; height: 100dvh; max-height: 100dvh; margin: 0; padding: 0; border: 0; background: var(--salt); color: var(--ink); }
.sheet[open] { display: flex; flex-direction: column; animation: rise .35s cubic-bezier(.2, .8, .2, 1); }
.sheet::backdrop { background: rgba(6, 40, 72, .6); backdrop-filter: blur(4px); }
@keyframes rise { from { transform: translateY(32px); opacity: 0; } }
.sheet-head { position: relative; padding: calc(16px + env(safe-area-inset-top)) 16px 14px; background: var(--strait); color: #fff; }
.sheet-head h2 { font: 800 26px/1 var(--display); text-transform: uppercase; }
.icon-btn { position: absolute; right: 8px; top: calc(6px + env(safe-area-inset-top)); width: 44px; height: 44px; border: 0; border-radius: 50%; background: none; color: #fff; font-size: 18px; cursor: pointer; }
.progress { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin: 14px 0 0; padding: 0; list-style: none; }
.progress li { padding-top: 8px; border-top: 3px solid rgba(255, 255, 255, .22); font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; opacity: .55; }
.progress .done, .progress [aria-current] { border-color: var(--gold); opacity: 1; }
.sheet-body { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 20px 16px; }
.sheet-body h3 { margin-bottom: 14px; font: 800 26px/1 var(--display); text-transform: uppercase; color: var(--strait); }
.sheet form { display: grid; gap: 10px; }
.sheet form h3 { margin-bottom: 0; }
.sheet form .fine { margin: 0 0 4px; }
.sail-card { margin-bottom: 12px; padding: 16px; border-radius: 16px; background: #fff; box-shadow: inset 0 0 0 1.5px var(--line); }
.sail-kind { margin: 0 0 12px; font: 700 11.5px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--lagoon-ink); }
.sail-times { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; }
.sail-times b { display: block; font: 700 26px/1.1 var(--mono); color: var(--strait); }
.sail-times span { font-size: 13px; color: var(--muted); }
.sail-times > div:last-child { text-align: right; }
.sail-dur { position: relative; text-align: center; font: 600 12px var(--mono); }
.sail-dur::before { content: ''; position: absolute; inset: 50% 0 auto; border-top: 2px dashed var(--line); }
.sail-dur span { position: relative; padding: 0 6px; background: #fff; color: var(--muted); }
.pill { display: inline-block; margin: 12px 0 0; padding: 4px 10px; border-radius: 999px; background: rgba(39, 181, 195, .14); color: var(--lagoon-ink); font-size: 12px; font-weight: 700; }
.check { display: flex; align-items: center; gap: 12px; min-height: 48px; font-weight: 700; cursor: pointer; }
.check input { width: 22px; height: 22px; accent-color: var(--strait); }
.ref { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0 0 16px; padding: 12px 14px; border-radius: 12px; background: var(--sand); color: rgba(255, 255, 255, .7); font-size: 13px; }
.ref b { font: 700 18px var(--mono); letter-spacing: .12em; color: var(--gold); }
.summary { display: grid; grid-template-columns: auto 1fr; gap: 10px 16px; margin: 0 0 16px; padding: 16px; border-radius: 16px; background: #fff; box-shadow: inset 0 0 0 1.5px var(--line); }
.summary dt { font-size: 13px; color: var(--muted); }
.summary dd { margin: 0; font-weight: 600; font-size: 14.5px; overflow-wrap: anywhere; }
.sent { padding: 12px 14px; border-radius: 12px; background: rgba(39, 181, 195, .14); font-weight: 600; }
.sheet-foot { display: flex; align-items: center; gap: 10px; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); background: #fff; box-shadow: 0 -1px 0 var(--line); }
.sheet-total { flex: 1; margin: 0; font-size: 12px; color: var(--muted); }
.sheet-foot .btn { white-space: nowrap; }
#wa-send { flex: 1; }
.sheet-total b { display: block; font: 700 18px var(--mono); color: var(--ink); }

/* Hero entrance: one orchestrated moment, nothing else animates on scroll */
.js .hero-copy > *, .js .search { animation: up .9s cubic-bezier(.2, .8, .2, 1) both; }
.js .hero h1 { animation-delay: .08s; }
.js .hero .lede { animation-delay: .18s; }
.js .countdown { animation-delay: .26s; }
.js .search { animation-delay: .36s; }
@keyframes up { from { opacity: 0; transform: translateY(24px); } }

@media (min-width: 700px) {
  .hero-media { background-image: url(assets/hero-poster.jpg); }
  .sheet { width: min(560px, 100% - 32px); height: auto; max-height: min(880px, 100dvh - 48px); margin: auto; border-radius: 20px; overflow: hidden; }
  .sheet-head { padding-top: 16px; }
  .icon-btn { top: 6px; }
  .gallery { grid-template-columns: 2fr 1fr 1fr; }
  .gallery .ph-hero { grid-column: 1; grid-row: 1 / span 2; aspect-ratio: auto; }
  .gallery .ph:last-child { grid-column: 2 / span 2; aspect-ratio: 2 / 1; }
}

@media (min-width: 960px) {
  main > section { padding-block: 112px; }
  .top { height: 72px; gap: 28px; padding-inline: 32px; }
  .brand { margin-right: 0; }
  .nav { display: flex; gap: 24px; margin-left: auto; }
  .nav-book { display: inline-flex; }
  .hero { display: grid; align-items: end; min-height: min(100vh, 940px); padding-block: 140px 88px; }
  .hero-media { height: 100%; }
  .hero-copy { min-height: 0; }
  .hero .lede { margin-top: 16px; }
  .hero-inner { grid-template-columns: 1.15fr .85fr; align-items: end; gap: 56px; }
  .search { padding: 22px; }
  .map { width: min(100% - 64px, 1160px); margin: 44px auto 28px; border-radius: 24px; overflow: hidden; }
  .compare { grid-template-columns: 1fr 1fr; gap: 32px; }
  .dest-list { grid-auto-flow: row; grid-template-columns: repeat(4, 1fr); width: min(100% - 32px, 1160px); margin-inline: auto; padding: 4px 0 16px; overflow: visible; }
  .amenities { grid-template-columns: repeat(5, 1fr); }
  .dock { inset: auto 24px 24px auto; padding: 0; background: none; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; transform: none; }
  .dock-price, .dock .btn { display: none; }
  .dock-wa { width: 56px; height: 56px; box-shadow: 0 10px 30px -8px rgba(0, 0, 0, .4); }
  .foot { padding-block: 64px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
