/* ============================================================
   Princeton Pediatrics — Design System
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,400;9..144,500;9..144,600;9..144,700;9..144,900&family=Outfit:wght@300;400;500;600;700&display=swap');

:root {
  /* Neutrals — warm-leaning */
  --ink: #0E2740;
  --ink-soft: #2B3F55;
  --ink-muted: #6B7888;
  --cream: #FBF6EC;
  --cream-deep: #F5EEDD;
  --paper: #FFFFFF;
  --border: #E6DFCF;
  --border-soft: #F0E9D8;

  /* Brand */
  --brand: #1B6FB0;
  --brand-deep: #154E7D;
  --brand-soft: #E5F0F8;
  --brand-tint: #F5FAFD;

  /* Logo accents */
  --accent-green: #4FAE4A;
  --accent-green-deep: #3D8A39;
  --accent-green-soft: #E8F4E6;
  --accent-orange: #F39B22;
  --accent-orange-deep: #C97A14;
  --accent-orange-soft: #FCEFD9;
  --accent-red: #E13C3C;
  --accent-red-deep: #B22D2D;
  --accent-red-soft: #FBE2E2;
  --accent-purple: #9B4FC8;
  --accent-purple-deep: #7B3CA3;
  --accent-purple-soft: #F1E6F7;
  --accent-blue: #1B6FB0;

  /* Per-page accent (overridden on each page's body) */
  --accent: var(--brand);
  --accent-deep: var(--brand-deep);
  --accent-soft: var(--brand-soft);

  /* Shadows — warm-tinted */
  --shadow-xs: 0 1px 2px rgba(46, 32, 14, 0.05);
  --shadow-sm: 0 2px 4px rgba(46, 32, 14, 0.04), 0 4px 12px rgba(46, 32, 14, 0.06);
  --shadow-md: 0 4px 12px rgba(46, 32, 14, 0.06), 0 12px 32px rgba(46, 32, 14, 0.08);
  --shadow-lg: 0 8px 24px rgba(46, 32, 14, 0.08), 0 24px 64px rgba(46, 32, 14, 0.10);
  --shadow-photo: 0 18px 40px -8px rgba(46, 32, 14, 0.20), 0 4px 8px rgba(46, 32, 14, 0.06);

  /* Radii */
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 22px;
  --r-xl: 32px;
  --r-pill: 999px;

  /* Spacing tokens */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2.5rem;
  --space-xl: 4rem;
  --space-2xl: 6rem;

  /* Container */
  --container: 1200px;
  --container-wide: 1340px;

  /* Type */
  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* ============================================================
   Reset + base
   ============================================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }

/* ============================================================
   Typography
   ============================================================ */
.eyebrow { display: none !important; }

.eyebrow::before {
  content: '';
  display: inline-block;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

.display-1 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2.5rem, 5.5vw, 4.75rem);
  line-height: 1.02;
  letter-spacing: -0.025em;
  color: var(--ink);
  font-variation-settings: "opsz" 144, "SOFT" 50;
}

.display-2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2rem, 3.6vw, 3.25rem);
  line-height: 1.08;
  letter-spacing: -0.022em;
  color: var(--ink);
  font-variation-settings: "opsz" 144, "SOFT" 50;
}

.display-3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.625rem, 2.4vw, 2.125rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--ink);
  font-variation-settings: "opsz" 96";
}

.kicker {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  color: var(--accent);
}

.lead {
  font-size: 1.125rem;
  line-height: 1.65;
  color: var(--ink-soft);
}

.body-sm { font-size: 0.875rem; color: var(--ink-muted); }

/* ============================================================
   Layout primitives
   ============================================================ */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.container-wide {
  max-width: var(--container-wide);
  margin: 0 auto;
  padding: 0 1.5rem;
}

section { padding: var(--space-2xl) 0; }

/* ============================================================
   Buttons
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  padding: 0.95rem 1.6rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.005em;
  border-radius: var(--r-pill);
  transition: transform 250ms cubic-bezier(0.22, 1, 0.36, 1),
              box-shadow 250ms cubic-bezier(0.22, 1, 0.36, 1),
              background-color 250ms ease,
              color 250ms ease;
  white-space: nowrap;
  position: relative;
  outline: none;
}

.btn-primary {
  background: var(--brand);
  color: white;
  box-shadow: 0 4px 12px rgba(27, 111, 176, 0.25), 0 1px 2px rgba(27, 111, 176, 0.10);
}
.btn-primary:hover {
  background: var(--brand-deep);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(27, 111, 176, 0.32), 0 2px 4px rgba(27, 111, 176, 0.15);
}
.btn-primary:active { transform: translateY(0); }
.btn-primary:focus-visible { outline: 3px solid rgba(27, 111, 176, 0.35); outline-offset: 2px; }

.btn-secondary {
  background: var(--paper);
  color: var(--ink);
  border: 1.5px solid var(--ink);
}
.btn-secondary:hover {
  background: var(--ink);
  color: var(--cream);
  transform: translateY(-2px);
}
.btn-secondary:focus-visible { outline: 3px solid rgba(14, 39, 64, 0.25); outline-offset: 2px; }

.btn-ghost {
  color: var(--brand);
  padding: 0.5rem 0;
}
.btn-ghost::after {
  content: '→';
  transition: transform 250ms ease;
  display: inline-block;
}
.btn-ghost:hover { color: var(--brand-deep); }
.btn-ghost:hover::after { transform: translateX(4px); }

.btn-sm { padding: 0.7rem 1.2rem; font-size: 0.85rem; }
.btn-lg { padding: 1.1rem 2rem; font-size: 1rem; }

/* ============================================================
   Announcement bar
   ============================================================ */
.announcement {
  background: var(--ink);
  color: var(--cream);
  font-size: 0.825rem;
  letter-spacing: 0.02em;
  text-align: center;
  padding: 0.625rem 1.5rem;
}
.announcement strong { color: white; font-weight: 600; }

/* ============================================================
   Header / Nav
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 246, 236, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-soft);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 0;
  gap: 2rem;
}

.nav-logo {
  display: inline-flex;
  align-items: center;
  background: var(--paper);
  padding: 0.5rem 0.9rem;
  border-radius: 14px;
  box-shadow: 0 2px 6px rgba(46, 32, 14, 0.06), 0 1px 2px rgba(46, 32, 14, 0.04);
  border: 1px solid var(--border-soft);
  transition: transform 280ms cubic-bezier(0.22, 1, 0.36, 1), box-shadow 280ms ease;
}
.nav-logo:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 14px rgba(46, 32, 14, 0.08), 0 2px 4px rgba(46, 32, 14, 0.04);
}
.nav-logo img { height: 88px; width: auto; display: block; }

.nav-links {
  display: flex;
  list-style: none;
  gap: 0.25rem;
  align-items: center;
}

.nav-links a {
  display: inline-block;
  padding: 0.55rem 0.95rem;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--ink-soft);
  border-radius: var(--r-pill);
  transition: color 200ms ease, background 200ms ease;
  position: relative;
}
.nav-links a:hover { color: var(--ink); background: rgba(14, 39, 64, 0.04); }
.nav-links a.active { color: var(--brand); }
.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: 0.15rem;
  left: 50%;
  transform: translateX(-50%);
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--accent);
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.phone-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--ink);
  padding: 0.5rem 0.75rem;
}
.phone-link:hover { color: var(--brand); }
.phone-link .phone-icon {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--brand-soft);
  display: grid; place-items: center;
  color: var(--brand);
}

/* ============================================================
   Hero — editorial asymmetric
   ============================================================ */
.hero {
  position: relative;
  padding: 4rem 0 5rem;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -10%;
  right: -10%;
  width: 60%;
  height: 70%;
  background: radial-gradient(closest-side, rgba(27, 111, 176, 0.10), transparent);
  filter: blur(50px);
  pointer-events: none;
  z-index: 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-copy { max-width: 560px; }
.hero-copy .display-1 { margin: 1rem 0 1.25rem; }
.hero-copy .display-1 em {
  font-style: italic;
  font-weight: 400;
  color: var(--brand);
  position: relative;
}
.hero-copy .display-1 em::after {
  content: '';
  position: absolute;
  left: 0; right: 0;
  bottom: -0.05em;
  height: 0.18em;
  background: linear-gradient(90deg,
    var(--accent-red) 0 20%,
    var(--accent-orange) 20% 40%,
    var(--accent-green) 40% 60%,
    var(--accent-purple) 60% 80%,
    var(--accent-blue) 80% 100%);
  border-radius: 999px;
  opacity: 0.85;
}

.hero-lead { color: var(--ink-soft); font-size: 1.125rem; line-height: 1.65; margin-bottom: 2rem; max-width: 480px; }

.hero-ctas { display: flex; gap: 0.875rem; align-items: center; flex-wrap: wrap; }

.hero-trust {
  margin-top: 2.5rem;
  display: flex;
  gap: 1.75rem;
  font-size: 0.825rem;
  color: var(--ink-muted);
  flex-wrap: wrap;
}
.hero-trust span { display: inline-flex; align-items: center; gap: 0.5rem; }
.hero-trust span::before {
  content: '';
  width: 7px; height: 7px;
  border-radius: 50%;
}
.hero-trust span:nth-child(1)::before { background: var(--accent-green); }
.hero-trust span:nth-child(2)::before { background: var(--accent-orange); }
.hero-trust span:nth-child(3)::before { background: var(--accent-purple); }
.hero-trust span:nth-child(4)::before { background: var(--accent-red); }

/* Hero photo with cream matte frame */
.hero-photo-wrap {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero-photo {
  position: relative;
  background: var(--paper);
  border-radius: var(--r-lg);
  padding: 1.25rem;
  box-shadow: var(--shadow-photo);
  transform: rotate(-1.5deg);
  z-index: 2;
  max-width: 540px;
}
.hero-photo .photo-inner {
  background: linear-gradient(160deg, var(--brand-soft) 0%, #FFF7E8 100%);
  border-radius: 12px;
  overflow: hidden;
  position: relative;
}
.hero-photo .photo-inner::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(243, 155, 34, 0.10), transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(79, 174, 74, 0.10), transparent 40%);
  pointer-events: none;
}
.hero-photo img {
  width: 100%;
  height: auto;
  display: block;
  position: relative;
  z-index: 1;
}
.hero-photo-caption {
  text-align: center;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 0.875rem;
  color: var(--ink-muted);
  margin-top: 0.875rem;
}

.hero-photo-bg {
  position: absolute;
  top: 5%;
  left: 50%;
  transform: translateX(-50%);
  width: 88%;
  aspect-ratio: 1 / 1.05;
  background: var(--brand-soft);
  border-radius: 50% 50% 45% 55% / 60% 50% 50% 40%;
  z-index: 1;
}

/* Floating logo-color dots around hero */
.hero-dot {
  position: absolute;
  border-radius: 50%;
  z-index: 3;
}
.hero-dot.d1 { width: 14px; height: 14px; background: var(--accent-orange); top: 8%; right: 6%; }
.hero-dot.d2 { width: 22px; height: 22px; background: var(--accent-green); bottom: 12%; left: -2%; }
.hero-dot.d3 { width: 10px; height: 10px; background: var(--accent-red); top: 50%; right: -3%; }
.hero-dot.d4 { width: 16px; height: 16px; background: var(--accent-purple); top: 22%; left: 4%; }

/* ============================================================
   Trust strip
   ============================================================ */
.trust-strip {
  background: var(--paper);
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
  padding: 1.75rem 0;
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 0.875rem;
}
.trust-icon {
  width: 44px; height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.trust-icon.c1 { background: rgba(79, 174, 74, 0.12); color: var(--accent-green); }
.trust-icon.c2 { background: rgba(243, 155, 34, 0.12); color: var(--accent-orange); }
.trust-icon.c3 { background: rgba(155, 79, 200, 0.12); color: var(--accent-purple); }
.trust-icon.c4 { background: rgba(225, 60, 60, 0.12); color: var(--accent-red); }
.trust-text { display: flex; flex-direction: column; }
.trust-text strong { font-size: 0.95rem; color: var(--ink); font-weight: 600; }
.trust-text span { font-size: 0.8rem; color: var(--ink-muted); }

/* ============================================================
   Section header
   ============================================================ */
.section-head {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 3rem;
  max-width: 720px;
}
.section-head.center { align-items: center; text-align: center; margin-left: auto; margin-right: auto; }

/* ============================================================
   Doctor preview
   ============================================================ */
.doctor {
  background: var(--cream);
  position: relative;
  overflow: hidden;
}
.doctor-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 5rem;
  align-items: center;
}
.doctor-photo {
  position: relative;
}
.doctor-photo .frame {
  background: var(--paper);
  padding: 1rem 1rem 1.25rem;
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-photo);
  transform: rotate(2deg);
  max-width: 440px;
  margin-left: auto;
}
.doctor-photo .frame img {
  border-radius: 10px;
  aspect-ratio: 1/1;
  object-fit: cover;
  object-position: center center;
  width: 100%;
}
.doctor-photo .frame-caption {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 0.875rem;
  color: var(--ink-muted);
  text-align: center;
  margin-top: 0.625rem;
}
.doctor-photo .accent-shape {
  position: absolute;
  bottom: -1.5rem;
  left: -1.5rem;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: var(--accent-orange);
  opacity: 0.18;
  z-index: -1;
}
.doctor-photo .accent-shape-2 {
  position: absolute;
  top: -1rem;
  right: 2rem;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--accent-green);
  opacity: 0.16;
  z-index: -1;
}

.doctor-copy p {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--ink-soft);
  margin-bottom: 1.25rem;
}
.doctor-copy .display-2 { margin: 1rem 0 1.5rem; }
.doctor-copy .signature {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 1.75rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--border);
}
.doctor-copy .signature .role {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--ink);
}
.doctor-copy .signature .role span { color: var(--ink-muted); font-size: 0.85rem; font-style: normal; display: block; }

/* ============================================================
   Services grid
   ============================================================ */
.services { background: var(--paper); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.service-card {
  background: var(--cream);
  border-radius: var(--r-lg);
  padding: 2rem;
  transition: transform 320ms cubic-bezier(0.22, 1, 0.36, 1), box-shadow 320ms ease;
  border: 1px solid transparent;
  position: relative;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-soft);
}
.service-icon {
  width: 56px; height: 56px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  margin-bottom: 1.25rem;
  color: white;
}
.service-icon.c1 { background: var(--accent-green); }
.service-icon.c2 { background: var(--accent-orange); }
.service-icon.c3 { background: var(--brand); }
.service-icon.c4 { background: var(--accent-purple); }
.service-icon.c5 { background: var(--accent-red); }
.service-icon.c6 { background: var(--ink); }
.service-card h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 500;
  letter-spacing: -0.015em;
  margin-bottom: 0.625rem;
  color: var(--ink);
}
.service-card p {
  color: var(--ink-soft);
  font-size: 0.95rem;
  line-height: 1.65;
}

/* ============================================================
   Visit / Location section
   ============================================================ */
.visit {
  background: var(--cream-deep);
  position: relative;
}
.visit-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 2.5rem;
  align-items: stretch;
}
.visit-card {
  background: var(--paper);
  border-radius: var(--r-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}
.visit-card h3 {
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-weight: 500;
  letter-spacing: -0.015em;
  margin-bottom: 1.5rem;
}
.info-row {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1rem 0;
  border-top: 1px solid var(--border-soft);
}
.info-row:first-of-type { border-top: none; padding-top: 0; }
.info-row .info-icon {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: var(--brand-soft);
  color: var(--brand);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.info-row .info-content { flex: 1; }
.info-row .info-content strong {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-muted);
  margin-bottom: 0.25rem;
}
.info-row .info-content p, .info-row .info-content a {
  font-size: 0.975rem;
  color: var(--ink);
  line-height: 1.5;
}
.info-row .info-content a:hover { color: var(--brand); }

.hours-table { width: 100%; }
.hours-row {
  display: flex;
  justify-content: space-between;
  padding: 0.5rem 0;
  font-size: 0.925rem;
  border-bottom: 1px dashed var(--border-soft);
}
.hours-row:last-child { border-bottom: none; }
.hours-row .day { color: var(--ink-soft); font-weight: 500; }
.hours-row .time { color: var(--ink); font-weight: 500; font-variant-numeric: tabular-nums; }
.hours-row.closed .time { color: var(--ink-muted); font-style: italic; }

.map-wrap {
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  background: var(--paper);
  min-height: 460px;
  position: relative;
}
.map-wrap iframe { width: 100%; height: 100%; min-height: 460px; border: 0; display: block; }

/* ============================================================
   Insurance
   ============================================================ */
.insurance {
  background: var(--brand-soft);
  position: relative;
  overflow: hidden;
}
.insurance::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -8%;
  width: 620px;
  height: 620px;
  background: radial-gradient(circle, rgba(27, 111, 176, 0.10), transparent 70%);
  pointer-events: none;
}
.insurance::after {
  content: '';
  position: absolute;
  bottom: -40%;
  left: -10%;
  width: 540px;
  height: 540px;
  background: radial-gradient(circle, rgba(243, 155, 34, 0.07), transparent 70%);
  pointer-events: none;
}
.insurance .container-wide { position: relative; z-index: 1; }

.insurance-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}
.insurance-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--paper);
  color: var(--brand);
  padding: 0.55rem 1.1rem;
  border-radius: var(--r-pill);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  border: 1px solid rgba(27, 111, 176, 0.18);
  margin-bottom: 1.25rem;
  box-shadow: 0 6px 18px rgba(27, 111, 176, 0.10);
}
.insurance-header .display-2 { margin-bottom: 1rem; }
.insurance-sub {
  color: var(--ink-soft);
  font-size: 1.075rem;
  line-height: 1.65;
  max-width: 600px;
  margin: 0 auto;
}
.insurance-sub a {
  color: var(--brand);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1.5px;
}
.insurance-sub a:hover { color: var(--brand-deep); }

.insurance-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: 3rem;
}
.insurance-card {
  background: var(--paper);
  border: 1px solid rgba(27, 111, 176, 0.12);
  border-radius: 14px;
  padding: 1.15rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  transition: border-color 220ms cubic-bezier(0.2, 0.8, 0.2, 1), transform 220ms cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 220ms cubic-bezier(0.2, 0.8, 0.2, 1);
  box-shadow: 0 2px 4px rgba(27, 111, 176, 0.04), 0 10px 24px rgba(27, 111, 176, 0.06);
}
.insurance-card:hover {
  border-color: var(--brand);
  transform: translateY(-3px);
  box-shadow: 0 4px 8px rgba(27, 111, 176, 0.08), 0 16px 32px rgba(27, 111, 176, 0.14);
}
.insurance-check {
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-deep) 100%);
  color: var(--paper);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(27, 111, 176, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.15);
}
.insurance-name {
  font-size: 1.025rem;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.005em;
  line-height: 1.3;
  min-width: 0;
}
.insurance-name em {
  display: block;
  font-style: normal;
  font-weight: 600;
  font-size: 1.025rem;
  color: var(--ink);
  letter-spacing: -0.005em;
  margin-top: 0.15rem;
}

.insurance-note {
  margin-top: 2rem;
  padding: 1.4rem 1.75rem;
  background: var(--paper);
  border-radius: var(--r-md);
  border-left: 4px solid var(--accent-orange);
  font-size: 1rem;
  color: var(--ink-soft);
  box-shadow: 0 4px 14px rgba(243, 155, 34, 0.08);
}
.insurance-note strong { color: var(--ink); }
.insurance-note a {
  color: var(--brand);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1.5px;
}
.insurance-note a:hover { color: var(--brand-deep); }

@media (max-width: 1024px) {
  .insurance-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 720px) {
  .insurance-grid { grid-template-columns: repeat(2, 1fr); gap: 0.75rem; }
  .insurance-card { padding: 1rem 1.1rem; gap: 0.7rem; }
  .insurance-check { width: 30px; height: 30px; }
  .insurance-name { font-size: 0.95rem; }
}
@media (max-width: 420px) {
  .insurance-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   Testimonials
   ============================================================ */
.testimonials { background: var(--cream); }
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}
@media (max-width: 960px) {
  .testimonial-grid { grid-template-columns: 1fr; }
}
.testimonial {
  background: var(--paper);
  border-radius: var(--r-lg);
  padding: 2.25rem;
  box-shadow: var(--shadow-sm);
  position: relative;
  display: flex;
  flex-direction: column;
}
.testimonial .stars {
  display: flex;
  gap: 0.2rem;
  margin-bottom: 1.25rem;
  color: var(--accent-orange);
}
.testimonial blockquote {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.15rem;
  line-height: 1.55;
  letter-spacing: -0.012em;
  color: var(--ink);
  margin-bottom: 1.5rem;
  flex: 1;
}
.testimonial cite {
  font-style: normal;
  font-size: 0.82rem;
  color: var(--ink-muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* ============================================================
   Pull quote (philosophy)
   ============================================================ */
.pullquote {
  background: var(--ink);
  color: var(--cream);
  padding: 5rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.pullquote::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(27, 111, 176, 0.25), transparent 70%);
  filter: blur(60px);
  pointer-events: none;
}
.pullquote-content { position: relative; z-index: 1; max-width: 820px; margin: 0 auto; padding: 0 1.5rem; }
.pullquote blockquote {
  font-family: var(--font-display);
  font-weight: 400;
  font-style: italic;
  font-size: clamp(1.5rem, 2.6vw, 2.1rem);
  line-height: 1.4;
  letter-spacing: -0.015em;
  color: var(--cream);
  margin-bottom: 1.5rem;
}
.pullquote cite {
  font-style: normal;
  font-size: 0.875rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(251, 246, 236, 0.7);
}
.pullquote-mark {
  font-family: var(--font-display);
  font-size: 6rem;
  line-height: 1;
  color: var(--brand);
  opacity: 0.4;
  margin-bottom: -1rem;
}

/* ============================================================
   Portal CTA
   ============================================================ */
.portal-cta {
  background: var(--paper);
  padding: 6rem 0;
}
.portal-card {
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-deep) 100%);
  border-radius: var(--r-xl);
  padding: 4rem;
  color: white;
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 3rem;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.portal-card::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(255,255,255,0.10), transparent 70%);
  filter: blur(40px);
}
.portal-card::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(243, 155, 34, 0.20), transparent 70%);
  filter: blur(40px);
}
.portal-card > * { position: relative; z-index: 1; }
.portal-card h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}
.portal-card p {
  color: rgba(255,255,255,0.85);
  margin-bottom: 1.75rem;
  font-size: 1.025rem;
}
.portal-features {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.625rem;
  margin-bottom: 2rem;
}
.portal-features li {
  font-size: 0.875rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255,255,255,0.92);
}
.portal-features li::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent-orange);
  flex-shrink: 0;
}
.portal-card .btn-primary {
  background: var(--cream);
  color: var(--ink);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}
.portal-card .btn-primary:hover {
  background: white;
  color: var(--brand);
}
.portal-illustration {
  display: flex;
  justify-content: center;
}
.portal-illustration .stack {
  position: relative;
  width: 100%;
  max-width: 280px;
  aspect-ratio: 4/5;
}
.portal-illustration .card-stack {
  position: absolute;
  inset: 0;
  background: white;
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
  transform: rotate(4deg);
}
.portal-illustration .card-stack.back {
  transform: rotate(-6deg) translate(-12px, 8px);
  background: var(--cream);
}
.portal-illustration .card-stack.front {
  transform: rotate(2deg);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}
.portal-illustration .skeleton-line {
  height: 10px;
  border-radius: 999px;
  background: var(--cream-deep);
}
.portal-illustration .skeleton-line.short { width: 60%; background: var(--brand-soft); }
.portal-illustration .skeleton-line.dot { width: 50px; height: 50px; border-radius: 50%; background: var(--accent-orange); margin-bottom: 0.5rem; }

/* ============================================================
   Footer
   ============================================================ */
.site-footer {
  background: var(--ink);
  color: rgba(251, 246, 236, 0.85);
  padding: 5rem 0 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3.5rem;
}
.footer-brand img {
  height: 112px;
  width: auto;
  margin-bottom: 1.5rem;
  background: var(--paper);
  padding: 0.9rem 1.25rem;
  border-radius: 16px;
  display: block;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18);
}
.footer-brand p {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--cream);
  margin-bottom: 1.5rem;
}
.footer-brand address {
  font-style: normal;
  font-size: 0.925rem;
  line-height: 1.7;
  color: rgba(251, 246, 236, 0.7);
}
.footer-col h4 {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--cream);
  margin-bottom: 1.25rem;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.625rem; }
.footer-col ul a {
  font-size: 0.925rem;
  color: rgba(251, 246, 236, 0.7);
  transition: color 200ms;
}
.footer-col ul a:hover { color: var(--cream); }
.footer-col p { font-size: 0.925rem; color: rgba(251, 246, 236, 0.7); }

.footer-bottom {
  border-top: 1px solid rgba(251, 246, 236, 0.12);
  padding-top: 1.75rem;
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  color: rgba(251, 246, 236, 0.5);
  letter-spacing: 0.03em;
  flex-wrap: wrap;
  gap: 1rem;
}

/* ============================================================
   Page hero (sub-pages)
   ============================================================ */
.page-hero {
  padding: 4rem 0 5rem;
  background: var(--cream);
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  top: 50%; right: -10%;
  transform: translateY(-50%);
  width: 50%; height: 200%;
  background: radial-gradient(closest-side, rgba(27, 111, 176, 0.06), transparent);
  pointer-events: none;
}
.page-hero-inner {
  max-width: 820px;
  position: relative;
  z-index: 1;
}
.breadcrumbs {
  display: flex;
  gap: 0.5rem;
  font-size: 0.82rem;
  color: var(--ink-muted);
  margin-bottom: 1rem;
  letter-spacing: 0.03em;
}
.breadcrumbs a:hover { color: var(--brand); }
.breadcrumbs span { color: var(--ink); }

/* ============================================================
   Prose (long-form pages)
   ============================================================ */
.prose {
  max-width: 720px;
  margin: 0 auto;
}
.prose h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.875rem;
  line-height: 1.2;
  letter-spacing: -0.018em;
  margin: 3rem 0 1.25rem;
  color: var(--ink);
}
.prose h2:first-child { margin-top: 0; }
.prose h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.35rem;
  margin: 2rem 0 0.75rem;
}
.prose p {
  font-size: 1.0625rem;
  line-height: 1.78;
  color: var(--ink-soft);
  margin-bottom: 1.25rem;
}
.prose ul, .prose ol { padding-left: 1.5rem; margin-bottom: 1.25rem; }
.prose li {
  font-size: 1.0625rem;
  line-height: 1.78;
  color: var(--ink-soft);
  margin-bottom: 0.5rem;
}
.prose a { color: var(--brand); text-decoration: underline; text-underline-offset: 3px; }
.prose a:hover { color: var(--brand-deep); }
.prose strong { color: var(--ink); font-weight: 600; }

/* ============================================================
   FAQ accordion
   ============================================================ */
.faq-list { max-width: 820px; margin: 0 auto; }
.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 1.5rem 0;
}
.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.2rem;
  line-height: 1.35;
  letter-spacing: -0.012em;
  color: var(--ink);
  cursor: pointer;
  text-align: left;
  width: 100%;
}
.faq-question .icon {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--brand-soft);
  color: var(--brand);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  transition: transform 280ms cubic-bezier(0.22, 1, 0.36, 1), background 200ms;
  font-size: 1.25rem;
}
.faq-item.open .icon { transform: rotate(45deg); background: var(--brand); color: white; }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 380ms cubic-bezier(0.22, 1, 0.36, 1);
}
.faq-item.open .faq-answer { max-height: 600px; }
.faq-answer-inner {
  padding: 1rem 3rem 0.5rem 0;
  color: var(--ink-soft);
  font-size: 1rem;
  line-height: 1.7;
}

/* ============================================================
   Animations — staggered reveal on load
   ============================================================ */
@keyframes reveal-up {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.reveal {
  animation: reveal-up 900ms cubic-bezier(0.22, 1, 0.36, 1) both;
}
.reveal.d1 { animation-delay: 80ms; }
.reveal.d2 { animation-delay: 180ms; }
.reveal.d3 { animation-delay: 280ms; }
.reveal.d4 { animation-delay: 380ms; }
.reveal.d5 { animation-delay: 480ms; }
.reveal.d6 { animation-delay: 580ms; }

@keyframes float-soft {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
.hero-dot { animation: float-soft 4s ease-in-out infinite; }
.hero-dot.d2 { animation-delay: 0.5s; }
.hero-dot.d3 { animation-delay: 1s; }
.hero-dot.d4 { animation-delay: 1.5s; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 3rem; }
  .doctor-grid { grid-template-columns: 1fr; gap: 3rem; }
  .visit-grid { grid-template-columns: 1fr; gap: 2rem; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .portal-card { grid-template-columns: 1fr; padding: 3rem; }
  .portal-illustration { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
}

@media (max-width: 720px) {
  section { padding: 4rem 0; }
  .nav-links { display: none; }
  .services-grid { grid-template-columns: 1fr; }
  .testimonial-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .trust-grid { grid-template-columns: 1fr; }
  .visit-card { padding: 1.75rem; }
  .footer-bottom { flex-direction: column; }
  .hero { padding: 2rem 0 3rem; }
  .phone-link span:not(.phone-icon) { display: none; }
}
