/* Private Health Connected — reusable state-site stylesheet
   Palette from the Titan Legacy card: navy + gold + cream. */

@font-face {
  font-family: "Source Sans 3";
  src: url("../fonts/source-sans-3.woff2") format("woff2");
  font-weight: 200 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Source Sans 3";
  src: url("../fonts/source-sans-3-italic.woff2") format("woff2");
  font-weight: 200 900;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Cormorant Garamond";
  src: url("../fonts/cormorant-garamond.woff2") format("woff2");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Cormorant Garamond";
  src: url("../fonts/cormorant-garamond-italic.woff2") format("woff2");
  font-weight: 300 700;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Cinzel";
  src: url("../fonts/cinzel.woff2") format("woff2");
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --navy: #0f1e36;
  --navy-deep: #00142a;
  --navy-mid: #173152;
  --navy-soft: #243a58;
  --gold: #c4914f;
  --gold-bright: #d4a85e;
  --gold-deep: #8e6428;
  --cream: #f6f4f0;
  --cream-dark: #e7e0d2;
  --paper: #fffcf8;
  --ink: #0f1e36;
  --muted: #5b6573;
  --line: rgba(196, 145, 79, 0.4);
  --danger: #8a3b2b;
  --ok: #2c5a45;
  --shadow: 0 18px 50px rgba(15, 30, 54, 0.12);
  --radius: 16px;
  --max: 1140px;
  --sans: "Source Sans 3", "Segoe UI", Calibri, sans-serif;
  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --display: "Cinzel", "Cormorant Garamond", serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--sans);
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy-mid); text-underline-offset: 0.15em; }
a:hover { color: var(--gold-deep); }
h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.15;
  color: var(--navy);
  letter-spacing: -0.01em;
  margin: 0 0 0.6em;
}
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3vw, 2.35rem); }
h3 { font-size: 1.4rem; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1.1em; padding-left: 1.25em; }
li { margin: 0 0 0.35em; }
figure { margin: 0; }
address { font-style: normal; }

.skip-link {
  position: absolute; left: -999px; top: 0;
  background: var(--gold); color: var(--navy); padding: 0.5rem 1rem; z-index: 100;
}
.skip-link:focus { left: 0.5rem; top: 0.5rem; }

/* Header */
.site-header {
  background: var(--navy-deep);
  color: #fff;
  position: sticky; top: 0; z-index: 50;
  border-bottom: 3px solid var(--gold);
}
.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.7rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.brand {
  display: flex; align-items: center; gap: 0.75rem;
  text-decoration: none; color: #fff;
  min-width: 0;
}
.brand img { width: 52px; height: 52px; border-radius: 50%; background: #fff; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name {
  font-family: var(--display);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
}
.brand-tag {
  font-size: 0.72rem;
  color: var(--gold-bright);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: 0.2rem;
}
.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--gold);
  color: var(--gold-bright);
  padding: 0.4rem 0.7rem;
  font-family: var(--sans);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
}
.site-nav ul {
  display: flex; flex-wrap: wrap; gap: 0.15rem 1.05rem;
  list-style: none; margin: 0; padding: 0;
  align-items: center;
}
.site-nav a {
  color: #e8e4dc;
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
}
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--gold-bright); }
.site-nav .nav-cta {
  background: var(--gold);
  color: var(--navy-deep) !important;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  font-weight: 600;
}
.site-nav .nav-cta:hover { background: var(--gold-bright); }

/* Enrollment banner */
.enroll-banner {
  background: linear-gradient(90deg, #c4914f, #d4a85e);
  color: var(--navy-deep);
  text-align: center;
  padding: 0.55rem 1rem;
  font-size: 0.95rem;
  font-weight: 600;
}
.enroll-banner a { color: var(--navy-deep); }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 1.25rem; }

/* Hero */
.hero {
  background:
    radial-gradient(1200px 500px at 90% -10%, rgba(196,145,79,0.16), transparent 50%),
    linear-gradient(180deg, var(--navy-deep) 0%, var(--navy) 70%, #142846 100%);
  color: #f6f4f0;
  padding: 3.2rem 0 3.6rem;
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute; inset: auto 0 0 0; height: 4px;
  background: linear-gradient(90deg, var(--gold-deep), var(--gold-bright), var(--gold-deep));
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr;
  gap: 2.5rem;
  align-items: center;
}
.eyebrow {
  color: var(--gold-bright);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.78rem;
  font-weight: 600;
  margin-bottom: 0.7rem;
}
.hero h1 { color: #fff; margin-bottom: 0.6rem; }
.hero .lede {
  font-size: 1.18rem;
  color: #d9d3c7;
  max-width: 38rem;
}
.hero .cite a, .section-navy a { color: var(--gold-bright); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin: 1.4rem 0 0.6rem; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0.75rem 1.25rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  font-family: var(--sans);
  font-size: 1rem;
}
.btn-gold { background: var(--gold); color: var(--navy-deep); }
.btn-gold:hover { background: var(--gold-bright); color: var(--navy-deep); }
.btn-ghost { background: transparent; color: #fff; border-color: var(--gold); }
.btn-ghost:hover { background: rgba(196,145,79,0.15); color: #fff; }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-mid); color: #fff; }
.fine { font-size: 0.88rem; color: #b9b3a8; }

/* Sections */
.section { padding: 3.4rem 0; }
.section-alt { background: var(--paper); }
.section-navy { background: var(--navy); color: #e8e4dc; }
.section-navy h2, .section-navy h3 { color: #fff; }
.kicker {
  color: var(--gold-deep);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.75rem;
  font-weight: 700;
  margin-bottom: 0.45rem;
}
.section-navy .kicker { color: var(--gold-bright); }
.lede-center { text-align: center; max-width: 40rem; margin: 0 auto 2rem; }

/* Cards / grids */
.cards-3, .cards-2, .cards-4 {
  display: grid;
  gap: 1.25rem;
}
.cards-3 { grid-template-columns: repeat(3, 1fr); }
.cards-2 { grid-template-columns: repeat(2, 1fr); }
.cards-4 { grid-template-columns: repeat(4, 1fr); }
.card, .info-card {
  background: var(--paper);
  border: 1px solid var(--cream-dark);
  border-radius: var(--radius);
  padding: 1.4rem 1.35rem 1.25rem;
  box-shadow: 0 8px 24px rgba(15,30,54,0.04);
}
.info-card h3 { margin-bottom: 0.4rem; }
.info-card .num {
  font-family: var(--display);
  color: var(--gold-deep);
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  margin-bottom: 0.5rem;
}
.card-link { text-decoration: none; color: inherit; display: block; height: 100%; }
.card-link:hover { border-color: var(--gold); color: inherit; }

/* Tables */
.table-wrap { overflow-x: auto; margin: 1.2rem 0 1.6rem; }
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.98rem;
  background: var(--paper);
}
th, td {
  text-align: left;
  padding: 0.7rem 0.8rem;
  border-bottom: 1px solid var(--cream-dark);
  vertical-align: top;
}
th {
  background: var(--navy);
  color: #fff;
  font-weight: 600;
  font-size: 0.88rem;
  letter-spacing: 0.03em;
}
tr:nth-child(even) td { background: #fbf8f2; }
caption {
  text-align: left;
  font-size: 0.85rem;
  color: var(--muted);
  padding: 0.4rem 0 0.6rem;
  caption-side: bottom;
}

/* Callouts */
.callout {
  border-left: 4px solid var(--gold);
  background: #fff;
  padding: 1rem 1.15rem;
  margin: 1.2rem 0;
  border-radius: 0 12px 12px 0;
}
.callout strong { color: var(--navy); }
.source, .cite {
  font-size: 0.86rem;
  color: var(--muted);
}
.placeholder {
  border: 1.5px dashed var(--gold-deep);
  background: #fff8e8;
  padding: 0.85rem 1rem;
  border-radius: 10px;
  margin: 1rem 0;
}
.placeholder-label {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 0.3rem;
}

/* FAQ */
.faq details {
  background: var(--paper);
  border: 1px solid var(--cream-dark);
  border-radius: 12px;
  padding: 0.7rem 1rem;
  margin: 0 0 0.65rem;
}
.faq summary {
  font-weight: 650;
  cursor: pointer;
  color: var(--navy);
}
.faq details p { margin: 0.7rem 0 0.3rem; }

/* Forms */
form { display: grid; gap: 0.85rem; }
label { font-weight: 600; font-size: 0.92rem; display: block; margin-bottom: 0.25rem; }
input, select, textarea {
  width: 100%;
  padding: 0.65rem 0.75rem;
  border: 1px solid #cfc6b6;
  border-radius: 8px;
  font: inherit;
  background: #fff;
}
textarea { min-height: 8rem; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.85rem; }
.form-note { font-size: 0.88rem; color: var(--muted); }
.form-success, .form-error {
  display: none;
  padding: 0.9rem 1rem;
  border-radius: 10px;
}
.form-success { background: #e7f3ec; color: var(--ok); }
.form-error { background: #f8ece8; color: var(--danger); }
.form-success.is-visible, .form-error.is-visible { display: block; }

/* LeadConnector / GoHighLevel booking calendar */
.booking-embed {
  width: 100%;
  margin: 1rem 0;
  background: #fff;
  border: 1px solid var(--cream-dark);
  border-radius: 12px;
  overflow: hidden;
}
.booking-embed iframe {
  display: block;
  width: 100%;
  height: 900px;
  border: 0;
  background: #fff;
}
.booking-fallback {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem 1.2rem;
  margin: 1rem 0 0;
}


/* Agent card — merged Titan + Chidel Family card */
.agent-card {
  display: grid;
  grid-template-columns: 1fr 230px;
  background: linear-gradient(180deg, #fffcf8 0%, #f3efe7 100%);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid rgba(196,145,79,0.35);
  position: relative;
  color: var(--navy);
  text-align: left;
}
.agent-card::before {
  content: "";
  position: absolute; left: 0; right: 230px; bottom: 0;
  height: 38px;
  background: var(--navy-deep);
}
.agent-card-body {
  padding: 1.25rem 1.4rem 2.7rem 1.4rem;
  position: relative;
  z-index: 1;
}
.agent-card-top {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 0.85rem;
}
.agent-card-top img.logo {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: #fff;
}
.agent-card-brand {
  font-family: var(--display);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 0.72rem;
  color: var(--navy);
  line-height: 1.35;
}
.agent-card-brand span {
  display: block;
  color: var(--gold-deep);
  letter-spacing: 0.16em;
  font-size: 0.62rem;
  margin-top: 0.15rem;
}
.agent-card h2, .agent-card .agent-name {
  font-family: var(--serif);
  font-size: 2rem;
  margin: 0 0 0.15rem;
  color: var(--navy-deep);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 600;
}
.agent-titles {
  color: var(--gold-deep);
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: 0.04em;
  margin-bottom: 0.7rem;
  line-height: 1.45;
}
.agent-meta, .agent-meta a {
  color: var(--navy);
  text-decoration: none;
  font-size: 0.95rem;
}
.agent-meta a:hover { color: var(--gold-deep); }
.agent-meta li { list-style: none; }
.agent-meta { list-style: none; margin: 0; padding: 0; }
.agent-meta li {
  display: flex; gap: 0.5rem; align-items: baseline;
  margin: 0 0 0.22rem;
}
.agent-meta .lbl {
  color: var(--gold-deep);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 700;
  min-width: 3.6rem;
}
.agent-card-photo {
  background: var(--navy-deep);
  position: relative;
  min-height: 100%;
  overflow: hidden;
}
.agent-card-photo::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 14px;
  background: linear-gradient(90deg, transparent, transparent);
  border-left: 3px solid var(--gold);
  border-radius: 0;
  z-index: 1;
}
.agent-card-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 15%;
  min-height: 320px;
}
.agent-card-motto {
  position: absolute;
  left: 1.4rem;
  bottom: 0.55rem;
  z-index: 2;
  color: var(--gold-bright);
  font-family: var(--display);
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.agent-card-scope {
  margin: 0.65rem 0 0;
  font-size: 0.82rem;
  color: var(--navy);
  line-height: 1.35;
}

/* Compact footer card */
.agent-card.compact {
  grid-template-columns: 88px 1fr;
  border-radius: 12px;
  box-shadow: none;
  background: #13253f;
  color: #f6f4f0;
  border: 1px solid rgba(196,145,79,0.35);
}
.agent-card.compact::before { display: none; }
.agent-card.compact .agent-card-photo { background: var(--navy-deep); }
.agent-card.compact .agent-card-photo::before { display: none; }
.agent-card.compact .agent-card-photo img {
  min-height: 0;
  height: 100%;
  object-position: center 18%;
}
.agent-card.compact .agent-card-body { padding: 0.75rem 1rem 0.8rem; }
.agent-card.compact .agent-card-top { display: none; }
.agent-card.compact .agent-name {
  font-size: 1.15rem;
  color: #fff;
  letter-spacing: 0.06em;
}
.agent-card.compact .agent-titles {
  color: var(--gold-bright);
  font-size: 0.8rem;
  margin-bottom: 0.35rem;
}
.agent-card.compact .agent-meta,
.agent-card.compact .agent-meta a { color: #e8e4dc; font-size: 0.85rem; }
.agent-card.compact .lbl { color: var(--gold-bright); min-width: 2.8rem; }
.agent-card.compact .agent-card-motto { display: none; }
.agent-card.compact .agent-card-scope { color: #e8e4dc; font-size: 0.75rem; margin: 0.4rem 0 0; }
.agent-card.compact .agent-meta { display: flex; flex-wrap: wrap; gap: 0.15rem 1rem; }
.agent-card.compact .agent-meta li { margin: 0; }

/* Footer */
.site-footer {
  background: var(--navy-deep);
  color: #c9c4ba;
  padding: 2.5rem 0 1.5rem;
  border-top: 3px solid var(--gold);
  font-size: 0.92rem;
}
.site-footer h2, .site-footer h3 { color: #fff; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1.2fr;
  gap: 1.5rem;
  margin-bottom: 1.75rem;
}
.footer-nav { list-style: none; margin: 0; padding: 0; }
.footer-nav a { color: #e8e4dc; text-decoration: none; }
.footer-nav a:hover { color: var(--gold-bright); }
.disclaimers {
  border-top: 1px solid rgba(196,145,79,0.25);
  padding-top: 1.1rem;
  font-size: 0.8rem;
  color: #9aa0a8;
  line-height: 1.5;
}
.disclaimers p { margin: 0 0 0.6rem; }
.legal-links { display: flex; flex-wrap: wrap; gap: 0.8rem 1.2rem; margin: 0.8rem 0; }
.legal-links a { color: var(--gold-bright); }

/* Page hero (interior) */
.page-hero {
  background: var(--navy);
  color: #fff;
  padding: 2.2rem 0 2rem;
  border-bottom: 3px solid var(--gold);
}
.page-hero h1 { color: #fff; }
.page-hero p { color: #d9d3c7; max-width: 42rem; margin: 0; }
.crumbs { font-size: 0.85rem; color: #b9b3a8; margin-bottom: 0.6rem; }
.crumbs a { color: var(--gold-bright); text-decoration: none; }

.prose { max-width: 46rem; }
.prose-wide { max-width: 52rem; }
.split {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2rem;
  align-items: start;
}
.sticky-aside { position: sticky; top: 6rem; }

.stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.stat {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(196,145,79,0.3);
  border-radius: 14px;
  padding: 1.1rem 1rem;
}
.stat b {
  display: block;
  font-family: var(--sans);
  font-variant-numeric: lining-nums tabular-nums;
  font-size: 1.85rem;
  letter-spacing: 0;
  color: var(--gold-bright);
  font-weight: 650;
}
.stat span { color: #c9c4ba; font-size: 0.9rem; }

.ol-steps { counter-reset: step; list-style: none; padding: 0; }
.ol-steps li {
  counter-increment: step;
  padding: 0.9rem 0 0.9rem 3.2rem;
  position: relative;
  border-bottom: 1px solid var(--cream-dark);
}
.ol-steps li::before {
  content: counter(step, decimal-leading-zero);
  position: absolute; left: 0; top: 0.9rem;
  font-family: var(--display);
  color: var(--gold-deep);
  font-weight: 600;
}

/* Utilities */
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); border: 0;
}
.gold-rule {
  width: 64px; height: 2px; background: var(--gold); margin: 0 0 1rem;
}

@media (max-width: 900px) {
  .hero-grid, .cards-3, .cards-4, .footer-grid, .split, .stat-row, .form-row {
    grid-template-columns: 1fr;
  }
  .cards-2 { grid-template-columns: 1fr; }
  .nav-toggle { display: inline-block; }
  .site-nav {
    display: none;
    position: absolute;
    left: 0; right: 0; top: 100%;
    background: var(--navy-deep);
    border-bottom: 2px solid var(--gold);
    padding: 0.5rem 1.25rem 1rem;
  }
  .site-nav.is-open { display: block; }
  .site-nav ul { flex-direction: column; align-items: flex-start; gap: 0.65rem; }
  .agent-card { grid-template-columns: 1fr; }
  .agent-card::before { right: 0; }
  .agent-card-photo { height: 300px; min-height: 0; }
  .agent-card-photo img { min-height: 300px; height: 300px; max-height: 300px; object-position: center 18%; }
  .agent-card.compact { grid-template-columns: 76px 1fr; }
  .agent-card.compact .agent-card-photo { height: auto; }
  .agent-card.compact .agent-card-photo img { min-height: 0; height: 100%; max-height: none; }
  .header-inner { position: relative; }
}

@media (max-width: 520px) {
  .brand-name { font-size: 0.66rem; letter-spacing: 0.08em; }
  .hero { padding: 2.2rem 0 2.4rem; }
  .section { padding: 2.3rem 0; }
  .agent-card.compact .agent-meta { flex-direction: column; gap: 0.1rem; }
}

/* Carriers and broker messaging */
.carrier-list {
  list-style: none;
  padding: 0;
  margin: 1.2rem 0 1.8rem;
  display: grid;
  gap: 0.85rem;
}
.carrier-list > li {
  background: var(--paper);
  border: 1px solid var(--cream-dark);
  border-radius: 12px;
  padding: 0.9rem 1.1rem;
}
.carrier-brand {
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--navy);
  margin: 0 0 0.35rem;
}
.carrier-entities {
  margin: 0;
  padding-left: 1.15rem;
  color: var(--muted);
  font-size: 0.95rem;
}
.private-carrier-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0 1.4rem;
}
.private-carrier-list li {
  padding: 0.55rem 0;
  border-bottom: 1px solid var(--cream-dark);
}
.network-tag {
  display: inline-block;
  margin-left: 0.5rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold-deep);
  border: 1px solid var(--gold);
  border-radius: 999px;
  padding: 0.15rem 0.55rem;
  vertical-align: middle;
}
.carrier-note { color: var(--muted); font-size: 0.92rem; margin-left: 0.35rem; }
.section-alt .btn-ghost {
  color: var(--navy);
  border-color: var(--navy);
}
.section-alt .btn-ghost:hover {
  color: var(--navy);
  background: rgba(15, 30, 54, 0.06);
}
.btn-row { display: flex; flex-wrap: wrap; gap: 0.65rem; align-items: center; }


.consent-disclosure {
  font-size: 0.9rem;
  line-height: 1.45;
  color: var(--ink);
  background: #f6f3eb;
  border: 1px solid #d9d0bf;
  padding: 0.9rem 1rem;
  margin: 0 0 1rem;
  border-radius: 4px;
}
.consent-disclosure a { text-decoration: underline; }
.legal-links a + a { margin-left: 1rem; }
