/* Venus Skin & Plastic Surgery Centre
   Concept "Halo": the clinic's backlit sign, translated to the page. A pearl canvas, plum ink, magenta light.
   The crescent from the logo is the one graphic device; gradients appear only as light (buttons, hairlines, glows).
   Two themes share one token set: light "pearl" (default) and dark "night". Every colour below comes from a token. */

:root {
  --bg: #f8f4f5;
  --sec-a: #ffffff;
  --surface: #ffffff;
  --surface-2: #f7f1f4;
  --tint: #f6ecf7;
  --sec-tint: linear-gradient(180deg, #f6ecf7, #faf3fb);

  --ink: #2b1431;
  --ink-2: #4d3a53;
  --muted: #6c5b72;
  --line: #e8dee6;
  --line-strong: rgba(111, 27, 118, 0.22);

  --accent: #6f1b76;
  --accent-strong: #4b1254;
  --magenta: #a52aa6;
  --orn: #a52aa6;
  --focus: #a52aa6;

  --btn-grad: linear-gradient(100deg, #5e1563 0%, #8e2392 55%, #a52aa6 100%);
  --btn-shadow: 0 14px 28px -14px rgba(142, 35, 146, 0.8);
  --grad-text: linear-gradient(95deg, #6f1b76 0%, #a52aa6 55%, #d447b8 100%);
  --grad-line: linear-gradient(90deg, #a52aa6, #ee7fd3 60%, transparent);

  --header-bg: rgba(248, 244, 245, 0.86);
  --header-line: rgba(111, 27, 118, 0.1);
  --header-shadow: rgba(75, 18, 84, 0.55);
  --pill-bg: rgba(255, 255, 255, 0.72);
  --pill-line: rgba(111, 27, 118, 0.14);
  --ghost-bg: rgba(255, 255, 255, 0.55);
  --ghost-line: rgba(111, 27, 118, 0.28);
  --chip-bg: rgba(255, 255, 255, 0.8);
  --chip-line: rgba(111, 27, 118, 0.14);
  --chip-shadow: rgba(75, 18, 84, 0.55);
  --toggle-bg: #ffffff;

  --hero-bg:
    radial-gradient(46% 72% at 78% 56%, rgba(232, 100, 200, 0.24), transparent 70%),
    radial-gradient(36% 56% at 6% 100%, rgba(165, 42, 166, 0.12), transparent 70%),
    radial-gradient(34% 40% at 38% 0%, rgba(255, 255, 255, 0.95), transparent 70%);
  --photo-filter: none;
  --arc-1: #e259cc;
  --arc-2: #8e2392;
  --arc-3: #5a1460;
  --arc-glow: rgba(226, 89, 204, 0.45);
  --ring-a: rgba(165, 42, 166, 0.22);
  --ring-b: rgba(165, 42, 166, 0.12);
  --deco-ring: rgba(165, 42, 166, 0.16);
  --deco-fill: rgba(165, 42, 166, 0.014);
  --deco-line: rgba(165, 42, 166, 0.09);
  --hover-glow: rgba(165, 42, 166, 0.055);
  --shadow-card: 0 0 0 1px rgba(111, 27, 118, 0.08), 0 24px 48px -30px rgba(75, 18, 84, 0.45);
  --poster-glow: 0 0 0 1px rgba(111, 27, 118, 0.08), 0 36px 80px -36px rgba(165, 42, 166, 0.55);
  --check-bg: #f3e4f6;
  --check-ink: #8e2392;
  --sun-bg: linear-gradient(135deg, #f8eef9, #f1e1f3);
  --icon-bg: #ffffff;
  --ok: #2c8f63;
  --warn: #b4546a;
  --star: #d99a2b;
  --sel: #ecc8f1;

  --night: #26092d;
  --night-2: #3d1146;
  --font-display: "Marcellus", "Cormorant Garamond", Georgia, serif;
  --font-body: "Jost", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-hi: "Noto Sans Devanagari", "Nirmala UI", "Mangal", sans-serif;

  --maxw: 1160px;
  --r-sm: 12px;
  --r-md: 18px;
  --r-lg: 26px;
  color-scheme: light;
}

:root[data-theme="dark"] {
  --bg: #130a17;
  --sec-a: #170d1c;
  --surface: #1e1225;
  --surface-2: #150b1a;
  --tint: #2a1833;
  --sec-tint: linear-gradient(180deg, #1c1025, #170c1e);

  --ink: #f4ecf6;
  --ink-2: #d9cbdd;
  --muted: #a998af;
  --line: #33223b;
  --line-strong: rgba(255, 255, 255, 0.16);

  --accent: #e6b0f2;
  --accent-strong: #f7dcfb;
  --magenta: #d85ac8;
  --orn: #e46fd2;
  --focus: #f08ae2;

  --btn-grad: linear-gradient(100deg, #7a1f83 0%, #a52aa6 55%, #c13bc1 100%);
  --btn-shadow: 0 14px 30px -14px rgba(226, 89, 204, 0.6);
  --grad-text: linear-gradient(95deg, #f5cbf9 0%, #e774d8 55%, #f7a4e4 100%);
  --grad-line: linear-gradient(90deg, #e46fd2, #f6a6ea 60%, transparent);

  --header-bg: rgba(19, 10, 23, 0.82);
  --header-line: rgba(255, 255, 255, 0.08);
  --header-shadow: rgba(0, 0, 0, 0.7);
  --pill-bg: rgba(255, 255, 255, 0.06);
  --pill-line: rgba(255, 255, 255, 0.12);
  --ghost-bg: rgba(255, 255, 255, 0.04);
  --ghost-line: rgba(255, 255, 255, 0.22);
  --chip-bg: rgba(30, 18, 37, 0.78);
  --chip-line: rgba(255, 255, 255, 0.14);
  --chip-shadow: rgba(0, 0, 0, 0.7);
  --toggle-bg: #1e1225;

  --hero-bg:
    radial-gradient(46% 72% at 78% 56%, rgba(226, 89, 204, 0.3), transparent 70%),
    radial-gradient(40% 60% at 6% 100%, rgba(142, 35, 146, 0.36), transparent 70%),
    radial-gradient(34% 40% at 38% 0%, rgba(110, 50, 140, 0.32), transparent 70%);
  --photo-filter: brightness(0.93) saturate(1.04);
  --arc-1: #f58ae6;
  --arc-2: #c13bc1;
  --arc-3: #7a2a86;
  --arc-glow: rgba(240, 122, 224, 0.55);
  --ring-a: rgba(240, 138, 226, 0.3);
  --ring-b: rgba(240, 138, 226, 0.16);
  --deco-ring: rgba(240, 138, 226, 0.16);
  --deco-fill: rgba(240, 138, 226, 0.012);
  --deco-line: rgba(240, 138, 226, 0.07);
  --hover-glow: rgba(228, 111, 210, 0.09);
  --shadow-card: 0 0 0 1px rgba(255, 255, 255, 0.07), 0 28px 50px -30px rgba(0, 0, 0, 0.85);
  --poster-glow: 0 0 0 1px rgba(255, 255, 255, 0.08), 0 36px 80px -36px rgba(226, 89, 204, 0.5);
  --check-bg: rgba(228, 111, 210, 0.16);
  --check-ink: #f2aee8;
  --sun-bg: linear-gradient(135deg, #251530, #1d1026);
  --icon-bg: #2a1833;
  --ok: #4cc58f;
  --warn: #e58aa0;
  --star: #f0b84a;
  --sel: #5a2a66;
  color-scheme: dark;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
figure { margin: 0; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4, p, ul, ol, dl, dd { margin: 0; }
p { text-wrap: pretty; }
ul, ol { padding: 0; list-style: none; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 400; text-wrap: balance; }
h2 { font-size: clamp(1.8rem, 1.25rem + 1.9vw, 2.6rem); line-height: 1.14; letter-spacing: -0.005em; }
h3 { font-size: 1.5rem; line-height: 1.2; }
::selection { background: var(--sel); color: var(--ink); }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 4px; }

.defs { position: absolute; width: 0; height: 0; overflow: hidden; }
#gArc .s1 { stop-color: var(--arc-1); }
#gArc .s2 { stop-color: var(--arc-2); }
#gArc .s3 { stop-color: var(--arc-3); }
.skip { position: absolute; left: 1rem; top: -4rem; z-index: 100; padding: 0.6rem 1rem; background: var(--ink); color: var(--bg); border-radius: 8px; text-decoration: none; }
.skip:focus { top: 1rem; }

.wrap {
  width: 100%;
  max-width: calc(var(--maxw) + 40px);
  margin-inline: auto;
  padding-left: max(20px, env(safe-area-inset-left, 0px));
  padding-right: max(20px, env(safe-area-inset-right, 0px));
}

/* ---------- Small parts ---------- */
.lotus { display: inline-block; width: 30px; height: 19px; flex: none; color: var(--orn); }
.eyebrow { display: inline-flex; align-items: center; gap: 0.7rem; font-size: 0.78rem; font-weight: 500; letter-spacing: 0.22em; text-transform: uppercase; color: var(--accent); }
.eyebrow .lotus { width: 26px; height: 16px; }
.orn { display: flex; align-items: center; justify-content: center; gap: 1rem; }
.orn::before, .orn::after { content: ""; width: clamp(44px, 9vw, 96px); height: 1px; background: linear-gradient(90deg, transparent, var(--orn)); opacity: 0.6; }
.orn::after { transform: scaleX(-1); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 48px;
  padding: 0 1.6rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font: 500 0.98rem/1 var(--font-body);
  letter-spacing: 0.01em;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-position 0.5s, transform 0.25s, border-color 0.25s, background-color 0.25s, box-shadow 0.25s;
}
.btn-primary { color: #fff; background: var(--btn-grad); background-size: 170% 100%; background-position: 0 0; box-shadow: var(--btn-shadow), inset 0 1px 0 rgba(255, 255, 255, 0.2); }
.btn-primary:hover { background-position: 100% 0; transform: translateY(-1px); }
.btn-ghost { color: var(--accent-strong); background: var(--ghost-bg); border-color: var(--ghost-line); }
.btn-ghost:hover { background: var(--surface); border-color: var(--magenta); }
.btn-light { color: #26092d; background: #fff; box-shadow: 0 14px 30px -16px rgba(0, 0, 0, 0.6); }
.btn-light:hover { transform: translateY(-1px); }
.btn-line { color: #fff; border-color: rgba(255, 255, 255, 0.4); }
.btn-line:hover { border-color: #fff; background: rgba(255, 255, 255, 0.08); }
.btn-sm { min-height: 42px; padding: 0 1.2rem; font-size: 0.92rem; }

.text-link { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.97rem; font-weight: 500; color: var(--accent); text-decoration: none; }
.text-link::after { content: "→"; transition: transform 0.25s; }
.text-link:hover::after { transform: translateX(5px); }

.pill { display: inline-flex; align-items: center; gap: 0.55rem; padding: 0.42rem 0.9rem; border: 1px solid var(--pill-line); border-radius: 999px; background: var(--pill-bg); font-size: 0.9rem; color: var(--ink-2); }
.pill b { font-weight: 600; color: var(--ink); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--muted); flex: none; }
.is-open .dot { background: var(--ok); box-shadow: 0 0 0 4px color-mix(in srgb, var(--ok) 20%, transparent); }
.is-closed .dot { background: var(--warn); box-shadow: 0 0 0 4px color-mix(in srgb, var(--warn) 16%, transparent); }
.stars { color: var(--star); letter-spacing: 0.1em; font-size: 0.85rem; }

.checks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.7rem 1.5rem; }
.checks li { position: relative; padding-left: 1.9rem; line-height: 1.4; }
.checks li::before { content: ""; position: absolute; left: 0; top: 0.08rem; width: 1.25rem; height: 1.25rem; border-radius: 50%; background: var(--check-bg); }
.checks li::after { content: ""; position: absolute; left: 0.47rem; top: 0.27rem; width: 0.3rem; height: 0.58rem; border: solid var(--check-ink); border-width: 0 1.7px 1.7px 0; transform: rotate(45deg); }
.checks-1 { grid-template-columns: 1fr; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--header-bg); backdrop-filter: saturate(1.4) blur(16px); -webkit-backdrop-filter: saturate(1.4) blur(16px); border-bottom: 1px solid var(--header-line); transition: box-shadow 0.3s; }
.site-header.is-scrolled { box-shadow: 0 12px 30px -20px var(--header-shadow); }
.bar { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; height: 72px; }
.logo { display: block; }
.logo img { height: 48px; width: auto; }
.logo-dark { display: none; filter: drop-shadow(0 0 10px rgba(226, 89, 204, 0.28)); }
:root[data-theme="dark"] .logo-light { display: none; }
:root[data-theme="dark"] .logo-dark { display: block; }
.nav { display: flex; align-items: center; gap: 1.9rem; }
.nav a:not(.btn) { position: relative; padding: 0.3rem 0; font-size: 0.97rem; color: var(--ink-2); text-decoration: none; transition: color 0.25s; }
.nav a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 1.5px; background: linear-gradient(90deg, #a52aa6, #ee7fd3); transform: scaleX(0); transform-origin: left; transition: transform 0.3s; }
.nav a:not(.btn):hover, .nav a.is-active { color: var(--accent-strong); }
.nav a:not(.btn):hover::after, .nav a.is-active::after { transform: scaleX(1); }

.theme-toggle {
  position: relative;
  display: inline-grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  justify-items: center;
  flex: none;
  width: 66px;
  height: 38px;
  padding: 0;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--toggle-bg);
  cursor: pointer;
  transition: border-color 0.25s;
}
.theme-toggle:hover { border-color: var(--magenta); }
.theme-toggle .ico { position: relative; z-index: 2; width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; transition: color 0.3s; }
.theme-toggle .ico-sun { color: #fff; }
.theme-toggle .ico-moon { color: var(--muted); }
.theme-toggle .thumb { position: absolute; z-index: 1; left: 3px; top: 3px; width: 30px; height: 30px; border-radius: 50%; background: var(--btn-grad); box-shadow: 0 6px 14px -6px rgba(142, 35, 146, 0.9); transition: transform 0.4s cubic-bezier(0.2, 0.7, 0.2, 1); }
:root[data-theme="dark"] .theme-toggle .thumb { transform: translateX(28px); }
:root[data-theme="dark"] .theme-toggle .ico-sun { color: var(--muted); }
:root[data-theme="dark"] .theme-toggle .ico-moon { color: #fff; }

html.theme-anim, html.theme-anim *, html.theme-anim *::before, html.theme-anim *::after {
  transition: background-color 0.4s ease, color 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease, fill 0.4s ease, stroke 0.4s ease !important;
}

/* ---------- Hero ---------- */
.hero { --hero-h: clamp(540px, 44vw, 650px); position: relative; overflow: hidden; isolation: isolate; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--hero-bg); }
@media (prefers-reduced-motion: no-preference) {
  .hero::before { animation: breathe 9s ease-in-out infinite alternate; }
  .hero-copy > * { animation: rise 0.8s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
  .hero-copy > :nth-child(2) { animation-delay: 0.08s; }
  .hero-copy > :nth-child(3) { animation-delay: 0.16s; }
  .hero-copy > :nth-child(4) { animation-delay: 0.24s; }
  .hero-copy > :nth-child(5) { animation-delay: 0.32s; }
  .hero-photo > img { animation: reveal 1.2s ease-out 0.1s both; }
  .arc { animation: sweep 1.6s cubic-bezier(0.2, 0.7, 0.2, 1) 0.2s both; }
  .chip { animation: rise 0.8s cubic-bezier(0.2, 0.7, 0.2, 1) 0.7s both; }
  .doc, .fcard { transition: transform 0.45s cubic-bezier(0.2, 0.7, 0.2, 1), box-shadow 0.45s; }
  .doc:hover, .fcard:hover { transform: translateY(-4px); }
}
@keyframes breathe { from { opacity: 0.8; } to { opacity: 1; } }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes reveal { from { opacity: 0; } to { opacity: 1; } }
@keyframes sweep { from { opacity: 0; transform: translate(-50%, -50%) rotate(-16deg); } to { opacity: 1; transform: translate(-50%, -50%) rotate(0); } }

.hero-inner { position: relative; z-index: 2; display: flex; align-items: center; min-height: var(--hero-h); padding-block: 3rem; }
.hero-copy { max-width: min(520px, 46%); }
.hero h1 { margin-top: 1.1rem; font-size: clamp(2.25rem, 1.2rem + 2.7vw, 3.2rem); line-height: 1.1; letter-spacing: -0.012em; }
.grad { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }
.hero-lead { margin-top: 1.25rem; max-width: 44ch; font-size: 1.1875rem; line-height: 1.6; color: var(--ink-2); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.9rem; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1.75rem; }

.hero-photo { --fl: 22%; --fr: 5%; position: absolute; z-index: 1; right: 0; top: 0; height: 100%; aspect-ratio: 1100 / 850; max-width: 62vw; }
.hero-photo > img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 0;
  filter: var(--photo-filter);
  -webkit-mask-image: linear-gradient(90deg, transparent 0, rgba(0, 0, 0, 0.55) calc(var(--fl) * 0.5), #000 var(--fl), #000 calc(100% - var(--fr)), transparent 100%), linear-gradient(0deg, transparent 0, #000 26%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(90deg, transparent 0, rgba(0, 0, 0, 0.55) calc(var(--fl) * 0.5), #000 var(--fl), #000 calc(100% - var(--fr)), transparent 100%), linear-gradient(0deg, transparent 0, #000 26%);
  mask-composite: intersect;
}
.arc { position: absolute; z-index: 0; left: 42%; top: 50%; height: 112%; width: auto; aspect-ratio: 1; transform: translate(-50%, -50%); filter: drop-shadow(0 0 16px var(--arc-glow)); pointer-events: none; }
.arc .ring-a { fill: none; stroke: var(--ring-a); stroke-width: 0.5; }
.arc .ring-b { fill: none; stroke: var(--ring-b); stroke-width: 0.4; }

.chips { position: absolute; z-index: 2; inset: 0; pointer-events: none; }
.chip { position: absolute; display: flex; align-items: center; gap: 0.7rem; padding: 0.5rem 1rem 0.5rem 0.5rem; border: 1px solid var(--chip-line); border-radius: 999px; background: var(--chip-bg); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: 0 16px 34px -18px var(--chip-shadow); }
.chip img { width: 38px; height: 38px; border-radius: 50%; object-fit: cover; }
.chip b { display: block; font-size: 0.93rem; font-weight: 500; line-height: 1.2; color: var(--ink); }
.chip small { display: block; font-size: 0.78rem; line-height: 1.3; color: var(--muted); }
.chip-a { left: 9%; bottom: 14%; }
.chip-b { left: 49%; bottom: 6%; }

/* ---------- Sections ---------- */
.section { padding-block: clamp(4rem, 8vw, 6.5rem); scroll-margin-top: 72px; }
.sec-head { max-width: 46rem; margin: 0 auto clamp(2.5rem, 5vw, 3.5rem); text-align: center; }
.sec-head .orn { margin-bottom: 1rem; }
.sec-head h2 { margin-top: 0.75rem; }
.sec-lead { margin: 1rem auto 0; max-width: 42rem; color: var(--muted); }

/* Treatments */
.treat { background: var(--sec-a); }
.depts { border-block: 1px solid var(--line); }
.dept { position: relative; isolation: isolate; display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.5fr); gap: clamp(1.5rem, 4vw, 4rem); padding-block: 2.4rem; }
.dept + .dept { border-top: 1px solid var(--line); }
.dept::before { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 1px; background: var(--grad-line); transform: scaleX(0); transform-origin: left; transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1); }
.dept::after { content: ""; position: absolute; z-index: -1; inset: 0 -1.25rem; border-radius: var(--r-sm); background: linear-gradient(90deg, var(--hover-glow), transparent 72%); opacity: 0; transition: opacity 0.45s; pointer-events: none; }
.dept:hover::before { transform: scaleX(1); }
.dept:hover::after { opacity: 1; }
.dept-doc { display: flex; align-items: center; gap: 0.7rem; font-size: 0.78rem; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.dept-doc img { width: 38px; height: 38px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 2px var(--sec-a), 0 0 0 3px var(--line-strong); }
.dept h3 { margin: 1rem 0 0.6rem; font-size: 1.9rem; line-height: 1.1; }
.dept-main p { max-width: 34ch; color: var(--muted); }
.dept-main .text-link { margin-top: 1.2rem; }
.proc { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 2.5rem; align-content: start; }
.proc li { position: relative; padding: 0.8rem 0 0.8rem 1.3rem; border-bottom: 1px solid var(--line); }
.proc li::before { content: ""; position: absolute; left: 0; top: 1.4rem; width: 7px; height: 7px; border-radius: 50%; background: linear-gradient(135deg, #ee7fd3, #8e2392); }
.proc span { display: block; line-height: 1.4; }
.proc small { display: block; margin-top: 0.15rem; font-family: var(--font-hi); font-size: 0.86rem; line-height: 1.5; color: var(--muted); }

/* In focus */
.focus { margin-top: clamp(3.5rem, 7vw, 5.5rem); scroll-margin-top: 72px; }
.sub-head { max-width: 46rem; margin: 0 auto clamp(2rem, 4vw, 3rem); text-align: center; }
.sub-head .orn { margin-bottom: 1rem; }
.sub-head h3 { margin-top: 0.7rem; font-size: clamp(1.7rem, 1.2rem + 1.5vw, 2.2rem); line-height: 1.15; }
.focus-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; }
.fcard { position: relative; display: flex; flex-direction: column; gap: 1rem; padding: clamp(1.5rem, 3vw, 2.25rem); overflow: hidden; border-radius: var(--r-lg); background: var(--surface); box-shadow: var(--shadow-card); }
.fcard::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: var(--grad-line); transform: scaleX(0); transform-origin: left; transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1); }
.fcard:hover::before { transform: scaleX(1); }
.fcard-ico { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 15px; background: var(--tint); color: var(--accent); }
.fcard-ico svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.fcard h4 { font-size: 1.5rem; line-height: 1.18; }
.fcard-lead { color: var(--ink-2); }
.fcard .checks { align-content: start; }
.fcard-note { padding-top: 0.9rem; border-top: 1px solid var(--line); font-size: 0.95rem; color: var(--muted); }
.fcard .text-link { margin-top: auto; padding-top: 0.35rem; }
@supports (grid-template-rows: subgrid) {
  .fcard { display: grid; grid-row: span 6; grid-template-rows: subgrid; row-gap: 1rem; align-content: start; }
  .fcard .text-link { margin-top: 0; padding-top: 0; align-self: end; justify-self: start; }
  .fcard-ico { align-self: start; justify-self: start; }
}

/* Doctors */
.doctors { position: relative; overflow: hidden; background: var(--sec-tint); }
.doctors::before { content: ""; position: absolute; right: -260px; top: -260px; width: 620px; aspect-ratio: 1; border-radius: 50%; border: 1px solid var(--deco-ring); box-shadow: 0 0 0 70px var(--deco-fill), 0 0 0 71px var(--deco-line); pointer-events: none; }
.doctors .wrap { position: relative; }
.docs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; }
.doc { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 1.75rem; align-items: start; padding: 1.75rem; border-radius: var(--r-lg); background: var(--surface); box-shadow: var(--shadow-card); }
.arch { width: 176px; aspect-ratio: 4 / 5; padding: 4px; border-radius: 88px 88px 16px 16px; background: linear-gradient(165deg, #ee7fd3, #a52aa6 45%, #5e1563); }
.arch img { width: 100%; height: 100%; object-fit: cover; border: 3px solid var(--surface); border-radius: 84px 84px 12px 12px; background: var(--tint); }
.doc h3 { font-size: clamp(1.65rem, 1.2rem + 0.9vw, 1.95rem); line-height: 1.1; }
.doc-role { margin-top: 0.6rem; min-height: 2.9em; font-size: 0.74rem; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; line-height: 1.45; color: var(--accent); }
.doc-lead { margin-top: 0.6rem; font-size: 0.98rem; line-height: 1.55; color: var(--muted); }
.facts { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 0.55rem 1rem; margin: 1.1rem 0 1.3rem; padding-top: 1.1rem; border-top: 1px solid var(--line); }
.facts dt { padding-top: 0.28rem; font-size: 0.7rem; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.facts dd { font-size: 0.97rem; line-height: 1.45; }

/* Notes */
.notes { background: var(--sec-a); }
.zoom { position: relative; display: block; width: 100%; padding: 0; border: 0; background: var(--tint); cursor: zoom-in; overflow: hidden; border-radius: inherit; }
.zoom img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1); }
.zoom:hover img { transform: scale(1.03); }
.zoom-hint { position: absolute; right: 0.75rem; top: 0.75rem; width: 36px; height: 36px; border-radius: 50%; background: rgba(38, 9, 45, 0.72) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='6.5'/%3E%3Cpath d='M20 20l-4.2-4.2M11 8v6M8 11h6'/%3E%3C/svg%3E") center / 18px no-repeat; font-size: 0; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); opacity: 0; transform: translateY(-4px); transition: opacity 0.3s, transform 0.3s; }
.zoom:hover .zoom-hint, .zoom:focus-visible .zoom-hint { opacity: 1; transform: none; }
@media (hover: none) { .zoom-hint { opacity: 1; transform: none; } }

.feature { display: grid; grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr); gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.poster { overflow: hidden; border-radius: var(--r-lg); background: var(--tint); box-shadow: var(--poster-glow); }
.poster figcaption { padding: 0.9rem 1.2rem; border-top: 1px solid var(--line); background: var(--surface); font-size: 0.88rem; color: var(--muted); }
.poster figcaption b { font-weight: 500; color: var(--ink); }
.feature h3 { margin-top: 0.8rem; font-size: clamp(1.8rem, 1.3rem + 1.5vw, 2.4rem); line-height: 1.14; }
.feature p { margin-top: 1rem; max-width: 54ch; color: var(--ink-2); }
.feature p.muted { color: var(--muted); }
.mini-title { margin-top: 1.5rem; font-size: 0.78rem; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; color: var(--accent); }
.feature .checks { margin-top: 0.9rem; }
.feature .quote { margin-top: 1.4rem; padding-left: 1.1rem; border-left: 2px solid var(--magenta); font-family: var(--font-display); font-size: 1.15rem; line-height: 1.45; color: var(--accent-strong); }
.feature .cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; margin-top: 1.6rem; }
.feature .cta-row p { margin: 0; max-width: 36ch; font-size: 0.95rem; color: var(--muted); }

.sun { position: relative; overflow: hidden; overflow: clip; display: grid; grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr); gap: clamp(1.75rem, 4vw, 3.5rem); align-items: start; margin-top: clamp(2.75rem, 6vw, 4.5rem); padding: clamp(1.5rem, 3.5vw, 2.75rem); border-radius: 30px; background: var(--sun-bg); }
.sun::after { content: ""; position: absolute; right: -170px; bottom: -200px; width: 440px; aspect-ratio: 1; border-radius: 50%; border: 1px solid var(--deco-ring); box-shadow: 0 0 0 48px var(--deco-fill); pointer-events: none; }
.sun-poster { position: sticky; top: calc(72px + 1.25rem); z-index: 1; overflow: hidden; border-radius: var(--r-md); background: var(--surface); box-shadow: var(--shadow-card); }
.sun-poster figcaption { padding: 0.8rem 1.1rem; font-size: 0.85rem; color: var(--muted); }
.sun-body { position: relative; z-index: 1; }
.sun-body h3 { margin-top: 0.7rem; font-size: clamp(1.6rem, 1.2rem + 1.3vw, 2.15rem); line-height: 1.15; }
.sun-body > p { margin-top: 0.9rem; max-width: 54ch; color: var(--ink-2); }
.sun-body .checks { margin-top: 1.1rem; }
.sun-close { font-family: var(--font-display); font-size: 1.2rem; color: var(--accent-strong); }
.habits { margin-top: 0.4rem; }
.habit { display: grid; grid-template-columns: 42px minmax(0, 1fr); gap: 0 1rem; align-items: center; padding: 0.8rem 0; border-top: 1px solid var(--line-strong); }
.habit svg { width: 42px; height: 42px; padding: 9px; border-radius: 50%; background: var(--icon-bg); fill: none; stroke: var(--accent); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; box-shadow: 0 8px 20px -10px rgba(111, 27, 118, 0.5); }
.habit strong { display: block; font-weight: 500; line-height: 1.3; }
.habit span { display: block; font-size: 0.93rem; line-height: 1.45; color: var(--ink-2); }

.shelf-wrap { margin-top: clamp(2.75rem, 6vw, 4.5rem); }
.shelf-head { margin-bottom: 1.5rem; text-align: center; }
.shelf-head h3 { margin-top: 0.6rem; font-size: clamp(1.5rem, 1.2rem + 1vw, 1.9rem); }
.shelf { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.25rem; }
.shelf .zoom { border-radius: var(--r-md); box-shadow: var(--shadow-card); }
.shelf p { margin-top: 0.85rem; font-size: 0.93rem; line-height: 1.45; color: var(--muted); }
.shelf p b { display: block; font-weight: 500; font-size: 1rem; color: var(--ink); }

/* Lightbox */
.lightbox { width: min(94vw, 760px); max-width: none; max-height: 94vh; padding: 0; border: 0; background: transparent; overflow: visible; color: #fff; }
.lightbox::backdrop { background: rgba(14, 6, 18, 0.8); backdrop-filter: blur(6px); }
.lightbox figure { position: relative; }
.lightbox img { max-height: 80vh; width: auto; max-width: 100%; margin-inline: auto; border-radius: 16px; box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.85); }
.lightbox figcaption { margin-top: 0.9rem; text-align: center; font-size: 0.95rem; color: rgba(255, 255, 255, 0.85); }
.lb-close { position: absolute; z-index: 2; right: -8px; top: -14px; display: grid; place-items: center; width: 40px; height: 40px; padding: 0; border: 1px solid rgba(255, 255, 255, 0.3); border-radius: 50%; background: rgba(38, 9, 45, 0.85); color: #fff; font-size: 1.4rem; line-height: 1; cursor: pointer; }
.lb-close:hover { background: #fff; color: #26092d; }

/* Rating band */
.band { position: relative; overflow: hidden; color: #fff; background: radial-gradient(60% 140% at 88% 0%, rgba(226, 89, 204, 0.4), transparent 62%), radial-gradient(40% 100% at 0% 100%, rgba(165, 42, 166, 0.35), transparent 70%), linear-gradient(120deg, var(--night), var(--night-2) 60%, #2f0d38); }
:root[data-theme="dark"] .band { border-block: 1px solid rgba(255, 255, 255, 0.08); }
.band::before { content: ""; position: absolute; left: 50%; top: 50%; width: 520px; aspect-ratio: 1; transform: translate(-30%, -50%); border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.12); box-shadow: 0 0 0 64px rgba(255, 255, 255, 0.012), 0 0 0 65px rgba(255, 255, 255, 0.07); pointer-events: none; }
.band-inner { position: relative; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem 3rem; padding-block: clamp(2.5rem, 5vw, 3.5rem); }
.score { display: flex; align-items: center; gap: 1.4rem; }
.score-num { font-family: var(--font-display); font-size: 3.6rem; line-height: 1; }
.score .stars { display: block; margin-bottom: 0.25rem; font-size: 1.05rem; color: #f0b84a; }
.score p { color: rgba(255, 255, 255, 0.82); font-size: 1rem; line-height: 1.4; }
.band-cta { display: flex; flex-wrap: wrap; gap: 0.75rem; }

/* Visit */
.visit { background: var(--bg); }
.visit-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1.5rem; align-items: stretch; }
.card { position: relative; overflow: hidden; padding: clamp(1.5rem, 3vw, 2.25rem); border-radius: var(--r-lg); background: var(--surface); box-shadow: var(--shadow-card); }
.card-form::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: linear-gradient(90deg, #5e1563, #a52aa6, #ee7fd3); }
.info { display: grid; gap: 1.4rem; align-content: start; }
.info-row { display: grid; grid-template-columns: 6.6rem minmax(0, 1fr); gap: 0.75rem; align-items: baseline; }
.info-label { font-size: 0.72rem; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.info-row a { text-decoration: none; border-bottom: 1px solid var(--line-strong); transition: color 0.25s, border-color 0.25s; }
.info-row a:hover { color: var(--accent); border-color: var(--magenta); }
.hours { width: 100%; border-collapse: collapse; font-size: 0.96rem; font-variant-numeric: tabular-nums; }
.hours th, .hours td { padding: 0.42rem 0; border-bottom: 1px solid var(--line); text-align: left; font-weight: 400; }
.hours th { width: 6.2rem; color: var(--muted); }
.hours tr:last-child th, .hours tr:last-child td { border-bottom: 0; }
.hours tr.today th, .hours tr.today td { color: var(--accent); font-weight: 500; }
.hours .off { color: var(--muted); }

.card-form h3 { font-size: 1.6rem; }
.card-form > p { margin-top: 0.35rem; font-size: 0.95rem; color: var(--muted); }
.form { display: grid; gap: 1rem; margin-top: 1.4rem; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { display: grid; gap: 0.4rem; }
.field label { font-size: 0.82rem; font-weight: 500; color: var(--ink-2); }
.field input, .field select, .field textarea { width: 100%; padding: 0.78rem 0.95rem; border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--surface-2); color: var(--ink); font: inherit; font-size: 1rem; transition: border-color 0.25s, box-shadow 0.25s, background-color 0.25s; }
.field textarea { min-height: 5rem; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--magenta); background: var(--surface); box-shadow: 0 0 0 4px color-mix(in srgb, var(--magenta) 22%, transparent); }
.form .btn { justify-self: start; }
.note { font-size: 0.84rem; color: var(--muted); }

.media { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 1.5rem; margin-top: 1.5rem; }
.map, .reception { position: relative; height: 340px; overflow: hidden; border-radius: var(--r-lg); background: var(--tint); box-shadow: var(--shadow-card); }
.map iframe { display: block; width: 100%; height: 100%; border: 0; }
:root[data-theme="dark"] .map iframe { filter: invert(0.92) hue-rotate(180deg) saturate(0.85) brightness(0.92) contrast(0.95); }
.map-link { position: absolute; right: 1rem; bottom: 1rem; }
.reception img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 48%; }
.reception figcaption { position: absolute; left: 1rem; bottom: 1rem; padding: 0.35rem 0.8rem; border-radius: 999px; background: rgba(38, 9, 45, 0.7); color: #fff; font-size: 0.74rem; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }

/* ---------- Footer ---------- */
.footer { position: relative; color: rgba(255, 255, 255, 0.72); background: linear-gradient(180deg, #2a0a31, #1c0622); font-size: 0.95rem; }
:root[data-theme="dark"] .footer { background: linear-gradient(180deg, #0f0613, #09030c); }
.footer::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: linear-gradient(90deg, transparent, #a52aa6 30%, #ee7fd3 50%, #a52aa6 70%, transparent); }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) repeat(3, minmax(0, 1fr)); gap: 2.5rem; padding-block: clamp(3rem, 6vw, 4.25rem) 2.5rem; }
.f-logo { display: block; width: min(280px, 100%); padding: 0.9rem 1.1rem; border-radius: var(--r-md); background: #f8f4f5; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.14), 0 26px 60px -22px rgba(238, 127, 211, 0.55); }
.f-about { margin-top: 1.25rem; max-width: 32ch; line-height: 1.55; }
.footer h4 { margin: 0 0 0.9rem; font-family: var(--font-body); font-size: 0.74rem; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; color: #fff; }
.footer li + li { margin-top: 0.45rem; }
.footer a { text-decoration: none; transition: color 0.25s; }
.footer a:hover { color: #f4a8e6; }
.footer-legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.5rem 2rem; padding-block: 1.4rem 1.8rem; border-top: 1px solid rgba(255, 255, 255, 0.12); font-size: 0.85rem; color: rgba(255, 255, 255, 0.55); }

/* Mobile action dock */
.dock { display: none; }

/* ---------- Responsive ---------- */
@media (min-width: 1181px) and (max-width: 1279px) {
  .hero-copy { max-width: 440px; }
}
@media (max-width: 1180px) {
  .hero { --hero-h: auto; }
  .hero-inner { min-height: 0; padding-block: 2.75rem 0.5rem; }
  .hero-copy { max-width: none; }
  .hero-lead { max-width: 52ch; }
  .hero-photo { --fl: 8%; --fr: 8%; position: relative; right: auto; top: auto; height: auto; width: min(100%, 760px); max-width: none; margin: 1rem auto 0; }
  .hero-photo > img { height: auto; aspect-ratio: 1100 / 850; }
  .arc { left: 33%; height: 118%; }
  .chips { position: relative; inset: auto; display: grid; grid-template-columns: 1fr 1fr; gap: 0.6rem; margin: -2.4rem max(14px, 3%) 0; }
  .chip { position: static; }
}
@media (max-width: 1080px) {
  .docs { grid-template-columns: 1fr; }
  .doc-role { min-height: 0; }
  .dept { grid-template-columns: 1fr; gap: 1.5rem; }
  .dept-main p { max-width: 52ch; }
  .focus-grid { grid-template-columns: 1fr; }
  .feature { grid-template-columns: 1fr; }
  .poster { max-width: 420px; }
  .sun { grid-template-columns: 1fr; }
  .sun-poster { position: relative; top: auto; max-width: 420px; }
  .shelf { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .visit-grid, .media { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .nav a:not(.btn) { display: none; }
}
@media (max-width: 640px) {
  body { padding-bottom: 82px; }
  .eyebrow { letter-spacing: 0.15em; font-size: 0.72rem; }
  .bar { height: 64px; }
  .logo img { height: 42px; }
  .nav .btn-primary { display: none; }
  .section { scroll-margin-top: 64px; }
  .doctors::before { right: -300px; top: -300px; }
  .hero-cta .btn { flex: 1 1 100%; }
  .chips { grid-template-columns: 1fr; margin-top: -2rem; }
  .doc { grid-template-columns: 1fr; padding: 1.5rem; }
  .arch { width: 160px; }
  .proc { grid-template-columns: 1fr; }
  .checks { grid-template-columns: 1fr; }
  .shelf { display: flex; gap: 1rem; margin-inline: calc(-1 * max(20px, env(safe-area-inset-left, 0px))); padding-inline: max(20px, env(safe-area-inset-left, 0px)); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .shelf::-webkit-scrollbar { display: none; }
  .shelf li { flex: 0 0 70%; scroll-snap-align: start; }
  .row2 { grid-template-columns: 1fr; }
  .info-row { grid-template-columns: 1fr; gap: 0.15rem; }
  .map, .reception { height: 260px; }
  .band-inner { flex-direction: column; align-items: flex-start; }
  .band-cta .btn { flex: 1 1 100%; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .dock {
    display: grid;
    grid-template-columns: 1fr 1.15fr 1.1fr;
    gap: 0.5rem;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 60;
    padding: 0.6rem max(12px, env(safe-area-inset-right, 0px)) calc(0.6rem + env(safe-area-inset-bottom, 0px)) max(12px, env(safe-area-inset-left, 0px));
    background: var(--header-bg);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-top: 1px solid var(--line);
  }
  .dock .btn { min-height: 46px; padding: 0 0.75rem; font-size: 0.95rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .text-link::after, .dept::before, .fcard::before, .zoom img { transition: none; }
}
