:root {
  --navy: #163b53;
  --navy-dark: #0e2a3d;
  --navy-tint: #eef2f5;
  --offwhite: #f4f1ea;
  --white: #ffffff;
  --brass: #a9873f;
  --brass-dark: #8a6d2f;
  --brass-tint: #f6efdd;
  --text: #263440;
  --muted: #61707a;
  --border: #e0dbcd;
  --shadow-sm: 0 1px 3px rgba(15, 42, 61, 0.06), 0 1px 2px rgba(15, 42, 61, 0.08);
  --shadow-md: 0 6px 20px rgba(15, 42, 61, 0.08), 0 2px 6px rgba(15, 42, 61, 0.06);
  --shadow-lg: 0 16px 40px rgba(15, 42, 61, 0.14);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Raleway', Arial, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, .brand-word {
  font-family: 'Cinzel', Georgia, serif;
  color: var(--navy);
  letter-spacing: 0.01em;
  font-weight: 600;
}

h1 { font-size: 2.5rem; line-height: 1.18; margin: 0 0 1rem; }
h2 {
  font-size: 1.65rem;
  margin: 0 0 1.1rem;
  position: relative;
  padding-bottom: 14px;
}
h2::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 46px; height: 3px;
  background: var(--brass);
  border-radius: 2px;
}
.center h2::after, .hero h2::after { left: 50%; transform: translateX(-50%); }
h3 { font-size: 1.2rem; margin: 0 0 0.6rem; }
p { margin: 0 0 1rem; }
a { color: var(--navy); }
ul { padding-left: 1.2rem; }
li { margin-bottom: 0.5rem; }

.container { max-width: 1080px; margin: 0 auto; padding: 0 24px; }

/* ---------- Header ---------- */
header.site-header {
  background: rgba(244, 241, 234, 0.94);
  backdrop-filter: saturate(160%) blur(6px);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 200;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 24px;
  max-width: 1200px;
  margin: 0 auto;
  gap: 20px;
}
.logo-block { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.logo-mark { width: 38px; height: 38px; flex-shrink: 0; }
.logo-text .brand-word { font-size: 1.32rem; margin: 0; line-height: 1; }
.logo-text .brand-sub {
  font-family: 'Raleway', Arial, sans-serif;
  font-size: 0.6rem;
  letter-spacing: 0.15em;
  color: var(--brass-dark);
  text-transform: uppercase;
  font-weight: 700;
}

nav.primary-nav { display: flex; align-items: center; gap: 24px; }
nav.primary-nav a {
  text-decoration: none;
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  position: relative;
  padding: 4px 0;
}
nav.primary-nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 2px;
  background: var(--brass);
  transform: scaleX(0);
  transition: transform 0.18s ease;
}
nav.primary-nav a:hover { color: var(--navy); }
nav.primary-nav a:hover::after { transform: scaleX(1); }

.header-cta { display: flex; gap: 10px; align-items: center; }

.nav-toggle {
  display: none;
  background: none;
  border: 1.5px solid var(--navy);
  border-radius: 4px;
  width: 40px; height: 36px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: "";
  display: block;
  width: 18px; height: 2px;
  background: var(--navy);
  position: relative;
  transition: 0.2s;
}
.nav-toggle span::before { position: absolute; top: -6px; }
.nav-toggle span::after { position: absolute; top: 6px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.88rem;
  letter-spacing: 0.02em;
  border: 1.5px solid var(--navy);
  transition: all 0.15s ease;
}
.btn-primary { background: var(--navy); color: var(--white); box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--navy-dark); box-shadow: var(--shadow-md); transform: translateY(-1px); }
.btn-secondary { background: transparent; color: var(--navy); }
.btn-secondary:hover { background: var(--navy); color: var(--white); }
.btn-brass { background: var(--brass); color: var(--white); border-color: var(--brass); }
.btn-brass:hover { background: var(--brass-dark); border-color: var(--brass-dark); }

/* ---------- Hero ---------- */
.hero {
  background: radial-gradient(1100px 480px at 50% -10%, var(--navy-tint) 0%, var(--white) 60%);
  padding: 72px 0 60px;
  border-bottom: 1px solid var(--border);
  text-align: center;
}
.hero .container { max-width: 800px; }
.hero h1 { font-size: 2.7rem; }
.hero p.lede { font-size: 1.18rem; color: var(--muted); margin-bottom: 2.2rem; }
.hero .cta-row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---------- Sections ---------- */
section.block { padding: 56px 0; }
section.block.alt { background: var(--offwhite); }
section.block.tight { padding: 34px 0; }
section.block h2, section.block h1 { text-align: left; }
.center { text-align: center; }
.center h1, .center h2, .center p.lede { text-align: center; }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; margin-top: 1.6rem; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; margin-top: 1.6rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 1.6rem; }
@media (max-width: 800px) {
  .grid-3, .grid-2, .grid-4 { grid-template-columns: 1fr; }
}

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 26px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.card h3 { margin-top: 0; }
.card .icon-wrap { margin-bottom: 14px; }

/* Icon circles for feature cards */
.icon-circle {
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--navy-tint);
  display: flex;
  align-items: center;
  justify-content: center;
}
.icon-circle svg { width: 24px; height: 24px; stroke: var(--navy); fill: none; }
.icon-circle.brass { background: var(--brass-tint); }
.icon-circle.brass svg { stroke: var(--brass-dark); }

.pill-list { display: flex; flex-wrap: wrap; gap: 10px; margin: 1.5rem 0; padding: 0; list-style: none; }
.pill-list li {
  background: var(--white);
  border: 1px solid var(--border);
  padding: 9px 18px;
  border-radius: 20px;
  font-size: 0.92rem;
  margin: 0;
  box-shadow: var(--shadow-sm);
}

/* Numbered step cards */
.step-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 24px;
  box-shadow: var(--shadow-sm);
  position: relative;
}
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  font-family: 'Cinzel', Georgia, serif;
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 12px;
}

/* ---------- Image placeholders ---------- */
.img-placeholder {
  background: linear-gradient(135deg, var(--navy-tint) 0%, var(--offwhite) 100%);
  border: 1.5px dashed #b9c6cd;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  text-align: center;
  gap: 8px;
  padding: 20px;
}
.img-placeholder svg { width: 34px; height: 34px; stroke: var(--navy); opacity: 0.55; }
.img-placeholder span { font-size: 0.78rem; letter-spacing: 0.04em; text-transform: uppercase; font-weight: 700; color: var(--navy); opacity: 0.6; }
.img-placeholder.hero-photo { height: 340px; margin-top: 2.5rem; border-radius: 14px; }
.img-placeholder.card-photo { height: 160px; margin-bottom: 16px; border-radius: 8px; }
.img-placeholder.portrait { width: 100%; height: 220px; border-radius: 10px 10px 0 0; margin-bottom: 0; }

.avatar-mono {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Cinzel', Georgia, serif;
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: 0.03em;
  box-shadow: var(--shadow-sm);
  border: 2px solid var(--brass);
  flex-shrink: 0;
}
.physician-header { display: flex; align-items: center; gap: 18px; margin-bottom: 4px; }
.physician-header h3 { margin: 0; }
.physician-header .cred { color: var(--brass-dark); font-size: 0.85rem; font-weight: 700; letter-spacing: 0.03em; text-transform: uppercase; }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%);
  color: var(--white);
  padding: 52px 0;
  text-align: center;
  position: relative;
}
.cta-band h2 { color: var(--white); }
.cta-band h2::after { background: var(--brass); left: 50%; transform: translateX(-50%); }
.cta-band .btn-primary { background: var(--white); color: var(--navy); border-color: var(--white); }
.cta-band .btn-primary:hover { background: var(--brass-tint); }
.cta-band .btn-secondary { color: var(--white); border-color: var(--white); }
.cta-band .btn-secondary:hover { background: var(--white); color: var(--navy); }

.breadcrumb { font-size: 0.85rem; color: var(--muted); margin-bottom: 1rem; }
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--brass-tint);
  border: 1px solid #e3cf9f;
  color: var(--brass-dark);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 20px;
  margin-bottom: 1.1rem;
}
.badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--brass-dark); }

.compliance-note {
  background: #fbf3e6;
  border: 1px solid #e3cf9f;
  border-left: 4px solid var(--brass);
  border-radius: 6px;
  padding: 16px 20px;
  font-size: 0.88rem;
  color: #6b5325;
  margin-top: 2rem;
}

/* ---------- Footer ---------- */
footer.site-footer {
  background: var(--navy-dark);
  color: #b9c8cf;
  padding: 52px 0 24px;
  margin-top: 0;
  border-top: 3px solid var(--brass);
}
footer.site-footer a { color: #e8edf0; text-decoration: none; }
footer.site-footer a:hover { color: var(--brass-tint); text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; }
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
.footer-grid h4 {
  color: #ffffff;
  font-family: 'Raleway', Arial, sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: 9px; font-size: 0.92rem; }
.footer-bottom {
  border-top: 1px solid #274a5f;
  margin-top: 34px;
  padding-top: 20px;
  font-size: 0.8rem;
  color: #7f939d;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

/* ---------- Forms ---------- */
.form-embed {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 30px;
  margin-top: 1.5rem;
  box-shadow: var(--shadow-md);
}
.form-embed label { display: block; font-weight: 700; font-size: 0.84rem; margin: 14px 0 6px; color: var(--navy); }
.form-embed input, .form-embed select, .form-embed textarea {
  width: 100%;
  padding: 11px 13px;
  border: 1px solid var(--border);
  border-radius: 5px;
  font-family: inherit;
  font-size: 0.95rem;
  background: var(--offwhite);
  transition: border-color 0.15s ease, background 0.15s ease;
}
.form-embed input:focus, .form-embed select:focus, .form-embed textarea:focus {
  outline: none;
  border-color: var(--brass);
  background: var(--white);
}
.form-embed textarea { min-height: 100px; }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  nav.primary-nav {
    display: none;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--offwhite);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    align-items: flex-start;
    padding: 18px 24px 24px;
    gap: 16px;
    box-shadow: var(--shadow-md);
  }
  nav.primary-nav.open { display: flex; }
  .nav-toggle { display: flex; }
  .header-cta .btn-secondary { display: none; }
  .hero h1 { font-size: 2rem; }
  h2 { font-size: 1.4rem; }
  .footer-grid { grid-template-columns: 1fr; }
}
