/* 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: nocturne */
/* ============================================================
   Family: NOCTURNE — night / magical tours (bioluminescence)
   Style: Dark Mode (OLED) + minimal neon glow (ui-ux-pro-max)
   Type: Cormorant Garamond (display) + Inter (text)
   ============================================================ */
:root {
  --font-head: "Cormorant Garamond", "Cormorant", Georgia, serif;
  --radius: 22px;
  --glass: color-mix(in srgb, var(--surface) 58%, transparent);
  --glow: 0 0 0 1px color-mix(in srgb, var(--accent) 35%, transparent), 0 18px 60px -24px var(--accent);
}

.fam-nocturne {
  background:
    radial-gradient(1100px 620px at 85% -8%, color-mix(in srgb, var(--accent-2) 16%, transparent), transparent 70%),
    radial-gradient(900px 520px at -10% 38%, color-mix(in srgb, var(--accent) 9%, transparent), transparent 70%),
    var(--bg);
}
.fam-nocturne h1, .fam-nocturne h2 { font-weight: 500; letter-spacing: -.01em; }
.fam-nocturne h1 { font-size: clamp(3.1rem, 8.4vw, 6.6rem); line-height: .98; }
.fam-nocturne h2 { font-size: clamp(2.2rem, 4.6vw, 3.5rem); line-height: 1.04; }
.fam-nocturne h3 { font-family: var(--font-body); font-weight: 600; font-size: 1.08rem; letter-spacing: -.005em; }
.fam-nocturne .eyebrow { letter-spacing: .24em; font-size: .72rem; }
.fam-nocturne .section--alt { background: linear-gradient(180deg, transparent, color-mix(in srgb, var(--bg-2) 85%, transparent) 18%, color-mix(in srgb, var(--bg-2) 85%, transparent) 82%, transparent); }

/* Glass surface shared by cards, facts and prices */
.fam-nocturne .glass {
  background: var(--glass);
  border: 1px solid var(--line);
  -webkit-backdrop-filter: blur(14px) saturate(140%); backdrop-filter: blur(14px) saturate(140%);
}

/* Buttons */
.fam-nocturne .btn { transition: transform .25s cubic-bezier(.2,.7,.2,1), box-shadow .25s, border-color .25s, background .25s; }
.fam-nocturne .btn--primary { box-shadow: 0 0 24px -6px var(--accent); }
.fam-nocturne .btn--primary:hover { transform: translateY(-2px); box-shadow: 0 0 44px -4px var(--accent); }
.fam-nocturne .btn--ghost { background: color-mix(in srgb, var(--surface) 40%, transparent); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.fam-nocturne .btn--ghost:hover { border-color: var(--accent); color: var(--accent); }

/* ---------- Hero: full-screen, centered, drifting plankton ---------- */
.hero--night {
  min-height: calc(100svh - 66px); display: grid; align-content: center; justify-items: center; gap: 56px;
  padding-block: 96px 40px; text-align: center;
}
.hero--night::before {
  background:
    radial-gradient(ellipse 70% 60% at 50% 45%, color-mix(in srgb, var(--bg) 62%, transparent) 0%, color-mix(in srgb, var(--bg) 28%, transparent) 70%),
    linear-gradient(180deg, color-mix(in srgb, var(--bg) 40%, transparent) 0%, transparent 30%, transparent 62%, var(--bg) 100%);
}
.hero--night .hero__img { animation: night-zoom 24s ease-in-out infinite alternate; }
.hero__inner { max-width: 920px; }
.hero--night .lead { margin-inline: auto; max-width: 640px; }
.hero--night .btn-row { justify-content: center; }
.hero--night .eyebrow {
  border: 1px solid color-mix(in srgb, var(--accent) 35%, transparent);
  background: color-mix(in srgb, var(--bg) 60%, transparent);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); padding: 8px 16px;
}
.hero--night h1 {
  background: linear-gradient(180deg, var(--text) 30%, color-mix(in srgb, var(--accent) 70%, var(--text)) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  text-shadow: none; filter: drop-shadow(0 2px 24px color-mix(in srgb, var(--bg) 80%, transparent));
}
.hero__facts { width: 100%; }
.hero--night .facts {
  margin: 0 auto; max-width: 940px; text-align: left;
  background: var(--line);
}
.hero--night .facts div { background: var(--glass); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.hero--night .facts dd { font-family: var(--font-head); font-size: 1.55rem; font-weight: 600; line-height: 1.2; }

.plankton { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; mix-blend-mode: screen; }
.plankton i {
  --tile: 340px;
  position: absolute; inset: 0 0 calc(-1 * var(--tile)); display: block;
  background-image:
    radial-gradient(1.6px 1.6px at 12% 22%, var(--accent), transparent 70%),
    radial-gradient(1.2px 1.2px at 38% 64%, var(--accent), transparent 70%),
    radial-gradient(2px 2px at 71% 18%, var(--accent), transparent 70%),
    radial-gradient(1.4px 1.4px at 84% 76%, var(--accent), transparent 70%),
    radial-gradient(1px 1px at 55% 42%, var(--text), transparent 70%),
    radial-gradient(1.8px 1.8px at 26% 88%, var(--accent), transparent 70%);
  background-size: var(--tile) var(--tile);
  opacity: .75;
  animation: plankton-drift 38s linear infinite, plankton-twinkle 3.6s ease-in-out infinite alternate;
}
.plankton i:nth-child(2) { --tile: 230px; opacity: .45; animation-duration: 26s, 2.7s; animation-delay: 0s, -1.3s; }
.plankton i:nth-child(3) {
  --tile: 520px; opacity: .55; filter: blur(.6px); animation-duration: 64s, 5s;
  background-image:
    radial-gradient(2.4px 2.4px at 18% 40%, var(--accent-2), transparent 70%),
    radial-gradient(2px 2px at 62% 12%, var(--accent), transparent 70%),
    radial-gradient(2.6px 2.6px at 82% 58%, var(--accent-2), transparent 70%),
    radial-gradient(1.8px 1.8px at 40% 82%, var(--accent), transparent 70%);
}
@keyframes plankton-drift { to { transform: translateY(calc(-1 * var(--tile))); } }
@keyframes plankton-twinkle { from { opacity: .25; } to { opacity: .85; } }
@keyframes night-zoom { from { transform: scale(1); } to { transform: scale(1.08); } }

/* ---------- Experience: arched image ---------- */
.split--night { grid-template-columns: .85fr 1.15fr; }
.arch { position: relative; margin: 0; }
.arch::after {
  content: ""; position: absolute; inset: -14px; border-radius: 999px 999px 34px 34px; pointer-events: none;
  border: 1px solid color-mix(in srgb, var(--accent) 30%, transparent);
}
.split .arch img {
  border-radius: 999px 999px 24px 24px; aspect-ratio: 3/4; box-shadow: var(--glow);
  transition: transform .8s cubic-bezier(.2,.7,.2,1), box-shadow .4s;
}
.arch:hover img { transform: translateY(-4px); box-shadow: 0 0 0 1px var(--accent), 0 24px 80px -20px var(--accent); }
@media (max-width: 860px) {
  .split--night { grid-template-columns: 1fr; }
  .arch { max-width: 420px; margin-inline: auto; width: 100%; }
  .split .arch img { aspect-ratio: 3/4; }
}

/* ---------- Highlights ---------- */
.fam-nocturne .cards { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.fam-nocturne .card {
  position: relative; overflow: hidden; background: var(--glass); border-color: var(--line);
  transition: transform .3s cubic-bezier(.2,.7,.2,1), border-color .3s, box-shadow .3s;
}
.fam-nocturne .card::before {
  content: ""; position: absolute; inset: 0 0 auto; height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), var(--accent-2), transparent);
  transform: scaleX(.25); opacity: .5; transition: transform .5s cubic-bezier(.2,.7,.2,1), opacity .3s;
}
.fam-nocturne .cards .card:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--accent) 45%, transparent); box-shadow: 0 20px 50px -30px var(--accent); }
.fam-nocturne .card:hover::before { transform: scaleX(1); opacity: 1; }
.fam-nocturne .card .num {
  font-style: italic; font-size: 3rem; line-height: 1; margin-bottom: 18px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2)); -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ---------- Itinerary: night clock ---------- */
.night-route { position: relative; padding-top: clamp(140px, 22vw, 260px); overflow: hidden; }
.night-route__banner { position: absolute; inset: 0 0 auto; height: clamp(320px, 44vw, 560px); z-index: -1; }
.night-route__banner img {
  width: 100%; height: 100%; object-fit: cover; opacity: .55;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, rgba(0,0,0,.6) 45%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 0%, rgba(0,0,0,.6) 45%, transparent 100%);
}
.night-route h2 { text-shadow: 0 2px 30px var(--bg); }
.night-clock {
  list-style: none; margin: 64px 0 0; padding: 0; position: relative;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 28px;
}
.night-clock::before {
  content: ""; position: absolute; left: 0; right: 0; top: 7px; height: 1px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2) 60%, transparent);
  opacity: .6;
}
.night-clock li { position: relative; padding-top: 40px; }
.night-clock__dot {
  position: absolute; left: 0; top: 0; width: 15px; height: 15px; border-radius: 50%;
  background: var(--accent); box-shadow: 0 0 0 5px color-mix(in srgb, var(--accent) 18%, transparent), 0 0 22px var(--accent);
  animation: dot-pulse 2.8s ease-in-out infinite;
}
.night-clock li:nth-child(2) .night-clock__dot { animation-delay: .7s; }
.night-clock li:nth-child(3) .night-clock__dot { animation-delay: 1.4s; }
.night-clock li:nth-child(4) .night-clock__dot { animation-delay: 2.1s; }
.night-clock time {
  display: block; font-family: var(--font-head); font-style: italic; font-size: 2.1rem; line-height: 1; color: var(--accent); margin-bottom: 10px;
}
.night-clock h3 { margin-bottom: 6px; }
.night-clock p { color: var(--muted); font-size: .97rem; margin: 0; }
@keyframes dot-pulse { 50% { box-shadow: 0 0 0 9px color-mix(in srgb, var(--accent) 6%, transparent), 0 0 34px var(--accent); } }
@media (max-width: 760px) {
  .night-clock { grid-template-columns: 1fr; gap: 0; margin-left: 6px; }
  .night-clock::before { left: 7px; right: auto; top: 6px; bottom: 6px; width: 1px; height: auto; background: linear-gradient(180deg, var(--accent), var(--accent-2) 70%, transparent); }
  .night-clock li { padding: 0 0 34px 42px; }
}

/* ---------- Included / bring ---------- */
.fam-nocturne .two-col { margin-top: 0; }
.fam-nocturne .two-col .card { padding: 34px; }
.fam-nocturne .two-col h3 { font-family: var(--font-head); font-size: 1.9rem; font-weight: 500; }

/* ---------- Gallery: film strip ---------- */
.filmstrip-section { padding-top: clamp(40px, 6vw, 72px); }
.filmstrip-head { margin-bottom: 8px; }
.filmstrip {
  --gutter: max(20px, calc((100vw - var(--max)) / 2 + 20px));
  list-style: none; margin: 0; padding: 12px var(--gutter) 28px;
  display: grid; grid-auto-flow: column; grid-auto-columns: clamp(230px, 30vw, 380px); gap: 18px; align-items: start;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter);
  scrollbar-width: thin; scrollbar-color: color-mix(in srgb, var(--accent) 50%, transparent) transparent;
}
.filmstrip li { scroll-snap-align: start; border-radius: 20px; overflow: hidden; border: 1px solid var(--line); transition: transform .35s cubic-bezier(.2,.7,.2,1), box-shadow .35s; }
.filmstrip img { width: 100%; aspect-ratio: 4/5; object-fit: cover; transition: transform .7s cubic-bezier(.2,.7,.2,1); }
.filmstrip li:hover { transform: translateY(-6px); box-shadow: var(--glow); }
.filmstrip li:hover img { transform: scale(1.06); }
.filmstrip li:nth-child(even) { margin-top: 36px; }
@media (max-width: 700px) { .filmstrip { grid-auto-columns: 72vw; } .filmstrip li:nth-child(even) { margin-top: 0; } }

/* ---------- Pricing: glass cards, glowing featured border ---------- */
@property --spin { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
.pricing--night { max-width: 900px; margin-inline: auto; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); }
.pricing--night .price-card { position: relative; padding: 34px; border-radius: 26px; transition: transform .3s cubic-bezier(.2,.7,.2,1); }
.pricing--night .price-card:hover { transform: translateY(-4px); }
/* The spinning border lives on a pseudo-element so its animation never collides with the card's scroll reveal. */
.pricing--night .price-card--featured {
  border-color: transparent; background: color-mix(in srgb, var(--surface) 92%, var(--bg));
  box-shadow: 0 30px 90px -40px var(--accent);
}
.pricing--night .price-card--featured::before {
  content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1.5px; pointer-events: none;
  background: conic-gradient(from var(--spin), var(--accent), var(--accent-2), transparent 35%, transparent 60%, var(--accent));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  animation: border-spin 7s linear infinite;
}
@keyframes border-spin { to { --spin: 360deg; } }
.price-card__top { display: flex; flex-direction: column-reverse; gap: 4px; }
.pricing--night .tag {
  align-self: flex-start; padding: 5px 12px; border-radius: 999px; font-size: .7rem;
  border: 1px solid color-mix(in srgb, var(--accent) 40%, transparent);
}
.pricing--night h3 { font-family: var(--font-head); font-size: 1.9rem; font-weight: 500; margin: 0 0 6px; }
.pricing--night .amount { font-size: 3.6rem; font-weight: 500; line-height: 1; margin: 14px 0 22px; }
.pricing--night .checklist { margin-bottom: 28px; color: var(--muted); }
.pricing--night .checklist li { padding-block: 8px; font-size: .97rem; }
.pricing--night .checklist li::before { top: 11px; }

/* ---------- FAQ ---------- */
.fam-nocturne .faq summary { font-family: var(--font-body); }
.fam-nocturne .faq summary::after {
  content: "+"; flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid var(--line); font-size: 1.1rem; transition: transform .3s, border-color .3s;
}
.fam-nocturne .faq details[open] summary::after { content: "+"; transform: rotate(45deg); border-color: var(--accent); }
.fam-nocturne .faq summary:hover { color: var(--accent); }

/* ---------- Blog cards, CTA, header ---------- */
.fam-nocturne .post-card { background: var(--glass); }
.fam-nocturne .post-card:hover { box-shadow: 0 24px 60px -34px var(--accent); }
.fam-nocturne .cta-band { position: relative; overflow: hidden; isolation: isolate; border-radius: 32px; background: var(--surface); }
.fam-nocturne .cta-band::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(60% 90% at 20% 0%, color-mix(in srgb, var(--accent) 26%, transparent), transparent 70%),
    radial-gradient(60% 90% at 85% 100%, color-mix(in srgb, var(--accent-2) 30%, transparent), transparent 70%);
  background-size: 160% 160%;
  animation: aurora 16s ease-in-out infinite alternate;
}
@keyframes aurora { to { background-position: 100% 30%, 0% 70%; } }
.fam-nocturne .brand { font-size: 1.5rem; font-weight: 600; }
@media (max-width: 420px) {
  .fam-nocturne .brand { font-size: 1.22rem; }
  .fam-nocturne .nav .btn { padding: 9px 16px; }
  .hero--night { gap: 36px; padding-top: 64px; }
}
.fam-nocturne .site-header { border-bottom-color: color-mix(in srgb, var(--accent) 12%, transparent); }

/* Scroll reveal for this family: glow in from a soft blur */
@keyframes reveal-glow { from { opacity: 0; transform: translateY(30px); filter: blur(8px); } to { opacity: 1; transform: none; filter: none; } }
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .fam-nocturne .reveal { animation-name: reveal-glow; }
  }
}

/* Blog booking card: glass with a soft cyan/violet glow */
.fam-nocturne .prose .inline-cta {
  background:
    radial-gradient(70% 120% at 100% 0%, color-mix(in srgb, var(--accent-2) 22%, transparent), transparent 70%),
    radial-gradient(60% 100% at 0% 100%, color-mix(in srgb, var(--accent) 16%, transparent), transparent 70%),
    var(--glass);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  box-shadow: var(--glow);
}
.fam-nocturne .inline-cta__price { box-shadow: 0 0 26px -4px var(--accent); }
.fam-nocturne .prose .inline-cta__title { font-weight: 500; font-size: clamp(1.6rem, 3vw, 2.2rem); }

/* Site theme */
:root {
  --bg: #03060f;
  --bg-2: #060b1c;
  --surface: #0a1230;
  --text: #e6f0ff;
  --muted: #a3b4d6;
  --accent: #3ef0ff;
  --accent-2: #8b7cff;
  --accent-ink: #021018;
  --line: rgba(150, 190, 255, .14);
}
