
/* ════════════════════════════════════════
   DESIGN TOKENS — Navy & Gold / Lancet
════════════════════════════════════════ */
:root {
  /* Navy scale — kept for hero/nav, lightened for card surfaces */
  --ink:        #2a4a6e;
  --navy-deep:  #1e3a5f;
  --navy-mid:   #ffffff;
  --navy-light: #eef2f7;
  --navy-card:  #ffffff;
  --navy-card2: #f4f7fb;

  /* Gold scale — slightly deeper for light backgrounds */
  --gold:       #e0a820;
  --gold-bright:#ffd740;
  --gold-pale:  #fae18a;
  --gold-dim:   #9a7a12;
  --gold-ghost: rgba(196,148,32,0.10);
  --gold-rule:  rgba(212,167,42,0.35);
  --gold-rule2: rgba(212,167,42,0.55);

  /* Text — dark for card areas, light for hero/nav */
  --text-white:  #1a2f4a;
  --text-warm:   #2d4a6a;
  --text-mid:    #5a7a9a;
  --text-dim:    #8aaccc;
  --text-ghost:  rgba(26,47,74,0.25);

  /* Utility */
  --radius:  6px;
  --radius-lg: 14px;
  --shadow-card: 0 2px 12px rgba(26,47,74,0.08), 0 0 0 1px rgba(180,130,20,0.10);
  --shadow-hover: 0 8px 32px rgba(26,47,74,0.14), 0 0 0 1px rgba(180,130,20,0.25);
}

/* ────────────────────────────────────── RESET */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'DM Sans', sans-serif;
  background: #eef2f7;
  color: #1a2f4a;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button { cursor: pointer; font-family: inherit; border: none; outline: none; background: none; }
select { font-family: inherit; }

/* ────────────────────────────────────── PAPER TEXTURE */
body::after {
  content: '';
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23g)' opacity='0.028'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}

/* ────────────────────────────────────── JOURNAL BAND */
.j-band {
  position: relative; z-index: 10;
  background: var(--gold);
  color: var(--ink);
  text-align: center;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.67rem; font-weight: 600;
  letter-spacing: 0.2em; text-transform: uppercase;
  padding: 7px 20px;
}

/* ────────────────────────────────────── MASTHEAD */
.masthead {
  position: sticky; top: 0; z-index: 100;
  background: rgba(24,48,78,0.96);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--gold-rule2);
}
/* Double rule effect like Lancet */
.masthead::after {
  content: '';
  position: absolute; bottom: -4px; left: 0; right: 0; height: 1px;
  background: var(--gold-rule);
  pointer-events: none;
}
.mast-inner {
  max-width: 1420px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 40px; height: 74px; gap: 20px;
}

/* ── LOGO ── */
.logo-wrap {
  display: flex; align-items: center; gap: 14px; flex-shrink: 0;
}
/* SVG Mark */
.logo-mark { width: 46px; height: 46px; }

.logo-text-block { display: flex; flex-direction: column; gap: 2px; }
.logo-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.45rem; font-weight: 700;
  color: var(--gold-bright);
  letter-spacing: -0.01em; line-height: 1;
}
.logo-name em { font-style: italic; color: var(--gold-bright); }
.logo-rule {
  height: 1px;
  background: linear-gradient(90deg, var(--gold) 0%, transparent 100%);
  margin: 1px 0;
}
.logo-sub {
  font-size: 0.58rem; font-weight: 500;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--gold);
}

/* masthead right */
.mast-right {
  display: flex; align-items: center; gap: 24px;
}
.mast-meta {
  display: flex; gap: 20px; align-items: center;
  font-size: 0.78rem; color: var(--text-mid);
}
.mast-meta strong { color: var(--gold-bright); font-weight: 600; }
.mast-sep { width: 1px; height: 18px; background: var(--gold-rule); }
@media (max-width: 680px) { .mast-meta { display: none; } }

/* ────────────────────────────────────── HERO */
.hero {
  position: relative; z-index: 1;
  padding: 65px 40px 55px;
  text-align: center;
  overflow: hidden;
}
/* Multi-layer atmospheric bg */
.hero-bg {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 100% 75% at 50% -5%, rgba(201,162,39,0.16) 0%, transparent 60%),
    radial-gradient(ellipse 70% 50% at 10% 95%, rgba(24,48,78,0.7) 0%, transparent 55%),
    radial-gradient(ellipse 70% 50% at 90% 90%, rgba(24,48,78,0.4) 0%, transparent 55%),
    linear-gradient(180deg, #1e3a5f 0%, #2a4a6e 100%);
}
/* Top gold rule */
.hero-rule {
  position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--gold) 25%, var(--gold-bright) 50%, var(--gold) 75%, transparent 100%);
}
/* Bottom rule */
.hero-rule-bot {
  position: absolute; bottom: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-rule), transparent);
}

.hero-inner { position: relative; z-index: 1; }

/* Kicker pill */
.kicker {
  display: inline-flex; align-items: center; gap: 9px;
  border: 1px solid rgba(201,162,39,0.4);
  border-radius: 2px;
  padding: 5px 18px;
  font-size: 0.64rem; font-weight: 600;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--gold-bright);
  margin-bottom: 23px;
  background: rgba(201,162,39,0.06);
}
.kicker-pulse {
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--gold-bright);
  animation: pulse 2.2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.25; transform: scale(0.6); }
}

/* Title */
.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4.8vw, 3.7rem);
  font-weight: 700; line-height: 1.06;
  color: #ffffff;
  letter-spacing: -0.025em;
  margin-bottom: 17px;
}
.hero-title em { font-style: italic; color: var(--gold-bright); }

/* Deck text — Lancet-style explanatory paragraph */
.hero-deck {
  font-family: 'Source Serif 4', serif;
  font-size: 1.0rem; font-weight: 300;
  font-style: italic;
  color: #c8dff0;
  max-width: 590px; margin: 0 auto 36px;
  line-height: 1.75;
}

/* Stats shelf */
.stats-shelf {
  display: inline-flex; flex-wrap: wrap;
  border: 1px solid var(--gold-rule2);
  border-radius: var(--radius);
  overflow: hidden; margin-bottom: 41px;
  background: rgba(24,48,78,0.55);
  box-shadow: 0 4px 30px rgba(0,0,0,0.35);
}
.s-stat {
  padding: 14px 34px;
  border-right: 1px solid var(--gold-rule);
  text-align: center;
  position: relative;
}
.s-stat:last-child { border-right: none; }
.s-stat::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.s-n {
  font-family: 'Playfair Display', serif;
  font-size: 2.15rem; font-weight: 700;
  color: var(--gold-bright); line-height: 1;
  margin-bottom: 5px;
}
.s-l {
  font-size: 0.62rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.14em;
  color: #9ab8d0;
}
@media (max-width: 580px) {
  .s-stat { padding: 16px 24px; }
  .s-n { font-size: 2rem; }
}

/* Search */
.search-wrap { max-width: 720px; margin: 0 auto; }
.search-field {
  display: flex; align-items: center;
  background: rgba(255,255,255,0.12);
  border: 1px solid var(--gold-rule2);
  border-radius: var(--radius);
  padding: 5px 5px 5px 22px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.4);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.search-field:focus-within {
  border-color: var(--gold-bright);
  box-shadow: 0 0 0 3px rgba(201,162,39,0.18), 0 4px 28px rgba(0,0,0,0.3);
}
.search-ico { color: #9ab8d0; flex-shrink: 0; margin-right: 12px; }
#searchInput {
  flex: 1; background: transparent; border: none; outline: none;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.97rem; color: #ffffff;
}
#searchInput::placeholder { color: #7a9ab8; }
.search-go {
  background: linear-gradient(135deg, var(--gold-bright) 0%, var(--gold-dim) 100%);
  color: var(--ink);
  border-radius: var(--radius);
  padding: 10px 28px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.87rem; font-weight: 700;
  letter-spacing: 0.06em;
  flex-shrink: 0;
  transition: opacity 0.15s, transform 0.1s;
  box-shadow: 0 2px 10px rgba(201,162,39,0.25);
}
.search-go:hover { opacity: 0.86; transform: scale(0.98); }

/* ────────────────────────────────────── DIRECTORY */
.directory {
  position: relative; z-index: 1;
  max-width: 1420px; margin: 0 auto;
  padding: 56px 40px 100px;
}
@media (max-width: 600px) { .directory { padding: 36px 16px 80px; } }

/* Section header — journal-style ruled heading */
.sec-head {
  display: flex; align-items: center; gap: 18px;
  margin-bottom: 30px; padding-bottom: 18px;
  border-bottom: 2px solid var(--gold-rule2);
  position: relative;
}
.sec-head::after {
  content: '';
  position: absolute; bottom: -5px; left: 0; right: 0; height: 1px;
  background: var(--gold-rule);
}
.sec-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem; font-weight: 700; font-style: italic;
  color: #1e3a5f;
  white-space: nowrap;
}
.sec-badge {
  font-size: 0.67rem; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--gold);
  border: 1px solid var(--gold-rule2);
  border-radius: 2px;
  padding: 3px 11px;
  white-space: nowrap;
}
.sec-rule { flex: 1; height: 1px; background: var(--gold-rule); }

/* ── Filter bar ── */
.filter-bar {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px;
  margin-bottom: 14px;
}
.f-label {
  font-size: 0.65rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.14em;
  color: #5a7a9a;
  white-space: nowrap;
}
.f-sel {
  background: #ffffff;
  border: 1px solid #c8d8e8;
  border-radius: var(--radius);
  color: #2d4a6a;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.83rem; font-weight: 400;
  padding: 7px 32px 7px 13px;
  outline: none; cursor: pointer;
  appearance: none; -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%235a7a9a' d='M6 8.5L1 3.5h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 11px center;
  transition: border-color 0.18s, color 0.18s;
}
.f-sel:hover, .f-sel:focus { border-color: #c49420; color: #1e3a5f; }
.f-sel option { background: #ffffff; color: #1a2f4a; }

/* ── Condition chips ── */
.chips {
  display: flex; flex-wrap: wrap; gap: 6px; align-items: center;
  margin-bottom: 24px;
}
.chip {
  padding: 5px 14px;
  border: 1px solid #c8d8e8;
  border-radius: 2px;
  font-size: 0.75rem; font-weight: 400;
  color: #5a7a9a;
  cursor: pointer;
  transition: all 0.16s;
}
.chip:hover { border-color: #c49420; color: #8a6010; background: rgba(196,148,32,0.08); }
.chip.active {
  border-color: #c49420;
  color: #8a6010;
  background: rgba(196,148,32,0.10);
  font-weight: 600;
}
.chip-clear {
  padding: 5px 14px;
  border: 1px solid rgba(196,148,32,0.4);
  border-radius: 2px;
  font-size: 0.75rem; font-weight: 600;
  color: #b8861e;
  cursor: pointer;
  display: none;
  transition: all 0.16s;
}
.chip-clear:hover { background: rgba(196,148,32,0.08); }
.chip-clear.vis { display: inline-flex; align-items: center; gap: 4px; }

/* ── Results bar ── */
.results-bar {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 10px;
  margin-bottom: 22px; padding-bottom: 14px;
  border-bottom: 1px solid var(--gold-rule);
}
.res-count { font-size: 0.84rem; color: #5a7a9a; }
.res-count strong { color: #1e3a5f; font-weight: 600; }
.view-btns { display: flex; gap: 5px; }
.vbtn {
  width: 34px; height: 34px;
  background: #ffffff;
  border: 1px solid #c8d8e8;
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  color: #8aaccc; cursor: pointer;
  transition: all 0.16s;
}
.vbtn.on { background: rgba(196,148,32,0.10); border-color: #c49420; color: #8a6010; }

/* ────────────────────────────────────── GRID */
#grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 18px;
}
#grid.list { grid-template-columns: 1fr; }
@media (max-width: 400px) { #grid { grid-template-columns: 1fr; } }

/* ── Card ── */
.card {
  background: #ffffff;
  border: 1px solid #c8d8e8;
  border-left: 3px solid #c49420;
  border-radius: 10px;
  padding: 22px 24px 20px;
  cursor: pointer;
  position: relative; overflow: hidden;
  transition: transform 0.22s cubic-bezier(.2,.8,.4,1), border-color 0.2s, box-shadow 0.2s;
  box-shadow: 0 2px 10px rgba(26,47,74,0.07);
}
/* subtle top shimmer on hover */
.card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent 0%, #c49420 30%, #d4a72a 50%, #c49420 70%, transparent 100%);
  opacity: 0;
  transition: opacity 0.2s;
}
.card::after {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 90% 60% at 50% 0%, rgba(196,148,32,0.04), transparent 65%);
  opacity: 0; transition: opacity 0.2s; pointer-events: none;
}
.card:hover {
  transform: translateY(-3px);
  border-color: #c49420;
  border-left-color: #c49420;
  box-shadow: 0 8px 28px rgba(26,47,74,0.13), 0 0 0 1px rgba(180,130,20,0.22);
}
.card:hover::before { opacity: 1; }
.card:hover::after  { opacity: 1; }

/* Card head */
.card-hd {
  display: flex; align-items: flex-start;
  justify-content: space-between; gap: 12px;
  margin-bottom: 14px;
}
.card-icon {
  width: 40px; height: 40px; border-radius: 8px; flex-shrink: 0;
  background: rgba(201,162,39,0.1);
  border: 1px solid rgba(201,162,39,0.2);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.05rem;
}
.card-title-wrap { flex: 1; min-width: 0; }
.card-name {
  font-family: 'Playfair Display', serif;
  font-size: 1rem; font-weight: 700; line-height: 1.28;
  color: #1e3a5f;
  margin-bottom: 5px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.card-loc {
  font-size: 0.73rem; color: #5a7a9a;
  display: flex; align-items: center; gap: 4px;
}
.card-loc svg { opacity: 0.6; flex-shrink: 0; }
.card-link {
  background: rgba(201,162,39,0.1);
  border: 1px solid rgba(201,162,39,0.25);
  border-radius: var(--radius);
  padding: 4px 10px;
  font-size: 0.67rem; font-weight: 700; letter-spacing: 0.05em;
  color: var(--gold-bright); flex-shrink: 0;
  transition: all 0.16s;
}
.card-link:hover { background: rgba(201,162,39,0.18); border-color: var(--gold); }

/* Card fields */
.card-field { margin-bottom: 10px; }
.cf-lbl {
  font-size: 0.6rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.13em;
  color: #8aaccc; margin-bottom: 3px;
}
.cf-val {
  font-size: 0.82rem; color: #2d4a6a; line-height: 1.45;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}

/* Condition tags */
.c-tags { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 4px; }
.ctag {
  padding: 2px 8px; border-radius: 2px;
  font-size: 0.66rem; font-weight: 600;
  background: #eef4fb;
  border: 1px solid #c8d8e8;
  color: #1a4a7a;
}

/* Card footer */
.card-ft {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: 16px; padding-top: 12px;
  border-top: 1px solid #e4eef6;
  gap: 8px; flex-wrap: wrap;
}
.card-phone {
  font-size: 0.74rem; color: #8aaccc;
  display: flex; align-items: center; gap: 5px;
}
.detail-btn {
  border: 1px solid #c8d8e8;
  border-radius: var(--radius);
  padding: 5px 14px;
  font-size: 0.74rem; font-weight: 700; letter-spacing: 0.04em;
  color: #1a2f4a;
  transition: all 0.16s;
}
.detail-btn:hover { background: #eef2f7; border-color: #c49420; color: #8a6010; }

/* List-view overrides */
#grid.list .card {
  display: grid;
  grid-template-columns: 2.5fr 2fr 2fr auto;
  align-items: start; gap: 20px;
  padding: 15px 22px;
}
#grid.list .card-ft {
  flex-direction: column; align-items: flex-end;
  margin-top: 0; padding-top: 0; border-top: none;
}
@media (max-width: 820px) { #grid.list .card { grid-template-columns: 1fr; } }

/* ────────────────────────────────────── EMPTY */
#empty {
  display: none; text-align: center; padding: 90px 24px;
  color: #5a7a9a;
}
#empty .e-icon { font-size: 2.8rem; margin-bottom: 16px; opacity: 0.35; }
#empty h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.7rem; color: #1e3a5f; margin-bottom: 8px;
}

/* ────────────────────────────────────── PAGINATION */
.pager {
  display: flex; justify-content: center; align-items: center;
  gap: 5px; margin-top: 58px; flex-wrap: wrap;
}
.pg {
  min-width: 40px; height: 40px; padding: 0 12px;
  background: #ffffff;
  border: 1px solid #c8d8e8;
  border-radius: var(--radius);
  color: #5a7a9a; font-size: 0.86rem;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: all 0.16s;
}
.pg:hover { border-color: #c49420; color: #8a6010; }
.pg.on { background: rgba(196,148,32,0.10); border-color: #c49420; color: #7a5010; font-weight: 700; }
.pg[disabled] { opacity: 0.35; cursor: default; pointer-events: none; }
.pg-sep { color: #8aaccc; padding: 0 2px; height: 40px; display: flex; align-items: center; }

/* ────────────────────────────────────── MODAL */
.veil {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(24,48,78,0.65);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: none; align-items: center; justify-content: center;
  padding: 24px;
}
.veil.open { display: flex; }
.modal {
  background: #ffffff;
  border: 1px solid #c8d8e8;
  border-radius: var(--radius-lg);
  width: 100%; max-width: 700px; max-height: 90vh;
  overflow-y: auto; position: relative;
  animation: mIn 0.2s cubic-bezier(.2,.8,.4,1);
  box-shadow: 0 16px 60px rgba(10,20,40,0.25), 0 0 0 1px rgba(180,130,20,0.10);
}
@keyframes mIn {
  from { opacity: 0; transform: scale(0.95) translateY(16px); }
  to   { opacity: 1; transform: none; }
}
/* Triple rule at top like the Lancet */
.modal-cap {
  height: 4px;
  background: linear-gradient(90deg, var(--gold-dim) 0%, var(--gold-bright) 40%, var(--gold-pale) 60%, var(--gold-bright) 80%, var(--gold-dim) 100%);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}
.modal-head {
  padding: 26px 28px 20px;
  border-bottom: 1px solid #dce8f0;
  position: sticky; top: 0; background: #ffffff; z-index: 2;
}
/* Second hairline under header */
.modal-head::after {
  content: '';
  position: absolute; bottom: -4px; left: 0; right: 0; height: 1px;
  background: #eef4f9;
}
.modal-close {
  position: absolute; top: 18px; right: 18px;
  width: 30px; height: 30px;
  background: #f4f7fb;
  border: 1px solid #c8d8e8;
  border-radius: var(--radius);
  color: #8aaccc; font-size: 0.9rem;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: all 0.16s;
}
.modal-close:hover { background: #eef2f7; border-color: #c49420; color: #8a6010; }
.m-clinic-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.9rem; font-weight: 700;
  color: #1e3a5f; line-height: 1.2;
  padding-right: 36px; margin-bottom: 8px;
}
.m-loc { font-size: 0.84rem; color: #5a7a9a; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }

.modal-body { padding: 24px 28px 32px; }
.m-sec { margin-bottom: 22px; }
.m-sec-hd {
  font-size: 0.62rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.17em;
  color: #b8861e;
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 10px;
}
.m-sec-hd::after { content: ''; flex: 1; height: 1px; background: #dce8f0; }
.m-text { font-size: 0.9rem; color: #2d4a6a; line-height: 1.68; }
.m-pills { display: flex; flex-wrap: wrap; gap: 6px; }
.m-pill {
  padding: 4px 12px; border-radius: 2px;
  font-size: 0.74rem; font-weight: 600;
  background: #eef4fb;
  border: 1px solid #c8d8e8;
  color: #1a4a7a;
}
.m-contacts { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 500px) { .m-contacts { grid-template-columns: 1fr; } }
.m-contact {
  background: #f4f7fb;
  border: 1px solid #dce8f0;
  border-radius: 8px; padding: 14px 16px;
}
.m-c-lbl {
  font-size: 0.61rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.13em;
  color: #8aaccc; margin-bottom: 4px;
}
.m-c-val { font-size: 0.87rem; color: #1e3a5f; word-break: break-word; }
.m-c-val a { color: #b8861e; transition: color 0.15s; }
.m-c-val a:hover { color: #8a6010; text-decoration: underline; }
.m-cta {
  display: block; width: 100%; margin-top: 22px;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dim) 100%);
  color: var(--ink);
  border-radius: 8px; padding: 14px;
  text-align: center;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.93rem; font-weight: 700;
  letter-spacing: 0.05em;
  transition: opacity 0.15s, transform 0.1s;
  box-shadow: 0 4px 20px rgba(201,162,39,0.25);
}
.m-cta:hover { opacity: 0.87; transform: scale(0.99); }

/* ────────────────────────────────────── FOOTER */
footer {
  position: relative; z-index: 1;
  border-top: 2px solid rgba(212,167,42,0.45);
  background: #1e3a5f;
  padding: 52px 40px;
}
/* Journal double-rule below border */
footer::after {
  content: '';
  position: absolute; top: 3px; left: 0; right: 0; height: 1px;
  background: rgba(212,167,42,0.28);
}
.footer-inner {
  max-width: 1420px; margin: 0 auto;
  display: flex; flex-direction: column; align-items: center;
  gap: 18px; text-align: center;
}
.footer-logo { display: flex; align-items: center; gap: 13px; }
.footer-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem; font-weight: 700;
  color: #ffffff;
}
.footer-title em { font-style: italic; color: var(--gold-bright); }
.footer-edition {
  font-size: 0.62rem; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: #c49420;
}
.footer-ornament {
  display: flex; align-items: center; gap: 14px;
  color: #c49420;
}
.footer-ornament::before,
.footer-ornament::after {
  content: '';
  display: block; width: 60px; height: 1px;
  background: linear-gradient(90deg, transparent, #c49420);
}
.footer-ornament::after { transform: scaleX(-1); }
.footer-disc {
  font-size: 0.72rem; color: #8aaccc;
  max-width: 700px; line-height: 1.7;
}
.footer-disc strong { color: #b8d0e8; }

/* ────────────────────────────────────── FAQ NAV LINK */
.faq-nav-link {
  display: inline-flex; align-items: center;
  margin-left: 18px;
  padding: 10px 28px;
  border: 2px solid var(--gold-bright);
  border-radius: var(--radius);
  font-family: 'DM Sans', sans-serif;
  font-size: 1rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: #fff;
  background: linear-gradient(135deg, var(--gold-bright) 0%, var(--gold) 100%);
  transition: all 0.18s;
  flex-shrink: 0;
  box-shadow: 0 2px 12px rgba(201,162,39,0.35);
}
.faq-nav-link:hover {
  background: linear-gradient(135deg, #ffe066 0%, var(--gold-bright) 100%);
  border-color: #ffe066;
  color: #1a2f4a;
  box-shadow: 0 4px 20px rgba(201,162,39,0.5);
  transform: scale(1.05);
}

/* ────────────────────────────────────── FEATURED PROVIDERS */
.featured-section {
  position: relative; z-index: 1;
  max-width: 1420px; margin: 0 auto;
  padding: 48px 40px 10px;
}
.featured-head {
  display: flex; align-items: center; gap: 18px;
  margin-bottom: 28px; padding-bottom: 16px;
  border-bottom: 2px solid var(--gold-rule2);
  position: relative;
}
.featured-head::after {
  content: '';
  position: absolute; bottom: -5px; left: 0; right: 0; height: 1px;
  background: var(--gold-rule);
}
.featured-tag {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem; font-weight: 700; font-style: italic;
  color: #1e3a5f;
  white-space: nowrap;
}
.featured-badge {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 0.7rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: #fff;
  background: linear-gradient(135deg, var(--gold-bright), var(--gold));
  border-radius: 3px;
  padding: 4px 14px;
  box-shadow: 0 2px 8px rgba(201,162,39,0.3);
}
.featured-rule { flex: 1; height: 1px; background: var(--gold-rule); }

.featured-card {
  display: flex; align-items: stretch; gap: 0;
  background: #ffffff;
  border: 2px solid var(--gold);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 6px 36px rgba(26,47,74,0.12), 0 0 0 1px rgba(201,162,39,0.15);
  margin-bottom: 24px;
  transition: transform 0.22s, box-shadow 0.22s;
  position: relative;
}
.featured-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, transparent, var(--gold-bright), var(--gold), var(--gold-bright), transparent);
}
.featured-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 48px rgba(26,47,74,0.16), 0 0 0 2px rgba(201,162,39,0.3);
}

.fc-logo-col {
  flex: 0 0 200px;
  display: flex; align-items: center; justify-content: center;
  padding: 28px 24px;
  background: #f8fafb;
  border-right: 1px solid #e4eef6;
}
.fc-logo-col img {
  max-width: 160px; max-height: 90px;
  object-fit: contain;
}

.fc-body {
  flex: 1; display: flex; flex-direction: column;
  padding: 24px 28px;
  min-width: 0;
}
.fc-top {
  display: flex; align-items: flex-start; justify-content: space-between;
  gap: 16px; margin-bottom: 14px;
}
.fc-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.35rem; font-weight: 700;
  color: #1e3a5f; line-height: 1.25;
}
.fc-loc {
  font-size: 0.82rem; color: #5a7a9a;
  display: flex; align-items: center; gap: 5px;
  margin-top: 4px;
}
.fc-loc svg { opacity: 0.6; }
.fc-visit {
  flex-shrink: 0;
  background: linear-gradient(135deg, var(--gold-bright), var(--gold));
  color: #1e3a5f;
  border-radius: 6px;
  padding: 8px 20px;
  font-size: 0.82rem; font-weight: 700;
  letter-spacing: 0.05em;
  transition: opacity 0.15s, transform 0.1s;
  box-shadow: 0 2px 10px rgba(201,162,39,0.25);
  text-decoration: none;
}
.fc-visit:hover { opacity: 0.87; transform: scale(0.98); }

.fc-details {
  display: flex; flex-wrap: wrap; gap: 20px;
  margin-bottom: 14px;
}
.fc-detail { flex: 1 1 200px; min-width: 0; }
.fc-detail-lbl {
  font-size: 0.62rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.13em;
  color: #8aaccc; margin-bottom: 4px;
}
.fc-detail-val {
  font-size: 0.88rem; color: #2d4a6a; line-height: 1.5;
}

.fc-conditions {
  display: flex; flex-wrap: wrap; gap: 5px;
  margin-bottom: 14px;
}
.fc-ctag {
  padding: 3px 11px; border-radius: 3px;
  font-size: 0.72rem; font-weight: 600;
  background: rgba(201,162,39,0.1);
  border: 1px solid rgba(201,162,39,0.25);
  color: #8a6010;
}

.fc-footer {
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
  margin-top: auto; padding-top: 12px;
  border-top: 1px solid #e4eef6;
}
.fc-rating {
  display: flex; align-items: center; gap: 6px;
}
.fc-rating .stars .star { font-size: 16px; }
.fc-rating-num { font-size: 1rem; font-weight: 700; color: #1e3a5f; }
.fc-rating-count { font-size: 0.82rem; color: #7a8da0; }
.fc-phone {
  font-size: 0.82rem; color: #5a7a9a;
  display: flex; align-items: center; gap: 5px;
}

@media (max-width: 700px) {
  .featured-card { flex-direction: column; }
  .fc-logo-col {
    flex: 0 0 auto;
    border-right: none; border-bottom: 1px solid #e4eef6;
    padding: 20px;
  }
  .featured-section { padding: 32px 16px 10px; }
}

/* scrollbar */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #dce8f4; }
::-webkit-scrollbar-thumb { background: #8aaccc; border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: #c49420; }

/* ── Google Review Stars ── */
.stars { display: inline-flex; gap: 1px; line-height: 1; }
.star        { font-size: 13px; }
.star.full   { color: #f5a623; }
.star.half   { color: #f5a623; opacity: 0.6; }
.star.empty  { color: #d0cdc8; }
.card-rating { display: flex; align-items: center; gap: 4px; font-size: 11px; }
.rating-num  { font-weight: 600; color: var(--ink, #1a2f4a); }
.rating-count{ color: #7a8da0; }
.m-rating-sec .m-rating-row { display: flex; align-items: center; gap: 8px; padding: 6px 0; }
.m-rating-sec .m-rating-num  { font-size: 18px; font-weight: 700; color: var(--ink, #1a2f4a); }
.m-rating-sec .stars .star   { font-size: 18px; }
.m-rating-sec .m-rating-count{ font-size: 13px; color: #7a8da0; }

/* ═══════════════════════════════════════════════════════
   CLINIC PROFILE PAGES
   ═══════════════════════════════════════════════════════ */
.prof-wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px 60px; }
.prof-cols { display: grid; grid-template-columns: 1fr 340px; gap: 34px; align-items: start; margin-top: -34px; position: relative; z-index: 5; }
@media (max-width: 900px) {
  .prof-cols { grid-template-columns: 1fr; margin-top: 20px; }
  /* On narrow screens the inquiry panel must come first, not after the article */
  .prof-cols > aside { order: -1; }
  .prof-cols > .prof-main { order: 1; }
}

/* ── LEAD CAPTURE PANEL (primary action) ── */
.lead-panel { background: var(--navy-card); border-radius: var(--radius-lg); box-shadow: var(--shadow-card);
  border-top: 3px solid var(--gold); padding: 26px 24px; position: sticky; top: 20px; }
@media (max-width: 900px) { .lead-panel { position: static; } }
.lead-panel h2 { font-family:'Playfair Display',serif; font-size:1.24rem; font-weight:700; color:var(--navy-deep);
  line-height:1.25; margin-bottom:6px; letter-spacing:-.01em; }
.lead-sub { font-size:.82rem; color:var(--text-mid); line-height:1.5; margin-bottom:18px; }
.lead-form label { display:block; font-size:.7rem; text-transform:uppercase; letter-spacing:.09em;
  color:var(--text-mid); font-weight:600; margin-bottom:5px; }
.lead-form input, .lead-form select, .lead-form textarea {
  width:100%; padding:10px 12px; margin-bottom:13px; border:1px solid #d6e0ec; border-radius:var(--radius);
  font-family:'DM Sans',sans-serif; font-size:.9rem; color:var(--text-white); background:#fbfcfe; }
.lead-form textarea { resize:vertical; min-height:74px; }
.lead-form input:focus, .lead-form select:focus, .lead-form textarea:focus {
  outline:none; border-color:var(--gold); box-shadow:0 0 0 3px var(--gold-ghost); }
.lead-btn { width:100%; padding:13px 18px; background:linear-gradient(135deg,#1e3a5f 0%,#2a4a6e 100%);
  color:var(--gold-bright); border:1px solid var(--gold-rule2); border-radius:var(--radius);
  font-family:'DM Sans',sans-serif; font-size:.95rem; font-weight:600; letter-spacing:.02em;
  cursor:pointer; transition:.2s; }
.lead-btn:hover { background:linear-gradient(135deg,#254a75 0%,#31567d 100%); box-shadow:var(--shadow-hover); }
.lead-fine { font-size:.68rem; color:var(--text-dim); line-height:1.5; margin-top:11px; text-align:center; }
.lead-ok { display:none; padding:16px; background:#f0f7f0; border:1px solid #bcd9bc; border-radius:var(--radius);
  color:#2c5c2c; font-size:.88rem; line-height:1.55; }

/* ── PROFILE BODY ── */
.prof-main { background:var(--navy-card); border-radius:var(--radius-lg); box-shadow:var(--shadow-card);
  padding: 34px 38px 30px; }
@media (max-width:600px){ .prof-main{ padding:24px 20px; } }
.prof-sec { margin-bottom: 30px; }
.prof-sec:last-child { margin-bottom: 0; }
.prof-sec h2 { font-family:'Playfair Display',serif; font-size:1.3rem; font-weight:700; color:var(--navy-deep);
  margin-bottom:4px; letter-spacing:-.01em; }
.prof-sec .sec-rule { height:2px; background:var(--gold-rule2); width:46px; margin-bottom:15px; }
.prof-sec p { font-family:'Source Serif 4',Georgia,serif; font-size:1.005rem; line-height:1.72;
  color:var(--text-warm); margin-bottom:13px; }
.prof-sec p:last-child { margin-bottom:0; }
.prof-sec ul { margin:0 0 13px 20px; }
.prof-sec li { font-family:'Source Serif 4',Georgia,serif; font-size:1.005rem; line-height:1.68;
  color:var(--text-warm); margin-bottom:7px; }

/* At-a-glance fact grid */
.fact-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(200px,1fr)); gap:1px;
  background:var(--gold-rule); border:1px solid var(--gold-rule); border-radius:var(--radius); overflow:hidden; }
.fact { background:var(--navy-card2); padding:13px 15px; }
.fact-l { font-size:.66rem; text-transform:uppercase; letter-spacing:.1em; color:var(--text-mid);
  font-weight:600; margin-bottom:4px; }
.fact-v { font-size:.93rem; color:var(--text-white); font-weight:500; line-height:1.45; }
.fact-v a { color:var(--navy-deep); text-decoration:underline; text-underline-offset:2px; }

/* Tag pills */
.p-tags { display:flex; flex-wrap:wrap; gap:7px; }
.p-tag { background:var(--gold-ghost); border:1px solid var(--gold-rule); color:var(--gold-dim);
  padding:5px 11px; border-radius:20px; font-size:.78rem; font-weight:500; }
.p-tag.blue { background:rgba(30,58,95,.06); border-color:rgba(30,58,95,.2); color:var(--navy-deep); }

/* Verification / source note */
.src-note { font-size:.74rem; color:var(--text-dim); font-style:italic; line-height:1.55;
  padding-top:14px; border-top:1px solid var(--gold-rule); margin-top:6px; }

/* Medical disclaimer inline */
.p-disc { background:#fdf9ef; border:1px solid var(--gold-rule); border-left:3px solid var(--gold);
  border-radius:var(--radius); padding:14px 17px; font-size:.8rem; line-height:1.6; color:var(--text-warm); margin-bottom:26px; }

/* ── OUTBOUND LINK (deliberately quiet, page bottom) ── */
.out-link { margin-top:34px; padding-top:20px; border-top:1px solid var(--gold-rule); text-align:center; }
.out-link a { font-size:.83rem; color:var(--text-mid); text-decoration:underline; text-underline-offset:3px; }
.out-link a:hover { color:var(--navy-deep); }
.out-link .out-lbl { display:block; font-size:.68rem; text-transform:uppercase; letter-spacing:.1em;
  color:var(--text-dim); margin-bottom:5px; }

/* ── NEARBY CLINICS ── */
.nearby { margin-top:30px; }
.nearby h2 { font-family:'Playfair Display',serif; font-size:1.18rem; color:var(--navy-deep); margin-bottom:4px; }
.nearby-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(240px,1fr)); gap:12px; margin-top:14px; }
.nb-card { background:var(--navy-card2); border:1px solid var(--gold-rule); border-radius:var(--radius);
  padding:13px 15px; transition:.18s; display:block; }
.nb-card:hover { box-shadow:var(--shadow-hover); transform:translateY(-2px); }
.nb-name { font-size:.9rem; font-weight:600; color:var(--navy-deep); line-height:1.35; margin-bottom:3px; }
.nb-loc { font-size:.76rem; color:var(--text-mid); }
