/* Footer - Health Programs (colmedica.com) */
.hp-footer {
  position: relative;
  box-sizing: border-box;
  width: 100%;
  display: flex;
  justify-content: center;
  margin-top: 4.25rem;
  padding: 5rem 6rem 1rem;
  font-size: 14px;
  overflow: hidden;
}

.hp-footer__bg {
  position: absolute;
  display: flex;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  justify-content: center;
}

.hp-footer__bg svg {
  display: block;
  width: 100%;
  height: 100%;
}

.hp-footer__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.hp-footer__grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
}

.hp-footer__col {
  grid-column: span 1;
  padding: 0 15px;
}

.hp-footer__col h2 {
  margin: 0 0 10px;
  color: #005cac !important;
  font-size: 1rem;
  font-weight: 700;
  text-align: left;
  text-transform: uppercase;
}

.hp-footer__nav {
  display: flex;
  flex-direction: column;
  margin: 0 0 0 2rem;
  padding: 0;
  list-style: disc;
}

.hp-footer__nav li {
  margin-bottom: 5px;
}

.hp-footer__nav a {
  color: #222 !important;
  padding: 0;
  text-decoration: none;
}

.hp-footer__nav a:hover {
  color: #0093d6 !important;
  text-decoration: none;
}

.hp-footer__info {
  grid-column: span 2;
  padding: 0 15px;
}

.hp-footer__info-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.hp-footer__phone {
  text-align: center;
}

.hp-footer__phone span {
  color: #005cac;
  font-size: 1rem;
  font-weight: 600;
}

.hp-footer__supersalud img {
  display: block;
  max-height: 50px;
  max-width: 100%;
  height: auto;
}

.hp-footer__social {
  display: flex;
  grid-column: span 1;
  flex-direction: column;
  align-items: flex-start;
  padding: 0 15px;
}

.hp-footer__social h2 {
  margin: 0 0 10px 0;
  padding: 0;
  color: #005cac!important;
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
}

.hp-footer__social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
  align-items: center;
}

.hp-footer__social-links a {
  display: block;
  margin-right: 5px;
  line-height: 0;
}

.hp-footer__social-links img {
  display: block;
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.hp-footer__skeleton {
  width: 100%;
  height: 280px;
  border-radius: 8px;
  background-color: rgba(0, 0, 0, 0.12);
  animation: hp-footer-pulse 2s cubic-bezier(0.4, 0, 0.8, 1) infinite;
}

@keyframes hp-footer-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

@media (max-width: 575.98px) {
  .hp-footer {
    display: block;
    margin-top: 1rem;
    padding: 1rem;
    background-color: #e4f3ff;
  }

  .hp-footer__bg {
    display: none;
  }

  .hp-footer__grid {
    display: flex;
    flex-direction: column;
  }

  .hp-footer__col,
  .hp-footer__info {
    grid-column: span 3;
    width: 100%;
    padding: 0 0 1rem;
  }

  .hp-footer__social {
    padding: 0;
  }

  .hp-footer__info-row {
    display: block;
    text-align: left;
  }

  .hp-footer__phone {
    text-align: left;
  }

  .hp-footer__block {
    padding: 0;
  }
}

@media (min-width: 768px) and (max-width: 991.98px) {
  .hp-footer {
    padding: 5rem 1rem 1rem;
  }
}
