/* =========================================================
   Mercy Slimcare Clinic – Davao City
   Brand: royal blue + Christmas-glow gold (from the clinic cover)
   ========================================================= */

:root {
  --blue-900: #071a47;
  --blue-800: #0b2a6f;
  --blue-700: #13399a;
  --blue-500: #2f6bff;
  --blue-100: #e7eeff;
  --gold-600: #b8860b;
  --gold-500: #d4a843;
  --gold-300: #f1d58a;
  --gold-100: #fff6dc;

  --bg: #f7f8fc;
  --bg-alt: #ffffff;
  --surface: #ffffff;
  --text: #0f1b3d;
  --muted: #5a6582;
  --line: rgba(15, 27, 61, .1);
  --glass: rgba(255, 255, 255, .72);
  --glass-line: rgba(255, 255, 255, .6);
  --shadow: 0 20px 50px -20px rgba(11, 42, 111, .25);
  --shadow-lg: 0 40px 80px -30px rgba(11, 42, 111, .35);

  --radius: 20px;
  --radius-sm: 12px;
  --font-head: "Playfair Display", Georgia, serif;
  --font-body: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --header-h: 76px;
}

[data-theme="dark"] {
  --bg: #060d24;
  --bg-alt: #0a1533;
  --surface: #0e1b3f;
  --text: #eef2ff;
  --muted: #a3afcf;
  --line: rgba(255, 255, 255, .1);
  --glass: rgba(14, 27, 63, .7);
  --glass-line: rgba(255, 255, 255, .08);
  --shadow: 0 20px 50px -20px rgba(0, 0, 0, .6);
  --shadow-lg: 0 40px 80px -30px rgba(0, 0, 0, .7);
  --blue-100: #15265a;
  --gold-100: #2a2410;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--font-body); color: var(--text); background: var(--bg);
  line-height: 1.65; font-size: 16px; overflow-x: hidden;
  transition: background .4s var(--ease), color .4s var(--ease);
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.15; margin: 0 0 .5em; font-weight: 600; letter-spacing: -.01em; }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }
em { font-style: italic; color: var(--gold-600); }
[data-theme="dark"] em { color: var(--gold-300); }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--gold-500); outline-offset: 3px; border-radius: 6px; }
svg { width: 1em; height: 1em; }

.container { width: min(1200px, 100% - 32px); margin-inline: auto; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--gold-500); color: #000; padding: 8px 14px; border-radius: 8px; z-index: 200; }
.skip-link:focus { left: 8px; }
.eyebrow { font-size: .78rem; letter-spacing: .22em; text-transform: uppercase; font-weight: 700; color: var(--blue-700); margin-bottom: .8em; }
[data-theme="dark"] .eyebrow { color: var(--gold-300); }
.fine { font-size: .85rem; color: var(--muted); }
.opt { color: var(--muted); font-weight: 400; font-size: .85em; }

.section { padding: clamp(72px, 10vw, 130px) 0; position: relative; }
.section__head { text-align: center; max-width: 680px; margin: 0 auto 56px; }
.section__head p:last-child { color: var(--muted); }

.glass {
  background: var(--glass); backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4);
  border: 1px solid var(--glass-line); border-radius: var(--radius); box-shadow: var(--shadow-lg);
}

/* ---------- Buttons ---------- */
.btn {
  --b: var(--blue-800);
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: .85em 1.5em; border-radius: 999px; border: 0; cursor: pointer;
  font-weight: 700; font-size: .95rem; text-decoration: none; white-space: nowrap;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), background .3s;
  position: relative; overflow: hidden; isolation: isolate;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn--lg { padding: 1.05em 1.9em; font-size: 1rem; }
.btn--block { width: 100%; }
.btn--primary { background: linear-gradient(135deg, var(--blue-700), var(--blue-800)); color: #fff; box-shadow: 0 12px 30px -12px rgba(19, 57, 154, .7); }
.btn--gold { background: linear-gradient(135deg, #f6dc8c, var(--gold-500) 45%, var(--gold-600)); color: #1b1300; box-shadow: 0 12px 30px -12px rgba(184, 134, 11, .8); }
.btn--gold::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.65) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform .8s var(--ease);
}
.btn--gold:hover::after { transform: translateX(120%); }
.btn--ghost { background: transparent; color: var(--text); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn--ghost:hover { box-shadow: inset 0 0 0 1.5px var(--gold-500); }
.btn[disabled] { opacity: .7; pointer-events: none; }

.chip {
  border: 1.5px solid var(--line); background: var(--surface); color: var(--text);
  padding: .55em 1.15em; border-radius: 999px; cursor: pointer; font-weight: 600; font-size: .9rem;
  transition: all .25s var(--ease);
}
.chip:hover { border-color: var(--gold-500); }
.chip.is-active { background: var(--blue-800); border-color: var(--blue-800); color: #fff; }
[data-theme="dark"] .chip.is-active { background: var(--gold-500); border-color: var(--gold-500); color: #1b1300; }

.icon-btn {
  width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; cursor: pointer;
  border: 1px solid var(--line); background: var(--surface); color: var(--text);
}
.icon-btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.i-moon { display: none; }
[data-theme="dark"] .i-moon { display: block; }
[data-theme="dark"] .i-sun { display: none; }

/* ---------- Promo ---------- */
.promo { background: linear-gradient(90deg, var(--blue-900), var(--blue-700), var(--blue-900)); color: #fff; font-size: .88rem; position: relative; z-index: 60; }
.promo__inner { display: flex; align-items: center; gap: 12px; padding: 9px 0; }
.promo p { margin: 0; flex: 1; }
.promo strong { color: var(--gold-300); }
.promo__spark { color: var(--gold-300); animation: spin 6s linear infinite; display: inline-block; }
.promo__cta { color: #1b1300; background: var(--gold-300); padding: .3em .9em; border-radius: 999px; text-decoration: none; font-weight: 700; white-space: nowrap; }
.promo__close { background: none; border: 0; color: #fff; font-size: 1.4rem; cursor: pointer; line-height: 1; padding: 0 4px; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Header ---------- */
.header { position: sticky; top: 0; z-index: 50; height: var(--header-h); transition: background .3s, box-shadow .3s, backdrop-filter .3s; }
.header.is-scrolled { background: var(--glass); backdrop-filter: blur(16px) saturate(1.5); -webkit-backdrop-filter: blur(16px) saturate(1.5); box-shadow: 0 1px 0 var(--line), 0 10px 30px -20px rgba(0,0,0,.3); }
.header__inner { display: flex; align-items: center; gap: 24px; height: 100%; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand__mark {
  width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center;
  font-family: var(--font-head); font-weight: 700; font-size: 1.5rem; color: #fff;
  background: linear-gradient(135deg, var(--blue-700), var(--blue-900)); position: relative;
  box-shadow: inset 0 0 0 2px var(--gold-500), 0 8px 20px -8px rgba(11,42,111,.7);
}
.brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.brand__name { font-family: var(--font-head); font-size: 1.35rem; font-weight: 700; letter-spacing: .04em; }
.brand__sub { font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav a:not(.btn) { text-decoration: none; padding: .5em .8em; border-radius: 999px; font-weight: 600; font-size: .92rem; color: var(--muted); transition: color .2s, background .2s; }
.nav a:not(.btn):hover, .nav a.is-current { color: var(--text); background: var(--blue-100); }
.nav__book { margin-left: 8px; padding: .7em 1.3em; }
.header__actions { display: flex; align-items: center; gap: 10px; }
.status { display: inline-flex; align-items: center; gap: 8px; font-size: .8rem; font-weight: 600; padding: .45em .9em; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); white-space: nowrap; }
.status__dot { width: 8px; height: 8px; border-radius: 50%; background: #9aa3b8; }
.status.is-open .status__dot { background: #22c55e; box-shadow: 0 0 0 0 rgba(34,197,94,.6); animation: pulse 2s infinite; }
.status.is-closed .status__dot { background: #ef4444; }
@keyframes pulse { 70% { box-shadow: 0 0 0 8px rgba(34,197,94,0); } 100% { box-shadow: 0 0 0 0 rgba(34,197,94,0); } }
.burger { display: none; flex-direction: column; gap: 4px; }
.burger span { width: 18px; height: 2px; background: currentColor; border-radius: 2px; transition: transform .3s, opacity .3s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; padding: clamp(40px, 7vw, 90px) 0 0; overflow: hidden; margin-top: calc(var(--header-h) * -1); padding-top: calc(var(--header-h) + clamp(40px, 7vw, 90px)); }
.hero__bg { position: absolute; inset: 0; z-index: -1; background: radial-gradient(1200px 600px at 80% 10%, var(--blue-100), transparent 60%), radial-gradient(800px 500px at 0% 90%, var(--gold-100), transparent 60%); }
.hero__bg canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.blob { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .55; animation: float 14s ease-in-out infinite; }
.blob--1 { width: 420px; height: 420px; background: #8fb0ff; top: -80px; right: 8%; }
.blob--2 { width: 320px; height: 320px; background: var(--gold-300); bottom: 40px; left: -60px; animation-delay: -5s; }
.blob--3 { width: 260px; height: 260px; background: #c7b6ff; top: 40%; right: 35%; animation-delay: -9s; opacity: .35; }
[data-theme="dark"] .blob { opacity: .22; }
@keyframes float { 50% { transform: translate(30px, -30px) scale(1.08); } }

.hero__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; padding-bottom: 80px; }
.hero__title { font-size: clamp(2.5rem, 5.6vw, 4.6rem); font-weight: 600; margin-bottom: .45em; }
.hero__title em { font-weight: 500; }
.shine {
  background: linear-gradient(100deg, var(--blue-700) 20%, var(--gold-500) 40%, var(--blue-700) 60%);
  background-size: 250% 100%; -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: shine 6s linear infinite;
}
[data-theme="dark"] .shine { background-image: linear-gradient(100deg, #fff 20%, var(--gold-300) 40%, #fff 60%); }
@keyframes shine { to { background-position: -250% 0; } }
.hero__lead { font-size: 1.1rem; color: var(--muted); max-width: 560px; }
.hero__ctas { display: flex; gap: 14px; flex-wrap: wrap; margin: 30px 0 40px; }
.hero__stats { list-style: none; padding: 0; margin: 0; display: flex; gap: 36px; flex-wrap: wrap; }
.hero__stats li { display: flex; flex-direction: column; }
.hero__stats strong { font-family: var(--font-head); font-size: 2.2rem; color: var(--blue-800); line-height: 1; }
[data-theme="dark"] .hero__stats strong { color: var(--gold-300); }
.hero__stats span { font-size: .85rem; color: var(--muted); margin-top: 6px; }

.hero__visual { position: relative; aspect-ratio: 4/5; max-width: 480px; justify-self: center; width: 100%; }
.portrait { position: absolute; inset: 6% 8%; border-radius: 240px 240px 32px 32px; transform-style: preserve-3d; transition: transform .2s ease-out; }
.portrait__img {
  position: absolute; inset: 0; border-radius: inherit; overflow: hidden;
  /* Drop a photo at assets/img/hero.jpg and it will appear here automatically */
  background:
    url("../img/hero.jpg") center/cover no-repeat,
    radial-gradient(circle at 30% 20%, rgba(255,255,255,.35), transparent 40%),
    linear-gradient(160deg, var(--blue-500), var(--blue-800) 55%, var(--blue-900));
  box-shadow: var(--shadow-lg);
}
.portrait__img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 60%, rgba(7,26,71,.45)); }
.portrait__ring { position: absolute; inset: -14px; border-radius: 260px 260px 44px 44px; border: 2px solid var(--gold-500); opacity: .8; }
.portrait__ring::before { content: ""; position: absolute; inset: -14px; border-radius: inherit; border: 1px dashed var(--gold-300); opacity: .6; }
.portrait__mono { position: absolute; left: 50%; top: 44%; transform: translate(-50%, -50%) translateZ(40px); font-family: var(--font-head); font-size: clamp(7rem, 14vw, 11rem); color: rgba(255,255,255,.92); text-shadow: 0 10px 40px rgba(0,0,0,.25); pointer-events: none; font-weight: 700; }
.portrait.has-photo .portrait__mono { display: none; }

.float-card {
  position: absolute; display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-radius: 16px;
  background: var(--glass); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border: 1px solid var(--glass-line);
  box-shadow: var(--shadow); animation: bob 6s ease-in-out infinite;
}
.float-card b { display: block; font-size: .95rem; }
.float-card small { color: var(--muted); font-size: .78rem; }
.float-card__icon { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: linear-gradient(135deg, var(--gold-300), var(--gold-500)); color: #3a2a00; }
.float-card--a { top: 12%; left: -6%; }
.float-card--b { top: 46%; right: -8%; animation-delay: -2s; }
.float-card--c { bottom: 6%; left: 2%; animation-delay: -4s; }
@keyframes bob { 50% { transform: translateY(-12px); } }

.marquee { border-block: 1px solid var(--line); background: var(--surface); overflow: hidden; padding: 18px 0; }
.marquee__track { display: flex; gap: 28px; width: max-content; animation: marquee 30s linear infinite; font-family: var(--font-head); font-size: 1.3rem; font-style: italic; color: var(--muted); }
.marquee__track span:nth-child(even) { color: var(--gold-500); font-style: normal; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Why ---------- */
.why__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.why-card { background: var(--surface); padding: 32px 26px; border-radius: var(--radius); border: 1px solid var(--line); transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.why-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.why-card__icon { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 18px; background: linear-gradient(135deg, var(--blue-100), transparent); border: 1px solid var(--line); }
.why-card__icon svg { width: 26px; height: 26px; fill: none; stroke: var(--gold-600); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.why-card p { color: var(--muted); margin: 0; font-size: .95rem; }

/* ---------- Services ---------- */
.services { background: var(--bg-alt); }
.filters { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 40px; }
.services__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.svc {
  position: relative; border-radius: var(--radius); padding: 28px; background: var(--surface); border: 1px solid var(--line);
  display: flex; flex-direction: column; cursor: pointer; overflow: hidden; text-align: left;
  transition: transform .45s var(--ease), box-shadow .45s var(--ease), opacity .35s, border-color .3s;
}
.svc::before { content: ""; position: absolute; inset: 0; background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 0%), rgba(212,168,67,.18), transparent 45%); opacity: 0; transition: opacity .3s; pointer-events: none; }
.svc:hover::before { opacity: 1; }
.svc:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: rgba(212,168,67,.5); }
.svc.is-hidden { display: none; }
.svc__icon { font-size: 1.6rem; width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 18px; color: #fff; background: linear-gradient(135deg, var(--blue-700), var(--blue-900)); box-shadow: inset 0 0 0 1.5px rgba(241,213,138,.6); }
.svc__tag { position: absolute; top: 22px; right: 22px; font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-600); background: var(--gold-100); padding: .3em .8em; border-radius: 999px; }
[data-theme="dark"] .svc__tag { color: var(--gold-300); }
.svc p { color: var(--muted); font-size: .95rem; flex: 1; }
.svc__more { font-weight: 700; font-size: .9rem; color: var(--blue-700); display: inline-flex; gap: 6px; align-items: center; }
[data-theme="dark"] .svc__more { color: var(--gold-300); }
.svc:hover .svc__more span { transform: translateX(4px); }
.svc__more span { transition: transform .3s; }

/* ---------- Finder / quiz ---------- */
.finder { background: linear-gradient(160deg, var(--blue-900), var(--blue-800) 60%, #1b3fa6); color: #fff; overflow: hidden; }
.finder::before { content: ""; position: absolute; width: 600px; height: 600px; right: -200px; top: -200px; border-radius: 50%; background: radial-gradient(circle, rgba(212,168,67,.35), transparent 65%); }
.finder .eyebrow { color: var(--gold-300); }
.finder em { color: var(--gold-300); }
.finder__wrap { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: center; position: relative; }
.finder__intro p { color: rgba(255,255,255,.75); }
.ticks { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 10px; }
.ticks li::before { content: "✓"; display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--gold-500); color: #1b1300; font-weight: 700; font-size: .8rem; margin-right: 10px; }
.quiz { padding: 34px; min-height: 420px; color: var(--text); --glass: rgba(255,255,255,.95); }
[data-theme="dark"] .quiz { --glass: rgba(14,27,63,.92); }
.quiz__progress { height: 6px; border-radius: 6px; background: var(--line); overflow: hidden; margin-bottom: 26px; }
.quiz__progress span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--blue-500), var(--gold-500)); transition: width .5s var(--ease); }
.quiz__step { animation: fadeUp .5s var(--ease); }
.quiz__q { font-family: var(--font-head); font-size: 1.6rem; margin-bottom: 6px; }
.quiz__hint { color: var(--muted); font-size: .9rem; margin-bottom: 20px; }
.quiz__opts { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.opt-btn {
  display: flex; align-items: center; gap: 12px; text-align: left; padding: 16px; border-radius: 14px; cursor: pointer;
  border: 1.5px solid var(--line); background: var(--surface); transition: all .25s var(--ease); font-weight: 600;
}
.opt-btn:hover { border-color: var(--gold-500); transform: translateY(-2px); }
.opt-btn .e { font-size: 1.5rem; }
.quiz__back { margin-top: 18px; background: none; border: 0; color: var(--muted); cursor: pointer; font-weight: 600; }
.quiz__result h3 { font-size: 1.7rem; }
.match { display: flex; gap: 14px; align-items: flex-start; padding: 16px; border-radius: 14px; border: 1px solid var(--line); background: var(--surface); margin-bottom: 12px; }
.match__pct { flex: none; width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: .85rem; background: conic-gradient(var(--gold-500) calc(var(--p) * 1%), var(--line) 0); position: relative; }
.match__pct::before { content: ""; position: absolute; inset: 5px; border-radius: 50%; background: var(--surface); }
.match__pct span { position: relative; }
.match b { display: block; }
.match small { color: var(--muted); }
.quiz__actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } }

/* ---------- Results compare ---------- */
.results__grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 56px; align-items: center; }
.results__copy p { color: var(--muted); }
.results__tabs { display: flex; gap: 10px; flex-wrap: wrap; margin: 22px 0 30px; }
.compare { position: relative; aspect-ratio: 4/3; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); user-select: none; touch-action: pan-y; }
.compare__img { position: absolute; inset: 0; background-size: cover; background-position: center; }
.compare__img--before { clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.compare__label { position: absolute; bottom: 18px; padding: .4em 1em; border-radius: 999px; font-weight: 700; font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; backdrop-filter: blur(8px); }
.compare__label--before { left: 18px; background: rgba(0,0,0,.45); color: #fff; }
.compare__label--after { right: 18px; background: rgba(241,213,138,.9); color: #1b1300; }
.compare__handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 3px; background: #fff; transform: translateX(-50%); pointer-events: none; box-shadow: 0 0 20px rgba(0,0,0,.3); }
.compare__handle span { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 52px; height: 52px; border-radius: 50%; background: #fff; color: var(--blue-800); display: grid; place-items: center; font-weight: 700; box-shadow: 0 8px 24px rgba(0,0,0,.3); }
.compare__range { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }
.compare__note { position: absolute; top: 16px; left: 50%; transform: translateX(-50%); font-size: .75rem; background: rgba(0,0,0,.4); color: #fff; padding: .3em .9em; border-radius: 999px; white-space: nowrap; pointer-events: none; }

/* ---------- Process ---------- */
.process { background: var(--bg-alt); }
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: s; position: relative; }
.steps::before { content: ""; position: absolute; top: 34px; left: 8%; right: 8%; height: 2px; background: repeating-linear-gradient(90deg, var(--gold-500) 0 8px, transparent 8px 16px); opacity: .5; }
.step { text-align: center; padding: 0 10px; position: relative; }
.step__num { width: 68px; height: 68px; margin: 0 auto 18px; border-radius: 50%; display: grid; place-items: center; font-family: var(--font-head); font-size: 1.4rem; font-weight: 700; background: var(--surface); border: 2px solid var(--gold-500); color: var(--blue-800); position: relative; box-shadow: 0 0 0 8px var(--bg-alt); }
[data-theme="dark"] .step__num { color: var(--gold-300); }
.step p { color: var(--muted); font-size: .95rem; }

/* ---------- BMI ---------- */
.bmi__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.bmi__copy p { color: var(--muted); }
.bmi__card { padding: 32px; }
.unit-toggle { display: inline-flex; padding: 4px; border-radius: 999px; background: var(--line); margin-bottom: 20px; }
.unit-toggle button { border: 0; background: none; padding: .5em 1.1em; border-radius: 999px; cursor: pointer; font-weight: 600; font-size: .85rem; color: var(--muted); }
.unit-toggle .is-active { background: var(--surface); color: var(--text); box-shadow: 0 2px 8px rgba(0,0,0,.1); }
.bmi__fields { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.bmi__fields[data-units="imperial"] { grid-template-columns: 1fr .7fr 1.2fr; }
.gauge { margin: 26px 0 18px; }
.gauge__bar { height: 12px; border-radius: 12px; position: relative; background: linear-gradient(90deg, #60a5fa 0 20%, #22c55e 20% 45%, #f59e0b 45% 60%, #ef4444 60%); }
.gauge__pin { position: absolute; top: 50%; left: 0; width: 24px; height: 24px; border-radius: 50%; background: var(--surface); border: 4px solid var(--blue-800); transform: translate(-50%, -50%) scale(0); transition: left .7s var(--ease), transform .4s var(--ease); box-shadow: 0 4px 12px rgba(0,0,0,.25); }
.gauge__pin.on { transform: translate(-50%, -50%) scale(1); }
.gauge__labels { display: grid; grid-template-columns: 20% 25% 15% 40%; font-size: .72rem; color: var(--muted); margin-top: 8px; font-weight: 600; }
.bmi__result { display: flex; align-items: baseline; gap: 14px; margin-bottom: 20px; min-height: 56px; }
.bmi__value { font-family: var(--font-head); font-size: 3rem; font-weight: 700; color: var(--blue-800); line-height: 1; }
[data-theme="dark"] .bmi__value { color: var(--gold-300); }
.bmi__cat { font-weight: 600; color: var(--muted); }

/* ---------- Forms ---------- */
label { display: flex; flex-direction: column; gap: 6px; font-weight: 600; font-size: .88rem; margin-bottom: 14px; }
input, select, textarea {
  width: 100%; padding: .85em 1em; border-radius: var(--radius-sm); border: 1.5px solid var(--line);
  background: var(--surface); font-weight: 500; font-size: 1rem; transition: border-color .2s, box-shadow .2s; min-height: 48px;
}
textarea { resize: vertical; min-height: 90px; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--blue-500); box-shadow: 0 0 0 4px rgba(47,107,255,.15); }
.was-validated :invalid { border-color: #ef4444; }
[data-theme="dark"] input, [data-theme="dark"] select, [data-theme="dark"] textarea { color-scheme: dark; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.pick { margin-bottom: 16px; padding: 16px; border-radius: var(--radius-sm); border: 1.5px solid var(--line); background: var(--surface);
  --sp-accent: var(--blue-700); --sp-cell: var(--bg); }
[data-theme="dark"] .pick { --sp-accent: var(--gold-500); }
.pick__label { display: block; font-weight: 600; font-size: .88rem; margin-bottom: 10px; }
.consent { flex-direction: row; align-items: flex-start; gap: 10px; font-weight: 500; font-size: .82rem; color: var(--muted); }
.consent input { width: 18px; height: 18px; min-height: 0; flex: none; margin-top: 2px; accent-color: var(--blue-700); }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
.form-msg { margin: 12px 0 0; font-weight: 600; font-size: .9rem; min-height: 1.4em; text-align: center; }
.form-msg.ok { color: #16a34a; }
.form-msg.err { color: #dc2626; }

/* ---------- Booking ---------- */
.book { background: var(--bg-alt); }
.book__grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 56px; align-items: start; }
.book__info p { color: var(--muted); }
.book__form { padding: 34px; }
.book__contacts { display: grid; gap: 12px; margin-top: 28px; }
.contact-pill { display: flex; align-items: center; gap: 14px; padding: 14px 18px; border-radius: 16px; border: 1px solid var(--line); background: var(--surface); text-decoration: none; transition: transform .3s var(--ease), border-color .3s; min-width: 0; }
.contact-pill:hover { transform: translateX(6px); border-color: var(--gold-500); }
.contact-pill > span { width: 42px; height: 42px; flex: none; border-radius: 12px; display: grid; place-items: center; background: linear-gradient(135deg, var(--gold-300), var(--gold-500)); color: #3a2a00; font-weight: 700; }
.contact-pill div { min-width: 0; }
.contact-pill small { display: block; color: var(--muted); font-size: .78rem; }
.contact-pill b { display: block; overflow-wrap: anywhere; }

/* ---------- FAQ ---------- */
.faq__wrap { max-width: 820px; }
.faq__list { display: grid; gap: 12px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 4px 22px; transition: box-shadow .3s; }
.faq details[open] { box-shadow: var(--shadow); border-color: rgba(212,168,67,.5); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 0; font-weight: 700; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--blue-100); color: var(--blue-800); transition: transform .3s; font-weight: 700; }
[data-theme="dark"] .faq summary::after { color: var(--gold-300); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); padding-bottom: 14px; }

/* ---------- Contact ---------- */
.contact__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 28px; align-items: stretch; }
.contact__card { padding: 36px; }
.contact__list { list-style: none; padding: 0; margin: 20px 0 26px; display: grid; gap: 18px; }
.contact__list li { display: flex; gap: 14px; }
.contact__list b { display: block; font-size: .85rem; color: var(--muted); font-weight: 600; }
.contact__list a { text-decoration: none; font-weight: 600; overflow-wrap: anywhere; }
.contact__list a:hover { color: var(--gold-600); }
.ci { width: 40px; height: 40px; flex: none; border-radius: 12px; display: grid; place-items: center; background: var(--blue-100); color: var(--blue-800); font-weight: 700; }
[data-theme="dark"] .ci { color: var(--gold-300); }
.hours { display: grid; grid-template-columns: auto auto; gap: 2px 18px; font-size: .9rem; font-weight: 500; }
.hours .today { font-weight: 700; color: var(--gold-600); }
.contact__btns { display: flex; gap: 10px; flex-wrap: wrap; }
.map { border-radius: var(--radius); overflow: hidden; min-height: 420px; box-shadow: var(--shadow-lg); border: 1px solid var(--line); background: var(--blue-100); }
.map iframe { width: 100%; height: 100%; min-height: 420px; border: 0; display: block; }
[data-theme="dark"] .map iframe { filter: invert(.9) hue-rotate(180deg) saturate(.8); }

/* ---------- Footer ---------- */
.footer { background: var(--blue-900); color: rgba(255,255,255,.75); padding: 72px 0 0; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1.3fr 1fr; gap: 32px; }
.footer h4 { color: #fff; font-family: var(--font-body); font-size: .8rem; letter-spacing: .18em; text-transform: uppercase; margin-bottom: 16px; }
.footer a { display: block; text-decoration: none; margin-bottom: 8px; overflow-wrap: anywhere; }
.footer a:hover { color: var(--gold-300); }
.brand--light .brand__name { color: #fff; }
.brand--light .brand__sub { color: rgba(255,255,255,.6); }
.footer__tag { margin-top: 18px; max-width: 300px; }
.footer__bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; border-top: 1px solid rgba(255,255,255,.1); margin-top: 48px; padding: 22px 0 calc(22px + env(safe-area-inset-bottom)); font-size: .85rem; }
.footer__bottom p { margin: 0; }

/* ---------- Floating dial ---------- */
.dial { position: fixed; right: 20px; bottom: calc(20px + env(safe-area-inset-bottom)); z-index: 70; display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
.dial__main { width: 60px; height: 60px; border-radius: 50%; border: 0; cursor: pointer; display: grid; place-items: center; color: #1b1300; background: linear-gradient(135deg, #f6dc8c, var(--gold-500), var(--gold-600)); box-shadow: 0 14px 30px -8px rgba(184,134,11,.8); transition: transform .3s var(--ease); }
.dial__main svg { width: 26px; height: 26px; fill: currentColor; }
.dial__main::before { content: ""; position: absolute; width: 60px; height: 60px; border-radius: 50%; border: 2px solid var(--gold-500); animation: ring 2.4s infinite; }
@keyframes ring { from { transform: scale(1); opacity: .8; } to { transform: scale(1.6); opacity: 0; } }
.dial.is-open .dial__main { transform: rotate(135deg); }
.dial__items { display: flex; flex-direction: column; gap: 10px; align-items: flex-end; }
.dial__item { display: flex; align-items: center; gap: 10px; text-decoration: none; opacity: 0; transform: translateY(16px) scale(.8); pointer-events: none; transition: all .3s var(--ease); }
.dial__item:nth-child(2) { transition-delay: .05s; } .dial__item:nth-child(1) { transition-delay: .1s; }
.dial.is-open .dial__item { opacity: 1; transform: none; pointer-events: auto; }
.dial__item svg { width: 48px; height: 48px; padding: 12px; border-radius: 50%; background: var(--blue-800); fill: #fff; box-shadow: var(--shadow); order: 2; }
.dial__item span { background: var(--surface); padding: .35em .9em; border-radius: 999px; font-weight: 600; font-size: .85rem; box-shadow: var(--shadow); }
.to-top { position: fixed; left: 20px; bottom: calc(20px + env(safe-area-inset-bottom)); z-index: 60; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); cursor: pointer; font-size: 1.1rem; box-shadow: var(--shadow); opacity: 0; transform: translateY(20px); pointer-events: none; transition: all .3s var(--ease); }
.to-top.show { opacity: 1; transform: none; pointer-events: auto; }

/* ---------- Modal + toast ---------- */
.modal { border: 0; padding: 0; border-radius: 24px; width: min(560px, calc(100% - 32px)); background: var(--surface); color: var(--text); box-shadow: var(--shadow-lg); }
.modal::backdrop { background: rgba(7,26,71,.55); backdrop-filter: blur(6px); }
.modal[open] { animation: pop .35s var(--ease); }
@keyframes pop { from { opacity: 0; transform: translateY(20px) scale(.96); } }
#modalBody { padding: 34px; }
.modal__close { position: absolute; top: 14px; right: 14px; width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); font-size: 1.3rem; cursor: pointer; }
.modal__hero { height: 120px; margin: -34px -34px 24px; background: linear-gradient(135deg, var(--blue-700), var(--blue-900)); display: grid; place-items: center; font-size: 3rem; color: var(--gold-300); }
.modal ul { padding-left: 1.2em; color: var(--muted); }
.modal__actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 20px; }
.toast { position: fixed; left: 50%; bottom: 30px; transform: translate(-50%, 120px); background: var(--blue-900); color: #fff; padding: .8em 1.4em; border-radius: 999px; font-weight: 600; z-index: 100; transition: transform .4s var(--ease); box-shadow: var(--shadow-lg); max-width: calc(100% - 32px); text-align: center; }
.toast.show { transform: translate(-50%, 0); }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
.nav a, .brand__sub { white-space: nowrap; }
@media (max-width: 1380px) {
  .status { display: none; }
}
@media (max-width: 1100px) {
  .why__grid { grid-template-columns: 1fr 1fr; }
  .services__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 960px) {
  :root { --header-h: 68px; }
  .burger { display: flex; }
  .nav {
    position: fixed; inset: var(--header-h) 0 auto 0; flex-direction: column; align-items: stretch; gap: 4px;
    padding: 16px; background: var(--surface); border-bottom: 1px solid var(--line); box-shadow: var(--shadow-lg);
    transform: translateY(-120%); transition: transform .4s var(--ease); margin: 0; max-height: calc(100vh - var(--header-h)); overflow: auto;
  }
  .nav.open { transform: none; }
  .nav a:not(.btn) { padding: .9em 1em; font-size: 1rem; }
  .nav__book { margin: 8px 0 0; }
  .hero__grid, .finder__wrap, .results__grid, .bmi__grid, .book__grid, .contact__grid { grid-template-columns: 1fr; gap: 40px; }
  .header__actions { margin-left: auto; }
  .hero__visual { max-width: 340px; }
  .hero__grid { padding-bottom: 56px; }
  .steps { grid-template-columns: 1fr 1fr; row-gap: 36px; }
  .steps::before { display: none; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .promo p { font-size: .8rem; }
  .promo__cta { display: none; }
  .brand__sub { display: none; }
  .why__grid, .services__grid, .quiz__opts, .form-row { grid-template-columns: 1fr; }
  .hero__stats { gap: 22px; }
  .hero__stats strong { font-size: 1.8rem; }
  .hero__ctas .btn { width: 100%; }
  .float-card { padding: 8px 12px; }
  .float-card--a { left: 0; } .float-card--b { right: 0; }
  .quiz, .book__form, .bmi__card, .contact__card { padding: 24px 20px; }
  .bmi__fields[data-units="imperial"] { grid-template-columns: 1fr 1fr; }
  .bmi__fields[data-units="imperial"] label:last-child { grid-column: 1 / -1; }
  .footer__grid { grid-template-columns: 1fr; }
  .map, .map iframe { min-height: 320px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
