@charset "UTF-8";
/* FOOTER */

.site-footer {
  background-color: #718473;
  color: #fff;
  font-family: inherit;
  font-size: 11px;
}

/* BLOQUE PRINCIPAL */

.footer-main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 3.5rem 1.5rem 2.5rem;
  display: grid;
  grid-template-columns: 2fr 3fr 3fr;   /* 3 columnas */
  column-gap: 3rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

.footer-col {
  position: relative;
  padding: 0 2rem 0 2rem;
}

/* lÃ­neas verticales entre columnas */
.footer-col + .footer-col {
  border-left: 1px solid rgba(255, 255, 255, 0.3);
}

/* COL 1: MARCA */

.footer-brand {
  padding-left: 0;
  line-height: 1.8;
}

.footer-brand-name {
  letter-spacing: 0.18em;
  text-transform: uppercase;
  line-height: 1.8;
  margin-top: 1rem;
}

.footer-brand-name span {
  display: block;
}

.footer-brand-logos {
  margin-top: 0;
  text-align: left; 
}

.footer-brand-logos img {
  max-height: 90px;
  width: auto;
  display: block;            /* ocupa una lÃ­nea */
  margin-left: 0;            /* pegado a la izquierda */
  margin-right: auto; 
}

/* ENLACES */

.footer-links ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-links li + li {
  margin-top: 0.9rem;
}

.footer-links a {
  color: #fff;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 11px;
  line-height: 2;
}

.footer-links a:hover {
  color: var(--gris-oscuro);
}

/* CONTACTO / BLOQUES */

.footer-contact .footer-block + .footer-block {
  margin-top: 1.9rem;
}

.footer-title {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  margin: 0 0 0.5rem;
}

.footer-note {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.8;
}

.footer-link {
  color: #fff;
  text-decoration: none;
  text-transform: lowercase;
}

.footer-link:hover {
  color: var(--gris-oscuro);
}

.footer-contact p {
  margin: 0;
}

/* RRSS */

.footer-social {
  display: flex;
  gap: 0.1rem;
  margin-top: 0.6rem;
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
}

.footer-social img {
  max-width: 30px;
  max-height: 30px;
}

/* FRANJA INFERIOR */

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.8rem 1.5rem 1.2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 9px;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 0.18em;
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.footer-bottom a:hover {
  text-decoration: none;
  color: var(--gris-oscuro);
}

/* RESPONSIVE */

/* ── RESPONSIVE MÓVIL ─── */
@media (max-width: 768px) {

  .footer-main {
    grid-template-columns: 1.5fr 2fr;  /* brand arriba, luego 2 columnas */
    row-gap: 2rem;
  }

  .footer-brand {
    grid-column: 1 / -1;
    padding-right: 0;
    border-right: none;
    border-left: none;
  }

  .footer-col {
    padding: 0 1.5rem;
  }

  .footer-col + .footer-col {
    border-left: none;
  }

  .footer-col:not(.footer-brand) {
    border-left: 1px solid rgba(255, 255, 255, 0.3);
  }

  .footer-bottom {
    flex-direction: column;
    gap: 0.4rem;
    text-align: center;
  }

  .footer-main {
    grid-template-columns: 1fr;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  }

  .footer-col {
    padding: 1.5rem 0;
    border-left: none !important;
    border-top: 1px solid rgba(255, 255, 255, 0.3);
  }

  .footer-brand {
    border-top: none;
	
  }

 .footer-brand-logos {
  margin-top: 0;
  text-align: left;          /* el contenedor mira a la izquierda */

  .site-footer .footer-main {
    align-items: flex-start;
  }

  .site-footer .footer-brand {
    text-align: left;
    align-items: flex-start;
    justify-content: flex-start;
  }

  .site-footer .footer-brand-logos {
    text-align: left;
    justify-content: flex-start;
  }

  .site-footer .footer-brand-logos img {
    margin-left: 0;
    margin-right: 0;
  }

  .site-footer .footer-brand-name,
  .site-footer .footer-brand .footer-block {
    text-align: left;
  }

  /* Nos aseguramos de que la columna de marca estÃ© visible y alineada */
  .site-footer .footer-col.footer-brand {
    display: block !important;
    text-align: left !important;
  }

  /* Contenedor del logo */
  .site-footer .footer-brand-logos {
    display: block !important;
    text-align: left !important;
  }

  /* La imagen del logo: que se vea sÃ­ o sÃ­ */
  .site-footer .footer-brand-logos img {
    display: block !important;
    max-width: 140px;
    height: auto;
    margin: 0 !important;
  }
}
