.request-dialog{width:min(660px,calc(100% - 28px));max-height:min(calc(100dvh - 28px),850px);margin:auto;padding:0;border:0;border-radius:30px;background:var(--white);color:var(--ink);box-shadow:0 30px 100px #031b18a3;overflow:auto;opacity:0;transform:translateY(28px) scale(.985);transition:opacity .4s ease,transform .42s cubic-bezier(.4,0,.8,.6)}
.request-dialog.is-open{opacity:1;transform:translateY(0) scale(1);transition:opacity .9s ease,transform 1.1s cubic-bezier(.2,.76,.2,1)}
.request-dialog[open]{display:flex;flex-direction:column}
.request-dialog::backdrop{background:#031b1800;backdrop-filter:blur(0);transition:background .42s ease,backdrop-filter .42s ease}
.request-dialog.is-open::backdrop{background:#031b1899;backdrop-filter:blur(8px);transition:background .8s ease,backdrop-filter .8s ease}
.request-dialog *{box-sizing:border-box}
.request-top{position:relative;padding:28px 34px 23px;background:var(--forest);color:var(--white)}
.request-top .eyebrow{color:var(--sun);margin:0 0 6px}
.request-top h2{font-size:clamp(2rem,5vw,3rem);margin:0;max-width:500px}
.request-close{position:absolute;top:23px;right:23px;width:43px;height:43px;display:grid;place-items:center;border:1px solid #fff7;border-radius:50%;background:#ffffff17;color:#fff;cursor:pointer;font-size:1.55rem;line-height:1}
.request-close:hover{background:#ffffff2b}
.request-progress{padding:21px 34px 0;display:flex;align-items:center;gap:8px}
.request-progress span{height:7px;flex:1;border-radius:999px;background:#dce6d6;transition:background .25s,transform .25s}
.request-progress span.active{background:var(--berry)}
.request-step-label{padding:8px 34px 0;color:var(--berry);font-size:.78rem;font-weight:900;letter-spacing:.11em;text-transform:uppercase}
.request-form{padding:20px 34px 30px;min-height:0;overflow:auto}
.request-step{border:0;padding:0;margin:0;min-width:0;animation:request-enter .3s ease both}
.request-step[hidden],.request-done[hidden]{display:none}
.request-step legend{padding:0;font:900 clamp(1.65rem,4vw,2.1rem)/1.15 ui-rounded,'Avenir Next','Segoe UI',Arial,sans-serif;letter-spacing:-.04em;color:var(--forest);margin-bottom:10px}
.request-intro{color:var(--muted);margin:0 0 21px}
.request-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-bottom:22px}
.request-option{position:relative;display:block;cursor:pointer}
.request-option input{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer}
.request-option span{display:block;padding:13px 15px;border:2px solid #dce8dd;border-radius:15px;background:#fff;color:var(--forest);font-weight:800;transition:border-color .18s,background .18s,transform .18s}
.request-option input:checked+span{border-color:var(--berry);background:#fff2ef;transform:translateY(-2px)}
.request-option input:focus-visible+span{outline:3px solid var(--berry);outline-offset:3px}
.request-field{display:block;margin-bottom:18px;color:var(--forest);font-weight:800}
.request-field small{color:var(--muted);font-weight:500}
.request-field input,.request-field select,.request-field textarea{display:block;width:100%;margin-top:8px;padding:13px 15px;border:1.5px solid #cfded2;border-radius:13px;background:#fff;color:var(--ink);font:inherit;outline:none}
.request-field textarea{min-height:110px;resize:vertical}
.request-field input:focus,.request-field select:focus,.request-field textarea:focus{border-color:var(--forest2);box-shadow:0 0 0 3px #78a66c44}
.request-fields-two{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.request-summary{padding:16px 18px;margin:4px 0 18px;background:#edf4e9;border-radius:17px;color:var(--forest)}
.request-summary strong{display:block;margin-bottom:5px}
.request-summary p{margin:0;color:var(--muted);white-space:pre-line}
.request-privacy{font-size:.86rem;color:var(--muted);margin:0 0 14px}
.request-privacy a{text-decoration:underline;text-underline-offset:3px}
.request-actions{position:sticky;bottom:-30px;z-index:2;display:flex;justify-content:space-between;align-items:center;gap:12px;margin-top:24px;padding:12px 0 0;background:var(--white)}
.request-back{border:0;background:transparent;color:var(--forest);font-weight:800;cursor:pointer;padding:12px 5px}
.request-next,.request-send,.request-finish,.request-done a{border:0;border-radius:14px;background:var(--berry);color:#fff;padding:13px 20px;min-height:48px;font-weight:850;cursor:pointer;text-align:center}
.request-next:hover,.request-send:hover,.request-finish:hover,.request-done a:hover{filter:brightness(.94)}
.request-done{padding:15px 34px 32px;animation:request-enter .3s ease both}
.request-done h3{font:900 2rem/1.15 ui-rounded,'Avenir Next','Segoe UI',Arial,sans-serif;letter-spacing:-.04em;color:var(--forest);margin:0 0 12px}
.request-done p{color:var(--muted)}
.request-done-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:18px}
.request-done a{display:inline-flex;align-items:center;justify-content:center}
.request-copy{border:1px solid var(--forest2);border-radius:14px;color:var(--forest);background:transparent;padding:12px 17px;font-weight:800;cursor:pointer}
@keyframes request-enter{from{opacity:0;transform:translateX(12px)}to{opacity:1;transform:translateX(0)}}
@media(max-width:550px){.request-dialog{width:calc(100% - 18px);max-height:calc(100dvh - 20px);border-radius:22px}.request-top{padding:24px 24px 20px}.request-top h2{padding-right:35px}.request-close{top:18px;right:17px}.request-progress{padding:18px 24px 0}.request-step-label{padding:8px 24px 0}.request-form{padding:18px 24px 27px}.request-options{grid-template-columns:1fr 1fr}.request-option span{padding:11px 12px;font-size:.88rem}.request-fields-two{grid-template-columns:1fr;gap:0}.request-done{padding:15px 24px 28px}}
@media(prefers-reduced-motion:reduce){.request-dialog,.request-dialog::backdrop,.request-option span,.request-progress span{transition:none}.request-step,.request-done{animation:none}}

.request-top h2{font-family:ui-rounded,'Avenir Next','Segoe UI',Arial,sans-serif;font-weight:900;letter-spacing:-.04em}

.request-consent{display:flex;gap:11px;align-items:flex-start;margin:0 0 14px;font-size:.9rem;line-height:1.45;color:var(--ink);cursor:pointer}
.request-consent input{flex:none;width:20px;height:20px;margin:2px 0 0;accent-color:var(--berry)}
.request-consent a{text-decoration:underline;text-underline-offset:3px}
.request-hp{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}
.request-error{margin:0 0 14px;padding:11px 14px;border-radius:12px;background:#f9e3e8;color:#8c2740;font-weight:700}
.request-send:disabled{opacity:.6;cursor:progress}
.request-dialog [hidden]{display:none!important}

/* Staggered reveal of the dialog's parts on open; they fade out together (no delay) on close. */
.request-dialog .request-top,.request-dialog .request-progress,.request-dialog .request-step-label,.request-dialog .request-form,.request-dialog .request-done{opacity:0;transform:translateY(18px);transition:opacity .35s ease,transform .4s ease}
.request-dialog.is-open .request-top,.request-dialog.is-open .request-progress,.request-dialog.is-open .request-step-label,.request-dialog.is-open .request-form,.request-dialog.is-open .request-done{opacity:1;transform:none;transition:opacity .9s ease,transform 1.05s cubic-bezier(.2,.76,.2,1)}
.request-dialog.is-open .request-top{transition-delay:.12s}
.request-dialog.is-open .request-progress{transition-delay:.24s}
.request-dialog.is-open .request-step-label{transition-delay:.3s}
.request-dialog.is-open .request-form,.request-dialog.is-open .request-done{transition-delay:.38s}
/* Each step / the confirmation reveals when it appears. */
.request-step:not([hidden]),.request-done:not([hidden]) .request-done-inner,.request-done:not([hidden])>*{animation:request-reveal .8s cubic-bezier(.2,.76,.2,1) both}
@keyframes request-reveal{from{opacity:0;transform:translateY(16px)}to{opacity:1;transform:none}}
@media(prefers-reduced-motion:reduce){.request-dialog,.request-dialog.is-open,.request-dialog::backdrop,.request-dialog.is-open::backdrop,.request-dialog .request-top,.request-dialog .request-progress,.request-dialog .request-step-label,.request-dialog .request-form,.request-dialog .request-done{transition:none!important}.request-step:not([hidden]),.request-done:not([hidden])>*{animation:none}}
