@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400&family=Jost:wght@300;400;500;600&display=swap');

/* ── Variables ─────────────────────────────────────── */
:root {
  --navy:    #0c1e3c;
  --navy-dk: #071429;
  --gold:    #b48a3c;
  --gold-lt: #d4aa5c;
  --cream:   #f7f3ee;
  --cream-dk:#ede8e1;
  --white:   #ffffff;
  --text:    #1c2b3a;
  --muted:   #6b7c8e;
  --radius:  4px;
  --shadow:  0 4px 24px rgba(12,30,60,0.12);
}

/* ── Reset ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Jost', sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

/* ── Typography ────────────────────────────────────── */
h1, h2, h3, h4 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 0.01em;
}
h1 { font-size: clamp(2.4rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.9rem); }
h4 { font-size: 1.1rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; font-family: 'Jost', sans-serif; }
p  { font-size: 1rem; font-weight: 300; color: var(--text); }

/* ── Nav ───────────────────────────────────────────── */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--navy);
  border-bottom: 1px solid rgba(180,138,60,0.25);
}
.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.nav-brand {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.25rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--white);
}
.nav-brand span { color: var(--gold-lt); }
.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
  align-items: center;
}
.nav-links a {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.72);
  transition: color 0.2s;
}
.nav-links a:hover,
.nav-links a.active { color: var(--gold-lt); }
.nav-cta {
  background: var(--gold);
  color: var(--white) !important;
  padding: 0.5rem 1.2rem;
  border-radius: var(--radius);
  transition: background 0.2s !important;
}
.nav-cta:hover { background: var(--gold-lt) !important; color: var(--white) !important; }

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all 0.3s;
}

/* ── Hero ──────────────────────────────────────────── */
.hero {
  background: var(--navy);
  padding: 6rem 2rem 5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(180,138,60,0.12) 0%, transparent 70%);
  pointer-events: none;
}
.hero-eyeline {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.2rem;
}
.hero h1 {
  color: var(--white);
  margin-bottom: 1.2rem;
  font-weight: 300;
}
.hero h1 em { font-style: italic; color: var(--gold-lt); }
.hero-sub {
  color: rgba(255,255,255,0.65);
  font-size: 1.05rem;
  max-width: 560px;
  margin: 0 auto 2.4rem;
  font-weight: 300;
}
.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}
.btn-primary {
  background: var(--gold);
  color: var(--white);
  padding: 0.85rem 2rem;
  border-radius: var(--radius);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: background 0.2s, transform 0.15s;
  display: inline-block;
}
.btn-primary:hover { background: var(--gold-lt); transform: translateY(-1px); }
.btn-secondary {
  border: 1px solid rgba(255,255,255,0.3);
  color: rgba(255,255,255,0.85);
  padding: 0.85rem 2rem;
  border-radius: var(--radius);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: border-color 0.2s, color 0.2s;
  display: inline-block;
}
.btn-secondary:hover { border-color: var(--gold); color: var(--gold-lt); }

/* ── Section Wrappers ──────────────────────────────── */
.section { padding: 5rem 2rem; }
.section-cream { background: var(--cream); }
.section-navy { background: var(--navy); }
.section-white { background: var(--white); }
.container { max-width: 1100px; margin: 0 auto; }
.section-header { text-align: center; margin-bottom: 3.5rem; }
.section-header .eyebrow {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.7rem;
}
.section-header h2 { color: var(--navy); }
.section-navy .section-header h2 { color: var(--white); }
.section-header .rule {
  width: 48px;
  height: 2px;
  background: var(--gold);
  margin: 1.2rem auto 0;
}

/* ── Doctor Grid (Home) ────────────────────────────── */
.doctors-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 2rem;
}
.doctor-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.25s, box-shadow 0.25s;
  text-align: center;
}
.doctor-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 36px rgba(12,30,60,0.18);
}
.doctor-card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  object-position: top;
}
.doctor-card-body { padding: 1.4rem 1rem; }
.doctor-card h3 {
  font-size: 1.3rem;
  color: var(--navy);
  margin-bottom: 0.2rem;
}
.doctor-card .role {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
}
.doctor-card a {
  display: inline-block;
  margin-top: 0.9rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--navy);
  border-bottom: 1px solid var(--gold);
  padding-bottom: 1px;
  transition: color 0.2s;
}
.doctor-card a:hover { color: var(--gold); }

/* ── Specialties Strip ─────────────────────────────── */
.specialties-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-top: 0.5rem;
}
.spec-tag {
  background: var(--navy);
  color: rgba(255,255,255,0.85);
  padding: 0.45rem 1rem;
  border-radius: 2rem;
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  border: 1px solid rgba(180,138,60,0.25);
}

/* ── Info Bar ──────────────────────────────────────── */
.info-bar {
  background: var(--gold);
  padding: 1.5rem 2rem;
  text-align: center;
}
.info-bar p {
  color: var(--white);
  font-size: 0.9rem;
  letter-spacing: 0.03em;
}
.info-bar a { color: var(--white); font-weight: 600; border-bottom: 1px solid rgba(255,255,255,0.5); }

/* ── Bios Page ─────────────────────────────────────── */
.bio-block {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 3rem;
  margin-bottom: 4rem;
  padding-bottom: 4rem;
  border-bottom: 1px solid var(--cream-dk);
  align-items: start;
}
.bio-block:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.bio-block.reverse { grid-template-columns: 1fr 280px; }
.bio-block.reverse .bio-img { order: 2; }
.bio-block.reverse .bio-text { order: 1; }
.bio-img img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  object-position: top;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.bio-text .eyebrow {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.4rem;
}
.bio-text h2 {
  color: var(--navy);
  font-size: 2rem;
  margin-bottom: 1.5rem;
}
.bio-text p {
  color: #3d4f5e;
  font-weight: 300;
  font-size: 0.97rem;
  line-height: 1.85;
}

/* ── Appointments Page ─────────────────────────────── */
.appt-hero {
  background: var(--navy);
  padding: 5rem 2rem;
  text-align: center;
}
.appt-hero h1 { color: var(--white); margin-bottom: 0.8rem; }
.appt-hero p { color: rgba(255,255,255,0.65); max-width: 500px; margin: 0 auto 2rem; }

.appt-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}
.appt-card {
  background: var(--cream);
  border-radius: var(--radius);
  padding: 2.5rem;
  box-shadow: var(--shadow);
}
.appt-card h3 {
  color: var(--navy);
  margin-bottom: 0.5rem;
}
.appt-card .rule {
  width: 36px;
  height: 2px;
  background: var(--gold);
  margin-bottom: 1.4rem;
}
.appt-card p { font-size: 0.95rem; color: #3d4f5e; margin-bottom: 1.5rem; }
.insurance-list {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem 1rem;
}
.insurance-list li {
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.insurance-list li::before {
  content: '·';
  color: var(--gold);
  font-size: 1.2rem;
  line-height: 1;
}
.insurance-note {
  margin-top: 1.2rem;
  font-size: 0.8rem;
  color: var(--muted);
  font-style: italic;
}

/* ── Contact Page ──────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}
.contact-info h3 { color: var(--navy); margin-bottom: 0.5rem; }
.contact-info .rule {
  width: 36px;
  height: 2px;
  background: var(--gold);
  margin-bottom: 1.8rem;
}
.contact-detail {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.2rem;
  align-items: flex-start;
}
.contact-detail .icon {
  width: 36px;
  height: 36px;
  background: var(--navy);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}
.contact-detail .icon svg { fill: var(--gold); }
.contact-detail div { font-size: 0.9rem; color: #3d4f5e; }
.contact-detail div strong {
  display: block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 0.2rem;
}
.hours-grid {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.3rem 1.5rem;
  font-size: 0.9rem;
}
.hours-grid .day { font-weight: 500; color: var(--navy); }
.hours-grid .time { color: var(--muted); }
.map-container {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.map-container iframe { display: block; width: 100%; height: 380px; border: none; }

/* ── Footer ────────────────────────────────────────── */
footer {
  background: var(--navy-dk);
  padding: 3rem 2rem 2rem;
  text-align: center;
  border-top: 1px solid rgba(180,138,60,0.2);
}
footer .footer-brand {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem;
  color: var(--white);
  margin-bottom: 0.5rem;
}
footer .footer-addr {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.45);
  margin-bottom: 1.5rem;
}
footer .footer-links {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 1.8rem;
}
footer .footer-links a {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  transition: color 0.2s;
}
footer .footer-links a:hover { color: var(--gold-lt); }
footer .copyright {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.25);
}

/* ── Responsive ────────────────────────────────────── */
@media (max-width: 768px) {
  .nav-links { display: none; flex-direction: column; position: absolute; top: 64px; left: 0; right: 0; background: var(--navy); padding: 1.5rem 2rem; gap: 1.2rem; border-top: 1px solid rgba(180,138,60,0.15); }
  .nav-links.open { display: flex; }
  .nav-toggle { display: flex; }
  .nav-cta { display: none; }

  .bio-block, .bio-block.reverse {
    grid-template-columns: 1fr;
  }
  .bio-block.reverse .bio-img,
  .bio-block.reverse .bio-text { order: unset; }
  .bio-img img { max-width: 260px; margin: 0 auto; }

  .appt-grid, .contact-grid { grid-template-columns: 1fr; }
  .insurance-list { grid-template-columns: 1fr 1fr; }
  .doctors-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
  .doctors-grid { grid-template-columns: 1fr 1fr; }
  .hero { padding: 4rem 1.5rem 3.5rem; }
  .section { padding: 3.5rem 1.5rem; }
}
