/* Стили существующего окна хаба, ограниченные общим окном ухода. */
#gb-exit-modal{font-family:Manrope,Arial,sans-serif}
#gb-exit-modal input,#gb-exit-modal button{font-family:inherit}
#gb-exit-modal .city-check-list{display: flex;flex-direction: column;gap: 8px;margin: 0;padding: 0;list-style: none;}
#gb-exit-modal .city-check-list li{display: flex;gap: 8px;align-items: center;padding-bottom: 4px;color: #121212;font-size: 14px;font-weight: 500;line-height: normal;}
#gb-exit-modal .city-check-list li::before{content: "";width: 14px;height: 14px;flex: 0 0 14px;background: url("../img/icon/check-green.svg") center / 14px 14px no-repeat;}
#gb-exit-modal .city-check-list--center{align-items: center;}
#gb-exit-modal .city-check-list--center li{color: #697283;}
#gb-exit-modal .city-request-form{display: flex;flex-direction: column;gap: 12px;margin: 0;}
#gb-exit-modal .city-request-form__field{display: flex;flex-direction: column;gap: 4px;margin: 0;}
#gb-exit-modal .city-request-form__field > span{color: #121212;font-size: 14px;font-weight: 500;line-height: normal;}
#gb-exit-modal .city-request-form__field input,#gb-exit-modal .city-request-form__field select{width: 100%;height: 48px;margin: 0;padding: 0 11px;color: #121212;background: #f0f3f6;border: 0;border-radius: 14px;outline: none;box-shadow: none;font-size: 14px;font-weight: 400;line-height: normal;transition: box-shadow .2s ease;}
#gb-exit-modal .city-request-form__field input::placeholder{color: #697283;opacity: 1;}
#gb-exit-modal .city-request-form__field input:focus,#gb-exit-modal .city-request-form__field select:focus{box-shadow: inset 0 0 0 3px rgba(77, 124, 254, .8);}
#gb-exit-modal .city-request-form__field select{padding-right: 48px;background: #f0f3f6 url("../img/design/city-address/nf-chevron.svg") right 13px center / 24px 24px no-repeat;-webkit-appearance: none;appearance: none;cursor: pointer;}
#gb-exit-modal .city-request-form__message{margin: 0;color: #fe4d6b;font-size: 12px;font-weight: 600;line-height: normal;}
#gb-exit-modal .city-request-form__submit{width: 100%;margin: 4px 0 0;padding: 12px 28px;color: #fff;background: #f9724a;border: 0;border-radius: 12px;box-shadow: 0 12px 13px rgba(251, 91, 45, .4);font-size: 13px;font-weight: 800;line-height: normal;cursor: pointer;transition: background-color .2s ease;}
#gb-exit-modal .city-request-form__submit:hover{background: #fb5b2d;}
#gb-exit-modal .city-request-form__submit:disabled{opacity: .7;cursor: default;}
#gb-exit-modal .city-request-form__consent{display: flex;gap: 12px;align-items: center;margin: 0;color: rgba(105, 114, 131, .6);font-size: 12px;font-weight: 500;line-height: normal;cursor: pointer;}
#gb-exit-modal .city-request-form__consent input{position: relative;width: 20px;min-width: 20px;height: 20px;flex: 0 0 20px;margin: 0 0 0 8px;padding: 0;background-color: #fff;border: 1.5px solid #d0d2db;border-radius: 4px;-webkit-appearance: none;appearance: none;cursor: pointer;transition: border-color .15s ease, background-color .15s ease;}
#gb-exit-modal .city-request-form__consent input:hover{border-color: #f9724a;}
#gb-exit-modal .city-request-form__consent input:checked{background-color: #f9724a;border-color: #f9724a;}
#gb-exit-modal .city-request-form__consent input:checked::after{content: "";position: absolute;top: 2px;left: 6px;width: 5px;height: 10px;border: solid #fff;border-width: 0 2px 2px 0;transform: rotate(45deg);}
#gb-exit-modal .city-request-form__consent span{padding-left: 8px;}
#gb-exit-modal .city-request-form__consent a{color: #697283;text-decoration: underline !important;text-underline-position: from-font;}
#gb-exit-modal{position: fixed;inset: 0;z-index: 60;display: flex;align-items: center;justify-content: center;padding: 90px 16px 24px;overflow-y: auto;}
#gb-exit-modal .city-request-modal__overlay{position: fixed;inset: 0;background: rgba(38, 50, 63, .8);-webkit-backdrop-filter: blur(10px);backdrop-filter: blur(10px);}
#gb-exit-modal .city-request-modal__dialog{position: relative;width: min(800px, 100%);margin: auto;padding: 28px 100px 40px;background: #fff;border-radius: 20px;}
#gb-exit-modal .city-request-modal__close{position: absolute;top: -67px;right: 0;width: 50px;height: 50px;margin: 0;padding: 0;background: #fff url("../img/design/address-images/street-modal-close.svg") center / 24px 24px no-repeat;border: 0;border-radius: 50%;box-shadow: 0 8px 16px rgba(0, 0, 0, .25);cursor: pointer;}
#gb-exit-modal .city-request-modal__title{margin: 0;color: #3a4654;font-size: 32px;font-weight: 800;line-height: 32px;text-align: center;}
#gb-exit-modal .city-request-modal__address{display: flex;width: fit-content;max-width: 100%;gap: 8px;align-items: center;margin: 8px auto 0;padding: 6px 16px;color: #f9724a;background: rgba(249, 114, 74, .12);border-radius: 999px;font-size: 14px;font-weight: 500;line-height: normal;}
#gb-exit-modal .city-request-modal__address img{width: 12px;height: 16px;flex: 0 0 12px;}
#gb-exit-modal .city-request-modal__lead b{color: #121212;font-weight: 800;}
#gb-exit-modal .city-request-modal__lead{margin: 8px 0 0;padding-bottom: 4px;color: #697283;font-size: 14px;font-weight: 500;line-height: normal;text-align: center;}
#gb-exit-modal .city-check-list{margin-top: 8px;margin-bottom: 12px;}
#gb-exit-modal .city-request-modal__footnote{margin: 12px 0 0;color: #697283;font-size: 14px;font-weight: 500;line-height: normal;text-align: center;}
@media  (max-width: 767px){
#gb-exit-modal .city-request .city-check-list li{font-size: 12px;}
#gb-exit-modal{padding: 80px 12px 16px;}
#gb-exit-modal .city-request-modal__dialog{padding: 24px 16px 28px;border-radius: 16px;}
#gb-exit-modal .city-request-modal__close{top: -58px;width: 44px;height: 44px;background-size: 20px 20px;}
#gb-exit-modal .city-request-modal__title{font-size: 20px;line-height: 20px;}
#gb-exit-modal .city-request-modal__lead{font-size: 12px;}
}
#gb-exit-modal .city-request-form__footnote{margin: 0;color: #697283;font-size: 14px;font-weight: 500;line-height: normal;text-align: center;}
#gb-exit-modal .city-request-modal__dialog.is-sent > :not(.city-request-modal__close):not(.city-request-modal__success){display: none;}
#gb-exit-modal .city-request-modal__success{display: flex;flex-direction: column;gap: 20px;align-items: center;padding: 24px 0 8px;}
#gb-exit-modal .city-request-modal__success[hidden]{display: none;}
#gb-exit-modal .city-request-modal__success-title{margin: 0;color: #3a4654;font-size: 28px;font-weight: 800;line-height: 1.15;text-align: center;}
#gb-exit-modal .city-request-modal__success-close{margin: 0;padding: 14px 40px;color: #fff;background: #4d7cfe;border: 0;border-radius: 14px;font-size: 15px;font-weight: 800;line-height: normal;cursor: pointer;transition: background-color .2s ease;}
#gb-exit-modal .city-request-modal__success-close:hover{background: #3a6af0;}
@media  (max-width: 767px){
#gb-exit-modal .city-request-modal__success-title{font-size: 22px;}
}
#gb-exit-modal[hidden],#gb-exit-modal [hidden]{display:none!important}

/* Подтверждение отправки формы: общий вид старого окна с галочкой. */
.gb-form-sent {display:flex;flex-direction:column;align-items:center;gap:24px;width:100%;padding:48px 24px 24px;box-sizing:border-box;text-align:center;background:#fff;border-radius:30px;}
.gb-form-sent__icon {display:block;width:min(214px,65%);aspect-ratio:214 / 157;flex-shrink:0;background:linear-gradient(90deg,#FC7024,#FF343E);mask:url(/img/design/tick.svg) center / contain no-repeat;-webkit-mask:url(/img/design/tick.svg) center / contain no-repeat;margin:0 auto;}
.gb-form-sent__title {margin:0;color:#707888;font-size:24px;line-height:1.3;font-weight:500;}
.gb-form-sent__back {display:flex;align-items:center;justify-content:center;width:min(100%,300px);min-height:56px;padding:12px 24px;border:0;border-radius:16px;background:linear-gradient(90deg,#FC7024,#FF343E);color:#fff;font-size:24px;font-weight:700;line-height:1.2;cursor:pointer;transition:filter .2s,transform .15s;}
.gb-form-sent__back:hover {filter:brightness(1.07);}
.gb-form-sent__back:active {transform:scale(.97);}
.gb-form-sent__back:focus-visible {outline:3px solid #b83d13;outline-offset:4px;}
.city-request-modal__success .gb-form-sent,.cta-popup__success .gb-form-sent {padding-top:24px;}
#free-consultation-modal .content {max-height:calc(100dvh - 32px);overflow:auto;}
@media(max-width:767px) {
 .gb-form-sent {padding:32px 16px 20px;gap:20px;}
 .gb-form-sent__icon {width:min(170px,60%);}
 .gb-form-sent__title {font-size:20px;}
 .gb-form-sent__back {font-size:22px;min-height:52px;}
}

/* Крестик успешного окна в той же серой палитре, что и текст. */
#free-consultation-modal:has(.gb-form-sent) .modal-close,
.cta-popup.is-sent .cta-popup__close,
.city-request-modal__dialog.is-sent > .city-request-modal__close {background-image:none;color:#707888;}
#free-consultation-modal:has(.gb-form-sent) .modal-close img,
.cta-popup.is-sent .cta-popup__close img {visibility:hidden;}
#free-consultation-modal:has(.gb-form-sent) .modal-close::after,
.cta-popup.is-sent .cta-popup__close::after,
.city-request-modal__dialog.is-sent > .city-request-modal__close::after {content:"";position:absolute;inset:0;background:#707888;mask:url(/img/design/address-images/street-modal-close.svg) center / 24px 24px no-repeat;-webkit-mask:url(/img/design/address-images/street-modal-close.svg) center / 24px 24px no-repeat;}

.cta-popup.is-sent .cta-popup__close {position:relative;}
