:root {
  --bg: #fffaf6;
  --bg-soft: #f8efe8;
  --surface: rgba(255, 255, 255, 0.82);
  --surface-strong: #fffdfb;
  --text: #2a1f1f;
  --muted: #6f5f5d;
  --line: rgba(115, 89, 84, 0.15);
  --rose: #d96b7f;
  --rose-deep: #b84c63;
  --peach: #f3b58b;
  --gold: #f0cf7a;
  --sage: #b8c6ad;
  --shadow: 0 24px 60px rgba(113, 77, 68, 0.12);
  --radius: 28px;
  --radius-sm: 18px;
  --max: 1200px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Avenir Next", "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(240, 207, 122, 0.34), transparent 28%),
    radial-gradient(circle at 85% 15%, rgba(217, 107, 127, 0.18), transparent 22%),
    linear-gradient(180deg, #fff8f1 0%, #fffaf6 45%, #fdf3ec 100%);
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.site-shell {
  width: min(calc(100% - 2rem), var(--max));
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(14px);
  background: rgba(255, 250, 246, 0.78);
  border-bottom: 1px solid rgba(115, 89, 84, 0.08);
}

.topbar-inner {
  width: min(calc(100% - 2rem), var(--max));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 84px;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.brand-mark {
  width: 46px;
  height: 46px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--rose), var(--peach));
  box-shadow: 0 10px 24px rgba(217, 107, 127, 0.28);
  color: white;
  font-size: 1.2rem;
}

.brand-copy small {
  display: block;
  color: var(--muted);
  font-weight: 500;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.nav-toggle {
  display: none;
  border: 0;
  background: transparent;
  width: 44px;
  height: 44px;
  border-radius: 12px;
}

.nav-toggle span,
.nav-toggle::before,
.nav-toggle::after {
  content: "";
  display: block;
  width: 22px;
  height: 2px;
  margin: 5px auto;
  background: var(--text);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.nav-links a {
  padding: 0.8rem 1rem;
  border-radius: 999px;
  color: var(--muted);
  font-weight: 600;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.nav-links a:hover,
.nav-links a.active {
  background: rgba(217, 107, 127, 0.1);
  color: var(--text);
  transform: translateY(-1px);
}

.nav-cta {
  padding: 0.9rem 1.25rem;
  border-radius: 999px;
  background: #c96f5d;
  color: #fffaf6;
  font-weight: 700;
  box-shadow: 0 14px 28px rgba(201, 111, 93, 0.22);
}

.hero {
  padding: 4.5rem 0 3rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(115, 89, 84, 0.08);
  color: var(--rose-deep);
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  font-family: Georgia, "Times New Roman", serif;
  line-height: 0.95;
  letter-spacing: -0.03em;
  margin: 0;
}

h1 {
  font-size: clamp(3.1rem, 7vw, 6rem);
  margin-top: 1rem;
}

h2 {
  font-size: clamp(2.2rem, 4vw, 3.8rem);
  margin-bottom: 1rem;
}

h3 {
  font-size: 1.45rem;
}

.lede,
.section-copy,
.card p,
.split-copy p,
.footer-copy,
li,
.page-intro p {
  color: var(--muted);
  font-size: 1.06rem;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 1rem 1.4rem;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.button.primary {
  background: linear-gradient(135deg, var(--rose), var(--rose-deep));
  color: white;
  box-shadow: 0 18px 36px rgba(184, 76, 99, 0.24);
}

.button.secondary {
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(115, 89, 84, 0.1);
}

.button:hover {
  transform: translateY(-2px);
}

.hero-panel,
.glass-card,
.feature-card,
.doctor-card,
.timeline-step,
.faq-card,
.cta-panel,
.page-panel {
  background: var(--surface);
  border: 1px solid rgba(115, 89, 84, 0.08);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero-panel {
  padding: 1.4rem;
}

.panel-art {
  min-height: 520px;
  border-radius: 22px;
  padding: 1.25rem;
  background:
    radial-gradient(circle at 70% 20%, rgba(255, 255, 255, 0.7), transparent 26%),
    linear-gradient(145deg, rgba(243, 181, 139, 0.88), rgba(217, 107, 127, 0.86));
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 1rem;
  overflow: hidden;
}

.panel-chip {
  justify-self: start;
  background: rgba(255, 255, 255, 0.78);
  color: var(--text);
  padding: 0.6rem 0.8rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 700;
}

.panel-stat-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  align-self: end;
}

.stat-card {
  padding: 1rem;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.74);
}

.stat-card strong {
  display: block;
  font-size: 2rem;
  font-family: Georgia, "Times New Roman", serif;
  margin-bottom: 0.35rem;
}

section {
  padding: 2.2rem 0;
}

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

.three-up,
.four-up,
.doctor-grid,
.faq-grid {
  display: grid;
  gap: 1.25rem;
}

.three-up {
  grid-template-columns: repeat(3, 1fr);
}

.four-up {
  grid-template-columns: repeat(4, 1fr);
}

.doctor-grid {
  grid-template-columns: repeat(3, 1fr);
}

.faq-grid {
  grid-template-columns: repeat(2, 1fr);
}

.feature-card,
.doctor-card,
.faq-card,
.timeline-step,
.page-panel {
  padding: 1.5rem;
}

.feature-icon,
.doctor-tag,
.step-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 42px;
  border-radius: 14px;
  margin-bottom: 1rem;
  background: rgba(217, 107, 127, 0.12);
  color: var(--rose-deep);
  font-weight: 800;
}

.quote-band {
  padding: 2.5rem;
  text-align: center;
  background:
    linear-gradient(135deg, rgba(184, 198, 173, 0.4), rgba(255, 255, 255, 0.86)),
    var(--surface);
}

.quote-band p {
  font-size: clamp(1.4rem, 2vw, 2rem);
  line-height: 1.45;
  color: var(--text);
  margin: 0 auto;
  max-width: 860px;
}

.split {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 1.5rem;
  align-items: stretch;
}

.split-art {
  min-height: 100%;
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.7), transparent 24%),
    linear-gradient(160deg, rgba(184, 198, 173, 0.85), rgba(240, 207, 122, 0.7), rgba(255, 255, 255, 0.95));
  padding: 1.4rem;
  display: flex;
  flex-direction: column;
  justify-content: end;
}

.art-note {
  margin-top: auto;
  background: rgba(255, 255, 255, 0.78);
  border-radius: 22px;
  padding: 1rem;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.timeline-step {
  position: relative;
  overflow: hidden;
}

.timeline-step::after {
  content: "";
  position: absolute;
  inset: auto -25% -35% auto;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: rgba(217, 107, 127, 0.08);
}

.doctor-card {
  min-height: 240px;
}

.doctor-photo {
  width: 72px;
  height: 72px;
  border-radius: 24px;
  margin-bottom: 1rem;
  background:
    radial-gradient(circle at 35% 30%, rgba(255, 255, 255, 0.8), transparent 24%),
    linear-gradient(145deg, rgba(217, 107, 127, 0.8), rgba(243, 181, 139, 0.72));
}

.doctor-tag {
  min-width: unset;
  height: auto;
  padding: 0.45rem 0.7rem;
  border-radius: 999px;
  font-size: 0.8rem;
  margin-bottom: 0.9rem;
}

.cta-panel {
  padding: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.legal-note {
  font-size: 0.92rem;
  color: var(--muted);
}

.page-hero {
  padding: 3rem 0 1.5rem;
}

.page-intro {
  display: grid;
  grid-template-columns: 1fr 0.85fr;
  gap: 1.5rem;
}

.stack {
  display: grid;
  gap: 1rem;
}

.check-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
}

.check-list li {
  position: relative;
  padding-left: 1.8rem;
  margin-bottom: 0.8rem;
}

.check-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--rose);
  font-size: 1.4rem;
  line-height: 1;
}

.footer {
  padding: 2rem 0 3rem;
}

.footer-inner {
  width: min(calc(100% - 2rem), var(--max));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-links {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  color: var(--muted);
}

@media (max-width: 980px) {
  .hero-grid,
  .split,
  .page-intro,
  .three-up,
  .four-up,
  .timeline,
  .doctor-grid,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .section-header,
  .cta-panel {
    display: grid;
  }

  .nav-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    left: 1rem;
    right: 1rem;
    top: calc(100% + 0.5rem);
    padding: 0.8rem;
    background: rgba(255, 250, 246, 0.96);
    border: 1px solid rgba(115, 89, 84, 0.08);
    border-radius: 22px;
    box-shadow: var(--shadow);
    flex-direction: column;
    align-items: stretch;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 0.2s ease, transform 0.2s ease;
  }

  .topbar.open .nav-links {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav-links a,
  .nav-cta {
    text-align: center;
  }

  .topbar.open .nav-toggle span {
    opacity: 0;
  }

  .topbar.open .nav-toggle::before {
    transform: translateY(7px) rotate(45deg);
  }

  .topbar.open .nav-toggle::after {
    transform: translateY(-7px) rotate(-45deg);
  }
}
