.everest-footer {
  --footer-muted: #c9e0e1;
  --footer-divider: #ffffff36;
  padding: clamp(32px, 5vw, 72px) 0 24px;
  border-radius: clamp(24px, 3vw, 42px) clamp(24px, 3vw, 42px) 0 0;
  background: linear-gradient(150deg, #285c65, var(--ink) 66%);
  color: #fff;
}

.everest-footer__inner {
  width: min(1440px, calc(100% - clamp(36px, 8.4vw, 120px)));
  margin-inline: auto;
}

.everest-footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, .9fr) minmax(0, 1.05fr) minmax(0, 1.28fr);
  gap: clamp(24px, 4vw, 64px);
}

.everest-footer a {
  color: inherit;
}

.everest-footer a:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 4px;
}

.everest-footer__brand {
  display: inline-block;
  width: min(190px, 100%);
  margin-bottom: 22px;
}

.everest-footer__brand img {
  display: block;
  width: 100%;
  height: auto;
}

.everest-footer__address {
  display: grid;
  gap: 16px;
  font-size: 14px;
  font-style: normal;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.everest-footer__address div > * {
  display: block;
}

.everest-footer__label {
  color: var(--footer-muted);
  font-size: 12px;
}

.everest-footer__nav a {
  display: block;
  width: fit-content;
  padding-block: 5px;
  font-size: 14px;
  line-height: 1.4;
}

.everest-footer__nav h2,
.everest-footer__social h2 {
  margin: 0 0 14px;
  color: #fff;
  font-size: clamp(16px, 1.5vw, 20px);
  font-weight: 650;
  letter-spacing: -.02em;
  line-height: 1.2;
}

.everest-footer__social h2 {
  font-size: clamp(23px, 2.4vw, 36px);
}

.everest-footer__nav a:hover,
.everest-footer__address a:hover,
.everest-footer__bottom a:hover {
  text-decoration: underline;
  text-underline-offset: .25em;
}

.everest-footer__instagram,
.everest-footer__booking {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  width: fit-content;
  max-width: 100%;
  min-height: 46px;
  padding: 10px 15px;
  border: 1px solid var(--footer-divider);
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
}

.everest-footer__instagram svg {
  flex: none;
}

.everest-footer__instagram span {
  overflow-wrap: anywhere;
}

.everest-footer__instagram:hover {
  background: #ffffff1a;
}

.everest-footer a.everest-footer__booking {
  margin-top: 12px;
  border-color: var(--brand-pale);
  background: var(--brand-pale);
  color: var(--ink);
}

.everest-footer a.everest-footer__booking:hover {
  border-color: #fff;
  background: #fff;
}

.everest-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: start;
  gap: 12px 28px;
  margin-top: clamp(24px, 4vw, 52px);
  padding-top: 18px;
  border-top: 1px solid var(--footer-divider);
  color: var(--footer-muted);
  font-size: 12px;
  line-height: 1.55;
}

.everest-footer__bottom p {
  margin: 0;
}

.everest-footer__bottom nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
}

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

}

@media (max-width: 760px) {
  .everest-footer {
    padding-bottom: calc(105px + env(safe-area-inset-bottom, 0px));
  }
}

@media (max-width: 500px) {
  .everest-footer__grid {
    gap: 26px 18px;
  }

  .everest-footer__contacts,
  .everest-footer__social {
    grid-column: 1 / -1;
  }

  .everest-footer__brand {
    width: min(150px, 100%);
    margin-bottom: 15px;
  }
}
