/* ============================================================
   NammaCare theme — global styles
   Class system distilled from the design prototype
   (project/NammaCare Website.dc.html). Tokens in tokens.css.
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font-body);
  font-size: var(--fs-body);
  color: var(--text-body);
  background: var(--bg-page);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; }
h1, h2, h3, h4 { font-family: var(--font-display); color: var(--text-strong); }

.lucide { width: 24px; height: 24px; stroke-width: 2; flex: none; }
.i14 .lucide { width: 14px; height: 14px; }
.i16 .lucide { width: 16px; height: 16px; }
.i18 .lucide { width: 18px; height: 18px; }
.i20 .lucide { width: 20px; height: 20px; }
.i22 .lucide { width: 22px; height: 22px; }
.i28 .lucide { width: 28px; height: 28px; }

.screen-reader-text {
  position: absolute; width: 1px; height: 1px;
  clip-path: inset(50%); overflow: hidden; white-space: nowrap;
}

/* ---------- Reveal-on-scroll (from prototype) ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px) scale(0.992);
  transition: opacity 0.72s var(--ease-out), transform 0.72s var(--ease-out);
  will-change: opacity, transform;
}
[data-reveal].nc-revealed { opacity: 1; transform: none; }
[data-rd="1"] { transition-delay: 0.08s; } [data-rd="2"] { transition-delay: 0.16s; }
[data-rd="3"] { transition-delay: 0.24s; } [data-rd="4"] { transition-delay: 0.32s; }
[data-rd="5"] { transition-delay: 0.40s; } [data-rd="6"] { transition-delay: 0.48s; }
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; transition: none; }
  .nc-hero-photo { animation: none !important; }
}

/* ---------- Layout ---------- */
.nc-container { max-width: 1200px; margin: 0 auto; padding: 0 32px; }
.nc-sec { max-width: 1200px; margin: 0 auto; padding: 100px 32px; }
.nc-sec--narrow { max-width: 1100px; }
.nc-sec--tight { padding-top: 64px; padding-bottom: 64px; }
.nc-split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.nc-grid-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 22px; }

.bg-soft { background: var(--gray-50); border-top: 1px solid var(--border-subtle); border-bottom: 1px solid var(--border-subtle); }
.bg-ink { background: var(--ink-900); color: #fff; }

/* ---------- Type patterns ---------- */
.eyebrow {
  font-size: 13px; font-weight: 700; letter-spacing: var(--ls-wider);
  text-transform: uppercase; color: var(--text-brand);
}
.bg-ink .eyebrow, .eyebrow--dark { color: var(--teal-300); }
.h-display {
  margin: 14px 0 0; font-family: var(--font-display); font-weight: 300;
  font-size: clamp(30px, 4vw, 46px); letter-spacing: var(--ls-tight); line-height: 1.1;
}
.h-hero {
  margin: 22px 0 0; font-family: var(--font-display); font-weight: 300;
  font-size: clamp(42px, 6vw, 80px); line-height: 1.03; letter-spacing: var(--ls-tighter); color: #fff;
}
.h-page {
  margin: 16px auto 0; font-family: var(--font-display); font-weight: 300;
  font-size: clamp(36px, 5vw, 64px); line-height: 1.05; letter-spacing: var(--ls-tighter);
}
.lead { font-size: 17px; line-height: 1.6; color: var(--text-muted); }
.bg-ink .lead, .lead--dark { color: var(--gray-300); }
.sec-head { text-align: center; max-width: 640px; margin: 0 auto 56px; }
.sec-head .lead { margin: 16px 0 0; }
.mono { font-family: var(--font-mono); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: none; cursor: pointer; font-family: var(--font-body);
  font-weight: 700; font-size: 15px; border-radius: var(--radius-pill);
  padding: 12px 24px; min-height: 44px;
  transition: background 0.2s var(--ease-out), color 0.2s var(--ease-out),
              box-shadow 0.2s var(--ease-out), transform 0.14s var(--ease-out);
}
.btn:active { transform: scale(0.97); }
.btn:focus-visible { outline: none; box-shadow: var(--ring); }
.btn--primary { background: var(--teal-500); color: #fff; box-shadow: var(--shadow-brand); }
.btn--primary:hover { background: var(--teal-600); }
.btn--lg { padding: 15px 28px; min-height: 54px; font-size: 15px; }
.btn--secondary { background: #fff; color: var(--teal-700); border: 1px solid var(--border-default); box-shadow: var(--shadow-xs); }
.btn--secondary:hover { border-color: var(--teal-400); color: var(--teal-800); }
.btn--outline-light { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,0.22); }
.btn--outline-light:hover { border-color: rgba(255,255,255,0.5); }
.btn--white { background: #fff; color: var(--teal-700); }
.btn--white:hover { background: var(--teal-50); }
.btn--whatsapp { background: #1FA971; color: #fff; }
.btn--whatsapp:hover { background: #178A5C; }
.btn--block { width: 100%; }

/* ---------- Header / nav ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100; height: 72px;
  display: flex; align-items: center; justify-content: space-between; padding: 0 32px;
  background: rgba(255,255,255,0.82);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-subtle);
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand__mark { width: 42px; height: 33px; flex: none; color: var(--teal-500); }
.brand__word {
  font-family: var(--font-display); font-size: 22px; font-weight: 600;
  letter-spacing: -0.02em; color: var(--ink-900); white-space: nowrap;
}
.brand__word span { color: var(--teal-500); }
.site-footer .brand__mark { color: #fff; }
.brand img.custom-logo { max-height: 44px; width: auto; }

.desk-nav { display: flex; align-items: center; gap: 30px; }
.desk-nav ul { display: flex; align-items: center; gap: 30px; margin: 0; padding: 0; list-style: none; }
a.nc-nav, .desk-nav ul a {
  position: relative; padding: 6px 2px; color: var(--text-body);
  font-weight: 600; font-size: 15px; transition: color 0.2s var(--ease-out);
}
a.nc-nav:hover, .desk-nav ul a:hover { color: var(--teal-600); }
a.nc-nav[aria-current="page"], .desk-nav .current-menu-item > a { color: var(--teal-700); }
a.nc-nav[aria-current="page"]::after, .desk-nav .current-menu-item > a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -6px;
  height: 2px; border-radius: 2px; background: var(--teal-500);
}
.nc-burger {
  display: none; align-items: center; justify-content: center;
  width: 44px; height: 44px; border: 1px solid var(--border-subtle);
  background: #fff; border-radius: var(--radius-md); cursor: pointer; color: var(--ink-900);
}
.mobile-menu {
  position: fixed; inset: 72px 0 0 0; z-index: 99;
  background: rgba(255,255,255,0.98); backdrop-filter: blur(12px);
  padding: 20px 24px; display: none; flex-direction: column; gap: 6px; overflow-y: auto;
}
.mobile-menu.is-open { display: flex; }
.mobile-menu a {
  padding: 16px 8px; font-size: 20px; font-family: var(--font-display);
  color: var(--ink-900); border-bottom: 1px solid var(--border-subtle);
}
.mobile-menu .btn { margin-top: 14px; }
.site-main { padding-top: 72px; }

/* ---------- Hero (dark editorial) ---------- */
.hero-dark { position: relative; background: var(--ink-900); color: #fff; overflow: hidden; }
.hero-dark::before {
  content: ""; position: absolute; right: -120px; top: -80px; width: 420px; height: 420px;
  border-radius: 50%; background: var(--teal-600); opacity: 0.20; filter: blur(10px);
}
.hero-dark::after {
  content: ""; position: absolute; left: -140px; bottom: -160px; width: 360px; height: 360px;
  border-radius: 50%; background: var(--teal-500); opacity: 0.12;
}
.hero-grid {
  position: relative; z-index: 1; max-width: 1200px; margin: 0 auto;
  padding: 104px 32px 96px; display: grid;
  grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px;
  border: 1px solid rgba(99,214,203,0.35); border-radius: var(--radius-pill);
  color: var(--teal-300); font-size: 12px; font-weight: 700;
  letter-spacing: var(--ls-wider); text-transform: uppercase;
}
.hero-badge .lucide { color: var(--teal-300); }
.hero-sub { margin: 24px 0 0; max-width: 480px; font-size: clamp(16px, 1.4vw, 19px); line-height: 1.65; color: var(--gray-200); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero-stats { display: flex; flex-wrap: wrap; gap: 34px; margin-top: 52px; }
.stat-num { font-family: var(--font-mono); font-size: 32px; font-weight: 700; color: #fff; }
.stat-label { font-size: 13px; color: var(--gray-400); margin-top: 2px; }
.nc-hero-photo { animation: nc-float 7s ease-in-out infinite; }
@keyframes nc-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }

/* Light page hero */
.page-hero { background: var(--gray-50); border-bottom: 1px solid var(--border-subtle); }
.page-hero__inner { max-width: 1100px; margin: 0 auto; padding: 88px 32px 72px; text-align: center; }
.page-hero .lead { margin: 20px auto 0; max-width: 560px; font-size: 18px; }

/* ---------- Cards ---------- */
.card {
  background: var(--surface-card); border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg); padding: 28px; box-shadow: var(--shadow-sm);
}
.nc-lift { transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out); }
.nc-lift:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.icon-tile {
  width: 52px; height: 52px; border-radius: 16px; background: var(--teal-50);
  display: flex; align-items: center; justify-content: center; color: var(--teal-600);
}
.icon-tile--sm { width: 44px; height: 44px; border-radius: 13px; flex: none; }
.card h3 { margin: 22px 0 8px; font-size: 20px; font-weight: 600; }
.card p { margin: 0; font-size: 14.5px; line-height: 1.6; color: var(--text-muted); }

/* Feature row (icon + text list) */
.feature-row { display: flex; gap: 16px; align-items: flex-start; }
.feature-row h4 { margin: 0 0 4px; font-family: var(--font-body); font-size: 17px; font-weight: 700; }
.feature-row p { margin: 0; font-size: 15px; line-height: 1.6; color: var(--text-muted); }
.feature-col { display: flex; flex-direction: column; gap: 20px; }

.check-item { display: flex; gap: 10px; align-items: center; font-size: 15px; color: var(--text-body); }
.check-item .lucide { color: var(--teal-500); }

.img-card { border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow-lg); }
.img-card img { display: block; width: 100%; height: 100%; object-fit: cover; }

/* Numbered steps */
.step-num {
  width: 64px; height: 64px; margin: 0 auto; border-radius: 20px;
  background: var(--ink-900); color: var(--teal-300);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-mono); font-size: 22px; font-weight: 700;
}
.step h3 { margin: 20px 0 8px; font-size: 20px; font-weight: 600; }
.step p { margin: 0; font-size: 15px; line-height: 1.6; color: var(--text-muted); }
.step { text-align: center; padding: 0 12px; }

/* Chip / pill badge */
.chip {
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px;
  border-radius: var(--radius-pill); background: var(--teal-50); color: var(--teal-700);
  font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
}

/* ---------- CTA band ---------- */
.cta-band {
  position: relative; overflow: hidden;
  background: linear-gradient(120deg, var(--teal-600), var(--teal-800));
  border-radius: var(--radius-xl); padding: 72px 48px; text-align: center; color: #fff;
}
.cta-band::before {
  content: ""; position: absolute; right: -80px; top: -80px; width: 280px; height: 280px;
  border-radius: 50%; background: #fff; opacity: 0.08;
}
.cta-band::after {
  content: ""; position: absolute; left: -60px; bottom: -100px; width: 240px; height: 240px;
  border-radius: 50%; background: #fff; opacity: 0.06;
}
.cta-band > * { position: relative; }
.cta-band h2 {
  margin: 0; font-weight: 300; color: #fff;
  font-size: clamp(28px, 3.6vw, 44px); letter-spacing: var(--ls-tight); line-height: 1.1;
}
.cta-band p { margin: 16px auto 0; max-width: 460px; font-size: 17px; line-height: 1.6; color: rgba(255,255,255,0.9); }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 32px; }

/* ---------- Forms ---------- */
.nc-input, .nc-textarea {
  width: 100%; font-family: var(--font-body); font-size: 15px; color: var(--text-strong);
  background: #fff; border: 1px solid var(--border-default);
  border-radius: var(--radius-md); padding: 14px 16px;
  transition: border-color 0.2s var(--ease-out), box-shadow 0.2s var(--ease-out);
}
.nc-textarea { min-height: 120px; resize: vertical; }
.nc-input:focus, .nc-textarea:focus { outline: none; border-color: var(--teal-400); box-shadow: var(--ring); }
.nc-label { display: block; font-size: 13px; font-weight: 700; color: var(--text-strong); margin: 0 0 6px; }
.form-stack { display: flex; flex-direction: column; gap: 16px; }
.form-note-ok { display: flex; align-items: center; gap: 8px; color: var(--success); font-weight: 600; font-size: 14px; }
.hp-field { position: absolute !important; left: -9999px; opacity: 0; }

/* ---------- Blog ---------- */
.post-card {
  cursor: pointer; background: #fff; border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column;
  position: relative; /* anchor for the stretched title link below */
}
/* Make the WHOLE card clickable: the title link expands over the tile. */
.post-card h3 a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.post-card__img { height: 180px; background-size: cover; background-position: center; background-color: var(--gray-100); }
.post-card__body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.post-card__cat { font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-brand); }
.post-card h3 { margin: 10px 0 8px; font-size: 19px; font-weight: 600; line-height: 1.25; }
.post-card h3 a:hover { color: var(--teal-700); }
.post-card p { margin: 0 0 14px; font-size: 14px; line-height: 1.55; color: var(--text-muted); }
.post-card__meta { font-size: 12px; color: var(--text-muted); margin-top: auto; }
.post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }

/* Single post (prose) */
.prose { max-width: 760px; margin: 0 auto; font-size: 17px; line-height: 1.75; color: var(--text-body); }
.prose h2 { font-size: 28px; font-weight: 600; margin: 44px 0 14px; letter-spacing: var(--ls-tight); }
.prose h3 { font-size: 22px; font-weight: 600; margin: 36px 0 12px; }
.prose p { margin: 0 0 20px; }
.prose img { border-radius: var(--radius-lg); }
.prose a { color: var(--teal-700); font-weight: 600; border-bottom: 1px solid var(--teal-200); }
.prose blockquote {
  margin: 28px 0; padding: 18px 24px; border-left: 3px solid var(--teal-400);
  background: var(--teal-50); border-radius: 0 var(--radius-md) var(--radius-md) 0;
  font-family: var(--font-display); font-weight: 400;
}
.prose ul, .prose ol { margin: 0 0 20px; padding-left: 26px; }
.prose li { margin-bottom: 8px; }

/* Author byline card */
.byline-card {
  display: flex; align-items: center; gap: 16px; margin: 40px auto 0; max-width: 760px;
  background: #fff; border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg); padding: 20px 24px; box-shadow: var(--shadow-sm);
}
.byline-card img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; }

/* ---------- Doctor landing page ---------- */
.doc-hero { position: relative; background: var(--ink-900); color: #fff; overflow: hidden; }
.doc-hero::before {
  content: ""; position: absolute; right: -100px; top: -60px; width: 360px; height: 360px;
  border-radius: 50%; background: var(--teal-600); opacity: 0.18;
}
.doc-hero__inner {
  position: relative; max-width: 1100px; margin: 0 auto; padding: 80px 32px;
  display: grid; grid-template-columns: auto 1fr; gap: 44px; align-items: center;
}
.doc-hero__photo {
  width: 220px; height: 220px; border-radius: 50%; object-fit: cover;
  border: 5px solid rgba(99,214,203,0.4); box-shadow: 0 24px 60px rgba(0,0,0,0.45);
}
.doc-hero__photo--placeholder {
  width: 220px; height: 220px; border-radius: 50%; background: var(--ink-800);
  display: flex; align-items: center; justify-content: center; color: var(--teal-300);
  border: 5px solid rgba(99,214,203,0.25);
}
.doc-hero h1 { margin: 10px 0 0; font-weight: 400; font-size: clamp(32px, 4vw, 52px); letter-spacing: var(--ls-tighter); color: #fff; line-height: 1.06; }
.doc-hero__quals { margin: 10px 0 0; font-size: 16px; color: var(--gray-300); }
.doc-meta-pills { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.doc-meta-pill {
  display: inline-flex; align-items: center; gap: 7px; padding: 8px 14px;
  border-radius: var(--radius-pill); background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12); font-size: 13px; font-weight: 600; color: var(--gray-100);
}
.doc-meta-pill .lucide { color: var(--teal-300); }
.doc-info-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 18px; }
.doc-info-card { background: #fff; border: 1px solid var(--border-subtle); border-radius: var(--radius-lg); padding: 22px; box-shadow: var(--shadow-sm); }
.doc-info-card .k { font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-brand); margin-bottom: 8px; display: flex; align-items: center; gap: 8px; }
.doc-info-card .v { font-size: 15px; line-height: 1.6; color: var(--text-strong); }
.doc-info-card .v.mono { font-family: var(--font-mono); font-weight: 700; }
.doc-cta-bar {
  position: sticky; bottom: 16px; z-index: 40; max-width: 760px; margin: 40px auto 0;
  display: flex; gap: 12px; justify-content: center; flex-wrap: wrap;
  background: rgba(255,255,255,0.92); backdrop-filter: blur(10px);
  border: 1px solid var(--border-subtle); border-radius: var(--radius-pill);
  padding: 12px 16px; box-shadow: var(--shadow-lg);
}

/* ---------- Store badges (official App Store / Google Play art) ---------- */
.store-badge { display: inline-block; transition: transform 0.14s var(--ease-out), filter 0.2s var(--ease-out); }
.store-badge img { display: block; height: 52px; width: auto; border-radius: 9px; }
.store-badge:hover { transform: translateY(-2px); filter: brightness(1.12); }

/* ---------- FAQ (doctor pages) ---------- */
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: #fff; border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md); box-shadow: var(--shadow-xs);
}
.faq-item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  cursor: pointer; list-style: none; padding: 18px 20px;
  font-weight: 700; font-size: 15.5px; color: var(--text-strong);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item__chev { color: var(--teal-500); transition: transform 0.24s var(--ease-out); }
.faq-item[open] .faq-item__chev { transform: rotate(180deg); }
.faq-item p { margin: 0; padding: 0 20px 18px; font-size: 15px; line-height: 1.65; color: var(--text-body); }

/* ---------- Pricing ---------- */
.price-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; align-items: stretch; }
.price-card {
  background: #fff; border: 1px solid var(--border-subtle); border-radius: var(--radius-xl);
  padding: 34px 30px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column;
}
.price-card--hot { border: 2px solid var(--teal-500); box-shadow: var(--shadow-brand); position: relative; }
.price-card__flag {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--teal-500); color: #fff; font-size: 11px; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase; padding: 6px 14px; border-radius: var(--radius-pill);
}
.price-card h3 { margin: 0 0 6px; font-size: 22px; font-weight: 600; }
.price-card .who { font-size: 14px; color: var(--text-muted); margin: 0 0 22px; }
.price-amount { font-family: var(--font-mono); font-size: 40px; font-weight: 700; color: var(--text-strong); line-height: 1; }
.price-amount .per { font-family: var(--font-body); font-size: 14px; font-weight: 600; color: var(--text-muted); }
.price-feats { list-style: none; margin: 24px 0 28px; padding: 0; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.price-feats li { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; line-height: 1.5; color: var(--text-body); }
.price-feats .lucide { color: var(--teal-500); margin-top: 2px; }

/* ---------- Tabs (patients / doctors switch) ---------- */
.tab-switch {
  display: inline-flex; padding: 5px; background: #fff;
  border: 1px solid var(--border-subtle); border-radius: var(--radius-pill);
  box-shadow: var(--shadow-xs);
}
.tab-switch button {
  border: none; cursor: pointer; font-family: var(--font-body);
  font-weight: 700; font-size: 15px; padding: 11px 26px;
  border-radius: var(--radius-pill); background: transparent; color: var(--text-muted);
  transition: all 0.24s var(--ease-out);
}
.tab-switch button.is-active { background: var(--teal-500); color: #fff; box-shadow: var(--shadow-brand); }

/* ---------- Phone mockup (hero) ---------- */
.phone { position: relative; width: 300px; border-radius: 44px; background: #0a1211; padding: 12px; box-shadow: 0 40px 90px rgba(0,0,0,0.55); border: 1px solid rgba(255,255,255,0.08); }
.phone__notch { position: absolute; left: 50%; top: 20px; transform: translateX(-50%); width: 110px; height: 26px; background: #0a1211; border-radius: 0 0 16px 16px; z-index: 3; }
.phone__screen { border-radius: 34px; overflow: hidden; background: var(--gray-50); height: 600px; }
.phone__appbar { padding: 34px 18px 14px; background: #fff; display: flex; justify-content: space-between; align-items: flex-start; }
.phone__body { padding: 14px 16px; display: flex; flex-direction: column; gap: 12px; }
.vitals-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.vital { background: #fff; border: 1px solid var(--border-subtle); border-radius: 14px; padding: 10px; box-shadow: var(--shadow-xs); }
.vital .num { font-family: var(--font-mono); font-size: 16px; font-weight: 700; color: var(--text-strong); margin-top: 6px; }
.vital .unit { font-size: 9px; color: var(--text-muted); font-weight: 400; }
.vital .lbl { font-size: 9px; color: var(--text-muted); }
.appt-card { background: var(--ink-900); border-radius: 18px; padding: 16px; position: relative; overflow: hidden; }
.appt-card::before { content: ""; position: absolute; right: -24px; top: -24px; width: 96px; height: 96px; border-radius: 50%; background: var(--teal-600); opacity: 0.28; }
.med-card { background: #fff; border: 1px solid var(--border-subtle); border-radius: 16px; padding: 14px; }
.med-bar { height: 8px; border-radius: 999px; background: var(--gray-100); overflow: hidden; }
.med-bar > span { display: block; width: 70%; height: 100%; background: var(--green-500); border-radius: 999px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink-900); color: var(--gray-300); }
.site-footer__grid {
  max-width: 1200px; margin: 0 auto; padding: 64px 32px 40px;
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px;
}
.site-footer .brand__word { color: #fff; font-size: 20px; }
.site-footer .brand__word span { color: var(--teal-400); }
.site-footer__about { margin: 16px 0 0; font-size: 14px; line-height: 1.6; max-width: 260px; color: var(--gray-400); }
.site-footer__hd { font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gray-500); margin-bottom: 16px; }
.site-footer__links { display: flex; flex-direction: column; gap: 12px; font-size: 14px; }
.site-footer__links a { color: var(--gray-300); }
.site-footer__links a:hover { color: var(--teal-300); }
.site-footer address { font-style: normal; margin: 0 0 12px; font-size: 14px; line-height: 1.6; color: var(--gray-400); }
.site-footer__contact { margin: 0; font-size: 14px; line-height: 1.7; color: var(--gray-300); }
.social-row { display: flex; gap: 10px; margin-top: 20px; }
.social-row a {
  width: 38px; height: 38px; border-radius: 10px; border: 1px solid rgba(255,255,255,0.14);
  display: flex; align-items: center; justify-content: center; color: var(--gray-300);
  transition: color 0.2s var(--ease-out), border-color 0.2s var(--ease-out);
}
.social-row a:hover { color: var(--teal-300); border-color: var(--teal-300); }
.site-footer__clients { border-top: 1px solid rgba(255,255,255,0.08); }
.site-footer__clients > div {
  max-width: 1200px; margin: 0 auto; padding: 22px 32px;
  display: flex; flex-wrap: wrap; align-items: center; gap: 14px 32px;
}
.client-name {
  font-family: var(--font-display); font-size: 16px; font-weight: 600;
  letter-spacing: 0.01em; color: var(--gray-300);
  display: inline-flex; align-items: center; gap: 10px;
}
.client-name::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%;
  background: var(--teal-400); display: inline-block;
}
.site-footer__legal { border-top: 1px solid rgba(255,255,255,0.08); }
.site-footer__legal > div { max-width: 1200px; margin: 0 auto; padding: 20px 32px; font-size: 13px; color: var(--gray-500); }

/* ---------- Pagination ---------- */
.nc-pagination { display: flex; justify-content: center; gap: 8px; margin-top: 48px; }
.nc-pagination .page-numbers {
  min-width: 42px; height: 42px; padding: 0 12px; display: inline-flex;
  align-items: center; justify-content: center; border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle); background: #fff;
  font-weight: 700; font-size: 14px; color: var(--text-body);
}
.nc-pagination .page-numbers.current { background: var(--teal-500); color: #fff; border-color: var(--teal-500); }
.nc-pagination .page-numbers:hover:not(.current) { border-color: var(--teal-400); color: var(--teal-700); }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .desk-nav { display: none; }
  .nc-burger { display: inline-flex; }
  .hero-grid, .nc-split { grid-template-columns: 1fr; }
  .nc-sec { padding: 64px 22px; }
  .page-hero__inner { padding: 64px 22px 52px; }
  .hero-grid { padding: 72px 22px 64px; }
  .nc-phone-wrap { margin: 0 auto; }
  .doc-hero__inner { grid-template-columns: 1fr; text-align: center; padding: 56px 22px; }
  .doc-hero__photo, .doc-hero__photo--placeholder { margin: 0 auto; }
  .doc-meta-pills { justify-content: center; }
  .cta-band { padding: 56px 26px; }
}
@media (max-width: 560px) {
  .site-footer__grid { grid-template-columns: 1fr; }
}
