
#rb-footer-main {
    position: relative; display: block; margin: 0; padding: 60px 0 28px;
    background: #102e4b;
    background-image: linear-gradient(105deg, rgba(0, 57, 127, .76), rgba(0, 72, 151, .70)), url('/assets/app/img/footer-bg-v2.jpg');
    background-position: center; background-size: cover; background-repeat: no-repeat;
    color: #f2f7fc; font-family: inherit; font-size: 15px; line-height: 1.6; text-align: left;
    text-shadow: 0 1px 3px rgba(0, 18, 36, .35);
}
#rb-footer-main, #rb-footer-main * { box-sizing: border-box; }
#rb-footer-main::before, #rb-footer-main::after { display: none; content: none; }
#rb-footer-main .rb-footer__container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
#rb-footer-main .rb-footer__grid { display: grid; grid-template-columns: .9fr 1fr 1.4fr 1.4fr; gap: 36px; align-items: start; }
#rb-footer-main .rb-footer__column { min-width: 0; margin: 0; padding: 0; }
#rb-footer-main .rb-footer__heading {
    display: block; position: static; margin: 0 0 22px; padding: 0; border: 0;
    color: #fff; font-family: inherit; font-size: 20px; font-weight: 700;
    line-height: 1.3; letter-spacing: 0; text-align: left; text-decoration: none; text-transform: none;
}
#rb-footer-main .rb-footer__heading::before, #rb-footer-main .rb-footer__heading::after { display: none; content: none; }
#rb-footer-main .rb-footer__list, #rb-footer-main .rb-footer__submenu {
    display: block; position: static; width: auto; max-width: none; height: auto;
    margin: 0; padding: 0; border: 0; border-radius: 0; background: none;
    color: inherit; list-style: none; box-shadow: none; opacity: 1; visibility: visible; transform: none;
}
#rb-footer-main .rb-footer__list > li { display: block; position: static; margin: 0 0 11px; padding: 0; line-height: 1.55; }
#rb-footer-main li::before, #rb-footer-main li::after { display: none; content: none; }
#rb-footer-main .rb-footer__link, #rb-footer-main .rb-footer__current {
    display: inline; position: static; margin: 0; padding: 0; border: 0;
    color: #f2f7fc; font-size: 15px; font-weight: 400; line-height: inherit;
    text-decoration: none; text-transform: none; background: none; transition: color .18s ease;
}
#rb-footer-main .rb-footer__current { color: #fff; }
#rb-footer-main .rb-footer__link:hover { color: #ffde58; text-decoration: underline; text-underline-offset: 4px; }
#rb-footer-main a::before, #rb-footer-main a::after { display: none; content: none; }
#rb-footer-main .rb-footer__group { display: block; margin: 0; padding: 0; border: 0; }
#rb-footer-main .rb-footer__summary {
    display: flex; align-items: center; justify-content: space-between; gap: 14px;
    width: 100%; padding: 0; margin: 0; color: #f2f7fc; font-size: 15px;
    font-weight: 400; line-height: 1.55; cursor: pointer; list-style: none;
}
#rb-footer-main .rb-footer__summary::-webkit-details-marker { display: none; }
#rb-footer-main .rb-footer__summary::marker { content: ''; }
#rb-footer-main .rb-footer__summary::after {
    content: ''; flex: 0 0 7px; width: 7px; height: 7px; margin: -4px 3px 0 0;
    border-right: 1.5px solid #a9bfd3; border-bottom: 1.5px solid #a9bfd3;
    transform: rotate(45deg); transition: transform .18s ease;
}
#rb-footer-main .rb-footer__summary:hover { color: #ffde58; }
#rb-footer-main .rb-footer__group[open] > .rb-footer__summary { color: #fff; }
#rb-footer-main .rb-footer__group[open] > .rb-footer__summary::after { margin-top: 3px; transform: rotate(225deg); }
#rb-footer-main .rb-footer__submenu {
    margin-top: 13px; padding-left: 13px; border-left: 1px solid rgba(200, 221, 240, .25);
}
#rb-footer-main .rb-footer__submenu li { display: block; margin: 0 0 10px; padding: 0; line-height: 1.5; }
#rb-footer-main .rb-footer__submenu .rb-footer__link { font-size: 14px; overflow-wrap: anywhere; }
#rb-footer-main .rb-footer__phones { display: grid; gap: 7px; margin: -3px 0 12px; }
#rb-footer-main .rb-footer__phone {
    display: inline-block; width: fit-content; padding: 0; margin: 0; border: 0;
    color: #fff; font-size: 22px; font-weight: 700; line-height: 1.4; text-decoration: none; white-space: nowrap;
}
#rb-footer-main .rb-footer__phone:hover { color: #ffde58; }
#rb-footer-main .rb-footer__email { font-size: 15px; overflow-wrap: anywhere; }
#rb-footer-main .rb-footer__hours { display: flex; align-items: center; gap: 8px; margin: 13px 0 24px; color: #e1edf7; font-size: 14px; }
#rb-footer-main .rb-footer__hours::before { content: ''; display: block; flex: 0 0 6px; width: 6px; height: 6px; border-radius: 50%; background: #68c5a7; }
#rb-footer-main .rb-footer__messengers-title { margin: 0 0 12px; color: #f2f7fc; font-size: 14px; line-height: 1.5; }
#rb-footer-main .rb-footer__messengers { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; }
#rb-footer-main .rb-footer__messenger {
    display: inline-flex; align-items: center; justify-content: center; flex: 0 0 44px;
    width: 44px; height: 44px; margin: 0; padding: 7px;
    border: 1px solid rgba(207, 226, 243, .2); border-radius: 13px;
    background: rgba(212, 232, 250, .07); text-decoration: none; transition: background .18s ease, border-color .18s ease;
}
#rb-footer-main .rb-footer__messenger:hover { background: rgba(212, 232, 250, .17); border-color: rgba(207, 226, 243, .5); }
#rb-footer-main .rb-footer__messenger img { display: block; position: static; width: 28px; height: 28px; max-width: 100%; margin: 0; padding: 0; object-fit: contain; border: 0; border-radius: 7px; }
#rb-footer-main .rb-footer__address { margin: 0 0 16px; padding: 0; color: #fff; font-size: 17px; font-weight: 400; line-height: 1.6; overflow-wrap: anywhere; }
#rb-footer-main .rb-footer__route {
    display: inline-flex; align-items: center; gap: 9px; min-height: 40px; margin: 0 0 22px;
    padding: 7px 14px; border: 1px solid rgba(207, 226, 243, .3); border-radius: 10px;
    background: transparent; color: #e1edf8; font-size: 14px; line-height: 1.4; text-decoration: none;
}
#rb-footer-main .rb-footer__route:hover { color: #fff; border-color: #ffde58; }
#rb-footer-main .rb-footer__route svg { display: block; width: 18px; height: 18px; }
#rb-footer-main .rb-footer__rating { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; }
#rb-footer-main .rb-footer__rating iframe { display: block; width: 150px; height: 50px; max-width: 100%; margin: 0; border: 0; border-radius: 8px; background: #fff; }
#rb-footer-main .rb-footer__bottom {
    display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap;
    gap: 24px; margin-top: 40px; padding-top: 25px; border-top: 1px solid rgba(204, 224, 242, .19);
}
#rb-footer-main .rb-footer__legal { flex: 1 1 420px; min-width: 0; }
#rb-footer-main .rb-footer__copyright { margin: 0 0 7px; padding: 0; color: #e0eaf4; font-size: 15px; line-height: 1.5; }
#rb-footer-main .rb-footer__requisites { display: flex; flex-wrap: wrap; gap: 3px 16px; margin: 0; padding: 0; color: #dfebf6; font-size: 12px; line-height: 1.6; overflow-wrap: anywhere; }
#rb-footer-main .rb-footer__payments { flex: 0 0 auto; margin: 0; padding: 0; }
#rb-footer-main .rb-footer__payments-title { margin: 0 0 8px; padding: 0; color: #e1edf7; font-size: 12px; line-height: 1.4; }
#rb-footer-main .rb-footer__cards { display: flex; flex-wrap: wrap; gap: 5px; }
#rb-footer-main .rb-footer__card { display: flex; align-items: center; justify-content: center; width: 46px; height: 30px; padding: 4px; border: 0; border-radius: 5px; background: #fff; }
#rb-footer-main .rb-footer__card img { display: block; position: static; width: 36px; height: 22px; max-width: 100%; margin: 0; border: 0; object-fit: contain; }
#rb-footer-main .rb-footer__top.gototop {
    display: inline-flex; position: static; align-items: center; justify-content: center; gap: 8px; flex: 0 0 auto;
    width: auto; height: 40px; min-height: 40px; margin: 0; padding: 7px 12px;
    border: 1px solid rgba(207, 226, 243, .3); border-radius: 10px;
    background: transparent; color: #d7e4ef; opacity: 1; visibility: visible; transform: none;
    font: inherit; font-size: 13px; line-height: 1.4; text-align: center; cursor: pointer;
}
#rb-footer-main .rb-footer__top:hover { color: #fff; border-color: #ffde58; }
#rb-footer-main .rb-footer__top svg { display: block; width: 18px; height: 18px; }
#rb-footer-main a:focus-visible, #rb-footer-main button:focus-visible, #rb-footer-main summary:focus-visible { outline: 2px solid #ffde58; outline-offset: 4px; border-radius: 4px; }
@media (max-width: 1023px) {
    #rb-footer-main .rb-footer__grid { grid-template-columns: 1fr 1fr; column-gap: 48px; row-gap: 32px; }
    #rb-footer-main .rb-footer__bottom { align-items: flex-start; }
    #rb-footer-main .rb-footer__legal { flex-basis: 100%; }
}
@media (max-width: 575px) {
    #rb-footer-main { padding: 38px 0 104px; }
    #rb-footer-main .rb-footer__container { padding: 0 20px; }
    #rb-footer-main .rb-footer__grid { grid-template-columns: 1fr; gap: 26px; }
    #rb-footer-main .rb-footer__column + .rb-footer__column { padding-top: 25px; border-top: 1px solid rgba(204, 224, 242, .14); }
    #rb-footer-main .rb-footer__heading { margin-bottom: 15px; font-size: 19px; }
    #rb-footer-main .rb-footer__list > li { margin-bottom: 0; }
    #rb-footer-main .rb-footer__list > li > .rb-footer__link, #rb-footer-main .rb-footer__current { display: inline-block; padding: 7px 0; }
    #rb-footer-main .rb-footer__summary { min-height: 40px; padding: 7px 0; }
    #rb-footer-main .rb-footer__submenu { margin: 4px 0 12px; }
    #rb-footer-main .rb-footer__submenu .rb-footer__link { display: inline-block; padding: 4px 0; }
    #rb-footer-main .rb-footer__phone { font-size: 23px; }
    #rb-footer-main .rb-footer__hours { margin-bottom: 20px; }
    #rb-footer-main .rb-footer__bottom { margin-top: 28px; padding-top: 24px; gap: 22px; }
    #rb-footer-main .rb-footer__requisites { display: grid; gap: 4px; }
    #rb-footer-main .rb-footer__copyright { margin-bottom: 10px; }
}
@media (prefers-reduced-motion: reduce) {
    #rb-footer-main .rb-footer__link, #rb-footer-main .rb-footer__summary::after, #rb-footer-main .rb-footer__messenger { transition: none; }
}
