/* Tour microsite — shared core. Layout families (_build/families/*.css) build on top of this; site colors live in :root. */
:root {
  --bg: #050b1a;
  --bg-2: #0a1530;
  --surface: #0f1d3d;
  --text: #e8f1ff;
  --muted: #9fb2d4;
  --accent: #3ef0ff;
  --accent-2: #7b8cff;
  --accent-ink: #03141c;
  --line: rgba(160, 200, 255, .14);
  --radius: 18px;
  --max: 1140px;
  --font-head: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.65 var(--font-body);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--accent); }
h1, h2, h3 { font-family: var(--font-head); line-height: 1.15; font-weight: 600; margin: 0 0 .5em; }
h1 { font-size: clamp(2.4rem, 6vw, 4.4rem); letter-spacing: -.02em; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.7rem); letter-spacing: -.01em; }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }

.wrap { max-width: var(--max); margin: 0 auto; padding-inline: 20px; }
.section { padding-block: clamp(64px, 9vw, 112px); }
.section--alt { background: var(--bg-2); }
.eyebrow {
  display: inline-block; font-size: .78rem; font-weight: 600; letter-spacing: .16em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 14px;
}
.lead { font-size: 1.15rem; color: var(--muted); max-width: 680px; }
.center { text-align: center; }
.center .lead { margin-inline: auto; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 10px; justify-content: center;
  padding: 15px 28px; border-radius: 999px; font-weight: 600; font-size: 1rem;
  text-decoration: none; transition: transform .2s, box-shadow .2s, background .2s;
}
.btn--primary { background: var(--accent); color: var(--accent-ink); box-shadow: 0 0 0 0 var(--accent); }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 10px 34px -8px var(--accent); }
.btn--ghost { color: var(--text); border: 1px solid var(--line); background: rgba(255,255,255,.04); }
.btn--ghost:hover { border-color: var(--accent); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
@media (max-width: 480px) { .btn-row > .btn { flex: 1 1 100%; white-space: nowrap; padding-inline: 18px; } }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 66px; }
.brand { font-family: var(--font-head); font-size: 1.2rem; font-weight: 600; color: var(--text); text-decoration: none; }
.brand span { color: var(--accent); }
.nav { display: flex; align-items: center; gap: 26px; }
.nav a { color: var(--muted); text-decoration: none; font-size: .95rem; }
.nav a:hover { color: var(--text); }
.nav .btn { padding: 10px 20px; font-size: .92rem; color: var(--accent-ink); white-space: nowrap; }
.brand { white-space: nowrap; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.brand__name { font-weight: inherit; }
.brand__suffix { font-size: inherit; }
/* Small screens: the suffix ("Puerto Escondido") drops to a small second line so the Book button always fits */
@media (max-width: 480px) {
  .site-header .brand { display: flex; flex-direction: column; line-height: 1.05; }
  .site-header .brand__suffix {
    font-family: var(--font-body); font-size: .6rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
    color: var(--muted); margin-top: 4px; overflow: hidden; text-overflow: ellipsis;
  }
}
.nav { flex: none; }
@media (max-width: 760px) { .nav a:not(.btn) { display: none; } }

/* Hero */
.hero {
  position: relative; min-height: min(92vh, 860px); display: flex; align-items: flex-end;
  padding-block: 120px 72px; overflow: hidden;
}
.hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, color-mix(in srgb, var(--bg) 55%, transparent) 0%, transparent 65%),
    linear-gradient(180deg, rgba(0,0,0,.15) 0%, color-mix(in srgb, var(--bg) 70%, transparent) 55%, var(--bg) 100%);
}
.hero > .wrap { width: 100%; }
.hero .eyebrow { background: color-mix(in srgb, var(--bg) 82%, transparent); padding: 6px 12px; border-radius: 999px; text-shadow: none; }
.hero .eyebrow, .hero h1, .hero p.lead { text-shadow: 0 1px 18px color-mix(in srgb, var(--bg) 85%, transparent), 0 1px 2px color-mix(in srgb, var(--bg) 60%, transparent); }
.hero p.lead { color: var(--text); opacity: .9; }
.hero .btn-row { margin-top: 30px; }

.facts {
  display: flex; flex-wrap: wrap; gap: 1px;
  background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  margin-top: 48px;
}
.facts div { flex: 1 1 140px; background: color-mix(in srgb, var(--surface) 88%, transparent); padding: 18px 20px; }
.facts dt { font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.facts dd { margin: 4px 0 0; font-weight: 600; font-size: 1.1rem; }

/* Grids & cards */
.split { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 6vw, 72px); align-items: center; }
.split img { border-radius: var(--radius); aspect-ratio: 4/5; object-fit: cover; width: 100%; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .split img { aspect-ratio: 4/3; } }

.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; margin-top: 44px; }
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px;
}
.card h3 { margin-bottom: .35em; }
.card p { color: var(--muted); margin: 0; font-size: .97rem; }
.card .num { font-family: var(--font-head); color: var(--accent); font-size: 1.6rem; display: block; margin-bottom: 8px; }

/* Timeline */
.timeline { list-style: none; padding: 0; margin: 44px 0 0; border-left: 2px solid var(--line); }
.timeline li { position: relative; padding: 0 0 34px 30px; }
.timeline li::before {
  content: ""; position: absolute; left: -8px; top: 6px; width: 14px; height: 14px; border-radius: 50%;
  background: var(--accent); box-shadow: 0 0 16px var(--accent);
}
.timeline time { font-weight: 700; color: var(--accent); font-size: .95rem; }
.timeline h3 { margin: 2px 0 6px; }
.timeline p { color: var(--muted); margin: 0; }

/* Lists */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 40px; }
@media (max-width: 760px) { .two-col { grid-template-columns: 1fr; } }
.checklist { list-style: none; padding: 0; margin: 0; }
.checklist li { padding: 10px 0 10px 32px; position: relative; border-bottom: 1px solid var(--line); }
.checklist li:last-child { border-bottom: 0; }
.checklist li::before {
  content: ""; position: absolute; left: 2px; top: 14px; width: 18px; height: 18px; background: var(--accent);
  -webkit-mask: var(--icon-check) center / contain no-repeat; mask: var(--icon-check) center / contain no-repeat;
}

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 40px; }
.gallery img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 12px; }
.gallery img:first-child { grid-column: span 2; grid-row: span 2; }
@media (max-width: 700px) { .gallery { grid-template-columns: repeat(2, 1fr); } }

/* Pricing */
.pricing { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 22px; margin-top: 44px; }
.price-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px;
  display: flex; flex-direction: column;
}
.price-card--featured { border-color: var(--accent); box-shadow: 0 0 60px -30px var(--accent); }
.price-card .tag { font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); font-weight: 600; }
.price-card .amount { font-family: var(--font-head); font-size: 2.6rem; margin: 10px 0 0; }
.price-card .amount small { font-family: var(--font-body); font-size: .95rem; color: var(--muted); font-weight: 400; }
.price-card ul { padding-left: 18px; color: var(--muted); margin: 18px 0 26px; }
.price-card .btn { margin-top: auto; }

/* FAQ */
.faq { max-width: 820px; margin: 40px auto 0; }
.faq details { border-bottom: 1px solid var(--line); padding: 18px 0; }
.faq summary { cursor: pointer; font-weight: 600; font-size: 1.07rem; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent); font-size: 1.4rem; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--muted); margin: 12px 0 0; }

/* Blog teaser + listing */
.posts { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 22px; margin-top: 40px; }
.post-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  text-decoration: none; color: inherit; display: flex; flex-direction: column; transition: transform .2s, border-color .2s;
}
.post-card:hover { transform: translateY(-4px); border-color: var(--accent); }
.post-card img { aspect-ratio: 16/10; object-fit: cover; width: 100%; }
.post-card__media { display: block; overflow: hidden; padding: 0; }
.post-card__media img { transition: transform .5s cubic-bezier(.2,.7,.2,1); }
.post-card:hover .post-card__media img { transform: scale(1.05); }
.post-card div { padding: 22px; }
.post-card h3 { font-size: 1.18rem; }
.post-card p { color: var(--muted); font-size: .95rem; margin: 0; }
.post-card .meta { font-size: .8rem; color: var(--accent); letter-spacing: .06em; text-transform: uppercase; margin-bottom: 8px; display: block; }

/* CTA band */
.cta-band {
  border-radius: calc(var(--radius) + 6px); padding: clamp(40px, 6vw, 72px); text-align: center;
  background: radial-gradient(120% 140% at 50% 0%, color-mix(in srgb, var(--accent) 22%, var(--surface)) 0%, var(--surface) 60%);
  border: 1px solid var(--line);
}
.cta-band .btn-row { justify-content: center; margin-top: 26px; }

/* Article */
.article-hero { padding-block: 72px 32px; }
.article-hero .meta { color: var(--muted); font-size: .92rem; }
.article-cover { border-radius: var(--radius); aspect-ratio: 16/8; object-fit: cover; width: 100%; margin-bottom: 48px; }
.prose { max-width: 720px; margin: 0 auto; font-size: 1.08rem; }
.prose h2 { font-size: 1.75rem; margin-top: 1.8em; }
.prose h3 { margin-top: 1.4em; }
.prose ul, .prose ol { padding-left: 22px; }
.prose li { margin-bottom: .45em; }
.prose blockquote { margin: 1.6em 0; padding: 4px 0 4px 22px; border-left: 3px solid var(--accent); color: var(--muted); font-style: italic; }
/* Blog booking card: photo + price tag, title, quick facts, two actions. Slightly wider than the text column on desktop.
   --cta-ink is the color for small accent text (families whose accent isn't text-safe override it). */
.prose .inline-cta {
  --cta-w: min(880px, 100vw - 40px);
  position: relative; display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
  margin: 2.6em calc((100% - var(--cta-w)) / 2);
  border-radius: calc(var(--radius) + 4px); overflow: hidden; font-size: 1rem;
  background: linear-gradient(135deg, color-mix(in srgb, var(--accent) 14%, var(--surface)) 0%, var(--surface) 58%);
  border: 1px solid color-mix(in srgb, var(--accent) 35%, var(--line));
  box-shadow: 0 30px 70px -40px color-mix(in srgb, var(--accent) 75%, transparent);
  transition: box-shadow .3s, border-color .3s;
}
.prose .inline-cta:hover { border-color: var(--accent); box-shadow: 0 34px 80px -36px color-mix(in srgb, var(--accent) 85%, transparent); }
.prose .inline-cta--end { grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); }
.prose .inline-cta--end .inline-cta__media { order: 2; }
.inline-cta__media { position: relative; display: block; overflow: hidden; min-height: 100%; }
.inline-cta__media::after { content: ""; position: absolute; inset: 55% 0 0; background: linear-gradient(transparent, rgba(0, 0, 0, .45)); pointer-events: none; }
.prose .inline-cta__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; margin: 0; border-radius: 0; transition: transform .7s cubic-bezier(.2,.7,.2,1); }
.inline-cta:hover .inline-cta__media img { transform: scale(1.06); }
.inline-cta__price {
  position: absolute; left: 16px; bottom: 16px; z-index: 1; display: inline-flex; align-items: baseline; gap: 6px;
  padding: 8px 15px; border-radius: 999px; background: var(--accent); color: var(--accent-ink);
  font-size: .82rem; font-weight: 600; box-shadow: 0 8px 24px -8px rgba(0, 0, 0, .5);
}
.inline-cta__price strong { font-family: var(--font-head); font-size: 1.3rem; line-height: 1; }
.inline-cta__body { padding: clamp(24px, 4vw, 38px); display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.inline-cta__tag { font-size: .72rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--cta-ink, var(--accent)); }
.prose .inline-cta__title { margin: 0; font-family: var(--font-head); font-size: clamp(1.4rem, 2.6vw, 1.9rem); line-height: 1.15; color: var(--text); }
.prose .inline-cta__facts { list-style: none; padding: 0; margin: 2px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.prose .inline-cta__facts li {
  margin: 0; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line);
  background: color-mix(in srgb, var(--bg) 55%, transparent); font-size: .88rem; font-weight: 600; line-height: 1.3;
}
.inline-cta__facts span { margin-right: 4px; font-size: .68rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.prose .inline-cta__note { margin: 0; font-size: .95rem; color: var(--muted); }
.inline-cta__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; align-self: stretch; }
/* Buttons grow to fill the row, so when a longer language wraps them they stack as two full-width buttons */
.inline-cta__actions .btn { flex: 1 1 auto; }
.prose .inline-cta .btn { text-decoration: none; padding-inline: 22px; }
.prose .inline-cta .btn--primary { position: relative; overflow: hidden; color: var(--accent-ink); }
.prose .inline-cta .btn--ghost { color: var(--text); }
/* A light sheen sweeps the main button every few seconds (stilled by reduced motion) */
.prose .inline-cta .btn--primary::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, .45) 50%, transparent 65%);
  transform: translateX(-120%); animation: cta-sheen 4.5s ease-in-out 1.5s infinite;
}
@keyframes cta-sheen { 0%, 60% { transform: translateX(-120%); } 85%, 100% { transform: translateX(120%); } }
.btn__arrow { flex: none; transition: transform .25s; }
.btn:hover .btn__arrow { transform: translateX(4px); }
@media (max-width: 680px) {
  .prose .inline-cta, .prose .inline-cta--end { grid-template-columns: 1fr; }
  .prose .inline-cta--end .inline-cta__media { order: 0; }
  .inline-cta__media { aspect-ratio: 16 / 10; min-height: 0; }
  .inline-cta__actions, .inline-cta__actions .btn { width: 100%; }
}
.breadcrumbs { font-size: .88rem; color: var(--muted); margin-bottom: 18px; }
.breadcrumbs a { color: var(--muted); }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding-block: 44px; color: var(--muted); font-size: .92rem; }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 18px; }
.site-footer a { color: var(--muted); }

/* Mobile sticky booking bar */
.mobile-book {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: none;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0px));
  background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: blur(10px);
  border-top: 1px solid var(--line);
}
.mobile-book .btn { width: 100%; }
@media (max-width: 760px) { .mobile-book { display: block; } body { padding-bottom: 80px; } }

/* Icons (Lucide, MIT) used as CSS masks so they take the theme color */
:root {
  --icon-check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
}

/* Accessibility */
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
.btn:focus-visible { outline-offset: 4px; border-radius: 999px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
summary, .btn, .post-card { cursor: pointer; }

/* Scroll reveal: pure CSS scroll-driven animation. Browsers without animation-timeline
   simply show everything; reduced-motion users never get it. */
@keyframes reveal-up { from { opacity: 0; transform: translateY(36px); } to { opacity: 1; transform: none; } }
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    /* fill "backwards", not "both": once revealed the animation stops applying, so hover transforms keep working */
    .reveal { animation: reveal-up linear backwards; animation-timeline: view(); animation-range: entry 0% entry 80%; }
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* Language switch (blog) */
.article-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.article-top .breadcrumbs { margin: 0; }
.lang-switch { display: flex; width: fit-content; gap: 2px; padding: 3px; border: 1px solid var(--line); border-radius: 999px; font-size: .78rem; font-weight: 700; letter-spacing: .08em; margin-bottom: 16px; }
.article-top .lang-switch { margin: 0; }
.lang-switch a, .lang-switch span { display: inline-grid; place-items: center; min-width: 40px; min-height: 30px; padding: 0 10px; border-radius: 999px; text-decoration: none; color: var(--muted); }
.lang-switch a:hover { color: var(--text); background: color-mix(in srgb, var(--text) 8%, transparent); }
.lang-switch [aria-current] { background: var(--accent); color: var(--accent-ink); }
.blog-langs { text-align: center; margin: 28px 0 0; color: var(--muted); font-size: .95rem; }
.blog-langs a { font-weight: 600; }

/* Language switch in the header of the landing pages (stays visible on phones). */
.nav .lang-switch--nav { margin: 0; padding: 2px; gap: 0; font-size: .72rem; }
.nav .lang-switch--nav a, .nav .lang-switch--nav span { display: inline-grid; min-width: 30px; min-height: 28px; padding: 0 7px; font-size: inherit; }
@media (max-width: 420px) { .nav { gap: 10px; } .nav .lang-switch--nav a, .nav .lang-switch--nav span { min-width: 26px; padding: 0 5px; } }

/* Layout family: sea */
/* ============================================================
   Family: SEA — boat & water tours (dolphins, snorkeling, private boat, Huatulco bays)
   Style: Swiss Modernism 2.0, light and fresh (ui-ux-pro-max)
   Type: Outfit (display) + Work Sans (text)
   Color roles: --accent is a FILL only (buttons, featured price, markers);
   --accent-2 is the deep sea color used for any accent text, icons and focus rings.
   ============================================================ */
:root {
  --font-head: "Outfit", system-ui, sans-serif;
  --font-body: "Work Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --radius: 24px;
  --shadow: 0 1px 2px rgba(8, 40, 60, .06), 0 18px 40px -24px rgba(8, 40, 60, .35);
}

.fam-sea h1, .fam-sea h2, .fam-sea h3 { font-family: var(--font-head); }
.fam-sea h1 { font-weight: 700; font-size: clamp(2.6rem, 6.6vw, 5.4rem); line-height: .98; letter-spacing: -.035em; }
.fam-sea h2 { font-weight: 600; font-size: clamp(2rem, 4.2vw, 3.2rem); line-height: 1.05; letter-spacing: -.028em; }
.fam-sea h3 { font-weight: 600; font-size: 1.2rem; letter-spacing: -.01em; }
.fam-sea .eyebrow { color: var(--accent-2); letter-spacing: .14em; }
.fam-sea .prose a, .fam-sea .breadcrumbs a:hover { color: var(--accent-2); }
.fam-sea .brand { font-weight: 700; letter-spacing: -.02em; font-size: 1.3rem; }
.fam-sea .brand span, .fam-sea .post-card .meta, .fam-sea .card .num { color: var(--accent-2); }
.fam-sea .nav a:not(.btn) { color: var(--muted); }
.fam-sea .nav a:not(.btn):hover { color: var(--text); }
.fam-sea .site-footer a { color: var(--muted); }
.fam-sea .checklist li::before { background: var(--accent-2); }
.fam-sea :focus-visible { outline-color: var(--accent-2); }
.fam-sea .faq summary::after { color: var(--accent-2); }
.fam-sea .faq summary:hover { color: var(--accent-2); }
.fam-sea .prose blockquote { border-left-color: var(--accent-2); }
.fam-sea .btn--primary { color: var(--accent-ink); }
.fam-sea .btn--primary:hover { box-shadow: 0 12px 30px -10px color-mix(in srgb, var(--accent) 80%, #000); }
.fam-sea .btn--ghost { background: var(--surface); }
.fam-sea .btn--ghost:hover { border-color: var(--accent-2); color: var(--accent-2); }
.fam-sea .card, .fam-sea .post-card { box-shadow: var(--shadow); }

/* ---------- Wave (two seamless layers sliding sideways) ---------- */
.sea-wave { position: absolute; left: 0; right: 0; bottom: -1px; height: clamp(40px, 6vw, 76px); overflow: hidden; pointer-events: none; z-index: 2; }
.sea-wave svg { position: absolute; left: 0; bottom: 0; width: 200%; height: 100%; fill: var(--bg); animation: sea-wave 14s linear infinite; }
.sea-wave svg:first-child { opacity: .45; height: 82%; animation-duration: 22s; animation-direction: reverse; }
@keyframes sea-wave { to { transform: translateX(-50%); } }

/* ---------- Hero A: photo in an inset rounded card ---------- */
.sea-hero { padding: 12px 12px 0; }
.sea-hero__card {
  position: relative; isolation: isolate; overflow: hidden; border-radius: 32px 32px 0 0;
  min-height: min(84svh, 800px); display: flex; align-items: flex-end;
}
.sea-hero__card > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; animation: sea-drift 30s ease-in-out infinite alternate; }
.sea-hero__card::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(12deg, rgba(4, 22, 36, .82) 0%, rgba(4, 22, 36, .45) 42%, rgba(4, 22, 36, .05) 75%);
}
.sea-hero__copy { width: 100%; padding-block: 120px clamp(80px, 9vw, 120px); color: #fff; }
.sea-hero__copy h1 { max-width: 15ch; }
.sea-hero__copy .lead { color: rgba(255, 255, 255, .92); max-width: 600px; }
.sea-hero__copy .eyebrow, .sea-hero--split .eyebrow {
  background: var(--accent); color: var(--accent-ink); padding: 7px 14px; border-radius: 16px; letter-spacing: .1em;
}
.sea-hero__copy .btn--ghost { background: rgba(255, 255, 255, .12); color: #fff; border-color: rgba(255, 255, 255, .45); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.sea-hero__copy .btn--ghost:hover { background: rgba(255, 255, 255, .22); color: #fff; border-color: #fff; }
.sea-hero .btn-row { margin-top: 28px; }
.sea-hero__card + .wrap .sea-pills { margin-top: -6px; position: relative; z-index: 3; }
@keyframes sea-drift { from { transform: scale(1.02); } to { transform: scale(1.1) translateX(-1.5%); } }

/* Fact pills */
.sea-pills { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.sea-pills li {
  display: inline-flex; align-items: baseline; gap: 8px; padding: 10px 18px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow);
  font-family: var(--font-head); font-weight: 600; font-size: 1rem; color: var(--text);
  transition: transform .2s, border-color .2s;
}
.sea-pills li:hover { transform: translateY(-2px); border-color: var(--accent-2); }
.sea-pills span { font-family: var(--font-body); font-weight: 600; font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }

/* ---------- Hero B: split with porthole photo ---------- */
.sea-hero--split { padding: clamp(40px, 6vw, 80px) 0 clamp(40px, 6vw, 72px); overflow: hidden; }
.sea-hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.sea-hero--split .lead { color: var(--muted); }
.sea-porthole { position: relative; overflow: hidden; border-radius: 999px 999px 40px 40px; aspect-ratio: 5/6; box-shadow: var(--shadow); }
.sea-porthole img { width: 100%; height: 100%; object-fit: cover; animation: sea-drift 30s ease-in-out infinite alternate; }
.sea-porthole .sea-wave svg { fill: rgba(255, 255, 255, .8); }
.sea-porthole .sea-wave svg:first-child { fill: rgba(255, 255, 255, .5); }
.sea-hero--split h1 { font-size: clamp(2.5rem, 5.2vw, 4.6rem); }
.sea-hero--split .sea-pills li { padding: 8px 14px; font-size: .94rem; }
.sea-porthole::after { content: ""; position: absolute; inset: 14px; border-radius: inherit; border: 2px solid rgba(255, 255, 255, .55); pointer-events: none; }
@media (max-width: 860px) {
  .sea-hero__grid { grid-template-columns: 1fr; }
  .sea-porthole { order: -1; aspect-ratio: 4/3; border-radius: 160px 160px 28px 28px; }
}

/* ---------- Experience ---------- */
.sea-experience { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.sea-frame { margin: 0; border-radius: 28px; overflow: hidden; box-shadow: var(--shadow); border: 8px solid var(--surface); }
.sea-frame img { width: 100%; aspect-ratio: 6/7; object-fit: cover; transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
.sea-frame:hover img { transform: scale(1.04); }
@media (max-width: 860px) { .sea-experience { grid-template-columns: 1fr; } .sea-frame img { aspect-ratio: 4/3; } }

/* ---------- Section heads ---------- */
.sea-head { max-width: 720px; }
.sea-head--center { margin-inline: auto; text-align: center; }
.sea-head--center .lead { margin-inline: auto; }

/* ---------- Highlights: bento ---------- */
.sea-bento { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: minmax(180px, auto); gap: 16px; margin-top: 40px; }
.sea-tile {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow);
  display: flex; flex-direction: column; justify-content: flex-end;
  transition: transform .25s cubic-bezier(.2, .7, .2, 1), box-shadow .25s, border-color .25s;
}
.sea-tile:hover { transform: translateY(-4px); border-color: var(--accent-2); }
.sea-tile p { color: var(--muted); margin: 0; font-size: .97rem; }
.sea-tile__num {
  align-self: flex-start; margin-bottom: auto; padding: 4px 12px; border-radius: 999px;
  font-family: var(--font-head); font-weight: 600; font-size: .85rem; color: var(--accent-2); border: 1px solid currentColor;
}
.sea-tile h3 { margin-top: 28px; }
.sea-tile:nth-child(1) { grid-column: span 2; grid-row: span 2; background: var(--accent-2); border-color: transparent; color: #fff; }
.sea-tile:nth-child(1) h3 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); }
.sea-tile:nth-child(1) p { color: rgba(255, 255, 255, .9); font-size: 1.05rem; max-width: 420px; }
.sea-tile:nth-child(1) .sea-tile__num { color: #fff; }
.sea-tile:nth-child(2) { grid-column: span 2; }
@media (max-width: 860px) {
  .sea-bento { grid-template-columns: repeat(2, 1fr); }
  .sea-tile:nth-child(1) { grid-row: span 1; }
}
@media (max-width: 560px) {
  .sea-bento { grid-template-columns: 1fr; }
  .sea-tile:nth-child(n) { grid-column: auto; }
}

/* ---------- Itinerary: route stops ---------- */
.sea-route__head { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: end; }
.sea-route__head img { border-radius: var(--radius); width: 100%; aspect-ratio: 15/7; object-fit: cover; box-shadow: var(--shadow); }
@media (max-width: 760px) { .sea-route__head { grid-template-columns: 1fr; } }
.sea-stops {
  --gutter: max(20px, calc((100vw - var(--max)) / 2 + 20px));
  list-style: none; margin: 44px 0 0; padding: 8px var(--gutter) 28px;
  display: grid; grid-auto-flow: column; grid-auto-columns: clamp(250px, 24vw, 290px); gap: 18px; align-items: stretch;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter);
  scrollbar-width: thin; scrollbar-color: var(--accent-2) transparent;
}
.sea-stops li {
  position: relative; scroll-snap-align: start; padding: 26px; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow);
  transition: transform .25s cubic-bezier(.2, .7, .2, 1), border-color .25s;
}
.sea-stops li:hover { transform: translateY(-4px); border-color: var(--accent-2); }
.sea-stops li:not(:last-child)::after {
  content: ""; position: absolute; top: 37px; left: 52px; right: -19px;
  border-top: 2px dashed color-mix(in srgb, var(--accent-2) 45%, transparent);
}
.sea-stops__marker {
  position: relative; z-index: 1; display: inline-block; width: 22px; height: 22px; border-radius: 50%; vertical-align: middle;
  background: var(--accent); box-shadow: 0 0 0 5px color-mix(in srgb, var(--accent) 25%, transparent);
}
.sea-stops__label { position: relative; z-index: 1; margin-left: 10px; padding: 0 8px; background: var(--surface); font-size: .72rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); vertical-align: middle; }
.sea-stops time { display: block; margin: 22px 0 6px; font-family: var(--font-head); font-weight: 600; font-size: 1.6rem; color: var(--accent-2); }
.sea-stops h3 { margin-bottom: 6px; }
.sea-stops p { color: var(--muted); margin: 0; font-size: .96rem; }

/* ---------- Lists ---------- */
.sea-lists { margin-top: 0; }
.sea-lists .card { padding: 32px; }
.sea-lists h3 { font-size: 1.5rem; }

/* ---------- Gallery: bento ---------- */
.sea-gallery-section { padding-block: clamp(40px, 6vw, 72px) 0; }
.sea-gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: clamp(150px, 17vw, 230px); gap: 12px; }
.sea-gallery figure { margin: 0; overflow: hidden; border-radius: 20px; }
.sea-gallery figure:first-child { grid-column: span 2; grid-row: span 2; }
.sea-gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
.sea-gallery figure:hover img { transform: scale(1.06); }
@media (max-width: 700px) {
  .sea-gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 38vw; }
  .sea-gallery figure:first-child { grid-row: span 1; }
}

/* ---------- Pricing: cards with a wavy header ---------- */
.sea-prices { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 22px; max-width: 900px; margin: 44px auto 0; }
.sea-prices--single { max-width: 460px; grid-template-columns: 1fr; }
.sea-price {
  display: flex; flex-direction: column; overflow: hidden; border-radius: 28px;
  background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow);
  transition: transform .25s cubic-bezier(.2, .7, .2, 1), box-shadow .25s;
}
.sea-price:hover { transform: translateY(-4px); box-shadow: 0 1px 2px rgba(8, 40, 60, .06), 0 28px 50px -24px rgba(8, 40, 60, .45); }
.sea-price__head { position: relative; padding: 30px 30px 48px; background: var(--accent-2); color: #fff; }
.sea-price--featured .sea-price__head { background: var(--accent); color: var(--accent-ink); }
.sea-price__head::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 18px; background: var(--surface);
  -webkit-mask: radial-gradient(14px at 50% 0, transparent 97%, #000) 0 0 / 28px 100% repeat-x;
  mask: radial-gradient(14px at 50% 0, transparent 97%, #000) 0 0 / 28px 100% repeat-x;
}
.sea-price .tag { display: inline-block; padding: 4px 12px; border-radius: 999px; border: 1px solid currentColor; font-size: .72rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.sea-price h3 { margin: 14px 0 4px; font-size: 1.5rem; }
.sea-price .amount { margin: 0; font-family: var(--font-head); font-weight: 700; font-size: 3rem; letter-spacing: -.03em; line-height: 1.1; }
.sea-price .amount small { font-family: var(--font-body); font-weight: 500; font-size: .95rem; letter-spacing: 0; opacity: .9; }
.sea-price__body { display: flex; flex-direction: column; flex: 1; padding: 20px 30px 30px; }
.sea-price__body .checklist { margin-bottom: 26px; color: var(--muted); }
.sea-price__body .btn { margin-top: auto; }

/* ---------- CTA ---------- */
.fam-sea .cta-band { border-radius: 32px; background: var(--accent-2); color: #fff; border: 0; }
.fam-sea .cta-band .lead { color: rgba(255, 255, 255, .9); }
.fam-sea .cta-band .btn--ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .55); }
.fam-sea .cta-band .btn--ghost:hover { border-color: #fff; color: #fff; }

@media (max-width: 420px) {
  .fam-sea .brand { font-size: 1.12rem; }
  .fam-sea .nav .btn { padding: 9px 16px; }
  .sea-hero { padding: 8px 8px 0; }
  .sea-hero__card { border-radius: 24px 24px 0 0; min-height: 80svh; }
}

/* Blog booking card: accent is fill-only here, so small accent text uses accent-2; wave along the photo edge */
.fam-sea .prose .inline-cta { --cta-ink: var(--accent-2); background: var(--surface); border-color: color-mix(in srgb, var(--accent-2) 30%, var(--line)); }
.fam-sea .inline-cta__media::before {
  content: ""; position: absolute; top: 0; bottom: 0; right: -1px; width: 22px; z-index: 1; background: var(--surface);
  -webkit-mask: radial-gradient(circle at 100% 50%, #000 10px, transparent 11px) 0 0 / 22px 34px repeat-y;
  mask: radial-gradient(circle at 100% 50%, #000 10px, transparent 11px) 0 0 / 22px 34px repeat-y;
}
.fam-sea .inline-cta--end .inline-cta__media::before { right: auto; left: -1px; -webkit-mask-image: radial-gradient(circle at 0 50%, #000 10px, transparent 11px); mask-image: radial-gradient(circle at 0 50%, #000 10px, transparent 11px); }
.fam-sea .prose .inline-cta__title { font-weight: 700; letter-spacing: -.02em; }
@media (max-width: 680px) { .fam-sea .inline-cta__media::before { display: none; } }

/* Site theme */
:root {
  --bg: #f2f8f9;
  --bg-2: #e2eef1;
  --surface: #ffffff;
  --text: #0c2e44;
  --muted: #46606f;
  --accent: #f97316;
  --accent-2: #0b5e8e;
  --accent-ink: #1c0b00;
  --line: rgba(12, 46, 68, .12);
}
