/* =========================================================
   FOOTER BASE
========================================================= */
.siteFooter{
  background: linear-gradient(
    180deg,
    var(--deep-navy),
    var(--prussian-blue)
  );
  color: var(--white);
  font-family: var(--font-sans);
}

/* =========================================================
   FOOTER WRAP – DESKTOP
========================================================= */
.footerWrap{
  max-width: var(--max);
  margin: 0 auto;
  padding: 72px 24px;

  display: grid;
  grid-template-columns: 2.2fr 1fr 1fr 1fr;
  gap: 56px;
}

/* =========================================================
   BRAND / CONTACTO
========================================================= */
.footerBrand{
  display: flex;
  flex-direction: column;
}

.footerLogo{
  max-width: 170px;
  margin-bottom: 16px;
}

.footerDesc{
  font-size: var(--fs-small);
  line-height: var(--lh-body);
  opacity: .95;
  margin-bottom: 28px;
}

.footerSubtitle{
  font-size: var(--fs-h6);
  font-weight: 600;
  margin-bottom: 14px;
}

/* =========================================================
   CONTACT
========================================================= */
.footerContact{
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footerSocials{
  display: flex;
  gap: 18px;
}

.footerSocials a{
  display: inline-flex;
}

.footerSocials img{
  width: 22px;
  height: 22px;
  transition: transform .25s ease, opacity .25s ease;
}

.footerSocials img:hover{
  transform: translateY(-3px);
  opacity: .75;
}

.footerEmail{
  font-size: var(--fs-small);
  opacity: .9;
  word-break: break-word;
}

/* =========================================================
   COLUMNS – EXPLORAR / SERVICIOS / LEGAL
========================================================= */
.footerCol{
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.footerTitle{
  font-size: var(--fs-h6);
  font-weight: 600;
  margin-bottom: 22px;
}

/* =========================================================
   LISTS + HOVER (MISMA LÓGICA DEL HEADER)
========================================================= */
.footerList{
  list-style: none;
  margin: 0;
  padding: 0;
}

.footerList li{
  margin-bottom: 14px;
}

.footerList a{
  position: relative;
  font-size: var(--fs-body);
  opacity: .9;
  padding: 4px 0;
  transition: opacity .25s ease;
}

/* underline centrado */
.footerList a::after{
  content: "";
  position: absolute;
  left: 50%;
  bottom: -6px;
  width: 100%;
  height: 2px;
  background: linear-gradient(
    to bottom,
    var(--white),
    rgba(254,252,251,.35)
  );
  transform: translateX(-50%) scaleX(0);
  transform-origin: center;
  transition: transform .25s ease;
}

.footerList a:hover{
  opacity: 1;
}

.footerList a:hover::after{
  transform: translateX(-50%) scaleX(1);
}

/* =========================================================
   LEGAL – LIBRO DE RECLAMACIONES
========================================================= */
.libroReclamaciones{
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.libroReclamaciones img{
  width: 150px;
  border-radius: var(--radius);
}

.libroReclamaciones span{
  font-size: var(--fs-small);
  opacity: .95;
}

/* =========================================================
   FOOTER BOTTOM
========================================================= */
.footerBottom{
  border-top: 1px solid rgba(254,252,251,.25);
  padding: 22px 0;
}

.footerBottomInner{
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;

  display: flex;
  justify-content: space-between;
  font-size: var(--fs-min);
  opacity: .85;
}

/* =========================================================
   TABLET
========================================================= */
@media (max-width: 1024px){

  .footerWrap{
    grid-template-columns: 1fr 1fr;
    gap: 48px;
  }

  .footerBrand{
    grid-column: span 2;
    align-items: center;
    text-align: center;
  }

  .footerSocials{
    justify-content: center;
  }

  .footerBottomInner{
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }
}

/* =========================================================
   MOBILE – CENTRADO REAL (SIN GRID)
========================================================= */
@media (max-width: 600px){

  .footerWrap{
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 44px;
    padding: 56px 24px;
    text-align: center;
  }

  .footerBrand,
  .footerCol{
    align-items: center;
  }

  .footerLogo{
    max-width: 140px;
  }

  .footerTitle{
    font-size: var(--fs-h5);
    margin-bottom: 18px;
  }

  .footerList a{
    font-size: var(--fs-h6);
  }

  /* hover off en mobile */
  .footerList a::after{
    display: none;
  }

  .libroReclamaciones img{
    width: 180px;
  }

  .footerBottomInner{
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }
}
