/* ==========================================================================
   NMC Clinic — shared stylesheet
   Converted from the .dc.html templates. Colours, spacing and type are taken
   from the original inline styles; nothing here is a new design decision.
   ========================================================================== */

/* ---------- 1. Tokens ---------------------------------------------------- */
:root {
  --teal-900: #124E4A;
  --teal-600: #287772;
  --teal-300: #7FD4CA;
  --teal-050: #EAF4F3;
  --teal-025: #F4FBFA;
  --border:   #D7E5E4;
  --border-2: #E3EEED;
  --yellow:   #FDCA00;
  --ink:      #1F2937;
  --ink-2:    #374151;
  --muted:    #4B5563;
  --hero-dark:#062a3a;
  --foot-txt: #c9ddda;
  --foot-mut: #a9c7c3;
  --foot-soft:#cfe4e1;
  --white:    #ffffff;
  --danger:   #c0392b;

  --wrap: 1240px;
  --wrap-narrow: 1080px;
  --radius: 8px;
  --radius-lg: 16px;
  --shadow-card: 0 16px 44px rgba(18, 78, 74, .10);
  --shadow-soft: 0 8px 26px rgba(18, 78, 74, .06);
  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-display: 'Playfair Display', Georgia, serif;
}

/* ---------- 2. Base ------------------------------------------------------ */
* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

a { color: var(--teal-600); text-decoration: none; }
a:hover { color: var(--teal-900); }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; }
input, textarea, select { font-family: inherit; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; border-radius: 4px; }
::placeholder { color: #9aa8a6; }
h1, h2 { font-family: var(--font-display); letter-spacing: -.01em; }
::selection { background: var(--yellow); color: var(--teal-900); }

.page { width: 100%; overflow-x: hidden; background: var(--white); }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.wrap-narrow { max-width: var(--wrap-narrow); margin: 0 auto; padding: 0 24px; }
.section { padding-top: 88px; padding-bottom: 88px; }
.section-80 { padding-top: 80px; padding-bottom: 80px; }
.section-sm { padding-top: 72px; padding-bottom: 72px; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}

/* ---------- 3. Header ---------------------------------------------------- */
/* Transparent over the hero, solid once scrolled or when the menu is open.
   The colour swap is driven by custom properties so the markup stays simple. */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background .25s ease, box-shadow .25s ease, border-color .25s ease;
  --hdr-brand: var(--white);
  --hdr-brand-sub: rgba(255, 255, 255, .72);
  --hdr-nav: var(--white);
  --hdr-nav-active: var(--yellow);
  --hdr-nav-hover: rgba(255, 255, 255, .14);
  --hdr-phone: var(--white);
  --hdr-burger-bd: rgba(255, 255, 255, .4);
  --hdr-burger-bg: rgba(255, 255, 255, .10);
  --hdr-burger-fg: var(--white);
}
.site-header.is-solid {
  background: rgba(255, 255, 255, .95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 6px 22px rgba(18, 78, 74, .07);
  --hdr-brand: var(--teal-900);
  --hdr-brand-sub: var(--muted);
  --hdr-nav: var(--ink);
  --hdr-nav-active: var(--teal-900);
  --hdr-nav-hover: var(--teal-050);
  --hdr-phone: var(--teal-900);
  --hdr-burger-bd: var(--border);
  --hdr-burger-bg: var(--white);
  --hdr-burger-fg: var(--teal-900);
}

/* top contact strip — desktop only */
.topbar { background: var(--teal-900); color: var(--foot-soft); border-bottom: 1px solid rgba(255, 255, 255, .10); }
.topbar-in {
  max-width: var(--wrap); margin: 0 auto; padding: 9px 24px;
  display: flex; align-items: center; gap: 26px; font-size: 13.5px;
}
.topbar-item { display: inline-flex; align-items: center; gap: 8px; }
.topbar-label { color: var(--foot-mut); }
.topbar-em { color: var(--yellow); font-weight: 700; }
.topbar-mail { color: #e5f1ef; font-weight: 500; }
.topbar-hours { color: var(--foot-soft); }
.topbar-social { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.social-btn {
  display: flex; align-items: center; justify-content: center;
  width: 26px; height: 26px; border-radius: 7px;
  background: rgba(255, 255, 255, .08); color: var(--white);
  transition: background .15s, color .15s;
}
.social-btn:hover { background: var(--yellow); color: var(--teal-900); }

/* main bar */
.header-bar {
  max-width: var(--wrap); margin: 0 auto; padding: 22px 24px;
  display: flex; align-items: center; gap: 24px;
}
.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand img { width: 48px; height: 48px; border-radius: var(--radius); object-fit: cover; box-shadow: 0 2px 8px rgba(18, 78, 74, .18); }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name { font-weight: 800; font-size: 20px; letter-spacing: -.02em; color: var(--hdr-brand); transition: color .25s ease; }
.brand-sub { font-weight: 500; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--hdr-brand-sub); transition: color .25s ease; }

.nav-main { display: flex; align-items: center; gap: 6px; margin-left: 12px; }
.nav-main a {
  font-weight: 500; font-size: 15px; color: var(--hdr-nav);
  padding: 8px 12px; border-radius: var(--radius);
  transition: background .15s, color .25s ease;
}
.nav-main a:hover { background: var(--hdr-nav-hover); color: var(--hdr-nav); }
.nav-main a[aria-current="page"] { font-weight: 600; color: var(--hdr-nav-active); }

.header-actions { margin-left: auto; display: flex; align-items: center; gap: 16px; flex-shrink: 0; }
.header-actions .btn { gap: 8px; }
.header-phone { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: 15px; color: var(--hdr-phone); transition: color .25s ease; }
.header-phone:hover { color: var(--hdr-phone); }

.nav-toggle {
  margin-left: auto; display: none;
  align-items: center; justify-content: center;
  width: 46px; height: 46px; border-radius: var(--radius);
  border: 1px solid var(--hdr-burger-bd);
  background: var(--hdr-burger-bg);
  color: var(--hdr-burger-fg);
  transition: all .2s;
}

/* mobile menu panel */
.nav-mobile {
  display: none;
  border-top: 1px solid var(--border); background: var(--white);
  padding: 12px 20px 20px; flex-direction: column; gap: 4px;
}
.site-header.is-open .nav-mobile { display: flex; }
.nav-mobile a { font-weight: 500; font-size: 17px; padding: 12px 8px; border-radius: var(--radius); color: var(--ink); }
.nav-mobile a[aria-current="page"] { font-weight: 600; color: var(--teal-900); }
.nav-mobile-cta { display: flex; flex-direction: column; gap: 10px; margin-top: 10px; }
.nav-mobile-cta a { text-align: center; padding: 14px; font-size: 16px; font-weight: 600; }
.nav-mobile-cta .m-book { background: var(--teal-600); color: var(--white); }
.nav-mobile-cta .m-call { border: 1px solid var(--teal-600); color: var(--teal-900); }

/* ---------- 4. Buttons --------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-weight: 600; font-size: 16px; padding: 12px 20px;
  border-radius: var(--radius); min-height: 44px; border: none;
  transition: background .18s, color .18s, border-color .18s;
}
.btn-primary { background: var(--teal-600); color: var(--white); box-shadow: 0 4px 14px rgba(40, 119, 114, .28); }
.btn-primary:hover { background: var(--teal-900); color: var(--white); }
.btn-outline { background: transparent; color: var(--teal-900); border: 1px solid var(--teal-600); }
.btn-outline:hover { background: var(--teal-050); color: var(--teal-900); }
.btn-light { background: var(--white); color: var(--teal-900); border: 1px solid var(--border); }
.btn-light:hover { background: var(--teal-050); color: var(--teal-900); }
.btn-yellow { background: var(--yellow); color: var(--teal-900); }
.btn-yellow:hover { background: #ffd93d; color: var(--teal-900); }
.btn-onhero { background: transparent; color: var(--white); border: none; gap: 11px; padding: 12px 8px; }
.btn-onhero:hover { background: transparent; color: var(--teal-300); }
.hero-play { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px;
  border-radius: 50%; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .28);
  color: var(--white); flex-shrink: 0; }
.btn-sm { font-size: 15px; padding: 13px 22px; gap: 8px; }
.btn-lg { padding: 15px 28px; }
.btn-primary.btn-lg { box-shadow: 0 10px 26px rgba(40, 119, 114, .28); }
.btn-hero { padding: 15px 26px; box-shadow: 0 10px 26px rgba(0, 0, 0, .28); }
.btn-block { width: 100%; }

/* ---------- 5. Hero / page banner ---------------------------------------- */
.hero, .banner {
  position: relative; overflow: hidden;
  background: var(--hero-dark) url('../uploads/backgound.webp') center / cover no-repeat;
}
.hero-veil, .banner-veil { position: absolute; inset: 0; pointer-events: none; }
.hero-veil {
  background: linear-gradient(90deg, rgba(6,32,44,.82) 0%, rgba(6,32,44,.55) 42%, rgba(6,32,44,.12) 70%, transparent 100%);
}
.banner-veil {
  background: linear-gradient(90deg, rgba(6,32,44,.90) 0%, rgba(6,32,44,.74) 52%, rgba(6,32,44,.42) 100%);
}
.hero-in, .banner-in {
  max-width: var(--wrap); margin: 0 auto; padding: 144px 24px 0;
  position: relative; min-height: 600px;
}
.hero-in { display: flex; flex-wrap: wrap; gap: 52px; align-items: flex-end; }

.crumb { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--foot-soft); margin-bottom: 18px; }
.crumb a { color: var(--foot-soft); }
.crumb a:hover { color: var(--yellow); }
.crumb .sep { color: var(--teal-300); }
.crumb .here { color: var(--yellow); font-weight: 600; }

.pill {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255, 255, 255, .10); color: var(--white);
  font-weight: 600; font-size: 14px; padding: 8px 14px;
  border-radius: 6px; border: 1px solid rgba(255, 255, 255, .18);
}
.pill .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--yellow); }

.banner h1, .hero h1 {
  font-weight: 800; font-size: clamp(36px, 5.6vw, 54px); line-height: 1.08;
  color: var(--white); margin: 20px 0 0; max-width: 760px; text-wrap: balance;
}
.hero h1 { font-size: clamp(38px, 6vw, 56px); line-height: 1.07; letter-spacing: -.03em; }
.accent { color: var(--teal-300); }
.banner p.lead, .hero p.lead {
  font-size: clamp(17px, 2.2vw, 18px); line-height: 1.65; color: var(--foot-soft);
  max-width: 600px; margin: 20px 0 0; text-wrap: pretty;
}

/* ---------- 6. Section headings ------------------------------------------ */
.eyebrow {
  display: inline-block; font-weight: 600; font-size: 14px;
  letter-spacing: .08em; text-transform: uppercase; color: var(--teal-600);
  margin-bottom: 10px;
}
.section-title {
  font-weight: 800; font-size: clamp(30px, 4.6vw, 40px); line-height: 1.15;
  letter-spacing: -.02em; color: var(--teal-900); margin: 0; text-wrap: balance;
}
/* CTA bands in the dc source use a slightly smaller clamp */
.section-title.sm { font-size: clamp(28px, 4.4vw, 38px); }
.section-lead {
  font-size: 17px; line-height: 1.7; color: var(--muted);
  margin: 16px 0 0; max-width: 640px; text-wrap: pretty;
}
.center { text-align: center; }
.center .section-lead { margin-left: auto; margin-right: auto; }

/* ---------- 7. Cards and grids ------------------------------------------- */
.grid { display: grid; gap: 24px; }
.grid-200 { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.grid-240 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.grid-260 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.grid-280 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid-300 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }

.card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 26px;
  transition: box-shadow .2s, transform .2s, border-color .2s;
}
.card-hover:hover { box-shadow: var(--shadow-card); transform: translateY(-3px); border-color: var(--teal-300); }
.card h3 { font-size: 19px; font-weight: 700; color: var(--teal-900); margin: 14px 0 8px; }
.card p { font-size: 15px; line-height: 1.65; color: var(--muted); margin: 0; }

.icon-badge {
  display: flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; border-radius: 10px;
  background: var(--teal-050); color: var(--teal-600);
}

.media-ph {
  display: flex; align-items: center; justify-content: center;
  background: repeating-linear-gradient(45deg, #eef5f4, #eef5f4 12px, #e6efee 12px, #e6efee 24px);
  color: var(--muted); font-family: ui-monospace, monospace; font-size: 13px;
}
.media-ph span { background: rgba(255, 255, 255, .85); padding: 8px 14px; border-radius: var(--radius); }

/* filter tabs (doctors, specialties, blog) */
.tabs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 36px; }
.tab {
  display: inline-flex; align-items: center; min-height: 40px;
  padding: 9px 18px; border-radius: 6px; font-weight: 600; font-size: 14px;
  background: var(--white); color: var(--muted); border: 1px solid var(--border);
  transition: all .15s;
}
.tab:hover { border-color: var(--teal-300); color: var(--teal-900); }
.tab.is-active { background: var(--teal-600); color: var(--white); border-color: var(--teal-600); }

/* ---------- 8. Forms ----------------------------------------------------- */
.field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 16px; }
.field > label { font-weight: 600; font-size: 14px; color: var(--ink); }
.input, .textarea, .select {
  width: 100%; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 12px 14px; font-size: 15px; color: var(--ink); background: var(--white);
}
.input:focus, .textarea:focus, .select:focus { border-color: var(--teal-600); outline: none; box-shadow: 0 0 0 3px rgba(40,119,114,.12); }
.textarea { resize: vertical; line-height: 1.6; }
.consent { display: flex; align-items: flex-start; gap: 10px; margin-top: 18px; font-size: 14px; line-height: 1.55; color: var(--muted); }
.consent input { margin-top: 3px; flex-shrink: 0; }
.form-note { font-size: 13px; color: var(--muted); margin: 14px 0 0; }
.form-ok {
  margin-top: 16px; display: flex; align-items: center; gap: 10px;
  background: #FFF8D9; border: 1px solid #f4e4a3; border-radius: var(--radius);
  padding: 14px 16px; color: var(--teal-900); font-size: 15px; font-weight: 500;
}
.form-ok svg { flex-shrink: 0; }
[hidden] { display: none !important; }

/* ---------- 9. Notices --------------------------------------------------- */
.notice {
  border-radius: 10px; padding: 18px 20px;
  display: flex; align-items: flex-start; gap: 12px;
}
.notice p { margin: 0; font-size: 14.5px; line-height: 1.6; }
.notice svg { flex-shrink: 0; margin-top: 1px; }
.notice-warn { background: #FFF8D9; border: 1px solid #f0e2ac; color: var(--muted); }
.notice-info { background: var(--teal-050); border: 1px solid #C9DDDA; color: var(--muted); }

/* ---------- 10. Footer --------------------------------------------------- */
.site-footer { background: var(--teal-900); color: var(--foot-txt); }
.footer-in { max-width: var(--wrap); margin: 0 auto; padding: 64px 24px 32px; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 40px; }
.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.footer-brand img { width: 44px; height: 44px; border-radius: var(--radius); object-fit: cover; }
.footer-brand span { font-weight: 800; font-size: 20px; color: var(--white); }
.footer-about { font-size: 15px; line-height: 1.65; color: var(--foot-mut); margin: 0 0 16px; max-width: 280px; }
.footer-phone { color: var(--yellow); font-weight: 600; font-size: 16px; }
.footer-phone:hover { color: var(--yellow); }
.site-footer h4 {
  font-weight: 600; font-size: 15px; color: var(--white);
  margin: 0 0 16px; text-transform: uppercase; letter-spacing: .06em;
}
.footer-list { display: flex; flex-direction: column; gap: 10px; font-size: 15px; }
.footer-list a, .footer-list span { color: var(--foot-txt); }
.footer-list a:hover { color: var(--white); }
.footer-contact { color: var(--foot-mut); }

.footer-emergency {
  margin-top: 40px; padding: 18px 20px;
  background: rgba(253, 202, 0, .12); border: 1px solid rgba(253, 202, 0, .35);
  border-radius: 10px; display: flex; align-items: flex-start; gap: 12px;
}
.footer-emergency p { margin: 0; font-size: 14px; line-height: 1.55; color: #f0e6bd; }
.footer-emergency svg { flex-shrink: 0; margin-top: 1px; }

.footer-strip {
  margin-top: 44px; padding-top: 36px; border-top: 1px solid rgba(255, 255, 255, .12);
  display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 28px;
}
.footer-strip-item { display: flex; align-items: flex-start; gap: 12px; }
.footer-strip-icon {
  display: flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; border-radius: var(--radius);
  background: rgba(255, 255, 255, .08); color: var(--teal-300); flex-shrink: 0;
}
.footer-strip-icon.is-emergency { background: rgba(253, 202, 0, .16); color: var(--yellow); }
.footer-strip-label { font-size: 13px; color: var(--foot-mut); margin-bottom: 3px; }
.footer-strip-value { font-weight: 600; font-size: 15px; color: var(--white); }
.footer-strip-value.is-phone { font-weight: 700; font-size: 17px; color: var(--yellow); }

.footer-bottom {
  margin-top: 32px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .12);
  display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between;
}
.footer-bottom > span { font-size: 14px; color: var(--foot-mut); }
.footer-legal { display: flex; flex-wrap: wrap; gap: 20px; font-size: 14px; }
.footer-legal a { color: var(--foot-mut); }
.footer-legal a:hover { color: var(--white); }

/* ---------- 11. WhatsApp float ------------------------------------------- */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 80;
  display: inline-flex; align-items: center; gap: 10px;
  background: #25D366; color: var(--white); font-weight: 600; font-size: 15px;
  padding: 12px 18px 12px 14px; border-radius: 6px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, .22);
  transition: background .18s;
}
.wa-float:hover { background: #1ebe5b; color: var(--white); }

/* ---------- 12. Article body (blog detail) ------------------------------- */
.article-body p { font-size: 17.5px; line-height: 1.8; color: var(--ink-2); margin: 0 0 22px; }
.article-body h2 { font-size: clamp(24px, 3.2vw, 30px); color: var(--teal-900); margin: 40px 0 14px; line-height: 1.25; }
.article-body h3 { font-family: var(--font); font-size: 20px; font-weight: 700; color: var(--teal-900); margin: 30px 0 10px; }
.article-body ul { margin: 0 0 22px; padding-left: 0; list-style: none; display: flex; flex-direction: column; gap: 12px; }
.article-body li { position: relative; padding-left: 32px; font-size: 17px; line-height: 1.7; color: var(--ink-2); }
.article-body li::before {
  content: ""; position: absolute; left: 0; top: 9px;
  width: 10px; height: 10px; border-radius: 3px; background: var(--yellow);
}
.article-body strong { color: var(--teal-900); }

/* ---------- 13. Bands, splits, timeline ---------------------------------- */
.band-light { background: var(--teal-050); }
.band-cream { background: #FFF8D9; }
.band-dark  { background: var(--teal-900); color: var(--white); }

.head-block { max-width: 640px; margin: 0 auto 48px; }
.eyebrow.on-dark { color: var(--yellow); }
.section-title.on-dark { color: var(--white); }
.band-dark .section-lead { color: var(--foot-txt); }

.split {
  padding: 88px 24px;
  display: flex; flex-wrap: wrap; gap: 56px; align-items: center;
}
.split-media { flex: 1 1 380px; min-width: 300px; position: relative; }
.split-body  { flex: 1 1 420px; min-width: 300px; }
.split-body .section-lead { max-width: 560px; }
.split-body .btn { margin-top: 4px; }

.photo-ph {
  border-radius: 12px; overflow: hidden; border: 1px solid var(--border);
  background: repeating-linear-gradient(135deg, var(--teal-050), var(--teal-050) 12px, #e0eeec 12px, #e0eeec 24px);
  display: flex; align-items: center; justify-content: center;
}
.photo-ph span {
  font-family: ui-monospace, monospace; font-size: 13px; color: var(--muted);
  background: rgba(255, 255, 255, .85); padding: 8px 14px; border-radius: var(--radius);
}
.photo-ph img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ratio-4x3 { aspect-ratio: 4 / 3; }
.ratio-3x4 { aspect-ratio: 3 / 4; align-items: flex-end; padding: 14px; }
.ratio-16x8 { aspect-ratio: 16 / 8; }
.split.gap-48 { gap: 48px; }
.team-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; flex: 1 1 360px; }
.team-pair .offset { margin-top: 28px; }

.stat-badge {
  position: absolute; right: 18px; bottom: -22px;
  background: var(--teal-900); color: var(--white);
  border-radius: 12px; padding: 18px 22px;
  box-shadow: 0 12px 30px rgba(18, 78, 74, .24);
}
.stat-badge-num { font-weight: 800; font-size: 24px; color: var(--yellow); line-height: 1; }
.stat-badge-txt { font-size: 13px; font-weight: 500; margin-top: 5px; }

.tick-list { list-style: none; margin: 0 0 30px; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.tick-list li { display: flex; align-items: center; gap: 14px; font-weight: 600; font-size: 17px; color: var(--ink); }
.tick {
  display: flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 9px;
  background: var(--teal-050); color: var(--teal-600); flex-shrink: 0;
}

.grid-250 { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.grid-320 { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }

.icon-badge.lg { width: 52px; height: 52px; border-radius: 12px; margin-bottom: 18px; }

.mv-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: 12px; padding: 36px; box-shadow: 0 10px 28px rgba(18, 78, 74, .06);
}
.mv-card h3 { font-family: var(--font-display); font-weight: 700; font-size: 23px; color: var(--teal-900); margin: 0 0 10px; }
.mv-card p { font-size: 16.5px; line-height: 1.7; color: var(--muted); margin: 0; }
.mv-icon {
  display: flex; align-items: center; justify-content: center;
  width: 54px; height: 54px; border-radius: 12px;
  background: var(--teal-050); color: var(--teal-600); margin-bottom: 20px;
}
.mv-card.is-dark { background: var(--teal-900); border-color: var(--teal-900); box-shadow: 0 10px 28px rgba(18, 78, 74, .16); }
.mv-card.is-dark h3 { color: var(--white); }
.mv-card.is-dark p { color: var(--foot-soft); }
.mv-card.is-dark .mv-icon { background: rgba(253, 202, 0, .16); color: var(--yellow); }

.value-card { border-radius: 12px; padding: 28px; box-shadow: 0 1px 3px rgba(18,78,74,.05), 0 10px 28px rgba(18,78,74,.05); }
.value-card h3 { font-weight: 600; font-size: 20px; margin: 0 0 8px; }
.value-card p { font-size: 15px; line-height: 1.6; }

.timeline { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.timeline li { display: flex; gap: 24px; }
.tl-rail { display: flex; flex-direction: column; align-items: center; flex-shrink: 0; }
.tl-dot {
  display: flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--teal-600); color: var(--white); font-weight: 700; font-size: 15px;
}
.tl-dot.is-last { background: var(--yellow); color: var(--teal-900); }
.tl-line { flex: 1; width: 2px; background: #e2d7a6; margin: 6px 0; }
.tl-body { padding-bottom: 36px; }
.tl-body.is-last { padding-bottom: 0; }
.tl-body h3 { font-weight: 700; font-size: 20px; color: var(--teal-900); margin: 4px 0 8px; }
.tl-body p { font-size: 16px; line-height: 1.7; color: var(--muted); margin: 0; max-width: 640px; }

.dark-card { background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); border-radius: 12px; padding: 28px; }
.dark-card h3 { font-weight: 600; font-size: 20px; color: var(--white); margin: 0 0 8px; }
.dark-card p { font-size: 15px; line-height: 1.6; color: var(--foot-txt); margin: 0; }
.dark-icon {
  display: flex; align-items: center; justify-content: center;
  width: 52px; height: 52px; border-radius: 12px;
  background: var(--yellow); color: var(--teal-900); margin-bottom: 18px;
}

.cta-row { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 30px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.link-cta { display: inline-flex; align-items: center; gap: 8px; color: var(--teal-600); font-weight: 600; font-size: 15px; padding: 13px 8px; min-height: 44px; }
.link-cta:hover { color: var(--teal-900); }

/* ---------- 14. Specialties ---------------------------------------------- */
.quick-nav-wrap { transform: translateY(-40px); margin-bottom: -16px; }
.quick-nav {
  background: var(--white); border: 1px solid var(--border); border-radius: 12px;
  box-shadow: 0 14px 40px rgba(18, 78, 74, .10); padding: 12px;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 6px;
}
.quick-nav a { display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: var(--radius); color: var(--ink); }
.quick-nav a:hover { background: var(--teal-050); }
.quick-label { font-weight: 600; font-size: 14.5px; color: var(--teal-900); line-height: 1.25; }

.icon-badge.sm { width: 40px; height: 40px; border-radius: 10px; flex-shrink: 0; }
.eyebrow.with-icon { display: inline-flex; align-items: center; gap: 10px; letter-spacing: .06em; font-size: 14px; }
.eyebrow.with-icon .icon-badge { width: 38px; height: 38px; }

.spec-list { padding-top: 80px; padding-bottom: 40px; display: flex; flex-direction: column; gap: 80px; }
.spec-row { display: flex; flex-wrap: wrap; gap: 48px; align-items: center; scroll-margin-top: 120px; }
.spec-row:nth-child(even) { flex-direction: row-reverse; }
.spec-media { flex: 1 1 380px; min-width: 300px; }
.spec-body { flex: 1 1 420px; min-width: 300px; }
.spec-body .section-title { font-size: clamp(26px, 3.6vw, 34px); line-height: 1.18; margin: 14px 0; }
.spec-body .section-lead { font-size: 17px; line-height: 1.75; max-width: none; margin: 0 0 22px; }

.tick-list.compact { gap: 12px; margin-bottom: 28px; }
.tick-list.compact li { gap: 12px; font-size: 16px; font-weight: 500; }
.tick.sm { width: 28px; height: 28px; border-radius: var(--radius); background: #FFF8D9; color: var(--teal-900); }

/* ---------- 14. Responsive ----------------------------------------------- */
@media (max-width: 1179px) {
  .topbar { display: none; }
  .nav-main, .header-actions { display: none; }
  .nav-toggle { display: inline-flex; }
  .hero-in, .banner-in { padding-top: 104px; min-height: 520px; }
  .hero-in { gap: 32px; }
  .section { padding-top: 64px; padding-bottom: 64px; }
  .section-80 { padding-top: 64px; padding-bottom: 64px; }
  .section-sm { padding-top: 56px; padding-bottom: 56px; }
  .split { padding: 64px 24px; gap: 40px; }
  .stat-badge { right: 12px; bottom: -18px; padding: 14px 18px; }
}

@media (max-width: 700px) {
  .hero-in, .banner-in { min-height: 440px; }
  .footer-in { padding: 48px 24px 28px; }
  .wa-float { right: 14px; bottom: 14px; font-size: 14px; padding: 11px 15px 11px 12px; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* ---------- 15. Homepage hero ------------------------------------------- */
.hero-copy { flex: 1 1 440px; min-width: 300px; }
.hero-copy .lead { max-width: 500px; margin-top: 22px; }
.hero-copy h1 { margin-top: 22px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; align-items: center; }
.hero-note { font-size: 14px; color: var(--foot-mut); margin: 18px 0 0; }
.hero-note a { color: var(--white); font-weight: 600; }
.hero-stats { display: flex; flex-wrap: wrap; gap: 20px 0; margin-top: 30px; padding-bottom: 56px; }
.hero-stats > div { padding: 0 28px; border-left: 1px solid rgba(255, 255, 255, .18); }
.hero-stats > div:first-child { padding-left: 0; border-left: none; }
.hero-stat-t { font-weight: 800; font-size: 19px; color: var(--white); }
.hero-stat-s { font-size: 13px; color: var(--foot-mut); margin-top: 2px; }
.hero-figure { flex: 1 1 380px; min-width: 300px; align-self: flex-end; display: flex; justify-content: center; }
.hero-figure img { width: auto; max-height: 620px; object-fit: contain; }

/* quick actions */
.quick-actions-wrap { transform: translateY(-56px); margin-bottom: -32px; }
.quick-actions { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 16px; max-width: 760px; margin-left: auto; }
.qa-card {
  display: flex; flex-direction: column; gap: 8px; padding: 20px;
  border-radius: var(--radius); background: var(--white);
  border: 1px solid var(--border); box-shadow: var(--shadow-soft);
  transition: transform .2s, box-shadow .2s;
}
.qa-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-card); }
.qa-title { font-weight: 600; font-size: 17px; color: var(--teal-900); }
.qa-text { font-size: 13px; line-height: 1.5; color: var(--muted); }
.qa-more { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 13px; color: var(--teal-600); margin-top: 2px; }
.qa-card.is-primary { background: var(--teal-600); border-color: var(--teal-600); }
.qa-card.is-primary .qa-title, .qa-card.is-primary .qa-more { color: var(--white); }
.qa-card.is-primary .qa-text { color: #d7ece9; }
.icon-badge.on-teal { background: rgba(255, 255, 255, .16); color: var(--white); }

/* ---------- 16. Shared layout bits --------------------------------------- */
.head-split { display: flex; flex-wrap: wrap; gap: 32px; align-items: flex-end; justify-content: space-between; margin-bottom: 44px; }
.head-split-side { flex: 1 1 340px; max-width: 520px; }
.head-split-side .section-lead { margin-top: 0; }
.link-cta.inline { padding: 0; min-height: 0; font-size: 15px; margin-top: 12px; }
.center-link { justify-content: center; text-align: center; }
.center-tabs { justify-content: center; }
.listing { padding-top: 56px; padding-bottom: 40px; }
.listing.tight { padding-top: 44px; }
.listing-note { text-align: center; font-size: 14px; color: var(--muted); margin: 36px 0 0; }
.optional { font-weight: 400; color: var(--muted); }
.icon-badge.md { width: 46px; height: 46px; border-radius: 12px; margin-bottom: 16px; }
.icon-badge.is-warm { background: #FFF8D9; color: var(--teal-900); }
.ph-label {
  font-family: ui-monospace, monospace; font-size: 12px; color: var(--muted);
  background: rgba(255, 255, 255, .85); padding: 6px 12px; border-radius: 6px;
}

/* ---------- 17. Doctor cards --------------------------------------------- */
.doc-card {
  background: var(--white); border: 1px solid var(--border); border-radius: 12px;
  overflow: hidden; box-shadow: 0 1px 3px rgba(18,78,74,.05), 0 10px 28px rgba(18,78,74,.05);
  display: flex; flex-direction: column;
}
.doc-photo, .post-photo, .featured-photo {
  position: relative; display: flex; align-items: center; justify-content: center;
  background: repeating-linear-gradient(135deg, var(--teal-050), var(--teal-050) 12px, #e0eeec 12px, #e0eeec 24px);
}
.doc-photo img, .post-photo img, .featured-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.doc-photo { aspect-ratio: 1 / 1; }
.doc-tag {
  position: absolute; top: 12px; left: 12px;
  font-weight: 600; font-size: 12px; color: var(--teal-900);
  background: var(--yellow); padding: 5px 11px; border-radius: 6px;
}
.doc-body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.doc-body h3 { font-weight: 700; font-size: 20px; color: var(--teal-900); margin: 0 0 4px; }
.doc-qual { font-size: 14px; color: var(--muted); margin: 0 0 4px; }
.doc-reg { font-size: 13px; color: var(--muted); margin: 0 0 14px; }
.doc-hours {
  display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--muted);
  margin-bottom: 18px; padding-top: 14px; border-top: 1px solid var(--teal-050);
}
.doc-actions { margin-top: auto; display: flex; flex-direction: column; gap: 10px; }

/* ---------- 18. Post cards ----------------------------------------------- */
.post-card {
  display: flex; flex-direction: column; border: 1px solid var(--border);
  border-radius: 12px; overflow: hidden; background: var(--white); color: var(--ink);
  box-shadow: 0 1px 3px rgba(18,78,74,.05), 0 10px 28px rgba(18,78,74,.05);
  transition: transform .2s, box-shadow .2s;
}
.post-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-card); color: var(--ink); }
.post-photo { aspect-ratio: 16 / 10; }
.post-body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.post-meta { font-size: 13px; color: var(--muted); margin-bottom: 8px; }
.post-body h3 { font-weight: 600; font-size: 19px; color: var(--teal-900); margin: 0 0 8px; line-height: 1.3; }
.post-body p { font-size: 15px; line-height: 1.6; color: var(--muted); margin: 0 0 14px; flex: 1; }
.post-byline { font-size: 12px; color: var(--muted); margin-bottom: 14px; padding-top: 12px; border-top: 1px solid var(--teal-050); }

.featured-wrap { padding-top: 56px; }
.featured {
  display: flex; flex-wrap: wrap; border: 1px solid var(--border); border-radius: var(--radius-lg);
  overflow: hidden; background: var(--white); color: var(--ink);
  box-shadow: 0 14px 40px rgba(18, 78, 74, .08); transition: box-shadow .2s;
}
.featured:hover { box-shadow: 0 20px 50px rgba(18, 78, 74, .14); color: var(--ink); }
.featured-photo { flex: 1 1 420px; min-width: 280px; min-height: 300px; }
.featured-body { flex: 1 1 420px; min-width: 280px; padding: 40px; display: flex; flex-direction: column; justify-content: center; }
.featured-body h2 { font-weight: 800; font-size: clamp(24px, 3.2vw, 30px); line-height: 1.2; color: var(--teal-900); margin: 0 0 14px; }
.featured-body p { font-size: 16.5px; line-height: 1.7; color: var(--muted); margin: 0 0 20px; }

/* newsletter */
.newsletter-form { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; max-width: 520px; margin: 28px auto 0; }
.newsletter-form input {
  flex: 1 1 260px; min-width: 220px; border: 1px solid rgba(255, 255, 255, .24);
  border-radius: var(--radius); padding: 14px 16px; font-size: 16px; min-height: 48px;
  background: rgba(255, 255, 255, .08); color: var(--white);
}
.newsletter-form input::placeholder { color: #9fbdb9; }
.newsletter-ok { font-size: 15px; color: var(--yellow); font-weight: 600; margin: 18px 0 0; }

/* ---------- 19. Diagnostics + patient ------------------------------------ */
.diag-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }
.diag-item { display: flex; gap: 14px; align-items: flex-start; background: var(--white); border: 1px solid var(--border); border-radius: 12px; padding: 20px; }
.diag-title { font-weight: 700; font-size: 16px; color: var(--teal-900); margin-bottom: 4px; }
.diag-text { font-size: 14px; line-height: 1.55; color: var(--muted); }
.patient-warn { margin-top: 32px; }
.testimonial-empty {
  display: flex; align-items: center; justify-content: center; gap: 14px;
  background: var(--teal-025); border: 1px dashed #C9DDDA; border-radius: 12px;
  padding: 40px 28px; text-align: center;
}
.testimonial-empty p { margin: 0; font-size: 16px; color: var(--muted); }

/* ---------- 20. Forms + contact ------------------------------------------ */
.form-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 32px; box-shadow: var(--shadow-card);
}
.form-grid { gap: 18px; margin-bottom: 4px; }
.appointment { display: flex; flex-wrap: wrap; gap: 48px; align-items: flex-start; }
.appointment-copy { flex: 1 1 380px; min-width: 300px; }
.appointment-form-col { flex: 1 1 420px; min-width: 300px; }
.contact-split { display: flex; flex-wrap: wrap; gap: 48px; align-items: flex-start; padding-top: 24px; }
.contact-form-col { flex: 1 1 420px; min-width: 300px; }
.contact-side { flex: 1 1 380px; min-width: 300px; display: flex; flex-direction: column; gap: 20px; }
.grid-230 { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }

.info-wrap { transform: translateY(-44px); margin-bottom: -20px; }
.info-card { background: var(--white); border: 1px solid var(--border); border-radius: 12px; padding: 24px; box-shadow: 0 12px 34px rgba(18, 78, 74, .10); }
.info-title { font-weight: 700; font-size: 16px; color: var(--teal-900); margin-bottom: 6px; }
.info-text { font-size: 15px; line-height: 1.7; color: var(--muted); }
.info-text a { font-weight: 600; }

.map-frame { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border); box-shadow: 0 12px 34px rgba(18, 78, 74, .08); }
.map-frame iframe { width: 100%; height: 320px; border: 0; display: block; }

.talk-card { background: var(--teal-900); color: var(--white); border-radius: var(--radius-lg); padding: 26px; }
.talk-card h3 { font-weight: 700; font-size: 19px; color: var(--white); margin: 0 0 14px; }
.talk-row { display: flex; align-items: center; gap: 12px; color: var(--white); margin-bottom: 14px; }
.talk-row:last-child { margin-bottom: 0; }
.talk-row:hover { color: var(--yellow); }
.talk-icon { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 10px; flex-shrink: 0; }
.talk-icon.is-yellow { background: rgba(253, 202, 0, .16); color: var(--yellow); }
.talk-icon.is-green { background: rgba(37, 211, 102, .18); color: #25D366; }
.talk-label { display: block; font-size: 13px; color: var(--foot-mut); }
.talk-value { font-weight: 700; font-size: 16px; }

.emergency-wrap { padding: 40px 24px; }
.emergency-note {
  display: flex; align-items: flex-start; gap: 14px; background: var(--white);
  border: 1px solid #f0e2ac; border-left: 4px solid var(--yellow);
  border-radius: 10px; padding: 22px 24px;
}
.emergency-note svg { flex-shrink: 0; margin-top: 1px; }
.emergency-note p { margin: 0; font-size: 15px; line-height: 1.6; color: var(--muted); }
.emergency-title { font-weight: 700; font-size: 16px; color: var(--teal-900); margin-bottom: 4px; }

.branch-list { display: flex; flex-direction: column; gap: 20px; }
.branch { display: flex; gap: 14px; align-items: flex-start; }
.branch .icon-badge { margin-bottom: 0; }
.branch-head { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 4px; }
.branch-name { font-weight: 700; font-size: 16px; color: var(--teal-900); }
.branch-tag { font-size: 12px; font-weight: 600; color: var(--teal-900); background: var(--yellow); padding: 3px 9px; border-radius: 20px; }
.branch-tag.is-soft { background: var(--teal-050); color: var(--teal-600); }
.branch-text { font-size: 15px; line-height: 1.7; color: var(--muted); }
.about-photo { border-radius: 12px; overflow: hidden; border: 1px solid var(--border); }
.about-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }

/* ---------- 21. Blog detail ---------------------------------------------- */
.article-banner .banner-in.narrow { max-width: 840px; }
.banner-veil.is-strong { background: linear-gradient(90deg, rgba(6,32,44,.92) 0%, rgba(6,32,44,.80) 60%, rgba(6,32,44,.55) 100%); }
.tag-chip {
  display: inline-block; font-weight: 600; font-size: 12px; letter-spacing: .04em;
  text-transform: uppercase; color: var(--teal-900); background: var(--yellow);
  padding: 6px 12px; border-radius: 6px;
}
.article-banner h1 { font-size: clamp(30px, 4.8vw, 46px); line-height: 1.12; margin: 18px 0 0; }
.article-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; margin-top: 24px; color: var(--foot-soft); font-size: 14.5px; }
.article-meta span { display: inline-flex; align-items: center; gap: 8px; }

.featured-img-wrap { transform: translateY(-40px); }
.featured-img-wrap .photo-ph { border-radius: var(--radius-lg); box-shadow: 0 18px 46px rgba(18, 78, 74, .14); }

.article-layout { display: flex; flex-wrap: wrap; gap: 48px; align-items: flex-start; padding-bottom: 72px; }
.article-layout .article-body { flex: 1 1 560px; min-width: 300px; max-width: 720px; }
.article-side { flex: 1 1 280px; min-width: 260px; position: sticky; top: 120px; display: flex; flex-direction: column; gap: 20px; }
.side-card { border: 1px solid var(--border); border-radius: 12px; padding: 24px; background: var(--white); box-shadow: var(--shadow-soft); }
.side-card h3 { font-weight: 700; font-size: 19px; color: var(--teal-900); margin: 0 0 8px; }
.side-card p { font-size: 15px; line-height: 1.65; color: var(--muted); margin: 0 0 16px; }
.side-card p:last-child { margin-bottom: 0; }
.reviewer { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.reviewer-avatar {
  width: 52px; height: 52px; border-radius: 50%; background: var(--teal-050);
  border: 1px solid var(--border); flex-shrink: 0;
  display: flex; align-items: center; justify-content: center; color: var(--teal-600);
}
.reviewer-name { font-weight: 700; font-size: 16px; color: var(--teal-900); }
.reviewer-role { font-size: 13px; color: var(--muted); margin-top: 2px; }

.callout { background: var(--teal-050); border-left: 4px solid var(--teal-600); border-radius: var(--radius); padding: 22px 24px; margin: 32px 0; }
.callout p { margin: 0; font-size: 17px; line-height: 1.7; color: var(--teal-900); font-weight: 500; }
.disclaimer { margin: 36px 0 0; }
.share-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 36px; padding-top: 28px; border-top: 1px solid var(--border); }
.share-label { font-weight: 600; font-size: 15px; color: var(--teal-900); }
.share-links { display: flex; gap: 10px; }
.share-links a {
  display: flex; align-items: center; justify-content: center; width: 40px; height: 40px;
  border-radius: var(--radius); border: 1px solid var(--border); color: var(--teal-600); background: var(--white);
}
.share-links a:hover { background: var(--teal-050); border-color: var(--teal-300); color: var(--teal-900); }

@media (max-width: 1179px) {
  .hero-figure { display: none; }
  .hero-stats { padding-bottom: 40px; }
  .quick-actions-wrap { transform: translateY(-32px); margin-bottom: -16px; }
  .quick-actions { margin-left: 0; max-width: none; }
  .article-side { position: static; }
  .featured-body { padding: 28px; }
}
.newsletter .section-lead { margin-left: auto; margin-right: auto; }

/* ---------- 22. Homepage-specific variants -------------------------------
   The homepage uses different card metrics from the inner pages. These values
   are transcribed from NMC Homepage.dc.html, not shared with About/Doctors. */

/* section backgrounds and padding, exactly as the dc source sets them */
.band-cream-home { background: #FFF8D9; }
.home-pad-80  { padding-top: 80px; padding-bottom: 80px; }
.home-pad-88  { padding-top: 88px; padding-bottom: 88px; }
.home-pad-svc { padding-top: 72px; padding-bottom: 88px; }
.home-pad-top24 { padding-top: 24px; padding-bottom: 88px; }

/* service cards: icon 56/10, h3 21px/600, body 16px */
.svc-card .icon-badge { width: 56px; height: 56px; border-radius: 10px; margin-bottom: 18px; }
.svc-card h3 { font-weight: 600; font-size: 21px; color: var(--teal-900); margin: 0 0 8px; }
.svc-card p  { font-size: 16px; line-height: 1.6; color: var(--muted); margin: 0 0 18px; flex: 1; }
.svc-card { display: flex; flex-direction: column; border-radius: var(--radius); }

/* homepage doctor card: 8px radius, specialty chip in the body, no photo overlay */
.doc-card.is-home { border-radius: var(--radius); }
.doc-card.is-home .doc-photo { aspect-ratio: 1 / 1; }
.doc-chip {
  align-self: flex-start; font-weight: 600; font-size: 12px; letter-spacing: .04em;
  text-transform: uppercase; color: var(--teal-600); background: var(--teal-050);
  padding: 4px 10px; border-radius: 6px; margin-bottom: 12px;
}
.doc-card.is-home .doc-reg { margin-bottom: 12px; }
.doc-card.is-home .doc-hours { padding-top: 0; border-top: none; margin-bottom: 18px; }
.doc-view {
  text-align: center; border: 1px solid var(--teal-600); color: var(--teal-900);
  font-weight: 600; font-size: 15px; padding: 11px; border-radius: 10px;
  min-height: 44px; display: flex; align-items: center; justify-content: center;
}
.doc-view:hover { background: var(--teal-050); color: var(--teal-900); }
.doc-book { text-align: center; color: var(--teal-600); font-weight: 600; font-size: 15px; }
/* Doctors.dc.html uses a filled View Profile; the homepage uses the outlined .doc-view */
.doc-view-solid {
  text-align: center; background: var(--teal-600); color: var(--white);
  font-weight: 600; font-size: 15px; padding: 12px; border-radius: var(--radius);
  min-height: 44px; display: flex; align-items: center; justify-content: center;
}
.doc-view-solid:hover { background: var(--teal-900); color: var(--white); }

/* appointment card uses an 8px radius on the homepage (contact.html keeps 16px) */
.form-card.is-home { border-radius: var(--radius); }

/* "not sure which department" helper block */
.dept-help { display: flex; align-items: flex-start; gap: 12px; margin-top: 24px; }
.dept-help-title { font-weight: 600; font-size: 16px; color: var(--teal-900); }
.dept-help-text { font-size: 15px; color: var(--muted); margin-top: 2px; }

/* trailing note beside a section CTA */
.section-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px; margin-top: 36px; }
.section-foot .note { font-size: 14px; color: var(--muted); }
.split.pad-about { padding: 24px 24px 88px; }
.split.pad-diag  { padding: 80px 24px; }
.testimonial-box {
  max-width: 760px; margin: 0 auto; background: var(--white);
  border: 1px dashed #e2d7a6; border-radius: 12px; padding: 40px 32px; text-align: center;
}
.testimonial-box svg { margin: 0 auto 18px; }
.testimonial-box p { font-size: 17px; line-height: 1.6; color: var(--muted); margin: 0; }
.section-foot { justify-content: flex-start; gap: 18px; margin-top: 32px; }
.section-foot .note { font-size: 13px; }
.testi-title { font-size: clamp(28px, 4.2vw, 36px); line-height: 1.2; }
/* two remaining heading clamps transcribed from the dc sources */
.section-title.nl      { font-size: clamp(26px, 4vw, 36px); }   /* Blog.dc.html newsletter */
.section-title.contact { font-size: clamp(28px, 4.2vw, 38px); } /* Contact.dc.html form heading */
/* Doctors.dc.html and Blog.dc.html use a slightly larger tab than the homepage */
.tab.lg { min-height: 42px; padding: 10px 20px; border-radius: var(--radius); }

/* ---------- 23. Gap + track utilities ------------------------------------
   Each value is transcribed from the matching grid in the .dc.html sources.
   Declared last so they win over the .grid default. */
.gap-16 { gap: 16px; }
.gap-18 { gap: 18px; }
.gap-20 { gap: 20px; }
.gap-22 { gap: 22px; }
.gap-24 { gap: 24px; }
/* listing grids use auto-fill so one filtered result keeps its card width */
.fill-280 { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.fill-300 { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
