/* JML Transportation & Tours — basalt / ember / sand */

:root {
  --bg: #0b0b0a;
  --bg-2: #131311;
  --surface: rgba(255, 248, 236, 0.035);
  --surface-2: rgba(255, 248, 236, 0.06);
  --line: rgba(255, 248, 236, 0.1);
  --line-2: rgba(255, 248, 236, 0.18);
  --ink: #f4eee3;
  --ink-2: rgba(244, 238, 227, 0.68);
  --ink-3: rgba(244, 238, 227, 0.45);
  --accent: #ff6a2b;
  --accent-ink: #160803;
  --accent-soft: rgba(255, 106, 43, 0.14);
  --sea: #3fd2c7;
  --glow-1: rgba(255, 106, 43, 0.16);
  --glow-2: rgba(63, 210, 199, 0.07);
  --shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.8);

  --serif: "Instrument Serif", "Times New Roman", serif;
  --sans: "DM Sans", ui-sans-serif, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;

  --gutter: clamp(16px, 4vw, 56px);
  --max: 1320px;
  --r: 18px;
  --ease: cubic-bezier(0.2, 0.7, 0.1, 1);
  color-scheme: dark;
}

@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) {
    --bg: #f4eee3;
    --bg-2: #ebe3d4;
    --surface: rgba(20, 16, 10, 0.035);
    --surface-2: rgba(20, 16, 10, 0.06);
    --line: rgba(20, 16, 10, 0.12);
    --line-2: rgba(20, 16, 10, 0.22);
    --ink: #14110c;
    --ink-2: rgba(20, 17, 12, 0.7);
    --ink-3: rgba(20, 17, 12, 0.5);
    --accent: #d9480f;
    --accent-ink: #fff7f0;
    --accent-soft: rgba(217, 72, 15, 0.1);
    --sea: #0f8f86;
    --glow-1: rgba(217, 72, 15, 0.1);
    --glow-2: rgba(15, 143, 134, 0.07);
    --shadow: 0 30px 70px -35px rgba(60, 40, 10, 0.45);
    color-scheme: light;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 16px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
  position: relative;
}
/* atmosphere: ember + sea glow, grain, fine grid */
body::before {
  content: "";
  position: fixed; inset: 0; z-index: -2; pointer-events: none;
  background:
    radial-gradient(60vw 50vw at 85% -10%, var(--glow-1), transparent 60%),
    radial-gradient(50vw 40vw at -10% 40%, var(--glow-2), transparent 60%),
    linear-gradient(var(--line) 1px, transparent 1px) 0 0 / 100% 96px;
  mask-image: linear-gradient(#000, rgba(0,0,0,.35));
}
body::after {
  content: "";
  position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: .07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
::selection { background: var(--accent); color: var(--accent-ink); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--accent); color: var(--accent-ink); padding: 10px 14px; border-radius: 8px; }
.skip:focus { left: 8px; }

.mono { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; }
.serif { font-family: var(--serif); }
em { font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--accent); }

.eyebrow {
  font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink-3); margin: 0 0 18px; display: flex; align-items: center; gap: 12px;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: var(--accent); }

.display {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(3.2rem, 9.5vw, 8.6rem); line-height: 0.9; letter-spacing: -0.02em; margin: 0 0 28px;
}
.h2 {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(2.4rem, 5.6vw, 4.6rem); line-height: 0.98; letter-spacing: -0.015em; margin: 0;
}
.h3 { font-family: var(--serif); font-weight: 400; font-size: 2rem; line-height: 1.05; margin: 0 0 10px; }
.lede { color: var(--ink-2); font-size: clamp(1rem, 1.3vw, 1.12rem); max-width: 52ch; margin: 0; }

/* buttons */
.btn {
  --b: var(--line-2);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 24px; border-radius: 999px; border: 1px solid var(--b);
  font: 500 0.95rem/1 var(--sans); text-decoration: none; cursor: pointer;
  transition: transform .35s var(--ease), background .25s, color .25s, border-color .25s, box-shadow .35s;
  background: transparent; color: var(--ink);
}
.btn span { transition: transform .35s var(--ease); }
.btn:hover span { transform: translateX(4px); }
.btn:active { transform: scale(.98); }
.btn--accent { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); box-shadow: 0 12px 40px -12px var(--accent); }
.btn--accent:hover { box-shadow: 0 18px 50px -12px var(--accent); transform: translateY(-1px); }
.btn--ghost:hover, .btn--line:hover { border-color: var(--ink); background: var(--surface-2); }
.btn--sm { padding: 10px 18px; font-size: .88rem; }
.btn--block { width: 100%; padding: 18px; font-size: 1rem; }
.linkish { background: none; border: 0; padding: 0; color: var(--ink-2); font: inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.linkish:hover { color: var(--ink); }

/* nav */
.nav { position: sticky; top: 0; z-index: 50; transition: background .3s, border-color .3s, backdrop-filter .3s; border-bottom: 1px solid transparent; }
.nav.is-scrolled { background: color-mix(in srgb, var(--bg) 78%, transparent); backdrop-filter: blur(16px) saturate(1.3); border-color: var(--line); }
.nav__inner { max-width: var(--max); margin: 0 auto; padding: 14px var(--gutter); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.nav__brand { display: block; flex-shrink: 0; }
.logo { height: 42px; width: auto; }
.logo--dark { display: none; }
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) .logo--light { display: none; }
  :root:not([data-theme="dark"]) .logo--dark { display: block; }
}
.nav__links { display: flex; align-items: center; gap: 28px; }
.nav__links a:not(.btn) { text-decoration: none; color: var(--ink-2); font-size: .93rem; transition: color .2s; position: relative; }
.nav__links a:not(.btn):hover { color: var(--ink); }
.nav__links a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 1px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.nav__links a:not(.btn):hover::after { transform: scaleX(1); }
.nav__phone .mono { font-size: .78rem; color: var(--ink); }
.nav__toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--line-2); border-radius: 999px; background: var(--surface); cursor: pointer; position: relative; }
.nav__toggle span { position: absolute; left: 13px; right: 13px; height: 1.5px; background: var(--ink); transition: transform .35s var(--ease), top .35s var(--ease); }
.nav__toggle span:first-child { top: 17px; }
.nav__toggle span:last-child { top: 25px; }
.nav__toggle[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }

/* sections */
.section { max-width: var(--max); margin: 0 auto; padding: clamp(80px, 12vw, 160px) var(--gutter) 0; }
.section__head { margin-bottom: clamp(40px, 6vw, 72px); }
.section__head--split { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: end; }

/* hero */
.hero {
  max-width: var(--max); margin: 0 auto; padding: clamp(36px, 7vw, 90px) var(--gutter) clamp(56px, 7vw, 90px);
  display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(28px, 4vw, 64px); align-items: center;
}
.hero__copy { position: relative; z-index: 2; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 36px 0 48px; }
.hero__facts { display: grid; grid-template-columns: repeat(3, auto); gap: 32px; margin: 0; padding-top: 24px; border-top: 1px solid var(--line); width: fit-content; }
.hero__facts dt { font: 0.66rem/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 8px; }
.hero__facts dd { margin: 0; font-family: var(--serif); font-size: 1.6rem; line-height: 1; white-space: nowrap; }
.stars { color: var(--accent); font-size: .8rem; letter-spacing: 2px; vertical-align: middle; }

.hero__media { position: relative; margin-right: calc(var(--gutter) * -1); }
.hero__frame { margin: 0; border-radius: var(--r) 0 0 var(--r); overflow: hidden; aspect-ratio: 4 / 4.4; box-shadow: var(--shadow); border: 1px solid var(--line); border-right: 0; }
.hero__frame img { width: 100%; height: 100%; object-fit: cover; object-position: 30% 50%; transform: scale(1.06); animation: settle 2.4s var(--ease) both; }
@keyframes settle { from { transform: scale(1.18); } to { transform: scale(1.06); } }
.chip {
  position: absolute; display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-radius: 14px;
  background: color-mix(in srgb, var(--bg) 62%, transparent); backdrop-filter: blur(14px); border: 1px solid var(--line-2);
  box-shadow: var(--shadow);
}
.chip--flight { top: 8%; left: -36px; animation: float 6s ease-in-out infinite; }
.chip--quote { bottom: 7%; left: -64px; flex-direction: column; align-items: flex-start; gap: 6px; max-width: 280px; animation: float 7s ease-in-out -2s infinite; }
.chip--quote .serif { font-size: 1.25rem; line-height: 1.15; font-style: italic; }
.chip--quote .mono { color: var(--ink-3); font-size: .64rem; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--sea); box-shadow: 0 0 0 0 var(--sea); animation: ping 2s infinite; flex-shrink: 0; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--sea) 70%, transparent); } 100% { box-shadow: 0 0 0 10px transparent; } }
@keyframes float { 50% { transform: translateY(-8px); } }

/* page-load reveal */
.reveal { opacity: 0; transform: translateY(18px); animation: rise .9s var(--ease) forwards; }
.reveal[data-d="0"] { animation-delay: .05s; }
.reveal[data-d="1"] { animation-delay: .15s; }
.reveal[data-d="2"] { animation-delay: .3s; }
.reveal[data-d="3"] { animation-delay: .45s; }
.reveal[data-d="4"] { animation-delay: .6s; }
@keyframes rise { to { opacity: 1; transform: none; } }
/* scroll reveal (JS adds .in) */
.js .sr { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .sr.in { opacity: 1; transform: none; }

/* ticker */
.ticker { border-block: 1px solid var(--line); overflow: hidden; padding: 18px 0; background: var(--surface); }
.ticker__track { display: flex; width: max-content; animation: tick 48s linear infinite; }
.ticker__track span { font-family: var(--serif); font-size: clamp(1.4rem, 2.6vw, 2rem); white-space: nowrap; padding: 0 28px; display: flex; align-items: center; gap: 56px; }
.ticker__track span::after { content: "✦"; font-size: .8rem; color: var(--accent); margin-left: 28px; }
@keyframes tick { to { transform: translateX(-50%); } }

/* services */
.svc { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.svc__row { border-bottom: 1px solid var(--line); }
.svc__link {
  display: grid; grid-template-columns: 70px 1.1fr 1fr 40px; align-items: center; gap: 24px;
  padding: clamp(22px, 3vw, 34px) 0; text-decoration: none; position: relative; transition: padding .45s var(--ease);
}
.svc__link::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--accent-soft), transparent 70%); opacity: 0; transition: opacity .4s; }
.svc__link:hover::before { opacity: 1; }
.svc__link:hover { padding-left: 18px; }
.svc__num { color: var(--ink-3); position: relative; }
.svc__name { font-family: var(--serif); font-size: clamp(1.8rem, 3.8vw, 3.1rem); line-height: 1; position: relative; }
.svc__row--lead .svc__name { font-size: clamp(2.2rem, 5vw, 4.2rem); font-style: italic; color: var(--accent); }
.svc__desc { color: var(--ink-2); position: relative; max-width: 40ch; }
.svc__arrow { font-size: 1.4rem; justify-self: end; transition: transform .45s var(--ease); position: relative; }
.svc__link:hover .svc__arrow { transform: translateX(6px) rotate(-45deg); color: var(--accent); }

/* tours */
.tours { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(32px, 5vw, 80px); align-items: start; }
.tours__media { position: sticky; top: 110px; border-radius: var(--r); overflow: hidden; aspect-ratio: 4 / 5; border: 1px solid var(--line); box-shadow: var(--shadow); }
.tours__media img { width: 100%; height: 100%; object-fit: cover; }
.tours__badge {
  position: absolute; left: 18px; bottom: 18px; padding: 16px 20px; border-radius: 14px;
  background: color-mix(in srgb, var(--bg) 70%, transparent); backdrop-filter: blur(14px); border: 1px solid var(--line-2);
  display: grid; gap: 2px;
}
.tours__badge strong { font-family: var(--serif); font-weight: 400; font-size: 3rem; line-height: 1; color: var(--ink); }
.tours__badge .mono { color: var(--ink-3); font-size: .64rem; }
.tours__copy .lede { margin: 24px 0 36px; }

.route { border: 1px solid var(--line-2); border-radius: var(--r); padding: clamp(18px, 2.4vw, 28px); background: var(--surface); }
.route__head { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; color: var(--ink-3); padding-bottom: 18px; border-bottom: 1px dashed var(--line-2); margin-bottom: 8px; }
.route__count b { color: var(--accent); font-weight: 500; }
.route__group { border: 0; margin: 0; padding: 14px 0 4px; display: flex; flex-wrap: wrap; gap: 8px; }
.route__group legend { font-family: var(--serif); font-style: italic; font-size: 1.15rem; color: var(--ink-2); padding: 0 0 8px; float: left; width: 100%; }
.stop {
  font: 500 .88rem/1 var(--sans); color: var(--ink); background: transparent; border: 1px solid var(--line-2);
  padding: 10px 14px; border-radius: 999px; cursor: pointer; display: inline-flex; align-items: center; gap: 8px;
  transition: background .25s, border-color .25s, color .25s, transform .3s var(--ease);
}
.stop::before { content: "+"; font-family: var(--mono); color: var(--ink-3); transition: transform .3s var(--ease); }
.stop:hover { border-color: var(--ink); }
.stop[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.stop[aria-pressed="true"]::before { content: "✓"; color: var(--accent-ink); }
.stop:active { transform: scale(.96); }
.route__foot { display: flex; justify-content: flex-end; align-items: center; gap: 20px; margin-top: 20px; padding-top: 20px; border-top: 1px dashed var(--line-2); }

/* airport */
.airport__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4vw, 64px); align-items: stretch; }
.airport__img { margin: 0; border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); min-height: 420px; }
.airport__img img { width: 100%; height: 100%; object-fit: cover; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; }
.steps li { display: grid; grid-template-columns: 56px 1fr; column-gap: 12px; padding: 26px 0; border-top: 1px solid var(--line); }
.steps li:last-child { border-bottom: 1px solid var(--line); }
.steps__n { color: var(--accent); grid-row: span 2; padding-top: 8px; font-size: .9rem; }
.steps h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(1.6rem, 2.4vw, 2.1rem); line-height: 1; margin: 0 0 8px; }
.steps p { margin: 0; color: var(--ink-2); }

/* fleet */
.fleet { display: grid; grid-template-columns: 1.4fr 1fr; align-items: center; }
.fleet__img { border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); aspect-ratio: 16 / 11; grid-column: 1 / 2; grid-row: 1; }
.fleet__img img { width: 100%; height: 100%; object-fit: cover; }
.fleet__card {
  grid-column: 1 / -1; grid-row: 1; justify-self: end; width: min(480px, 46%); position: relative; z-index: 2;
  padding: clamp(24px, 3vw, 44px); border-radius: var(--r); border: 1px solid var(--line-2);
  background: color-mix(in srgb, var(--bg-2) 82%, transparent); backdrop-filter: blur(18px); box-shadow: var(--shadow);
}
.specs { list-style: none; padding: 0; margin: 32px 0 0; }
.specs li { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-top: 1px solid var(--line); }
.specs .mono { color: var(--ink-3); padding-top: 3px; }
.specs li span:last-child { text-align: right; }

/* rates */
.rates__grid { display: grid; grid-template-columns: 1.25fr 1fr 1fr; gap: 16px; align-items: stretch; }
.rate {
  border: 1px solid var(--line); border-radius: var(--r); padding: clamp(24px, 3vw, 36px); background: var(--surface);
  display: flex; flex-direction: column; transition: border-color .3s, transform .45s var(--ease);
}
.rate:hover { border-color: var(--line-2); transform: translateY(-4px); }
.rate h3 { font-family: var(--serif); font-weight: 400; font-size: 1.9rem; line-height: 1.05; margin: 0 0 22px; }
.rate__tag { color: var(--accent); margin: 0 0 14px; }
.rate__price { font-family: var(--serif); font-size: clamp(3.4rem, 6vw, 5rem); line-height: .9; margin: 0 0 12px; letter-spacing: -.02em; }
.rate__price--quote { font-style: italic; color: var(--ink-2); font-size: clamp(2.8rem, 4.6vw, 3.8rem); }
.rate__from, .rate__unit { font-family: var(--mono); font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); vertical-align: middle; }
.rate__note { color: var(--ink-2); margin: 0 0 22px; font-size: .95rem; }
.rate__note b { color: var(--ink); font-weight: 600; }
.rate ul { list-style: none; padding: 0; margin: 0 0 28px; flex: 1; }
.rate li { padding: 10px 0 10px 26px; border-top: 1px solid var(--line); position: relative; font-size: .95rem; }
.rate li::before { content: "→"; position: absolute; left: 0; color: var(--accent); font-family: var(--mono); font-size: .8rem; top: 13px; }
.rate--feature {
  background: radial-gradient(120% 80% at 100% 0%, var(--accent-soft), transparent 60%), var(--surface-2);
  border-color: color-mix(in srgb, var(--accent) 45%, transparent);
}

/* reviews */
.reviews__hint { justify-self: end; color: var(--ink-3); }
.reviews__rail {
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(300px, 30%); gap: 16px;
  overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 18px; scrollbar-width: thin; scrollbar-color: var(--line-2) transparent;
}
.review {
  margin: 0; scroll-snap-align: start; border: 1px solid var(--line); border-radius: var(--r); padding: 28px;
  display: flex; flex-direction: column; justify-content: space-between; gap: 28px; background: var(--surface);
}
.review p { margin: 0; font-family: var(--serif); font-size: 1.4rem; line-height: 1.25; }
.review--big { grid-column: span 1; background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.review--big p { font-size: 1.6rem; }
.review footer { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-weight: 500; font-size: .92rem; }
.review footer .mono { opacity: .6; font-size: .62rem; }

/* faq */
.faq { display: grid; grid-template-columns: 1fr 1.4fr; gap: 48px; }
.faq .section__head { margin: 0; }
.faq__list details { border-top: 1px solid var(--line); }
.faq__list details:last-child { border-bottom: 1px solid var(--line); }
.faq__list summary {
  list-style: none; cursor: pointer; padding: 24px 40px 24px 0; position: relative;
  font-family: var(--serif); font-size: clamp(1.35rem, 2vw, 1.7rem); line-height: 1.15;
}
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list summary::after { content: "+"; position: absolute; right: 4px; top: 22px; font-family: var(--mono); font-size: 1.2rem; color: var(--accent); transition: transform .35s var(--ease); }
.faq__list details[open] summary::after { transform: rotate(45deg); }
.faq__list p { margin: 0 0 24px; color: var(--ink-2); max-width: 60ch; }

/* booking */
.book { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(32px, 5vw, 80px); align-items: start; padding-bottom: clamp(80px, 10vw, 140px); }
.book__intro { position: sticky; top: 110px; }
.book__intro .lede { margin: 24px 0 36px; }
.contact { list-style: none; padding: 0; margin: 0; }
.contact li { display: grid; grid-template-columns: 70px 1fr; gap: 12px; padding: 16px 0; border-top: 1px solid var(--line); }
.contact .mono { color: var(--ink-3); padding-top: 4px; }
.contact a { text-decoration: none; word-break: break-word; }
.contact a:hover { color: var(--accent); }

.form {
  border: 1px solid var(--line-2); border-radius: calc(var(--r) + 6px); padding: clamp(20px, 3vw, 40px);
  background: linear-gradient(180deg, var(--surface-2), var(--surface)); box-shadow: var(--shadow); position: relative;
}
.seg { display: flex; flex-wrap: wrap; gap: 6px; padding: 6px; border: 1px solid var(--line); border-radius: 999px; margin-bottom: 28px; background: var(--surface); }
.seg label { flex: 1 1 auto; position: relative; }
.seg input { position: absolute; opacity: 0; inset: 0; cursor: pointer; margin: 0; }
.seg span { display: block; text-align: center; padding: 11px 14px; border-radius: 999px; font-size: .88rem; font-weight: 500; color: var(--ink-2); transition: background .25s, color .25s; white-space: nowrap; }
.seg input:checked + span { background: var(--ink); color: var(--bg); }
.seg input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.seg label:hover span { color: var(--ink); }
.seg input:checked:hover + span { color: var(--bg); }

.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 16px; }
.field { display: grid; gap: 8px; align-content: start; }
.field--wide { grid-column: 1 / -1; }
.field[hidden] { display: none; }
.field label { font: 500 .7rem/1.2 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); }
.opt { color: var(--ink-3); text-transform: none; letter-spacing: 0; font-family: var(--sans); font-weight: 400; font-size: .78rem; margin-left: 4px; }
.field input, .field select, .field textarea {
  width: 100%; font: 400 1rem/1.4 var(--sans); color: var(--ink); background: var(--bg);
  border: 1px solid var(--line-2); border-radius: 12px; padding: 13px 14px; transition: border-color .2s, box-shadow .2s;
  appearance: none; -webkit-appearance: none; min-height: 48px;
}
.field select { background-image: linear-gradient(45deg, transparent 50%, var(--ink-2) 50%), linear-gradient(135deg, var(--ink-2) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 36px; }
.field textarea { resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: var(--ink-3); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.field.is-invalid input, .field.is-invalid select, .field.is-invalid textarea { border-color: #ff4d4d; }
.field input[type="date"]::-webkit-calendar-picker-indicator, .field input[type="time"]::-webkit-calendar-picker-indicator { filter: invert(var(--invert, 1)) opacity(.6); cursor: pointer; }
@media (prefers-color-scheme: light) { :root:not([data-theme="dark"]) { --invert: 0; } }

.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form__error { color: #ff6b6b; margin: 18px 0 0; font-size: .92rem; }
.form .btn--block { margin-top: 24px; }
.form__fine { color: var(--ink-3); font-size: .82rem; margin: 14px 0 0; text-align: center; }
.form__done {
  position: absolute; inset: 0; border-radius: inherit; background: var(--bg-2); padding: clamp(28px, 4vw, 56px);
  display: flex; flex-direction: column; justify-content: center; gap: 6px; animation: rise .6s var(--ease) both; opacity: 0;
}
.form__done[hidden] { display: none; }
.form__done p { color: var(--ink-2); max-width: 46ch; }
.form__done .linkish { align-self: flex-start; margin-top: 10px; }

/* footer */
.foot { border-top: 1px solid var(--line); background: var(--bg-2); }
.foot__inner { max-width: var(--max); margin: 0 auto; padding: 64px var(--gutter) 40px; display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 40px; }
.foot__brand p { color: var(--ink-2); max-width: 38ch; margin: 20px 0 0; font-size: .95rem; }
.foot__brand .logo { height: 54px; }
.foot nav, .foot__inner > div:last-child { display: grid; gap: 10px; align-content: start; }
.foot .mono { color: var(--ink-3); margin: 0 0 6px; }
.foot a { text-decoration: none; color: var(--ink-2); font-size: .95rem; transition: color .2s; word-break: break-word; }
.foot a:hover { color: var(--accent); }
.foot span { color: var(--ink-2); font-size: .95rem; }
.foot__legal { max-width: var(--max); margin: 0 auto; padding: 22px var(--gutter) 28px; border-top: 1px solid var(--line); color: var(--ink-3); }

/* mobile call bar */
.callbar {
  display: none; position: fixed; left: 16px; right: 16px; bottom: 14px; z-index: 40;
  padding: 16px; border-radius: 999px; text-align: center; text-decoration: none; font-weight: 600;
  background: var(--accent); color: var(--accent-ink); box-shadow: 0 16px 40px -10px rgba(0,0,0,.6);
  align-items: center; justify-content: center; gap: 10px;
  transform: translateY(140%); transition: transform .5s var(--ease);
}
.callbar.is-on { transform: none; }
.callbar .dot { background: var(--accent-ink); animation: none; }

/* responsive */
@media (max-width: 1080px) {
  .rates__grid { grid-template-columns: 1fr 1fr; }
  .rate--feature { grid-column: 1 / -1; }
  .svc__link { grid-template-columns: 50px 1fr 32px; }
  .svc__desc { grid-column: 2 / 3; grid-row: 2; }
  .svc__arrow { grid-row: 1 / span 2; grid-column: 3; }
  .chip--quote { left: -24px; }
}
@media (max-width: 900px) {
  .nav__toggle { display: block; }
  .nav__links {
    position: fixed; inset: 70px 0 auto 0; flex-direction: column; align-items: stretch; gap: 0;
    padding: 8px var(--gutter) 24px; background: color-mix(in srgb, var(--bg) 96%, transparent); backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--line); transform: translateY(-12px); opacity: 0; visibility: hidden;
    transition: opacity .3s, transform .4s var(--ease), visibility .3s;
  }
  .nav__links.is-open { opacity: 1; transform: none; visibility: visible; }
  .nav__links a:not(.btn) { padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 1.1rem; }
  .nav__links a:not(.btn)::after { display: none; }
  .nav__links .btn { margin-top: 16px; padding: 16px; }
  .nav.is-scrolled, .nav:has(.is-open) { background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: blur(16px); border-color: var(--line); }

  .hero { grid-template-columns: 1fr; }
  .hero__media { margin: 8px calc(var(--gutter) * -1) 0 0; order: -1; }
  .hero__frame { aspect-ratio: 16 / 11; }
  .chip--flight { left: auto; right: 24px; top: 16px; }
  .chip--quote { display: none; }
  .hero__cta { margin: 28px 0 36px; }

  .section__head--split, .tours, .airport__grid, .faq, .book { grid-template-columns: 1fr; }
  .tours__media, .book__intro { position: relative; top: 0; }
  .tours__media { aspect-ratio: 16 / 11; }
  .airport__img { min-height: 0; aspect-ratio: 16 / 11; }
  .fleet { grid-template-columns: 1fr; }
  .fleet__img { grid-column: 1; grid-row: 1; }
  .fleet__card { grid-column: 1; grid-row: 2; width: auto; justify-self: stretch; margin: -60px 16px 0; }
  .reviews__rail { grid-auto-columns: minmax(280px, 80%); }
  .reviews__hint { justify-self: start; }
  .foot__inner { grid-template-columns: 1fr 1fr; }
  .foot__brand { grid-column: 1 / -1; }
  .callbar { display: flex; }
  .foot { padding-bottom: 80px; }
}
@media (max-width: 560px) {
  .hero__facts { grid-template-columns: repeat(3, auto); gap: 18px; width: 100%; }
  .hero__facts dd { font-size: 1.2rem; }
  .hero__cta .btn { flex: 1 1 100%; }
  .rates__grid, .grid2 { grid-template-columns: 1fr; }
  .seg { border-radius: 18px; }
  .seg label { flex: 1 1 40%; }
  .fleet__card { margin: -40px 8px 0; }
  .specs li { flex-direction: column; gap: 4px; }
  .specs li span:last-child { text-align: left; }
  .foot__inner { grid-template-columns: 1fr; }
  .route__foot { flex-direction: column-reverse; align-items: stretch; }
  .route__foot .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .reveal, .js .sr { opacity: 1; transform: none; }
}

/* small-party band */
.small-party {
  margin-top: 16px; display: grid; grid-template-columns: 1.4fr auto; gap: 28px; align-items: center;
  padding: clamp(24px, 3vw, 36px); border-radius: var(--r); border: 1px dashed color-mix(in srgb, var(--sea) 55%, transparent);
  background: radial-gradient(80% 140% at 0% 100%, var(--glow-2), transparent 70%), var(--surface);
}
.small-party .rate__tag { color: var(--sea); }
.small-party h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(1.7rem, 2.8vw, 2.3rem); line-height: 1.05; margin: 0 0 10px; }
.small-party p:last-child { color: var(--ink-2); margin: 0; max-width: 58ch; }
.small-party__cta { display: flex; gap: 10px; flex-wrap: wrap; }
.sp-note {
  grid-column: 1 / -1; padding: 14px 16px; border-radius: 12px; font-size: .92rem; color: var(--ink-2);
  border: 1px solid color-mix(in srgb, var(--sea) 45%, transparent); background: var(--glow-2);
}
.sp-note[hidden] { display: none; }
.sp-note b { color: var(--ink); }
.sp-note a, .faq__list p a { color: var(--accent); }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* chat concierge */
.chat { position: fixed; right: 20px; bottom: 20px; z-index: 60; }
.chat__fab {
  display: flex; align-items: center; gap: 10px; padding: 14px 20px 14px 16px; border-radius: 999px; cursor: pointer;
  background: var(--ink); color: var(--bg); border: 0; font: 600 .95rem/1 var(--sans); box-shadow: 0 18px 50px -14px rgba(0,0,0,.7);
  transition: transform .4s var(--ease);
}
.chat__fab:hover { transform: translateY(-2px); }
.chat__fab-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.chat.is-open .chat__fab { display: none; }
.chat__panel {
  width: min(380px, calc(100vw - 32px)); height: min(580px, calc(100dvh - 40px)); display: flex; flex-direction: column;
  border-radius: 22px; overflow: hidden; border: 1px solid var(--line-2); box-shadow: var(--shadow), 0 0 0 1px rgba(0,0,0,.2);
  background: color-mix(in srgb, var(--bg-2) 94%, transparent); backdrop-filter: blur(20px);
  transform-origin: bottom right; animation: pop .45s var(--ease) both;
}
.chat__panel[hidden] { display: none; }
@keyframes pop { from { opacity: 0; transform: translateY(12px) scale(.96); } }
.chat__head { display: flex; justify-content: space-between; align-items: flex-start; padding: 20px 20px 16px; border-bottom: 1px solid var(--line); }
.chat__head .mono { color: var(--accent); margin: 0 0 6px; }
.chat__head h2 { font-family: var(--serif); font-weight: 400; font-size: 1.6rem; line-height: 1; margin: 0; }
.chat__close { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line-2); background: transparent; color: var(--ink); font-size: 1.3rem; line-height: 1; cursor: pointer; }
.chat__close:hover { border-color: var(--ink); }
.chat__log { flex: 1; overflow-y: auto; padding: 18px 16px; display: flex; flex-direction: column; gap: 10px; scrollbar-width: thin; }
.msg { max-width: 86%; padding: 11px 14px; border-radius: 16px; font-size: .93rem; line-height: 1.45; animation: rise .4s var(--ease) both; opacity: 0; transform: translateY(6px); }
.msg--bot { align-self: flex-start; background: var(--surface-2); border: 1px solid var(--line); border-bottom-left-radius: 4px; }
.msg--me { align-self: flex-end; background: var(--accent); color: var(--accent-ink); border-bottom-right-radius: 4px; }
.msg__actions { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.msg__actions a { font: 600 .82rem/1 var(--sans); text-decoration: none; padding: 9px 12px; border-radius: 999px; background: var(--ink); color: var(--bg); }
.msg__actions a.alt { background: transparent; color: var(--ink); border: 1px solid var(--line-2); }
.typing { display: inline-flex; gap: 4px; }
.typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--ink-3); animation: blink 1s infinite; }
.typing i:nth-child(2) { animation-delay: .15s; } .typing i:nth-child(3) { animation-delay: .3s; }
@keyframes blink { 50% { opacity: .2; } }
.chat__quick { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 16px 12px; }
.chat__quick button { font: 500 .82rem/1 var(--sans); padding: 9px 12px; border-radius: 999px; border: 1px solid var(--line-2); background: transparent; color: var(--ink); cursor: pointer; transition: background .2s, border-color .2s; }
.chat__quick button:hover { border-color: var(--accent); background: var(--accent-soft); }
.chat__input { display: flex; gap: 8px; padding: 12px; border-top: 1px solid var(--line); }
.chat__input input { flex: 1; min-width: 0; font: 400 16px/1.3 var(--sans); color: var(--ink); background: var(--bg); border: 1px solid var(--line-2); border-radius: 999px; padding: 12px 16px; }
.chat__input input:focus { outline: none; border-color: var(--accent); }
.chat__input button { width: 46px; height: 46px; flex-shrink: 0; border-radius: 50%; border: 0; background: var(--accent); color: var(--accent-ink); font-size: 1.1rem; cursor: pointer; }

@media (max-width: 900px) {
  .small-party { grid-template-columns: 1fr; }
  .chat { right: 16px; bottom: 84px; }
  .chat.is-open { right: 16px; bottom: 16px; }
  .chat__fab-label { display: none; }
  .chat__fab { padding: 16px; }
}
@media (max-width: 560px) {
  .small-party__cta .btn { flex: 1 1 100%; }
}
