/* ───────────────────────────────────────────────────────────────
   Lux Vitality — editorial doctor template (shared by all doctor pages)
   Loaded after lux-vitality-global.css. Everything is prefixed .dd-
   so it cannot collide with page-level styles.
   Palette: burgundy #41272D · rosewood #5F3C40 · gold #B8A082 · ivory #F2EFE8
   Fonts:   Cormorant Garamond (headings) · Jost (text)
   --dd-gold-text is a darker gold for SMALL text on light backgrounds (AA contrast).
   ─────────────────────────────────────────────────────────────── */

.dd-page {
  --dd-max: 1240px;
  --dd-gold-text: #7A6445;
  --dd-rose-tint: #F1E8E5;
  --dd-line: rgba(184, 160, 130, 0.38);
  --dd-ink: rgba(51, 43, 43, 0.8);
  --dd-radius: 12px;
  --dd-shadow: 0 14px 40px rgba(65, 39, 45, 0.08);
  background: var(--ivory);
}

html { scroll-padding-top: 110px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

.dd-main { background: var(--ivory); }
.dd-wrap { max-width: var(--dd-max); margin: 0 auto; padding-left: var(--site-pad); padding-right: var(--site-pad); }

/* ── Shared type + buttons ── */
.dd-eyebrow {
  display: block;
  font: 500 12px/1.5 'Jost', sans-serif;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--dd-gold-text);
  margin-bottom: 20px;
}
.dd-h2 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  font-size: clamp(38px, 4.6vw, 62px);
  line-height: 1.04;
  letter-spacing: -0.015em;
  color: var(--burgundy);
}

.dd-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 16px 32px;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  text-decoration: none;
  font: 500 12px/1 'Jost', sans-serif;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: transform 0.3s ease, background 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
}
.dd-btn:hover { transform: translateY(-2px); }
.dd-btn-burgundy { background: var(--burgundy); color: #fff; box-shadow: 0 10px 28px rgba(65, 39, 45, 0.22); }
.dd-btn-burgundy:hover { background: var(--rosewood); }
.dd-btn-ivory { background: var(--ivory); color: var(--burgundy); }
.dd-btn-ivory:hover { background: #fff; }

.dd-link {
  color: var(--burgundy);
  font: 400 15px/1.4 'Jost', sans-serif;
  text-decoration: none;
  border-bottom: 1px solid var(--gold);
  padding-bottom: 3px;
  transition: color 0.25s ease, border-color 0.25s ease;
}
.dd-link:hover { color: var(--rosewood); border-color: var(--rosewood); }

.dd-page a:focus-visible,
.dd-page button:focus-visible,
.dd-page select:focus-visible,
.dd-page input:focus-visible,
.dd-page textarea:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

/* ── Scroll reveal (same pattern as the rest of the site) ── */
.dd-page .reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.8s ease, transform 0.8s ease; }
.dd-page .reveal.visible { opacity: 1; transform: none; }

/* ═════════ 1. HERO ═════════ */
.dd-hero { position: relative; background: var(--ivory); padding-top: 150px; overflow: hidden; }

.dd-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 72px;
  align-items: center;
  padding-bottom: 96px;
}

.dd-h1 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  font-size: clamp(54px, 7.2vw, 108px);
  line-height: 0.98;
  letter-spacing: -0.02em;
  color: var(--burgundy);
  margin-bottom: 26px;
}
.dd-lead { max-width: 520px; font-size: 18px; line-height: 1.7; color: var(--dd-ink); margin-bottom: 38px; }
.dd-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 30px; }

.dd-hero-media { position: relative; justify-self: center; width: min(100%, 470px); aspect-ratio: 4 / 5; }

/* soft rosewood/gold arch behind the portrait + a thin gold outline arch */
.dd-shape {
  position: absolute;
  inset: 5% -7% -5% 9%;
  border-radius: 999px 999px 28px 28px;
  background: linear-gradient(165deg, rgba(95, 60, 64, 0.16), rgba(184, 160, 130, 0.3));
}
.dd-shape::after {
  content: "";
  position: absolute;
  inset: 0;
  transform: translate(-16%, -3.5%);
  border: 1px solid var(--gold);
  border-radius: 999px 999px 28px 28px;
  opacity: 0.7;
}

.dd-portrait {
  position: relative;
  margin: 0;
  width: 100%;
  height: 100%;
  border-radius: 999px 999px 28px 28px;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(65, 39, 45, 0.2);
}
.dd-portrait img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; }

.dd-sccp {
  position: absolute;
  z-index: 2;
  left: -9%;
  bottom: 9%;
  margin: 0;
  max-width: 280px;
  padding: 16px 20px 14px;
  background: #fff;
  border-radius: 14px;
  box-shadow: var(--dd-shadow);
}
.dd-sccp img { display: block; width: 210px; max-width: 100%; height: auto; }
.dd-sccp figcaption { margin-top: 10px; font: 500 11px/1.5 'Jost', sans-serif; letter-spacing: 0.12em; text-transform: uppercase; color: var(--dd-gold-text); }

.dd-hero-band { height: 16px; background: var(--burgundy); }

/* photo placeholder (doctors without a photo yet): initials on a soft ivory → rose tint */
.dd-photo-placeholder {
  display: flex; align-items: center; justify-content: center;
  width: 100%; height: 100%;
  background: linear-gradient(160deg, var(--ivory) 0%, #E4D5CF 100%);
  color: var(--gold); font: 400 clamp(72px, 9vw, 130px)/1 'Cormorant Garamond', serif; letter-spacing: 0.04em;
}
.dd-about-photo .dd-photo-placeholder { aspect-ratio: 825 / 900; height: auto; border-radius: 20px; box-shadow: var(--dd-shadow); }

/* ═════════ 2. STATS ═════════ */
.dd-stats { background: #fff; padding: 0; }
.dd-stats-grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--dd-line);
}
.dd-stats-grid li { background: #fff; padding: 40px 24px 30px; }
.dd-stat-value { display: block; font: 400 clamp(26px, 2.9vw, 46px)/1.05 'Cormorant Garamond', serif; color: var(--burgundy); margin-bottom: 12px; white-space: nowrap; }
.dd-stat-caption { display: block; font: 400 14px/1.55 'Jost', sans-serif; letter-spacing: 0.02em; color: var(--dd-gold-text); }

/* ═════════ 3. ABOUT ═════════ */
.dd-about { background: var(--dd-rose-tint); padding: 56px 0 120px; }
.dd-about-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 88px; align-items: start; }

.dd-about-photo { margin: 0; }
.dd-about-photo img { display: block; width: 100%; height: auto; aspect-ratio: 825 / 900; object-fit: cover; border-radius: 20px; box-shadow: var(--dd-shadow); }
.dd-about-photo figcaption { margin-top: 16px; font: 400 13px/1.7 'Jost', sans-serif; color: var(--dd-ink); max-width: 420px; }

.dd-about h2 { margin-bottom: 26px; }
.dd-about-lead { font: 400 19px/1.7 'Jost', sans-serif; color: var(--burgundy); margin-bottom: 20px; }
.dd-about p { max-width: 600px; font-size: 15.5px; line-height: 1.85; color: var(--dd-ink); }
.dd-about p + p { margin-top: 14px; }

.dd-facts { margin-top: 34px; border-top: 1px solid var(--dd-line); }
.dd-facts div { display: grid; grid-template-columns: 190px minmax(0, 1fr); gap: 20px; padding: 15px 0; border-bottom: 1px solid var(--dd-line); }
.dd-facts dt { font: 500 11px/1.7 'Jost', sans-serif; letter-spacing: 0.16em; text-transform: uppercase; color: var(--dd-gold-text); padding-top: 2px; }
.dd-facts dd { font: 400 15px/1.65 'Jost', sans-serif; color: var(--charcoal); }

/* ═════════ 4. TESTIMONIALS (markup is commented out in the page until verified quotes exist) ═════════ */
.dd-testi { background: #fff; padding: 110px 0; text-align: center; }
.dd-testi .dd-h2 { margin-bottom: 44px; }
.dd-testi-card { position: relative; max-width: 780px; margin: 0 auto; padding: 48px 56px; background: var(--ivory); border-radius: 20px; box-shadow: var(--dd-shadow); }
.dd-testi-card blockquote { font: italic 300 clamp(24px, 2.6vw, 32px)/1.35 'Cormorant Garamond', serif; color: var(--burgundy); margin-bottom: 22px; }
.dd-testi-card figcaption { font: 500 12px/1.5 'Jost', sans-serif; letter-spacing: 0.14em; text-transform: uppercase; color: var(--dd-gold-text); }
.dd-testi-arrows { display: flex; justify-content: center; gap: 12px; margin-top: 28px; }
.dd-testi-arrows button { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--dd-line); background: #fff; color: var(--burgundy); cursor: pointer; font-size: 18px; transition: background 0.25s, color 0.25s; }
.dd-testi-arrows button:hover { background: var(--burgundy); color: #fff; }

/* ═════════ 5. WHAT HE TREATS ═════════ */
.dd-treats { background: var(--ivory); padding: 120px 0; }
.dd-treats-head { max-width: 640px; margin-bottom: 56px; }
.dd-treats-head p { margin-top: 20px; font-size: 16px; line-height: 1.8; color: var(--dd-ink); }

.dd-treats-grid { display: grid; grid-template-columns: repeat(var(--dd-cols, 3), minmax(0, 1fr)); gap: 28px; align-items: stretch; }
.dd-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-top: 2px solid var(--gold);
  border-radius: var(--dd-radius);
  padding: 38px 34px 34px;
  box-shadow: var(--dd-shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.dd-card:hover { transform: translateY(-4px); box-shadow: 0 20px 50px rgba(65, 39, 45, 0.12); }
.dd-card h3 { font: 400 38px/1.05 'Cormorant Garamond', serif; color: var(--burgundy); margin-bottom: 22px; }
.dd-card ul { list-style: none; flex: 1; }
.dd-card li { padding: 16px 0; border-top: 1px solid var(--dd-line); }
.dd-card li strong { display: block; font: 500 15px/1.4 'Jost', sans-serif; color: var(--burgundy); margin-bottom: 4px; }
.dd-card li span { display: block; font: 400 14px/1.65 'Jost', sans-serif; color: var(--dd-ink); }
.dd-card .dd-link { align-self: flex-start; margin-top: auto; padding-top: 0; font-size: 14px; }
.dd-card ul { margin-bottom: 22px; }

/* ═════════ 6. CTA BAND ═════════ */
.dd-cta { background: var(--burgundy); color: var(--ivory); padding: 100px 0; text-align: center; }
.dd-cta .dd-eyebrow { color: var(--gold-light); }
.dd-cta h2 { font: 300 clamp(38px, 4.8vw, 66px)/1.05 'Cormorant Garamond', serif; letter-spacing: -0.015em; color: var(--ivory); max-width: 860px; margin: 0 auto 22px; }
.dd-cta p { max-width: 600px; margin: 0 auto 38px; font-size: 17px; line-height: 1.8; color: rgba(242, 239, 232, 0.82); }

/* ═════════ 7. CONTACT ═════════ */
.dd-contact { background: var(--ivory); padding: 120px 0; }
.dd-contact-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 80px; align-items: start; }
.dd-contact h2 { margin-bottom: 22px; }
.dd-contact-copy > p { max-width: 460px; font-size: 16px; line-height: 1.8; color: var(--dd-ink); }

.dd-contact-list { list-style: none; margin-top: 34px; display: grid; gap: 18px; }
.dd-contact-list a { display: inline-flex; align-items: center; gap: 14px; color: var(--burgundy); text-decoration: none; font: 400 16px/1.4 'Jost', sans-serif; }
.dd-contact-list a:hover span { border-bottom-color: var(--rosewood); }
.dd-contact-list span { border-bottom: 1px solid var(--gold); padding-bottom: 2px; }
.dd-contact-list svg { flex: none; color: var(--gold); }
.dd-contact-list small { display: block; margin-top: 4px; font-size: 12px; color: var(--dd-gold-text); }

.dd-form { display: flex; flex-direction: column; gap: 18px; background: #fff; border-radius: 20px; padding: 40px; box-shadow: var(--dd-shadow); }
.dd-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.dd-input {
  width: 100%;
  background: var(--ivory);
  border: 1px solid transparent;
  border-radius: 12px;
  padding: 16px 20px;
  font: 400 15px/1.4 'Jost', sans-serif;
  color: var(--charcoal);
  transition: border-color 0.25s, background 0.25s, box-shadow 0.25s;
}
.dd-input:focus { outline: none; border-color: var(--gold); background: #fff; box-shadow: 0 4px 15px rgba(184, 160, 130, 0.15); }
textarea.dd-input { min-height: 120px; resize: vertical; }
.dd-form .dd-btn { width: 100%; }

/* ═════════ RESPONSIVE ═════════ */
@media (max-width: 1024px) {
  .dd-hero-grid { gap: 44px; }
  .dd-about-grid { gap: 56px; }
  .dd-contact-grid { gap: 48px; }
  .dd-treats-grid { gap: 20px; }
  .dd-card { padding: 32px 26px 28px; }
  .dd-facts div { grid-template-columns: 150px minmax(0, 1fr); }
}

@media (max-width: 900px) {
  .dd-hero { padding-top: 112px; }
  .dd-hero-grid { grid-template-columns: 1fr; padding-bottom: 64px; }
  .dd-hero-media { order: -1; width: min(86%, 380px); }   /* portrait first */
  .dd-sccp { left: -4%; bottom: 6%; max-width: 220px; padding: 12px 14px 10px; }
  .dd-sccp img { width: 160px; }
  .dd-stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }  /* 2 × 2 */
  .dd-stats-grid li { padding: 30px 20px 24px; }
  .dd-stat-value { font-size: clamp(24px, 6vw, 34px); }
  .dd-about { padding: 40px 0 80px; }
  .dd-treats, .dd-contact, .dd-testi { padding: 80px 0; }
  .dd-about-grid, .dd-contact-grid { grid-template-columns: 1fr; }
  .dd-treats-grid { grid-template-columns: 1fr; }
  .dd-cta { padding: 80px 0; }
  .dd-form { padding: 28px 22px; }
  .dd-testi-card { padding: 34px 26px; }
}

@media (max-width: 560px) {
  .dd-stats-grid li { padding-left: 16px; padding-right: 16px; }
  .dd-form-row { grid-template-columns: 1fr; }
  .dd-facts div { grid-template-columns: 1fr; gap: 2px; }
  .dd-actions { flex-direction: column; align-items: stretch; text-align: center; }
  .dd-actions .dd-link { align-self: center; }
  .dd-lead { font-size: 16.5px; }
}

@media (max-width: 360px) {
  .dd-stat-value { white-space: normal; }
}

@media (prefers-reduced-motion: reduce) {
  .dd-page .reveal { opacity: 1; transform: none; transition: none; }
  .dd-btn, .dd-card, .nav-dropdown { transition: none; }
}
