/* ==========================================================================
   Eyha Superspeciality Care — main stylesheet
   Brand palette: Cream #E8D1A6 · Bronze #855A2D · Rust #743216 · Cocoa #422F1A
   ========================================================================== */

:root {
  --cream: #E8D1A6;
  --cream-soft: #F3E6CC;
  --bronze: #855A2D;
  --rust: #743216;
  --cocoa: #422F1A;

  --bg: #FBF8F3;
  --bg-2: #F5EDE0;
  --surface: #FFFFFF;
  --ink: #2B1F13;
  --muted: #6F5F4F;
  --line: rgba(66, 47, 26, .12);
  --line-strong: rgba(66, 47, 26, .22);
  --wa: #25D366;

  --font-display: "Urbanist", "Segoe UI", system-ui, sans-serif;
  --font-body: "Mulish", "Segoe UI", system-ui, sans-serif;

  --radius-sm: 12px;
  --radius: 20px;
  --radius-lg: 32px;
  --shadow-sm: 0 1px 2px rgba(66, 47, 26, .06), 0 2px 8px rgba(66, 47, 26, .05);
  --shadow: 0 10px 30px -10px rgba(66, 47, 26, .18);
  --shadow-lg: 0 30px 60px -20px rgba(66, 47, 26, .28);

  --ease: cubic-bezier(.22, .61, .36, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --header-h: 78px;
  --gutter: clamp(16px, 4vw, 32px);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.12; letter-spacing: -.02em; margin: 0; color: var(--cocoa); }
p { margin: 0; }
::selection { background: var(--cream); color: var(--cocoa); }
:focus-visible { outline: 2px solid var(--bronze); outline-offset: 3px; border-radius: 6px; }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 200;
  background: var(--cocoa); color: #fff; padding: 10px 16px; border-radius: 10px;
  transition: top .2s var(--ease);
}
.skip-link:focus { top: 12px; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(72px, 10vw, 128px) 0; position: relative; }
.section--tint { background: var(--bg-2); }
.section--dark { background: var(--cocoa); color: var(--cream-soft); }
.section--dark h2, .section--dark h3 { color: #fff; }

.h1 { font-size: clamp(2.5rem, 6vw, 4.75rem); font-weight: 600; }
.h2 { font-size: clamp(2rem, 4.2vw, 3.25rem); }
.h3 { font-size: clamp(1.3rem, 2vw, 1.6rem); }
.lead { font-size: clamp(1.05rem, 1.4vw, 1.2rem); color: var(--muted); max-width: 60ch; }
.section--dark .lead { color: rgba(243, 230, 204, .78); }
.text-accent { color: var(--bronze); }
.serif-i { font-style: italic; font-weight: 400; color: var(--bronze); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-display); font-weight: 600;
  font-size: .75rem; letter-spacing: .26em; text-transform: uppercase;
  color: var(--bronze); margin-bottom: 18px;
}
.section--dark .eyebrow { color: var(--cream); }

/* Brand three-dot motif */
/* Proportions follow the brand artwork: dot spacing 3.5d across, 2.4d down. */
.dots { --d: 6px; display: inline-grid; grid-template-columns: repeat(2, var(--d)); column-gap: calc(var(--d) * 2.5); row-gap: calc(var(--d) * 1.4); flex: none; }
.dots i { width: var(--d); height: var(--d); border-radius: 50%; background: currentColor; }
.dots i:nth-child(3) { grid-column: 1; }

.section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: clamp(40px, 5vw, 64px); }
.section-head > div { max-width: 640px; }
.section-head .lead { margin-top: 16px; }
.center { text-align: center; margin-left: auto; margin-right: auto; }
.section-head.center { flex-direction: column; align-items: center; }

/* ---------- Buttons ---------- */
.btn {
  --bg-btn: var(--rust); --fg-btn: #fff;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 26px; border-radius: 999px;
  font-family: var(--font-display); font-weight: 600; font-size: .98rem; letter-spacing: .01em;
  background: var(--bg-btn); color: var(--fg-btn);
  transition: background .35s var(--ease), color .35s var(--ease), transform .35s var(--ease), box-shadow .35s var(--ease);
  overflow: hidden; isolation: isolate; white-space: nowrap;
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--cocoa); border-radius: inherit;
  transform: scale(0, 1); transform-origin: right; transition: transform .5s var(--ease-out);
}
.btn:hover::before { transform: scale(1, 1); transform-origin: left; }
.btn:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn .arrow { transition: transform .4s var(--ease-out); }
.btn:hover .arrow { transform: translateX(4px); }
.btn--ghost { --bg-btn: transparent; --fg-btn: var(--cocoa); box-shadow: inset 0 0 0 1.5px var(--line-strong); }
.btn--ghost::before { background: var(--cocoa); }
.btn--ghost:hover { --fg-btn: #fff; color: #fff; }
.btn--light { --bg-btn: var(--cream); --fg-btn: var(--cocoa); }
.btn--light::before { background: #fff; }
.btn--wa { --bg-btn: var(--wa); --fg-btn: #fff; }
.btn--wa::before { background: #1ebe5a; }
.btn--sm { padding: 11px 18px; font-size: .9rem; }
.btn svg { width: 18px; height: 18px; flex: none; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-display); font-weight: 600; color: var(--rust);
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1.5px no-repeat;
  transition: background-size .45s var(--ease-out);
  padding-bottom: 2px;
}
.link-arrow:hover { background-size: 100% 1.5px; }
.link-arrow svg { width: 16px; height: 16px; transition: transform .4s var(--ease-out); }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- Header ---------- */
.progress { position: fixed; top: 0; left: 0; height: 2px; width: 100%; z-index: 120; background: var(--bronze); transform-origin: 0 50%; transform: scaleX(0); }

.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--header-h);
  display: flex; align-items: center;
  transition: background .4s var(--ease), box-shadow .4s var(--ease), height .4s var(--ease), transform .45s var(--ease);
}
.site-header.is-scrolled {
  background: rgba(251, 248, 243, .82);
  -webkit-backdrop-filter: saturate(160%) blur(14px); backdrop-filter: saturate(160%) blur(14px);
  box-shadow: 0 1px 0 var(--line);
  --header-h: 66px;
}
.site-header.is-hidden { transform: translateY(-100%); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.brand { display: inline-flex; flex-direction: column; align-items: center; gap: 4px; color: var(--bronze); line-height: 1; }
.brand .logo-mark { height: 34px; width: auto; fill: currentColor; transition: transform .5s var(--ease-out); }
.brand:hover .logo-mark { transform: translateY(-1px); }
.brand small { font-family: var(--font-display); font-weight: 600; font-size: .5rem; letter-spacing: .34em; color: var(--rust); padding-left: .34em; white-space: nowrap; }

.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-links a {
  position: relative; padding: 10px 14px; border-radius: 999px;
  font-family: var(--font-display); font-weight: 500; font-size: .98rem; color: var(--ink);
  transition: color .3s var(--ease), background .3s var(--ease);
}
.nav-links a:hover { background: rgba(232, 209, 166, .35); }
.nav-links a[aria-current="page"] { color: var(--rust); }
.nav-links a[aria-current="page"]::after {
  content: ""; position: absolute; left: 50%; bottom: 3px; width: 5px; height: 5px; margin-left: -2.5px;
  border-radius: 50%; background: var(--rust);
}
.nav-cta { display: flex; align-items: center; gap: 10px; }
.nav-phone {
  display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 999px;
  font-family: var(--font-display); font-weight: 600; font-size: .95rem; color: var(--cocoa);
  transition: background .3s var(--ease);
}
.nav-phone:hover { background: rgba(232, 209, 166, .35); }
.nav-phone svg { width: 18px; height: 18px; color: var(--rust); }

.nav-toggle { display: none; width: 46px; height: 46px; border-radius: 50%; position: relative; background: var(--surface); box-shadow: var(--shadow-sm); }
.nav-toggle span { position: absolute; left: 14px; right: 14px; height: 1.8px; border-radius: 2px; background: var(--cocoa); transition: transform .4s var(--ease-out), opacity .3s; }
.nav-toggle span:nth-child(1) { top: 17px; }
.nav-toggle span:nth-child(2) { top: 22.5px; }
.nav-toggle span:nth-child(3) { top: 28px; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 90; background: var(--bg);
  padding: calc(var(--header-h) + 24px) var(--gutter) 32px;
  display: flex; flex-direction: column; gap: 32px;
  clip-path: circle(0 at calc(100% - 40px) 40px);
  transition: clip-path .7s var(--ease-out); visibility: hidden;
}
.mobile-menu.is-open { clip-path: circle(150% at calc(100% - 40px) 40px); visibility: visible; }
.mobile-menu nav a {
  display: flex; justify-content: space-between; align-items: center;
  padding: 16px 0; border-bottom: 1px solid var(--line);
  font-family: var(--font-display); font-size: 1.9rem; font-weight: 500; color: var(--cocoa);
  opacity: 0; transform: translateY(16px); transition: opacity .5s var(--ease), transform .5s var(--ease-out);
}
.mobile-menu nav a[aria-current="page"] { color: var(--rust); }
.mobile-menu.is-open nav a { opacity: 1; transform: none; }
.mobile-menu.is-open nav a:nth-child(2) { transition-delay: .05s; }
.mobile-menu.is-open nav a:nth-child(3) { transition-delay: .1s; }
.mobile-menu.is-open nav a:nth-child(4) { transition-delay: .15s; }
.mobile-menu .mm-actions { display: grid; gap: 12px; margin-top: auto; }
.mobile-menu .mm-actions .btn { width: 100%; }
body.menu-open { overflow: hidden; }

/* ---------- Hero ---------- */
.hero { padding: calc(var(--header-h) + clamp(32px, 6vw, 72px)) 0 clamp(56px, 8vw, 96px); position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; right: -10%; top: -20%; width: 70vw; height: 70vw; max-width: 900px; max-height: 900px;
  background: radial-gradient(closest-side, rgba(232, 209, 166, .55), rgba(232, 209, 166, 0));
  pointer-events: none; z-index: -1;
}
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero .hero-title { margin: 0 0 24px; font-family: var(--font-display); line-height: 1.08; letter-spacing: -.02em; color: var(--cocoa); }
h1.eyebrow { line-height: 1.5; }
.hero .hero-title .line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero .hero-title .line > span { display: inline-block; transform: translateY(110%); animation: rise 1s var(--ease-out) forwards; }
.hero .hero-title .line:nth-child(2) > span { animation-delay: .1s; }
.hero .hero-title .line:nth-child(3) > span { animation-delay: .2s; }
@keyframes rise { to { transform: none; } }
.hero .lead { margin-bottom: 32px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 44px; }
.hero-stats { display: flex; flex-wrap: wrap; gap: clamp(20px, 4vw, 44px); padding-top: 28px; border-top: 1px solid var(--line); }
.hero-stats strong { display: block; font-family: var(--font-display); font-size: clamp(1.7rem, 3vw, 2.2rem); font-weight: 600; color: var(--cocoa); line-height: 1.1; }
.hero-stats > div > span { font-size: .88rem; color: var(--muted); }

.hero-visual { position: relative; }
.hero-photo {
  position: relative; border-radius: 240px 240px var(--radius-lg) var(--radius-lg); overflow: hidden;
  aspect-ratio: 4 / 5; box-shadow: var(--shadow-lg);
  animation: unveil 1.4s var(--ease-out) both .15s;
}
@keyframes unveil { from { clip-path: inset(100% 0 0 0 round 240px 240px 32px 32px); } to { clip-path: inset(0 0 0 0 round 240px 240px 32px 32px); } }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); animation: settle 2s var(--ease-out) forwards .15s; }
@keyframes settle { to { transform: scale(1); } }
.hero-dots { position: absolute; top: 6%; right: -4%; color: var(--cream); }
.hero-dots .dots { --d: 18px; }
.hero-dots .dots i { animation: pulse-dot 3s var(--ease) infinite; }
.hero-dots .dots i:nth-child(2) { animation-delay: .4s; }
.hero-dots .dots i:nth-child(3) { animation-delay: .8s; }
@keyframes pulse-dot { 0%, 100% { transform: scale(1); } 50% { transform: scale(.7); opacity: .7; } }

.float-card {
  position: absolute; background: rgba(255, 255, 255, .92);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border-radius: 18px; box-shadow: var(--shadow); padding: 14px 16px;
  display: flex; align-items: center; gap: 12px;
  animation: float-in 1s var(--ease-out) both, bob 6s ease-in-out infinite 1.2s;
}
.float-card--doc { left: -8%; bottom: 12%; animation-delay: .7s, 1.7s; max-width: 280px; }
.float-card--ecg { right: -6%; top: 38%; flex-direction: column; align-items: flex-start; gap: 6px; animation-delay: .9s, 2s; }
.float-card img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; object-position: 50% 20%; }
.float-card b { display: block; font-family: var(--font-display); font-size: .98rem; color: var(--cocoa); line-height: 1.2; }
.float-card small { font-size: .78rem; color: var(--muted); }
.float-card .live { display: inline-flex; align-items: center; gap: 6px; font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--rust); }
.float-card .live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--rust); animation: blink 1.2s infinite; }
@keyframes blink { 50% { opacity: .2; } }
@keyframes float-in { from { opacity: 0; transform: translateY(20px) scale(.96); } to { opacity: 1; transform: none; } }
@keyframes bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -8px; } }

.ecg { width: 150px; height: 40px; color: var(--rust); }
.ecg path { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 300; stroke-dashoffset: 300; animation: draw 2.6s var(--ease) infinite; }
@keyframes draw { 0% { stroke-dashoffset: 300; } 60% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: -300; } }

/* ---------- Marquee ---------- */
.marquee { border-block: 1px solid var(--line); padding: 22px 0; overflow: hidden; background: var(--bg); }
.marquee-track { display: flex; width: max-content; gap: 48px; animation: marquee 40s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span { display: inline-flex; align-items: center; gap: 48px; font-family: var(--font-display); font-size: clamp(1.1rem, 2vw, 1.45rem); font-weight: 500; color: var(--cocoa); white-space: nowrap; }
.marquee-track span::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--cream); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Media / images ---------- */
.photo { filter: sepia(.08) saturate(.95); }
.img-wrap { position: relative; overflow: hidden; border-radius: var(--radius); background: var(--bg-2); }
.img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out), opacity .8s var(--ease); }
.js img[loading="lazy"]:not(.is-loaded) { opacity: 0; }

/* ---------- Doctor intro ---------- */
.doctor-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.doctor-photo { position: relative; }
.doctor-photo .img-wrap { aspect-ratio: 4 / 5; border-radius: var(--radius-lg); }
.doctor-photo .img-wrap img { object-position: 50% 25%; }
.doctor-photo::before {
  content: ""; position: absolute; inset: 24px -24px -24px 24px; border-radius: var(--radius-lg);
  border: 1.5px solid var(--cream); z-index: -1;
}
.badge-years {
  position: absolute; right: -20px; bottom: 40px; width: 132px; height: 132px; border-radius: 50%;
  background: var(--rust); color: var(--cream-soft); display: grid; place-content: center; text-align: center;
  box-shadow: var(--shadow-lg);
}
.badge-years strong { font-family: var(--font-display); font-size: 2.4rem; line-height: 1; color: #fff; }
.badge-years span { font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; }
.badge-years svg { position: absolute; inset: 6px; width: calc(100% - 12px); height: calc(100% - 12px); animation: spin 18s linear infinite; }
.badge-years svg text { font-family: var(--font-display); font-size: 9.5px; letter-spacing: 3.2px; fill: var(--cream); text-transform: uppercase; }
@keyframes spin { to { transform: rotate(360deg); } }

.cred-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin: 32px 0 36px; }
.cred-list li { display: flex; gap: 12px; align-items: flex-start; font-size: .97rem; }
.check { flex: none; width: 24px; height: 24px; border-radius: 50%; background: var(--cream-soft); color: var(--rust); display: grid; place-items: center; margin-top: 1px; }
.check svg { width: 13px; height: 13px; }

.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tag { padding: 7px 14px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-size: .85rem; font-weight: 600; color: var(--cocoa); }

/* ---------- Treatment cards ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.t-card {
  position: relative; display: flex; flex-direction: column; border-radius: var(--radius); overflow: hidden;
  background: var(--surface); border: 1px solid var(--line);
  transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out), border-color .4s;
}
.t-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.t-card .img-wrap { aspect-ratio: 16 / 11; border-radius: 0; }
.t-card:hover .img-wrap img { transform: scale(1.06); }
.t-card .num { position: absolute; top: 16px; left: 16px; z-index: 2; padding: 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, .9); font-family: var(--font-display); font-weight: 700; font-size: .78rem; color: var(--rust); letter-spacing: .08em; }
.t-card-body { padding: 24px 24px 26px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.t-card h3 { font-size: 1.3rem; }
.t-card p { color: var(--muted); font-size: .96rem; }
.t-card .link-arrow { margin-top: auto; padding-top: 10px; }
.t-card .go {
  position: absolute; top: 16px; right: 16px; z-index: 2; width: 44px; height: 44px; border-radius: 50%;
  background: var(--rust); color: #fff; display: grid; place-items: center;
  transform: scale(0) rotate(-45deg); transition: transform .5s var(--ease-out);
}
.t-card:hover .go { transform: scale(1) rotate(0); }
.t-card .go svg { width: 18px; height: 18px; }

/* ---------- Specialities grid ---------- */
.spec-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.spec {
  position: relative; display: flex; flex-direction: column; gap: 10px; padding: 24px 20px 22px;
  border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line);
  transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out), border-color .4s;
}
.spec:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.spec .ic { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--rust); color: #fff; margin-bottom: 4px; }
.spec .ic svg { width: 26px; height: 26px; }
.spec h3 { font-size: 1.12rem; }
.spec p { color: var(--muted); font-size: .9rem; }
.spec .link-arrow { margin-top: auto; padding-top: 6px; font-size: .88rem; }
.spec--lead { background: var(--cocoa); border-color: var(--cocoa); }
.spec--lead h3, .spec--lead p, .spec--lead .link-arrow { color: #fff; }
.spec--lead .ic { background: #fff; color: var(--rust); }
.spec, #specialities { scroll-margin-top: calc(var(--header-h) + 24px); }

/* ---------- Process steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: step; position: relative; }
.steps::before { content: ""; position: absolute; top: 27px; left: 28px; right: 28px; height: 1.5px; background: var(--line-strong); }
.steps::after { content: ""; position: absolute; top: 27px; left: 28px; right: 28px; height: 1.5px; background: var(--bronze); transform-origin: left; transform: scaleX(0); transition: transform 2s var(--ease-out) .3s; }
.steps.is-in::after { transform: scaleX(1); }
.step { position: relative; }
.step-num {
  position: relative; z-index: 1; width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center; margin-bottom: 24px;
  background: var(--bg-2); border: 1.5px solid var(--bronze); color: var(--rust);
  font-family: var(--font-display); font-weight: 700; font-size: 1.05rem;
  transition: background .4s, color .4s;
}
.step:hover .step-num { background: var(--rust); color: #fff; border-color: var(--rust); }
.step h3 { font-size: 1.2rem; margin-bottom: 10px; }
.step p { color: var(--muted); font-size: .95rem; }

/* ---------- Stats band ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat { padding: 8px 0 8px 24px; border-left: 1px solid rgba(232, 209, 166, .25); }
.stat strong { display: block; font-family: var(--font-display); font-size: clamp(2.4rem, 5vw, 3.6rem); font-weight: 600; color: var(--cream); line-height: 1; margin-bottom: 10px; }
.stat > span { font-size: .95rem; color: rgba(243, 230, 204, .75); }

/* ---------- Testimonials ---------- */
.slider { position: relative; }
.slider-track {
  display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 48px) / 3); gap: 24px;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding: 6px 2px 24px;
  scrollbar-width: none;
}
.slider-track::-webkit-scrollbar { display: none; }
.quote {
  margin: 0; scroll-snap-align: start; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 32px; display: flex; flex-direction: column; gap: 22px;
  transition: transform .5s var(--ease-out), box-shadow .5s;
}
.quote:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.quote .stars { display: flex; gap: 3px; color: var(--bronze); }
.quote .stars svg { width: 16px; height: 16px; }
.quote blockquote { margin: 0; font-size: 1.04rem; line-height: 1.7; color: var(--ink); flex: 1; }
.quote figcaption { display: flex; align-items: center; gap: 12px; padding-top: 18px; border-top: 1px solid var(--line); }
.avatar { width: 42px; height: 42px; border-radius: 50%; background: var(--cream-soft); color: var(--rust); display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; }
.quote figcaption b { display: block; font-family: var(--font-display); color: var(--cocoa); }
.quote figcaption small { color: var(--muted); font-size: .82rem; }
.slider-nav { display: flex; gap: 10px; }
.icon-btn {
  width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center;
  border: 1.5px solid var(--line-strong); color: var(--cocoa);
  transition: background .3s, color .3s, border-color .3s, transform .3s var(--ease-out);
}
.icon-btn:hover { background: var(--cocoa); color: #fff; border-color: var(--cocoa); }
.icon-btn:active { transform: scale(.94); }
.icon-btn svg { width: 20px; height: 20px; }
.icon-btn[disabled] { opacity: .35; pointer-events: none; }

/* ---------- Appointment ---------- */
.appt { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
.appt-info { position: sticky; top: calc(var(--header-h) + 24px); }
.info-list { display: grid; gap: 14px; margin-top: 32px; }
.info-item {
  display: flex; gap: 16px; align-items: flex-start; padding: 18px 20px; border-radius: var(--radius-sm);
  background: var(--surface); border: 1px solid var(--line);
  transition: border-color .3s, transform .4s var(--ease-out);
}
a.info-item:hover { border-color: var(--bronze); transform: translateX(4px); }
.info-item .ic { flex: none; width: 44px; height: 44px; border-radius: 12px; background: var(--cream-soft); color: var(--rust); display: grid; place-items: center; }
.info-item .ic svg { width: 20px; height: 20px; }
.info-item b { display: block; font-family: var(--font-display); color: var(--cocoa); font-size: 1rem; }
.info-item span { font-size: .92rem; color: var(--muted); }
.schedule { width: 100%; border-collapse: collapse; font-size: .9rem; margin-top: 4px; }
.schedule td { padding: 3px 0; color: var(--muted); }
.schedule td:last-child { text-align: right; color: var(--cocoa); font-weight: 600; white-space: nowrap; padding-left: 12px; }

.form-card {
  background: var(--surface); border-radius: var(--radius-lg); padding: clamp(20px, 3vw, 36px);
  box-shadow: var(--shadow-lg); border: 1px solid var(--line); position: relative;
}
.form-card h3 { font-size: 1.5rem; margin-bottom: 6px; }
.form-card > p { color: var(--muted); font-size: .95rem; margin-bottom: 18px; }
.form-card iframe { width: 100%; min-height: 480px; }
.form-note { display: flex; gap: 8px; align-items: center; font-size: .82rem; color: var(--muted); margin-top: 14px; }
.form-note svg { width: 16px; height: 16px; color: var(--bronze); flex: none; }

/* ---------- FAQ / accordion ---------- */
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 5vw, 80px); align-items: start; }
.accordion { border-top: 1px solid var(--line-strong); }
.acc-item { border-bottom: 1px solid var(--line-strong); }
.acc-btn {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 24px; text-align: left;
  padding: 24px 0; font-family: var(--font-display); font-weight: 600; font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: var(--cocoa);
  transition: color .3s;
}
.acc-btn:hover { color: var(--rust); }
.acc-icon { position: relative; flex: none; width: 36px; height: 36px; border-radius: 50%; border: 1.5px solid var(--line-strong); transition: background .3s, border-color .3s, transform .5s var(--ease-out); }
.acc-icon::before, .acc-icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.6px; margin: -.8px 0 0 -6px; background: currentColor; border-radius: 2px; transition: transform .4s var(--ease-out); }
.acc-icon::after { transform: rotate(90deg); }
.acc-btn[aria-expanded="true"] .acc-icon { background: var(--rust); border-color: var(--rust); color: #fff; transform: rotate(180deg); }
.acc-btn[aria-expanded="true"] .acc-icon::after { transform: rotate(0); }
.acc-panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .5s var(--ease-out); }
.acc-panel > div { overflow: hidden; }
.acc-panel p { padding: 0 56px 24px 0; color: var(--muted); }
.acc-item.is-open .acc-panel { grid-template-rows: 1fr; }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative; overflow: hidden; border-radius: var(--radius-lg);
  background: var(--rust); color: var(--cream-soft);
  padding: clamp(40px, 6vw, 80px); display: grid; grid-template-columns: 1.4fr auto; gap: 32px; align-items: center;
}
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(243, 230, 204, .82); margin-top: 14px; max-width: 52ch; }
.cta-band .actions { display: flex; flex-wrap: wrap; gap: 12px; }
.cta-band .bg-dots { position: absolute; right: -40px; top: -40px; color: rgba(232, 209, 166, .12); }
.cta-band .bg-dots .dots { --d: 110px; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { padding: calc(var(--header-h) + clamp(48px, 7vw, 96px)) 0 clamp(48px, 6vw, 80px); position: relative; overflow: hidden; }
.page-hero::after {
  content: ""; position: absolute; left: 50%; top: -30%; width: 900px; height: 900px; transform: translateX(-10%);
  background: radial-gradient(closest-side, rgba(232, 209, 166, .5), transparent); z-index: -1; pointer-events: none;
}
/* Brand three-dot artwork as a quiet backdrop on every inner page */
.page-hero::before {
  content: ""; position: absolute; right: clamp(16px, 6vw, 96px); top: 50%; transform: translateY(-50%);
  width: clamp(150px, 26vw, 380px); aspect-ratio: 331 / 252; pointer-events: none; z-index: -1;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 331 252'%3E%3Cg fill='%23855A2D' fill-opacity='.13'%3E%3Ccircle cx='37' cy='37' r='37'/%3E%3Ccircle cx='294' cy='37' r='37'/%3E%3Ccircle cx='37' cy='215' r='37'/%3E%3C/g%3E%3C/svg%3E") center / contain no-repeat;
}
@media (max-width: 900px) {
  .page-hero::before { top: calc(var(--header-h) + 14px); transform: none; width: 96px; right: 20px; }
}
.crumbs { display: flex; gap: 8px; align-items: center; font-size: .85rem; color: var(--muted); margin-bottom: 20px; }
.crumbs a:hover { color: var(--rust); }
.crumbs span[aria-hidden] { opacity: .5; }
.page-hero h1 { max-width: 16ch; }
.page-hero .lead { margin-top: 22px; }
.page-hero-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 48px; align-items: end; }

/* ---------- About page ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.collage { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.collage .img-wrap:first-child { grid-row: span 2; aspect-ratio: 3 / 4.4; }
.collage .img-wrap { aspect-ratio: 1; }
.values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.value {
  padding: 32px 28px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line);
  transition: transform .5s var(--ease-out), box-shadow .5s, background .4s;
}
.value:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.value .ic { width: 52px; height: 52px; border-radius: 14px; background: var(--cream-soft); color: var(--rust); display: grid; place-items: center; margin-bottom: 22px; transition: background .4s, color .4s, transform .5s var(--ease-out); }
.value:hover .ic { background: var(--rust); color: #fff; transform: rotate(-8deg); }
.value .ic svg { width: 24px; height: 24px; }
.value h3 { font-size: 1.25rem; margin-bottom: 8px; }
.value p { color: var(--muted); font-size: .95rem; }

.profile { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.profile-card { position: sticky; top: calc(var(--header-h) + 24px); background: var(--surface); border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); }
.profile-card .img-wrap { aspect-ratio: 4 / 4.4; border-radius: 0; }
.profile-card .img-wrap img { object-position: 50% 22%; }
.profile-card-body { padding: 24px 26px 28px; }
.profile-card h3 { font-size: 1.45rem; }
.profile-card .role { color: var(--bronze); font-weight: 700; font-size: .9rem; margin: 4px 0 18px; }
.kv { display: grid; gap: 10px; font-size: .92rem; }
.kv div { display: flex; justify-content: space-between; gap: 16px; padding-bottom: 10px; border-bottom: 1px dashed var(--line-strong); }
.kv div:last-child { border: 0; padding: 0; }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; font-weight: 700; color: var(--cocoa); text-align: right; }

.prose h3 { font-size: 1.5rem; margin: 48px 0 16px; }
.prose h3:first-child { margin-top: 0; }
.prose p { color: var(--muted); margin-bottom: 16px; font-size: 1.04rem; }

.timeline { position: relative; display: grid; gap: 4px; margin-top: 8px; }
.timeline::before { content: ""; position: absolute; left: 7px; top: 10px; bottom: 10px; width: 1.5px; background: var(--line-strong); }
.tl-item { position: relative; padding: 14px 0 14px 40px; }
.tl-item::before { content: ""; position: absolute; left: 0; top: 20px; width: 16px; height: 16px; border-radius: 50%; background: var(--bg); border: 2px solid var(--bronze); transition: background .3s; }
.tl-item:hover::before { background: var(--bronze); }
.tl-item .yr { font-family: var(--font-display); font-weight: 700; color: var(--rust); font-size: .88rem; letter-spacing: .08em; }
.tl-item b { display: block; font-family: var(--font-display); color: var(--cocoa); font-size: 1.1rem; }
.tl-item span { color: var(--muted); font-size: .94rem; }

.achieve { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.achieve div { padding: 22px; border-radius: var(--radius-sm); background: var(--bg-2); }
.achieve strong { display: block; font-family: var(--font-display); font-size: 2rem; color: var(--rust); line-height: 1.1; }
.achieve span { font-size: .92rem; color: var(--muted); }

.affil { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.affil-card { padding: 28px; border-radius: var(--radius); border: 1px solid rgba(232, 209, 166, .2); background: rgba(255, 255, 255, .03); transition: background .4s, transform .5s var(--ease-out); }
.affil-card:hover { background: rgba(255, 255, 255, .07); transform: translateY(-4px); }
.affil-card .ic { width: 44px; height: 44px; border-radius: 12px; background: rgba(232, 209, 166, .14); color: var(--cream); display: grid; place-items: center; margin-bottom: 18px; }
.affil-card .ic svg { width: 22px; height: 22px; }
.affil-card h3 { font-size: 1.15rem; margin-bottom: 6px; }
.affil-card p { font-size: .92rem; color: rgba(243, 230, 204, .7); }

/* ---------- Treatments page ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  padding: 10px 18px; border-radius: 999px; border: 1.5px solid var(--line-strong);
  font-family: var(--font-display); font-weight: 600; font-size: .92rem; color: var(--cocoa);
  transition: background .3s, color .3s, border-color .3s, transform .3s var(--ease-out);
}
.chip:hover { border-color: var(--cocoa); }
.chip:active { transform: scale(.96); }
.chip[aria-pressed="true"], .chip.is-active { background: var(--cocoa); color: #fff; border-color: var(--cocoa); }
.chips-bar { position: sticky; top: calc(var(--header-h) - 1px); z-index: 20; padding: 14px 0; background: rgba(251, 248, 243, .9); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.chips-bar .chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
.chips-bar .chips::-webkit-scrollbar { display: none; }
.chip { white-space: nowrap; }

.tx-list { display: grid; gap: 24px; }
.tx {
  display: grid; grid-template-columns: 340px 1fr; gap: 0; border-radius: var(--radius); overflow: hidden;
  background: var(--surface); border: 1px solid var(--line);
  transition: box-shadow .5s var(--ease-out), transform .5s var(--ease-out), opacity .4s, border-color .4s;
}
.tx:hover { box-shadow: var(--shadow); border-color: transparent; }
.tx.is-hidden { display: none; }
.tx { scroll-margin-top: calc(var(--header-h) + 96px); }
.tx .img-wrap { border-radius: 0; min-height: 100%; aspect-ratio: auto; }
.tx:hover .img-wrap img { transform: scale(1.05); }
.tx-body { padding: clamp(24px, 3vw, 36px); display: flex; flex-direction: column; gap: 14px; }
.tx-cat { font-family: var(--font-display); font-weight: 700; font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--bronze); }
.tx h2 { font-size: clamp(1.4rem, 2.4vw, 1.8rem); }
.tx p { color: var(--muted); }
.tx-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 6px; padding-top: 18px; border-top: 1px solid var(--line); }
.tx-cols h4 { font-size: .95rem; margin-bottom: 10px; color: var(--cocoa); }
.tx-cols li { position: relative; padding-left: 18px; font-size: .93rem; color: var(--muted); margin-bottom: 6px; }
.tx-cols li::before { content: ""; position: absolute; left: 0; top: .62em; width: 6px; height: 6px; border-radius: 50%; background: var(--cream); box-shadow: 0 0 0 1.5px var(--bronze); }
.tx-foot { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; margin-top: 6px; }

.warn {
  display: grid; grid-template-columns: auto 1fr auto; gap: 24px; align-items: center;
  padding: clamp(24px, 3vw, 36px); border-radius: var(--radius); background: #fff; border: 1.5px solid rgba(116, 50, 22, .25);
}
.warn .ic { width: 60px; height: 60px; border-radius: 50%; background: var(--rust); color: #fff; display: grid; place-items: center; animation: heartbeat 1.6s ease-in-out infinite; }
.warn .ic svg { width: 28px; height: 28px; }
@keyframes heartbeat { 0%, 100% { transform: scale(1); } 15% { transform: scale(1.12); } 30% { transform: scale(1); } 45% { transform: scale(1.08); } }
.warn h3 { font-size: 1.3rem; margin-bottom: 6px; }
.warn p { color: var(--muted); font-size: .96rem; }

/* ---------- Gallery ---------- */
.gallery { columns: 3 300px; column-gap: 20px; }
.g-item {
  break-inside: avoid; margin-bottom: 20px; display: block; width: 100%; position: relative; border-radius: var(--radius); overflow: hidden; cursor: zoom-in;
  transition: opacity .5s var(--ease), transform .5s var(--ease-out);
  background: var(--bg-2);
}
.g-item img { width: 100%; transition: transform 1.2s var(--ease-out), opacity .8s var(--ease); }
.g-item:hover img { transform: scale(1.05); }
.g-item .g-cap {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 20px 18px;
  background: linear-gradient(to top, rgba(42, 30, 19, .75), transparent);
  color: #fff; display: flex; justify-content: space-between; align-items: end; gap: 12px;
  opacity: 0; transform: translateY(10px); transition: opacity .4s var(--ease), transform .5s var(--ease-out);
}
.g-item:hover .g-cap, .g-item:focus-visible .g-cap { opacity: 1; transform: none; }
.g-item .g-cap b { font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; text-align: left; }
.g-item .g-cap small { font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; opacity: .8; }
.g-item.is-hidden { display: none; }
.g-zoom { position: absolute; top: 14px; right: 14px; width: 40px; height: 40px; border-radius: 50%; background: rgba(255, 255, 255, .9); color: var(--cocoa); display: grid; place-items: center; transform: scale(0); transition: transform .45s var(--ease-out); }
.g-item:hover .g-zoom { transform: scale(1); }
.g-zoom svg { width: 18px; height: 18px; }

.lightbox {
  position: fixed; inset: 0; z-index: 300; background: rgba(28, 20, 12, .92);
  display: grid; place-items: center; padding: 72px 16px;
  opacity: 0; visibility: hidden; transition: opacity .4s var(--ease), visibility .4s;
}
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox figure { margin: 0; max-width: min(1100px, 100%); max-height: 100%; display: flex; flex-direction: column; align-items: center; gap: 14px; transform: scale(.94); transition: transform .5s var(--ease-out); }
.lightbox.is-open figure { transform: none; }
.lightbox img { max-height: calc(100vh - 180px); width: auto; border-radius: var(--radius-sm); box-shadow: var(--shadow-lg); }
.lightbox figcaption { color: var(--cream-soft); font-family: var(--font-display); font-size: 1rem; }
.lb-btn { position: absolute; width: 52px; height: 52px; border-radius: 50%; background: rgba(255, 255, 255, .1); color: #fff; display: grid; place-items: center; transition: background .3s; }
.lb-btn:hover { background: rgba(255, 255, 255, .22); }
.lb-btn svg { width: 22px; height: 22px; }
.lb-close { top: 16px; right: 16px; }
.lb-prev { left: 16px; top: 50%; translate: 0 -50%; }
.lb-next { right: 16px; top: 50%; translate: 0 -50%; }
.lb-count { position: absolute; top: 28px; left: 24px; color: rgba(243, 230, 204, .7); font-family: var(--font-display); font-size: .9rem; letter-spacing: .1em; }

/* ---------- Legal pages ---------- */
.legal { display: grid; grid-template-columns: 260px 1fr; gap: clamp(32px, 5vw, 80px); align-items: start; }
.toc { position: sticky; top: calc(var(--header-h) + 24px); padding: 24px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.toc b { display: block; font-family: var(--font-display); color: var(--cocoa); margin-bottom: 12px; font-size: .85rem; letter-spacing: .16em; text-transform: uppercase; }
.toc a { display: block; padding: 7px 0 7px 14px; font-size: .92rem; color: var(--muted); border-left: 2px solid var(--line); transition: color .3s, border-color .3s; }
.toc a:hover, .toc a.is-active { color: var(--rust); border-color: var(--rust); }
.legal-body { max-width: 760px; }
.legal-body section { padding-bottom: 36px; margin-bottom: 36px; border-bottom: 1px solid var(--line); }
.legal-body section:last-child { border: 0; }
.legal-body h2 { font-size: clamp(1.35rem, 2.2vw, 1.65rem); margin-bottom: 16px; }
.legal-body p, .legal-body li { color: var(--muted); font-size: 1rem; }
.legal-body p + p { margin-top: 12px; }
.legal-body ul { margin: 12px 0; display: grid; gap: 8px; }
.legal-body li { position: relative; padding-left: 20px; }
.legal-body li::before { content: ""; position: absolute; left: 2px; top: .7em; width: 6px; height: 6px; border-radius: 50%; background: var(--bronze); }
.legal-body a { color: var(--rust); text-decoration: underline; text-underline-offset: 3px; }
.legal-body strong { color: var(--cocoa); }
.updated { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-size: .85rem; color: var(--muted); margin-top: 24px; }

/* ---------- Map ---------- */
.map-wrap { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line); aspect-ratio: 4 / 3.2; background: var(--bg-2); }
.map-wrap iframe { width: 100%; height: 100%; border: 0; filter: sepia(.15) saturate(.9); }

/* ---------- Footer ---------- */
.site-footer { background: var(--cocoa); color: rgba(243, 230, 204, .72); padding: clamp(64px, 8vw, 96px) 0 28px; position: relative; overflow: hidden; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 56px; border-bottom: 1px solid rgba(232, 209, 166, .15); }
.site-footer .brand { color: var(--cream); align-items: flex-start; }
.site-footer .brand small { color: #fff; }
.site-footer .brand .logo-mark { height: 42px; }
.footer-areas { margin-top: 18px; font-size: .85rem; line-height: 1.6; max-width: 34ch; color: rgba(243, 230, 204, .6); }
.footer-tagline { margin-top: 22px; font-family: var(--font-display); font-weight: 500; font-size: .85rem; letter-spacing: .2em; line-height: 1.9; color: var(--cream); }
.site-footer h4 { color: #fff; font-size: .82rem; letter-spacing: .2em; text-transform: uppercase; margin-bottom: 20px; }
.footer-links { display: grid; gap: 10px; }
.footer-links a { position: relative; width: fit-content; transition: color .3s, padding .4s var(--ease-out); }
.footer-links a:hover { color: var(--cream); padding-left: 10px; }
.footer-links a::before { content: ""; position: absolute; left: 0; top: 50%; width: 5px; height: 5px; margin-top: -2.5px; border-radius: 50%; background: var(--cream); transform: scale(0); transition: transform .3s var(--ease-out); }
.footer-links a:hover::before { transform: scale(1); }
.footer-contact { display: grid; gap: 14px; font-size: .95rem; }
.footer-contact a:hover { color: var(--cream); }
.footer-contact div { display: flex; gap: 12px; align-items: flex-start; }
.footer-contact svg { width: 18px; height: 18px; color: var(--cream); flex: none; margin-top: 3px; }
.socials { display: flex; gap: 10px; margin-top: 22px; }
.socials a { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgba(232, 209, 166, .25); color: var(--cream); transition: background .3s, color .3s, transform .4s var(--ease-out); }
.socials a:hover { background: var(--cream); color: var(--cocoa); transform: translateY(-3px); }
.socials svg { width: 18px; height: 18px; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; padding-top: 28px; font-size: .85rem; }
.footer-bottom nav { display: flex; gap: 20px; }
.footer-bottom a:hover { color: var(--cream); }
.site-footer::before {
  content: ""; position: absolute; right: -14px; top: -18px;
  width: clamp(84px, 11vw, 140px); aspect-ratio: 331 / 252; pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 331 252'%3E%3Cg fill='%23E8D1A6' fill-opacity='.14'%3E%3Ccircle cx='37' cy='37' r='37'/%3E%3Ccircle cx='294' cy='37' r='37'/%3E%3Ccircle cx='37' cy='215' r='37'/%3E%3C/g%3E%3C/svg%3E") center / contain no-repeat;
}
.footer-word { position: absolute; right: -2%; bottom: -12%; width: 46%; max-width: 620px; fill: rgba(232, 209, 166, .04); pointer-events: none; }
.disclaimer { font-size: .8rem; color: rgba(243, 230, 204, .5); margin-top: 18px; max-width: 100%; }

/* ---------- WhatsApp float ---------- */
.wa-float {
  position: fixed; right: max(18px, env(safe-area-inset-right)); bottom: max(18px, env(safe-area-inset-bottom)); z-index: 150;
  display: flex; align-items: center; gap: 12px;
}
.wa-btn {
  position: relative; width: 60px; height: 60px; border-radius: 50%; background: var(--wa); color: #fff;
  display: grid; place-items: center; box-shadow: 0 12px 28px -8px rgba(37, 211, 102, .6);
  transition: transform .45s var(--ease-out), box-shadow .3s;
  animation: wa-in .8s var(--ease-out) both 1.2s;
}
.wa-btn:hover { transform: scale(1.08) rotate(-6deg); }
.wa-btn svg { width: 30px; height: 30px; position: relative; z-index: 1; }
.wa-btn::before, .wa-btn::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--wa); opacity: .5; animation: ripple 2.4s var(--ease) infinite; }
.wa-btn::after { animation-delay: 1.2s; }
@keyframes ripple { from { transform: scale(1); opacity: .45; } to { transform: scale(1.7); opacity: 0; } }
@keyframes wa-in { from { transform: scale(0) rotate(-90deg); } to { transform: none; } }
.wa-tip {
  background: var(--surface); color: var(--cocoa); padding: 10px 16px; border-radius: 14px; box-shadow: var(--shadow);
  font-family: var(--font-display); font-weight: 600; font-size: .9rem; white-space: nowrap;
  opacity: 0; transform: translateX(10px); pointer-events: none; transition: opacity .35s var(--ease), transform .45s var(--ease-out);
}
.wa-tip small { display: block; font-family: var(--font-body); font-weight: 400; font-size: .78rem; color: var(--muted); }
.wa-float:hover .wa-tip, .wa-float.show-tip .wa-tip { opacity: 1; transform: none; }
body.menu-open .wa-float { opacity: 0; pointer-events: none; }
.wa-float { transition: opacity .3s var(--ease); }
.wa-dot { position: absolute; top: 2px; right: 2px; z-index: 2; width: 14px; height: 14px; border-radius: 50%; background: var(--rust); border: 2px solid #fff; }

/* ---------- Reveal animations ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform 1s var(--ease-out); transition-delay: var(--d, 0s); }
.js [data-reveal="left"] { transform: translateX(-32px); }
.js [data-reveal="right"] { transform: translateX(32px); }
.js [data-reveal="zoom"] { transform: scale(.94); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js .img-reveal { clip-path: inset(0 0 100% 0 round var(--radius)); transition: clip-path 1.3s var(--ease-out); transition-delay: var(--d, 0s); }
.js .img-reveal.is-in { clip-path: inset(0 0 0 0 round var(--radius)); }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .nav-links, .nav-phone { display: none; }
  .nav-toggle { display: block; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .values { grid-template-columns: repeat(2, 1fr); }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .spec-grid { grid-template-columns: repeat(3, 1fr); }
  .slider-track { grid-auto-columns: calc((100% - 24px) / 2); }
}
@media (max-width: 900px) {
  .hero-grid, .doctor-grid, .appt, .faq-grid, .split, .profile, .legal, .page-hero-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 520px; margin: 0 auto; width: 100%; }
  .float-card--doc { left: 0; }
  .float-card--ecg { right: 0; }
  .appt-info, .profile-card, .toc { position: static; }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
  .steps::before, .steps::after { display: none; }
  .stats { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
  .tx { grid-template-columns: 1fr; }
  .tx .img-wrap { aspect-ratio: 16 / 9; }
  .cta-band { grid-template-columns: 1fr; }
  .affil { grid-template-columns: 1fr; }
  .toc { display: none; }
  .doctor-photo { max-width: 480px; }
  .warn { grid-template-columns: auto 1fr; }
  .warn .btn { grid-column: 1 / -1; justify-self: start; }
  .spec-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  :root { --header-h: 68px; }
  .site-header .nav-cta .btn { display: none; }
  .cards, .values, .cred-list, .tx-cols, .achieve { grid-template-columns: 1fr; }
  .spec-grid { grid-template-columns: 1fr; gap: 14px; }
  .spec {
    display: grid; grid-template-columns: 52px 1fr; column-gap: 16px; row-gap: 6px;
    padding: 22px 20px; align-items: start;
  }
  .spec .ic { grid-row: 1 / span 3; margin: 0; }
  .spec h3 { font-size: 1.15rem; align-self: center; min-height: 52px; display: flex; align-items: center; }
  .spec p { font-size: .95rem; line-height: 1.6; }
  .spec .link-arrow { padding-top: 4px; }
  .slider-track { grid-auto-columns: 92%; gap: 16px; }
  .quote { padding: 26px 22px; gap: 18px; }
  .quote blockquote { font-size: 1.02rem; line-height: 1.65; }
  .steps { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 36px; }
  .badge-years { width: 108px; height: 108px; right: 8px; bottom: 16px; }
  .badge-years strong { font-size: 1.9rem; }
  .doctor-photo::before { inset: 16px -10px -14px 16px; }
  .float-card { padding: 10px 12px; }
  .float-card--doc { bottom: 6%; max-width: 230px; }
  .float-card--ecg { top: 30%; }
  .ecg { width: 110px; }
  .hero-dots { right: 2%; }
  .hero-actions .btn { flex: 1 1 auto; }
  .acc-panel p { padding-right: 0; }
  .wa-tip { display: none; }
  .wa-btn { width: 56px; height: 56px; }
  .gallery { columns: 2 140px; column-gap: 12px; }
  .g-item { margin-bottom: 12px; border-radius: var(--radius-sm); }
  .footer-bottom { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .js [data-reveal], .js .img-reveal { opacity: 1; transform: none; clip-path: none; }
  .hero .hero-title .line > span { transform: none; }
  .marquee-track { animation: none; }
}
