.amr-footer {
  --amr-footer-heading: #fff;
  --amr-footer-text: #b9c9d9;
  --amr-footer-link: #eaf3fb;
  --amr-footer-accent: #4c9cf0;
  --amr-footer-logo: 72px;
  width: 100%;
  color: var(--amr-footer-text);
  font-family: "Segoe UI", Arial, sans-serif;
}
.amr-footer *, .amr-footer *::before, .amr-footer *::after { box-sizing: border-box; }
.amr-footer__main { display: grid; grid-template-columns: minmax(240px, 1.45fr) repeat(4, minmax(130px, 1fr)); gap: clamp(22px, 3vw, 48px); align-items: start; }
.amr-footer__brand { display: flex; align-items: flex-start; gap: 13px; }
.amr-footer__brand img { width: var(--amr-footer-logo); height: var(--amr-footer-logo); flex: 0 0 auto; object-fit: contain; }
.amr-footer__brand strong { display: block; color: var(--amr-footer-heading); font-size: .9rem; line-height: 1.35; }
.amr-footer__brand span { display: block; margin-top: 5px; color: var(--amr-footer-text); font-size: .72rem; }
.amr-footer__contacts { display: grid; gap: 7px; margin-top: 17px; font-style: normal; }
.amr-footer__contacts p { display: flex; align-items: flex-start; gap: 8px; margin: 0; color: var(--amr-footer-text); font-size: .7rem; line-height: 1.45; }
.amr-footer__contacts svg { width: 15px; height: 15px; flex: 0 0 auto; margin-top: 2px; fill: none; stroke: var(--amr-footer-accent); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.amr-footer a { color: var(--amr-footer-link); text-decoration: none; }
.amr-footer a:hover { color: #fff; text-decoration: underline; }
.amr-footer__socials { display: flex; gap: 8px; margin-top: 16px; }
.amr-footer__socials a { width: 34px; height: 34px; display: grid; place-items: center; color: #fff; border: 1px solid rgba(255,255,255,.28); border-radius: 50%; font-size: .61rem; font-weight: 800; text-decoration: none; }
.amr-footer__socials a:hover { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.55); text-decoration: none; }
.amr-footer__column h3 { margin: 0 0 13px; color: var(--amr-footer-heading); font: 700 .82rem/1.3 "Segoe UI", Arial, sans-serif; }
.amr-footer__column ul { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.amr-footer__column a { display: inline-block; font-size: .7rem; line-height: 1.35; }
.amr-footer__legal { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 12px 28px; margin-top: 28px; padding-top: 17px; border-top: 1px solid rgba(255,255,255,.12); }
.amr-footer__legal a { font-size: .67rem; }

/* Integration with the AMR template footer. */
body:has(.amr-footer) .site-footer .footer-grid { min-height: 0; display: block; padding-block: 42px 28px; }
body:has(.amr-footer) .site-footer .footer-grid > .footer-brand { display: none !important; }
body:has(.amr-footer) .site-footer .footer-grid > .footer-modules { display: block; width: 100%; }
body:has(.amr-footer) .site-footer .footer-modules > .moduletable { width: 100%; }
body:has(.amr-footer) .site-footer .footer-modules .moduletable > h3 { display: none; }
body:has(.amr-footer) .site-footer .footer-bottom { margin-top: 0; }

@media (max-width: 1100px) {
  .amr-footer__main { grid-template-columns: minmax(230px, 1.2fr) repeat(2, minmax(150px, 1fr)); }
}
@media (max-width: 720px) {
  .amr-footer__main { grid-template-columns: 1fr 1fr; gap: 30px 22px; }
  .amr-footer__identity { grid-column: 1 / -1; }
  .amr-footer__legal { justify-content: flex-start; }
}
@media (max-width: 460px) {
  .amr-footer__main { grid-template-columns: 1fr; }
  .amr-footer__identity { grid-column: auto; }
}
