/* ================================================================
   Northwest Dental Care — v2 Stylesheet
   Design: "Luminous Trust" — Navy · Lavender · Warm White
   Fonts: Cormorant Garamond (display) + Nunito (body)
   ================================================================ */

/* ---------- CSS Custom Properties ---------- */
:root {
  /* Brand Colors — drawn from logo */
  --navy:         #162846;
  --navy-mid:     #1e3760;
  --navy-light:   #2c5190;
  --lavender:     #7c65bc;
  --lavender-mid: #9e8bd0;
  --lavender-lt:  #c4b8e8;
  --lavender-pale:#ede9fb;
  --lavender-xpale:#f5f3ff;
  --gold:         #c9a050;

  /* Neutrals */
  --white:      #ffffff;
  --off-white:  #f9f8fe;
  --gray-50:    #f3f2f8;
  --gray-100:   #e8e6f2;
  --gray-200:   #d2cfdf;
  --gray-400:   #9b98b2;
  --gray-500:   #7a7794;
  --gray-700:   #3d3b52;
  --gray-900:   #1a1830;

  /* Typography */
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'Nunito', 'Nunito Sans', system-ui, sans-serif;

  /* Spacing & Shape */
  --radius-xs: 6px;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 40px;

  /* Shadows */
  --shadow-xs: 0 1px 4px rgba(22,40,70,.08);
  --shadow-sm: 0 4px 12px rgba(22,40,70,.10);
  --shadow-md: 0 8px 28px rgba(22,40,70,.13);
  --shadow-lg: 0 20px 52px rgba(22,40,70,.18);
  --shadow-glow: 0 0 60px rgba(124,101,188,.22);

  /* Motion */
  --ease: cubic-bezier(.4,0,.2,1);
  --t: .28s var(--ease);
  --t-slow: .55s var(--ease);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; -webkit-font-smoothing: antialiased; }
body {
  font-family: var(--font-body);
  color: var(--gray-700);
  background: var(--white);
  line-height: 1.65;
}
img { max-width: 100%; height: auto; display: block; }
a  { text-decoration: none; color: inherit; }
ul { list-style: none; }
address { font-style: normal; }

/* ---------- Typography ---------- */
h1, h2, h3 {
  font-family: var(--font-display);
  color: var(--gray-900);
  line-height: 1.15;
  font-weight: 600;
}
h4 { font-family: var(--font-body); font-weight: 700; color: var(--gray-900); }
h1 { font-size: clamp(2.4rem, 5.5vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.8vw, 2.8rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.65rem); }
h4 { font-size: 1rem; }
p  { max-width: 68ch; }

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}
.section-pad   { padding: 5.5rem 0; }
.section-pad--sm { padding: 3rem 0; }
.text-center { text-align: center; }
.text-center p { margin: 0 auto; }

/* ---------- Section Labels & Titles ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-family: var(--font-body);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--lavender);
  margin-bottom: .85rem;
}
.eyebrow::before {
  content: '';
  display: inline-block;
  width: 18px;
  height: 2px;
  background: var(--lavender);
  border-radius: 2px;
}
.section-title { margin-bottom: 1rem; }
.section-sub {
  color: var(--gray-500);
  font-size: 1.05rem;
  margin-bottom: 3rem;
  line-height: 1.7;
}

/* ---------- Scroll Reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .65s var(--ease), transform .65s var(--ease);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-d1 { transition-delay: .08s; }
.reveal-d2 { transition-delay: .16s; }
.reveal-d3 { transition-delay: .24s; }
.reveal-d4 { transition-delay: .32s; }
.reveal-d5 { transition-delay: .40s; }
.reveal-d6 { transition-delay: .48s; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .8rem 1.9rem;
  border-radius: 50px;
  font-family: var(--font-body);
  font-size: .92rem;
  font-weight: 700;
  letter-spacing: .02em;
  cursor: pointer;
  border: 2px solid transparent;
  transition: background var(--t), color var(--t), border-color var(--t),
              box-shadow var(--t), transform var(--t);
  white-space: nowrap;
}
.btn:focus-visible {
  outline: 3px solid var(--lavender-mid);
  outline-offset: 3px;
}
.btn--primary {
  background: var(--lavender);
  color: var(--white);
}
.btn--primary:hover {
  background: #6a54a8;
  box-shadow: 0 6px 20px rgba(124,101,188,.45);
  transform: translateY(-2px);
}
.btn--outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,.65);
}
.btn--outline:hover {
  background: rgba(255,255,255,.12);
  border-color: var(--white);
}
.btn--outline-navy {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy-mid);
}
.btn--outline-navy:hover {
  background: var(--navy);
  color: var(--white);
  transform: translateY(-2px);
}
.btn--outline-lavender {
  background: transparent;
  color: var(--lavender);
  border-color: var(--lavender);
}
.btn--outline-lavender:hover {
  background: var(--lavender-pale);
}
.btn--lg { padding: .95rem 2.4rem; font-size: 1rem; }
.btn--gold {
  background: var(--gold);
  color: var(--white);
  border-color: var(--gold);
}
.btn--gold:hover {
  background: #b8902a;
  box-shadow: 0 6px 20px rgba(201,160,80,.4);
  transform: translateY(-2px);
}

/* =====================================================
   NAVIGATION
   ===================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--navy);
  transition: background var(--t), box-shadow var(--t);
}
.site-header.scrolled {
  background: rgba(22,40,70,.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 4px 20px rgba(0,0,0,.3);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.nav__logo {
  display: flex;
  align-items: center;
  gap: .85rem;
  flex-shrink: 0;
}
.nav__logo-img {
  height: 52px;
  width: auto;
  max-width: 52px;
  object-fit: contain;
  filter: brightness(1.1);
}
.nav__logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}
.nav__logo-name {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: .01em;
}
.nav__logo-tag {
  font-size: .65rem;
  color: var(--lavender-lt);
  letter-spacing: .12em;
  text-transform: uppercase;
  font-weight: 600;
}
.nav__links {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.nav__links a {
  color: rgba(255,255,255,.78);
  font-size: .88rem;
  font-weight: 600;
  transition: color var(--t);
  position: relative;
  padding-bottom: 4px;
}
.nav__links a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 2px;
  background: var(--lavender-mid);
  border-radius: 2px;
  transition: width var(--t);
}
.nav__links a:hover,
.nav__links a[aria-current="page"] { color: var(--white); }
.nav__links a:hover::after,
.nav__links a[aria-current="page"]::after { width: 100%; }
.nav__cta { margin-left: .75rem; }

/* Hamburger */
.nav__toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,.1);
  border: none;
  border-radius: var(--radius-xs);
  cursor: pointer;
  padding: .5rem;
}
.nav__toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform var(--t), opacity var(--t);
  transform-origin: center;
}
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Skip link */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  background: var(--lavender);
  color: var(--white);
  padding: .6rem 1.2rem;
  border-radius: 0 0 var(--radius-xs) var(--radius-xs);
  font-size: .9rem;
  font-weight: 700;
  z-index: 9999;
  transition: top .2s;
}
.skip-link:focus { top: 0; }

/* =====================================================
   HERO — HOME PAGE
   ===================================================== */
.hero {
  background: linear-gradient(140deg, var(--navy) 0%, var(--navy-mid) 55%, #3d5fa0 100%);
  padding: 5.5rem 0 5rem;
  position: relative;
  overflow: hidden;
}
/* Subtle geometric pattern overlay */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 75% 30%, rgba(124,101,188,.18) 0%, transparent 55%),
    radial-gradient(circle at 10% 80%, rgba(201,160,80,.08) 0%, transparent 40%);
  pointer-events: none;
}
/* Decorative arc */
.hero::after {
  content: '';
  position: absolute;
  right: -80px;
  top: -80px;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  border: 80px solid rgba(255,255,255,.04);
  pointer-events: none;
}
.hero__inner {
  display: grid;
  grid-template-columns: 1fr 480px;
  gap: 2rem;
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  color: var(--lavender-lt);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: .4rem 1.1rem;
  border-radius: 50px;
  margin-bottom: 1.6rem;
}
.hero h1 {
  color: var(--white);
  margin-bottom: 1.25rem;
  letter-spacing: -.02em;
}
.hero h1 em {
  font-style: italic;
  color: var(--lavender-lt);
}
.hero__sub {
  color: rgba(255,255,255,.78);
  font-size: 1.1rem;
  margin-bottom: 1rem;
  max-width: 50ch;
  line-height: 1.7;
}
.hero__address {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  color: rgba(255,255,255,.55);
  font-size: .88rem;
  margin-bottom: 2.5rem;
}
.hero__address svg { flex-shrink: 0; color: var(--lavender-mid); }
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

/* Hero graphic — Featured Logo Showcase */
.hero__graphic {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero__logo-showcase {
  position: relative;
  width: 460px;
  height: 460px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Deep pulsing halo — centered absolutely */
.hero__logo-halo {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 520px; height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle,
    rgba(124,101,188,.4) 0%,
    rgba(124,101,188,.12) 45%,
    transparent 70%);
  animation: halo-pulse 5s ease-in-out infinite;
  pointer-events: none;
  z-index: 0;
}
@keyframes halo-pulse {
  0%, 100% { opacity: .7; transform: translate(-50%,-50%) scale(1);    }
  50%       { opacity: 1;  transform: translate(-50%,-50%) scale(1.08); }
}

/* Rotating decorative rings — both centered */
.hero__logo-ring {
  position: absolute;
  top: 50%; left: 50%;
  border-radius: 50%;
  pointer-events: none;
}
.hero__logo-ring--outer {
  width: 440px; height: 440px;
  transform: translate(-50%, -50%);
  border: 1.5px solid rgba(196,184,232,.3);
  box-shadow: 0 0 20px rgba(124,101,188,.15), inset 0 0 20px rgba(124,101,188,.08);
  animation: spin-outer 28s linear infinite;
  z-index: 1;
}
.hero__logo-ring--outer::before,
.hero__logo-ring--outer::after {
  content: '';
  position: absolute;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--lavender-mid);
  box-shadow: 0 0 14px rgba(158,139,208,1), 0 0 6px rgba(196,184,232,.8);
}
.hero__logo-ring--outer::before { top: -6px;    left: 50%; transform: translateX(-50%); }
.hero__logo-ring--outer::after  { bottom: -6px; left: 50%; transform: translateX(-50%); }
@keyframes spin-outer {
  from { transform: translate(-50%,-50%) rotate(0deg);   }
  to   { transform: translate(-50%,-50%) rotate(360deg); }
}

.hero__logo-ring--inner {
  width: 350px; height: 350px;
  transform: translate(-50%, -50%);
  border: 1px dashed rgba(196,184,232,.2);
  animation: spin-inner 18s linear infinite;
  z-index: 1;
}
@keyframes spin-inner {
  from { transform: translate(-50%,-50%) rotate(0deg);    }
  to   { transform: translate(-50%,-50%) rotate(-360deg); }
}

/* Logo itself — floats centered, fills the inner ring */
.hero__logo-frame {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: float-logo 7s ease-in-out infinite;
}
@keyframes float-logo {
  0%, 100% { transform: translateY(0px); }
  40%       { transform: translateY(-14px); }
  70%       { transform: translateY(-7px); }
}

.hero__logo-featured {
  width: 340px;
  height: auto;
  display: block;
  filter:
    drop-shadow(0 0 28px rgba(124,101,188,.7))
    drop-shadow(0 0 55px rgba(124,101,188,.3))
    drop-shadow(0 12px 36px rgba(0,0,0,.45))
    brightness(1.08) contrast(1.06);
}

/* Star accents — positioned relative to showcase */
.hero__star {
  position: absolute;
  color: var(--lavender-lt);
  pointer-events: none;
  animation: star-twinkle 3s ease-in-out infinite;
  text-shadow: 0 0 14px rgba(196,184,232,1);
  z-index: 3;
  line-height: 1;
}
.hero__star--1 { top: 6%;   right: 8%;  font-size: 1.4rem; animation-delay: 0s;   }
.hero__star--2 { top: 58%;  left: 4%;   font-size: .9rem;  animation-delay: 1.2s; }
.hero__star--3 { bottom: 8%; right: 6%; font-size: 1.1rem; animation-delay: 2.2s; }
@keyframes star-twinkle {
  0%, 100% { opacity: .35; transform: scale(1)    rotate(0deg);  }
  50%       { opacity: 1;   transform: scale(1.4)  rotate(18deg); }
}

/* Floating gold badge below logo */
.hero__badge-float {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  background: rgba(201,160,80,.18);
  border: 1px solid rgba(201,160,80,.5);
  color: var(--gold);
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: .38rem 1.1rem;
  border-radius: 50px;
  white-space: nowrap;
  backdrop-filter: blur(8px);
  animation: badge-bob 5s ease-in-out infinite;
  z-index: 4;
}
.hero__badge-float svg { flex-shrink: 0; color: var(--gold); }
@keyframes badge-bob {
  0%, 100% { transform: translateX(-50%) translateY(0);   }
  50%       { transform: translateX(-50%) translateY(-6px); }
}

/* =====================================================
   TRUST BAR
   ===================================================== */
.trust-bar {
  background: var(--white);
  border-bottom: 1px solid var(--gray-100);
  padding: 1.4rem 0;
  box-shadow: 0 4px 16px rgba(22,40,70,.06);
}
.trust-bar__inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem 3.5rem;
}
.trust-bar__item {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-size: .85rem;
  font-weight: 700;
  color: var(--gray-700);
  letter-spacing: .01em;
}
.trust-bar__icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--lavender-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--lavender);
}

/* =====================================================
   WHY CHOOSE US
   ===================================================== */
.why { background: var(--off-white); }
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
  margin-top: .5rem;
}
.feature-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 2rem 1.75rem;
  border: 1px solid var(--gray-100);
  box-shadow: var(--shadow-xs);
  transition: box-shadow var(--t), transform var(--t), border-color var(--t);
  position: relative;
  overflow: hidden;
}
.feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 3px;
  background: linear-gradient(90deg, var(--lavender), var(--lavender-mid));
  opacity: 0;
  transition: opacity var(--t);
}
.feature-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
  border-color: var(--gray-200);
}
.feature-card:hover::before { opacity: 1; }
.feature-card__icon {
  width: 54px;
  height: 54px;
  border-radius: var(--radius-sm);
  background: var(--lavender-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  color: var(--lavender);
  transition: background var(--t), color var(--t);
}
.feature-card:hover .feature-card__icon {
  background: var(--lavender);
  color: var(--white);
}
.feature-card h3 {
  font-size: 1.15rem;
  margin-bottom: .5rem;
  color: var(--navy);
}
.feature-card p { font-size: .92rem; color: var(--gray-500); max-width: none; }

/* =====================================================
   SERVICES PREVIEW (HOME)
   ===================================================== */
.services-preview { background: var(--white); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.service-card {
  border-radius: var(--radius-md);
  padding: 1.85rem 1.6rem;
  background: var(--off-white);
  border: 1.5px solid var(--gray-100);
  transition: border-color var(--t), box-shadow var(--t), transform var(--t), background var(--t);
  position: relative;
  overflow: hidden;
}
.service-card:hover {
  border-color: var(--lavender-lt);
  box-shadow: var(--shadow-sm);
  transform: translateY(-3px);
  background: var(--white);
}
.service-card__icon {
  font-size: 2.1rem;
  margin-bottom: 1rem;
  display: block;
}
.service-card h3 {
  font-size: 1.1rem;
  color: var(--navy);
  margin-bottom: .5rem;
}
.service-card p { font-size: .89rem; color: var(--gray-500); max-width: none; }

/* =====================================================
   TESTIMONIALS
   ===================================================== */
.testimonials { background: var(--navy); }
.testimonials .eyebrow { color: var(--lavender-lt); }
.testimonials .eyebrow::before { background: var(--lavender-lt); }
.testimonials .section-title { color: var(--white); }
.testimonials .section-sub { color: rgba(255,255,255,.55); }
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.testimonial-card {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-md);
  padding: 2rem 1.75rem;
  transition: background var(--t), border-color var(--t);
  position: relative;
}
.testimonial-card:hover {
  background: rgba(255,255,255,.1);
  border-color: rgba(255,255,255,.2);
}
.testimonial-card__quote {
  position: absolute;
  top: 1.5rem; right: 1.75rem;
  font-family: var(--font-display);
  font-size: 4rem;
  line-height: 1;
  color: rgba(124,101,188,.3);
  user-select: none;
}
.testimonial-card__stars {
  color: #f5b942;
  font-size: 1rem;
  margin-bottom: .85rem;
  letter-spacing: .05em;
}
.testimonial-card__text {
  color: rgba(255,255,255,.82);
  font-style: italic;
  margin-bottom: 1.5rem;
  font-size: .96rem;
  line-height: 1.7;
  max-width: none;
}
.testimonial-card__author {
  display: flex;
  align-items: center;
  gap: .85rem;
}
.testimonial-card__avatar {
  width: 46px; height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--lavender), var(--navy-light));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  color: var(--white);
  font-size: .85rem;
  flex-shrink: 0;
  letter-spacing: .05em;
}
.testimonial-card__name { color: var(--white); font-weight: 700; font-size: .92rem; }
.testimonial-card__detail { color: rgba(255,255,255,.45); font-size: .78rem; margin-top: .1rem; }

/* =====================================================
   CTA BANNER
   ===================================================== */
.cta-banner {
  background: linear-gradient(120deg, var(--lavender) 0%, var(--navy-mid) 100%);
  padding: 5rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 50%, rgba(255,255,255,.08) 0%, transparent 60%);
  pointer-events: none;
}
.cta-banner h2 { color: var(--white); margin-bottom: .75rem; }
.cta-banner p {
  color: rgba(255,255,255,.78);
  margin: 0 auto 2.25rem;
  font-size: 1.05rem;
}
.cta-banner__actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
}

/* =====================================================
   FOOTER
   ===================================================== */
.site-footer {
  background: var(--navy);
  color: rgba(255,255,255,.65);
  padding: 4.5rem 0 2rem;
  border-top: 3px solid var(--lavender);
}
.footer__grid {
  display: grid;
  grid-template-columns: 2.2fr 1fr 1fr 1.6fr;
  gap: 3rem;
  margin-bottom: 3.5rem;
}
.footer__brand {
  display: flex;
  flex-direction: column;
  gap: .85rem;
}
.footer__logo {
  height: 64px;
  width: auto;
  max-width: 64px;
  object-fit: contain;
  filter: brightness(1.1);
}
.footer__tagline { font-size: .88rem; color: rgba(255,255,255,.45); }
.footer__phone a {
  color: var(--lavender-lt);
  font-weight: 800;
  font-size: 1.1rem;
  transition: color var(--t);
}
.footer__phone a:hover { color: var(--white); }

.footer h4 {
  color: var(--white);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .15em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
  padding-bottom: .6rem;
  border-bottom: 1px solid rgba(255,255,255,.12);
}
.footer__links li { margin-bottom: .55rem; }
.footer__links a {
  font-size: .88rem;
  transition: color var(--t);
  display: flex;
  align-items: center;
  gap: .4rem;
}
.footer__links a::before {
  content: '›';
  color: var(--lavender-mid);
  font-size: 1rem;
  line-height: 1;
}
.footer__links a:hover { color: var(--white); }
.footer__address { font-size: .88rem; line-height: 1.9; }
.footer__address a { color: var(--lavender-lt); transition: color var(--t); }
.footer__address a:hover { color: var(--white); }
.footer__hours { font-size: .88rem; }
.footer__hours li {
  display: flex;
  justify-content: space-between;
  gap: .75rem;
  padding: .3rem 0;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.footer__hours li:last-child { border-bottom: none; }
.footer__hours .day { color: rgba(255,255,255,.45); }
.footer__hours .time { color: var(--white); font-weight: 600; }
.footer__hours .closed { color: #f87171; }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 1.75rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-size: .8rem;
}
.footer__disclaimer {
  color: rgba(255,255,255,.3);
  font-size: .76rem;
  max-width: none;
}

/* =====================================================
   PAGE HERO (inner pages)
   ===================================================== */
.page-hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  padding: 4rem 0 3.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 120%, rgba(124,101,188,.2) 0%, transparent 60%);
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { color: var(--white); margin-bottom: .75rem; }
.page-hero p {
  color: rgba(255,255,255,.68);
  margin: 0 auto;
  font-size: 1.05rem;
  max-width: 60ch;
}
.breadcrumb {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: .4rem;
  font-size: .78rem;
  color: rgba(255,255,255,.45);
  margin-bottom: 1.1rem;
}
.breadcrumb a { color: var(--lavender-lt); transition: color var(--t); }
.breadcrumb a:hover { color: var(--white); }

/* =====================================================
   SERVICES PAGE
   ===================================================== */
.services-section { background: var(--white); }
.services-section--alt { background: var(--off-white); }
.services-full-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-top: 2.5rem;
}
.service-full-card {
  border-radius: var(--radius-md);
  border: 1.5px solid var(--gray-100);
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow-xs);
  transition: box-shadow var(--t), transform var(--t);
}
.service-full-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}
.service-full-card__header {
  background: linear-gradient(120deg, var(--lavender) 0%, var(--navy-mid) 100%);
  padding: 1.75rem 2rem;
  display: flex;
  align-items: center;
  gap: 1.1rem;
}
.service-full-card__icon {
  width: 56px; height: 56px;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.65rem;
  flex-shrink: 0;
}
.service-full-card__header h3 { color: var(--white); font-size: 1.3rem; }
.service-full-card__body {
  padding: 1.75rem 2rem;
}
.service-full-card__body p {
  color: var(--gray-500);
  font-size: .93rem;
  margin-bottom: 1.25rem;
  max-width: none;
}
.service-full-card__list { display: flex; flex-direction: column; gap: .45rem; }
.service-full-card__list li {
  display: flex;
  align-items: center;
  gap: .65rem;
  font-size: .89rem;
  color: var(--gray-700);
}
.service-full-card__list li::before {
  content: '';
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--lavender);
  flex-shrink: 0;
}

/* =====================================================
   TEAM PAGE
   ===================================================== */
.doctor-profile {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 4rem;
  align-items: start;
}
.doctor-profile > aside {
  position: sticky;
  top: 96px;
}
.doctor-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--gray-100);
}
.doctor-card__photo {
  background: linear-gradient(160deg, var(--navy-mid), var(--navy));
  aspect-ratio: 4/5;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
}
.doctor-card__photo::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 70% 30%, rgba(124,101,188,.25) 0%, transparent 60%);
}
.doctor-card__photo-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}
.doctor-card__photo-placeholder {
  width: 150px; height: 150px;
  border-radius: 50%;
  background: rgba(255,255,255,.1);
  border: 3px dashed rgba(255,255,255,.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.5);
  position: relative;
  z-index: 1;
}
.doctor-card__photo-note {
  text-align: center;
  color: rgba(255,255,255,.5);
  font-size: .78rem;
  max-width: 22ch;
  line-height: 1.55;
  position: relative;
  z-index: 1;
}
.doctor-card__info {
  padding: 2rem 1.85rem;
}
.doctor-card__name {
  font-size: 1.55rem;
  color: var(--navy);
  margin-bottom: .25rem;
}
.doctor-card__title {
  font-size: .84rem;
  color: var(--lavender);
  font-weight: 700;
  margin-bottom: 1.25rem;
  line-height: 1.4;
}
.doctor-card__meta {
  display: flex;
  flex-direction: column;
  gap: .55rem;
}
.doctor-card__meta li {
  display: flex;
  align-items: center;
  gap: .65rem;
  font-size: .85rem;
  color: var(--gray-500);
}
.doctor-card__meta svg { color: var(--lavender); flex-shrink: 0; }

/* Profile content */
.profile-content { display: flex; flex-direction: column; gap: 3rem; }
.profile-section {
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--gray-100);
}
.profile-section:last-child { border-bottom: none; padding-bottom: 0; }
.profile-section h2 {
  display: flex;
  align-items: center;
  gap: .65rem;
  font-size: 1.5rem;
  color: var(--navy);
  margin-bottom: 1.15rem;
}
.profile-section h2 svg { color: var(--lavender); flex-shrink: 0; }
.profile-section p { color: var(--gray-500); margin-bottom: .85rem; max-width: 72ch; }
.profile-section p:last-child { margin-bottom: 0; }

/* Credentials */
.credentials-list { display: flex; flex-direction: column; gap: 1rem; }
.credential-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: var(--off-white);
  border-radius: var(--radius-sm);
  border: 1px solid var(--gray-100);
  transition: border-color var(--t), box-shadow var(--t);
}
.credential-item:hover {
  border-color: var(--lavender-lt);
  box-shadow: var(--shadow-xs);
}
.credential-item__icon {
  font-size: 1.4rem;
  flex-shrink: 0;
  margin-top: .1rem;
}
.credential-item strong {
  display: block;
  color: var(--navy);
  font-size: .95rem;
  margin-bottom: .15rem;
}
.credential-item span {
  font-size: .85rem;
  color: var(--gray-500);
}

/* Expertise tags */
.expertise-tags {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem;
  margin-top: 1rem;
}
.expertise-tag {
  display: inline-flex;
  align-items: center;
  padding: .4rem 1rem;
  border-radius: 50px;
  background: var(--lavender-pale);
  color: var(--lavender);
  font-size: .82rem;
  font-weight: 700;
  border: 1px solid var(--lavender-lt);
  transition: background var(--t), color var(--t);
}
.expertise-tag:hover {
  background: var(--lavender);
  color: var(--white);
}

/* Team support grid */
.team-support-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
}
.team-support-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 2rem 1.5rem;
  text-align: center;
  border: 1.5px solid var(--gray-100);
  box-shadow: var(--shadow-xs);
  transition: box-shadow var(--t), transform var(--t), border-color var(--t);
}
.team-support-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
  border-color: var(--lavender-lt);
}
.team-support-card__photo {
  width: 80px; height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--lavender-pale), var(--gray-50));
  border: 2px solid var(--lavender-lt);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.1rem;
  color: var(--lavender);
  overflow: hidden;
  flex-shrink: 0;
}
/* When a real photo is used instead of the SVG icon */
.team-support-card__photo--img {
  background: none;
  padding: 0;
}
.team-support-card__photo--img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  border-radius: 50%;
}
.team-support-card__body h4 {
  color: var(--navy);
  margin-bottom: .4rem;
  font-size: .97rem;
}
.team-support-card__body p {
  font-size: .83rem;
  color: var(--gray-500);
  max-width: none;
}

/* =====================================================
   CONTACT PAGE
   ===================================================== */
.contact-layout {
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: 3.5rem;
  align-items: start;
}

/* Contact info sidebar */
.contact-info { display: flex; flex-direction: column; gap: 1.25rem; }
.contact-info-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 1.5rem 1.75rem;
  border: 1.5px solid var(--gray-100);
  box-shadow: var(--shadow-xs);
  transition: border-color var(--t), box-shadow var(--t);
}
.contact-info-card:hover {
  border-color: var(--lavender-lt);
  box-shadow: var(--shadow-sm);
}
.contact-info-card__head {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin-bottom: .85rem;
}
.contact-info-card__icon {
  width: 38px; height: 38px;
  border-radius: var(--radius-xs);
  background: var(--lavender-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--lavender);
  flex-shrink: 0;
}
.contact-info-card h3 {
  font-size: 1rem;
  color: var(--navy);
}
.contact-info-card a {
  color: var(--lavender);
  font-weight: 700;
  font-size: 1.05rem;
  transition: color var(--t);
}
.contact-info-card a:hover { color: var(--navy); }
.contact-info-card address {
  font-size: .9rem;
  color: var(--gray-500);
  line-height: 1.65;
}

/* Hours table inside contact card */
.hours-table { width: 100%; border-collapse: collapse; font-size: .85rem; }
.hours-table td { padding: .3rem 0; vertical-align: top; }
.hours-table .day { color: var(--gray-500); padding-right: 1rem; }
.hours-table .time { color: var(--navy); font-weight: 700; text-align: right; }
.hours-table .closed { color: #ef4444; font-weight: 700; text-align: right; }

/* Map embed */
.map-embed {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1.5px solid var(--gray-100);
  box-shadow: var(--shadow-xs);
  margin-bottom: .5rem;
}
.map-embed iframe {
  width: 100%;
  height: 220px;
  display: block;
  border: none;
}

/* Appointment form */
.contact-form-wrap {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.75rem 2.5rem;
  box-shadow: var(--shadow-md);
  border: 1.5px solid var(--gray-100);
}
.contact-form-wrap h2 {
  color: var(--navy);
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: .5rem;
}
.form-sub {
  color: var(--gray-500);
  font-size: .92rem;
  margin-bottom: 2rem;
  max-width: none;
  line-height: 1.65;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}
.form-group { display: flex; flex-direction: column; gap: .4rem; }
.form-group--full { grid-column: 1 / -1; }
.form-group label {
  font-size: .82rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: .02em;
}
.form-group .req { color: #ef4444; margin-left: .15rem; }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: .7rem 1rem;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: .9rem;
  color: var(--gray-900);
  background: var(--off-white);
  transition: border-color var(--t), box-shadow var(--t), background var(--t);
  appearance: none;
  -webkit-appearance: none;
}
.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%237c65bc' stroke-width='2.5'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--lavender);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(124,101,188,.12);
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--gray-400); }
.form-group textarea { resize: vertical; min-height: 110px; }
.form-group input[type="date"] {
  color: var(--gray-700);
}

/* HIPAA notice */
.form-hipaa {
  display: flex;
  align-items: flex-start;
  gap: .85rem;
  padding: 1rem 1.25rem;
  background: var(--lavender-xpale);
  border-radius: var(--radius-sm);
  border: 1px solid var(--lavender-lt);
  font-size: .82rem;
  color: var(--gray-700);
}
.form-hipaa svg { color: var(--lavender); flex-shrink: 0; margin-top: .15rem; }

/* Submit */
.form-submit {
  grid-column: 1 / -1;
  display: flex;
  justify-content: flex-end;
}
.form-success {
  display: none;
  margin-top: 1.5rem;
  padding: 1.25rem 1.5rem;
  background: #ecfdf5;
  border-radius: var(--radius-sm);
  border: 1.5px solid #6ee7b7;
  color: #065f46;
  font-size: .92rem;
  text-align: center;
}

/* =====================================================
   PRICING BANNER
   ===================================================== */
.pricing-banner {
  background: linear-gradient(135deg, var(--navy) 0%, #1e2f58 50%, #2d1f5e 100%);
  padding: 5rem 0 4rem;
  position: relative;
  overflow: hidden;
}
.pricing-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(124,101,188,.18) 0%, transparent 55%),
    radial-gradient(ellipse at 80% 20%, rgba(201,160,80,.08) 0%, transparent 45%);
  pointer-events: none;
}
.pricing-banner .eyebrow--light { color: var(--lavender); }
.pricing-banner .section-title { color: var(--white); }
.pricing-banner .section-title em { color: var(--gold); font-style: italic; }
.pricing-banner .section-sub { color: rgba(255,255,255,.72); }

/* Carousel wrapper */
.pricing-carousel {
  position: relative;
  margin-top: 3rem;
  overflow: hidden;
}
.pricing-carousel__track {
  display: flex;
  gap: 2rem;
  transition: transform .45s cubic-bezier(.4,0,.2,1);
}

/* Individual card */
.pricing-card {
  flex: 0 0 calc(50% - 1rem);
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2.25rem;
  position: relative;
  backdrop-filter: blur(10px);
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.pricing-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(0,0,0,.35);
  border-color: rgba(196,184,232,.35);
}

/* Icon */
.pricing-card__icon {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: rgba(124,101,188,.2);
  border: 1px solid rgba(124,101,188,.35);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--lavender);
  flex-shrink: 0;
}

/* Popular badge */
.pricing-card__badge {
  position: absolute;
  top: 1.5rem; right: 1.5rem;
  background: var(--gold);
  color: var(--navy);
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: .3rem .8rem;
  border-radius: 999px;
}

/* Title */
.pricing-card__title {
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 600;
  color: var(--white);
  margin: 0;
}

/* Price */
.pricing-card__price {
  display: flex;
  align-items: baseline;
  gap: .5rem;
}
.pricing-card__from {
  font-size: .8rem;
  color: rgba(255,255,255,.5);
  text-transform: uppercase;
  letter-spacing: .06em;
}
.pricing-card__amount {
  font-family: var(--font-display);
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}

/* Description */
.pricing-card__desc {
  color: rgba(255,255,255,.72);
  font-size: .97rem;
  line-height: 1.7;
  margin: 0;
  flex: 1;
}

/* Includes list */
.pricing-card__includes {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: .5rem;
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 1rem;
}
.pricing-card__includes li {
  display: flex;
  align-items: center;
  gap: .55rem;
  color: rgba(255,255,255,.78);
  font-size: .9rem;
}
.pricing-card__includes li svg { color: var(--lavender); flex-shrink: 0; }

/* CTA */
.pricing-card__cta {
  width: 100%;
  justify-content: center;
  margin-top: .5rem;
}

/* Nav buttons */
.pricing-carousel__btn {
  position: absolute;
  top: 50%; transform: translateY(-50%);
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,.25);
  background: rgba(255,255,255,.1);
  backdrop-filter: blur(6px);
  color: var(--white);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s, border-color .2s;
  z-index: 2;
}
.pricing-carousel__btn:hover { background: rgba(255,255,255,.2); border-color: rgba(255,255,255,.5); }
.pricing-carousel__btn--prev { left: -22px; }
.pricing-carousel__btn--next { right: -22px; }

/* Dots */
.pricing-carousel__dots {
  display: flex;
  justify-content: center;
  gap: .5rem;
  margin-top: 2rem;
}
.pricing-carousel__dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,.3);
  cursor: pointer;
  transition: all .25s;
  padding: 0;
}
.pricing-carousel__dot--active {
  width: 24px;
  border-radius: 4px;
  background: var(--lavender);
}

/* Disclaimer */
.pricing-disclaimer {
  text-align: center;
  color: rgba(255,255,255,.4);
  font-size: .8rem;
  margin-top: 2rem;
  max-width: 60ch;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

/* Responsive: stack on mobile */
@media (max-width: 768px) {
  .pricing-card {
    flex: 0 0 100%;
  }
  .pricing-carousel__btn--prev { left: 4px; }
  .pricing-carousel__btn--next { right: 4px; }
}
@media (max-width: 480px) {
  .pricing-card__amount { font-size: 2.2rem; }
  .pricing-banner { padding: 4rem 0 3rem; }
}

/* =====================================================
   OFFICE TOUR CAROUSEL
   ===================================================== */
.office-tour { background: var(--off-white); }

.carousel {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: var(--navy);
  margin-top: 1rem;
}

.carousel__track {
  display: flex;
  transition: transform .55s var(--ease);
  will-change: transform;
  height: 520px;
}

.carousel__slide {
  flex: 0 0 100%;
  position: relative;
  overflow: hidden;
}

.carousel__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform .6s var(--ease);
}

.carousel__slide.is-active img {
  transform: scale(1.02);
}

.carousel__caption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(to top, rgba(22,40,70,.92) 0%, rgba(22,40,70,.5) 60%, transparent 100%);
  padding: 2.5rem 2rem 1.75rem;
  color: var(--white);
  transform: translateY(6px);
  opacity: 0;
  transition: opacity .4s var(--ease), transform .4s var(--ease);
}
.carousel__slide.is-active .carousel__caption {
  opacity: 1;
  transform: translateY(0);
}
.carousel__caption-tag {
  display: inline-flex;
  align-items: center;
  background: var(--lavender);
  color: var(--white);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: .3rem .85rem;
  border-radius: 50px;
  margin-bottom: .6rem;
}
.carousel__caption p {
  font-size: .95rem;
  color: rgba(255,255,255,.88);
  max-width: 55ch;
  margin: 0;
  line-height: 1.5;
}

.carousel__btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px; height: 48px;
  border-radius: 50%;
  background: rgba(255,255,255,.15);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1.5px solid rgba(255,255,255,.3);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background var(--t), border-color var(--t), transform var(--t);
  z-index: 10;
}
.carousel__btn:hover {
  background: rgba(124,101,188,.75);
  border-color: var(--lavender-mid);
  transform: translateY(-50%) scale(1.08);
}
.carousel__btn:focus-visible {
  outline: 3px solid var(--lavender-lt);
  outline-offset: 2px;
}
.carousel__btn--prev { left: 1.25rem; }
.carousel__btn--next { right: 1.25rem; }

.carousel__dots {
  position: absolute;
  bottom: 1.25rem;
  right: 1.75rem;
  display: flex;
  gap: .5rem;
  z-index: 10;
}
.carousel__dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,.4);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background var(--t), width var(--t);
}
.carousel__dot--active {
  background: var(--white);
  width: 24px;
  border-radius: 4px;
}
.carousel__dot:hover:not(.carousel__dot--active) {
  background: rgba(255,255,255,.7);
}

@media (max-width: 768px) {
  .carousel__track { height: 320px; }
  .carousel__btn { width: 38px; height: 38px; }
  .carousel__caption { padding: 1.75rem 1.25rem 1.25rem; }
  .carousel__caption p { font-size: .86rem; }
}
@media (max-width: 480px) {
  .carousel__track { height: 240px; }
  .carousel__caption-tag { display: none; }
}

/* =====================================================
   VISUALLY HIDDEN UTILITY
   ===================================================== */
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* =====================================================
   RESPONSIVE
   ===================================================== */

/* Tablet ≤ 1100px — shrink logo showcase but keep it visible */
@media (max-width: 1100px) {
  .hero__inner { grid-template-columns: 1fr 380px; gap: 1.5rem; }
  .hero__logo-showcase { width: 360px; height: 360px; }
  .hero__logo-ring--outer { width: 348px; height: 348px; }
  .hero__logo-ring--inner { width: 270px; height: 270px; }
  .hero__logo-halo { width: 420px; height: 420px; }
  .hero__logo-featured { width: 265px; }
}

/* Tablet ≤ 920px — stack layout, center logo as accent */
@media (max-width: 920px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__graphic {
    justify-content: center;
    margin-top: 2rem;
  }
  .hero__logo-showcase { width: 300px; height: 300px; }
  .hero__logo-ring--outer { width: 290px; height: 290px; }
  .hero__logo-ring--inner { width: 225px; height: 225px; }
  .hero__logo-halo { width: 350px; height: 350px; }
  .hero__logo-featured { width: 215px; }
  .hero__badge-float { font-size: .62rem; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
  .doctor-profile { grid-template-columns: 1fr; }
  .doctor-profile > aside { position: static; }
  .doctor-card { position: static; }
  .contact-layout { grid-template-columns: 1fr; }
  .team-support-grid { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Mobile ≤ 768px */
@media (max-width: 768px) {
  .nav__links {
    display: none;
    position: fixed;
    top: 76px; left: 0; right: 0;
    background: var(--navy);
    padding: 1.5rem 1.5rem 2rem;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.1rem;
    border-top: 1px solid rgba(255,255,255,.1);
    box-shadow: 0 20px 40px rgba(0,0,0,.4);
    z-index: 999;
  }
  .nav__links.is-open { display: flex; }
  .nav__links a { font-size: 1rem; width: 100%; }
  .nav__cta { margin-left: 0; width: 100%; }
  .nav__cta .btn { width: 100%; justify-content: center; }
  .nav__toggle { display: flex; }

  .features-grid,
  .services-grid,
  .testimonials-grid,
  .services-full-grid,
  .team-support-grid { grid-template-columns: 1fr; }

  .form-grid { grid-template-columns: 1fr; }
  .form-group--full { grid-column: 1; }

  .contact-form-wrap { padding: 2rem 1.5rem; }
  .footer__grid { grid-template-columns: 1fr; }
  .cta-banner { padding: 3.5rem 0; }
  .hero { padding: 4rem 0 3.5rem; }
  .section-pad { padding: 4rem 0; }
  .doctor-card__photo { aspect-ratio: 4/5; }
}

/* Small mobile ≤ 480px */
@media (max-width: 480px) {
  h1 { font-size: 2.1rem; }
  h2 { font-size: 1.65rem; }
  .contact-form-wrap { padding: 1.5rem 1.1rem; }
  .footer__grid { gap: 2rem; }
  .hero__actions { flex-direction: column; }
  .cta-banner__actions { flex-direction: column; align-items: center; }
}
