.konsul-popup-overlay[hidden] { display: none !important; }
.konsul-popup-overlay { position: fixed; inset: 0; z-index: 99999; display: flex; align-items: center; justify-content: center; overflow-y: auto; padding: 16px; box-sizing: border-box; background: rgba(8,25,48,.65); backdrop-filter: blur(5px); }
.konsul-popup { position: relative; width: 100%; max-width: 460px; max-height: calc(100vh - 32px); max-height: calc(100dvh - 32px); overflow-y: auto; box-sizing: border-box; padding: 38px 30px 30px; border-radius: 20px; background: #fff; box-shadow: 0 20px 70px rgba(0,0,0,.2); text-align: center; font-family: inherit; color: #24344b; animation: konsul-popup-in .3s ease-out; }
@keyframes konsul-popup-in { from { opacity: 0; transform: translateY(20px) scale(.97); } to { opacity: 1; transform: translateY(0) scale(1); } }
.konsul-popup-close { position: absolute; top: 12px; right: 14px; width: 40px; height: 40px; border: 0; border-radius: 50%; background: #f1f5f9; color: #334155; font-size: 26px; line-height: 1; cursor: pointer; }
.konsul-popup-icon { display: flex; align-items: center; justify-content: center; width: 70px; height: 70px; margin: 0 auto 20px; border-radius: 50%; background: #e5f8f9; color: #007b83; font-size: 34px; }
.konsul-popup h2 { margin: 0 0 15px; color: #123b70; font-size: 25px; line-height: 1.3; font-weight: 700; }
.konsul-popup p { margin: 0 0 24px; color: #526176; font-size: 15px; line-height: 1.65; }
.konsul-popup-buttons { display: flex; flex-direction: column; gap: 12px; }
.konsul-popup-btn { display: flex; justify-content: center; align-items: center; min-height: 50px; padding: 12px 18px; box-sizing: border-box; border-radius: 10px; color: #fff !important; font-size: 16px; font-weight: 600; text-decoration: none !important; transition: opacity .2s, transform .2s; }
.konsul-popup-btn:hover { opacity: .9; transform: translateY(-2px); }
.konsul-popup-btn:focus-visible, .konsul-popup-close:focus-visible, .konsul-popup:focus-visible { outline: 3px solid #007b83; outline-offset: 3px; }
.konsul-popup-btn-max { background: #6548d9; }
.konsul-popup-btn-telegram { background: #087db5; }
.konsul-popup .konsul-popup-footer { margin: 20px 0 0; color: #007b83; font-size: 13px; }
.konsul-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
@media (max-width: 480px) { .konsul-popup { padding: 34px 20px 24px; } .konsul-popup h2 { font-size: 22px; } }
@media (prefers-reduced-motion: reduce) { .konsul-popup { animation: none; } .konsul-popup-btn { transition: none; } }
