.tpm-footer {
  --tpm-footer-steps: none;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 62px 0 0;
  background: var(--tpm-white);
  color: var(--tpm-ink);
}

.tpm-footer__background {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(246, 253, 253, 0.98));
  pointer-events: none;
}

.tpm-footer__steps,
.tpm-footer__orb {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.tpm-footer__steps {
  z-index: 1;
  background-image: var(--tpm-footer-steps);
  background-repeat: no-repeat;
  background-position: center bottom;
  background-size: min(1040px, 96vw) auto;
  mix-blend-mode: multiply;
}

.tpm-footer__orb {
  z-index: 0;
  background:
    radial-gradient(ellipse 620px 680px at 96% 62%, rgba(3, 139, 165, 0.12) 0%, rgba(3, 139, 165, 0.07) 42%, rgba(3, 139, 165, 0) 74%),
    radial-gradient(ellipse 420px 360px at 12% 92%, rgba(3, 139, 165, 0.07) 0%, rgba(3, 139, 165, 0) 68%);
}

.tpm-footer > .tpm-container,
.tpm-footer__bottom {
  position: relative;
  z-index: 2;
}

.tpm-footer__banner {
  display: block;
  width: min(760px, 100%);
  margin: 0 auto 54px;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 22px 48px rgba(0, 38, 44, 0.16);
  text-decoration: none !important;
  transition: none;
}

.tpm-footer__banner:hover,
.tpm-footer__banner:focus-visible {
  box-shadow: 0 22px 48px rgba(0, 38, 44, 0.16);
  transform: none;
}

.tpm-footer__banner img {
  display: block;
  width: 100%;
  height: auto;
}

.tpm-footer__grid {
  display: grid;
  grid-template-columns: minmax(250px, 1.25fr) minmax(150px, 0.6fr) minmax(210px, 0.85fr) minmax(310px, 1.15fr);
  gap: clamp(26px, 4vw, 54px);
  align-items: start;
  padding: 0 0 56px;
}

.tpm-footer__brand {
  display: flex;
  justify-content: center;
  max-width: 380px;
}

.tpm-footer__logo-link {
  display: inline-flex;
  justify-content: center;
  text-decoration: none !important;
}

.tpm-footer__logo {
  display: block;
  width: min(174px, 52vw);
  height: auto;
}

.tpm-footer__col {
  display: grid;
  align-content: start;
  gap: 16px;
  min-width: 0;
}

.tpm-footer__col h3 {
  margin: 0 0 4px;
  color: var(--tpm-teal) !important;
  font-family: var(--tpm-font-body);
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1.2;
  text-transform: uppercase;
}

.tpm-footer__links {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.tpm-footer__links--destinations {
  gap: 9px;
}

.tpm-matriz .tpm-footer__links a {
  display: inline-flex;
  align-items: center;
  color: var(--tpm-ink) !important;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.25;
  text-decoration: none !important;
  transition: color 180ms ease, transform 180ms ease;
}

.tpm-footer__links a::before {
  content: "";
  width: 7px;
  height: 7px;
  flex: 0 0 auto;
  margin-right: 9px;
  border-radius: 999px;
  background: var(--tpm-pink);
}

.tpm-matriz .tpm-footer__links a:hover,
.tpm-matriz .tpm-footer__links a:focus-visible {
  color: var(--tpm-pink) !important;
  transform: translateX(3px);
}

.tpm-footer__contact-link {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 11px;
  align-items: center;
  min-width: 0;
  color: var(--tpm-ink) !important;
  font-size: 15px;
  font-weight: 750;
  line-height: 1.25;
  text-decoration: none !important;
  transition: color 180ms ease, transform 180ms ease;
}

.tpm-footer__contact-link:hover,
.tpm-footer__contact-link:focus-visible {
  color: var(--tpm-pink) !important;
  transform: translateX(3px);
}

.tpm-footer__contact-link > span:last-child {
  min-width: 0;
  overflow-wrap: anywhere;
}

.tpm-footer__contact-icon {
  display: inline-flex;
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--tpm-pink);
  color: var(--tpm-white);
  font-size: 15px;
}

.tpm-footer__socials {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 8px;
}

.tpm-footer__socials a {
  display: inline-flex;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--tpm-pink);
  color: var(--tpm-white) !important;
  font-size: 20px;
  text-decoration: none !important;
  transition: background 180ms ease, transform 180ms ease;
}

.tpm-footer__socials a:hover,
.tpm-footer__socials a:focus-visible {
  background: var(--tpm-teal);
  transform: translateY(-2px);
}

.tpm-footer__float-whatsapp {
  position: fixed;
  right: 24px;
  bottom: 26px;
  z-index: 9998;
  display: inline-flex;
  width: 66px;
  height: 66px;
  align-items: center;
  justify-content: center;
  border: 3px solid var(--tpm-white);
  border-radius: 999px;
  background: var(--tpm-pink);
  box-shadow: 0 14px 30px rgba(0, 38, 44, 0.2);
  color: var(--tpm-white) !important;
  font-size: 32px;
  text-decoration: none !important;
  transition: background 180ms ease, transform 180ms ease;
}

.tpm-footer__float-whatsapp:hover,
.tpm-footer__float-whatsapp:focus-visible {
  background: var(--tpm-teal);
  transform: translateY(-3px);
}

.tpm-footer__bottom {
  background: var(--tpm-teal);
  color: var(--tpm-white);
}

.tpm-footer__bottom-inner {
  display: flex;
  min-height: 54px;
  align-items: center;
  justify-content: space-between;
  gap: 12px 28px;
  text-align: left;
}

.tpm-footer__bottom span,
.tpm-footer__bottom a {
  color: var(--tpm-white) !important;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
  text-decoration: none !important;
}

.tpm-footer__bottom a:hover,
.tpm-footer__bottom a:focus-visible {
  text-decoration: underline !important;
}

@media (max-width: 1080px) {
  .tpm-footer__grid {
    grid-template-columns: minmax(260px, 1.1fr) minmax(150px, 0.7fr) minmax(210px, 0.9fr);
  }

  .tpm-footer__contact {
    grid-column: 1 / -1;
  }
}

@media (max-width: 760px) {
  .tpm-footer {
    padding-top: 46px;
  }

  .tpm-footer__steps {
    background-position: center bottom;
    background-size: 720px auto;
  }

  .tpm-footer__orb {
    background:
      radial-gradient(ellipse 500px 620px at 96% 70%, rgba(3, 139, 165, 0.1) 0%, rgba(3, 139, 165, 0.06) 48%, rgba(3, 139, 165, 0) 76%),
      radial-gradient(ellipse 360px 300px at 10% 92%, rgba(3, 139, 165, 0.06) 0%, rgba(3, 139, 165, 0) 70%);
  }

  .tpm-footer__banner {
    margin-bottom: 42px;
    border-radius: 10px;
  }

  .tpm-footer__grid {
    grid-template-columns: 1fr;
    gap: 32px;
    padding-bottom: 42px;
    text-align: left;
  }

  .tpm-footer__brand {
    max-width: none;
    justify-content: center;
  }

  .tpm-footer__links a,
  .tpm-footer__contact-link {
    justify-self: start;
  }

  .tpm-footer__logo-link {
    justify-self: center;
  }

  .tpm-footer__links a {
    justify-content: flex-start;
  }

  .tpm-footer__contact-link {
    width: min(100%, 360px);
    text-align: left;
  }

  .tpm-footer__socials {
    justify-content: flex-start;
  }

  .tpm-footer__bottom-inner {
    min-height: 74px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 12px 0;
    text-align: center;
  }
}

@media (max-width: 520px) {
  .tpm-footer__banner {
    width: 100%;
  }

  .tpm-footer__float-whatsapp {
    right: 18px;
    bottom: 18px;
    width: 60px;
    height: 60px;
    border-width: 3px;
    font-size: 29px;
  }
}
