/* Scroll pop-up (free demo form). Added by js/main.js. */
.kv-modal { border: 0; padding: 0; border-radius: 28px; width: min(460px, calc(100% - 2rem)); max-height: calc(100vh - 2rem); overflow: auto; background: #fff; color: var(--navy); box-shadow: 0 40px 100px rgba(4,12,28,.5); }
.kv-modal::backdrop { background: rgba(7,18,36,.62); backdrop-filter: blur(4px); }
.kv-modal[open] { animation: kvin .28s ease; }
@keyframes kvin { from { opacity: 0; transform: translateY(18px) scale(.97); } to { opacity: 1; transform: none; } }
.kv-top { position: relative; overflow: hidden; padding: 1.9rem 1.8rem 1.5rem; color: #fff; background: linear-gradient(135deg, #0B1F3A 0%, #0D3446 60%, #0F6B4F 100%); }
.kv-top::after { content: ""; position: absolute; right: -30px; bottom: -50px; width: 150px; aspect-ratio: 1; background: var(--gold); opacity: .22; clip-path: polygon(50% 3%, 97% 94%, 3% 94%); }
.kv-top h2 { margin: 0; padding-right: 2.8rem; font-size: 1.7rem; line-height: 1.1; color: #fff; }
.kv-top p { position: relative; z-index: 1; margin: .7rem 0 0; color: #D3E3EC; font-size: 1rem; max-width: 24rem; }
.kv-body { padding: 1.5rem 1.8rem 1.8rem; }
.kv-body .field { margin-bottom: .9rem; }
.kv-body .btn { margin-top: .3rem; }
.kv-fine { margin: .9rem 0 0; font-size: .86rem; color: var(--ink-soft); text-align: center; }
/* the close icon is drawn with two lines so it stays centred */
.kv-x { position: absolute; z-index: 2; right: 14px; top: 14px; width: 42px; height: 42px; border: 0; border-radius: 50%; background: rgba(255,255,255,.14); cursor: pointer; transition: background .15s; }
.kv-x:hover { background: rgba(255,255,255,.28); }
.kv-x::before, .kv-x::after { content: ""; position: absolute; left: 50%; top: 50%; width: 16px; height: 2px; margin: -1px 0 0 -8px; border-radius: 1px; background: #fff; transform: rotate(45deg); }
.kv-x::after { transform: rotate(-45deg); }
html.kv-lock { overflow: hidden; }
@media (prefers-reduced-motion: reduce) { .kv-modal[open] { animation: none; } }
