/* =============================================================================
   Mobile respirator fit testing page  (/services/respirator-fit-testing)
   Loaded only by products/respiratory-services.html.twig, after the shared
   stylesheet set.

   WHY THIS FILE IS UNLAYERED
   The design system's structural CSS lives in @layer qc.*, and any unlayered
   rule beats a layered one regardless of specificity. Two unlayered sheets
   would otherwise win against the layered components on this page:
     - base.css declares `.qc-btn { padding; font-weight }`, which beats the
       design system's own button padding (including the large size).
     - Google's Material Icons sheet declares `.material-icons { font-size:
       24px }`, so every `font-size` written for an icon inside a layered rule
       is dead.
   Page CSS written unlayered, and scoped under .ft-page, is the only way to
   restore the intended geometry without editing the shared design-system
   files. Everything here reads --qc-* tokens; the only raw colours are the
   shadow tints on the sticky bar and the closing-band phone line.

   BREAKPOINTS
   Mobile first. 40em / 48em / 64em are content breakpoints. The sticky mobile
   bar uses 75em on purpose: that is where the global navigation switches from
   the drawer to the desktop bar (navigation.css, --qc-nav-desktop-active). The
   .qc-mobile-only helper flips at 1024px, which would hide the bar while the
   drawer is still the active navigation (1024-1199px).
   ========================================================================== */

/* -----------------------------------------------------------------------------
   Page-scoped geometry fixes for shared components
   -------------------------------------------------------------------------- */
.ft-page .qc-btn {
  min-height: 48px;
  padding: var(--qc-space-3) var(--qc-space-5);
  font-weight: var(--qc-fw-semibold);
}
.ft-page .qc-btn .material-icons { font-size: 1.25em; }
.ft-page .qc-eyebrow .material-icons { font-size: 1.15em; }
.ft-page .qc-checklist > li > .material-icons { font-size: 1.25rem; }
.ft-page .qc-icon-tile .material-icons { font-size: 28px; }
.ft-page .qc-arrowlink { min-height: 44px; }
.ft-page .qc-arrowlink .material-icons { font-size: 1.15em; }
.ft-page .qc-pricing-card__price { font-variant-numeric: tabular-nums; }

/* -----------------------------------------------------------------------------
   Keyboard focus on light surfaces
   The design system draws the focus of .qc-btn and of the FAQ trigger as a
   translucent box-shadow ring only. Against white that ring is about 2:1 (a
   focus indicator needs 3:1), and forced-colors mode drops box-shadow, so
   there it shows nothing at all. A real outline has neither problem;
   --qc-color-primary-dark is 8.2:1 on white. Dark surfaces (the hero and the
   closing band) re-colour it further down. Keep these rules ABOVE those: the
   selectors are equally specific, so source order decides.
   -------------------------------------------------------------------------- */
.ft-page .qc-btn:focus-visible,
.ft-page .qc-accordion__trigger:focus-visible {
  outline: 3px solid var(--qc-color-primary-dark);
  outline-offset: 2px;
  box-shadow: none;
}

/* -----------------------------------------------------------------------------
   HERO
   -------------------------------------------------------------------------- */
.ft-hero {
  position: relative;
  overflow: hidden;
  padding-block: var(--qc-space-8) var(--qc-space-10);
  background: var(--qc-gradient-header);
  color: var(--qc-text-on-dark);
}
.ft-hero__inner {
  display: grid;
  gap: var(--qc-space-8);
  align-items: center;
}
.ft-hero__copy { min-width: 0; }
.ft-hero .qc-eyebrow { color: var(--qc-color-secondary); }
.ft-hero__title {
  margin: 0 0 var(--qc-space-4);
  font-size: clamp(1.875rem, 1.3rem + 2.6vw, 2.875rem);
  line-height: var(--qc-lh-tight);
  letter-spacing: var(--qc-ls-tight);
  color: var(--qc-text-on-dark);
}
.ft-hero__lead {
  max-width: 56ch;
  margin: 0;
  font-size: var(--qc-fs-lg);
  line-height: var(--qc-lh-base);
  color: var(--qc-on-dark-fg);
}
.ft-hero__actions {
  display: flex;
  flex-direction: column;
  gap: var(--qc-space-3);
  margin-top: var(--qc-space-6);
}
.ft-hero__actions .qc-btn { width: 100%; min-height: 52px; }
.ft-hero__note {
  margin: var(--qc-space-4) 0 0;
  font-size: var(--qc-fs-sm);
  color: var(--qc-on-dark-fg-muted);
}
/* The dark surfaces (hero, and the closing band's violet gradient) need the
   on-dark focus ring; the dark-violet outline above has too little contrast on
   them. */
.ft-hero .qc-btn:focus-visible,
.ft-page .qc-cta .qc-btn:focus-visible {
  outline: var(--qc-focus-outline-width) solid var(--qc-on-dark-ring);
  outline-offset: 3px;
  box-shadow: none;
}

@media (min-width: 40em) {
  .ft-hero__actions { flex-direction: row; flex-wrap: wrap; }
  .ft-hero__actions .qc-btn { width: auto; }
}
@media (min-width: 48em) {
  .ft-hero { padding-block: var(--qc-space-12); }
}
@media (min-width: 64em) {
  .ft-hero__inner { grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: var(--qc-space-12); }
}

/* -----------------------------------------------------------------------------
   SERVICE DATASHEET (hero panel)
   A definition list on a white card: one fact per row, label then value. It
   replaces the old photo, the proof-point list and the fact strip.
   -------------------------------------------------------------------------- */
.ft-spec {
  min-width: 0;
  padding: var(--qc-space-5);
  background: var(--qc-surface);
  border-radius: var(--qc-radius-lg);
  box-shadow: var(--qc-elevation-on-dark-lg);
  color: var(--qc-text);
}
.ft-spec__title {
  margin: 0 0 var(--qc-space-3);
  font-size: var(--qc-fs-sm);
  font-weight: var(--qc-fw-bold);
  letter-spacing: var(--qc-ls-wide);
  line-height: var(--qc-lh-snug);
  text-transform: uppercase;
  color: var(--qc-color-primary-dark);
}
.ft-spec__list { display: grid; margin: 0; }
.ft-spec__row {
  display: grid;
  gap: var(--qc-space-1);
  padding-block: var(--qc-space-3);
  border-top: 1px solid var(--qc-border);
}
.ft-spec__row:first-child { padding-top: 0; border-top: 0; }
.ft-spec__row:last-child { padding-bottom: 0; }
.ft-spec__label {
  margin: 0;
  font-size: var(--qc-fs-xs);
  font-weight: var(--qc-fw-bold);
  letter-spacing: var(--qc-ls-wide);
  line-height: var(--qc-lh-snug);
  text-transform: uppercase;
  color: var(--qc-text-muted);
}
.ft-spec__value { margin: 0; min-width: 0; line-height: var(--qc-lh-snug); overflow-wrap: anywhere; }
.ft-spec__value strong { display: block; font-weight: var(--qc-fw-semibold); }
.ft-spec__value span { display: block; font-size: var(--qc-fs-sm); color: var(--qc-text-muted); }
@media (min-width: 30em) {
  .ft-spec__row { grid-template-columns: 7rem minmax(0, 1fr); gap: var(--qc-space-4); }
}

/* -----------------------------------------------------------------------------
   Shared section helpers
   -------------------------------------------------------------------------- */
.ft-section-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--qc-space-3) var(--qc-space-5);
  margin-top: var(--qc-space-8);
}
.ft-section-cta--center { justify-content: center; }
.ft-section-cta .qc-btn { width: 100%; }
@media (min-width: 40em) {
  .ft-section-cta .qc-btn { width: auto; }
}

/* -----------------------------------------------------------------------------
   QUOTE BRIEF: five numbered facts that shape the quote. The number is
   decorative (aria-hidden); the list itself is an <ol>.
   -------------------------------------------------------------------------- */
.ft-brief {
  display: grid;
  gap: var(--qc-space-4);
  margin: 0;
  padding: 0;
  list-style: none;
}
.ft-brief__row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: var(--qc-space-4);
  align-items: start;
  margin: 0;
  padding: var(--qc-space-5);
  background: var(--qc-surface);
  border: 1px solid var(--qc-border);
  border-radius: var(--qc-radius-lg);
  box-shadow: var(--qc-shadow-sm);
}
.ft-brief__num {
  display: grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background: var(--qc-color-primary-dark);
  font-weight: var(--qc-fw-bold);
  line-height: 1;
  color: var(--qc-text-on-dark);
}
.ft-brief__body { min-width: 0; }
.ft-brief__q { margin: 0 0 var(--qc-space-2); font-size: var(--qc-fs-lg); line-height: var(--qc-lh-snug); }
.ft-brief__body > p { margin: 0; color: var(--qc-text-muted); }
.ft-brief__body > p + p { margin-top: var(--qc-space-3); }
.ft-brief__body .ft-types { margin-top: var(--qc-space-4); }
.ft-brief__body .ft-section-cta { margin-top: var(--qc-space-4); }
.ft-brief .qc-arrowlink { margin-top: var(--qc-space-2); }

/* Small regulation reference under a statement. */
.ft-cite {
  display: block;
  margin-top: var(--qc-space-2);
  font-size: var(--qc-fs-xs);
  line-height: var(--qc-lh-snug);
  color: var(--qc-text-muted);
}

/* -----------------------------------------------------------------------------
   PER-EMPLOYEE LEDGER: a real table. Below 48em every row becomes a stacked
   card and each cell announces its column through data-label, so nothing
   scrolls sideways at 360px.
   -------------------------------------------------------------------------- */
.ft-ledger {
  width: 100%;
  border-collapse: collapse;
  background: var(--qc-surface);
}
.ft-ledger caption {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.ft-ledger thead {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}
.ft-ledger tbody { display: grid; gap: var(--qc-space-4); }
.ft-ledger tr {
  display: block;
  padding: var(--qc-space-4) var(--qc-space-5);
  background: var(--qc-surface);
  border: 1px solid var(--qc-border);
  border-radius: var(--qc-radius-lg);
  box-shadow: var(--qc-shadow-sm);
}
.ft-ledger th,
.ft-ledger td {
  display: block;
  padding: 0;
  text-align: left;
  vertical-align: top;
  border: 0;
}
.ft-ledger th { margin-bottom: var(--qc-space-3); font-size: var(--qc-fs-lg); font-weight: var(--qc-fw-bold); line-height: var(--qc-lh-snug); color: var(--qc-text); }
.ft-ledger td + td { margin-top: var(--qc-space-3); }
.ft-ledger td::before {
  content: attr(data-label);
  display: block;
  margin-bottom: var(--qc-space-1);
  font-size: var(--qc-fs-xs);
  font-weight: var(--qc-fw-bold);
  letter-spacing: var(--qc-ls-wide);
  text-transform: uppercase;
  color: var(--qc-text-muted);
}
.ft-ledger td { color: var(--qc-text-muted); }
.ft-ledger td p { margin: 0; }
.ft-ledger td p + p { margin-top: var(--qc-space-2); }
@media (min-width: 48em) {
  .ft-ledger { border: 1px solid var(--qc-border); border-radius: var(--qc-radius-lg); overflow: hidden; }
  .ft-ledger thead { position: static; width: auto; height: auto; overflow: visible; clip: auto; }
  .ft-ledger thead th {
    margin: 0;
    padding: var(--qc-space-3) var(--qc-space-4);
    background: var(--qc-surface-muted);
    border-bottom: 1px solid var(--qc-border-strong);
    font-size: var(--qc-fs-xs);
    letter-spacing: var(--qc-ls-wide);
    text-transform: uppercase;
    color: var(--qc-text-muted);
  }
  .ft-ledger tbody { display: table-row-group; gap: 0; }
  .ft-ledger tr { display: table-row; padding: 0; border: 0; border-radius: 0; box-shadow: none; }
  .ft-ledger tbody th,
  .ft-ledger tbody td {
    display: table-cell;
    padding: var(--qc-space-4);
    border-top: 1px solid var(--qc-border);
  }
  .ft-ledger tbody tr:first-child th,
  .ft-ledger tbody tr:first-child td { border-top: 0; }
  .ft-ledger tbody th { width: 22%; margin: 0; font-size: var(--qc-fs-base); }
  .ft-ledger td + td { margin-top: 0; }
  .ft-ledger td::before { content: none; }
}

/* -----------------------------------------------------------------------------
   TEST-DAY READINESS and RECORDS: two plain panels side by side from 48em.
   -------------------------------------------------------------------------- */
.ft-ready,
.ft-records {
  display: grid;
  gap: var(--qc-space-5);
  align-items: start;
}
.ft-panel {
  padding: var(--qc-space-5);
  background: var(--qc-surface);
  border: 1px solid var(--qc-border);
  border-radius: var(--qc-radius-lg);
}
.ft-panel--muted { background: var(--qc-surface-muted); }
.ft-panel__title { margin: 0 0 var(--qc-space-3); font-size: var(--qc-fs-xl); line-height: var(--qc-lh-snug); }
.ft-panel > p { margin: 0 0 var(--qc-space-3); color: var(--qc-text-muted); }
.ft-panel .qc-note { margin-top: var(--qc-space-4); }
.ft-list {
  display: grid;
  gap: var(--qc-space-2);
  margin: 0 0 var(--qc-space-3);
  padding-left: var(--qc-space-5);
}
.ft-list li { margin: 0; line-height: var(--qc-lh-base); }
.ft-ready-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--qc-space-3) var(--qc-space-5);
  margin-top: var(--qc-space-6);
}
.ft-ready-actions .qc-btn { width: 100%; }
@media (min-width: 40em) {
  .ft-ready-actions .qc-btn { width: auto; }
}
@media (min-width: 48em) {
  .ft-ready,
  .ft-records { grid-template-columns: 1fr 1fr; }
}

/* -----------------------------------------------------------------------------
   RESPIRATOR TYPES: a banner photo above the text on narrow phones (a thumbnail
   column would leave the text about 180px wide), a square thumbnail beside the
   text from 30em, and three stacked cards from 64em. The photos are portrait
   (768x1152), so every crop is object-fit: cover around the subject.
   -------------------------------------------------------------------------- */
.ft-types {
  display: grid;
  gap: var(--qc-space-4);
  margin: 0;
  padding: 0;
  list-style: none;
}
.ft-type {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--qc-space-4);
  align-items: start;
  margin: 0;
  padding: var(--qc-space-4);
  background: var(--qc-surface);
  border: 1px solid var(--qc-border);
  border-radius: var(--qc-radius-lg);
  box-shadow: var(--qc-shadow-sm);
}
.ft-type__img {
  display: block;
  width: 100%;
  height: 10rem;
  object-fit: cover;
  object-position: 50% 52%;
  border-radius: var(--qc-radius-md);
}
.ft-type__body { display: flex; flex-direction: column; gap: var(--qc-space-2); min-width: 0; }
.ft-type__title { margin: 0; font-size: var(--qc-fs-lg); font-weight: var(--qc-fw-bold); line-height: var(--qc-lh-snug); }
.ft-type__text { margin: 0; font-size: 0.9375rem; color: var(--qc-text-muted); }
.ft-type__body .qc-arrowlink { margin-top: auto; }
@media (min-width: 30em) {
  .ft-type { grid-template-columns: 6rem minmax(0, 1fr); }
  .ft-type__img { width: 6rem; height: 6rem; object-position: 50% 48%; }
}
@media (min-width: 48em) {
  .ft-type { grid-template-columns: 8rem minmax(0, 1fr); }
  .ft-type__img { width: 8rem; height: 8rem; }
}
@media (min-width: 64em) {
  .ft-types { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--qc-space-6); }
  .ft-type { grid-template-columns: 1fr; gap: 0; padding: 0; overflow: hidden; }
  .ft-type__img { width: 100%; height: auto; aspect-ratio: 4 / 3; border-radius: 0; }
  .ft-type__body { flex: 1; padding: var(--qc-space-5); }
}

/* -----------------------------------------------------------------------------
   MEDICAL CLEARANCE / ONLINE vs IN PERSON
   -------------------------------------------------------------------------- */
.ft-clearance {
  display: grid;
  gap: var(--qc-space-8);
  align-items: start;
}
.ft-clearance__title {
  margin: 0 0 var(--qc-space-4);
  font-size: var(--qc-fs-h2);
  line-height: var(--qc-lh-tight);
  letter-spacing: var(--qc-ls-tight);
}
.ft-clearance__lead { margin: 0 0 var(--qc-space-5); color: var(--qc-text-muted); }

.ft-sequence {
  display: grid;
  gap: var(--qc-space-3);
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: ft-seq;
}
.ft-sequence li {
  position: relative;
  margin: 0;
  padding-left: 2.75rem;
  color: var(--qc-text-muted);
  counter-increment: ft-seq;
}
.ft-sequence li::before {
  content: counter(ft-seq);
  position: absolute;
  left: 0;
  top: 0;
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: var(--qc-color-primary-dark);
  font-size: var(--qc-fs-sm);
  font-weight: var(--qc-fw-bold);
  color: var(--qc-text-on-dark);
}
.ft-sequence strong { display: block; color: var(--qc-text); }
.ft-online {
  padding: var(--qc-space-6);
  background: var(--qc-gradient-header);
  border-radius: var(--qc-radius-lg);
  color: var(--qc-text-on-dark);
  box-shadow: var(--qc-shadow-lg);
}
.ft-online__title { margin: 0 0 var(--qc-space-4); font-size: var(--qc-fs-xl); color: var(--qc-text-on-dark); }
.ft-online__links {
  display: flex;
  flex-direction: column;
  gap: var(--qc-space-1);
  margin: var(--qc-space-5) 0 0;
  padding: var(--qc-space-4) 0 0;
  list-style: none;
  border-top: 1px solid var(--qc-on-dark-hairline-strong);
}
.ft-online__links li { margin: 0; }
.ft-online .qc-arrowlink { color: var(--qc-text-on-dark); }
.ft-online .qc-arrowlink:hover,
.ft-online .qc-arrowlink:focus-visible { color: var(--qc-color-secondary); }
.ft-online .qc-arrowlink:focus-visible {
  outline: var(--qc-focus-outline-width) solid var(--qc-on-dark-ring);
  outline-offset: 3px;
  border-radius: var(--qc-radius-sm);
}
@media (min-width: 64em) {
  .ft-clearance { grid-template-columns: 1fr 1fr; gap: var(--qc-space-12); }
}

/* -----------------------------------------------------------------------------
   PRICING
   -------------------------------------------------------------------------- */
.ft-pricing {
  display: grid;
  gap: var(--qc-space-8);
  align-items: start;
}
.ft-pricing .qc-pricing-card__body .qc-checklist { font-size: 0.9375rem; }
.ft-pricing__fine { margin: 0; font-size: var(--qc-fs-sm); color: var(--qc-text-muted); }
.ft-pricing__scope { margin: 0; color: var(--qc-text-muted); }

.ft-matrix {
  display: grid;
  gap: var(--qc-space-4);
  margin: 0 0 var(--qc-space-5);
}
.ft-matrix__col {
  padding: var(--qc-space-4) var(--qc-space-5);
  background: var(--qc-surface);
  border: 1px solid var(--qc-border);
  border-radius: var(--qc-radius-lg);
  box-shadow: var(--qc-shadow-sm);
}
.ft-matrix__title {
  margin: 0 0 var(--qc-space-2);
  font-size: var(--qc-fs-sm);
  font-weight: var(--qc-fw-bold);
  letter-spacing: var(--qc-ls-wide);
  line-height: var(--qc-lh-snug);
  text-transform: uppercase;
  color: var(--qc-color-primary-dark);
}
.ft-matrix__col p { margin: 0; font-size: 0.9375rem; color: var(--qc-text-muted); }
.ft-matrix__col p + p { margin-top: var(--qc-space-2); }
@media (min-width: 40em) and (max-width: 63.999em) {
  .ft-matrix { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 80em) {
  .ft-matrix { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 64em) {
  .ft-pricing { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: var(--qc-space-12); }
}

/* -----------------------------------------------------------------------------
   SERVICE AREA
   -------------------------------------------------------------------------- */
.ft-area {
  display: grid;
  gap: var(--qc-space-8);
  align-items: start;
}
.ft-area__title {
  margin: 0 0 var(--qc-space-3);
  font-size: var(--qc-fs-h2);
  line-height: var(--qc-lh-tight);
  letter-spacing: var(--qc-ls-tight);
}
.ft-area__lead { margin: 0 0 var(--qc-space-5); color: var(--qc-text-muted); }
.ft-counties {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--qc-space-2) var(--qc-space-4);
  margin: 0 0 var(--qc-space-5);
  padding: 0;
  list-style: none;
}
.ft-counties li {
  display: flex;
  align-items: center;
  gap: var(--qc-space-2);
  margin: 0;
  font-weight: var(--qc-fw-medium);
  color: var(--qc-text);
}
.ft-counties li::before {
  content: "";
  flex: none;
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 50%;
  background: var(--qc-color-primary);
}
.ft-area__note { margin: 0; font-size: 0.9375rem; color: var(--qc-text-muted); }
.ft-area__explore {
  padding: var(--qc-space-5);
  background: var(--qc-surface);
  border: 1px solid var(--qc-border);
  border-radius: var(--qc-radius-lg);
  box-shadow: var(--qc-shadow-sm);
}
.ft-area__explore-title { margin: 0 0 var(--qc-space-3); font-size: var(--qc-fs-lg); }
.ft-chips {
  display: flex;
  flex-wrap: wrap;
  gap: var(--qc-space-2);
  margin: 0 0 var(--qc-space-5);
  padding: 0;
  list-style: none;
}
.ft-chips li { margin: 0; }
.ft-chip {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 var(--qc-space-4);
  background: var(--qc-surface);
  border: 1px solid var(--qc-border-strong);
  border-radius: var(--qc-radius-pill);
  font-size: 0.9375rem;
  font-weight: var(--qc-fw-medium);
  text-decoration: none;
  color: var(--qc-text);
  transition: border-color var(--qc-dur-fast) var(--qc-ease-standard), color var(--qc-dur-fast) var(--qc-ease-standard);
}
.ft-chip:hover { border-color: var(--qc-color-primary); color: var(--qc-color-primary-dark); text-decoration: none; }
.ft-chip:focus-visible { outline: var(--qc-focus-outline-width) solid var(--qc-color-primary); outline-offset: 2px; }
@media (min-width: 64em) {
  .ft-area { grid-template-columns: 1fr 1fr; gap: var(--qc-space-12); }
}

/* -----------------------------------------------------------------------------
   GUIDES
   -------------------------------------------------------------------------- */

.ft-linklist { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; }
.ft-linklist li { margin: 0; }
.ft-linklist .qc-arrowlink { display: inline-flex; padding-block: var(--qc-space-2); }
@media (min-width: 48em) {
  .ft-linklist { grid-template-columns: 1fr 1fr; column-gap: var(--qc-space-8); }
}

/* -----------------------------------------------------------------------------
   FAQ follow-up, regulatory note, closing band
   -------------------------------------------------------------------------- */
.ft-faq-cta {
  display: flex;
  flex-direction: column;
  gap: var(--qc-space-3);
  align-items: flex-start;
  margin-top: var(--qc-space-8);
  padding: var(--qc-space-5);
  background: var(--qc-surface);
  border: 1px solid var(--qc-border);
  border-radius: var(--qc-radius-lg);
}
.ft-faq-cta p { margin: 0; font-weight: var(--qc-fw-semibold); }
.ft-faq-cta .qc-btn { width: 100%; }
@media (min-width: 40em) {
  .ft-faq-cta { flex-direction: row; align-items: center; justify-content: space-between; }
  .ft-faq-cta .qc-btn { width: auto; flex: none; }
}
.ft-legal {
  margin: 0;
  font-size: var(--qc-fs-sm);
  line-height: var(--qc-lh-base);
  color: var(--qc-text-muted);
}
.ft-page .qc-cta__actions .qc-btn { width: 100%; min-height: 52px; }
.ft-cta__phone { margin: var(--qc-space-4) 0 0; font-size: var(--qc-fs-sm); color: rgba(255, 255, 255, 0.9); }
@media (min-width: 40em) {
  .ft-page .qc-cta__actions .qc-btn { width: auto; }
}

/* -----------------------------------------------------------------------------
   STICKY MOBILE CTA BAR
   Two real links (quote + phone). Visible below the navigation's desktop
   breakpoint (75em) and only on viewports taller than 30em (see the end of
   this section); position:fixed at the bottom on --qc-z-sticky, which sits
   under the header (--qc-z-fixed), the drawer overlay (--qc-z-overlay) and the
   consent banner / drawer (--qc-z-modal), so none of those are ever covered.
   The bar's height is a variable so the footer can reserve exactly that much
   room and the bar never hides footer content. The viewport meta has no
   viewport-fit=cover today, so the safe-area inset resolves to 0; it is wired
   in so the bar is correct the day that changes.
   -------------------------------------------------------------------------- */
body.has-sticky-cta { --ft-sticky-h: 4.75rem; }
.ft-sticky {
  position: fixed;
  inset-inline: 0;
  bottom: 0;
  z-index: var(--qc-z-sticky);
  box-sizing: border-box;
  display: flex;
  justify-content: center;
  gap: var(--qc-space-2);
  height: calc(var(--ft-sticky-h, 4.75rem) + env(safe-area-inset-bottom, 0px));
  padding: var(--qc-space-3) var(--qc-space-4) calc(var(--qc-space-3) + env(safe-area-inset-bottom, 0px));
  background: var(--qc-surface);
  border-top: 1px solid var(--qc-border-strong);
  box-shadow: 0 -8px 20px -10px rgba(20, 31, 46, 0.3);
}
.ft-sticky .qc-btn {
  min-width: 0;
  max-width: 20rem;
  min-height: 48px;
  padding-inline: var(--qc-space-4);
}
.ft-sticky__quote { flex: 2 1 0; }
.ft-sticky__call { flex: 1 1 0; }
body.has-sticky-cta .qc-sitefooter {
  padding-bottom: calc(var(--qc-space-16) + var(--ft-sticky-h, 4.75rem) + env(safe-area-inset-bottom, 0px));
}
/* A fixed bar covers whatever the browser scrolls to the bottom edge when it
   brings a focused control into view, so a keyboard user would Tab onto links
   they cannot see (WCAG 2.2 SC 2.4.11). scroll-padding-bottom keeps focused
   and anchored targets clear of the bar. It has to sit on the root element,
   which cannot read --ft-sticky-h (declared on body), so the bar's 4.75rem is
   written out here; change the two together. */
html:has(body.has-sticky-cta) {
  scroll-padding-bottom: calc(4.75rem + env(safe-area-inset-bottom, 0px) + var(--qc-space-4));
}
/* The bar goes away at the navigation's desktop breakpoint, and also on short
   viewports (a landscape phone, or a browser zoomed far in) where the header
   plus a 76px bar would cover more than half of the screen. The in-page and
   header quote links remain. The scroll padding is released with the bar. */
@media (min-width: 75em), (max-height: 30em) {
  .ft-sticky { display: none; }
  body.has-sticky-cta .qc-sitefooter { padding-bottom: var(--qc-space-16); }
  html:has(body.has-sticky-cta) { scroll-padding-bottom: auto; }
}
@media print {
  .ft-sticky { display: none; }
}
