.montese-diagnostic { position: relative; z-index: 3; max-width: 1040px; margin: 0 auto; padding: 42px 48px; border: 1px solid rgba(0,30,80,.08); border-radius: 6px 30px 6px 30px; background: #fff; box-shadow: 0 25px 70px rgba(0,30,80,.12); }
.md-progress { display: flex; align-items: center; gap: 16px; margin-bottom: 36px; color: #001e50; font-size: 10px; font-weight: 800; }
.md-progress i { position: relative; flex: 1; height: 2px; overflow: hidden; background: #e7eef3; }
.md-progress b { display: block; width: 0; height: 100%; background: #43c002; transition: width .35s ease; }
.md-step { display: none; min-width: 0; margin: 0; padding: 0; border: 0; animation: md-in .35s ease both; }
.md-step.is-active { display: block; }
.md-step legend { width: 100%; margin-bottom: 25px; color: #001e50; font-size: clamp(23px, 3vw, 34px); font-weight: 800; letter-spacing: -.035em; }
.md-step legend small { display: block; margin-bottom: 8px; color: #43c002; font-size: 9px; letter-spacing: .12em; text-transform: uppercase; }
.md-options { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.md-options label { cursor: pointer; }
.md-options input { position: absolute; opacity: 0; pointer-events: none; }
.md-options label > span { position: relative; min-height: 122px; display: flex; flex-direction: column; justify-content: center; padding: 22px; overflow: hidden; border: 1px solid rgba(0,30,80,.12); border-radius: 3px 14px 3px 14px; background: #f8fafb; transition: border .2s, background .2s, transform .2s; }
.md-options label > span::after { content: ''; position: absolute; right: -22px; bottom: -42px; width: 36px; height: 110px; opacity: 0; background: #43c002; transform: rotate(38deg); transition: opacity .2s, right .2s; }
.md-options b { color: #001e50; font-size: 16px; }
.md-options small { margin-top: 5px; color: #69778b; font-size: 11px; }
.md-options input:focus-visible + span { outline: 3px solid rgba(67,192,2,.26); outline-offset: 2px; }
.md-options input:checked + span { border-color: #43c002; background: rgba(67,192,2,.07); transform: translateY(-3px); }
.md-options input:checked + span::after { right: -12px; opacity: .75; }
.md-actions { display: flex; justify-content: space-between; align-items: center; margin-top: 28px; }
.md-actions button { min-height: 48px; border: 0; cursor: pointer; font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.md-back { padding: 0; color: #708096; background: transparent; }
.md-back:disabled { opacity: .3; cursor: default; }
.md-next { min-width: 180px; padding: 0 22px; border-radius: 3px 12px 3px 12px; color: #001e50; background: #43c002; box-shadow: 0 12px 25px rgba(67,192,2,.18); }
.md-next span { margin-left: 11px; }
.md-disclaimer { margin: 18px 0 -4px; padding-top: 14px; border-top: 1px solid rgba(0,30,80,.08); color: #69778b; font-size: 10px; line-height: 1.6; }
.md-status { min-height: 22px; margin: 12px 0 -10px; color: #001e50; font-size: 11px; text-align: right; }
@keyframes md-in { from { opacity: 0; transform: translateX(14px); } to { opacity: 1; transform: none; } }
@media (max-width: 700px) { .montese-diagnostic { padding: 30px 22px; } .md-options { grid-template-columns: 1fr; } .md-options label > span { min-height: 86px; } }
@media (prefers-reduced-motion: reduce) { .md-step { animation: none; } }

.montese-lead { position: relative; z-index: 3; display: grid; grid-template-columns: .72fr 1.28fr; gap: 58px; padding: 52px; overflow: hidden; border: 1px solid rgba(255,255,255,.13); border-radius: 6px 30px 6px 30px; color: #fff; background: #001e50; box-shadow: 0 30px 70px rgba(0,30,80,.22); }
.montese-lead::after { content: ''; position: absolute; right: -64px; top: -100px; width: 160px; height: 420px; opacity: .12; background: #43c002; transform: rotate(36deg); pointer-events: none; }
.ml-heading { position: relative; z-index: 1; }
.ml-heading small { color: #43c002; font-size: 10px; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; }
.ml-heading h3 { margin: 16px 0 20px; color: #fff; font-size: clamp(30px, 4vw, 46px); line-height: 1.08; letter-spacing: -.045em; }
.ml-heading p { margin: 0; color: rgba(255,255,255,.62); font-size: 13px; line-height: 1.75; }
.ml-form { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.ml-field { display: flex; flex-direction: column; gap: 7px; }
.ml-field--wide, .ml-consent, .ml-submit { grid-column: 1 / -1; }
.ml-field label { color: rgba(255,255,255,.7); font-size: 9px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.ml-field input, .ml-field select { width: 100%; min-height: 50px; padding: 0 15px; border: 1px solid rgba(255,255,255,.16); border-radius: 3px 10px 3px 10px; outline: 0; color: #fff; background: rgba(255,255,255,.06); transition: border-color .2s, background .2s; }
.ml-field select { appearance: auto; color-scheme: dark; }
.ml-field input:focus, .ml-field select:focus { border-color: #43c002; background: rgba(255,255,255,.1); box-shadow: 0 0 0 3px rgba(67,192,2,.13); }
.ml-field input::placeholder { color: rgba(255,255,255,.35); }
.ml-consent { display: grid; grid-template-columns: 18px 1fr; gap: 10px; align-items: start; color: rgba(255,255,255,.58); font-size: 10px; line-height: 1.55; }
.ml-consent input { margin-top: 3px; accent-color: #43c002; }
.ml-consent a { color: #43c002; text-decoration: underline; }
.ml-submit { display: flex; align-items: center; gap: 18px; margin-top: 3px; }
.ml-submit button { min-height: 52px; padding: 0 24px; border: 0; border-radius: 3px 13px 3px 13px; color: #001e50; background: #43c002; cursor: pointer; font-size: 10px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; box-shadow: 0 13px 30px rgba(67,192,2,.2); }
.ml-submit button:disabled { opacity: .55; cursor: wait; }
.ml-submit p { margin: 0; color: rgba(255,255,255,.66); font-size: 10px; }
.ml-submit p.is-success { color: #58dc0d; }
.ml-submit p.is-error { color: #fff; }
.ml-honeypot { position: absolute !important; left: -9999px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
@media (max-width: 820px) { .montese-lead { grid-template-columns: 1fr; gap: 38px; padding: 38px 30px; } }
@media (max-width: 540px) { .ml-form { grid-template-columns: 1fr; } .ml-field--wide, .ml-consent, .ml-submit { grid-column: auto; } .ml-submit { align-items: stretch; flex-direction: column; } }
