:root {
  --bg: #f2f5ff;
  --panel: rgba(255,255,255,0.86);
  --line: rgba(106, 126, 214, 0.14);
  --text: #23315d;
  --muted: #6878a3;
  --blue: #95a7f4;
  --deep: #5367c7;
  --mint: #e2e8ff;
  --shadow: 0 24px 60px rgba(80, 102, 190, 0.12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(149,167,244,0.2), transparent 24%),
    radial-gradient(circle at top right, rgba(226,232,255,0.8), transparent 22%),
    linear-gradient(180deg, #fbfcff 0%, #f1f4ff 100%);
}
body.page-sub {
  background:
    radial-gradient(circle at top left, rgba(106,167,214,0.14), transparent 22%),
    radial-gradient(circle at top right, rgba(215,239,235,0.6), transparent 20%),
    linear-gradient(180deg, #fbfdff 0%, #eef5fa 100%);
}
a { color: inherit; }
.shell { width: min(1400px, calc(100% - 32px)); margin: 18px auto 46px; }
.topbar, .hero-copy, .hero-panel, .service-card, .quote-card, .contact-card {
  border: 1px solid var(--line);
  background: var(--panel);
  box-shadow: var(--shadow);
}
.topbar {
  position: sticky; top: 12px; z-index: 30;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 14px 18px; border-radius: 24px; backdrop-filter: blur(16px);
}
.brand { display: inline-flex; align-items: center; gap: 14px; text-decoration: none; }
.brand-mark {
  width: 48px; height: 48px; display: grid; place-items: center; border-radius: 14px;
  background: linear-gradient(145deg, var(--deep), var(--blue)); color: #fff; font-weight: 800;
}
.brand-copy { display: flex; flex-direction: column; }
.brand-copy strong { font-size: 1rem; text-transform: uppercase; letter-spacing: .04em; }
.brand-copy span, .nav a, .hero-text, .service-card p, .section-copy p, .contact-card p, .quote-card span { color: var(--muted); }
.nav { display: flex; flex-wrap: wrap; gap: 18px; }
.nav a, .btn, .header-cta { text-decoration: none; }
.header-cta, .btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 0 18px; border-radius: 999px; font-weight: 700;
}
.header-cta, .btn-primary { background: linear-gradient(135deg, var(--deep), var(--blue)); color: #fff; box-shadow: 0 14px 28px rgba(83,103,199,0.18); }
.btn-secondary { background: rgba(255,255,255,0.65); border: 1px solid var(--line); color: var(--text); }
.hero { display: grid; grid-template-columns: 1.05fr .95fr; gap: 28px; padding: 42px 0 24px; }
.hero-copy, .hero-panel { border-radius: 34px; padding: 38px; }
.eyebrow, .tag, .mini-label {
  margin: 0 0 14px; color: var(--deep); text-transform: uppercase; letter-spacing: .16em; font-size: .76rem; font-weight: 800;
}
.hero-copy h1, .section-copy h2, .section-head h2, .contact-card h2, .doctor-card h2 {
  margin: 0; font-family: "Fraunces", serif; line-height: .98;
}
.hero-copy h1 { font-size: clamp(3rem, 5.8vw, 5.6rem); }
.hero-text { margin: 18px 0 24px; line-height: 1.75; max-width: 60ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-metrics, .service-grid { display: grid; gap: 18px; }
.hero-metrics { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 28px; }
.hero-metrics div { padding: 16px; border-radius: 20px; background: rgba(255,255,255,0.72); }
.hero-metrics strong { display: block; color: var(--deep); }
.doctor-card { min-height: 100%; display: flex; flex-direction: column; justify-content: center; }
.bullet-list { margin: 16px 0 0; padding-left: 18px; color: var(--muted); line-height: 1.7; }
.section { padding: 26px 0; }
.page-main { padding: 34px 0 20px; }
.page-hero {
  padding: 20px 0 14px;
  max-width: 860px;
}
.page-hero h1 {
  margin: 0;
  font-family: "Fraunces", serif;
  font-size: clamp(2.9rem, 5.2vw, 5rem);
  line-height: .97;
}
.page-hero p:last-child {
  color: var(--muted);
  line-height: 1.75;
  margin-top: 16px;
}
.service-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.service-card, .quote-card, .contact-card { border-radius: 28px; padding: 24px; }
.featured { background: linear-gradient(180deg, rgba(149,167,244,0.14), rgba(255,255,255,0.92)); }

.hero-copy,
.hero-panel,
.service-card,
.guide-card,
.contact-card {
  background: linear-gradient(180deg, rgba(255,255,255,0.92), rgba(240,244,255,0.96));
}

.hero-metrics div {
  background: rgba(239,243,255,0.84);
}
.service-card h3 { margin: 0 0 10px; font-size: 1.3rem; }
.split { display: grid; grid-template-columns: 1fr .8fr; gap: 22px; align-items: start; }
.quote-card p { margin: 0 0 16px; font-size: 1.15rem; line-height: 1.7; }
.intelligence .section-head { max-width: 760px; margin-bottom: 20px; }
.section-head h2 { font-size: clamp(2.4rem, 4.4vw, 4.6rem); line-height: .96; }
.contact-card { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.guide-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.guide-card {
  border: 1px solid var(--line);
  background: var(--panel);
  box-shadow: var(--shadow);
  border-radius: 28px;
  padding: 24px;
}
.guide-card h3 { margin: 0 0 10px; font-size: 1.3rem; }
.guide-card p { color: var(--muted); line-height: 1.72; }

@media (max-width: 1100px) {
  .hero, .service-grid, .split, .contact-card, .guide-grid { grid-template-columns: 1fr; display: grid; }
}

@media (max-width: 780px) {
  .shell { width: min(100% - 20px, 100%); margin: 10px auto 32px; }
  .topbar { top: 8px; border-radius: 18px; padding: 14px; }
  .nav { display: none; }
  .hero-copy, .hero-panel, .service-card, .quote-card, .contact-card { border-radius: 22px; padding: 20px; }
  .hero-metrics { grid-template-columns: 1fr; }
}
