#footer.es-footer {
  padding: 0;
  border-top: 4px solid var(--everstar-blue, #0057fe);
  background: var(--everstar-navy, #071831);
  color: #c1cee0;
  font-size: .85rem;
}

#footer .es-footer__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
  padding-block: 2.5rem;
  border-bottom: 1px solid rgba(168, 202, 255, .18);
}

#footer .es-footer__brand img {
  display: block;
  width: clamp(190px, 20vw, 250px);
  max-width: 100%;
  height: auto;
  filter: brightness(0) invert(1);
}

#footer .es-footer__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: .85rem 1.2rem;
  border-radius: .4rem;
  background: var(--everstar-blue, #0057fe);
  color: #fff;
  font-weight: 700;
}

#footer .es-footer__cta:hover {
  background: var(--everstar-blue-hover, #0047d1);
}

#footer .es-footer__grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1.25fr;
  gap: clamp(1.5rem, 3vw, 3rem);
  padding-block: 1.75rem;
}

#footer .es-footer__intro .es-footer__brand {
  display: inline-block;
  margin-bottom: .85rem;
}

#footer .es-footer__intro .es-footer__brand img {
  width: min(100%, 190px);
}
#footer .es-footer__statement {
  margin: 0 0 .65rem;
  color: #fff;
  font-family: "Roboto", sans-serif;
  font-size: clamp(.85rem, 1vw, 1.05rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -.025em;
}

#footer .es-footer__intro > p:not(.es-footer__statement) {
  font-size: .78rem;
  max-width: 29ch;
  margin-bottom: 0;
  line-height: 1.75;
}

#footer .es-footer__catalogue {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  color: #a8caff;
  font-weight: 600;
}

#footer.es-footer h3 {
  margin: 0 0 .8rem;
  color: #fff;
  font-size: .9rem;
  font-weight: 700;
}

#footer .es-footer__grid ul {
  display: grid;
  gap: .5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

#footer .es-footer__grid nav a,
#footer .es-footer__contact a {
  color: #c1cee0;
  line-height: 1.6;
}

#footer .es-footer__contact address {
  margin: 0 0 .65rem;
  font-style: normal;
  line-height: 1.8;
}

#footer .es-footer__contact > a {
  display: block;
  width: fit-content;
}

#footer .es-footer__contact .es-footer__email {
  margin-top: .65rem;
  color: #a8caff;
  overflow-wrap: anywhere;
}

#footer .es-footer__grid a:hover {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 4px;
}

#footer .es-footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.25rem;
  padding-block: .85rem;
  border-top: 1px solid rgba(168, 202, 255, .18);
}

#footer .es-footer__bottom p {
  margin: 0;
  color: #a9b9cf;
  font-size: .75rem;
}

#footer .es-footer__bottom strong {
  color: #fff;
}

#footer .es-footer__social {
  display: flex;
  gap: .65rem;
}

#footer .es-footer__social a {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(168, 202, 255, .25);
  border-radius: 50%;
  color: #dce8fa;
}

#footer .es-footer__social a:hover {
  border-color: var(--everstar-blue, #0057fe);
  background: var(--everstar-blue, #0057fe);
  color: #fff;
}

#footer a:focus-visible {
  outline: 2px solid var(--everstar-blue-light, #a8caff);
  outline-offset: 4px;
}

@media (max-width: 991px) {
  #footer .es-footer__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 575px) {
  #footer .es-footer__top,
  #footer .es-footer__grid {
    padding-block: 1.5rem;
  }

  #footer .es-footer__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.4rem;
  }

  #footer .es-footer__cta {
    width: 100%;
  }
}
@media (min-width: 992px) {
  #footer .es-footer__grid > * {
    position: relative;
    min-width: 0;
  }

  #footer .es-footer__grid > * + *::before {
    position: absolute;
    top: 0;
    bottom: 0;
    left: calc(clamp(1.5rem, 3vw, 3rem) / -2);
    width: 1px;
    background: rgba(255, 255, 255, .12);
    content: "";
    pointer-events: none;
  }
}
