/* Равные боковые колонки удерживают знак на оси страницы при разной длине меню. */
.header-info {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    column-gap: 16px;
    background-image: none;
}
.header-info > .logo {
    grid-area: 1 / 2;
    display: block;
}
.header-info > .home-header-menu {
    grid-area: 1 / 1;
    width: 100%;
    max-width: 35rem;
    justify-content: space-between;
}
.header-wrap {
    grid-area: 1 / 3;
    justify-self: end;
    gap: 14px;
}
.header-wrap, .home-header-actions { white-space: nowrap; }
.home-header-actions { display: flex; gap: 8px; }
.home-header-actions .header-info__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 12px;
    margin: 0;
    border: 0;
    border-radius: 999px;
    background: #fff;
    color: #30431e;
    font: 500 14px/1.3 Jost, sans-serif;
    text-transform: none;
}
.home-header-actions a.header-info__link { background: #e9aaaa; color: #302322; }
.header-info .hamburger {
    grid-area: 1 / 3;
    justify-self: end;
    margin: 0;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 0;
    background: transparent;
}
.header-info .hamburger .bar { width: 28px; margin-left: -14px; }
.header-info .hamburger:not(.menu-open) .bar1 { top: 13px; }
.header-info .hamburger:not(.menu-open) .bar2 { top: 21px; }
.header-info .hamburger:not(.menu-open) .bar3 { top: 29px; }

#home-mobile-menu:not(.active) { visibility: hidden; }

@media (max-width: 1365px) {
    .home-header-actions button.header-info__link { display: none; }
}
@media (max-width: 991px) {
    .header-wrap { display: contents; }
    .header-info__wrap { grid-area: 1 / 1; gap: 12px; }
    .header-info__soc { margin: 0; }
    .home-header-actions { grid-area: 1 / 3; justify-self: end; margin-right: 56px; }
}
@media (max-width: 767px) {
    .home-header-actions { display: none; }
}
@media (max-width: 679px) {
    .header-info { row-gap: 4px; }
    .header-info__wrap { display: contents; }
    .header-info__wrap > .modal-telegram { grid-area: 1 / 1; width: 44px; height: 44px; align-items: center; }
    .header-info__soc { grid-area: 1 / 1; margin-left: 44px; }
    .header-info__shedule {
        grid-area: 2 / 1 / auto / -1;
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: center;
        gap: 4px 12px;
    }
    .header-info__shedule .header-info__tel { padding: 4px 0; border: 0; font-size: 14px; }
    .header-info__shedule span { font-size: 13px; }
    .header .logo { width: 60px; height: 60px; }
}

.home-footer {
    padding-block: clamp(40px, 5vw, 72px) clamp(72px, 7vw, 104px);
    color: #fff;
}
.home-footer > .container, .home-footer .footer-info {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: clamp(32px, 5vw, 80px);
    align-items: start;
}
.home-footer .footer-soc {
    display: grid;
    justify-content: start;
    gap: 20px;
    margin: 0;
}
.home-footer .footer-soc h2, .home-footer .footer-form .form__title {
    margin: 0;
    color: #fff;
    font: 400 clamp(32px, 3.2vw, 48px)/1.04 Forum, serif;
    text-transform: none;
    text-align: left;
    text-wrap: balance;
}
.home-footer .footer-soc ul { gap: 12px; }
.home-footer .footer-soc li a { width: 44px; height: 44px; }
.home-footer .footer-app { justify-content: flex-start; margin: 24px 0 0; }
.home-footer .google-play-link { min-height: 44px; padding: 8px 16px; box-shadow: none; }
.home-footer .footer-form.form {
    width: 100%;
    max-width: none;
    padding: 0;
    margin: 0;
    border: 0;
    text-align: left;
}
.home-footer .form__text { margin: 12px 0 20px; text-align: left; text-wrap: pretty; }
.home-footer .form__wrap {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 12px;
}
.home-footer .form__input { height: 48px; padding-inline: 16px; margin: 0; border-radius: 12px; }
.home-footer .form__accept {
    grid-column: 1 / -1;
    display: flex;
    align-items: baseline;
    gap: 8px;
    font-size: 14px;
    text-align: left;
}
.home-footer .form__accept input { margin: 0; flex: none; accent-color: #e9aaaa; }
.home-footer .footer-form .form__btn {
    grid-column: 1 / -1;
    justify-self: start;
    width: auto;
    min-height: 46px;
    margin: 0;
    padding: 10px 28px;
    border-radius: 999px;
    background: #e9aaaa;
    color: #302322;
    font: 600 16px/1.3 Jost, sans-serif;
    text-transform: none;
}
.home-footer .form__btn:hover, .home-header-actions .header-info__link:hover { background: #f4cccc; }
.home-footer .form__btn:disabled { opacity: .55; cursor: default; }
.home-footer .footer-info {
    grid-column: 1 / -1;
    padding-top: 24px;
    border-top: 1px solid #ffffff45;
    color: #e2e8da;
    font-size: 14px;
    line-height: 1.5;
    text-align: left;
    text-wrap: pretty;
}
.home-footer .footer-copyright > p + p { margin-top: 6px; }
.home-footer a { text-underline-offset: .18em; }
.home-footer :focus-visible, .header-info :focus-visible { outline: 2px solid #f6c9c9; outline-offset: 3px; }
@media (max-width: 767px) {
    .home-footer > .container, .home-footer .footer-info { grid-template-columns: minmax(0, 1fr); }
    .home-footer .footer-info { gap: 16px; }
    .home-footer .footer-channels .footer-soc h2 { text-align: left; }
}
@media (max-width: 480px) {
    .home-footer .form__wrap { grid-template-columns: minmax(0, 1fr); }
    .home-footer .footer-form .form__btn { width: 100%; }
}
