/* Карточка «Пишите нам в MAX» — заменяет полноэкранное окно #modal_alert. */
.max-notice {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 900;
    display: flex;
    gap: 14px;
    width: 360px;
    max-width: calc(100vw - 32px);
    padding: 20px 44px 20px 20px;
    background: #fff;
    border: 1px solid #E6E6E6;
    border-radius: 16px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, .12);
    font-family: "Inter", sans-serif;
    color: #1A1A1A;
    opacity: 0;
    transform: translateY(16px);
    transition: opacity .25s ease, transform .25s ease;
}
.max-notice[hidden] { display: none; }
.max-notice.is-visible { opacity: 1; transform: none; }

.max-notice__icon {
    flex: 0 0 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: #EEF7ED;
    color: #2B8A27;
}
.max-notice__title {
    margin: 0 0 4px;
    font-size: 17px;
    line-height: 1.3;
    font-weight: 600;
}
.max-notice__text {
    margin: 0 0 14px;
    font-size: 14px;
    line-height: 1.45;
    color: #5E5E5E;
}
.max-notice__btn {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: 0 18px;
    border-radius: 100px;
    background: #3BA935;
    color: #fff !important;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none !important;
    transition: background-color .15s ease, transform .15s ease;
}
.max-notice__btn:hover { background: #2B8A27; transform: translateY(-1px); }
.max-notice__btn:focus-visible,
.max-notice__close:focus-visible { outline: 2px solid #652481; outline-offset: 2px; }

.max-notice__close {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: #8A8A8A;
    cursor: pointer;
}
.max-notice__close:hover { background: #F6F6F6; color: #1A1A1A; }

/* На телефоне — над нижним меню темы (66 px) */
@media (max-width: 414px) {
    .max-notice {
        left: 8px;
        right: 8px;
        bottom: 74px;
        width: auto;
        max-width: none;
    }
}
@media (prefers-reduced-motion: reduce) {
    .max-notice { transition: none; transform: none; }
}

/* Карточка-переход на лендинг кадастрового инженера в разделе «Кадастровый инженер» */
.ki-promo {
    display: block;
    max-width: 460px;
    margin-top: 32px;
    padding: 22px 24px;
    border-radius: 16px;
    background: #EEF7ED;
    border: 1px solid #D5EBD2;
    color: #1A1A1A !important;
    text-decoration: none !important;
    transition: transform .15s ease, box-shadow .15s ease;
}
.ki-promo:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(0, 0, 0, .08); }
.ki-promo:focus-visible { outline: 2px solid #652481; outline-offset: 3px; }
.ki-promo__label { display: block; margin-bottom: 6px; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #652481; }
.ki-promo__title { display: block; margin-bottom: 6px; font-size: 20px; line-height: 1.25; font-weight: 600; }
.ki-promo__text { display: block; margin-bottom: 12px; font-size: 15px; line-height: 1.45; color: #5E5E5E; }
.ki-promo__more { font-size: 15px; font-weight: 600; color: #2B8A27; }

/* Ссылка на политику в подвале */
.footer_legal { margin-top: 12px; font-size: 13px; }
.footer_legal a { color: inherit; opacity: .7; text-decoration: underline; text-underline-offset: 2px; }
.footer_legal a:hover { opacity: 1; }
