/* =====================================================================
   Booking funnel — Multi-step multi-step checkout.
   Inherits the brand palette + fonts from styles.css (unchanged).
   Only this file and book.html / booking.js are new.
   ===================================================================== */

.booking-page { background: var(--aqua-pale); }

.bk-layout { display: grid; grid-template-columns: 1fr 1fr; min-height: 100vh; }

/* ---------- LEFT: form over pool photo ---------- */
.bk-main {
  position: relative;
  background-color: var(--aqua-deep);
  background-image: linear-gradient(180deg, rgba(8,40,60,.55), rgba(8,40,60,.35)), url('images/hero-child.webp');
  background-size: cover;
  background-position: center;
  padding: 34px 26px 60px;
  display: flex; justify-content: center;
}
.bk-main::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(60% 40% at 50% 0%, rgba(255,255,255,.14), rgba(255,255,255,0) 70%);
  pointer-events: none;
}
.bk-main-inner { position: relative; width: 100%; max-width: 560px; }

.bk-brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; margin-bottom: 22px; }
.bk-brand .brand-mark svg { width: 100%; height: 100%; }
.bk-brand .brand-mark rect { fill: #fff; }
.bk-brand .brand-mark .brand-wave { color: var(--aqua-deep); }
.bk-brand .brand-text { color: #fff; font-family: var(--font-head); font-weight: 700; font-size: 1.2rem; line-height: 1; display: flex; flex-direction: column; }
.bk-brand .brand-text small { font-weight: 600; font-size: .7rem; color: var(--aqua-light); letter-spacing: .05em; text-transform: uppercase; }

.bk-title { color: #fff; font-size: clamp(1.6rem, 3.4vw, 2.3rem); font-weight: 800; line-height: 1.12; margin: 0 0 22px; text-shadow: 0 2px 20px rgba(4,18,28,.4); }
.bk-title span { color: var(--sun); }

/* step icon rail */
.bk-steps { list-style: none; display: flex; align-items: center; justify-content: center; gap: 8px; padding: 0; margin: 0 0 -22px; position: relative; z-index: 3; }
.bk-step { width: 42px; height: 42px; border-radius: 50%; background: #e4ecf1; display: grid; place-items: center; box-shadow: 0 3px 10px rgba(4,18,28,.18); transition: background-color .2s var(--ease-out), transform .2s var(--ease-out); }
.bk-step .ic { width: 19px; height: 19px; color: #8aa0ad; }
.bk-step.is-active { background: var(--sun); transform: scale(1.08); }
.bk-step.is-active .ic { color: var(--ink); }
.bk-step.is-done { background: var(--aqua); }
.bk-step.is-done .ic { color: #fff; }
@media (max-width: 520px) { .bk-steps { gap: 5px; } .bk-step { width: 34px; height: 34px; } .bk-step .ic { width: 15px; height: 15px; } }

/* the white card */
.bk-card { background: #fff; border-radius: 22px; box-shadow: 0 26px 70px -22px rgba(4,26,42,.55); padding: 42px 30px 30px; }
@media (max-width: 520px) { .bk-card { padding: 36px 20px 24px; } }

.bk-panel { display: none; }
.bk-panel.is-open { display: block; animation: bkIn .3s var(--ease-out); }
@keyframes bkIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .bk-panel.is-open { animation: none; } }

.bk-kicker { color: var(--ink-soft); font-family: var(--font-head); font-weight: 600; font-size: .88rem; margin: 0 0 2px; }
.bk-h2 { font-size: 1.5rem; color: var(--navy); margin: 0 0 20px; }
.bk-back { background: none; border: none; cursor: pointer; color: var(--aqua-deep); font-family: var(--font-head); font-weight: 700; font-size: .92rem; display: inline-flex; align-items: center; gap: 6px; padding: 4px 0; margin: 0 0 10px; }
.bk-back .ic { width: 16px; height: 16px; }
.bk-back:hover { color: var(--navy); }

.bk-field { margin-bottom: 20px; display: flex; flex-direction: column; }
.bk-field > label, .bk-label { font-weight: 700; font-size: .93rem; margin-bottom: 8px; color: var(--ink); display: block; }
.bk-field i, .bk-label i { color: var(--coral); font-style: normal; }
.opt { font-weight: 600; color: var(--ink-soft); font-size: .85em; }
.bk-field input[type=text], .bk-field input[type=email], .bk-field input[type=tel], .bk-field select, .bk-field textarea {
  font-family: var(--font-body); font-size: 1rem; padding: 13px 14px; min-height: 48px;
  border: 1.5px solid var(--line); border-radius: var(--radius-sm); background: var(--bg); color: var(--ink);
  transition: border-color .15s var(--ease-out), box-shadow .15s var(--ease-out), background-color .15s var(--ease-out);
}
.bk-field input:focus, .bk-field select:focus, .bk-field textarea:focus { outline: none; border-color: var(--aqua); background: #fff; box-shadow: 0 0 0 3px var(--aqua-pale); }
.bk-field input.err, .bk-field select.err { border-color: #e05a5a; background: #fff6f6; }
.bk-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 520px) { .bk-row { grid-template-columns: 1fr; gap: 0; } }

.bk-help { font-size: .87rem; color: var(--ink-soft); margin: 6px 0 0; display: flex; align-items: center; gap: 7px; }
.bk-help.tight { margin: -4px 0 8px; }
.bk-help.center { justify-content: center; text-align: center; margin-top: 14px; }
.bk-help .ic-inline { color: var(--aqua); }

/* toggles */
.bk-toggle { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.bk-toggle--3 { grid-template-columns: repeat(3, 1fr); }
.bk-toggle--4 { grid-template-columns: repeat(4, 1fr); }
.bk-opt { font-family: var(--font-head); font-weight: 700; font-size: .95rem; padding: 13px 8px; min-height: 48px; border-radius: var(--radius-sm); border: 2px solid var(--line); background: #fff; color: var(--ink-soft); cursor: pointer; transition: all .16s var(--ease-out); }
.bk-opt:hover { border-color: var(--aqua-light); }
.bk-opt.is-on { background: var(--aqua-deep); border-color: var(--aqua-deep); color: #fff; }
@media (max-width: 520px) { .bk-toggle--4 { grid-template-columns: 1fr 1fr; } .bk-opt { font-size: .88rem; } }

/* lesson length */
.bk-lengths { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.bk-len { position: relative; padding: 16px 8px 12px; border-radius: 14px; border: 2px solid var(--line); background: #fff; cursor: pointer; transition: all .16s var(--ease-out); display: flex; flex-direction: column; align-items: center; gap: 2px; }
.bk-len b { font-family: var(--font-head); font-size: 1.6rem; color: var(--navy); line-height: 1; }
.bk-len span { font-size: .76rem; color: var(--ink-soft); font-weight: 600; }
.bk-len:hover { border-color: var(--aqua-light); }
.bk-len.is-on { border-color: var(--aqua-deep); background: var(--aqua-pale); }
.len-flag { position: absolute; top: -10px; left: 50%; transform: translateX(-50%); background: var(--aqua-deep); color: #fff; font-family: var(--font-head); font-size: .62rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; padding: 3px 8px; border-radius: 999px; white-space: nowrap; font-style: normal; }

/* recommendation strip */
.bk-rec { display: flex; gap: 12px; align-items: flex-start; background: #fff8e8; border: 1px solid #f3d99b; border-radius: 12px; padding: 13px 15px; margin: 0 0 20px; }
.bk-rec-ic { width: 34px; height: 34px; border-radius: 50%; background: var(--sun); display: grid; place-items: center; flex: none; }
.bk-rec-ic .ic { width: 18px; height: 18px; color: var(--ink); }
.bk-rec strong { display: block; font-family: var(--font-head); color: #8a6100; font-size: .88rem; }
.bk-rec p { margin: 2px 0 0; font-size: .88rem; color: var(--ink-soft); }

/* packages */
.bk-packs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 22px; }
.bk-pack { position: relative; padding: 26px 10px 14px; border-radius: 14px; border: 2px solid var(--line); background: #fff; cursor: pointer; text-align: center; transition: all .16s var(--ease-out); display: flex; flex-direction: column; align-items: center; gap: 3px; }
.bk-pack:hover { border-color: var(--aqua-light); }
.bk-pack.is-on { border-color: var(--sun); background: #fffaf0; box-shadow: 0 8px 20px -8px rgba(245,158,27,.5); }
.bk-pack b { font-family: var(--font-head); font-size: 1.12rem; color: var(--navy); line-height: 1.1; }
.bk-pack em { font-style: normal; font-size: .78rem; color: var(--ink-soft); font-weight: 700; }
.pack-price { font-family: var(--font-head); font-weight: 800; font-size: 1.3rem; color: var(--aqua-deep); margin-top: 4px; }
.pack-price small { font-size: .62rem; font-weight: 600; color: var(--ink-soft); }
.pack-save { background: #eafaf1; color: #0f7a44; font-size: .68rem; font-weight: 800; padding: 2px 8px; border-radius: 999px; margin-top: 3px; }
.pack-guar { display: flex; align-items: center; gap: 4px; font-size: .64rem; font-weight: 700; color: var(--aqua-deep); margin-top: 5px; line-height: 1.2; }
.pack-guar .ic { width: 12px; height: 12px; color: var(--aqua); flex: none; }
.pack-flag { position: absolute; top: -10px; left: 50%; transform: translateX(-50%); font-family: var(--font-head); font-size: .6rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; padding: 3px 8px; border-radius: 999px; white-space: nowrap; font-style: normal; color: #fff; }
.pack-flag--intro { background: var(--ink-soft); }
.pack-flag--pop { background: var(--sun); color: var(--ink); }
.pack-flag--value { background: var(--aqua); }
@media (max-width: 560px) { .bk-packs { grid-template-columns: 1fr; gap: 14px; } .bk-pack { padding: 22px 12px 14px; flex-direction: row; flex-wrap: wrap; justify-content: center; gap: 8px; } }

/* numbers / days / times */
.bk-nums { display: flex; gap: 8px; flex-wrap: wrap; }
.bk-num { width: 48px; height: 48px; border-radius: 12px; border: 2px solid var(--line); background: #fff; font-family: var(--font-head); font-weight: 700; font-size: 1rem; color: var(--ink); cursor: pointer; transition: all .16s var(--ease-out); }
.bk-num:hover { border-color: var(--aqua-light); }
.bk-num.is-on { background: var(--aqua-deep); border-color: var(--aqua-deep); color: #fff; }
.bk-guarnote { font-size: .82rem; color: var(--aqua-deep); font-weight: 700; margin: -4px 0 10px; display: flex; align-items: center; gap: 6px; }
.bk-guarnote .ic-inline { color: var(--aqua); }

.bk-days, .bk-times { display: flex; gap: 8px; flex-wrap: wrap; }
.bk-day, .bk-time { padding: 11px 14px; min-height: 44px; border-radius: 10px; border: 2px solid var(--line); background: #fff; font-family: var(--font-head); font-weight: 700; font-size: .88rem; color: var(--ink-soft); cursor: pointer; transition: all .16s var(--ease-out); }
.bk-day:hover, .bk-time:hover { border-color: var(--aqua-light); }
.bk-day.is-on, .bk-time.is-on { background: var(--aqua-deep); border-color: var(--aqua-deep); color: #fff; }

.bk-pools { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.bk-pool { padding: 15px 8px; min-height: 56px; border-radius: 12px; border: 2px solid var(--line); background: #fff; font-family: var(--font-head); font-weight: 700; font-size: .88rem; color: var(--ink-soft); cursor: pointer; transition: all .16s var(--ease-out); }
.bk-pool:hover { border-color: var(--aqua-light); }
.bk-pool.is-on { background: var(--aqua-deep); border-color: var(--aqua-deep); color: #fff; }
@media (max-width: 520px) { .bk-pools { grid-template-columns: 1fr; } }

.bk-next { width: 100%; margin-top: 6px; }
.btn-block { width: 100%; }
.btn-text { background: none; color: var(--ink-soft); box-shadow: none; }
.btn-text:hover { color: var(--ink); }

/* confirm step */
.bk-nobill { display: flex; gap: 11px; align-items: flex-start; background: #eafaf1; border: 1px solid #a8e0c2; border-radius: 12px; padding: 14px 16px; margin: 0 0 18px; font-size: .95rem; }
.bk-nobill .ic { color: #0f7a44; flex: none; margin-top: 2px; }
.bk-nobill strong { color: #0f7a44; }

.bk-upsell { background: #fff8e8; border: 1px solid #f3d99b; border-radius: 12px; padding: 16px; margin: 0 0 18px; text-align: center; }
.bk-upsell strong { display: block; font-family: var(--font-head); color: #8a6100; margin-bottom: 4px; }
.bk-upsell p { margin: 0 0 12px; font-size: .92rem; color: var(--ink-soft); }
.bk-upsell b { color: var(--aqua-deep); }
.bk-upsell-actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }

.bk-review { border: 1px solid var(--line); border-radius: 12px; overflow: hidden; margin: 0 0 18px; }
.rv-row { display: flex; justify-content: space-between; gap: 14px; padding: 12px 15px; font-size: .93rem; border-bottom: 1px solid var(--aqua-pale); }
.rv-row:last-child { border-bottom: none; }
.rv-row span { color: var(--ink-soft); font-weight: 600; }
.rv-row b { color: var(--ink); text-align: right; font-family: var(--font-head); }
.rv-row--total { background: var(--aqua-pale); }
.rv-row--total b { color: var(--aqua-deep); font-size: 1.1rem; }

.bk-agree { display: flex; gap: 11px; align-items: flex-start; font-size: .88rem; color: var(--ink-soft); line-height: 1.5; margin: 0 0 16px; cursor: pointer; }
.bk-agree input { width: 20px; height: 20px; flex: none; margin-top: 1px; accent-color: var(--aqua-deep); cursor: pointer; }
.bk-status { text-align: center; font-weight: 700; margin: 0 0 10px; min-height: 1.2em; font-size: .93rem; }
.bk-status.err { color: #c0392b; }
.bk-status.ok { color: var(--aqua-deep); }

/* done */
.bk-done { text-align: center; }
.done-mark { width: 66px; height: 66px; border-radius: 50%; background: #eafaf1; display: grid; place-items: center; margin: 0 auto 18px; }
.done-mark .ic { width: 34px; height: 34px; color: #0f7a44; }
.done-lead { font-size: 1.05rem; color: var(--ink-soft); margin: 0 0 22px; }
.done-next { text-align: left; background: var(--aqua-pale); border-radius: 12px; padding: 18px 20px; margin: 0 0 22px; }
.done-next strong { display: block; font-family: var(--font-head); color: var(--navy); margin-bottom: 10px; }
.done-next ol { margin: 0; padding-left: 20px; display: grid; gap: 8px; }
.done-next li { color: var(--ink-soft); font-size: .95rem; }

/* ---------- RIGHT: summary rail ---------- */
.bk-rail { background: var(--sun); padding: 34px 26px 60px; }
/* Sticky + taller than the viewport is a trap: the element pins and its lower
   half can never be scrolled to. Capping the height and letting it scroll
   internally keeps the FAQ reachable on short screens. */
.bk-rail-inner {
  max-width: 460px; margin: 0 auto;
  position: sticky; top: 24px;
  max-height: calc(100vh - 48px);
  overflow-y: auto; overscroll-behavior: contain;
  scrollbar-width: thin;
}
.bk-rail-inner::-webkit-scrollbar { width: 8px; }
.bk-rail-inner::-webkit-scrollbar-thumb { background: rgba(10,68,103,.22); border-radius: 8px; }

.rail-price { text-align: center; margin-bottom: 18px; }
.rail-perlesson { font-family: var(--font-head); font-weight: 700; color: #7a5c00; margin: 0; font-size: 1.05rem; }
.rail-big { font-family: var(--font-head); font-weight: 800; font-size: 2.6rem; color: var(--ink); margin: 2px 0 0; line-height: 1; }

.rail-summary { background: #fffdf5; border: 3px solid #e8951f; border-radius: 18px; padding: 20px 22px; margin-bottom: 24px; }
.rail-summary h3 { margin: 0 0 14px; font-size: 1.15rem; color: var(--navy); padding-bottom: 10px; border-bottom: 1px solid #f0d9a8; }
.rail-row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.rail-k { font-family: var(--font-head); font-weight: 700; font-size: .78rem; letter-spacing: .05em; text-transform: uppercase; color: var(--ink-soft); }
.rail-v { font-family: var(--font-head); font-weight: 800; font-size: 1.5rem; color: var(--navy); }
.rail-v.big { font-size: 2rem; color: var(--aqua-deep); }
.rail-note { font-size: .8rem; color: var(--ink-soft); margin: 2px 0 14px; }
.rail-row--total { padding-top: 12px; border-top: 1px solid #f0d9a8; }
.rail-save { font-size: .85rem; margin: 6px 0 0; color: var(--ink); }
.rail-save b { background: var(--sun); padding: 2px 7px; border-radius: 999px; font-weight: 800; }

.rail-guarantee { background: #eaf4fa; border-radius: 12px; padding: 14px 15px; margin-top: 16px; }
.rail-guarantee strong { display: flex; align-items: center; gap: 7px; font-family: var(--font-head); color: var(--navy); font-size: .92rem; margin-bottom: 6px; }
.rail-guarantee .ic { width: 17px; height: 17px; color: var(--aqua); flex: none; }
.rail-guarantee p { margin: 0; font-size: .8rem; line-height: 1.55; color: var(--ink-soft); }

.rail-proof { text-align: center; margin-bottom: 26px; }
/* white fill, because the rail behind these IS the star's default gold */
.rail-stars { display: flex; justify-content: center; gap: 5px; margin: -12px 0 18px; }
.rail-stars .ic-star { width: 26px; height: 26px; color: #fff; }  /* rail bg IS the star gold */
.rail-rated { font-family: var(--font-head); font-weight: 700; color: #7a5c00; margin: 0 0 16px; }
.rail-quote { background: var(--aqua-deep); color: #fff; border-radius: 16px; padding: 20px 22px; margin: 0; box-shadow: 0 10px 26px -10px rgba(11,61,92,.5); }
.rail-quote blockquote { margin: 0 0 10px; font-size: 1rem; line-height: 1.5; }
.rail-quote figcaption { font-weight: 700; font-size: .88rem; color: var(--aqua-light); }

.rail-faq h3 { text-align: center; font-size: 1.5rem; color: var(--ink); margin: 0 0 14px; text-transform: uppercase; }
.rail-faq details { background: #fffdf5; border-radius: 10px; padding: 2px 16px; margin-bottom: 8px; }
.rail-faq summary { cursor: pointer; font-family: var(--font-head); font-weight: 700; font-size: .94rem; padding: 13px 24px 13px 0; list-style: none; position: relative; color: var(--ink); }
.rail-faq summary::-webkit-details-marker { display: none; }
.rail-faq summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); font-size: 1.3rem; color: var(--aqua); }
.rail-faq details[open] summary::after { content: "\2013"; }
.rail-faq p { margin: 0 0 13px; font-size: .88rem; color: var(--ink-soft); line-height: 1.55; }

/* ---------- responsive ---------- */
@media (max-width: 940px) {
  .bk-layout { grid-template-columns: 1fr; }
  .bk-rail { padding: 30px 20px 50px; }
  /* stacked below the form here — no pinning, so no height cap either */
  .bk-rail-inner { position: static; max-height: none; overflow-y: visible; }
  .bk-main { padding: 26px 18px 44px; }
}

/* brand mark on the booking page uses the shared circular manatee badge */
.bk-brand .brand-mark { width: 54px; height: 54px; border-radius: 0; background: none; box-shadow: none; display: grid; place-items: center; }
.bk-brand .brand-mark svg { width: 100%; height: 100%; color: var(--aqua-light); transform: translateY(2.81%); }
.bk-brand .brand-text { font-family: var(--font-head); font-weight: 700; font-size: 1.35rem; }
.bk-brand .brand-text small { letter-spacing: .12em; }

/* =====================================================================
   RAIL v2 — line-item summary card (matches the category layout)
   ===================================================================== */
.rail-perlesson { font-family: var(--font-head); font-weight: 700; color: var(--navy); margin: 0; font-size: 1.28rem; text-align: center; line-height: 1.25; }
.rail-big { font-family: var(--font-head); font-weight: 800; font-size: 2.9rem; color: var(--navy); margin: 4px 0 0; line-height: 1; text-align: center; }

.rail-summary { background: #fffdf3; border: 3px solid var(--coral); border-radius: 20px; padding: 22px 24px 24px; margin-bottom: 26px; }
.rail-summary h3 { margin: 0 0 16px; font-size: 1.35rem; color: var(--navy); padding-bottom: 12px; border-bottom: 2px solid #f2e2b8; font-weight: 700; }

.rail-line { display: block; margin-bottom: 16px; }
.rail-line .rail-k { display: block; font-family: var(--font-body); font-weight: 800; font-size: .8rem; letter-spacing: .06em; text-transform: uppercase; color: var(--navy); margin-bottom: 1px; }
.rail-line .rail-v { display: block; font-family: var(--font-head); font-weight: 800; font-size: 1.85rem; color: var(--navy); line-height: 1.1; }
.rail-line .rail-v.big { font-size: 2.5rem; }
.rail-line .rail-sub { display: block; font-size: .78rem; color: var(--ink-soft); margin-top: 2px; line-height: 1.4; }
.rail-line--total { padding-top: 14px; border-top: 2px solid #f2e2b8; margin-bottom: 10px; }

.rail-disc { display: inline-block; background: var(--sun); color: var(--sale); font-weight: 800; font-size: .78rem; padding: 1px 7px; border-radius: 7px; margin-left: 4px; }
.rail-save { font-size: .95rem; margin: 10px 0 0; color: var(--navy); font-weight: 600; }
.rail-save b { background: var(--sun); padding: 2px 8px; border-radius: 7px; font-weight: 800; }

.rail-guarantee { background: #e8f4fb; border-radius: 12px; padding: 15px 16px; margin-top: 18px; }
.rail-guarantee p { margin: 0; font-size: .8rem; line-height: 1.6; color: var(--navy); }
.rail-guarantee b { font-weight: 800; }

/* ---- checkout step furniture ---- */
.bk-checkout-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 18px; }
.bk-checkout-head .bk-h2 { margin: 0; }
.bk-secure { font-size: .8rem; color: var(--ink-soft); font-weight: 600; }
.bk-promo { margin: 0 0 14px; }
.bk-promo a { font-size: .92rem; font-weight: 700; color: var(--aqua-deep); text-decoration: none; }
.bk-promo a:hover { text-decoration: underline; }
.bk-promo-field { margin: -6px 0 16px; }
.bk-promo-field input { width: 100%; font-family: var(--font-body); font-size: 1rem; padding: 12px 14px; min-height: 46px; border: 1.5px solid var(--line); border-radius: var(--radius-sm); background: var(--bg); }
.bk-agree { background: #eaf4fb; border-radius: 12px; padding: 14px 15px; margin-bottom: 12px; }
.bk-agree a { color: var(--aqua-deep); font-weight: 700; }

/* =====================================================================
   RAIL STATES — reviews first, pricing only once they pick a package
   ===================================================================== */
.rail-state[hidden] { display: none !important; }
.rail-rated-big { text-align: center; font-family: var(--font-head); font-weight: 700; font-size: 1.55rem; color: var(--navy); margin: 0 0 18px; line-height: 1.25; }
.rail-rated-big b { color: var(--coral); }
.rev-carousel { position: relative; }

/* video slides: the poster carries the weight until the visitor asks for the
   file. preload="none" is deliberate — these are 19MB and 11MB, and this is
   the highest-intent page on the site. */
.rev-carousel--video .rev-track { border-radius: 20px; }
.rail-vid { margin: 0; flex: 0 0 100%; scroll-snap-align: center; text-align: center; }
/* These are 9:16 phone clips. Constrain the HEIGHT and let the width follow
   the ratio — capping height on a full-width box crops the frame instead,
   which cut the parents' heads off. */
.rail-video {
  height: clamp(280px, 40vh, 380px);
  width: auto; max-width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover; display: block; margin: 0 auto;
  background: var(--navy); border: 5px solid #fff; border-radius: 20px;
  box-shadow: 0 10px 26px -8px rgba(11,61,92,.32);
}
.rail-vid figcaption {
  margin-top: 12px; font-family: var(--font-head); font-weight: 700;
  font-size: 1rem; color: var(--navy); line-height: 1.3;
}
.rail-vid figcaption span {
  display: block; font-family: var(--font-body, inherit); font-weight: 600;
  font-size: .85rem; color: var(--ink-soft); margin-top: 2px;
}

/* one card per view; native snapping does the work */
.rev-track {
  display: flex; gap: 0;
  overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scrollbar-width: none; -ms-overflow-style: none;
  border-radius: 18px;
}
.rev-track::-webkit-scrollbar { display: none; }
.rev-track:focus-visible { outline: 3px solid var(--navy); outline-offset: 3px; }
.rev-track > .rail-rev { flex: 0 0 100%; scroll-snap-align: center; margin: 0; }

.rev-nav { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 16px; }
.rev-arrow {
  width: 40px; height: 40px; border: 0; border-radius: 50%; flex: none;
  background: var(--coral); color: #fff; cursor: pointer;
  display: grid; place-items: center; padding: 0;
  box-shadow: 0 3px 0 var(--coral-deep, #c93f2b);
  transition: transform .15s ease, filter .15s ease;
}
.rev-arrow svg { width: 20px; height: 20px; }
.rev-arrow:hover { filter: brightness(1.07); }
.rev-arrow:active { transform: translateY(2px); box-shadow: 0 1px 0 var(--coral-deep, #c93f2b); }
.rev-arrow:focus-visible { outline: 3px solid var(--navy); outline-offset: 2px; }

.rev-dots { display: flex; gap: 8px; }
.rev-dot {
  width: 9px; height: 9px; padding: 0; border: 0; border-radius: 50%; cursor: pointer;
  background: rgba(10,68,103,.28); transition: background .2s ease, transform .2s ease;
}
.rev-dot.is-on { background: var(--navy); transform: scale(1.25); }
.rev-dot:focus-visible { outline: 2px solid var(--navy); outline-offset: 3px; }

@media (prefers-reduced-motion: reduce) {
  .rev-track { scroll-behavior: auto; }
  .rev-arrow { transition: none; }
}
.rail-rev { background: #fff; border-radius: 18px; padding: 20px 22px; margin: 0; box-shadow: 0 6px 0 rgba(0,0,0,.07); }
.rail-rev blockquote { margin: 0 0 14px; font-size: .98rem; line-height: 1.5; color: var(--navy); }
.rail-rev figcaption { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: .9rem; color: var(--ink-soft); }
.rev-av { width: 34px; height: 34px; border-radius: 50%; background: var(--aqua); color: var(--navy); display: grid; place-items: center; font-family: var(--font-head); font-weight: 700; font-size: .8rem; flex: none; }

/* ---- the "great news" availability screen ---- */
.bk-good { text-align: center; }
.good-mark { width: 72px; height: 72px; border-radius: 50%; background: #e8f9ef; display: grid; place-items: center; margin: 6px auto 20px; }
.good-mark .ic { width: 38px; height: 38px; color: var(--green); }
.bk-good .bk-h2 { font-size: 1.65rem; line-height: 1.25; margin-bottom: 12px; }
.bk-good .bk-h2 span { color: var(--aqua-deep); }
.good-sub { color: var(--ink-soft); font-size: 1.02rem; margin: 0 0 26px; }
