@import url("https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,560;0,9..144,660;1,9..144,560&family=Outfit:wght@380;500;600;700&display=swap");

:root {
  --ink: #14343c;
  --ink-soft: #3e5c64;
  --sea: #0c6e80;
  --sea-deep: #084556;
  --lagoon: #d9f4f2;
  --foam: #f3fbfb;
  --sand: #f6f0e4;
  --sand-line: #e6dcc8;
  --coral: #d21f32;
  --coral-dark: #b21628;
  --gold: #9a7040;
  --line: #d5e6e8;
  --white: #ffffff;
  --serif: "Fraunces", "Iowan Old Style", Palatino, Georgia, serif;
  --sans: "Outfit", "Avenir Next", "Segoe UI", sans-serif;
  --shadow: 0 18px 50px rgba(12, 60, 72, 0.12);
  --header: 72px;
  --radius: 18px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.55;
  font-weight: 380;
}
body.page-book,
body.page-thanks { background: var(--foam); }
img, svg { max-width: 100%; display: block; }
a { color: var(--sea-deep); }
a:hover { color: var(--coral); }
button, input, textarea { font: inherit; color: inherit; }
:focus-visible {
  outline: 3px solid #0b8ea3;
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: 12px;
  top: -40px;
  background: var(--ink);
  color: white;
  padding: 8px 12px;
  z-index: 20;
}
.skip:focus { top: 8px; }

.preview-bar {
  background: #f3ead6;
  color: #5c4824;
  text-align: center;
  font-size: 13px;
  letter-spacing: 0.01em;
  padding: 7px 16px;
  border-bottom: 1px solid #e4d3b0;
}
.preview-bar strong { font-weight: 650; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 20px;
  min-height: var(--header);
  padding: 10px 28px;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(20, 52, 60, 0.08);
}
.wordmark {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: var(--ink);
  line-height: 1;
  margin-right: auto;
}
.wordmark span {
  font-family: var(--serif);
  font-weight: 560;
  font-size: 22px;
  letter-spacing: -0.03em;
}
.wordmark small {
  margin-top: 3px;
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--sea);
  font-weight: 600;
}
.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  background: white;
  border-radius: 999px;
  padding: 8px 14px;
  font-weight: 600;
}
.nav {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav a {
  text-decoration: none;
  color: var(--ink);
  font-size: 14.5px;
  font-weight: 550;
  padding: 8px 10px;
  border-radius: 999px;
}
.nav a:hover { background: var(--lagoon); color: var(--ink); }
.nav a[aria-current="page"] { background: var(--lagoon); }
.nav .btn { margin-left: 8px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  padding: 12px 18px;
  text-decoration: none;
  border: 1.5px solid transparent;
  font-weight: 650;
  letter-spacing: 0.01em;
  cursor: pointer;
  line-height: 1;
}
.btn-coral { background: var(--coral); color: white; }
.btn-coral:hover { background: var(--coral-dark); color: white; }
.btn-white { background: white; color: var(--ink); }
.btn-white:hover { background: var(--sand); color: var(--ink); }
.btn-ghost {
  background: transparent;
  color: white;
  border-color: rgba(255, 255, 255, 0.75);
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.12); color: white; }
.btn-line {
  background: white;
  color: var(--ink);
  border-color: var(--line);
}
.btn-line:hover { border-color: var(--sea); color: var(--sea-deep); }
.btn[disabled], .btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
.btn-pay {
  width: 100%;
  background: var(--sea-deep);
  color: white;
  border-radius: 14px;
  min-height: 52px;
}
.btn-pay:hover:not(:disabled) { background: #063744; color: white; }

.hero {
  position: relative;
  isolation: isolate;
  color: white;
  min-height: 640px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 78% 18%, rgba(244, 226, 181, 0.95), transparent 18%),
    radial-gradient(circle at 18% 80%, rgba(90, 196, 184, 0.35), transparent 28%),
    linear-gradient(180deg, #8fd0dc 0%, #1a8ea0 38%, #0b6274 68%, #08485a 100%);
}
.hero-art {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  z-index: -1;
}
.hero-inner {
  width: min(920px, calc(100% - 40px));
  padding: 72px 0 110px;
}
.eyebrow {
  margin: 0 0 14px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 13px;
  font-weight: 650;
}
.hero h1 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 560;
  font-size: clamp(42px, 6vw, 76px);
  line-height: 1.02;
  letter-spacing: -0.03em;
}
.hero p.lede {
  margin: 18px auto 0;
  max-width: 640px;
  font-size: 19px;
  color: rgba(255, 255, 255, 0.92);
}
.hero-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}
.wave {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 84px;
  color: white;
}

.wrap { width: min(1120px, calc(100% - 40px)); margin: 0 auto; }
.section { padding: 72px 0; }
.section-sand { background: var(--sand); }
.section-foam { background: var(--foam); }
.section h2, .prose h2, .page-hero h1, .split h1 {
  font-family: var(--serif);
  font-weight: 560;
  letter-spacing: -0.03em;
  line-height: 1.08;
}
.section h2 { font-size: clamp(32px, 4vw, 48px); margin: 0 0 12px; }
.kicker {
  margin: 0 0 8px;
  color: var(--sea);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.intro { max-width: 680px; color: var(--ink-soft); margin: 0 0 28px; }

.route-grid, .boat-grid, .step-grid, .info-grid {
  display: grid;
  gap: 18px;
}
.route-grid { grid-template-columns: 1fr 1fr; }
.boat-grid { grid-template-columns: repeat(3, 1fr); }
.step-grid { grid-template-columns: repeat(4, 1fr); }
.info-grid { grid-template-columns: 1.4fr 0.8fr; gap: 28px; align-items: start; }

.route-card, .boat-card, .panel, .summary-card, .step, .tbc, .faq details {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.route-card {
  padding: 28px;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}
.route-card:hover { color: inherit; transform: translateY(-2px); }
.route-card .swatch {
  height: 10px;
  width: 72px;
  border-radius: 999px;
  margin-bottom: 22px;
}
.swatch-phi { background: linear-gradient(90deg, #14a3b0, #d7f4f2); }
.swatch-racha { background: linear-gradient(90deg, #0c5564, #e7c98a); }
.route-card h3, .boat-card h3 {
  font-family: var(--serif);
  font-size: 34px;
  margin: 0 0 8px;
  letter-spacing: -0.03em;
  font-weight: 560;
}
.route-card p { margin: 0; color: var(--ink-soft); }
.route-card .from {
  margin-top: auto;
  padding-top: 22px;
  font-size: 20px;
  font-weight: 650;
}
.boat-card { padding: 22px; display: flex; flex-direction: column; gap: 8px; }
.boat-card .route-name { color: var(--sea); font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.boat-card .price { font-size: 22px; font-weight: 700; }
.boat-card .meta { color: var(--ink-soft); margin: 0; font-size: 15px; }
.boat-card .links { display: flex; gap: 10px; margin-top: 10px; flex-wrap: wrap; }
.boat-card .links a { font-weight: 650; }

.step { padding: 18px; }
.step b {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--lagoon);
  color: var(--sea-deep);
  margin-bottom: 12px;
}
.step h3 { margin: 0 0 6px; font-size: 18px; }
.step p { margin: 0; color: var(--ink-soft); font-size: 15px; }

.tbc { padding: 18px 20px; background: var(--sand); border-color: var(--sand-line); }
.tbc h2, .tbc h3 { font-family: var(--sans); letter-spacing: 0; font-size: 15px; margin: 0 0 8px; text-transform: uppercase; letter-spacing: 0.08em; }
.tbc p, .tbc li { color: #4e4332; }
.tbc ul { margin: 0; padding-left: 18px; }

.page-hero { padding: 48px 0 10px; }
.page-hero h1 { font-size: clamp(40px, 6vw, 68px); margin: 0; }
.page-hero .lede { font-size: 19px; color: var(--ink-soft); max-width: 680px; }

.sea-band {
  height: 180px;
  border-radius: 28px;
  margin: 18px 0 8px;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 82% 22%, rgba(244, 226, 181, 0.9), transparent 16%),
    linear-gradient(180deg, #9ad7e2, #0e7590 55%, #0a5568);
}
.sea-band.racha {
  background:
    radial-gradient(circle at 20% 30%, rgba(231, 201, 138, 0.7), transparent 18%),
    linear-gradient(180deg, #7eb8c4, #0c5564 50%, #083844);
}
.sea-band svg { position: absolute; inset: auto 0 0 0; height: 70px; }

.split {
  display: grid;
  grid-template-columns: 1.4fr 0.7fr;
  gap: 28px;
  align-items: start;
  padding-bottom: 72px;
}
.price-card {
  position: sticky;
  top: 92px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 22px;
  box-shadow: var(--shadow);
}
.price-card .amount { font-family: var(--serif); font-size: 40px; margin: 4px 0; letter-spacing: -0.03em; }
.price-card .unit { color: var(--ink-soft); margin: 0 0 12px; }
.price-card .child-line { padding-top: 8px; border-top: 1px solid var(--line); margin-top: 8px; }
.stack { display: grid; gap: 14px; }
.prose h2 { font-size: 32px; margin: 28px 0 8px; }
.prose p { margin: 0 0 12px; }
.prose ul { margin: 0 0 12px; padding-left: 18px; }

.faq details { padding: 14px 18px; }
.faq details + details { margin-top: 10px; }
.faq summary { cursor: pointer; font-weight: 650; }
.faq details p { margin: 10px 0 4px; color: var(--ink-soft); }

.book-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 22px;
  align-items: start;
  padding-bottom: 48px;
}
.book-main, .summary-card { background: white; border: 1px solid var(--line); border-radius: 22px; }
.book-main { padding: 22px; }
.summary-card { padding: 18px; position: sticky; top: 92px; }
.block-title { margin: 22px 0 10px; font-size: 15px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--sea); }
.block-title:first-child { margin-top: 0; }

.pick-grid { display: grid; gap: 8px; }
.pick-grid.two { grid-template-columns: 1fr 1fr; }
.route-label { margin: 12px 0 6px; font-size: 13px; font-weight: 700; color: var(--ink-soft); }
.pick {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto;
  column-gap: 10px;
  align-items: center;
  border: 1.5px solid var(--line);
  border-radius: 14px;
  padding: 10px 12px;
  cursor: pointer;
  background: white;
}
.pick:has(input:checked) { border-color: var(--sea); background: #f3fbfb; }
.pick input { grid-row: span 2; accent-color: var(--sea-deep); }
.pick b { font-weight: 650; }
.pick span { color: var(--ink-soft); font-size: 14px; }

.cal-head, .cal-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.cal-head h2 { margin: 0; font-family: var(--serif); font-size: 28px; font-weight: 560; }
.icon-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: white;
  cursor: pointer;
}
.icon-btn:disabled { opacity: 0.35; cursor: not-allowed; }
.weekdays, .days { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.weekdays { margin: 12px 0 6px; color: var(--ink-soft); font-size: 12px; letter-spacing: 0.04em; text-transform: uppercase; text-align: center; }
.day {
  min-height: 64px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: white;
  padding: 6px 4px;
  text-align: left;
  cursor: pointer;
}
.day .n { display: block; font-weight: 700; }
.day .r { display: block; font-size: 11px; color: var(--sea); }
.day.is-out { visibility: hidden; }
.day.is-past, .day:disabled.is-past { color: #9aabb0; background: #f6f8f8; cursor: not-allowed; }
.day.is-full { background: #f8eeee; color: #8a3b3b; cursor: pointer; }
.day.is-full .r { color: #8a3b3b; }
.day.is-today { box-shadow: inset 0 0 0 1.5px var(--gold); }
.day.is-selected { background: var(--sea-deep); color: white; border-color: var(--sea-deep); }
.day.is-selected .r { color: #d7f4f2; }
.legend { display: flex; gap: 14px; flex-wrap: wrap; color: var(--ink-soft); font-size: 13px; margin-top: 10px; }
.legend i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 4px; vertical-align: -1px; }
.legend .full { background: #f8eeee; box-shadow: inset 0 0 0 1px #e4c2c2; }
.legend .open { background: white; box-shadow: inset 0 0 0 1px var(--line); }

.guest-row, .field { margin-top: 12px; }
.guest-row { display: flex; justify-content: space-between; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); }
.stepper { display: inline-flex; align-items: center; gap: 8px; }
.stepper button {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: white;
  cursor: pointer;
  font-size: 20px;
  line-height: 1;
}
.choice { display: flex; gap: 8px; align-items: flex-start; margin: 8px 0; }
label.lbl { display: block; font-weight: 650; margin-bottom: 6px; }
input[type="text"], input[type="email"], input[type="tel"], textarea {
  width: 100%;
  border: 1.5px solid #c9dbe0;
  border-radius: 12px;
  padding: 12px 12px;
  background: white;
}
textarea { min-height: 90px; resize: vertical; }
.help { color: var(--ink-soft); font-size: 14px; margin: 6px 0 0; }
.error { color: var(--coral-dark); font-weight: 600; font-size: 14px; margin: 8px 0 0; }
.fallback {
  background: var(--sand);
  border: 1px solid var(--sand-line);
  border-radius: 12px;
  padding: 12px;
  color: #4e4332;
  font-size: 14.5px;
}
.summary-card h2 { font-family: var(--serif); font-size: 28px; margin: 0 0 8px; }
.line { display: flex; justify-content: space-between; gap: 12px; margin: 6px 0; }
.total { display: flex; justify-content: space-between; font-weight: 750; font-size: 18px; margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--line); }
.fine { color: var(--ink-soft); font-size: 13px; margin: 8px 0 0; }
.preview-lab { margin-top: 14px; font-size: 13px; color: var(--ink-soft); }
.preview-lab summary { cursor: pointer; }
.preview-lab .btn { margin-top: 8px; width: 100%; }

.site-footer { background: var(--sea-deep); color: #e7f4f6; padding: 36px 0 28px; }
.site-footer a { color: white; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 16px; margin-bottom: 18px; }
.footer-links a { text-decoration: none; font-weight: 600; font-size: 14px; }
.legal { margin: 0; font-size: 14px; line-height: 1.6; color: #d5e8ec; }
.legal strong { color: white; font-weight: 700; }

.sticky-check {
  display: none;
}

.thanks {
  background: white;
  border-radius: 22px;
  border: 1px solid var(--line);
  padding: 28px;
  margin: 12px auto 64px;
  box-shadow: var(--shadow);
}
.thanks h1 { font-family: var(--serif); font-size: clamp(36px, 5vw, 56px); margin: 0 0 8px; letter-spacing: -0.03em; }

@media (max-width: 980px) {
  .route-grid, .boat-grid, .info-grid, .split, .book-layout { grid-template-columns: 1fr; }
  .step-grid { grid-template-columns: 1fr 1fr; }
  .price-card, .summary-card { position: static; }
  .nav-toggle { display: inline-flex; }
  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    background: white;
    border-bottom: 1px solid var(--line);
    padding: 10px 16px 16px;
    box-shadow: var(--shadow);
  }
  .nav.is-open { display: flex; }
  .nav .btn { margin: 8px 10px 0; }
  .site-header { position: sticky; }
}
@media (max-width: 720px) {
  .site-header { padding: 10px 16px; }
  .wrap { width: min(1120px, calc(100% - 32px)); }
  .hero { min-height: 560px; text-align: left; }
  .hero-inner { width: min(920px, calc(100% - 32px)); padding: 48px 0 96px; }
  .hero-actions { justify-content: flex-start; }
  .section { padding: 48px 0; }
  .step-grid, .pick-grid.two { grid-template-columns: 1fr; }
  .day { min-height: 52px; padding: 4px; }
  .day .r { font-size: 10px; }
  .sticky-check {
    display: flex;
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: 12px;
    z-index: 12;
    height: 52px;
    align-items: center;
    justify-content: center;
    background: var(--coral);
    color: white;
    text-decoration: none;
    font-weight: 750;
    border-radius: 999px;
    box-shadow: 0 10px 24px rgba(210, 31, 50, 0.28);
  }
  body.has-sticky { padding-bottom: 84px; }
  .site-footer { padding-bottom: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .route-card { transition: none; }
}