.agf-footer {
  position: relative;
  z-index: 1;
  isolation: isolate;
  width: 100%;
  background: #091b2b;
  color: #f4f7fa;
  font-family: "AGF Inter", Inter, system-ui, sans-serif;
  font-size: 15px;
  line-height: 1.6;
  text-align: left;
}
.agf-footer, .agf-footer * { box-sizing: border-box; }
.agf-footer__inner { max-width: 1440px; margin: 0 auto; padding: 64px clamp(24px, 5vw, 80px) 24px; }
.agf-footer__opening { display: flex; align-items: center; justify-content: space-between; gap: 40px; padding-bottom: 44px; border-bottom: 1px solid #314454; }
.agf-footer a { color: inherit; text-decoration: none; }
.agf-footer a:hover { color: #a9d9ff; text-decoration: underline; text-underline-offset: 5px; }
.agf-footer a:focus-visible { outline: 2px solid #a9d9ff; outline-offset: 5px; border-radius: 3px; }
.agf-footer .agf-footer__brand { font-size: clamp(24px, 3vw, 36px); font-weight: 800; letter-spacing: -0.035em; line-height: 1.2; }
.agf-footer__brand span { color: #8bcaff; }
.agf-footer .agf-footer__description { max-width: 440px; margin: 16px 0 0; color: #bdcedd; font-size: 15px; line-height: 1.65; }
.agf-footer .agf-footer__contact { display: inline-flex; align-items: center; gap: 24px; padding: 16px 22px; background: #d8edff; color: #091b2b; border-radius: 12px; font-weight: 650; }
.agf-footer .agf-footer__contact:hover { background: #fff; color: #091b2b; }
.agf-footer__links { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; padding: 42px 0 44px; }
.agf-footer .agf-footer__heading { margin: 0 0 16px; font: 650 16px/1.4 "AGF Inter", Inter, system-ui, sans-serif; color: #f4f7fa; letter-spacing: 0; text-transform: none; }
.agf-footer ul { list-style: none; padding: 0; margin: 0; }
.agf-footer li { margin: 0; padding: 0; }
.agf-footer li a { display: inline-block; padding: 9px 0; color: #bdcedd; }
.agf-footer__bottom { display: flex; flex-wrap: wrap; gap: 20px 32px; border-top: 1px solid #314454; padding-top: 24px; color: #bdcedd; font-size: 13px; }
.agf-footer__bottom > span { margin-right: auto; }
.agf-footer ::selection { background: #d8edff; color: #091b2b; }
body.layout-preview .agf-footer { display: none; }
@media (max-width: 800px) {
  .agf-footer__opening { align-items: flex-start; flex-direction: column; gap: 24px; }
  .agf-footer__links { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
}
@media (max-width: 420px) {
  .agf-footer__inner { padding-top: 40px; }
  .agf-footer__links { gap: 28px 18px; }
  .agf-footer li a { font-size: 14px; }
  .agf-footer__contact { max-width: 100%; }
  .agf-footer__bottom > span { width: 100%; }
}
