/* BuildBetterEstimates — hero proof row, tightened hero band, footer contact
   column and footer bottom bar. Loaded last so it can refine the rules in
   fixes-v15.css (including its !important hero padding) without editing them. */

/* ---------- hero: fill the dead band, then tighten it ----------
   improvements-v1.css pins the hero to almost the full viewport with
   `body:has(.hero2) .hero2{min-height:calc(100vh - 140px)!important}` and centres
   the content, which is what leaves the two empty bands above and below the
   headline. Same selector + !important, loaded last, so it wins. */
.hero2 { min-height: 0; }
body:has(.hero2) .hero2 {
  min-height: 0 !important;
  padding: 122px 0 58px !important;
}
@media (min-width: 1024px) {
  body:has(.hero2) .hero2 { padding: 132px 0 62px !important; }
}
@media (max-width: 820px) {
  body:has(.hero2) .hero2 { padding: 100px 0 42px !important; }
}
@media (max-width: 420px) {
  body:has(.hero2) .hero2 { padding: 92px 0 34px !important; }
}
.hero2-in > *:nth-child(6) { animation-delay: .95s; }

.hero2-proof {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 28px;
  max-width: 640px;
  margin-top: 30px;
  padding-top: 26px;
  border-top: 1px solid rgba(255, 255, 255, .16);
}
.h2p { display: flex; align-items: flex-start; gap: 11px; min-width: 0; }
.h2p > span { min-width: 0; }
.h2p svg { width: 19px; height: 19px; flex: none; margin-top: 4px; color: #FF9140; }
.h2p b {
  display: block;
  font-family: var(--display);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 21px;
  line-height: 1.05;
  letter-spacing: .01em;
  color: #fff;
}
.h2p i {
  display: block;
  font-family: var(--body);
  font-style: normal;
  font-size: 14px;
  line-height: 1.32;
  color: #AFC0CC;
  margin-top: 3px;
}
@media (max-width: 460px) {
  .hero2-proof { grid-template-columns: minmax(0, 1fr); gap: 14px; margin-top: 24px; padding-top: 20px; }
  .h2p b { font-size: 19px; }
}

/* ---------- footer: contact column ---------- */
footer .fcontact { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
footer .fcontact li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--on-dark-soft);
  font-size: 15px;
  line-height: 1.45;
}
footer .fcontact svg { width: 17px; height: 17px; flex: none; margin-top: 3px; color: #FF9140; }
footer .fcontact li.wa svg { color: var(--wa); }
footer .fcontact a { padding: 0; color: #fff; font-weight: 600; overflow-wrap: anywhere; }
footer .fcontact a:hover { color: #FF9140; }
footer .fcontact .fsub span {
  display: block;
  margin-top: 1px;
  color: var(--on-dark-soft);
  font-size: 13px;
  font-weight: 400;
}

/* ---------- footer: bottom bar ---------- */
.fbot {
  border-top: 1px solid rgba(255, 255, 255, .1);
  padding-top: 18px;
  padding-bottom: max(4px, env(safe-area-inset-bottom, 0px));
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 28px;
}
.fbot-note { margin: 0; font-size: 14px; color: var(--on-dark-soft); }
.fbot-legal { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.fbot-legal a { display: inline-block; padding: 0; font-size: 14px; color: var(--on-dark-soft); }
.fbot-legal a:hover { color: #fff; text-decoration: underline; }
@media (max-width: 640px) {
  .fbot { flex-direction: column; align-items: flex-start; }
}

/* ---------- portfolio: request-a-sample band ----------
   The spreadsheet mock that filled the second column was removed, so the copy
   now sits alone in a 45% column. Give it the full band and cap the line length. */
#sample .sample { grid-template-columns: minmax(0, 1fr); }
#sample .sample > .rv { max-width: 860px; }
@media (max-width: 980px) {
  #sample .sample > .rv { max-width: none; }
}

/* ---------- quote form: fallback links in the failure message ---------- */
.qmsg a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.qmsg .qwhy, .bbe-msg .qwhy {
  display: block;
  margin-top: 6px;
  font-size: 13px;
  font-weight: 400;
  opacity: .8;
}

/* ---------- 404 page ----------
   Reuses .block/.wrap/.jump/.btn from each page's inline stylesheet; only the
   error-specific type needs rules of its own. */
.nf404 { padding: 84px 0 64px; }
.nf404-kicker {
  font-family: var(--display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: 15px;
  color: var(--orange);
  margin: 0 0 10px;
}
.nf404 h1 { margin: 0 0 14px; }
.nf404-lead { max-width: 720px; font-size: 20px; line-height: 1.55; color: var(--text-2, #47607A); }
.nf404-sub { margin: 62px 0 18px; font-size: clamp(24px, 3vw, 34px); }
@media (max-width: 720px) {
  .nf404 { padding: 56px 0 44px; }
  .nf404-lead { font-size: 17px; }
  .nf404 .ctas { gap: 10px; }
}
