/* Footer */

.m-footer { background: var(--m-dark); color: var(--m-dark-text); padding-top: clamp(3rem, 2rem + 4vw, 5.5rem); }
.m-footer a { color: var(--m-dark-text); text-decoration: none; transition: color var(--m-dur-fast); }
.m-footer a:hover { color: #fff; }
.m-footer__top { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); gap: 2.5rem; padding-bottom: 3rem; }
.m-footer__top:has(.m-footer__news) { grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)) minmax(0, 1.3fr); }
.m-footer__logo .m-logo, .m-footer__logo .m-logo:hover { color: #fff; }
.m-footer__logo .m-logo__en { color: #B3C5D9; }
.m-footer__logo .custom-logo-link { padding: .5rem .75rem; background: #fff; border-radius: var(--m-r); }
.m-footer__about { margin: 1.25rem 0 1.5rem; font-size: var(--m-fs-sm); color: #AFC3D8; max-width: 26rem; }
.m-social { display: flex; flex-wrap: wrap; gap: .5rem; }
.m-social a { display: inline-flex; align-items: center; min-height: 40px; padding: .35rem .95rem; border-radius: var(--m-r-pill); border: 1px solid rgba(255, 255, 255, .16); font-size: var(--m-fs-xs); font-weight: 600; direction: ltr; }
.m-social a:hover { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .35); }
.m-footer__heading { margin: 0 0 1rem; font-size: 1rem; color: #fff; }
.m-footer__toggle { display: flex; align-items: center; justify-content: space-between; width: 100%; gap: .5rem; padding: 0; border: 0; background: none; font: inherit; color: inherit; cursor: default; text-align: start; }
.m-footer__toggle .m-icon { display: none; width: 18px; height: 18px; transition: transform var(--m-dur) var(--m-ease); }
.m-footer__list { display: grid; gap: .6rem; font-size: var(--m-fs-sm); }
.m-footer__list a { display: inline-flex; align-items: center; min-height: 28px; }
.m-footer__news .m-btn, .m-footer__news input { width: 100%; }
.m-footer__bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; padding-block: 1.5rem; border-top: 1px solid rgba(255, 255, 255, .1); font-size: var(--m-fs-xs); color: #B3C5D9; }
.m-footer__bottom p { margin: 0; }
.m-footer__legal { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; }
.m-footer__legal a { color: #AFC3D8; display: inline-flex; min-height: 32px; align-items: center; }

.m-footer__logo .m-logo-img { display: inline-flex; padding: .6rem; background: #fff; border-radius: var(--m-r); }
.m-footer__logo .m-logo-img img { height: 96px; }
.m-footer__end { display: flex; align-items: center; gap: 1.25rem; flex-wrap: wrap; }
.m-to-top { display: inline-flex; align-items: center; gap: .5rem; min-height: 44px; padding: .5rem 1rem; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .22); background: transparent; color: #fff; font: 600 var(--m-fs-sm)/1 var(--m-font-body, inherit); cursor: pointer; transition: background var(--m-dur-fast), border-color var(--m-dur-fast), transform var(--m-dur-fast); }
.m-to-top:hover { background: var(--m-accent); border-color: var(--m-accent); color: var(--m-ink); transform: translateY(-2px); }
.m-to-top .m-icon { width: 18px; height: 18px; transform: rotate(180deg); }
