/* brachialplexusinjurylawyer.com - Gulf Teal + Coral (Brand Color Study R3, Option 4) */
:root {
  --teal: #0B3C43; --teal-deep: #072A30;
  --coral: #FF6F61; --coral-press: #F05A4C;
  --ground: #F2F7F6; --card: #FFFFFF;
  --tide: #0B6E78; --tide-soft: #E1EEEF;
  --ink: #122A2E; --muted: #51686C; --line: #D8E3E2;
  --on-coral: #122A2E;
  --warn-soft: #F4EDDA; --warn-ink: #6E5518;
  --alert: #8C3A34; --alert-soft: #F6E6E4;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--ground); color: var(--ink);
  font-family: "Barlow", "Segoe UI", system-ui, sans-serif; font-size: 17px; line-height: 1.6; }
img, svg, video { max-width: 100%; height: auto; }
a { color: var(--tide); text-underline-offset: 2px; }
a:hover { color: var(--teal); }
.display, h1, h2, .cta-btn, button.primary { font-family: "Barlow Condensed", "Barlow", sans-serif; }

.site-header { background: var(--teal); }
.header-inner { max-width: 72rem; margin: 0 auto; padding: 0.8rem 1.25rem;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.wordmark { display: flex; align-items: center; gap: 0.65rem; text-decoration: none; color: #fff; }
.kb-badge { font-family: "Barlow Condensed", sans-serif; font-weight: 800; font-size: 1.05rem;
  letter-spacing: 0.02em; background: #fff; color: var(--teal); border-radius: 6px; padding: 0.28rem 0.5rem; line-height: 1; }
.wordmark .wm-name { font-family: "Barlow Condensed", sans-serif; font-weight: 700; font-size: 1.2rem;
  letter-spacing: 0.06em; text-transform: uppercase; line-height: 1.1; }
.wordmark small { display: block; font-family: "Barlow", sans-serif; font-weight: 400; font-size: 0.68rem;
  letter-spacing: 0.1em; text-transform: uppercase; color: #9FC0C2; }
.site-nav { display: flex; align-items: center; gap: 1.1rem; flex-wrap: wrap; }
.site-nav a { text-decoration: none; font-weight: 600; font-size: 0.92rem; color: #E8F1F0; }
.site-nav a:hover { color: #fff; }

.cta-btn { display: inline-block; background: var(--coral); color: var(--on-coral) !important;
  padding: 0.6rem 1.3rem; border-radius: 8px; text-decoration: none; font-weight: 700;
  font-size: 1.02rem; letter-spacing: 0.03em; text-transform: uppercase; }
.cta-btn:hover { background: var(--coral-press); }
.cta-btn.big { font-size: 1.15rem; padding: 0.85rem 1.7rem; }
.cta-btn.ghost { background: transparent; color: #fff !important; border: 2px solid rgba(255,255,255,0.55); }
.cta-btn.ghost:hover { border-color: #fff; background: rgba(255,255,255,0.08); }

.container { max-width: 72rem; margin: 0 auto; padding: 0 1.25rem; }
.prose { max-width: 44rem; }
main { padding-bottom: 3.5rem; }

.hero { background: var(--teal); color: #E8F1F0; padding: 3rem 0 3.2rem; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(17rem, 1fr); gap: 2.5rem; align-items: start; }
@media (max-width: 860px) { .hero-grid { grid-template-columns: 1fr; } }
.hero .kicker { font-size: 0.8rem; letter-spacing: 0.16em; text-transform: uppercase; color: #9FC0C2; font-weight: 600; margin: 0 0 1rem; }
.hero h1 { font-weight: 800; text-transform: uppercase; font-size: clamp(2.5rem, 6.5vw, 4rem);
  line-height: 0.98; letter-spacing: 0.005em; margin: 0 0 0.9rem; color: #FFFFFF; }
.hero h1 .rule { display: block; width: 4.5rem; height: 5px; background: var(--coral); margin-top: 0.9rem; }
.hero p.lead { font-size: 1.12rem; max-width: 36rem; margin: 0 0 1.5rem; color: #CBDCDC; }
.hero-actions { display: flex; gap: 0.8rem; flex-wrap: wrap; margin-bottom: 1.5rem; }
.proof-row { display: flex; gap: 1.6rem; flex-wrap: wrap; font-family: "Barlow Condensed", sans-serif;
  font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; font-size: 0.88rem; color: #9FC0C2; }
.proof-row strong { color: #fff; display: block; font-size: 1rem; }

.hero-card { background: var(--card); color: var(--ink); border-radius: 12px; padding: 1.4rem 1.5rem 1.5rem;
  box-shadow: 0 10px 30px rgba(0,0,0,0.25); }
.hero-card h2 { font-weight: 800; text-transform: uppercase; font-size: 1.35rem; margin: 0 0 0.2rem; color: var(--teal); }
.hero-card .sub { font-size: 0.92rem; color: var(--muted); margin: 0 0 0.9rem; }
.hero-card ul { margin: 0 0 1.1rem; padding-left: 1.2rem; font-size: 0.95rem; }
.hero-card li { margin-bottom: 0.35rem; }
.hero-card .cta-btn { display: block; text-align: center; }
.hero-card .fineprint { font-size: 0.78rem; color: var(--muted); margin: 0.7rem 0 0; text-align: center; }

.trust-bar { background: var(--teal-deep); color: #9FC0C2; font-family: "Barlow Condensed", sans-serif;
  font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; font-size: 0.85rem; }
.trust-bar .container { display: flex; gap: 1.8rem; flex-wrap: wrap; justify-content: center;
  padding-top: 0.7rem; padding-bottom: 0.7rem; }

.stat-band { background: var(--card); border-bottom: 1px solid var(--line); padding: 2.4rem 0 2.2rem; }
.stat-band h2 { margin: 0 0 1.4rem; }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(9rem, 1fr)); gap: 1.2rem; }
.stat .num { font-family: "Barlow Condensed", sans-serif; font-weight: 800; font-size: 2.4rem; line-height: 1; color: var(--teal); }
.stat .lbl { font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-top: 0.25rem; }

h2 { font-weight: 800; text-transform: uppercase; font-size: 1.6rem; letter-spacing: 0.01em;
  line-height: 1.1; color: var(--teal); margin: 2.6rem 0 0.8rem; }
h2::after { content: ""; display: block; width: 3rem; height: 4px; background: var(--coral); margin-top: 0.45rem; }
.hero-card h2::after, .cta-band h2::after, .stat-band h2::after { display: none; }
h3 { font-size: 1.06rem; margin: 1.6rem 0 0.4rem; }
p { margin: 0 0 1rem; }

.page-head { padding: 2.6rem 0 0.4rem; }
.page-head h1 { font-weight: 800; text-transform: uppercase; font-size: clamp(1.9rem, 4.5vw, 2.8rem);
  line-height: 1.02; margin: 0 0 0.5rem; color: var(--teal); }
.page-head h1::after { content: ""; display: block; width: 4rem; height: 5px; background: var(--coral); margin-top: 0.7rem; }
.byline { font-size: 0.9rem; color: var(--muted); margin: 0.9rem 0 0; }

blockquote.statute { margin: 1.4rem 0; padding: 1rem 1.3rem; background: var(--tide-soft);
  border-left: 3px solid var(--tide); font-size: 0.97rem; }
blockquote.statute cite { display: block; margin-top: 0.5rem; font-size: 0.85rem; color: var(--muted); font-style: normal; }
.callout { background: var(--tide-soft); border-left: 3px solid var(--tide); padding: 1rem 1.3rem;
  margin: 1.4rem 0; font-size: 0.97rem; }
.callout.alert { background: var(--alert-soft); border-color: var(--alert); }
.note { font-size: 0.9rem; color: var(--muted); }

.pillars { display: grid; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); gap: 1rem; margin: 2rem 0; }
.pillar { background: var(--card); border: 1px solid var(--line); border-top: 4px solid var(--tide);
  border-radius: 10px; padding: 1.3rem 1.4rem; }
.pillar h3 { margin: 0 0 0.4rem; font-family: "Barlow Condensed", sans-serif; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.03em; font-size: 1.15rem; color: var(--teal); }
.pillar p { font-size: 0.95rem; margin: 0 0 0.6rem; }
.pillar a { font-weight: 600; font-size: 0.93rem; }

.table-wrap { overflow-x: auto; margin: 1.4rem 0; }
table { width: 100%; border-collapse: collapse; font-size: 0.95rem; background: var(--card); }
th { text-align: left; font-family: "Barlow Condensed", sans-serif; font-size: 0.85rem;
  letter-spacing: 0.08em; text-transform: uppercase; color: #fff; background: var(--tide); padding: 0.6rem 0.9rem; }
td { padding: 0.7rem 0.9rem; border-bottom: 1px solid var(--line); vertical-align: top; }

.cta-band { background: var(--teal); color: #fff; border-radius: 12px; padding: 1.9rem 2rem; margin: 2.8rem 0 0;
  display: flex; align-items: center; justify-content: space-between; gap: 1.4rem; flex-wrap: wrap; }
.cta-band h2 { color: #fff; margin: 0 0 0.3rem; font-size: 1.5rem; }
.cta-band p { margin: 0; color: #CBDCDC; font-size: 0.97rem; }
.cta-band .cta-btn { white-space: nowrap; }

.site-footer { background: var(--teal-deep); color: #9FC0C2; font-size: 0.83rem; line-height: 1.7;
  padding: 2.2rem 0 2.6rem; margin-top: 3.5rem; }
.site-footer a { color: #CBDCDC; }
.site-footer .fnav { display: flex; gap: 1.2rem; flex-wrap: wrap; margin-bottom: 1.1rem; }
.site-footer .fnav a { text-decoration: none; font-weight: 600; }
.site-footer .fcities { font-size: 0.82rem; margin: 0 0 1.1rem; color: #9FC0C2; }
.site-footer .fcities a { font-weight: 600; text-decoration: none; }
.site-footer .legal { max-width: 56rem; }

.form-card { background: var(--card); border: 1px solid var(--line); border-radius: 12px;
  padding: 1.6rem 1.6rem 1.4rem; max-width: 42rem; }
.step { display: none; }
.step.active { display: block; }
.step h2 { margin-top: 0; font-size: 1.3rem; }
.step h2::after { width: 2.2rem; height: 3px; }
.step .hint { color: var(--muted); font-size: 0.92rem; margin: 0 0 1.2rem; }
fieldset { border: none; margin: 0 0 1.2rem; padding: 0; }
legend, label.qlabel { display: block; font-weight: 600; font-size: 0.95rem; margin-bottom: 0.5rem; padding: 0; }
.opt { display: flex; align-items: flex-start; gap: 0.6rem; border: 1px solid var(--line); border-radius: 8px;
  padding: 0.65rem 0.85rem; margin-bottom: 0.5rem; cursor: pointer; background: var(--card); }
.opt:hover { border-color: var(--tide); }
.opt:has(input:checked) { border-color: var(--tide); background: var(--tide-soft); }
.opt input { margin-top: 0.3rem; accent-color: var(--tide); }
.opt .ol { font-weight: 400; }
.opt small { display: block; color: var(--muted); }
input[type="text"], input[type="email"], input[type="tel"], input[type="month"], select, textarea {
  width: 100%; font: inherit; color: var(--ink); background: var(--card); border: 1px solid var(--line);
  border-radius: 8px; padding: 0.55rem 0.75rem; margin-bottom: 1rem; }
input:focus, select:focus, textarea:focus, .opt:focus-within, .cta-btn:focus-visible, button:focus-visible {
  outline: 2px solid var(--teal); outline-offset: 1px; }
.fnav-btns { display: flex; justify-content: space-between; gap: 1rem; margin-top: 1.4rem; }
button { font: inherit; font-weight: 600; border-radius: 8px; padding: 0.6rem 1.4rem; cursor: pointer;
  border: 1px solid var(--line); background: var(--card); color: var(--ink); }
button.primary { background: var(--coral); border-color: var(--coral); color: var(--on-coral);
  font-weight: 700; text-transform: uppercase; letter-spacing: 0.03em; }
button.primary:hover { background: var(--coral-press); border-color: var(--coral-press); }
.notice { border-radius: 8px; padding: 0.7rem 0.95rem; font-size: 0.92rem; margin: 0 0 1rem; display: none; }
.notice.show { display: block; }
.notice.info { background: var(--tide-soft); color: var(--teal); }
.notice.warn { background: var(--warn-soft); color: var(--warn-ink); }
.notice.alert { background: var(--alert-soft); color: var(--alert); }
.refblock { display: none; border-top: 1px solid var(--line); margin-top: 1rem; padding-top: 1.1rem; }
.refblock.show { display: block; }
.consent { font-size: 0.85rem; color: var(--muted); border: 1px solid var(--line); border-radius: 8px;
  padding: 0.8rem 0.95rem; margin-bottom: 1rem; }
.consent label { display: flex; gap: 0.6rem; align-items: flex-start; color: var(--ink); font-size: 0.9rem; margin-top: 0.6rem; }
.consent input { margin-top: 0.25rem; accent-color: var(--tide); }
.err { color: var(--alert); font-size: 0.85rem; margin: -0.5rem 0 0.8rem; display: none; }
.err.show { display: block; }
.progress { display: flex; gap: 0.35rem; margin: 0 0 1.5rem; max-width: 42rem; }
.progress span { flex: 1; height: 4px; border-radius: 999px; background: var(--line); }
.progress span.done { background: var(--tide); }

/* Headshot: transparent PNG, no frame */
.headshot { display: block; max-width: 26rem; margin: 0 0 1.4rem; }
.pillar-photo { display: block; margin: 0 0 0.9rem; }

/* Licensed medical figures */
.med-fig { margin: 1.6rem 0; }
.med-fig img, .med-fig video { display: block; width: 100%; border-radius: 10px; border: 1px solid var(--line); }
.med-fig figcaption { font-size: 0.8rem; color: var(--muted); margin-top: 0.45rem; }

@media (max-width: 640px) {
  .header-inner { justify-content: center; text-align: center; }
  .cta-band { text-align: center; justify-content: center; }
  .hero-actions { flex-direction: column; align-items: stretch; }
}
