body.context-quote-open{overflow:hidden}.context-quote-modal{position:fixed;inset:0;z-index:9999;display:none;align-items:center;justify-content:center;padding:20px}.context-quote-modal.is-open{display:flex}.context-quote-backdrop{position:absolute;inset:0;background:rgba(5,15,27,.78);backdrop-filter:blur(7px)}.context-quote-dialog{position:relative;width:min(820px,100%);max-height:calc(100dvh - 40px);overflow:auto;overscroll-behavior:contain;background:#fff;border:1px solid rgba(255,255,255,.55);border-radius:26px;box-shadow:0 30px 90px rgba(0,0,0,.38);padding:30px 36px 34px}.context-quote-close{position:absolute;right:18px;top:16px;width:48px;height:48px;display:grid;place-items:center;border:0;border-radius:50%;background:#f2f5f7;font-size:30px;line-height:1;cursor:pointer;color:#0f2538;transition:.18s ease;z-index:3}.context-quote-close:hover{background:#e7ecef;transform:scale(1.04)}.context-quote-close:focus-visible{outline:3px solid rgba(207,16,30,.25);outline-offset:2px}.context-quote-header{padding-right:62px;margin-bottom:20px}.context-quote-badge{display:inline-block;font-size:12px;font-weight:900;letter-spacing:.1em;text-transform:uppercase;color:#087548;background:#e9f8f0;border-radius:999px;padding:8px 13px;margin-bottom:16px}.context-quote-progress{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}.context-quote-progress span{position:relative;display:flex;align-items:center;gap:8px;color:#82909d;font-weight:800;font-size:12px}.context-quote-progress span:after{content:"";height:3px;background:#e6ebef;position:absolute;left:36px;right:-5px;top:15px;border-radius:99px}.context-quote-progress span:last-child:after{display:none}.context-quote-progress b{position:relative;z-index:2;width:30px;height:30px;border-radius:50%;display:grid;place-items:center;background:#eef2f5;color:#50606f}.context-quote-progress small{white-space:nowrap}.context-quote-progress .is-active,.context-quote-progress .is-complete{color:#16293b}.context-quote-progress .is-active b{background:#d50f1f;color:#fff;box-shadow:0 6px 16px rgba(213,15,31,.28)}.context-quote-progress .is-complete b{background:#0c8a55;color:#fff}.context-quote-progress .is-complete:after{background:#0c8a55}.context-quote-copy{text-align:center;margin:28px auto 0;max-width:680px}.context-quote-copy h3{margin:0;color:#10263a;font-size:clamp(28px,4vw,42px);line-height:1.1;letter-spacing:-.025em}.context-quote-copy p{margin:10px 0 0;color:#617080;font-size:17px;line-height:1.55}.context-quote-step{display:none}.context-quote-step.is-active{display:block}.context-problem-field{display:block;margin-top:20px}.context-problem-field span,.context-contact-grid span{display:block;font-weight:800;margin-bottom:7px;color:#173047}.context-problem-field textarea,.context-contact-grid input{width:100%;border:2px solid #d8e0e6;border-radius:14px;padding:14px 15px;font:inherit;box-sizing:border-box;background:#fff;transition:.18s ease}.context-problem-field textarea{min-height:128px;resize:vertical}.context-problem-field textarea:focus,.context-contact-grid input:focus,.context-vrm-plate input:focus{outline:4px solid rgba(213,15,31,.12);border-color:#d50f1f}.context-problem-field small,.context-contact-grid small,.context-vrm-error,.context-step-error{display:block;min-height:18px;color:#bd1e2d;font-size:13px;margin-top:5px}.context-choice-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-top:28px}.context-service-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.context-choice-card{position:relative;min-height:174px;display:flex;flex-direction:column;align-items:center;justify-content:center;border:2px solid #dbe3e8;border-radius:19px;padding:20px 14px;text-align:center;cursor:pointer;transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease,background .18s ease;background:#fff;box-shadow:0 7px 20px rgba(16,38,58,.05)}.context-choice-card:hover{transform:translateY(-4px);border-color:#bdc9d2;box-shadow:0 14px 30px rgba(16,38,58,.12)}.context-choice-card input{position:absolute;opacity:0;pointer-events:none}.context-choice-card:has(input:checked){border-color:#d50f1f;background:#fff5f6;box-shadow:0 0 0 4px rgba(213,15,31,.1),0 15px 34px rgba(213,15,31,.15);transform:translateY(-3px)}.context-choice-card:has(input:focus-visible){outline:3px solid rgba(213,15,31,.24);outline-offset:3px}.context-choice-check{position:absolute;right:12px;top:12px;width:28px;height:28px;border-radius:50%;display:grid;place-items:center;background:#edf1f4;color:transparent;font-weight:900;transition:.18s ease}.context-choice-card:has(input:checked) .context-choice-check{background:#d50f1f;color:#fff;box-shadow:0 5px 12px rgba(213,15,31,.25)}.context-choice-icon{display:grid;place-items:center;width:72px;height:72px;border-radius:18px;background:#f0f4f6;font-size:31px;margin-bottom:15px}.context-choice-card:has(input:checked) .context-choice-icon{background:#ffe5e8}.context-choice-card strong{display:block;color:#0f2639;font-size:20px}.context-choice-card small{display:block;margin-top:7px;color:#6a7986;font-size:14px;line-height:1.35}.context-quote-actions{display:flex;align-items:center;justify-content:flex-end;gap:12px;margin-top:28px}.context-quote-actions .btn-primary,.context-quote-success .btn-primary{min-height:58px;border:0;border-radius:12px;padding:15px 28px;background:linear-gradient(180deg,#e31a2b 0%,#c90b1a 100%);color:#fff;font-weight:900;font-size:17px;cursor:pointer;box-shadow:0 12px 26px rgba(207,11,27,.33),0 4px 8px rgba(0,0,0,.14);transition:transform .16s ease,box-shadow .16s ease,filter .16s ease}.context-quote-actions .btn-primary:hover,.context-quote-success .btn-primary:hover{filter:brightness(.96);transform:translateY(-2px);box-shadow:0 16px 32px rgba(207,11,27,.38),0 6px 10px rgba(0,0,0,.16)}.context-quote-actions .btn-primary:active,.context-quote-success .btn-primary:active{transform:translateY(1px);box-shadow:0 6px 14px rgba(207,11,27,.28)}.context-quote-actions .btn-primary:focus-visible,.context-quote-back:focus-visible{outline:4px solid rgba(213,15,31,.18);outline-offset:3px}.context-quote-actions .btn-primary:disabled{opacity:.65;cursor:wait;transform:none}.context-quote-back{min-height:52px;border:0;background:transparent;color:#536574;font-weight:800;padding:12px 18px;border-radius:10px;cursor:pointer}.context-quote-back:hover{background:#f0f3f5;color:#172c3d}.context-vrm-plate{display:flex;background:#ffd52b;border:3px solid #17202a;border-radius:12px;overflow:hidden;margin:28px auto 0;max-width:610px;box-shadow:0 12px 26px rgba(12,27,40,.12),inset 0 0 0 2px rgba(255,255,255,.35)}.context-vrm-gb{width:76px;background:#174fa4;color:#fff;display:flex;flex-direction:column;align-items:center;justify-content:center;font-weight:900}.context-vrm-gb b{font-size:24px}.context-vrm-gb small{font-size:10px}.context-vrm-plate input{flex:1;min-width:0;border:0;background:transparent;text-transform:uppercase;text-align:center;font-size:clamp(30px,6vw,49px);font-weight:900;letter-spacing:.09em;padding:18px 12px;color:#17202a}.context-vehicle-confirmation,.context-final-vehicle{margin-top:18px;border:1px solid #ccebdc;border-radius:14px;background:#eefaf4;padding:14px 16px;color:#087548}.context-vehicle-confirmation span,.context-final-vehicle span{display:block;font-size:12px;text-transform:uppercase;font-weight:900}.context-vehicle-confirmation strong,.context-final-vehicle strong{display:block;margin-top:4px;color:#172334}.context-contact-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-top:18px}.context-privacy{text-align:center;color:#758292;font-size:13px;margin-top:16px}.context-quote-success{text-align:center;padding:34px 12px}.context-success-tick{width:92px;height:92px;margin:0 auto 20px}.context-success-tick svg{width:100%;height:100%;fill:none;stroke:#15925a;stroke-width:4;stroke-linecap:round;stroke-linejoin:round}.context-success-tick circle{stroke-dasharray:151;stroke-dashoffset:151;animation:context-circle .6s ease forwards}.context-success-tick path{stroke-dasharray:35;stroke-dashoffset:35;animation:context-check .35s .5s ease forwards}@keyframes context-circle{to{stroke-dashoffset:0}}@keyframes context-check{to{stroke-dashoffset:0}}@media(max-width:820px){.context-quote-modal{padding:12px}.context-quote-dialog{width:100%;max-height:calc(100dvh - 24px);padding:26px 24px 30px;border-radius:20px}.context-choice-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.context-service-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.context-choice-card{min-height:150px}.context-quote-progress small{display:none}.context-quote-progress span:after{left:32px}}@media(max-width:650px){.context-quote-modal{padding:0;align-items:flex-end}.context-quote-dialog{max-height:96dvh;border-radius:22px 22px 0 0;padding:22px 16px calc(22px + env(safe-area-inset-bottom));box-shadow:0 -20px 70px rgba(0,0,0,.35)}.context-quote-close{right:12px;top:10px;width:44px;height:44px}.context-quote-header{padding-right:50px;margin-bottom:10px}.context-quote-badge{margin-bottom:12px}.context-quote-progress{gap:4px}.context-quote-progress span{justify-content:center}.context-quote-progress span:after{left:calc(50% + 16px);right:calc(-50% + 16px)}.context-quote-copy{margin-top:22px}.context-quote-copy h3{font-size:30px}.context-quote-copy p{font-size:15px}.context-choice-grid,.context-service-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:20px}.context-choice-card{min-height:132px;border-radius:15px;padding:14px 8px}.context-choice-icon{width:54px;height:54px;border-radius:14px;font-size:25px;margin-bottom:10px}.context-choice-card strong{font-size:16px}.context-choice-card small{font-size:12px}.context-choice-check{width:24px;height:24px;right:8px;top:8px}.context-contact-grid{grid-template-columns:1fr;gap:12px}.context-vrm-gb{width:58px}.context-vrm-gb b{font-size:20px}.context-vrm-plate input{font-size:30px;padding:16px 8px}.context-quote-actions{position:sticky;bottom:calc(-22px - env(safe-area-inset-bottom));z-index:4;margin:24px -16px calc(-22px - env(safe-area-inset-bottom));padding:14px 16px calc(14px + env(safe-area-inset-bottom));background:rgba(255,255,255,.96);border-top:1px solid #e7ecef;box-shadow:0 -8px 22px rgba(15,38,57,.08)}.context-quote-actions .btn-primary{flex:1;min-height:56px;padding:14px 16px}.context-quote-back{min-width:72px;padding:12px 10px}}@media(max-width:380px){.context-choice-grid,.context-service-grid{grid-template-columns:1fr}.context-choice-card{min-height:110px;display:grid;grid-template-columns:50px 1fr;column-gap:12px;text-align:left;justify-items:start}.context-choice-icon{grid-row:1/3;margin:0}.context-choice-card small{margin-top:3px}.context-quote-copy h3{font-size:27px}.context-vrm-plate input{font-size:25px;letter-spacing:.06em}.context-quote-actions{flex-wrap:wrap}.context-quote-back{order:2;width:100%}}@media(prefers-reduced-motion:reduce){.context-choice-card,.context-quote-close,.context-quote-actions .btn-primary,.context-success-tick circle,.context-success-tick path{transition:none;animation:none}}

/* Module 5.7.1: popup selection polish */
.context-quote-progress{display:none!important}
.context-quote-dialog{background:#f2f4f6!important;border:1px solid #e0e5e9!important}
.context-quote-copy{margin-top:18px!important}
.context-choice-card{
  background:#fff!important;
  border:2px solid #d5dde3!important;
  box-shadow:0 10px 24px rgba(15,38,57,.12),0 3px 8px rgba(15,38,57,.08)!important;
  transform:translateY(0);
}
.context-choice-card:hover{
  background:#eef1f3!important;
  border-color:#9eabb5!important;
  box-shadow:0 17px 34px rgba(15,38,57,.18),0 6px 12px rgba(15,38,57,.1)!important;
  transform:translateY(-5px)!important;
}
.context-choice-card strong{font-weight:900!important;color:#0b2134!important}
.context-choice-card small{font-weight:650!important;color:#596a79!important}
.context-choice-card:has(input:checked){
  background:#ffe7e9!important;
  border-color:#cf0e1d!important;
  box-shadow:0 0 0 4px rgba(207,14,29,.13),0 18px 38px rgba(207,14,29,.24),0 6px 12px rgba(0,0,0,.1)!important;
  transform:translateY(-5px)!important;
}
.context-choice-card:has(input:checked) .context-choice-icon{background:#fff!important;box-shadow:inset 0 0 0 2px rgba(207,14,29,.1)}
.context-choice-card:has(input:checked) strong{color:#b70b18!important}
.context-choice-check{background:#e8edf0!important;color:transparent!important;border:2px solid #d6dde2}
.context-choice-card:has(input:checked) .context-choice-check{background:#cf0e1d!important;border-color:#cf0e1d!important;color:#fff!important;box-shadow:0 6px 14px rgba(207,14,29,.35)!important}
.context-quote-actions .btn-primary,.context-quote-success .btn-primary{
  background:linear-gradient(180deg,#ed202f 0%,#c90717 100%)!important;
  border:1px solid #b70715!important;
  box-shadow:0 14px 28px rgba(201,7,23,.4),0 5px 10px rgba(0,0,0,.17),inset 0 1px 0 rgba(255,255,255,.23)!important;
  font-weight:900!important;
}
.context-quote-actions .btn-primary:hover,.context-quote-success .btn-primary:hover{
  background:linear-gradient(180deg,#f42b39 0%,#b90010 100%)!important;
  box-shadow:0 19px 38px rgba(201,7,23,.48),0 7px 13px rgba(0,0,0,.2),inset 0 1px 0 rgba(255,255,255,.25)!important;
}
@media(max-width:650px){
  .context-quote-dialog{background:#f2f4f6!important}
  .context-quote-copy{margin-top:10px!important}
  .context-choice-card{min-height:142px!important}
}


/* Module 5.7.2: animated vehicle lookup and final-form reveal */
.context-lookup-status{
  max-width:610px;
  margin:22px auto 4px;
  min-height:104px;
  display:grid;
  place-items:center;
  border:1px solid #dce4e9;
  border-radius:18px;
  background:rgba(255,255,255,.78);
  box-shadow:0 12px 30px rgba(15,38,57,.09);
  overflow:hidden;
}
.context-lookup-status[hidden]{display:none!important}
.context-lookup-loader{display:flex;align-items:center;justify-content:center;gap:11px}
.context-lookup-loader span{
  width:14px;height:14px;border-radius:50%;background:#cf0e1d;
  box-shadow:0 5px 12px rgba(207,14,29,.28);
  animation:contextLookupPulse .9s infinite ease-in-out;
}
.context-lookup-loader span:nth-child(2){animation-delay:.13s}
.context-lookup-loader span:nth-child(3){animation-delay:.26s}
@keyframes contextLookupPulse{0%,70%,100%{transform:translateY(0) scale(.72);opacity:.45}35%{transform:translateY(-8px) scale(1);opacity:1}}
.context-lookup-found{display:flex;align-items:center;justify-content:center;gap:16px;padding:18px 22px;animation:contextFoundPop .48s cubic-bezier(.2,.85,.3,1.25) both}
.context-lookup-found[hidden]{display:none!important}
.context-lookup-found-icon{
  width:56px;height:56px;border-radius:50%;display:grid;place-items:center;
  background:#15925a;color:#fff;font-size:30px;font-weight:950;
  box-shadow:0 10px 24px rgba(21,146,90,.3);
}
.context-lookup-found strong{display:block;color:#087548;font-size:24px;line-height:1.05;font-weight:950}
.context-lookup-found small{display:block;margin-top:6px;color:#435665;font-size:14px;font-weight:750}
@keyframes contextFoundPop{from{opacity:0;transform:scale(.82) translateY(10px)}to{opacity:1;transform:scale(1) translateY(0)}}
.context-quote-modal.is-looking-up .context-vrm-plate{box-shadow:0 0 0 5px rgba(207,14,29,.09),0 14px 32px rgba(15,38,57,.14)}
.context-quote-modal.is-vehicle-found .context-lookup-status{border-color:#bfe8d3;background:#effbf5;box-shadow:0 15px 34px rgba(21,146,90,.16)}
.context-quote-step[data-context-step="5"] .context-quote-copy,
.context-quote-step[data-context-step="5"] .context-final-vehicle,
.context-quote-step[data-context-step="5"] .context-problem-field,
.context-quote-step[data-context-step="5"] .context-contact-grid,
.context-quote-step[data-context-step="5"] .context-quote-actions,
.context-quote-step[data-context-step="5"] .context-privacy{transition:opacity .5s ease,transform .55s cubic-bezier(.2,.75,.25,1)}
.context-quote-modal.is-final-revealing .context-quote-step[data-context-step="5"] .context-quote-copy{animation:contextFinalFade .55s .05s both}
.context-quote-modal.is-final-revealing .context-quote-step[data-context-step="5"] .context-final-vehicle{animation:contextFinalFade .55s .2s both}
.context-quote-modal.is-final-revealing .context-quote-step[data-context-step="5"] .context-problem-field{animation:contextFinalFade .55s .34s both}
.context-quote-modal.is-final-revealing .context-quote-step[data-context-step="5"] .context-contact-grid{animation:contextFinalFade .55s .45s both}
.context-quote-modal.is-final-revealing .context-quote-step[data-context-step="5"] .context-quote-actions,
.context-quote-modal.is-final-revealing .context-quote-step[data-context-step="5"] .context-privacy{animation:contextFinalFade .55s .56s both}
@keyframes contextFinalFade{from{opacity:0;transform:translateY(22px)}to{opacity:1;transform:translateY(0)}}
@media(max-width:650px){
  .context-lookup-status{min-height:88px;margin-top:16px;border-radius:15px}
  .context-lookup-found-icon{width:48px;height:48px;font-size:26px}
  .context-lookup-found strong{font-size:21px}
}
@media(prefers-reduced-motion:reduce){
  .context-lookup-loader span,.context-lookup-found,
  .context-quote-modal.is-final-revealing .context-quote-step[data-context-step="5"]>*{animation:none!important}
}


/* Module 5.7.3: vehicle-found confirmation before the final contact form */
.context-vehicle-found-stage{
    min-height:520px;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    text-align:center;
    padding:44px 22px 52px;
}
.context-vehicle-found-stage[hidden],.context-final-form[hidden]{display:none!important}
.context-found-check{width:112px;height:112px;margin-bottom:22px;filter:drop-shadow(0 14px 24px rgba(18,145,89,.22))}
.context-found-check svg{width:100%;height:100%;fill:#eaf9f1;stroke:#13915a;stroke-width:4;stroke-linecap:round;stroke-linejoin:round}
.context-found-check circle{stroke-dasharray:202;stroke-dashoffset:202}
.context-found-check path{stroke-dasharray:48;stroke-dashoffset:48}
.context-found-kicker{margin:0 0 6px;color:#128253;font-size:13px;font-weight:950;letter-spacing:.13em;text-transform:uppercase}
.context-vehicle-found-stage h3{margin:0;color:#10263a;font-size:clamp(36px,6vw,58px);line-height:1.02;letter-spacing:-.035em}
.context-found-plate{margin-top:24px;display:inline-flex;align-items:center;justify-content:center;min-width:190px;padding:11px 22px;border:3px solid #17202a;border-radius:9px;background:#ffd52b;color:#111;font-size:29px;font-weight:950;letter-spacing:.1em;box-shadow:0 9px 20px rgba(15,35,50,.16)}
.context-found-title{display:block;max-width:680px;margin-top:18px;color:#12283a;font-size:21px;line-height:1.4}
.context-found-note{margin:12px 0 0;color:#617080;font-size:15px}
.context-quote-modal.is-found-stage .context-found-check circle{animation:contextFoundCircle .55s ease forwards}
.context-quote-modal.is-found-stage .context-found-check path{animation:contextFoundTick .38s .42s ease forwards}
.context-quote-modal.is-found-stage .context-vehicle-found-stage{animation:contextFoundStageIn .52s cubic-bezier(.2,.85,.28,1.12) both}
.context-quote-modal.is-found-stage-leaving .context-vehicle-found-stage{animation:contextFoundStageOut .42s ease both}
.context-quote-modal.is-final-form-visible .context-final-form{animation:contextFinalFormIn .62s cubic-bezier(.2,.72,.25,1) both}
.context-quote-modal.is-final-form-visible .context-final-form .context-quote-copy{animation:contextFinalFade .5s .05s both}
.context-quote-modal.is-final-form-visible .context-final-form .context-final-vehicle{animation:contextFinalFade .5s .16s both}
.context-quote-modal.is-final-form-visible .context-final-form .context-problem-field{animation:contextFinalFade .5s .26s both}
.context-quote-modal.is-final-form-visible .context-final-form .context-contact-grid{animation:contextFinalFade .5s .36s both}
.context-quote-modal.is-final-form-visible .context-final-form .context-quote-actions,.context-quote-modal.is-final-form-visible .context-final-form .context-privacy{animation:contextFinalFade .5s .46s both}
@keyframes contextFoundCircle{to{stroke-dashoffset:0}}
@keyframes contextFoundTick{to{stroke-dashoffset:0}}
@keyframes contextFoundStageIn{from{opacity:0;transform:translateY(16px) scale(.97)}to{opacity:1;transform:none}}
@keyframes contextFoundStageOut{to{opacity:0;transform:translateY(-22px) scale(.985)}}
@keyframes contextFinalFormIn{from{opacity:0;transform:translateY(24px)}to{opacity:1;transform:none}}
@media(max-width:650px){
    .context-vehicle-found-stage{min-height:68dvh;padding:34px 12px 42px}
    .context-found-check{width:88px;height:88px}
    .context-found-title{font-size:17px}
    .context-found-plate{min-width:160px;font-size:24px;padding:9px 17px}
}
@media(prefers-reduced-motion:reduce){
    .context-quote-modal.is-found-stage .context-found-check circle,.context-quote-modal.is-found-stage .context-found-check path,.context-quote-modal.is-found-stage .context-vehicle-found-stage,.context-quote-modal.is-found-stage-leaving .context-vehicle-found-stage,.context-quote-modal.is-final-form-visible .context-final-form,.context-quote-modal.is-final-form-visible .context-final-form>*{animation:none!important}
    .context-found-check circle,.context-found-check path{stroke-dashoffset:0}
}

/* Module 5.7.4: compact final step + higher mobile positioning */
.context-quote-modal[data-current-step="5"] .context-quote-dialog{
    width:min(760px,100%);
    padding-top:22px;
    padding-bottom:24px;
}
.context-quote-modal[data-current-step="5"] .context-quote-header{margin-bottom:6px}
.context-quote-modal[data-current-step="5"] .context-quote-badge{padding:7px 12px;margin-bottom:4px;font-size:11px}
.context-quote-modal[data-current-step="5"] .context-quote-copy{margin-top:8px;max-width:620px}
.context-quote-modal[data-current-step="5"] .context-quote-copy .eyebrow{font-size:12px;letter-spacing:.09em;margin-bottom:5px}
.context-quote-modal[data-current-step="5"] .context-quote-copy h3{font-size:clamp(27px,3.2vw,38px);line-height:1.04}
.context-quote-modal[data-current-step="5"] .context-quote-copy>p:last-child{font-size:15px;line-height:1.35;margin-top:7px}
.context-quote-modal[data-current-step="5"] .context-final-vehicle{margin-top:12px;padding:10px 14px}
.context-quote-modal[data-current-step="5"] .context-final-vehicle strong{font-size:15px;line-height:1.25}
.context-quote-modal[data-current-step="5"] .context-problem-field{margin-top:12px}
.context-quote-modal[data-current-step="5"] .context-problem-field span,
.context-quote-modal[data-current-step="5"] .context-contact-grid span{font-size:14px;margin-bottom:5px}
.context-quote-modal[data-current-step="5"] .context-problem-field textarea,
.context-quote-modal[data-current-step="5"] .context-contact-grid input{border-radius:11px;padding:10px 12px;font-size:15px}
.context-quote-modal[data-current-step="5"] .context-problem-field textarea{min-height:82px;height:82px}
.context-quote-modal[data-current-step="5"] .context-contact-grid{gap:10px 12px;margin-top:10px}
.context-quote-modal[data-current-step="5"] .context-problem-field small,
.context-quote-modal[data-current-step="5"] .context-contact-grid small{min-height:13px;margin-top:2px;font-size:11px}
.context-quote-modal[data-current-step="5"] .context-quote-actions{margin-top:12px}
.context-quote-modal[data-current-step="5"] .context-quote-actions .btn-primary{min-height:50px;padding:12px 24px;font-size:16px}
.context-quote-modal[data-current-step="5"] .context-privacy{margin-top:8px;font-size:11px}

@media(max-width:650px){
    .context-quote-modal{align-items:flex-start;padding:8px 0 0}
    .context-quote-dialog{max-height:calc(100dvh - 8px);border-radius:20px 20px 0 0;margin:0;width:100%}
    .context-quote-modal[data-current-step="4"] .context-quote-dialog{padding-top:16px}
    .context-quote-modal[data-current-step="4"] .context-quote-copy{margin-top:8px}
    .context-quote-modal[data-current-step="4"] .context-quote-copy h3{font-size:25px}
    .context-quote-modal[data-current-step="4"] .context-quote-copy p{font-size:13px;margin-top:5px}
    .context-quote-modal[data-current-step="4"] .context-vrm-plate{margin-top:14px}

    .context-quote-modal[data-current-step="5"] .context-quote-dialog{
        max-height:calc(100dvh - 8px);
        padding:14px 13px calc(14px + env(safe-area-inset-bottom));
    }
    .context-quote-modal[data-current-step="5"] .context-quote-close{width:38px;height:38px;font-size:25px;top:7px;right:8px}
    .context-quote-modal[data-current-step="5"] .context-quote-header{padding-right:42px;margin-bottom:2px}
    .context-quote-modal[data-current-step="5"] .context-quote-badge{font-size:10px;padding:6px 10px}
    .context-quote-modal[data-current-step="5"] .context-quote-copy{margin-top:3px}
    .context-quote-modal[data-current-step="5"] .context-quote-copy .eyebrow{font-size:10px;margin:0 0 3px}
    .context-quote-modal[data-current-step="5"] .context-quote-copy h3{font-size:23px;line-height:1.04}
    .context-quote-modal[data-current-step="5"] .context-quote-copy>p:last-child{font-size:12px;line-height:1.3;margin-top:4px}
    .context-quote-modal[data-current-step="5"] .context-final-vehicle{margin-top:8px;padding:8px 10px;border-radius:10px}
    .context-quote-modal[data-current-step="5"] .context-final-vehicle span{font-size:9px}
    .context-quote-modal[data-current-step="5"] .context-final-vehicle strong{font-size:12px;margin-top:2px}
    .context-quote-modal[data-current-step="5"] .context-problem-field{margin-top:8px}
    .context-quote-modal[data-current-step="5"] .context-problem-field span,
    .context-quote-modal[data-current-step="5"] .context-contact-grid span{font-size:12px;margin-bottom:3px}
    .context-quote-modal[data-current-step="5"] .context-problem-field textarea,
    .context-quote-modal[data-current-step="5"] .context-contact-grid input{padding:8px 10px;font-size:13px;border-radius:9px;border-width:1.5px}
    .context-quote-modal[data-current-step="5"] .context-problem-field textarea{min-height:62px;height:62px;line-height:1.3}
    .context-quote-modal[data-current-step="5"] .context-contact-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px 8px;margin-top:7px}
    .context-quote-modal[data-current-step="5"] .context-problem-field small,
    .context-quote-modal[data-current-step="5"] .context-contact-grid small{min-height:9px;font-size:9px;margin-top:1px}
    .context-quote-modal[data-current-step="5"] .context-quote-actions{position:static;margin-top:8px;padding:0;background:transparent;box-shadow:none}
    .context-quote-modal[data-current-step="5"] .context-quote-actions .btn-primary{width:100%;min-height:44px;padding:9px 14px;font-size:14px}
    .context-quote-modal[data-current-step="5"] .context-privacy{font-size:9px;margin-top:5px}
}
@media(max-width:370px){
    .context-quote-modal[data-current-step="5"] .context-contact-grid{grid-template-columns:1fr 1fr;gap:5px}
    .context-quote-modal[data-current-step="5"] .context-quote-copy h3{font-size:21px}
    .context-quote-modal[data-current-step="5"] .context-problem-field textarea{min-height:56px;height:56px}
}


/* Module 5.9.0: structural hooks for site-specific popup themes */
.context-quote-shell{display:block}
.context-quote-aside{display:none}
.context-quote-main{min-width:0}
.context-aside-kicker,.context-aside-points{display:none}

/* Module 5.9.1: full JLR popup redesign */
.context-quote-modal[data-site-theme="jlr"]{padding:24px}
.context-quote-modal[data-site-theme="jlr"] .context-quote-backdrop{
  background:linear-gradient(135deg, rgba(6,25,20,.9), rgba(10,43,33,.78) 45%, rgba(5,22,16,.9));
  backdrop-filter:blur(12px);
}
.context-quote-modal[data-site-theme="jlr"] .context-quote-dialog{
  width:min(1160px,100%);
  max-height:calc(100dvh - 48px);
  background:linear-gradient(180deg,#f5f8f6 0%,#edf3ef 100%);
  border:1px solid rgba(19,63,47,.10);
  border-radius:34px;
  box-shadow:0 34px 100px rgba(3,20,15,.42), inset 0 1px 0 rgba(255,255,255,.85);
  padding:28px 30px 30px;
  overflow:auto;
}
.context-quote-modal[data-site-theme="jlr"] .context-quote-dialog::before{
  content:"";position:absolute;inset:0;border-radius:34px;pointer-events:none;
  background:radial-gradient(circle at right top, rgba(39,131,92,.10), transparent 28%), radial-gradient(circle at left bottom, rgba(123,161,141,.12), transparent 26%);
}
.context-quote-modal[data-site-theme="jlr"] .context-quote-dialog > *{position:relative;z-index:1}
.context-quote-modal[data-site-theme="jlr"] .context-quote-header{padding-right:64px;margin-bottom:18px}
.context-quote-modal[data-site-theme="jlr"] .context-quote-badge{
  font-size:11px;font-weight:900;letter-spacing:.18em;text-transform:uppercase;
  color:#0f7049;background:linear-gradient(180deg,#eef8f2 0%,#dff0e6 100%);
  padding:10px 14px;border-radius:999px;border:1px solid rgba(15,112,73,.11);
  box-shadow:0 10px 22px rgba(15,112,73,.10);
}
.context-quote-modal[data-site-theme="jlr"] .context-quote-close{
  right:16px;top:14px;width:46px;height:46px;border-radius:14px;
  background:rgba(255,255,255,.62);backdrop-filter:blur(8px);
  box-shadow:inset 0 0 0 1px rgba(15,53,38,.08);color:#103526;
}
.context-quote-modal[data-site-theme="jlr"] .context-quote-close:hover{background:#eff6f1;transform:none}
.context-quote-modal[data-site-theme="jlr"] .context-quote-close:focus-visible{outline:3px solid rgba(17,114,74,.18)}
.context-quote-modal[data-site-theme="jlr"] .context-quote-shell{
  display:grid;grid-template-columns:minmax(280px,330px) minmax(0,1fr);gap:26px;align-items:start;
}
.context-quote-modal[data-site-theme="jlr"] .context-quote-aside{
  display:block;position:sticky;top:0;
}
.context-quote-modal[data-site-theme="jlr"] .context-aside-inner{
  background:linear-gradient(180deg,#103e2d 0%,#0d3023 100%);
  color:#eff8f2;border-radius:28px;padding:30px 26px;overflow:hidden;position:relative;
  box-shadow:0 24px 50px rgba(7,27,20,.24), inset 0 1px 0 rgba(255,255,255,.05);
}
.context-quote-modal[data-site-theme="jlr"] .context-aside-inner::before,
.context-quote-modal[data-site-theme="jlr"] .context-aside-inner::after{
  content:"";position:absolute;border-radius:50%;pointer-events:none;
}
.context-quote-modal[data-site-theme="jlr"] .context-aside-inner::before{
  width:220px;height:220px;right:-80px;top:-75px;background:radial-gradient(circle, rgba(82,173,128,.28) 0%, rgba(82,173,128,0) 70%);
}
.context-quote-modal[data-site-theme="jlr"] .context-aside-inner::after{
  width:170px;height:170px;left:-65px;bottom:-70px;background:radial-gradient(circle, rgba(201,228,214,.16) 0%, rgba(201,228,214,0) 70%);
}
.context-quote-modal[data-site-theme="jlr"] .context-aside-kicker{
  display:inline-flex;align-items:center;gap:8px;margin:0 0 16px;
  font-size:11px;font-weight:900;letter-spacing:.16em;text-transform:uppercase;color:#91dfb2;
}
.context-quote-modal[data-site-theme="jlr"] .context-aside-kicker::before{
  content:"";width:9px;height:9px;border-radius:50%;background:#7bddaa;box-shadow:0 0 0 6px rgba(123,221,170,.12);
}
.context-quote-modal[data-site-theme="jlr"] .context-quote-aside h4{
  margin:0;font-size:32px;line-height:1.08;letter-spacing:-.03em;color:#fff;
}
.context-quote-modal[data-site-theme="jlr"] .context-quote-aside p{
  margin:16px 0 0;font-size:15px;line-height:1.7;color:rgba(239,248,242,.78);
}
.context-quote-modal[data-site-theme="jlr"] .context-aside-points{
  display:grid;gap:10px;list-style:none;padding:0;margin:22px 0 0;
}
.context-quote-modal[data-site-theme="jlr"] .context-aside-points li{
  position:relative;padding-left:28px;color:#ecf5ef;font-size:14px;font-weight:700;line-height:1.45;
}
.context-quote-modal[data-site-theme="jlr"] .context-aside-points li::before{
  content:"✓";position:absolute;left:0;top:0;width:18px;height:18px;border-radius:50%;display:grid;place-items:center;
  font-size:12px;background:rgba(124,221,170,.16);color:#84e0af;border:1px solid rgba(124,221,170,.22);
}
.context-quote-modal[data-site-theme="jlr"] .context-quote-progress{
  display:grid;gap:10px;margin-top:28px;
}
.context-quote-modal[data-site-theme="jlr"] .context-quote-progress span{
  display:flex;align-items:center;gap:12px;padding:12px 13px;border-radius:16px;
  background:rgba(255,255,255,.05);color:rgba(239,248,242,.72);font-size:13px;font-weight:800;
}
.context-quote-modal[data-site-theme="jlr"] .context-quote-progress span:after{display:none}
.context-quote-modal[data-site-theme="jlr"] .context-quote-progress b{
  width:34px;height:34px;border-radius:12px;background:rgba(255,255,255,.08);color:rgba(255,255,255,.82);
  box-shadow:none;font-size:14px;
}
.context-quote-modal[data-site-theme="jlr"] .context-quote-progress .is-active{
  background:linear-gradient(90deg, rgba(123,221,170,.18), rgba(123,221,170,.06));
  color:#fff;box-shadow:inset 0 0 0 1px rgba(123,221,170,.17);
}
.context-quote-modal[data-site-theme="jlr"] .context-quote-progress .is-active b{background:#1b8e5f;color:#fff;box-shadow:0 8px 18px rgba(12,64,43,.26)}
.context-quote-modal[data-site-theme="jlr"] .context-quote-progress .is-complete{color:#e9f5ed;background:rgba(123,221,170,.11)}
.context-quote-modal[data-site-theme="jlr"] .context-quote-progress .is-complete b{background:#79d9a7;color:#0d3023}
.context-quote-modal[data-site-theme="jlr"] .context-quote-main{
  background:rgba(255,255,255,.74);backdrop-filter:blur(10px);
  border:1px solid rgba(19,63,47,.08);border-radius:28px;padding:28px 28px 24px;
  box-shadow:0 16px 40px rgba(16,53,38,.07), inset 0 1px 0 rgba(255,255,255,.9);
}
.context-quote-modal[data-site-theme="jlr"] .context-quote-copy{
  max-width:none;margin:0;text-align:left;
}
.context-quote-modal[data-site-theme="jlr"] .context-quote-copy h3{
  color:#0d3526;font-size:clamp(34px,4vw,56px);line-height:1.02;letter-spacing:-.045em;
}
.context-quote-modal[data-site-theme="jlr"] .context-quote-copy p{
  margin-top:12px;color:#617468;font-size:16px;line-height:1.65;max-width:640px;
}
.context-quote-modal[data-site-theme="jlr"] .context-choice-grid{
  grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin-top:28px;
}
.context-quote-modal[data-site-theme="jlr"] .context-service-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
.context-quote-modal[data-site-theme="jlr"] .context-choice-card{
  min-height:190px;align-items:flex-start;justify-content:flex-start;text-align:left;
  padding:20px 20px 18px;border:1px solid #d7e3db;border-radius:26px;
  background:linear-gradient(180deg,#ffffff 0%,#f6faf7 100%);
  box-shadow:0 14px 34px rgba(10,45,32,.06), inset 0 1px 0 rgba(255,255,255,.95);
}
.context-quote-modal[data-site-theme="jlr"] .context-choice-card::before{
  content:"";position:absolute;left:0;right:0;top:0;height:5px;border-radius:26px 26px 0 0;
  background:linear-gradient(90deg, rgba(27,142,95,.0), rgba(27,142,95,.0));transition:.2s ease;
}
.context-quote-modal[data-site-theme="jlr"] .context-choice-card:hover{
  transform:translateY(-6px);border-color:#bdd4c7;box-shadow:0 18px 40px rgba(10,45,32,.10), inset 0 1px 0 rgba(255,255,255,.95);
}
.context-quote-modal[data-site-theme="jlr"] .context-choice-card:has(input:checked){
  border-color:#1b8e5f;background:linear-gradient(180deg,#f8fdf9 0%,#eef8f1 100%);
  box-shadow:0 0 0 4px rgba(27,142,95,.10),0 20px 44px rgba(27,142,95,.16);
  transform:translateY(-4px);
}
.context-quote-modal[data-site-theme="jlr"] .context-choice-card:has(input:checked)::before{
  background:linear-gradient(90deg,#20895c 0%,#7bddaa 100%);
}
.context-quote-modal[data-site-theme="jlr"] .context-choice-check{
  width:30px;height:30px;right:14px;top:14px;background:#edf3ef;border:1px solid #d4e0d8;color:transparent;
}
.context-quote-modal[data-site-theme="jlr"] .context-choice-card:has(input:checked) .context-choice-check{
  background:linear-gradient(180deg,#1c8f60 0%,#116b46 100%);border-color:#116b46;color:#fff;box-shadow:0 10px 18px rgba(17,107,70,.22);
}
.context-quote-modal[data-site-theme="jlr"] .context-choice-icon{
  width:74px;height:74px;border-radius:22px;background:linear-gradient(180deg,#eef5f1 0%,#e8f0eb 100%);
  color:#0d3526;font-size:30px;margin-bottom:18px;box-shadow:inset 0 1px 0 rgba(255,255,255,.95);
}
.context-quote-modal[data-site-theme="jlr"] .context-choice-card:has(input:checked) .context-choice-icon{
  background:linear-gradient(180deg,#dff1e7 0%,#d3eadc 100%);color:#13734b;
}
.context-quote-modal[data-site-theme="jlr"] .context-choice-card strong{font-size:26px;line-height:1.08;color:#0d3526}
.context-quote-modal[data-site-theme="jlr"] .context-choice-card small{margin-top:10px;color:#5c7265;font-size:15px;line-height:1.45;max-width:220px}
.context-quote-modal[data-site-theme="jlr"] .context-step-error,
.context-quote-modal[data-site-theme="jlr"] .context-vrm-error,
.context-quote-modal[data-site-theme="jlr"] .context-problem-field small,
.context-quote-modal[data-site-theme="jlr"] .context-contact-grid small{margin-top:10px;color:#c33e4f}
.context-quote-modal[data-site-theme="jlr"] .context-quote-actions{justify-content:flex-start;margin-top:26px}
.context-quote-modal[data-site-theme="jlr"] .context-quote-actions .btn-primary,
.context-quote-modal[data-site-theme="jlr"] .context-quote-success .btn-primary{
  min-height:60px;padding:16px 28px;border-radius:16px;background:linear-gradient(180deg,#1f8f60 0%,#116b46 100%);
  border:1px solid #0d5f3d;box-shadow:0 16px 30px rgba(17,107,70,.26), inset 0 1px 0 rgba(255,255,255,.16);
}
.context-quote-modal[data-site-theme="jlr"] .context-quote-actions .btn-primary:hover,
.context-quote-modal[data-site-theme="jlr"] .context-quote-success .btn-primary:hover{
  filter:none;transform:translateY(-2px);background:linear-gradient(180deg,#25986a 0%,#0f613e 100%);
  box-shadow:0 20px 34px rgba(17,107,70,.30), inset 0 1px 0 rgba(255,255,255,.18);
}
.context-quote-modal[data-site-theme="jlr"] .context-quote-actions .btn-primary:focus-visible,
.context-quote-modal[data-site-theme="jlr"] .context-quote-back:focus-visible{outline:4px solid rgba(17,107,70,.14)}
.context-quote-modal[data-site-theme="jlr"] .context-vrm-plate{
  max-width:none;margin-top:28px;border-radius:18px;border:2px solid #162a22;box-shadow:0 20px 40px rgba(8,33,24,.12), inset 0 0 0 2px rgba(255,255,255,.35);
}
.context-quote-modal[data-site-theme="jlr"] .context-vrm-gb{width:90px}
.context-quote-modal[data-site-theme="jlr"] .context-vrm-plate input{font-size:clamp(34px,6vw,54px)}
.context-quote-modal[data-site-theme="jlr"] .context-problem-field span,
.context-quote-modal[data-site-theme="jlr"] .context-contact-grid span{color:#163729}
.context-quote-modal[data-site-theme="jlr"] .context-problem-field textarea,
.context-quote-modal[data-site-theme="jlr"] .context-contact-grid input{
  border:1px solid #d7e4dc;border-radius:16px;padding:15px 16px;background:#fcfefc;
}
.context-quote-modal[data-site-theme="jlr"] .context-problem-field textarea:focus,
.context-quote-modal[data-site-theme="jlr"] .context-contact-grid input:focus,
.context-quote-modal[data-site-theme="jlr"] .context-vrm-plate input:focus{
  outline:4px solid rgba(17,107,70,.10);border-color:#1f8f60;
}
.context-quote-modal[data-site-theme="jlr"] .context-vehicle-confirmation,
.context-quote-modal[data-site-theme="jlr"] .context-final-vehicle,
.context-quote-modal[data-site-theme="jlr"] .context-lookup-status{
  border-color:#d2e6da;background:rgba(245,251,247,.94);box-shadow:0 12px 28px rgba(10,45,32,.08);
}
.context-quote-modal[data-site-theme="jlr"] .context-lookup-loader span{background:#1f8f60;box-shadow:0 5px 12px rgba(31,143,96,.28)}
.context-quote-modal[data-site-theme="jlr"] .context-lookup-found-icon{background:#1f8f60;box-shadow:0 10px 24px rgba(31,143,96,.28)}
.context-quote-modal[data-site-theme="jlr"] .context-lookup-found strong,
.context-quote-modal[data-site-theme="jlr"] .context-found-kicker,
.context-quote-modal[data-site-theme="jlr"] .context-vehicle-confirmation,
.context-quote-modal[data-site-theme="jlr"] .context-final-vehicle{color:#0f6b45}
.context-quote-modal[data-site-theme="jlr"] .context-found-note,
.context-quote-modal[data-site-theme="jlr"] .context-privacy{color:#6a7f73}
.context-quote-modal[data-site-theme="jlr"] .context-success-tick svg,
.context-quote-modal[data-site-theme="jlr"] .context-found-check svg{stroke:#1f8f60}
.context-quote-modal[data-site-theme="jlr"] .context-found-check svg{fill:#edf8f1}
.context-quote-modal[data-site-theme="jlr"] .context-quote-success{padding:26px 10px 8px}
@media(max-width:1024px){
  .context-quote-modal[data-site-theme="jlr"] .context-quote-shell{grid-template-columns:1fr;gap:18px}
  .context-quote-modal[data-site-theme="jlr"] .context-quote-aside{position:static}
  .context-quote-modal[data-site-theme="jlr"] .context-quote-progress{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}
  .context-quote-modal[data-site-theme="jlr"] .context-quote-progress span{padding:10px;justify-content:center}
  .context-quote-modal[data-site-theme="jlr"] .context-quote-progress small{display:none}
}
@media(max-width:820px){
  .context-quote-modal[data-site-theme="jlr"] .context-quote-dialog{padding:20px 16px 20px}
  .context-quote-modal[data-site-theme="jlr"] .context-quote-main{padding:20px 16px 18px}
  .context-quote-modal[data-site-theme="jlr"] .context-choice-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
  .context-quote-modal[data-site-theme="jlr"] .context-service-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(max-width:650px){
  .context-quote-modal[data-site-theme="jlr"]{padding:0;align-items:flex-end}
  .context-quote-modal[data-site-theme="jlr"] .context-quote-dialog{
    max-height:97dvh;border-radius:28px 28px 0 0;padding:18px 14px calc(20px + env(safe-area-inset-bottom));
  }
  .context-quote-modal[data-site-theme="jlr"] .context-quote-header{margin-bottom:12px}
  .context-quote-modal[data-site-theme="jlr"] .context-quote-main{padding:18px 14px}
  .context-quote-modal[data-site-theme="jlr"] .context-aside-inner{padding:20px 16px;border-radius:22px}
  .context-quote-modal[data-site-theme="jlr"] .context-quote-aside h4{font-size:24px}
  .context-quote-modal[data-site-theme="jlr"] .context-quote-progress{grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;margin-top:18px}
  .context-quote-modal[data-site-theme="jlr"] .context-quote-progress span{padding:8px 6px;border-radius:12px}
  .context-quote-modal[data-site-theme="jlr"] .context-quote-progress b{width:28px;height:28px;border-radius:10px;font-size:12px}
  .context-quote-modal[data-site-theme="jlr"] .context-quote-copy h3{font-size:30px}
  .context-quote-modal[data-site-theme="jlr"] .context-quote-copy p{font-size:14px}
  .context-quote-modal[data-site-theme="jlr"] .context-choice-grid,
  .context-quote-modal[data-site-theme="jlr"] .context-service-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
  .context-quote-modal[data-site-theme="jlr"] .context-choice-card{min-height:146px;padding:14px 12px;border-radius:18px}
  .context-quote-modal[data-site-theme="jlr"] .context-choice-icon{width:56px;height:56px;border-radius:16px;font-size:24px;margin-bottom:12px}
  .context-quote-modal[data-site-theme="jlr"] .context-choice-card strong{font-size:18px}
  .context-quote-modal[data-site-theme="jlr"] .context-choice-card small{font-size:12px;margin-top:8px}
  .context-quote-modal[data-site-theme="jlr"] .context-vrm-gb{width:60px}
  .context-quote-modal[data-site-theme="jlr"] .context-vrm-plate input{font-size:28px;padding:16px 8px}
  .context-quote-modal[data-site-theme="jlr"] .context-quote-actions{position:sticky;bottom:0;padding-top:12px;background:linear-gradient(180deg, rgba(245,248,246,0), rgba(245,248,246,.92) 22%, rgba(245,248,246,.98) 100%)}
  .context-quote-modal[data-site-theme="jlr"] .context-quote-actions .btn-primary{width:100%}
  .context-quote-modal[data-site-theme="jlr"] .context-contact-grid{grid-template-columns:1fr;gap:12px}
}
