:root {
  --ast-footer-navy: #173a62;
  --ast-footer-navy-deep: #102f53;
  --ast-footer-blue: #087dcc;
  --ast-footer-line: rgba(255, 255, 255, .16);
  --ast-footer-pale: #e8f3fa;
}

body.ast-footer-experience #footer {
  display: none !important;
}

#ast-site-footer,
#ast-site-footer * {
  box-sizing: border-box;
}

.ast-footer {
  width: 100%;
  color: #fff;
}

.ast-footer__container {
  width: min(100% - 32px, 1140px);
  margin: 0 auto;
}

.ast-footer__support {
  border-top: 1px solid #d6e4ee;
  background: var(--ast-footer-pale);
  color: var(--ast-footer-navy-deep);
}

.ast-footer__support-grid {
  min-height: 178px;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(360px, .75fr);
  align-items: center;
  gap: 60px;
  padding-top: 34px;
  padding-bottom: 34px;
}

.ast-footer__eyebrow {
  margin: 0 0 8px;
  color: var(--ast-footer-blue);
  font-size: 10px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: .055em;
  text-transform: uppercase;
}

.ast-footer__support h2 {
  margin: 0;
  color: var(--ast-footer-navy-deep);
  font-size: clamp(25px, 2.4vw, 33px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -.025em;
}

.ast-footer__support p:not(.ast-footer__eyebrow) {
  max-width: 680px;
  margin: 9px 0 0;
  color: #52677b;
  font-size: 13px;
  line-height: 1.65;
}

.ast-footer__support-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 22px;
}

.ast-footer__button {
  min-height: 44px;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  padding: 0 17px;
  border: 1px solid var(--ast-footer-blue);
  border-radius: 3px;
  background: var(--ast-footer-blue);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .025em;
  text-transform: uppercase;
}

.ast-footer__button:hover,
.ast-footer__button:focus-visible {
  border-color: var(--ast-footer-navy);
  background: var(--ast-footer-navy);
  color: #fff;
}

.ast-footer__phone {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ast-footer-navy);
}

.ast-footer__phone > i {
  color: var(--ast-footer-blue);
  font-size: 18px;
}

.ast-footer__phone span,
.ast-footer__phone strong {
  display: block;
}

.ast-footer__phone span {
  color: #62768a;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .045em;
  text-transform: uppercase;
}

.ast-footer__phone strong {
  margin-top: 3px;
  color: var(--ast-footer-navy);
  font-size: 14px;
  letter-spacing: 0;
}

.ast-footer__main {
  background: var(--ast-footer-navy-deep);
}

.ast-footer__grid {
  display: grid;
  grid-template-columns: minmax(245px, 1.25fr) minmax(140px, .72fr) minmax(140px, .72fr) minmax(225px, .95fr);
  gap: 54px;
  padding-top: 47px;
  padding-bottom: 38px;
}

.ast-footer__brand .custom-logo-link,
.ast-footer__brand .ast-footer__logo-link {
  display: inline-flex;
  width: auto;
  max-width: 190px;
  margin-bottom: 17px;
}

.ast-footer__brand .custom-logo,
.ast-footer__brand .ast-footer__brand-logo {
  width: 150px;
  max-width: 150px;
  height: auto;
  border-radius: 2px;
  background: #fff;
}

.ast-footer__wordmark {
  display: inline-block;
  margin-bottom: 17px;
  color: #fff;
  font-size: 17px;
  font-weight: 700;
}

.ast-footer__brand > p {
  max-width: 305px;
  margin: 0 0 17px;
  color: #aebfd1;
  font-size: 11px;
  line-height: 1.7;
}

.ast-footer__brand > a:not(.custom-logo-link) {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  font-size: 11px;
}

.ast-footer__brand > a i {
  color: #70c0f0;
}

.ast-footer h3 {
  margin: 3px 0 16px;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .06em;
  line-height: 1.3;
  text-transform: uppercase;
}

.ast-footer__nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.ast-footer__nav a {
  color: #aebfd1;
  font-size: 11px;
  line-height: 1.45;
}

.ast-footer__nav a:hover,
.ast-footer__nav a:focus-visible,
.ast-footer__contact a:hover,
.ast-footer__contact a:focus-visible,
.ast-footer__legal a:hover,
.ast-footer__legal a:focus-visible {
  color: #fff;
}

.ast-footer__contact {
  min-width: 0;
}

.ast-footer__contact p,
.ast-footer__contact > a {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin: 0 0 11px;
  color: #aebfd1;
  font-size: 11px;
  line-height: 1.55;
}

.ast-footer__contact i {
  width: 13px;
  flex: 0 0 13px;
  margin-top: 3px;
  color: #70c0f0;
  text-align: center;
}

.ast-footer__legal {
  min-height: 63px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  border-top: 1px solid var(--ast-footer-line);
  color: #8399ae;
  font-size: 9px;
  line-height: 1.5;
}

.ast-footer__legal p {
  margin: 0;
}

.ast-footer__legal nav {
  display: flex;
  align-items: center;
  gap: 18px;
}

.ast-footer__legal a {
  color: #9eb1c3;
}

.ast-footer a:focus-visible {
  outline: 2px solid #8cd0f6;
  outline-offset: 3px;
}

@media (max-width: 991px) {
  .ast-footer__support-grid {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 35px;
  }

  .ast-footer__support-actions {
    display: grid;
    justify-items: start;
    gap: 13px;
  }

  .ast-footer__grid {
    grid-template-columns: 1.1fr .75fr .75fr;
    gap: 38px;
  }

  .ast-footer__contact {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 18px;
    padding-top: 24px;
    border-top: 1px solid var(--ast-footer-line);
  }

  .ast-footer__contact h3 {
    grid-column: 1 / -1;
    margin-bottom: 0;
  }
}

@media (max-width: 767px) {
  .ast-footer__container {
    width: min(100% - 24px, 1140px);
  }

  .ast-footer__support-grid {
    min-height: 0;
    grid-template-columns: 1fr;
    gap: 24px;
    padding-top: 34px;
    padding-bottom: 34px;
  }

  .ast-footer__support h2 {
    font-size: 25px;
  }

  .ast-footer__support-actions {
    grid-template-columns: 1fr;
  }

  .ast-footer__button {
    width: 100%;
  }

  .ast-footer__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 35px 24px;
    padding-top: 39px;
    padding-bottom: 32px;
  }

  .ast-footer__brand {
    grid-column: 1 / -1;
  }

  .ast-footer__brand > p {
    max-width: 350px;
  }

  .ast-footer__contact {
    grid-column: 1 / -1;
    grid-template-columns: 1fr;
    gap: 0;
  }

  .ast-footer__legal {
    min-height: 0;
    align-items: flex-start;
    flex-direction: column;
    gap: 11px;
    padding-top: 20px;
    padding-bottom: 22px;
  }
}

@media (max-width: 420px) {
  .ast-footer__grid {
    grid-template-columns: 1fr;
  }

  .ast-footer__brand,
  .ast-footer__contact {
    grid-column: 1;
  }

  .ast-footer__nav {
    padding-top: 22px;
    border-top: 1px solid var(--ast-footer-line);
  }
}
