/* =========================================================
   SPR Direcciones — FOOTER del sitio (global)
   Blog, novedades, notas, tienda, productos y páginas sin cierre propio.
   Prefijo: .spr2-foot-
========================================================= */

/* El de Astra queda oculto donde se usa el nuestro */
body.spr2-sitefoot .site-footer:not(.spr2-foot),
body.spr2-sitefoot #colophon:not(.spr2-foot) {
  display: none !important;
}

.spr2-foot {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-top: clamp(48px, 6vw, 80px);
  background: var(--spr2-ink);
  color: rgba(255, 255, 255, .72);
  font-size: 15px;
  line-height: 1.6;
}

.spr2-foot::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: linear-gradient(90deg, var(--spr2-red) 0 96px, rgba(255, 255, 255, .08) 96px);
}

.spr2-foot::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: repeating-linear-gradient(135deg, rgba(255, 255, 255, .02) 0 1px, transparent 1px 7px);
  pointer-events: none;
}

.spr2-foot-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, .8fr) minmax(0, 1.2fr) minmax(0, 1fr);
  gap: clamp(32px, 4vw, 56px);
  padding-bottom: clamp(40px, 5vw, 64px);
}

/* Marca */

.spr2-foot-logo {
  display: inline-flex;
  margin-bottom: 18px;
  padding: 6px;
  border-radius: 50%;
  background: #fff;
}

.spr2-foot-logo img {
  display: block;
  width: 64px;
  height: 64px;
  object-fit: contain;
}

.spr2-foot-text {
  max-width: 340px;
  margin: 0 0 22px !important;
  color: rgba(255, 255, 255, .7);
  font-size: 14.5px;
  line-height: 1.6;
}

/* Columnas */

.spr2-foot-title {
  margin: 0 0 18px !important;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
  color: #fff;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.spr2-foot-menu,
.spr2-foot-list {
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

.spr2-foot-menu li {
  margin: 0 !important;
}

.spr2-foot-menu a {
  position: relative;
  display: inline-block;
  padding: 6px 0;
  color: rgba(255, 255, 255, .78) !important;
  font-size: 15px;
  text-decoration: none !important;
  transition: color var(--spr2-ease), padding var(--spr2-ease);
}

.spr2-foot-menu a::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 0;
  height: 2px;
  background: var(--spr2-red);
  transition: width .3s var(--spr2-out);
}

.spr2-foot-menu a:hover,
.spr2-foot-menu .current-menu-item > a {
  padding-left: 18px;
  color: #fff !important;
}

.spr2-foot-menu a:hover::before,
.spr2-foot-menu .current-menu-item > a::before {
  width: 10px;
}

.spr2-foot-list li {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin: 0 0 16px !important;
}

.spr2-foot-list li:last-child {
  margin-bottom: 0 !important;
}

.spr2-foot-label {
  color: rgba(255, 255, 255, .45);
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.spr2-foot address {
  margin: 0;
  color: #fff;
  font-style: normal;
}

.spr2-foot-list span:not(.spr2-foot-label),
.spr2-foot-list a {
  color: #fff !important;
  text-decoration: none !important;
}

.spr2-foot-list a:hover {
  color: var(--spr2-red) !important;
}

.spr2-foot-list a.spr2-foot-link,
.spr2-foot-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 4px;
  color: var(--spr2-red) !important;
  font-size: 14px;
}

.spr2-foot-list a.spr2-foot-link:hover {
  color: #fff !important;
}

.spr2-foot-link svg {
  width: 14px;
  height: 14px;
}

.spr2-foot-cta {
  margin-top: 24px;
}

.spr2-foot .spr2-btn svg {
  width: 16px;
  height: 16px;
}

/* Franja inferior */

.spr2-foot-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  padding: 20px 0 24px;
  border-top: 1px solid rgba(255, 255, 255, .1);
  color: rgba(255, 255, 255, .5);
  font-size: 13px;
}

/* Botón "volver arriba" de Astra con los colores del sitio */

#ast-scroll-top {
  border-radius: 2px !important;
  background-color: var(--spr2-red) !important;
  color: #fff !important;
}

#ast-scroll-top:hover {
  background-color: var(--spr2-red-dark) !important;
}

/* Responsive */

@media (max-width: 1024px) {
  .spr2-foot-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .spr2-foot-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }

  .spr2-foot-brand .spr2-btn {
    width: 100%;
  }

  .spr2-foot-bottom {
    flex-direction: column;
  }
}