:root {
  --forest: #2D5246;
  --forest-light: #3D6B5A;
  --forest-dark: #1C3A30;
  --sage: #7A9B8A;
  --sage-light: #B5CCBF;
  --cream: #F7F4EE;
  --warm-white: #FDFBF7;
  --parchment: #EDE8DF;
  --gold: #C4A96A;
  --gold-text: #7D6328;   /* gold darkened to meet 4.5:1 on light backgrounds */
  --gold-light: #E0C98F;  /* gold lightened to meet 4.5:1 on forest backgrounds */
  --text-dark: #1A2820;
  --text-mid: #4A6258;
}

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

html { scroll-behavior: smooth; }

/* ── ACCESSIBILITY HELPERS ── */
.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0);
  white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; top: 0; left: 1rem; z-index: 200;
  padding: 0.8rem 1.4rem;
  background: var(--forest-dark);
  color: #fff;
  font-weight: 500;
  text-decoration: none;
  transform: translateY(-120%);
  transition: transform 0.2s;
}
.skip-link:focus { transform: translateY(0.5rem); }
main:focus { outline: none; }

:focus-visible {
  outline: 3px solid var(--forest);
  outline-offset: 3px;
}
#why :focus-visible, footer :focus-visible, .btn-primary:focus-visible {
  outline-color: var(--gold-light);
}
.btn-primary:focus-visible { box-shadow: 0 0 0 3px var(--forest-dark); }
section[id] { scroll-margin-top: 100px; }

body {
  font-family: 'Jost', sans-serif;
  background: var(--warm-white);
  color: var(--text-dark);
  overflow-x: hidden;
}

/* ── TOP STRIP ── */
.top-strip {
  position: fixed; top: 0; left: 0; right: 0; z-index: 101;
  height: 40px;
  display: flex; align-items: center; justify-content: center;
  background: var(--parchment);
  color: var(--forest-dark);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

/* ── NAV ── */
#mainNav {
  position: fixed; top: 40px; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between; gap: 2rem;
  padding: 1.4rem 4rem;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 4px solid var(--parchment);
  transition: padding 0.3s;
}
#mainNav.scrolled { padding: 0.9rem 4rem; }

.nav-logo img {
  display: block;
  width: 340px;
  max-width: 100%;
  height: auto;
}

.nav-links {
  display: flex; gap: 1.5rem; list-style: none;
  align-items: center;
  margin-right: 6rem;
}
.nav-links a {
  font-family: 'Jost', sans-serif;
  font-size: 0.95rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-mid);
  text-decoration: none;
  position: relative;
  transition: color 0.3s;
}
.nav-links a::after {
  content: '';
  position: absolute; bottom: -3px; left: 0;
  width: 0; height: 1px;
  background: var(--forest);
  transition: width 0.3s;
}
.nav-links a:hover, .nav-links a:focus-visible { color: var(--forest); }
.nav-links a:hover::after, .nav-links a:focus-visible::after { width: 100%; }
.nav-links .btn-primary { color: var(--gold-light); }
.nav-links .btn-primary:hover { color: var(--gold-light); }
.nav-links .btn::after { display: none; }
.nav-has-sub { position: relative; }
.nav-sub {
  list-style: none;
  position: absolute; top: 100%; left: 50%;
  transform: translateX(-50%);
  min-width: 200px;
  padding: 1.2rem 0 0.6rem;
  background: rgba(255,255,255,0.97);
  border-bottom: 3px solid var(--parchment);
  box-shadow: 0 12px 30px rgba(45,82,70,0.10);
  opacity: 0; visibility: hidden;
  transition: opacity 0.2s, visibility 0.2s;
}
.nav-has-sub:hover .nav-sub,
.nav-has-sub:focus-within .nav-sub { opacity: 1; visibility: visible; }
.nav-sub li { padding: 0.45rem 1.4rem; text-align: center; }
.nav-sub a { font-size: 0.85rem; white-space: nowrap; }

.doctor-anchor { scroll-margin-top: 140px; }

.nav-phone {
  display: flex;
  align-items: center;
  color: var(--forest) !important;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.4rem;
  color: var(--forest);
  position: relative;
  z-index: 110;
}
.nav-toggle svg { width: 26px; height: 26px; display: block; }

.btn {
  display: inline-block;
  padding: 0.7rem 2rem;
  border-radius: 2px;
  font-family: 'Jost', sans-serif;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: all 0.3s;
}
.btn-primary {
  background: var(--forest);
  color: var(--gold-light);
}
.btn-primary:hover {
  background: var(--forest-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(45,82,70,0.25);
}
.btn-outline {
  background: transparent;
  color: var(--forest);
  border: 1.5px solid var(--forest);
}
.btn-outline:hover {
  background: var(--forest);
  color: white;
}

/* ── HERO ── */
#hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
}

.hero-left {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 12.5rem 5rem 6rem 7rem;
  background: var(--parchment);
  position: relative;
  z-index: 1;
}

.hero-left::before {
  content: '';
  position: absolute;
  top: 0; left: 0; bottom: 0;
  width: 100%;
  background: radial-gradient(ellipse at 20% 50%, rgba(181,204,191,0.18) 0%, transparent 65%);
  pointer-events: none;
}

.hero-eyebrow {
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-text);
  margin-bottom: 1.4rem;
  display: flex; align-items: center; gap: 0.8rem;
}
.hero-eyebrow::before {
  content: '';
  width: 32px; height: 1px;
  background: var(--gold);
  display: block;
}

.hero-headline {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(3rem, 5vw, 5.2rem);
  font-weight: 300;
  line-height: 1.08;
  color: var(--text-dark);
  margin-bottom: 1.8rem;
}
.hero-headline em {
  font-style: italic;
  color: var(--forest);
}

.hero-body {
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.8;
  color: var(--text-mid);
  max-width: 400px;
  margin-bottom: 2.8rem;
}

.hero-actions {
  display: flex; gap: 1.2rem; align-items: center; flex-wrap: wrap;
}

.hero-note {
  margin-top: 3.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--parchment);
  display: flex; gap: 2.5rem;
}
.hero-stat strong {
  display: block;
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem;
  font-weight: 500;
  color: var(--forest);
}
.hero-stat span {
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  color: var(--text-mid);
  text-transform: uppercase;
}

.hero-right {
  position: relative;
   background: var(--forest-dark) url("/images/hero.jpg") center center / contain no-repeat;
  overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}

.hero-right-bg {
  position: absolute; inset: 0;
  background: rgba(28, 58, 48, 0.15);
}

.hero-visual {
  position: relative; z-index: 1;
  text-align: center;
  padding: 4rem;
}

.hero-hibiscus {
  position: relative;
  display: flex; align-items: center; justify-content: center;
  animation: float 6s ease-in-out infinite;
}

.hero-badge {
  position: absolute;
  bottom: 24px; right: 24px;
  background: var(--gold);
  color: white;
  border-radius: 2px;
  padding: 1rem 1.4rem;
  text-align: center;
  box-shadow: 0 8px 32px rgba(0,0,0,0.2);
  animation: float 4s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
.hero-badge strong {
  display: block;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  font-weight: 500;
  line-height: 1;
}
.hero-badge span {
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.9;
}

.floating-leaf {
  position: absolute;
  opacity: 0.15;
}

/* ── INTRO STRIP ── */
.intro-strip {
  background: var(--parchment);
  padding: 2rem 4rem;
  display: flex; align-items: center; justify-content: center;
  gap: 4rem;
  flex-wrap: wrap;
  border-bottom: 1px solid rgba(45,82,70,0.08);
}
.intro-item {
  display: flex; align-items: center; gap: 0.8rem;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-mid);
}
.intro-item svg { opacity: 0.6; }

/* ── SECTIONS ── */
section { padding: 7rem 0; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 4rem;
}

.section-label {
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-text);
  margin-bottom: 1rem;
  display: flex; align-items: center; gap: 0.8rem;
}
.section-label::before {
  content: '';
  width: 24px; height: 1px;
  background: var(--gold);
}

.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 4vw, 3.4rem);
  font-weight: 300;
  line-height: 1.15;
  margin-bottom: 1.2rem;
}
.section-title em { font-style: italic; color: var(--forest); }

.section-sub {
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.8;
  color: var(--text-mid);
  max-width: 520px;
}

/* ── SERVICES ── */
#services { background: var(--warm-white); }

.services-header {
  display: flex; justify-content: space-between; align-items: flex-end;
  margin-bottom: 4rem;
  flex-wrap: wrap; gap: 2rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5px;
  background: var(--parchment);
  border: 1.5px solid var(--parchment);
}

.service-card {
  background: var(--warm-white);
  padding: 2.8rem 2.4rem;
  transition: background 0.3s, transform 0.3s;
  position: relative;
  overflow: hidden;
  cursor: pointer;
}
.service-card::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: var(--forest);
  transform: scaleX(0);
  transition: transform 0.3s;
}
.service-card:hover { background: var(--cream); }
.service-card:hover::before { transform: scaleX(1); }

.service-number {
  font-family: 'Cormorant Garamond', serif;
  font-size: 4rem;
  font-weight: 300;
  color: var(--parchment);
  line-height: 1;
  margin-bottom: 1rem;
  transition: color 0.3s;
}
.service-card:hover .service-number { color: rgba(45,82,70,0.12); }

.service-icon {
  width: 40px; height: 40px;
  background: var(--forest);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.2rem;
}
.service-icon svg { width: 20px; height: 20px; fill: white; }

.service-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem;
  font-weight: 500;
  margin-bottom: 0.6rem;
  color: var(--text-dark);
}

.service-desc {
  font-size: 0.88rem;
  font-weight: 300;
  line-height: 1.7;
  color: var(--text-mid);
}

/* ── WHY US ── */
#why {
  background: var(--forest);
  color: white;
}

#why .section-title { color: white; }
#why .section-title em { color: var(--gold-light); }
#why .section-label { color: var(--gold-light); }
#why .section-label::before { background: var(--gold); }

.why-grid {
  display: grid;
  grid-template-columns: 1fr;
  max-width: 760px;
  gap: 5rem;
  align-items: center;
  margin-top: 4rem;
}

.why-list { display: flex; flex-direction: column; gap: 2rem; }

.why-item {
  display: flex; gap: 1.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.why-item:last-child { border-bottom: none; padding-bottom: 0; }

.why-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 3rem;
  font-weight: 300;
  color: rgba(196,169,106,0.4);
  line-height: 1;
  min-width: 50px;
}

.why-content h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.3rem;
  font-weight: 500;
  margin-bottom: 0.4rem;
  color: white;
}
.why-content p {
  font-size: 0.88rem;
  font-weight: 300;
  line-height: 1.7;
  color: rgba(255,255,255,0.8);
}

.why-visual {
  position: relative;
  display: flex; align-items: center; justify-content: center;
}

.why-quote-box {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  padding: 3rem;
  position: relative;
}
.why-quote-box::before {
  content: '\201C';
  font-family: 'Cormorant Garamond', serif;
  font-size: 8rem;
  color: rgba(196,169,106,0.2);
  position: absolute;
  top: -1rem; left: 1rem;
  line-height: 1;
}

.quote-text {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  font-style: italic;
  font-weight: 300;
  line-height: 1.5;
  color: white;
  margin-bottom: 1.5rem;
}

.quote-author {
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
}

.rating-row {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex; gap: 0.3rem; align-items: center;
}
.star { color: var(--gold); font-size: 1rem; }

/* ── TEAM ── */
#team { background: var(--cream); }

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 4rem;
}

.team-card {
  background: white;
  overflow: hidden;
  position: relative;
  transition: transform 0.3s, box-shadow 0.3s;
}
.team-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(45,82,70,0.12);
}

.team-photo {
  width: 100%; aspect-ratio: 4/5;
  background: var(--sage-light);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  position: relative;
}

.team-photo-placeholder {
  width: 100%; height: 100%;
  background: linear-gradient(160deg, var(--sage-light) 0%, var(--sage) 100%);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 1rem;
}

.team-avatar {
  width: 90px; height: 90px;
  border-radius: 50%;
  background: rgba(255,255,255,0.3);
  display: flex; align-items: center; justify-content: center;
}
.team-avatar svg { width: 50px; height: 50px; fill: rgba(255,255,255,0.7); }

.team-info { padding: 1.5rem 1.8rem; }

.team-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem;
  font-weight: 500;
  color: var(--text-dark);
  margin-bottom: 0.2rem;
}
.team-role {
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--forest);
  margin-bottom: 0.8rem;
}
.team-bio {
  font-size: 0.85rem;
  font-weight: 300;
  line-height: 1.7;
  color: var(--text-mid);
}

.doctor-intro {
  display: grid;
  grid-template-columns: minmax(260px, 380px) 1fr;
  gap: 4rem;
  align-items: start;
  margin-top: 3rem;
}
.doctor-letter p {
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.8;
  color: var(--text-mid);
  margin-bottom: 1.2rem;
}
.doctor-letter p:first-child {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.6rem;
  line-height: 1.4;
  color: var(--forest);
}
.doctor-letter .doctor-signature {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 1.4rem;
  color: var(--text-dark);
  margin-top: 2rem;
  margin-bottom: 0;
}

/* ── CTA ── */
#cta {
  background: var(--parchment);
  text-align: center;
  padding: 8rem 4rem;
  position: relative;
  overflow: hidden;
}

#cta::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at center, rgba(45,82,70,0.06) 0%, transparent 60%);
}

#cta .section-label { justify-content: center; }
#cta .section-title { color: var(--text-dark); }

.cta-body {
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.8;
  color: var(--text-mid);
  max-width: 500px;
  margin: 1rem auto 2.5rem;
}

.cta-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ── CONTACT ── */
#contact { background: var(--warm-white); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  max-width: 600px;
  margin: 0 auto;
  gap: 6rem;
  align-items: start;
}

.contact-details { display: flex; flex-direction: column; gap: 2rem; }

.contact-item {
  display: flex; gap: 1.2rem; align-items: flex-start;
}

.contact-icon {
  width: 44px; height: 44px; min-width: 44px;
  border: 1.5px solid var(--sage-light);
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
}
.contact-icon svg { width: 18px; height: 18px; stroke: var(--forest); fill: none; stroke-width: 1.5; }

.contact-item-title {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-mid);
  margin-bottom: 0.3rem;
}
.contact-item-val {
  font-size: 0.95rem;
  color: var(--text-dark);
  line-height: 1.5;
}

/* Hours table */
.hours-table { width: 100%; }
.hours-row {
  display: flex; justify-content: space-between;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--parchment);
  font-size: 0.88rem;
}
.hours-row:last-child { border-bottom: none; }
.hours-day { color: var(--text-mid); font-weight: 300; }
.hours-time { color: var(--text-dark); font-weight: 400; }

/* Form */
.contact-form { display: flex; flex-direction: column; gap: 1.2rem; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

.form-group { display: flex; flex-direction: column; gap: 0.4rem; }

.form-group label {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-mid);
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 0.85rem 1rem;
  border: 1.5px solid var(--parchment);
  background: var(--warm-white);
  font-family: 'Jost', sans-serif;
  font-size: 0.9rem;
  color: var(--text-dark);
  border-radius: 2px;
  transition: border-color 0.3s;
  outline: none;
  resize: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--forest);
}
.form-group textarea { height: 100px; }

/* ── INSURANCE ── */
#insurance {
  background: var(--cream);
  padding: 3rem 0 2.5rem;
  border-top: 1px solid var(--parchment);
}
.insurance-heading {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-mid);
  text-align: center;
  margin-bottom: 1.5rem;
}
.insurance-marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
          mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
}
.insurance-track {
  display: flex;
  width: max-content;
  animation: insurance-scroll 60s linear infinite;
}
.insurance-marquee:hover .insurance-track,
.insurance-marquee:focus-within .insurance-track { animation-play-state: paused; }
.insurance-list {
  list-style: none;
  display: flex;
  flex-shrink: 0;
}
.insurance-list li {
  white-space: nowrap;
  padding: 0 1.75rem;
  font-size: 0.95rem;
  color: var(--forest);
  position: relative;
}
.insurance-list li::after {
  content: "";
  position: absolute; right: -3px; top: 50%;
  width: 5px; height: 5px; margin-top: -2.5px;
  border-radius: 50%;
  background: var(--gold);
}
@keyframes insurance-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.insurance-note {
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-mid);
  margin-top: 1.5rem;
  padding: 0 1.5rem;
}
.insurance-note a { color: var(--forest); text-decoration: underline; text-underline-offset: 3px; }

/* ── FOOTER ── */
footer {
  background: var(--forest-dark);
  color: rgba(255,255,255,0.8);
  padding: 4rem;
}

.footer-inner {
  max-width: 1200px; margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 4rem;
}

.footer-logo img { height: 36px; filter: brightness(0) invert(1) opacity(0.8); margin-bottom: 1rem; }

.footer-tagline {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1rem;
  font-style: italic;
  color: rgba(255,255,255,0.75);
  margin-bottom: 1.5rem;
}

.footer-social { display: flex; gap: 0.8rem; }
.social-btn {
  width: 36px; height: 36px;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.8);
  text-decoration: none; font-size: 0.9rem;
  transition: all 0.3s;
}
.social-btn:hover, .social-btn:focus-visible { border-color: var(--gold-light); color: var(--gold-light); }

.footer-col h2 {
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: white;
  margin-bottom: 1.2rem;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.6rem; }
.footer-col ul a {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  transition: color 0.3s;
}
.footer-col ul li { font-size: 0.85rem; color: rgba(255,255,255,0.8); }
.footer-col ul a:hover, .footer-col ul a:focus-visible { color: #fff; text-decoration: underline; }
footer a { color: rgba(255,255,255,0.8); }

.footer-bottom {
  max-width: 1200px; margin: 3rem auto 0;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex; justify-content: space-between; align-items: center;
  font-size: 0.78rem; color: rgba(255,255,255,0.75);
}

/* ── ANIMATIONS ── */
.fade-in {
  opacity: 0; transform: translateY(20px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-in.visible { opacity: 1; transform: none; }

.team-heading {
  justify-content: center;
  font-family: 'Jost', sans-serif;
  font-size: 1.3rem;
  font-weight: 500;
}
.contact-item-val a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0ms !important;
  }
  .fade-in { opacity: 1; transform: none; }
  .insurance-marquee { -webkit-mask-image: none; mask-image: none; }
  .insurance-track { animation: none; width: auto; justify-content: center; padding: 0 1.5rem; }
  .insurance-list { flex-wrap: wrap; justify-content: center; row-gap: 0.6rem; }
  .insurance-list[aria-hidden="true"] { display: none; }
}

/* ── INNER PAGES ── */
.page-hero {
  background: var(--parchment);
  padding: 12.5rem 0 4.5rem;
  position: relative;
}
.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 15% 60%, rgba(181,204,191,0.22) 0%, transparent 60%);
  pointer-events: none;
}
.page-hero .container { position: relative; }
.page-hero .section-title { font-size: clamp(2.4rem, 5vw, 4rem); max-width: 820px; }
.page-hero-lead {
  font-size: 1.05rem;
  font-weight: 300;
  line-height: 1.8;
  color: var(--text-mid);
  max-width: 640px;
  margin-bottom: 2.2rem;
}

.breadcrumbs ol {
  list-style: none;
  display: flex; flex-wrap: wrap; gap: 0.5rem;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-mid);
  margin-bottom: 2.2rem;
}
.breadcrumbs li + li::before { content: '/'; margin-right: 0.5rem; color: var(--gold-text); }
.breadcrumbs a { color: var(--forest); text-underline-offset: 3px; }

.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 5rem;
  align-items: start;
}

.prose { max-width: 720px; }
.prose h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.7rem, 3vw, 2.2rem);
  font-weight: 400;
  line-height: 1.2;
  color: var(--forest);
  margin: 3rem 0 1rem;
}
.prose h2:first-child { margin-top: 0; }
.prose h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem;
  font-weight: 500;
  color: var(--text-dark);
  margin: 1.8rem 0 0.5rem;
}
.prose p, .prose li {
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.8;
  color: var(--text-mid);
  margin-bottom: 1rem;
}
.prose ul { padding-left: 1.3rem; margin-bottom: 1.2rem; }
.prose li { margin-bottom: 0.4rem; }
.prose li::marker { color: var(--gold); }
.prose strong { font-weight: 500; color: var(--text-dark); }
.prose a { color: var(--forest); text-decoration: underline; text-underline-offset: 3px; }

.faq details {
  border-bottom: 1px solid var(--parchment);
  padding: 1.1rem 0;
}
.faq summary {
  cursor: pointer;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--text-dark);
  list-style-position: outside;
}
.faq details p { margin: 0.8rem 0 0; }

.side-card {
  background: var(--cream);
  border: 1.5px solid var(--parchment);
  padding: 2rem;
  position: sticky;
  top: 160px;
}
.side-card + .side-card { margin-top: 1.5rem; position: static; }
.side-card h2 {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-mid);
  margin-bottom: 1rem;
}
.side-card p { font-size: 0.9rem; font-weight: 300; line-height: 1.7; color: var(--text-mid); margin-bottom: 1.2rem; }
.side-card .btn { display: block; text-align: center; margin-bottom: 0.8rem; }
.side-list { list-style: none; display: flex; flex-direction: column; gap: 0.55rem; }
.side-list a { font-size: 0.92rem; color: var(--forest); text-decoration: none; }
.side-list a:hover, .side-list a:focus-visible { text-decoration: underline; text-underline-offset: 3px; }
.side-list a[aria-current="page"] { font-weight: 500; color: var(--text-dark); }

/* Linked service cards */
.service-title a { color: inherit; text-decoration: none; }
.service-title a::after { content: ''; position: absolute; inset: 0; }
.service-title a:focus-visible { outline: none; }
.service-card:focus-within { outline: 3px solid var(--forest); outline-offset: -3px; }
.service-more {
  display: inline-block;
  margin-top: 1.2rem;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--forest);
}

.section-actions { margin-top: 3rem; display: flex; gap: 1rem; flex-wrap: wrap; }
#why .btn-outline { color: var(--gold-light); border-color: var(--gold-light); }
#why .btn-outline:hover { background: var(--gold-light); color: var(--forest-dark); }

/* Doctor teaser cards */
.doctor-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 340px));
  justify-content: center;
  gap: 2.5rem;
  margin-top: 3.5rem;
}
.doctor-cards .team-card { position: relative; }
.doctor-cards .team-name a { color: inherit; text-decoration: none; }
.doctor-cards .team-name a::after { content: ''; position: absolute; inset: 0; }
.doctor-cards .team-card:focus-within { outline: 3px solid var(--forest); outline-offset: 3px; }
.doctor-cards .team-name a:focus-visible { outline: none; }
.team-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }

.centered-header { text-align: center; }
.centered-header .section-label { justify-content: center; }
.centered-header .section-sub { margin: 0 auto; }

/* Static insurance list */
.insurance-grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--parchment);
  border: 1px solid var(--parchment);
  margin: 2rem 0 2.5rem;
}
.insurance-grid li {
  background: var(--warm-white);
  padding: 1rem 1.2rem;
  font-size: 0.95rem;
  color: var(--forest);
  margin: 0;
}

/* Payment option card */
.payment-card {
  background: var(--cream);
  border: 1.5px solid var(--parchment);
  border-left: 3px solid var(--gold);
  padding: 2rem 2.2rem;
  margin-top: 2.5rem;
}
.prose .payment-card h2 { margin-top: 0; }
.prose .payment-card-label {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold-text);
  margin-bottom: 0.6rem;
}
.prose .payment-card p:last-child { margin-bottom: 0; }

.contact-teaser {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  margin-top: 3rem;
}

/* ── RESPONSIVE ── */
@media (max-width: 1200px) {
  #mainNav, #mainNav.scrolled { padding-left: 2.5rem; padding-right: 2.5rem; }
  .nav-logo img { width: 280px; }
  .nav-links { margin-right: 0; gap: 1.2rem; }
}

@media (max-width: 1100px) {
  #mainNav, #mainNav.scrolled { padding: 1rem 2rem; backdrop-filter: none; }
  .nav-logo img { width: 230px; }
  .nav-toggle { display: flex; align-items: center; justify-content: center; }
  .nav-links {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    margin-right: 0;
    background: var(--warm-white);
    flex-direction: column;
    justify-content: flex-start;
    gap: 0.9rem;
    padding: 6rem 2rem 4rem;
    overflow-y: auto;
    display: none;
    z-index: 105;
  }
  .nav-links.open { display: flex; }
  .nav-links a { font-size: 1.15rem; white-space: nowrap; }
  .nav-links li { flex-shrink: 0; }
  .nav-has-sub { display: flex; flex-direction: column; align-items: center; gap: 0.6rem; }
  .nav-sub {
    position: static; transform: none;
    min-width: 0; padding: 0;
    background: none; border: 0; box-shadow: none;
    opacity: 1; visibility: visible;
    display: flex; flex-direction: column; align-items: center; gap: 0.6rem;
  }
  .nav-sub li { padding: 0; }
  .nav-sub a { font-size: 0.95rem; text-transform: none; letter-spacing: 0.05em; }
  body.menu-open { overflow: hidden; }
}

@media (max-width: 1024px) {
  #hero { grid-template-columns: 1fr; min-height: auto; }
  .hero-right { min-height: 50vw; }
  .hero-left { padding: 9rem 4rem 4rem; }
  .page-hero { padding: 10rem 0 3.5rem; }
  .why-grid, .contact-grid { grid-template-columns: 1fr; gap: 3rem; }
  .services-grid, .team-grid { grid-template-columns: 1fr 1fr; }
  .content-grid { grid-template-columns: 1fr; gap: 3rem; }
  .side-card { position: static; }
  .insurance-grid { grid-template-columns: 1fr 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .hero-left { padding: 8rem 2rem 3rem; }
  .page-hero { padding: 8.5rem 0 3rem; }
  .hero-note { flex-wrap: wrap; row-gap: 1.5rem; }
  .container { padding: 0 2rem; }
  .services-grid, .team-grid { grid-template-columns: 1fr; }
  .doctor-intro { grid-template-columns: 1fr; gap: 2.5rem; }
  .doctor-intro .team-card { max-width: 380px; width: 100%; margin: 0 auto; }
  .doctor-cards { grid-template-columns: minmax(0, 340px); }
  .contact-teaser { grid-template-columns: 1fr; gap: 2rem; }
  .insurance-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 2rem; }
  .intro-strip { padding: 1.5rem 2rem; gap: 2rem; }
}

@media (max-width: 480px) {
  section { padding: 4.5rem 0; }
  #cta { padding: 5rem 1.5rem; }
  footer { padding: 3rem 1.5rem; }
  .why-quote-box { padding: 2rem 1.5rem; }
  .hero-badge { padding: 0.8rem 1rem; }
  .side-card { padding: 1.5rem; }
}

/* New patient offer */
.special-offer { background: var(--cream); }
.special-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 4rem;
  align-items: center;
}
.special-price-panel {
  border-left: 2px solid var(--gold);
  padding: 1rem 0 1rem 3rem;
}
.special-price, .side-card .special-price {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(4rem, 8vw, 6rem);
  font-weight: 400;
  line-height: 1;
  color: var(--forest);
  margin-bottom: 1rem;
}
.special-includes { color: var(--text-mid); line-height: 1.8; }
.special-bonus { color: var(--forest); font-weight: 500; margin: 0.5rem 0 1.5rem; }
.special-notes {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--sage-light);
  color: var(--text-mid);
  font-size: 0.88rem;
  line-height: 1.8;
}
.special-notes p + p { margin-top: 0.75rem; }
.special-notes strong { font-weight: 500; color: var(--forest); }
/* Keep the expanded main menu comfortable on narrower desktops. */
@media (min-width: 1101px) {
  .nav-links { gap: 1rem; margin-right: 0; }
  .nav-links .btn { padding-left: 1rem; padding-right: 1rem; }
  .nav-logo { flex-shrink: 0; }
  .nav-logo img { width: 280px; }
}
@media (max-width: 768px) {
  .special-layout { grid-template-columns: 1fr; gap: 2rem; }
  .special-price-panel { padding-left: 1.5rem; }
}
