/* Project enquiry wizard. Accent colour: --bb-accent (set per site in the page). Without JavaScript every step is shown at once. */
.pw { --a: var(--bb-accent, #e86732); --ad: var(--bb-accent-dark, #c9501d); --ink: #181a20; --mut: #5c6270; --line: #dfe2e8; --soft: #f5f6f8; font-family: "Noto Sans", Arial, sans-serif; background: var(--soft); }
.pw *, .pw *::before, .pw *::after { box-sizing: border-box; }
.pw h1, .pw h2, .pw legend { font-family: "Noto Serif", Georgia, serif; }

.pw-hero { padding: 64px 0 74px; color: #fff; text-align: center; background: radial-gradient(900px 380px at 85% -20%, rgba(255,255,255,.1), transparent 60%), linear-gradient(135deg, #14161c, #262a35); }
.pw-pill { display: inline-block; padding: 6px 14px; border-radius: 999px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.22); font-size: 13px; letter-spacing: .03em; }
.pw-hero h1 { margin: 16px 0 10px; font-size: clamp(28px, 4.6vw, 46px); line-height: 1.15; color: #fff; }
.pw-hero p { max-width: 620px; margin: 0 auto; font-size: 17px; line-height: 1.6; color: rgba(255,255,255,.82); }

.pw-main { padding: 0 0 70px; }
.pw-card { position: relative; max-width: 760px; margin: -40px auto 0; padding: 30px 30px 26px; background: #fff; border-radius: 18px; box-shadow: 0 18px 50px rgba(20,22,28,.14); color: var(--ink); }

.pw-bar { display: none; height: 6px; border-radius: 6px; background: #eceef2; overflow: hidden; }
.pw-bar i { display: block; height: 100%; width: 0; background: var(--a); border-radius: 6px; transition: width .35s ease; }
.pw-count { display: none; margin: 8px 0 4px; font-size: 13px; color: var(--mut); }
.pw-js .pw-bar, .pw-js .pw-count { display: block; }

.pw-step { border: 0; margin: 0 0 22px; padding: 0; min-width: 0; }
.pw-step legend { float: none; width: auto; padding: 0; margin: 14px 0 14px; font-size: 24px; font-weight: 600; color: var(--ink); }
.pw-js .pw-step { display: none; }
.pw-js .pw-step.is-on { display: block; animation: pw-in .3s ease; }
@keyframes pw-in { from { opacity: 0; transform: translateX(14px); } to { opacity: 1; transform: none; } }

.pw-q { margin: 20px 0 10px; font-weight: 600; color: var(--ink); }
.pw-opts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.pw-opt { position: relative; margin: 0; cursor: pointer; }
.pw-opt input { position: absolute; opacity: 0; pointer-events: none; }
.pw-opt span { display: block; padding: 14px 16px; border: 2px solid var(--line); border-radius: 12px; background: #fff; font-weight: 500; line-height: 1.3; transition: border-color .15s, background .15s, transform .15s; }
.pw-opt:hover span { border-color: var(--a); transform: translateY(-1px); }
.pw-opt input:checked + span { border-color: var(--a); background: color-mix(in srgb, var(--a) 9%, #fff); box-shadow: 0 0 0 3px color-mix(in srgb, var(--a) 18%, transparent); }
.pw-opt input:focus-visible + span { outline: 3px solid var(--ad); outline-offset: 2px; }

.pw-f { display: block; margin: 0 0 14px; font-weight: 600; font-size: 14px; color: var(--ink); }
.pw-f input, .pw-f select, .pw-f textarea { display: block; width: 100%; margin-top: 6px; padding: 12px 14px; border: 2px solid var(--line); border-radius: 10px; font: inherit; font-weight: 400; color: var(--ink); background: #fff; }
.pw-f input:focus, .pw-f select:focus, .pw-f textarea:focus { outline: none; border-color: var(--a); box-shadow: 0 0 0 3px color-mix(in srgb, var(--a) 18%, transparent); }
.pw-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.pw-chk { display: flex; align-items: center; gap: 10px; margin: 0 0 14px; padding-top: 26px; font-weight: 500; }
.pw-chk input { width: 20px; height: 20px; accent-color: var(--a); }
.pw-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; }

.pw-err { min-height: 22px; margin: 4px 0 8px; color: #c0262d; font-size: 14px; font-weight: 600; }
.pw-nav { display: flex; justify-content: space-between; gap: 12px; }
.pw-nav [hidden] { display: none !important; }
.pw-btn { display: inline-flex; align-items: center; justify-content: center; padding: 13px 28px; border-radius: 12px; border: 2px solid transparent; font: inherit; font-weight: 600; text-decoration: none; cursor: pointer; transition: background .15s, transform .15s; }
.pw-btn-main { margin-left: auto; background: var(--a); color: #fff; }
.pw-btn-main:hover { background: var(--ad); color: #fff; transform: translateY(-1px); }
.pw-btn-main[disabled] { opacity: .6; cursor: wait; transform: none; }
.pw-btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.pw-btn-ghost:hover { border-color: var(--a); color: var(--ink); }

.pw-done { text-align: center; padding: 20px 6px 8px; }
.pw-done h2 { font-size: 30px; margin: 0 0 8px; color: var(--ink); }
.pw-done p { color: var(--mut); margin: 0 0 12px; }
.pw-done a:not(.pw-btn) { color: var(--ad); font-weight: 600; }
.pw [hidden] { display: none !important; }

@media (max-width: 575px) {
  .pw-card { padding: 22px 16px 18px; margin-top: -30px; border-radius: 14px; }
  .pw-opts, .pw-row { grid-template-columns: 1fr; }
  .pw-chk { padding-top: 0; }
  .pw-step legend { font-size: 21px; }
}
@media (prefers-reduced-motion: reduce) { .pw-js .pw-step.is-on { animation: none; } .pw-bar i, .pw-opt span { transition: none; } }
