/* =========================================================
   DEPORTES JIMMY — FOOTER
   ========================================================= */

.dj-footer {
  position: relative;
  overflow: hidden;
  color: var(--dj-white, #fff);
}

.dj-footer__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 0;
}

.dj-footer__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.88) 0%, rgba(0,0,0,0.94) 60%, #000 100%);
  z-index: 1;
}

.dj-footer__inner {
  position: relative;
  z-index: 2;
  padding: var(--dj-space-2xl, 96px) var(--dj-space-sm, 16px) var(--dj-space-lg, 40px);
}

/* ---------------------------------------------------------
   Bloque de marca (logo + tagline)
   --------------------------------------------------------- */
.dj-footer__brand {
  text-align: center;
  margin-bottom: var(--dj-space-xl, 64px);
}
.dj-footer__logo {
  height: clamp(40px, 5vw, 64px) !important;
  width: auto !important;
  max-width: 240px;
}

/* ---------------------------------------------------------
   Grid de columnas
   --------------------------------------------------------- */
.dj-footer__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--dj-space-lg, 40px);
}

.dj-footer__heading {
  font-family: var(--dj-font-display);
  font-size: 1.1rem;
  text-transform: uppercase;
  color: var(--dj-white, #fff);
  margin-bottom: var(--dj-space-sm, 16px);
  position: relative;
  padding-bottom: 10px;
}
.dj-footer__heading::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 32px;
  height: 3px;
  background: var(--dj-red, #FF0000);
}

.dj-footer__list {
  list-style: none;
  margin: 0;
  padding: 0;
  font-family: var(--dj-font-body);
  font-size: 0.9rem;
  color: rgba(255,255,255,0.75);
}
.dj-footer__list li {
  margin-bottom: 10px;
  line-height: 1.5;
}
.dj-footer__list li span {
  display: block;
  color: rgba(255,255,255,0.5);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

/* Links del menú (heredado de wp_nav_menu) */
.dj-footer__list--links li a {
  color: rgba(255,255,255,0.75);
  text-decoration: none;
  transition: color 0.2s ease;
}
.dj-footer__list--links li a:hover {
  color: var(--dj-red, #FF0000);
}

/* Sucursales */
.dj-footer__list--sucursales li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  padding-bottom: 8px;
}
.dj-footer__sucursal-name {
  color: #fff;
  font-weight: var(--dj-weight-semibold, 600);
  font-size: 0.85rem;
  text-decoration: none;
  transition: color 0.2s ease;
}
.dj-footer__sucursal-name:hover {
  color: var(--dj-red, #FF0000);
  text-decoration: underline;
}
.dj-footer__list--sucursales a:not(.dj-footer__sucursal-name) {
  color: var(--dj-red, #FF0000);
  text-decoration: none;
  font-weight: var(--dj-weight-semibold, 600);
  white-space: nowrap;
}

/* ---------------------------------------------------------
   Columna de contacto
   --------------------------------------------------------- */
.dj-footer__whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  text-decoration: none;
  font-weight: var(--dj-weight-semibold, 600);
  font-size: 0.9rem;
  margin-bottom: 12px;
  transition: color 0.2s ease;
}
.dj-footer__whatsapp:hover { color: #25D366; }

.dj-footer__email {
  display: block;
  color: rgba(255,255,255,0.75);
  text-decoration: none;
  font-size: 0.85rem;
  margin-bottom: var(--dj-space-sm, 16px);
  word-break: break-all;
}
.dj-footer__email:hover { color: var(--dj-red, #FF0000); }

.dj-footer__socials {
  display: flex;
  gap: 10px;
}
.dj-footer__socials a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: var(--dj-transition);
}
.dj-footer__socials a:hover {
  background: var(--dj-red, #FF0000);
  border-color: var(--dj-red, #FF0000);
  transform: translateY(-2px);
}

/* ---------------------------------------------------------
   Barra inferior (copyright)
   --------------------------------------------------------- */
.dj-footer__bottom {
  position: relative;
  z-index: 2;
  border-top: 1px solid rgba(255,255,255,0.1);
  background: rgba(0,0,0,0.5);
}
.dj-footer__bottom-inner {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  padding: 18px 16px;
}
.dj-footer__bottom-inner p {
  margin: 0;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.5);
  font-family: var(--dj-font-body);
}
.dj-footer__credit { text-align: right; }


/* ===========================================================
   RESPONSIVE
   =========================================================== */
@media (max-width: 1024px) {
  .dj-footer__grid {
    grid-template-columns: repeat(2, 1fr);
    row-gap: var(--dj-space-xl, 64px);
  }
}

@media (max-width: 600px) {
  .dj-footer__inner { padding-top: var(--dj-space-xl, 64px); }
  .dj-footer__grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .dj-footer__heading::after { left: 50%; transform: translateX(-50%); }
  .dj-footer__list--sucursales li { justify-content: center; gap: 12px; }
  .dj-footer__socials { justify-content: center; }
  .dj-footer__bottom-inner { flex-direction: column; text-align: center; }
  .dj-footer__credit { text-align: center; }
}
