/* ==========================================================================
   YOVŞAN KLİNİKASI — Design System
   Premium medical · self-hosted · no external deps · WCAG 2.2 AA
   Brand: medical green (Yovşan = wormwood leaf)
   ========================================================================== */

/* ---------- Fonts (self-hosted Manrope, variable) ---------- */
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url("../fonts/manrope-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
    U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020,
    U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url("../fonts/manrope-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191,
    U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- Design tokens ---------- */
:root {
  /* brand greens */
  --brand: #16794f;
  --brand-700: #0c5238;
  --brand-600: #0f6443;
  --brand-500: #16794f;
  --brand-400: #2fa877;
  --brand-300: #6fc4a0;
  --brand-100: #dbede3;
  --brand-50: #edf6f1;
  --leaf: #36a35b;
  --gold: #b3924c;

  /* ink + neutrals */
  --ink: #14201b;
  --ink-2: #3d4944;
  --muted: #69756f;
  --line: #e5ebe8;
  --line-2: #eef2f0;
  --bg: #ffffff;
  --bg-soft: #f6f9f7;
  --bg-deep: #0c2a1e;
  --bg-deep-2: #0a2218;

  /* effects */
  --focus: #2fa877;
  --shadow-sm: 0 1px 2px rgba(16, 40, 30, .04), 0 1px 3px rgba(16, 40, 30, .06);
  --shadow-md: 0 4px 12px rgba(13, 50, 35, .06), 0 12px 28px rgba(13, 50, 35, .07);
  --shadow-lg: 0 12px 28px rgba(13, 50, 35, .10), 0 30px 60px rgba(13, 50, 35, .10);

  /* layout */
  --container: 1200px;
  --container-narrow: 820px;
  --radius: 14px;
  --radius-sm: 10px;
  --radius-lg: 22px;
  --space: clamp(3.5rem, 2.4rem + 4vw, 6rem);

  /* type */
  --font: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --fs-h1: clamp(2.05rem, 1.35rem + 3.1vw, 3.4rem);
  --fs-h2: clamp(1.55rem, 1.15rem + 1.9vw, 2.35rem);
  --fs-h3: clamp(1.2rem, 1.05rem + .7vw, 1.5rem);
  --fs-lead: clamp(1.08rem, 1.02rem + .4vw, 1.28rem);
  --fs-body: 1.0625rem;
  --fs-sm: .9375rem;
  --fs-xs: .8125rem;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}
body {
  font-family: var(--font);
  font-size: var(--fs-body);
  font-weight: 430;
  line-height: 1.7;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-feature-settings: "ss01", "cv11";
  overflow-x: hidden;
}
img, picture, svg, video { display: block; max-width: 100%; height: auto; }
a { color: var(--brand-700); text-decoration: none; }
a:hover { color: var(--brand); }
ul, ol { padding-left: 1.25rem; }
button { font: inherit; cursor: pointer; }
:where(h1, h2, h3, h4) { line-height: 1.18; color: var(--ink); letter-spacing: -.01em; font-weight: 750; text-wrap: balance; }
h1 { font-size: var(--fs-h1); font-weight: 800; letter-spacing: -.022em; }
h2 { font-size: var(--fs-h2); font-weight: 760; letter-spacing: -.018em; }
h3 { font-size: var(--fs-h3); font-weight: 700; }
p { text-wrap: pretty; }

/* ---------- Accessibility ---------- */
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 4px; }
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--brand); color: #fff; padding: .7rem 1.1rem;
  border-radius: 10px; font-weight: 650; transition: top .15s ease;
}
.skip-link:focus { top: 12px; color: #fff; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: clamp(1.1rem, .6rem + 2vw, 2rem); }
.section { padding-block: var(--space); }
.section--soft { background: var(--bg-soft); }
.section--tight { padding-block: clamp(2.4rem, 1.8rem + 2vw, 3.4rem); }
.narrow { max-width: var(--container-narrow); margin-inline: auto; }
.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: var(--fs-xs); font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--brand-600);
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--leaf); border-radius: 2px; }
.section__head { max-width: 720px; margin-bottom: clamp(2rem, 1.4rem + 2vw, 3rem); }
.section__head.center { margin-inline: auto; text-align: center; }
.section__head.center .eyebrow::before { display: none; }
.section__head p { margin-top: .85rem; color: var(--ink-2); font-size: var(--fs-lead); }
.lead { font-size: var(--fs-lead); color: var(--ink-2); }

/* grids */
.grid { display: grid; gap: clamp(1rem, .7rem + 1vw, 1.5rem); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: .85rem 1.4rem; border-radius: 999px; border: 1.5px solid transparent;
  font-weight: 680; font-size: var(--fs-sm); line-height: 1; letter-spacing: -.01em;
  transition: transform .14s ease, background .18s ease, box-shadow .18s ease, border-color .18s ease;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--brand); color: #fff; box-shadow: 0 6px 16px rgba(22, 121, 79, .22); }
.btn--primary:hover { background: var(--brand-600); color: #fff; box-shadow: 0 10px 22px rgba(22, 121, 79, .28); }
.btn--ghost { background: #fff; color: var(--brand-700); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--brand-300); color: var(--brand-700); background: var(--brand-50); }
.btn--wa { background: #1faa54; color: #fff; }
.btn--wa:hover { background: #198f46; color: #fff; }
.btn--light { background: #fff; color: var(--brand-700); }
.btn--light:hover { background: var(--brand-50); color: var(--brand-700); }
.btn--outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.35); }
.btn--outline-light:hover { background: rgba(255,255,255,.1); color: #fff; border-color: rgba(255,255,255,.6); }
.btn--lg { padding: 1rem 1.7rem; font-size: 1rem; }
.btn--block { width: 100%; }

/* ---------- Top utility bar ---------- */
.topbar { background: var(--bg-deep); color: rgba(255,255,255,.86); font-size: var(--fs-sm); }
.topbar__row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 44px; }
.topbar a { color: rgba(255,255,255,.86); display: inline-flex; align-items: center; gap: .45rem; }
.topbar a:hover { color: #fff; }
.topbar__group { display: flex; align-items: center; gap: 1.4rem; }
.topbar svg { width: 15px; height: 15px; opacity: .85; }
.topbar__hours { color: rgba(255,255,255,.62); }
@media (max-width: 720px) { .topbar__hours, .topbar__addr { display: none; } }

/* ---------- Header / nav ---------- */
.header { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.92); backdrop-filter: saturate(140%) blur(10px); border-bottom: 1px solid var(--line); }
.header__row { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 72px; }
.brand { display: inline-flex; align-items: center; gap: .6rem; flex-shrink: 0; }
.brand__mark { height: 40px; width: 40px; flex-shrink: 0; }
.brand__wm { display: flex; flex-direction: column; line-height: 1; }
.brand__wm b { font-size: 1.22rem; font-weight: 800; letter-spacing: -.01em; color: var(--brand); }
.brand__wm span { font-size: .68rem; font-weight: 600; letter-spacing: .34em; color: var(--ink); margin-top: .18rem; }
.brand--footer .brand__wm b { color: #fff; }
.brand--footer .brand__wm span { color: rgba(255,255,255,.7); }
.nav { display: flex; align-items: center; }
.nav__panel { display: flex; align-items: center; }
.nav__list { display: flex; align-items: center; gap: .15rem; list-style: none; margin: 0; padding: 0; }
.nav__item { position: relative; }
.nav__drawer-head, .nav__drawer-cta, .nav__close { display: none; }
.nav__link {
  display: inline-flex; align-items: center; gap: .3rem; padding: .6rem .8rem; border-radius: 10px;
  color: var(--ink-2); font-weight: 600; font-size: var(--fs-sm); transition: color .15s, background .15s;
}
.nav__link:hover, .nav__item:focus-within .nav__link { color: var(--brand-700); background: var(--brand-50); }
.nav__link[aria-current="page"] { color: var(--brand-700); }
.nav__caret { width: 14px; height: 14px; opacity: .6; transition: transform .2s; }
.nav__item:hover .nav__caret, .nav__item:focus-within .nav__caret { transform: rotate(180deg); }
.nav__menu {
  position: absolute; top: calc(100% + 8px); left: 0; min-width: 264px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-lg);
  padding: .5rem; opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s; z-index: 60;
}
.nav__item:hover .nav__menu, .nav__item:focus-within .nav__menu { opacity: 1; visibility: visible; transform: translateY(0); }
.nav__menu a { display: block; padding: .55rem .7rem; border-radius: 8px; color: var(--ink-2); font-size: var(--fs-sm); font-weight: 550; }
.nav__menu a:hover { background: var(--brand-50); color: var(--brand-700); }
.nav__menu--cols { display: grid; grid-template-columns: 1fr 1fr; min-width: 460px; gap: .1rem; }
.header__cta { display: flex; align-items: center; gap: .6rem; }
.nav-toggle { display: none; }

@media (max-width: 1080px) { .header__phone { display: none; } }

/* ===== Mobile drawer — bulletproof: display toggle (no transform/visibility leak) ===== */
@media (max-width: 960px) {
  /* CRITICAL: backdrop-filter/transform/filter on .header creates a containing
     block that traps position:fixed descendants. The drawer lives inside .header,
     so the blur must be OFF on mobile or the drawer collapses to header size. */
  .header { backdrop-filter: none; -webkit-backdrop-filter: none; background: #fff; }
  .header__book { display: none; }
  .nav-toggle {
    display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px;
    border: 1px solid var(--line); border-radius: 12px; background: #fff; color: var(--ink);
  }
  .nav-toggle svg { width: 24px; height: 24px; }

  /* overlay container is HIDDEN by default and only painted when html.menu-open.
     Explicit full-viewport sizing (width/height:100%) — do NOT rely on `inset:0`,
     which can fail to resolve and collapse the panel to header height. */
  .nav { position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: 200; display: none; background: rgba(12,42,30,.5); }
  html.menu-open .nav { display: block; }
  html.menu-open { overflow: hidden; }

  /* the white side drawer */
  .nav__panel {
    position: absolute; top: 0; right: 0; height: 100%; width: min(86vw, 360px);
    display: flex; flex-direction: column; align-items: stretch;
    background: #fff; padding: 1rem 1.1rem 1.6rem; overflow-y: auto;
    box-shadow: -10px 0 44px rgba(13, 50, 35, .20);
    transform: translateX(100%); transition: transform .28s cubic-bezier(.4, 0, .2, 1);
  }
  html.menu-open .nav__panel { transform: translateX(0); }

  .nav__drawer-head {
    display: flex; align-items: center; justify-content: space-between;
    padding-bottom: 1rem; margin-bottom: .4rem; border-bottom: 1px solid var(--line);
  }
  .nav__close {
    display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px;
    border: 1px solid var(--line); border-radius: 11px; background: #fff; color: var(--ink);
  }
  .nav__close svg { width: 22px; height: 22px; }

  .nav__list { flex-direction: column; align-items: stretch; gap: .1rem; width: 100%; }
  .nav__item { position: static; }
  .nav__link { padding: .92rem .65rem; font-size: 1.05rem; font-weight: 600; border-radius: 10px; color: var(--ink); }
  .nav__link:hover, .nav__item--open > .nav__link { background: var(--brand-50); color: var(--brand-700); }
  .nav__caret { margin-left: auto; transition: transform .2s; }
  .nav__item--open > .nav__link .nav__caret { transform: rotate(180deg); }

  /* sub-menus: collapsed by default, expand on tap (display toggle) */
  .nav__menu, .nav__menu--cols {
    position: static; display: none; opacity: 1; visibility: visible; transform: none;
    min-width: 0; box-shadow: none; border: 0; background: none;
    margin: .1rem 0 .5rem .7rem; padding: 0 0 0 .7rem; border-left: 2px solid var(--brand-100);
  }
  .nav__item--open .nav__menu, .nav__item--open .nav__menu--cols { display: block; }
  .nav__menu a { padding: .62rem .6rem; font-size: .98rem; }

  .nav__drawer-cta {
    display: grid; gap: .55rem; margin-top: 1.2rem; padding-top: 1.2rem; border-top: 1px solid var(--line);
  }
}

/* ---------- Hero ---------- */
.hero { position: relative; background: linear-gradient(180deg, var(--brand-50) 0%, #fff 72%); overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(circle at 1px 1px, rgba(22,121,79,.06) 1px, transparent 0); background-size: 28px 28px; -webkit-mask-image: linear-gradient(180deg, #000, transparent 60%); mask-image: linear-gradient(180deg, #000, transparent 60%); }
.hero__grid { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 1rem + 4vw, 4rem); align-items: center; padding-block: clamp(2.8rem, 2rem + 4vw, 5rem); }
.hero__badge { display: inline-flex; align-items: center; gap: .5rem; background: #fff; border: 1px solid var(--brand-100); color: var(--brand-700); padding: .45rem .85rem; border-radius: 999px; font-size: var(--fs-xs); font-weight: 650; box-shadow: var(--shadow-sm); }
.hero__badge svg { width: 15px; height: 15px; }
.hero h1 { margin-top: 1.2rem; }
.hero h1 .accent { color: var(--brand); }
.hero__lead { margin-top: 1.15rem; font-size: var(--fs-lead); color: var(--ink-2); max-width: 33ch; }
.hero__cta { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.8rem; }
.hero__trust { display: flex; flex-wrap: wrap; gap: 1.4rem 2rem; margin-top: 2.2rem; padding-top: 1.6rem; border-top: 1px solid var(--line); }
.hero__stat .n { font-size: 1.7rem; font-weight: 800; color: var(--brand-700); letter-spacing: -.02em; line-height: 1; }
.hero__stat .l { font-size: var(--fs-xs); color: var(--muted); margin-top: .3rem; }
.hero__media { position: relative; }
.hero__media img, .hero__shot { width: 100%; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); aspect-ratio: 4 / 3; object-fit: cover; background: var(--brand-50); }
.hero__shot { display: grid; place-items: center; border: 1px solid var(--brand-100); }
.hero__float { position: absolute; left: -18px; bottom: 24px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-md); padding: .9rem 1.1rem; display: flex; align-items: center; gap: .75rem; max-width: 250px; }
.hero__float .ic { width: 40px; height: 40px; border-radius: 11px; background: var(--brand-50); color: var(--brand); display: grid; place-items: center; flex-shrink: 0; }
.hero__float .ic svg { width: 20px; height: 20px; }
.hero__float b { font-size: var(--fs-sm); display: block; }
.hero__float span { font-size: var(--fs-xs); color: var(--muted); }
@media (max-width: 880px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__media { order: -1; max-width: 520px; }
  .hero__lead { max-width: none; }
}

/* ---------- Cards ---------- */
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; transition: transform .18s ease, box-shadow .18s ease, border-color .18s; height: 100%; }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--brand-100); }
.card__ic { width: 48px; height: 48px; border-radius: 12px; background: var(--brand-50); color: var(--brand); display: grid; place-items: center; margin-bottom: 1.1rem; }
.card__ic svg { width: 24px; height: 24px; }
.card h3 { font-size: 1.14rem; }
.card h3 a { color: inherit; }
.card h3 a:hover { color: var(--brand-700); }
.card p { margin-top: .55rem; color: var(--ink-2); font-size: var(--fs-sm); }
.card__link { display: inline-flex; align-items: center; gap: .35rem; margin-top: 1rem; font-weight: 650; font-size: var(--fs-sm); color: var(--brand-700); }
.card__link svg { width: 16px; height: 16px; transition: transform .18s; }
.card:hover .card__link svg { transform: translateX(3px); }
a.card { display: block; color: inherit; }

/* service compact list card */
.svc-card { display: flex; gap: 1rem; align-items: flex-start; }
.svc-card .card__ic { margin-bottom: 0; flex-shrink: 0; width: 44px; height: 44px; }

/* ---------- Pills / chips ---------- */
.chips { display: flex; flex-wrap: wrap; gap: .6rem; }
.chip { display: inline-flex; align-items: center; gap: .45rem; padding: .55rem 1rem; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: var(--fs-sm); font-weight: 550; color: var(--ink-2); transition: border-color .15s, background .15s, color .15s; }
a.chip:hover { border-color: var(--brand-300); background: var(--brand-50); color: var(--brand-700); }
.chip svg { width: 16px; height: 16px; color: var(--brand); }

/* ---------- Trust / feature rows ---------- */
.feature { display: flex; gap: 1rem; align-items: flex-start; }
.feature__ic { width: 46px; height: 46px; border-radius: 12px; background: var(--brand-50); color: var(--brand); display: grid; place-items: center; flex-shrink: 0; }
.feature__ic svg { width: 22px; height: 22px; }
.feature h3 { font-size: 1.08rem; }
.feature p { margin-top: .35rem; color: var(--ink-2); font-size: var(--fs-sm); }

/* check list */
.ticks { list-style: none; padding: 0; display: grid; gap: .7rem; }
.ticks li { position: relative; padding-left: 2rem; color: var(--ink-2); }
.ticks li::before { content: ""; position: absolute; left: 0; top: .15em; width: 22px; height: 22px; border-radius: 50%; background: var(--brand-50); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2316794f' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E"); background-size: 13px; background-repeat: no-repeat; background-position: center; }

/* ---------- Doctors ---------- */
.doc-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .18s, box-shadow .18s, border-color .18s; height: 100%; }
.doc-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--brand-100); }
.doc-card__media { aspect-ratio: 1 / 1; background: linear-gradient(160deg, var(--brand-50), var(--brand-100)); display: grid; place-items: center; color: var(--brand); position: relative; }
.doc-card__media img { width: 100%; height: 100%; object-fit: cover; }
.doc-card__media .mono { font-size: 2.4rem; font-weight: 800; color: var(--brand-300); }
.doc-card__body { padding: 1.1rem 1.2rem 1.3rem; }
.doc-card__spec { font-size: var(--fs-xs); font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--brand-600); }
.doc-card h3 { font-size: 1.1rem; margin-top: .3rem; }
.doc-card__meta { margin-top: .5rem; font-size: var(--fs-sm); color: var(--muted); display: flex; align-items: center; gap: .4rem; }
.doc-card__meta svg { width: 15px; height: 15px; }

/* ---------- Accordion (FAQ) ---------- */
.accordion { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; }
.acc__item + .acc__item { border-top: 1px solid var(--line); }
.acc__q { width: 100%; text-align: left; background: none; border: 0; padding: 1.15rem 1.3rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; font-weight: 650; font-size: 1.02rem; color: var(--ink); }
.acc__q:hover { color: var(--brand-700); }
.acc__icn { width: 22px; height: 22px; flex-shrink: 0; color: var(--brand); transition: transform .22s; }
.acc__q[aria-expanded="true"] .acc__icn { transform: rotate(45deg); }
.acc__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .26s ease; }
.acc__a-inner { overflow: hidden; }
.acc__a-inner p { padding: 0 1.3rem 1.2rem; color: var(--ink-2); font-size: var(--fs-sm); }
.acc__item.open .acc__a { grid-template-rows: 1fr; }

/* ---------- Breadcrumb ---------- */
.crumbs { padding-block: 1rem; font-size: var(--fs-sm); }
.crumbs ol { list-style: none; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; color: var(--muted); }
.crumbs li { display: inline-flex; align-items: center; gap: .5rem; }
.crumbs li:not(:last-child)::after { content: "›"; color: var(--line); }
.crumbs a { color: var(--ink-2); }
.crumbs a:hover { color: var(--brand-700); }
.crumbs [aria-current="page"] { color: var(--ink); font-weight: 600; }

/* ---------- Page header (inner) ---------- */
.page-head { background: linear-gradient(180deg, var(--brand-50), #fff); border-bottom: 1px solid var(--line); }
.page-head__in { padding-block: clamp(1.6rem, 1.2rem + 2vw, 2.6rem) clamp(2rem, 1.6rem + 2vw, 3rem); max-width: 760px; }
.page-head h1 { margin-top: .4rem; }
.page-head p { margin-top: .9rem; color: var(--ink-2); font-size: var(--fs-lead); }

/* ---------- Answer block (AEO) ---------- */
.answer { background: var(--brand-50); border: 1px solid var(--brand-100); border-left: 4px solid var(--brand); border-radius: var(--radius); padding: 1.3rem 1.5rem; }
.answer p { color: var(--ink); font-weight: 480; }
.answer .answer__tag { display: inline-flex; align-items: center; gap: .4rem; font-size: var(--fs-xs); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--brand-600); margin-bottom: .5rem; }

/* ---------- Prose (articles/about) ---------- */
.prose { max-width: 760px; }
.prose > * + * { margin-top: 1.1rem; }
.prose h2 { margin-top: 2.4rem; font-size: clamp(1.4rem, 1.2rem + 1vw, 1.85rem); }
.prose h3 { margin-top: 1.8rem; }
.prose p, .prose li { color: var(--ink-2); }
.prose ul, .prose ol { display: grid; gap: .5rem; }
.prose strong { color: var(--ink); font-weight: 680; }
.prose a { font-weight: 600; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--brand-300); }

/* ---------- CTA band ---------- */
.cta-band { background: linear-gradient(135deg, var(--bg-deep) 0%, var(--brand-700) 100%); color: #fff; border-radius: var(--radius-lg); padding: clamp(2rem, 1.5rem + 2.5vw, 3.4rem); position: relative; overflow: hidden; }
.cta-band::after { content: ""; position: absolute; right: -60px; top: -60px; width: 280px; height: 280px; border-radius: 50%; background: radial-gradient(circle, rgba(54,163,91,.25), transparent 70%); }
.cta-band__in { position: relative; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.8rem; }
.cta-band h2 { color: #fff; max-width: 18ch; }
.cta-band p { color: rgba(255,255,255,.8); margin-top: .6rem; }
.cta-band__btns { display: flex; flex-wrap: wrap; gap: .7rem; }

/* ---------- Footer ---------- */
.footer { background: var(--bg-deep); color: rgba(255,255,255,.72); padding-block: clamp(2.6rem, 2rem + 2vw, 3.6rem) 1.6rem; font-size: var(--fs-sm); }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.1fr; gap: 2rem; padding-bottom: 2.2rem; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer__brand svg { height: 40px; width: auto; }
.footer__brand p { margin-top: 1rem; max-width: 30ch; color: rgba(255,255,255,.6); }
.footer__social { display: flex; gap: .6rem; margin-top: 1.2rem; }
.footer__social a { width: 38px; height: 38px; border-radius: 10px; background: rgba(255,255,255,.07); display: grid; place-items: center; color: rgba(255,255,255,.8); transition: background .15s, color .15s; }
.footer__social a:hover { background: var(--brand); color: #fff; }
.footer__social svg { width: 18px; height: 18px; }
.footer h4 { color: #fff; font-size: var(--fs-sm); font-weight: 700; letter-spacing: .04em; text-transform: uppercase; margin-bottom: 1rem; }
.footer ul { list-style: none; padding: 0; display: grid; gap: .6rem; }
.footer a { color: rgba(255,255,255,.72); }
.footer a:hover { color: #fff; }
.footer__contact li { display: flex; gap: .6rem; align-items: flex-start; }
.footer__contact svg { width: 16px; height: 16px; margin-top: .25rem; color: var(--brand-300); flex-shrink: 0; }
.footer__bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; padding-top: 1.6rem; color: rgba(255,255,255,.5); font-size: var(--fs-xs); }
.footer__bottom a { color: rgba(255,255,255,.7); font-weight: 600; }
.footer__bottom a:hover { color: var(--brand-300); }
@media (max-width: 860px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer__grid { grid-template-columns: 1fr; gap: 1.6rem; } }

/* ---------- Sticky mobile call bar ---------- */
.mobile-bar { display: none; position: fixed; bottom: 0; left: 0; right: 0; z-index: 90; background: #fff; border-top: 1px solid var(--line); padding: .6rem; gap: .6rem; box-shadow: 0 -4px 20px rgba(13,50,35,.07); }
.mobile-bar .btn { flex: 1; padding: .85rem; }
@media (max-width: 640px) {
  .mobile-bar { display: flex; }
  body { padding-bottom: 72px; }
}

/* ---------- Misc ---------- */
.stat-band { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.stat-band > div { background: #fff; padding: 1.5rem 1.3rem; text-align: center; }
.stat-band .n { font-size: clamp(1.6rem, 1.3rem + 1vw, 2.1rem); font-weight: 800; color: var(--brand-700); letter-spacing: -.02em; }
.stat-band .l { font-size: var(--fs-sm); color: var(--muted); margin-top: .3rem; }
@media (max-width: 640px) { .stat-band { grid-template-columns: 1fr 1fr; } }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 1.4rem + 3vw, 4rem); align-items: center; }
@media (max-width: 880px) { .split { grid-template-columns: 1fr; } }
.media-frame { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); border: 1px solid var(--line); }
.media-frame img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.media-frame--clinic { aspect-ratio: 4/3; background: linear-gradient(160deg, var(--brand-100), var(--brand-50)); display: grid; place-items: center; color: var(--brand-600); text-align: center; padding: 2rem; }

.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 1rem + 2vw, 3rem); }
@media (max-width: 880px) { .contact-grid { grid-template-columns: 1fr; } }
.info-row { display: flex; gap: .9rem; align-items: flex-start; padding: 1.1rem 0; border-bottom: 1px solid var(--line); }
.info-row:last-child { border-bottom: 0; }
.info-row .ic { width: 42px; height: 42px; border-radius: 11px; background: var(--brand-50); color: var(--brand); display: grid; place-items: center; flex-shrink: 0; }
.info-row .ic svg { width: 20px; height: 20px; }
.info-row b { display: block; font-size: var(--fs-sm); }
.info-row span, .info-row a { color: var(--ink-2); }
.map-embed { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); aspect-ratio: 16/10; background: var(--bg-soft); }
.map-embed iframe { width: 100%; height: 100%; border: 0; }

/* form */
.field { margin-bottom: 1rem; }
.field label { display: block; font-size: var(--fs-sm); font-weight: 600; margin-bottom: .35rem; color: var(--ink); }
.field input, .field select, .field textarea {
  width: 100%; padding: .8rem 1rem; border: 1.5px solid var(--line); border-radius: 11px; font: inherit;
  font-size: var(--fs-sm); color: var(--ink); background: #fff; transition: border-color .15s, box-shadow .15s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brand-400); box-shadow: 0 0 0 3px rgba(47,168,119,.15); }
.field textarea { resize: vertical; min-height: 110px; }

/* utilities */
.text-center { text-align: center; }
.mt-1 { margin-top: 1rem; } .mt-2 { margin-top: 2rem; }
.center-btns { display: flex; flex-wrap: wrap; gap: .7rem; justify-content: center; margin-top: 2rem; }

@media (max-width: 900px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

/* motion / print */
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }
@media print { .header, .topbar, .mobile-bar, .cta-band, .footer__social { display: none; } }
