/* White pages: request forms, reviews, client certifications.
   Neutral whites and greys, navy type; the brand blue is kept for actions (main button, links, focus). */

.wp {
  --w-bg: #fff;
  --w-soft: #f7f8fa;
  --w-line: #e4e7ec;
  --w-line-2: #eef0f3;
  --w-ink: #101828;
  --w-ink-2: #475467;
  --w-muted: #667085;
  --w-faint: #98a2b3;
  --w-accent: var(--blue);
  --w-star: #f5a524;
  --w-bad: #d92d20;
  --w-ok: #079455;
  background: var(--w-bg);
  color: var(--w-ink);
}
.is-white .crumb { background: #fff; }
.wp [hidden] { display: none !important; }
.wp a { transition: color .15s; }

/* ── Masthead */
.wp-head { padding-block: clamp(36px, 5vw, 72px) clamp(28px, 3.6vw, 52px); border-bottom: 1px solid var(--w-line-2); }
.wp-head__in { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, .6fr); gap: 32px 56px; align-items: end; }
.wp-kicker { display: inline-flex; align-items: center; gap: 10px; font: 600 .8125rem/1 var(--f-head); color: var(--w-accent); }
.wp-kicker::before { content: ""; width: 22px; height: 2px; border-radius: 2px; background: currentColor; }
.wp-title { margin-top: 16px; max-width: 18ch; font-size: clamp(2rem, 1.35rem + 2.5vw, 3.3rem); line-height: 1.22; color: var(--w-ink); letter-spacing: -.015em; }
[dir="rtl"] .wp-title { letter-spacing: 0; line-height: 1.35; }
.wp-title em { font-style: normal; background: linear-gradient(transparent 62%, #e3edff 62%, #e3edff 92%, transparent 92%); padding-inline: 2px; }
.wp-lead { max-width: 58ch; margin: 18px 0 0; font-size: 1.0625rem; line-height: 1.9; color: var(--w-ink-2); }
.wp-facts { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; border-top: 1px solid var(--w-line); }
.wp-facts li { display: flex; align-items: center; gap: 14px; padding: 14px 2px; border-bottom: 1px solid var(--w-line); font-size: .9375rem; color: var(--w-ink); }
.wp-facts i { flex: none; width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center; background: var(--w-soft); color: var(--w-ink-2); font-size: .875rem; }

/* ── Masthead in the site's navy (2026-11-18, owner: these pages were white from top to bottom). Same band as .phero on
   the other pages. The --w-* text colours are re-pointed for it; light cards that sit inside it (rating summary, invoice
   field, button and result) get the page's light values back. Covers .wp-head pages and the invoice check hero. */
.wp-head, .iv-hero {
  --w-ink: #fff; --w-ink-2: #cdd9ee; --w-muted: #9fb0cc; --w-faint: #9fb0cc;
  --w-line: rgba(125, 178, 255, .22); --w-line-2: rgba(125, 178, 255, .16); --w-soft: rgba(255, 255, 255, .07); --w-accent: var(--blue-300);
  color: #fff; border-bottom: 0;
  background: radial-gradient(800px 420px at 15% 20%, rgba(0, 74, 173, .5), transparent 60%), linear-gradient(160deg, var(--navy-950), var(--navy-850));
}
.wp-head .wp-title em { background: linear-gradient(transparent 62%, rgba(61, 139, 255, .45) 62%, rgba(61, 139, 255, .45) 92%, transparent 92%); }
.wp-head .rv2-summary, .wp-head .ct-kpis, .iv-hero .iv-in, .iv-hero .iv-btn, .iv-hero .iv-result {
  --w-ink: #101828; --w-ink-2: #475467; --w-muted: #667085; --w-faint: #98a2b3; --w-line: #e4e7ec; --w-line-2: #eef0f3; --w-soft: #f7f8fa; --w-accent: var(--blue);
}
.iv-hero .iv-kicker { background: rgba(125, 178, 255, .14); }
.iv-hero .iv-field__box > i { color: #98a2b3; }
/* under the masthead: the site's page colour instead of near-white, so the white cards stand out (2026-11-18) */
.wp .wp-body, .iv.wp { background: var(--paper); }

/* ── Body: form + aside */
.wp-body { padding-block: clamp(28px, 4vw, 56px) clamp(56px, 6vw, 96px); background: var(--w-soft); border-bottom: 1px solid var(--w-line-2); }
.wp-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 28px; align-items: start; }
.wp-main { min-width: 0; }
.wp-form, .wp-done { background: #fff; border: 1px solid var(--w-line); border-radius: 16px; box-shadow: 0 1px 2px rgba(16, 24, 40, .04); }
.wp-hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

.wp-sec { display: grid; grid-template-columns: 210px minmax(0, 1fr); gap: 20px 32px; padding: 30px 32px; border-top: 1px solid var(--w-line-2); scroll-margin-top: calc(var(--hdr) + 24px); }
.wp-sec:first-of-type { border-top: 0; }
.wp-sec__n { display: block; font: 600 .8125rem/1 var(--f-head); color: var(--w-faint); font-variant-numeric: tabular-nums; letter-spacing: .04em; }
.wp-sec__t { margin-top: 10px; font-size: 1.0625rem; line-height: 1.45; color: var(--w-ink); }
.wp-sec__d { margin: 6px 0 0; font-size: .875rem; line-height: 1.75; color: var(--w-muted); }
.wp-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 16px; align-content: start; }

/* fields */
.wp-f { display: grid; gap: 8px; align-content: start; min-width: 0; margin: 0; padding: 0; border: 0; }
.wp-f--full { grid-column: 1 / -1; }
.wp-label { padding: 0; font: 600 .875rem/1.45 var(--f-head); color: var(--w-ink); }
.wp-req { margin-inline-start: 3px; color: var(--w-bad); }
.wp-opt { margin-inline-start: 6px; font: 400 .75rem/1 var(--f-body); color: var(--w-faint); }
.wp-in { width: 100%; min-height: 48px; padding: 0 14px; border: 1px solid var(--w-line); border-radius: 10px; background: #fff; color: var(--w-ink); font: 400 .9688rem/1.5 var(--f-body); transition: border-color .15s, box-shadow .15s; -webkit-appearance: none; appearance: none; }
textarea.wp-in { min-height: 136px; padding: 12px 14px; line-height: 1.85; resize: vertical; }
.wp-in::placeholder { color: var(--w-faint); opacity: 1; }
.wp-in:hover { border-color: #cfd4dc; }
.wp-in:focus { outline: none; border-color: var(--w-accent); box-shadow: 0 0 0 4px rgba(0, 74, 173, .1); }
[dir="rtl"] .wp-in[dir="ltr"] { text-align: right; }
[dir="rtl"] .wp-in[dir="ltr"]::placeholder { text-align: right; }
input[type="date"].wp-in { padding-inline: 14px 10px; }
input[type="number"].wp-in { -moz-appearance: textfield; }
input[type="number"].wp-in::-webkit-inner-spin-button { -webkit-appearance: none; }
.wp-hint { margin: 0; font-size: .8125rem; line-height: 1.7; color: var(--w-muted); }
.wp-under { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.wp-count { flex: none; font-size: .75rem; color: var(--w-faint); font-variant-numeric: tabular-nums; }
.wp-count.is-near { color: #b54708; }
.wp-err { margin: 0; display: flex; gap: 6px; align-items: center; font-size: .8125rem; color: var(--w-bad); }
.wp-err::before { content: "!"; flex: none; width: 16px; height: 16px; border-radius: 50%; display: grid; place-items: center; background: var(--w-bad); color: #fff; font: 700 .6875rem/1 var(--f-head); }
.is-bad .wp-in, .is-bad .wp-pill span, .is-bad .wp-drop { border-color: var(--w-bad); }
.is-bad .wp-in:focus { box-shadow: 0 0 0 4px rgba(217, 45, 32, .1); }

/* choice pills (radio) */
.wp-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.wp-pill { position: relative; }
.wp-pill input { position: absolute; inset: 0; margin: 0; opacity: 0; cursor: pointer; }
.wp-pill span { display: inline-flex; align-items: center; min-height: 42px; padding: 0 18px; border: 1px solid var(--w-line); border-radius: 999px; background: #fff; color: var(--w-ink-2); font: 500 .9063rem/1 var(--f-head); transition: border-color .15s, background-color .15s, color .15s; }
.wp-pill input:hover + span { border-color: #c4cad4; color: var(--w-ink); }
.wp-pill input:checked + span { border-color: var(--w-ink); background: var(--w-ink); color: #fff; }
.wp-pill input:focus-visible + span { box-shadow: 0 0 0 4px rgba(0, 74, 173, .15); }

/* switch + revealed fields */
.wp-toggle { display: grid; gap: 0; border: 1px solid var(--w-line); border-radius: 12px; background: #fff; }
.wp-switch { display: flex; align-items: center; gap: 14px; padding: 14px 16px; cursor: pointer; font: 500 .9375rem/1.5 var(--f-head); color: var(--w-ink); }
.wp-switch input { flex: none; position: relative; width: 40px; height: 24px; margin: 0; border-radius: 999px; background: #d0d5dd; cursor: pointer; -webkit-appearance: none; appearance: none; transition: background-color .2s; }
.wp-switch input::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgba(16, 24, 40, .2); transition: transform .2s var(--ease); }
[dir="rtl"] .wp-switch input::after { left: auto; right: 3px; }
.wp-switch input:checked { background: var(--w-ink); }
.wp-switch input:checked::after { transform: translateX(16px); }
[dir="rtl"] .wp-switch input:checked::after { transform: translateX(-16px); }
.wp-switch input:focus-visible { outline: none; box-shadow: 0 0 0 4px rgba(0, 74, 173, .15); }
.wp-reveal { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .3s var(--ease); }
.wp-reveal > div { overflow: hidden; }
.wp-reveal.is-open { grid-template-rows: 1fr; }
.wp-reveal .wp-fields { padding: 4px 16px 18px; border-top: 1px solid var(--w-line-2); padding-top: 16px; }
.rm .wp-reveal { transition: none; }

/* PDF picker */
.wp-drop { position: relative; display: grid; justify-items: center; gap: 6px; padding: 26px 16px; border: 1.5px dashed #cfd4dc; border-radius: 12px; background: #fcfcfd; text-align: center; transition: border-color .15s, background-color .15s; }
.wp-drop:hover, .wp-drop.is-over { border-color: var(--w-accent); background: #f8faff; }
.wp-drop input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.wp-drop:focus-within { box-shadow: 0 0 0 4px rgba(0, 74, 173, .1); border-color: var(--w-accent); }
.wp-drop__ic { width: 44px; height: 44px; margin-bottom: 4px; border-radius: 10px; display: grid; place-items: center; background: #fff; border: 1px solid var(--w-line); color: var(--w-ink-2); }
.wp-drop b { font: 500 .9375rem/1.5 var(--f-head); color: var(--w-ink); }
.wp-drop b u { text-decoration: none; color: var(--w-accent); font-weight: 600; }
.wp-drop small { font-size: .8125rem; color: var(--w-muted); }
.wp-file { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid var(--w-line); border-radius: 12px; background: #fff; }
.wp-file__ic { flex: none; width: 40px; height: 44px; border-radius: 6px; display: grid; place-items: center; background: #fef3f2; color: #b42318; font: 700 .6875rem/1 var(--f-head); letter-spacing: .04em; }
.wp-file__meta { flex: 1; min-width: 0; display: grid; }
.wp-file__meta b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font: 600 .9063rem/1.5 var(--f-head); color: var(--w-ink); }
.wp-file__meta small { font-size: .8125rem; color: var(--w-muted); }
.wp-file__x { flex: none; width: 34px; height: 34px; border: 0; border-radius: 8px; background: transparent; color: var(--w-muted); cursor: pointer; }
.wp-file__x:hover { background: var(--w-soft); color: var(--w-ink); }

/* terms + submit */
.wp-terms { padding: 22px 32px; border-top: 1px solid var(--w-line-2); display: grid; gap: 8px; scroll-margin-top: calc(var(--hdr) + 24px); }
.wp-check { display: flex; gap: 12px; align-items: flex-start; font-size: .8125rem; line-height: 1.85; color: var(--w-ink-2); cursor: pointer; }
.wp-check input { flex: none; position: relative; width: 20px; height: 20px; margin: 3px 0 0; border: 1.5px solid #c4cad4; border-radius: 6px; background: #fff; cursor: pointer; -webkit-appearance: none; appearance: none; transition: background-color .15s, border-color .15s; }
.wp-check input:checked { background: var(--w-ink); border-color: var(--w-ink); }
.wp-check input:checked::after { content: ""; position: absolute; left: 5px; top: 2px; width: 6px; height: 11px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.wp-check input:focus-visible { outline: none; box-shadow: 0 0 0 4px rgba(0, 74, 173, .15); }
.wp-check a { color: var(--w-accent); text-decoration: underline; text-underline-offset: 3px; }
.is-bad .wp-check input { border-color: var(--w-bad); }
.wp-submit { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 24px; padding: 20px 32px 24px; border-top: 1px solid var(--w-line-2); border-radius: 0 0 16px 16px; background: #fcfcfd; }
.wp-submit__note { margin: 0; font-size: .8125rem; color: var(--w-muted); }
.wp-submit__note.is-warn { color: var(--w-bad); font-weight: 600; }
.wp-btn { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 52px; padding: 0 28px; border: 0; border-radius: 12px; background: var(--w-accent); color: #fff; font: 600 1rem/1 var(--f-head); cursor: pointer; transition: background-color .15s, transform .1s; }
.wp-btn:hover { background: var(--blue-600); }
.wp-btn:active { transform: scale(.98); }
.wp-btn:focus-visible { outline: none; box-shadow: 0 0 0 4px rgba(0, 74, 173, .2); }
.wp-btn i { font-size: .875rem; }
[dir="rtl"] .wp-btn i { transform: scaleX(-1); }
.wp-btn.is-busy { pointer-events: none; opacity: .8; }
.wp-btn.is-busy i { animation: wpPulse .8s ease-in-out infinite; }
@keyframes wpPulse { 50% { opacity: .3; } }

/* confirmation */
.wp-done { display: grid; justify-items: center; gap: 10px; padding: clamp(40px, 6vw, 72px) 24px; text-align: center; outline: none; }
.wp-done__ic { width: 60px; height: 60px; margin-bottom: 6px; border-radius: 50%; display: grid; place-items: center; background: #ecfdf3; color: var(--w-ok); font-size: 1.4rem; box-shadow: 0 0 0 8px #f6fef9; }
.wp-done h2 { font-size: clamp(1.4rem, 1.1rem + 1vw, 1.9rem); color: var(--w-ink); }
.wp-done p { margin: 0; max-width: 46ch; color: var(--w-ink-2); }
.wp-local { margin-top: 8px; display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border: 1px solid #fedf89; border-radius: 999px; background: #fffaeb; color: #93370d; font-size: .8125rem; }
.wp-link-btn { margin-top: 6px; border: 0; background: none; color: var(--w-accent); font: 600 .9375rem/1.5 var(--f-head); cursor: pointer; text-decoration: underline; text-underline-offset: 4px; }

/* aside */
.wp-aside { position: sticky; top: calc(var(--hdr) + 20px); display: grid; gap: 14px; }
.wp-box { padding: 20px 22px; border: 1px solid var(--w-line); border-radius: 16px; background: #fff; }
.wp-box h2 { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; font-size: .9688rem; color: var(--w-ink); }
.wp-ratio { font: 600 .75rem/1 var(--f-head); color: var(--w-muted); font-variant-numeric: tabular-nums; }
.wp-steps { list-style: none; margin: 0; padding: 0; counter-reset: st; }
.wp-steps li { position: relative; display: grid; gap: 2px; padding-inline-start: 42px; padding-bottom: 18px; counter-increment: st; }
.wp-steps li:last-child { padding-bottom: 0; }
.wp-steps li::before { content: counter(st); position: absolute; inset-inline-start: 0; top: 0; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--w-line); background: #fff; font: 600 .8125rem/1 var(--f-head); color: var(--w-ink); z-index: 1; }
.wp-steps li::after { content: ""; position: absolute; inset-inline-start: 13.5px; top: 30px; bottom: 2px; width: 1px; background: var(--w-line); }
.wp-steps li:last-child::after { display: none; }
.wp-steps b { font: 600 .875rem/1.6 var(--f-head); color: var(--w-ink); }
.wp-steps span { font-size: .8125rem; line-height: 1.7; color: var(--w-muted); }
.wp-progress { list-style: none; margin: 0; padding: 0; }
.wp-progress li { display: flex; align-items: center; gap: 10px; padding: 9px 0; border-top: 1px solid var(--w-line-2); font-size: .875rem; }
.wp-progress li:first-child { border-top: 0; padding-top: 0; }
.wp-progress a { flex: 1; color: var(--w-ink-2); }
.wp-progress a:hover { color: var(--w-ink); }
.wp-progress small { font-size: .75rem; color: var(--w-faint); }
.wp-dot { flex: none; position: relative; width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid #d0d5dd; background: #fff; transition: background-color .2s, border-color .2s; }
[data-state="part"] .wp-dot { border-color: var(--w-ink); background: linear-gradient(90deg, var(--w-ink) 50%, #fff 50%); }
[dir="rtl"] [data-state="part"] .wp-dot { background: linear-gradient(270deg, var(--w-ink) 50%, #fff 50%); }
[data-state="opt"] .wp-dot { border-style: dashed; }
[data-state="done"] .wp-dot { border-color: var(--w-ok); background: var(--w-ok); }
[data-state="done"] .wp-dot::after { content: ""; position: absolute; left: 5px; top: 2px; width: 4px; height: 8px; border: solid #fff; border-width: 0 1.5px 1.5px 0; transform: rotate(45deg); }
[data-state="done"] a { color: var(--w-ink); }
.wp-links { display: grid; }
.wp-links a { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 11px 0; border-top: 1px solid var(--w-line-2); font-size: .9063rem; color: var(--w-ink); }
.wp-links a:first-child { border-top: 0; padding-top: 0; }
.wp-links a i { font-size: .75rem; color: var(--w-faint); transition: transform .2s var(--ease), color .15s; }
.wp-links a:hover { color: var(--w-accent); }
.wp-links a:hover i { color: var(--w-accent); transform: translateX(3px); }
[dir="rtl"] .wp-links a:hover i { transform: translateX(-3px); }
.wp-direct { display: grid; gap: 8px; }
.wp-direct h2 { margin-bottom: 6px; }
.wp-direct a { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 10px; background: var(--w-soft); font: 600 .9063rem/1.4 var(--f-head); color: var(--w-ink); }
.wp-direct a:hover { background: #eef1f5; }
.wp-direct i { width: 18px; text-align: center; color: var(--w-ink-2); }
.wp-direct .fa-whatsapp { color: #16a34a; }

@media (max-width: 1080px) {
  .wp-grid { grid-template-columns: minmax(0, 1fr); }
  .wp-aside { position: static; grid-template-columns: 1fr 1fr; }
  .wp-box--progress { display: none; }
}
@media (max-width: 860px) {
  .wp-head__in { grid-template-columns: minmax(0, 1fr); }
  .wp-sec { grid-template-columns: minmax(0, 1fr); gap: 18px; padding: 24px 20px; }
  .wp-terms { padding: 20px; }
  .wp-submit { padding: 18px 20px 20px; }
}
@media (max-width: 600px) {
  .wp-fields { grid-template-columns: minmax(0, 1fr); }
  .wp-aside { grid-template-columns: minmax(0, 1fr); }
  .wp-btn { width: 100%; }
  .wp-submit { flex-direction: column-reverse; align-items: stretch; text-align: center; }
}

/* Footer on white pages: neutral instead of the blue wash */
.is-white .foot { background: #fafbfc; border-top: 1px solid #eef0f3; }
.is-white .foot .contact-card { box-shadow: 0 1px 2px rgba(16, 24, 40, .04), 0 0 0 1px #e4e7ec; }

/* ── Live site: server messages and the signed-in customer's phone */
.wp-alert { display: flex; gap: 10px; align-items: flex-start; margin: 20px 20px 0; padding: 12px 14px; border: 1px solid #fecdca; border-radius: 12px; background: #fef3f2; color: #912018; font-size: .875rem; line-height: 1.7; }
.wp-alert > i { margin-top: 4px; }
.wp-alert ul { margin: 4px 0 0; padding-inline-start: 18px; }
.wp-alert--ok { border-color: #abefc6; background: #ecfdf3; color: #067647; }
.wp-in--static { display: flex; align-items: center; background: var(--w-soft); color: var(--w-ink-2); font-weight: 600; }
