/* =========================================================
   Dr Sekolo D Mogano – Medical Practice
   Palette sampled from the practice logo: signal red, heart red,
   black, white, and the yellow used on the address bar.
   ========================================================= */

:root {
  --bg: #FFFFFF;
  --surface: #FFFFFF;
  --sand: #F5F3F3;
  --tint: #FBF5F5;

  --ink: #171314;
  --ink-2: #463F41;
  --ink-3: #6B6365;
  --line: #E8E2E2;
  --line-2: #EAD8D9;

  --night: #171314;      /* logo black */
  --brand-900: #7A1115;
  --brand-800: #AC1B20;  /* logo red */
  --brand-700: #A3191E;
  --brand-500: #DB1B28;  /* heart red */
  --brand-200: #E8BFC1;
  --brand-100: #FBE8E8;
  --grey-100: #EFECEC;
  --yellow: #FFF04A;     /* address-bar yellow */

  --wa: #25D366;

  --radius-sm: 12px;
  --radius: 20px;
  --radius-lg: 28px;

  --shadow-sm: 0 1px 2px rgba(23, 19, 20, .06), 0 2px 8px rgba(23, 19, 20, .04);
  --shadow-md: 0 8px 24px -8px rgba(23, 19, 20, .16), 0 2px 6px rgba(23, 19, 20, .05);
  --shadow-lg: 0 30px 60px -20px rgba(122, 17, 21, .38);

  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --header-h: 76px;
  --gutter: clamp(16px, 4vw, 32px);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -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;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; height: auto; }
a { color: var(--brand-700); text-underline-offset: 3px; }
a:hover { color: var(--brand-800); }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
h1, h2, h3, h4 { margin: 0; line-height: 1.15; }
strong { font-weight: 700; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 6px; }
.topbar :focus-visible, .section--dark :focus-visible, .footer :focus-visible { outline-color: var(--yellow); }

.container { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: var(--gutter); }

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

.ic { width: 1.2em; height: 1.2em; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; vertical-align: middle; }
.ic--fill { fill: currentColor; stroke: none; }

/* ---------- Typography helpers ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--brand-800); margin-bottom: 16px;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; border-radius: 2px; }
.eyebrow--light { color: var(--yellow); }

.h2 {
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(2rem, 4.2vw, 3.1rem); letter-spacing: -.02em; line-height: 1.08;
  margin-bottom: 20px; font-variation-settings: "opsz" 120;
}
.h2 em, .hero__title em { font-style: italic; color: var(--brand-700); }
.h3 { font-family: var(--font-display); font-weight: 500; font-size: clamp(1.45rem, 2.4vw, 1.8rem); letter-spacing: -.01em; margin-bottom: 14px; }
.h4 { font-size: 1rem; font-weight: 700; letter-spacing: .02em; margin: 28px 0 14px; color: var(--ink); }
.lead { font-size: clamp(1.08rem, 1.6vw, 1.2rem); color: var(--ink-2); line-height: 1.6; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 46px; padding: 12px 22px; border-radius: 999px; border: 2px solid transparent;
  font: 700 .98rem/1.1 var(--font-body); text-decoration: none; cursor: pointer;
  transition: transform .18s ease, background-color .18s ease, box-shadow .18s ease, color .18s ease, border-color .18s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--lg { min-height: 54px; padding: 14px 28px; font-size: 1.02rem; }
.btn--block { width: 100%; }

.btn--wa { background: var(--brand-800); color: #fff; box-shadow: 0 10px 24px -12px rgba(172, 27, 32, .8); }
.btn--wa:hover { background: var(--brand-900); color: #fff; }

.btn--primary { background: var(--brand-800); color: #fff; box-shadow: 0 10px 24px -12px rgba(172, 27, 32, .8); }
.btn--primary:hover { background: var(--brand-900); color: #fff; }

.btn--ghost { background: transparent; color: var(--ink); border-color: #CFC7C8; }
.btn--ghost:hover { border-color: var(--ink); background: var(--surface); color: var(--ink); }

.btn--light { background: var(--brand-800); color: #fff; }
.btn--light:hover { background: var(--brand-500); color: #fff; }
.btn--outline-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .35); }
.btn--outline-light:hover { border-color: #fff; color: #fff; }

/* ---------- Top bar ---------- */
.topbar { background: var(--brand-800); color: #fff; font-size: .86rem; }
.topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 42px; padding-block: 8px; }
.topbar__item { display: flex; align-items: center; gap: 8px; margin: 0; }
.topbar__item .ic { color: var(--yellow); width: 1.05em; height: 1.05em; }
.topbar a { color: var(--yellow); text-decoration: none; font-weight: 700; }
.topbar a:hover { text-decoration: underline; color: var(--yellow); }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .95);
  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;
}
.header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 20px -14px rgba(23, 19, 20, .35); }
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: var(--header-h); }

.brand { display: inline-flex; flex: none; }
.brand__logo { height: 52px; width: auto; max-width: none; }
.footer__logo { width: min(100%, 360px); height: auto; }

.nav { display: flex; align-items: center; gap: 14px; }
.nav__list { display: flex; gap: 4px; list-style: none; }
.nav__link {
  display: block; padding: 8px 9px; border-radius: 999px;
  color: var(--ink-2); text-decoration: none; font-weight: 600; font-size: .95rem; white-space: nowrap;
  transition: color .15s, background-color .15s;
}
.nav__link:hover { color: var(--brand-800); background: var(--tint); }
.nav__link.is-active { color: var(--brand-800); background: var(--brand-100); }
.nav__cta { min-height: 42px; padding: 10px 18px; }
.nav__call { display: none; }

.nav-toggle {
  display: none; align-items: center; justify-content: center;
  width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--line);
  background: var(--surface); color: var(--ink); cursor: pointer;
}
.nav-toggle .ic { width: 22px; height: 22px; }
.nav-toggle__close { display: none; }
.nav-open .nav-toggle__open { display: none; }
.nav-open .nav-toggle__close { display: block; }

/* ---------- Hero ---------- */
.hero { position: relative; padding-block: clamp(28px, 3.4vw, 44px) clamp(64px, 8vw, 108px); overflow: hidden; }
.hero__ecg {
  position: absolute; left: 0; right: 0; bottom: 14px; width: 100%; height: 84px;
  fill: none; stroke: var(--brand-800); stroke-width: 2.5; opacity: .32; pointer-events: none;
  stroke-dasharray: 1600; stroke-dashoffset: 1600; animation: ecg 3.2s ease-out .4s forwards;
}
@keyframes ecg { to { stroke-dashoffset: 0; } }

.hero__grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(32px, 6vw, 72px); align-items: center; }
.hero__title {
  font-family: var(--font-display); font-weight: 500; font-variation-settings: "opsz" 144;
  font-size: clamp(2.7rem, 6.4vw, 5rem); line-height: 1.02; letter-spacing: -.03em; margin-bottom: 24px;
}
.hero__title em { display: inline-block; }
.hero__lead { font-size: clamp(1.08rem, 1.7vw, 1.24rem); color: var(--ink-2); max-width: 36em; margin-bottom: 32px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 32px; }
.hero__trust { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 22px; font-weight: 600; font-size: .94rem; color: var(--ink-2); }
.hero__trust li { display: inline-flex; align-items: center; gap: 8px; }
.hero__trust .ic { width: 22px; height: 22px; padding: 4px; border-radius: 50%; background: var(--brand-100); color: var(--brand-700); stroke-width: 3; }

/* 3D stage: every layer sits at its own depth and the whole stage tilts (js/hero3d.js) */
.hero__gl { position: absolute; pointer-events: none; display: none; }
.is-3d .hero__gl { display: block; }
.hero__gl--back { inset: 0; width: 100%; height: 100%; }
.hero__gl--front { left: -110px; top: -110px; width: calc(100% + 220px); height: calc(100% + 220px); z-index: 3; }
.is-3d .hero__ecg { display: none; }

.hero__figure { position: relative; justify-self: center; width: min(100%, 420px); margin-top: 56px; perspective: 1300px; }
.hero__stage, .hero__frame { position: relative; transform-style: preserve-3d; }
.hero__stage { transform: rotateX(2deg) rotateY(-13deg); --sheen: 50%; }
.has-tilt .hero__stage { will-change: transform; }
.hero__frame { aspect-ratio: 4 / 5; }
.hero__frame::before { /* soft shadow on the "wall" behind */
  content: ""; position: absolute; inset: 8% 2% -6% 6%; border-radius: 999px 999px 40px 40px;
  background: rgba(122, 17, 21, .42); filter: blur(34px); transform: translateZ(-90px);
}
.hero__depth i { /* stacked slices give the frame real thickness */
  position: absolute; inset: 0; border-radius: 999px 999px 32px 32px; background: var(--brand-900);
}
.hero__depth { position: absolute; inset: 0; transform-style: preserve-3d; }
.hero__depth i:nth-child(1) { transform: translateZ(-9px); background: var(--brand-800); }
.hero__depth i:nth-child(2) { transform: translateZ(-18px); background: #A0191E; }
.hero__depth i:nth-child(3) { transform: translateZ(-27px); background: #95171B; }
.hero__depth i:nth-child(4) { transform: translateZ(-36px); background: #8B1519; }
.hero__depth i:nth-child(5) { transform: translateZ(-45px); background: #821317; }
.hero__depth i:nth-child(6) { transform: translateZ(-54px); }
.hero__depth i:nth-child(7) { transform: translateZ(-63px); }
.hero__depth i:nth-child(8) { transform: translateZ(-72px); }
.hero__arch {
  position: absolute; inset: 0; border-radius: 999px 999px 32px 32px; overflow: hidden;
  border: 7px solid var(--brand-800);
  background: radial-gradient(90% 70% at 50% 34%, #FFFFFF 0%, #FBEDED 55%, #EFC9CA 100%);
  box-shadow: inset 0 22px 50px -12px rgba(122, 17, 21, .5), inset 0 -10px 40px rgba(122, 17, 21, .16);
}
.hero__arch::after { /* light sliding across the glass as the stage turns */
  content: ""; position: absolute; inset: -20%;
  background: linear-gradient(112deg, transparent 38%, rgba(255, 255, 255, .6) 47%, rgba(255, 255, 255, .1) 53%, transparent 60%);
  background-size: 240% 100%; background-position: var(--sheen) 0; opacity: .8;
}
.hero__person {
  position: absolute; left: 0; right: 0; bottom: 0; top: -17%; overflow: hidden; border-radius: 0 0 32px 32px;
  transform: translate3d(7px, 0, 30px) scale(.977); transform-origin: 50% 57%;
  -webkit-mask-image: linear-gradient(to right, transparent 1%, #000 4%, #000 96%, transparent 99%), linear-gradient(to top, transparent 0, #000 7%);
  mask-image: linear-gradient(to right, transparent 1%, #000 4%, #000 96%, transparent 99%), linear-gradient(to top, transparent 0, #000 7%);
  -webkit-mask-composite: source-in; mask-composite: intersect;
}
.hero__person img { position: absolute; left: 50%; bottom: 0; width: 106%; max-width: none; transform: translateX(-50%); }

.hero__badge {
  position: absolute; top: 8%; right: -4%;
  width: 104px; height: 104px; border-radius: 50%;
  display: grid; place-content: center; text-align: center;
  background: var(--night); color: #fff; box-shadow: var(--shadow-md);
  border: 5px solid var(--bg); transform: translateZ(72px);
}
.hero__badge-small { color: var(--yellow); font-size: .72rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; opacity: .9; }
.hero__badge-big { font-family: var(--font-display); font-size: 1.7rem; font-weight: 600; line-height: 1; }

.hero__card {
  position: absolute; left: -10%; bottom: 7%; max-width: 330px;
  display: flex; align-items: center; gap: 14px; padding: 14px 18px 14px 14px;
  background: var(--surface); border-radius: 18px; box-shadow: var(--shadow-lg); border: 1px solid var(--line); transform: translateZ(92px);
}
.hero__card strong { display: block; font-size: .98rem; line-height: 1.3; }
.hero__card small { display: block; color: var(--ink-3); font-size: .78rem; line-height: 1.4; margin-top: 2px; }
.hero__card-icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: var(--brand-100); color: var(--brand-800); flex: none; }
.hero__card-icon .ic { width: 24px; height: 24px; }

/* ---------- Quick info strip ---------- */
.quick { margin-top: calc(-1 * clamp(28px, 4vw, 52px)); position: relative; z-index: 2; }
.quick__grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-md);
  padding: 0; overflow: hidden;
}
.quick__item { display: flex; gap: 16px; align-items: flex-start; padding: 26px 28px; }
.quick__item + .quick__item { border-left: 1px solid var(--line); }
.quick__icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: var(--brand-100); color: var(--brand-800); flex: none; }
.quick__icon--alt { background: var(--grey-100); color: var(--night); }
.quick__title { font-family: var(--font-body); font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 4px; }
.quick__item p { margin: 0; font-weight: 600; line-height: 1.45; }
.quick__item a { color: var(--ink); text-decoration: none; }
.quick__item a:hover { color: var(--brand-700); text-decoration: underline; }

/* ---------- Sections ---------- */
.section { padding-block: clamp(72px, 10vw, 128px); }
.section--tint { background: var(--tint); }
.section--sand { background: var(--sand); }
.section--dark { background: var(--night); color: #F3EEEE; position: relative; overflow: hidden; }
.section--dark .h2 { color: #fff; }
.section-head { max-width: 720px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head--center { margin-inline: auto; text-align: center; margin-top: clamp(64px, 8vw, 96px); }
.section-head--center .eyebrow::after { content: ""; width: 28px; height: 2px; background: currentColor; border-radius: 2px; }

/* ---------- About ---------- */
.about { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(24px, 6vw, 80px); align-items: start; }
.about__body p { color: var(--ink-2); }
.about__body .lead { color: var(--ink); }
.about__quote {
  font-family: var(--font-display); font-style: italic; font-size: 1.35rem; color: var(--brand-800) !important;
  padding-left: 20px; border-left: 3px solid var(--brand-500); margin-top: 24px;
}

.stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin: clamp(48px, 6vw, 72px) 0 0;
}
.stats__item {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 24px; display: flex; flex-direction: column-reverse; gap: 6px;
}
.stats dt { color: var(--ink-3); font-weight: 600; font-size: .92rem; }
.stats dd { margin: 0; font-family: var(--font-display); font-size: clamp(2.2rem, 3.6vw, 2.9rem); font-weight: 500; line-height: 1; color: var(--brand-800); letter-spacing: -.02em; }
.stats dd span { color: var(--brand-500); }

/* ---------- Doctor ---------- */
.doctor { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.doctor__photo { margin: 0; position: sticky; top: calc(var(--header-h) + 24px); }
.doctor__photo img { border-radius: var(--radius-lg); aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 15%; width: 100%; box-shadow: var(--shadow-md); background: #F5F2F2; }
.doctor__photo figcaption {
  margin: -36px 20px 0; position: relative;
  background: var(--night); color: #fff; border-radius: 16px; padding: 14px 20px; border-left: 5px solid var(--brand-800);
  font-family: var(--font-display); font-size: 1.15rem; box-shadow: var(--shadow-md);
}
.doctor__photo figcaption span { display: block; font-family: var(--font-body); font-size: .8rem; color: #D9D2D3; letter-spacing: .06em; text-transform: uppercase; font-weight: 600; margin-top: 2px; }
.doctor__creds { font-weight: 700; color: var(--brand-700); font-size: .98rem; margin-bottom: 22px; }
.doctor__body > p { color: var(--ink-2); }
.doctor__body > p.eyebrow, .doctor__body > p.doctor__creds { color: var(--brand-800); }

.timeline { list-style: none; position: relative; margin-bottom: 28px; }
.timeline::before { content: ""; position: absolute; left: 31px; top: 12px; bottom: 12px; width: 2px; background: var(--brand-200); }
.timeline li { position: relative; display: grid; grid-template-columns: 64px 1fr; gap: 16px; align-items: baseline; padding: 10px 0; color: var(--ink-2); }
.timeline__year {
  position: relative; z-index: 1; justify-self: center;
  background: var(--night); color: #fff; font-weight: 700; font-size: .8rem; letter-spacing: .04em;
  padding: 4px 10px; border-radius: 999px; min-width: 56px; text-align: center;
}
.timeline__year--pg { background: var(--brand-800); }
.timeline strong { color: var(--ink); }

.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { background: var(--surface); border: 1px solid var(--line-2); color: var(--brand-800); padding: 7px 14px; border-radius: 999px; font-size: .88rem; font-weight: 600; }

/* ---------- Services ---------- */
.services { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.card {
  position: relative; display: flex; flex-direction: column;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 24px; color: var(--ink); text-decoration: none;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--brand-200); }
.card__icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; background: var(--brand-100); color: var(--brand-800); margin-bottom: 20px; }
.card__icon .ic { width: 26px; height: 26px; }
.card__icon--alt { background: var(--grey-100); color: var(--night); }
.card__title { font-family: var(--font-display); font-weight: 500; font-size: 1.32rem; letter-spacing: -.01em; margin-bottom: 12px; }
.card__list { list-style: none; display: grid; gap: 8px; color: var(--ink-2); font-size: .96rem; line-height: 1.5; }
.card__list li { position: relative; padding-left: 18px; }
.card__list li::before { content: ""; position: absolute; left: 0; top: .6em; width: 7px; height: 7px; border-radius: 50%; background: var(--brand-500); }
.card--feature { background: var(--brand-800); border-color: var(--brand-800); color: #FFF1F1; }
.card--feature:hover { color: #FFF1F1; border-color: var(--brand-900); background: var(--brand-900); }
.card--feature .card__title { color: #fff; }
.card--feature .card__icon { background: rgba(255, 255, 255, .12); color: #fff; }
.card--feature p { font-size: .96rem; line-height: 1.5; margin-bottom: 18px; }
.card__more { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--yellow); }
.card--feature:hover .card__more .ic { transform: translateX(4px); }
.card__more .ic { transition: transform .2s; }

/* ---------- Occupational ---------- */
.section--dark::before {
  content: ""; position: absolute; right: -200px; top: -200px; width: 600px; height: 600px; border-radius: 50%;
  background: radial-gradient(circle, rgba(172, 27, 32, .42), transparent 70%); pointer-events: none;
}
.occ { position: relative; display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.occ__media { position: relative; }
.occ__media img { border-radius: var(--radius-lg); aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 15%; width: 100%; background: #F5F2F2; }
.occ__tag {
  position: absolute; left: 16px; right: 16px; bottom: 16px;
  display: flex; align-items: center; gap: 10px; padding: 12px 16px;
  background: rgba(23, 19, 20, .82); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, .14); border-radius: 14px; color: #fff; font-weight: 600; font-size: .92rem;
}
.occ__tag .ic { color: var(--yellow); }
.occ__body > p { color: #DCD5D6; }
.occ__body > p.eyebrow { color: var(--yellow); }
.occ__list { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 24px; margin: 28px 0; }
.occ__list li { display: flex; gap: 12px; align-items: flex-start; color: #fff; font-weight: 600; line-height: 1.45; }
.occ__list .ic { margin-top: 1px; width: 24px; height: 24px; padding: 5px; border-radius: 50%; background: var(--brand-800); color: #fff; stroke-width: 3; }
.occ__note { font-size: .92rem; font-style: italic; color: #BDB4B6 !important; border-left: 2px solid rgba(255, 255, 255, .2); padding-left: 14px; }
.occ__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* ---------- Lab & nursing ---------- */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(28px, 4vw, 44px); }
.panel p { color: var(--ink-2); }
.panel__icon { display: grid; place-items: center; width: 60px; height: 60px; border-radius: 18px; background: var(--brand-100); color: var(--brand-800); margin-bottom: 22px; }
.panel__icon .ic { width: 30px; height: 30px; }
.panel__icon--alt { background: var(--grey-100); color: var(--night); }
.panel__kicker { font-size: .78rem !important; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3) !important; margin-bottom: 6px; }
.panel__note { font-style: italic; font-size: .92rem; color: var(--ink-3) !important; margin: 20px 0 0; padding-top: 16px; border-top: 1px dashed var(--line); }
.tick-list { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 16px; }
.tick-list li { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: .96rem; }
.tick-list .ic { width: 22px; height: 22px; padding: 4px; border-radius: 50%; background: var(--brand-100); color: var(--brand-700); stroke-width: 3; }

/* ---------- Mission / vision / values ---------- */
.mv { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.mv__card { background: var(--surface); border-radius: var(--radius-lg); padding: clamp(28px, 4vw, 48px); border: 1px solid var(--line); }
.mv__card--dark { background: var(--brand-800); border-color: var(--brand-800); }
.mv__text { font-family: var(--font-display); font-size: clamp(1.3rem, 2.2vw, 1.65rem); line-height: 1.35; letter-spacing: -.01em; margin: 0; }
.mv__card--dark .mv__text { color: #fff; }

.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.value { background: var(--surface); border-radius: var(--radius); padding: 28px 26px; border: 1px solid var(--line); }
.value__icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--brand-100); color: var(--brand-800); margin-bottom: 18px; }
.value__icon .ic { width: 22px; height: 22px; }
.value h3 { font-family: var(--font-display); font-weight: 500; font-size: 1.3rem; margin-bottom: 8px; }
.value p { color: var(--ink-2); margin: 0; font-size: .98rem; }

/* ---------- Why choose ---------- */
.why { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.why__media { position: relative; }
.why__media::before {
  content: ""; position: absolute; inset: 10% 12% -4% -6%; border-radius: var(--radius-lg);
  background: var(--brand-100);
}
.why__frame { position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 3 / 4.2; background: #F5F2F2; box-shadow: var(--shadow-md); }
.why__frame img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.why__list { list-style: none; display: grid; gap: 4px; margin: 8px 0 32px; }
.why__list li { display: flex; align-items: center; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); font-weight: 600; font-size: 1.04rem; }
.why__list li > span { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--brand-800); color: #fff; flex: none; }
.why__list .ic { width: 16px; height: 16px; stroke-width: 3; }

/* ---------- Lethabo ---------- */
.lethabo { background: linear-gradient(90deg, var(--brand-100), #FAF7F7 60%, var(--sand)); padding-block: 40px; }
.lethabo__inner { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.lethabo__icon { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--surface); color: var(--brand-800); box-shadow: var(--shadow-sm); flex: none; }
.lethabo__icon .ic { width: 30px; height: 30px; }
.lethabo__text { flex: 1 1 280px; }
.lethabo__kicker { font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); margin: 0 0 2px; }
.lethabo__title { font-family: var(--font-display); font-weight: 500; font-size: clamp(1.5rem, 2.6vw, 2rem); }
.lethabo__tag { margin: 2px 0 0; font-style: italic; color: var(--ink-2); }

/* ---------- Booking ---------- */
.book { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.book__alt { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 28px 0; }
.book__alt-item {
  display: flex; align-items: center; gap: 12px; padding: 16px; border-radius: 16px;
  background: var(--surface); border: 1px solid var(--line); text-decoration: none; color: var(--ink); font-weight: 700;
  transition: border-color .2s, transform .2s;
}
.book__alt-item:hover { border-color: var(--brand-500); color: var(--ink); transform: translateY(-2px); }
.book__alt-item small { display: block; font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); font-weight: 700; }
.book__alt-icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--brand-100); color: var(--brand-800); flex: none; }
.book__alt-icon--wa { background: var(--wa); color: #fff; }
.book__warn { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: 14px; background: var(--brand-100); color: var(--brand-900); font-size: .93rem; margin: 0; }
.book__warn .ic { color: var(--brand-800); margin-top: 2px; }
.book__warn a { color: var(--brand-900); font-weight: 700; }

.form { background: var(--surface); border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 40px); box-shadow: var(--shadow-md); border: 1px solid var(--line); }
.form__row { display: flex; flex-direction: column; gap: 8px; margin-bottom: 18px; }
.form__split { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form label { font-weight: 700; font-size: .94rem; }
.form__optional { font-weight: 500; color: var(--ink-3); }
.form input, .form select, .form textarea {
  width: 100%; font: 500 1rem/1.4 var(--font-body); color: var(--ink);
  background: var(--bg); border: 1.5px solid var(--line); border-radius: 12px; padding: 13px 14px;
  transition: border-color .15s, box-shadow .15s, background-color .15s;
  -webkit-appearance: none; appearance: none;
}
.form select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23463F41' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; padding-right: 40px;
}
.form textarea { resize: vertical; min-height: 92px; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 4px rgba(23, 19, 20, .12); background: #fff; }
.form__hint { font-size: .84rem; color: var(--ink-3); margin: 0; }
.form__error { display: none; font-size: .86rem; color: var(--brand-800); font-weight: 600; margin: 0; }
.form__row.has-error input, .form__row.has-error select { border-color: var(--brand-800); }
.form__row.has-error .form__error { display: block; }

/* ---------- FAQ ---------- */
.faq { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.faq__head { position: sticky; top: calc(var(--header-h) + 24px); }
.faq__head p:last-child { color: var(--ink-2); }
.faq__list { display: grid; gap: 12px; }
.faq__item { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; transition: border-color .2s, box-shadow .2s; }
.faq__item[open] { border-color: var(--brand-200); box-shadow: var(--shadow-sm); }
.faq__item summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 20px 22px; font-weight: 700; font-size: 1.05rem;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: ""; flex: none; width: 30px; height: 30px; border-radius: 50%;
  background: var(--tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23AC1B20' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center no-repeat;
  transition: transform .25s ease, background-color .2s;
}
.faq__item[open] summary::after { transform: rotate(45deg); background-color: var(--brand-100); }
.faq__item > div { padding: 0 22px 20px; color: var(--ink-2); }
.faq__item > div p:last-child { margin-bottom: 0; }
.faq__item ul { padding-left: 20px; display: grid; gap: 4px; }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: .9fr 1.1fr; gap: 20px; align-items: stretch; }
.contact__card { background: var(--surface); border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 40px); border: 1px solid var(--line); display: flex; flex-direction: column; }
.contact__name { font-family: var(--font-display); font-weight: 500; font-size: 1.45rem; margin-bottom: 22px; }
.contact__list { list-style: none; display: grid; gap: 18px; margin-bottom: 26px; }
.contact__list li { display: flex; gap: 14px; align-items: flex-start; font-weight: 600; line-height: 1.5; }
.contact__list small { display: block; font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); font-weight: 700; }
.contact__list a { color: var(--ink); text-decoration: none; }
.contact__list a:hover { color: var(--brand-700); text-decoration: underline; }
.contact__icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--brand-100); color: var(--brand-800); flex: none; }
.contact__icon--wa { background: var(--wa); color: #fff; }

.hours { background: var(--tint); border-radius: 16px; padding: 18px 20px; margin-bottom: 22px; }
.hours__title { display: flex; align-items: center; gap: 8px; font-size: .95rem; margin-bottom: 10px; color: var(--brand-800); }
.hours__list { margin: 0; display: grid; gap: 6px; }
.hours__list div { display: flex; justify-content: space-between; gap: 12px; font-size: .95rem; }
.hours__list dt { color: var(--ink-2); }
.hours__list dd { margin: 0; font-weight: 700; font-variant-numeric: tabular-nums; }
.hours__note { margin: 10px 0 0; padding-top: 10px; border-top: 1px dashed var(--line-2); font-size: .9rem; color: var(--ink-2); }
.hours__note a { font-weight: 700; }
.contact__card .btn { margin-top: auto; }

.contact__media { display: grid; grid-template-rows: 1fr auto; gap: 20px; }
.contact__map { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); min-height: 300px; background: var(--tint); }
.contact__map iframe { width: 100%; height: 100%; min-height: 300px; border: 0; display: block; }
.contact__photo { margin: 0; position: relative; border-radius: var(--radius-lg); overflow: hidden; }
.contact__photo img { width: 100%; aspect-ratio: 16 / 7; object-fit: cover; object-position: 50% 40%; }
.contact__photo figcaption {
  position: absolute; left: 12px; bottom: 12px; right: 12px; width: fit-content; max-width: calc(100% - 24px);
  background: rgba(23, 19, 20, .85); color: #fff; padding: 8px 14px; border-radius: 10px; font-size: .88rem; font-weight: 600;
}

/* ---------- Logo band ---------- */
.signboard { background: #fff; padding-top: clamp(40px, 6vw, 72px); text-align: center; }
.signboard__logo { width: min(100%, 940px); height: auto; margin-inline: auto; }
.signboard__bar {
  margin: clamp(32px, 4vw, 48px) 0 0; padding-block: 16px;
  background: var(--brand-800); color: var(--yellow);
  font-weight: 700; font-size: clamp(1rem, 2.2vw, 1.5rem); letter-spacing: .05em; line-height: 1.3;
}
.signboard__bar .container { display: block; }

/* ---------- Footer ---------- */
.footer { background: var(--night); color: #CFC6C8; padding-top: clamp(56px, 8vw, 88px); padding-bottom: 32px; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr; gap: 40px; padding-bottom: 48px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.footer__tagline { font-family: var(--font-display); font-style: italic; font-size: 1.3rem; line-height: 1.4; color: #fff; margin-top: 24px; }
.footer__title { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: #fff; margin-bottom: 16px; font-weight: 700; }
.footer__links { list-style: none; display: grid; gap: 10px; }
.footer__links a { color: #CFC6C8; text-decoration: none; }
.footer__links a:hover { color: #fff; text-decoration: underline; }
.footer__bottom { display: flex; justify-content: space-between; gap: 16px 40px; flex-wrap: wrap; padding-top: 24px; font-size: .85rem; color: #A79DA0; }
.footer__bottom p { margin: 0; }
.footer__credit { flex-basis: 100%; padding-top: 4px; color: #CFC6C8; font-weight: 600; }

/* ---------- Floating WhatsApp ---------- */
.wa-fab {
  position: fixed; right: 20px; bottom: 20px; z-index: 90;
  display: flex; align-items: center; gap: 10px; text-decoration: none;
}
.wa-fab__label {
  background: var(--surface); color: var(--ink); font-weight: 700; font-size: .92rem;
  padding: 10px 16px; border-radius: 999px; box-shadow: var(--shadow-md); border: 1px solid var(--line);
  opacity: 0; transform: translateX(10px); transition: opacity .25s, transform .25s; pointer-events: none;
}
.wa-fab.is-ready .wa-fab__label { opacity: 1; transform: none; }
.wa-fab__btn {
  position: relative; display: grid; place-items: center; width: 62px; height: 62px; border-radius: 50%;
  background: var(--wa); color: #fff; box-shadow: 0 12px 28px -8px rgba(37, 211, 102, .75);
  transition: transform .2s;
}
.wa-fab__btn .ic { width: 32px; height: 32px; }
.wa-fab__btn::before {
  content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--wa);
  animation: pulse 2.4s ease-out infinite; z-index: -1;
}
.wa-fab:hover .wa-fab__btn { transform: scale(1.06); }
@keyframes pulse { 0% { transform: scale(1); opacity: .55; } 80%, 100% { transform: scale(1.7); opacity: 0; } }

/* ---------- Reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1); }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1239px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 12px;
    padding: 16px var(--gutter) 24px;
    background: var(--bg); border-bottom: 1px solid var(--line); box-shadow: 0 20px 30px -20px rgba(23, 19, 20, .3);
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .2s, transform .2s, visibility .2s;
  }
  .nav-open .nav { opacity: 1; visibility: visible; transform: none; }
  .nav__list { flex-direction: column; gap: 2px; }
  .nav__link { padding: 12px 14px; font-size: 1.02rem; border-radius: 12px; }
  .nav__cta { min-height: 52px; }
  .nav__call { display: inline-flex; min-height: 52px; margin-top: -4px; }
}

@media (max-width: 1100px) {
  :root { --header-h: 68px; }
  .services { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .hero__card { left: -4%; }
}

@media (max-width: 920px) {
  .topbar__item--hide-sm { display: none; }
  .topbar__inner { justify-content: center; text-align: center; }

  .hero__grid { grid-template-columns: 1fr; }
  .hero__copy { text-align: left; }
  .hero__figure { width: min(100%, 380px); margin-top: 64px; }
  .hero__ecg { bottom: 34%; }

  .quick__grid { grid-template-columns: 1fr; }
  .quick__item + .quick__item { border-left: 0; border-top: 1px solid var(--line); }
  .quick__item { padding: 20px 22px; }

  .about, .doctor, .occ, .why, .book, .faq, .contact { grid-template-columns: 1fr; }
  .doctor__photo, .faq__head { position: static; }
  .doctor__photo { max-width: 460px; }
  .occ__media { max-width: 460px; }
  .why__media { max-width: 420px; }
  .duo, .mv { grid-template-columns: 1fr; }
  .values { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 600px) {
  body { font-size: 1rem; }
  .hide-xs { display: none; }
  .brand { flex: 0 1 auto; min-width: 0; }
  .brand__logo { width: 100%; max-width: 276px; height: auto; }
  .header__inner { gap: 12px; }

  .hero__actions .btn { width: 100%; }
  .hero__badge { width: 84px; height: 84px; right: 0; top: 4%; }
  .hero__badge-big { font-size: 1.35rem; }
  .hero__card { position: relative; left: auto; bottom: auto; max-width: none; margin: -40px -6px 0; }
  .hero__figure { width: min(88%, 340px); perspective-origin: 50% 42%; }
  .hero__gl--front { left: -60px; top: -60px; width: calc(100% + 120px); height: calc(100% + 120px); }

  .services, .stats, .values { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; gap: 12px; }
  .stats__item { padding: 20px 18px; }
  .occ__list, .tick-list { grid-template-columns: 1fr; }
  .occ__actions .btn { width: 100%; white-space: normal; text-align: center; }
  .book__alt { grid-template-columns: 1fr; }
  .form__split { grid-template-columns: 1fr; gap: 0; }
  .lethabo__inner .btn { width: 100%; }
  .signboard__bar { font-size: .95rem; letter-spacing: 0; }
  .footer__brand .brand { display: none; }
  .footer__tagline { margin-top: 0; }
  .footer__grid { grid-template-columns: 1fr; gap: 32px; }
  .footer__bottom { flex-direction: column; }

  .wa-fab { right: 16px; bottom: 16px; }
  .wa-fab__label { display: none; }
  .wa-fab__btn { width: 58px; height: 58px; }
}

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