/* Wide monitors: expand the useful content, with a bounded brand column. */
@media(min-width:1600px) {
  footer.aq-footer .aq-footer__container {width:calc(1280px + (100vw - 1600px)*.5);max-width:1600px;}
  footer.aq-footer .aq-footer__grid {grid-template-columns:420px minmax(0,1fr) minmax(0,1.08fr);gap:32px;}
  footer.aq-footer .aq-footer__brand {min-height:310px;}
  footer.aq-footer .aq-footer__title {font-size:12px!important;}
  footer.aq-footer .aq-footer__links a {font-size:14px!important;}
  footer.aq-footer .aq-footer__sections a {font-size:12px!important;}
  footer.aq-footer .aq-footer__contacts>a {font-size:14px!important;}
  footer.aq-footer .aq-footer__contacts .aq-footer__phone {font-size:18px!important;}
  footer.aq-footer .aq-footer__map {min-height:190px;}
  footer.aq-footer .aq-footer__bottom {font-size:11px;}
  footer.aq-footer .aq-footer__legal nav a,footer.aq-footer .aq-footer__legal nav button {font-size:11px!important;}
}
/* Rainbow highlight travels left, fades out, then repeats on the home page. */
footer.aq-footer::before {
  left:0;right:auto;width:72%;height:2px;border-radius:999px;
  background:linear-gradient(90deg,transparent 0%,#9575f5 12%,#609dff 25%,#58d9df 38%,#a2d89a 49%,#efd38b 60%,#ec94c2 73%,#bf66df 87%,transparent 100%);
  background-size:100% 100%;
  box-shadow:0 0 7px rgba(153,125,235,.35);
  animation:aqIndexFooterRainbow 8s linear infinite;
}
@keyframes aqIndexFooterRainbow {
  0% {transform:translateX(140%);opacity:0;}
  8% {opacity:1;}
  76% {transform:translateX(-140%);opacity:1;}
  84%,100% {transform:translateX(-140%);opacity:0;}
}
@media(prefers-reduced-motion:reduce) {
  footer.aq-footer::before {animation:none;transform:none;opacity:.8;width:100%;}
}
/* Paired navigation rows with a text-only hover highlight. */
footer.aq-footer .aq-footer__navigation .aq-footer__title {margin-bottom:10px;}
footer.aq-footer .aq-footer__navigation .aq-footer__links {
  display:grid;grid-template-rows:repeat(4,minmax(44px,1fr));gap:0;padding:0;
}
footer.aq-footer .aq-footer__navigation .aq-footer__links a {
  display:flex;align-items:center;position:relative;min-height:44px;padding:10px 0;
  border:0;background:transparent;text-shadow:none;
  transition:color .24s ease,text-shadow .24s ease;
}

footer.aq-footer .aq-footer__navigation .aq-footer__links a:hover,
footer.aq-footer .aq-footer__navigation .aq-footer__links a:focus-visible {
  color:#fff!important;background:transparent;text-shadow:0 0 10px rgba(210,186,255,.58),0 0 22px rgba(153,128,222,.22);
}
/* Desktop lists follow their content, independently of the map height. */
@media(min-width:1101px) {
  footer.aq-footer .aq-footer__navigation {align-self:start;align-content:start;grid-template-rows:auto auto;row-gap:24px;}
  footer.aq-footer .aq-footer__navigation .aq-footer__title {margin-bottom:18px;}
  footer.aq-footer .aq-footer__catalog,
  footer.aq-footer .aq-footer__more {display:block;min-height:0;}
  footer.aq-footer .aq-footer__navigation .aq-footer__links {grid-template-rows:repeat(4,auto);gap:12px;}
  footer.aq-footer .aq-footer__navigation .aq-footer__links a {min-height:0;padding:0;}
  footer.aq-footer .aq-footer__sections {min-height:0;padding:16px 0 0;}
}
@media(prefers-reduced-motion:reduce) {
  footer.aq-footer .aq-footer__navigation .aq-footer__links a {transition:none;}
}
/* Secondary links form one readable group instead of filling the whole row. */
@media(min-width:1101px) {
  footer.aq-footer .aq-footer__sections {justify-content:center;gap:8px 20px;}
  footer.aq-footer .aq-footer__sections a {font-size:13px!important;line-height:1.5;text-shadow:none;transition:color .24s ease,text-shadow .24s ease;}
}
@media(min-width:1600px) {
  footer.aq-footer .aq-footer__sections {column-gap:24px;}
  footer.aq-footer .aq-footer__sections a {font-size:14px!important;}
}
footer.aq-footer .aq-footer__sections a:hover,
footer.aq-footer .aq-footer__sections a:focus-visible {color:#fff;text-shadow:0 0 10px rgba(210,186,255,.58),0 0 22px rgba(153,128,222,.22);}
@media(prefers-reduced-motion:reduce) {footer.aq-footer .aq-footer__sections a {transition:none;}}
/* Keep the company copy together, with a calm hierarchy and consistent rhythm. */
@media(min-width:1101px) {
  footer.aq-footer .aq-footer__brand {display:block;padding:24px;}
  footer.aq-footer .aq-footer__brand .footer-main-lockup {margin-bottom:18px;}
  footer.aq-footer .aq-footer__brand .footer-list {display:grid;gap:16px;}
  footer.aq-footer .aq-footer__brand .footer-capability {font-size:17px!important;font-weight:600!important;line-height:1.6!important;}
  footer.aq-footer .aq-footer__brand .footer-geo {font-size:14px!important;line-height:1.7!important;}
  footer.aq-footer .aq-footer__brand .footer-scope {margin:0;font-size:13px!important;line-height:1.7!important;}
}