/* =========================================================================
   TIDE & TIMBER SAUNA — styles.css
   Waterside / floating sauna + cold-plunge house, Islington / Angel, London
   Palette: marine navy / sea-glass aqua / warm sand / ivory / sunset coral
   Fonts: Young Serif (display) + Mulish (body)
   ========================================================================= */

/* ---------- Design tokens ---------- */
:root {
  /* Brand palette */
  --navy: #10243a;
  --navy-deep: #0a1827;
  --aqua: #7fb7b0;
  --aqua-deep: #5a948d;
  --sand: #e8dcc6;
  --sand-soft: #efe7d6;
  --ivory: #f5f1e8;
  --coral: #ff7a59;
  --coral-deep: #ed5c39;

  /* Functional */
  --bg: var(--ivory);
  --bg-alt: #efe9dc;
  --ink: #16242f;
  --ink-soft: #43545f;
  --line: #d8cdb6;
  --card: #fffdf8;
  --white: #ffffff;

  /* Type */
  --display: "Young Serif", "Hoefler Text", Georgia, serif;
  --body: "Mulish", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* Spacing — 8px rhythm */
  --s1: 8px;  --s2: 16px; --s3: 24px; --s4: 32px;
  --s5: 40px; --s6: 48px; --s7: 64px; --s8: 80px;
  --s9: 112px; --s10: 144px;

  /* Layout */
  --maxw: 1180px;
  --radius: 14px;
  --radius-lg: 24px;
  --radius-pill: 999px;

  /* Effects */
  --shadow-sm: 0 2px 10px rgba(16, 36, 58, 0.06);
  --shadow: 0 14px 40px rgba(16, 36, 58, 0.10);
  --shadow-lg: 0 30px 80px rgba(16, 36, 58, 0.18);
  --ring: 0 0 0 3px rgba(255, 122, 89, 0.45);

  --header-h: 76px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

body {
  font-family: var(--body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, select, textarea { font-family: inherit; font-size: inherit; }
ul { list-style: none; padding: 0; }

::selection { background: var(--coral); color: var(--ivory); }

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

/* ---------- Typography ---------- */
h1, h2, h3, h4 { font-family: var(--display); font-weight: 400; line-height: 1.05; color: var(--navy); letter-spacing: -0.01em; }
h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); }
h2 { font-size: clamp(2rem, 4vw, 3.1rem); }
h3 { font-size: clamp(1.35rem, 2.2vw, 1.7rem); }
h4 { font-size: 1.15rem; }
p { color: var(--ink-soft); }

.kicker {
  font-family: var(--body);
  font-weight: 800;
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--coral-deep);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.kicker::before {
  content: "";
  width: 26px; height: 2px;
  background: var(--coral);
  display: inline-block;
}
.kicker.center { justify-content: center; }

.eyebrow-num {
  font-family: var(--display);
  color: var(--coral-deep);
}

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--s3); }
.section { padding: var(--s9) 0; }
.section-sm { padding: var(--s7) 0; }
.center { text-align: center; }
.lede { font-size: 1.2rem; max-width: 60ch; color: var(--ink-soft); }
.lede.center { margin-left: auto; margin-right: auto; }
.section-head { max-width: 64ch; margin-bottom: var(--s6); }
.section-head.center { margin-left: auto; margin-right: auto; }
.section-head h2 { margin-top: var(--s2); }

.grid { display: grid; gap: var(--s3); }
.cols-2 { grid-template-columns: repeat(2, 1fr); }
.cols-3 { grid-template-columns: repeat(3, 1fr); }
.cols-4 { grid-template-columns: repeat(4, 1fr); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 30px;
  border-radius: var(--radius-pill);
  font-weight: 800;
  font-size: 0.97rem;
  letter-spacing: 0.01em;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s var(--ease), color 0.25s var(--ease);
  white-space: nowrap;
  border: 2px solid transparent;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: var(--coral); color: var(--ivory); box-shadow: 0 10px 28px rgba(255, 122, 89, 0.38); }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 18px 40px rgba(255, 122, 89, 0.5); background: var(--coral-deep); }
.btn-secondary { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-secondary:hover { background: var(--navy); color: var(--ivory); transform: translateY(-3px); }
.btn-ghost { background: rgba(245, 241, 232, 0.12); color: var(--ivory); border-color: rgba(245, 241, 232, 0.5); }
.btn-ghost:hover { background: var(--ivory); color: var(--navy); transform: translateY(-3px); }
.btn-block { width: 100%; }
.btn-lg { padding: 18px 38px; font-size: 1.05rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(245, 241, 232, 0.72);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: box-shadow 0.3s var(--ease), background 0.3s var(--ease), border-color 0.3s var(--ease);
}
.site-header.scrolled {
  box-shadow: var(--shadow-sm);
  border-bottom-color: var(--line);
  background: rgba(245, 241, 232, 0.92);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 12px; font-family: var(--display); font-size: 1.3rem; color: var(--navy); letter-spacing: -0.01em; }
.brand .mark { width: 38px; height: 38px; flex: none; }
.brand small { display: block; font-family: var(--body); font-size: 0.6rem; letter-spacing: 0.28em; text-transform: uppercase; color: var(--aqua-deep); font-weight: 800; margin-top: 2px; }

.nav-links { display: flex; align-items: center; gap: var(--s1); }
.nav-links a {
  padding: 9px 14px; border-radius: var(--radius-pill);
  font-weight: 700; font-size: 0.94rem; color: var(--ink-soft);
  transition: color 0.2s, background 0.2s;
  position: relative;
}
.nav-links a:hover { color: var(--navy); background: rgba(127, 183, 176, 0.16); }
.nav-links a.active { color: var(--navy); }
.nav-links a.active::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 2px;
  height: 2px; background: var(--coral); border-radius: 2px;
}
.nav-cta { margin-left: var(--s1); }

.hamburger {
  display: none;
  width: 46px; height: 46px; border-radius: 12px;
  align-items: center; justify-content: center;
  background: rgba(127, 183, 176, 0.16);
}
.hamburger span { display: block; width: 22px; height: 2px; background: var(--navy); position: relative; transition: transform 0.3s var(--ease), opacity 0.3s; }
.hamburger span::before, .hamburger span::after { content: ""; position: absolute; left: 0; width: 22px; height: 2px; background: var(--navy); transition: transform 0.3s var(--ease); }
.hamburger span::before { top: -7px; }
.hamburger span::after { top: 7px; }
.hamburger[aria-expanded="true"] span { background: transparent; }
.hamburger[aria-expanded="true"] span::before { transform: translateY(7px) rotate(45deg); }
.hamburger[aria-expanded="true"] span::after { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: linear-gradient(165deg, var(--navy-deep) 0%, var(--navy) 55%, #143350 100%);
  color: var(--ivory);
  overflow: hidden;
  padding: var(--s10) 0 var(--s9);
}
.hero::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 120px;
  background: linear-gradient(to top, var(--bg), transparent);
  pointer-events: none; z-index: 3;
}
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg svg { width: 100%; height: 100%; }
.hero .wrap { position: relative; z-index: 4; }
.hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: var(--s7); align-items: center; }
.hero h1 { color: var(--ivory); margin: var(--s3) 0; }
.hero h1 .accent { color: var(--coral); font-style: italic; }
.hero .kicker { color: #ffd3c5; }
.hero .kicker::before { background: var(--coral); }
.hero p { color: rgba(245, 241, 232, 0.86); font-size: 1.2rem; max-width: 52ch; }
.hero-cta { display: flex; gap: var(--s2); margin-top: var(--s5); flex-wrap: wrap; }
.hero-meta { display: flex; gap: var(--s5); margin-top: var(--s7); flex-wrap: wrap; }
.hero-meta div { }
.hero-meta .n { font-family: var(--display); font-size: 2rem; color: var(--coral); }
.hero-meta .l { font-size: 0.85rem; color: rgba(245,241,232,0.72); letter-spacing: 0.04em; }

/* Hero ripple visual card */
.hero-visual {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(127, 183, 176, 0.3);
}
.hero-visual svg { width: 100%; height: 100%; }
.hero-float-tag {
  position: absolute; bottom: 18px; left: 18px; right: 18px;
  background: rgba(10, 24, 39, 0.62);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(127,183,176,0.32);
  border-radius: var(--radius);
  padding: 14px 18px;
  display: flex; align-items: center; gap: 12px;
  z-index: 2;
}
.hero-float-tag .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--coral); box-shadow: 0 0 0 5px rgba(255,122,89,0.25); flex: none; animation: pulse 2.4s ease-in-out infinite; }
.hero-float-tag span { font-size: 0.9rem; color: var(--ivory); font-weight: 600; }
@keyframes pulse { 0%,100% { box-shadow: 0 0 0 4px rgba(255,122,89,0.3);} 50% { box-shadow: 0 0 0 10px rgba(255,122,89,0); } }

/* Steam rising animation */
.steam { transform-origin: center bottom; }
.steam-1 { animation: rise 7s ease-in-out infinite; }
.steam-2 { animation: rise 9s ease-in-out infinite 1s; }
.steam-3 { animation: rise 8s ease-in-out infinite 2s; }
@keyframes rise {
  0% { opacity: 0; transform: translateY(10px) scaleY(0.95); }
  35% { opacity: 0.55; }
  100% { opacity: 0; transform: translateY(-26px) scaleY(1.12); }
}
/* Shimmer on water */
.shimmer { animation: shimmer 6s ease-in-out infinite; transform-origin: center; }
@keyframes shimmer { 0%,100% { opacity: 0.35; } 50% { opacity: 0.8; } }
/* Ripple rings */
.ripple-ring { transform-origin: center; animation: ripple 5s ease-out infinite; opacity: 0; }
.ripple-ring.r2 { animation-delay: 1.6s; }
.ripple-ring.r3 { animation-delay: 3.2s; }
@keyframes ripple {
  0% { transform: scale(0.2); opacity: 0.8; }
  100% { transform: scale(1.25); opacity: 0; }
}

/* ---------- Trust strip ---------- */
.trust {
  background: var(--navy);
  color: var(--ivory);
  padding: var(--s3) 0;
}
.trust .wrap { display: flex; align-items: center; justify-content: space-between; gap: var(--s4); flex-wrap: wrap; }
.trust-item { display: flex; align-items: center; gap: 12px; font-size: 0.92rem; font-weight: 600; color: rgba(245,241,232,0.92); }
.trust-item svg { width: 22px; height: 22px; flex: none; color: var(--aqua); }

/* ---------- Plank divider ---------- */
.planks { display: flex; gap: 6px; height: 8px; }
.planks span { flex: 1; border-radius: 4px; background: var(--sand); opacity: 0.6; }
.planks span:nth-child(3n) { background: var(--aqua); opacity: 0.5; }
.planks span:nth-child(5n) { background: var(--coral); opacity: 0.4; }

/* ---------- Cards ---------- */
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: var(--s4);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
  position: relative;
  overflow: hidden;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--aqua); }

.svc-card { display: flex; flex-direction: column; }
.svc-icon {
  width: 58px; height: 58px; border-radius: 16px;
  background: linear-gradient(140deg, rgba(127,183,176,0.25), rgba(255,122,89,0.18));
  display: flex; align-items: center; justify-content: center;
  margin-bottom: var(--s3);
}
.svc-icon svg { width: 30px; height: 30px; color: var(--navy); }
.svc-card h3 { margin-bottom: var(--s1); }
.svc-card p { font-size: 0.97rem; margin-bottom: var(--s3); flex: 1; }
.svc-foot { display: flex; align-items: center; justify-content: space-between; padding-top: var(--s2); border-top: 1px solid var(--line); }
.svc-price { font-family: var(--display); font-size: 1.5rem; color: var(--navy); }
.svc-price small { font-family: var(--body); font-size: 0.8rem; color: var(--ink-soft); font-weight: 600; }
.svc-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 800; color: var(--coral-deep); font-size: 0.9rem; }
.svc-arrow svg { width: 16px; height: 16px; transition: transform 0.25s var(--ease); }
.card:hover .svc-arrow svg { transform: translateX(4px); }

.tag-popular {
  position: absolute; top: 16px; right: -34px;
  background: var(--coral); color: var(--ivory);
  font-size: 0.68rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase;
  padding: 6px 40px; transform: rotate(45deg);
  box-shadow: 0 4px 12px rgba(255,122,89,0.4);
}

/* ---------- Stats / why us ---------- */
.why { background: var(--bg-alt); }
.stat { text-align: center; padding: var(--s3); }
.stat .n { font-family: var(--display); font-size: clamp(2.6rem, 5vw, 3.6rem); color: var(--coral-deep); line-height: 1; }
.stat .l { margin-top: var(--s1); font-weight: 700; color: var(--navy); }
.stat .d { font-size: 0.9rem; color: var(--ink-soft); margin-top: 4px; }

/* ---------- Testimonials ---------- */
.quote {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: var(--s4);
  position: relative;
}
.quote .mark { font-family: var(--display); font-size: 4rem; color: var(--aqua); line-height: 0.5; height: 28px; display: block; }
.quote p { color: var(--ink); font-size: 1.05rem; margin: var(--s2) 0 var(--s3); }
.quote .who { display: flex; align-items: center; gap: 12px; }
.avatar {
  width: 46px; height: 46px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--display); font-size: 1.1rem; color: var(--ivory);
  flex: none;
}
.avatar.a1 { background: linear-gradient(135deg, var(--navy), var(--aqua-deep)); }
.avatar.a2 { background: linear-gradient(135deg, var(--coral), var(--coral-deep)); }
.avatar.a3 { background: linear-gradient(135deg, var(--aqua-deep), var(--navy)); }
.avatar.a4 { background: linear-gradient(135deg, #2c5a6e, var(--aqua)); }
.who .name { font-weight: 800; color: var(--navy); font-size: 0.95rem; }
.who .area { font-size: 0.85rem; color: var(--ink-soft); }
.stars { color: var(--coral); letter-spacing: 2px; margin-bottom: 4px; font-size: 0.9rem; }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative;
  background: linear-gradient(135deg, var(--navy-deep), #163b5c);
  color: var(--ivory);
  border-radius: var(--radius-lg);
  padding: var(--s8) var(--s6);
  overflow: hidden;
  text-align: center;
}
.cta-band::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(circle at 15% 120%, rgba(255,122,89,0.35), transparent 45%),
    radial-gradient(circle at 90% -20%, rgba(127,183,176,0.3), transparent 45%);
}
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { color: var(--ivory); }
.cta-band p { color: rgba(245,241,232,0.85); max-width: 50ch; margin: var(--s2) auto var(--s5); font-size: 1.15rem; }
.cta-actions { display: flex; gap: var(--s2); justify-content: center; flex-wrap: wrap; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-deep); color: rgba(245,241,232,0.78); padding: var(--s8) 0 var(--s4); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: var(--s5); }
.footer-brand .brand { color: var(--ivory); margin-bottom: var(--s2); }
.footer-brand p { color: rgba(245,241,232,0.6); font-size: 0.95rem; max-width: 34ch; }
.footer-col h4 { color: var(--ivory); font-family: var(--body); font-weight: 800; font-size: 0.8rem; letter-spacing: 0.16em; text-transform: uppercase; margin-bottom: var(--s2); }
.footer-col a, .footer-col p { display: block; color: rgba(245,241,232,0.7); font-size: 0.95rem; padding: 5px 0; transition: color 0.2s; }
.footer-col a:hover { color: var(--coral); }
.footer-hours { display: flex; justify-content: space-between; font-size: 0.9rem; padding: 5px 0; border-bottom: 1px dashed rgba(245,241,232,0.14); }
.footer-hours span:last-child { color: var(--aqua); font-weight: 700; }
.footer-bottom { margin-top: var(--s7); padding-top: var(--s3); border-top: 1px solid rgba(245,241,232,0.12); display: flex; justify-content: space-between; align-items: center; gap: var(--s2); flex-wrap: wrap; font-size: 0.85rem; color: rgba(245,241,232,0.5); }
.footer-bottom .socials { display: flex; gap: 10px; }
.footer-bottom .socials a { width: 36px; height: 36px; border-radius: 50%; background: rgba(245,241,232,0.08); display: flex; align-items: center; justify-content: center; transition: background 0.2s, transform 0.2s; }
.footer-bottom .socials a:hover { background: var(--coral); transform: translateY(-2px); }
.footer-bottom .socials svg { width: 17px; height: 17px; color: var(--ivory); }

/* ---------- Sticky mobile book bar ---------- */
.mobile-book-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  background: rgba(10,24,39,0.96);
  backdrop-filter: blur(10px);
  border-top: 1px solid rgba(127,183,176,0.3);
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  display: none;
  align-items: center; justify-content: space-between; gap: 12px;
  transform: translateY(110%);
  transition: transform 0.4s var(--ease);
}
.mobile-book-bar.show { transform: translateY(0); }
.mobile-book-bar .mb-info { color: var(--ivory); }
.mobile-book-bar .mb-info strong { display: block; font-family: var(--display); font-size: 1rem; }
.mobile-book-bar .mb-info span { font-size: 0.78rem; color: rgba(245,241,232,0.7); }
.mobile-book-bar .btn { padding: 12px 22px; }

/* =========================================================================
   PAGE-SPECIFIC
   ========================================================================= */

/* ---------- Page hero (interior) ---------- */
.page-hero {
  background: linear-gradient(160deg, var(--navy-deep), var(--navy));
  color: var(--ivory);
  padding: var(--s9) 0 var(--s8);
  position: relative; overflow: hidden;
}
.page-hero::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 90px;
  background: linear-gradient(to top, var(--bg), transparent); z-index: 2;
}
.page-hero-bg { position: absolute; inset: 0; opacity: 0.5; }
.page-hero .wrap { position: relative; z-index: 3; }
.page-hero h1 { color: var(--ivory); margin: var(--s2) 0; max-width: 18ch; }
.page-hero p { color: rgba(245,241,232,0.84); max-width: 56ch; font-size: 1.15rem; }
.breadcrumb { font-size: 0.85rem; color: rgba(245,241,232,0.6); margin-bottom: var(--s3); }
.breadcrumb a:hover { color: var(--coral); }

/* ---------- Services list page ---------- */
.svc-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s3); }
.svc-detail { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: var(--s4); display: flex; flex-direction: column; transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s; position: relative; overflow: hidden; }
.svc-detail:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--aqua); }
.svc-detail.featured { border-color: var(--coral); box-shadow: 0 18px 50px rgba(255,122,89,0.18); }
.svc-detail .dur { display: inline-flex; align-items: center; gap: 6px; font-size: 0.82rem; font-weight: 700; color: var(--aqua-deep); background: rgba(127,183,176,0.16); padding: 4px 12px; border-radius: var(--radius-pill); align-self: flex-start; margin-bottom: var(--s2); }
.svc-detail h3 { margin-bottom: var(--s1); }
.svc-detail p { font-size: 0.96rem; flex: 1; margin-bottom: var(--s3); }
.svc-detail .row { display: flex; align-items: flex-end; justify-content: space-between; padding-top: var(--s3); border-top: 1px solid var(--line); }
.price-big { font-family: var(--display); font-size: 2rem; color: var(--navy); line-height: 1; }
.price-big small { font-family: var(--body); font-size: 0.8rem; color: var(--ink-soft); font-weight: 600; display: block; margin-top: 4px; }
.price-free { color: var(--aqua-deep); }

.svc-toolbar { display: flex; align-items: center; justify-content: space-between; gap: var(--s2); margin-bottom: var(--s5); flex-wrap: wrap; }
.svc-note { display: flex; align-items: center; gap: 10px; font-size: 0.92rem; color: var(--ink-soft); background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-pill); padding: 10px 18px; }
.svc-note svg { width: 18px; height: 18px; color: var(--aqua-deep); }

/* ---------- About ---------- */
.story-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s7); align-items: center; }
.story-visual { aspect-ratio: 1; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line); }
.story-visual svg { width: 100%; height: 100%; }
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s3); }
.value { padding: var(--s4); background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); }
.value .vnum { font-family: var(--display); font-size: 1.4rem; color: var(--coral); }
.value h3 { margin: var(--s1) 0; font-size: 1.25rem; }
.value p { font-size: 0.96rem; }

.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s3); }
.team-card { text-align: center; padding: var(--s4); background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease); }
.team-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.team-avatar { width: 96px; height: 96px; border-radius: 50%; margin: 0 auto var(--s2); display: flex; align-items: center; justify-content: center; font-family: var(--display); font-size: 2.2rem; color: var(--ivory); }
.team-card h3 { font-size: 1.2rem; }
.team-card .role { color: var(--coral-deep); font-weight: 700; font-size: 0.88rem; margin-bottom: var(--s1); }
.team-card p { font-size: 0.9rem; }

.certs { display: flex; flex-wrap: wrap; gap: var(--s2); justify-content: center; }
.cert-chip { display: flex; align-items: center; gap: 10px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-pill); padding: 12px 22px; font-weight: 700; font-size: 0.9rem; color: var(--navy); }
.cert-chip svg { width: 20px; height: 20px; color: var(--aqua-deep); }

/* ---------- Gallery ---------- */
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 220px; gap: var(--s2); }
.tile { position: relative; border-radius: var(--radius); overflow: hidden; cursor: pointer; border: 1px solid var(--line); }
.tile svg { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.tile:hover svg { transform: scale(1.08); }
.tile.wide { grid-column: span 2; }
.tile.tall { grid-row: span 2; }
.tile-cap { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; padding: var(--s3); background: linear-gradient(to top, rgba(10,24,39,0.82) 0%, rgba(10,24,39,0.1) 55%, transparent 100%); opacity: 0; transform: translateY(10px); transition: opacity 0.4s var(--ease), transform 0.4s var(--ease); }
.tile:hover .tile-cap, .tile:focus-within .tile-cap { opacity: 1; transform: translateY(0); }
.tile-cap h4 { color: var(--ivory); font-size: 1.15rem; }
.tile-cap span { color: var(--aqua); font-size: 0.82rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: var(--s6); align-items: start; }
.contact-methods { display: grid; gap: var(--s2); margin-bottom: var(--s5); }
.method { display: flex; gap: 16px; padding: var(--s3); background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); align-items: center; transition: border-color 0.25s, transform 0.25s; }
.method:hover { border-color: var(--aqua); transform: translateX(4px); }
.method .mi { width: 48px; height: 48px; border-radius: 14px; background: linear-gradient(140deg, rgba(127,183,176,0.25), rgba(255,122,89,0.18)); display: flex; align-items: center; justify-content: center; flex: none; }
.method .mi svg { width: 24px; height: 24px; color: var(--navy); }
.method .ml { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--ink-soft); font-weight: 800; }
.method .mv { font-weight: 700; color: var(--navy); }

.hours-table { width: 100%; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.hours-table tr { border-bottom: 1px solid var(--line); }
.hours-table tr:last-child { border-bottom: none; }
.hours-table td { padding: 13px 18px; font-size: 0.94rem; }
.hours-table td:first-child { font-weight: 700; color: var(--navy); }
.hours-table td:last-child { text-align: right; color: var(--ink-soft); }
.hours-table tr.today { background: rgba(127,183,176,0.14); }
.hours-table tr.today td:last-child { color: var(--aqua-deep); font-weight: 800; }

/* ---------- Forms ---------- */
.form-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: var(--s5); }
.field { margin-bottom: var(--s3); }
.field label { display: block; font-weight: 700; font-size: 0.88rem; color: var(--navy); margin-bottom: 7px; }
.field label .req { color: var(--coral); }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 16px;
  border: 1.5px solid var(--line); border-radius: var(--radius);
  background: var(--white); color: var(--ink);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--aqua); box-shadow: 0 0 0 4px rgba(127,183,176,0.22); }
.field textarea { resize: vertical; min-height: 120px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s2); }
.field .err { color: var(--coral-deep); font-size: 0.82rem; margin-top: 5px; display: none; font-weight: 600; }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: var(--coral-deep); }
.field.invalid .err { display: block; }
.form-success {
  display: none; align-items: center; gap: 12px;
  background: rgba(127,183,176,0.18); border: 1.5px solid var(--aqua);
  color: var(--navy); border-radius: var(--radius); padding: 16px 20px; margin-bottom: var(--s3); font-weight: 600;
}
.form-success.show { display: flex; }
.form-success svg { width: 24px; height: 24px; color: var(--aqua-deep); flex: none; }

/* ---------- Map placeholder ---------- */
.map-box { position: relative; aspect-ratio: 16/11; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.map-box svg.map-bg { width: 100%; height: 100%; }
.map-pin { position: absolute; top: 44%; left: 50%; transform: translate(-50%, -100%); z-index: 2; }
.map-pin svg { width: 46px; height: 46px; color: var(--coral); filter: drop-shadow(0 6px 10px rgba(16,36,58,0.4)); animation: bob 3s ease-in-out infinite; }
@keyframes bob { 0%,100% { transform: translateY(0);} 50% { transform: translateY(-8px);} }
.map-card { position: absolute; bottom: 16px; left: 16px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 18px; box-shadow: var(--shadow); z-index: 3; }
.map-card strong { display: block; color: var(--navy); font-family: var(--display); }
.map-card span { font-size: 0.85rem; color: var(--ink-soft); }

/* =========================================================================
   CHECKOUT
   ========================================================================= */
.checkout-grid { display: grid; grid-template-columns: 1.4fr 0.9fr; gap: var(--s5); align-items: start; }
.checkout-main { display: grid; gap: var(--s3); }
.panel { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: var(--s5); }
.panel h2 { font-size: 1.5rem; margin-bottom: var(--s1); }
.panel .step-n { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 50%; background: var(--navy); color: var(--ivory); font-family: var(--display); font-size: 0.95rem; margin-right: 10px; }
.panel-head { display: flex; align-items: center; margin-bottom: var(--s3); }

/* slot grid */
.slot-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 10px; }
.slot {
  position: relative; padding: 12px 8px; border: 1.5px solid var(--line); border-radius: var(--radius);
  background: var(--white); text-align: center; font-weight: 700; font-size: 0.9rem; color: var(--navy);
  transition: border-color 0.2s, background 0.2s, transform 0.15s;
}
.slot small { display: block; font-size: 0.68rem; font-weight: 600; color: var(--ink-soft); margin-top: 2px; }
.slot:hover:not(:disabled) { border-color: var(--aqua); transform: translateY(-2px); }
.slot.selected { border-color: var(--coral); background: rgba(255,122,89,0.1); color: var(--coral-deep); }
.slot.selected small { color: var(--coral-deep); }
.slot:disabled { opacity: 0.4; cursor: not-allowed; text-decoration: line-through; }
.slot .few { position: absolute; top: -8px; right: -6px; background: var(--coral); color: var(--ivory); font-size: 0.58rem; padding: 2px 6px; border-radius: var(--radius-pill); font-weight: 800; }

/* time pills */
.pills { display: flex; flex-wrap: wrap; gap: 10px; }
.pill { padding: 10px 18px; border: 1.5px solid var(--line); border-radius: var(--radius-pill); background: var(--white); font-weight: 700; font-size: 0.9rem; color: var(--navy); transition: all 0.2s; }
.pill:hover { border-color: var(--aqua); }
.pill.selected { background: var(--navy); color: var(--ivory); border-color: var(--navy); }

/* payment tabs */
.pay-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: var(--s3); }
.pay-tab { flex: 1; min-width: 110px; padding: 14px 12px; border: 1.5px solid var(--line); border-radius: var(--radius); background: var(--white); font-weight: 700; font-size: 0.88rem; color: var(--ink-soft); display: flex; align-items: center; justify-content: center; gap: 8px; transition: all 0.2s; }
.pay-tab:hover { border-color: var(--aqua); }
.pay-tab.active { border-color: var(--navy); background: var(--navy); color: var(--ivory); }
.pay-tab .chip-logo { font-weight: 800; }
.pay-panel { display: none; }
.pay-panel.active { display: block; animation: fade 0.3s var(--ease); }
@keyframes fade { from { opacity: 0; transform: translateY(6px);} to { opacity: 1; transform: translateY(0);} }
.redirect-note { display: flex; align-items: center; gap: 14px; padding: 18px; background: var(--bg-alt); border: 1.5px dashed var(--aqua); border-radius: var(--radius); color: var(--ink); }
.redirect-note svg { width: 30px; height: 30px; color: var(--aqua-deep); flex: none; }

/* toggles */
.toggle-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; background: var(--bg-alt); border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: var(--s2); }
.toggle-row .tl { font-weight: 700; color: var(--navy); font-size: 0.95rem; }
.toggle-row .tl small { display: block; font-weight: 500; color: var(--ink-soft); font-size: 0.82rem; }
.switch { position: relative; width: 50px; height: 28px; flex: none; }
.switch input { opacity: 0; width: 0; height: 0; }
.switch .track { position: absolute; inset: 0; background: var(--line); border-radius: var(--radius-pill); transition: background 0.25s; }
.switch .track::before { content: ""; position: absolute; left: 3px; top: 3px; width: 22px; height: 22px; background: var(--white); border-radius: 50%; transition: transform 0.25s var(--ease); box-shadow: 0 2px 5px rgba(0,0,0,0.2); }
.switch input:checked + .track { background: var(--coral); }
.switch input:checked + .track::before { transform: translateX(22px); }
.switch input:focus-visible + .track { box-shadow: var(--ring); }

/* promo */
.promo-row { display: flex; gap: 10px; }
.promo-row input { flex: 1; }
.promo-row .btn { flex: none; }
.promo-msg { font-size: 0.86rem; margin-top: 8px; font-weight: 700; display: none; }
.promo-msg.ok { color: var(--aqua-deep); display: block; }
.promo-msg.bad { color: var(--coral-deep); display: block; }

/* order summary */
.summary { position: sticky; top: calc(var(--header-h) + 16px); }
.summary-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: var(--s4); }
.summary-card h3 { font-size: 1.3rem; margin-bottom: var(--s3); }
.order-line { display: flex; justify-content: space-between; gap: 12px; padding: 11px 0; border-bottom: 1px dashed var(--line); font-size: 0.95rem; }
.order-line .ll { color: var(--ink-soft); }
.order-line .lv { font-weight: 700; color: var(--navy); }
.order-line.discount .lv { color: var(--aqua-deep); }
.order-total { display: flex; justify-content: space-between; align-items: baseline; margin-top: var(--s3); padding-top: var(--s3); border-top: 2px solid var(--navy); }
.order-total .tl { font-weight: 800; color: var(--navy); }
.order-total .tv { font-family: var(--display); font-size: 1.9rem; color: var(--navy); }
.summary-svc { display: flex; align-items: center; gap: 12px; padding: 14px; background: var(--bg-alt); border-radius: var(--radius); margin-bottom: var(--s3); }
.summary-svc .si { width: 44px; height: 44px; border-radius: 12px; background: linear-gradient(140deg, var(--aqua), var(--coral)); display: flex; align-items: center; justify-content: center; flex: none; }
.summary-svc .si svg { width: 22px; height: 22px; color: var(--ivory); }
.summary-svc .sn { font-weight: 800; color: var(--navy); font-size: 0.98rem; line-height: 1.2; }
.summary-svc .sd { font-size: 0.82rem; color: var(--ink-soft); }

.secure-row { display: flex; align-items: center; gap: 10px; justify-content: center; margin-top: var(--s3); color: var(--ink-soft); font-size: 0.85rem; font-weight: 600; }
.secure-row svg { width: 16px; height: 16px; color: var(--aqua-deep); }
.gateways { display: flex; flex-wrap: wrap; gap: 7px; justify-content: center; margin-top: var(--s2); }
.gw-chip { font-size: 0.66rem; font-weight: 800; letter-spacing: 0.04em; padding: 5px 10px; border-radius: 6px; border: 1px solid var(--line); color: var(--ink-soft); background: var(--white); }
.demo-note { text-align: center; font-size: 0.8rem; color: var(--ink-soft); margin-top: var(--s2); font-style: italic; }

.spinner { display: none; width: 18px; height: 18px; border: 2.5px solid rgba(245,241,232,0.4); border-top-color: var(--ivory); border-radius: 50%; animation: spin 0.7s linear infinite; }
.btn.loading .spinner { display: inline-block; }
.btn.loading .btn-text { opacity: 0.7; }
@keyframes spin { to { transform: rotate(360deg); } }

/* =========================================================================
   SUCCESS
   ========================================================================= */
.success-wrap { max-width: 680px; margin: 0 auto; text-align: center; }
.check-circle { width: 110px; height: 110px; margin: 0 auto var(--s4); position: relative; }
.check-circle svg { width: 100%; height: 100%; }
.check-circle .circle-bg { stroke: var(--aqua); stroke-width: 4; fill: rgba(127,183,176,0.14); stroke-dasharray: 326; stroke-dashoffset: 326; animation: draw-circle 0.7s var(--ease) forwards; }
.check-circle .check-mark { stroke: var(--coral); stroke-width: 6; stroke-linecap: round; stroke-linejoin: round; fill: none; stroke-dasharray: 80; stroke-dashoffset: 80; animation: draw-check 0.5s var(--ease) 0.6s forwards; }
@keyframes draw-circle { to { stroke-dashoffset: 0; } }
@keyframes draw-check { to { stroke-dashoffset: 0; } }

.ref-box { display: inline-flex; flex-direction: column; align-items: center; gap: 4px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 32px; margin: var(--s4) 0; }
.ref-box .rl { font-size: 0.76rem; text-transform: uppercase; letter-spacing: 0.16em; color: var(--ink-soft); font-weight: 800; }
.ref-box .rv { font-family: var(--display); font-size: 1.6rem; color: var(--coral-deep); letter-spacing: 0.05em; }

.success-summary { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: var(--s4); text-align: left; margin: var(--s5) 0; }
.success-summary .order-line:last-of-type { border-bottom: none; }

.steps { display: grid; gap: var(--s2); text-align: left; margin: var(--s5) 0; }
.step-item { display: flex; gap: 16px; align-items: flex-start; padding: var(--s3); background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); }
.step-item .sn { width: 40px; height: 40px; border-radius: 50%; background: linear-gradient(140deg, var(--aqua), var(--aqua-deep)); color: var(--ivory); display: flex; align-items: center; justify-content: center; font-family: var(--display); font-size: 1.1rem; flex: none; }
.step-item h4 { color: var(--navy); margin-bottom: 3px; }
.step-item p { font-size: 0.92rem; }

/* =========================================================================
   MEMBERSHIPS
   ========================================================================= */
.tier-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s3); align-items: stretch; }
.tier { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: var(--s5); display: flex; flex-direction: column; transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease); position: relative; overflow: hidden; }
.tier:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.tier.featured { border: 2px solid var(--coral); box-shadow: 0 24px 60px rgba(255,122,89,0.2); }
.tier-badge { position: absolute; top: 18px; right: 18px; background: var(--coral); color: var(--ivory); font-size: 0.68rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; padding: 5px 14px; border-radius: var(--radius-pill); }
.tier h3 { font-size: 1.5rem; }
.tier .tier-sub { color: var(--ink-soft); font-size: 0.92rem; margin-bottom: var(--s3); }
.tier .tier-price { font-family: var(--display); font-size: 3rem; color: var(--navy); line-height: 1; }
.tier .tier-price small { font-family: var(--body); font-size: 0.9rem; color: var(--ink-soft); font-weight: 600; }
.tier ul { display: grid; gap: 12px; margin: var(--s4) 0; flex: 1; }
.tier li { display: flex; gap: 10px; align-items: flex-start; font-size: 0.95rem; color: var(--ink); }
.tier li svg { width: 19px; height: 19px; color: var(--aqua-deep); flex: none; margin-top: 2px; }

/* ---------- FAQ accordion ---------- */
.faq-list { max-width: 800px; margin: 0 auto; display: grid; gap: 12px; }
.faq-item { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.faq-q { width: 100%; text-align: left; padding: 20px 24px; display: flex; align-items: center; justify-content: space-between; gap: 16px; font-weight: 800; font-size: 1.05rem; color: var(--navy); font-family: var(--display); }
.faq-q .faq-icon { width: 26px; height: 26px; flex: none; position: relative; transition: transform 0.3s var(--ease); }
.faq-q .faq-icon::before, .faq-q .faq-icon::after { content: ""; position: absolute; background: var(--coral); border-radius: 2px; }
.faq-q .faq-icon::before { left: 50%; top: 4px; bottom: 4px; width: 2px; transform: translateX(-50%); }
.faq-q .faq-icon::after { top: 50%; left: 4px; right: 4px; height: 2px; transform: translateY(-50%); }
.faq-item.open .faq-icon { transform: rotate(135deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.35s var(--ease); }
.faq-a-inner { padding: 0 24px 22px; color: var(--ink-soft); font-size: 0.97rem; }
.faq-item.open .faq-a { max-height: 320px; }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: 0.08s; }
.reveal.d2 { transition-delay: 0.16s; }
.reveal.d3 { transition-delay: 0.24s; }
.reveal.d4 { transition-delay: 0.32s; }

/* =========================================================================
   RESPONSIVE
   ========================================================================= */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: var(--s6); }
  .hero-visual { max-width: 440px; margin: 0 auto; width: 100%; }
  .story-grid, .contact-grid { grid-template-columns: 1fr; gap: var(--s5); }
  .checkout-grid { grid-template-columns: 1fr; }
  .summary { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: var(--s4); }
  .cols-4, .team-grid, .svc-list, .svc-detail-list { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 820px) {
  .nav-links {
    position: fixed; top: var(--header-h); left: 0; right: 0;
    background: var(--ivory);
    flex-direction: column; align-items: stretch;
    padding: var(--s2); gap: 4px;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    transform: translateY(-130%);
    transition: transform 0.4s var(--ease);
    max-height: calc(100vh - var(--header-h)); overflow-y: auto;
  }
  .nav-links.open { transform: translateY(0); }
  .nav-links a { padding: 14px 16px; font-size: 1.05rem; }
  .nav-links a.active::after { display: none; }
  .nav-links a.active { background: rgba(127,183,176,0.16); }
  .nav-cta { margin: var(--s1) 0 0; }
  .nav-cta .btn { width: 100%; }
  .hamburger { display: flex; }
  .svc-list, .tier-grid, .values-grid, .cols-3 { grid-template-columns: 1fr; }
  .section { padding: var(--s7) 0; }
  .section-sm { padding: var(--s6) 0; }
  .cta-band { padding: var(--s6) var(--s3); }
  .mobile-book-bar { display: flex; }
  body.has-mobile-bar { padding-bottom: 78px; }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .wrap { padding: 0 var(--s2); }
  .cols-2, .cols-4, .team-grid, .gallery-grid, .field-row { grid-template-columns: 1fr; }
  .hero { padding: var(--s7) 0 var(--s8); }
  .hero-cta .btn, .cta-actions .btn { width: 100%; }
  .hero-meta { gap: var(--s3); }
  .trust .wrap { justify-content: center; }
  .panel, .form-card, .summary-card { padding: var(--s3); }
  .gallery-grid { grid-auto-rows: 180px; }
  .tile.wide, .tile.tall { grid-column: auto; grid-row: auto; }
  .footer-grid { grid-template-columns: 1fr; }
  .pay-tab { min-width: calc(50% - 4px); }
}
