/* =========================================================
   Delaware Star Dental — Site styles
   Palette: #B7C9E2 light blue-gray | #E38755 orange |
            #88A690 sage | #F3BFA0 beige
   ========================================================= */

:root {
  --blue: #B7C9E2;
  --blue-deep: #7d9bc1;
  --orange: #E38755;
  --orange-dark: #c66d3b;
  --sage: #88A690;
  --sage-dark: #5f7c69;
  --beige: #F3BFA0;
  --cream: #FBF5EE;
  --ink: #25303a;
  --ink-soft: #4d5a66;
  --muted: #7a8590;
  --line: #e6e1d8;
  --white: #ffffff;
  --shadow-sm: 0 2px 6px rgba(37, 48, 58, 0.06);
  --shadow-md: 0 10px 30px rgba(37, 48, 58, 0.08);
  --shadow-lg: 0 25px 60px rgba(37, 48, 58, 0.14);
  --radius: 14px;
  --radius-lg: 22px;
  --max: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  font-size: 16.5px;
  font-feature-settings: "cv11", "ss01", "ss03";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Manrope', 'Inter', system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--ink);
  line-height: 1.18;
  margin: 0 0 .6em;
  letter-spacing: -0.02em;
  font-weight: 700;
}
h1 { font-size: clamp(2.1rem, 4vw + 1rem, 3.6rem); font-weight: 700; }
h2 { font-size: clamp(1.7rem, 2vw + 1rem, 2.6rem); font-weight: 700; }
h3 { font-size: clamp(1.25rem, 1vw + .9rem, 1.6rem); font-weight: 600; }
h4 { font-size: 1.15rem; font-weight: 600; }

p { margin: 0 0 1rem; color: var(--ink-soft); }
a { color: var(--orange-dark); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--orange); }

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

.container {
  width: 92%;
  max-width: var(--max);
  margin-inline: auto;
}

.eyebrow {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: .85rem;
}

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

.section { padding: 60px 0; }
.section-tight { padding: 40px 0; }
.section-cream { background: var(--cream); }
.section-blue { background: var(--blue); }
.section-sage { background: linear-gradient(135deg, var(--sage) 0%, var(--sage-dark) 100%); color: #fff; }
.section-sage h1, .section-sage h2, .section-sage h3, .section-sage h4, .section-sage p { color: #fff; }

.center { text-align: center; }
.lead { font-size: 1.1rem; color: var(--ink-soft); max-width: 720px; }
.lead.center { margin-inline: auto; }

/* =====================  Buttons  ===================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: .98rem;
  letter-spacing: .01em;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
  border: 2px solid transparent;
  text-align: center;
  white-space: nowrap;
}
.btn-primary {
  background: var(--orange);
  color: #fff;
  box-shadow: 0 8px 24px rgba(227, 135, 85, 0.35);
}
.btn-primary:hover {
  background: var(--orange-dark);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(227, 135, 85, 0.45);
}
.btn-secondary {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.btn-secondary:hover { background: var(--ink); color: #fff; }
.btn-ghost-light {
  background: rgba(255,255,255,.18);
  color: #fff;
  border-color: rgba(255,255,255,.45);
  backdrop-filter: blur(4px);
}
.btn-ghost-light:hover { background: #fff; color: var(--ink); }

/* =====================  Header / Nav  ===================== */
.topbar {
  /* Dark-navy matches the scrolled-nav color */
  background: #0a1016;
  color: rgba(255,255,255,.92);
  /* Previous 1.13rem × 0.8 ≈ 0.9rem */
  font-size: .9rem;
}
.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  gap: 1rem;
  flex-wrap: wrap;
}
.topbar a { color: rgba(255,255,255,.85); }
.topbar a:hover { color: var(--beige); }
.topbar-info { display: flex; gap: 1.8rem; flex-wrap: wrap; }
.topbar-info span { display: inline-flex; align-items: center; gap: .45rem; }
.topbar-socials { display: flex; gap: .8rem; }
.topbar-socials a {
  /* 36px × 0.8 ≈ 29px container, 1.1rem × 0.8 ≈ 0.88rem icon */
  width: 29px; height: 29px;
  border-radius: 50%;
  background: rgba(255,255,255,.12);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: .88rem;
}
.topbar-socials a:hover { background: var(--orange); color: #fff; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .2s ease;
}
.site-header.scrolled { box-shadow: var(--shadow-sm); }
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
  gap: 1rem;
  flex-wrap: nowrap;
}
.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}
.brand img {
  height: 56px;
  width: auto;
  display: block;
}

.nav-menu {
  list-style: none;
  margin: 0; padding: 0;
  display: flex;
  align-items: center;
  gap: 1.15rem;
  flex-wrap: nowrap;
  white-space: nowrap;
}
.nav-menu li { position: relative; white-space: nowrap; }
.nav-menu > li > a {
  color: var(--ink);
  font-weight: 500;
  /* Web nav font bumped 1.15x (.93rem × 1.15 ≈ 1.07rem). Mobile rules below override. */
  font-size: 1.07rem;
  padding: 8px 2px;
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  white-space: nowrap;
}
.nav-menu > li > a:hover { color: var(--orange); }
.nav-menu > li.has-dropdown > a::after {
  content: "▾";
  font-size: 1.35rem;
  line-height: 1;
  margin-left: .25rem;
  color: var(--ink-soft);
  transition: transform .2s ease, color .2s ease;
}
.nav-menu > li.has-dropdown:hover > a::after {
  color: var(--orange);
  transform: translateY(2px);
}
.dropdown {
  position: absolute;
  top: 100%; left: 0;
  background: #fff;
  list-style: none;
  padding: 12px 0;
  margin: 0;
  min-width: 240px;
  border-radius: 12px;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all .2s ease;
  z-index: 90;
  max-height: 70vh;
  overflow-y: auto;
}
.nav-menu li:hover > .dropdown {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.dropdown li a {
  display: block;
  padding: 9px 22px;
  color: var(--ink);
  font-size: .92rem;
  font-weight: 500;
}
.dropdown li a:hover { background: var(--cream); color: var(--orange); }

.nav-cta { display: flex; gap: .5rem; align-items: center; flex-shrink: 0; white-space: nowrap; }
.nav-cta .btn { padding: 10px 18px; font-size: .9rem; }
@media (max-width: 1180px) {
  .nav-cta .btn-secondary { display: none; }
  .nav-menu { gap: .95rem; }
  /* Was .88rem before web bump — keep proportional (.88 × 1.15 ≈ 1.01rem) */
  .nav-menu > li > a { font-size: 1.01rem; }
}

.mobile-toggle {
  display: none;
  background: none; border: 0;
  width: 40px; height: 40px;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  padding: 0;
}
.mobile-toggle span {
  display: block;
  width: 24px; height: 2px;
  background: var(--ink);
  transition: all .2s ease;
}

/* =====================  Hero  ===================== */
.hero {
  position: relative;
  background: linear-gradient(135deg, #1d2a3a 0%, #2d4259 50%, #1d2a3a 100%);
  padding: 110px 0 130px;
  overflow: hidden;
  color: #fff;
}
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(37,48,58,.78) 0%, rgba(37,48,58,.55) 45%, rgba(37,48,58,.28) 100%),
    linear-gradient(to top, rgba(0,0,0,.35), transparent 35%);
  z-index: 1;
}
.hero .container { position: relative; z-index: 2; }
/* Phone-call CTA in the hero — recolored so it doesn't blend into the dark video overlay */
.hero .btn-secondary {
  background: var(--cream);
  color: var(--ink);
  border-color: var(--cream);
  box-shadow: 0 8px 24px rgba(0,0,0,.25);
}
.hero .btn-secondary:hover {
  background: #ffffff;
  color: var(--orange-dark);
  border-color: #ffffff;
}
.hero h1, .hero .lead, .hero .eyebrow { color: #fff; }
.hero h1 { text-shadow: 0 4px 24px rgba(0,0,0,.35); }
.hero .lead { color: rgba(255,255,255,.92); text-shadow: 0 2px 12px rgba(0,0,0,.3); }
.hero .eyebrow { color: var(--beige); }
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 3rem;
  align-items: center;
  min-height: 460px;
}
.hero h1 { margin-bottom: 1rem; }
.hero .lead { font-size: 1.18rem; margin-bottom: 1.8rem; }
.hero-actions { display: flex; gap: .8rem; flex-wrap: wrap; }
.hero-badges {
  margin-top: 2.5rem;
  display: flex;
  gap: 1.4rem;
  align-items: center;
  flex-wrap: wrap;
  padding: 18px 22px;
  background: rgba(255,255,255,.92);
  border-radius: 16px;
  backdrop-filter: blur(4px);
  width: fit-content;
}
.hero-badges img { height: 56px; width: auto; opacity: .9; }
.hero-visual {
  position: relative;
}
.hero-visual .doctor-photo {
  width: 100%;
  max-width: 460px;
  margin-inline: auto;
  display: block;
  filter: drop-shadow(0 30px 50px rgba(0,0,0,.4));
}
.hero-card {
  position: absolute;
  background: #fff;
  border-radius: 18px;
  padding: 1rem 1.3rem;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: .9rem;
  font-size: .92rem;
  font-weight: 500;
}
.hero-card .ico {
  width: 44px; height: 44px;
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  color: #fff;
  flex-shrink: 0;
}
.hero-card .ico.orange { background: var(--orange); }
.hero-card .ico.sage { background: var(--sage); }
.hero-card.top { top: 8%; left: -10px; }
.hero-card.bottom { bottom: 8%; right: 0; }
.hero-card .ico.blue { background: var(--blue-deep); }

.hero-callouts {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  max-width: 380px;
  margin-left: auto;
}
.hero-callouts .hero-card {
  position: static;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(6px);
  border-radius: 16px;
  box-shadow: 0 16px 36px rgba(0,0,0,.25);
  color: var(--ink);
}

/* =====================  Generic page hero  ===================== */
.page-hero {
  background: linear-gradient(135deg, var(--blue) 0%, var(--cream) 100%);
  padding: 120px 0 90px;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: rgba(243, 191, 160, .35);
  top: -150px; right: -100px;
}
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { margin-bottom: .6rem; }
.breadcrumb { font-size: .9rem; color: var(--muted); margin-bottom: 1rem; }
.breadcrumb a { color: var(--ink-soft); }
.breadcrumb span { margin: 0 .35rem; color: var(--muted); }

/* =====================  Cards / grids  ===================== */
.grid { display: grid; gap: 1.5rem; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.split-grid img { border-radius: var(--radius-lg); box-shadow: var(--shadow-md); }

.service-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px;
  text-align: left;
  transition: all .25s ease;
  display: flex;
  flex-direction: column;
  gap: .6rem;
  color: var(--ink);
  text-decoration: none;
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 4px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s ease;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
  color: var(--ink);
}
.service-card:hover::before { transform: scaleX(1); }
.service-card .ico-wrap {
  width: 56px; height: 56px;
  border-radius: 14px;
  background: var(--cream);
  color: var(--orange);
  display: inline-flex;
  align-items: center; justify-content: center;
  font-size: 1.5rem;
  margin-bottom: .6rem;
}
.service-card h3 { margin: 0; font-size: 1.15rem; }
.service-card p { margin: 0; font-size: .92rem; color: var(--muted); }
.service-card .arrow {
  margin-top: .9rem;
  color: var(--orange);
  font-weight: 600;
  font-size: .92rem;
  display: inline-flex;
  align-items: center;
  gap: .35rem;
}

/* feature / why-choose blocks */
.feature {
  background: #fff;
  border-radius: var(--radius);
  padding: 32px 28px;
  text-align: center;
  border: 1px solid var(--line);
  transition: all .2s ease;
}
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.feature .ico {
  width: 70px; height: 70px;
  border-radius: 50%;
  margin: 0 auto 1.1rem;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem;
  color: #fff;
  background: linear-gradient(135deg, var(--orange), var(--beige));
}
.feature.sage .ico { background: linear-gradient(135deg, var(--sage), var(--sage-dark)); }
.feature.blue .ico { background: linear-gradient(135deg, var(--blue-deep), var(--blue)); }
.feature h3 { margin: 0 0 .6rem; font-size: 1.2rem; }
.feature p { margin: 0; font-size: .95rem; }

/* =====================  Testimonials  ===================== */
.testimonial-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 32px;
  border-top: 4px solid var(--orange);
  box-shadow: var(--shadow-sm);
  position: relative;
}
.testimonial-card::before {
  content: "\201C";
  position: absolute;
  top: -10px; left: 22px;
  font-family: 'Manrope', 'Inter', sans-serif;
  font-weight: 800;
  font-size: 5rem;
  color: var(--beige);
  line-height: 1;
}
.testimonial-card p { font-style: italic; color: var(--ink-soft); position: relative; z-index: 1; }
.testimonial-card .stars {
  color: #f5b400;
  letter-spacing: .15em;
  font-size: 1rem;
  margin-bottom: .8rem;
}
.testimonial-card .author { font-weight: 600; color: var(--ink); margin-top: .8rem; font-style: normal; }

/* =====================  CTA strip  ===================== */
.cta-strip {
  background: linear-gradient(120deg, var(--orange) 0%, var(--beige) 100%);
  color: #fff;
  padding: 48px 0;
}
.cta-strip h2 { color: #fff; margin-bottom: .6rem; }
.cta-strip p { color: rgba(255,255,255,.92); max-width: 640px; }
.cta-strip .container {
  display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap;
}
.cta-strip .btn-primary {
  background: #fff;
  color: var(--orange-dark);
  box-shadow: 0 8px 24px rgba(0,0,0,.18);
}
.cta-strip .btn-primary:hover { background: var(--ink); color: #fff; }

/* =====================  FAQ  ===================== */
.faq-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin-bottom: 12px;
  overflow: hidden;
  transition: box-shadow .2s ease;
}
.faq-item:hover { box-shadow: var(--shadow-sm); }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 60px 20px 24px;
  font-weight: 600;
  color: var(--ink);
  position: relative;
  font-size: 1rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 24px; top: 50%;
  transform: translateY(-50%);
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--cream);
  color: var(--orange);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
  font-weight: 400;
  transition: all .2s ease;
}
.faq-item[open] summary::after { content: "−"; background: var(--orange); color: #fff; }
.faq-item .answer { padding: 0 24px 22px; color: var(--ink-soft); }

/* =====================  Contact / forms  ===================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}
.contact-info {
  background: var(--cream);
  border-radius: var(--radius-lg);
  padding: 40px;
}
.contact-info h3 { margin-bottom: 1.3rem; }
.contact-info .info-row {
  display: flex;
  gap: 1rem;
  padding: 16px 0;
  border-bottom: 1px solid #ece5d7;
}
.contact-info .info-row:last-child { border-bottom: 0; }
.contact-info .info-row .ico {
  width: 46px; height: 46px;
  border-radius: 50%;
  background: #fff;
  color: var(--orange);
  display: inline-flex;
  align-items: center; justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.contact-info .info-row strong { display: block; color: var(--ink); margin-bottom: .15rem; }
.contact-info .info-row span,
.contact-info .info-row a { color: var(--ink-soft); font-size: .95rem; }

form.appt-form {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-md);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { margin-bottom: 1rem; }
.field label {
  display: block;
  font-size: .82rem;
  font-weight: 600;
  color: var(--ink-soft);
  margin-bottom: .35rem;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.field input,
.field textarea,
.field select {
  width: 100%;
  padding: 12px 14px;
  font-family: inherit;
  font-size: .95rem;
  color: var(--ink);
  background: var(--cream);
  border: 1px solid transparent;
  border-radius: 10px;
  transition: all .2s ease;
}
.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: none;
  border-color: var(--orange);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(227,135,85,.18);
}
.field textarea { min-height: 130px; resize: vertical; }

/* =====================  Footer  ===================== */
.site-footer {
  background: var(--ink);
  color: rgba(255,255,255,.78);
  padding: 50px 0 0;
}
.site-footer h4 {
  color: #fff;
  font-family: 'Inter', sans-serif;
  font-size: .92rem;
  font-weight: 600;
  letter-spacing: .15em;
  text-transform: uppercase;
  margin-bottom: 1.2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 2.5rem;
}
.footer-grid a { color: rgba(255,255,255,.72); }
.footer-grid a:hover { color: var(--orange); }
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li { margin-bottom: .55rem; font-size: .92rem; }
.footer-grid p { color: rgba(255,255,255,.65); font-size: .92rem; }
.footer-brand {
  display: flex; align-items: center;
  margin-bottom: 1.2rem;
}
.footer-brand img { height: 56px; width: auto; }
.footer-socials { display: flex; gap: .65rem; margin-top: 1rem; }
.footer-socials a {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,.07);
  display: inline-flex;
  align-items: center; justify-content: center;
  font-size: .9rem;
  color: rgba(255,255,255,.78);
}
.footer-socials a:hover { background: var(--orange); color: #fff; }
.footer-areas {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .55rem .9rem;
  padding: 0 0 28px;
  margin-bottom: 28px;
  border-bottom: 1px solid rgba(255,255,255,.08);
  font-size: .88rem;
}
.footer-areas strong { color: #fff; letter-spacing: .06em; text-transform: uppercase; font-size: .78rem; }
.footer-areas a { color: rgba(255,255,255,.72); }
.footer-areas a:hover { color: var(--orange); }
.footer-bottom {
  margin-top: 50px;
  padding: 25px 0;
  border-top: 1px solid rgba(255,255,255,.08);
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  flex-wrap: wrap;
  font-size: .85rem;
  color: rgba(255,255,255,.55);
}

/* =====================  Stats strip  ===================== */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.stat { text-align: center; }
.stat .num {
  font-family: 'Manrope', 'Inter', sans-serif;
  font-size: 2.4rem;
  color: var(--orange);
  font-weight: 700;
  line-height: 1;
  margin-bottom: .4rem;
}
.stat .label { font-size: .9rem; color: var(--muted); letter-spacing: .06em; text-transform: uppercase; }

/* =====================  Credentials strip  ===================== */
.credentials {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 2.5rem;
  padding: 30px 0;
}
.credentials img { height: 70px; width: auto; opacity: .9; }

/* =====================  Service detail layout  ===================== */
.service-detail .lead { font-size: 1.1rem; }
.service-detail h2 { margin-top: 2.2rem; }
.service-detail h3 { margin-top: 1.6rem; }
.service-detail ul {
  list-style: none;
  padding: 0;
  margin: 1rem 0 1.5rem;
}
.service-detail ul li {
  position: relative;
  padding-left: 1.8rem;
  margin-bottom: .6rem;
  color: var(--ink-soft);
}
.service-detail ul li::before {
  content: "✓";
  position: absolute;
  left: 0; top: 0;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--sage);
  color: #fff;
  font-size: .75rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.service-detail ol.numbered-steps {
  list-style: none;
  padding: 0;
  margin: 1rem 0 1.5rem;
  counter-reset: step;
}
.service-detail ol.numbered-steps li {
  position: relative;
  padding-left: 2.6rem;
  margin-bottom: 1.4rem;
  line-height: 1.65;
  color: var(--ink-soft);
  counter-increment: step;
  min-height: 30px;
}
.service-detail ol.numbered-steps li::before {
  content: counter(step);
  position: absolute;
  left: 0; top: -2px;
  width: 30px; height: 30px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--orange), var(--orange-dark, var(--orange)));
  color: #fff;
  font-family: 'Manrope', 'Inter', sans-serif;
  font-size: .95rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.benefit-tiles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin: 1.2rem 0 1.6rem;
}
.benefit-tiles .feature { text-align: center; padding: 22px 14px; }
.benefit-tiles .feature .ico { margin-inline: auto; }
.benefit-tiles .feature h3 { font-size: 1.05rem; }
.benefit-tiles .feature p { font-size: .9rem; }

/* Intro paragraph + side image on service pages */
.intro-with-image {
  display: grid;
  grid-template-columns: 1fr 260px;
  gap: 1.8rem;
  align-items: start;
  margin: 0 0 1.8rem;
}
.intro-with-image .lead { margin: 0; }
.intro-with-image .intro-photo {
  width: 100%;
  border-radius: 10px;
  box-shadow: var(--shadow-md);
  display: block;
}
@media (max-width: 720px) {
  .intro-with-image { grid-template-columns: 1fr; }
  .intro-with-image .intro-photo { max-width: 360px; margin-inline: auto; }
}

.service-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 3rem;
  align-items: start;
}
.service-sidebar {
  background: var(--cream);
  border-radius: var(--radius-lg);
  padding: 30px;
  position: sticky;
  top: 100px;
}
.service-sidebar h4 {
  font-family: 'Manrope', 'Inter', sans-serif;
  font-size: 1.2rem;
  margin-bottom: 1rem;
  text-transform: none;
  letter-spacing: 0;
}
.service-sidebar ul {
  list-style: none; padding: 0; margin: 0 0 1.3rem;
}
.service-sidebar li {
  border-bottom: 1px solid #ece5d7;
}
.service-sidebar li a {
  display: block;
  padding: 9px 0;
  color: var(--ink);
  font-size: .92rem;
  font-weight: 500;
}
.service-sidebar li a:hover { color: var(--orange); }
.service-sidebar li.active a { color: var(--orange); }
.sidebar-cta {
  background: var(--ink);
  color: #fff;
  padding: 22px;
  border-radius: var(--radius);
  text-align: center;
}
.sidebar-cta h5 { color: #fff; font-family: 'Manrope', 'Inter', sans-serif; font-weight: 700; font-size: 1.15rem; margin: 0 0 .35rem; }
.sidebar-cta p { color: rgba(255,255,255,.7); font-size: .88rem; margin: 0 0 1rem; }
.sidebar-cta .btn { padding: 10px 22px; font-size: .9rem; }

/* =====================  Map  ===================== */
.map-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  height: 100%;
  min-height: 380px;
}
.map-wrap iframe { width: 100%; height: 100%; border: 0; display: block; }

/* =====================  Responsive  ===================== */
@media (max-width: 980px) {
  .hero-grid, .split-grid, .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .service-layout { grid-template-columns: 1fr; }
  .service-sidebar { position: static; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .nav-menu { display: none; }
  .nav-menu.active {
    display: flex;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    padding: 1rem;
    gap: 0;
    box-shadow: var(--shadow-md);
    max-height: calc(100vh - 80px);
    overflow-y: auto;
  }
  .nav-menu.active > li { border-bottom: 1px solid var(--line); }
  .nav-menu.active > li > a { padding: 14px 8px; }
  /* Fix: on the home page the nav text is white over the dark hero, but the
     opened mobile menu has a white background — force dark text inside it.
     Extra `.site-header` bumps specificity above the base `body.home .site-header .nav-menu > li > a` white rule. */
  body.home .site-header .nav-menu.active > li > a,
  body.home .site-header .nav-menu.active .dropdown li a { color: var(--ink); }
  body.home .site-header .nav-menu.active > li > a:hover,
  body.home .site-header .nav-menu.active .dropdown li a:hover { color: var(--orange); }
  body.home .site-header .nav-menu.active > li.has-dropdown > a::after { color: var(--ink-soft); }
  body.home .site-header .nav-menu.active > li.has-dropdown:hover > a::after { color: var(--orange); }
  .dropdown {
    position: static;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    padding: 0 0 .5rem 1rem;
    background: transparent;
    display: none;
  }
  .nav-menu.active li.has-dropdown.open .dropdown { display: block; }
  .mobile-toggle { display: flex; }
  .nav-cta .btn-secondary { display: none; }
  .hero { padding: 80px 0 100px; }
  .section { padding: 60px 0; }
  .hero-card.top, .hero-card.bottom { display: none; }
  .cta-strip .container { flex-direction: column; text-align: center; }
}
@media (max-width: 600px) {
  .topbar-info { gap: 1rem; }
}

/* Animations */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.fade-up { animation: fadeUp .6s ease both; }

/* =====================================================
   Home page — transparent dark nav over full-bleed hero
   ===================================================== */
body.home .topbar {
  position: absolute;
  top: 0; left: 0; right: 0;
  z-index: 50;
  /* Dark navy — matches the scrolled-nav color */
  background: #0a1016;
  /* No bottom border so the nav can sit flush without a hairline */
  border-bottom: 0;
}
body.home .topbar,
body.home .topbar a,
body.home .topbar span { color: rgba(255, 255, 255, .96); }
body.home .topbar-socials a { background: rgba(255, 255, 255, .14); }

body.home .site-header {
  position: absolute;
  /* Smaller topbar (0.9rem font, 12px padding) → natural height ~46px; overlap by 2px to kill the hairline */
  top: 44px; left: 0; right: 0;
  z-index: 60;
  background: rgba(0, 0, 0, .58);
  backdrop-filter: blur(12px);
  border-top: 0;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}
body.home .site-header.scrolled {
  position: fixed;
  top: 0;
  background: rgba(10, 16, 22, .92);
  box-shadow: 0 6px 24px rgba(0, 0, 0, .3);
}
body.home .site-header .nav-menu > li > a { color: #fff; }
body.home .site-header .nav-menu > li > a:hover { color: var(--beige); }
body.home .site-header .nav-menu > li.has-dropdown > a::after { color: rgba(255, 255, 255, .9); }
body.home .site-header .nav-cta .btn-secondary {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, .65);
}
body.home .site-header .nav-cta .btn-secondary:hover {
  background: #fff;
  color: var(--ink);
}
body.home .site-header .mobile-toggle span { background: #fff; }

/* Hero becomes full-viewport background video */
body.home .hero {
  padding: 0;
  min-height: 100vh;
  height: 100vh;
  margin-top: 0;
}
body.home .hero-overlay { display: none; }
body.home .hero .container {
  height: 100%;
  display: flex;
  align-items: flex-end;
  padding-bottom: 4rem;
}
body.home .hero-grid {
  display: block;
  width: 100%;
  min-height: 0;
}
body.home .hero-grid .fade-up:first-child { display: none; }
body.home .hero-visual { width: 100%; }

/* Bottom-right corner overlay panel — only obstruction over the video */
.hero-corner {
  position: absolute;
  right: 32px;
  /* Lifted ~10% of viewport height off the bottom for better balance */
  bottom: calc(24px + 10vh);
  z-index: 4;
  /* Doubled max-width for the bigger corner panel */
  max-width: 840px;
  width: calc(100vw - 64px);
  padding: 28px 32px 26px;
  background: linear-gradient(135deg, rgba(15, 22, 30, .82), rgba(15, 22, 30, .68));
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 18px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, .45);
  color: #fff;
}
.hero-corner .eyebrow { color: var(--beige); margin-bottom: .4rem; }
.hero-corner h1 {
  color: #fff;
  font-size: clamp(1.6rem, 2vw + 1rem, 2.4rem);
  line-height: 1.15;
  margin: 0 0 .55rem;
}
.hero-corner p {
  color: rgba(255, 255, 255, .9);
  font-size: 1rem;
  line-height: 1.5;
  margin: 0 0 1.1rem;
  max-width: 620px;
}
.hero-corner .hero-corner-actions {
  display: flex;
  gap: .6rem;
  flex-wrap: wrap;
}
.hero-corner .btn { padding: 11px 22px; font-size: .95rem; }

/* Unmute button — small, bottom-LEFT of the video so it isn't covered by the nav */
.hero-unmute {
  position: absolute;
  left: 24px;
  bottom: 24px;
  z-index: 5;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .35);
  background: rgba(15, 22, 30, .55);
  color: #fff;
  font-size: 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background .15s ease, transform .15s ease;
  backdrop-filter: blur(6px);
}
.hero-unmute:hover { background: rgba(15, 22, 30, .8); transform: scale(1.05); }

/* =====================================================
   Meet Dr. Syed section (home page) — gray background
   ===================================================== */
.meet-doctor {
  background: #F0F0F0;
  padding: 60px 0;
}
.meet-doctor .container {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 4rem;
  align-items: center;
}
.meet-doctor img.portrait {
  width: 100%;
  max-width: 460px;
  margin-inline: auto;
  display: block;
  filter: drop-shadow(0 24px 48px rgba(0, 0, 0, .15));
}
.meet-doctor .eyebrow { color: var(--orange); }
.meet-doctor h2 { margin-bottom: 1rem; }
.meet-doctor p { color: var(--ink-soft); font-size: 1.02rem; }
.meet-doctor .signature {
  margin: 1.4rem 0 1.6rem;
  max-width: 240px;
  height: auto;
  display: block;
}
.meet-doctor .actions { display: flex; gap: .8rem; flex-wrap: wrap; }

/* =====================================================
   Service detail layout — full-width bottom grid replacement for sidebar
   ===================================================== */
.service-detail-stack { display: block; }
.service-detail-stack > article { max-width: 880px; margin-inline: auto; }
.all-services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.all-services-grid a {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 16px;
  text-align: center;
  font-weight: 600;
  font-size: .92rem;
  color: var(--ink);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .45rem;
  transition: all .2s ease;
}
.all-services-grid a:hover {
  border-color: var(--orange);
  color: var(--orange);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}
.all-services-grid a .ico {
  width: 38px; height: 38px;
  border-radius: 10px;
  background: var(--cream);
  color: var(--orange);
  display: inline-flex;
  align-items: center; justify-content: center;
  font-size: 1rem;
}
.all-services-grid a.active {
  border-color: var(--orange);
  color: var(--orange);
}

/* =====================================================
   Floating "Call Now" FAB — icon-only at rest, expands on scroll
   ===================================================== */
.call-fab {
  position: fixed;
  bottom: 22px;
  right: 22px;
  z-index: 1000;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 84px;
  height: 84px;
  border-radius: 999px;
  background: var(--orange);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.5rem;
  line-height: 1;
  box-shadow: 0 12px 28px rgba(0, 0, 0, .28);
  transition:
    width .3s cubic-bezier(.4, .0, .2, 1),
    padding .3s cubic-bezier(.4, .0, .2, 1),
    background .15s ease,
    transform .15s ease;
  overflow: hidden;
  padding: 0;
}
.call-fab i { flex-shrink: 0; font-size: 1.72rem; }
.call-fab-text {
  white-space: nowrap;
  max-width: 0;
  opacity: 0;
  margin-left: 0;
  transition:
    max-width .3s cubic-bezier(.4, .0, .2, 1),
    opacity .2s ease,
    margin-left .3s cubic-bezier(.4, .0, .2, 1);
}
.call-fab.expanded {
  width: auto;
  padding: 0 33px 0 27px;
}
.call-fab.expanded .call-fab-text {
  max-width: 210px;
  opacity: 1;
  margin-left: .82rem;
}
.call-fab:hover,
.call-fab:focus-visible {
  background: var(--orange-dark);
  color: #fff;
  transform: translateY(-2px);
  outline: none;
}
@media (max-width: 700px) {
  .call-fab { bottom: 16px; right: 14px; width: 52px; height: 52px; }
  .call-fab.expanded { padding: 0 18px 0 16px; font-size: .92rem; }
}
@media (prefers-reduced-motion: reduce) {
  .call-fab,
  .call-fab-text { transition: none; }
}

/* Responsive map wrapper for embedded iframes */
.map-embed {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.map-embed iframe { width: 100%; height: 100%; border: 0; display: block; }

/* =====================================================
   Areas We Serve — pill grid of neighborhood links
   ===================================================== */
.areas-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .8rem;
  margin-top: 2rem;
  max-width: 880px;
  margin-inline: auto;
}
.area-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  padding: 14px 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  font-weight: 600;
  font-size: .95rem;
  text-decoration: none;
  transition: all .2s ease;
}
.area-pill i { color: var(--orange); }
.area-pill:hover {
  background: var(--orange);
  color: #fff;
  border-color: var(--orange);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}
.area-pill:hover i { color: #fff; }
@media (max-width: 700px) {
  .areas-grid { grid-template-columns: repeat(2, 1fr); gap: .55rem; }
  .area-pill { padding: 11px 14px; font-size: .85rem; }
}

/* =====================================================
   Credentials carousel — auto-scrolling horizontal marquee
   ===================================================== */
.creds-carousel {
  overflow: hidden;
  width: 100%;
  position: relative;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.creds-track {
  display: flex;
  gap: 3rem;
  align-items: center;
  width: max-content;
  animation: credsScroll 32s linear infinite;
}
.creds-track img {
  height: 70px;
  width: auto;
  flex-shrink: 0;
  opacity: .9;
  filter: grayscale(.15);
  transition: opacity .2s ease, filter .2s ease;
}
.creds-track img:hover { opacity: 1; filter: none; }
.creds-carousel:hover .creds-track { animation-play-state: paused; }
@keyframes credsScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .creds-track { animation: none; flex-wrap: wrap; justify-content: center; width: 100%; gap: 2rem; }
}

/* =====================================================
   Tighter mobile — keep tiles side-by-side, smaller chrome
   ===================================================== */
@media (max-width: 980px) {
  body.home .topbar { display: flex; padding: 6px 0; font-size: .78rem; }
  body.home .site-header { top: 36px; }
  .hero-corner { right: 14px; bottom: 14px; left: 14px; max-width: none; padding: 16px 18px; }
  .hero-corner h1 { font-size: 1.25rem; }
  .hero-corner p { font-size: .86rem; }
  .meet-doctor .container { grid-template-columns: 1fr; gap: 2rem; }
  .all-services-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 700px) {
  body { font-size: 15.5px; }
  h1 { font-size: 1.95rem; }
  h2 { font-size: 1.5rem; }
  h3 { font-size: 1.12rem; }
  .section { padding: 50px 0; }
  .section-tight { padding: 40px 0; }
  .grid { gap: 0.85rem; }
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
  .service-card { padding: 18px 16px; }
  .service-card h3 { font-size: 1rem; }
  .service-card p { font-size: .85rem; }
  .service-card .ico-wrap { width: 44px; height: 44px; font-size: 1.15rem; }
  .feature { padding: 22px 18px; }
  .feature h3 { font-size: 1.05rem; }
  .feature p { font-size: .88rem; }
  .feature .ico { width: 54px; height: 54px; font-size: 1.3rem; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat .num { font-size: 1.9rem; }
  .stat .label { font-size: .78rem; }
  .credentials { gap: 1rem; padding: 16px 0; }
  .credentials img { height: 42px; }
  .testimonial-card { padding: 22px 20px; }
  .testimonial-card p { font-size: .92rem; }
  .all-services-grid { grid-template-columns: repeat(2, 1fr); gap: .65rem; }
  .all-services-grid a { padding: 14px 10px; font-size: .82rem; }
  .all-services-grid a .ico { width: 32px; height: 32px; font-size: .9rem; }
  .cta-strip { padding: 50px 0; }
  .cta-strip .container { gap: 1rem; }
  .btn { padding: 11px 20px; font-size: .9rem; }
  .hero-unmute { right: 14px; top: 14px; width: 36px; height: 36px; font-size: .85rem; }
}
@media (max-width: 420px) {
  .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .all-services-grid { grid-template-columns: 1fr 1fr; }
}
