/* ============================================================
   CREST INDOOR SURF CLUB — styles.css
   Bright ocean energy · day / night-lagoon theme
   ============================================================ */

/* ---------- Design tokens ---------- */
:root {
  --aqua: #18a0c4;
  --aqua-deep: #0f7c9a;
  --foam: #eef6f5;
  --coral: #ff6b5a;
  --coral-deep: #e8543f;
  --sand: #e6c879;
  --navy: #0e2a3a;
  --navy-soft: #14384c;

  --bg: var(--foam);
  --surface: #ffffff;
  --surface-2: #f6fbfb;
  --ink: var(--navy);
  --ink-soft: #436073;
  --line: #d6e7e8;
  --line-soft: #e7f1f1;
  --shadow-sm: 0 2px 8px rgba(14, 42, 58, .06);
  --shadow-md: 0 14px 40px rgba(14, 42, 58, .12);
  --shadow-lg: 0 30px 70px rgba(14, 42, 58, .18);
  --shadow-coral: 0 12px 28px rgba(255, 107, 90, .35);
  --shadow-aqua: 0 12px 28px rgba(24, 160, 196, .35);

  --grad-sea: linear-gradient(135deg, #18a0c4 0%, #0f7c9a 55%, #0e2a3a 100%);
  --grad-foam: linear-gradient(180deg, #eef6f5 0%, #ffffff 100%);
  --grad-sun: linear-gradient(120deg, #ff6b5a 0%, #e6c879 100%);
  --grad-lagoon: linear-gradient(160deg, #18a0c4 0%, #1bbfd6 40%, #5fd6cf 100%);

  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 26px;
  --r-pill: 999px;

  --sp-1: 8px;  --sp-2: 16px; --sp-3: 24px; --sp-4: 32px;
  --sp-5: 48px; --sp-6: 64px; --sp-7: 96px; --sp-8: 128px;

  --container: 1180px;
  --font-display: "Unbounded", system-ui, sans-serif;
  --font-body: "Mulish", system-ui, -apple-system, sans-serif;

  --header-h: 76px;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

/* ---------- Night lagoon (dark) theme ---------- */
html.theme-night {
  --bg: #07181f;
  --surface: #0e2a3a;
  --surface-2: #102f41;
  --ink: #eaf6f7;
  --ink-soft: #9cc3cf;
  --line: #1c4055;
  --line-soft: #163445;
  --foam: #0e2a3a;
  --grad-foam: linear-gradient(180deg, #07181f 0%, #0e2a3a 100%);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, .35);
  --shadow-md: 0 14px 40px rgba(0, 0, 0, .45);
  --shadow-lg: 0 30px 70px rgba(0, 0, 0, .55);
}

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

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  transition: background .4s var(--ease), color .4s var(--ease);
}

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

::selection { background: var(--coral); color: #fff; }
:focus-visible { outline: 3px solid var(--aqua); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; line-height: 1.05; letter-spacing: -.01em; color: var(--ink); }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--sp-3); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-weight: 600; font-size: .95rem;
  padding: 14px 26px; border-radius: var(--r-pill);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease);
  white-space: nowrap; position: relative;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: var(--coral); color: #fff; box-shadow: var(--shadow-coral); }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 18px 36px rgba(255,107,90,.45); }
.btn-secondary { background: var(--surface); color: var(--ink); box-shadow: var(--shadow-sm); border: 1.5px solid var(--line); }
.btn-secondary:hover { transform: translateY(-3px); border-color: var(--aqua); color: var(--aqua-deep); }
.btn-aqua { background: var(--aqua); color: #fff; box-shadow: var(--shadow-aqua); }
.btn-aqua:hover { transform: translateY(-3px); box-shadow: 0 18px 36px rgba(24,160,196,.45); }
.btn-ghost { background: rgba(255,255,255,.14); color: #fff; border: 1.5px solid rgba(255,255,255,.4); backdrop-filter: blur(6px); }
.btn-ghost:hover { background: rgba(255,255,255,.24); transform: translateY(-3px); }
.btn-block { width: 100%; justify-content: center; }
.btn-lg { padding: 17px 34px; font-size: 1.05rem; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--header-h);
  display: flex; align-items: center;
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  backdrop-filter: blur(14px) saturate(140%);
  transition: box-shadow .3s var(--ease), background .3s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.scrolled { box-shadow: var(--shadow-md); border-bottom-color: var(--line-soft); }
.header-inner { display: flex; align-items: center; justify-content: space-between; width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--sp-3); }

.brand { display: flex; align-items: center; gap: 11px; font-family: var(--font-display); font-weight: 700; font-size: 1.22rem; letter-spacing: -.02em; color: var(--ink); }
.brand .mark { width: 40px; height: 40px; flex: none; }
.brand .mark-wave { transform-origin: center; animation: bob 4s ease-in-out infinite; }
@keyframes bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-2px); } }
.brand small { display: block; font-family: var(--font-body); font-weight: 600; font-size: .58rem; letter-spacing: .22em; text-transform: uppercase; color: var(--aqua-deep); margin-top: 1px; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav a { font-weight: 700; font-size: .92rem; padding: 9px 14px; border-radius: var(--r-pill); color: var(--ink-soft); transition: color .2s, background .2s; position: relative; }
.nav a:hover { color: var(--ink); background: var(--surface-2); }
.nav a.active { color: var(--aqua-deep); }
.nav a.active::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 3px; height: 3px; border-radius: 3px; background: var(--coral); }

.header-actions { display: flex; align-items: center; gap: 10px; }

/* Theme toggle */
.theme-toggle {
  width: 46px; height: 46px; border-radius: var(--r-pill);
  display: grid; place-items: center; color: var(--ink);
  border: 1.5px solid var(--line); background: var(--surface);
  transition: transform .3s var(--ease), color .2s, border-color .2s;
}
.theme-toggle:hover { transform: rotate(18deg) scale(1.05); border-color: var(--aqua); color: var(--aqua-deep); }
.theme-toggle svg { width: 21px; height: 21px; }
.theme-toggle .icon-moon { display: none; }
html.theme-night .theme-toggle .icon-sun { display: none; }
html.theme-night .theme-toggle .icon-moon { display: block; }

.nav-toggle { display: none; width: 46px; height: 46px; border-radius: var(--r-sm); flex-direction: column; gap: 5px; align-items: center; justify-content: center; border: 1.5px solid var(--line); background: var(--surface); }
.nav-toggle span { width: 22px; height: 2.5px; background: var(--ink); border-radius: 3px; transition: transform .3s var(--ease), opacity .3s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ---------- Sections ---------- */
main { padding-top: var(--header-h); }
.section { padding-block: var(--sp-7); position: relative; }
.section-tight { padding-block: var(--sp-6); }
.kicker { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-display); font-weight: 600; font-size: .76rem; letter-spacing: .18em; text-transform: uppercase; color: var(--aqua-deep); margin-bottom: var(--sp-2); }
.kicker::before { content: ""; width: 26px; height: 3px; border-radius: 3px; background: var(--coral); }
.section-head { max-width: 680px; margin-bottom: var(--sp-5); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .kicker { justify-content: center; }
.section-head h2 { font-size: clamp(2rem, 4.5vw, 3.1rem); margin-bottom: var(--sp-2); }
.section-head p { color: var(--ink-soft); font-size: 1.08rem; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: calc(100vh - var(--header-h)); display: flex; align-items: center; overflow: hidden; background: var(--grad-foam); }
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg .sun { position: absolute; top: 8%; right: 8%; width: 220px; height: 220px; border-radius: 50%; background: radial-gradient(circle, rgba(230,200,121,.85), rgba(255,107,90,.25) 60%, transparent 72%); filter: blur(2px); animation: sun-pulse 8s ease-in-out infinite; }
@keyframes sun-pulse { 0%,100% { transform: scale(1); opacity: .9; } 50% { transform: scale(1.08); opacity: 1; } }
html.theme-night .hero-bg .sun { background: radial-gradient(circle, rgba(95,214,207,.55), rgba(24,160,196,.2) 60%, transparent 72%); }

.hero-waves { position: absolute; left: 0; right: 0; bottom: 0; height: 46%; z-index: 0; }
.hero-waves svg { position: absolute; bottom: 0; width: 200%; height: 100%; }
.wave-layer-1 { animation: drift 18s linear infinite; opacity: .55; }
.wave-layer-2 { animation: drift 26s linear infinite reverse; opacity: .8; }
.wave-layer-3 { animation: drift 34s linear infinite; opacity: 1; }
@keyframes drift { from { transform: translateX(0); } to { transform: translateX(-50%); } }

.hero .container { position: relative; z-index: 2; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: var(--sp-6); align-items: center; }
.hero-copy { max-width: 600px; }
.hero h1 { font-size: clamp(2.7rem, 7vw, 5.3rem); margin-bottom: var(--sp-3); }
.hero h1 .wave-word { background: var(--grad-sun); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.hero-lead { font-size: 1.22rem; color: var(--ink-soft); margin-bottom: var(--sp-4); max-width: 520px; }
.hero-ctas { display: flex; gap: var(--sp-2); flex-wrap: wrap; }

/* Hero visual — surfer in a barrel */
.hero-visual { position: relative; }
.hero-card { position: relative; aspect-ratio: 5/6; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-lg); background: var(--grad-lagoon); }
.hero-card svg { width: 100%; height: 100%; }
.hero-badge { position: absolute; border-radius: var(--r-md); background: var(--surface); box-shadow: var(--shadow-md); padding: 14px 18px; display: flex; align-items: center; gap: 12px; }
.hero-badge .b-ico { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--grad-sun); color: #fff; flex: none; }
.hero-badge .b-ico svg { width: 22px; height: 22px; }
.hero-badge strong { font-family: var(--font-display); display: block; font-size: 1.15rem; }
.hero-badge span { font-size: .8rem; color: var(--ink-soft); }
.hero-badge.bg-1 { top: 14%; left: -34px; animation: float-y 5s ease-in-out infinite; }
.hero-badge.bg-2 { bottom: 11%; right: -28px; animation: float-y 6s ease-in-out infinite .5s; }
@keyframes float-y { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

/* bubble dots floating */
.bubbles { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.bubble { position: absolute; border-radius: 50%; background: radial-gradient(circle at 30% 30%, rgba(255,255,255,.9), rgba(24,160,196,.25)); animation: rise linear infinite; bottom: -40px; }
@keyframes rise { to { transform: translateY(-115vh); opacity: 0; } }

/* ---------- Tide line divider ---------- */
.tide-divider { position: relative; height: 60px; overflow: hidden; }
.tide-divider svg { position: absolute; width: 100%; height: 100%; }

/* ---------- Trust strip ---------- */
.trust { background: var(--navy); color: #fff; }
html.theme-night .trust { background: #050f14; }
.trust .container { padding-block: var(--sp-4); }
.trust-grid { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: var(--sp-2) var(--sp-5); }
.trust-item { display: flex; align-items: center; gap: 12px; font-weight: 700; font-size: .96rem; color: rgba(255,255,255,.92); }
.trust-item svg { width: 24px; height: 24px; color: var(--sand); flex: none; }

/* ---------- Cards / services ---------- */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: var(--sp-3); }
.card {
  background: var(--surface); border-radius: var(--r-lg); padding: var(--sp-4);
  border: 1px solid var(--line-soft); box-shadow: var(--shadow-sm);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
  position: relative; overflow: hidden; display: flex; flex-direction: column;
}
.card::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 5px; background: var(--grad-lagoon); transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease); }
.card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); border-color: var(--line); }
.card:hover::before { transform: scaleX(1); }
.card-ico { width: 60px; height: 60px; border-radius: 18px; display: grid; place-items: center; margin-bottom: var(--sp-3); background: var(--surface-2); color: var(--aqua-deep); border: 1px solid var(--line-soft); transition: transform .35s var(--ease); }
.card:hover .card-ico { transform: rotate(-6deg) scale(1.05); }
.card-ico svg { width: 30px; height: 30px; }
.card h3 { font-size: 1.32rem; margin-bottom: 8px; }
.card p { color: var(--ink-soft); font-size: .98rem; margin-bottom: var(--sp-3); flex: 1; }
.card-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; }
.card-price { font-family: var(--font-display); font-weight: 700; font-size: 1.5rem; color: var(--ink); }
.card-price .per { font-family: var(--font-body); font-size: .8rem; font-weight: 600; color: var(--ink-soft); }
.card-price .free { color: var(--aqua-deep); }
.card-link { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-display); font-weight: 600; font-size: .9rem; color: var(--coral-deep); transition: gap .25s; }
.card-link:hover { gap: 11px; }
.card-meta { display: inline-flex; align-items: center; gap: 6px; font-size: .82rem; font-weight: 700; color: var(--ink-soft); margin-bottom: var(--sp-2); }
.card-meta svg { width: 15px; height: 15px; color: var(--aqua); }

.badge-popular { position: absolute; top: 16px; right: -34px; transform: rotate(45deg); background: var(--coral); color: #fff; font-family: var(--font-display); font-weight: 600; font-size: .68rem; letter-spacing: .08em; padding: 6px 42px; box-shadow: var(--shadow-sm); }
.card.popular { border-color: var(--coral); box-shadow: var(--shadow-coral); }
.card.popular::before { transform: scaleX(1); background: var(--grad-sun); }

/* ---------- Stats / why us ---------- */
.stats { background: var(--grad-sea); color: #fff; border-radius: var(--r-lg); padding: var(--sp-6) var(--sp-4); position: relative; overflow: hidden; }
.stats::before { content: ""; position: absolute; inset: 0; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100'%3E%3Ccircle cx='20' cy='20' r='2' fill='white' opacity='0.08'/%3E%3Ccircle cx='70' cy='50' r='1.5' fill='white' opacity='0.08'/%3E%3Ccircle cx='40' cy='80' r='2.5' fill='white' opacity='0.06'/%3E%3C/svg%3E"); }
.stats-grid { position: relative; display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: var(--sp-4); text-align: center; }
.stat .num { font-family: var(--font-display); font-weight: 700; font-size: clamp(2.6rem, 6vw, 3.8rem); line-height: 1; display: block; color: var(--sand); }
.stat .label { display: block; margin-top: 10px; font-weight: 700; font-size: .98rem; color: rgba(255,255,255,.9); }

/* ---------- Testimonials ---------- */
.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: var(--sp-3); }
.quote { background: var(--surface); border-radius: var(--r-lg); padding: var(--sp-4); border: 1px solid var(--line-soft); box-shadow: var(--shadow-sm); position: relative; transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.quote:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.quote .stars { display: flex; gap: 3px; margin-bottom: var(--sp-2); color: var(--sand); }
.quote .stars svg { width: 18px; height: 18px; }
.quote p { font-size: 1.05rem; color: var(--ink); margin-bottom: var(--sp-3); }
.quote-author { display: flex; align-items: center; gap: 12px; }
.avatar { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; color: #fff; font-size: 1rem; flex: none; }
.quote-author strong { display: block; font-size: .98rem; }
.quote-author span { font-size: .85rem; color: var(--ink-soft); }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; background: var(--grad-lagoon); border-radius: var(--r-lg); padding: var(--sp-7) var(--sp-4); text-align: center; color: #fff; }
.cta-band h2 { font-size: clamp(2rem, 5vw, 3.2rem); color: #fff; margin-bottom: var(--sp-2); }
.cta-band p { font-size: 1.15rem; color: rgba(255,255,255,.95); margin-bottom: var(--sp-4); max-width: 560px; margin-inline: auto; }
.cta-band .hero-ctas { justify-content: center; }
.cta-band .wave-deco { position: absolute; bottom: 0; left: 0; right: 0; height: 80px; opacity: .5; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: rgba(255,255,255,.78); padding-top: var(--sp-7); position: relative; overflow: hidden; }
html.theme-night .site-footer { background: #050f14; }
.footer-waves { position: absolute; top: 0; left: 0; right: 0; height: 50px; opacity: .3; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: var(--sp-4); position: relative; }
.footer-brand .brand { color: #fff; margin-bottom: var(--sp-2); }
.footer-brand .brand small { color: var(--sand); }
.footer-brand p { font-size: .95rem; max-width: 320px; }
.footer-col h4 { color: #fff; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: var(--sp-2); font-family: var(--font-body); font-weight: 800; }
.footer-col a, .footer-col li { font-size: .95rem; margin-bottom: 10px; transition: color .2s; }
.footer-col a:hover { color: var(--sand); }
.footer-col li { display: flex; gap: 9px; align-items: flex-start; }
.footer-col li svg { width: 17px; height: 17px; color: var(--aqua); flex: none; margin-top: 3px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: var(--sp-6); padding-block: var(--sp-3); display: flex; justify-content: space-between; align-items: center; gap: var(--sp-2); flex-wrap: wrap; font-size: .87rem; }
.footer-bottom .socials { display: flex; gap: 10px; }
.footer-bottom .socials a { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.08); transition: background .2s, transform .2s; }
.footer-bottom .socials a:hover { background: var(--aqua); transform: translateY(-3px); }
.footer-bottom .socials svg { width: 18px; height: 18px; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .08s; }
.reveal[data-delay="2"] { transition-delay: .16s; }
.reveal[data-delay="3"] { transition-delay: .24s; }
.reveal[data-delay="4"] { transition-delay: .32s; }

/* ---------- Sticky mobile book bar ---------- */
.book-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; display: none; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); background: color-mix(in srgb, var(--surface) 92%, transparent); backdrop-filter: blur(14px); border-top: 1px solid var(--line); box-shadow: 0 -8px 28px rgba(14,42,58,.14); transform: translateY(110%); transition: transform .4s var(--ease); }
.book-bar.show { transform: translateY(0); }
.book-bar .bb-info strong { font-family: var(--font-display); display: block; font-size: 1rem; }
.book-bar .bb-info span { font-size: .8rem; color: var(--ink-soft); }

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

/* page hero (inner pages) */
.page-hero { position: relative; padding-block: var(--sp-6) var(--sp-5); overflow: hidden; background: var(--grad-foam); }
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { font-size: clamp(2.3rem, 5.5vw, 3.8rem); margin-bottom: var(--sp-2); max-width: 760px; }
.page-hero p { font-size: 1.15rem; color: var(--ink-soft); max-width: 600px; }
.page-hero .hero-waves { height: 70%; opacity: .7; }

/* services list rows */
.svc-list { display: flex; flex-direction: column; gap: var(--sp-3); }
.svc-row { display: grid; grid-template-columns: 64px 1fr auto; gap: var(--sp-3); align-items: center; background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--r-lg); padding: var(--sp-3) var(--sp-4); box-shadow: var(--shadow-sm); transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s; position: relative; }
.svc-row:hover { transform: translateX(6px); box-shadow: var(--shadow-md); border-color: var(--aqua); }
.svc-row .svc-ico { width: 64px; height: 64px; border-radius: 18px; display: grid; place-items: center; background: var(--surface-2); color: var(--aqua-deep); border: 1px solid var(--line-soft); }
.svc-row .svc-ico svg { width: 32px; height: 32px; }
.svc-row.popular { border-color: var(--coral); box-shadow: var(--shadow-coral); }
.svc-row.popular .svc-ico { background: var(--grad-sun); color: #fff; border: none; }
.svc-body h3 { font-size: 1.3rem; margin-bottom: 4px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.tag { font-family: var(--font-body); font-weight: 800; font-size: .64rem; letter-spacing: .08em; text-transform: uppercase; padding: 4px 10px; border-radius: var(--r-pill); background: var(--coral); color: #fff; }
.tag.free { background: var(--aqua); }
.svc-body p { color: var(--ink-soft); font-size: .97rem; margin-bottom: 6px; }
.svc-body .svc-meta { display: inline-flex; gap: 14px; font-size: .82rem; font-weight: 700; color: var(--ink-soft); }
.svc-body .svc-meta span { display: inline-flex; align-items: center; gap: 5px; }
.svc-body .svc-meta svg { width: 14px; height: 14px; color: var(--aqua); }
.svc-action { text-align: right; display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.svc-action .price { font-family: var(--font-display); font-weight: 700; font-size: 1.7rem; }
.svc-action .price .per { font-family: var(--font-body); font-size: .72rem; font-weight: 600; color: var(--ink-soft); display: block; text-align: right; }
.svc-action .price .free { color: var(--aqua-deep); }

/* about */
.about-story { display: grid; grid-template-columns: 1.1fr .9fr; gap: var(--sp-6); align-items: center; }
.story-visual { aspect-ratio: 4/5; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-lg); background: var(--grad-lagoon); position: relative; }
.story-visual svg { width: 100%; height: 100%; }
.values-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px,1fr)); gap: var(--sp-3); }
.value { background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--r-md); padding: var(--sp-4); box-shadow: var(--shadow-sm); transition: transform .3s var(--ease), box-shadow .3s; }
.value:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.value .v-ico { width: 52px; height: 52px; border-radius: 15px; display: grid; place-items: center; background: var(--grad-lagoon); color: #fff; margin-bottom: var(--sp-2); }
.value .v-ico svg { width: 26px; height: 26px; }
.value h3 { font-size: 1.18rem; margin-bottom: 8px; }
.value p { color: var(--ink-soft); font-size: .95rem; }

.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px,1fr)); gap: var(--sp-3); }
.team-card { text-align: center; background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--r-lg); padding: var(--sp-4); box-shadow: var(--shadow-sm); transition: transform .3s var(--ease), box-shadow .3s; }
.team-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.team-avatar { width: 96px; height: 96px; border-radius: 50%; margin: 0 auto var(--sp-2); display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; font-size: 2rem; color: #fff; box-shadow: var(--shadow-sm); }
.team-card h3 { font-size: 1.2rem; margin-bottom: 2px; }
.team-card .role { color: var(--coral-deep); font-weight: 700; font-size: .88rem; margin-bottom: 10px; }
.team-card p { color: var(--ink-soft); font-size: .92rem; }
.certs { display: flex; flex-wrap: wrap; gap: var(--sp-2); justify-content: center; }
.cert { display: inline-flex; align-items: center; gap: 9px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-pill); padding: 11px 20px; font-weight: 700; font-size: .9rem; box-shadow: var(--shadow-sm); }
.cert svg { width: 20px; height: 20px; color: var(--aqua-deep); }

/* gallery */
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 200px; gap: var(--sp-2); }
.tile { position: relative; border-radius: var(--r-md); overflow: hidden; box-shadow: var(--shadow-sm); cursor: pointer; }
.tile svg, .tile .tile-bg { position: absolute; inset: 0; width: 100%; height: 100%; }
.tile .tile-cap { position: absolute; inset: auto 0 0 0; padding: 16px; background: linear-gradient(transparent, rgba(14,42,58,.88)); color: #fff; transform: translateY(8px); opacity: 0; transition: transform .4s var(--ease), opacity .4s var(--ease); z-index: 2; }
.tile:hover .tile-cap { transform: none; opacity: 1; }
.tile .tile-cap strong { font-family: var(--font-display); display: block; font-size: 1.05rem; }
.tile .tile-cap span { font-size: .82rem; color: rgba(255,255,255,.85); }
.tile::after { content: ""; position: absolute; inset: 0; background: rgba(14,42,58,0); transition: background .4s; z-index: 1; }
.tile:hover::after { background: rgba(14,42,58,.18); }
.tile.wide { grid-column: span 2; }
.tile.tall { grid-row: span 2; }

/* contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: var(--sp-5); align-items: start; }
.contact-methods { display: flex; flex-direction: column; gap: var(--sp-2); margin-bottom: var(--sp-4); }
.contact-method { display: flex; gap: 16px; align-items: center; background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--r-md); padding: var(--sp-3); box-shadow: var(--shadow-sm); transition: transform .3s var(--ease), border-color .3s; }
.contact-method:hover { transform: translateX(5px); border-color: var(--aqua); }
.contact-method .cm-ico { width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; background: var(--grad-lagoon); color: #fff; flex: none; }
.contact-method .cm-ico svg { width: 24px; height: 24px; }
.contact-method strong { display: block; font-family: var(--font-display); font-size: 1.02rem; }
.contact-method span, .contact-method a { color: var(--ink-soft); font-size: .94rem; }
.contact-method a:hover { color: var(--aqua-deep); }

.hours-table { width: 100%; border-collapse: collapse; background: var(--surface); border-radius: var(--r-md); overflow: hidden; border: 1px solid var(--line-soft); box-shadow: var(--shadow-sm); }
.hours-table th, .hours-table td { padding: 12px 18px; text-align: left; font-size: .94rem; }
.hours-table th { background: var(--surface-2); font-family: var(--font-display); font-weight: 600; font-size: .8rem; letter-spacing: .04em; }
.hours-table tr:not(:last-child) td { border-bottom: 1px solid var(--line-soft); }
.hours-table td:last-child { text-align: right; font-weight: 700; }
.hours-table tr.today td { color: var(--aqua-deep); background: var(--surface-2); }

/* forms */
.form-card { background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--r-lg); padding: var(--sp-5); box-shadow: var(--shadow-md); }
.field { margin-bottom: var(--sp-3); }
.field label { display: block; font-weight: 700; font-size: .88rem; margin-bottom: 7px; }
.field .req { color: var(--coral); }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 15px; font-family: inherit; font-size: 1rem; color: var(--ink);
  background: var(--surface-2); border: 1.5px solid var(--line); border-radius: var(--r-sm);
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--aqua); box-shadow: 0 0 0 4px rgba(24,160,196,.14); background: var(--surface); }
.field input.invalid, .field select.invalid { border-color: var(--coral); box-shadow: 0 0 0 4px rgba(255,107,90,.12); }
.field textarea { resize: vertical; min-height: 130px; }
.field .err { color: var(--coral-deep); font-size: .82rem; margin-top: 6px; font-weight: 700; display: none; }
.field .err.show { display: block; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-2); }
.form-success { display: none; text-align: center; padding: var(--sp-4); }
.form-success.show { display: block; }
.form-success .check { width: 70px; height: 70px; margin: 0 auto var(--sp-2); }

/* map placeholder */
.map-box { position: relative; border-radius: var(--r-lg); overflow: hidden; height: 340px; box-shadow: var(--shadow-md); border: 1px solid var(--line-soft); background: var(--surface-2); }
.map-box svg.map-bg { position: absolute; inset: 0; width: 100%; height: 100%; }
.map-pin { position: absolute; top: 44%; left: 50%; transform: translate(-50%,-100%); width: 52px; height: 52px; color: var(--coral); filter: drop-shadow(0 6px 8px rgba(14,42,58,.3)); animation: pin-bob 2.4s ease-in-out infinite; }
@keyframes pin-bob { 0%,100% { transform: translate(-50%,-100%); } 50% { transform: translate(-50%,-112%); } }
.map-label { position: absolute; bottom: 16px; left: 16px; background: var(--surface); border-radius: var(--r-sm); padding: 10px 16px; box-shadow: var(--shadow-sm); font-weight: 700; font-size: .9rem; display: flex; align-items: center; gap: 8px; }
.map-label svg { width: 16px; height: 16px; color: var(--aqua-deep); }

/* ---------- Memberships (Wave Pass) ---------- */
.tiers-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-3); align-items: stretch; }
.tier { background: var(--surface); border: 1.5px solid var(--line); border-radius: var(--r-lg); padding: var(--sp-5) var(--sp-4); box-shadow: var(--shadow-sm); display: flex; flex-direction: column; transition: transform .35s var(--ease), box-shadow .35s; position: relative; overflow: hidden; }
.tier:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); }
.tier.featured { border-color: var(--coral); box-shadow: var(--shadow-coral); transform: scale(1.02); }
.tier.featured::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 6px; background: var(--grad-sun); }
.tier .tier-name { font-family: var(--font-display); font-weight: 700; font-size: 1.45rem; margin-bottom: 6px; }
.tier .tier-tagline { color: var(--ink-soft); font-size: .9rem; margin-bottom: var(--sp-3); }
.tier .tier-price { font-family: var(--font-display); font-weight: 700; font-size: 3rem; line-height: 1; margin-bottom: 4px; }
.tier .tier-price .per { font-family: var(--font-body); font-size: .9rem; font-weight: 600; color: var(--ink-soft); }
.tier .tier-note { font-size: .82rem; color: var(--ink-soft); margin-bottom: var(--sp-3); }
.tier ul { display: flex; flex-direction: column; gap: 11px; margin-bottom: var(--sp-4); flex: 1; }
.tier li { display: flex; gap: 10px; align-items: flex-start; font-size: .94rem; }
.tier li svg { width: 19px; height: 19px; color: var(--aqua-deep); flex: none; margin-top: 2px; }
.tier li.muted { color: var(--ink-soft); opacity: .55; }
.tier li.muted svg { color: var(--ink-soft); }
.ribbon { position: absolute; top: 18px; right: -36px; transform: rotate(45deg); background: var(--coral); color: #fff; font-family: var(--font-display); font-weight: 600; font-size: .66rem; letter-spacing: .08em; padding: 6px 44px; }

/* comparison table */
.compare-table { width: 100%; border-collapse: collapse; background: var(--surface); border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line-soft); box-shadow: var(--shadow-sm); }
.compare-table th, .compare-table td { padding: 15px 18px; text-align: center; font-size: .94rem; border-bottom: 1px solid var(--line-soft); }
.compare-table th { background: var(--navy); color: #fff; font-family: var(--font-display); font-weight: 600; font-size: .85rem; }
html.theme-night .compare-table th { background: #050f14; }
.compare-table th:first-child, .compare-table td:first-child { text-align: left; font-weight: 700; }
.compare-table tr:last-child td { border-bottom: none; }
.compare-table .yes { color: var(--aqua-deep); }
.compare-table .no { color: var(--line); }
.compare-table .yes svg, .compare-table .no svg { width: 20px; height: 20px; }
.compare-table .featured-col { background: rgba(255,107,90,.06); }

/* perks */
.perks-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(220px,1fr)); gap: var(--sp-3); }
.perk { display: flex; gap: 14px; align-items: flex-start; }
.perk .p-ico { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--grad-lagoon); color: #fff; flex: none; }
.perk .p-ico svg { width: 24px; height: 24px; }
.perk h3 { font-size: 1.08rem; margin-bottom: 5px; }
.perk p { color: var(--ink-soft); font-size: .92rem; }

/* ---------- Checkout ---------- */
.checkout-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: var(--sp-5); align-items: start; }
.checkout-main { display: flex; flex-direction: column; gap: var(--sp-3); }
.panel { background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--r-lg); padding: var(--sp-4); box-shadow: var(--shadow-sm); }
.panel h2 { font-size: 1.3rem; margin-bottom: var(--sp-3); display: flex; align-items: center; gap: 10px; }
.panel h2 .step-n { width: 30px; height: 30px; border-radius: 50%; background: var(--aqua); color: #fff; display: grid; place-items: center; font-size: .92rem; flex: none; }

/* slot pills */
.slot-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(92px,1fr)); gap: 10px; }
.slot { padding: 11px 6px; border-radius: var(--r-sm); border: 1.5px solid var(--line); background: var(--surface-2); text-align: center; font-weight: 700; font-size: .9rem; transition: all .2s; position: relative; }
.slot:hover:not(:disabled) { border-color: var(--aqua); color: var(--aqua-deep); }
.slot.selected { background: var(--aqua); color: #fff; border-color: var(--aqua); box-shadow: var(--shadow-aqua); }
.slot:disabled { opacity: .4; cursor: not-allowed; text-decoration: line-through; }
.slot small { display: block; font-size: .64rem; font-weight: 700; opacity: .75; margin-top: 2px; }

/* pricing toggle (family/group) */
.size-toggle { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: var(--sp-3); }
.size-toggle button { padding: 10px 18px; border-radius: var(--r-pill); border: 1.5px solid var(--line); background: var(--surface-2); font-family: var(--font-display); font-weight: 600; font-size: .85rem; transition: all .2s; }
.size-toggle button.active { background: var(--navy); color: #fff; border-color: var(--navy); }

/* payment tabs */
.pay-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: var(--sp-3); }
.pay-tab { display: inline-flex; align-items: center; gap: 8px; padding: 11px 18px; border-radius: var(--r-sm); border: 1.5px solid var(--line); background: var(--surface-2); font-weight: 700; font-size: .9rem; transition: all .2s; }
.pay-tab.active { border-color: var(--aqua); background: var(--surface); color: var(--aqua-deep); box-shadow: var(--shadow-sm); }
.pay-tab svg { width: 20px; height: 20px; }
.pay-panel { display: none; }
.pay-panel.active { display: block; animation: fade-in .3s var(--ease); }
@keyframes fade-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.redirect-note { display: flex; gap: 14px; align-items: center; padding: var(--sp-3); border-radius: var(--r-md); background: var(--surface-2); border: 1.5px dashed var(--line); }
.redirect-note .rn-ico { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; flex: none; color: #fff; }
.redirect-note .rn-ico svg { width: 26px; height: 26px; }
.redirect-note strong { font-family: var(--font-display); display: block; margin-bottom: 3px; }
.redirect-note span { font-size: .9rem; color: var(--ink-soft); }

/* order summary */
.summary { position: sticky; top: calc(var(--header-h) + 16px); }
.summary-card { background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-md); }
.summary-head { background: var(--grad-sea); color: #fff; padding: var(--sp-4); }
.summary-head .kicker { color: rgba(255,255,255,.85); }
.summary-head .kicker::before { background: var(--sand); }
.summary-head h3 { color: #fff; font-size: 1.4rem; }
.summary-head .svc-dur { font-size: .9rem; color: rgba(255,255,255,.85); margin-top: 4px; }
.summary-body { padding: var(--sp-4); }
.summary-line { display: flex; justify-content: space-between; padding: 9px 0; font-size: .96rem; }
.summary-line.muted { color: var(--ink-soft); }
.summary-line.total { border-top: 2px solid var(--line); margin-top: 8px; padding-top: 16px; font-family: var(--font-display); font-weight: 700; font-size: 1.45rem; }
.promo-row { display: flex; gap: 8px; margin: var(--sp-2) 0; }
.promo-row input { flex: 1; padding: 11px 13px; border: 1.5px solid var(--line); border-radius: var(--r-sm); background: var(--surface-2); font-family: inherit; text-transform: uppercase; font-weight: 700; font-size: .9rem; }
.promo-row button { padding: 11px 18px; border-radius: var(--r-sm); background: var(--navy); color: #fff; font-family: var(--font-display); font-weight: 600; font-size: .85rem; }
.promo-msg { font-size: .84rem; font-weight: 700; margin-bottom: var(--sp-2); display: none; }
.promo-msg.ok { display: block; color: var(--aqua-deep); }
.promo-msg.bad { display: block; color: var(--coral-deep); }

.secure-row { display: flex; align-items: center; gap: 10px; justify-content: center; padding: var(--sp-2); color: var(--ink-soft); font-size: .85rem; font-weight: 700; }
.secure-row svg { width: 18px; height: 18px; color: var(--aqua-deep); }
.badges { display: flex; flex-wrap: wrap; gap: 7px; justify-content: center; padding: 0 var(--sp-4) var(--sp-3); }
.badge-chip { font-size: .68rem; font-weight: 800; letter-spacing: .03em; padding: 5px 11px; border-radius: 6px; background: var(--surface-2); border: 1px solid var(--line); color: var(--ink-soft); }
.demo-note { text-align: center; font-size: .8rem; color: var(--ink-soft); padding: 0 var(--sp-4) var(--sp-4); font-style: italic; }

/* card input live formatting row */
.card-input-wrap { position: relative; }
.card-input-wrap .card-type { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); font-weight: 800; font-size: .72rem; color: var(--aqua-deep); letter-spacing: .04em; }

/* ---------- Success ---------- */
.success-wrap { min-height: calc(100vh - var(--header-h)); display: grid; place-items: center; padding-block: var(--sp-6); background: var(--grad-foam); position: relative; overflow: hidden; }
.success-card { background: var(--surface); border-radius: var(--r-lg); padding: var(--sp-6) var(--sp-5); box-shadow: var(--shadow-lg); max-width: 640px; text-align: center; position: relative; z-index: 2; border: 1px solid var(--line-soft); }
.check-anim { width: 110px; height: 110px; margin: 0 auto var(--sp-3); }
.check-anim circle { fill: none; stroke: var(--aqua); stroke-width: 5; stroke-dasharray: 320; stroke-dashoffset: 320; animation: draw-circle 0.7s var(--ease) forwards; }
.check-anim path { fill: none; stroke: var(--coral); stroke-width: 6; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 80; stroke-dashoffset: 80; animation: draw-check 0.5s var(--ease) 0.5s forwards; }
@keyframes draw-circle { to { stroke-dashoffset: 0; } }
@keyframes draw-check { to { stroke-dashoffset: 0; } }
.success-card h1 { font-size: clamp(2rem,5vw,2.8rem); margin-bottom: var(--sp-2); }
.success-card .lead { color: var(--ink-soft); font-size: 1.1rem; margin-bottom: var(--sp-4); }
.ref-box { display: inline-flex; flex-direction: column; gap: 2px; background: var(--surface-2); border: 1.5px dashed var(--aqua); border-radius: var(--r-md); padding: var(--sp-2) var(--sp-4); margin-bottom: var(--sp-4); }
.ref-box span { font-size: .76rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); }
.ref-box strong { font-family: var(--font-display); font-size: 1.6rem; color: var(--aqua-deep); letter-spacing: .04em; }
.success-summary { background: var(--surface-2); border-radius: var(--r-md); padding: var(--sp-3); margin-bottom: var(--sp-4); text-align: left; }
.success-summary .summary-line.total { font-size: 1.2rem; }
.steps { display: grid; gap: var(--sp-2); text-align: left; margin-bottom: var(--sp-4); }
.step-item { display: flex; gap: 14px; align-items: flex-start; }
.step-item .s-num { width: 36px; height: 36px; border-radius: 50%; background: var(--grad-lagoon); color: #fff; display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; flex: none; }
.step-item strong { display: block; font-family: var(--font-display); font-size: 1rem; margin-bottom: 2px; }
.step-item p { color: var(--ink-soft); font-size: .92rem; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero-grid, .about-story, .contact-grid, .checkout-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 440px; margin-inline: auto; order: -1; }
  .hero-badge.bg-1 { left: 4%; } .hero-badge.bg-2 { right: 4%; }
  .tiers-grid { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; }
  .tier.featured { transform: none; }
  .summary { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 820px) {
  .nav-toggle { display: flex; }
  .nav {
    position: fixed; inset: var(--header-h) 0 auto 0; flex-direction: column; gap: 4px;
    background: var(--surface); padding: var(--sp-3); box-shadow: var(--shadow-lg);
    border-bottom: 1px solid var(--line); transform: translateY(-130%); transition: transform .4s var(--ease);
    align-items: stretch; max-height: calc(100vh - var(--header-h)); overflow-y: auto;
  }
  .nav.open { transform: translateY(0); }
  .nav a { padding: 13px 16px; font-size: 1.02rem; border-radius: var(--r-sm); }
  .nav a.active::after { display: none; }
  .nav a.active { background: var(--surface-2); }
  .book-bar { display: flex; }
  .svc-row { grid-template-columns: 1fr; text-align: left; }
  .svc-row .svc-ico { display: none; }
  .svc-action { align-items: flex-start; }
  .svc-action .price .per { text-align: left; }
  body { padding-bottom: 76px; }
}
@media (max-width: 560px) {
  :root { --sp-7: 64px; }
  .field-row { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; grid-auto-rows: 180px; }
  .tile.wide { grid-column: span 1; }
  .pay-tab span { display: none; }
  .pay-tab { padding: 11px 14px; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-ctas { width: 100%; }
  .hero-ctas .btn { flex: 1; justify-content: center; }
  .compare-table { font-size: .82rem; }
  .compare-table th, .compare-table td { padding: 10px 8px; }
}
