/* ============================================================
   Swim in Style Pool Service — styles
   Design system from the claude.ai/design mockups:
   playful tropical — Fredoka + Nunito Sans, navy #1b4d7c,
   aqua accents, orange pill CTAs with hard offset shadow
   ============================================================ */

:root {
  --navy: #1b4d7c;
  --navy-wave: #16406a;
  --navy-deep: #123558;
  --navy-card: #24659c;
  --ink-deep: #16324e;
  --footer: #0e2438;
  --aqua: #4aa3c4;
  --aqua-bright: #7fd0e8;
  --aqua-pale: #aee0f2;
  --ice: #eaf6fb;
  --ice-deep: #cfeaf6;
  --sand: #f9f3e4;
  --orange: #ff9d3b;
  --orange-shadow: rgba(196, 110, 20, 0.35);
  --text: #33587c;
  --text-soft: #4a6a88;
  --text-faint: #7a92a8;
  --on-navy: #cfe6f4;
  --on-navy-soft: #d7ecf7;
  --white: #ffffff;

  --font-display: "Fredoka", "Arial Rounded MT Bold", "Trebuchet MS", sans-serif;
  --font-body: "Nunito Sans", "Avenir Next", system-ui, sans-serif;

  --radius-lg: 24px;
  --radius-md: 20px;
  --radius-sm: 14px;
  --header-h: 72px;
}

/* ---------- Reset & base ---------- */

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--ice);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

h1, h2, h3 {
  font-family: var(--font-display);
  color: var(--navy);
  line-height: 1.15;
  margin: 0 0 0.5em;
}

h1 { font-size: clamp(2.7rem, 6.5vw, 4.5rem); font-weight: 700; line-height: 1.02; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.15rem); font-weight: 600; }
h3 { font-size: 1.25rem; font-weight: 600; }

p { margin: 0 0 1em; }
a { color: #2e7fb8; }
a:hover { color: #1b4d7c; }

::selection { background: var(--aqua-pale); color: var(--ink-deep); }

:focus-visible {
  outline: 3px solid var(--aqua);
  outline-offset: 2px;
  border-radius: 4px;
}

.container {
  width: min(1120px, 92%);
  margin-inline: auto;
}

.container-narrow { max-width: 780px; }

section[id] { scroll-margin-top: calc(var(--header-h) + 14px); }

/* ---------- Wordmark ---------- */

.wordmark {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.3rem;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.wordmark .w1 { color: var(--white); }
.wordmark .w2 { color: var(--aqua-bright); }

.wordmark-img { height: 30px; width: auto; display: block; }
.wordmark-img-footer { height: 40px; margin-bottom: 0.3rem; }

/* ---------- Buttons (orange pill, hard shadow — mockup style) ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  padding: 0.9rem 1.9rem;
  border-radius: 999px;
  border: none;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.15s ease;
}

.btn-primary {
  background: linear-gradient(180deg, #ffb257 0%, #ff9d3b 55%, #f68e28 100%);
  color: var(--white);
  box-shadow: 0 5px 0 var(--orange-shadow), inset 0 2px 0 rgba(255, 255, 255, 0.35);
}

.btn-primary:hover {
  color: var(--white);
  transform: translateY(2px);
  box-shadow: 0 3px 0 var(--orange-shadow), inset 0 2px 0 rgba(255, 255, 255, 0.35);
}

.btn-primary:active {
  transform: translateY(4px);
  box-shadow: 0 1px 0 var(--orange-shadow), inset 0 2px 0 rgba(255, 255, 255, 0.35);
}

.btn-lg { font-size: 1.15rem; padding: 1rem 2.1rem; }

.btn-call { font-size: 0.98rem; padding: 0.68rem 1.4rem; }

.btn-block { width: 100%; }

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(27, 77, 124, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: box-shadow 0.25s ease;
}

.site-header.scrolled { box-shadow: 0 4px 20px rgba(14, 36, 56, 0.35); }

.nav-row {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  height: var(--header-h);
}

.brand { text-decoration: none; margin-right: auto; }

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.site-nav a {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--on-navy);
  text-decoration: none;
  padding: 0.35rem 0.1rem;
  transition: color 0.15s ease;
}

.site-nav a:hover { color: var(--white); }

.site-nav .nav-quote-link { display: none; }

.nav-toggle {
  display: none;
  align-items: center;
  gap: 0.55rem;
  background: rgba(255, 255, 255, 0.12);
  border: 2px solid rgba(255, 255, 255, 0.5);
  border-radius: 999px;
  padding: 0.5rem 1.05rem;
  cursor: pointer;
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
}

.nav-toggle .bars {
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 18px;
}

.nav-toggle .bars span {
  display: block;
  height: 2.5px;
  border-radius: 3px;
  background: var(--white);
  transition: transform 0.22s ease, opacity 0.22s ease;
}

.nav-open .nav-toggle .bars span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-open .nav-toggle .bars span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle .bars span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* mobile quick-action bar (Call / Text / Book) */

.mobile-bar { display: none; }

/* ---------- Hero (mockup 2a: deep navy, layered waves, floating logo) ---------- */

.hero {
  position: relative;
  background: var(--navy);
  color: var(--white);
  overflow: hidden;
}

.hero-waves {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

/* live 3D pool scene (js/pool3d.js) — replaces waves + logo card when WebGL works */
.hero-water {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.hero.webgl-on .hero-waves { display: none; }
.hero.webgl-on .hero-art { display: none; }
.hero.webgl-on .hero-grid { min-height: min(86vh, 740px); align-content: center; }

.hero-water-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

.hero-water .water-fade {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 15%;
  background: linear-gradient(180deg, rgba(18, 53, 88, 0) 0%, #123558 96%);
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  align-items: center;
  gap: clamp(1.5rem, 4vw, 3rem);
  padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(4rem, 9vw, 6.5rem);
}

.hero h1 { color: var(--white); margin-bottom: 1.1rem; }
.hero h1 .accent { color: var(--aqua-bright); }

.hero .lead {
  font-size: clamp(1.05rem, 1.6vw, 1.18rem);
  line-height: 1.55;
  color: var(--on-navy);
  max-width: 30em;
  margin-bottom: 1.7rem;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.1rem;
  margin-bottom: 1.4rem;
}

.hero-alt {
  font-weight: 700;
  font-size: 0.98rem;
  color: var(--aqua-bright);
  text-decoration: none;
}

.hero-alt:hover { color: var(--white); }

.trust-line {
  font-size: 0.92rem;
  font-weight: 700;
  color: rgba(207, 230, 244, 0.85);
  margin: 0;
}

.hero-art { display: flex; justify-content: center; }

.hero-art img {
  width: min(420px, 100%);
  border-radius: var(--radius-md);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  transform: rotate(-2deg);
}

/* ---------- Waves & sections ---------- */

.wave {
  display: block;
  width: 100%;
  height: clamp(40px, 6vw, 78px);
  margin-bottom: -1px;
}

.section { padding: clamp(3.2rem, 7.5vw, 5.5rem) 0 0; }
.section > .container { padding-bottom: clamp(3.2rem, 7.5vw, 5.5rem); }

.section-ice { background: var(--ice); }
.section-sand { background: var(--sand); }

.light-title {
  text-align: center;
  color: var(--navy);
  margin-bottom: clamp(1.6rem, 4vw, 2.4rem);
}

/* ---------- Services band (mockup 1a, on deep water) ---------- */

.section-deep {
  background: var(--navy-deep);
  color: var(--white);
  padding-top: clamp(2.2rem, 5vw, 3.5rem);
}

.band-title {
  color: var(--white);
  text-align: center;
  margin-bottom: clamp(1.6rem, 4vw, 2.2rem);
}

.band-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
}

.band-card {
  background: var(--navy-card);
  border-radius: var(--radius-md);
  padding: 1.7rem 1.5rem;
}

.band-emoji { font-size: 2.1rem; line-height: 1; }

.band-icon { width: 64px; height: 64px; object-fit: contain; }

.band-card h3 {
  color: var(--aqua-pale);
  font-size: 1.25rem;
  margin: 0.8rem 0 0.45rem;
}

.band-card p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--on-navy-soft);
}

.mini-services {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.7rem;
  padding: 0;
  margin: 1.8rem 0 0;
}

.mini-services li {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: var(--on-navy);
  border-radius: 999px;
  padding: 0.55rem 1.15rem;
  font-weight: 700;
  font-size: 0.93rem;
  white-space: nowrap;
}

/* ---------- Before / After (mockup 1a) ---------- */

.ba-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.4rem;
  max-width: 900px;
  margin: 0 auto;
}

.ba-card {
  position: relative;
  margin: 0;
  border-radius: 18px;
  overflow: hidden;
}

.ph {
  background: repeating-linear-gradient(45deg, #dceef5, #dceef5 10px, #eef7fb 10px, #eef7fb 20px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #5b8aa6;
  font: 12px ui-monospace, Menlo, monospace;
  text-align: center;
  height: 250px;
  padding: 0 1rem;
}

.ba-img { width: 100%; height: 250px; object-fit: cover; display: block; }

.ba-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  border-radius: 999px;
  padding: 6px 14px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.82rem;
  color: var(--white);
  white-space: nowrap;
}

.ba-before { background: var(--navy); }
.ba-after { background: var(--orange); }

.ba-note {
  text-align: center;
  color: var(--text-faint);
  font-weight: 700;
  font-size: 0.92rem;
  margin: 1.2rem 0 0;
}

/* ---------- Service area ---------- */

.area-panel {
  background: linear-gradient(180deg, var(--ice-deep) 0%, var(--sand) 100%);
  border-radius: 26px;
  padding: clamp(2rem, 5vw, 3.4rem);
  box-shadow: 0 8px 24px rgba(27, 77, 124, 0.12);
}

.area-sub {
  text-align: center;
  color: var(--text-soft);
  max-width: 560px;
  margin: -1rem auto 1.8rem;
}

.area-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.3rem;
  margin-bottom: 1.5rem;
}

.area-card {
  background: rgba(255, 255, 255, 0.85);
  border-radius: var(--radius-sm);
  padding: 1.4rem 1.5rem 1.1rem;
}

.area-art {
  width: 100%;
  height: 140px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 0.9rem;
  display: block;
}

.area-card h3 { margin-bottom: 0.35em; font-size: 1.2rem; }
.area-card p { margin: 0; color: var(--text-soft); font-size: 0.97rem; }

.area-note {
  text-align: center;
  color: var(--navy);
  font-weight: 700;
  font-size: 0.97rem;
  margin: 0;
}

/* ---------- FAQ ---------- */

.faq-list { display: grid; gap: 0.9rem; }

.faq-list details {
  background: var(--white);
  border-radius: var(--radius-sm);
  box-shadow: 0 4px 14px rgba(27, 77, 124, 0.08);
  overflow: hidden;
}

.faq-list summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  cursor: pointer;
  padding: 1.05rem 1.3rem;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.05rem;
  color: var(--navy);
}

.faq-list summary::-webkit-details-marker { display: none; }

.faq-mark {
  position: relative;
  flex: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--ice-deep);
}

.faq-mark::before,
.faq-mark::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 10px;
  height: 2.4px;
  border-radius: 2px;
  background: var(--navy);
  transform: translate(-50%, -50%);
  transition: transform 0.2s ease;
}

.faq-mark::after { transform: translate(-50%, -50%) rotate(90deg); }

.faq-list details[open] .faq-mark::after { transform: translate(-50%, -50%) rotate(0deg); }

.faq-list details p {
  margin: 0;
  padding: 0 1.3rem 1.2rem;
  color: var(--text-soft);
}

/* ---------- Contact / CTA ---------- */

.section-contact {
  background: var(--navy);
  padding-bottom: clamp(3.2rem, 7.5vw, 5.5rem);
}

.section-contact .container { padding-bottom: 0; }

.cta-center {
  text-align: center;
  margin-bottom: clamp(2.6rem, 6vw, 4rem);
}

.cta-center h2 {
  color: var(--white);
  font-weight: 700;
  font-size: clamp(1.9rem, 4vw, 2.5rem);
  margin-bottom: 0.35em;
}

.cta-center p {
  color: var(--aqua-pale);
  font-size: 1.05rem;
  margin-bottom: 1.5rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

.contact-copy h3 {
  color: var(--white);
  font-size: 1.5rem;
}

.contact-sub { color: var(--aqua-pale); }

.contact-list {
  list-style: none;
  padding: 0;
  margin: 1.8rem 0 0;
  display: grid;
  gap: 1.3rem;
}

.contact-list li { display: flex; gap: 0.9rem; align-items: flex-start; }

.ci { font-size: 1.35rem; line-height: 1.3; flex: none; }

.contact-list strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--white);
  font-size: 0.95rem;
  letter-spacing: 0.02em;
}

.contact-list span, .contact-list a { color: var(--on-navy); text-decoration: none; }

.contact-phone {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--white) !important;
}

.contact-phone:hover { color: var(--aqua-bright) !important; }

.contact-form {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: clamp(1.6rem, 3vw, 2.4rem);
  box-shadow: 0 24px 60px rgba(9, 24, 39, 0.45);
}

.contact-form h3 { margin-bottom: 1.2rem; font-size: 1.35rem; }

.field { margin-bottom: 1rem; }

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.field label {
  display: block;
  font-weight: 800;
  font-size: 0.88rem;
  color: var(--navy);
  margin-bottom: 0.35rem;
}

.field .optional { font-weight: 600; color: var(--text-faint); }

.field input,
.field select,
.field textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--text);
  background: #f6fafc;
  border: 1.5px solid #d9e7f2;
  border-radius: 12px;
  padding: 0.72rem 0.9rem;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.field textarea { resize: vertical; }

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--aqua);
  box-shadow: 0 0 0 4px rgba(74, 163, 196, 0.22);
}

.field input::placeholder,
.field textarea::placeholder { color: #9fb4c6; }

.contact-form .btn { margin-top: 0.4rem; }

.form-status {
  margin: 0.9rem 0 0;
  padding: 0.7rem 1rem;
  border-radius: 12px;
  background: var(--ice);
  color: var(--navy);
  font-weight: 700;
  font-size: 0.95rem;
}

.form-alt {
  margin: 1rem 0 0;
  text-align: center;
  font-size: 0.92rem;
  color: var(--text-faint);
}

.form-alt a { color: #2e7fb8; font-weight: 800; text-decoration: none; }

/* ---------- Footer ---------- */

.site-footer {
  background: var(--footer);
  color: #9fc2da;
  padding: 3rem 0 1.5rem;
}

.wordmark-footer { font-size: 1.45rem; }

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-brand p { margin: 0.8rem 0 0; font-size: 0.97rem; max-width: 30em; }

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.footer-links a,
.footer-contact a {
  color: #9fc2da;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.97rem;
}

.footer-links a:hover, .footer-contact a:hover { color: var(--white); }

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  font-size: 0.97rem;
}

.footer-contact a { font-family: var(--font-display); font-size: 1.15rem; color: var(--white); }

.footer-bottom { padding-top: 1.4rem; }
.footer-bottom p { margin: 0; font-size: 0.88rem; color: #6e8ba3; text-align: center; }

/* ---------- Reveal animation ---------- */

/* Only hide reveal elements when JS is actually running (html.js is set by main.js) */
html.js .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

html.js .reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Responsive ---------- */

@media (max-width: 980px) {
  .band-grid { grid-template-columns: 1fr 1fr 1fr; gap: 1rem; }
  .btn-call { display: none; }
}

@media (max-width: 880px) {
  body { padding-bottom: calc(66px + env(safe-area-inset-bottom)); }

  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero .lead { margin-inline: auto; }
  .hero-ctas { justify-content: center; }
  .hero-art { margin-top: 0.8rem; }
  .hero-art img { width: min(380px, 92%); }
  .hero.webgl-on .hero-grid { min-height: 0; align-content: start; padding-bottom: 46vh; }

  .nav-toggle { display: inline-flex; }

  .mobile-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 60;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 0.5rem;
    background: rgba(18, 53, 88, 0.96);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    padding: 0.55rem 0.8rem calc(0.55rem + env(safe-area-inset-bottom));
  }

  .mobile-bar a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    color: var(--on-navy);
    text-decoration: none;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 0.6rem 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.1);
  }

  .mobile-bar .bar-book {
    background: var(--orange);
    color: var(--white);
    box-shadow: 0 3px 0 var(--orange-shadow);
  }

  .site-nav {
    display: none;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--navy);
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow: 0 18px 30px rgba(9, 24, 39, 0.4);
    padding: 0.5rem 0 0.8rem;
  }

  .nav-open .site-nav { display: flex; }

  .site-nav a {
    padding: 0.85rem 6%;
    font-size: 1.05rem;
  }

  .site-nav .nav-quote-link {
    display: block;
    color: var(--orange);
  }

  .band-grid { grid-template-columns: 1fr; }
  .ba-grid { grid-template-columns: 1fr; }
  .area-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 1.6rem; }
}

@media (max-width: 560px) {
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .hero-ctas .btn { width: 100%; }
  .mini-services li { white-space: normal; text-align: center; }
}

/* ---------- Booking page (mockup 3c/2c — request-a-visit) ---------- */

.booking-section {
  position: relative;
  background: var(--navy);
  overflow: hidden;
  padding: clamp(2.5rem, 6vw, 4rem) 0 clamp(3.5rem, 8vw, 5.5rem);
}

.booking-waves {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.booking-inner { position: relative; }

.booking-head { text-align: center; margin-bottom: clamp(1.6rem, 4vw, 2.4rem); }

.booking-head h1 {
  color: var(--white);
  font-size: clamp(1.9rem, 4.5vw, 2.7rem);
  margin-bottom: 0.25em;
}

.booking-head p {
  color: var(--aqua-pale);
  font-weight: 700;
  font-size: 1rem;
  margin: 0;
}

.app-card {
  max-width: 420px;
  margin: 0 auto;
  background: linear-gradient(180deg, var(--ice-deep), var(--sand));
  border-radius: 34px;
  padding: 1.7rem 1.4rem 1.5rem;
  box-shadow: 0 24px 60px rgba(9, 24, 39, 0.45);
  transition: background 0.3s ease;
}

.app-card.confirmed { background: var(--navy); }

.app-title { font-size: 1.5rem; margin-bottom: 0.2em; }

.app-sub { font-size: 0.92rem; color: var(--text-soft); margin-bottom: 1rem; }

.cal-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 1rem;
  box-shadow: 0 4px 14px rgba(27, 77, 124, 0.08);
}

.cal-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.6rem;
}

.cal-head span {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.02rem;
  color: var(--navy);
}

.cal-head button {
  background: none;
  border: none;
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 1.15rem;
  color: #2e7fb8;
  cursor: pointer;
  padding: 0 0.5rem;
  line-height: 1;
}

.cal-head button:disabled { color: #c9d6e2; cursor: default; }

.cal-dow {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
  text-align: center;
  font-size: 0.7rem;
  font-weight: 800;
  color: #9fb4c6;
  margin-bottom: 0.35rem;
}

.cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
}

.cal-grid button {
  appearance: none;
  background: none;
  border: none;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.82rem;
  color: var(--text);
  padding: 0.45rem 0;
  border-radius: 999px;
  cursor: pointer;
}

.cal-grid button:hover:not(:disabled):not(.sel) { background: var(--ice); }

.cal-grid button:disabled { color: #d3dde6; cursor: default; }

.cal-grid button.sel {
  background: var(--navy);
  color: var(--white);
  box-shadow: 0 3px 8px rgba(27, 77, 124, 0.35);
}

.window-row {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin: 0.9rem 0 1rem;
}

.window-btn {
  background: var(--white);
  border: 2px solid transparent;
  border-radius: 16px;
  padding: 0.8rem 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-family: var(--font-body);
  transition: border-color 0.15s ease;
}

.window-btn > span:first-child {
  font-weight: 800;
  font-size: 0.9rem;
  color: var(--navy);
  white-space: nowrap;
}

.window-btn .wh { font-size: 0.78rem; color: var(--text-faint); font-weight: 700; }

.window-btn.sel { border-color: var(--aqua); }

.bk-status {
  margin: 0.8rem 0 0;
  padding: 0.65rem 0.9rem;
  border-radius: 12px;
  background: var(--white);
  color: var(--navy);
  font-weight: 700;
  font-size: 0.92rem;
}

.app-fine {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-faint);
  text-align: center;
  margin: 0.8rem 0 0;
}

/* confirmation view (navy card) */

.conf-emoji { font-size: 2.6rem; text-align: center; margin: 0.6rem 0 0.2rem; }

.conf-mascot { display: block; width: 96px; height: auto; margin: 0.5rem auto 0.4rem; }

.conf-title {
  color: var(--aqua-pale);
  text-align: center;
  font-size: 1.6rem;
  margin-bottom: 0.2em;
}

.conf-sub {
  color: var(--on-navy);
  text-align: center;
  font-size: 0.92rem;
  margin-bottom: 1.1rem;
}

.conf-card {
  background: var(--navy-card);
  border-radius: var(--radius-md);
  padding: 1.1rem 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  margin-bottom: 0.9rem;
}

.conf-row { display: flex; justify-content: space-between; gap: 1rem; font-size: 0.88rem; }

.conf-k { color: #8fc6de; font-weight: 700; flex: none; }

.conf-v { color: var(--white); font-weight: 800; text-align: right; }

.conf-row2 { display: flex; gap: 0.6rem; margin-top: 0.6rem; }

.conf-ghost {
  flex: 1;
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  border: none;
  border-radius: 999px;
  padding: 0.75rem 0.4rem;
  text-align: center;
  font-weight: 800;
  font-size: 0.82rem;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
}

.conf-ghost:hover { background: rgba(255, 255, 255, 0.2); color: var(--white); }

.conf-email {
  display: block;
  text-align: center;
  margin-top: 0.7rem;
  color: #8fc6de;
  font-weight: 700;
  font-size: 0.85rem;
}

.conf-email[hidden] { display: none; }

.conf-change {
  display: block;
  margin: 0.9rem auto 0;
  background: none;
  border: none;
  color: #8fc6de;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.85rem;
  cursor: pointer;
}

.conf-change:hover { color: var(--white); }

.conf-tag { text-align: center; font-size: 0.8rem; color: #8fc6de; margin: 1rem 0 0; }

/* "book online" link under the contact phone pill */

.cta-alt { margin: 0.9rem 0 0; }

.cta-alt a {
  color: var(--aqua-bright);
  font-weight: 700;
  font-size: 0.98rem;
  text-decoration: none;
}

.cta-alt a:hover { color: var(--white); }

.site-nav a[aria-current="page"] { color: var(--white); }

/* ---------- Reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  html.js .reveal { opacity: 1; transform: none; transition: none; }
  .btn { transition: none; }
}
