
/* ---------- step detail modal ---------- */
.step-modal{position:fixed;inset:0;z-index:200;display:grid;place-items:center;padding:1.25rem;visibility:hidden;opacity:0;transition:opacity .25s ease,visibility .25s}
.step-modal.open{visibility:visible;opacity:1}
.step-modal-backdrop{position:absolute;inset:0;background:rgba(20,35,25,.55)}
.step-modal-card{position:relative;background:#fff;border-radius:20px;max-width:440px;width:100%;padding:2.25rem 1.75rem 1.75rem;text-align:center;box-shadow:0 24px 60px rgba(0,0,0,.25);transform:translateY(14px) scale(.98);transition:transform .25s ease;max-height:calc(100vh - 40px);overflow:auto}
.step-modal.open .step-modal-card{transform:none}
.step-modal-card .step-card-icon{margin:0 auto 1rem;display:flex;justify-content:center}
.step-modal-card .step-card-icon img{max-width:140px;max-height:112px;width:auto;height:auto;display:block;border-radius:18px}
.step-modal-card h3{font-size:1.4rem;color: #1b3a5e;margin-bottom:.6rem;font-weight:900}
.step-modal-card p{color:#5a6b5d;line-height:1.65;margin:0}
.step-modal-close{position:absolute;top:.7rem;right:.7rem;width:36px;height:36px;border-radius:50%;border:1px solid #d7e8dc;background:#fff;font-size:1.25rem;line-height:1;color:#5a6b5d;cursor:pointer}
.step-modal-close:hover{background:#eef8e9;color: #1b3a5e}
.step-cards .step-card{cursor:pointer}
.step-cards .step-card:focus-visible{outline:3px solid #f4b93e;outline-offset:2px}
