/* ============================================
   Norwalk Dental Group — Design System
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700&family=Public+Sans:wght@400;500;600;700&display=swap');

:root {
  --navy: #24302B;
  --navy-light: #38453D;
  --gold: #75927D;
  --gold-light: #A9BFAE;
  --gold-deep: #526657; /* WCAG AA compliant (6.57:1 on white) — use for all accent TEXT and button backgrounds. --gold stays for decorative/icon/border use only. */
  --white: #FFFFFF;
  --cream: #F5F2EC;
  --charcoal: #1A1A1A;
  --mist: #E7E4DC;

  --font-display: 'Playfair Display', serif;
  --font-body: 'Public Sans', sans-serif;

  --max-width: 1180px;
  --radius: 2px;
}

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

/* ---------- Accessibility: skip link ---------- */
.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;
}
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--navy);
  color: var(--white);
  padding: 14px 22px;
  z-index: 1000;
  font-weight: 600;
  border-radius: 0 0 4px 0;
}
.skip-link:focus {
  left: 0;
}

/* ---------- Accessibility: visible focus states ---------- */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--gold-deep);
  outline-offset: 2px;
}

/* ---------- Accessibility: respect reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .service-card:hover { transform: none; }
}

html { scroll-behavior: smooth; background: var(--white); }

body {
  font-family: var(--font-body);
  color: var(--charcoal);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 32px;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--navy);
  line-height: 1.15;
}

h1 { font-size: clamp(2.6rem, 5vw, 4.2rem); font-weight: 400; }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.8rem); }
h3 { font-size: 1.4rem; }

p { color: #3d3d3d; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 18px;
}

.eyebrow::before {
  content: '';
  width: 28px;
  height: 1px;
  background: var(--gold);
}

/* ---------- Signature arc divider ---------- */
.arc-divider {
  width: 100%;
  max-width: 220px;
  height: 24px;
  margin: 22px 0;
}
.arc-divider path {
  fill: none;
  stroke: var(--gold);
  stroke-width: 1.5;
  stroke-linecap: round;
}
.arc-divider.center { margin-left: auto; margin-right: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 14px 28px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}
.btn-gold {
  background: var(--gold-deep);
  color: var(--white);
}
.btn-gold:hover { background: var(--navy); }
.btn-outline {
  background: transparent;
  border-color: var(--navy);
  color: var(--navy);
}
.btn-outline:hover { background: var(--navy); color: var(--white); }
.btn-outline-light {
  background: transparent;
  border-color: rgba(255,255,255,0.4);
  color: var(--white);
}
.btn-outline-light:hover { background: var(--white); color: var(--navy); }

/* ---------- Header / Nav ---------- */
header.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--mist);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 32px;
  max-width: var(--max-width);
  margin: 0 auto;
}
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--navy);
}
.logo svg { width: 34px; height: 34px; }
.logo .logo-text strong { font-weight: 600; }
.logo .logo-sub {
  display: block;
  font-family: var(--font-body);
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-top: 2px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 34px;
  font-size: 0.95rem;
  font-weight: 500;
}
.nav-links a { color: var(--charcoal); position: relative; }
.nav-links a.active, .nav-links a:hover { color: var(--navy); }

.nav-item-dropdown { position: relative; }
.nav-item-dropdown > a { display: flex; align-items: center; gap: 5px; }
.nav-item-dropdown > a::after {
  content: '';
  width: 6px; height: 6px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
  margin-top: -3px;
  transition: transform 0.15s ease;
}
.nav-item-dropdown:hover > a::after { transform: rotate(225deg); margin-top: 3px; }
.nav-dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: var(--white);
  border: 1px solid var(--mist);
  border-radius: var(--radius);
  box-shadow: 0 16px 30px -12px rgba(36,48,43,0.25);
  padding: 10px;
  min-width: 220px;
  z-index: 50;
}
@media (min-width: 901px) {
  .nav-item-dropdown:hover .nav-dropdown-menu { display: block; }
}
.nav-dropdown-menu a {
  display: block;
  padding: 9px 12px;
  border-radius: 6px;
  font-size: 0.92rem;
  white-space: nowrap;
}
.nav-dropdown-menu a:hover { background: var(--cream); }
.nav-dropdown-menu .dropdown-divider { border-top: 1px solid var(--mist); margin: 6px 4px; }
.nav-dropdown-menu a.dropdown-viewall { font-weight: 600; color: var(--gold-deep); }

@media (max-width: 900px) {
  .nav-item-dropdown > a::after { display: none; }
  .nav-dropdown-menu { display: none; position: static; box-shadow: none; border: none; padding: 0 0 0 16px; transform: none; }
  .nav-dropdown-menu.open { display: block; }
  .nav-dropdown-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px; height: 36px;
    background: none;
    border: none;
    cursor: pointer;
    margin-left: auto;
  }
  .nav-dropdown-toggle svg { transition: transform 0.2s ease; }
  .nav-dropdown-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
  .nav-item-dropdown { display: flex; align-items: center; flex-wrap: wrap; width: 100%; }
  .nav-item-dropdown > a { flex: 1; }
  .nav-item-dropdown .nav-dropdown-menu { flex-basis: 100%; }
}
@media (min-width: 901px) {
  .nav-dropdown-toggle { display: none; }
}

.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: -20px;
  left: 0; right: 0;
  height: 2px;
  background: var(--gold);
}
.nav-item-dropdown > a.active::after {
  content: '';
  position: static;
  width: 6px; height: 6px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
  margin-top: -3px;
  background: none;
  display: inline-block;
}
.nav-item-dropdown:hover > a.active::after { transform: rotate(225deg); margin-top: 3px; }
@media (max-width: 900px) {
  .nav-item-dropdown > a.active::after { display: none; }
}
.nav-cta { display: flex; align-items: center; gap: 20px; }
.nav-phone { font-weight: 600; color: var(--navy); font-size: 0.95rem; }
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
}
.mobile-toggle svg { width: 24px; height: 24px; }

@media (max-width: 900px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding: 20px 32px 26px;
    border-bottom: 1px solid var(--mist);
    box-shadow: 0 12px 20px -12px rgba(0,0,0,0.15);
    max-height: calc(100vh - 80px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 10px 0; width: 100%; }
  .nav-links a.active::after { display: none; }
  .mobile-toggle { display: flex; }
  .nav-phone { display: none; }
}

@media (max-width: 640px) {
  .nav { padding: 10px 20px; }
  .logo .logo-text { display: none; }
  .logo svg { width: 30px; height: 30px; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: var(--cream);
  overflow: hidden;
  padding: 90px 0 70px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}
.hero h1 { margin-bottom: 22px; }
.hero p.lead {
  font-size: 1.15rem;
  max-width: 480px;
  margin-bottom: 34px;
}
.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-arc-bg {
  position: absolute;
  top: -60px;
  right: -120px;
  width: 640px;
  height: 640px;
  opacity: 0.5;
  z-index: 0;
}
.hero-panel {
  background: var(--navy);
  border-radius: var(--radius);
  aspect-ratio: 4/5;
  position: relative;
  display: flex;
  align-items: flex-end;
  padding: 30px;
  overflow: hidden;
}
.hero-panel::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 20%, rgba(184,150,90,0.35), transparent 55%),
    linear-gradient(160deg, var(--navy), var(--navy-light));
}
.hero-panel-caption {
  position: relative;
  color: var(--white);
  font-size: 0.85rem;
  letter-spacing: 0.05em;
}
.hero-panel-caption strong { color: var(--gold-light); display:block; font-family: var(--font-display); font-size: 1.05rem; margin-bottom: 4px; }

/* ---------- Hero carousel ---------- */
.hero-carousel {
  position: relative;
  aspect-ratio: 4/5;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--navy);
}
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.7s ease;
  display: flex;
  align-items: flex-end;
}
.hero-slide.is-active {
  opacity: 1;
  visibility: visible;
  z-index: 2;
}
.hero-slide-bg {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.35);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-align: center;
}
.hero-slide[data-slide-index="0"] .hero-slide-bg { background: radial-gradient(circle at 30% 20%, rgba(184,150,90,0.35), transparent 55%), linear-gradient(160deg, var(--navy), var(--navy-light)); }
.hero-slide[data-slide-index="1"] .hero-slide-bg { background: radial-gradient(circle at 70% 25%, rgba(184,150,90,0.3), transparent 55%), linear-gradient(200deg, var(--navy), #0d3560); }
.hero-slide[data-slide-index="2"] .hero-slide-bg { background: radial-gradient(circle at 25% 70%, rgba(184,150,90,0.32), transparent 55%), linear-gradient(140deg, var(--navy), #24302B); }
.hero-slide[data-slide-index="3"] .hero-slide-bg { background: radial-gradient(circle at 60% 60%, rgba(212,182,134,0.4), transparent 55%), linear-gradient(160deg, var(--navy-light), var(--navy)); }

.hero-slide-overlay {
  position: relative;
  z-index: 3;
  padding: 30px;
  width: 100%;
}
.hero-slide-eyebrow {
  display: block;
  color: var(--gold-light);
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.hero-slide-overlay h3 {
  color: var(--white);
  font-size: 1.4rem;
  font-weight: 400;
  margin-bottom: 18px;
  max-width: 320px;
}
.hero-slide-ctas { display: flex; gap: 10px; flex-wrap: wrap; }
.hero-slide-ctas .btn { padding: 11px 18px; font-size: 0.85rem; }

.hero-carousel-dots {
  position: absolute;
  bottom: 18px;
  right: 20px;
  z-index: 4;
  display: flex;
  gap: 8px;
}
.hero-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,0.6);
  background: transparent;
  padding: 0;
  cursor: pointer;
}
.hero-dot.is-active { background: var(--gold-light); border-color: var(--gold-light); }

.hero-carousel-pause {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 4;
  background: rgba(13,31,60,0.55);
  border: none;
  color: var(--white);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.hero-carousel-pause svg { width: 14px; height: 14px; }

@media (prefers-reduced-motion: reduce) {
  .hero-slide { transition: none; }
}
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-carousel { max-width: 340px; }
}

/* ---------- Trust strip ---------- */
.trust-strip {
  background: var(--navy);
  padding: 26px 0;
}
.trust-row {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 18px;
  color: var(--white);
  font-size: 0.85rem;
  letter-spacing: 0.03em;
  font-weight: 500;
}
.trust-row span { opacity: 0.9; }
.trust-row .dot { color: var(--gold); margin: 0 6px; }

/* ---------- Section spacing ---------- */
section { padding: 96px 0; }
.section-head { max-width: 640px; margin-bottom: 56px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.bg-cream { background: var(--cream); }
.bg-navy { background: var(--navy); color: var(--white); }
.bg-navy h2, .bg-navy h3 { color: var(--white); }
.bg-navy p { color: rgba(255,255,255,0.78); }

/* ---------- Services grid ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
@media (max-width: 900px) {
  .grid-3 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
}

.service-card {
  background: var(--white);
  border: 1px solid var(--mist);
  padding: 36px 30px;
  border-radius: var(--radius);
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
  display: block;
  text-decoration: none;
  color: inherit;
}
.service-card:hover { border-color: var(--gold); transform: translateY(-3px) scale(1.03); box-shadow: 0 16px 30px -18px rgba(36,48,43,0.3); }
.service-card .icon-arc { width: 40px; height: 40px; margin-bottom: 18px; }
.service-card h3 { margin-bottom: 10px; font-size: 1.2rem; }
.service-card p { font-size: 0.95rem; }
.service-card a.more {
  display: inline-block;
  margin-top: 14px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gold-deep);
  border-bottom: 1px solid var(--gold-deep);
}

/* ---------- Doctor cards ---------- */
.doctor-card {
  background: var(--white);
  display: block;
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  border-radius: var(--radius);
}
.doctor-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 30px -18px rgba(36,48,43,0.3);
}
.doctor-bio-header {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 40px;
  align-items: start;
  margin-bottom: 20px;
}
@media (max-width: 640px) {
  .doctor-bio-header {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
    max-width: 280px;
    margin-left: auto;
    margin-right: auto;
  }
}
.doctor-photo {
  aspect-ratio: 1080/990;
  background: var(--mist);
  border-radius: var(--radius);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #8a8578;
  font-size: 0.85rem;
  font-family: var(--font-body);
  text-align: center;
  padding: 20px;
  overflow: hidden;
  border: 1px solid var(--mist);
}
.doctor-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.doctor-card h3 { margin-bottom: 4px; }
.doctor-card .role { color: var(--gold-deep); font-weight: 600; font-size: 0.85rem; letter-spacing: 0.04em; text-transform: uppercase; margin-bottom: 14px; }
.doctor-card p { font-size: 0.95rem; }

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--navy);
  color: var(--white);
  text-align: center;
  padding: 90px 0;
  position: relative;
  overflow: hidden;
}
.cta-band h2 { color: var(--white); margin-bottom: 18px; }
.cta-band p { color: rgba(255,255,255,0.75); max-width: 520px; margin: 0 auto 34px; }
.cta-band .btn-row { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

.mid-cta {
  background: var(--cream);
  border: 1px solid var(--mist);
  border-radius: var(--radius);
  padding: 44px 32px;
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
  box-shadow: 0 20px 40px -28px rgba(36,48,43,0.25);
}
.mid-cta h3 { font-size: 1.5rem; margin-bottom: 10px; }
.mid-cta p { max-width: 440px; margin: 0 auto 24px; }
.mid-cta .btn { font-size: 1.05rem; padding: 16px 36px; }

/* ---------- Feature list (why us) ---------- */
.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.feature-list { display: flex; flex-direction: column; gap: 26px; margin-top: 30px; }
.feature-item { display: flex; gap: 18px; }
.feature-num {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--gold-deep);
  min-width: 40px;
}
.feature-item h4, .feature-item h3 { font-size: 1.05rem; margin-bottom: 4px; }
.feature-item p { font-size: 0.92rem; }
.feature-visual {
  background: var(--cream);
  border-radius: var(--radius);
  aspect-ratio: 1/1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
}
@media (max-width: 860px) {
  .feature-row { grid-template-columns: 1fr; }
}

/* ---------- Testimonial ---------- */
.testimonial {
  background: var(--cream);
  padding: 60px;
  border-radius: var(--radius);
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}
.testimonial p.quote {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--navy);
  font-weight: 400;
  line-height: 1.4;
  margin-bottom: 24px;
}
.testimonial .attribution { font-weight: 600; font-size: 0.9rem; color: var(--gold-deep); letter-spacing: 0.03em; }

/* ---------- Forms ---------- */
.form-panel {
  background: var(--white);
  border: 1px solid var(--mist);
  padding: 44px;
  border-radius: var(--radius);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 18px; }
.form-field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 18px; }
.form-field label { font-size: 0.82rem; font-weight: 600; color: var(--navy); }
.form-field input, .form-field select, .form-field textarea {
  font-family: var(--font-body);
  padding: 12px 14px;
  border: 1px solid var(--mist);
  border-radius: var(--radius);
  font-size: 0.95rem;
  color: var(--charcoal);
  background: var(--cream);
}
.form-field textarea { resize: vertical; min-height: 110px; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  outline: 2px solid var(--gold);
  outline-offset: 1px;
  background: var(--white);
}
@media (max-width: 640px) { .form-row { grid-template-columns: 1fr; } }

/* ---------- Info cards (hours/location) ---------- */
.info-card {
  background: var(--white);
  border: 1px solid var(--mist);
  padding: 32px;
  border-radius: var(--radius);
}
.info-card h3 { margin-bottom: 18px; display:flex; align-items:center; gap:10px; }
.hours-row { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px solid var(--mist); font-size: 0.92rem; }
.hours-row:last-child { border-bottom: none; }
.hours-row span:first-child { font-weight: 600; color: var(--navy); }

.map-placeholder {
  background: var(--mist);
  aspect-ratio: 16/9;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #8a8578;
  font-size: 0.9rem;
  text-align: center;
  padding: 20px;
}

/* ---------- FAQ ---------- */
.faq-item {
  border-bottom: 1px solid var(--mist);
  padding: 26px 0;
}
.faq-item h4, .faq-item h3 { color: var(--navy); font-size: 1.05rem; margin-bottom: 10px; font-family: var(--font-display); font-weight: 500; }
.faq-item p { font-size: 0.95rem; }

/* ---------- Insurance grid ---------- */
.insurance-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.insurance-chip {
  background: var(--white);
  border: 1px solid var(--mist);
  padding: 18px;
  text-align: center;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--navy);
  border-radius: var(--radius);
}
@media (max-width: 700px) { .insurance-grid { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Footer ---------- */
footer.site-footer {
  background: var(--navy);
  color: rgba(255,255,255,0.8);
  padding: 70px 0 30px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 50px;
  border-bottom: 1px solid rgba(255,255,255,0.15);
}
.footer-grid h4, .footer-grid .footer-label { color: var(--white); font-family: var(--font-body); font-size: 0.85rem; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 20px; font-weight: 600; }
.footer-grid ul { display: flex; flex-direction: column; gap: 5px; font-size: 0.92rem; }
.footer-grid ul a:hover { color: var(--gold-light); }
.footer-grid ul li:not(:has(a)) { opacity: 0.55; }
.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 18px;
}
.footer-social a {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.8);
  transition: border-color 0.2s ease, color 0.2s ease;
}
.footer-social a:hover { border-color: var(--gold-light); color: var(--gold-light); }
.footer-social svg { width: 16px; height: 16px; }
.footer-grid p { color: rgba(255,255,255,0.75); }
.footer-grid .coming-soon-tag { font-size: 0.78rem; opacity: 0.6; font-weight: 400; }
.footer-logo { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.footer-logo svg { width: 32px; height: 32px; }
.footer-logo span { font-family: var(--font-display); color: var(--white); font-size: 1.15rem; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  padding-top: 26px;
  font-size: 0.82rem;
  flex-wrap: wrap;
  gap: 10px;
}
@media (max-width: 860px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

/* ---------- Page header (interior pages) ---------- */
.page-header {
  background: var(--cream);
  padding: 70px 0 60px;
  text-align: center;
}
.page-header .eyebrow { justify-content: center; }
.page-header .eyebrow::before { display: none; }

/* ---------- Blog ---------- */
.blog-card { display: flex; flex-direction: column; }
.blog-card-image {
  background: var(--mist);
  aspect-ratio: 16/10;
  border-radius: var(--radius);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #8a8578;
  font-size: 0.85rem;
  text-align: center;
}
.blog-card-meta {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 10px;
}
.blog-card-soon { opacity: 0.75; cursor: default; }
.blog-card-soon:hover { border-color: var(--mist); transform: none; }

.breadcrumb-row { padding-top: 28px; }
.breadcrumb { font-size: 0.85rem; color: #6b6b6b; }
.breadcrumb a { color: var(--navy); font-weight: 600; }
.breadcrumb span { margin: 0 6px; }

.article-body { max-width: 760px; padding: 40px 32px 100px; }
.article-header { text-align: center; margin-bottom: 34px; }
.article-header .eyebrow { justify-content: center; }
.article-header .eyebrow::before { display: none; }
.article-meta { font-size: 0.85rem; color: #6b6b6b; margin-top: 14px; }
.article-image-placeholder {
  background: var(--mist);
  aspect-ratio: 16/9;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #8a8578;
  font-size: 0.9rem;
  margin-bottom: 40px;
}
.article-content h2 {
  font-size: 1.5rem;
  margin: 40px 0 16px;
}
.article-content p { margin-bottom: 18px; font-size: 1.02rem; }
.article-content ul { margin: 0 0 18px 22px; list-style: disc; }
.article-content li { margin-bottom: 10px; font-size: 1.02rem; color: #3d3d3d; }

.author-box {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  background: var(--cream);
  border-radius: var(--radius);
  padding: 26px;
  margin-top: 50px;
}
.author-avatar {
  width: 52px; height: 52px;
  min-width: 52px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--gold-light);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-size: 1.1rem;
}
.author-box p { font-size: 0.9rem; margin-top: 4px; }

/* ---------- HIPAA notice ---------- */
.hipaa-notice {
  background: var(--cream);
  border-left: 3px solid var(--navy);
  padding: 12px 16px;
  font-size: 0.85rem;
  color: var(--charcoal);
  margin-bottom: 20px;
  border-radius: 0 var(--radius) var(--radius) 0;
}

/* ---------- Sticky CTA (all pages) ---------- */
.sticky-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 200;
  background: var(--navy);
  display: flex;
  box-shadow: 0 -8px 20px -10px rgba(0,0,0,0.25);
}
.sticky-cta a {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 12px;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--white);
}
.sticky-cta a.sticky-call {
  border-right: 1px solid rgba(255,255,255,0.15);
  background: var(--navy);
}
.sticky-cta a.sticky-book {
  background: var(--gold-deep);
}
.sticky-cta a.sticky-book:hover { background: var(--gold); }
.sticky-cta a.sticky-call:hover { background: var(--navy-light); }
.sticky-cta svg { width: 18px; height: 18px; flex-shrink: 0; }

/* Reserve space so the bar never covers page content */
body { padding-bottom: 60px; }

@media (min-width: 901px) {
  body { padding-bottom: 0; }
  .sticky-cta {
    top: auto;
    left: auto;
    right: 24px;
    bottom: 24px;
    border-radius: 999px;
    overflow: hidden;
    box-shadow: 0 12px 28px -10px rgba(13,31,60,0.4);
    width: auto;
  }
  .sticky-cta a { padding: 16px 26px; }
  .sticky-cta a.sticky-call { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .sticky-cta a { transition: none; }
}

/* ---------- Smile Gallery ---------- */
.gallery-card {
  background: var(--white);
  border: 1px solid var(--mist);
  border-radius: var(--radius);
  overflow: hidden;
}
.gallery-before-after {
  display: grid;
  grid-template-columns: 1fr 1fr;
  aspect-ratio: 4/3;
}
.ba-half {
  background: var(--mist);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #8a8578;
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-right: 1px solid var(--white);
}
.ba-half:last-child { border-right: none; }
.gallery-caption {
  padding: 16px 18px;
  font-size: 0.9rem;
  color: var(--charcoal);
}

/* ---------- Announcement bar ---------- */
.announcement-bar {
  background: var(--gold-deep);
  color: var(--white);
  text-align: center;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 10px 20px;
}
.announcement-bar a {
  color: var(--white);
  text-decoration: underline;
  text-underline-offset: 2px;
  font-weight: 700;
}
.announcement-bar a:hover { color: var(--cream); }

/* ---------- Coming Soon page ---------- */
:root {
  --sage: #75927D;
  --sage-deep: #526657; /* WCAG AA compliant on white, 6.57:1 */
  --logo-navy: #24302B;
  --logo-gray: #46484B;
}
.coming-soon-wrap {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 24px;
  background: var(--cream);
  position: relative;
  overflow: hidden;
}
.coming-soon-arc {
  position: absolute;
  top: -10%;
  right: -15%;
  width: 700px;
  height: 700px;
  opacity: 0.35;
  z-index: 0;
}
.coming-soon-card {
  position: relative;
  z-index: 1;
  max-width: 680px;
  width: 100%;
  text-align: center;
}
.coming-soon-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 30px;
}
.coming-soon-logo svg { width: 100%; max-width: 380px; height: auto; }
.coming-soon-card h1 {
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  margin-bottom: 18px;
}
.playful-tagline {
  margin-bottom: 18px;
}
.tagline-line {
  display: block;
  line-height: 1.1;
}
.tagline-1, .tagline-2 {
  font-size: clamp(1.5rem, 3.5vw, 2.1rem);
  color: var(--navy);
  opacity: 0.7;
  font-weight: 400;
}
.tagline-3 {
  font-size: clamp(2.6rem, 6vw, 4rem);
  color: var(--gold-deep);
  font-weight: 600;
  margin-top: 4px;
}
.coming-soon-glow {
  position: absolute;
  top: 8%;
  left: 50%;
  transform: translateX(-50%);
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, rgba(92,139,114,0.16) 0%, rgba(92,139,114,0) 70%);
  z-index: 0;
  pointer-events: none;
}

.opening-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: clamp(0.95rem, 2vw, 1.1rem);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--white);
  background: var(--gold-deep);
  padding: 10px 24px;
  border-radius: 999px;
  margin: 0 auto 32px;
  box-shadow: 0 10px 24px -10px rgba(63,101,82,0.5);
}
.opening-badge::before,
.opening-badge::after {
  content: '';
  width: 20px;
  height: 2px;
  background: var(--white);
  opacity: 0.6;
}

.trust-badges {
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 44px;
}
@media (max-width: 640px) {
  .trust-badges { flex-wrap: wrap; }
}
.trust-badge {
  background: var(--white);
  border: 1px solid var(--mist);
  border-radius: 999px;
  padding: 8px 13px;
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--navy);
  box-shadow: 0 2px 8px -4px rgba(36,48,43,0.12);
  letter-spacing: 0.01em;
  min-width: 0;
  flex-shrink: 1;
  text-align: center;
}

.coming-soon-form {
  background: var(--white);
  border: 1px solid var(--mist);
  border-radius: 6px;
  padding: 40px 34px;
  text-align: left;
  margin-bottom: 50px;
  box-shadow: 0 20px 40px -20px rgba(36,48,43,0.18);
}
.coming-soon-card > p.lead {
  font-size: 1.1rem;
  max-width: 460px;
  margin: 0 auto 36px;
}
.coming-soon-form h3, .coming-soon-form h2 { text-align: center; margin-bottom: 6px; }
.coming-soon-form p.form-sub { text-align: center; font-size: 0.9rem; margin-bottom: 24px; }

.coming-soon-section { margin-bottom: 50px; text-align: left; }
.coming-soon-section h2 {
  font-size: 1.5rem;
  text-align: center;
  margin-bottom: 24px;
}
.cs-services-list {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 10px;
}
.cs-service-chip {
  background: var(--white);
  border: 1px solid var(--mist);
  border-radius: 6px;
  padding: 14px 16px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--logo-navy);
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.cs-service-chip:hover {
  transform: translateY(-2px);
  border-color: var(--sage);
  box-shadow: 0 8px 16px -8px rgba(36,48,43,0.18);
}
.cs-service-chip::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--sage);
  flex-shrink: 0;
}
@media (max-width: 640px) { .cs-services-list { grid-template-columns: 1fr 1fr; } }
@media (max-width: 420px) { .cs-services-list { grid-template-columns: 1fr; } }

.cs-doctors-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.cs-doctor-card {
  background: var(--white);
  border: 1px solid var(--mist);
  border-radius: 6px;
  padding: 18px 12px;
  text-align: center;
  box-shadow: 0 2px 8px -5px rgba(36,48,43,0.1);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.cs-doctor-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px -10px rgba(36,48,43,0.2);
}
.cs-doctor-avatar {
  width: 54px; height: 54px;
  border-radius: 50%;
  background: var(--mist);
  margin: 0 auto 12px;
  display: flex; align-items: center; justify-content: center;
  color: #8a8578;
  font-family: var(--font-display);
  font-size: 0.85rem;
  overflow: hidden;
}
.cs-doctor-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.cs-doctor-card h4, .cs-doctor-card h3 {
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--logo-navy);
  font-size: 0.95rem;
  margin-bottom: 4px;
}
.cs-doctor-card p {
  font-size: 0.75rem;
  color: var(--sage-deep);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
@media (max-width: 640px) {
  .cs-doctors-list { grid-template-columns: 1fr 1fr; }
}

.coming-soon-info {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.95rem;
  color: var(--charcoal);
}
.coming-soon-info a { color: var(--logo-navy); font-weight: 600; }
.coming-soon-legal {
  margin-top: 40px;
  font-size: 0.78rem;
  color: #8a8578;
}
.coming-soon-legal a { color: #8a8578; text-decoration: underline; }

@media (max-width: 500px) {
  .coming-soon-form { padding: 28px 20px; }
}

.section-divider {
  width: 60px;
  height: 2px;
  background: var(--mist);
  margin: 0 auto 40px;
}

/* ---------- Utility ---------- */
.placeholder-note {
  background: #FFF7E8;
  border: 1px dashed var(--gold);
  color: #6b5730;
  font-size: 0.82rem;
  padding: 10px 16px;
  border-radius: var(--radius);
  margin-bottom: 20px;
  font-weight: 500;
}
