.footer-home {
  background-color: var(--white, #fff);
  border-top: 1px solid #e2e8f0;
  padding: 0;
  font-family: var(--text-reg), sans-serif;
  color: #333;
}

.footer-container {
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  padding: 25px 15px;
}
@media(min-width:1200px){
  .footer-container{max-width:1140px;}
}
@media(min-width:1400px){
  .footer-container{max-width:1320px;}
}
.footer-row {
  display: flex;
  /*flex-wrap: wrap;*/
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

/* Columna de Información */
.footer-col-info {
  flex: 1 1;
  max-width: 200px;
}

.footer-title {
  color: var(--red, #DA1B2C);
  font-family: var(--text-bold), sans-serif;
  font-size: 1.55rem;
  font-weight: 700;
  margin-bottom: 15px;
}

.footer-text {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #444;
  margin-bottom: 25px;
}

/* Redes Sociales */
.footer-socials {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 2px solid #000;
  border-radius: 50%;
  color: #000;
  font-size: 1.25rem;
  text-decoration: none;
  transition: all 0.25s ease;
}

.footer-social-link:hover,.footer-social-link:focus {
  color: #fff;
  transform: translateY(-2px);
}
.footer-social-link:hover {
  background-color: var(--red, #DA1B2C);
  border:2px solid var(--red, #DA1B2C);
}
.footer-social-link:focus {
  background-color: var(--black, #000);
}

.footer-social-link:focus-visible {
  outline: 2px solid var(--black, #000);
  outline-offset: 2px;
}

/* Columnas de Enlaces */
.footer-col-links {
  flex: 1 1 140px;
  text-align: center;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: inline-block;
  text-align: center;
}

.footer-links li {
  margin-bottom: 15px;
}

.footer-links a {
  color: #000;
  font-family: var(--text-semibold), sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: underline;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--red, #DA1B2C);
}

.footer-links a:focus-visible {
  outline: 2px solid var(--black, #000);
  outline-offset: 2px;
}

/* Columna del Logo */
.footer-col-logo {
  flex: 1 1 180px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  max-width: 200px;
}

.footer-logo-wrapper {
  max-width: 220px;
}

.footer-logo {
  width: 100%;
  height: auto;
  max-width: 163px;
  object-fit: contain;
}
.footer-logo-AL {
  height: 51px;
  width:auto;
  margin:0 auto;
}

/* Divisor decorativo: solo visible cuando el logo va solo en la fila inferior */
.footer-logo-divider {
  display: none;
  width: 100%;
  height: 1px;
  background-color: #d0d5dd;
  margin: 0 auto 20px auto;
}

/* Responsividad */

/* Entre 500px y 794px: Logos lado a lado, redes sociales abajo */
@media (max-width: 794px) {
  .footer-row {
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    row-gap: 20px;
    column-gap: 80px;
  }

  .footer-col-info {
    order: 1;
    flex: 0 1 auto;
    max-width: 45%;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .footer-col-logo {
    order: 2;
    flex: 0 1 auto;
    max-width: 45%;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .footer-socials {
    order: 3;
    flex: 1 1 100%;
    justify-content: center;
    margin-top: 0;
  }

  .footer-logo-divider {
    display: none !important;
  }
}

/* Menos de 500px: Logos uno debajo de otro, redes sociales abajo del todo */
@media (max-width: 499px) {
  .footer-row {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 20px;
  }

  .footer-col-info {
    order: 1;
    flex: 1 1 100%;
    max-width: 100%;
    display: flex;
    justify-content: center;
  }

  .footer-col-logo {
    order: 2;
    flex: 1 1 100%;
    max-width: 100%;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
  }

  .footer-socials {
    order: 3;
    flex: 1 1 100%;
    justify-content: center;
    margin-top: 10px;
  }

  /* Divisor entre ambos logos */
  .footer-logo-divider {
    display: block;
    width: 80%;
    max-width: 200px;
    height: 1px;
    background-color: #d0d5dd;
    margin: 10px auto 20px auto;
  }
}