/* =========================================================
   BlueWake – speedboat day trips template
   Look: an Adriatic summer poster. Flat colour fields, square
   corners, one wide heavy face for headlines and prices.
   Design tokens first: change these to re-brand the site.
   ========================================================= */
/* Archivo (variable: weight 400–900, width 62–125%), served from this site: no third-party font
   request. SIL Open Font License 1.1, see fonts/OFL.txt. latin-ext carries š, č, ž, ć, đ. */
@font-face {
  font-family: "Archivo"; font-style: normal; font-weight: 400 900; font-stretch: 62% 125%; font-display: swap;
  src: url("fonts/archivo-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Archivo"; font-style: normal; font-weight: 400 900; font-stretch: 62% 125%; font-display: swap;
  src: url("fonts/archivo-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  /* Colour: every surface is one of these, flat */
  --cobalt: #0f3aa8;       /* the sea: hero, chart, reviews, booking */
  --cobalt-2: #0b2d86;     /* pressed / hover on cobalt */
  --stone: #f2f3ef;        /* white Brač stone: reading sections */
  --stone-2: #e3e6de;
  --sun: #ffc533;          /* the sun disc, the boats section, actions on cobalt */
  --red: #d4351f;          /* actions on light grounds, the home port */
  --red-2: #b52a17;
  --ink: #0c1633;          /* text on light grounds, footer */
  --ink-2: #3a4566;        /* secondary text on stone (7.9:1) */
  --on-cobalt-2: #cdd8f8;  /* secondary text on cobalt (6.6:1) */

  /* Type: one family, two widths */
  --font: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --step--1: .9rem;
  --step-0: 1.0625rem;
  --step-1: 1.25rem;
  --step-2: clamp(1.35rem, 1.1rem + 1vw, 1.75rem);
  --step-3: clamp(1.9rem, 1.2rem + 3vw, 3.5rem);
  --step-4: clamp(2.4rem, .6rem + 6.4vw, 6rem);

  /* Space & shape */
  --gutter: clamp(16px, 4vw, 40px);
  --section: clamp(64px, 9vw, 120px);
  --rule: 3px;             /* poster rules between rows */
  --header-h: 64px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --focus-ring: var(--cobalt);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font: 400 var(--step-0)/1.55 var(--font);
  font-stretch: 100%;
  color: var(--ink);
  background: var(--stone);
  accent-color: var(--cobalt);
  caret-color: var(--cobalt);
  -webkit-font-smoothing: antialiased;
}
::selection { background: var(--sun); color: var(--ink); }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: 2px; text-underline-offset: 3px; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
ul, ol, dl, dd, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }

/* The display voice: wide, heavy, upper case. Used for headlines, prices and button labels. */
h1, h2, .display {
  margin: 0;
  font-weight: 900; font-stretch: 125%;
  text-transform: uppercase; letter-spacing: -.02em; word-spacing: .08em; line-height: .94;
  text-wrap: balance;
}
h2 { font-size: var(--step-3); }
h3 { margin: 0; font-weight: 800; font-stretch: 112%; font-size: var(--step-2); line-height: 1.1; letter-spacing: -.01em; text-wrap: balance; }

:focus-visible { outline: 3px solid var(--focus-ring); outline-offset: 3px; }
/* Sections and <main> receive focus only programmatically (skip link, menu links): no ring around them. */
[tabindex="-1"]:focus { outline: none; }

.wrap { width: min(1280px, 100% - 2 * var(--gutter)); margin-inline: auto; }

.skip {
  position: absolute; left: 12px; top: -64px; z-index: 100;
  background: var(--sun); color: var(--ink); padding: .7em 1em; font-weight: 700;
}
.skip:focus { top: 12px; }

.link { font-weight: 700; color: var(--cobalt); }
.sample { color: var(--on-cobalt-2); }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* ---------- Photos ----------
   Every photo sits in a frame with a fixed ratio and is cropped to fill it. --focus (x% y%) says
   which part of the picture must stay in view, so a replacement photo never breaks the layout. */
.photo, .hero__img, .trip__media img, .boat__media img {
  width: 100%; height: 100%; object-fit: cover; object-position: var(--focus, 50% 50%);
  background: var(--stone-2);
}
.info__meet .photo { aspect-ratio: 16 / 10; height: auto; }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--ink); --btn-fg: #fff; --btn-hover: #1b2a57;
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 1.5em;
  border: 0; border-radius: 0;
  background: var(--btn-bg); color: var(--btn-fg);
  font: 800 .95rem/1 var(--font); font-stretch: 112%; letter-spacing: .02em; text-transform: uppercase; text-decoration: none;
  cursor: pointer;
  transition: background-color .15s;
}
@media (hover: hover) { .btn:hover { background: var(--btn-hover); } }
.btn:active { transform: translateY(1px); }
.btn--red { --btn-bg: var(--red); --btn-hover: var(--red-2); }
.btn--sun { --btn-bg: var(--sun); --btn-fg: var(--ink); --btn-hover: #ffd76b; }
.btn--line { --btn-bg: transparent; --btn-fg: var(--ink); --btn-hover: var(--stone-2); box-shadow: inset 0 0 0 var(--rule) var(--ink); }
.btn--sm { min-height: 44px; padding: 0 1.1em; font-size: .85rem; }
.btn--block { width: 100%; }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 50; height: var(--header-h);
  background: var(--cobalt); color: #fff;
  --focus-ring: var(--sun);
}
.header__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.brand { display: inline-flex; align-items: center; gap: .55em; min-height: 44px; text-decoration: none; position: relative; z-index: 2; }
.brand__mark { width: 34px; height: 34px; flex: none; }
.brand__name { font-weight: 900; font-stretch: 125%; font-size: 1.2rem; line-height: 1; text-transform: uppercase; letter-spacing: -.01em; }

.nav { display: flex; align-items: center; gap: clamp(16px, 2.2vw, 32px); }
.nav a:not(.btn) { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; font-size: .95rem; text-decoration: none; }
@media (hover: hover) { .nav a:not(.btn):hover { text-decoration: underline; } }
.nav__tel { font-variant-numeric: tabular-nums; }

.nav-toggle { display: none; width: 44px; height: 44px; border: 0; background: none; color: inherit; cursor: pointer; padding: 0; }
.nav-toggle span { display: block; width: 26px; height: 3px; margin: 6px auto; background: currentColor; transition: transform .25s var(--ease); }

/* ---------- Hero ---------- */
.hero {
  background: var(--cobalt); color: #fff;
  display: grid; grid-template-columns: minmax(0, 1fr) clamp(340px, 29vw, 440px);
  overflow: hidden; /* the sun disc may reach past the photo */
  --focus-ring: var(--sun);
}
.hero__main {
  padding: clamp(32px, 5vw, 64px) clamp(24px, 4vw, 64px) clamp(48px, 6vw, 88px) max(var(--gutter), (100vw - 1280px) / 2);
}
.hero__title { font-size: var(--step-4); max-width: 12ch; }
.hero__lead { font-size: var(--step-1); line-height: 1.45; max-width: 40ch; margin: 1.4rem 0 0; color: #fff; }
.hero__art { position: relative; max-width: 820px; aspect-ratio: 3 / 2; margin-top: clamp(40px, 6vw, 76px); }
.hero__img { position: relative; }
.hero__sun {
  position: absolute; right: -17%; top: -24%; width: 60%; aspect-ratio: 1; border-radius: 50%;
  background: var(--sun);
  animation: sunrise 1.2s var(--ease) both;
}
@keyframes sunrise { from { transform: translateY(34%); } }

.hero__trips {
  position: relative; z-index: 1; /* the sun disc runs behind this column */
  background: var(--stone); color: var(--ink);
  padding: clamp(32px, 5vw, 64px) clamp(20px, 2.6vw, 40px) clamp(40px, 5vw, 64px);
  display: flex; flex-direction: column;
  --focus-ring: var(--cobalt);
}
.hero__trips-title { font-size: 1.05rem; letter-spacing: 0; line-height: 1.1; margin-bottom: 20px; }
.hero__list { margin-bottom: 28px; border-bottom: var(--rule) solid var(--ink); }
.hero__list a {
  display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 4px 16px;
  padding: 18px 0 20px; border-top: var(--rule) solid var(--ink); text-decoration: none;
}
.hero__list strong { grid-column: 1 / -1; font-weight: 700; font-size: 1.15rem; line-height: 1.2; }
.hero__list span { color: var(--ink-2); font-size: var(--step--1); }
.hero__list b { font-weight: 900; font-stretch: 125%; font-size: clamp(2rem, 3.2vw, 2.9rem); line-height: .9; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
@media (hover: hover) { .hero__list a:hover strong { text-decoration: underline; text-decoration-thickness: 2px; } }
/* Pinned to the bottom of the column, so the column is full whatever the height of the photo. */
.hero__private {
  display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 4px 16px;
  margin-top: auto; padding-top: 18px; border-top: var(--rule) solid var(--ink); text-decoration: none;
}
.hero__trips .btn { margin-bottom: 48px; }
.hero__private strong { grid-column: 1 / -1; font-weight: 700; font-size: 1.15rem; line-height: 1.2; }
.hero__private span { color: var(--ink-2); font-size: var(--step--1); }
.hero__private b { font-weight: 900; font-stretch: 125%; font-size: clamp(1.6rem, 2.4vw, 2.2rem); line-height: .9; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.hero__private small { font-weight: 500; font-stretch: 100%; font-size: var(--step--1); letter-spacing: 0; color: var(--ink-2); }
@media (hover: hover) { .hero__private:hover strong { text-decoration: underline; text-decoration-thickness: 2px; } }

/* ---------- Sections ---------- */
.section { padding: var(--section) 0; }
.section--sun { background: var(--sun); }
.section--cobalt { background: var(--cobalt); color: #fff; --focus-ring: var(--sun); }

.section-head { max-width: 760px; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head p { margin-top: 1.1rem; font-size: var(--step-1); line-height: 1.45; max-width: 52ch; }

/* ---------- Trip chooser ---------- */
.chooser { display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 56px) clamp(28px, 4vw, 64px); align-items: start; }
.chooser__tabs { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.tab {
  display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 6px 12px; text-align: left;
  padding: 16px 18px 18px; border: 0; border-top: 8px solid var(--ink); border-radius: 0;
  background: var(--stone-2); color: var(--ink); font: inherit; cursor: pointer;
  transition: background-color .15s, color .15s;
}
.tab strong { grid-column: 1 / -1; font-weight: 800; font-stretch: 112%; font-size: 1.15rem; line-height: 1.15; text-wrap: balance; }
.tab span { font-size: var(--step--1); color: var(--ink-2); }
.tab b { font-weight: 900; font-stretch: 125%; font-size: clamp(1.7rem, 2.6vw, 2.4rem); line-height: .9; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
@media (hover: hover) { .tab:hover { background: #d5dacf; } }
.tab[aria-pressed="true"] { background: var(--cobalt); border-top-color: var(--sun); color: #fff; }
.tab[aria-pressed="true"] span { color: var(--on-cobalt-2); }

.chooser__chart { position: sticky; top: calc(var(--header-h) + 16px); }
.chooser__chart svg { display: block; width: 100%; height: auto; background: var(--cobalt); }
.chooser__chart figcaption { display: flex; justify-content: space-between; gap: 8px 24px; flex-wrap: wrap; padding-top: 12px; font-size: var(--step--1); color: var(--ink-2); }
.chooser__chart figcaption span:first-child { color: var(--ink); font-weight: 600; }

/* The chart is drawn in poster colours: cobalt sea, stone land, one yellow route. */
.map-grid { stroke: #fff; stroke-opacity: .14; stroke-width: 1; }
.map-grid-label { fill: var(--on-cobalt-2); font: 500 9px var(--font); letter-spacing: .04em; }
.map-land { fill: var(--stone); }
.map-area { fill: var(--ink); font: 800 11px var(--font); font-stretch: 112%; letter-spacing: .14em; text-transform: uppercase; }
.map-area--sea { fill: #fff; }
.map-route { fill: none; stroke: #fff; stroke-opacity: .32; stroke-width: 1.6; stroke-dasharray: 2 6; stroke-linecap: round; }
.map-route-on { fill: none; stroke: var(--sun); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; visibility: hidden; }
.map-route-on.is-active { visibility: visible; stroke-dashoffset: 0; animation: draw 1.4s var(--ease); }
@keyframes draw { from { stroke-dashoffset: 1; } }
.map-stop, .map-home { cursor: pointer; }
.map-stop:focus-visible, .map-home:focus-visible { outline: none; }
.map-hit { fill: transparent; }
.map-stop .map-dot { fill: var(--cobalt); stroke: #fff; stroke-width: 2; transition: fill .2s; }
.map-plate { fill: var(--cobalt); }
.map-stop text, .map-home text { fill: #fff; font: 600 11.5px var(--font); }
.map-stop.is-on .map-dot { fill: var(--sun); stroke: var(--sun); }
.map-stop.is-on .map-plate { fill: var(--sun); }
.map-stop.is-on text { fill: var(--ink); font-weight: 800; }
.map-home .map-plate { fill: var(--red); }
.map-stop:focus-visible .map-dot, .map-stop.is-picked .map-dot, .map-home:focus-visible .map-dot { stroke: #fff; stroke-width: 4; }
.map-home .map-dot { fill: var(--red); stroke: #fff; stroke-width: 3; }
.map-home text { font: 900 12px var(--font); font-stretch: 125%; letter-spacing: .06em; }
.map-compass { stroke: #fff; stroke-width: 2; fill: none; }
.map-compass text { fill: #fff; stroke: none; font: 800 12px var(--font); }

/* The trip panel: one panel that is rewritten when a route is chosen. */
.trip__media { aspect-ratio: 16 / 10; margin-bottom: 24px; }
.trip__name { font-size: clamp(1.6rem, 1rem + 2.2vw, 2.6rem); font-weight: 900; font-stretch: 125%; text-transform: uppercase; letter-spacing: -.02em; line-height: .96; }
.trip__lede { margin: 1rem 0 0; font-size: var(--step-1); line-height: 1.45; max-width: 46ch; }

.trip__stops { display: flex; flex-wrap: wrap; align-items: center; gap: .3em 0; margin-top: 1.4rem; font-weight: 700; }
.trip__stops li { display: inline-flex; align-items: center; }
/* Connector after each stop (not before), so a wrapped line never starts with a dash. */
.trip__stops li:not(:last-child)::after { content: ""; width: 20px; height: var(--rule); background: var(--cobalt); margin: 0 .5em; }

.trip__facts { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 1.6rem; border-block: var(--rule) solid var(--ink); }
.trip__facts div { padding: 14px 16px 14px 0; }
.trip__facts div + div { padding-left: 16px; border-left: var(--rule) solid var(--ink); }
.trip__facts dt { font-size: var(--step--1); color: var(--ink-2); }
.trip__facts dd { font-weight: 800; font-stretch: 112%; font-size: 1.2rem; font-variant-numeric: tabular-nums; }

.trip__foot { display: flex; align-items: end; justify-content: space-between; gap: 20px 24px; flex-wrap: wrap; margin-top: 1.6rem; }
.trip__price { margin: 0; }
.trip__price strong { font-weight: 900; font-stretch: 125%; font-size: clamp(2.6rem, 2rem + 2.4vw, 3.6rem); line-height: .9; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.trip__price span { margin-left: .4em; color: var(--ink-2); }
.trip__price small { display: block; margin-top: .7em; font-size: var(--step--1); color: var(--ink-2); }
.trip__actions { display: flex; gap: 10px; flex-wrap: wrap; }

/* Day plan (expandable) */
.plan { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .4s var(--ease); }
.plan.is-open { grid-template-rows: 1fr; }
.plan__inner { overflow: hidden; }
.plan__body { display: grid; grid-template-columns: 1.4fr 1fr; gap: 28px 40px; margin-top: 28px; padding-top: 28px; border-top: var(--rule) solid var(--ink); }
.plan__title { font-weight: 800; font-stretch: 112%; font-size: 1.05rem; margin-bottom: .9rem; }
.timeline li { display: grid; grid-template-columns: 4.2em 1fr; gap: 14px; padding: 10px 0; border-top: 1px solid var(--stone-2); }
.timeline li:first-child { border-top: 0; padding-top: 0; }
.timeline time { font-weight: 800; font-variant-numeric: tabular-nums; color: var(--cobalt); }
.timeline strong { display: block; font-weight: 700; }
.timeline span { color: var(--ink-2); font-size: .97rem; }
.plan__lists ul { margin-bottom: 1.4rem; }
.plan__lists li { padding: .3em 0; }
.plan__lists .no li { color: var(--ink-2); }

/* ---------- Boats ---------- */
.boats { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 56px); }
.boat__media { aspect-ratio: 4 / 3; margin-bottom: 20px; }
.boat__empty { height: 100%; margin: 0; padding: 24px; display: flex; flex-direction: column; justify-content: flex-end; gap: 8px; background: var(--cobalt); color: #fff; }
.boat__empty strong { font-weight: 900; font-stretch: 125%; font-size: var(--step-2); line-height: 1; text-transform: uppercase; letter-spacing: -.02em; max-width: 14ch; }
.boat__empty span { color: var(--on-cobalt-2); font-size: var(--step--1); }
.boat__sample { margin: -10px 0 14px; font-size: var(--step--1); }
.boat__class { margin: .35rem 0 1rem; font-weight: 700; }
.boat__specs li { padding: .5em 0; border-top: 2px solid var(--ink); }
.boat__specs li:last-child { border-bottom: 2px solid var(--ink); }
.boat__note { margin-top: 1rem; font-size: var(--step--1); }

.charter {
  display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) auto; align-items: end; gap: 28px clamp(24px, 4vw, 56px);
  margin-top: clamp(48px, 7vw, 88px); padding-top: clamp(28px, 4vw, 44px); border-top: 8px solid var(--ink);
}
.charter__text p { max-width: 46ch; margin-top: .9rem; }
.charter .charter__fine { font-size: var(--step--1); }
.charter__prices div { padding: 12px 0; border-top: 2px solid var(--ink); }
.charter__prices div:last-child { border-bottom: 2px solid var(--ink); }
.charter__prices dt { font-size: var(--step--1); }
.charter__prices dd { font-weight: 900; font-stretch: 125%; font-size: clamp(1.6rem, 2.6vw, 2.2rem); line-height: 1; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.charter__prices dd span { font-weight: 500; font-stretch: 100%; font-size: var(--step--1); letter-spacing: 0; }

/* ---------- Good to know ---------- */
.info { display: grid; gap: clamp(40px, 6vw, 72px); }
.info__meet { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(24px, 5vw, 64px); align-items: center; }
.info__meet p { margin: .9rem 0 1.1rem; max-width: 40ch; }
.info__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; border-top: 8px solid var(--ink); padding-top: 32px; }
.info__cols h3 { font-size: 1.3rem; margin-bottom: 1rem; }
.plain li { padding: .55em 0; border-top: 1px solid var(--stone-2); }
.plain li:first-child { border-top: 0; padding-top: 0; }

/* ---------- Reviews ---------- */
.reviews { display: grid; grid-template-columns: 7fr 5fr; gap: 32px clamp(32px, 5vw, 80px); }
.review { border-top: var(--rule) solid #fff; padding-top: 20px; }
.review:first-child { grid-row: span 2; }
.review__score { font-weight: 900; font-stretch: 125%; font-size: 1.1rem; color: var(--sun); font-variant-numeric: tabular-nums; }
.review blockquote { margin: .7rem 0 1.1rem; font-size: 1.2rem; line-height: 1.4; font-weight: 500; }
.review:first-child blockquote { font-size: clamp(1.5rem, 1rem + 2vw, 2.4rem); line-height: 1.2; font-weight: 700; letter-spacing: -.01em; text-wrap: balance; }
.review figcaption { font-size: var(--step--1); color: var(--on-cobalt-2); }
.review figcaption strong { color: #fff; }

/* ---------- FAQ ---------- */
.faq-wrap { display: grid; grid-template-columns: 1fr 1.6fr; gap: clamp(24px, 6vw, 96px); align-items: start; }
.faq-wrap .section-head { margin-bottom: 0; }
.faq details { border-bottom: var(--rule) solid var(--ink); }
.faq details:first-child { border-top: var(--rule) solid var(--ink); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 48px 20px 0; position: relative; font-weight: 700; font-size: 1.2rem; line-height: 1.3; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after, .faq summary::before {
  content: ""; position: absolute; right: 6px; top: 50%; width: 18px; height: 3px; margin-top: -1.5px; background: var(--ink);
  transition: transform .25s var(--ease);
}
.faq summary::before { transform: rotate(90deg); }
.faq details[open] summary::before { transform: rotate(0); }
.faq details p { color: var(--ink-2); max-width: 62ch; padding-bottom: 22px; }

/* ---------- Booking ---------- */
.booking { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(32px, 6vw, 88px); align-items: start; }
.booking__text { position: sticky; top: calc(var(--header-h) + 32px); }
.booking__text p { margin-top: 1.2rem; font-size: var(--step-1); line-height: 1.45; max-width: 36ch; }
.booking__contact { margin-top: 2rem; border-top: var(--rule) solid #fff; }
.booking__contact li { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 56px; border-bottom: var(--rule) solid #fff; }
.booking__contact span { color: var(--on-cobalt-2); }
.booking__contact a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 800; font-stretch: 112%; font-size: 1.15rem; font-variant-numeric: tabular-nums; }

.booking__panel { background: var(--stone); color: var(--ink); padding: clamp(20px, 4vw, 40px); --focus-ring: var(--cobalt); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; margin-bottom: 18px; min-width: 0; /* lets grid columns shrink below an input's intrinsic width */ }
.field label { font-weight: 700; font-size: .95rem; margin-bottom: .45rem; }
.field label small { font-weight: 400; color: var(--ink-2); font-size: .85rem; margin-left: .3em; }
.field input, .field select, .field textarea {
  font: 500 1rem var(--font); color: var(--ink);
  min-height: 50px; padding: .65em .8em; width: 100%;
  background: #fff; border: 2px solid var(--ink); border-radius: 0;
}
.field textarea { resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: var(--ink-2); }
/* iOS Safari draws date inputs natively: centred text, its own minimum width (overflows the form)
   and a different height. Reset it so it matches the other fields, with a calendar icon on the right. */
.field input[type="date"] {
  -webkit-appearance: none; appearance: none;
  display: block; min-width: 0; max-width: 100%;
  height: 50px; line-height: 1.4; text-align: left;
  padding-right: 2.6em;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' fill='none' stroke='%230c1633' stroke-width='2' viewBox='0 0 24 24'%3E%3Crect x='3.5' y='5' width='17' height='15'/%3E%3Cpath d='M3.5 10h17M8 3v4M16 3v4'/%3E%3C/svg%3E") no-repeat right .8em center;
}
.field input[type="date"]::-webkit-date-and-time-value { text-align: left; margin: 0; }
.field input[type="date"]::-webkit-calendar-picker-indicator { opacity: 0; cursor: pointer; }
/* Firefox always draws its own calendar button, so drop ours there to avoid two icons. */
@supports (-moz-appearance: none) {
  .field input[type="date"] { background-image: none; padding-right: .8em; }
}
.field select:disabled { background: var(--stone-2); color: var(--ink-2); border-color: var(--ink-2); }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 3px solid var(--cobalt); outline-offset: 2px; }
/* An invalid field keeps its red border while focused, and always comes with a written message. */
.field .is-invalid { border-color: var(--red-2); border-width: 3px; }
.field__error { margin: .45rem 0 0; font-size: .92rem; font-weight: 700; color: var(--red-2); }

.stepper { display: grid; grid-template-columns: 50px 1fr 50px; }
.stepper input { text-align: center; border-inline: 0; font-weight: 800; font-size: 1.15rem; font-variant-numeric: tabular-nums; -moz-appearance: textfield; appearance: textfield; }
.stepper input::-webkit-outer-spin-button, .stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.stepper__btn { position: relative; border: 2px solid var(--ink); border-radius: 0; background: var(--stone-2); cursor: pointer; }
.stepper__btn::before, .stepper__btn--plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 16px; height: 3px; margin: -1.5px 0 0 -8px; background: var(--ink); }
.stepper__btn--plus::after { transform: rotate(90deg); }
@media (hover: hover) { .stepper__btn:hover { background: #d5dacf; } }
.stepper__btn:disabled { cursor: default; }
.stepper__btn:disabled::before, .stepper__btn:disabled::after { background: #9aa1ad; }

.form__hint { margin: -4px 0 18px; padding: 12px 14px; background: var(--sun); font-size: .95rem; font-weight: 600; }

.summary { margin: 8px 0 20px; border-top: var(--rule) solid var(--ink); }
.summary div { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 11px 0; border-bottom: 1px solid var(--stone-2); }
.summary dt { color: var(--ink-2); }
.summary dd { font-weight: 700; text-align: right; }
.summary .summary__total { border-bottom: var(--rule) solid var(--ink); }
.summary__total dt { color: var(--ink); font-weight: 700; }
.summary__total dd { font-weight: 900; font-stretch: 125%; font-size: 1.8rem; line-height: 1; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }

.form__status { margin: 0 0 12px; font-weight: 700; color: var(--red-2); }
.form__assure { display: flex; flex-wrap: wrap; gap: 6px 22px; margin-top: 16px; font-size: var(--step--1); font-weight: 600; }
.form__assure li { display: inline-flex; align-items: center; gap: .55em; }
.form__assure li::before { content: ""; width: 8px; height: 8px; background: var(--cobalt); flex: none; }
.form__demo { margin: 14px 0 0; font-size: var(--step--1); color: var(--ink-2); }

.confirm h3 { font-weight: 900; font-stretch: 125%; text-transform: uppercase; font-size: var(--step-2); }
.confirm > p { margin: 1rem 0 1.4rem; }
.confirm .summary { margin-bottom: 24px; }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: #c8d0ea; padding: 64px 0 0; font-size: .97rem; --focus-ring: var(--sun); }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.footer .brand { color: #fff; }
.footer h3 { color: #fff; font-size: 1.05rem; margin-bottom: 1rem; }
.footer li { margin-bottom: .2rem; }
.footer li a { display: inline-flex; align-items: center; min-height: 32px; }
.footer a { text-decoration: none; }
.footer a:hover { color: #fff; text-decoration: underline; }
.footer__brand p { margin-top: 1rem; max-width: 26ch; }
.footer__base { margin-top: 48px; padding: 22px 0; border-top: 1px solid #2c3a66; font-size: var(--step--1); }

/* ---------- Legal pages (privacy.html, terms.html) ---------- */
.header__back { display: inline-flex; align-items: center; min-height: 44px; font-weight: 700; font-size: .95rem; text-decoration: none; }
@media (hover: hover) { .header__back:hover { text-decoration: underline; } }
.legal { padding: clamp(40px, 7vw, 88px) 0 var(--section); }
.legal__body { max-width: 66ch; }
.legal h1 { font-size: var(--step-3); margin-bottom: 1.6rem; }
.legal h2 { font-size: var(--step-2); font-weight: 800; font-stretch: 112%; text-transform: none; letter-spacing: -.01em; line-height: 1.15; margin: 2.6rem 0 .9rem; }
.legal ul { list-style: square; margin: 0 0 1em; padding-left: 1.2em; }
.legal li { margin-bottom: .5em; padding-left: .2em; }
.legal li::marker { color: var(--cobalt); }
.legal a { color: var(--cobalt); font-weight: 700; }
.legal__note { padding: 16px 18px; background: var(--sun); font-size: .97rem; font-weight: 500; }
.legal__updated { margin-top: 2.6rem; color: var(--ink-2); font-size: var(--step--1); }
.footer.footer--slim { padding: 0; }
.footer--slim .footer__base { margin-top: 0; border-top: 0; }
.footer--slim a { text-decoration: underline; }
.footer [aria-current="page"] { color: #fff; }

.noscript { margin-top: 24px; padding: 20px; background: var(--sun); font-weight: 600; }

/* ---------- Mobile action bar ---------- */
.bar { display: none; }

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

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1180px) {
  .nav__tel { display: none; }
  .charter { grid-template-columns: 1fr 1fr; }
  .charter .btn { grid-column: 1 / -1; justify-self: start; }
}

@media (max-width: 1000px) {
  .chooser { grid-template-columns: 1fr; }
  .chooser__chart { position: static; max-width: 620px; }
  .faq-wrap, .booking { grid-template-columns: 1fr; }
  .booking__text { position: static; }
  .faq-wrap .section-head { margin-bottom: 8px; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .nav-toggle { display: block; position: relative; z-index: 2; }
  .nav {
    position: fixed; inset: 0; z-index: 1;
    flex-direction: column; align-items: flex-start; justify-content: flex-start; gap: 6px;
    padding: calc(var(--header-h) + 16px) var(--gutter) 32px; background: var(--cobalt); color: #fff;
    overflow-y: auto; overscroll-behavior: contain;
    opacity: 0; visibility: hidden; transition: opacity .2s, visibility .2s;
  }
  /* Auto margins centre the links when they fit and let them scroll from the top when they don't. */
  .nav > :first-child { margin-top: auto; }
  .nav > :last-child { margin-bottom: auto; }
  .nav a:not(.btn) { font-weight: 900; font-stretch: 125%; font-size: 1.9rem; line-height: 1.1; text-transform: uppercase; letter-spacing: -.02em; min-height: 56px; }
  .nav a.nav__tel { display: inline-flex; font-size: 1.3rem; }
  .nav .btn { margin-top: 20px; min-height: 52px; font-size: .95rem; }
  .nav.is-open { opacity: 1; visibility: visible; transition: opacity .2s, visibility 0s; }
  .nav-toggle.is-open span:first-child { transform: translateY(4.5px) rotate(45deg); }
  .nav-toggle.is-open span:last-child { transform: translateY(-4.5px) rotate(-45deg); }

  .hero { grid-template-columns: 1fr; }
  .hero__main { padding: 28px var(--gutter) 44px; }
  .hero__art { margin-top: 56px; }
  /* Phones: the trip list with prices comes right below as the chooser, so it isn't shown twice. */
  .hero__trips { display: none; }
  #trips .section-head p { display: none; }

  /* Phones: the three trips become a short comparison list, name left and price right. */
  .chooser__tabs { grid-template-columns: 1fr; gap: 6px; }
  .tab { grid-template-columns: 1fr auto; align-items: center; border-top-width: 6px; padding: 10px 14px 12px; }
  .tab strong { grid-column: 1; font-size: 1.05rem; }
  .tab span { grid-column: 1; }
  .tab b { grid-column: 2; grid-row: 1 / span 2; font-size: 1.7rem; }

  /* The chart shows only the stops of the chosen trip, at a size that can be read on a phone. */
  .map-grid-label, .map-stop:not(.is-on) { display: none; }
  .map-stop text { font-size: 17px; }
  .map-home text { font-size: 17px; }
  .map-area { font-size: 15px; }
  .chooser__chart figcaption { flex-direction: column; }

  .plan__body, .boats, .info__meet, .reviews { grid-template-columns: 1fr; }
  .review:first-child { grid-row: auto; }
  .info__cols { grid-template-columns: 1fr; gap: 32px; }
  .charter { grid-template-columns: 1fr; }

  .bar {
    display: grid; grid-template-columns: 1fr auto;
    position: fixed; inset: auto 0 0; z-index: 40;
    padding-bottom: env(safe-area-inset-bottom); background: var(--ink);
    transform: translateY(100%); visibility: hidden; transition: transform .3s var(--ease), visibility 0s .3s;
  }
  .bar.is-visible { transform: none; visibility: visible; transition: transform .3s var(--ease), visibility 0s; }
  .bar a { display: flex; align-items: center; justify-content: center; gap: .5em; min-height: 58px; padding: 0 20px; font-weight: 800; font-stretch: 112%; font-size: .95rem; text-transform: uppercase; letter-spacing: .02em; text-decoration: none; }
  .bar__book { background: var(--red); color: #fff; }
  .bar__wa { background: var(--ink); color: #fff; }
  .bar__wa svg { width: 22px; height: 22px; }
  .footer { padding-bottom: calc(58px + env(safe-area-inset-bottom)); }
}

@media (max-width: 380px) {
  .trip__actions { flex-direction: column; }
}

@media (max-width: 600px) {
  .trip__facts { grid-template-columns: 1fr 1fr; }
  .trip__facts div:nth-child(3) { grid-column: 1 / -1; padding-left: 0; border-left: 0; border-top: 1px solid var(--stone-2); }
  .trip__actions { width: 100%; }
  .trip__actions .btn { flex: 1; padding: 0 .6em; white-space: nowrap; }
  .form__row { grid-template-columns: 1fr; gap: 0; }
  .footer__grid { grid-template-columns: 1fr; }
}
