/* Footer styles */
footer {
  background-color: var(--color-fondo-blanco);
  padding: var(--h20) 0;
  box-shadow: var(--sombra-sutil-top);
  bottom: 0;
  z-index: 100;
  margin-top: var(--h80);
}

.footer-container-top {
  display: flex;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.footer-column {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 200px;
}

.footer-column a {
  text-decoration: none;
  color: #6c757d;
  transition: color 0.3s;
  font-weight: bold;
  position: relative;
  /* Añade posición relativa para que el ::after funcione */
}

.text-column a:hover {
  color: var(--color-hover);
}

.text-column a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  /* Grosor del subrayado */
  background-color: var(--color-hover);
  transform: scaleX(0);
  /* Ocultar inicialmente */
  transform-origin: bottom left;
  transition: transform 0.3s ease-in-out;
}

.text-column a:hover::after {
  transform: scaleX(1);
  /* Mostrar el subrayado al hacer hover */
}

.social-links {
  display: flex;
  gap: 15px;
}

.social-links a {
  font-size: 24px;
  transition: transform 0.3s ease-in-out;
}

.social-links a:hover {
  transform: scale(1.2);
}

.social-links a .bi-instagram {
  color: #e1306c;
  transform: scale(1.2);
}

.social-links a .bi-whatsapp {
  color: #25d366;
}

.social-links a .bi-telephone {
  color: #5a5a5a;
}

.social-links a .bi-envelope {
  color: #34b7f1;
}

.footer-container-bottom {
  display: flex;
  flex-direction: row;
  justify-content: center;
  text-align: center;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid #dee2e6;
  gap: 20px;
}

.footer-container-bottom p {
  font-size: 12px;
  color: #6c757d;
}

.footer-logo-div img {
  width: 50px;
}

@media (max-width: 768px) {
  footer {
    margin-top: 0;
  }

  .footer-container-top {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1.8rem;
  }

  .footer-container-bottom {
    display: grid;
    /* Define 2 columnas de igual ancho y un 'auto' para la segunda fila */
    grid-template-columns: 1fr auto auto 1fr;
    grid-template-rows: auto auto;
    /* Define las áreas por nombre para mayor claridad */
    grid-template-areas:
      ". area1 area3 ."
      "area2 area2 area2 area2";       
  }

  .footer-container-bottom div:nth-child(1) {
    grid-area: area1;
    }

  .footer-container-bottom div:nth-child(2) {
    grid-area: area2;
  }

  .footer-container-bottom div:nth-child(3) {
    grid-area: area3;
  }

  .footer-logo-div img{
    width: 70px!important;
  }

  .footer-column {
    min-width: 100%;
  }
  .text-column a:active::after {
    transform: scaleX(1);
    /* Mostrar el subrayado al hacer hover */
  }
  .text-column a:active {
    color: var(--color-hover);
  }
  .social-links {
    justify-content: center;
    gap: 2rem;
    
  }
  .social-links a i{
    font-size: 2rem;
  }
  .social-links a:active{
    transform: scale(1.2);
  }
}
.cookie-manage-link {
  background: none;
  border: none;
  color: #6c757d;
  font: inherit;
  cursor: pointer;
  text-decoration: underline;
  padding: 0;
}

.cookie-manage-link:hover {
  color: var(--color-hover);
}

.cookie-manage-link:focus-visible {
  outline: 2px solid var(--color-principal);
  outline-offset: 2px;
}

