/* Start a Project V2 — adaptive questions + redesigned review.
   Loaded after start-project.css; only the deltas live here. */

.wizard-v2 .step-heading,
.wizard-v2 .step-panel{width:min(880px,100%)}

/* ---- Step 1: multi-select service cards ---- */
.wizard-v2 .service-grid{gap:10px}
.wizard-v2 .service-card,
.wizard-v2 .service-card:first-of-type{
  grid-template-columns:120px minmax(0,1fr) 44px;
  border:1px solid var(--line);
  border-radius:20px;
  background:rgba(255,255,255,.62);
  padding:12px 18px 12px 12px;
  min-height:104px;
}
.wizard-v2 .service-card:hover,
.wizard-v2 .service-card:first-of-type:hover{border-color:rgba(9,108,240,.3);background:rgba(255,255,255,.92);border-radius:20px}
.wizard-v2 .service-card:has(input:checked),
.wizard-v2 .service-card:first-of-type:has(input:checked){border-color:rgba(9,108,240,.5);border-radius:20px;background:rgba(222,236,255,.85);box-shadow:0 0 0 3px var(--focus)}
.wizard-v2 .card-arrow{
  width:28px;height:28px;border-radius:9px;
  border:1.5px solid rgba(24,48,89,.24);
  background:#fff;justify-self:end;
  transition:background .18s ease,border-color .18s ease;
}
.wizard-v2 .card-arrow::before{display:none}
.wizard-v2 .service-card:hover .card-arrow{background:#fff;color:var(--blue);border-color:rgba(9,108,240,.45)}
.wizard-v2 .service-card:has(input:checked) .card-arrow{
  background:var(--blue);border-color:var(--blue);color:#fff;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 8.4l3 3 6-6.6' fill='none' stroke='%23fff' stroke-width='2.1' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat:no-repeat;background-position:center;
}
/* ---- Field labels ---- */
.wizard-v2 .field-label{display:block;color:var(--navy);font-size:14px;font-weight:600;line-height:1.4}
.wizard-v2 .field-label em{font-style:normal;color:var(--muted);font-weight:500;font-size:12px;letter-spacing:.02em}
.wizard-v2 .field-help{display:block;margin-top:5px;color:var(--muted);font-size:13px;font-weight:400;line-height:1.5}
.wizard-v2 .field-brief textarea{min-height:140px}

/* ---- Step 2: adaptive project-type groups ---- */
.wizard-v2 .type-group{
  margin:0 0 18px;padding:22px 24px;border:1px solid var(--line);
  border-radius:22px;background:rgba(255,255,255,.66);
}
.wizard-v2 .type-group legend{
  float:left;display:flex;align-items:baseline;gap:12px;width:100%;padding:0 0 14px;
  color:var(--navy);font-size:18px;font-weight:700;letter-spacing:-.02em;
}
.wizard-v2 .type-group legend+*{clear:both}
.wizard-v2 .type-group legend small{margin-left:auto;color:var(--muted);font-size:12px;font-weight:500;letter-spacing:.01em}
.wizard-v2 .type-options{display:flex;flex-wrap:wrap;gap:8px}
.wizard-v2 .type-option{
  position:relative;display:inline-flex;align-items:center;gap:8px;
  padding:9px 15px 9px 12px;border:1px solid var(--line-strong);border-radius:999px;
  background:#fff;color:var(--ink);font-size:14px;line-height:1.25;cursor:pointer;
  transition:border-color .15s ease,background .15s ease,color .15s ease;
}
.wizard-v2 .type-option input{position:absolute;opacity:0;pointer-events:none}
.wizard-v2 .type-option::before{
  content:"";width:15px;height:15px;flex:none;border:1.5px solid rgba(24,48,89,.3);
  border-radius:5px;transition:inherit;
}
.wizard-v2 .type-option:hover{border-color:rgba(9,108,240,.45)}
.wizard-v2 .type-option:has(input:checked){border-color:var(--blue);background:rgba(9,108,240,.08);color:#0a3d8f;font-weight:600}
.wizard-v2 .type-option:has(input:checked)::before{
  border-color:var(--blue);background:var(--blue);
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 8.4l3 3 6-6.6' fill='none' stroke='%23fff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat:no-repeat;background-position:center;
}
.wizard-v2 .type-option:has(input:focus-visible){outline:3px solid var(--blue);outline-offset:3px}
.wizard-v2 .type-option-soft:has(input:checked){border-color:rgba(24,48,89,.4);background:rgba(24,48,89,.06);color:var(--navy)}
.wizard-v2 .type-option-soft:has(input:checked)::before{border-color:var(--navy);background:var(--navy);background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 8.4l3 3 6-6.6' fill='none' stroke='%23fff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:center}
.wizard-v2 .type-other{display:block;margin:14px 0 0}
.wizard-v2 .type-other input{height:50px}
.wizard-v2 .group-error{
  display:block;margin:12px 0 0;padding:9px 13px;border-radius:11px;
  background:#fff1ef;color:#8e2e20;font-size:12px;font-weight:600;
}

.wizard-v2 .optional-block{margin-top:26px;padding-top:22px;border-top:1px solid var(--line)}
.wizard-v2 .optional-head{
  display:flex;align-items:baseline;gap:12px;flex-wrap:wrap;margin:0 0 16px;
  color:var(--navy);font-size:15px;font-weight:700;
}
.wizard-v2 .optional-head span{color:var(--muted);font-size:13px;font-weight:500}
.wizard-v2 .contact-note{margin:-4px 0 18px;color:var(--muted);font-size:13px;line-height:1.55}

/* ---- Step 4: review ---- */
.wizard-v2 .review{display:grid;gap:14px}
.wizard-v2 .review-card{
  border:1px solid var(--line);border-radius:22px;overflow:hidden;
  background:rgba(255,255,255,.82);
  box-shadow:0 8px 26px rgba(15,35,70,.05);
}
.wizard-v2 .review-head{
  display:flex;align-items:center;gap:14px;
  padding:16px 22px;border-bottom:1px solid var(--line);
  background:rgba(240,246,255,.6);
}
.wizard-v2 .review-index{
  display:grid;place-items:center;width:26px;height:26px;flex:none;
  border-radius:50%;background:var(--blue);color:#fff;
  font-size:11px;font-weight:700;
}
.wizard-v2 .review-head h3{
  margin:0;flex:1 1 auto;color:var(--navy);font-size:12px;font-weight:700;
  letter-spacing:.14em;text-transform:uppercase;
}
.wizard-v2 .review-change{
  margin-left:auto;min-height:34px;padding:6px 15px;
  border:1px solid rgba(9,108,240,.28);border-radius:999px;
  background:rgba(255,255,255,.9);color:var(--blue);
  font-size:13px;font-weight:600;
}
.wizard-v2 .review-change:hover{background:var(--blue);border-color:var(--blue);color:#fff}
.wizard-v2 .review-body{padding:6px 22px 18px}

.wizard-v2 .review-cat{display:grid;grid-template-columns:210px minmax(0,1fr);gap:20px;padding:16px 0;border-top:1px solid var(--line)}
.wizard-v2 .review-cat:first-child{border-top:0}
.wizard-v2 .review-cat-name{color:var(--navy);font-size:15px;font-weight:700;line-height:1.35}
.wizard-v2 .review-pills{display:flex;flex-wrap:wrap;gap:7px}
.wizard-v2 .review-pill{
  padding:6px 13px;border-radius:999px;background:rgba(9,108,240,.09);
  color:#0a3d8f;font-size:13px;font-weight:600;line-height:1.3;
}
.wizard-v2 .review-pill-note{background:rgba(24,48,89,.07);color:var(--navy);font-weight:500}
.wizard-v2 .review-other{margin:9px 0 0;color:var(--muted);font-size:13px;line-height:1.5;overflow-wrap:anywhere}
.wizard-v2 .review-other b{color:var(--navy);font-weight:600}

.wizard-v2 .review-quote{
  margin:14px 0 0;padding:2px 0 2px 18px;border-left:3px solid var(--blue);
  color:var(--ink);font-size:16px;line-height:1.6;white-space:pre-wrap;overflow-wrap:anywhere;
}
.wizard-v2 .review-rows{margin:0}
.wizard-v2 .review-row{display:grid;grid-template-columns:210px minmax(0,1fr);gap:20px;padding:13px 0;border-top:1px solid var(--line)}
.wizard-v2 .review-row:first-child{border-top:0}
.wizard-v2 .review-row dt{color:var(--muted);font-size:13px;font-weight:600;line-height:1.4}
.wizard-v2 .review-row dd{margin:0;color:var(--ink);font-size:15px;font-weight:500;line-height:1.45;overflow-wrap:anywhere}
.wizard-v2 .review-row dd.is-empty{color:#8993a3;font-weight:400;font-style:italic}
.wizard-v2 .review-row dd a{color:var(--blue);text-decoration:none}
.wizard-v2 .review-row dd a:hover{text-decoration:underline;text-underline-offset:3px}
.wizard-v2 .review-panel .delivery-note{margin-top:18px;font-size:13px}

/* ---- Sent state ---- */
.wizard-v2.is-thank-you .step-heading{display:none}
.wizard-v2.is-thank-you .form-body{align-content:center;align-content:safe center}
.wizard-v2 .success-panel{
  display:grid;justify-items:center;gap:0;
  width:min(960px,100%);margin:0 auto;padding:8px 0 28px;text-align:center;
}
.wizard-v2 .success-title:focus{outline:none}
.wizard-v2 .success-title{
  margin:0;max-width:18ch;
  font:700 clamp(42px,5.2vw,72px)/1.02 -apple-system,BlinkMacSystemFont,"SF Pro Display","Helvetica Neue",Arial,sans-serif;
  letter-spacing:-.035em;color:var(--ink);
}
.wizard-v2 .success-panel>p.success-lede{
  max-width:54ch;margin:32px 0 0;color:var(--muted);
  font-size:18px;line-height:1.6;letter-spacing:-.01em;
}
.wizard-v2 .success-lede strong{color:var(--navy);font-weight:600}
.wizard-v2 .success-tags{display:flex;flex-wrap:wrap;justify-content:center;gap:8px;margin-top:28px}
.wizard-v2 .success-tag{
  padding:7px 15px;border-radius:999px;background:rgba(9,108,240,.09);
  color:#0a3d8f;font-size:13px;font-weight:600;line-height:1.3;
}
.wizard-v2 .success-next{
  display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;
  width:100%;margin:52px 0 0;padding:0;list-style:none;text-align:left;
}
.wizard-v2 .success-next li{
  display:grid;align-content:start;gap:7px;
  padding:24px 22px;border:1px solid var(--line);border-radius:22px;
  background:rgba(255,255,255,.82);box-shadow:0 8px 26px rgba(15,35,70,.05);
}
.wizard-v2 .success-next strong{color:var(--navy);font-size:16px;font-weight:600;letter-spacing:-.01em}
.wizard-v2 .success-next small{color:var(--muted);font-size:13px;line-height:1.5}
.wizard-v2 .success-panel>p.success-reference{
  max-width:none;margin:46px 0 0;padding-top:24px;color:var(--muted);
  font-size:13px;font-weight:500;letter-spacing:.01em;
}
.wizard-v2 .success-reference::before{
  content:"";display:block;width:56px;height:1px;margin:0 auto 24px;background:var(--line-strong);
}
.wizard-v2 .success-reference:empty{display:none}

@media(max-width:760px){
  .wizard-v2 .success-panel{padding:4px 0 8px;text-align:left;justify-items:start}
  .wizard-v2 .success-title{max-width:none;font-size:clamp(34px,9.5vw,44px)}
  .wizard-v2 .success-panel>p.success-lede{font-size:16px;margin-top:20px}
  .wizard-v2 .success-tags{justify-content:flex-start;margin-top:20px}
  .wizard-v2 .success-next{grid-template-columns:1fr;gap:10px;margin-top:34px}
  .wizard-v2 .success-next li{padding:16px 16px;border-radius:18px}
  .wizard-v2 .success-panel>p.success-reference{margin-top:32px;padding-top:20px}
  .wizard-v2 .success-reference::before{margin:0 0 20px}
  .wizard-v2 .type-group{padding:18px 16px;border-radius:18px}
  .wizard-v2 .type-group legend{flex-wrap:wrap;gap:4px;font-size:16px}
  .wizard-v2 .type-group legend small{margin-left:0;width:100%}
  .wizard-v2 .type-option{font-size:13px;padding:8px 13px 8px 11px}
  .wizard-v2 .review-head{padding:14px 16px}
  .wizard-v2 .review-body{padding:4px 16px 16px}
  .wizard-v2 .review-cat,.wizard-v2 .review-row{grid-template-columns:1fr;gap:8px;padding:13px 0}
  .wizard-v2 .review-quote{font-size:15px}
  .wizard-v2 .service-card,.wizard-v2 .service-card:first-of-type{grid-template-columns:78px minmax(0,1fr) 30px;gap:12px;min-height:84px;padding:9px 12px 9px 9px;border-radius:16px}
}
