/* =========================================================================
   LOTUS & LANTERN THAI SPA — styles.css
   Upscale traditional Thai massage & wellness spa, Holborn / Bloomsbury, London
   Palette: emerald / silk-cream / lotus blush / ink / brushed-teal
   Fonts: Gilda Display (display) + Hanken Grotesk (body)
   Day + Twilight themes via [data-theme]
   ========================================================================= */

/* ---------- Design tokens (DAY default) ---------- */
:root {
  --emerald: #103a32;
  --emerald-deep: #0a2a24;
  --cream: #f5efe4;
  --cream-soft: #efe7d8;
  --blush: #edb7b0;
  --blush-deep: #d99086;
  --ink: #20221f;
  --teal: #5e9c92;
  --teal-deep: #467a72;
  --gold: #c9a557;

  /* Functional (day) */
  --bg: var(--cream);
  --bg-alt: #efe6d6;
  --surface: #fffdf9;
  --text: #20221f;
  --text-soft: #565a54;
  --line: #ddd2bf;
  --heading: var(--emerald);
  --accent: var(--blush-deep);

  --display: "Gilda Display", "Hoefler Text", Georgia, serif;
  --body: "Hanken Grotesk", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

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

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

  --shadow-sm: 0 2px 12px rgba(16, 58, 50, 0.07);
  --shadow: 0 16px 44px rgba(16, 58, 50, 0.12);
  --shadow-lg: 0 34px 88px rgba(16, 58, 50, 0.2);
  --ring: 0 0 0 3px rgba(217, 144, 134, 0.5);

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

/* ---------- TWILIGHT theme ---------- */
[data-theme="twilight"] {
  --bg: #15211d;
  --bg-alt: #1b2823;
  --surface: #1e2c27;
  --text: #ede6d6;
  --text-soft: #b3bcb3;
  --line: #2e3f38;
  --heading: #f3ece0;
  --accent: #edb7b0;
  --emerald: #0e312a;
  --cream: #15211d;
  --shadow-sm: 0 2px 12px rgba(0, 0, 0, 0.4);
  --shadow: 0 16px 44px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 34px 88px rgba(0, 0, 0, 0.6);
}

/* ---------- 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(--text);
  background: var(--bg);
  line-height: 1.7;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  transition: background 0.4s var(--ease), color 0.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; }
input, select, textarea { font-family: inherit; font-size: inherit; }
ul { list-style: none; padding: 0; }

::selection { background: var(--blush-deep); color: #fff; }

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

/* ---------- Typography ---------- */
h1, h2, h3, h4 { font-family: var(--display); font-weight: 400; line-height: 1.08; color: var(--heading); letter-spacing: -0.005em; }
h1 { font-size: clamp(2.6rem, 6vw, 4.4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.35rem, 2.2vw, 1.65rem); }
h4 { font-size: 1.15rem; }
p { color: var(--text-soft); }

.kicker {
  font-family: var(--body);
  font-weight: 700;
  font-size: 0.76rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--accent);
  display: inline-flex; align-items: center; gap: 12px;
}
.kicker::before { content: ""; width: 28px; height: 1.5px; background: var(--gold); display: inline-block; }
.kicker.center { justify-content: center; }

/* gold-thread divider */
.thread { display: flex; align-items: center; justify-content: center; gap: 14px; margin: var(--s3) 0; }
.thread::before, .thread::after { content: ""; height: 1px; width: 80px; background: linear-gradient(90deg, transparent, var(--gold)); }
.thread::after { background: linear-gradient(90deg, var(--gold), transparent); }
.thread svg { width: 26px; height: 26px; color: var(--gold); }

/* ---------- 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(--text-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 32px; border-radius: var(--radius-pill);
  font-weight: 700; 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: 1.5px solid transparent;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: var(--emerald); color: var(--cream); box-shadow: 0 10px 28px rgba(16, 58, 50, 0.3); }
[data-theme="twilight"] .btn-primary { background: var(--blush); color: var(--emerald-deep); }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 18px 40px rgba(16, 58, 50, 0.42); background: var(--emerald-deep); }
[data-theme="twilight"] .btn-primary:hover { background: var(--blush-deep); }
.btn-secondary { background: transparent; color: var(--heading); border-color: var(--accent); }
.btn-secondary:hover { background: var(--accent); color: #fff; transform: translateY(-3px); }
.btn-ghost { background: rgba(245, 239, 228, 0.1); color: var(--cream); border-color: rgba(245, 239, 228, 0.5); }
.btn-ghost:hover { background: var(--cream); color: var(--emerald); transform: translateY(-3px); }
.btn-gold { background: var(--gold); color: var(--emerald-deep); }
.btn-gold:hover { transform: translateY(-3px); box-shadow: 0 14px 34px rgba(201, 165, 87, 0.4); }
.btn-block { width: 100%; }
.btn-lg { padding: 18px 40px; font-size: 1.05rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: color-mix(in srgb, var(--bg) 72%, transparent);
  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: color-mix(in srgb, var(--bg) 94%, transparent); }
.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.32rem; color: var(--heading); }
.brand .mark { width: 40px; height: 40px; flex: none; }
.brand small { display: block; font-family: var(--body); font-size: 0.58rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--teal); font-weight: 700; 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: 600; font-size: 0.94rem; color: var(--text-soft); transition: color 0.2s, background 0.2s; position: relative; }
.nav-links a:hover { color: var(--heading); background: color-mix(in srgb, var(--teal) 16%, transparent); }
.nav-links a.active { color: var(--heading); }
.nav-links a.active::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 2px; height: 2px; background: var(--gold); border-radius: 2px; }

.header-tools { display: flex; align-items: center; gap: var(--s1); margin-left: var(--s1); }
.theme-toggle {
  width: 44px; height: 44px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: color-mix(in srgb, var(--teal) 16%, transparent);
  color: var(--heading); transition: background 0.2s, transform 0.3s var(--ease);
}
.theme-toggle:hover { transform: rotate(20deg); }
.theme-toggle svg { width: 20px; height: 20px; }
.theme-toggle .sun { display: none; }
[data-theme="twilight"] .theme-toggle .moon { display: none; }
[data-theme="twilight"] .theme-toggle .sun { display: block; }

.hamburger { display: none; width: 46px; height: 46px; border-radius: 12px; align-items: center; justify-content: center; background: color-mix(in srgb, var(--teal) 16%, transparent); }
.hamburger span { display: block; width: 22px; height: 2px; background: var(--heading); 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(--heading); 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(160deg, var(--emerald-deep) 0%, var(--emerald) 60%, #16463b 100%); color: var(--cream); 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.1fr 0.9fr; gap: var(--s7); align-items: center; }
.hero h1 { color: var(--cream); margin: var(--s3) 0; }
.hero h1 .accent { color: var(--blush); font-style: italic; }
.hero .kicker { color: var(--blush); }
.hero .kicker::before { background: var(--gold); }
.hero p { color: rgba(245, 239, 228, 0.85); 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 .n { font-family: var(--display); font-size: 2rem; color: var(--blush); }
.hero-meta .l { font-size: 0.85rem; color: rgba(245, 239, 228, 0.7); letter-spacing: 0.04em; }

.hero-visual { position: relative; aspect-ratio: 4/5; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); border: 1px solid rgba(94, 156, 146, 0.3); }
.hero-visual svg { width: 100%; height: 100%; }
.hero-float-tag { position: absolute; bottom: 18px; left: 18px; right: 18px; background: rgba(10, 42, 36, 0.6); backdrop-filter: blur(8px); border: 1px solid rgba(201, 165, 87, 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(--blush); box-shadow: 0 0 0 5px rgba(237, 183, 176, 0.25); flex: none; animation: pulse 2.6s ease-in-out infinite; }
.hero-float-tag span { font-size: 0.9rem; color: var(--cream); font-weight: 600; }
@keyframes pulse { 0%,100% { box-shadow: 0 0 0 4px rgba(237,183,176,0.3);} 50% { box-shadow: 0 0 0 10px rgba(237,183,176,0); } }

/* incense smoke animation */
.smoke { transform-origin: center bottom; }
.smoke-1 { animation: drift 8s ease-in-out infinite; }
.smoke-2 { animation: drift 10s ease-in-out infinite 1.4s; }
.smoke-3 { animation: drift 9s ease-in-out infinite 2.8s; }
@keyframes drift { 0% { opacity: 0; transform: translateY(8px) translateX(0) scaleY(0.95);} 30% { opacity: 0.5; } 60% { transform: translateY(-16px) translateX(6px) scaleY(1.08);} 100% { opacity: 0; transform: translateY(-30px) translateX(-4px) scaleY(1.15);} }

/* lantern glow pulse */
.lantern-glow { animation: glow 5s ease-in-out infinite; transform-origin: center; }
@keyframes glow { 0%,100% { opacity: 0.55; } 50% { opacity: 1; } }

/* lotus petal subtle rotate */
.petal-spin { transform-origin: center; animation: spin-slow 40s linear infinite; }
@keyframes spin-slow { to { transform: rotate(360deg); } }

/* ---------- Trust strip ---------- */
.trust { background: var(--emerald); color: var(--cream); padding: var(--s3) 0; }
[data-theme="twilight"] .trust { background: var(--emerald-deep); }
.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, 239, 228, 0.92); }
.trust-item svg { width: 22px; height: 22px; flex: none; color: var(--blush); }

/* ---------- Cards ---------- */
.card { background: var(--surface); 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(--teal); }

.svc-card { display: flex; flex-direction: column; }
.svc-icon { width: 60px; height: 60px; border-radius: 50%; background: linear-gradient(140deg, color-mix(in srgb, var(--teal) 25%, transparent), color-mix(in srgb, var(--blush) 30%, transparent)); display: flex; align-items: center; justify-content: center; margin-bottom: var(--s3); }
.svc-icon svg { width: 30px; height: 30px; color: var(--heading); }
.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(--heading); }
.svc-price small { font-family: var(--body); font-size: 0.8rem; color: var(--text-soft); font-weight: 600; }
.svc-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--accent); 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(--gold); color: var(--emerald-deep); 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(201,165,87,0.4); }

/* ---------- Stats ---------- */
.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(--accent); line-height: 1; }
.stat .l { margin-top: var(--s1); font-weight: 700; color: var(--heading); }
.stat .d { font-size: 0.9rem; color: var(--text-soft); margin-top: 4px; }

/* ---------- Testimonials ---------- */
.quote { background: var(--surface); 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(--blush); line-height: 0.5; height: 28px; display: block; }
.quote p { color: var(--text); 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: #fff; flex: none; }
.avatar.a1 { background: linear-gradient(135deg, var(--emerald), var(--teal)); }
.avatar.a2 { background: linear-gradient(135deg, var(--blush-deep), var(--blush)); }
.avatar.a3 { background: linear-gradient(135deg, var(--teal-deep), var(--emerald)); }
.avatar.a4 { background: linear-gradient(135deg, var(--gold), var(--blush-deep)); }
.who .name { font-weight: 700; color: var(--heading); font-size: 0.95rem; }
.who .area { font-size: 0.85rem; color: var(--text-soft); }
.stars { color: var(--gold); letter-spacing: 2px; margin-bottom: 4px; font-size: 0.9rem; }

/* ---------- CTA band ---------- */
.cta-band { position: relative; background: linear-gradient(135deg, var(--emerald-deep), #17473c); color: var(--cream); 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(237,183,176,0.32), transparent 45%), radial-gradient(circle at 88% -20%, rgba(201,165,87,0.28), transparent 45%); }
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { color: var(--cream); }
.cta-band p { color: rgba(245,239,228,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(--emerald-deep); color: rgba(245,239,228,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(--cream); margin-bottom: var(--s2); }
.footer-brand p { color: rgba(245,239,228,0.6); font-size: 0.95rem; max-width: 34ch; }
.footer-col h4 { color: var(--cream); 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,239,228,0.7); font-size: 0.95rem; padding: 5px 0; transition: color 0.2s; }
.footer-col a:hover { color: var(--blush); }
.footer-hours { display: flex; justify-content: space-between; font-size: 0.9rem; padding: 5px 0; border-bottom: 1px dashed rgba(245,239,228,0.14); }
.footer-hours span:last-child { color: var(--blush); font-weight: 700; }
.footer-bottom { margin-top: var(--s7); padding-top: var(--s3); border-top: 1px solid rgba(245,239,228,0.12); display: flex; justify-content: space-between; align-items: center; gap: var(--s2); flex-wrap: wrap; font-size: 0.85rem; color: rgba(245,239,228,0.5); }
.footer-bottom .socials { display: flex; gap: 10px; }
.footer-bottom .socials a { width: 36px; height: 36px; border-radius: 50%; background: rgba(245,239,228,0.08); display: flex; align-items: center; justify-content: center; transition: background 0.2s, transform 0.2s; }
.footer-bottom .socials a:hover { background: var(--blush-deep); transform: translateY(-2px); }
.footer-bottom .socials svg { width: 17px; height: 17px; color: var(--cream); }

/* ---------- Page hero ---------- */
.page-hero { background: linear-gradient(160deg, var(--emerald-deep), var(--emerald)); color: var(--cream); 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(--cream); margin: var(--s2) 0; max-width: 18ch; }
.page-hero p { color: rgba(245,239,228,0.85); max-width: 56ch; font-size: 1.15rem; }
.breadcrumb { font-size: 0.85rem; color: rgba(245,239,228,0.6); margin-bottom: var(--s3); }
.breadcrumb a:hover { color: var(--blush); }

/* ---------- Services page ---------- */
.svc-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s3); }
.svc-detail { background: var(--surface); 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(--teal); }
.svc-detail.featured { border-color: var(--gold); box-shadow: 0 18px 50px rgba(201,165,87,0.18); }
.svc-detail .dur { display: inline-flex; align-items: center; gap: 6px; font-size: 0.82rem; font-weight: 700; color: var(--teal-deep); background: color-mix(in srgb, var(--teal) 16%, transparent); 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(--heading); line-height: 1; }
.price-big small { font-family: var(--body); font-size: 0.8rem; color: var(--text-soft); font-weight: 600; display: block; margin-top: 4px; }
.price-free { color: var(--teal-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(--text-soft); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-pill); padding: 10px 18px; }
.svc-note svg { width: 18px; height: 18px; color: var(--teal-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(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); }
.value .vnum { font-family: var(--display); font-size: 1.4rem; color: var(--accent); }
.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(--surface); 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: #fff; }
.team-card h3 { font-size: 1.2rem; }
.team-card .role { color: var(--accent); 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(--surface); border: 1px solid var(--line); border-radius: var(--radius-pill); padding: 12px 22px; font-weight: 700; font-size: 0.9rem; color: var(--heading); }
.cert-chip svg { width: 20px; height: 20px; color: var(--teal-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,42,36,0.85) 0%, rgba(10,42,36,0.12) 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(--cream); font-size: 1.15rem; }
.tile-cap span { color: var(--blush); 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(--surface); 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(--teal); transform: translateX(4px); }
.method .mi { width: 48px; height: 48px; border-radius: 50%; background: linear-gradient(140deg, color-mix(in srgb, var(--teal) 25%, transparent), color-mix(in srgb, var(--blush) 30%, transparent)); display: flex; align-items: center; justify-content: center; flex: none; }
.method .mi svg { width: 24px; height: 24px; color: var(--heading); }
.method .ml { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--text-soft); font-weight: 800; }
.method .mv { font-weight: 700; color: var(--heading); }

.hours-table { width: 100%; background: var(--surface); 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(--heading); }
.hours-table td:last-child { text-align: right; color: var(--text-soft); }
.hours-table tr.today { background: color-mix(in srgb, var(--teal) 14%, transparent); }
.hours-table tr.today td:last-child { color: var(--teal-deep); font-weight: 800; }

/* ---------- Forms ---------- */
.form-card { background: var(--surface); 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(--heading); margin-bottom: 7px; }
.field label .req { color: var(--accent); }
.field input, .field select, .field textarea { width: 100%; padding: 13px 16px; border: 1.5px solid var(--line); border-radius: var(--radius); background: var(--bg); color: var(--text); transition: border-color 0.2s, box-shadow 0.2s; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 4px color-mix(in srgb, var(--teal) 22%, transparent); }
.field textarea { resize: vertical; min-height: 120px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s2); }
.field .err { color: var(--blush-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(--blush-deep); }
.field.invalid .err { display: block; }
.form-success { display: none; align-items: center; gap: 12px; background: color-mix(in srgb, var(--teal) 18%, transparent); border: 1.5px solid var(--teal); color: var(--heading); 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(--teal-deep); flex: none; }

/* ---------- Map ---------- */
.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(--blush-deep); filter: drop-shadow(0 6px 10px rgba(16,58,50,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(--surface); 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(--heading); font-family: var(--display); }
.map-card span { font-size: 0.85rem; color: var(--text-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(--surface); 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(--emerald); color: var(--cream); font-family: var(--display); font-size: 0.95rem; margin-right: 10px; }
[data-theme="twilight"] .panel .step-n { background: var(--blush); color: var(--emerald-deep); }
.panel-head { display: flex; align-items: center; margin-bottom: var(--s3); }

.slot-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(108px, 1fr)); gap: 10px; }
.slot { position: relative; padding: 12px 8px; border: 1.5px solid var(--line); border-radius: var(--radius); background: var(--bg); text-align: center; font-weight: 700; font-size: 0.9rem; color: var(--heading); transition: border-color 0.2s, background 0.2s, transform 0.15s; }
.slot small { display: block; font-size: 0.68rem; font-weight: 600; color: var(--text-soft); margin-top: 2px; }
.slot:hover:not(:disabled) { border-color: var(--teal); transform: translateY(-2px); }
.slot.selected { border-color: var(--gold); background: color-mix(in srgb, var(--gold) 14%, transparent); color: var(--heading); }
.slot:disabled { opacity: 0.4; cursor: not-allowed; text-decoration: line-through; }
.slot .few { position: absolute; top: -8px; right: -6px; background: var(--blush-deep); color: #fff; font-size: 0.58rem; padding: 2px 6px; border-radius: var(--radius-pill); font-weight: 800; }
.therapist-name { display: block; font-size: 0.62rem; color: var(--teal-deep); font-weight: 700; margin-top: 1px; }

.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(--bg); font-weight: 700; font-size: 0.9rem; color: var(--heading); transition: all 0.2s; }
.pill:hover { border-color: var(--teal); }
.pill.selected { background: var(--emerald); color: var(--cream); border-color: var(--emerald); }
[data-theme="twilight"] .pill.selected { background: var(--blush); color: var(--emerald-deep); border-color: var(--blush); }

.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(--bg); font-weight: 700; font-size: 0.88rem; color: var(--text-soft); display: flex; align-items: center; justify-content: center; gap: 8px; transition: all 0.2s; }
.pay-tab:hover { border-color: var(--teal); }
.pay-tab.active { border-color: var(--emerald); background: var(--emerald); color: var(--cream); }
[data-theme="twilight"] .pay-tab.active { background: var(--blush); color: var(--emerald-deep); }
.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(--teal); border-radius: var(--radius); color: var(--text); }
.redirect-note svg { width: 30px; height: 30px; color: var(--teal-deep); flex: none; }

.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(--heading); font-size: 0.95rem; }
.toggle-row .tl small { display: block; font-weight: 500; color: var(--text-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: #fff; 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(--blush-deep); }
.switch input:checked + .track::before { transform: translateX(22px); }
.switch input:focus-visible + .track { box-shadow: var(--ring); }

.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(--teal-deep); display: block; }
.promo-msg.bad { color: var(--blush-deep); display: block; }

.summary { position: sticky; top: calc(var(--header-h) + 16px); }
.summary-card { background: var(--surface); 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(--text-soft); }
.order-line .lv { font-weight: 700; color: var(--heading); }
.order-line.discount .lv { color: var(--teal-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(--emerald); }
[data-theme="twilight"] .order-total { border-top-color: var(--blush); }
.order-total .tl { font-weight: 800; color: var(--heading); }
.order-total .tv { font-family: var(--display); font-size: 1.9rem; color: var(--heading); }
.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: 50%; background: linear-gradient(140deg, var(--teal), var(--blush)); display: flex; align-items: center; justify-content: center; flex: none; }
.summary-svc .si svg { width: 22px; height: 22px; color: #fff; }
.summary-svc .sn { font-weight: 800; color: var(--heading); font-size: 0.98rem; line-height: 1.2; }
.summary-svc .sd { font-size: 0.82rem; color: var(--text-soft); }

.secure-row { display: flex; align-items: center; gap: 10px; justify-content: center; margin-top: var(--s3); color: var(--text-soft); font-size: 0.85rem; font-weight: 600; }
.secure-row svg { width: 16px; height: 16px; color: var(--teal-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(--text-soft); background: var(--bg); }
.demo-note { text-align: center; font-size: 0.8rem; color: var(--text-soft); margin-top: var(--s2); font-style: italic; }

.spinner { display: none; width: 18px; height: 18px; border: 2.5px solid rgba(245,239,228,0.4); border-top-color: var(--cream); 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(--teal); stroke-width: 4; fill: color-mix(in srgb, var(--teal) 14%, transparent); stroke-dasharray: 326; stroke-dashoffset: 326; animation: draw-circle 0.7s var(--ease) forwards; }
.check-circle .check-mark { stroke: var(--blush-deep); 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(--surface); 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(--text-soft); font-weight: 800; }
.ref-box .rv { font-family: var(--display); font-size: 1.6rem; color: var(--accent); letter-spacing: 0.05em; }

.success-summary { background: var(--surface); 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(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.step-item .sn { width: 40px; height: 40px; border-radius: 50%; background: linear-gradient(140deg, var(--teal), var(--teal-deep)); color: #fff; display: flex; align-items: center; justify-content: center; font-family: var(--display); font-size: 1.1rem; flex: none; }
.step-item h4 { color: var(--heading); 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(--surface); 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(--gold); box-shadow: 0 24px 60px rgba(201,165,87,0.2); }
.tier-badge { position: absolute; top: 18px; right: 18px; background: var(--gold); color: var(--emerald-deep); 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(--text-soft); font-size: 0.92rem; margin-bottom: var(--s3); }
.tier .tier-price { font-family: var(--display); font-size: 3rem; color: var(--heading); line-height: 1; }
.tier .tier-price small { font-family: var(--body); font-size: 0.9rem; color: var(--text-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(--text); }
.tier li svg { width: 19px; height: 19px; color: var(--teal-deep); flex: none; margin-top: 2px; }

/* ---------- FAQ ---------- */
.faq-list { max-width: 800px; margin: 0 auto; display: grid; gap: 12px; }
.faq-item { background: var(--surface); 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: 400; font-size: 1.1rem; color: var(--heading); 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(--accent); 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(--text-soft); font-size: 0.97rem; }
.faq-item.open .faq-a { max-height: 320px; }

/* ---------- 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 { 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(--bg); 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: color-mix(in srgb, var(--teal) 16%, transparent); }
  .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); }
}

@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); }
}
