.lead-popup { position:fixed; inset:0; z-index:1000; padding:22px; display:grid; place-items:center; opacity:0; visibility:hidden; transition:opacity .24s ease,visibility 0s linear .24s; }
.lead-popup.is-open { opacity:1; visibility:visible; transition:opacity .24s ease; }
.lead-popup__backdrop { position:absolute; inset:0; border:0; background:rgba(7,8,35,.74); backdrop-filter:blur(9px); cursor:pointer; }
.lead-popup__dialog { position:relative; width:min(920px,100%); max-height:calc(100svh - 44px); overflow:auto; display:grid; grid-template-columns:.82fr 1.18fr; border:1px solid rgba(255,255,255,.88); border-radius:34px; background:#f8f5ff; box-shadow:0 35px 90px rgba(6,6,35,.42); transform:translateY(18px) scale(.98); transition:transform .3s ease; }
.lead-popup.is-open .lead-popup__dialog { transform:none; }
.lead-popup__visual { position:relative; min-height:590px; padding:46px 38px; overflow:hidden; color:#fff; background:radial-gradient(circle at 72% 18%,rgba(167,127,255,.78),transparent 29%),radial-gradient(circle at 10% 84%,rgba(255,115,183,.42),transparent 33%),linear-gradient(145deg,#17175a,#372082 56%,#7542b7); }
.lead-popup__visual::before { content:""; position:absolute; inset:0; opacity:.34; background-image:radial-gradient(circle,#fff 1px,transparent 1.4px); background-size:35px 35px; mask-image:linear-gradient(#000,transparent 92%); }
.lead-popup__brand,.lead-popup__visual-copy,.lead-popup__benefits { position:relative; z-index:1; }
.lead-popup__brand { width:174px; height:68px; padding:7px 13px; object-fit:contain; border-radius:16px; background:rgba(255,255,255,.9); }
.lead-popup__visual-copy { margin-top:62px; }
.lead-popup__eyebrow { color:#ffd7b6; font-size:11px; font-weight:900; letter-spacing:.09em; text-transform:uppercase; }
.lead-popup__visual h2 { margin:16px 0 0; font-size:clamp(34px,4vw,50px); line-height:.95; letter-spacing:-.045em; }
.lead-popup__visual p { margin:20px 0 0; color:rgba(255,255,255,.72); font-size:15px; line-height:1.55; }
.lead-popup__benefits { margin:35px 0 0; padding:0; display:grid; gap:13px; list-style:none; }
.lead-popup__benefits li { display:flex; gap:11px; align-items:center; color:rgba(255,255,255,.9); font-size:13px; font-weight:750; }
.lead-popup__benefits li::before { content:"✓"; width:24px; height:24px; display:grid; place-items:center; flex:0 0 24px; border-radius:50%; color:#fff; background:linear-gradient(135deg,#ff9614,#ff5a00); font-size:12px; }
.lead-popup__form-wrap { position:relative; padding:50px 50px 42px; }
.lead-popup__close { position:absolute; top:18px; right:18px; z-index:2; width:42px; height:42px; display:grid; place-items:center; border:0; border-radius:50%; color:#302a61; background:#fff; box-shadow:0 8px 20px rgba(59,42,121,.12); font-size:26px; line-height:1; cursor:pointer; }
.lead-popup__close:hover { color:#fff; background:#ff6b0a; }
.lead-popup__form-heading span { color:#ff6b0a; font-size:11px; font-weight:900; letter-spacing:.09em; text-transform:uppercase; }
.lead-popup__form-heading h3 { margin:9px 0 0; color:#17164b; font-size:31px; line-height:1; letter-spacing:-.035em; }
.lead-popup__form-heading p { margin:12px 0 0; color:#6b657b; font-size:13px; line-height:1.5; }
.lead-popup__form { margin-top:27px; display:grid; gap:15px; }
.lead-popup__field { display:grid; gap:7px; }
.lead-popup__field>span { color:#35304f; font-size:12px; font-weight:800; }
.lead-popup__field input,.lead-popup__field select { width:100%; min-height:54px; padding:0 16px; border:1px solid #e1dbf0; border-radius:14px; outline:0; color:#201c46; background:#fff; font:inherit; font-size:14px; transition:border-color .2s,box-shadow .2s; }
.lead-popup__field input:focus,.lead-popup__field select:focus { border-color:#7353d1; box-shadow:0 0 0 4px rgba(115,83,209,.12); }
.lead-popup__row { display:grid; grid-template-columns:1fr 1fr; gap:12px; }
.lead-popup__row--single { grid-template-columns:1fr; }
.lead-popup__consent { display:grid; grid-template-columns:20px 1fr; gap:9px; align-items:start; color:#777184; font-size:11px; line-height:1.45; cursor:pointer; }
.lead-popup__consent input { width:17px; height:17px; margin:0; accent-color:#ff6b0a; }
.lead-popup__consent a { color:#5436bd; text-decoration:underline; text-underline-offset:2px; }
.lead-popup__submit { min-height:58px; border:0; border-radius:15px; color:#fff; background:linear-gradient(135deg,#ff9712,#ff5a00); box-shadow:0 15px 28px rgba(255,91,0,.25); font:inherit; font-size:15px; font-weight:900; cursor:pointer; transition:transform .2s,box-shadow .2s; }
.lead-popup__submit:hover { transform:translateY(-2px); box-shadow:0 18px 32px rgba(255,91,0,.34); }
.lead-popup__submit:disabled { cursor:default; transform:none; opacity:.75; }
.lead-popup__status { min-height:18px; margin:0; color:#4c3ab2; font-size:12px; font-weight:750; text-align:center; }
.contact-form__status[data-status="success"],.blog-form__status[data-status="success"],.lead-popup__status[data-status="success"] { color:#238348; }
.contact-form__status[data-status="error"],.blog-form__status[data-status="error"],.lead-popup__status[data-status="error"] { color:#c53a3a; }
body.has-lead-popup { overflow:hidden; }
@media(max-width:760px){
  .lead-popup{padding:10px;align-items:end}
  .lead-popup__dialog{max-height:calc(100svh - 20px);grid-template-columns:1fr;border-radius:27px}
  .lead-popup__visual{min-height:auto;padding:25px 25px 24px}
  .lead-popup__brand{width:138px;height:54px}
  .lead-popup__visual-copy{margin-top:23px}
  .lead-popup__visual h2{max-width:440px;font-size:33px}
  .lead-popup__visual p{margin-top:12px;font-size:13px}
  .lead-popup__benefits{margin-top:20px;grid-template-columns:repeat(3,1fr);gap:8px}
  .lead-popup__benefits li{align-items:flex-start;font-size:10px;line-height:1.25}
  .lead-popup__benefits li::before{width:20px;height:20px;flex-basis:20px}
  .lead-popup__form-wrap{padding:35px 24px 24px}
  .lead-popup__close{top:13px;right:13px;width:37px;height:37px;font-size:23px}
  .lead-popup__form-heading h3{font-size:27px}
  .lead-popup__form{margin-top:20px;gap:12px}
}
@media(max-width:470px){.lead-popup__row{grid-template-columns:1fr}.lead-popup__visual p{display:none}.lead-popup__benefits{grid-template-columns:1fr 1fr}.lead-popup__benefits li:last-child{display:none}}
@media(prefers-reduced-motion:reduce){.lead-popup,.lead-popup__dialog{transition:none}}
