:root {
  --gold: #c9973f;
  --gold-dark: #a97a26;
  --gold-light: #f0d9a6;
  --ink: #221a12;
  --ink-soft: #3a2e1f;
  --cream: #fdf8ee;
  --cream-dark: #f5ecd8;
  --line-green: #06c755;
  --text: #2b2418;
  --text-soft: #6b6152;
  --radius: 18px;
  --shadow: 0 20px 50px -20px rgba(34, 26, 18, 0.35);
  --serif: "Playfair Display", "Noto Serif TC", serif;
  --sans: "Noto Sans", "Noto Sans TC", "Noto Sans Thai", "Noto Sans JP", "Noto Sans KR", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--text);
  background: var(--cream);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
h1, h2, h3 { font-family: var(--serif); margin: 0; line-height: 1.2; }
p { margin: 0; }
.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}
section { scroll-margin-top: 84px; }

/* ---------- Brand mark ----------
   images/mango-mark.png — cropped straight out of images/mango-hero.jpg
   (the mango + leaf, background removed), not a CSS approximation, so it
   always matches the photo exactly. */
.brand-mark {
  width: 40px;
  height: auto;
  flex-shrink: 0;
  display: block;
}
.brand-mark.small { width: 30px; }
.brand-mark--gate { width: 88px; margin: 0 auto 14px; }

/* ---------- Language Gate ---------- */
.lang-gate {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: radial-gradient(circle at 50% 20%, #3a2e1f 0%, var(--ink) 70%);
  transition: opacity .5s ease, visibility .5s ease;
}
.lang-gate.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.lang-gate__inner {
  text-align: center;
  max-width: 480px;
  width: 100%;
}
.lang-gate__wordmark {
  font-size: clamp(2.2rem, 6vw, 3rem);
  color: var(--gold-light);
  letter-spacing: 0.08em;
  margin-bottom: 10px;
}
.lang-gate__prompt {
  color: #e7ddc8;
  font-size: 0.92rem;
  line-height: 1.9;
  margin-bottom: 30px;
  opacity: 0.9;
}
.lang-gate__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.lang-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: center;
  padding: 14px 12px;
  font-size: 1rem;
  font-family: var(--sans);
  font-weight: 600;
  color: var(--ink);
  background: linear-gradient(135deg, #fbeecb, #f0d9a6);
  border: 1px solid rgba(201,151,63,0.5);
  border-radius: 12px;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease;
}
.lang-btn:hover, .lang-btn:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px -8px rgba(201,151,63,0.6);
}
.lang-btn__code {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  padding: 3px 7px;
  border-radius: 6px;
  background: var(--ink);
  color: var(--gold-light);
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(253, 248, 238, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(201,151,63,0.25);
  transition: box-shadow .2s ease;
}
.site-header.is-scrolled { box-shadow: 0 6px 20px -10px rgba(34,26,18,0.25); }
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 12px;
  padding-bottom: 12px;
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand__word {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1.3rem;
  letter-spacing: 0.06em;
  color: var(--ink);
}
.main-nav { display: none; align-items: center; gap: 28px; }
.main-nav a {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text);
  position: relative;
  padding-bottom: 4px;
}
.main-nav a:hover { color: var(--gold-dark); }
.header-actions { display: flex; align-items: center; gap: 10px; }

.icon-btn {
  display: none;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--cream-dark);
  color: var(--ink);
  transition: transform .15s ease, color .15s ease, background .15s ease;
}
.icon-btn:hover { transform: translateY(-2px); }
.icon-btn--line:hover { color: var(--line-green); }
.icon-btn--ig:hover { color: #d6249f; }

/* language switcher (post-gate) */
.lang-switch { position: relative; }
.lang-switch__btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 7px 10px;
  border-radius: 999px;
  border: 1px solid rgba(201,151,63,0.4);
  background: #fff;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  color: var(--text);
}
.lang-switch__menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: #fff;
  border-radius: 12px;
  box-shadow: var(--shadow);
  padding: 6px;
  display: none;
  flex-direction: column;
  min-width: 150px;
  z-index: 50;
}
.lang-switch__menu.is-open { display: flex; }
.lang-switch__menu button {
  text-align: left;
  padding: 9px 12px;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  background: none;
}
.lang-switch__menu button:hover { background: var(--cream-dark); }
.lang-switch__code {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  padding: 2px 5px;
  border-radius: 5px;
  background: var(--ink);
  color: var(--gold-light);
  margin-right: 2px;
}
.lang-switch__btn .lang-switch__code { margin-right: 4px; }

.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 34px;
  height: 34px;
  background: none;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform .2s ease, opacity .2s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.main-nav.is-open {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--cream);
  padding: 20px 24px 26px;
  gap: 18px;
  border-bottom: 1px solid rgba(201,151,63,0.25);
  box-shadow: var(--shadow);
}

/* ---------- Hero + booking form ---------- */
.hero {
  padding: 48px 0 64px;
  background: radial-gradient(circle at 20% 0%, #fbf1da 0%, var(--cream) 55%);
  overflow: hidden;
}
.hero__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}
.hero__copy { text-align: center; max-width: 640px; }
.hero__eyebrow {
  color: var(--gold-dark);
  letter-spacing: 0.25em;
  font-weight: 700;
  font-size: 0.78rem;
  margin-bottom: 10px;
}
.hero__title {
  font-size: clamp(2.3rem, 6vw, 3.6rem);
  color: var(--ink);
  font-weight: 800;
}
.hero__title span {
  display: block;
  font-size: 0.42em;
  color: var(--text-soft);
  font-weight: 600;
  letter-spacing: 0.05em;
  margin-top: 6px;
  font-family: var(--sans);
}
.hero__tagline-lockup {
  margin-top: 16px;
  font-weight: 700;
  letter-spacing: 0.22em;
  font-size: 0.82rem;
  color: var(--gold-dark);
  text-transform: uppercase;
}
.hero__subtitle {
  margin-top: 20px;
  font-size: 1.05rem;
  color: var(--text-soft);
}

.hero__photo {
  margin: 28px auto 0;
  max-width: 300px;
  width: 100%;
  border-radius: 20px;
  box-shadow: var(--shadow);
}

.badge-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 28px;
}
.badge {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--ink-soft);
  background: #fff;
  padding: 9px 16px;
  border-radius: 999px;
  box-shadow: 0 6px 16px -10px rgba(34,26,18,0.3);
}
.badge__icon { font-size: 1rem; }

.hero__form-wrap {
  width: 100%;
  max-width: 460px;
  /* comes before .hero__copy in the HTML on purpose — the booking form
     is the first thing visible, on every screen size, not just desktop */
}

.booking-card {
  background: #fff;
  border-radius: 24px;
  padding: 32px 28px 28px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(201,151,63,0.18);
}
.booking-card__title {
  font-size: 1.5rem;
  color: var(--ink);
  text-align: center;
  margin-bottom: 20px;
}
.booking-existing {
  margin: -4px 0 18px;
  padding: 14px 16px;
  border-radius: 14px;
  background: var(--cream);
  border: 1px solid rgba(201,151,63,0.35);
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  text-align: center;
}
.booking-existing__text { margin: 0; font-size: 0.9rem; color: var(--ink-soft); }
.booking-existing__link { padding: 10px 22px; font-size: 0.9rem; }
.booking-form { display: flex; flex-direction: column; gap: 14px; }
.booking-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  /* a label that wraps to two lines (e.g. Russian) must not push its
     input below its neighbour's */
  align-items: end;
}
.booking-form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--ink-soft);
}
.booking-form input {
  font-family: var(--sans);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text);
  padding: 11px 13px;
  border-radius: 10px;
  border: 1.5px solid rgba(201,151,63,0.35);
  background: var(--cream);
  width: 100%;
}
.booking-form select,
.booking-form textarea {
  font-family: var(--sans);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text);
  padding: 11px 13px;
  border-radius: 10px;
  border: 1.5px solid rgba(201,151,63,0.35);
  background: var(--cream);
  width: 100%;
}
.booking-form textarea { resize: vertical; min-height: 64px; }
.booking-form input:focus,
.booking-form select:focus,
.booking-form textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201,151,63,0.2);
}
/* Elements toggled with the hidden attribute (return-time field, the
   direct-submit button before the backend is live, the success panel)
   would otherwise be re-shown by the flex/grid display rules above. */
.booking-card [hidden] { display: none !important; }

/* 接機 / 送機 — a two-way segmented switch; everything below relabels to match */
.trip-toggle {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--cream-dark);
  border-radius: 999px;
  padding: 4px;
  gap: 4px;
}
.booking-form .trip-toggle__opt {
  position: relative;
  flex-direction: row;
  justify-content: center;
  padding: 9px 12px;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
  color: var(--text-soft);
  cursor: pointer;
  transition: background .15s ease, color .15s ease;
}
.trip-toggle__opt input { position: absolute; opacity: 0; pointer-events: none; }
.booking-form .trip-toggle__opt:has(input:checked) { background: #fff; color: var(--ink); box-shadow: 0 2px 8px rgba(34,26,18,0.12); }
.trip-toggle__opt:has(input:focus-visible) { outline: 2px solid var(--gold); outline-offset: 2px; }

/* Tap-to-choose fields: a label above chips, a two-way switch, or a stepper.
   Same label look as the plain inputs' labels. */
.choice-field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.choice-field__label { font-size: 0.82rem; font-weight: 700; color: var(--ink-soft); }

/* Smaller sibling of the 接機/送機 switch, for 單程/來回 and the child seat. */
.trip-toggle--small { border-radius: 12px; }
.booking-form .trip-toggle--small .trip-toggle__opt { padding: 8px 10px; font-size: 0.9rem; border-radius: 9px; }

.chips { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.booking-form .chip {
  position: relative;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 8px 10px;
  border: 1.5px solid rgba(201,151,63,0.35);
  border-radius: 10px;
  background: var(--cream);
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1.25;
  text-align: center;
  color: var(--text);
  word-break: keep-all; /* CJK names wrap at the space, not mid-word */
  cursor: pointer;
  transition: border-color .15s ease, background .15s ease;
}
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.booking-form .chip:has(input:checked) { border-color: var(--gold); background: #fff; color: var(--ink); box-shadow: 0 0 0 2px rgba(201,151,63,0.25); font-weight: 800; }
.chip:has(input:focus-visible) { outline: 2px solid var(--gold); outline-offset: 2px; }

.stepper {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 44px;
  border: 1.5px solid rgba(201,151,63,0.35);
  border-radius: 10px;
  background: var(--cream);
  overflow: hidden;
}
.stepper:focus-within { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(201,151,63,0.2); }
.stepper__btn {
  border: none;
  background: var(--cream-dark);
  color: var(--ink);
  font-size: 1.3rem;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  min-height: 44px;
}
.stepper__btn:hover:not(:disabled) { background: var(--gold-light); }
.stepper__btn:disabled { color: rgba(34,26,18,0.25); cursor: default; }
.stepper__btn:focus-visible { outline: 2px solid var(--gold); outline-offset: -2px; }
.booking-form .stepper input {
  border: none;
  border-radius: 0;
  background: transparent;
  text-align: center;
  font-size: 1.05rem;
  font-weight: 800;
  padding: 10px 4px;
  -moz-appearance: textfield;
}
.booking-form .stepper input:focus { box-shadow: none; }
.stepper input::-webkit-outer-spin-button,
.stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.booking-form__section {
  border: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.booking-form__section + .booking-form__section {
  border-top: 1px dashed rgba(201,151,63,0.35);
  padding-top: 14px;
}
.booking-form__section legend {
  float: left; /* lets the legend sit inside the flex flow like a heading */
  width: 100%;
  margin-bottom: 2px;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-dark);
}
.booking-form .booking-form__check {
  flex-direction: row;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
}
.booking-form__check input { width: 18px; height: 18px; accent-color: var(--gold); flex: none; }

.vehicle-pick { display: flex; flex-direction: column; gap: 6px; }
.vehicle-pick__label { font-size: 0.82rem; font-weight: 700; color: var(--ink-soft); }
.vehicle-pick__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.booking-form .vehicle-opt {
  position: relative;
  gap: 2px;
  padding: 10px 12px;
  border: 1.5px solid rgba(201,151,63,0.35);
  border-radius: 12px;
  background: var(--cream);
  cursor: pointer;
  transition: border-color .15s ease, background .15s ease;
}
.vehicle-opt input { position: absolute; opacity: 0; pointer-events: none; }
.vehicle-opt__name { font-size: 0.9rem; font-weight: 800; color: var(--ink); word-break: keep-all; overflow-wrap: anywhere; } /* keep-all: CJK names break at （ not mid-word */
.vehicle-opt__meta { font-size: 0.74rem; font-weight: 500; color: var(--text-soft); }
.vehicle-opt__price { font-size: 0.78rem; font-weight: 700; color: var(--gold-dark); font-variant-numeric: tabular-nums; white-space: nowrap; }
.booking-form .vehicle-opt:has(input:checked) { border-color: var(--gold); background: #fff; box-shadow: 0 0 0 3px rgba(201,151,63,0.18); }
.vehicle-opt:has(input:checked)::after {
  content: "✓";
  position: absolute; top: -8px; right: -8px; /* sits on the corner, never over the text */
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--gold); color: #fff;
  font-size: 0.7rem; font-weight: 800;
  display: grid; place-items: center;
}
.vehicle-opt:has(input:focus-visible) { outline: 2px solid var(--gold); outline-offset: 2px; }
.booking-form .vehicle-opt.is-full { opacity: 0.45; cursor: not-allowed; }
.vehicle-opt.is-full .vehicle-opt__meta { color: #b3432f; font-weight: 700; }
.vehicle-opt.is-tight .vehicle-opt__meta { color: #7a4f00; font-weight: 700; }
.vehicle-pick__note { font-size: 0.78rem; color: #9a3d24; font-weight: 600; margin: 0; }

.booking-form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.booking-form :user-invalid { border-color: #c4553d; background: #fff7f4; }

/* Shown in place of the form after a successful web booking */
.booking-done { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 10px; outline: none; }
.booking-done__check {
  width: 52px; height: 52px; border-radius: 50%;
  background: #e4f2e6; color: #2f6b3f;
  display: grid; place-items: center;
  font-size: 1.5rem; font-weight: 800;
}
.booking-done__title { font-size: 1.35rem; color: var(--ink); margin: 0; }
.booking-done__no { margin: 0; color: var(--text-soft); font-size: 0.9rem; }
.booking-done__no strong { display: block; margin-top: 4px; font-size: 1.25rem; color: var(--ink); letter-spacing: 0.04em; font-variant-numeric: tabular-nums; }
.booking-done__body { margin: 0; color: var(--text-soft); font-size: 0.9rem; }
.booking-done__line {
  width: 100%;
  margin-top: 6px;
  padding: 16px;
  border-radius: 16px;
  background: #ecf9f1;
  border: 1px solid rgba(6,199,85,0.35);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
}
.booking-done__line-title { margin: 0; font-weight: 800; color: #1d5c37; }
.booking-done__line-body { margin: 0; font-size: 0.84rem; color: #2f5e43; }
.booking-done__line .btn { width: 100%; justify-content: center; }
.booking-done__links { display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; margin-top: 4px; font-size: 0.88rem; font-weight: 700; }
.booking-done__links a { color: var(--gold-dark); }
.booking-done__again { background: none; border: none; padding: 0; font: inherit; color: var(--text-soft); text-decoration: underline; cursor: pointer; }
.booking-form .booking-form__consent {
  flex-direction: row;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-soft);
  cursor: pointer;
}
.booking-form__consent input {
  width: auto;
  margin-top: 3px;
  accent-color: var(--gold);
}
.booking-form__error {
  color: #b3432f;
  font-size: 0.85rem;
  font-weight: 600;
  margin: 0;
}
.booking-form__notice {
  font-size: 0.85rem;
  font-weight: 600;
  margin: 0;
  padding: 10px 14px;
  border-radius: 10px;
}
.booking-form__notice.is-success { background: #e4f2e6; color: #2f6b3f; }
.booking-form__notice.is-error { background: #f7e6e1; color: #9a3d24; }
.booking-form__notice.is-info { background: var(--cream-dark); color: var(--text-soft); }
.booking-form__fallback { display: flex; width: 100%; justify-content: center; margin-top: 10px; padding: 11px 18px; }
.booking-form__actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.booking-form__actions .btn {
  flex: 1 1 160px;
  justify-content: center;
}
/* .btn.btn--email, not .btn--email: .btn (declared further down) sets
   border: none and would otherwise win at equal specificity. */
.btn.btn--email {
  background: transparent;
  color: var(--gold-dark);
  border: 1.5px solid var(--gold);
}
.btn--email:hover { background: var(--cream-dark); }
.booking-form__hint {
  text-align: center;
  font-size: 0.78rem;
  color: var(--text-soft);
  margin-top: 2px;
}
.booking-form__field-hint {
  font-size: 0.74rem;
  font-weight: 500;
  color: var(--text-soft);
  line-height: 1.4;
}
.booking-card__addfriend {
  display: block;
  text-align: center;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid rgba(201,151,63,0.2);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--line-green);
}
.booking-card__addfriend:hover { text-decoration: underline; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  transition: transform .18s ease, box-shadow .18s ease;
  border: none;
  cursor: pointer;
}
.btn--line {
  background: var(--line-green);
  color: #fff;
  box-shadow: 0 12px 24px -10px rgba(6,199,85,0.55);
}
.btn--ghost {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--ink);
}
.btn--gold {
  background: var(--gold);
  color: var(--ink);
  box-shadow: 0 12px 24px -12px rgba(169,122,38,0.6);
}
.btn:hover { transform: translateY(-2px); }
.btn:disabled { opacity: 0.6; cursor: wait; transform: none; }

/* ---------- Shared section heading styles (used by Contact) ---------- */
.section-eyebrow {
  color: var(--gold-dark);
  font-weight: 700;
  letter-spacing: 0.2em;
  font-size: 0.78rem;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.section-title { font-size: clamp(1.8rem, 4vw, 2.4rem); color: var(--ink); margin-bottom: 40px; }
.center { text-align: center; }

/* ---------- Fleet / vehicles ---------- */
.fleet { padding: 12px 0 66px; }
.fleet__subtitle {
  color: var(--text-soft);
  font-size: 1rem;
  max-width: 560px;
  margin: -14px auto 36px;
}
.fleet__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
}
.vehicle-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(201,151,63,0.18);
  box-shadow: 0 16px 34px -20px rgba(34,26,18,0.3);
  transition: transform .18s ease, box-shadow .18s ease;
  /* it's a <button> now (whole card opens the detail view), so strip the
     default button chrome back down to how this card looked as a <div> */
  width: 100%;
  padding: 0;
  font: inherit;
  text-align: left;
  color: inherit;
  cursor: pointer;
}
.vehicle-card:hover, .vehicle-card:focus-visible {
  transform: translateY(-3px);
  box-shadow: 0 20px 40px -18px rgba(34,26,18,0.32);
}
.vehicle-card:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.vehicle-card__photo {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  background: #fff;
  padding: 18px 18px 4px;
}
.vehicle-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 5px;
  padding: 2px 22px 24px;
}
.vehicle-card__name { font-size: 1.15rem; color: var(--ink); }
.vehicle-card__seats {
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold-dark);
}
.vehicle-card__pitch {
  flex: 1;
  margin-top: 4px;
  font-size: 0.9rem;
  color: var(--text-soft);
}
.vehicle-card__price {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(201,151,63,0.2);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--ink-soft);
}
.vehicle-card__more {
  display: block;
  margin-top: 10px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--gold-dark);
}
.fleet__note {
  margin-top: 28px;
  font-size: 0.8rem;
  color: var(--text-soft);
}

/* ---------- Price list ---------- */
.prices { padding: 12px 0 66px; }
.prices__subtitle {
  color: var(--text-soft);
  font-size: 1rem;
  max-width: 560px;
  margin: -14px auto 28px;
}
.prices__table-wrap {
  max-width: 820px;
  margin: 0 auto;
  overflow-x: auto;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.prices__table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.prices__table th, .prices__table td { padding: 14px 12px; text-align: center; }
.prices__table thead th {
  background: var(--ink);
  color: var(--gold-light);
  font-size: 0.86rem;
  font-weight: 700;
  line-height: 1.3;
  vertical-align: bottom;
}
.prices__table thead th small { display: block; margin-top: 2px; font-size: 0.72rem; font-weight: 500; color: #cdb98d; }
.prices__table tbody th { text-align: left; font-weight: 700; color: var(--ink); white-space: nowrap; }
.prices__table tbody td { font-family: var(--serif); font-size: 1.3rem; font-weight: 700; color: var(--gold-dark); }
.prices__table tbody tr + tr { border-top: 1px solid var(--cream-dark); }
.prices__notes {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  max-width: 820px;
  margin: 22px auto 0;
}
.prices__block { background: #fff; border: 1px solid var(--cream-dark); border-radius: 14px; padding: 16px 18px; }
.prices__block h3 { font-family: var(--sans); font-size: 0.92rem; color: var(--ink); margin-bottom: 8px; }
.prices__block ul { margin: 0; padding-left: 18px; font-size: 0.86rem; line-height: 1.6; color: var(--text-soft); }
.prices .fleet__note { margin-top: 20px; }

/* ---------- Price estimate on the booking form ---------- */
.price-box {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 14px 16px;
  border: 1.5px solid var(--gold-light);
  border-radius: 14px;
  background: #fffaf0;
}
.price-box__head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
/* A tag, not a heading: the number next to it is provisional. */
.price-box__title {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--gold-light);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: var(--ink-soft);
}
.price-box__lead { margin: 0; font-size: 0.82rem; line-height: 1.5; color: var(--ink-soft); }
.price-box__total { font-family: var(--serif); font-size: 1.5rem; color: var(--ink); font-variant-numeric: tabular-nums; text-align: right; }
.price-box__lines { list-style: none; margin: 0; padding: 0; font-size: 0.84rem; color: var(--text-soft); font-variant-numeric: tabular-nums; }
.price-box__lines li.is-staff { color: #9a5a12; font-weight: 700; }
.price-box__note { margin: 0; font-size: 0.78rem; color: var(--text-soft); }
.price-box__fees { font-size: 0.78rem; color: var(--text-soft); }
.price-box__fees summary { cursor: pointer; font-weight: 700; color: var(--gold-dark); }
.price-box__fees ul { margin: 6px 0 0; padding-left: 18px; }
.booking-done__estimate {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 12px 14px;
  border: 1.5px solid var(--gold-light);
  border-radius: 12px;
  background: #fffaf0;
}
.booking-done__estimate[hidden] { display: none; }
.booking-done__estimate-amount { margin: 0; font-weight: 800; color: var(--ink); font-variant-numeric: tabular-nums; }
.booking-done__estimate-note { margin: 0; font-size: 0.8rem; color: var(--text-soft); }

/* Bottom-of-screen provisional price while filling the form on a phone. */
.price-bar {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: calc(12px + env(safe-area-inset-bottom, 0px));
  z-index: 900;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border-radius: 14px;
  background: var(--ink);
  color: var(--cream);
  box-shadow: var(--shadow);
}
.price-bar[hidden] { display: none; }
.price-bar__label {
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--gold-light);
  color: var(--ink);
  font-size: 0.74rem;
  font-weight: 800;
  white-space: nowrap;
}
.price-bar__total { font-family: var(--serif); font-size: 1.2rem; font-variant-numeric: tabular-nums; }
.price-bar__link { margin-left: auto; color: var(--gold-light); font-size: 0.85rem; font-weight: 700; text-decoration: underline; white-space: nowrap; }
@media (min-width: 721px) {
  .price-bar { display: none; }
}

/* ---------- Address check on the booking form ---------- */
.booking-form__field-hint.is-warn {
  display: block;
  margin: 6px 0 0;
  padding: 6px 10px;
  border-radius: 8px;
  background: #fff4d6;
  color: #7a4f00;
  font-weight: 600;
}
.booking-form__field-hint.is-warn[hidden] { display: none; }
.hint-action {
  margin-left: 6px;
  padding: 2px 10px;
  border: 1.5px solid var(--gold-dark);
  border-radius: 999px;
  background: #fff;
  color: var(--gold-dark);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}
.hint-action:focus-visible { outline: 2px solid var(--gold-dark); outline-offset: 2px; }
.booking-form__confirm {
  padding: 14px 16px;
  border: 1.5px solid #e8c36a;
  border-radius: 14px;
  background: #fff4d6;
}
.booking-form__confirm[hidden] { display: none; }
.booking-form__confirm p { margin: 0 0 10px; color: #6b4600; font-size: 0.9rem; font-weight: 700; }
.booking-form__confirm-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.booking-form__confirm-actions .btn { flex: 1 1 140px; justify-content: center; padding: 12px 18px; }

/* ---------- Vehicle detail modal ---------- */
.vehicle-modal {
  position: fixed;
  inset: 0;
  z-index: 998;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.vehicle-modal[hidden] { display: none; }
.vehicle-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(34, 26, 18, 0.55);
}
.vehicle-modal__panel {
  position: relative;
  background: #fff;
  border-radius: 20px;
  max-width: 480px;
  width: 100%;
  max-height: 86vh;
  overflow-y: auto;
  box-shadow: var(--shadow);
}
.vehicle-modal__close {
  position: sticky;
  top: 12px;
  left: calc(100% - 44px);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: none;
  background: rgba(34,26,18,0.55);
  color: #fff;
  font-size: 1.3rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
  margin: 12px 12px -32px auto;
}
.vehicle-modal__photos { display: flex; flex-direction: column; gap: 3px; }
.vehicle-modal__slide { margin: 0; }
.vehicle-modal__slide img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  background: #fff;
  display: block;
}
.vehicle-modal__info { padding: 18px 22px 26px; }
.vehicle-modal__name { font-size: 1.25rem; color: var(--ink); }
.vehicle-modal__seats {
  margin-top: 4px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold-dark);
}
.vehicle-modal__pitch { margin-top: 10px; font-size: 0.92rem; color: var(--text-soft); }
.vehicle-modal__price {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(201,151,63,0.2);
  font-weight: 700;
  color: var(--ink-soft);
}
.vehicle-modal__book { margin-top: 14px; width: 100%; justify-content: center; }

/* ---------- Contact ---------- */
.contact { padding: 70px 0 90px; }
.contact__subtitle { color: var(--text-soft); font-size: 1.02rem; max-width: 520px; margin: 0 auto 36px; }
.contact__buttons {
  display: flex;
  flex-direction: column;
  gap: 18px;
  max-width: 380px;
  margin: 0 auto;
}
.contact-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 24px;
  border-radius: 16px;
  font-weight: 700;
  font-size: 1.05rem;
  box-shadow: var(--shadow);
  transition: transform .18s ease;
}
.contact-card:hover { transform: translateY(-3px); }
.contact-card--line { background: var(--line-green); color: #fff; }
.contact-card--ig {
  background: linear-gradient(135deg, #4f5bd5, #962fbf 30%, #d62976 55%, #fa7e1e 75%, #feda75);
  color: #fff;
}

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); padding: 40px 0; }
.site-footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-align: center;
}
.brand--footer .brand__word { color: var(--gold-light); }
.site-footer__copy { color: #c9bfa8; font-size: 0.85rem; }
.site-footer__social { display: flex; gap: 14px; }
.site-footer__social a { color: #c9bfa8; }
.site-footer__social a:hover { color: var(--gold-light); }

/* ---------- Responsive ---------- */
@media (max-width: 480px) {
  /* stack name/phone and datetime/passengers instead of squeezing the
     datetime picker down to an unreadable width */
  .booking-form__row { grid-template-columns: 1fr; }
  /* two short number fields still fit side by side on a phone */
  .booking-form__row--pair { grid-template-columns: 1fr 1fr; }
  .booking-form .trip-toggle__opt { font-size: 0.86rem; padding: 9px 6px; }
  /* four price columns still fit a phone without sideways scrolling */
  .prices__table th, .prices__table td { padding: 11px 6px; }
  .prices__table thead th { font-size: 0.78rem; }
  .prices__table tbody th { font-size: 0.86rem; white-space: normal; }
  .prices__table tbody td { font-size: 1.08rem; }
}

@media (min-width: 720px) {
  .hero__inner { flex-direction: row; text-align: left; align-items: flex-start; gap: 56px; }
  /* The booking form is much taller than this column; keep the brand in
     view beside it while the visitor scrolls through the form. */
  .hero__copy { text-align: left; padding-top: 12px; position: sticky; top: 96px; }
  .badge-strip { justify-content: flex-start; }
  .contact__buttons { flex-direction: row; max-width: none; justify-content: center; }
  .fleet__grid { grid-template-columns: repeat(3, 1fr); }
  .prices__notes { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 960px) {
  .main-nav { display: flex; position: static; background: none; padding: 0; box-shadow: none; }
  .icon-btn { display: flex; }
  .nav-toggle { display: none; }
}
