/* Blueprint Family Health landing pages - shared styles
   Mobile first. Colors and fonts follow bpfhealth.com and the approved ads. */

:root {
  --navy: #1f4e7e;
  --navy-deep: #183e65;
  --cream: #faf7f2;
  --cream-dark: #f1ebe1;
  --sage: #618184;
  --ink: #242e2e;
  --muted: #5a616a;
  --line: #dfd8cb;
  --white: #ffffff;
  --serif: 'Source Serif 4', Georgia, 'Times New Roman', serif;
  --sans: 'Work Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
  --radius: 14px;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--cream);
  padding-bottom: 76px; /* room for the sticky bar on phones */
}

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

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 500;
  color: var(--navy);
  line-height: 1.15;
  margin: 0 0 14px;
  letter-spacing: -0.01em;
}
h1 { font-size: 34px; }
h2 { font-size: 27px; }
h3 { font-size: 21px; }
p { margin: 0 0 14px; }

a { color: var(--navy); }

.wrap { max-width: 1040px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 720px; }

.eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--sage);
  margin: 0 0 12px;
}

/* Header */
.lp-header { background: var(--cream); border-bottom: 1px solid var(--line); }
.lp-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 12px; padding-bottom: 12px;
}
.lp-logo { width: 132px; height: auto; }
.header-phone {
  font-weight: 600; font-size: 15px; text-decoration: none; white-space: nowrap;
  padding: 10px 0 10px 10px;
}

/* Buttons */
.btn {
  display: block; width: 100%;
  background: var(--navy); color: var(--white);
  font-family: var(--sans); font-weight: 600; font-size: 17px; line-height: 1.3;
  text-align: center; text-decoration: none;
  padding: 16px 20px; border-radius: 999px;
  transition: background 0.15s ease;
}
.btn:hover, .btn:focus { background: var(--navy-deep); }
.btn-light { background: var(--cream); color: var(--navy); }
.btn-light:hover, .btn-light:focus { background: var(--white); }

.cta-block { margin-top: 22px; }
.cta-note { font-size: 14px; color: var(--muted); text-align: center; margin: 10px 0 0; }
.cta-phone { text-align: center; font-size: 15px; margin: 8px 0 0; }
.cta-phone a { font-weight: 600; }

/* Hero */
.hero { padding: 28px 0 36px; }
.hero-sub { font-size: 18px; color: var(--ink); margin-bottom: 0; }
.hero-photo { margin-top: 26px; }
.hero-photo img {
  width: 100%; aspect-ratio: 4 / 3; object-fit: cover;
  border-radius: var(--radius);
}
.price-tag {
  display: inline-block; background: var(--white); border: 1px solid var(--line);
  border-radius: 999px; padding: 5px 14px; font-size: 14px; font-weight: 600;
  color: var(--navy); margin: 0 6px 8px 0;
}
.tags { margin-top: 18px; }

/* Sections */
.section { padding: 40px 0; }
.section-white { background: var(--white); }
.section-navy { background: var(--navy); color: var(--cream); }
.section-navy h2, .section-navy h3 { color: var(--white); }
.section-navy .eyebrow { color: #c1d3dd; }
.section-navy a:not(.btn) { color: var(--white); }
.section-navy .cta-note { color: #c1d3dd; }
.section-intro { margin-bottom: 22px; }

/* Cards */
.cards { display: grid; gap: 16px; }
.card {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 22px 20px;
}
.section-white .card { background: var(--cream); }
.card h3 { margin-bottom: 4px; }
.card p:last-child, .card ul:last-child { margin-bottom: 0; }
.price { font-family: var(--serif); font-size: 30px; color: var(--navy); line-height: 1.1; margin: 6px 0 2px; }
.price small { font-family: var(--sans); font-size: 15px; color: var(--muted); font-weight: 500; }
.price-label { font-size: 14px; color: var(--muted); margin-bottom: 12px; }

/* Lists */
.checks { list-style: none; padding: 0; margin: 12px 0 14px; }
.checks li { position: relative; padding: 5px 0 5px 28px; }
.checks li::before {
  content: ''; position: absolute; left: 2px; top: 13px;
  width: 13px; height: 7px;
  border-left: 2px solid var(--sage); border-bottom: 2px solid var(--sage);
  transform: rotate(-45deg);
}
.section-navy .checks li::before { border-color: #c1d3dd; }

/* Steps */
.steps { list-style: none; padding: 0; margin: 0; counter-reset: step; display: grid; gap: 16px; }
.steps li {
  counter-increment: step; position: relative;
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 20px 20px 20px 66px;
}
.section-white .steps li { background: var(--cream); }
.steps li::before {
  content: counter(step, decimal-leading-zero);
  position: absolute; left: 20px; top: 20px;
  font-family: var(--serif); font-size: 24px; color: var(--sage); line-height: 1.2;
}
.steps h3 { margin-bottom: 4px; }
.steps p { margin: 0; }

/* Provider */
.provider { display: grid; gap: 20px; align-items: center; }
.provider img {
  width: 100%; max-width: 320px; aspect-ratio: 4 / 5; object-fit: cover; object-position: top;
  border-radius: var(--radius); margin: 0 auto;
}
.creds { font-size: 14px; color: var(--muted); margin-bottom: 12px; }

/* Quote */
.quote { margin: 0; text-align: center; }
.quote p {
  font-family: var(--serif); font-style: italic; font-size: 21px; line-height: 1.45;
  color: var(--navy); margin: 0;
}
.quote footer { font-size: 13px; color: var(--muted); margin-top: 12px; }

/* FAQ */
.faq-item { border-top: 1px solid var(--line); padding: 18px 0; }
.faq-item:last-child { border-bottom: 1px solid var(--line); }
.faq-item h3 { font-size: 19px; margin-bottom: 6px; }
.faq-item p { margin: 0; }

.fineprint { font-size: 14px; color: var(--muted); }

/* Footer */
.lp-footer { background: var(--cream-dark); padding: 28px 0 32px; font-size: 14px; color: var(--muted); text-align: center; }
.lp-footer img { width: 120px; margin: 0 auto 12px; }
.lp-footer p { margin: 0 0 4px; }
.lp-footer a { color: var(--navy); }

/* Sticky bar (phones) */
.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
  display: flex; gap: 10px; align-items: center;
  background: var(--cream); border-top: 1px solid var(--line);
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  box-shadow: 0 -4px 16px rgba(36, 46, 46, 0.08);
}
.sticky-cta .btn { padding: 13px 12px; font-size: 16px; }
.sticky-cta .call {
  flex: 0 0 auto; width: 50px; height: 50px; border-radius: 50%;
  border: 1.5px solid var(--navy); display: flex; align-items: center; justify-content: center;
}
.sticky-cta .call svg { width: 22px; height: 22px; fill: var(--navy); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Tablet and up */
@media (min-width: 760px) {
  body { font-size: 18px; padding-bottom: 0; }
  h1 { font-size: 50px; }
  h2 { font-size: 34px; }
  .lp-logo { width: 170px; }
  .header-phone { font-size: 17px; }
  .hero { padding: 56px 0 64px; }
  .hero .wrap { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 48px; align-items: center; }
  .hero-photo { margin-top: 0; }
  .hero-photo img { aspect-ratio: 1 / 1; }
  .hero-sub { font-size: 20px; }
  .btn { display: inline-block; width: auto; padding: 17px 34px; }
  .cta-note, .cta-phone { text-align: left; }
  .center .cta-note, .center .cta-phone { text-align: center; }
  .center { text-align: center; }
  .section { padding: 68px 0; }
  .cards.two { grid-template-columns: 1fr 1fr; }
  .cards.three { grid-template-columns: repeat(3, 1fr); }
  .steps.three { grid-template-columns: repeat(3, 1fr); }
  .provider { grid-template-columns: 300px 1fr; gap: 44px; }
  .quote p { font-size: 26px; }
  .sticky-cta { display: none; }
}

/* Lead form */
.lead-form { margin-top: 20px; max-width: 460px; }
.lead-form label { display: block; margin-bottom: 14px; font-weight: 600; font-size: 15px; color: var(--navy); }
.lead-form input[type="text"], .lead-form input[type="tel"], .lead-form input[type="email"], .lead-form select {
  display: block; width: 100%; margin-top: 6px; padding: 13px 12px; font: inherit; font-weight: 400; font-size: 16px;
  color: inherit; background: var(--white); border: 1px solid #c9c2b6; border-radius: 10px; box-sizing: border-box;
}
.lead-form input:focus, .lead-form select:focus { outline: 2px solid var(--navy); outline-offset: 1px; }
.lead-form button.btn { border: 0; cursor: pointer; width: 100%; font: inherit; font-weight: 600; margin-top: 4px; }
.lead-form .form-note { font-size: 13px; opacity: .8; margin-top: 12px; }
.lead-form .hp { position: absolute; left: -9999px; }
html { scroll-behavior: smooth; }
#book { scroll-margin-top: 12px; }
