/* ==========================================================================
   PIE DE PÁGINA COMÚN (Velario y Enviaunarosa) — Fase 4, oct-2026
   Diseño del pie de Enviaunarosa (4 columnas + franja inferior).
   Los colores propios de cada web llegan como variables desde
   includes/sitio.php (atributo style del <footer>):
     --pie-desde / --pie-hasta : degradado de fondo (de arriba abajo)
     --pie-subrayado           : línea bajo los títulos de columna
   ========================================================================== */

/* --- Franja inferior: sellos de confianza, Google Play y copyright --- */
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  margin-top: 30px;
  padding-top: 25px;
  text-align: center;
}

.footer-bottom-flex {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.trust-side {
  display: flex;
  gap: 15px;
  font-size: 13px;
  color: #e0e0e0;
}

.trust-side i {
  color: #fff000;
}

.play-store-wrapper {
  flex-shrink: 0;
}

.play-store-btn {
  height: 42px;
  width: auto;
  transition: transform 0.2s ease;
}

.play-store-btn:hover {
  transform: scale(1.05);
}

.footer-copyright {
  color: #ffffff !important;
  font-size: 13.5px;
}

.footer-copyright a {
  color: #fff000 !important;
  font-weight: 600;
  text-decoration: none !important;
}

@media (max-width: 991px) {
  .footer-bottom-flex {
    flex-direction: column;
    gap: 12px;
  }
  .trust-side {
    justify-content: center;
    font-size: 12px;
  }
}

/* --- 1. Estructura y fondo degradado --- */
.footer-site {
  background: linear-gradient(180deg, var(--pie-desde, #000000) 0%, var(--pie-hasta, #ff0000) 100%) !important;
  color: #ffffff !important;
  padding-top: 50px;
  padding-bottom: 25px;
  font-family: 'Poppins', sans-serif;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-col {
  margin-bottom: 25px;
}

/* --- 2. Títulos de columna y subrayado --- */
.footer-title {
  color: #ffffff !important;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  position: relative;
  padding-bottom: 12px;
  margin-bottom: 20px;
}

.footer-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 35px;
  height: 3px;
  background-color: var(--pie-subrayado, #ffffff);
  border-radius: 2px;
}

/* --- 3. Texto introductorio y listas de enlaces --- */
.footer-about {
  color: #d1d1d1 !important;
  font-size: 13.5px;
  line-height: 1.6;
}

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

.footer-links li {
  margin-bottom: 0;
}

/* Fase 6.1: el enlace ocupa todo el alto de la línea (zona de toque ≥ 32 px, mismo espaciado que antes) */
.footer-links a {
  display: inline-block;
  padding: 6px 0;
  color: #cecece !important;
  text-decoration: none !important;
  font-size: 13.5px;
  font-weight: 400;
  transition: all 0.25s ease-in-out;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: #ffffff !important;
  padding-left: 5px;
  text-shadow: 0 0 8px rgba(0, 0, 0, 0.8);
}

/* --- 4. Cajas de estadísticas (últimas velas / rosas) --- */
.stats-box {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.stat-item {
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  padding: 8px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.stat-number {
  font-size: 17px;
  font-weight: 700;
  color: #fff000;
}

.stat-link {
  text-decoration: none !important;
}

.stat-label {
  font-size: 13px;
  color: #ffffff !important;
  font-weight: 500;
}

/* --- 5. Google Play y copyright --- */
.footer-bottom {
  margin-top: 25px;
}

.play-store-wrapper {
  margin-bottom: 15px;
}

.footer-copyright a:hover,
.footer-copyright a:focus-visible {
  text-decoration: underline !important;
}

/* --- 6. Móviles --- */
@media (max-width: 767px) {
  .footer-col {
    text-align: center !important;
  }
  .footer-title::after {
    left: 50%;
    transform: translateX(-50%);
  }
}
