/* Hosted clinic website — one stylesheet for every clinic. The brand colour arrives at runtime as --brand. */
:root {
  --brand: #4c6db4;
  --on-brand: #fff;
  --brand-50: color-mix(in oklab, var(--brand) 6%, #fff);
  --brand-100: color-mix(in oklab, var(--brand) 13%, #fff);
  --brand-200: color-mix(in oklab, var(--brand) 28%, #fff);
  --brand-300: color-mix(in oklab, var(--brand) 55%, #fff);
  --brand-500: var(--brand);
  --brand-600: color-mix(in oklab, var(--brand) 84%, #0b1220);
  --brand-700: color-mix(in oklab, var(--brand) 66%, #0b1220);
  --brand-900: color-mix(in oklab, var(--brand) 34%, #070b14);
  --brand-text: color-mix(in oklab, var(--brand) 82%, #0b1220); /* brand colour readable on white */
  --ink: #0f1728;
  --ink-2: #3e475c;
  --muted: #687187;
  --line: #e3e7ef;
  --bg: #f6f7fb;
  --card: #fff;
  --ok: #138a52;
  --bad: #c4362c;
  --r-sm: 12px;
  --r: 20px;
  --r-lg: 28px;
  --shadow-sm: 0 1px 2px rgb(15 23 40 / .05), 0 2px 8px rgb(15 23 40 / .04);
  --shadow: 0 2px 4px rgb(15 23 40 / .04), 0 12px 32px -8px rgb(15 23 40 / .12);
  --shadow-lg: 0 30px 60px -20px rgb(15 23 40 / .28);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --font: 'Readex Pro', system-ui, -apple-system, 'Segoe UI', Tahoma, sans-serif;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.7; color: var(--ink); background: var(--bg); overflow-x: hidden; -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button, input, textarea, select { font: inherit; color: inherit; }
h1, h2, h3 { line-height: 1.25; margin: 0; letter-spacing: -.01em; text-wrap: balance; }
p { margin: 0; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.muted { color: var(--muted); }
.skip { position: absolute; inset-inline-start: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px; text-decoration: none; }
.skip:focus { top: 12px; }
:focus-visible { outline: 3px solid color-mix(in oklab, var(--brand) 60%, #fff); outline-offset: 2px; border-radius: 8px; }
[hidden] { display: none !important; }

.wrap { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: 20px; }
@media (max-width: 420px) { .wrap { padding-inline: 16px; } }

/* svg colour hooks (presentation attributes cannot read CSS variables) */
.s-200 { stop-color: var(--brand-200); } .s-300 { stop-color: var(--brand-300); } .s-500 { stop-color: var(--brand-500); } .s-700 { stop-color: var(--brand-700); }
.f-200 { fill: var(--brand-200); } .k-600 { stroke: var(--brand-600); }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 22px; border-radius: 999px; border: 1px solid transparent;
  font-weight: 600; font-size: 1rem; text-decoration: none; cursor: pointer; white-space: nowrap; transition: transform .2s var(--ease), box-shadow .2s var(--ease), background-color .2s; }
.btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.btn svg .fill { fill: currentColor; stroke: none; }
.btn-sm { min-height: 42px; padding: 0 18px; font-size: .95rem; }
.btn-lg { min-height: 56px; padding: 0 28px; font-size: 1.05rem; }
.btn-brand { background: var(--brand); color: var(--on-brand); box-shadow: 0 10px 24px -10px color-mix(in oklab, var(--brand) 80%, transparent); }
.btn-brand:hover { transform: translateY(-2px); box-shadow: 0 16px 30px -12px color-mix(in oklab, var(--brand) 85%, transparent); }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line); box-shadow: var(--shadow-sm); }
.btn-ghost:hover { border-color: var(--brand-300); transform: translateY(-2px); }
.btn-light { background: #fff; color: var(--brand-text); }
.btn-light:hover { transform: translateY(-2px); }
.btn[disabled] { opacity: .6; cursor: progress; transform: none; }
.ico-wa { color: #1fa855; }

/* ---------- header ---------- */
.top { position: sticky; top: 0; z-index: 40; background: color-mix(in oklab, var(--bg) 82%, transparent); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.top.scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 20px -16px rgb(15 23 40 / .4); }
.top-in { display: flex; align-items: center; gap: 20px; height: 70px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; min-width: 0; }
.brand-logo { width: 42px; height: 42px; border-radius: 13px; background: #fff; box-shadow: var(--shadow-sm); border: 1px solid var(--line); display: grid; place-items: center; overflow: hidden; flex: none; }
.brand-logo img { width: 100%; height: 100%; object-fit: contain; }
.brand-name { font-weight: 700; font-size: 1.05rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nav { display: flex; gap: 4px; margin-inline-start: auto; }
.nav a { text-decoration: none; color: var(--ink-2); padding: 8px 12px; border-radius: 999px; font-size: .95rem; transition: background-color .2s, color .2s; }
.nav a:hover { background: var(--brand-50); color: var(--brand-text); }
@media (max-width: 960px) { .nav { display: none; } .top-cta { margin-inline-start: auto; } }
@media (max-width: 420px) { .top-in { height: 62px; gap: 10px; } .brand-logo { width: 38px; height: 38px; border-radius: 11px; } .brand-name { font-size: .98rem; } .top-cta { padding: 0 14px; min-height: 40px; font-size: .9rem; } }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; padding: 56px 0 72px; }
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.blob { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .55; }
.b1 { width: 520px; height: 520px; background: var(--brand-200); top: -180px; inset-inline-end: -140px; }
.b2 { width: 420px; height: 420px; background: color-mix(in oklab, var(--brand-100) 70%, #ffe9d6); bottom: -200px; inset-inline-start: -120px; opacity: .6; }
.grid-dots { position: absolute; inset: 0; background-image: radial-gradient(color-mix(in oklab, var(--brand) 22%, transparent) 1px, transparent 1.4px); background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(ellipse 60% 55% at 70% 40%, #000 0%, transparent 70%); mask-image: radial-gradient(ellipse 60% 55% at 70% 40%, #000 0%, transparent 70%); opacity: .6; }
.hero-in { position: relative; display: grid; grid-template-columns: 1.08fr .92fr; gap: 48px; align-items: center; }
.status-pill { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 12px; background: #fff; border: 1px solid var(--line); border-radius: 999px; font-size: .9rem; color: var(--ink-2); box-shadow: var(--shadow-sm); margin-bottom: 22px; }
.status-pill .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--muted); }
.status-pill.open .dot { background: #1fb36b; box-shadow: 0 0 0 4px rgb(31 179 107 / .16); }
.hero-title { font-size: clamp(2.3rem, 5.4vw, 4.3rem); font-weight: 700; line-height: 1.12; letter-spacing: -.02em; }
.hero-title span { background: linear-gradient(120deg, var(--ink) 30%, var(--brand-600)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-tag { margin-top: 18px; font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--ink-2); max-width: 34em; font-weight: 300; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-points { list-style: none; padding: 0; margin: 30px 0 0; display: flex; flex-wrap: wrap; gap: 10px 22px; color: var(--ink-2); font-size: .95rem; }
.hero-points li { display: flex; align-items: center; gap: 8px; }
.hero-points svg { width: 20px; height: 20px; padding: 3px; border-radius: 50%; background: var(--brand-100); fill: none; stroke: var(--brand-text); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }

.hero-art { position: relative; aspect-ratio: 480 / 520; max-width: 480px; width: 100%; justify-self: center; }
.art { width: 100%; height: 100%; filter: drop-shadow(0 40px 50px color-mix(in oklab, var(--brand) 30%, transparent)); }
.art .tooth { transform-origin: 240px 300px; animation: bob 7s ease-in-out infinite; }
.art .rings { transform-origin: 240px 270px; animation: spin 80s linear infinite; }
.art .spark path { transform-box: fill-box; transform-origin: center; animation: twinkle 3.2s ease-in-out infinite; }
.art .spark path:nth-child(2) { animation-delay: 1.1s; } .art .spark path:nth-child(3) { animation-delay: 2s; }
.float { position: absolute; display: flex; align-items: center; gap: 12px; padding: 12px 16px 12px 14px; background: rgb(255 255 255 / .92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgb(255 255 255 / .9); border-radius: 18px; box-shadow: var(--shadow); max-width: 260px; animation: bob 6s ease-in-out infinite; }
.float small { display: block; font-size: .78rem; color: var(--muted); line-height: 1.3; }
.float b { display: block; font-size: .98rem; line-height: 1.35; font-weight: 600; }
.f-ico { width: 40px; height: 40px; border-radius: 12px; background: var(--brand-100); display: grid; place-items: center; flex: none; }
.f-ico svg { width: 22px; height: 22px; fill: none; stroke: var(--brand-text); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.f1 { top: 16%; inset-inline-start: -6%; }
.f2 { bottom: 20%; inset-inline-end: -8%; animation-delay: -2s; }
.f3 { bottom: 4%; inset-inline-start: 2%; animation-delay: -4s; }
.avatars { display: flex; flex: none; }
.avatars span { width: 34px; height: 34px; border-radius: 50%; border: 2px solid #fff; display: grid; place-items: center; font-size: .8rem; font-weight: 700; color: #fff; background: linear-gradient(140deg, var(--brand-300), var(--brand-700)); }
.avatars span + span { margin-inline-start: -10px; }

@media (max-width: 900px) {
  .hero { padding: 28px 0 48px; }
  .hero-in { grid-template-columns: 1fr; gap: 28px; }
  .hero-art { max-width: 420px; }
  .f1 { inset-inline-start: 0; top: 10%; } .f2 { inset-inline-end: 0; } .f3 { inset-inline-start: 0; }
}
@media (max-width: 520px) {
  .hero-actions .btn { flex: 1 1 100%; }
  .hero-points { flex-direction: column; gap: 8px; }
  .hero-art { max-width: 340px; }
  .float { padding: 9px 12px; gap: 9px; border-radius: 14px; max-width: 220px; }
  .float b { font-size: .88rem; } .float small { font-size: .72rem; }
  .f-ico { width: 34px; height: 34px; border-radius: 10px; } .f-ico svg { width: 19px; height: 19px; }
  .avatars span { width: 28px; height: 28px; font-size: .7rem; }
}

/* ---------- sections ---------- */
.sec { padding: 96px 0; position: relative; }
.sec-tint { background: linear-gradient(180deg, #fff, var(--brand-50)); border-block: 1px solid var(--line); }
.sec-head { max-width: 640px; margin-bottom: 44px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: .88rem; font-weight: 600; color: var(--brand-text); margin-bottom: 10px; }
.eyebrow::before { content: ''; width: 22px; height: 2px; border-radius: 2px; background: currentColor; }
.sec h2 { font-size: clamp(1.75rem, 3.4vw, 2.6rem); font-weight: 700; }
.sec-lead { margin-top: 14px; color: var(--ink-2); font-size: 1.05rem; font-weight: 300; }
@media (max-width: 640px) { .sec { padding: 64px 0; } .sec-head { margin-bottom: 30px; } }

/* treatments */
.tgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: 18px; }
.tcard { position: relative; display: flex; flex-direction: column; gap: 12px; padding: 26px 24px 22px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r);
  text-decoration: none; overflow: hidden; isolation: isolate; transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s; }
.tcard::after { content: ''; position: absolute; z-index: -1; width: 180px; height: 180px; border-radius: 50%; inset-inline-start: -60px; top: -70px; background: radial-gradient(circle, var(--brand-50), transparent 70%); transition: transform .4s var(--ease); }
.tcard:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--brand-200); }
.tcard:hover::after { transform: scale(1.3); }
.t-ico { width: 58px; height: 58px; border-radius: 18px; display: grid; place-items: center; background: var(--brand-50); border: 1px solid var(--brand-100); transition: background .3s, border-color .3s; }
.t-ico svg { width: 30px; height: 30px; fill: none; stroke: var(--brand-text); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; transition: stroke .3s; }
.tcard:hover .t-ico { background: linear-gradient(140deg, var(--brand-300), var(--brand-600)); border-color: transparent; }
.tcard:hover .t-ico svg { stroke: #fff; }
.tcard h3 { font-size: 1.15rem; font-weight: 600; margin-top: 6px; }
.tcard p { color: var(--muted); font-size: .95rem; line-height: 1.7; flex: 1; }
.t-go { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: .92rem; color: var(--brand-text); margin-top: 4px; }
.t-go svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .25s var(--ease); }
.tcard:hover .t-go svg { transform: translateX(-4px); }
@media (max-width: 520px) {
  .tgrid { gap: 12px; }
  .tcard { display: grid; grid-template-columns: auto 1fr; column-gap: 16px; row-gap: 4px; padding: 18px; align-items: start; }
  .t-ico { grid-row: span 3; width: 50px; height: 50px; border-radius: 15px; } .t-ico svg { width: 26px; height: 26px; }
  .tcard h3 { margin-top: 0; font-size: 1.05rem; } .tcard p { font-size: .9rem; }
}

/* steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: s; position: relative; }
.steps li { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 28px 24px; box-shadow: var(--shadow-sm); }
.step-n { position: absolute; top: 18px; inset-inline-end: 22px; font-size: 3rem; font-weight: 700; line-height: 1; color: var(--brand-100); }
.step-ico { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: linear-gradient(140deg, var(--brand-300), var(--brand-600)); box-shadow: 0 10px 20px -10px var(--brand); margin-bottom: 18px; }
.step-ico svg { width: 26px; height: 26px; fill: none; stroke: #fff; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.steps h3 { font-size: 1.15rem; margin-bottom: 6px; }
.steps p { color: var(--muted); font-size: .95rem; }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; gap: 12px; } .steps li { padding: 22px 20px; display: grid; grid-template-columns: auto 1fr; column-gap: 16px; } .step-ico { grid-row: span 2; margin: 0; } }

/* doctors */
.dgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); gap: 18px; }
.dcard { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 14px 14px 22px; text-align: center; transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.dcard:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.d-photo { position: relative; aspect-ratio: 5 / 4; border-radius: 20px; overflow: hidden; background: linear-gradient(160deg, var(--brand-100), var(--brand-300)); margin-bottom: 18px; }
.d-photo svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.d-photo .ini { position: absolute; top: 50%; left: 50%; width: 104px; height: 104px; margin: -52px 0 0 -52px; border-radius: 50%; display: grid; place-items: center; background: #fff;
  font-size: 2.2rem; font-weight: 700; color: var(--brand-text); box-shadow: 0 16px 30px -12px var(--brand-700); }
.d-photo .ini::after { content: ''; position: absolute; inset: -8px; border-radius: 50%; border: 2px solid rgb(255 255 255 / .55); }
.d-badge { position: absolute; bottom: 12px; inset-inline-end: 12px; width: 38px; height: 38px; border-radius: 12px; background: rgb(255 255 255 / .9); display: grid; place-items: center; }
.d-badge svg { position: static; width: 22px; height: 22px; fill: none; stroke: var(--brand-text); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.dcard h3 { font-size: 1.12rem; }
.dcard p { color: var(--muted); font-size: .93rem; margin-top: 2px; }
@media (max-width: 520px) { .d-photo { aspect-ratio: 16 / 9; } .d-photo .ini { width: 88px; height: 88px; margin: -44px 0 0 -44px; font-size: 1.9rem; } }

/* about */
.about { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: center; }
.about-art svg { width: 100%; max-width: 440px; margin-inline: auto; filter: drop-shadow(0 30px 40px color-mix(in oklab, var(--brand) 22%, transparent)); }
.about-copy h2 span { color: var(--brand-text); }
.about-text { margin-top: 16px; color: var(--ink-2); font-size: 1.05rem; display: grid; gap: 12px; }
.pillars { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.pillars li { display: inline-flex; line-height: 1.4; align-items: center; gap: 10px; padding: 8px 16px 8px 10px; background: #fff; border: 1px solid var(--line); border-radius: 999px; font-size: .93rem; font-weight: 500; }
.pillars li > span:first-child { width: 30px; height: 30px; border-radius: 50%; background: var(--brand-100); display: grid; place-items: center; }
.pillars svg { width: 18px; height: 18px; fill: none; stroke: var(--brand-text); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 860px) { .about { grid-template-columns: 1fr; gap: 32px; } .about-art svg { max-width: 340px; } .about-art { order: 2; } }

/* ---------- booking ---------- */
.book-sec { color: #fff; overflow: hidden; background: var(--brand-900); }
.book-bg { position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(60% 70% at 85% 0%, color-mix(in oklab, var(--brand) 70%, transparent), transparent 70%),
              radial-gradient(50% 60% at 0% 100%, color-mix(in oklab, var(--brand-300) 45%, transparent), transparent 70%); }
.book-bg::after { content: ''; position: absolute; inset: 0; background-image: radial-gradient(rgb(255 255 255 / .12) 1px, transparent 1.4px); background-size: 24px 24px;
  -webkit-mask-image: linear-gradient(180deg, #000, transparent 60%); mask-image: linear-gradient(180deg, #000, transparent 60%); }
.book-sec .wrap { position: relative; }
.sec-head-light .eyebrow { color: color-mix(in oklab, var(--brand-200) 60%, #fff); }
.sec-head-light .sec-lead { color: rgb(255 255 255 / .78); }
.book { display: grid; grid-template-columns: 290px 1fr; background: #fff; color: var(--ink); border-radius: var(--r-lg); box-shadow: var(--shadow-lg); overflow: hidden; }
.book-side { background: var(--brand-50); border-inline-end: 1px solid var(--line); padding: 28px 24px; display: flex; flex-direction: column; }
.book-side h3 { font-size: 1.05rem; margin-bottom: 18px; }
.sum { margin: 0; display: grid; gap: 12px; }
.sum div { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 10px 14px; }
.sum dt { font-size: .8rem; color: var(--muted); }
.sum dd { margin: 0; font-weight: 600; min-height: 1.6em; }
.side-note { margin-top: auto; padding-top: 24px; color: var(--muted); font-size: .9rem; }
.side-links { display: flex; gap: 8px; margin-top: 10px; }
.chip-link { flex: 1; text-align: center; padding: 9px 12px; border-radius: 12px; background: #fff; border: 1px solid var(--line); text-decoration: none; font-weight: 600; font-size: .92rem; transition: border-color .2s; }
.chip-link:hover { border-color: var(--brand-300); }
.book-main { padding: 28px 32px 32px; min-width: 0; }
.stepper { list-style: none; padding: 0; margin: 0 0 26px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.stepper li { display: flex; align-items: center; gap: 8px; font-size: .9rem; color: var(--muted); padding-bottom: 12px; border-bottom: 3px solid var(--line); transition: border-color .3s, color .3s; }
.stepper span { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-size: .8rem; font-weight: 700; background: var(--bg); border: 1px solid var(--line); flex: none; }
.stepper li.on { color: var(--ink); border-color: var(--brand); font-weight: 600; }
.stepper li.on span { background: var(--brand); color: var(--on-brand); border-color: transparent; }
.stepper li.done { color: var(--ink-2); border-color: var(--brand-300); }
.stepper li.done span { background: var(--brand-100); color: var(--brand-text); border-color: transparent; }
.book-body { min-height: 260px; }
.bstep-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.bstep-head h3 { font-size: 1.25rem; outline: none; }
.back { display: inline-flex; align-items: center; gap: 4px; background: none; border: 0; padding: 6px 10px; border-radius: 10px; color: var(--brand-text); font-weight: 600; cursor: pointer; font-size: .92rem; flex: none; }
.back:hover { background: var(--brand-50); }
.back svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.picks { display: grid; gap: 10px; }
.picks-t { grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr)); }
.picks-d { grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); }
.picks-h { grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); }
.pick { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 54px; padding: 10px 14px; background: #fff; border: 1.5px solid var(--line); border-radius: 14px; cursor: pointer; text-align: start; font-weight: 500;
  transition: border-color .2s, background-color .2s, transform .2s var(--ease), box-shadow .2s; }
.pick:hover { border-color: var(--brand-300); background: var(--brand-50); }
.pick:active { transform: scale(.98); }
.pick[aria-pressed="true"] { border-color: var(--brand); background: var(--brand-50); box-shadow: 0 0 0 3px var(--brand-100); }
.pick .p-ico { width: 34px; height: 34px; border-radius: 10px; background: var(--brand-50); display: grid; place-items: center; flex: none; }
.pick .p-ico svg { width: 20px; height: 20px; fill: none; stroke: var(--brand-text); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.pick-day { flex-direction: column; gap: 0; text-align: center; justify-content: center; padding: 10px 6px; min-height: 84px; }
.pick-day small { font-size: .78rem; color: var(--muted); }
.pick-day b { font-size: 1.5rem; line-height: 1.2; font-weight: 600; }
.pick-day.today small { color: var(--brand-text); font-weight: 600; }
.pick-time { justify-content: center; font-weight: 600; direction: rtl; }
.slot-group + .slot-group { margin-top: 18px; }
.slot-group h4 { margin: 0 0 10px; font-size: .88rem; color: var(--muted); font-weight: 500; display: flex; align-items: center; gap: 8px; }
.slot-group h4 svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.more { margin-top: 14px; background: none; border: 1px dashed var(--brand-300); color: var(--brand-text); border-radius: 12px; padding: 10px 16px; cursor: pointer; font-weight: 600; width: 100%; }
.more:hover { background: var(--brand-50); }
.note { display: flex; gap: 12px; align-items: flex-start; padding: 16px; border-radius: 14px; background: var(--bg); color: var(--ink-2); }
.note svg { width: 22px; height: 22px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; margin-top: 2px; }
.loading { display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); }
.loading span { height: 54px; border-radius: 14px; background: linear-gradient(90deg, var(--bg), #eef1f7, var(--bg)); background-size: 200% 100%; animation: shimmer 1.2s linear infinite; }

.form { display: grid; gap: 16px; max-width: 560px; }
.field { display: grid; gap: 6px; }
.field > span { font-size: .92rem; font-weight: 500; color: var(--ink-2); }
.field input, .field textarea { width: 100%; min-height: 52px; padding: 12px 16px; border: 1.5px solid var(--line); border-radius: 14px; background: #fff; font-size: 1rem; transition: border-color .2s, box-shadow .2s; }
.field textarea { min-height: 84px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px var(--brand-100); }
.field input[aria-invalid="true"] { border-color: var(--bad); }
.field input[dir="ltr"] { text-align: right; }
.field input[dir="ltr"]:placeholder-shown { text-align: right; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: .92rem; color: var(--ink-2); cursor: pointer; line-height: 1.6; }
.consent input { width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--brand); flex: none; }
.consent a { color: var(--brand-text); font-weight: 600; }
.hp { position: absolute !important; inset-inline-start: -9999px; width: 1px; height: 1px; opacity: 0; }
.err { color: var(--bad); font-size: .93rem; min-height: 1.4em; font-weight: 500; }
.form .btn { justify-self: start; }
.recap { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.recap span { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: var(--brand-50); border: 1px solid var(--brand-100); font-size: .88rem; font-weight: 500; color: var(--brand-text); }

.success { text-align: center; padding: 18px 0 8px; max-width: 520px; margin-inline: auto; }
.done-ico { width: 92px; height: 92px; margin: 0 auto 20px; border-radius: 50%; display: grid; place-items: center; background: color-mix(in oklab, var(--ok) 12%, #fff); position: relative; }
.done-ico::before { content: ''; position: absolute; inset: -10px; border-radius: 50%; border: 2px solid color-mix(in oklab, var(--ok) 25%, #fff); animation: ping 2s var(--ease) infinite; }
.done-ico svg { width: 46px; height: 46px; fill: none; stroke: var(--ok); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.done-ico path { stroke-dasharray: 30; stroke-dashoffset: 30; animation: draw .6s .15s var(--ease) forwards; }
.success h3 { font-size: 1.5rem; outline: none; }
.success > p { color: var(--ink-2); margin-top: 8px; }
.ticket { margin: 22px 0; border: 1.5px dashed var(--brand-300); border-radius: 18px; padding: 18px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; background: var(--brand-50); text-align: center; }
.ticket small { display: block; font-size: .8rem; color: var(--muted); }
.ticket b { font-size: 1rem; }
.done-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.fallback { text-align: center; max-width: 480px; margin-inline: auto; padding: 12px 0; }
.fallback h3 { font-size: 1.25rem; margin-bottom: 8px; outline: none; }
.fallback p { color: var(--ink-2); margin-bottom: 20px; }

@media (max-width: 860px) {
  .book { grid-template-columns: 1fr; }
  .book-side { order: 2; border-inline-end: 0; border-top: 1px solid var(--line); padding: 20px; }
  .book-side h3, .sum { display: none; }
  .side-note { padding-top: 0; margin: 0; }
  .book-main { padding: 22px 18px 24px; }
}
@media (max-width: 520px) {
  .stepper { gap: 4px; margin-bottom: 20px; }
  .stepper li { flex-direction: column; gap: 4px; font-size: .78rem; text-align: center; padding-bottom: 10px; }
  .picks-t { grid-template-columns: 1fr 1fr; }
  .pick { padding: 10px; gap: 8px; font-size: .92rem; }
  .pick .p-ico { width: 30px; height: 30px; }
  .picks-d { grid-template-columns: repeat(4, 1fr); gap: 8px; }
  .picks-h { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .pick-day { min-height: 76px; padding: 8px 2px; } .pick-day b { font-size: 1.3rem; } .pick-day small { font-size: .72rem; }
  .ticket { grid-template-columns: 1fr; text-align: start; }
  .ticket div { display: flex; justify-content: space-between; gap: 12px; }
  .form .btn { justify-self: stretch; }
}

/* ---------- hours + contact ---------- */
.hc { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; align-items: start; }
.hours-card, .contact-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px; box-shadow: var(--shadow-sm); }
.card-head { display: flex; gap: 14px; align-items: center; margin-bottom: 22px; }
.card-head h2 { font-size: 1.4rem; }
.card-head p { font-size: .9rem; }
.ch-ico { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: linear-gradient(140deg, var(--brand-300), var(--brand-600)); flex: none; }
.ch-ico svg { width: 26px; height: 26px; fill: none; stroke: #fff; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.hours { width: 100%; border-collapse: separate; border-spacing: 0 4px; }
.hours th, .hours td { padding: 11px 14px; text-align: start; font-weight: 500; }
.hours th { font-weight: 500; }
.hours td { text-align: end; direction: rtl; font-variant-numeric: tabular-nums; }
.hours tr > * { background: var(--bg); }
.hours tr > :first-child { border-radius: 0 12px 12px 0; }
.hours tr > :last-child { border-radius: 12px 0 0 12px; }
.hours tr.closed td { color: var(--muted); }
.hours tr.today > * { background: var(--brand-50); box-shadow: inset 0 1px 0 var(--brand-100), inset 0 -1px 0 var(--brand-100); }
.hours tr.today th { color: var(--brand-text); font-weight: 700; }
.hours .badge { display: inline-block; margin-inline-start: 8px; padding: 1px 8px; font-size: .72rem; border-radius: 999px; background: var(--brand); color: var(--on-brand); vertical-align: middle; font-weight: 600; }
.clist { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.clist a, .clist .citem { display: flex; align-items: center; gap: 14px; padding: 14px; border-radius: 16px; background: var(--bg); text-decoration: none; transition: background-color .2s, transform .2s var(--ease); }
.clist a:hover { background: var(--brand-50); transform: translateX(-3px); }
.c-ico { width: 44px; height: 44px; border-radius: 14px; background: #fff; display: grid; place-items: center; flex: none; box-shadow: var(--shadow-sm); }
.c-ico svg { width: 22px; height: 22px; fill: none; stroke: var(--brand-text); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.c-ico.wa svg { stroke: #1fa855; } .c-ico.wa svg .fill { fill: #1fa855; stroke: none; }
.clist small { display: block; font-size: .8rem; color: var(--muted); line-height: 1.4; }
.clist b { display: block; font-weight: 600; line-height: 1.5; overflow-wrap: anywhere; }
.clist .go { margin-inline-start: auto; width: 18px; height: 18px; fill: none; stroke: var(--muted); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.socials { display: flex; gap: 10px; margin-top: 16px; }
.socials:empty { display: none; }
.socials a { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; border: 1px solid var(--line); background: #fff; transition: border-color .2s, transform .2s var(--ease); }
.socials a:hover { border-color: var(--brand-300); transform: translateY(-2px); }
.socials svg { width: 22px; height: 22px; fill: none; stroke: var(--ink-2); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 860px) { .hc { grid-template-columns: 1fr; } }
@media (max-width: 420px) { .hours-card, .contact-card { padding: 20px 16px; } .hours th, .hours td { padding: 10px 12px; } }

/* ---------- cta + footer ---------- */
.cta-band { padding: 0 0 96px; }
.cta-in { position: relative; overflow: hidden; display: flex; align-items: center; gap: 24px; padding: 40px 44px; border-radius: var(--r-lg); color: var(--on-brand);
  background: linear-gradient(120deg, var(--brand-600), var(--brand) 55%, var(--brand-300)); box-shadow: 0 30px 60px -30px var(--brand); }
.cta-in > div { flex: 1; position: relative; }
.cta-in h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
.cta-in p { opacity: .85; margin-top: 6px; }
.cta-in .btn { position: relative; }
.cta-art { position: absolute; width: 260px; height: 260px; inset-inline-end: -50px; top: -60px; fill: rgb(255 255 255 / .1); }
@media (max-width: 640px) { .cta-art { display: none; } .cta-band { padding-bottom: 64px; } .cta-in { flex-direction: column; align-items: stretch; text-align: center; padding: 32px 22px; } }
.foot { background: var(--ink); color: rgb(255 255 255 / .82); padding: 48px 0 32px; }
.foot-in { display: grid; grid-template-columns: 1fr auto; gap: 24px 40px; align-items: center; }
.foot-brand { display: flex; align-items: center; gap: 14px; }
.foot-brand b { display: block; color: #fff; font-size: 1.1rem; }
.foot-brand small { display: block; color: rgb(255 255 255 / .6); font-size: .88rem; }
.foot-links { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.foot-links a { text-decoration: none; color: rgb(255 255 255 / .82); }
.foot-links a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.copy { grid-column: 1 / -1; border-top: 1px solid rgb(255 255 255 / .1); padding-top: 22px; font-size: .85rem; color: rgb(255 255 255 / .55); }
@media (max-width: 640px) { .foot-in { grid-template-columns: 1fr; } }

/* mobile booking bar */
.mbar { display: none; }
@media (max-width: 760px) {
  body.has-mbar { padding-bottom: 84px; }
  .mbar { position: fixed; z-index: 45; inset-inline: 16px; bottom: calc(14px + env(safe-area-inset-bottom)); display: flex; align-items: center; justify-content: center; gap: 10px; height: 56px; border-radius: 18px;
    background: var(--brand); color: var(--on-brand); text-decoration: none; font-weight: 600; box-shadow: 0 16px 34px -12px color-mix(in oklab, var(--brand) 80%, #000); transition: transform .3s var(--ease), opacity .3s; }
  .mbar svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
  .mbar.away { transform: translateY(140%); opacity: 0; pointer-events: none; }
}

/* ---------- motion ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
.step-in { animation: stepIn .4s var(--ease); }
@keyframes stepIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes twinkle { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(.6); opacity: .5; } }
@keyframes shimmer { to { background-position: -200% 0; } }
@keyframes ping { 0% { transform: scale(.9); opacity: 1; } 100% { transform: scale(1.25); opacity: 0; } }
@keyframes draw { to { stroke-dashoffset: 0; } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
  .done-ico path { stroke-dashoffset: 0; }
}

/* ---------- privacy page ---------- */
.legal { padding: 48px 0 96px; }
.legal-card { max-width: 820px; margin-inline: auto; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 48px 56px; box-shadow: var(--shadow-sm); }
.legal-hero { max-width: 820px; margin: 0 auto 28px; display: flex; align-items: center; gap: 18px; }
.legal-hero .ch-ico { width: 60px; height: 60px; border-radius: 18px; }
.legal-hero h1 { font-size: clamp(1.8rem, 4vw, 2.5rem); }
.legal-hero p { color: var(--muted); font-size: .92rem; }
.legal-card h2 { font-size: 1.2rem; margin: 34px 0 10px; display: flex; align-items: center; gap: 10px; }
.legal-card h2::before { content: ''; width: 8px; height: 8px; border-radius: 3px; background: var(--brand); flex: none; }
.legal-card h2:first-of-type { margin-top: 24px; }
.legal-card p, .legal-card li { color: var(--ink-2); }
.legal-card p + p { margin-top: 10px; }
.legal-card ul { padding-inline-start: 22px; margin: 8px 0 0; display: grid; gap: 6px; }
.legal-card strong { color: var(--ink); }
.legal-card .intro { font-size: 1.08rem; }
.legal-card a { color: var(--brand-text); }
.callout { margin-top: 12px; padding: 14px 16px; border-radius: 14px; background: var(--brand-50); border: 1px solid var(--brand-100); }
.review-note { margin-top: 36px; padding-top: 18px; border-top: 1px solid var(--line); font-size: .82rem; color: var(--muted) !important; }
.back-home { display: inline-flex; align-items: center; gap: 6px; text-decoration: none; color: var(--brand-text); font-weight: 600; margin-inline-start: auto; }
.back-home svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 640px) { .legal { padding: 28px 0 64px; } .legal-card { padding: 26px 20px; border-radius: var(--r); } .legal-hero { gap: 14px; } .legal-hero .ch-ico { width: 50px; height: 50px; } }
.wl-join { border-style: solid; background: var(--brand-50, transparent); }
.wl-form { margin-top: 10px; }
.wl-form .muted { margin: 0 0 4px; }
.stepper em { font-style: normal; }

/* ---------- language switch ---------- */
.lang-switch { text-decoration: none; font-size: .9rem; font-weight: 600; color: var(--ink-2); padding: 8px 12px; border-radius: 999px; border: 1px solid var(--line); white-space: nowrap; }
.lang-switch:hover { border-color: var(--brand-300); color: var(--brand-text); }
html:not([data-bilingual]) [data-lang-switch] { display: none; }
@media (max-width: 960px) { .top .lang-switch { margin-inline-start: auto; } .top .lang-switch + .top-cta { margin-inline-start: 0; } }
@media (max-width: 420px) { .top .lang-switch { padding: 6px 10px; font-size: .82rem; } }

/* ---------- the clinic's own photographs ---------- */
.hero-photo, .about-photo { margin: 0; position: relative; overflow: hidden; }
.hero-photo img, .about-photo img, .d-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-art.has-photo .art, .about-art.has-photo svg { display: none; }
.hero-photo { position: absolute; inset: 0; border-radius: 240px 240px 28px 28px; box-shadow: 0 40px 70px -30px color-mix(in oklab, var(--brand) 55%, transparent); }
.hero-photo::after { content: ''; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgb(255 255 255 / .35); }
.about-photo { aspect-ratio: 10 / 9; max-width: 440px; margin-inline: auto; border-radius: var(--r-lg); box-shadow: 0 30px 50px -24px color-mix(in oklab, var(--brand) 40%, transparent); }
.dcard.has-photo .d-photo { background: var(--brand-100); }
.dcard.has-photo .d-photo img { position: absolute; inset: 0; }

/* ---------- before / after ---------- */
.cgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 20px; }
.case { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.ba { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--brand-50); --pos: 50%; touch-action: pan-y; }
.ba img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ba-before { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.ba-line { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px; background: #fff; box-shadow: 0 0 0 1px rgb(0 0 0 / .08); pointer-events: none; }
.ba-line span { position: absolute; top: 50%; left: 50%; width: 40px; height: 40px; margin: -20px 0 0 -20px; border-radius: 50%; background: #fff; box-shadow: var(--shadow);
  background-image: linear-gradient(var(--brand-text), var(--brand-text)), linear-gradient(var(--brand-text), var(--brand-text)); background-size: 2px 14px; background-position: 15px 13px, 23px 13px; background-repeat: no-repeat; }
.ba-tag { position: absolute; top: 12px; padding: 4px 10px; border-radius: 999px; font-size: .78rem; font-weight: 600; background: rgb(15 23 40 / .62); color: #fff; pointer-events: none; }
.ba-b { left: 12px; } .ba-a { right: 12px; }
.ba input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; }
.ba input:focus-visible + * , .ba:focus-within .ba-line span { outline: 3px solid color-mix(in oklab, var(--brand) 60%, #fff); }
.case figcaption { padding: 14px 18px 16px; display: grid; gap: 2px; }
.case figcaption small { color: var(--muted); }

/* ---------- map ---------- */
.map { margin-top: 22px; position: relative; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); background: var(--brand-50); }
.map iframe { display: block; width: 100%; height: 340px; border: 0; }
.map-open { position: absolute; bottom: 14px; inset-inline-start: 14px; display: inline-flex; align-items: center; gap: 6px; padding: 9px 14px; border-radius: 999px; background: #fff; box-shadow: var(--shadow);
  text-decoration: none; font-weight: 600; font-size: .9rem; color: var(--ink); }
.map-open svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 520px) { .map iframe { height: 260px; } }

/* ---------- English (left to right) ---------- */
[dir="ltr"] .flip { transform: scaleX(-1); }
[dir="ltr"] .tcard:hover .t-go svg { transform: scaleX(-1) translateX(-4px); }
[dir="ltr"] .field input[dir="ltr"], [dir="ltr"] .field input[dir="ltr"]:placeholder-shown { text-align: left; }
[dir="ltr"] .pick-time { direction: ltr; }
[dir="ltr"] .hero-title { letter-spacing: -.03em; }
[dir="ltr"] .hours td { direction: ltr; }
[dir="ltr"] .hours tr > :first-child { border-radius: 12px 0 0 12px; }
[dir="ltr"] .hours tr > :last-child { border-radius: 0 12px 12px 0; }
[dir="ltr"] .clist a:hover { transform: translateX(3px); }
/* small phones with the language switch: the booking bar at the bottom carries the booking button */
@media (max-width: 480px) { html[data-bilingual] .top .top-cta { display: none; } }
/* card titles inside a section stay card-sized whatever size a theme gives section headings */
.sec .card-head h2 { font-size: 1.45rem; line-height: 1.3; }

/* ---------- articles and activities ---------- */
.sec-head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; max-width: none; flex-wrap: wrap; }
.more-link { font-weight: 600; color: var(--brand-text); text-decoration: none; border-bottom: 2px solid var(--brand-100); }
.more-link:hover { border-color: var(--brand); }
[dir="ltr"] .more-link { direction: ltr; }
.argrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 18px; }
.arcard { display: flex; flex-direction: column; gap: 8px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; text-decoration: none;
  padding-bottom: 20px; text-align: right; transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.arcard:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.arcard img, .arcard-noimg { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; }
.arcard-noimg { background: linear-gradient(135deg, var(--brand-100), var(--brand-200)); }
.arcard-meta, .arcard h3, .arcard p { padding-inline: 20px; }
.arcard-meta { font-size: .85rem; color: var(--muted); margin-top: 6px; }
.arcard-meta b { color: var(--brand-text); }
.arcard h3 { font-size: 1.15rem; }
.arcard p { color: var(--muted); font-size: .95rem; line-height: 1.7; }
