/* =============================================================
   Florida Keys Dive Center — design system
   Bright, sunny, crystal-blue. Display: Outfit. Body: Inter.
   ============================================================= */
:root {
  --ocean-950: #041e33;
  --ocean-900: #06263f;
  --ocean-800: #083a5c;
  --ocean-700: #0b4f7a;
  --ocean-600: #0a6ea3;
  --ocean-500: #0e86c4;
  --aqua: #00c2d1;
  --aqua-600: #00a6b4;
  --lagoon: #7fe0ea;
  --lagoon-100: #e4fbfd;
  --foam: #f2fcfd;
  --sand: #fff8ee;
  --sand-200: #f6ecd9;
  --sun: #ffb020;
  --sun-600: #e89a00;
  --coral: #ff6b4a;
  --white: #ffffff;
  --ink: var(--ocean-900);
  --muted: #5b7186;
  --line: #dbe9f1;
  --radius: 22px;
  --radius-sm: 14px;
  --shadow: 0 14px 40px -18px rgba(6, 38, 63, 0.35);
  --shadow-sm: 0 6px 18px -10px rgba(6, 38, 63, 0.3);
  --font-display: "Outfit", "Inter", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --container: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  font-size: 16.5px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--ocean-600); text-decoration: none; }
a:hover { color: var(--ocean-500); }
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.015em;
  color: var(--ocean-900);
  margin: 0 0 0.5em;
}
h1 { font-size: clamp(2.4rem, 5.5vw, 4.4rem); font-weight: 800; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.7rem); }
h3 { font-size: clamp(1.25rem, 2.2vw, 1.55rem); }
h4 { font-size: 1.15rem; }
h5 { font-size: 1rem; }
p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }
ul, ol { padding-left: 1.3em; margin: 0 0 1.1em; }
li { margin: 0.3em 0; }
strong { font-weight: 700; color: var(--ocean-900); }
.small, .muted, .label-sm { font-size: 0.9rem; color: var(--muted); }
.center { text-align: center; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--sun); color: var(--ocean-900); padding: 8px 14px; border-radius: 8px; z-index: 1000; font-weight: 700; }
.skip-link:focus { left: 8px; }

.container { max-width: var(--container); margin: 0 auto; padding-inline: var(--gutter); }
.container--narrow { max-width: 860px; }

/* ---------- Eyebrow / tags / buttons ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-display);
  font-weight: 700; font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--aqua-600); margin-bottom: 10px;
}
.eyebrow::before { content: ""; width: 22px; height: 3px; border-radius: 3px; background: linear-gradient(90deg, var(--aqua), var(--sun)); }
.tag-row { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0; }
.tag {
  display: inline-block; padding: 6px 13px; border-radius: 999px;
  font-size: 0.82rem; font-weight: 600;
  background: var(--lagoon-100); color: var(--ocean-700); border: 1px solid #c7f0f5;
}
.btn, .btn-group a, .cta-buttons a, .hero-buttons a, .card--featured > .card-body > a, .split-body > a, .link-group a, .copy > a, .section a.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 24px; border-radius: 999px;
  font-family: var(--font-display); font-weight: 700; font-size: 0.98rem; letter-spacing: 0.01em;
  background: var(--ocean-700); color: #fff; border: 2px solid transparent;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
  box-shadow: var(--shadow-sm);
  text-align: center;
}
.btn:hover, .btn-group a:hover, .cta-buttons a:hover, .hero-buttons a:hover, .split-body > a:hover, .link-group a:hover, .copy > a:hover { transform: translateY(-2px); box-shadow: var(--shadow); color: #fff; background: var(--ocean-600); }
.btn--sun, .btn-group a:first-child, .cta-buttons a:first-child, .hero-buttons a:first-child, .card--featured > .card-body > a:first-of-type, .split-body > a:first-of-type, .copy > a:first-of-type {
  background: var(--sun); color: var(--ocean-950);
}
.btn--sun:hover, .btn-group a:first-child:hover, .cta-buttons a:first-child:hover, .hero-buttons a:first-child:hover, .split-body > a:first-of-type:hover, .copy > a:first-of-type:hover { background: var(--sun-600); color: var(--ocean-950); }
.btn--ghost {
  background: rgba(255,255,255,0.75); color: var(--ocean-800); border-color: var(--line); backdrop-filter: blur(8px);
}
.btn--ghost:hover { background: #fff; color: var(--ocean-700); }
.hero-buttons a:not(:first-child),
.cta-buttons a:not(:first-child),
.split-body > a:not(:first-of-type),
.copy > a:not(:first-of-type),
.card--featured > .card-body > a:not(:first-of-type),
.sidebar-card .btn-group a:not(:first-child) {
  background: none; border-color: transparent; box-shadow: none;
  padding: 13px 10px; text-decoration: underline; text-underline-offset: 4px;
  font-weight: 700; transform: none;
}
.hero-buttons a:not(:first-child):hover,
.cta-buttons a:not(:first-child):hover,
.split-body > a:not(:first-of-type):hover,
.copy > a:not(:first-of-type):hover,
.card--featured > .card-body > a:not(:first-of-type):hover,
.sidebar-card .btn-group a:not(:first-child):hover {
  background: none; transform: none; box-shadow: none; color: var(--ocean-600);
}
.hero-buttons a:not(:first-child) { color: #fff; border: 0; }
.hero-buttons a:not(:first-child):hover { color: #fff; background: none; }
.btn-group, .hero-buttons, .cta-buttons { display: flex; flex-wrap: wrap; gap: 12px; margin: 18px 0; }
.link-group { display: flex; flex-wrap: wrap; gap: 10px; margin: 10px 0 24px; }
.link-group a { padding: 10px 18px; font-size: 0.9rem; background: var(--foam); color: var(--ocean-700); border: 1px solid var(--line); box-shadow: none; }
.link-group a:hover { background: var(--lagoon-100); color: var(--ocean-800); transform: none; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.86); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(219,233,241,0.7);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 72px; flex-wrap: nowrap; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--ocean-900); }
.brand img { width: 54px; height: 54px; border-radius: 50%; box-shadow: var(--shadow-sm); }
.brand-name { font-family: var(--font-display); font-weight: 800; font-size: 1rem; line-height: 1.05; letter-spacing: -0.01em; white-space: nowrap; }
.brand-name small { display: block; font-size: 0.68rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--aqua-600); margin-top: 3px; }
.nav { display: flex; align-items: center; gap: 2px; flex: 1; justify-content: center; min-width: 0; }
.nav > ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: nowrap; gap: 0; }
.nav > ul > li { position: relative; }
.nav a, .nav button.nav-toggle-sub {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 8px 10px; border-radius: 999px; font-weight: 600; font-size: 0.86rem; color: var(--ocean-800);
  background: none; border: 0; font-family: inherit; cursor: pointer; white-space: nowrap;
}
.nav > ul > li > a:hover, .nav > ul > li:hover > a, .nav > ul > li > a[aria-current="page"] { background: var(--lagoon-100); color: var(--ocean-700); }
.nav .has-children > a::after { content: ""; width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-2px) rotate(45deg); opacity: 0.7; }
.nav .sub {
  position: absolute; top: calc(100% + 8px); left: 0; min-width: 260px;
  background: #fff; border-radius: 16px; box-shadow: var(--shadow); border: 1px solid var(--line);
  padding: 8px; list-style: none; margin: 0;
  opacity: 0; visibility: hidden; transform: translateY(6px); transition: all 0.16s ease;
}
.nav .has-children:hover > .sub, .nav .has-children:focus-within > .sub, .nav .has-children.open > .sub { opacity: 1; visibility: visible; transform: none; }
.nav .sub a { display: block; padding: 9px 12px; border-radius: 10px; font-size: 0.92rem; }
.nav .sub a:hover { background: var(--foam); }
.header-cta { display: flex; align-items: center; gap: 10px; flex: none; }
.header-cta .phone { font-weight: 700; color: var(--ocean-800); font-size: 0.95rem; }
.header-cta .btn { padding: 11px 20px; font-size: 0.92rem; }
.menu-btn { display: none; width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--line); background: #fff; cursor: pointer; }
.menu-btn span { display: block; width: 20px; height: 2px; background: var(--ocean-800); margin: 4px auto; border-radius: 2px; transition: 0.2s; }
@media (max-width: 1180px) {
  .header-cta .phone { display: none; }
}
@media (max-width: 1000px) {
  /* iOS Safari: sticky/backdrop-filter headers clip fixed descendants.
     JS also relocates #nav onto document.body on mobile as a belt-and-suspenders fix. */
  .site-header {
    background: #fff;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
  .header-cta .phone { display: none; }
  .menu-btn { display: block; position: relative; z-index: 210; }
  .nav {
    position: fixed;
    inset: 0;
    z-index: 200;
    width: 100%;
    min-height: 100vh;
    min-height: 100dvh;
    background: #fff;
    padding: calc(76px + env(safe-area-inset-top, 0px)) var(--gutter) calc(40px + env(safe-area-inset-bottom, 0px));
    overflow: auto;
    -webkit-overflow-scrolling: touch;
    display: none;
  }
  .nav.open {
    display: block;
    min-height: 100vh;
    min-height: 100dvh;
  }
  .nav > ul { flex-direction: column; gap: 0; }
  .nav > ul > li { border-bottom: 1px solid var(--line); }
  .nav > ul > li > a { display: flex; justify-content: space-between; padding: 14px 8px; font-size: 1.05rem; border-radius: 0; }
  .nav .sub { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 8px 14px; display: none; }
  .nav .has-children.open > .sub { display: block; }
  .nav .has-children > a::after { transform: rotate(45deg); }
  .menu-btn.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .menu-btn.open span:nth-child(2) { opacity: 0; }
  .menu-btn.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
  body.nav-open {
    overflow: hidden;
    touch-action: none;
  }
}
@media (max-width: 480px) { .header-cta .btn { display: none; } .brand-name small { display: none; } }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; color: #fff;
  background: linear-gradient(160deg, var(--ocean-600), var(--aqua));
  min-height: 62vh; display: flex; align-items: flex-end;
}
.hero--tall { min-height: min(70vh, 720px); }
.hero--short { min-height: 40vh; }
.hero__bg { position: absolute; inset: 0; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero__bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(4,30,51,0.28) 0%, rgba(4,30,51,0.16) 36%, rgba(4,30,51,0.72) 100%);
}
@media (max-width: 780px) {
  .hero__bg::after {
    background:
      linear-gradient(180deg, rgba(4,30,51,0.42) 0%, rgba(4,30,51,0.28) 34%, rgba(4,30,51,0.88) 100%);
  }
  .hero h1 { text-shadow: 0 4px 28px rgba(0,0,0,0.55); }
  .hero .lead { color: #fff; text-shadow: 0 2px 16px rgba(0,0,0,0.45); }
  .home-hero h1 { font-size: clamp(2.6rem, 12vw, 3.6rem); }
}
.hero .container { position: relative; z-index: 2; padding-top: 90px; padding-bottom: 64px; width: 100%; }
.hero h1 { color: #fff; text-shadow: 0 6px 30px rgba(0,0,0,0.25); max-width: 15ch; }
.hero .eyebrow { color: var(--lagoon); }
.hero .eyebrow::before { background: linear-gradient(90deg, var(--sun), #fff); }
.hero .lead { font-size: clamp(1.05rem, 1.6vw, 1.28rem); max-width: 62ch; color: rgba(255,255,255,0.92); }
.hero .tag { background: rgba(255,255,255,0.16); color: #fff; border-color: rgba(255,255,255,0.35); backdrop-filter: blur(8px); }
.hero-buttons a:not(:first-child) { background: rgba(255,255,255,0.14); color: #fff; border-color: rgba(255,255,255,0.4); }
.hero-buttons a:not(:first-child):hover { background: rgba(255,255,255,0.28); color: #fff; }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 6px; font-size: 0.85rem; margin-bottom: 18px; color: rgba(255,255,255,0.8); }
.breadcrumbs a { color: rgba(255,255,255,0.85); }
.breadcrumbs a:hover { color: #fff; }
.breadcrumbs li { list-style: none; margin: 0; }
.breadcrumbs li + li::before { content: "/"; margin-right: 6px; opacity: 0.5; }
.breadcrumbs ol { display: contents; padding: 0; margin: 0; }
.stats { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.stat {
  background: rgba(255,255,255,0.14); border: 1px solid rgba(255,255,255,0.3); backdrop-filter: blur(10px);
  border-radius: 16px; padding: 10px 16px; min-width: 120px;
}
.stat-label { font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--lagoon); font-weight: 700; }
.stat-value { font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; }
.social-proof { display: inline-flex; align-items: center; gap: 10px; margin-top: 20px; padding: 10px 16px; border-radius: 14px; background: rgba(255,255,255,0.9); color: var(--ocean-800); font-weight: 600; font-size: 0.9rem; }
.social-proof::before { content: "★★★★★"; color: var(--sun); letter-spacing: 1px; }
.wave { display: block; width: 100%; height: 70px; margin-top: -1px; }
.wave svg { display: block; width: 100%; height: 100%; }
.hero + .wave { margin-top: -70px; position: relative; z-index: 3; }

/* ---------- Sections ---------- */
.section { padding-block: clamp(56px, 8vw, 104px); }
.section--alt { background: linear-gradient(180deg, var(--foam), #fff); }
.section--sand { background: var(--sand); }
.section--ocean { background: linear-gradient(135deg, var(--ocean-900), var(--ocean-700) 60%, var(--aqua-600)); color: #fff; }
.section--ocean h2, .section--ocean h3, .section--ocean p { color: #fff; }
.section--ocean .eyebrow { color: var(--lagoon); }
.section--tight { padding-block: clamp(32px, 5vw, 56px); }
.section-head { max-width: 760px; margin-bottom: 36px; }
.section-head p { font-size: 1.08rem; color: var(--muted); }
.section--ocean .section-head p { color: rgba(255,255,255,0.85); }

/* Generic imported content ("prose") */
.prose > h2, .prose > .copy > h2 { margin-top: 1.4em; }
.prose > h3 { margin-top: 1.3em; }
.prose > .eyebrow { margin-top: 1.4em; }
.prose > .eyebrow + h2, .prose > .eyebrow + h3 { margin-top: 0; }
.prose > h2:first-child, .prose > .eyebrow:first-child { margin-top: 0; }
.prose p { color: #2f4658; }
.prose > p:first-of-type { font-size: 1.08rem; }
.prose ul { padding-left: 1.2em; }
.prose li::marker { color: var(--aqua); }
.prose img { border-radius: var(--radius); margin: 24px 0; box-shadow: var(--shadow); }
.prose .video { position: relative; aspect-ratio: 16/9; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); margin: 24px 0; }
.prose .video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.prose figure { margin: 0; }
.prose h5 { margin-top: 1.4em; color: var(--ocean-700); }
.prose h5 + p { padding-left: 16px; border-left: 3px solid var(--lagoon); }

/* Two-column detail layout */
.detail { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(28px, 5vw, 64px); align-items: start; }
@media (max-width: 960px) { .detail { grid-template-columns: 1fr; } }
.sidebar-card {
  position: sticky; top: 96px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px;
  box-shadow: var(--shadow);
}
.sidebar-card > h3, .sidebar-card > .label-lg { font-family: var(--font-display); font-size: 1.15rem; margin-bottom: 14px; }
.sidebar-card .btn-group { flex-direction: column; margin: 14px 0; }
.sidebar-card .btn-group a { width: 100%; }
.sidebar-card ul:not(.pills) { list-style: none; padding: 0; margin: 12px 0 0; border-top: 1px dashed var(--line); padding-top: 12px; }
.sidebar-card ul:not(.pills) li { font-size: 0.86rem; color: var(--muted); margin: 6px 0; }
.sidebar-card p { font-size: 0.95rem; color: #2f4658; }
.sidebar-card .feature-item { margin: 14px 0; padding: 12px 14px; background: var(--foam); border-radius: 12px; }
.sidebar-card .feature-item h3 { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); margin: 0; }
.sidebar-card .feature-item h3 + h3 { font-size: 1.3rem; text-transform: none; letter-spacing: 0; color: var(--ocean-800); margin-top: 4px; }

/* Specs */
.spec-list { display: flex; flex-direction: column; }
.spec-list .spec { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 0.93rem; }
.spec-list .spec:last-child { border-bottom: 0; }
.spec-label { color: var(--muted); }
.spec-value { font-weight: 700; color: var(--ocean-800); text-align: right; }
.spec-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 12px; margin: 24px 0; }
.spec-grid .spec { background: var(--foam); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 14px 16px; }
.spec-grid .spec-label { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.12em; font-weight: 700; }
.spec-grid .spec-value { text-align: left; margin-top: 4px; font-size: 0.98rem; }

/* Pills / certs / included */
.pills { list-style: none; padding: 0; margin: 12px 0 28px; display: flex; flex-wrap: wrap; gap: 8px; }
.pills li { margin: 0; padding: 7px 13px; border-radius: 999px; background: var(--lagoon-100); color: var(--ocean-700); font-size: 0.88rem; font-weight: 600; border: 1px solid #c7f0f5; }
.cert-list { display: flex; flex-direction: column; gap: 8px; margin: 14px 0; }
.cert { padding: 10px 14px; border-radius: 12px; font-weight: 700; font-size: 0.86rem; text-align: center; }
.cert--ow { background: var(--lagoon-100); color: var(--ocean-700); }
.cert--aow { background: #fff2dc; color: #8a5a00; }
.cert .small { display: block; font-weight: 500; margin-top: 2px; }
.cert-callout { display: inline-block; background: linear-gradient(135deg, var(--lagoon-100), #fff); border: 1px solid #c7f0f5; border-radius: var(--radius-sm); padding: 14px 20px; margin: 4px 0 18px; }
.cert-callout h3 { margin: 0; font-size: 1.15rem; }
.cert-callout .eyebrow { margin-bottom: 4px; }
.included { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; margin: 12px 0 28px; }
.included-col { background: var(--foam); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 18px 20px; }
.included-col h4 { margin: 0 0 8px; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--aqua-600); }
.included-col .pills { margin: 0; }
.included-col:nth-child(2) .pills li { background: #fff2dc; color: #8a5a00; border-color: #fbe3b5; }

/* Steps / features */
.step { display: grid; grid-template-columns: 44px 1fr; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); counter-increment: step; }
.step::before { content: counter(step, decimal-leading-zero); font-family: var(--font-display); font-weight: 800; color: var(--aqua); font-size: 1.3rem; line-height: 1.2; }
.step h3 { font-size: 1.1rem; margin-bottom: 4px; }
.step p { margin: 0; font-size: 0.97rem; }
.prose { counter-reset: step; }
.feature-item { padding: 20px 22px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); box-shadow: var(--shadow-sm); margin: 0 0 14px; }
.feature-item h3 { font-size: 1.08rem; margin-bottom: 6px; }
.feature-item p { margin: 0; font-size: 0.97rem; color: #2f4658; }
.feature-item .eyebrow { margin-bottom: 4px; }
.feature-item > .eyebrow:last-child, .feature-item > a > .eyebrow { margin: 10px 0 0; }
.feature-grid, .feature-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 14px; margin: 24px 0; }
.feature-grid .feature-item, .feature-list .feature-item { margin: 0; }
.feature-list { grid-template-columns: 1fr; gap: 10px; }
.feature-list .feature-item { padding: 14px 18px; }
.check-item { display: flex; gap: 12px; align-items: flex-start; padding: 10px 0; border-bottom: 1px solid var(--line); }
.check-item::before { content: "✓"; flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--lagoon-100); color: var(--aqua-600); font-weight: 800; display: grid; place-items: center; font-size: 0.85rem; }
.check-item p { margin: 0; }
.conditions-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 14px; margin: 12px 0 28px; }
.condition { background: var(--sand); border-radius: var(--radius-sm); padding: 16px 18px; }
.condition h4 { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--sun-600); margin-bottom: 6px; }
.condition p { margin: 0; font-size: 0.95rem; }
.alert { background: #fff6e3; border: 1px solid #fbe3b5; border-left: 5px solid var(--sun); border-radius: var(--radius-sm); padding: 18px 22px; margin: 18px 0; }
.alert h3 { font-size: 1.05rem; margin-bottom: 4px; }
.alert p { margin: 0; }
.number-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow-sm); }
.number-card .label-sm { color: var(--aqua-600); font-weight: 800; letter-spacing: 0.12em; }
.number-card .big-label { font-family: var(--font-display); font-weight: 800; font-size: 1.6rem; color: var(--ocean-800); margin: 4px 0 8px; }
.number-card .small { color: #2f4658; font-size: 0.95rem; }
.award { text-align: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 18px; box-shadow: var(--shadow-sm); }
.award .big-label { font-family: var(--font-display); font-weight: 800; font-size: 2.2rem; color: var(--aqua-600); }
.award .label-sm { font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ocean-800); margin: 6px 0; }
.stat-item { display: flex; flex-direction: column; }
.stat-item .big-label, .stat-item h3 { font-family: var(--font-display); font-weight: 800; font-size: 2rem; color: var(--aqua-600); line-height: 1; margin: 0; }
.stat-item .small, .stat-item .label-sm { text-transform: uppercase; letter-spacing: 0.1em; font-size: 0.75rem; font-weight: 700; color: var(--muted); margin-top: 6px; }
.stat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; align-content: center; }
.stat-overlay { position: absolute; left: 16px; right: 16px; bottom: 16px; display: flex; gap: 16px; background: rgba(255,255,255,0.92); backdrop-filter: blur(8px); border-radius: 16px; padding: 14px 18px; }
.stat-overlay .stat-overlay { position: static; padding: 0; background: none; flex: 1; }
.stat-overlay .stat-item .big-label { font-size: 1.4rem; }
.season-list { display: flex; flex-direction: column; gap: 10px; margin: 20px 0 28px; }
.season-item { display: flex; align-items: center; justify-content: space-between; gap: 14px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 14px 18px; }
.season-item .bold { font-weight: 700; }
.season-item .tag { margin-left: auto; }
.season-item > div { min-width: 0; }
.crew-stat { display: inline-block; margin: 10px 14px 0 0; }
.crew-stat h3 { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--muted); margin: 0; }
.crew-stat p { margin: 0; font-weight: 600; font-size: 0.95rem; }
.dos, .donts { border-radius: var(--radius); padding: 24px 28px; }
.dos { background: var(--lagoon-100); }
.donts { background: #fff0ec; }
.dos h3, .donts h3 { margin-bottom: 8px; }
.dos ul, .donts ul { padding-left: 1.2em; margin: 0; }
.dos li p, .donts li p { margin: 0; }
.media-overlay { position: absolute; left: 18px; bottom: 18px; right: 18px; background: rgba(255,255,255,0.92); border-radius: 14px; padding: 14px 16px; backdrop-filter: blur(6px); }
.media-overlay .feature-item { margin: 0; padding: 0; box-shadow: none; border: 0; background: none; }
.media-overlay img { max-width: 120px; margin: 0; box-shadow: none; border-radius: 0; }
.faq { border-bottom: 1px solid var(--line); }
.faq-q { font-family: var(--font-display); font-weight: 700; font-size: 1.12rem; line-height: 1.45; padding: 22px 48px 22px 0; cursor: pointer; position: relative; color: var(--ocean-800); }
.faq-q::after { content: "+"; position: absolute; right: 4px; top: 18px; font-size: 1.5rem; color: var(--aqua); font-weight: 400; }
.faq.open .faq-q::after { content: "–"; }
.faq-a { display: none; padding-bottom: 24px; color: #2f4658; font-size: 1.05rem; line-height: 1.75; max-width: 62ch; }
.faq.open .faq-a { display: block; }
.faq-a p { margin: 0 0 0.85em; }
.faq-a p:last-child { margin-bottom: 0; }
.prose p { line-height: 1.75; }
.detail .prose p, .detail > div > p, .sidebar-card p { line-height: 1.7; }

/* ---------- Cards ---------- */
.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 22px; margin: 24px 0 32px; }
.card, .card-grid > a {
  display: flex; flex-direction: column; background: #fff; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line); box-shadow: var(--shadow-sm); color: inherit;
  transition: transform 0.2s ease, box-shadow 0.2s ease; position: relative;
}
.card:hover, .card-grid > a:hover { transform: translateY(-4px); box-shadow: var(--shadow); color: inherit; }
.card-media { position: relative; aspect-ratio: 4/3; overflow: hidden; background: var(--lagoon-100); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; margin: 0 !important; border-radius: 0 !important; box-shadow: none !important; }
.card:hover .card-media img, .card-grid > a:hover .card-media img { transform: scale(1.05); }
.card-body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.card-body h2, .card-body h3, .card-body h4 { font-size: 1.22rem; margin: 0; }
.card-body p { font-size: 0.95rem; color: #2f4658; margin: 0; }
.card-body .eyebrow { margin-bottom: 2px; }
.card-body .btn-group, .card-body > a { margin-top: auto; }
.card-body > a + a { margin-top: 0; }
.card-body .small { margin-top: 6px; }
.depth-badge { position: absolute; left: 12px; top: 12px; background: rgba(255,255,255,0.92); color: var(--ocean-800); border-radius: 10px; padding: 6px 10px; font-weight: 800; font-family: var(--font-display); font-size: 0.85rem; line-height: 1.1; }
.depth-badge .muted { font-size: 0.65rem; text-transform: uppercase; letter-spacing: 0.1em; font-weight: 700; }
.depth-badge .accent { color: var(--ocean-700); }
.ribbon { position: absolute; left: 14px; top: 14px; background: var(--sun); color: var(--ocean-950); font-family: var(--font-display); font-weight: 800; font-size: 0.78rem; padding: 6px 12px; border-radius: 999px; letter-spacing: 0.04em; z-index: 2; }
.card-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.card-tags .tag { font-size: 0.75rem; padding: 4px 10px; }
.mini-stats { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0 4px; }
.mini-stat { font-size: 0.8rem; font-weight: 700; color: var(--ocean-700); background: var(--foam); border: 1px solid var(--line); border-radius: 8px; padding: 5px 10px; display: flex; gap: 4px; }
.mini-stat p, .mini-stat .small { margin: 0; font-size: inherit; color: inherit; }
.price { display: flex; align-items: baseline; gap: 6px; margin: 10px 0 4px; flex-wrap: wrap; }
.price .big-label { font-family: var(--font-display); font-weight: 800; font-size: 1.6rem; color: var(--ocean-800); }
.price .label-sm, .price .muted { font-size: 0.8rem; color: var(--muted); }
.price .small { flex-basis: 100%; }
.card--featured { grid-column: 1 / -1; display: grid; grid-template-columns: 1.1fr 1fr; }
.card--featured .card-media { aspect-ratio: auto; min-height: 320px; }
.card--featured .card-body { padding: 34px; justify-content: center; gap: 10px; }
.card--featured .card-body h3, .card--featured .card-body h2 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); }
.card--featured .card-body p { font-size: 1.02rem; }
.card--featured > .card-body > a { margin-top: 8px; align-self: flex-start; }
@media (max-width: 780px) { .card--featured { grid-template-columns: 1fr; } .card--featured .card-media { min-height: 240px; } }
.card-grid .card--featured { margin-bottom: 4px; }
.link-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; margin: 12px 0 32px; }
.link-cards a { display: block; padding: 16px 18px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); box-shadow: var(--shadow-sm); color: inherit; }
.link-cards a:hover { border-color: var(--aqua); transform: translateY(-2px); }
.link-cards h3 { font-size: 1rem; margin: 0 0 2px; }
.link-cards p { margin: 0; font-size: 0.8rem; color: var(--aqua-600); font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; }
.crew-card .card-body h3 { font-size: 1.1rem; }
.card .card-body h3 + h3 { font-size: 0.8rem; color: var(--aqua-600); text-transform: uppercase; letter-spacing: 0.1em; }

/* Split (image + copy) */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.split-media { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 4/3.2; background: var(--lagoon-100); }
.split-media img { width: 100%; height: 100%; object-fit: cover; margin: 0 !important; border-radius: 0 !important; box-shadow: none !important; }
.split-media .ribbon { top: 16px; left: 16px; }
.split-body > .eyebrow + h2 { margin-top: 0; }
.split-body ul:not(.pills) { padding-left: 0; list-style: none; display: grid; gap: 6px; }
.split-body ul:not(.pills) li { padding-left: 28px; position: relative; }
.split-body ul:not(.pills) li::before { content: "✓"; position: absolute; left: 0; color: var(--aqua-600); font-weight: 800; }
.split-body ul:not(.pills) li p { margin: 0; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

/* Generic section wrappers from import */
.copy > .eyebrow + h2 { margin-top: 0; }
.aside-card .feature-item { background: linear-gradient(135deg, var(--ocean-800), var(--ocean-600)); color: #fff; border: 0; padding: 30px; }
.aside-card .feature-item h2, .aside-card .feature-item p { color: #fff; }
.aside-card .feature-item .eyebrow { color: var(--lagoon); }

/* Big numbered "why" lists (accent 01/02) */
.prose > .accent, .split-body > .accent { font-family: var(--font-display); font-weight: 800; color: var(--aqua); font-size: 1.1rem; margin-top: 22px; }
.prose > .accent + h3, .split-body > .accent + h3 { margin-top: 2px; font-size: 1.2rem; }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; background: linear-gradient(120deg, var(--ocean-800) 0%, var(--ocean-600) 55%, var(--aqua) 100%); color: #fff; }
.cta-band::before { content: ""; position: absolute; inset: 0; background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='400' height='120' viewBox='0 0 400 120'><path d='M0 60 Q50 20 100 60 T200 60 T300 60 T400 60 V120 H0Z' fill='white' fill-opacity='0.06'/></svg>") repeat-x bottom; opacity: 0.9; }
.cta-band .container { position: relative; display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; align-items: center; padding-block: clamp(48px, 7vw, 80px); }
.cta-band h2, .cta-band p { color: #fff; }
.cta-band .eyebrow { color: var(--lagoon); }
.cta-band p { color: rgba(255,255,255,0.88); font-size: 1.05rem; }
.cta-buttons { justify-content: flex-end; }
.cta-band .cta-buttons a:not(:first-child) { background: none; border: 0; color: #fff; box-shadow: none; }
@media (max-width: 780px) { .cta-band .container { grid-template-columns: 1fr; } .cta-buttons { justify-content: flex-start; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--ocean-950); color: rgba(255,255,255,0.8); padding-block: 64px 28px; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 32px; }
.site-footer h4 { color: #fff; font-size: 0.85rem; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin: 8px 0; }
.site-footer a { color: rgba(255,255,255,0.8); }
.site-footer a:hover { color: var(--lagoon); }
.footer-brand img { width: 72px; height: 72px; border-radius: 50%; margin-bottom: 14px; }
.footer-brand p { font-size: 0.95rem; max-width: 40ch; }
.footer-contact { margin-top: 14px; font-size: 0.95rem; }
.footer-contact a { display: block; }
.footer-social { display: flex; gap: 10px; margin-top: 16px; }
.footer-social a { width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.2); display: grid; place-items: center; }
.footer-social svg { width: 18px; height: 18px; fill: currentColor; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); margin-top: 40px; padding-top: 22px; display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; font-size: 0.85rem; color: rgba(255,255,255,0.6); }
.footer-bottom ul { display: flex; flex-wrap: wrap; gap: 16px; }
.footer-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.footer-badges span { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; padding: 6px 10px; border-radius: 8px; background: rgba(255,255,255,0.08); }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Home specifics ---------- */
.home-hero .container { padding-top: 72px; padding-bottom: 52px; }
.home-hero h1 { font-size: clamp(3rem, 8vw, 6.2rem); letter-spacing: -0.03em; }
.marquee { display: flex; flex-wrap: wrap; gap: 12px 28px; justify-content: center; padding: 18px var(--gutter); background: var(--sand); font-family: var(--font-display); font-weight: 700; font-size: 0.9rem; color: var(--ocean-800); text-transform: uppercase; letter-spacing: 0.1em; }
.marquee span::before { content: "☀"; color: var(--sun); margin-right: 8px; }
.gallery { display: grid; grid-template-columns: repeat(6, 1fr); grid-auto-rows: 180px; gap: 12px; }
.gallery a, .gallery div { border-radius: 18px; overflow: hidden; position: relative; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.gallery a:hover img { transform: scale(1.06); }
.gallery .g-wide { grid-column: span 2; }
.gallery .g-tall { grid-row: span 2; }
.gallery .g-big { grid-column: span 2; grid-row: span 2; }
@media (max-width: 860px) { .gallery { grid-template-columns: repeat(3, 1fr); grid-auto-rows: 150px; } }
@media (max-width: 480px) { .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 130px; } .gallery .g-big { grid-column: span 2; } }
.trust-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 14px; }
.trust { display: flex; gap: 12px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 14px 16px; box-shadow: var(--shadow-sm); }
.trust b { font-family: var(--font-display); font-size: 1.4rem; color: var(--aqua-600); }
.trust span { font-size: 0.82rem; color: var(--muted); line-height: 1.3; }

/* Home imported layout pieces */
.home-adventure { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 30px; }
.home-adventure .card--featured { grid-column: auto; grid-template-columns: 1fr; grid-row: span 2; }
.home-adventure .card--featured .card-media { min-height: 260px; }
.home-adventure .card .card-media { aspect-ratio: 16/8; }
@media (max-width: 780px) { .home-adventure { grid-template-columns: 1fr; } }
.course-links { display: grid; gap: 14px; }
.course-links a { display: block; padding: 22px 24px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); color: inherit; }
.course-links a:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.course-links h3 { margin-bottom: 6px; }
.course-links p { color: #2f4658; font-size: 0.97rem; }
.course-links a > div { display: inline-block; margin-top: 10px; color: var(--ocean-600); font-weight: 700; }
.course-links a > div::after { content: " →"; }

/* ---------- Testimonials / reviews ---------- */
.testimonials { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 18px; }
.testimonial { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; }
.testimonial .stars { color: var(--sun); letter-spacing: 2px; font-size: 1rem; }
.testimonial h3 { font-size: 1.05rem; margin: 6px 0 8px; }
.testimonial p { font-size: 0.93rem; color: #2f4658; flex: 1; }
.testimonial footer { margin-top: 12px; font-size: 0.85rem; color: var(--muted); font-weight: 600; }
.reviews-embed { min-height: 120px; margin-bottom: 40px; }

/* ---------- Forms ---------- */
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(20px, 3vw, 36px); box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 620px) { .form-grid { grid-template-columns: 1fr; } }
label { display: block; font-weight: 600; font-size: 0.88rem; margin-bottom: 6px; color: var(--ocean-800); }
input, select, textarea { width: 100%; font: inherit; padding: 12px 14px; border: 1px solid #c9d9e3; border-radius: 12px; background: #fff; color: var(--ink); }
input:focus, select:focus, textarea:focus { outline: 3px solid rgba(0,194,209,0.35); border-color: var(--aqua); }
textarea { min-height: 140px; resize: vertical; }
.form-status { margin-top: 14px; padding: 12px 16px; border-radius: 12px; display: none; }
.form-status.ok { display: block; background: var(--lagoon-100); color: var(--ocean-800); }
.form-status.err { display: block; background: #fff0ec; color: #9a2f13; }
.hp { position: absolute; left: -9999px; }
.contact-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 14px; margin: 26px 0; }
.contact-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 18px 20px; box-shadow: var(--shadow-sm); }
.contact-card .eyebrow { display: flex; margin-bottom: 6px; }
.contact-card a, .contact-card p { font-weight: 600; color: var(--ocean-800); margin: 0; }
.hours { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; margin: 24px 0; }
.hours div { background: var(--foam); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 16px 18px; }
.hours b { display: block; font-family: var(--font-display); font-size: 1.4rem; color: var(--ocean-800); }
.hours span { font-size: 0.85rem; color: var(--muted); }
.map { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 16/8; background: var(--lagoon-100); }
.map iframe, .map img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border: 0; margin: 0 !important; border-radius: 0 !important; }
.map-fallback { display: block; position: absolute; inset: 0; color: inherit; }
.map-cta { position: absolute; left: 16px; bottom: 16px; background: var(--sun); color: var(--ocean-800); font-weight: 700; padding: 10px 16px; border-radius: 999px; box-shadow: var(--shadow-sm); }

/* Blog post */
.post-meta { color: var(--muted); font-size: 0.9rem; }
.related { list-style: none; padding: 0; margin: 0; }
.related li { padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 0.92rem; }

/* 404 */
.notfound { text-align: center; padding-block: 100px; }

/* Utilities */
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 22px; }
.grid-4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; }
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 18px; margin: 20px 0; }
.check-list { margin: 16px 0; }
.steps { margin: 8px 0 28px; }
.crew-stats { margin-top: 4px; }
.prose .split { margin-block: 24px; }
.prose .card-grid, .prose .feature-grid, .prose .grid-3, .prose .grid-4 { margin-top: 24px; }
.prose .stat-grid { grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); margin: 24px 0; }
.mt-0 { margin-top: 0 !important; }
.center-text { text-align: center; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; } html { scroll-behavior: auto; } }

/* ---------- Late fixes ---------- */
.step::before { grid-row: 1 / 3; }
.step > * { grid-column: 2; }
.stat-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 18px 20px; box-shadow: var(--shadow-sm); }
.stat-card p { margin: 0; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); font-weight: 700; }
.stat-card .label-lg { font-family: var(--font-display); font-size: 1.7rem; font-weight: 800; color: var(--aqua-600); margin: 4px 0; }
.stat-card p + .label-lg + p { text-transform: none; letter-spacing: 0; font-weight: 500; }
.prose .grid-4 + .eyebrow { margin-top: 2em; }
.card-body .btn-group { flex-direction: row; gap: 8px; margin: 12px 0 0; }
.card-body .btn-group a { padding: 10px 16px; font-size: 0.88rem; }
.prose .btn-group a, .copy .btn-group a { padding: 12px 22px; }
