/* ============================================================
   RH Psychiatry — shared stylesheet
   ============================================================ */

:root {
  --navy-deep: #0f1c33;
  --navy: #1b2c4a;
  --navy-soft: #2c4066;
  --gold: #a9812f;
  --gold-light: #cca856;
  --gold-pale: #e9dcb9;
  --ink: #212836;
  --muted: #5c6673;
  --border: #e3e0d6;
  --bg-soft: #f7f5f0;
  --white: #ffffff;
  --shadow: 0 10px 30px rgba(15, 28, 51, 0.08);
  --serif: "Cormorant Garamond", "Georgia", serif;
  --sans: "Inter", -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 600;
  color: var(--navy);
  line-height: 1.15;
  margin: 0 0 0.5em;
}

p { margin: 0 0 1em; color: var(--ink); }

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 32px;
}

section { padding: 88px 0; }
.section-soft { background: var(--bg-soft); }

.eyebrow {
  font-family: var(--sans);
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 14px;
}

.lede {
  font-size: 19px;
  color: var(--muted);
  max-width: 640px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 30px;
  border-radius: 3px;
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.2s ease, color 0.2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-gold {
  background: linear-gradient(120deg, var(--gold) 0%, var(--gold-light) 100%);
  color: var(--navy-deep);
}
.btn-gold:hover { box-shadow: 0 12px 24px rgba(169, 129, 47, 0.35); }
.btn-outline {
  background: transparent;
  border-color: rgba(255,255,255,0.4);
  color: var(--white);
}
.btn-outline:hover { border-color: var(--white); background: rgba(255,255,255,0.08); }
.btn-outline-navy {
  background: transparent;
  border-color: var(--navy);
  color: var(--navy);
}
.btn-outline-navy:hover { background: var(--navy); color: var(--white); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,0.98);
  border-bottom: 1px solid var(--border);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 92px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { height: 58px; width: auto; }

.main-nav { display: flex; align-items: center; gap: 36px; }
.main-nav a {
  font-size: 14.5px;
  font-weight: 500;
  color: var(--navy);
  position: relative;
  padding: 6px 0;
}
.main-nav a.active,
.main-nav a:hover { color: var(--gold); }
.main-nav a.active::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 2px;
  background: var(--gold);
}
.main-nav .btn { padding: 11px 24px; font-size: 14px; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy);
  margin: 5px 0;
  transition: 0.2s;
}

/* ---------- Hero ---------- */
.hero {
  background: radial-gradient(120% 140% at 85% -10%, #21365a 0%, var(--navy-deep) 55%, #0a1220 100%);
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.hero .container {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 40px;
  padding-top: 100px;
  padding-bottom: 100px;
  position: relative;
  z-index: 2;
}
.hero h1 {
  color: var(--white);
  font-size: 52px;
  margin-bottom: 22px;
}
.hero h1 em {
  font-style: italic;
  background: linear-gradient(120deg, var(--gold-light), var(--gold-pale));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero p.lede { color: #c6cedb; font-size: 19px; }
.hero-actions { display: flex; gap: 16px; margin-top: 32px; flex-wrap: wrap; }
.hero-art {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.hero-art svg { width: 100%; height: auto; max-width: 380px; opacity: 0.95; }

.logo-medallion {
  position: relative;
  width: 100%;
  max-width: 380px;
  aspect-ratio: 1 / 1;
}
.logo-medallion-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.3);
}
.logo-medallion-plate {
  position: absolute;
  inset: 9%;
  border-radius: 50%;
  background: var(--white);
  box-shadow: 0 24px 60px rgba(5, 10, 20, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 15%;
  box-sizing: border-box;
}
.logo-medallion-plate img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 14px;
}

.hero-note {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,0.14);
  color: #aeb8c7;
  font-size: 14px;
  max-width: 480px;
}

/* ---------- Page hero (interior pages) ---------- */
.page-hero {
  background: var(--navy-deep);
  color: var(--white);
  padding: 72px 0 64px;
}
.page-hero h1 { color: var(--white); font-size: 42px; }
.page-hero .lede { color: #c6cedb; }

/* ---------- Strip / trust bar ---------- */
.trust-strip {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--white);
}
.trust-strip .container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding: 36px 32px;
}
.trust-item { display: flex; gap: 14px; align-items: flex-start; }
.trust-item .icon {
  flex-shrink: 0;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--gold-pale);
  display: flex; align-items: center; justify-content: center;
  color: var(--gold);
}
.trust-item h4 { font-family: var(--sans); font-size: 15px; margin-bottom: 4px; color: var(--navy); }
.trust-item p { font-size: 13.5px; color: var(--muted); margin: 0; }

/* ---------- Section headers ---------- */
.section-head { max-width: 620px; margin-bottom: 56px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { font-size: 36px; }

/* ---------- Services grid ---------- */
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 34px 30px;
  box-shadow: var(--shadow);
}
.service-card .num {
  font-family: var(--serif);
  font-size: 15px;
  color: var(--gold);
  margin-bottom: 18px;
  letter-spacing: 0.02em;
}
.service-card h3 { font-size: 22px; margin-bottom: 10px; }
.service-card p { color: var(--muted); font-size: 15px; margin: 0; }

/* ---------- Providers preview (home) ---------- */
.providers-preview {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.provider-card-mini {
  text-align: center;
}
.provider-card-mini .photo-wrap {
  width: 168px; height: 168px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 20px;
  border: 4px solid var(--white);
  box-shadow: var(--shadow);
}
.provider-card-mini img { width: 100%; height: 100%; object-fit: cover; }
.provider-card-mini h4 { font-size: 20px; margin-bottom: 2px; }
.provider-card-mini .role { color: var(--gold); font-size: 13.5px; font-weight: 600; letter-spacing: 0.02em; margin-bottom: 10px; }

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--navy);
  color: var(--white);
  padding: 64px 0;
  text-align: center;
}
.cta-band h2 { color: var(--white); font-size: 32px; margin-bottom: 14px; }
.cta-band p { color: #c6cedb; max-width: 520px; margin: 0 auto 30px; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy-deep);
  color: #9aa5b5;
  padding: 56px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-grid .brand img { height: 46px; margin-bottom: 14px; }
.footer-grid p { color: #8b97a8; font-size: 14px; }
.footer-col h5 {
  color: var(--white);
  font-family: var(--sans);
  font-size: 14px;
  letter-spacing: 0.03em;
  margin-bottom: 16px;
}
.footer-col a, .footer-col p {
  display: block;
  color: #9aa5b5;
  font-size: 14.5px;
  margin-bottom: 10px;
}
.footer-col a:hover { color: var(--gold-light); }
.footer-bottom {
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: #71798a;
  flex-wrap: wrap;
  gap: 10px;
}

/* ---------- Biography page ---------- */
.provider-block {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 56px;
  padding: 64px 0;
  align-items: start;
}
.provider-block:not(:last-child) { border-bottom: 1px solid var(--border); }
.provider-photo {
  width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.provider-photo img { width: 100%; height: 100%; object-fit: cover; }
.provider-info .role { color: var(--gold); font-weight: 600; font-size: 14px; letter-spacing: 0.02em; margin-bottom: 8px; }
.provider-info h2 { font-size: 32px; margin-bottom: 4px; }
.provider-info .credentials { color: var(--muted); font-size: 15px; margin-bottom: 20px; }
.edu-list { list-style: none; margin: 0 0 22px; padding: 0; }
.edu-list li {
  display: flex;
  gap: 12px;
  padding: 10px 0;
  border-top: 1px solid var(--border);
  font-size: 14.5px;
}
.edu-list li:first-child { border-top: none; }
.edu-list .label { color: var(--gold); font-weight: 600; min-width: 110px; flex-shrink: 0; }
.edu-list .val { color: var(--ink); }

/* ---------- Insurance list ---------- */
.insurance-row {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 24px;
}
.insurance-pill {
  border: 1px solid var(--border);
  background: var(--white);
  padding: 10px 22px;
  border-radius: 30px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--navy);
}

/* ---------- Contact / map ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.contact-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 40px;
  box-shadow: var(--shadow);
}
.contact-line { display: flex; gap: 16px; margin-bottom: 26px; }
.contact-line:last-child { margin-bottom: 0; }
.contact-line .icon {
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--gold-pale); color: var(--gold);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.contact-line h4 { font-family: var(--sans); font-size: 14.5px; color: var(--navy); margin-bottom: 4px; }
.contact-line p { margin: 0; color: var(--muted); font-size: 15px; }
.contact-line a { color: var(--muted); }
.contact-line a:hover { color: var(--gold); }
.map-wrap {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  height: 100%;
  min-height: 420px;
}
.map-wrap iframe { width: 100%; height: 100%; min-height: 420px; border: 0; }

/* ---------- Appointment / intake form ---------- */
.appointment-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: start;
}
.crisis-note {
  background: #fbf3e9;
  border: 1px solid #ecd9bd;
  border-radius: 8px;
  padding: 22px 24px;
  margin-bottom: 28px;
}
.crisis-note h4 { color: #7a4a12; font-family: var(--sans); font-size: 15px; margin-bottom: 6px; }
.crisis-note p { color: #7a5a2f; font-size: 14px; margin: 0; }
.privacy-note {
  font-size: 13.5px;
  color: var(--muted);
  background: var(--bg-soft);
  border-radius: 8px;
  padding: 18px 20px;
  margin-top: 26px;
}

.form-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 44px;
  box-shadow: var(--shadow);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { margin-bottom: 22px; }
.field label {
  display: block;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 8px;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 5px;
  padding: 13px 14px;
  font-family: var(--sans);
  font-size: 15px;
  color: var(--ink);
  background: var(--white);
  transition: border-color 0.15s;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--gold);
}
.field textarea { resize: vertical; min-height: 120px; }
.radio-group { display: flex; gap: 20px; flex-wrap: wrap; }
.radio-option {
  display: flex; align-items: center; gap: 8px;
  border: 1px solid var(--border);
  padding: 11px 18px;
  border-radius: 30px;
  font-size: 14px;
  cursor: pointer;
}
.radio-option input { width: auto; margin: 0; }
.form-submit { width: 100%; justify-content: center; margin-top: 6px; font-size: 16px; padding: 16px; }
.required { color: var(--gold); }

.confirm-box {
  display: none;
  text-align: center;
  padding: 60px 20px;
}
.confirm-box.show { display: block; }
.confirm-box .mark {
  width: 64px; height: 64px; border-radius: 50%;
  background: var(--gold-pale); color: var(--gold);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px; font-size: 28px;
}

/* ---------- Divider laurel motif ---------- */
.motif-divider { display: flex; align-items: center; justify-content: center; margin: 0 0 40px; }
.motif-divider svg { width: 120px; height: auto; color: var(--gold); }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero .container { grid-template-columns: 1fr; padding-top: 60px; padding-bottom: 60px; }
  .hero-art { display: none; }
  .hero h1 { font-size: 38px; }
  .service-grid, .providers-preview { grid-template-columns: 1fr; }
  .trust-strip .container { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .provider-block { grid-template-columns: 1fr; }
  .provider-photo { max-width: 280px; }
  .contact-grid, .appointment-layout { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }

  .main-nav {
    position: fixed;
    top: 92px; left: 0; right: 0; bottom: 0;
    background: var(--white);
    flex-direction: column;
    align-items: flex-start;
    padding: 30px 32px;
    gap: 22px;
    transform: translateX(100%);
    transition: transform 0.25s ease;
    overflow-y: auto;
  }
  .main-nav.open { transform: translateX(0); }
  .nav-toggle { display: block; }
}

@media (max-width: 560px) {
  section { padding: 60px 0; }
  .section-head h2 { font-size: 28px; }
  .form-card, .contact-card { padding: 28px; }
}

/* ---------- Disclaimer band ---------- */
.disclaimer-band {
  background: #0a1220;
  color: #8b96a8;
  padding: 20px 0;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.disclaimer-band .container {
  font-size: 12.5px;
  line-height: 1.6;
  text-align: center;
}
.disclaimer-band strong { color: #c9d2de; font-weight: 600; }
