*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --obsidian: #f6faf9; --charcoal: #edf5f3; --surface: #ffffff; --surface2: #e1eeec;
  --gold: #376c69; --gold-light: #407571; --gold-muted: #588580;
  --cream: #203e3d; --cream-muted: #466361;
  --text-secondary: #536f6d; --text-muted: #627977;
  --border: rgba(55,108,105,0.15); --border-strong: rgba(55,108,105,0.35);
  --serif: 'Cormorant Garamond', Georgia, serif; --sans: 'DM Sans', sans-serif;
}
html { scroll-behavior: smooth; }
body { background: var(--obsidian); color: var(--cream); font-family: var(--sans); font-weight: 300; line-height: 1.7; overflow-x: hidden; }

/* NAV — identical to all pages */
nav#mainNav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; height: 68px; padding: 0 24px; display: flex; align-items: center; justify-content: space-between; gap: 24px; transition: background 0.4s, border-color 0.4s; border-bottom: 1px solid transparent; }
nav#mainNav.scrolled { background: var(--surface); backdrop-filter: blur(14px); border-bottom-color: var(--border); }
.nav-logo { display: flex; align-items: center; flex-shrink: 0; }
.nav-logo img { height: 40px; width: auto; max-width: 140px; object-fit: contain; filter: none; opacity: 0.92; display: block; }
.nav-links { display: none; align-items: center; gap: 32px; list-style: none; flex-shrink: 0; }
.nav-links a { color: var(--cream-muted); text-decoration: none; font-size: 12px; font-weight: 400; letter-spacing: 0.1em; text-transform: uppercase; transition: color 0.3s; white-space: nowrap; }
.nav-links a:hover, .nav-links a.active { color: var(--gold); }
.nav-cta { border: 1px solid var(--gold-muted) !important; color: var(--gold) !important; padding: 9px 20px; border-radius: 2px; transition: background 0.3s, color 0.3s !important; }
.nav-cta:hover { background: var(--gold) !important; color: var(--obsidian) !important; }
.nav-hamburger { display: flex; flex-direction: column; gap: 5px; flex-shrink: 0; cursor: pointer; background: none; border: none; padding: 6px; }
.nav-hamburger span { display: block; width: 22px; height: 1px; background: var(--cream-muted); transition: 0.3s; }
.nav-drawer { display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0; z-index: 9999; background: var(--surface); flex-direction: column; padding: 100px 36px 48px; gap: 0; overflow-y: auto; }
.nav-drawer.open { display: flex; }
.nav-drawer a { display: block; padding: 22px 0; font-family: var(--serif); font-size: 36px; font-weight: 300; color: var(--cream-muted); text-decoration: none; border-bottom: 1px solid var(--border); transition: color 0.3s, padding-left 0.3s; }
.nav-drawer a:hover { color: var(--gold); padding-left: 10px; }
.nav-drawer a:last-child { margin-top: 36px; border: 1px solid var(--gold-muted); color: var(--gold); text-align: center; padding: 18px; font-family: var(--sans); font-size: 13px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; border-radius: 2px; border-bottom: 1px solid var(--gold-muted); }
.nav-drawer a:last-child:hover { background: var(--gold); color: var(--obsidian); }
.drawer-close { position: absolute; top: 22px; right: 24px; background: none; border: none; cursor: pointer; color: var(--cream-muted); font-size: 24px; padding: 8px; transition: color 0.3s; }
.drawer-close:hover { color: var(--gold); }
body.menu-open { overflow: hidden; }
@media (min-width: 900px) { nav#mainNav { padding: 0 56px; height: 72px; } .nav-links { display: flex; } .nav-hamburger { display: none; } .nav-drawer { display: none !important; } .nav-logo img { height: 44px; max-width: 160px; } }

/* DOCTOR HERO */
.doctor-hero {
  background: var(--charcoal);
  padding: 100px 24px 0;
  border-bottom: 1px solid var(--border);
  position: relative; overflow: hidden;
}
.doctor-hero::before { content: ''; position: absolute; top: -100px; right: -100px; width: 500px; height: 500px; background: radial-gradient(ellipse, rgba(80,133,128,0.07) 0%, transparent 70%); pointer-events: none; }
.doctor-hero-inner { max-width: 1280px; margin: 0 auto; position: relative; z-index: 1; }
.breadcrumb { display: flex; align-items: center; gap: 8px; font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 32px; }
.breadcrumb a { color: var(--text-muted); text-decoration: none; transition: color 0.3s; }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb span { color: var(--gold); }

/* Hero grid: photo + intro */
.doctor-hero-grid { display: flex; flex-direction: column; gap: 40px; }
@media (min-width: 900px) { .doctor-hero-grid { flex-direction: row; align-items: flex-end; gap: 72px; } }

/* Photo */
.doctor-photo-col { flex-shrink: 0; }
.doctor-photo-frame {
  position: relative; width: 100%; max-width: 320px;
  margin: 0 auto;
}
@media (min-width: 900px) { .doctor-photo-frame { width: 300px; max-width: 300px; margin: 0; } }
.doctor-photo-frame img { width: 100%; display: block; border-radius: 4px 4px 0 0; filter: grayscale(10%) contrast(1.05); }
.doctor-photo-frame::before { content: ''; position: absolute; inset: -1px; border: 1px solid var(--border-strong); border-bottom: none; border-radius: 4px 4px 0 0; pointer-events: none; z-index: 1; }

/* Intro */
.doctor-intro-col { padding-bottom: 48px; flex: 1; }
.doctor-eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); margin-bottom: 16px; }
.doctor-eyebrow::before { content: ''; display: block; width: 20px; height: 1px; background: var(--gold); }
.doctor-name { font-family: var(--serif); font-size: clamp(40px, 7vw, 72px); font-weight: 300; color: var(--cream); line-height: 1.0; margin-bottom: 6px; }
.doctor-name em { font-style: italic; color: var(--gold-light); }
.doctor-quals { font-size: 12px; letter-spacing: 0.1em; color: var(--gold-muted); text-transform: uppercase; margin-bottom: 28px; }

/* Award medals */
.medals { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.medal { display: flex; align-items: center; gap: 8px; background: rgba(80,133,128,0.07); border: 1px solid var(--border); border-radius: 2px; padding: 8px 14px; }
.medal i { color: var(--gold); font-size: 12px; }
.medal span { font-size: 11px; color: var(--cream-muted); }

.doctor-tagline { font-family: var(--serif); font-size: 20px; font-style: italic; font-weight: 300; color: var(--cream-muted); line-height: 1.5; max-width: 480px; margin-bottom: 28px; }

.hero-btns { display: flex; gap: 12px; flex-wrap: wrap; }
.btn-primary { background: var(--gold); color: var(--obsidian); border: none; padding: 14px 28px; font-family: var(--sans); font-size: 12px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; text-decoration: none; border-radius: 2px; cursor: pointer; transition: background 0.3s; display: inline-block; }
.btn-primary:hover { background: var(--gold-light); }
.btn-outline { background: transparent; color: var(--cream-muted); border: 1px solid var(--border-strong); padding: 14px 28px; font-family: var(--sans); font-size: 12px; font-weight: 400; letter-spacing: 0.12em; text-transform: uppercase; text-decoration: none; border-radius: 2px; cursor: pointer; transition: border-color 0.3s, color 0.3s; display: inline-block; }
.btn-outline:hover { border-color: var(--gold); color: var(--gold); }

/* STATS BAR */
.stats-bar { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.stats-bar-inner { max-width: 1280px; margin: 0 auto; padding: 0 24px; display: grid; grid-template-columns: 1fr 1fr; }
@media (min-width: 600px) { .stats-bar-inner { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 900px) { .stats-bar-inner { padding: 0 56px; } }
.stat-cell { padding: 22px 16px; border-right: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.stat-cell:nth-child(2n) { border-right: none; }
@media (min-width: 600px) { .stat-cell { border-bottom: none; } .stat-cell:nth-child(2n) { border-right: 1px solid var(--border); } .stat-cell:last-child { border-right: none; } }
.stat-num { font-family: var(--serif); font-size: 32px; font-weight: 300; color: var(--gold); line-height: 1; margin-bottom: 4px; }
.stat-label { font-size: 11px; color: var(--text-muted); line-height: 1.4; }
.stat-label strong { display: block; font-size: 12px; color: var(--cream); font-weight: 400; margin-bottom: 2px; }

/* BODY */
.doctor-body { max-width: 1280px; margin: 0 auto; padding: 56px 24px 80px; }
@media (min-width: 900px) { .doctor-body { padding: 72px 56px 100px; display: grid; grid-template-columns: 2fr 1fr; gap: 64px; align-items: start; } }

/* Content sections */
.content-block { margin-bottom: 48px; }
.section-label { display: inline-flex; align-items: center; gap: 10px; font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); margin-bottom: 14px; }
.section-label::before { content: ''; display: block; width: 20px; height: 1px; background: var(--gold); }
.content-block h3 { font-family: var(--serif); font-size: clamp(24px, 4vw, 36px); font-weight: 300; color: var(--cream); line-height: 1.2; margin-bottom: 16px; }
.content-block h3 em { font-style: italic; color: var(--gold-light); }
.content-block p { font-size: 15px; color: var(--text-secondary); line-height: 1.9; margin-bottom: 16px; }
.content-block p:last-child { margin-bottom: 0; }

/* Quote */
.doctor-big-quote { padding: 32px 28px; border-left: 3px solid var(--gold); background: rgba(80,133,128,0.04); margin: 40px 0; }
.doctor-big-quote p { font-family: var(--serif); font-size: clamp(20px, 3.5vw, 28px); font-style: italic; font-weight: 300; color: var(--cream-muted); line-height: 1.55; }
.doctor-big-quote cite { display: block; margin-top: 14px; font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-muted); font-style: normal; }

/* Sidebar */
.doctor-sidebar { position: sticky; top: 88px; }
@media (max-width: 899px) { .doctor-sidebar { position: static; } }

.sidebar-card { background: var(--surface); border: 1px solid var(--border); border-radius: 4px; overflow: hidden; margin-bottom: 16px; }
.sidebar-card-head { padding: 18px 20px; border-bottom: 1px solid var(--border); }
.sidebar-card-head h4 { font-family: var(--serif); font-size: 18px; font-weight: 400; color: var(--cream); }
.sidebar-card-body { padding: 18px 20px; display: flex; flex-direction: column; gap: 14px; }

.sidebar-item { display: flex; gap: 12px; align-items: flex-start; }
.sidebar-item-icon { width: 32px; height: 32px; background: rgba(80,133,128,0.08); border: 1px solid var(--border); border-radius: 2px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.sidebar-item-icon i { color: var(--gold); font-size: 12px; }
.sidebar-item-text { font-size: 12px; color: var(--text-secondary); line-height: 1.5; }
.sidebar-item-text strong { display: block; font-size: 13px; color: var(--cream); font-weight: 400; margin-bottom: 2px; }

.sidebar-cta { background: var(--surface); border: 1px solid var(--border); border-radius: 4px; padding: 24px 20px; text-align: center; position: relative; overflow: hidden; }
.sidebar-cta::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: linear-gradient(90deg, var(--gold), var(--gold-muted), transparent); }
.sidebar-cta h4 { font-family: var(--serif); font-size: 20px; font-weight: 300; color: var(--cream); margin-bottom: 8px; }
.sidebar-cta p { font-size: 12px; color: var(--text-secondary); margin-bottom: 18px; line-height: 1.6; }
.sidebar-cta a { display: block; text-align: center; margin-bottom: 10px; }
.sidebar-cta a:last-child { margin-bottom: 0; }

.instagram-link { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 12px; background: rgba(80,133,128,0.06); border: 1px solid var(--border); border-radius: 2px; color: var(--gold-muted); text-decoration: none; font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; transition: border-color 0.3s, color 0.3s; margin-top: 12px; }
.instagram-link:hover { border-color: var(--gold); color: var(--gold); }

/* Footer */
footer { background: var(--charcoal); border-top: 1px solid var(--border); padding: 48px 24px 32px; }
.footer-inner { max-width: 1280px; margin: 0 auto; }
.footer-logo img { height: 36px; filter: none; opacity: 0.7; margin-bottom: 12px; }
.footer-tagline { font-size: 13px; color: var(--text-muted); line-height: 1.8; margin-bottom: 28px; }
.footer-links-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-bottom: 28px; }
.footer-col h5 { font-size: 10px; letter-spacing: 0.15em; text-transform: uppercase; color: var(--gold-muted); margin-bottom: 14px; }
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a { font-size: 13px; color: var(--text-secondary); text-decoration: none; transition: color 0.2s; }
.footer-links a:hover { color: var(--gold); }
.footer-bottom { padding-top: 20px; border-top: 1px solid var(--border); font-size: 11px; color: var(--text-muted); text-align: center; line-height: 1.8; }
@media (min-width: 900px) { footer { padding: 60px 56px 32px; } .footer-links-grid { grid-template-columns: 1.5fr 1fr 1fr; } .footer-bottom { display: flex; justify-content: space-between; text-align: left; } }

.wa-float { position: fixed; bottom: 20px; right: 20px; z-index: 200; width: 52px; height: 52px; background: #25D366; border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 20px rgba(37,211,102,0.4); text-decoration: none; transition: transform 0.3s; }
.wa-float:hover { transform: scale(1.1); }
.wa-float i { color: #fff; font-size: 24px; }
.reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.7s, transform 0.7s; }
.reveal.visible { opacity: 1; transform: translateY(0); }
