/* --------------------------------------------------------------------------
   Colleague QA corrections — 2026-10-20
   Preserve the editorial identity while restoring clear actions, contrast,
   meaningful feature tokens, and a phone number that is always visible.
   -------------------------------------------------------------------------- */

:root { --gold-ink: #93600f; }

/* Hidden overflow on body creates a scroll container and prevents the mast from sticking. */
body { overflow-x: clip; }

/* Readable copy on the dark problem panel and the gold final CTA. */
.problem .deck--rev { color: var(--cream); }
.finalB .btn--ink { color: var(--ink); }
.topbar__r { opacity: 1; }

/* Keep form hints legible and gold actions readable on their filled surface. */
.fld::placeholder { color: #657078; opacity: 1; }
.finalB .btn--gold { color: var(--ink) !important; }

/* Anchored navigation should not flash an entire section before it settles. */
section[id]:target { animation: none; box-shadow: none; }

/* Gold remains bright on controls; gold typography uses a readable ink. */
.kicker,
.folio,
.num,
.tlink,
.svc__q,
.h1 em,
.h2 em,
.h2--xl em,
.procB .steps b,
.faqi__n,
.faqi summary:hover .faqi__q { color: var(--gold-ink); }
.h2--rev em,
.kicker--rev,
.problem .tlink,
.bandA .tlink { color: var(--gold-lt); }
.btn--gold { background: var(--gold); background-image: none; }

/* Two equal documentary details read as a spread, not an accidental T. */
.problem .collage {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  align-self: center;
}
.problem .collage__a { display: none; }
.problem .collage__b,
.problem .collage__c { width: 100%; align-self: stretch; }
.problem .collage__b .slot__box,
.problem .collage__c .slot__box { height: 100%; aspect-ratio: 16 / 10; }

/* The original tokens carry meaning; do not overwrite every card with 01–08. */
.whyB .fgrid--2 { counter-reset: none; }
.whyB .fgrid--2 .fcard { counter-increment: none; }
.whyB .ftok {
  position: static;
  display: flex;
  width: 50px;
  height: 50px;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  color: var(--ink);
  font-size: 11px;
  line-height: 1;
  letter-spacing: .02em;
  text-align: center;
}
.whyB .ftok::before { content: none !important; display: none !important; }
.whyB .ftok .ic { display: block; width: 18px; height: 18px; }
.whyB .fcard .h3,
.whyB .fcard p { grid-column: 2; }

/* Restore the ruled five-step newspaper strip instead of floating white cards. */
.procB .steps { gap: 0 30px; }
.procB .steps li {
  min-height: 0;
  padding: 16px 0 0;
  border: 0;
  border-top: 3px solid var(--ink);
  background: transparent;
  box-shadow: none;
}

/* Brands are a compact reference table, not a field of padded cards. */
.bgrid { gap: 0; border-top: 1px solid var(--rule-hair); border-left: 1px solid var(--rule-hair); }
.bgrid .bchip {
  padding: 14px 18px;
  border: 0;
  border-right: 1px solid var(--rule-hair);
  border-bottom: 1px solid var(--rule-hair);
  background: transparent;
  font-size: 15px;
}

/* The dark CTA has two actual actions, not one button and one faint caption. */
.bandA { background: var(--ink); }
.bandA .btn--ghost {
  border: 2px solid var(--cream);
  background: transparent;
  color: var(--cream);
  box-shadow: none;
  transform: none;
}
.bandA .btn--ghost:hover { border-color: var(--gold); background: var(--gold); color: var(--ink); }

/* Keep the final request form flat and consistent with the printed sheet. */
.finalB { background: var(--paper); background-image: var(--grain); }
.finalB .wcard { background-color: var(--cream); box-shadow: none; }
.finalB .fld {
  background-color: #fff;
  background-image: none;
  box-shadow: none;
  transform: none;
}
.finalB select.fld {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5l5-5' fill='none' stroke='%2317242d' stroke-width='1.7'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 17px center;
  background-size: 12px 8px;
}
.finalB .btn { background: var(--gold); box-shadow: none; transform: none; }
.finalB .btn:hover { background: var(--ink); color: var(--cream); box-shadow: none; transform: none; }
.finalB .wcard .card__h::after {
  content: "" !important;
  display: block !important;
  width: auto;
  min-width: 46px;
  height: 2px;
  flex: 1;
  background: var(--gold-ink);
}

@media (max-width: 1040px) {
  .problem .collage { align-self: start; }
  .procB .steps { gap: 26px; }
}

@media (max-width: 720px) {
  /* Logo first; visible phone and menu beneath it. The mast remains sticky. */
  #zip-checker { scroll-margin-top: 64px; }
  .mast__row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    padding-block: 10px 11px;
  }
  .mast__row > div:first-child { grid-column: 1; text-align: center; }
  .mast .brand img { width: min(100%, 218px); max-height: 47px; }
  .mast__act {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    width: 100%;
    gap: 10px;
  }
  .mast__tel {
    width: auto;
    height: 42px;
    min-width: 0;
    justify-content: flex-start;
    gap: 9px;
    overflow: visible;
    padding: 0 10px;
    font-size: 16px;
    white-space: nowrap;
  }
  .mast__tel .ic--tel { flex: 0 0 18px; }
  .burger { width: 42px; height: 42px; }

  /* Filters are readable touch rows instead of a clipped horizontal ribbon. */
  #services .tabs {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
    margin: 18px 0 0;
    padding: 0;
    gap: 7px;
    overflow: visible;
  }
  #services .tab {
    width: 100%;
    min-height: 44px;
    justify-content: flex-start;
    padding: 10px 13px;
    font-size: 11px;
  }
  #services .tab::before { content: none; display: none; }

  .problem .collage { grid-template-columns: 1fr; }
  .problem .collage__c { display: none; }

  .whyB .ftok { width: 48px; height: 48px; }
  .whyB .fgrid--2 .fcard { grid-template-columns: 48px minmax(0, 1fr); }

  /* Short rules remain attached to their labels instead of floating alone. */
  .kicker::after {
    content: "" !important;
    display: block !important;
    width: auto;
    min-width: 24px;
    max-width: 56px;
    height: 1px;
    flex: 1;
  }
  .finalB .wcard .card__h {
    display: flex;
    align-items: center;
    gap: 14px;
  }

  .stickyB { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); }
  .stickyB .btn { white-space: normal; line-height: 1.15; }
  .stickyB .btn--ink { letter-spacing: .025em; }
}

@media (max-width: 420px) {
  .mast__tel { font-size: 15px; }
  .stickyB .btn { font-size: 11px; }
  .bgrid .bchip { padding: 12px 10px; font-size: 13.5px; }
}

/* CRO pass: booking actions land on the fields, not at the start of a long section. */
#wcardForm { scroll-margin-top: 132px; }

/* Keep the tablet masthead scannable instead of breaking the phone and CTA. */
@media (min-width: 721px) and (max-width: 820px) {
  html { scroll-padding-top: 112px; }
  .mast__row { gap: 12px; }
  .mast .brand img { width: 190px; height: auto; }
  .mast .brand__tag { display: none; }
  .mast__act { gap: 8px; }
  .mast__tel { font-size: 16px; white-space: nowrap; }
  .mast__act .btn { padding-inline: 15px; font-size: 11px; white-space: nowrap; }
}

@media (max-width: 720px) {
  html { scroll-padding-top: 136px; }
  #wcardForm { scroll-margin-top: 0; }
  .mast__tel,
  .burger { min-height: 44px; height: 44px; }
  .burger { min-width: 44px; width: 44px; }
}

/* Phones and small tablets: one compact masthead row: mark, phone button on the remaining width, menu. Sticky as before. */
@media (max-width: 768px) {
  html { scroll-padding-top: 76px; }
  #zip-checker { scroll-margin-top: 76px; }
  .mast__row {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
    align-items: center;
    gap: 10px;
    padding-block: 8px;
  }
  .mast__row > div:first-child { grid-column: auto; min-width: 0; text-align: left; line-height: 0; }
  .mast .brand { display: block; width: 44px; height: 44px; max-width: none; }
  .mast .brand picture { display: block; }
  .mast .brand img { display: block; width: 44px; height: 44px; max-height: none; }
  .mast .brand__tag { display: none; }
  .mast__act {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 44px;
    width: 100%;
    justify-self: stretch;
    gap: 8px;
  }
  .mast__act .btn { display: none; }
  .mast__tel {
    display: inline-flex;
    width: 100%;
    height: 44px;
    min-height: 44px;
    flex: none;
    align-items: center;
    justify-content: center;
    gap: 8px;
    overflow: hidden;
    padding: 0 10px;
    border: 1px solid rgba(23, 36, 45, .22);
    background: #fffdf8;
    box-shadow: 3px 3px 0 rgba(227, 179, 63, .7);
    font-size: 17px;
    white-space: nowrap;
  }
  .mast__tel .ic--tel { flex: 0 0 18px; width: 18px; height: 18px; }
  .burger {
    display: inline-flex;
    width: 44px;
    height: 44px;
    min-width: 44px;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 1px solid rgba(23, 36, 45, .22);
    background: #fffdf8;
    box-shadow: 3px 3px 0 rgba(227, 179, 63, .7);
  }
  .mast__nav.nav--open { background: #f8f6f0; }
}
@media (max-width: 360px) {
  .mast__tel { font-size: 15px; gap: 6px; padding: 0 8px; }
}

/* Tags on the dark commercial card: light text on a dark plate with a gold outline (contrast above 4.5:1). */
.svc-grid .svc--com .chip {
  border: 1px solid rgba(239, 184, 63, .75);
  background: rgba(255, 255, 255, .07);
  color: #f6f1e4;
  font-weight: 600;
}
