.contact-gate[hidden],#contact-check-open[hidden],#contact-check-retry[hidden]{display:none!important}
.contact-gate{position:fixed;inset:0;z-index:5000;background:rgba(20,28,44,.28);backdrop-filter:blur(5px);display:flex;align-items:center;justify-content:center;padding:20px}
.contact-gate-card{position:relative;width:min(100%,440px);max-height:85vh;overflow:auto;background:#fff;color:#111;border-radius:24px;padding:36px 28px;box-shadow:0 20px 70px #15263729;display:grid;gap:18px}
.contact-gate-card h2{font-size:25px;line-height:1.2;margin:0;padding-right:20px}
.contact-gate-card p{font-size:16px;line-height:1.5;margin:0}
.contact-gate-card small{font-size:12px;line-height:1.5;color:#333}
.contact-gate-card .btn{width:100%;justify-content:center;text-align:center;overflow-wrap:anywhere}
.contact-gate-close{position:absolute;right:12px;top:10px;border:0;background:#f3f3f3;color:#111;border-radius:50%;width:32px;height:32px;font:24px/1 sans-serif;cursor:pointer}
.header-phone[data-contact]{font-size:clamp(16px,2vw,24px);white-space:nowrap}
.contact-phone[data-contact]{text-decoration:none;cursor:pointer}
.contact form button:disabled{cursor:wait;opacity:.75}
@media(max-width:540px){.contact-gate-card{padding:32px 22px}.header-phone[data-contact]{font-size:18px}}

/* Keep the contact overlay inside the mobile viewport. */
html.contact-gate-open,body.contact-gate-open{overflow:hidden!important;overscroll-behavior:none}
.contact-gate{box-sizing:border-box;left:0;right:auto;top:0;bottom:auto;width:100%;height:100vh;height:100dvh;max-width:100vw;overflow:hidden;padding:16px;display:grid;place-items:center}
.contact-gate-card{box-sizing:border-box;width:100%;max-width:440px;min-width:0;max-height:calc(100vh - 32px);max-height:calc(100dvh - 32px);margin:0;overflow-x:hidden;overflow-y:auto;overflow-wrap:anywhere}
.contact-gate-card>*{min-width:0;max-width:100%}
@media(max-width:540px){.contact-gate-card{padding:32px 20px}.contact-gate-card h2{font-size:22px}.contact-gate-card .btn{white-space:normal}}

.captcha-data-notice{margin:12px auto 0;padding:0 20px 16px;max-width:1240px;text-align:center;font-size:11px;line-height:1.5;color:#666}.captcha-data-notice a{text-decoration:underline;text-underline-offset:2px}
