:root {
  --ivory: #F4EFE6;
  --ivory-deep: #EBE3D2;
  --espresso: #0C0A08;
  --espresso-2: #221B14;
  --gold: #C9A56A;
  --gold-soft: #E8C98A;
  --gold-deep: #9C7A3F;
  --ink-muted: #6B5D45;
  --rule: rgba(201, 165, 106, 0.35);
  --max-content: 760px;
  --max-wide: 1040px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--ivory);
  color: var(--espresso-2);
  font-family: 'DM Sans', -apple-system, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: 'Playfair Display', Georgia, serif;
  color: var(--espresso-2);
  font-weight: 700;
  line-height: 1.2;
  text-wrap: balance;
  margin: 0 0 .6em;
}

h1 { font-size: clamp(2rem, 4vw, 2.9rem); }
h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); color: var(--gold-deep); }
h3 { font-size: 1.2rem; }

p { margin: 0 0 1.1em; max-width: 68ch; }

a { color: var(--gold-deep); text-decoration: none; }
a:hover, a:focus-visible { text-decoration: underline; }
a:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.eyebrow {
  font-family: 'DM Mono', monospace;
  font-size: .78rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: .6em;
}

/* header */
header.site {
  border-bottom: 1px solid var(--rule);
  background: var(--ivory);
}
.site-header-inner {
  max-width: var(--max-wide);
  margin: 0 auto;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.logo-link img { height: 54px; display: block; }
nav.main-nav { display: flex; gap: 26px; flex-wrap: wrap; }
nav.main-nav a {
  font-family: 'DM Mono', monospace;
  font-size: .8rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--espresso-2);
}
nav.main-nav a:hover { color: var(--gold-deep); }
nav.main-nav a[aria-current="page"] { color: var(--gold-deep); border-bottom: 1px solid var(--gold); }

/* whatsapp CTA button, used across site */
.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--espresso-2);
  color: var(--gold-soft) !important;
  font-family: 'DM Mono', monospace;
  font-size: .82rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 12px 22px;
  border-radius: 3px;
  text-decoration: none !important;
  white-space: nowrap;
  transition: background .15s ease;
}
.btn-whatsapp:hover { background: #000; }

/* hero */
.hero {
  max-width: var(--max-wide);
  margin: 0 auto;
  padding: 64px 24px 40px;
  display: grid;
  gap: 18px;
}
.hero .lede { font-size: 1.15rem; color: var(--ink-muted); max-width: 62ch; }

/* generic section */
main { display: block; }
.section {
  max-width: var(--max-content);
  margin: 0 auto;
  padding: 40px 24px;
}
.section.wide { max-width: var(--max-wide); }
.section + .section { border-top: 1px solid var(--rule); }
.section-alt { background: var(--ivory-deep); }

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
}
@media (max-width: 720px) {
  .two-col { grid-template-columns: 1fr; }
  .site-header-inner { flex-direction: column; align-items: flex-start; }
}

.doctor-card {
  border: 1px solid var(--rule);
  padding: 28px;
  border-radius: 4px;
  background: var(--ivory);
}
.doctor-card .crm {
  font-family: 'DM Mono', monospace;
  font-size: .82rem;
  letter-spacing: .04em;
  color: var(--ink-muted);
  display: block;
  margin-bottom: 1em;
}

ul.plain { list-style: none; margin: 0 0 1em; padding: 0; }
ul.plain li {
  padding: 8px 0;
  border-bottom: 1px solid var(--rule);
  font-size: .98rem;
}
ul.plain li:last-child { border-bottom: none; }

.contact-block {
  font-family: 'DM Mono', monospace;
  font-size: .95rem;
  line-height: 1.9;
  color: var(--espresso-2);
}

.divider-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin: 8px 0 28px;
}
.divider-mark::before, .divider-mark::after {
  content: '';
  height: 1px;
  width: 60px;
  background: var(--rule);
}
.divider-mark svg { width: 16px; height: 16px; }

/* footer */
footer.site {
  border-top: 1px solid var(--rule);
  background: var(--espresso-2);
  color: var(--ivory-deep);
  margin-top: 40px;
}
.site-footer-inner {
  max-width: var(--max-wide);
  margin: 0 auto;
  padding: 40px 24px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 24px;
  align-items: flex-start;
}
footer.site a { color: var(--gold-soft); }
footer.site .legal {
  font-family: 'DM Mono', monospace;
  font-size: .78rem;
  color: #B7AC9C;
}
footer.site .legal a { color: #B7AC9C; text-decoration: underline; }

.privacy-body h2 { margin-top: 1.6em; }
.privacy-body { max-width: var(--max-content); }
