*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  /* Brand = Smiles for Life logo teal-green #488880 */
  --brand:    #488880;
  --brand-lt: #74B7AC;
  --brand-dk: #2F615B;
  /* Semantic tokens (repurposed from old navy/gold so all pages inherit the green theme) */
  --navy:     #26564F;   /* deep green — headings / dark elements on light pages */
  --navy-mid: #2F675F;
  --navy-lt:  #E7F1EF;   /* light green tint */
  --blue:     #3C8177;   /* links */
  --gold:     #4E9B8F;   /* accent (was gold — now green) */
  --gold-lt:  #DEEEEB;
  /* Dark theme (homepage) */
  --ink:      #0C1917;   /* darkest bg */
  --ink-2:    #112320;   /* alt dark section */
  --ink-3:    #18302B;   /* elevated dark card */
  --cream:    #F4F8F7;   /* light text on dark */
  --muted-l:  #9DB3AE;   /* muted light text on dark */
  --white:    #FFFFFF;
  --off-white:#F9F8F5;
  --text:     #1C1C1C;
  --muted:    #6A6A6A;
  --border:   #E0DDD6;
  --shadow:   0 2px 24px rgba(12,25,23,.09);
  --shadow-lg:0 10px 50px rgba(12,25,23,.16);
}

html { scroll-behavior: smooth; overflow-x: hidden; }
body { font-family: 'Roboto', sans-serif; color: var(--text); background: var(--white); line-height: 1.6; overflow-x: hidden; font-size: 16px; letter-spacing: 0.5px; font-weight: 400; }
img { display: block; max-width: 100%; }

/* ── CONTAINERS ─────────────────────────────── */
.container { max-width: 1180px; margin: 0 auto; padding: 0 36px; }
.container-wide { max-width: 1440px; margin: 0 auto; padding: 0 36px; }
.section { padding: 96px 0; }
.section-gray { background: var(--off-white); }
.section-navy { background: var(--navy); }
.text-center { text-align: center; }

/* ── TYPE ─────────────────────────────── */
.eyebrow {
  font-family: 'Raleway', sans-serif; font-size: 12px; font-weight: 700;
  letter-spacing: 3px; text-transform: uppercase; color: var(--gold);
  display: flex; align-items: center; gap: 12px; margin-bottom: 12px;
}
.eyebrow.center { justify-content: center; }
.eyebrow::before { content: ''; display: block; width: 30px; height: 1px; background: var(--gold); }

h1, h2, h3 { font-family: 'Raleway', sans-serif; line-height: 1.15; letter-spacing: -0.2px; }

.section-heading {
  font-size: clamp(30px, 3.5vw, 46px); font-weight: 800;
  color: var(--navy); margin-bottom: 16px;
}
.section-sub { font-size: 16px; color: var(--muted); line-height: 1.7; max-width: 600px; }
.section-sub.wide { max-width: 780px; }
.section-sub.centered { margin: 0 auto; }

/* ── BUTTONS ─────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: 'Raleway', sans-serif; font-size: 14px; font-weight: 700;
  letter-spacing: 2px; text-transform: uppercase; text-decoration: none;
  padding: 15px 34px; border: none; cursor: pointer; transition: .22s;
}
.btn-gold    { background: var(--gold); color: var(--white); }
.btn-gold:hover { background: #a8832e; }
.btn-navy    { background: var(--navy); color: var(--white); }
.btn-navy:hover { background: #0f1c3a; }
.btn-outline-white { background: transparent; color: var(--white); border: 1.5px solid rgba(255,255,255,.5); }
.btn-outline-white:hover { border-color: var(--white); background: rgba(255,255,255,.1); }
.btn-outline-navy { background: transparent; color: var(--navy); border: 1.5px solid var(--navy); }
.btn-outline-navy:hover { background: var(--navy); color: var(--white); }

/* ── TOP BAR ─────────────────────────────── */
.topbar { background: var(--ink); padding: 8px 0; font-size: 12.5px; border-bottom: 1px solid rgba(255,255,255,.06); }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; }
.topbar-grp { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.topbar a { color: rgba(255,255,255,.72); text-decoration: none; display: flex; align-items: center; gap: 7px; transition: .2s; font-family: 'Roboto', sans-serif; letter-spacing: 0.3px; }
.topbar a:hover { color: var(--gold); }
.topbar i { color: var(--gold); font-size: 11px; }

/* ── NAVBAR ─────────────────────────────── */
.navbar {
  position: sticky; top: 0; z-index: 1000;
  background: var(--ink-2); border-bottom: 1px solid rgba(116,183,172,.14);
  transition: box-shadow .3s, background .3s;
}
.navbar.scrolled { box-shadow: 0 6px 26px rgba(0,0,0,.35); background: var(--ink); }
.nav-inner { height: 84px; display: flex; align-items: center; justify-content: space-between; }
.nav-logo { text-decoration: none; display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.nav-logo-emblem { height: 58px; width: auto; object-fit: contain; flex-shrink: 0; filter: drop-shadow(0 1px 3px rgba(0,0,0,.45)); }
@media (max-width: 560px){ .nav-logo-emblem { height: 48px; } }
.nav-brand-name {
  font-family: 'Great Vibes', cursive;
  font-size: 30px;
  color: var(--navy);
  white-space: nowrap;
  line-height: 1;
  letter-spacing: 0;
}

.nav-links { display: flex; align-items: center; gap: 0; }
.nav-links > a, .nav-links > .nav-dropdown > .nav-drop-toggle {
  padding: 10px 15px; font-family: 'Raleway', sans-serif; font-size: 14px;
  font-weight: 600; letter-spacing: 1px; color: var(--white);
  text-decoration: none; transition: color .2s; white-space: nowrap; text-transform: uppercase;
  background: none; border: none; cursor: pointer; display: flex; align-items: center; gap: 5px;
}
.nav-links > a:hover,
.nav-links > .nav-dropdown:hover > .nav-drop-toggle { color: var(--brand-lt); }
.nav-links > a.active,
.nav-links > .nav-dropdown.active > .nav-drop-toggle { color: var(--brand-lt); }

.nav-book {
  margin-left: 16px;
  background: var(--brand) !important;
  color: var(--white) !important;
  padding: 11px 24px !important;
  font-weight: 700 !important;
  border-radius: 6px;
}
.nav-book:hover { background: var(--brand-lt) !important; color: var(--ink) !important; }

/* ── DROPDOWN ─────────────────────────────── */
.nav-dropdown { position: relative; }
.nav-drop-toggle i.fa-chevron-down { font-size: 10px; transition: transform .2s; }
.nav-dropdown:hover .fa-chevron-down { transform: rotate(180deg); }

.nav-drop-menu {
  position: absolute; top: 100%; left: 0;
  background: var(--navy);
  border-top: 3px solid var(--gold);
  min-width: 280px;
  box-shadow: 0 16px 48px rgba(10,20,50,.45);
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: opacity .22s, transform .22s, visibility .22s;
  z-index: 100;
}
.nav-dropdown:hover .nav-drop-menu { opacity: 1; visibility: visible; transform: none; }

.drop-section-label {
  font-family: 'Raleway', sans-serif; font-size: 10px; font-weight: 700;
  letter-spacing: 2.5px; text-transform: uppercase; color: var(--gold);
  padding: 16px 20px 5px; border-top: 1px solid rgba(255,255,255,.1);
}
.drop-section-label:first-child { border-top: none; padding-top: 14px; }

.nav-drop-menu a {
  display: block; padding: 9px 20px 9px 22px;
  font-family: 'Roboto', sans-serif; font-size: 13.5px; color: rgba(255,255,255,.78);
  text-decoration: none; white-space: nowrap;
  text-transform: none; letter-spacing: 0; font-weight: 400;
  border-left: 2px solid transparent;
  transition: color .15s, background .15s, border-color .15s, padding-left .15s;
}
.nav-drop-menu a:hover {
  background: rgba(255,255,255,.07);
  color: var(--white);
  border-left-color: var(--gold);
  padding-left: 28px;
}
.nav-drop-menu .drop-view-all {
  display: block; padding: 12px 20px; margin: 6px 0 0;
  background: rgba(255,255,255,.06);
  border-top: 1px solid rgba(255,255,255,.12);
  border-left: none;
  font-weight: 700;
  font-family: 'Raleway', sans-serif; font-size: 12px; letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--gold);
}
.nav-drop-menu .drop-view-all:hover {
  background: var(--gold); color: var(--navy);
  padding-left: 20px; border-left-color: transparent;
}

/* wide dropdown */
.nav-drop-menu.wide { min-width: 560px; display: grid; grid-template-columns: 1fr 1fr; }
.nav-drop-menu.wide .drop-col { padding-bottom: 12px; }
.nav-drop-menu.wide .drop-col:first-child { border-right: 1px solid rgba(255,255,255,.08); }
.nav-drop-menu.wide .drop-section-label { padding-top: 16px; }

.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 8px; }
.hamburger span { display: block; width: 23px; height: 2px; background: var(--white); border-radius: 1px; transition: .3s; }

/* ── HERO (split: text+ratings left, Dr. Goel right, video behind) ── */
.hero { position: relative; display: flex; align-items: stretch; overflow: hidden; background: var(--ink); }
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  /* darker on the left (text), much lighter on the right so the office video reads clearly */
  background:
    linear-gradient(100deg, rgba(9,20,18,.90) 0%, rgba(9,20,18,.66) 38%, rgba(12,25,23,.24) 66%, rgba(12,25,23,.06) 100%),
    linear-gradient(to top, rgba(9,20,18,.60) 0%, rgba(9,20,18,.08) 48%);
}
.hero .container { position: relative; z-index: 2; width: 100%; }
.hero-grid { display: grid; grid-template-columns: 1.35fr .65fr; gap: 30px; align-items: end; }
.hero-left, .hero-right { min-width: 0; }
.hero-left { padding: 70px 0 0; }
.hero-eyebrow {
  font-family: 'Raleway', sans-serif; font-size: 12px; font-weight: 700;
  letter-spacing: 3px; text-transform: uppercase; color: var(--brand-lt);
  display: flex; align-items: center; gap: 14px; margin-bottom: 22px;
}
.hero-eyebrow::before { content: ''; display: block; width: 36px; height: 2px; background: var(--brand-lt); flex-shrink: 0; }
.hero h1 {
  font-family: 'Playfair Display', serif; font-size: clamp(40px, 5vw, 68px);
  font-weight: 800; color: var(--white); line-height: 1.08; margin: 0 0 22px;
  text-shadow: 0 2px 30px rgba(0,0,0,.5);
}
.hero h1 span { color: var(--brand-lt); font-weight: 400; display: block; font-style: italic; }
.hero-sub { font-size: 17px; color: rgba(255,255,255,.85); line-height: 1.7; max-width: 500px; margin: 0 0 30px; }
.hero-badges { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 34px; }
.hero-badge { display: flex; align-items: center; gap: 12px; background: rgba(18,32,30,.55); border: 1px solid rgba(255,255,255,.15); border-radius: 12px; padding: 11px 18px; }
.hero-badge .num { font-family: 'Raleway', sans-serif; font-size: 22px; font-weight: 800; color: #fff; line-height: 1; }
.hero-badge .stars { color: var(--brand-lt); font-size: 12px; letter-spacing: 1.5px; }
.hero-badge .src { font-size: 10.5px; color: var(--muted-l); text-transform: uppercase; letter-spacing: .6px; display: block; margin-top: 3px; }
.hero-badge.years { background: var(--brand); border-color: var(--brand); }
.hero-badge.years .num { font-size: 26px; }
.hero-badge.years .src { color: rgba(255,255,255,.9); }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-actions .btn { white-space: nowrap; }
.hero-right { position: relative; align-self: end; display: flex; justify-content: flex-end; }
.hero-portrait { position: relative; width: 100%; max-width: 500px; align-self: end; margin-right: -20px; }
.hero-portrait > img { width: 100%; display: block; filter: drop-shadow(0 14px 34px rgba(0,0,0,.55)); }
.hero-portrait-footer { position: absolute; left: 0; right: 0; bottom: 20px; display: flex; align-items: center; justify-content: center; gap: 12px; }
.hero-portrait-badge {
  background: rgba(10,20,18,.9); border: 1px solid rgba(116,183,172,.3);
  border-radius: 12px; padding: 12px 22px; text-align: center; white-space: nowrap;
}
.hero-portrait-badge strong { display: block; font-family: 'Playfair Display', serif; color: #fff; font-size: 19px; }
.hero-portrait-badge span { font-size: 11px; color: var(--brand-lt); letter-spacing: 1.5px; text-transform: uppercase; }
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-left { padding: 48px 0 10px; text-align: center; }
  .hero-eyebrow { justify-content: center; flex-wrap: wrap; }
  .hero-sub { margin-left: auto; margin-right: auto; }
  .hero-badges, .hero-actions { justify-content: center; }
  .hero-right { max-width: 360px; margin: 22px auto 0; }
  .hero-portrait { margin-right: 0; }
}
@media (max-width: 560px) {
  .container, .container-narrow, .container-wide { padding: 0 20px; }
  .hero h1 { font-size: clamp(30px, 8.5vw, 44px); }
  .hero-eyebrow { font-size: 10.5px; letter-spacing: 1.5px; }
  .hero-eyebrow::before { width: 20px; }
  .hero-actions { flex-wrap: wrap; width: 100%; }
  .hero-actions .btn { flex: 1 1 100%; justify-content: center; }
  .hero-badges { gap: 10px; }
  .hero-badge { padding: 10px 14px; }
  .hero-portrait-badge { padding: 10px 16px; }
  .hero-portrait-badge strong { font-size: 16px; }
}

/* ── PAGE HERO (inner pages) ─────────────────────────────── */
.page-hero {
  background: var(--navy); padding: 56px 0 52px; position: relative; overflow: hidden;
}
.page-hero::before {
  content: ''; position: absolute; right: -80px; top: -80px;
  width: 400px; height: 400px; border-radius: 50%;
  background: rgba(192,154,69,.08);
}
.page-hero-eyebrow {
  font-family: 'Raleway', sans-serif; font-size: 11px; font-weight: 700;
  letter-spacing: 3px; text-transform: uppercase; color: var(--gold);
  display: flex; align-items: center; gap: 10px; margin-bottom: 14px;
}
.page-hero-eyebrow::before { content: ''; width: 24px; height: 1px; background: var(--gold); }
.page-hero h1 {
  font-family: 'Raleway', sans-serif;
  font-size: clamp(32px, 4vw, 54px); font-weight: 900;
  color: var(--white); margin-bottom: 14px; letter-spacing: -0.5px;
}
.page-hero p { font-size: 16px; color: rgba(255,255,255,.75); line-height: 1.7; max-width: 620px; }

/* ── BREADCRUMB ─────────────────────────────── */
.breadcrumb {
  background: var(--off-white); border-bottom: 1px solid var(--border);
  padding: 12px 0;
}
.breadcrumb-inner {
  display: flex; align-items: center; gap: 8px;
  font-family: 'Roboto', sans-serif; font-size: 12.5px; color: var(--muted);
}
.breadcrumb-inner a { color: var(--muted); text-decoration: none; transition: color .2s; }
.breadcrumb-inner a:hover { color: var(--gold); }
.breadcrumb-inner i { font-size: 9px; }
.breadcrumb-inner span { color: var(--navy); font-weight: 500; }

/* ── STRIP ─────────────────────────────── */
.trust-strip { background: var(--gold); }
.trust-strip-inner { display: flex; justify-content: space-around; flex-wrap: wrap; }
.trust-item {
  display: flex; align-items: center; gap: 14px;
  padding: 26px 20px; color: var(--white); flex: 1; min-width: 190px;
  border-right: 1px solid rgba(255,255,255,.2);
}
.trust-item:last-child { border-right: none; }
.trust-item i { font-size: 22px; opacity: .9; }
.trust-item-text strong { display: block; font-family: 'Raleway', sans-serif; font-size: 13.5px; font-weight: 700; line-height: 1.3; }
.trust-item-text span { font-size: 12px; opacity: .82; margin-top: 2px; display: block; }

/* ── SERVICES ─────────────────────────────── */
.services-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: start; }
.services-sticky { position: sticky; top: 120px; }
.services-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--border); border: 1px solid var(--border); }
.svc-card {
  background: var(--white); padding: 32px 26px;
  transition: .22s; position: relative; overflow: hidden;
}
.svc-card::after {
  content: ''; position: absolute; left: 0; top: 0; bottom: 0;
  width: 3px; background: var(--gold);
  transform: scaleY(0); transition: .25s; transform-origin: bottom;
}
.svc-card:hover { background: var(--off-white); }
.svc-card:hover::after { transform: scaleY(1); }
.svc-card a { text-decoration: none; color: inherit; display: block; }
.svc-icon-wrap {
  width: 46px; height: 46px; margin-bottom: 16px;
  background: var(--navy-lt); color: var(--navy);
  display: flex; align-items: center; justify-content: center;
  font-size: 19px; transition: .22s;
}
.svc-card:hover .svc-icon-wrap { background: var(--gold); color: var(--white); }
.svc-card h3 {
  font-family: 'Raleway', sans-serif; font-size: 15px; font-weight: 700;
  color: var(--navy); margin-bottom: 8px; letter-spacing: -.1px;
}
.svc-card p { font-size: 13.5px; color: var(--muted); line-height: 1.65; }
.svc-card .svc-link { font-family: 'Raleway', sans-serif; font-size: 11px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--gold); margin-top: 12px; display: block; }

/* ── ABOUT ─────────────────────────────── */
.about-grid { display: grid; grid-template-columns: 0.92fr 1.08fr; gap: 58px; align-items: stretch; }
.about-photo { position: relative; }
.about-photo > img { width: 100%; height: 100%; min-height: 460px; object-fit: cover; object-position: center 20%; border-radius: 16px; box-shadow: var(--shadow-lg); }
.about-content { display: flex; flex-direction: column; justify-content: center; }
.about-content p { color: var(--muted); line-height: 1.85; margin: 0 0 18px; font-size: 15.5px; }
.about-img-stack { position: relative; }
.about-main { width: 100%; aspect-ratio: 3/4; object-fit: cover; object-position: top; }
.about-inset {
  position: absolute; bottom: -32px; right: -32px;
  width: 52%; aspect-ratio: 1; object-fit: cover;
  border: 6px solid var(--white); box-shadow: var(--shadow-lg);
}
.about-badge {
  position: absolute; top: 28px; left: -24px;
  background: var(--gold); color: var(--white); text-align: center; padding: 20px 18px;
}
.about-badge strong { display: block; font-family: 'Raleway', sans-serif; font-size: 40px; font-weight: 800; line-height: 1; }
.about-badge span { font-size: 10px; letter-spacing: 1.5px; text-transform: uppercase; }

.about-text { font-size: 15.5px; color: var(--muted); line-height: 1.85; margin-bottom: 18px; }
.about-features { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 28px 0 34px; }
.about-feat {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 16px; background: var(--off-white);
}
.about-feat-icon { color: var(--gold); margin-top: 2px; font-size: 15px; flex-shrink: 0; }
.about-feat strong { display: block; font-family: 'Raleway', sans-serif; font-size: 13px; font-weight: 700; color: var(--navy); margin-bottom: 3px; }
.about-feat p { font-size: 12.5px; color: var(--muted); line-height: 1.5; }

/* ── GALLERY ─────────────────────────────── */
.gallery-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  grid-template-rows: 260px 260px;
  gap: 5px;
}
.gal-item { overflow: hidden; position: relative; }
.gal-item.tall { grid-row: span 2; }
.gal-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.gal-item:hover img { transform: scale(1.05); }
.gal-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(26,45,90,.55) 0%, transparent 55%);
  opacity: 0; transition: opacity .3s;
  display: flex; align-items: flex-end; padding: 16px;
}
.gal-item:hover .gal-overlay { opacity: 1; }
.gal-overlay span { color: var(--white); font-size: 13px; font-weight: 600; font-family: 'Raleway', sans-serif; letter-spacing: .4px; }

/* ── TEAM ─────────────────────────────── */
.dentist-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 56px; }
.dentist-card { background: var(--white); border: 1px solid var(--border); overflow: hidden; transition: .25s; text-decoration: none; display: block; }
.dentist-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.dentist-photo-wrap { overflow: hidden; aspect-ratio: 3/4; }
.dentist-photo { width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: transform .5s; }
.dentist-card:hover .dentist-photo { transform: scale(1.04); }
.dentist-info { padding: 26px 24px 28px; }
.dentist-name { font-family: 'Raleway', sans-serif; font-size: 19px; font-weight: 800; color: var(--navy); margin-bottom: 3px; letter-spacing: -.2px; }
.dentist-creds { font-family: 'Raleway', sans-serif; font-size: 11px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--gold); margin-bottom: 14px; }
.dentist-divider { width: 28px; height: 2px; background: var(--gold); margin-bottom: 14px; }
.dentist-bio { font-size: 13.5px; color: var(--muted); line-height: 1.7; margin-bottom: 16px; }
.dentist-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.dentist-tag { font-size: 11px; font-weight: 600; font-family: 'Raleway', sans-serif; background: var(--navy-lt); color: var(--navy); padding: 4px 10px; letter-spacing: .3px; }

/* Support staff cards */
.staff-section { margin-top: 70px; }
.staff-section-title {
  font-family: 'Raleway', sans-serif; font-size: 13px; font-weight: 700;
  letter-spacing: 2.5px; text-transform: uppercase; color: var(--muted);
  margin-bottom: 24px; display: flex; align-items: center; gap: 14px;
}
.staff-section-title::after { content: ''; flex: 1; height: 1px; background: var(--border); }
.staff-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.staff-card {
  background: var(--white); border: 1px solid var(--border);
  display: flex; align-items: center; gap: 18px; padding: 20px 22px;
  transition: .22s;
}
.staff-card:hover { box-shadow: var(--shadow); border-color: var(--gold); }
.staff-avatar {
  width: 54px; height: 54px; border-radius: 50%; flex-shrink: 0;
  background: var(--navy); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Raleway', sans-serif; font-size: 18px; font-weight: 800;
}
.staff-name { font-family: 'Raleway', sans-serif; font-size: 14.5px; font-weight: 700; color: var(--navy); margin-bottom: 3px; }
.staff-role { font-size: 12px; font-weight: 600; font-family: 'Raleway', sans-serif; color: var(--gold); letter-spacing: .5px; text-transform: uppercase; margin-bottom: 2px; }
.staff-cred { font-size: 12px; color: var(--muted); }

/* ── TEAM BANNER ─────────────────────────────── */
.team-banner { position: relative; overflow: hidden; }
.team-banner-img { width: 100%; height: 480px; object-fit: cover; object-position: center 35%; display: block; }
.team-banner-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to right, rgba(26,45,90,.9) 0%, rgba(26,45,90,.55) 55%, transparent 100%);
  display: flex; align-items: center;
}
.team-banner-text { color: var(--white); padding: 0 72px; max-width: 560px; }
.team-banner-text h2 { font-family: 'Raleway', sans-serif; font-size: 38px; font-weight: 800; margin-bottom: 14px; line-height: 1.2; }
.team-banner-text p { font-size: 16px; color: rgba(255,255,255,.76); line-height: 1.8; }

/* ── TESTIMONIALS ─────────────────────────────── */
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.testi-card {
  background: var(--white); border: 1px solid var(--border);
  padding: 32px; position: relative; transition: .22s;
}
.testi-card:hover { box-shadow: var(--shadow); }
.testi-stars { display: flex; gap: 3px; color: var(--gold); font-size: 13px; margin-bottom: 16px; }
.testi-text {
  font-size: 14.5px; color: var(--text); line-height: 1.75;
  font-style: italic; margin-bottom: 22px;
}
.testi-mark { font-size: 72px; color: var(--navy-lt); font-family: Georgia, serif; position: absolute; top: 12px; left: 20px; line-height: 1; opacity: .4; }
.testi-author { display: flex; align-items: center; gap: 13px; padding-top: 18px; border-top: 1px solid var(--border); }
.testi-av {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--navy); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Raleway', sans-serif; font-size: 16px; font-weight: 700; flex-shrink: 0;
}
.testi-av-name { font-family: 'Raleway', sans-serif; font-size: 14px; font-weight: 700; color: var(--navy); }
.testi-av-label { font-size: 11.5px; color: var(--muted); margin-top: 2px; }
.testi-platform {
  position: absolute; top: 16px; right: 18px;
  display: flex; align-items: center; gap: 5px;
  font-family: 'Raleway', sans-serif; font-size: 11px; font-weight: 700; letter-spacing: .5px; text-transform: uppercase;
}
.testi-platform i { font-size: 15px; }
.testi-platform.google { color: #4285F4; }
.testi-platform.yelp   { color: #d32323; }

.ratings-bar {
  display: grid; grid-template-columns: repeat(5, 1fr);
  background: var(--navy); margin-top: 44px;
}
.rating-cell {
  padding: 30px 16px; text-align: center;
  border-right: 1px solid rgba(255,255,255,.08);
}
.rating-cell:last-child { border-right: none; }
.rating-cell strong { display: block; font-family: 'Raleway', sans-serif; font-size: 38px; font-weight: 800; color: var(--gold); line-height: 1; margin-bottom: 6px; }
.rating-cell span { font-size: 11px; color: rgba(255,255,255,.55); letter-spacing: 1px; text-transform: uppercase; display: block; }
.rating-platform { display: flex; align-items: center; justify-content: center; gap: 5px; margin-bottom: 10px; font-size: 11px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; font-family: 'Raleway', sans-serif; }
.rating-platform i { font-size: 14px; }
.rating-platform.google { color: #6aaff5; }
.rating-platform.yelp   { color: #f5876a; }

/* ── LOCATION ─────────────────────────────── */
.location-split { display: grid; grid-template-columns: 1fr 1fr; }
.location-map-wrap { min-height: 500px; }
.location-map-wrap iframe { width: 100%; height: 100%; border: none; display: block; }
.location-info { background: var(--navy); color: var(--white); padding: 72px 56px; display: flex; flex-direction: column; justify-content: center; }
.location-info h2 { font-family: 'Raleway', sans-serif; font-size: 34px; font-weight: 800; margin-bottom: 32px; }
.loc-items { display: flex; flex-direction: column; gap: 20px; margin-bottom: 36px; }
.loc-item { display: flex; gap: 16px; align-items: flex-start; }
.loc-item i { color: var(--gold); margin-top: 4px; font-size: 13px; width: 16px; flex-shrink: 0; }
.loc-item-text { font-size: 15px; color: rgba(255,255,255,.8); line-height: 1.6; }
.loc-item-text a { color: rgba(255,255,255,.9); text-decoration: none; font-weight: 600; }
.loc-item-text a:hover { color: var(--gold); }
.hours-list { display: flex; flex-direction: column; gap: 0; }
.hours-row { display: flex; justify-content: space-between; padding: 9px 0; border-bottom: 1px solid rgba(255,255,255,.07); font-size: 14px; }
.hours-row:last-child { border-bottom: none; }
.h-day { color: rgba(255,255,255,.6); }
.h-time.open  { color: #6DD9B3; font-weight: 600; }
.h-time.appt  { color: var(--gold); font-weight: 600; }
.h-time.closed { color: rgba(255,255,255,.3); }

/* ── NEW PATIENTS / FORMS ─────────────────────────────── */
.np-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: start; }
.np-steps { display: flex; flex-direction: column; gap: 30px; margin-top: 36px; }
.np-step { display: flex; gap: 20px; align-items: flex-start; }
.np-num {
  width: 44px; height: 44px; flex-shrink: 0;
  background: var(--navy); color: var(--gold);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Raleway', sans-serif; font-size: 20px; font-weight: 800;
}
.np-step h4 { font-family: 'Raleway', sans-serif; font-size: 14px; font-weight: 700; color: var(--navy); margin-bottom: 5px; text-transform: uppercase; letter-spacing: .5px; }
.np-step p { font-size: 14px; color: var(--muted); line-height: 1.7; }
.np-note { margin-top: 30px; padding: 20px 22px; background: var(--gold-lt); border-left: 3px solid var(--gold); font-size: 14px; color: var(--muted); line-height: 1.7; }
.np-note strong { color: var(--navy); }

.np-form { background: var(--white); border: 1px solid var(--border); padding: 42px 38px; box-shadow: var(--shadow); }
.np-form h3 { font-family: 'Raleway', sans-serif; font-size: 24px; font-weight: 800; color: var(--navy); margin-bottom: 26px; }
.form-group { margin-bottom: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
label.form-label { display: block; font-family: 'Raleway', sans-serif; font-size: 11px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; color: var(--navy); margin-bottom: 6px; }
.form-control {
  width: 100%; padding: 12px 14px;
  border: 1px solid var(--border); border-radius: 0;
  font-size: 14px; font-family: 'Roboto', sans-serif; color: var(--text);
  background: var(--white); outline: none; transition: border-color .2s;
  -webkit-appearance: none;
}
.form-control:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(192,154,69,.12); }
select.form-control { cursor: pointer; }
.btn-form {
  width: 100%; padding: 15px; margin-top: 8px;
  background: var(--navy); color: var(--white); border: none; cursor: pointer;
  font-family: 'Raleway', sans-serif; font-size: 13px; font-weight: 700;
  letter-spacing: 1.8px; text-transform: uppercase; transition: background .22s;
}
.btn-form:hover { background: var(--gold); }

/* ── SERVICE PAGE LAYOUT ─────────────────────────────── */
.service-layout { display: grid; grid-template-columns: 1fr 360px; gap: 56px; align-items: start; }
.service-sidebar { position: sticky; top: 110px; }
.service-sidebar .np-form { margin-bottom: 24px; }
.service-sidebar .np-form h3 { font-size: 20px; margin-bottom: 20px; }

.benefits-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin: 36px 0; }
.benefit-item {
  padding: 22px; background: var(--off-white); border-left: 3px solid var(--gold);
  display: flex; gap: 14px; align-items: flex-start;
}
.benefit-item i { color: var(--gold); font-size: 18px; margin-top: 2px; flex-shrink: 0; }
.benefit-item h4 { font-family: 'Raleway', sans-serif; font-size: 14px; font-weight: 700; color: var(--navy); margin-bottom: 5px; }
.benefit-item p { font-size: 13px; color: var(--muted); line-height: 1.6; }

.process-steps { display: flex; flex-direction: column; gap: 0; margin: 36px 0; }
.process-step { display: flex; gap: 20px; padding: 24px 0; border-bottom: 1px solid var(--border); }
.process-step:last-child { border-bottom: none; }
.process-num {
  width: 40px; height: 40px; flex-shrink: 0; background: var(--navy); color: var(--gold);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Raleway', sans-serif; font-size: 18px; font-weight: 800;
}
.process-step h4 { font-family: 'Raleway', sans-serif; font-size: 15px; font-weight: 700; color: var(--navy); margin-bottom: 6px; }
.process-step p { font-size: 14px; color: var(--muted); line-height: 1.7; }

/* ── FAQ ─────────────────────────────── */
.faq-list { display: flex; flex-direction: column; gap: 0; margin-top: 36px; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item:first-child { border-top: 1px solid var(--border); }
.faq-question {
  width: 100%; background: none; border: none; cursor: pointer; text-align: left;
  padding: 20px 0; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  font-family: 'Raleway', sans-serif; font-size: 16px; font-weight: 700; color: var(--navy);
}
.faq-question i { font-size: 12px; color: var(--gold); transition: transform .3s; flex-shrink: 0; }
.faq-item.open .faq-question i { transform: rotate(180deg); }
.faq-answer { font-size: 14.5px; color: var(--muted); line-height: 1.8; max-height: 0; overflow: hidden; transition: max-height .35s ease, padding .35s; }
.faq-item.open .faq-answer { max-height: 400px; padding-bottom: 20px; }

/* ── RELATED SERVICES ─────────────────────────────── */
.related-services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); }
.related-svc {
  background: var(--white); padding: 24px 20px; text-decoration: none;
  transition: .22s; display: block;
}
.related-svc:hover { background: var(--gold-lt); }
.related-svc i { color: var(--gold); font-size: 20px; margin-bottom: 10px; display: block; }
.related-svc h4 { font-family: 'Raleway', sans-serif; font-size: 14px; font-weight: 700; color: var(--navy); margin-bottom: 4px; }
.related-svc p { font-size: 12.5px; color: var(--muted); line-height: 1.5; }

/* ── SIDEBAR QUICK LINKS ─────────────────────────────── */
.sidebar-nav { background: var(--navy); padding: 28px; }
.sidebar-nav h4 { font-family: 'Raleway', sans-serif; font-size: 12px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: rgba(255,255,255,.5); margin-bottom: 16px; }
.sidebar-nav a {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 0; font-size: 13.5px; color: rgba(255,255,255,.75); text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,.07); transition: .2s;
  font-family: 'Roboto', sans-serif;
}
.sidebar-nav a:last-child { border-bottom: none; }
.sidebar-nav a:hover { color: var(--gold); }
.sidebar-nav a.current { color: var(--gold); font-weight: 600; }

/* ── DOCTOR PROFILE ─────────────────────────────── */
.doctor-hero { background: var(--off-white); padding: 0; overflow: hidden; }
.doctor-hero-inner { display: grid; grid-template-columns: 400px 1fr; min-height: 500px; }
.doctor-photo-full { width: 100%; height: 100%; object-fit: cover; object-position: top center; display: block; }
.doctor-hero-content { padding: 56px 64px; display: flex; flex-direction: column; justify-content: center; }
.doctor-quote {
  font-size: 18px; color: var(--navy); font-style: italic; line-height: 1.7;
  border-left: 3px solid var(--gold); padding-left: 20px; margin: 28px 0;
}
.credential-list { display: flex; flex-direction: column; gap: 10px; margin: 24px 0; }
.credential-item { display: flex; gap: 12px; align-items: flex-start; }
.credential-item i { color: var(--gold); font-size: 14px; margin-top: 3px; flex-shrink: 0; }
.credential-item span { font-size: 14.5px; color: var(--muted); line-height: 1.5; }

/* ── CTA ─────────────────────────────── */
.cta-section { position: relative; overflow: hidden; }
.cta-bg { position: absolute; inset: 0; background-image: url('/images/office-1.jpg'); background-size: cover; background-position: center 20%; }
.cta-overlay { position: absolute; inset: 0; background: rgba(26,45,90,.88); }
.cta-inner { position: relative; z-index: 1; padding: 300px 0 84px; text-align: center; color: var(--white); }
.cta-inner h2 { font-family: 'Raleway', sans-serif; font-size: clamp(28px,4vw,46px); font-weight: 800; margin-bottom: 14px; letter-spacing: -.3px; }
.cta-inner .cta-heading { font-family: 'Playfair Display', serif; font-weight: 800; font-size: clamp(30px,4.6vw,56px); line-height: 1.14; letter-spacing: 0; margin-bottom: 16px; text-shadow: 0 2px 24px rgba(0,0,0,.55); }
.cta-inner .cta-heading .cta-italic { color: var(--brand-lt); font-weight: 400; font-style: italic; }
.cta-inner .cta-heading .cta-under { display: inline-block; margin-top: 6px; font-style: italic; font-weight: 400; font-size: .48em; color: rgba(255,255,255,.92); letter-spacing: .5px; }
.cta-inner p { font-size: 17px; color: rgba(255,255,255,.85); max-width: 520px; margin: 0 auto 38px; line-height: 1.8; text-shadow: 0 1px 12px rgba(0,0,0,.5); }
.cta-btns { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }
@media (max-width: 700px){ .cta-inner { padding: 200px 0 64px; } }

/* ── FOOTER ─────────────────────────────── */
footer { background: #0E1C38; color: rgba(255,255,255,.62); }
.footer-top { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 48px; padding: 70px 0 48px; }

.footer-logo-wrap { display: flex; align-items: center; margin-bottom: 16px; }
.footer-logo-wrap img { height: 44px; width: auto; }

.footer-brand-text { font-size: 13.5px; line-height: 1.8; max-width: 270px; margin-bottom: 22px; }
.footer-social { display: flex; gap: 9px; }
.footer-social a {
  width: 36px; height: 36px; border: 1px solid rgba(255,255,255,.12);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.5); font-size: 13px; text-decoration: none; transition: .2s;
}
.footer-social a:hover { border-color: var(--gold); color: var(--gold); }

.footer-col h4 { font-family: 'Raleway', sans-serif; font-size: 11px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--white); margin-bottom: 20px; }
.footer-list { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-list a { font-size: 13.5px; color: rgba(255,255,255,.55); text-decoration: none; transition: .2s; font-family: 'Roboto', sans-serif; }
.footer-list a:hover { color: var(--gold); }

.footer-contact { display: flex; flex-direction: column; gap: 13px; }
.fc { display: flex; gap: 12px; align-items: flex-start; }
.fc i { color: var(--gold); font-size: 12px; margin-top: 4px; width: 14px; flex-shrink: 0; }
.fc span, .fc a { font-size: 13.5px; color: rgba(255,255,255,.6); line-height: 1.55; text-decoration: none; }
.fc a:hover { color: var(--gold); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.07); padding: 20px 0;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; font-size: 12.5px;
}
.footer-bottom a { color: rgba(255,255,255,.38); text-decoration: none; margin-left: 18px; }
.footer-bottom a:hover { color: var(--gold); }

/* ── MOBILE MENU ─────────────────────────────── */
.mobile-menu {
  display: none; position: fixed; inset: 0; z-index: 2000;
  background: var(--navy); flex-direction: column; padding: 24px; overflow-y: auto;
}
.mobile-menu.open { display: flex; }
.mm-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 28px; }
.mm-head img { height: 42px; }
.mm-close { background: none; border: none; font-size: 22px; cursor: pointer; color: var(--white); }
.mm-links { display: flex; flex-direction: column; flex: 1; gap: 2px; }
.mm-links a { padding: 14px 10px; font-family: 'Raleway', sans-serif; font-size: 18px; font-weight: 600; color: rgba(255,255,255,.85); text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.1); text-transform: uppercase; letter-spacing: 1px; }
.mm-links a:hover { color: var(--gold); }
.mm-section { font-family: 'Raleway', sans-serif; font-size: 10px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: rgba(255,255,255,.3); padding: 16px 10px 4px; }
.mm-links .mm-sub { font-size: 15px; padding: 10px 10px 10px 22px; color: rgba(255,255,255,.65); }
.mm-cta { margin-top: 24px; }

/* ── SCROLL REVEAL ─────────────────────────────── */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: none; }
.reveal:nth-child(2) { transition-delay: .1s; }
.reveal:nth-child(3) { transition-delay: .2s; }
.reveal:nth-child(4) { transition-delay: .3s; }

/* ── BLOG ─────────────────────────────── */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.blog-card { background: var(--white); border: 1px solid var(--border); overflow: hidden; transition: .25s; text-decoration: none; display: block; }
.blog-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.blog-img { width: 100%; height: 200px; object-fit: cover; }
.blog-content { padding: 24px; }
.blog-cat { font-family: 'Raleway', sans-serif; font-size: 10px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--gold); margin-bottom: 8px; }
.blog-title { font-family: 'Raleway', sans-serif; font-size: 20px; font-weight: 700; color: var(--navy); line-height: 1.2; margin-bottom: 10px; }
.blog-excerpt { font-size: 13.5px; color: var(--muted); line-height: 1.65; }
.blog-meta { font-size: 12px; color: var(--muted); margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--border); }

/* ── OFFER CARD ─────────────────────────────── */
.offer-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.offer-card { background: var(--white); border: 1px solid var(--border); padding: 36px 32px; text-align: center; transition: .25s; }
.offer-card:hover { box-shadow: var(--shadow-lg); border-color: var(--gold); }
.offer-price { font-family: 'Raleway', sans-serif; font-size: 52px; font-weight: 900; color: var(--gold); line-height: 1; margin-bottom: 4px; }
.offer-price sup { font-size: 24px; }
.offer-label { font-family: 'Raleway', sans-serif; font-size: 16px; font-weight: 700; color: var(--navy); margin-bottom: 16px; }
.offer-desc { font-size: 13.5px; color: var(--muted); line-height: 1.65; margin-bottom: 24px; }

/* ── RESPONSIVE ─────────────────────────────── */
@media (max-width: 1050px) {
  .services-layout { grid-template-columns: 1fr; }
  .services-sticky { position: static; }
  .about-grid { grid-template-columns: 1fr; }
  .about-inset { display: none; }
  .about-badge { top: 16px; left: 16px; }
  .dentist-grid { grid-template-columns: 1fr 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .ratings-bar { grid-template-columns: repeat(3, 1fr); }
  .service-layout { grid-template-columns: 1fr; }
  .service-sidebar { position: static; }
  .doctor-hero-inner { grid-template-columns: 1fr; }
  .doctor-photo-full { max-height: 400px; }
  .nav-drop-menu.wide { min-width: 280px; grid-template-columns: 1fr; }
}
@media (max-width: 820px) {
  .testi-grid { grid-template-columns: 1fr 1fr; }
  .location-split { grid-template-columns: 1fr; }
  .location-map-wrap { min-height: 300px; }
  .np-layout { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .team-banner-text { padding: 0 32px; }
  .blog-grid { grid-template-columns: 1fr 1fr; }
  .offer-grid { grid-template-columns: 1fr 1fr; }
  .related-services { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .container, .container-wide { padding: 0 20px; }
  .section { padding: 64px 0; }
  .dentist-grid { grid-template-columns: 1fr; }
  .staff-grid { grid-template-columns: 1fr; }
  .testi-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  .gal-item.tall { grid-row: span 1; }
  .ratings-bar { grid-template-columns: 1fr 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .trust-strip-inner { flex-direction: column; }
  .trust-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,.2); }
  .team-banner-img { height: 320px; }
  .team-banner-overlay { align-items: flex-end; }
  .team-banner-text { padding: 0 20px 32px; max-width: 100%; }
  .team-banner-text h2 { font-size: 26px; }
  .hero-stats { gap: 24px; }
  .blog-grid { grid-template-columns: 1fr; }
  .offer-grid { grid-template-columns: 1fr; }
  .benefits-grid { grid-template-columns: 1fr; }
  .related-services { grid-template-columns: 1fr; }
  .about-features { grid-template-columns: 1fr; }
  .doctor-hero-content { padding: 32px 24px; }
}

/* ── AFFILIATIONS MARQUEE ──────────────────── */
.affiliations-section {
  background: #fff;
  padding: 32px 0 28px;
  border-top: 1px solid #e8edf5;
  border-bottom: 1px solid #e8edf5;
  overflow: hidden;
}
.affiliations-eyebrow {
  text-align: center;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 700;
  margin-bottom: 4px;
}
.affiliations-title {
  text-align: center;
  font-family: 'Raleway', sans-serif;
  font-size: 26px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 2px;
}
.affiliations-sub {
  text-align: center;
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 20px;
}
.affiliations-track-wrap {
  overflow: hidden;
  position: relative;
}
.affiliations-track-wrap::before,
.affiliations-track-wrap::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 120px;
  z-index: 2;
  pointer-events: none;
}
.affiliations-track-wrap::before {
  left: 0;
  background: linear-gradient(to right, #fff 60%, transparent);
}
.affiliations-track-wrap::after {
  right: 0;
  background: linear-gradient(to left, #fff 60%, transparent);
}
.affiliations-track {
  display: flex;
  align-items: center;
  gap: 64px;
  width: max-content;
  padding: 8px 32px;
  animation: affiliations-scroll 32s linear infinite;
}
.affiliations-track:hover {
  animation-play-state: paused;
}
@keyframes affiliations-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.affil-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  opacity: 0.85;
  transition: opacity 0.2s;
}
.affil-logo:hover { opacity: 1; }
.affil-logo img {
  height: 52px;
  width: auto;
  object-fit: contain;
  display: block;
}

/* ── FOOTER SERVICE AREAS ──────────────────── */
.footer-service-areas {
  width: 100%;
  text-align: center;
  font-size: 12px;
  color: rgba(255,255,255,0.45);
  padding: 10px 0 0;
  letter-spacing: 0.2px;
}

/* ── BLOG ARTICLE (migrated posts) ───────── */
.container-narrow { max-width: 820px; margin: 0 auto; padding: 0 36px; }
.blog-article { padding: 56px 0 72px; }
.blog-article h1 { font-family: 'Playfair Display', serif; font-size: clamp(30px,4vw,44px); line-height: 1.18; color: var(--navy); margin: 6px 0 26px; }
.blog-date { color: var(--muted); font-size: 14px; display: flex; align-items: center; gap: 8px; letter-spacing: .3px; }
.prose { font-size: 17.5px; line-height: 1.75; color: var(--text); }
.prose p { margin: 0 0 20px; }
.prose h2 { font-family: 'Playfair Display', serif; color: var(--navy); font-size: 27px; margin: 40px 0 14px; }
.prose h3 { color: var(--navy-mid); font-size: 21px; margin: 30px 0 12px; }
.prose a { color: var(--blue); text-decoration: underline; text-underline-offset: 2px; }
.prose ul, .prose ol { margin: 0 0 20px 24px; }
.prose li { margin: 0 0 9px; }
.prose img { max-width: 100%; height: auto; border-radius: 10px; margin: 8px 0; box-shadow: var(--shadow); }
.prose img[width="300"] { float: right; max-width: 320px; margin: 6px 0 18px 26px; }
@media (max-width: 640px){ .prose img[width="300"]{ float:none; margin: 8px auto; display:block; } }
.blog-cta { margin-top: 44px; padding: 30px 32px; background: var(--navy-lt); border-left: 4px solid var(--gold); border-radius: 10px; }
.blog-cta p { margin: 0 0 18px; font-size: 17px; color: var(--navy); font-weight: 500; }
.blog-cta .btn { margin-right: 12px; }
.btn-outline { background: transparent; color: var(--navy); border: 1.5px solid var(--navy); }
.btn-outline:hover { background: var(--navy); color: var(--white); }

/* ── BLOG INDEX GRID ─────────────────────── */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
@media (max-width: 900px){ .blog-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px){ .blog-grid { grid-template-columns: 1fr; } }
.blog-card { display: block; background: var(--white); border: 1px solid var(--border); border-radius: 12px; padding: 26px 24px; text-decoration: none; transition: .25s; box-shadow: var(--shadow); }
.blog-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--gold); }
.blog-card-date { color: var(--gold); font-size: 12.5px; font-weight: 600; letter-spacing: .5px; text-transform: uppercase; }
.blog-card h3 { font-family: 'Playfair Display', serif; color: var(--navy); font-size: 20px; line-height: 1.3; margin: 10px 0 12px; }
.blog-card p { color: var(--muted); font-size: 15px; line-height: 1.6; margin: 0 0 16px; }
.blog-card-link { color: var(--blue); font-weight: 600; font-size: 14.5px; }

/* ── HOMEPAGE CUSTOM SECTIONS (Smiles for Life) ── */
.affiliations-inner { display:flex; flex-wrap:wrap; justify-content:center; gap:14px 40px; }
.affiliations-inner span { display:flex; align-items:center; gap:9px; color:var(--navy); font-weight:500; font-size:14.5px; }
.affiliations-inner i { color:var(--gold); }

.pillars-intro, .sleep-band-intro, .pillars-intro { max-width:720px; margin:14px auto 0; color:var(--muted); font-size:17px; line-height:1.65; }
.pillars { display:grid; grid-template-columns:1fr 1fr; gap:30px; margin-top:52px; }
@media (max-width:800px){ .pillars{ grid-template-columns:1fr; } }
.pillar-card { background:var(--white); border:1px solid var(--border); border-radius:16px; overflow:hidden; box-shadow:var(--shadow); transition:.28s; display:flex; flex-direction:column; }
.pillar-card:hover { transform:translateY(-6px); box-shadow:var(--shadow-lg); }
.pillar-media { position:relative; height:230px; overflow:hidden; flex:0 0 auto; }
.pillar-media img { width:100%; height:100%; object-fit:cover; transition:transform .6s ease; }
.pillar-card:hover .pillar-media img { transform:scale(1.06); }
.pillar-media::after { content:""; position:absolute; inset:0; background:linear-gradient(to bottom, rgba(12,25,23,.10) 0%, rgba(12,25,23,.15) 55%, rgba(24,48,43,.85) 100%); }
.pillar-media-tag { position:absolute; z-index:2; bottom:16px; left:20px; display:inline-flex; align-items:center; gap:8px; background:rgba(10,20,18,.9); border:1px solid rgba(116,183,172,.35); color:var(--brand-lt); padding:7px 15px; border-radius:22px; font-family:'Raleway',sans-serif; font-size:11.5px; font-weight:700; letter-spacing:1px; text-transform:uppercase; }
.pillar-body { padding:32px 34px 36px; border-top:3px solid var(--brand); flex:1; display:flex; flex-direction:column; }
.pillar-card.pillar-sleep .pillar-body { border-top-color:var(--brand-lt); }
.pillar-card h3 { font-family:'Playfair Display',serif; color:var(--navy); font-size:27px; margin:0 0 14px; }
.pillar-body p { color:var(--muted); line-height:1.7; margin:0 0 20px; }
.pillar-list { list-style:none; padding:0; margin:0 0 28px; }
.pillar-list li { padding:10px 0 10px 40px; position:relative; border-bottom:1px solid var(--border); color:var(--text); font-size:15.5px; }
.pillar-list li:before {
  content:"\f00c"; font-family:"Font Awesome 6 Free"; font-weight:900; font-size:11px; color:#fff;
  background:var(--brand); position:absolute; left:0; top:8px;
  width:24px; height:24px; border-radius:7px;
  display:flex; align-items:center; justify-content:center;
}
.pillar-card.pillar-sleep .pillar-list li:before { background:var(--brand-lt); color:var(--ink); }
.pillar-body .btn { margin-top:auto; align-self:flex-start; }

.sleep-band { position:relative; }
.eyebrow.light, .section-heading.light { color:var(--white); }
.eyebrow.light { color:var(--gold); }
.sleep-band-intro { color:rgba(255,255,255,.82); }
.sleep-features { display:grid; grid-template-columns:repeat(3,1fr); gap:26px; margin-top:48px; }
@media (max-width:800px){ .sleep-features{ grid-template-columns:1fr; } }
.sleep-feat { background:rgba(255,255,255,.06); border:1px solid rgba(255,255,255,.14); border-radius:12px; padding:30px 26px; }
.sleep-feat i { font-size:26px; color:var(--gold); margin-bottom:14px; }
.sleep-feat h4 { color:var(--white); font-size:19px; margin:0 0 10px; font-family:'Playfair Display',serif; }
.sleep-feat p { color:rgba(255,255,255,.72); font-size:15px; line-height:1.6; margin:0 0 14px; }
.sleep-feat a { color:var(--gold); font-weight:600; font-size:14.5px; }

.rating-summary { margin-top:14px; color:var(--navy); font-size:18px; }
.rating-summary .stars { color:var(--gold); letter-spacing:2px; }
.reviews-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:26px; }
@media (max-width:800px){ .reviews-grid{ grid-template-columns:1fr; } }
.review-card { background:var(--white); border:1px solid var(--border); border-radius:12px; padding:30px 28px; box-shadow:var(--shadow); }
.review-card .stars { color:var(--gold); letter-spacing:2px; font-size:16px; }
.review-card p { color:var(--text); line-height:1.7; margin:14px 0 16px; font-style:italic; }
.review-name { color:var(--muted); font-weight:600; font-size:14px; }

.appt-layout { display:grid; grid-template-columns:1fr 1fr; gap:56px; align-items:center; }
@media (max-width:820px){ .appt-layout{ grid-template-columns:1fr; gap:36px; } }
.appt-contact { margin-top:26px; display:flex; flex-direction:column; gap:16px; }
.appt-contact .fc { display:flex; align-items:flex-start; gap:14px; color:var(--text); font-size:15.5px; }
.appt-contact .fc i { color:var(--gold); margin-top:3px; width:20px; }
.appt-contact a { color:var(--navy); text-decoration:none; }

/* feat cards on light background (About credentials) */
.sleep-feat.feat-light { background:var(--off-white); border:1px solid var(--border); }
.sleep-feat.feat-light h4 { color:var(--navy); }
.sleep-feat.feat-light p { color:var(--muted); }
.sleep-feat.feat-light i { color:var(--gold); }

/* page-hero eyebrow safety (uses gold underline lead-in) */
.page-hero-eyebrow { display:flex; align-items:center; gap:10px; }

/* ── CONTACT: hours + map ────────────────── */
.hours-title { font-family:'Playfair Display',serif; color:var(--navy); font-size:20px; margin:30px 0 12px; }
.hours-table { width:100%; border-collapse:collapse; }
.hours-table td { padding:10px 0; border-bottom:1px solid var(--border); font-size:15.5px; color:var(--text); }
.hours-table td:last-child { text-align:right; color:var(--muted); }
.map-wrap { line-height:0; }
.map-wrap iframe { display:block; filter:grayscale(.2); }

/* ── VIDEO TESTIMONIAL FACADES ───────────── */
.video-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:20px; margin-top:44px; }
@media (max-width:960px){ .video-grid{ grid-template-columns:1fr 1fr; } }
@media (max-width:560px){ .video-grid{ grid-template-columns:1fr; } }
.yt-facade { position:relative; aspect-ratio:16/9; border-radius:12px; overflow:hidden; background-size:cover; background-position:center; cursor:pointer; box-shadow:var(--shadow); border:1px solid var(--border); }
.yt-facade:before { content:""; position:absolute; inset:0; background:rgba(26,45,90,.28); transition:.25s; }
.yt-facade:hover:before { background:rgba(26,45,90,.12); }
.yt-play { position:absolute; top:50%; left:50%; transform:translate(-50%,-50%); width:58px; height:58px; border-radius:50%; border:none; background:var(--gold); color:#fff; font-size:20px; cursor:pointer; display:flex; align-items:center; justify-content:center; box-shadow:0 4px 18px rgba(0,0,0,.3); transition:.2s; }
.yt-facade:hover .yt-play { transform:translate(-50%,-50%) scale(1.08); }
.yt-facade.yt-loaded { cursor:default; }
.yt-facade.yt-loaded:before { display:none; }
.yt-facade iframe { position:absolute; inset:0; width:100%; height:100%; border:0; }

/* ═══════════════════════════════════════════════
   HOMEPAGE DARK GREEN THEME (scoped to body.home)
   ═══════════════════════════════════════════════ */
body.home { background: var(--ink); }
.home .section { background: var(--ink); }
.home .section-gray { background: var(--ink-2); }
.home .section-heading { color: var(--cream); }
.home .eyebrow { color: var(--brand-lt); }
.home .eyebrow::before, .home .eyebrow::after { background: var(--brand-lt); }
.home .pillars-intro, .home .rating-summary { color: var(--muted-l); }
.home .rating-summary strong { color: var(--cream); }

/* Credentials strip */
.home .affiliations-section { background: var(--ink-2); border-top: 1px solid rgba(116,183,172,.14); border-bottom: 1px solid rgba(116,183,172,.14); }
.home .affiliations-inner span { color: var(--cream); }
.home .affiliations-inner i { color: var(--brand-lt); }

/* Two pillars */
.home .pillar-card { background: var(--ink-3); border-color: rgba(255,255,255,.08); }
.home .pillar-card h3 { color: var(--cream); }
.home .pillar-body p { color: var(--muted-l); }
.home .pillar-list li { color: var(--cream); border-bottom-color: rgba(255,255,255,.08); }
.home .pillar-list li:before { color: #fff; }
.home .pillar-card.pillar-sleep .pillar-list li:before { color: var(--ink); }

/* Service cards */
.home .svc-card { background: var(--ink-3); border: 1px solid rgba(255,255,255,.07); }
.home .svc-card:hover { background: var(--ink-2); }
.home .svc-icon-wrap { background: rgba(116,183,172,.14); color: var(--brand-lt); }
.home .svc-card:hover .svc-icon-wrap { background: var(--brand); color: #fff; }
.home .svc-card h3 { color: var(--cream); }
.home .svc-card p { color: var(--muted-l); }
.home .svc-card .svc-link { color: var(--brand-lt); }

/* About Dr. Goel */
.home #about p { color: var(--muted-l); }
.home .about-feat { background: var(--ink-3); border: 1px solid rgba(255,255,255,.07); }
.home .about-feat strong { color: var(--cream); }
.home .about-feat span, .home .about-feat p { color: var(--muted-l); }
.home .about-feat i { color: var(--brand-lt); }
.home .about-badge { background: var(--brand); color: #fff; }

/* Reviews */
.home .review-card { background: var(--ink-3); border: 1px solid rgba(255,255,255,.07); }
.home .review-card p { color: var(--cream); }
.home .review-name { color: var(--muted-l); }

/* Appointment form on dark */
.home #appointment p { color: var(--muted-l); }
.home .appt-contact .fc { color: var(--cream); }
.home .appt-contact a { color: var(--brand-lt); }
.home .np-form { background: var(--ink-3); border: 1px solid rgba(255,255,255,.08); }
.home .np-form h3 { color: var(--cream); }
.home .np-form label.form-label { color: var(--muted-l); }
.home .np-form .form-control { background: var(--ink-2); border-color: rgba(255,255,255,.14); color: var(--cream); }
.home .np-form .form-control::placeholder { color: rgba(255,255,255,.35); }
.home .np-form .form-control:focus { border-color: var(--brand-lt); box-shadow: 0 0 0 3px rgba(116,183,172,.18); }

/* Buttons on dark */
.home .btn-navy { background: var(--brand); color: #fff; }
.home .btn-navy:hover { background: var(--brand-lt); color: var(--ink); }

/* CTA band */
.home .cta-overlay { background: linear-gradient(to bottom, rgba(9,20,18,.28) 0%, rgba(9,20,18,.40) 42%, rgba(9,20,18,.78) 100%); }

/* Global: recolor focus + form accents away from gold (all pages) */
.form-control:focus { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(72,136,128,.15); }

/* ── HERO CREDENTIAL FLAG ─────────────────── */
.hero-cred { display: inline-flex; align-items: center; gap: 14px; background: rgba(116,183,172,.10); border: 1px solid rgba(116,183,172,.30); border-left: 3px solid var(--brand-lt); border-radius: 10px; padding: 12px 18px; margin-bottom: 28px; max-width: 500px; }
.hero-cred i { color: var(--brand-lt); font-size: 24px; flex-shrink: 0; }
.hero-cred span { font-size: 13px; color: rgba(255,255,255,.82); line-height: 1.45; }
.hero-cred strong { color: #fff; font-size: 15px; display: block; letter-spacing: .2px; }

/* ── CREDENTIALS BAND (dual board certification) ─ */
.creds-band { background: var(--ink-2); padding: 84px 0; border-top: 1px solid rgba(116,183,172,.12); border-bottom: 1px solid rgba(116,183,172,.12); }
.creds-band .section-heading { color: var(--cream); }
.creds-band .eyebrow { color: var(--brand-lt); }
.creds-band .eyebrow::before, .creds-band .eyebrow::after { background: var(--brand-lt); }
.creds-intro { max-width: 730px; margin: 14px auto 0; color: var(--muted-l); font-size: 17px; line-height: 1.7; }
.creds-intro strong { color: var(--cream); }
.creds-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; margin: 50px 0 40px; }
@media (max-width: 820px){ .creds-grid { grid-template-columns: 1fr; } }
.cred-seal { display: flex; gap: 24px; align-items: center; background: var(--ink-3); border: 1px solid rgba(255,255,255,.08); border-radius: 14px; padding: 30px 30px; }
.cred-medal { flex-shrink: 0; width: 108px; height: 108px; border-radius: 50%; background: radial-gradient(circle at 50% 36%, rgba(116,183,172,.24), rgba(116,183,172,.05)); border: 2px solid var(--brand); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; box-shadow: 0 0 0 6px rgba(116,183,172,.06); }
.cred-medal i { font-size: 36px; color: var(--brand-lt); }
.cred-medal span { font-size: 9.5px; letter-spacing: 2px; text-transform: uppercase; color: var(--brand-lt); font-weight: 700; margin-top: 6px; }
.cred-text strong { display: block; font-family: 'Playfair Display', serif; color: var(--cream); font-size: 21px; line-height: 1.25; margin-bottom: 9px; }
.cred-text p { color: var(--muted-l); font-size: 14.5px; line-height: 1.6; margin: 0; }
.creds-meta { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 34px; padding-top: 10px; }
.creds-meta span { display: flex; align-items: center; gap: 9px; color: var(--cream); font-size: 14.5px; }
.creds-meta i { color: var(--brand-lt); }
@media (max-width: 560px){ .cred-seal { flex-direction: column; text-align: center; gap: 16px; } }

/* ── INSURANCE MARQUEE ─────────────────── */
.insurance-band { background: var(--ink-2); padding: 38px 0; border-top: 1px solid rgba(116,183,172,.12); border-bottom: 1px solid rgba(116,183,172,.12); overflow: hidden; }
.insurance-band .section-heading { color: var(--cream); }
.insurance-band .eyebrow { color: var(--brand-lt); }
.insurance-band .eyebrow::before, .insurance-band .eyebrow::after { background: var(--brand-lt); }
.insurance-intro { max-width: 760px; margin: 10px auto 0; color: var(--muted-l); font-size: 16px; line-height: 1.6; }
.insurance-intro strong { color: var(--cream); }
.marquee { margin: 22px 0 0; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); }
.marquee-track { display: flex; gap: 22px; width: max-content; animation: ins-marquee 45s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes ins-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.ins-chip { flex: 0 0 auto; width: 188px; height: 92px; background: #fff; border-radius: 12px; display: flex; align-items: center; justify-content: center; padding: 0 26px; box-shadow: 0 6px 18px rgba(0,0,0,.28); }
.ins-chip img { max-width: 100%; max-height: 44px; width: auto; height: auto; object-fit: contain; }
.ins-chip-text { font-family: 'Raleway', sans-serif; font-weight: 800; font-size: 23px; color: var(--brand-dk); letter-spacing: 1px; }
.insurance-note { max-width: 840px; margin: 0 auto; text-align: center; color: var(--muted-l); font-size: 13.5px; line-height: 1.65; padding: 0 20px; }
.insurance-note a { color: var(--brand-lt); }

/* ── INSURANCE: subtitle + TRICARE chip ── */
.insurance-subtitle { margin-top: 4px; font-family: 'Playfair Display', serif; font-style: italic; font-size: 19px; color: var(--brand-lt); }
.ins-chip-tri { flex-direction: column; gap: 5px; }
.ins-chip-tri img { max-height: 30px; }
.ins-chip-tri span { font-size: 8.5px; color: var(--brand-dk); font-weight: 700; letter-spacing: .3px; text-transform: uppercase; text-align: center; line-height: 1.1; }

/* ── OUR OFFICE GALLERY ─────────────────── */
.office-gallery { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 250px; gap: 18px; margin-top: 48px; }
.office-gallery .og-item { margin: 0; overflow: hidden; border-radius: 12px; box-shadow: var(--shadow); }
.office-gallery .og-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; display: block; }
.office-gallery .og-item:hover img { transform: scale(1.07); }
@media (max-width: 820px){ .office-gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 190px; } }
@media (max-width: 480px){ .office-gallery { grid-template-columns: 1fr; } }
/* insurance intro slightly larger now that it leads the section */
.insurance-band .insurance-intro { font-size: 16.5px; }

/* ── TEAM CARDS on dark homepage ─────────── */
.home #team .dentist-card { background: var(--ink-3); border-color: rgba(255,255,255,.08); border-radius: 14px; }
.home #team .dentist-name { color: var(--cream); }
.home #team .dentist-creds { color: var(--brand-lt); }
.home #team .dentist-bio { color: var(--muted-l); }
.home #team .dentist-divider { background: rgba(255,255,255,.10); }
.home #team .dentist-tag { background: rgba(116,183,172,.12); color: var(--brand-lt); border-radius: 6px; }

/* ── VIDEO TESTIMONIALS ──────────────────── */
.vt-group-title { text-align:center; font-family:'Raleway',sans-serif; font-size:13px; font-weight:800; letter-spacing:2.5px; text-transform:uppercase; color:var(--brand-lt); margin:48px 0 22px; display:flex; align-items:center; justify-content:center; gap:10px; }
.video-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:18px; }
@media(max-width:900px){ .video-grid{ grid-template-columns:repeat(2,1fr);} }
@media(max-width:520px){ .video-grid{ grid-template-columns:1fr;} }
.video-facade { position:relative; aspect-ratio:16/9; border-radius:12px; overflow:hidden; cursor:pointer; box-shadow:0 6px 18px rgba(0,0,0,.3); background:#000; }
.video-facade img { width:100%; height:100%; object-fit:cover; transition:transform .5s, opacity .3s; }
.video-facade:hover img { transform:scale(1.05); opacity:.82; }
.video-facade .vplay { position:absolute; inset:0; display:flex; align-items:center; justify-content:center; pointer-events:none; }
.video-facade .vplay i { width:54px; height:54px; border-radius:50%; background:rgba(72,136,128,.92); color:#fff; display:flex; align-items:center; justify-content:center; font-size:19px; padding-left:3px; box-shadow:0 4px 18px rgba(0,0,0,.45); transition:.25s; }
.video-facade:hover .vplay i { background:var(--brand); transform:scale(1.08); }
.video-facade iframe { width:100%; height:100%; border:0; display:block; }

/* ── DIPLOMATE CERT BADGES ──────────────── */
.cert-badges { display: flex; gap: 8px; z-index: 3; }
.cert-badges img { object-fit: contain; filter: drop-shadow(0 3px 12px rgba(0,0,0,.5)); background: #fff; border-radius: 50%; padding: 6px; }
.cert-badges-hero img { width: 54px; height: 54px; }
.cert-badges-photo { position: absolute; bottom: 18px; right: 18px; }
.cert-badges-photo img { width: 120px; height: 120px; }
@media (max-width: 560px){ .cert-badges-hero img { width: 46px; height: 46px; } .cert-badges-photo img { width: 92px; height: 92px; } }

/* colorful hero rating chips (Google / Yelp) */
.hero-badge-rating { background: #fff; border-color: #fff; }
.hero-badge-rating .hb-logo { height: 22px; width: auto; }
.hero-badge-rating .num { color: #1a1a1a; }
.hero-badge-rating .stars { color: #FBBC04; }
.hero-badge-rating .src { color: #777; }

/* ── DR. GOEL EXPLAINS (intro videos) ──── */
.doc-video-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; max-width: 820px; margin: 46px auto 0; }
@media (max-width: 700px){ .doc-video-grid { grid-template-columns: 1fr; max-width: 380px; } }
.doc-video { position: relative; aspect-ratio: 3/4; border-radius: 16px; overflow: hidden; cursor: pointer; background: #000; box-shadow: var(--shadow-lg); }
.doc-video video { width: 100%; height: 100%; object-fit: cover; display: block; }
.doc-video.playing video { object-fit: contain; }
.doc-video .vplay { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; pointer-events: none; transition: opacity .2s; }
.doc-video.playing .vplay { opacity: 0; }
.doc-video .vplay i { width: 64px; height: 64px; border-radius: 50%; background: rgba(72,136,128,.92); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 22px; padding-left: 4px; box-shadow: 0 4px 18px rgba(0,0,0,.5); transition: .25s; }
.doc-video:hover .vplay i { background: var(--brand); transform: scale(1.08); }
.doc-video-cap { text-align: center; margin-top: 16px; font-family: 'Raleway', sans-serif; font-weight: 700; font-size: 15px; letter-spacing: .3px; color: var(--cream); display: flex; align-items: center; justify-content: center; gap: 9px; }
.doc-video-cap i { color: var(--brand-lt); }

/* ── OUR OFFICE — feature layout (2/3 + stacked 1/3) ── */
.office-feature { display: grid; grid-template-columns: 2fr 1fr; gap: 18px; margin-top: 48px; height: 560px; }
.office-feature figure { margin: 0; overflow: hidden; border-radius: 14px; box-shadow: var(--shadow); }
.office-feature img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; display: block; }
.office-feature figure:hover img { transform: scale(1.05); }
.of-big { height: 100%; }
.of-side { display: grid; grid-template-rows: 1fr 1fr; gap: 18px; }
@media (max-width: 760px){ .office-feature { grid-template-columns: 1fr; height: auto; } .of-big { height: 340px; } .of-side { grid-template-rows: 220px 220px; } }

/* ── GOOGLE & YELP REVIEWS (light, colorful) ── */
.reviews-section { background: linear-gradient(180deg, #FFFDF6 0%, #FFF8E7 100%); padding: 92px 0; }
.rv-eyebrow { font-family: 'Raleway', sans-serif; font-size: 12px; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; color: #4285F4; margin-bottom: 14px; }
.rv-title { font-family: 'Playfair Display', serif; font-size: clamp(28px,4vw,42px); color: #1a1a1a; margin: 0 0 26px; }
.rating-badges-row { display: flex; justify-content: center; gap: 22px; flex-wrap: wrap; margin-bottom: 8px; }
.rating-badge-lg { display: flex; align-items: center; gap: 16px; background: #fff; border: 1px solid #EFE7CC; border-radius: 14px; padding: 16px 26px; box-shadow: 0 6px 20px rgba(180,150,40,.12); }
.rating-badge-lg > img { height: 30px; width: auto; }
.rb-info { display: flex; flex-direction: column; align-items: flex-start; line-height: 1.1; }
.rb-score { font-family: 'Raleway', sans-serif; font-size: 26px; font-weight: 800; color: #1a1a1a; }
.rb-stars { color: #FBBC04; font-size: 15px; letter-spacing: 2px; }
.rb-count { font-size: 12px; color: #888; margin-top: 2px; }
.rv-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 46px; }
@media (max-width: 900px){ .rv-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px){ .rv-grid { grid-template-columns: 1fr; } }
.rv-card { background: #fff; border: 1px solid #F0E8D0; border-radius: 14px; padding: 26px 24px; box-shadow: 0 4px 16px rgba(120,100,30,.08); text-align: left; transition: .25s; }
.rv-card:hover { transform: translateY(-4px); box-shadow: 0 12px 30px rgba(120,100,30,.14); }
.rv-head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.rv-avatar { width: 44px; height: 44px; border-radius: 50%; color: #fff; font-family: 'Raleway', sans-serif; font-weight: 800; font-size: 18px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.rv-name { font-family: 'Raleway', sans-serif; font-weight: 700; font-size: 15px; color: #1a1a1a; }
.rv-meta { font-size: 12px; color: #999; }
.rv-src { margin-left: auto; font-size: 20px; }
.rv-google { color: #4285F4; }
.rv-yelp { color: #d32323; }
.rv-stars { color: #FBBC04; font-size: 16px; letter-spacing: 2px; margin-bottom: 10px; }
.rv-card p { color: #444; font-size: 14.5px; line-height: 1.7; margin: 0; }
.btn-google { background: #fff; color: #3c4043; border: 1px solid #dadce0; box-shadow: 0 2px 8px rgba(60,64,67,.12); }
.btn-google:hover { background: #f8f9fa; box-shadow: 0 4px 14px rgba(60,64,67,.2); }
.btn-google i { color: #4285F4; }

/* ═══════════════════════════════════════════════
   INNER-PAGE DARK GREEN THEME (scoped to body.theme-dark)
   Mirrors the client-approved homepage look on all sub-pages.
   ═══════════════════════════════════════════════ */
body.theme-dark { background: var(--ink); color: var(--cream); }

/* Sections + headings */
body.theme-dark .section { background: var(--ink); }
body.theme-dark .section-gray { background: var(--ink-2); }
body.theme-dark .section-navy { background: var(--ink-2); }
body.theme-dark .section-heading { color: var(--cream); }
body.theme-dark .section-sub { color: var(--muted-l); }
body.theme-dark .section p { color: var(--muted-l); }
body.theme-dark .eyebrow { color: var(--brand-lt); }
body.theme-dark .eyebrow::before, body.theme-dark .eyebrow::after { background: var(--brand-lt); }

/* Page hero — deep green banner, green accent orb */
body.theme-dark .page-hero { background: linear-gradient(135deg, var(--ink-3) 0%, var(--navy) 100%); }
body.theme-dark .page-hero::before { background: rgba(116,183,172,.10); }
body.theme-dark .page-hero-eyebrow { color: var(--brand-lt); }
body.theme-dark .page-hero-eyebrow::before { background: var(--brand-lt); }

/* Breadcrumb */
body.theme-dark .breadcrumb { background: var(--ink-2); border-bottom-color: rgba(116,183,172,.14); }
body.theme-dark .breadcrumb-inner, body.theme-dark .breadcrumb-inner a { color: var(--muted-l); }
body.theme-dark .breadcrumb-inner a:hover { color: var(--brand-lt); }
body.theme-dark .breadcrumb-inner span { color: var(--cream); }

/* Prose body copy (about, service pages) */
body.theme-dark .prose { color: var(--muted-l); }
body.theme-dark .prose h2, body.theme-dark .prose h3 { color: var(--cream); }
body.theme-dark .prose a { color: var(--brand-lt); }
body.theme-dark .prose strong { color: var(--cream); }
body.theme-dark .prose li { color: var(--muted-l); }

/* Service cards */
body.theme-dark .svc-card { background: var(--ink-3); border: 1px solid rgba(255,255,255,.07); }
body.theme-dark .svc-card:hover { background: var(--ink-2); }
body.theme-dark .svc-icon-wrap { background: rgba(116,183,172,.14); color: var(--brand-lt); }
body.theme-dark .svc-card:hover .svc-icon-wrap { background: var(--brand); color: #fff; }
body.theme-dark .svc-card h3 { color: var(--cream); }
body.theme-dark .svc-card p { color: var(--muted-l); }
body.theme-dark .svc-card .svc-link { color: var(--brand-lt); }

/* Feature tiles */
body.theme-dark .sleep-feat.feat-light { background: var(--ink-3); border-color: rgba(255,255,255,.08); }
body.theme-dark .sleep-feat.feat-light h4 { color: var(--cream); }
body.theme-dark .sleep-feat.feat-light p { color: var(--muted-l); }
body.theme-dark .sleep-feat.feat-light i { color: var(--brand-lt); }
body.theme-dark .sleep-feat.feat-light a { color: var(--brand-lt); }

/* About block */
body.theme-dark .about-badge { background: var(--brand); color: #fff; }
body.theme-dark .about-feat { background: var(--ink-3); border: 1px solid rgba(255,255,255,.07); }
body.theme-dark .about-feat strong { color: var(--cream); }
body.theme-dark .about-feat span, body.theme-dark .about-feat p { color: var(--muted-l); }
body.theme-dark .about-feat i, body.theme-dark .about-feat-icon { color: var(--brand-lt); }

/* Contact page */
body.theme-dark .appt-contact .fc { color: var(--cream); }
body.theme-dark .appt-contact .fc i { color: var(--brand-lt); }
body.theme-dark .appt-contact a { color: var(--brand-lt); }
body.theme-dark .hours-title { color: var(--cream); }
body.theme-dark .hours-table td { color: var(--cream); border-bottom-color: rgba(255,255,255,.10); }
body.theme-dark .hours-table td:last-child { color: var(--muted-l); }
body.theme-dark .map-wrap iframe { filter: grayscale(.3) brightness(.92); }

/* Reviews page */
body.theme-dark .rating-summary { color: var(--cream); }
body.theme-dark .rating-summary .stars { color: #FBBC04; }
body.theme-dark .rating-summary strong { color: var(--cream); }
body.theme-dark .yt-facade { border-color: rgba(255,255,255,.10); }

/* Buttons on dark */
body.theme-dark .btn-navy { background: var(--brand); color: #fff; }
body.theme-dark .btn-navy:hover { background: var(--brand-lt); color: var(--ink); }
body.theme-dark .btn-outline, body.theme-dark .btn-outline-navy { color: var(--cream); border-color: rgba(255,255,255,.4); }
body.theme-dark .btn-outline:hover, body.theme-dark .btn-outline-navy:hover { background: var(--brand); border-color: var(--brand); color: #fff; }

/* Service page: sleep-education callout */
.svc-callout { background: var(--ink-3); border: 1px solid rgba(116,183,172,.22); border-left: 3px solid var(--brand-lt); border-radius: 12px; padding: 26px 28px; margin: 34px 0 8px; }
.svc-callout h3 { font-family: 'Raleway', sans-serif; color: var(--cream); font-size: 18px; margin: 0 0 10px; display: flex; align-items: center; gap: 10px; }
.svc-callout h3 i { color: var(--brand-lt); }
.svc-callout p { color: var(--muted-l); font-size: 15px; line-height: 1.7; margin: 0; }
.svc-callout a { color: var(--brand-lt); text-decoration: underline; text-underline-offset: 2px; }

/* Service page: related-services grid */
.svc-related { margin: 40px 0 8px; padding-top: 30px; border-top: 1px solid rgba(255,255,255,.10); }
.svc-related h3 { font-family: 'Raleway', sans-serif; color: var(--cream); font-size: 16px; letter-spacing: .5px; margin: 0 0 16px; }
.svc-related-links { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px 22px; }
@media (max-width: 620px) { .svc-related-links { grid-template-columns: 1fr; } }
.svc-related-links a { color: var(--brand-lt); text-decoration: none; font-size: 14.5px; padding: 8px 0; border-bottom: 1px solid rgba(255,255,255,.06); transition: color .2s; display: flex; align-items: center; gap: 8px; }
.svc-related-links a::before { content: '\f105'; font-family: 'Font Awesome 6 Free'; font-weight: 900; color: var(--brand); font-size: 12px; }
.svc-related-links a:hover { color: var(--cream); }

/* Appointment form on dark */
body.theme-dark .np-form { background: var(--ink-3); border: 1px solid rgba(255,255,255,.08); }
body.theme-dark .np-form h3 { color: var(--cream); }
body.theme-dark .np-form label.form-label { color: var(--muted-l); }
body.theme-dark .np-form .form-control { background: var(--ink-2); border-color: rgba(255,255,255,.14); color: var(--cream); }
body.theme-dark .np-form .form-control::placeholder { color: rgba(255,255,255,.35); }
body.theme-dark .np-form .form-control:focus { border-color: var(--brand-lt); box-shadow: 0 0 0 3px rgba(116,183,172,.18); }

/* ── REVIEWS PAGE: compact rating strip under hero ─────────── */
.review-topbar { background: var(--ink-2); border-bottom: 1px solid rgba(116,183,172,.14); padding: 16px 0; }
.review-topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.rtb-rating { color: var(--cream); font-size: 16px; font-weight: 500; }
.rtb-rating .stars { color: #FBBC04; letter-spacing: 2px; margin-right: 8px; }
.rtb-rating strong { color: var(--cream); font-weight: 700; }
.rtb-muted { color: var(--muted-l); }
.rtb-dot { color: var(--muted-l); margin: 0 8px; }
.rtb-btns { display: flex; gap: 10px; flex-wrap: wrap; }
.btn-sm { padding: 10px 20px; font-size: 12.5px; letter-spacing: 1.5px; }
@media (max-width: 620px) { .review-topbar-inner { justify-content: center; text-align: center; } }

/* ── REVIEWS PAGE: larger, prominent video thumbnails ──────── */
.video-grid-lg { grid-template-columns: repeat(2, 1fr); gap: 26px; max-width: 940px; margin-left: auto; margin-right: auto; }
@media (max-width: 640px) { .video-grid-lg { grid-template-columns: 1fr; max-width: 460px; } }
.video-grid-lg .yt-facade { border: 2px solid rgba(116,183,172,.30); box-shadow: 0 12px 36px rgba(0,0,0,.42); }
.video-grid-lg .yt-facade:hover { border-color: var(--brand-lt); }
.video-grid-lg .yt-facade:before { background: rgba(9,20,18,.34); }
.video-grid-lg .yt-play { width: 78px; height: 78px; font-size: 28px; background: var(--brand); }
.video-grid-lg .yt-facade:hover .yt-play { background: var(--brand-lt); color: var(--ink); }

/* ── ABOUT PAGE: image-rich bio layout ─────────────────────── */
/* Top: bigger portrait that fills the text height, with 2 diplomate seals below */
.about-img-stack { display: flex; flex-direction: column; gap: 20px; height: 100%; }
.about-img-stack > img { width: 100%; flex: 1 1 auto; min-height: 460px; object-fit: cover; object-position: center 18%; border-radius: 16px; box-shadow: var(--shadow-lg); }
.about-seals { display: flex; gap: 22px; justify-content: center; align-items: center; padding: 2px 0; }
.about-seals img { height: 112px; width: 112px; object-fit: contain; background: #fff; border-radius: 50%; padding: 13px; box-shadow: 0 4px 16px rgba(0,0,0,.4); }
@media (max-width: 760px) { .about-seals img { height: 88px; width: 88px; padding: 10px; } .about-img-stack > img { min-height: 340px; } }

/* Alternating image + text rows */
.bio-row { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.bio-row-img img { width: 100%; border-radius: 16px; box-shadow: var(--shadow-lg); object-fit: cover; aspect-ratio: 5 / 4; }
.bio-row.portrait .bio-row-img img { aspect-ratio: 4 / 5; max-height: 560px; }
.bio-row.reverse .bio-row-img { order: 2; }
.bio-row-text .eyebrow { margin-bottom: 12px; }
.bio-row-text p { color: var(--muted); line-height: 1.85; margin: 14px 0 0; font-size: 15.8px; }
@media (max-width: 860px) { .bio-row { grid-template-columns: 1fr; gap: 30px; } .bio-row.reverse .bio-row-img { order: 0; } }

/* Credentials list beside the clinical photo */
.cred-list { display: flex; flex-direction: column; gap: 20px; margin-top: 26px; }
.cred-item { display: flex; gap: 16px; align-items: flex-start; }
.cred-item > i { color: var(--brand-lt); font-size: 22px; margin-top: 3px; width: 28px; text-align: center; flex-shrink: 0; }
.cred-item strong { display: block; font-family: 'Raleway', sans-serif; font-size: 16px; margin-bottom: 4px; color: var(--navy); }
.cred-item p { font-size: 14.6px; line-height: 1.65; margin: 0; color: var(--muted); }
/* dark-theme colors for the credential list */
body.theme-dark .cred-item strong { color: var(--cream); }
body.theme-dark .cred-item p { color: var(--muted-l); }

/* Memberships / affiliations */
.cred-memberships { margin-top: 24px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.10); }
.cred-mem-label { display: block; font: 700 11px/1.4 'Raleway', sans-serif; letter-spacing: 2px; text-transform: uppercase; color: var(--brand-lt); margin-bottom: 12px; }
.cred-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.cred-chip { font: 500 12.5px/1.3 'Roboto', sans-serif; color: var(--cream); background: var(--ink-3); border: 1px solid rgba(116,183,172,.22); border-radius: 20px; padding: 7px 14px; }
body:not(.theme-dark) .cred-chip { color: var(--navy); background: var(--off-white); border-color: var(--border); }

/* ── Stability: cut heavy GPU compositing when the tab is backgrounded or the
   viewer prefers reduced motion (prevents GPU-process pressure/crashes) ── */
body.tab-hidden .hero-video { visibility: hidden; }
body.tab-hidden .marquee-track,
body.tab-hidden .affiliations-track { animation-play-state: paused !important; }

@media (prefers-reduced-motion: reduce) {
  .hero-video { display: none; }
  .marquee-track, .affiliations-track { animation: none !important; }
}
