/* Book-a-call floating icon, estimator, and website grader */
:root{--book-call-banner-clearance:0px}
.book-call-fab{position:fixed;right:20px;bottom:calc(20px + var(--book-call-banner-clearance, 0px));z-index:45;display:flex;align-items:center;gap:10px;background:var(--navy2);color:#fff;text-decoration:none;border:0;border-radius:999px;padding:8px 16px 8px 8px;box-shadow:0 8px 24px rgba(13,34,54,.35);cursor:pointer;font:inherit;font-family:'Archivo','Inter',system-ui,sans-serif;font-weight:600;pointer-events:auto}
.book-call-fab:hover,.book-call-fab:focus-visible{background:var(--navy);color:#fff;text-decoration:none}
.book-call-fab:focus-visible{outline:3px solid var(--accent)!important;outline-offset:3px}
.book-call-fab .book-call-mark{display:block;width:44px;height:44px;flex:0 0 44px}
.book-call-fab .book-call-label{font-size:.92rem;line-height:1.2;white-space:nowrap;padding-right:4px}
@media (max-width:860px){
  .book-call-fab{right:16px;bottom:calc(76px + var(--book-call-banner-clearance, 0px));padding:7px 14px 7px 7px}
  .book-call-fab .book-call-mark{width:40px;height:40px;flex-basis:40px}
  .book-call-fab .book-call-label{font-size:.85rem}
}
@media (max-width:420px){
  .book-call-fab{right:12px;bottom:calc(70px + var(--book-call-banner-clearance, 0px));padding:6px}
  .book-call-fab .book-call-label{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
}
.book-call-fab.is-hidden-for-banner{display:none!important}
body{padding-bottom:calc(88px + var(--book-call-banner-clearance, 0px))}
@media (max-width:860px){body{padding-bottom:calc(130px + var(--book-call-banner-clearance, 0px))}}
.est-layout{display:grid;gap:24px}
@media (min-width:900px){.est-layout{grid-template-columns:1.1fr .9fr;align-items:start}}
.est-card{background:#fff;border:1px solid var(--line);border-radius:var(--r);padding:22px 24px;box-shadow:0 2px 10px rgba(20,50,79,.06)}
.est-card h2{margin:0 0 14px;color:var(--navy);font-size:1.25rem}
.est-field{margin:0 0 16px}
.est-field label,.est-legend{display:block;font-weight:700;color:var(--navy);margin-bottom:6px}
.est-help{display:block;color:var(--muted);font-size:.9rem;font-weight:400;margin-top:4px}
/* On the dark site band, muted navy-gray fails WCAG AA. Use the site-bg light ink (#d6e0ea, well above 4.5:1). Keep the darker muted color inside light cards. */
.section .est-help,
.section .legal-note,
.section .disclaimer,
.section #score-possible,
.section #score-url,
.section .lead{color:#d6e0ea}
.section :is(.card,.thanks-box,.detail-box,.est-card,.book-notice,.est-note,form) .est-help,
.section :is(.card,.thanks-box,.detail-box,.est-card,.book-notice,.est-note,form) .legal-note,
.section :is(.card,.thanks-box,.detail-box,.est-card,form) .disclaimer{color:var(--muted)}
.section :is(.card,.thanks-box,.detail-box,.est-card,.book-notice,.est-note,form) .legal-note{color:var(--navy)}
.est-options{display:flex;flex-wrap:wrap;gap:8px}
.est-options label{display:flex;align-items:center;gap:8px;border:1px solid var(--line);border-radius:8px;padding:8px 12px;background:#fff;cursor:pointer;font-weight:600;color:var(--navy)}
.est-options input{accent-color:var(--cta)}
.est-total{font-size:1.6rem;color:var(--navy);font-weight:700;margin:0}
.est-sub{color:var(--muted);margin:4px 0 12px}
.est-lines{list-style:none;padding:0;margin:0 0 12px}
.est-lines li{display:flex;justify-content:space-between;gap:12px;padding:6px 0;border-bottom:1px solid var(--line);align-items:flex-start}
.est-lines li.est-line-stack{display:grid;grid-template-columns:1fr;gap:6px}
.est-priceblock{display:block}
.est-full{color:var(--navy);font-weight:700}
.est-or{color:var(--muted);font-weight:500}
.est-halfoff{display:inline-block;background:#fff3e0;color:#9a4a0a;font-weight:800;padding:3px 8px;border-radius:6px;border:1px solid #f0c48a;white-space:nowrap}
#est-onetime{display:block;line-height:1.45}
#est-onetime .est-halfoff{font-size:.72em}
.est-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:16px}
.disclaimer{font-size:.9rem;color:#405366;margin:12px 0 0}
#page-count-wrap[hidden],#ai-care-wrap[hidden],#design-discount-wrap[hidden]{display:none!important}
.range-row{display:flex;align-items:center;gap:12px}
.range-row input[type=range]{flex:1;accent-color:var(--cta)}
.est-note{background:#fff8f0;border-left:6px solid var(--accent);border-radius:var(--r);padding:14px 18px;margin:0 0 20px;color:var(--navy)}
.score-hero{display:flex;flex-wrap:wrap;gap:24px;align-items:center}
.score-ring{width:160px;height:160px;border-radius:50%;display:flex;align-items:center;justify-content:center;flex-direction:column;color:#fff;font-weight:800}
.score-ring.red{background:#9b1c1c}
.score-ring.yellow{background:#b45309}
.score-ring.green{background:#1f6b3a}
.score-ring .num{font-size:3rem;line-height:1;font-family:'Archivo',sans-serif}
.item-row{display:grid;grid-template-columns:auto 1fr;gap:8px 12px;padding:10px 0;border-bottom:1px solid var(--line);align-items:start}
.pill{display:inline-flex;align-items:center;justify-content:center;align-self:start;box-sizing:border-box;height:1.5rem;min-width:3.4rem;padding:0 8px;font-size:.72rem;font-weight:800;line-height:1;border-radius:6px;text-transform:uppercase;letter-spacing:.04em;white-space:nowrap}
.pill-pass{background:#d8f3e0;color:#14532d}
.pill-warn{background:#fde7c7;color:#7c3d00}
.pill-fail{background:#f8d0d0;color:#7f1d1d}
.pill-na{background:var(--alt);color:var(--muted)}
.progress{height:12px;background:var(--line);border-radius:99px;overflow:hidden;margin:16px 0}
.progress>span{display:block;height:100%;width:0;background:var(--accent);transition:width .3s}
.book-notice,.legal-note,#grader-start-legal,#grader-score-legal,#est-card-legal{
  font-size:.9rem;line-height:1.45;color:var(--navy);margin:10px 0 14px;max-width:62rem
}
.book-notice{border-left:4px solid var(--accent);padding:8px 12px;background:#fff8f0;border-radius:0 8px 8px 0}
#grader-start-legal{margin:14px 0 8px}


/* DAV-0080: lead cards and consultation notices use the standard dark What We Do / service card style.
   lead-features.css loads after dark-cards.css on these pages, so earlier white/cream rules in this file are overridden here. */
.est-card,
.book-notice,
.est-note{
  background-color:#14324f!important;
  background-image:repeating-linear-gradient(135deg,rgba(255,255,255,.045) 0,rgba(255,255,255,.045) 1px,transparent 1px,transparent 12px),linear-gradient(180deg,#14324f 0%,#122c46 100%)!important;
  color:#d6e0ea!important;
  border:1px solid rgba(255,255,255,.20)!important;
  border-top:4px solid #e8892b!important;
  border-radius:14px!important;
  box-shadow:0 14px 30px rgba(0,0,0,.30),inset 0 1px 0 rgba(255,255,255,.12)!important;
}
.book-notice{
  padding:14px 18px;
  margin:10px 0 14px;
  max-width:62rem;
  font-size:.9rem;
  line-height:1.45;
}
.est-note{padding:14px 18px;margin:0 0 20px}
.est-card{padding:22px 24px}
.est-card h2,
.est-card .est-field label,
.est-card .est-legend,
.est-card .est-total,
.est-card .est-full,
.est-card label{color:#fff!important}
.est-card .est-help,
.est-card .est-sub,
.est-card .est-or,
.est-card .disclaimer,
.est-card .legal-note,
.est-note,
.book-notice{color:#d6e0ea!important}
.est-card .est-lines li{
  color:#fff!important;
  border-bottom:1px solid rgba(255,255,255,.22);
}
.est-card .est-lines li .est-help{color:#d6e0ea!important;font-weight:400}
.est-card a:not(.btn),
.book-notice a:not(.btn),
.est-note a:not(.btn){color:#f5b26b!important}
.est-card a:not(.btn):hover,
.book-notice a:not(.btn):hover,
.est-note a:not(.btn):hover{color:#fff!important}
.est-options label{
  background:#0b1a2b!important;
  border:1px solid rgba(255,255,255,.28)!important;
  color:#fff!important;
}
.est-card :is(input:not([type=checkbox]):not([type=radio]):not([type=submit]):not([type=hidden]):not([type=range]),select,textarea){
  background:#0b1a2b!important;
  color:#fff!important;
  border:1px solid #8fa3b8!important;
  border-radius:8px;
}
.est-card :is(input,select,textarea)::placeholder{color:#b9c7d6!important;opacity:1}
.est-card :is(input,select,textarea):focus{
  border-color:#f5b26b!important;
  outline:3px solid #f5b26b!important;
  outline-offset:1px;
}
.est-card #grader-cap-status,
#grader-cap-status{color:#ffb4b4!important}
.section :is(.est-card,.book-notice,.est-note,form.quote) .est-help,
.section :is(.est-card,.book-notice,.est-note,form.quote) .legal-note,
.section :is(.est-card,.book-notice,.est-note,form.quote) .disclaimer{color:#d6e0ea!important}

/* DAV-0080: keep the floating Book chip from covering the estimate column at desktop widths. */
@media (min-width:900px){
  .est-layout{padding-right:280px;box-sizing:border-box}
}
