/*
 * ============================================================
 * VALDIZARBE - FOOTER CSS
 * ============================================================
 * CSS independiente para el footer:
 * - columnas principales
 * - enlaces y contacto
 * - bloque legal
 * - métodos de pago
 * - responsive tablet/mobile
 * - utilidad accesible .vdz-sr-only
 * ============================================================
 */

/* =========================================
   FOOTER VALDIZARBE
========================================= */

.vdz-footer,
.vdz-footer * {
  box-sizing: border-box;
}

.vdz-footer {
  position: relative;
  overflow: hidden;
  padding: 54px 0 30px;
  color: #ffffff;
  background:
    linear-gradient(115deg, #102659 0%, #0b3e78 52%, #04a7d4 100%);
}

.vdz-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 96% 86%, rgba(255, 255, 255, .12), transparent 30%),
    linear-gradient(90deg, rgba(3, 24, 71, .22), rgba(255, 255, 255, .02));
  pointer-events: none;
}

.vdz-footer .vdz-container {
  position: relative;
  z-index: 2;
  width: min(100% - 32px, 1500px);
  margin-inline: auto;
}

/* =========================================
   ENLACES
========================================= */

.vdz-footer a,
.vdz-footer a:visited,
.vdz-footer a:hover,
.vdz-footer a:focus,
.vdz-footer a:active {
  color: #ffffff;
}

.vdz-footer a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* =========================================
   GRID PRINCIPAL
========================================= */

.vdz-footer__grid {
  display: grid;
  grid-template-columns: 1.1fr 1.1fr .95fr 1.15fr 1.25fr;
  gap: 56px;
  padding-bottom: 38px;
}

.vdz-footer__col {
  min-width: 0;
}

.vdz-footer__title {
  position: relative;
  margin: 0 0 22px;
  color: #ffffff;
  font-size: 15px;
  font-weight: 950;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.vdz-footer__title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -11px;
  width: 40px;
  height: 2px;
  background: rgba(255, 255, 255, .72);
  border-radius: 999px;
}

/* =========================================
   LISTAS
========================================= */

.vdz-footer__list {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.vdz-footer__list li {
  margin: 0;
  padding: 0;
}

.vdz-footer__list a {
  position: relative;
  display: inline-block;
  padding-left: 10px;
  color: #ffffff !important;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.42;
  text-decoration: none;
  transition: opacity .2s ease, transform .2s ease;
}

.vdz-footer__list a::before {
  content: "›";
  position: absolute;
  left: 0;
  top: 0;
  color: rgba(255, 255, 255, .9) !important;
}

.vdz-footer__list a:hover {
  opacity: .78;
  transform: translateX(2px);
  text-decoration: none;
}

/* =========================================
   CONTACTO
========================================= */

.vdz-footer__contact-block {
  padding: 0 0 14px;
  margin-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, .16);
}

.vdz-footer__contact-block:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: 0;
}

.vdz-footer__contact-block strong,
.vdz-footer__contact-block p,
.vdz-footer__contact-block a {
  color: #ffffff;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.45;
  text-decoration: none;
}

.vdz-footer__contact-block strong {
  display: block;
  margin-bottom: 2px;
  font-style: italic;
  font-weight: 900;
}

.vdz-footer__contact-block p {
  margin: 0 0 4px;
  font-style: italic;
}

.vdz-footer__contact-block p:last-child {
  margin-bottom: 0;
}

.vdz-footer__contact-block a:hover {
  text-decoration: underline;
}

/* =========================================
   FOOTER INFERIOR / LEGAL
========================================= */

.vdz-footer__bottom {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 28px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, .2);
}

.vdz-footer__legal {
  max-width: 920px;
}

.vdz-footer__legal p {
  margin: 0;
  color: #ffffff;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.65;
}

.vdz-footer__legal a {
  color: #ffffff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.vdz-footer__sep {
  display: inline-block;
  margin: 0 9px;
  opacity: .75;
}

/* =========================================
   MÉTODOS DE PAGO
========================================= */

.vdz-footer__payments {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 9px;
  flex-wrap: wrap;
}

.vdz-footer__payment {
  min-width: 72px;
  height: 40px;
  padding: 0 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  border-radius: 5px;
  color: #0b3e78;
  font-size: 16px;
  font-weight: 950;
  line-height: 1;
  box-shadow: 0 6px 18px rgba(3, 24, 71, .12);
}

.vdz-footer__payment--visa {
  min-width: 104px;
  color: #0b65b1;
  font-size: 35px;
  font-style: italic;
  letter-spacing: -.08em;
}

.vdz-footer__payment--paypal {
  min-width: 104px;
  color: #073b8e;
  font-size: 18px;
  font-weight: 900;
}

.vdz-footer__payment--bizum {
  min-width: 78px;
  color: #00a9ce;
  font-size: 14px;
  font-weight: 900;
  text-transform: lowercase;
}

.vdz-footer__payment--mastercard {
  min-width: 58px;
  gap: 0;
}

.vdz-footer__payment--mastercard span {
  width: 24px;
  height: 24px;
  display: block;
  border-radius: 999px;
}

.vdz-footer__payment--mastercard span:first-child {
  margin-right: -8px;
  background: #eb001b;
}

.vdz-footer__payment--mastercard span:last-child {
  background: #f79e1b;
  opacity: .9;
}

/* =========================================
   DESKTOP MEDIO
========================================= */

@media (max-width: 1300px) {
  .vdz-footer__grid {
    gap: 34px;
  }

  .vdz-footer__list a,
  .vdz-footer__contact-block strong,
  .vdz-footer__contact-block p,
  .vdz-footer__contact-block a {
    font-size: 13px;
  }
}

/* =========================================
   TABLET
========================================= */

@media (max-width: 1100px) {
  .vdz-footer {
    padding-top: 46px;
  }

  .vdz-footer__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 34px 30px;
  }

  .vdz-footer__bottom {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .vdz-footer__payments {
    justify-content: flex-start;
  }
}

/* =========================================
   MOBILE
========================================= */

@media (max-width: 767px) {
  .vdz-footer {
    padding: 38px 0 26px;
  }

  .vdz-footer .vdz-container {
    width: min(100% - 24px, 1500px);
  }

  .vdz-footer__grid {
    grid-template-columns: 1fr;
    gap: 28px;
    padding-bottom: 30px;
  }

  .vdz-footer__title {
    margin-bottom: 18px;
    font-size: 14px;
  }

  .vdz-footer__title::after {
    bottom: -9px;
  }

  .vdz-footer__list {
    gap: 7px;
  }

  .vdz-footer__list a,
  .vdz-footer__contact-block strong,
  .vdz-footer__contact-block p,
  .vdz-footer__contact-block a {
    font-size: 14px;
  }

  .vdz-footer__bottom {
    gap: 22px;
    padding-top: 22px;
  }

  .vdz-footer__legal p {
    font-size: 12px;
  }

  .vdz-footer__sep {
    display: none;
  }

  .vdz-footer__payments {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .vdz-footer__payment {
    width: 100%;
    min-width: 0;
  }
}

/* =========================================
   EXTRA SMALL
========================================= */

@media (max-width: 420px) {
  .vdz-footer__payments {
    grid-template-columns: 1fr;
  }

  .vdz-footer__payment--visa,
  .vdz-footer__payment--paypal,
  .vdz-footer__payment--bizum,
  .vdz-footer__payment--mastercard {
    min-width: 0;
  }
}

/* =========================================
   ACCESIBILIDAD
========================================= */

.vdz-sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}