/* ============================================================
   Local Trauma Clean rebuild stylesheet
   Palette: brand orange #E65A1C (CTA/accents) · charcoal #252327
            near-black #171519 (footer) · white / #F6F6F6 sections
   Type:    Lora (display) · Source Sans 3 (body)
   ============================================================ */

:root {
  /* Trauma brand palette from the logo: orange = action, charcoal = authority */
  --ink: #252327;          /* charcoal: headings, nav text, dark bands */
  --ink-soft: #252327;     /* primary text */
  --paper: #ffffff;        /* primary background */
  --paper-raise: #ffffff;  /* cards */
  --slate: #666666;        /* secondary text */
  --mist: #f6f6f6;         /* alternate sections, answer boxes, FAQ */
  --line: #d9d9d9;         /* borders, dividers */
  --call: #e65a1c;         /* brand orange: buttons, links, accents */
  --call-dark: #cc4e16;    /* orange hover */
  --orange-light: #f28a54;
  --dark-2: #171519;       /* near black: footer */
  --charcoal-light: #3b393d;
  --success: #3c7a3c;
  --error: #c62828;
  --max: 1080px;
  --serif: "Lora", Georgia, serif;
  --sans: "Source Sans 3", "Helvetica Neue", Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation: none !important; transition: none !important; }
}

body {
  font-family: var(--sans);
  font-size: 1.075rem;
  line-height: 1.65;
  color: var(--ink-soft);
  background: var(--paper);
}

a { color: inherit; }
a:focus-visible, button:focus-visible {
  outline: 3px solid var(--call);
  outline-offset: 3px;
}

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

/* ---------- top bar ---------- */
.topbar {
  background: var(--ink);
  color: #c7c7c7;
  font-size: 0.9rem;
}
.topbar .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 9px;
  padding-bottom: 9px;
  gap: 16px;
}
.topbar strong { color: #fff; font-weight: 600; }
.topbar a { color: #fff; text-decoration: none; font-weight: 600; }
.topbar a:hover { text-decoration: underline; }

/* ---------- header / nav ---------- */
header.site {
  background: var(--paper-raise);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 50;
}
header.site .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
  gap: 20px;
  flex-wrap: wrap;
}
.brand {
  font-family: var(--serif);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: 0.01em;
}
.brand span { color: var(--slate); font-weight: 400; }
nav.primary { display: flex; gap: 26px; flex-wrap: wrap; }
nav.primary a {
  text-decoration: none;
  font-size: 0.97rem;
  font-weight: 600;
  color: var(--ink-soft);
  padding: 4px 0;
  border-bottom: 2px solid transparent;
}
nav.primary a:hover,
nav.primary a[aria-current] { border-bottom-color: var(--call); }
.call-btn {
  background: var(--call);
  color: #fff !important;
  text-decoration: none;
  font-weight: 700;
  padding: 10px 20px;
  border-radius: 4px;
  white-space: nowrap;
}
.call-btn:hover { background: var(--call-dark); }

/* ---------- hero ---------- */
.hero { padding: 72px 0 56px; }
.eyebrow {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--slate);
  margin-bottom: 18px;
}
h1 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(2rem, 4.4vw, 3.1rem);
  line-height: 1.18;
  color: var(--ink);
  max-width: 21ch;
  margin-bottom: 22px;
}
.hero .lead {
  font-size: 1.2rem;
  max-width: 58ch;
  margin-bottom: 30px;
}

/* ---------- the "what happens now" sequence ---------- */
.sequence {
  background: var(--ink);
  color: #d9d9d9;
  padding: 60px 0;
}
.sequence h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: #fff;
  margin-bottom: 10px;
}
.sequence .sub {
  color: #c7c7c7;
  max-width: 62ch;
  margin-bottom: 38px;
}
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.step {
  border-top: 2px solid var(--charcoal-light);
  padding-top: 18px;
}
.step .num {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #a7a5a9;
  margin-bottom: 10px;
}
.step h3 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.15rem;
  color: #fff;
  margin-bottom: 8px;
}
.step p { font-size: 0.98rem; color: #c7c7c7; }
.step.ours { border-top-color: var(--call); }
.step.ours .num { color: var(--call); }

/* ---------- bands / sections ---------- */
.band { padding: 64px 0; }
.band.tint { background: var(--mist); }
h2.section {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--ink);
  margin-bottom: 12px;
}
.section-sub {
  color: var(--slate);
  max-width: 62ch;
  margin-bottom: 36px;
}

/* ---------- service grid ---------- */
.svc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.svc {
  display: block;
  background: var(--paper-raise);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 24px 22px;
  text-decoration: none;
}
.svc:hover { border-color: var(--call); }
.svc h3 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.08rem;
  color: var(--ink);
  margin-bottom: 8px;
}
.svc p { font-size: 0.95rem; color: var(--slate); }

/* ---------- FAQ ---------- */
.faq details {
  background: var(--paper-raise);
  border: 1px solid var(--line);
  border-radius: 6px;
  margin-bottom: 12px;
}
.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 18px 22px;
  font-weight: 600;
  color: var(--ink);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  font-size: 1.3rem;
  color: var(--slate);
  font-weight: 400;
}
.faq details[open] summary::after { content: "\2212"; }
.faq .answer { padding: 0 22px 20px; max-width: 70ch; }
.faq .answer p + p { margin-top: 10px; }

/* ---------- areas ---------- */
.areas {
  columns: 4;
  gap: 24px;
  font-size: 0.98rem;
  color: var(--ink-soft);
  max-width: 760px;
}
.areas li { list-style: none; padding: 3px 0; }

/* ---------- testimonials ---------- */
.quote {
  border-left: 3px solid var(--call);
  padding: 6px 0 6px 26px;
  max-width: 66ch;
  margin-bottom: 34px;
}
.quote p {
  font-family: var(--serif);
  font-size: 1.12rem;
  color: var(--ink);
  font-style: italic;
}
.quote cite {
  display: block;
  margin-top: 12px;
  font-style: normal;
  font-size: 0.92rem;
  color: var(--slate);
  font-weight: 600;
}

/* ---------- trust ---------- */
.trust-row {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  margin-top: 8px;
}
.trust-row div { max-width: 300px; }
.trust-row h3 {
  font-size: 1rem;
  color: var(--ink);
  margin-bottom: 6px;
  font-weight: 700;
}
.trust-row p { font-size: 0.95rem; color: var(--slate); }

/* ---------- CTA band ---------- */
.cta-band { background: var(--call); color: #ffffff; padding: 58px 0; }
.cta-band h2 {
  font-family: var(--serif);
  color: #fff;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 500;
  margin-bottom: 10px;
}
.cta-band p { max-width: 58ch; margin-bottom: 26px; color: #ffffff; }
.cta-band .call-btn {
  font-size: 1.15rem;
  padding: 14px 30px;
  display: inline-block;
  background: #ffffff;
  color: var(--call) !important;
}
.cta-band .call-btn:hover { background: var(--mist); }

/* ---------- footer ---------- */
footer.site {
  background: var(--dark-2);
  color: #c7c7c7;
  padding: 52px 0 40px;
  font-size: 0.94rem;
}
footer.site .cols {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1.1fr 1.1fr;
  gap: 40px;
  margin-bottom: 36px;
}
@media (max-width: 1024px) {
  footer.site .cols { grid-template-columns: 1fr 1fr; }
}
footer.site h3 {
  color: #fff;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 14px;
  font-weight: 700;
}
footer.site a { color: #c7c7c7; text-decoration: none; }
footer.site a:hover { color: var(--call); text-decoration: underline; }
footer.site .footer-phone { color: var(--call); font-weight: 600; }
footer.site ul { list-style: none; }
footer.site li { padding: 3px 0; }
footer .legal {
  border-top: 1px solid var(--charcoal-light);
  padding-top: 22px;
  font-size: 0.85rem;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

/* ---------- sticky mobile call ---------- */
.mobile-call {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--call);
  color: #fff;
  text-align: center;
  padding: 15px;
  font-weight: 700;
  font-size: 1.1rem;
  text-decoration: none;
  z-index: 60;
}

/* ---------- article (service page) ---------- */
.article { max-width: 760px; }
.article h2 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.55rem;
  color: var(--ink);
  margin: 42px 0 14px;
}
.article p + p { margin-top: 14px; }
.article ul { margin: 14px 0 14px 22px; }
.article li { margin-bottom: 6px; }
.breadcrumb {
  font-size: 0.88rem;
  color: var(--slate);
  margin-bottom: 26px;
}
.breadcrumb a { color: var(--slate); }
.answer-box {
  background: var(--mist);
  border-left: 3px solid var(--call);
  padding: 20px 24px;
  border-radius: 0 6px 6px 0;
  margin: 26px 0;
  max-width: 70ch;
}
.answer-box p { font-size: 1.05rem; color: var(--ink); }

/* ---------- responsive ---------- */
@media (max-width: 860px) {
  .steps { grid-template-columns: 1fr; gap: 22px; }
  .svc-grid { grid-template-columns: 1fr; }
  .areas { columns: 2; }
  footer.site .cols { grid-template-columns: 1fr; }
  nav.primary { display: none; }
  .mobile-call { display: block; }
  body { padding-bottom: 56px; }
}

/* ---------- footer areas column ---------- */
.footer-areas { columns: 2; }

/* ---------- commercial account form ---------- */
.account-form { max-width: 640px; margin-top: 8px; }
.account-form fieldset {
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 18px 20px 22px;
  margin-bottom: 20px;
  background: var(--paper-raise);
}
.account-form legend {
  font-family: var(--serif);
  font-weight: 600;
  color: var(--ink);
  padding: 0 8px;
}
.account-form label {
  display: block;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ink-soft);
  margin-top: 14px;
}
.account-form input {
  display: block;
  width: 100%;
  margin-top: 6px;
  padding: 10px 12px;
  font: inherit;
  font-weight: 400;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 4px;
}
.account-form input:focus-visible { outline: 3px solid var(--call); outline-offset: 2px; }
.account-form label span { color: var(--call); }

/* ---------- contact grid ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin: 8px 0 28px; }
.contact-grid h2 { margin-top: 28px; }
.contact-grid h2:first-child { margin-top: 0; }
.account-form textarea {
  display: block; width: 100%; margin-top: 6px; padding: 10px 12px;
  font: inherit; font-weight: 400; color: var(--ink); background: var(--paper);
  border: 1px solid var(--line); border-radius: 4px;
}
.account-form textarea:focus-visible { outline: 3px solid var(--call); outline-offset: 2px; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }

/* ---------- footer sister-brand logos ---------- */
.brand-logos li { padding: 6px 0; }
.brand-logos a { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-logos a:hover { text-decoration: underline; }
.brand-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  border-radius: 4px;
  width: 100px;
  height: 34px;
  flex: 0 0 auto;
}
.brand-chip img { display: block; max-height: 22px; max-width: 82px; width: auto; height: auto; }

/* sequence block nested inside an article (decomposition page) keeps light headings */
.article .sequence h2 { color: #fff; margin: 0 0 24px; }

/* ---------- content images (carried from the live site) ---------- */
.brand img { display: block; height: 58px; width: auto; }
.content-img { margin: 26px 0; max-width: 760px; }
.content-img img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 6px;
  border: 1px solid var(--line);
}
.article .content-img { margin: 22px 0; }
.article .img-right {
  float: right;
  max-width: 300px;
  margin: 6px 0 16px 22px;
  border-radius: 6px;
  border: 1px solid var(--line);
  height: auto;
}
.cert-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin: 20px 0; max-width: 760px; }
.cert-grid img { width: 100%; height: auto; border: 1px solid var(--line); border-radius: 4px; background: #fff; }
@media (max-width: 860px) {
  .article .img-right { float: none; max-width: 100%; margin: 16px 0; }
  .cert-grid { grid-template-columns: 1fr; }
}

/* ---------- trust row with badge: keep the three headings on one line ---------- */
.trust-badge-item { display: flex; gap: 14px; align-items: flex-start; max-width: 300px; }
.trust-badge-item > img { flex: 0 0 auto; margin-top: 2px; }

/* ---------- homepage hero: keyword H1 as kicker, brand statement as display ---------- */
h1.hero-kicker {
  font-family: var(--sans);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--slate);
  max-width: none;
  line-height: 1.6;
  margin-bottom: 18px;
}
.hero-statement {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(2rem, 4.4vw, 3.1rem);
  line-height: 1.18;
  color: var(--ink);
  max-width: 21ch;
  margin-bottom: 22px;
}
