.rx-lead-popup-backdrop{
  position:fixed;
  inset:0;
  z-index:2147483000;
  display:grid;
  place-items:center;
  padding:18px;
  background:rgba(4,24,39,.72);
  -webkit-backdrop-filter:blur(8px);
  backdrop-filter:blur(8px);
  opacity:0;
  visibility:hidden;
  transition:opacity .28s ease,visibility .28s ease;
}
.rx-lead-popup-backdrop[hidden]{display:none!important;}
.rx-lead-popup-backdrop.is-open{opacity:1;visibility:visible;}
.rx-lead-popup{
  position:relative;
  width:min(900px,100%);
  max-height:calc(100dvh - 36px);
  display:grid;
  grid-template-columns:minmax(300px,1.06fr) minmax(280px,.94fr);
  overflow:auto;
  overscroll-behavior:contain;
  border:1px solid rgba(8,31,51,.12);
  border-radius:26px;
  background:#fff;
  box-shadow:0 36px 100px rgba(0,0,0,.34);
  color:#081f33;
  font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  transform:translateY(22px) scale(.97);
  transition:transform .34s cubic-bezier(.22,.7,.2,1);
}
.rx-lead-popup-backdrop.is-open .rx-lead-popup{transform:translateY(0) scale(1);}
.rx-lead-popup-close{
  position:absolute;
  top:12px;
  right:12px;
  z-index:3;
  width:42px;
  height:42px;
  display:grid;
  place-items:center;
  padding:0;
  border:1px solid rgba(8,31,51,.12);
  border-radius:50%;
  background:rgba(255,255,255,.95);
  box-shadow:0 10px 28px rgba(8,31,51,.16);
  color:#081f33;
  font:500 28px/1 Arial,sans-serif;
  cursor:pointer;
  transition:transform .2s ease,background .2s ease;
}
.rx-lead-popup-close:hover,.rx-lead-popup-close:focus-visible{transform:rotate(6deg) scale(1.05);background:#fff;}
.rx-lead-popup-close:focus-visible{outline:3px solid rgba(10,132,255,.36);outline-offset:2px;}
.rx-lead-popup-media{
  min-height:420px;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:12px;
  background:#fff;
}
.rx-lead-popup-media img{
  display:block;
  width:100%;
  height:100%;
  max-height:690px;
  object-fit:contain;
  border-radius:18px;
}
.rx-lead-popup-body{
  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:flex-start;
  padding:64px clamp(24px,4vw,46px) 42px;
  background:linear-gradient(145deg,#f5fcff 0%,#fff 48%,#f5fffe 100%);
}
.rx-lead-popup-kicker{
  display:inline-flex;
  margin:0 0 14px;
  color:#0788d1;
  font-family:"JetBrains Mono",ui-monospace,monospace;
  font-size:.68rem;
  font-weight:700;
  letter-spacing:.12em;
  text-transform:uppercase;
}
.rx-lead-popup h2{
  margin:0 0 14px;
  color:#081f33;
  font-family:Fraunces,Georgia,serif;
  font-size:clamp(2rem,4vw,3.15rem);
  font-weight:600;
  line-height:1.02;
  letter-spacing:-.025em;
}
.rx-lead-popup-copy{
  margin:0 0 24px;
  color:#536675;
  font-size:1rem;
  line-height:1.65;
}
.rx-lead-popup-actions{width:100%;display:grid;gap:11px;}
.rx-lead-popup-action{
  min-height:50px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:9px;
  padding:13px 18px;
  border-radius:999px;
  text-decoration:none;
  font-size:.96rem;
  font-weight:800;
  line-height:1;
  transition:transform .2s ease,box-shadow .2s ease;
}
.rx-lead-popup-action:hover,.rx-lead-popup-action:focus-visible{transform:translateY(-2px);}
.rx-lead-popup-action:focus-visible{outline:3px solid rgba(10,132,255,.3);outline-offset:2px;}
.rx-lead-popup-call{background:#081f33;color:#fff;box-shadow:0 14px 28px -18px rgba(8,31,51,.75);}
.rx-lead-popup-wa{background:#1fa855;color:#fff;box-shadow:0 14px 28px -18px rgba(31,168,85,.78);}
.rx-lead-popup-action svg{width:20px;height:20px;flex:0 0 auto;fill:currentColor;}
.rx-lead-popup-note{
  margin:16px 0 0;
  color:#536675;
  font-family:"JetBrains Mono",ui-monospace,monospace;
  font-size:.68rem;
  line-height:1.55;
  letter-spacing:.05em;
  text-transform:uppercase;
}
html.rx-lead-popup-lock,html.rx-lead-popup-lock body{overflow:hidden;}
@media (max-width:700px){
  .rx-lead-popup-backdrop{padding:12px;}
  .rx-lead-popup{width:min(520px,100%);grid-template-columns:1fr;border-radius:22px;}
  .rx-lead-popup-media{min-height:0;padding:10px 10px 0;}
  .rx-lead-popup-media img{width:auto;max-width:100%;height:auto;max-height:52dvh;border-radius:15px;}
  .rx-lead-popup-body{padding:24px 20px 26px;}
  .rx-lead-popup h2{font-size:clamp(1.75rem,8vw,2.35rem);}
  .rx-lead-popup-copy{margin-bottom:18px;font-size:.94rem;}
}
@media (max-width:380px){
  .rx-lead-popup-backdrop{padding:8px;}
  .rx-lead-popup{max-height:calc(100dvh - 16px);border-radius:18px;}
  .rx-lead-popup-close{top:8px;right:8px;width:38px;height:38px;font-size:25px;}
  .rx-lead-popup-media img{max-height:48dvh;}
  .rx-lead-popup-body{padding:18px 16px 20px;}
  .rx-lead-popup-kicker{margin-bottom:9px;font-size:.6rem;}
  .rx-lead-popup h2{margin-bottom:9px;font-size:1.65rem;}
  .rx-lead-popup-copy{font-size:.88rem;line-height:1.5;}
  .rx-lead-popup-action{min-height:46px;padding:11px 14px;font-size:.9rem;}
  .rx-lead-popup-note{margin-top:12px;font-size:.6rem;}
}
@media (prefers-reduced-motion:reduce){
  .rx-lead-popup-backdrop,.rx-lead-popup,.rx-lead-popup-close,.rx-lead-popup-action{transition:none!important;}
}
