.site-footer, .site-footer * { box-sizing: border-box; }
.site-footer { min-height: 384px; color: #fff; background: #0b1117; font-family: Arial, Helvetica, sans-serif; }
.site-footer a { color: inherit; text-decoration: none; }
.site-footer a:focus-visible, .site-footer button:focus-visible { outline: 2px solid #2bcbf3; outline-offset: 4px; }
.footer-content { width: min(1328px, calc(100% - 40px)); min-height: 330px; margin-inline: auto; padding-top: 27px; display: grid; grid-template-columns: repeat(var(--footer-column-count, 5), minmax(0, 1fr)); gap: 20px; }
.footer-logo { display: inline-flex; }
.footer-logo img { width: 132px; height: auto; display: block; }
.footer-brands { margin-top: 25px; display: flex; flex-direction: column; align-items: flex-start; gap: 13px; }
.footer-brands a { width: 100%; display: flex; justify-content: space-between; color: #f5f7f8; font-size: 16px; line-height: 20px; }
.footer-brands a.active { color: #2bcbf3; font-weight: 700; }
.footer-service-column, .footer-contacts-column { display: flex; flex-direction: column; align-items: flex-start; min-width: 0; }
.footer-service-column > strong, .footer-contacts-column > strong { font-size: 16px; line-height: 20px; }
.footer-accent { width: 23px; height: 2px; margin: 12px 0 17px; background: #2bcbf3; }
.footer-service-column a { margin-bottom: 13px; color: #b8bdc1; font-size: 15px; line-height: 21px; overflow-wrap: anywhere; }
.footer-service-column a:hover, .footer-contacts-column a:hover, .footer-legal-links a:hover { color: #2bcbf3; }
.footer-contacts-column { padding-left: 1px; }
.footer-contacts-column > a { display: inline-flex; align-items: center; gap: 9px; margin-bottom: 16px; color: #fff; font-size: 16px; line-height: 20px; overflow-wrap: anywhere; }
.footer-contacts-column > a img { width: 16px; height: 16px; flex: 0 0 16px; }
.footer-socials { margin-top: 35px; display: flex; align-items: center; gap: 12px; }
.footer-socials > :is(a,button) { width: 32px; height: 32px; display: grid; place-items: center; padding: 0; border: 0; background: transparent; cursor: pointer; }
.footer-socials img { width: 32px; height: 32px; display: block; }
.footer-socials .messenger-max-icon { filter: brightness(0) invert(1); }
.footer-rating-widgets { margin-top: 20px; display: grid; gap: 8px; }
.footer-rating-widgets iframe { width: 150px; height: 50px; display: block; border: 0; color-scheme: dark; }
.footer-bottom { width: 100%; min-height: 54px; margin-inline: auto; padding: 12px max(20px, calc((100% - 1328px) / 2)) 0; display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; border-top: 1px solid #343b3e; font-size: 16px; line-height: 25px; }
.footer-legal-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px 28px; }

@media (max-width: 1250px) {
    .footer-content { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px 24px; padding-bottom: 36px; }
}

@media (max-width: 820px) {
    .site-footer { min-height: 0; }
    .footer-content { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 38px 24px; padding: 36px 0; }
    .footer-bottom { padding-bottom: 18px; }
}

@media (max-width: 560px) {
    .footer-content { width: min(100% - 30px, 1328px); grid-template-columns: 1fr; gap: 32px; }
    .footer-bottom { width: min(100% - 30px, 1328px); padding: 17px 0; align-items: flex-start; flex-direction: column; }
    .footer-legal-links { flex-direction: column; justify-content: flex-start; gap: 10px; }
}
