/* CertifiedPO shared styles - dark Montserrat lettering brand. No Bootstrap. */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: Montserrat, "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: #f4f1ea;
  background: #0c0d0e;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ---- Header / brand / nav ---- */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 48px;
  gap: 24px;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.brand {
  display: flex;
  flex-direction: column;
  gap: 2px;
  text-decoration: none;
  color: #fff;
}
.brand-name {
  font-weight: 700;
  font-size: 15px;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.brand-sub {
  font-weight: 400;
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  opacity: .72;
}
nav.site-nav { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
nav.site-nav a {
  color: rgba(255,255,255,.82);
  text-decoration: none;
  font-size: 12px;
  letter-spacing: .16em;
  text-transform: uppercase;
}
nav.site-nav a:hover { color: #fff; }
nav.site-nav a.is-active {
  color: #fff;
  border-bottom: 1px solid rgba(201,183,154,.7);
  padding-bottom: 2px;
}
.phone {
  color: #fff;
  text-decoration: none;
  font-size: 13px;
  letter-spacing: .04em;
  border-bottom: 1px solid rgba(255,255,255,.55);
  padding-bottom: 2px;
  text-transform: none;
  font-weight: 600;
}
.phone:hover { color: #f0e6d4; border-bottom-color: #f0e6d4; }

/* ---- Page hero band ---- */
.page-hero {
  padding: 64px 48px 48px;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.page-hero .kicker {
  font-size: 11px;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: #c9b79a;
  margin-bottom: 18px;
}
.page-hero h1 {
  font-size: clamp(32px, 5vw, 48px);
  line-height: 1.08;
  font-weight: 700;
  letter-spacing: -.02em;
  margin-bottom: 16px;
}
.page-hero .lede {
  font-size: 17px;
  line-height: 1.55;
  max-width: 36em;
  color: rgba(244,241,234,.86);
}

/* ---- Main / prose ---- */
main {
  flex: 1;
  padding: 56px 48px 72px;
  max-width: 920px;
  width: 100%;
}
.prose h2 {
  font-size: 13px;
  letter-spacing: .28em;
  text-transform: uppercase;
  font-weight: 400;
  color: #c9b79a;
  margin: 40px 0 18px;
}
.prose h2:first-child { margin-top: 0; }
.prose h3 {
  font-size: 22px;
  font-weight: 700;
  margin: 28px 0 12px;
  letter-spacing: -.01em;
}
.prose p {
  font-size: 16px;
  line-height: 1.6;
  color: rgba(236,232,225,.82);
  margin-bottom: 16px;
  max-width: 40em;
}
.prose ul {
  margin: 0 0 20px 1.2em;
  max-width: 40em;
}
.prose li {
  font-size: 15px;
  line-height: 1.55;
  color: rgba(236,232,225,.78);
  margin-bottom: 8px;
}
.prose a {
  color: #e8dcc8;
  text-decoration: none;
  border-bottom: 1px solid rgba(232,220,200,.55);
}
.prose a:hover { color: #fff; border-bottom-color: rgba(255,255,255,.7); }

/* Phone / email / maps — max visibility on dark */
.prose a[href^="tel:"],
.prose a[href^="mailto:"],
.answer-box a[href^="tel:"],
.answer-box a[href^="mailto:"],
.faq a[href^="tel:"],
.faq a[href^="mailto:"],
.note a[href^="tel:"],
.note a[href^="mailto:"] {
  color: #fff;
  font-weight: 600;
  border-bottom: 1px solid rgba(255,255,255,.55);
}
.prose a[href^="tel:"]:hover,
.prose a[href^="mailto:"]:hover,
.answer-box a[href^="tel:"]:hover,
.answer-box a[href^="mailto:"]:hover,
.faq a[href^="tel:"]:hover,
.faq a[href^="mailto:"]:hover,
.note a[href^="tel:"]:hover,
.note a[href^="mailto:"]:hover {
  color: #f0e6d4;
  border-bottom-color: #f0e6d4;
}

/* ---- Cards / grids ---- */
.card-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px 36px;
  margin: 28px 0 40px;
}
.card {
  background: #111214;
  border: 1px solid rgba(255,255,255,.06);
  padding: 28px 26px;
}
.card h3 {
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 10px;
  color: #fff;
}
.card p {
  font-size: 14px;
  line-height: 1.55;
  color: rgba(236,232,225,.72);
  margin: 0;
  max-width: none;
}
.card a {
  color: #e8dcc8;
  text-decoration: none;
  border-bottom: 1px solid rgba(232,220,200,.5);
  font-size: 13px;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.card a:hover { color: #fff; border-bottom-color: rgba(255,255,255,.7); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px 56px;
  margin: 32px 0 48px;
}
.contact-block h3 {
  font-size: 13px;
  letter-spacing: .2em;
  text-transform: uppercase;
  font-weight: 400;
  color: #c9b79a;
  margin: 0 0 14px;
}
.contact-block p {
  font-size: 16px;
  line-height: 1.55;
  color: rgba(236,232,225,.82);
  margin-bottom: 10px;
}
.contact-block a.big-link {
  display: inline-block;
  color: #fff;
  font-size: 22px;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,.55);
  margin-bottom: 12px;
}
.contact-block a.big-link:hover { color: #f0e6d4; border-bottom-color: #f0e6d4; }

.note {
  background: #111214;
  border-left: 2px solid #c9b79a;
  padding: 20px 22px;
  margin: 28px 0;
  max-width: 40em;
}
.note p {
  font-size: 15px;
  line-height: 1.55;
  color: rgba(236,232,225,.8);
  margin: 0;
}

/* ---- Buttons / actions ---- */
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 18px;
  align-items: center;
  margin: 28px 0 8px;
}
.btn {
  display: inline-block;
  background: #fff;
  color: #0c0d0e;
  text-decoration: none;
  font-size: 12px;
  letter-spacing: .18em;
  text-transform: uppercase;
  padding: 14px 22px;
  font-weight: 700;
  border: none;
  border-bottom: none;
}
.btn:hover { background: #e8dcc8; color: #0c0d0e; }
.btn-ghost {
  display: inline-block;
  background: transparent;
  color: #fff;
  border-bottom: 1px solid rgba(255,255,255,.55);
  padding: 14px 0;
  letter-spacing: .14em;
  text-decoration: none;
  font-size: 12px;
  text-transform: uppercase;
  font-weight: 600;
}
.btn-ghost:hover { color: #f0e6d4; border-bottom-color: #f0e6d4; }

/* .prose a is gold — must not paint white buttons gold (low contrast) */
.prose a.btn,
.prose a.btn:hover,
.actions a.btn,
.actions a.btn:hover,
main a.btn,
main a.btn:hover {
  color: #0c0d0e !important;
  border-bottom: none;
  text-decoration: none;
}
.prose a.btn-ghost,
.actions a.btn-ghost,
main a.btn-ghost {
  color: #fff !important;
  border-bottom: 1px solid rgba(255,255,255,.55);
  text-decoration: none;
}
.prose a.btn-ghost:hover,
.actions a.btn-ghost:hover,
main a.btn-ghost:hover {
  color: #f0e6d4 !important;
  border-bottom-color: #f0e6d4;
}


/* ---- Patient vs refer path split ---- */
.path-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 28px 0 36px;
  max-width: 920px;
}
.path-card {
  background: #111214;
  border: 1px solid rgba(255,255,255,.08);
  padding: 28px 26px;
}
.path-card.is-emphasis {
  border-color: rgba(201,183,154,.45);
  box-shadow: inset 0 0 0 1px rgba(201,183,154,.12);
}
.path-label {
  font-size: 11px;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: #c9b79a;
  margin: 0 0 12px;
}
.path-card h3 {
  font-size: 22px;
  font-weight: 700;
  margin: 0 0 10px;
  color: #fff;
  letter-spacing: -.01em;
}
.path-card > p {
  font-size: 14px;
  line-height: 1.55;
  color: rgba(236,232,225,.72);
  margin: 0;
  max-width: none;
}
.path-card .actions { margin-bottom: 0; }
.path-card a.btn,
.path-card a.btn:hover {
  color: #0c0d0e !important;
  border-bottom: none;
  text-decoration: none;
}
.path-card a.btn-ghost,
.path-card a.btn-ghost:hover {
  color: #fff !important;
  text-decoration: none;
}
@media (max-width: 800px) {
  .path-split { grid-template-columns: 1fr; }
}
/* ---- Visit footer ---- */
.visit {
  background: #0c0d0e;
  padding: 88px 48px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 48px;
  border-top: 1px solid rgba(255,255,255,.08);
}
.visit h2 {
  font-size: 36px;
  font-weight: 700;
  letter-spacing: -.02em;
  margin-bottom: 14px;
}
.visit p {
  font-size: 16px;
  line-height: 1.5;
  color: rgba(236,232,225,.7);
}
.visit a.phone-lg,
.visit a.email-link {
  color: #fff;
  font-size: 24px;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,.55);
}
.visit a.phone-lg:hover,
.visit a.email-link:hover { color: #f0e6d4; border-bottom-color: #f0e6d4; }
.legal {
  padding: 20px 48px 28px;
  font-size: 11px;
  color: rgba(236,232,225,.4);
}

/* ---- Bring list (first visit) ---- */
.bring-list {
  list-style: none;
  margin: 20px 0 32px;
  max-width: 40em;
}
.bring-list li {
  font-size: 15px;
  line-height: 1.55;
  color: rgba(236,232,225,.82);
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,.06);
  display: flex;
  gap: 14px;
}
.bring-list .mark {
  color: #c9b79a;
  font-weight: 700;
  letter-spacing: .08em;
  flex-shrink: 0;
}

/* ---- Responsive ---- */
@media (max-width: 800px) {
  .site-header, .page-hero, main, .visit, .legal {
    padding-left: 24px;
    padding-right: 24px;
  }
  .site-header { flex-wrap: wrap; padding-top: 20px; padding-bottom: 20px; }
  nav.site-nav { gap: 14px 16px; }
  .card-grid, .contact-grid { grid-template-columns: 1fr; gap: 20px; }
  .visit { flex-direction: column; align-items: flex-start; padding-top: 56px; padding-bottom: 56px; }
  .visit h2 { font-size: 28px; }
  .visit a.phone-lg, .visit a.email-link { font-size: 20px; }
  .page-hero { padding-top: 40px; padding-bottom: 36px; }
  main { padding-top: 40px; padding-bottom: 48px; }
}


/* ---- Team headshots ---- */
.team-grid { gap: 28px; }
.team-card { overflow: hidden; padding: 22px 20px; }
.team-card.has-photo { padding: 0; }
.team-card .team-photo {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center top;
  background: #1a1b1d;
}
.team-card.has-photo h3 {
  margin-top: 18px;
  padding: 0 20px;
}
.team-card.has-photo p {
  padding: 0 20px 22px;
}



/* ---- GEO / answer + FAQ ---- */
.answer-box {
  margin: 0 0 28px;
  padding: 20px 22px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.04);
}
.answer-box p { margin: 0; color: rgba(244,241,234,.92); }
.faq { margin: 28px 0; }
.faq details {
  border-top: 1px solid rgba(255,255,255,.12);
  padding: 14px 0;
}
.faq details:last-child { border-bottom: 1px solid rgba(255,255,255,.12); }
.faq summary {
  cursor: pointer;
  color: #fff;
  font-weight: 700;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq details p { margin: 10px 0 0; }
.crumbs {
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
  opacity: .65;
  margin-bottom: 18px;
}
.crumbs a { color: inherit; text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.25); }


.map-link {
  color: #fff;
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,.45);
  font-weight: 600;
}
.map-link:hover { color: #f0e6d4; border-bottom-color: #f0e6d4; }


/* ---- Premier polish: a11y, sticky mobile, forms, trust ---- */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 10000;
  background: #fff;
  color: #0c0d0e;
  padding: 12px 18px;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: .06em;
  text-transform: uppercase;
  font-size: 12px;
}
.skip-link:focus {
  left: 16px;
  top: 16px;
}
:focus-visible {
  outline: 2px solid #e8dcc8;
  outline-offset: 3px;
}
a:focus:not(:focus-visible) { outline: none; }

#main-content { scroll-margin-top: 16px; }

.mobile-cta {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9000;
  background: rgba(12,13,14,.96);
  border-top: 1px solid rgba(255,255,255,.12);
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  gap: 10px;
}
.mobile-cta a {
  flex: 1;
  text-align: center;
  text-decoration: none;
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-weight: 700;
  padding: 14px 10px;
  border-bottom: none;
}
.mobile-cta a.call {
  background: #fff;
  color: #0c0d0e !important;
}
.mobile-cta a.email {
  background: transparent;
  color: #fff !important;
  border: 1px solid rgba(255,255,255,.45);
}
@media (max-width: 800px) {
  .mobile-cta { display: flex; }
  body { padding-bottom: 78px; }
  .phone { display: none; } /* header phone; bar replaces on small screens */
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  margin: 8px 0 28px;
}
.trust-pill {
  display: inline-block;
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #f0e6d4;
  border: 1px solid rgba(232,220,200,.35);
  padding: 8px 12px;
  border-radius: 999px;
}

.bio {
  font-size: 14px;
  line-height: 1.55;
  color: rgba(236,232,225,.78);
  margin-top: 8px;
}
.team-card.has-photo .bio { padding: 0 20px 22px; }
.team-card.has-photo p { padding-bottom: 0; }
.team-card.has-photo .bio + * { padding-bottom: 22px; }

.form-card {
  background: #111214;
  border: 1px solid rgba(255,255,255,.1);
  padding: 28px 26px;
  max-width: 40em;
  margin: 20px 0 32px;
}
.form-card label {
  display: block;
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #e8dcc8;
  margin: 0 0 8px;
}
.form-card .field { margin-bottom: 18px; }
.form-card input,
.form-card select,
.form-card textarea {
  width: 100%;
  background: #0c0d0e;
  color: #f4f1ea;
  border: 1px solid rgba(255,255,255,.18);
  padding: 12px 14px;
  font: inherit;
  font-size: 15px;
}
.form-card textarea { min-height: 120px; resize: vertical; }
.form-card input:focus,
.form-card select:focus,
.form-card textarea:focus {
  border-color: #e8dcc8;
  outline: none;
}
.form-card .hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }
.form-status {
  margin: 0 0 16px;
  padding: 12px 14px;
  border-left: 2px solid #c9b79a;
  background: rgba(255,255,255,.04);
}
.form-status.error { border-left-color: #c97a7a; }

.depth-list {
  list-style: none;
  margin: 18px 0 28px;
  max-width: 40em;
}
.depth-list li {
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,.08);
  color: rgba(236,232,225,.86);
  font-size: 15px;
  line-height: 1.5;
}
