/* ============================================
   MULTISYSTEMS - Landing Page Styles v2
   Glassmorphism · Responsive · Mobile-first
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

:root {
  --primary: #4f46e5;
  --primary-dark: #3730a3;
  --primary-light: #818cf8;
  --secondary: #06b6d4;
  --accent: #f59e0b;
  --dark: #0f172a;
  --darker: #020617;
  --light: #f8fafc;
  --gray: #64748b;
  --gray-light: #e2e8f0;
  --success: #10b981;
  --danger: #ef4444;
  --warning: #f59e0b;
  --glass-bg: rgba(255, 255, 255, 0.05);
  --glass-border: rgba(255, 255, 255, 0.1);
  --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  --radius: 16px;
  --radius-sm: 10px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--darker);
  color: var(--light);
  overflow-x: hidden;
  line-height: 1.6;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 20%, rgba(79,70,229,0.15) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 80%, rgba(6,182,212,0.1) 0%, transparent 60%),
    radial-gradient(ellipse at 50% 50%, rgba(245,158,11,0.05) 0%, transparent 70%);
  pointer-events: none;
  z-index: -1;
}

/* ====== NAVBAR ====== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 1rem 2rem;
  background: rgba(15,23,42,0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--glass-border);
  transition: var(--transition);
}
.navbar.scrolled {
  padding: 0.6rem 2rem;
  background: rgba(15,23,42,0.97);
  box-shadow: 0 4px 30px rgba(0,0,0,0.5);
}
.nav-container {
  max-width: 1300px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.nav-logo {
  display: flex; align-items: center; gap: 0.8rem; text-decoration: none;
  flex-shrink: 0;
}
.nav-logo-icon {
  width: 42px; height: 42px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; font-weight: 800; color: white;
}
.nav-logo-text {
  font-size: 1.4rem; font-weight: 700;
  background: linear-gradient(135deg, #fff, #e2e8f0);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.nav-links {
  display: flex; gap: 1.6rem; list-style: none; align-items: center;
}
.nav-links a {
  color: #cbd5e1; text-decoration: none; font-weight: 500;
  font-size: 0.9rem; transition: var(--transition); position: relative;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -4px; left: 0;
  width: 0; height: 2px; background: var(--secondary); transition: var(--transition);
}
.nav-links a:hover { color: #fff; }
.nav-links a:hover::after { width: 100%; }
.btn-nav {
  padding: 0.55rem 1.2rem;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border: none; border-radius: 50px; color: #fff; font-weight: 600;
  cursor: pointer; transition: var(--transition); text-decoration: none;
  font-size: 0.85rem; white-space: nowrap;
}
.btn-nav:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(79,70,229,0.4);
}
/* Hamburger */
.nav-hamburger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px; z-index: 1001;
}
.nav-hamburger span {
  display: block; width: 24px; height: 2px;
  background: #fff; border-radius: 2px; transition: var(--transition);
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ====== HERO ====== */
.hero {
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  padding: 8rem 2rem 4rem;
  position: relative; overflow: hidden;
}
.hero-content {
  max-width: 1300px; width: 100%;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 4rem; align-items: center;
}
.hero-badge {
  display: inline-block;
  padding: 0.35rem 1rem;
  background: rgba(79,70,229,0.2);
  border: 1px solid rgba(79,70,229,0.4);
  border-radius: 50px;
  font-size: 0.82rem; font-weight: 600; color: var(--primary-light);
  margin-bottom: 1.2rem; letter-spacing: 0.02em;
}
.hero-text h1 {
  font-size: 3.6rem; font-weight: 900; line-height: 1.1; margin-bottom: 1.5rem;
  background: linear-gradient(135deg, #fff 0%, #a5b4fc 50%, #67e8f9 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.hero-text .highlight {
  background: linear-gradient(135deg, var(--accent), #fbbf24);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.hero-text p {
  font-size: 1.15rem; color: #94a3b8; margin-bottom: 2rem; max-width: 500px;
}
.hero-buttons { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 3rem; }
.btn-primary {
  padding: 0.9rem 2rem;
  background: linear-gradient(135deg, var(--primary), #6366f1);
  border: none; border-radius: 50px; color: #fff; font-weight: 700; font-size: 1rem;
  cursor: pointer; transition: var(--transition); text-decoration: none; display: inline-block;
  box-shadow: 0 4px 20px rgba(79,70,229,0.35);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 12px 35px rgba(79,70,229,0.5); }
.btn-outline {
  padding: 0.9rem 2rem;
  background: transparent; border: 2px solid rgba(255,255,255,0.3);
  border-radius: 50px; color: #fff; font-weight: 600; font-size: 1rem;
  cursor: pointer; transition: var(--transition); text-decoration: none; display: inline-block;
}
.btn-outline:hover { border-color: #fff; background: rgba(255,255,255,0.05); }

/* Hero stats */
.hero-stats {
  display: flex; gap: 2rem; flex-wrap: wrap;
}
.hero-stat { display: flex; flex-direction: column; }
.stat-num {
  font-size: 2rem; font-weight: 800;
  background: linear-gradient(135deg, var(--primary-light), var(--secondary));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  line-height: 1;
}
.stat-lbl { font-size: 0.8rem; color: #64748b; margin-top: 0.2rem; }

/* Hero visual / mockup */
.hero-visual {
  display: flex; align-items: center; justify-content: center; position: relative;
}
.hero-orb {
  width: 380px; height: 380px; border-radius: 50%;
  background: linear-gradient(135deg, rgba(79,70,229,0.4), rgba(6,182,212,0.3));
  filter: blur(60px); position: absolute;
  animation: orbPulse 4s ease-in-out infinite;
}
@keyframes orbPulse {
  0%,100% { transform: scale(1); opacity: 0.7; }
  50% { transform: scale(1.2); opacity: 1; }
}
.hero-mockup {
  position: relative; z-index: 1;
  background: rgba(15,23,42,0.9);
  backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: 14px;
  box-shadow: var(--glass-shadow);
  width: 340px; overflow: hidden;
}
.mockup-header {
  display: flex; align-items: center; gap: 6px;
  padding: 10px 14px;
  background: rgba(255,255,255,0.04);
  border-bottom: 1px solid var(--glass-border);
}
.mockup-dot {
  width: 10px; height: 10px; border-radius: 50%;
}
.mockup-dot.red   { background: #ff5f57; }
.mockup-dot.yellow { background: #febc2e; }
.mockup-dot.green  { background: #28c840; }
.mockup-title {
  font-size: 0.7rem; color: #475569; margin-left: 6px; font-family: monospace;
}
.mockup-body {
  display: flex; height: 200px;
}
.mockup-sidebar {
  width: 52px; background: rgba(255,255,255,0.03);
  border-right: 1px solid var(--glass-border);
  padding: 14px 10px; display: flex; flex-direction: column; gap: 10px;
}
.msb-item {
  height: 8px; border-radius: 4px;
  background: rgba(255,255,255,0.1);
  animation: shimmer 2s infinite;
}
.msb-item.active { background: var(--primary); animation: none; }
.msb-item:nth-child(2) { animation-delay: 0.3s; }
.msb-item:nth-child(3) { animation-delay: 0.6s; }
.msb-item:nth-child(4) { animation-delay: 0.9s; }
.mockup-content { flex: 1; padding: 14px; display: flex; flex-direction: column; gap: 10px; }
.mc-stat-row { display: flex; gap: 8px; }
.mc-stat {
  flex: 1; background: rgba(255,255,255,0.05); border-radius: 8px;
  padding: 8px; display: flex; flex-direction: column; gap: 4px;
}
.mc-val { height: 14px; border-radius: 4px; background: var(--primary-light); opacity: 0.6; }
.mc-lbl { height: 6px; border-radius: 3px; background: rgba(255,255,255,0.1); }
.mc-line {
  height: 7px; border-radius: 4px; background: rgba(255,255,255,0.08);
  animation: shimmer 2s infinite;
}
.mc-line.long { width: 90%; }
.mc-line.med { width: 70%; animation-delay: 0.4s; }
.mc-line.short { width: 50%; animation-delay: 0.8s; }
@keyframes shimmer {
  0%,100% { opacity: 0.4; } 50% { opacity: 0.9; }
}

/* scroll hint */
.hero-scroll-hint {
  position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  color: #475569; font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase;
  animation: fadeInUp 1s ease 1s both;
}
.scroll-arrow {
  width: 20px; height: 20px;
  border-right: 2px solid #475569; border-bottom: 2px solid #475569;
  transform: rotate(45deg);
  animation: bounce 2s infinite;
}
@keyframes bounce {
  0%,100% { transform: rotate(45deg) translateY(0); }
  50% { transform: rotate(45deg) translateY(5px); }
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translate(-50%, 20px); }
  to { opacity: 1; transform: translate(-50%, 0); }
}

/* ====== SECTION GENERAL ====== */
.section { padding: 5rem 2rem; }
.section-header { text-align: center; margin-bottom: 3.5rem; }
.section-badge {
  display: inline-block;
  padding: 0.3rem 1rem;
  background: rgba(79,70,229,0.15);
  border: 1px solid rgba(79,70,229,0.3);
  border-radius: 50px;
  font-size: 0.78rem; font-weight: 600; color: var(--primary-light);
  margin-bottom: 1rem; letter-spacing: 0.04em; text-transform: uppercase;
}
.section-header h2 {
  font-size: 2.6rem; font-weight: 800; margin-bottom: 0.8rem;
  background: linear-gradient(135deg, #fff, #a5b4fc);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.section-header p { color: #94a3b8; font-size: 1.05rem; }
.container { max-width: 1300px; margin: 0 auto; }

/* ====== SECCIÓN PROGRAMAS - fondo con textura ====== */
#programas {
  background:
    radial-gradient(ellipse at 20% 30%, rgba(99,102,241,0.07) 0%, transparent 55%),
    radial-gradient(ellipse at 80% 70%, rgba(6,182,212,0.06) 0%, transparent 55%),
    radial-gradient(ellipse at 50% 50%, rgba(139,92,246,0.04) 0%, transparent 70%);
  position: relative;
}
#programas::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(0deg, transparent, transparent 39px, rgba(255,255,255,0.012) 39px, rgba(255,255,255,0.012) 40px),
    repeating-linear-gradient(90deg, transparent, transparent 39px, rgba(255,255,255,0.012) 39px, rgba(255,255,255,0.012) 40px);
  pointer-events: none;
  z-index: 0;
}
#programas > .container { position: relative; z-index: 1; }

/* ====== BENEFICIOS ====== */
.section-beneficios { background: rgba(255,255,255,0.02); }
.beneficios-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1.5rem;
}
.beneficio-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius); padding: 2rem 1.5rem;
  transition: var(--transition); text-align: center;
}
.beneficio-card:hover {
  transform: translateY(-6px);
  border-color: rgba(79,70,229,0.4);
  box-shadow: 0 16px 40px rgba(79,70,229,0.15);
}
.beneficio-icon { font-size: 2.5rem; margin-bottom: 1rem; }
.beneficio-card h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 0.6rem; color: #fff; }
.beneficio-card p { color: #94a3b8; font-size: 0.88rem; line-height: 1.6; }

/* ====== PROGRAMAS ====== */
.programas-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 2rem;
}

/* ====== TARJETAS DE PROGRAMA - PREMIUM REDESIGN ====== */
.programa-card {
  background: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
  position: relative;
  box-shadow:
    0 2px 8px rgba(0,0,0,0.4),
    0 12px 40px rgba(0,0,0,0.35);
  isolation: isolate;
}

/* Glow ring superior decorativo */
.programa-card::before {
  content: '';
  position: absolute;
  top: 0; left: 15%; right: 15%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(139,92,246,0.7), rgba(6,182,212,0.5), transparent);
  z-index: 1;
}

/* Resplandor de fondo al hover */
.programa-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 24px;
  background: radial-gradient(ellipse at 50% 0%, rgba(99,102,241,0.12) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
  z-index: 0;
}

.programa-card:hover {
  transform: translateY(-12px) scale(1.01);
  border-color: rgba(139, 92, 246, 0.45);
  box-shadow:
    0 0 0 1px rgba(139,92,246,0.2),
    0 20px 60px rgba(79,70,229,0.3),
    0 40px 80px rgba(0,0,0,0.4),
    inset 0 1px 0 rgba(255,255,255,0.1);
}
.programa-card:hover::after { opacity: 1; }

/* Card destacada */
.programa-card.destacado {
  border-color: rgba(245, 158, 11, 0.35);
  box-shadow:
    0 0 0 1px rgba(245,158,11,0.12),
    0 12px 40px rgba(0,0,0,0.4),
    0 0 60px rgba(245,158,11,0.06),
    inset 0 1px 0 rgba(255,220,100,0.08);
}
.programa-card.destacado::before {
  background: linear-gradient(90deg, transparent, rgba(245,158,11,0.8), rgba(251,191,36,0.5), transparent);
}
.programa-card.destacado::after {
  background: radial-gradient(ellipse at 50% 0%, rgba(245,158,11,0.1) 0%, transparent 70%);
}
.programa-card.destacado:hover {
  border-color: rgba(245, 158, 11, 0.65);
  box-shadow:
    0 0 0 1px rgba(245,158,11,0.3),
    0 20px 60px rgba(245,158,11,0.2),
    0 40px 80px rgba(0,0,0,0.4),
    inset 0 1px 0 rgba(255,220,100,0.12);
}

/* Badge destacado */
.card-badge-destacado {
  position: absolute; top: 1rem; left: 1rem; z-index: 20;
  background: linear-gradient(135deg, #f59e0b 0%, #fbbf24 50%, #f59e0b 100%);
  background-size: 200% auto;
  color: #1a1000;
  padding: 0.3rem 0.9rem;
  border-radius: 50px;
  font-size: 0.7rem; font-weight: 800;
  letter-spacing: 0.5px; text-transform: uppercase;
  box-shadow: 0 2px 16px rgba(245,158,11,0.55), inset 0 1px 0 rgba(255,255,255,0.3);
  animation: shimmerBadge 3s ease infinite;
}
@keyframes shimmerBadge {
  0%,100% { background-position: 0% center; }
  50% { background-position: 100% center; }
}

/* ---- Imagen ---- */
.card-img-wrapper {
  position: relative;
  overflow: hidden;
  background: #070e1a;
  height: 260px;
}

/* Gradiente decorativo sobre la imagen */
.card-img-wrapper::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, transparent 40%, rgba(17,24,39,0.95) 100%),
    linear-gradient(to right, rgba(99,102,241,0.04) 0%, transparent 50%);
  z-index: 1;
  pointer-events: none;
}

.card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
  filter: brightness(0.92) saturate(1.1);
}
.programa-card:hover .card-img {
  transform: scale(1.07);
  filter: brightness(1) saturate(1.15);
}

/* Overlay de acción al hover */
.card-img-overlay {
  position: absolute; inset: 0; z-index: 2;
  background: linear-gradient(to bottom, rgba(10,16,35,0.15) 0%, rgba(10,16,35,0.82) 100%);
  display: flex; align-items: center; justify-content: center;
  opacity: 0;
  transition: opacity 0.35s ease;
}
.programa-card:hover .card-img-overlay { opacity: 1; }

.btn-overlay-detalles {
  padding: 0.7rem 1.8rem;
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 50px; color: #fff;
  font-weight: 700; font-size: 0.85rem; cursor: pointer;
  transition: all 0.2s ease;
  letter-spacing: 0.3px;
  transform: translateY(8px);
  transition: all 0.3s cubic-bezier(0.23,1,0.32,1);
  box-shadow: 0 4px 24px rgba(0,0,0,0.3);
}
.programa-card:hover .btn-overlay-detalles { transform: translateY(0); }
.btn-overlay-detalles:hover {
  background: rgba(139,92,246,0.75);
  border-color: rgba(167,139,250,0.5);
  box-shadow: 0 8px 32px rgba(139,92,246,0.4);
}

/* ---- Cuerpo ---- */
.card-body {
  padding: 1.4rem 1.6rem 1.6rem;
  position: relative;
  z-index: 1;
  background: #ffffff;
  border-radius: 0 0 24px 24px;
}

/* Línea separadora con gradiente */
.card-body::before {
  content: '';
  display: block;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(99,102,241,0.35), rgba(6,182,212,0.25), transparent);
  margin-bottom: 1.2rem;
}

/* Categoría pill */
.card-body .categoria {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.22rem 0.85rem;
  background: rgba(99,102,241,0.1);
  color: #4f46e5;
  border: 1px solid rgba(99,102,241,0.25);
  border-radius: 50px;
  font-size: 0.68rem; font-weight: 700;
  margin-bottom: 0.8rem;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  backdrop-filter: blur(4px);
}

/* Título */
.card-body h3 {
  font-size: 1.22rem; font-weight: 800; margin-bottom: 0.45rem;
  color: #0f172a;
  line-height: 1.28;
  letter-spacing: -0.3px;
}

/* Descripción */
.card-body p {
  color: #64748b; font-size: 0.84rem; margin-bottom: 1.3rem;
  line-height: 1.65;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}

/* Precios */
.card-precios {
  display: flex; gap: 0.55rem; margin-bottom: 1.3rem; flex-wrap: wrap;
}
.precio-tag {
  padding: 0.45rem 1rem;
  border-radius: 10px;
  font-weight: 700; font-size: 0.78rem;
  display: inline-flex; align-items: center; gap: 0.35rem;
  letter-spacing: 0.1px;
}
.precio-tag.venta {
  background: rgba(16,185,129,0.1);
  color: #059669;
  border: 1px solid rgba(16,185,129,0.3);
}
.precio-tag.alquiler {
  background: rgba(6,182,212,0.1);
  color: #0891b2;
  border: 1px solid rgba(6,182,212,0.3);
}

/* Botones de acción */
.card-actions { display: flex; gap: 0.6rem; }

.btn-card {
  flex: 1;
  padding: 0.82rem 0.5rem;
  border: none;
  border-radius: 14px;
  font-weight: 700; font-size: 0.83rem; cursor: pointer;
  transition: all 0.28s cubic-bezier(0.23,1,0.32,1);
  text-align: center;
  letter-spacing: 0.2px;
  position: relative; overflow: hidden;
}

/* Efecto brillo en hover */
.btn-card::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 60%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
  transition: left 0.5s ease;
  transform: skewX(-20deg);
}
.btn-card:hover::before { left: 150%; }

.btn-card.comprar {
  background: linear-gradient(135deg, #059669 0%, #10b981 60%, #34d399 100%);
  color: #fff;
  box-shadow: 0 4px 18px rgba(16,185,129,0.32), inset 0 1px 0 rgba(255,255,255,0.15);
}
.btn-card.comprar:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(16,185,129,0.5), inset 0 1px 0 rgba(255,255,255,0.2);
  background: linear-gradient(135deg, #047857 0%, #059669 60%, #10b981 100%);
}
.btn-card.comprar:active { transform: translateY(0); }

.btn-card.alquilar {
  background: linear-gradient(135deg, #0e7490 0%, #0891b2 60%, #06b6d4 100%);
  color: #fff;
  box-shadow: 0 4px 18px rgba(6,182,212,0.32), inset 0 1px 0 rgba(255,255,255,0.15);
}
.btn-card.alquilar:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(6,182,212,0.5), inset 0 1px 0 rgba(255,255,255,0.2);
  background: linear-gradient(135deg, #0c4a6e 0%, #0e7490 60%, #0891b2 100%);
}
.btn-card.alquilar:active { transform: translateY(0); }

/* ---- Filtros ---- */
.filtros {
  display: flex; gap: 0.6rem; margin-bottom: 2.8rem; flex-wrap: wrap; justify-content: center;
}
.filtro-btn {
  padding: 0.52rem 1.35rem;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.04);
  color: #7e93b0;
  border-radius: 50px; cursor: pointer;
  transition: all 0.25s cubic-bezier(0.23,1,0.32,1);
  font-weight: 600;
  font-size: 0.84rem;
  letter-spacing: 0.2px;
  backdrop-filter: blur(8px);
}
.filtro-btn:hover {
  background: rgba(99,102,241,0.12);
  border-color: rgba(99,102,241,0.4);
  color: #c4b5fd;
}
.filtro-btn.active {
  background: linear-gradient(135deg, rgba(99,102,241,0.85), rgba(139,92,246,0.85));
  border-color: rgba(139,92,246,0.6);
  color: #fff;
  box-shadow: 0 4px 16px rgba(99,102,241,0.38), inset 0 1px 0 rgba(255,255,255,0.15);
}

/* ====== COMPARATIVA ====== */
.section-comparativa { background: rgba(255,255,255,0.015); }
.comparativa-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; max-width: 860px; margin: 0 auto;
}
.comparativa-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius); padding: 2.5rem 2rem;
  position: relative; transition: var(--transition);
}
.comparativa-card.featured {
  border-color: var(--primary);
  background: rgba(79,70,229,0.08);
  box-shadow: 0 0 40px rgba(79,70,229,0.15);
}
.comp-badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: linear-gradient(135deg, var(--primary), #6366f1);
  color: #fff; padding: 0.3rem 1.2rem; border-radius: 50px;
  font-size: 0.78rem; font-weight: 700; white-space: nowrap;
}
.comp-header { text-align: center; margin-bottom: 1.8rem; }
.comp-icon { font-size: 2.5rem; margin-bottom: 0.8rem; }
.comp-header h3 { font-size: 1.3rem; font-weight: 700; margin-bottom: 0.3rem; }
.comp-subtitle { color: #64748b; font-size: 0.88rem; }
.comp-features { list-style: none; margin-bottom: 2rem; display: flex; flex-direction: column; gap: 0.7rem; }
.comp-features li { font-size: 0.9rem; display: flex; align-items: center; gap: 0.5rem; }
.comp-features li.yes { color: #cbd5e1; }
.comp-features li.no { color: #475569; text-decoration: line-through; }
.comp-btn {
  display: block; text-align: center; padding: 0.85rem;
  border-radius: 10px; font-weight: 700; text-decoration: none; transition: var(--transition);
}
.comp-btn.primary {
  background: linear-gradient(135deg, var(--primary), #6366f1);
  color: #fff; box-shadow: 0 4px 15px rgba(79,70,229,0.3);
}
.comp-btn.primary:hover { transform: translateY(-2px); box-shadow: 0 8px 25px rgba(79,70,229,0.5); }
.comp-btn.outline {
  border: 1px solid rgba(255,255,255,0.2); color: #cbd5e1; background: transparent;
}
.comp-btn.outline:hover { border-color: rgba(255,255,255,0.5); color: #fff; }

/* ====== TESTIMONIOS ====== */
.section-testimonios { }
.testimonios-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem;
}
.testimonio-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius); padding: 2rem;
  transition: var(--transition);
}
.testimonio-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255,255,255,0.18);
}
.testimonio-stars { color: var(--accent); font-size: 1rem; margin-bottom: 1rem; letter-spacing: 2px; }
.testimonio-card p {
  color: #cbd5e1; font-size: 0.93rem; line-height: 1.7; margin-bottom: 1.5rem;
  font-style: italic;
}
.testimonio-autor { display: flex; align-items: center; gap: 0.8rem; }
.autor-avatar {
  width: 42px; height: 42px; border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 0.85rem; color: #fff; flex-shrink: 0;
}
.testimonio-autor strong { display: block; font-size: 0.9rem; color: #fff; }
.testimonio-autor span { font-size: 0.78rem; color: #64748b; }

/* ====== FAQ ====== */
.section-faq { background: rgba(255,255,255,0.015); }
.faq-list { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 0.8rem; }
.faq-item {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm); overflow: hidden;
}
.faq-question {
  width: 100%; background: none; border: none; color: #fff;
  padding: 1.2rem 1.5rem; text-align: left; font-weight: 600; font-size: 0.95rem;
  cursor: pointer; display: flex; justify-content: space-between; align-items: center;
  gap: 1rem; transition: var(--transition); font-family: 'Inter', sans-serif;
}
.faq-question:hover { background: rgba(255,255,255,0.04); }
.faq-icon { font-size: 1.4rem; color: var(--primary-light); transition: var(--transition); flex-shrink: 0; }
.faq-item.open .faq-icon { transform: rotate(45deg); color: var(--secondary); }
.faq-answer {
  max-height: 0; overflow: hidden;
  transition: max-height 0.35s ease, padding 0.2s ease;
  padding: 0 1.5rem;
}
.faq-answer.open { max-height: 300px; padding: 0 1.5rem 1.2rem; }
.faq-answer p { color: #94a3b8; font-size: 0.9rem; line-height: 1.7; }

/* ====== MODAL ====== */
.modal-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.8); backdrop-filter: blur(4px);
  z-index: 2000;
  display: flex; align-items: center; justify-content: center; padding: 2rem;
  animation: fadeIn 0.3s ease;
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.modal {
  background: #1e293b;
  border: 1px solid var(--glass-border);
  border-radius: var(--radius); max-width: 650px; width: 100%;
  max-height: 85vh; overflow-y: auto;
  box-shadow: 0 25px 60px rgba(0,0,0,0.6);
  animation: slideUp 0.3s ease;
}
@keyframes slideUp {
  from { transform: translateY(40px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.modal-header {
  padding: 1.4rem 1.8rem; border-bottom: 1px solid rgba(255,255,255,0.1);
  display: flex; justify-content: space-between; align-items: center;
  position: sticky; top: 0; background: #1e293b; z-index: 1;
}
.modal-header h2 { font-size: 1.4rem; font-weight: 700; }
.modal-close {
  width: 38px; height: 38px; border-radius: 50%; border: none;
  background: rgba(255,255,255,0.08); color: #fff; font-size: 1.2rem;
  cursor: pointer; transition: var(--transition); display: flex; align-items: center; justify-content: center;
}
.modal-close:hover { background: rgba(239,68,68,0.5); }
.modal-body { padding: 1.8rem; }
.modal-img { width: 100%; border-radius: var(--radius-sm); margin-bottom: 1.5rem; }
.form-group { margin-bottom: 1.1rem; }
.form-group label { display: block; margin-bottom: 0.4rem; font-weight: 500; color: #cbd5e1; font-size: 0.88rem; }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%; padding: 0.75rem 1rem;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 8px; color: #fff;
  font-family: 'Inter', sans-serif; font-size: 0.9rem; transition: var(--transition);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none; border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(79,70,229,0.2);
}
.form-group select option { background: #1e293b; }
.btn-submit {
  width: 100%; padding: 0.95rem;
  background: linear-gradient(135deg, var(--primary), #6366f1);
  border: none; border-radius: 8px; color: #fff; font-weight: 700; font-size: 1rem;
  cursor: pointer; transition: var(--transition); margin-top: 0.5rem;
}
.btn-submit:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(79,70,229,0.4); }
.btn-submit:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }

/* ====== TOAST ====== */
.toast {
  position: fixed; bottom: 5rem; right: 2rem; z-index: 3000;
  padding: 0.9rem 1.8rem; border-radius: 12px; font-weight: 600;
  animation: slideInRight 0.4s ease;
  box-shadow: 0 10px 30px rgba(0,0,0,0.4);
  font-size: 0.9rem; max-width: 360px;
}
.toast.success { background: var(--success); color: #fff; }
.toast.error { background: var(--danger); color: #fff; }
.toast.info { background: var(--secondary); color: #fff; }
@keyframes slideInRight {
  from { transform: translateX(120%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

/* ====== WHATSAPP FLOAT ====== */
.whatsapp-float {
  position: fixed; bottom: 1.8rem; right: 1.8rem; z-index: 999;
  width: 58px; height: 58px; border-radius: 50%;
  background: #25D366;
  display: flex; align-items: center; justify-content: center;
  color: #fff; text-decoration: none;
  box-shadow: 0 4px 20px rgba(37,211,102,0.5);
  transition: var(--transition);
  animation: waPulse 3s infinite;
}
.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 30px rgba(37,211,102,0.6);
  animation: none;
}
@keyframes waPulse {
  0%,100% { box-shadow: 0 4px 20px rgba(37,211,102,0.5); }
  50% { box-shadow: 0 4px 30px rgba(37,211,102,0.8); }
}

/* ====== FOOTER ====== */
.footer {
  background: rgba(15,23,42,0.95);
  border-top: 1px solid var(--glass-border);
  padding: 4rem 2rem 1.5rem;
}
.footer-content {
  max-width: 1100px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 2fr; gap: 4rem;
  padding-bottom: 3rem; border-bottom: 1px solid var(--glass-border);
}
.footer-brand { text-align: center; }
.footer-brand h3 { font-size: 1.4rem; margin-bottom: 0.5rem; }
.footer-brand p { color: #64748b; font-size: 0.9rem; }
.footer-links { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.footer-col { display: flex; flex-direction: column; gap: 0.6rem; }
.footer-col h4 { color: #fff; font-size: 0.9rem; font-weight: 700; margin-bottom: 0.4rem; }
.footer-col a { color: #64748b; text-decoration: none; font-size: 0.88rem; transition: var(--transition); }
.footer-col a:hover { color: #cbd5e1; }
.footer-bottom {
  max-width: 1100px; margin: 1.5rem auto 0;
  text-align: center; color: #334155; font-size: 0.82rem;
}

/* ====== RESPONSIVE ====== */
@media (max-width: 1024px) {
  .hero-text h1 { font-size: 3rem; }
  .hero-mockup { width: 300px; }
}

@media (max-width: 900px) {
  .hero-content { grid-template-columns: 1fr; text-align: center; }
  .hero-text p, .hero-text h1 { max-width: 100%; }
  .hero-buttons { justify-content: center; }
  .hero-stats { justify-content: center; }
  .hero-visual { display: none; }
  .hero-text h1 { font-size: 2.6rem; }
  .comparativa-grid { grid-template-columns: 1fr; max-width: 420px; }
  .footer-content { grid-template-columns: 1fr; gap: 2.5rem; }
  .footer-brand { text-align: left; }
}

@media (max-width: 768px) {
  /* Mobile nav */
  .nav-links {
    display: none; position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(2,6,23,0.98);
    flex-direction: column; justify-content: center; align-items: center;
    gap: 2rem; z-index: 1000; font-size: 1.2rem;
  }
  .nav-links.open { display: flex; }
  .nav-hamburger { display: flex; }

  .programas-grid { grid-template-columns: 1fr; }
  .beneficios-grid { grid-template-columns: 1fr 1fr; }
  .testimonios-grid { grid-template-columns: 1fr; }

  .section-header h2 { font-size: 2rem; }
  .hero-text h1 { font-size: 2.2rem; }
  .section { padding: 3.5rem 1.2rem; }
}

@media (max-width: 480px) {
  .beneficios-grid { grid-template-columns: 1fr; }
  .hero-stats { gap: 1.2rem; }
  .hero-text h1 { font-size: 1.9rem; }
  .footer-links { grid-template-columns: 1fr; }
  .toast { right: 1rem; left: 1rem; bottom: 5rem; }
}