/* ── RESET & BASE ─────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --teal: #0D9488;
  --teal-light: #14B8A6;
  --teal-pale: #CCFBF1;
  --teal-dark: #0F766E;
  --navy: #0F172A;
  --navy-mid: #1E293B;
  --slate: #334155;
  --muted: #64748B;
  --cream: #FAFAF7;
  --white: #FFFFFF;
  --accent: #F59E0B;
  --accent-light: #FEF3C7;
  --border: #E2E8F0;
  --border-focus: #0D9488;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow-sm: 0 1px 3px rgba(15,23,42,.08), 0 1px 2px rgba(15,23,42,.05);
  --shadow-md: 0 4px 16px rgba(15,23,42,.1), 0 2px 4px rgba(15,23,42,.06);
  --shadow-lg: 0 8px 32px rgba(15,23,42,.12), 0 4px 8px rgba(15,23,42,.06);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', system-ui, -apple-system, sans-serif;
  background: var(--cream);
  color: var(--navy);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--teal); text-decoration: none; }
a:hover { text-decoration: underline; }

img { max-width: 100%; height: auto; }

/* ── TYPOGRAPHY ────────────────────────────────────── */
h1, h2, h3 { line-height: 1.2; }

.sec-label {
  font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  color: var(--teal); margin-bottom: 8px; display: block;
}
.sec-title {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  color: var(--navy); margin-bottom: 12px;
}
.sec-desc { color: var(--muted); max-width: 560px; margin-bottom: 40px; font-size: .95rem; }

/* ── LAYOUT ────────────────────────────────────────── */
.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }
.section { padding: 72px 24px; }
.section--alt { background: var(--white); }

/* ── NAV ───────────────────────────────────────────── */
.site-nav {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky; top: 0; z-index: 100;
}
.nav-inner {
  max-width: 1100px; margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between;
  height: 68px;
}
.nav-logo {
  font-family: 'Syne', sans-serif;
  font-size: 1.5rem; font-weight: 800;
  color: var(--navy); display: flex; align-items: center; gap: 10px;
  text-decoration: none; letter-spacing: -.01em;
}
.nav-logo:hover { text-decoration: none; }
.nav-logo-icon { font-size: 1.4rem; line-height: 1; }
.nav-logo-text { display: flex; gap: 0; }
.nav-logo-accent { color: var(--teal); margin-left: 0; }
.nav-links {
  display: flex; align-items: center; gap: 8px;
  list-style: none;
}
.nav-links a {
  color: var(--slate); font-size: .9rem; font-weight: 500;
  padding: 6px 14px; border-radius: 8px;
  transition: background .15s, color .15s;
  text-decoration: none;
}
.nav-links a:hover { background: var(--cream); color: var(--navy); }
.nav-links a.active { color: var(--teal); }
.nav-cta {
  background: var(--teal) !important;
  color: var(--white) !important;
  font-weight: 600 !important;
}
.nav-cta:hover { background: var(--teal-dark) !important; }

/* Hamburger */
.nav-toggle {
  display: none;
  background: none; border: none; cursor: pointer;
  padding: 8px; color: var(--navy);
}
.nav-toggle svg { display: block; }

@media (max-width: 768px) {
  .nav-toggle { display: flex; align-items: center; }
  .nav-links {
    display: none;
    position: absolute; top: 68px; left: 0; right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    flex-direction: column; align-items: stretch;
    padding: 12px 24px 16px;
    gap: 4px;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 10px 14px; }
}

/* ── HERO ──────────────────────────────────────────── */
.hero {
  background: var(--navy);
  color: var(--white);
  padding: 80px 24px 88px;
  position: relative; overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; top: -140px; right: -100px;
  width: 560px; height: 560px;
  background: radial-gradient(circle, rgba(13,148,136,.3) 0%, transparent 70%);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute; bottom: -80px; left: 8%;
  width: 340px; height: 340px;
  background: radial-gradient(circle, rgba(245,158,11,.1) 0%, transparent 70%);
  pointer-events: none;
}
.hero-inner { max-width: 760px; margin: 0 auto; position: relative; z-index: 1; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(13,148,136,.2); border: 1px solid rgba(13,148,136,.4);
  border-radius: 100px; padding: 5px 14px;
  font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  color: var(--teal-light); margin-bottom: 20px;
}
.hero-eyebrow-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--teal-light); display: block; }
.hero h1 {
  font-family: 'Syne', sans-serif;
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 800; line-height: 1.1; margin-bottom: 20px;
}
.hero h1 em { font-style: normal; color: var(--teal-light); }
.hero-sub { font-size: 1.05rem; color: #94A3B8; max-width: 520px; margin-bottom: 36px; }

/* ── SEARCH BAR ────────────────────────────────────── */
.search-bar {
  display: flex; background: var(--white); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow-lg); margin-bottom: 20px;
}
.search-bar input {
  flex: 1; border: none; padding: 16px 20px;
  font-size: 1rem; font-family: inherit; color: var(--navy); outline: none;
}
.search-bar input::placeholder { color: var(--muted); }
.search-btn {
  background: var(--teal); border: none; color: var(--white);
  padding: 16px 28px; font-family: 'Syne', sans-serif; font-weight: 700;
  font-size: .9rem; cursor: pointer; white-space: nowrap;
  transition: background .15s;
}
.search-btn:hover { background: var(--teal-dark); }
.hero-stats {
  display: flex; gap: 24px; margin-top: 28px; flex-wrap: wrap;
}
.hero-stat { color: #94A3B8; font-size: .85rem; }
.hero-stat strong { color: var(--white); font-weight: 600; }

/* ── FILTER CHIPS ──────────────────────────────────── */
.filter-bar {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 14px 24px;
  position: sticky; top: 68px; z-index: 90;
}
.filter-bar-inner {
  max-width: 1100px; margin: 0 auto;
  display: flex; gap: 8px; align-items: center; flex-wrap: wrap;
}
.filter-label { font-size: .8rem; font-weight: 600; color: var(--muted); white-space: nowrap; margin-right: 4px; }
.chip {
  display: inline-flex; align-items: center; gap: 4px;
  background: var(--cream); border: 1px solid var(--border);
  border-radius: 100px; padding: 5px 14px; font-size: .8rem; font-weight: 500;
  color: var(--slate); cursor: pointer; white-space: nowrap;
  transition: all .15s; user-select: none;
}
.chip:hover { border-color: var(--teal); color: var(--teal); }
.chip.active { background: var(--teal-pale); border-color: var(--teal); color: var(--teal); font-weight: 600; }
.chip-clear {
  background: none; border: 1px dashed var(--border);
  color: var(--muted); font-size: .78rem;
}
.chip-clear:hover { border-color: var(--muted); color: var(--navy); }

/* Filter dropdown */
.filter-dropdown-wrap { position: relative; }
.filter-dropdown-btn {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--cream); border: 1px solid var(--border);
  border-radius: 100px; padding: 5px 14px; font-size: .8rem; font-weight: 500;
  color: var(--slate); cursor: pointer; white-space: nowrap; font-family: inherit;
  transition: all .15s;
}
.filter-dropdown-btn:hover, .filter-dropdown-btn.open { border-color: var(--teal); color: var(--teal); }
.filter-dropdown {
  display: none; position: absolute; top: calc(100% + 8px); left: 0;
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 8px;
  min-width: 220px; box-shadow: var(--shadow-lg); z-index: 200;
}
.filter-dropdown.open { display: block; }
.filter-dropdown label {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 10px; border-radius: 8px; cursor: pointer;
  font-size: .875rem; color: var(--slate);
  transition: background .1s;
}
.filter-dropdown label:hover { background: var(--cream); }
.filter-dropdown input[type="checkbox"] { accent-color: var(--teal); width: 14px; height: 14px; }

/* ── PRACTICE GRID ─────────────────────────────────── */
.practices-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}

.practice-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex; flex-direction: column;
  transition: box-shadow .2s, transform .2s, border-color .2s;
  text-decoration: none; color: inherit;
}
.practice-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
  border-color: rgba(13,148,136,.3);
  text-decoration: none;
}

.card-header { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 16px; }
.card-avatar {
  width: 48px; height: 48px; border-radius: 14px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
}
.card-title { font-family: 'Syne', sans-serif; font-size: 1rem; font-weight: 700; margin-bottom: 3px; }
.card-neighborhood { font-size: .8rem; color: var(--muted); }
.card-rating {
  display: flex; align-items: center; gap: 6px; margin-bottom: 12px;
}
.stars { color: var(--accent); font-size: .9rem; letter-spacing: 1px; }
.rating-score { font-weight: 700; font-size: .9rem; }
.review-count { font-size: .8rem; color: var(--muted); }
.card-specialties { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 16px; }
.specialty-badge {
  background: var(--cream); border: 1px solid var(--border);
  border-radius: 6px; padding: 3px 10px; font-size: .75rem; color: var(--slate); font-weight: 500;
}
.card-footer { margin-top: auto; display: flex; align-items: center; justify-content: space-between; }
.card-badges { display: flex; gap: 6px; flex-wrap: wrap; }
.badge {
  display: inline-flex; align-items: center; gap: 4px;
  background: var(--teal-pale); color: #065F46;
  border-radius: 6px; padding: 3px 9px; font-size: .72rem; font-weight: 600;
}
.badge.badge-amber { background: var(--accent-light); color: #92400E; }
.badge.badge-red { background: #FEE2E2; color: #991B1B; }
.card-phone { font-size: .8rem; color: var(--muted); font-weight: 500; }
.featured-banner {
  background: linear-gradient(90deg, var(--teal), var(--teal-light));
  color: var(--white); font-size: .7rem; font-weight: 700; letter-spacing: .06em;
  text-transform: uppercase; padding: 4px 12px;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  margin: -24px -24px 16px -24px;
}

/* ── NO RESULTS ────────────────────────────────────── */
.no-results {
  text-align: center; padding: 80px 24px; color: var(--muted);
  display: none;
}
.no-results h3 { font-family: 'Syne', sans-serif; font-size: 1.2rem; margin-bottom: 8px; color: var(--navy); }

/* ── RESULTS META ──────────────────────────────────── */
.results-meta {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 20px; flex-wrap: wrap; gap: 12px;
}
.results-count { font-size: .9rem; color: var(--muted); }
.results-count strong { color: var(--navy); }
.sort-select {
  border: 1px solid var(--border); border-radius: 8px;
  padding: 7px 12px; font-size: .85rem; font-family: inherit;
  color: var(--slate); background: var(--white); cursor: pointer; outline: none;
}
.sort-select:focus { border-color: var(--teal); }

/* ── PRACTICE DETAIL ───────────────────────────────── */
.practice-hero {
  background: var(--navy);
  color: var(--white);
  padding: 56px 24px 64px;
}
.breadcrumb { font-size: .85rem; color: #64748B; margin-bottom: 20px; }
.breadcrumb a { color: var(--teal-light); }
.breadcrumb a:hover { text-decoration: underline; }
.practice-hero h1 {
  font-family: 'Syne', sans-serif; font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800; margin-bottom: 8px;
}
.practice-hero-tagline { color: #94A3B8; font-size: 1.05rem; margin-bottom: 20px; }
.practice-hero-meta { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }
.practice-hero-meta .badge { font-size: .8rem; padding: 5px 12px; }

.practice-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 32px;
  max-width: 1100px; margin: 0 auto; padding: 48px 24px;
}

.detail-section { margin-bottom: 36px; }
.detail-section h2 {
  font-family: 'Syne', sans-serif; font-weight: 700; font-size: 1.1rem;
  margin-bottom: 16px; padding-bottom: 10px; border-bottom: 1px solid var(--border);
}
.detail-body { font-size: .95rem; line-height: 1.75; color: var(--slate); }
.detail-body p { margin-bottom: 12px; }
.detail-body strong { color: var(--navy); }

/* Hours table */
.hours-table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.hours-table tr { border-bottom: 1px solid var(--border); }
.hours-table tr:last-child { border-bottom: none; }
.hours-table td { padding: 10px 0; color: var(--slate); }
.hours-table td:first-child { font-weight: 600; color: var(--navy); width: 130px; }
.hours-table .closed { color: var(--muted); }
.hours-table .today { background: var(--teal-pale); }
.hours-table .today td { color: var(--teal-dark); font-weight: 600; }

/* Insurance / specialty pills */
.pill-list { display: flex; flex-wrap: wrap; gap: 8px; }
.pill {
  background: var(--cream); border: 1px solid var(--border);
  border-radius: 8px; padding: 5px 12px; font-size: .82rem; color: var(--slate); font-weight: 500;
}
.pill.teal { background: var(--teal-pale); border-color: rgba(13,148,136,.3); color: #065F46; }

/* Sidebar */
.practice-sidebar { display: flex; flex-direction: column; gap: 20px; }
.sidebar-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 24px;
}
.sidebar-card h3 { font-family: 'Syne', sans-serif; font-weight: 700; font-size: .95rem; margin-bottom: 16px; }
.contact-item {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 10px 0; border-bottom: 1px solid var(--border); font-size: .875rem;
}
.contact-item:last-child { border-bottom: none; }
.contact-icon { font-size: 16px; flex-shrink: 0; margin-top: 2px; }
.contact-label { font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 600; margin-bottom: 2px; }
.contact-val { color: var(--slate); }
.contact-val a { color: var(--teal); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border-radius: 10px; padding: 12px 20px; font-family: 'Syne', sans-serif;
  font-weight: 700; font-size: .9rem; cursor: pointer; border: none;
  transition: all .15s; text-decoration: none;
}
.btn-primary { background: var(--teal); color: var(--white); width: 100%; }
.btn-primary:hover { background: var(--teal-dark); text-decoration: none; }
.btn-outline { background: transparent; border: 1px solid var(--border); color: var(--slate); width: 100%; }
.btn-outline:hover { border-color: var(--navy); color: var(--navy); text-decoration: none; }

/* ── MAP PAGE ──────────────────────────────────────── */
.map-layout {
  display: grid;
  grid-template-columns: 360px 1fr;
  height: calc(100vh - 64px);
}
.map-sidebar {
  background: var(--white);
  border-right: 1px solid var(--border);
  display: flex; flex-direction: column; overflow: hidden;
}
.map-sidebar-header {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
}
.map-sidebar-header h2 { font-family: 'Syne', sans-serif; font-size: 1rem; font-weight: 700; margin-bottom: 8px; }
.map-sidebar-search {
  display: flex; border: 1px solid var(--border); border-radius: 8px; overflow: hidden;
}
.map-sidebar-search input {
  flex: 1; border: none; padding: 9px 14px; font-size: .875rem; font-family: inherit; outline: none;
}
.map-sidebar-search button {
  background: var(--teal); border: none; color: var(--white); padding: 0 14px; cursor: pointer;
}
.map-list { flex: 1; overflow-y: auto; }
.map-practice-item {
  padding: 14px 20px; border-bottom: 1px solid var(--border);
  cursor: pointer; transition: background .15s;
  display: flex; gap: 12px; align-items: flex-start;
}
.map-practice-item:hover, .map-practice-item.highlighted { background: var(--teal-pale); }
.map-practice-avatar { width: 36px; height: 36px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 16px; flex-shrink: 0; }
.map-practice-name { font-family: 'Syne', sans-serif; font-weight: 700; font-size: .9rem; margin-bottom: 2px; }
.map-practice-sub { font-size: .8rem; color: var(--muted); }
.map-practice-rating { font-size: .8rem; color: var(--accent); }

#map { flex: 1; }

/* Leaflet popup override */
.leaflet-popup-content-wrapper { border-radius: var(--radius) !important; box-shadow: var(--shadow-lg) !important; padding: 0 !important; overflow: hidden; }
.leaflet-popup-content { margin: 0 !important; }
.map-popup { padding: 16px 18px; min-width: 200px; }
.map-popup-name { font-family: 'Syne', sans-serif; font-weight: 700; font-size: .95rem; margin-bottom: 4px; color: var(--navy); }
.map-popup-sub { font-size: .8rem; color: var(--muted); margin-bottom: 8px; }
.map-popup-link {
  display: inline-block; background: var(--teal); color: var(--white) !important;
  border-radius: 6px; padding: 6px 12px; font-size: .78rem; font-weight: 700; text-decoration: none !important;
}

/* ── SUBMIT FORM ───────────────────────────────────── */
.submit-wrap { max-width: 760px; margin: 0 auto; }
.form-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 40px;
}
.form-group { margin-bottom: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group label {
  display: block; font-size: .8rem; font-weight: 600; color: var(--slate);
  text-transform: uppercase; letter-spacing: .06em; margin-bottom: 7px;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  border: 1px solid var(--border); border-radius: 10px;
  padding: 12px 14px; font-size: .9rem; font-family: inherit;
  color: var(--navy); background: var(--white); outline: none;
  transition: border-color .15s;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(13,148,136,.1); }
.form-group textarea { resize: vertical; min-height: 100px; }
.form-group .hint { font-size: .78rem; color: var(--muted); margin-top: 5px; }

/* Checkbox group */
.checkbox-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 8px; }
.checkbox-item {
  display: flex; align-items: center; gap: 8px;
  padding: 8px 12px; border: 1px solid var(--border); border-radius: 8px;
  cursor: pointer; font-size: .85rem; transition: all .15s;
}
.checkbox-item:hover { border-color: var(--teal); background: var(--teal-pale); }
.checkbox-item input { accent-color: var(--teal); }

.form-submit-btn {
  background: var(--teal); color: var(--white); border: none;
  border-radius: 10px; padding: 14px 36px; font-family: 'Syne', sans-serif;
  font-weight: 700; font-size: 1rem; cursor: pointer; width: 100%;
  transition: background .15s;
}
.form-submit-btn:hover { background: var(--teal-dark); }

.form-success {
  display: none; text-align: center; padding: 40px 20px;
}
.form-success-icon { font-size: 56px; margin-bottom: 16px; }
.form-success h3 { font-family: 'Syne', sans-serif; font-size: 1.4rem; font-weight: 700; margin-bottom: 8px; }
.form-success p { color: var(--muted); }

/* ── ABOUT PAGE ────────────────────────────────────── */
.about-content { max-width: 720px; }
.about-content h2 { font-family: 'Syne', sans-serif; font-weight: 700; margin-bottom: 12px; font-size: 1.15rem; }
.about-content p { color: var(--slate); margin-bottom: 20px; line-height: 1.8; }
.faq-item { border-bottom: 1px solid var(--border); padding: 20px 0; }
.faq-item:last-child { border-bottom: none; }
.faq-q {
  font-family: 'Syne', sans-serif; font-weight: 700; font-size: 1rem;
  margin-bottom: 10px; cursor: pointer; display: flex; justify-content: space-between; align-items: center;
}
.faq-q::after { content: '↓'; color: var(--teal); transition: transform .2s; }
.faq-item.open .faq-q::after { transform: rotate(180deg); }
.faq-a { color: var(--slate); font-size: .95rem; line-height: 1.7; display: none; }
.faq-item.open .faq-a { display: block; }

/* ── FOOTER ────────────────────────────────────────── */
.site-footer {
  background: var(--navy); color: #64748B;
  padding: 48px 24px 32px;
}
.footer-inner {
  max-width: 1100px; margin: 0 auto;
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px;
  padding-bottom: 32px; border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer-brand .nav-logo { font-size: 1.1rem; display: inline-flex; margin-bottom: 12px; }
.footer-brand p { font-size: .875rem; line-height: 1.7; max-width: 280px; }
.footer-col h4 { color: var(--white); font-family: 'Syne', sans-serif; font-size: .9rem; font-weight: 700; margin-bottom: 14px; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.footer-col a { color: #64748B; font-size: .875rem; transition: color .15s; }
.footer-col a:hover { color: var(--teal-light); text-decoration: none; }
.footer-bottom {
  max-width: 1100px; margin: 24px auto 0;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px;
  font-size: .8rem;
}
.footer-bottom a { color: #64748B; }
.footer-bottom a:hover { color: var(--teal-light); }

@media (max-width: 768px) {
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: span 2; }
}
@media (max-width: 480px) {
  .footer-inner { grid-template-columns: 1fr; }
  .footer-brand { grid-column: span 1; }
}

/* ── RESPONSIVE ────────────────────────────────────── */
@media (max-width: 1024px) {
  .practice-layout { grid-template-columns: 1fr; }
  .practice-sidebar { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
  .map-layout { grid-template-columns: 300px 1fr; }
}

@media (max-width: 768px) {
  .hero { padding: 56px 24px 64px; }
  .section { padding: 48px 16px; }
  .practices-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .map-layout { grid-template-columns: 1fr; height: auto; flex-direction: column; }
  .map-sidebar { height: 300px; border-right: none; border-bottom: 1px solid var(--border); }
  #map { height: 60vh; }
  .practice-sidebar { grid-template-columns: 1fr; }
  .filter-bar { overflow-x: auto; }
  .filter-bar-inner { flex-wrap: nowrap; }
}

/* ── DENTIST HERO ──────────────────────────────────── */
.dentist-hero {
  background: var(--navy);
  color: var(--white);
  padding: 56px 24px 64px;
}
.dentist-hero-inner {
  display: flex; gap: 32px; align-items: flex-start; margin-top: 8px;
}
.dentist-avatar-lg {
  width: 100px; height: 100px; border-radius: 24px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(0,0,0,.25);
}
.dentist-initials-lg {
  font-family: 'Syne', sans-serif; font-size: 2.2rem; font-weight: 800;
  color: var(--navy);
}
.dentist-hero-info h1 {
  font-family: 'Syne', sans-serif; font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 800; line-height: 1.1; margin-bottom: 6px;
}
.dentist-creds { font-size: .55em; font-weight: 600; color: var(--teal-light); margin-left: 4px; }
.dentist-specialty-tag {
  display: inline-block; background: rgba(13,148,136,.25); border: 1px solid rgba(13,148,136,.4);
  border-radius: 6px; padding: 3px 12px; font-size: .82rem; font-weight: 600;
  color: var(--teal-light); margin-bottom: 10px;
}
.dentist-hero-tagline { color: #94A3B8; font-size: .97rem; margin-bottom: 16px; max-width: 520px; }
.dentist-hero-badges { display: flex; flex-wrap: wrap; gap: 8px; }
.badge.badge-slate { background: rgba(255,255,255,.1); color: #CBD5E1; }

/* ── DENTIST CARDS ─────────────────────────────────── */
.dentists-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}

.dentist-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 22px;
  display: flex; flex-direction: column; gap: 12px;
  text-decoration: none; color: inherit;
  transition: box-shadow .2s, transform .2s, border-color .2s;
}
.dentist-card:hover {
  box-shadow: var(--shadow-lg); transform: translateY(-3px);
  border-color: rgba(13,148,136,.3); text-decoration: none;
}

.dentist-card-top { display: flex; align-items: center; gap: 14px; }
.dentist-initials-avatar {
  width: 52px; height: 52px; border-radius: 50%; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Syne', sans-serif; font-size: 1.1rem; font-weight: 800;
  color: var(--navy);
}
.dentist-card-name {
  font-family: 'Syne', sans-serif; font-size: 1rem; font-weight: 700;
  color: var(--navy); line-height: 1.3;
}
.dentist-card-creds { font-size: .75em; font-weight: 600; color: var(--teal); margin-left: 2px; }
.dentist-card-specialty { font-size: .8rem; color: var(--muted); margin-top: 2px; }

.dentist-card-practice {
  display: flex; align-items: center; gap: 6px;
  font-size: .82rem; color: var(--slate); font-weight: 500;
}
.dentist-card-practice-icon { font-size: 14px; }

.dentist-card-exp {
  font-size: .8rem; color: var(--muted);
  padding: 4px 10px; background: var(--cream); border-radius: 6px;
  display: inline-block; width: fit-content;
}

.dentist-card-cert {
  font-size: .78rem; color: var(--teal-dark); font-weight: 500;
  padding: 6px 10px; background: var(--teal-pale); border-radius: 6px;
}

.dentist-card-footer {
  margin-top: auto; display: flex; align-items: center;
  justify-content: space-between; padding-top: 10px;
  border-top: 1px solid var(--border);
}
.dentist-card-arrow { color: var(--teal); font-weight: 700; font-size: 1rem; }

/* ── EDUCATION / CERTIFICATIONS ────────────────────── */
.edu-list { display: flex; flex-direction: column; gap: 0; }
.edu-item {
  display: grid; grid-template-columns: 1fr auto;
  gap: 4px 16px; padding: 14px 0; border-bottom: 1px solid var(--border);
  align-items: baseline;
}
.edu-item:last-child { border-bottom: none; }
.edu-degree { font-family: 'Syne', sans-serif; font-weight: 700; font-size: .95rem; color: var(--navy); }
.edu-school { font-size: .875rem; color: var(--slate); grid-column: 1; }
.edu-year { font-size: .8rem; color: var(--muted); font-weight: 600; grid-row: 1 / span 2; align-self: center; }

.cert-list { list-style: none; display: flex; flex-direction: column; gap: 2px; }
.cert-item {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 10px 12px; border-radius: 8px; font-size: .875rem; color: var(--slate);
  background: var(--cream);
}
.cert-item + .cert-item { margin-top: 4px; }
.cert-check { color: var(--teal); font-weight: 700; flex-shrink: 0; margin-top: 1px; }

/* ── DENTIST PRACTICE SECTION (on practice pages) ──── */
.practice-dentists { margin-top: 36px; }
.practice-dentists h2 {
  font-family: 'Syne', sans-serif; font-weight: 700; font-size: 1.1rem;
  margin-bottom: 16px; padding-bottom: 10px; border-bottom: 1px solid var(--border);
}
.practice-dentist-list { display: flex; flex-direction: column; gap: 12px; }
.practice-dentist-item {
  display: flex; align-items: center; gap: 14px; padding: 14px 16px;
  background: var(--cream); border-radius: var(--radius); border: 1px solid var(--border);
  text-decoration: none; color: inherit; transition: border-color .15s, background .15s;
}
.practice-dentist-item:hover {
  border-color: rgba(13,148,136,.4); background: var(--teal-pale); text-decoration: none;
}
.practice-dentist-avatar {
  width: 44px; height: 44px; border-radius: 50%; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Syne', sans-serif; font-size: 1rem; font-weight: 800; color: var(--navy);
}
.practice-dentist-name { font-family: 'Syne', sans-serif; font-weight: 700; font-size: .95rem; }
.practice-dentist-spec { font-size: .82rem; color: var(--muted); }
.practice-dentist-arrow { margin-left: auto; color: var(--teal); font-weight: 700; }

/* ── RESPONSIVE: DENTIST ───────────────────────────── */
@media (max-width: 768px) {
  .dentist-hero-inner { flex-direction: column; gap: 20px; }
  .dentist-avatar-lg { width: 80px; height: 80px; }
  .dentist-initials-lg { font-size: 1.8rem; }
  .dentists-grid { grid-template-columns: 1fr; }
}

/* ── UTILITIES ─────────────────────────────────────── */
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
.text-muted { color: var(--muted); }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-32 { margin-top: 32px; }
.hidden { display: none !important; }
