/**
 * WISP Solutions - Hoja de Estilos del Footer Corporativo V2 (Versión Clara: Turquesa y Azul)
 * Identidad Corporativa: Turquesa WISP (#06b6d4 / #0891b2), Azul Institucional (#2563eb / #1d4ed8), Blanco (#ffffff)
 * Tipografía: Space Grotesk (Titulares) + IBM Plex Sans (Cuerpo)
 */

:root {
  /* Fondo vibrante y claro: Turquesa WISP a Azul Institucional */
  --wisp-footer-bg-start: #0891b2;
  --wisp-footer-bg-mid: #0284c7;
  --wisp-footer-bg-end: #1d4ed8;
  
  --wisp-footer-border: rgba(255, 255, 255, 0.3);
  --wisp-footer-border-subtle: rgba(255, 255, 255, 0.18);
  --wisp-footer-text: #e0f2fe;
  --wisp-footer-text-light: #ffffff;
  --wisp-footer-turquoise: #a5f3fc;
  --wisp-footer-turquoise-glow: rgba(165, 243, 252, 0.6);
  --wisp-footer-font-heading: 'Space Grotesk', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --wisp-footer-font-body: 'IBM Plex Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* ====== CONTENEDOR MAESTRO DEL FOOTER ====== */
.wisp-footer-v2 {
  position: relative;
  background: linear-gradient(135deg, var(--wisp-footer-bg-start) 0%, var(--wisp-footer-bg-mid) 45%, var(--wisp-footer-bg-end) 100%);
  color: var(--wisp-footer-text);
  font-family: var(--wisp-footer-font-body);
  border-top: 1px solid var(--wisp-footer-border);
  padding: 72px 0 0;
  overflow: hidden;
  box-shadow: 0 -10px 40px rgba(8, 145, 178, 0.15);
}

/* Efecto de resplandor blanco/cian en la parte superior */
.wisp-footer-v2::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(100%, 800px);
  height: 3px;
  background: linear-gradient(90deg, transparent 0%, #ffffff 50%, transparent 100%);
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.8);
}

.wisp-footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ====== CUADRÍCULA PRINCIPAL (4 COLUMNAS) ====== */
.wisp-footer-main-grid {
  display: grid;
  grid-template-columns: 1.4fr 1.15fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 56px;
}

.wisp-footer-col {
  display: flex;
  flex-direction: column;
}

/* Columna de Marca */
.wisp-footer-brand-title {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--wisp-footer-font-heading);
  font-size: 24px;
  font-weight: 800;
  color: #ffffff;
  text-decoration: none;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.wisp-footer-brand-title span.wisp-dot {
  color: #67e8f9;
}

.wisp-footer-brand-desc {
  font-size: 14.5px;
  line-height: 1.65;
  color: #f0f9ff;
  margin: 0 0 24px;
}

/* Insignia Meta Verificado (Transparencia Luminosa) */
.wisp-footer-meta-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 10px 16px;
  border-radius: 14px;
  font-size: 13px;
  color: #ffffff;
  line-height: 1.4;
  margin-bottom: 18px;
  width: fit-content;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.wisp-footer-meta-badge svg {
  color: #a5f3fc;
  flex-shrink: 0;
}

.wisp-footer-meta-badge strong {
  display: block;
  color: #ffffff;
  font-weight: 700;
}

/* Indicador de Estado Operativo */
.wisp-footer-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.35);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 700;
  color: #ffffff;
  width: fit-content;
}

.wisp-footer-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #34d399;
  box-shadow: 0 0 10px rgba(52, 211, 153, 0.9);
  animation: wispPulseStatus 2s infinite ease-in-out;
}

@keyframes wispPulseStatus {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(0.85); }
}

/* Encabezados de Columna */
.wisp-footer-col h4 {
  font-family: var(--wisp-footer-font-heading);
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #ffffff;
  margin: 0 0 20px;
  position: relative;
  display: inline-block;
}

.wisp-footer-col h4::after {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 28px;
  height: 3px;
  background: #a5f3fc;
  border-radius: 3px;
  box-shadow: 0 0 10px rgba(165, 243, 252, 0.7);
}

/* Listas de Enlaces */
.wisp-footer-nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.wisp-footer-nav-list li a {
  font-size: 14.5px;
  color: #e0f2fe;
  text-decoration: none;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.wisp-footer-nav-list li a:hover {
  color: #ffffff;
  transform: translateX(4px);
  text-shadow: 0 0 12px rgba(255, 255, 255, 0.5);
}

.wisp-footer-nav-list li a.wisp-footer-link-highlight {
  color: #ffffff;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.15);
  padding: 4px 10px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  width: fit-content;
  margin-top: 4px;
}

.wisp-footer-nav-list li a.wisp-footer-link-highlight:hover {
  background: rgba(255, 255, 255, 0.28);
  color: #ffffff;
}

/* Tarjeta de Contacto por WhatsApp (Luminosa) */
.wisp-footer-contact-card {
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.32);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 16px;
  padding: 18px;
  margin-bottom: 18px;
  transition: border-color 0.2s, background 0.2s, transform 0.2s;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.wisp-footer-contact-card:hover {
  background: rgba(255, 255, 255, 0.22);
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-2px);
}

.wisp-footer-wa-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 12px;
}

.wisp-footer-wa-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: #ffffff;
  color: #059669;
  text-decoration: none;
  font-weight: 800;
  font-size: 14px;
  padding: 10px 16px;
  border-radius: 999px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
  transition: transform 0.2s, box-shadow 0.2s;
  width: 100%;
  box-sizing: border-box;
}

.wisp-footer-wa-btn svg {
  flex-shrink: 0;
  color: #25d366;
}

.wisp-footer-wa-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.18);
  color: #047857;
}

.wisp-footer-contact-card p {
  font-size: 13px;
  line-height: 1.5;
  color: #f0f9ff;
  margin: 10px 0 0;
}

.wisp-footer-support-hours {
  font-size: 13.5px;
  line-height: 1.55;
  color: #e0f2fe;
  margin: 0 0 14px;
}

.wisp-footer-support-hours strong {
  display: block;
  color: #ffffff;
  font-size: 13.5px;
  margin-bottom: 2px;
}

/* ====== BARRA INFERIOR / LEGAL Y COPYRIGHT ====== */
.wisp-footer-bottom-bar {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(0, 0, 0, 0.15);
  padding: 28px 0;
}

.wisp-footer-bottom-inner {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
  text-align: center;
}

.wisp-footer-copyright {
  font-size: 13.5px;
  color: #e0f2fe;
  line-height: 1.6;
}

.wisp-footer-copyright strong {
  color: #ffffff;
}

.wisp-footer-legal-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 22px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.wisp-footer-legal-links li a {
  font-size: 13px;
  color: #e0f2fe;
  text-decoration: none;
  transition: color 0.15s ease;
}

.wisp-footer-legal-links li a:hover {
  color: #ffffff;
  text-decoration: underline;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

/* ====== RESPONSIVE ====== */
@media (max-width: 1024px) {
  .wisp-footer-main-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px 32px;
  }
}

@media (max-width: 640px) {
  .wisp-footer-v2 {
    padding-top: 56px;
  }

  .wisp-footer-main-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .wisp-footer-bottom-bar {
    padding: 24px 0;
  }

  .wisp-footer-legal-links {
    gap: 10px 14px;
  }

  .wisp-footer-legal-links li a {
    font-size: 12px;
  }
}

/* ====== PREFERS REDUCED MOTION ====== */
@media (prefers-reduced-motion: reduce) {
  .wisp-footer-v2 *,
  .wisp-footer-v2 *::before,
  .wisp-footer-v2 *::after {
    animation: none !important;
    transition: none !important;
  }
}
