﻿/* ============================================================
   AVANTEC VOICE — styles.css
   Dark mode, Landeros-inspired design
   ============================================================ */

/* ── Reset & Base ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  background-color: #08041A;
  background-image: url('../images/bg-pattern.jpg');
  background-repeat: no-repeat;
  background-size: 100%;
  background-position: 100% 80%;
  background-attachment: fixed;
  color: #CBD5E1;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  position: relative;
  overflow-x: hidden;
  min-height: 100vh;
}

body::before { display: none; }
body::after  { display: none; }

/* ── Fondo ondulado SVG ───────────────────────────────────── */
.bg-waves { display: none; }

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ── Container ────────────────────────────────────────────── */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

/* ── Typography ───────────────────────────────────────────── */
h1, h2, h3 { color: #ffffff; font-weight: 800; line-height: 1.15; }
h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.6rem); }
h3 { font-size: 1.1rem; font-weight: 700; }

/* ── CSS Variables ────────────────────────────────────────── */
:root {
  --accent: #3B82F6;
  --accent-dark: #2563EB;
  --accent-glow: rgba(59, 130, 246, 0.4);
  --accent-soft: rgba(59, 130, 246, 0.1);
  --accent-border: rgba(59, 130, 246, 0.3);
  --blue: #3B82F6;
  --purple: #8B5CF6;
  --cyan: #06B6D4;
}

/* Gradient text utility */
.gradient-text {
  background: linear-gradient(135deg, var(--blue) 0%, var(--purple) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Badge / pill label ───────────────────────────────────── */
.badge {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(59, 130, 246, 0.2);
  border-radius: 999px;
  padding: 4px 14px;
  margin-bottom: 18px;
  box-shadow: 0 2px 8px rgba(59, 130, 246, 0.15);
}

/* ── Buttons ──────────────────────────────────────────────── */
.btn-primary {
  display: inline-block;
  background: linear-gradient(135deg, var(--blue) 0%, var(--purple) 100%);
  color: #ffffff;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 14px 28px;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.15s, box-shadow 0.2s;
  box-shadow: 0 4px 16px rgba(59, 130, 246, 0.3);
}
.btn-primary:hover {
  opacity: 0.92;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(59, 130, 246, 0.5);
}

.btn-secondary {
  display: inline-block;
  background: rgba(255, 255, 255, 0.9);
  color: var(--blue);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 13px 28px;
  border-radius: 12px;
  border: 2px solid var(--blue);
  cursor: pointer;
  transition: all 0.2s;
  box-shadow: 0 2px 8px rgba(59, 130, 246, 0.2);
}
.btn-secondary:hover {
  background: var(--blue);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(59, 130, 246, 0.4);
}

/* ── Section spacing ──────────────────────────────────────── */
section { padding: 96px 0; }

/* ── Scroll-reveal ────────────────────────────────────────── */
.fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   WHATSAPP FLOAT
   ============================================================ */
.whatsapp-wrapper {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}

.whatsapp-bubble {
  background: #ffffff;
  color: #111827;
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.4;
  padding: 10px 14px;
  border-radius: 16px 16px 4px 16px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.18);
  white-space: nowrap;
  animation: bubble-in 0.4s ease 1.2s both;
  position: relative;
}
.whatsapp-bubble::after {
  content: '';
  position: absolute;
  bottom: -7px;
  right: 16px;
  width: 0;
  height: 0;
  border-left: 7px solid transparent;
  border-top: 8px solid #ffffff;
}

@keyframes bubble-in {
  from { opacity: 0; transform: translateY(8px) scale(0.92); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

.whatsapp-float {
  width: 56px;
  height: 56px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.45);
  transition: transform 0.2s, box-shadow 0.2s;
  flex-shrink: 0;
}
.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 28px rgba(37, 211, 102, 0.6);
}
.whatsapp-float svg {
  width: 28px;
  height: 28px;
  fill: #ffffff;
}

/* ============================================================
   HEADER / NAV
   ============================================================ */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(59, 130, 246, 0.1);
  box-shadow: 0 2px 16px rgba(59, 130, 246, 0.08);
}

header .container { padding-top: 0; padding-bottom: 0; }

nav {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 68px;
}

.nav-logo {
  font-size: 1.35rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.02em;
  flex-shrink: 0;
}
.nav-logo span { 
  background: linear-gradient(135deg, var(--blue) 0%, var(--purple) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-links {
  display: flex;
  gap: 28px;
  margin-left: auto;
}
.nav-links a {
  font-size: 0.88rem;
  font-weight: 500;
  color: #ffffff;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--accent); }

.nav-cta { flex-shrink: 0; }
.nav-cta .btn-primary { padding: 10px 20px; font-size: 0.85rem; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  margin-left: auto;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: #111827;
  border-radius: 2px;
  transition: transform 0.2s, opacity 0.2s;
}

/* Mobile nav */
.nav-mobile {
  display: none;
  flex-direction: column;
  gap: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(16px);
  border-top: 1px solid rgba(139, 92, 246, 0.2);
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.3s ease;
}
.nav-mobile.open { max-height: 400px; }
.nav-mobile a {
  padding: 14px 24px;
  font-size: 0.95rem;
  font-weight: 500;
  color: #4B5563;
  border-bottom: 1px solid rgba(139, 92, 246, 0.1);
  transition: color 0.2s, background 0.2s;
}
.nav-mobile a:hover { color: var(--purple); background: rgba(139, 92, 246, 0.05); }
.nav-mobile .btn-primary { margin: 16px 24px 20px; border-radius: 12px; text-align: center; }

@media (max-width: 768px) {
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }
  .nav-mobile { display: flex; }
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  background:
    linear-gradient(
      to bottom,
      rgba(10, 13, 20, 0.72) 0%,
      rgba(10, 13, 20, 0.60) 40%,
      rgba(10, 13, 20, 0.82) 100%
    ),
    url('../images/hero-bg.jpg') center center / cover no-repeat;
  padding: 120px 0 100px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* red glow accent on top of image */
.hero::before {
  content: '';
  position: absolute;
  top: -120px;
  left: 50%;
  transform: translateX(-50%);
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(6,182,212,0.12) 0%, transparent 70%);
  pointer-events: none;
}

.hero h1 { margin-bottom: 24px; }
.hero h1 span { display: block; }

.hero .subtitle {
  font-size: 1.1rem;
  color: #9CA3AF;
  max-width: 600px;
  margin: 0 auto 36px;
  line-height: 1.7;
}

.hero-cta-wrap { display: flex; flex-direction: column; align-items: center; gap: 16px; }

.urgency-line {
  font-size: 0.88rem;
  color: #9CA3AF;
}
.urgency-line strong { color: #ffffff; }

.hero-social-proof {
  margin-top: 40px;
  font-size: 0.9rem;
  color: #6B7280;
}
.hero-social-proof strong { color: #ffffff; }

/* ============================================================
   AUDIO DEMO
   ============================================================ */
.audio-demo {
  background: transparent;
  text-align: center;
}

.audio-demo h2 { margin-bottom: 36px; color: #111827; }

.audio-player-wrap {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  background: rgba(255, 255, 255, 0.9);
  border: 2px solid rgba(139, 92, 246, 0.2);
  border-radius: 20px;
  padding: 36px 48px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
  box-shadow: 0 8px 32px rgba(139, 92, 246, 0.15);
}
.audio-player-wrap.visible { opacity: 1; transform: translateY(0); }

.audio-player-wrap audio {
  width: 340px;
  max-width: 100%;
  border-radius: 12px;
}

.audio-validation {
  font-size: 0.88rem;
  color: #6B7280;
}

/* ============================================================
   PROBLEMA
   ============================================================ */
.problema { 
  background: transparent;
}

.problema h2 { margin-bottom: 48px; color: #ffffff; }

.problema-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-bottom: 40px;
}

.problema-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: rgba(255, 255, 255, 0.95);
  border: 2px solid rgba(239, 68, 68, 0.2);
  border-radius: 16px;
  padding: 24px;
  transition: all 0.3s;
  box-shadow: 0 4px 16px rgba(239, 68, 68, 0.1);
}
.problema-item:hover {
  border-color: rgba(239, 68, 68, 0.4);
  box-shadow: 0 8px 24px rgba(239, 68, 68, 0.2);
  transform: translateY(-2px);
}

.problema-icon {
  font-size: 1.4rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.problema-item h3 { margin-bottom: 6px; font-size: 1rem; color: #111827; }
.problema-item p { font-size: 0.88rem; color: #4B5563; }

.problema-highlight {
  background: rgba(59, 130, 246, 0.1);
  border: 2px solid rgba(59, 130, 246, 0.3);
  border-radius: 16px;
  padding: 24px 28px;
  text-align: center;
  color: #1E40AF;
  font-size: 1rem;
  line-height: 1.7;
  font-weight: 600;
  box-shadow: 0 4px 16px rgba(59, 130, 246, 0.15);
}

/* ============================================================
   CALCULADORA
   ============================================================ */
.calculator {
  background: transparent;
  text-align: center;
  padding: 96px 0;
}

.calculator h2 { 
  margin-bottom: 12px; 
  color: #ffffff;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
}

.calc-subtitle {
  color: #6B7280;
  margin-bottom: 60px;
  font-size: 1.1rem;
}

.calculator-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  text-align: left;
}

/* Columna izquierda - Inputs */
.calc-inputs {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.calc-input-group {
  background: rgba(255, 255, 255, 0.95);
  border: 2px solid rgba(139, 92, 246, 0.2);
  border-radius: 20px;
  padding: 28px;
  box-shadow: 0 4px 16px rgba(139, 92, 246, 0.1);
  transition: all 0.3s;
}

.calc-input-group:hover {
  border-color: rgba(139, 92, 246, 0.4);
  box-shadow: 0 8px 24px rgba(139, 92, 246, 0.15);
}

.calc-input-group label {
  display: block;
  font-size: 0.95rem;
  font-weight: 600;
  color: #374151;
  margin-bottom: 20px;
}

.calc-slider-container {
  position: relative;
}

.calc-slider {
  width: 100%;
  height: 8px;
  border-radius: 10px;
  background: linear-gradient(to right, #3B82F6 0%, #8B5CF6 100%);
  outline: none;
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;
  margin-bottom: 16px;
}

.calc-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: linear-gradient(135deg, #3B82F6, #8B5CF6);
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(139, 92, 246, 0.4);
  transition: transform 0.2s;
}

.calc-slider::-webkit-slider-thumb:hover {
  transform: scale(1.2);
}

.calc-slider::-moz-range-thumb {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: linear-gradient(135deg, #3B82F6, #8B5CF6);
  cursor: pointer;
  border: none;
  box-shadow: 0 4px 12px rgba(139, 92, 246, 0.4);
  transition: transform 0.2s;
}

.calc-slider::-moz-range-thumb:hover {
  transform: scale(1.2);
}

.calc-slider-value {
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-size: 2rem;
  font-weight: 800;
  color: #111827;
}

.calc-slider-value .unit-label {
  font-size: 0.9rem;
  font-weight: 500;
  color: #6B7280;
}

.calc-info-box {
  background: rgba(59, 130, 246, 0.08);
  border: 2px solid rgba(59, 130, 246, 0.2);
  border-radius: 16px;
  padding: 20px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.calc-info-box .info-icon {
  flex-shrink: 0;
  color: #3B82F6;
  margin-top: 2px;
}

.calc-info-box p {
  font-size: 0.85rem;
  color: #fff;
  line-height: 1.6;
  margin: 0;
}

/* Columna derecha - Resultados */
.calc-results {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.calc-result-card {
  background: rgba(255, 255, 255, 0.95);
  border: 2px solid rgba(239, 68, 68, 0.2);
  border-radius: 20px;
  padding: 28px;
  box-shadow: 0 4px 16px rgba(239, 68, 68, 0.1);
  transition: all 0.3s;
}

.calc-result-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(239, 68, 68, 0.2);
}

.calc-result-card .result-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.1), rgba(220, 38, 38, 0.1));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #DC2626;
  margin-bottom: 16px;
}

.calc-result-card .result-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #6B7280;
  font-weight: 700;
  margin-bottom: 8px;
}

.calc-result-card .result-value {
  font-size: 2.2rem;
  font-weight: 800;
  color: #DC2626;
  line-height: 1;
  margin-bottom: 6px;
}

.calc-result-card .result-sublabel {
  font-size: 0.85rem;
  color: #9CA3AF;
}

/* Tarjeta CTA */
.calc-cta-card {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.05), rgba(139, 92, 246, 0.05));
  border: 2px solid rgba(139, 92, 246, 0.3);
  border-radius: 20px;
  padding: 28px;
  text-align: center;
  box-shadow: 0 4px 16px rgba(139, 92, 246, 0.15);
}

.calc-cta-card .cta-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.calc-cta-card .cta-text {
  font-size: 0.95rem;
  color: #fff;
  font-weight: 600;
  margin-bottom: 20px;
  line-height: 1.5;
}

.calc-cta-card .btn-primary {
  width: 100%;
  margin-bottom: 12px;
}

.calc-cta-card .cta-footer {
  font-size: 0.8rem;
  color: #fff;
  margin: 0;
}

.calc-footer-note {
  text-align: center;
  margin-top: 32px;
  font-size: 0.95rem;
  color: #333;
  font-weight: 600;
  padding: 16px 24px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.6);
  transition: all 0.3s;
}

.calc-footer-note.warning {
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.1), rgba(220, 38, 38, 0.1));
  border: 2px solid rgba(239, 68, 68, 0.3);
  color: #DC2626;
  animation: pulse-warning 2s ease-in-out infinite;
}

@keyframes pulse-warning {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.4);
  }
  50% {
    box-shadow: 0 0 0 8px rgba(239, 68, 68, 0);
  }
}

/* Responsive */
@media (max-width: 968px) {
  .calculator-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

@media (max-width: 640px) {
  .calc-slider-value {
    font-size: 1.6rem;
  }
  
  .calc-result-card .result-value {
    font-size: 1.8rem;
  }
}
.result-box .label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #6B7280;
  margin-bottom: 8px;
  font-weight: 700;
}
.result-box .value {
  font-size: 1.8rem;
  font-weight: 800;
  color: #DC2626;
}

.calc-insight {
  font-size: 0.95rem;
  min-height: 24px;
  margin-bottom: 32px;
  color: #111827;
  font-weight: 600;
}

.calc-cta { margin-top: 8px; }

/* ============================================================
   SOLUCION
   ============================================================ */
.solucion { 
  background: transparent;
}

.solucion h2 { margin-bottom: 16px; color: #ffffff; }

.sol-subtitle {
  color: #4B5563;
  max-width: 620px;
  margin-bottom: 56px;
  font-size: 1rem;
  line-height: 1.7;
}

.steps { display: flex; flex-direction: column; gap: 0; max-width: 640px; }

.step {
  display: flex;
  gap: 24px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.45s ease, transform 0.45s ease;
}
.step.visible { opacity: 1; transform: translateY(0); }

.step-left {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
}

.step-num {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--purple));
  color: #ffffff;
  font-weight: 800;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 16px rgba(139, 92, 246, 0.4);
}

.step-line {
  width: 2px;
  flex: 1;
  min-height: 40px;
  background: linear-gradient(to bottom, rgba(139, 92, 246, 0.5), rgba(139, 92, 246, 0.1));
  margin: 6px 0;
}

.step-content {
  padding-bottom: 40px;
}
.step-content h3 { margin-bottom: 6px; font-size: 1.05rem; color: #111827; }
.step-content p { font-size: 0.9rem; color: #6B7280; }

/* ============================================================
   BENEFICIOS
   ============================================================ */
.beneficios { 
  background: transparent;
}

.beneficios h2 { margin-bottom: 40px; color: #ffffff; }

.beneficios-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.beneficio-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: rgba(255, 255, 255, 0.95);
  border: 2px solid rgba(34, 197, 94, 0.2);
  border-left: 4px solid #10B981;
  border-radius: 16px;
  padding: 24px;
  transition: all 0.3s;
  box-shadow: 0 4px 16px rgba(34, 197, 94, 0.1);
}
.beneficio-item:hover {
  box-shadow: 0 8px 24px rgba(34, 197, 94, 0.2);
  transform: translateY(-2px);
}

.beneficio-icon { font-size: 1.3rem; flex-shrink: 0; margin-top: 2px; }
.beneficio-item h3 { margin-bottom: 6px; font-size: 1rem; color: #111827; }
.beneficio-item p { font-size: 0.88rem; color: #4B5563; }

/* ============================================================
   PRECIOS
   ============================================================ */
.precios { 
  background: transparent;
  text-align: center;
}

.precios h2 { margin-bottom: 12px; color: #ffffff; }

.precios-subtitle {
  color: #6B7280;
  margin-bottom: 52px;
  font-size: 1rem;
}

.precios-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  align-items: start;
}

.precio-card {
  background: rgba(255, 255, 255, 0.95);
  border: 2px solid rgba(139, 92, 246, 0.2);
  border-radius: 20px;
  padding: 36px 28px;
  text-align: left;
  position: relative;
  transition: all 0.3s;
  box-shadow: 0 4px 16px rgba(139, 92, 246, 0.1);
}
.precio-card:hover {
  border-color: rgba(139, 92, 246, 0.4);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(139, 92, 246, 0.25);
}

.precio-card.destacado {
  border-color: var(--purple);
  box-shadow: 0 8px 32px rgba(139, 92, 246, 0.3);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(243, 232, 255, 0.95) 100%);
}
.precio-card.destacado:hover {
  box-shadow: 0 16px 48px rgba(139, 92, 246, 0.4);
}

.badge-recomendado {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #ffffff;
  background: linear-gradient(135deg, var(--blue), var(--purple));
  border-radius: 999px;
  padding: 6px 14px;
  margin-bottom: 16px;
  box-shadow: 0 2px 8px rgba(139, 92, 246, 0.3);
}

.precio-card h3 { margin-bottom: 12px; font-size: 1.2rem; color: #111827; }

.precio-amount {
  font-size: 2.4rem;
  font-weight: 800;
  color: #111827;
  margin-bottom: 6px;
}
.precio-amount span { font-size: 1rem; font-weight: 500; color: #6B7280; }

.precio-impl {
  font-size: 0.82rem;
  color: #6B7280;
  margin-bottom: 24px;
}

.precio-features {
  margin-bottom: 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.precio-features li {
  font-size: 0.88rem;
  color: #374151;
  padding-left: 18px;
  position: relative;
}
.precio-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #10B981;
  font-weight: 700;
}

.precios-nota {
  margin-top: 32px;
  font-size: 0.8rem;
  color: #6B7280;
}

/* ============================================================
   TESTIMONIOS
   ============================================================ */
.testimonios { 
  background: transparent;
}

.testimonios h2 { margin-bottom: 40px; color: #ffffff; }

.testimonios-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.testimonio-card {
  background: rgba(255, 255, 255, 0.95);
  border: 2px solid rgba(59, 130, 246, 0.2);
  border-left: 4px solid var(--blue);
  border-radius: 16px;
  padding: 28px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.45s ease, transform 0.45s ease, box-shadow 0.2s;
  box-shadow: 0 4px 16px rgba(59, 130, 246, 0.1);
}
.testimonio-card.visible { opacity: 1; transform: translateY(0); }
.testimonio-card:hover { box-shadow: 0 8px 24px rgba(59, 130, 246, 0.2); }

.quote-icon {
  font-size: 2.5rem;
  background: linear-gradient(135deg, var(--blue), var(--purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 12px;
  font-family: Georgia, serif;
}

.testimonio-card p {
  font-size: 0.95rem;
  color: #374151;
  margin-bottom: 16px;
  line-height: 1.65;
  font-weight: 500;
}

.testimonio-autor {
  font-size: 0.82rem;
  color: #6B7280;
  font-weight: 600;
}

/* ============================================================
   FAQ
   ============================================================ */
.faq { 
  background: transparent;
}

.faq h2 { margin-bottom: 40px; color: #ffffff; }

.faq-list { max-width: 100%; display: flex; flex-direction: column; gap: 12px; }

.faq-item {
  background: rgba(255, 255, 255, 0.95);
  border: 2px solid rgba(139, 92, 246, 0.2);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.2s;
  box-shadow: 0 2px 8px rgba(139, 92, 246, 0.1);
}
.faq-item:hover { 
  border-color: rgba(139, 92, 246, 0.4);
  box-shadow: 0 4px 16px rgba(139, 92, 246, 0.15);
}

.faq-header {
  width: 100%;
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  font-size: 0.95rem;
  font-weight: 600;
  color: #111827;
  font-family: 'Inter', sans-serif;
  text-align: left;
  gap: 12px;
  transition: color 0.2s;
}
.faq-header:hover { color: var(--purple); }

.chevron {
  font-size: 1.2rem;
  color: #6B7280;
  transition: transform 0.3s;
  flex-shrink: 0;
}
.faq-header.open .chevron { transform: rotate(180deg); color: var(--purple); }

.faq-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}
.faq-body p {
  padding: 0 24px 20px;
  font-size: 0.9rem;
  color: #4B5563;
  line-height: 1.7;
}

/* ============================================================
   CIERRE / CTA FINAL
   ============================================================ */
.cierre {
  background: transparent;
  text-align: center;
}

.cierre h2 { margin-bottom: 16px; color: #111827; }

.cierre-sub {
  color: #6B7280;
  margin-bottom: 48px;
  font-size: 1rem;
  line-height: 1.7;
}

.final-form {
  max-width: 480px;
  margin: 0 auto 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-group { display: flex; flex-direction: column; gap: 6px; text-align: left; }

.form-group label {
  font-size: 0.82rem;
  font-weight: 600;
  color: #374151;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.form-group input {
  background: rgba(255, 255, 255, 0.9);
  border: 2px solid rgba(139, 92, 246, 0.2);
  border-radius: 12px;
  color: #111827;
  font-size: 0.95rem;
  font-family: 'Inter', sans-serif;
  padding: 14px 16px;
  outline: none;
  transition: all 0.2s;
  box-shadow: 0 2px 8px rgba(139, 92, 246, 0.1);
}
.form-group input:focus { 
  border-color: var(--purple);
  box-shadow: 0 4px 16px rgba(139, 92, 246, 0.2);
}
.form-group input::placeholder { color: #9CA3AF; }

.final-form .btn-primary {
  width: 100%;
  padding: 16px;
  font-size: 1rem;
  margin-top: 4px;
}

.form-success {
  display: none;
  background: rgba(16, 185, 129, 0.15);
  border: 2px solid rgba(16, 185, 129, 0.4);
  border-radius: 12px;
  color: #047857;
  padding: 14px 18px;
  font-size: 0.9rem;
  text-align: center;
  font-weight: 600;
}

.cierre-trust {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-bottom: 28px;
  position: relative;
  z-index: 1;
}
.cierre-trust span {
  font-size: 0.82rem;
  color: #6B7280;
}
.cierre-trust span::before { content: '✓ '; color: #10B981; font-weight: 700; }

.whatsapp-alt { margin-top: 8px; position: relative; z-index: 1; }
.whatsapp-alt a {
  font-size: 0.9rem;
  color: #25D366;
  font-weight: 600;
  transition: opacity 0.2s;
}
.whatsapp-alt a:hover { opacity: 0.8; }
.cierre-trust {
  justify-content: center;
  gap: 20px;
  margin-bottom: 28px;
}
.cierre-trust span {
  font-size: 0.82rem;
  color: #6B7280;
}
.cierre-trust span::before { content: '✓ '; color: #10B981; font-weight: 700; }

.whatsapp-alt { margin-top: 8px; }
.whatsapp-alt a {
  font-size: 0.9rem;
  color: #25D366;
  font-weight: 600;
  transition: opacity 0.2s;
}
.whatsapp-alt a:hover { opacity: 0.8; }

/* ============================================================
   FOOTER
   ============================================================ */
footer {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(20px);
  border-top: 2px solid rgba(139, 92, 246, 0.2);
  padding: 40px 0;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
}

.footer-logo {
  font-size: 1.2rem;
  font-weight: 800;
  color: #ffffff;
}
.footer-logo span { color: var(--accent); background: none; -webkit-background-clip: unset; -webkit-text-fill-color: unset; background-clip: unset; }

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}
.footer-links a {
  font-size: 0.82rem;
  color: #6B7280;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--purple); }

.footer-copy {
  font-size: 0.78rem;
  color: #9CA3AF;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 640px) {
  section { padding: 72px 0; }
  .hero { padding: 88px 0 72px; }

  .calc-result { grid-template-columns: 1fr; }

  .precios-grid { grid-template-columns: 1fr; }

  .audio-player-wrap { padding: 28px 20px; }
  .audio-player-wrap audio { width: 100%; }

  .cierre-trust { flex-direction: column; align-items: center; gap: 10px; }

  .steps { max-width: 100%; }
}

/* ============================================================
   HERO — 2 COLUMNS (text + phone mockup)
   ============================================================ */
.hero {
  background: transparent;
  padding: 100px 0 90px;
  text-align: left;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -120px;
  right: 10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(196, 181, 253, 0.2) 0%, transparent 70%);
  pointer-events: none;
  border-radius: 50%;
  filter: blur(80px);
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 60px;
  align-items: center;
}

.hero-text { position: relative; z-index: 1; }
.hero-text .badge { display: inline-block; }
.hero-text h1 { margin-bottom: 20px; }
.hero-text h1 span { display: inline; }

.hero-text .subtitle {
  font-size: 1.05rem;
  color: #4B5563;
  max-width: 520px;
  margin: 0 0 32px;
  line-height: 1.7;
}

.hero-cta-wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}

.hero-cta-row {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.urgency-line {
  font-size: 0.85rem;
  color: #6B7280;
  display: flex;
  align-items: center;
  gap: 6px;
}
.urgency-line strong { color: #111827; }

.hero-social-proof {
  margin-top: 28px;
  font-size: 0.88rem;
  color: #6B7280;
  display: flex;
  align-items: center;
  gap: 8px;
}
.hero-social-proof strong { color: #111827; }

/* ── Phone Mockup ─────────────────────────────────────────── */
.hero-visual { position: relative; z-index: 1; display: flex; justify-content: center; }

.phone-mockup {
  width: 240px;
  height: 480px;
  background: linear-gradient(135deg, #F9FAFB 0%, #FFFFFF 100%);
  border-radius: 36px;
  border: 8px solid #1F2937;
  box-shadow:
    0 0 0 2px rgba(59, 130, 246, 0.2),
    0 32px 80px rgba(0,0,0,0.25),
    0 0 60px rgba(139, 92, 246, 0.3);
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}

/* notch */
.phone-mockup::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 28px;
  background: #1F2937;
  border-radius: 0 0 16px 16px;
  z-index: 10;
}

.phone-screen {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  padding: 52px 16px 20px;
  gap: 10px;
}

/* status bar */
.phone-status {
  display: flex;
  justify-content: space-between;
  font-size: 0.65rem;
  color: #111827;
  font-weight: 600;
  padding: 0 4px;
}

/* incoming call card */
.phone-call-card {
  background: linear-gradient(135deg, #FFFFFF 0%, #F3F4F6 100%);
  border: 2px solid rgba(139, 92, 246, 0.3);
  border-radius: 20px;
  padding: 16px;
  text-align: center;
  box-shadow: 0 8px 24px rgba(139, 92, 246, 0.15);
}

.phone-call-label {
  font-size: 0.62rem;
  color: var(--blue);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 6px;
  font-weight: 700;
}

.phone-call-name {
  font-size: 0.95rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 2px;
}

.phone-call-sub {
  font-size: 0.62rem;
  color: #6B7280;
}

/* waveform animation */
.phone-wave {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  height: 36px;
  margin: 6px 0;
}

.phone-wave span {
  display: block;
  width: 3px;
  background: linear-gradient(to top, var(--blue), var(--accent));
  border-radius: 2px;
  animation: wave-bar 1.2s ease-in-out infinite;
}
.phone-wave span:nth-child(1) { height: 8px;  animation-delay: 0s; }
.phone-wave span:nth-child(2) { height: 18px; animation-delay: 0.1s; }
.phone-wave span:nth-child(3) { height: 28px; animation-delay: 0.2s; }
.phone-wave span:nth-child(4) { height: 22px; animation-delay: 0.3s; }
.phone-wave span:nth-child(5) { height: 32px; animation-delay: 0.15s; }
.phone-wave span:nth-child(6) { height: 20px; animation-delay: 0.25s; }
.phone-wave span:nth-child(7) { height: 14px; animation-delay: 0.05s; }
.phone-wave span:nth-child(8) { height: 24px; animation-delay: 0.35s; }
.phone-wave span:nth-child(9) { height: 10px; animation-delay: 0.1s; }

@keyframes wave-bar {
  0%, 100% { transform: scaleY(0.4); opacity: 0.5; }
  50%       { transform: scaleY(1);   opacity: 1; }
}

/* call timer */
.phone-timer {
  text-align: center;
  font-size: 0.7rem;
  color: #6B7280;
  font-variant-numeric: tabular-nums;
}

/* call action buttons */
.phone-actions {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 4px;
}

.phone-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}
.phone-btn.end   { background: linear-gradient(135deg, #EF4444, #DC2626); color: #ffffff; }
.phone-btn.mute  { background: linear-gradient(135deg, var(--blue), var(--purple)); color: #ffffff; }

/* feature pills */
.phone-features {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 4px;
}

.phone-feat {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.7);
  border: 1px solid rgba(139, 92, 246, 0.2);
  border-radius: 10px;
  padding: 8px 12px;
  font-size: 0.68rem;
  color: #374151;
  font-weight: 500;
  box-shadow: 0 2px 8px rgba(139, 92, 246, 0.1);
}
.phone-feat-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--purple));
  flex-shrink: 0;
  box-shadow: 0 0 8px rgba(139, 92, 246, 0.6);
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.7; transform: scale(1.2); }
}

/* glow ring under phone */
.phone-glow {
  position: absolute;
  bottom: -40px;
  left: 50%;
  transform: translateX(-50%);
  width: 200px;
  height: 80px;
  background: radial-gradient(ellipse, rgba(139, 92, 246, 0.4) 0%, transparent 70%);
  pointer-events: none;
  filter: blur(30px);
  animation: glow-pulse 3s ease-in-out infinite;
}

@keyframes glow-pulse {
  0%, 100% { opacity: 0.6; }
  50% { opacity: 1; }
}

@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero { text-align: center; }
  .hero-cta-wrap { align-items: center; }
  .hero-cta-row { justify-content: center; }
  .hero-text .subtitle { margin: 0 auto 32px; }
  .hero-visual { display: none; }
}

/* ============================================================
   PANEL EN VIVO (dashboard stats)
   ============================================================ */
.panel-vivo {
  background: transparent;
}

.panel-vivo-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.panel-vivo-text { }
.panel-vivo-text h2 { margin-bottom: 16px; color: #111827; }
.panel-vivo-text p {
  color: #4B5563;
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 28px;
}

.panel-dashboard {
  background: rgba(255, 255, 255, 0.95);
  border: 2px solid rgba(139, 92, 246, 0.2);
  border-radius: 20px;
  padding: 24px;
  box-shadow: 0 16px 48px rgba(139, 92, 246, 0.2);
}

.dashboard-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 2px solid rgba(139, 92, 246, 0.1);
}

.dashboard-logo {
  font-size: 0.9rem;
  font-weight: 700;
  color: #111827;
}
.dashboard-logo span { 
  background: linear-gradient(135deg, var(--blue), var(--purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.dashboard-icons {
  display: flex;
  gap: 10px;
  font-size: 0.75rem;
  color: #6B7280;
}

.dashboard-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 20px;
}

.dash-stat {
  background: linear-gradient(135deg, rgba(224, 231, 255, 0.5), rgba(243, 232, 255, 0.5));
  border: 2px solid rgba(139, 92, 246, 0.2);
  border-radius: 12px;
  padding: 14px 12px;
}

.dash-stat-label {
  font-size: 0.68rem;
  color: #6B7280;
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 700;
}

.dash-stat-value {
  font-size: 1.5rem;
  font-weight: 800;
  color: #111827;
  line-height: 1;
  margin-bottom: 4px;
}

.dash-stat-delta {
  font-size: 0.65rem;
  color: #10B981;
  font-weight: 600;
}

/* mini sparkline */
.dash-sparkline {
  height: 28px;
  display: flex;
  align-items: flex-end;
  gap: 2px;
  margin-top: 8px;
}
.dash-sparkline span {
  flex: 1;
  border-radius: 2px 2px 0 0;
  background: rgba(139, 92, 246, 0.3);
  transition: background 0.2s;
}
.dash-sparkline span.hi { background: linear-gradient(to top, var(--blue), var(--purple)); }

.dashboard-recent {
  margin-top: 4px;
}

.dashboard-recent-title {
  font-size: 0.72rem;
  color: #6B7280;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 10px;
  font-weight: 700;
}

.recent-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid rgba(139, 92, 246, 0.1);
  font-size: 0.75rem;
}
.recent-row:last-child { border-bottom: none; }

.recent-name { color: #374151; font-weight: 500; }
.recent-time { color: #6B7280; }
.recent-tag {
  font-size: 0.62rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 999px;
}
.recent-tag.cita    { background: rgba(59, 130, 246, 0.15); color: var(--blue); }
.recent-tag.info    { background: rgba(139, 92, 246, 0.15); color: var(--purple); }
.recent-tag.pending { background: rgba(251, 191, 36, 0.15);  color: #D97706; }

@media (max-width: 900px) {
  .panel-vivo-inner { grid-template-columns: 1fr; }
}

/* ============================================================
   CÓMO FUNCIONA — 5 pasos horizontales
   ============================================================ */
.como-funciona {
  background: transparent;
  text-align: center;
}

.como-funciona h2 { margin-bottom: 12px; color: #111827; }
.como-funciona .cf-subtitle {
  color: #6B7280;
  margin-bottom: 56px;
  font-size: 1rem;
}

.cf-steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  position: relative;
  max-width: 960px;
  margin: 0 auto;
  z-index: 1;
}

/* connecting line between steps */
.cf-steps::before {
  content: '';
  position: absolute;
  top: 28px;
  left: calc(10% + 14px);
  right: calc(10% + 14px);
  height: 3px;
  background: linear-gradient(to right, var(--blue), var(--purple));
  opacity: 0.3;
  z-index: 0;
  border-radius: 2px;
}

.cf-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 0 8px;
  position: relative;
  z-index: 1;
}

.cf-num {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--purple));
  color: #ffffff;
  font-weight: 800;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(139, 92, 246, 0.4);
  flex-shrink: 0;
}

.cf-icon {
  font-size: 1.4rem;
  margin-bottom: -4px;
}

.cf-step h3 {
  font-size: 0.85rem;
  font-weight: 700;
  color: #111827;
  text-align: center;
  line-height: 1.3;
}

.cf-step p {
  font-size: 0.75rem;
  color: #6B7280;
  text-align: center;
  line-height: 1.5;
}

@media (max-width: 768px) {
  .cf-steps { grid-template-columns: 1fr 1fr; gap: 28px; }
  .cf-steps::before { display: none; }
}
@media (max-width: 480px) {
  .cf-steps { grid-template-columns: 1fr; }
}

/* ============================================================
   STATS BAR (debajo de testimonios)
   ============================================================ */
.stats-bar {
  background: transparent;
  border-top: 2px solid rgba(139, 92, 246, 0.2);
  border-bottom: 2px solid rgba(139, 92, 246, 0.2);
  padding: 48px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}

.stat-item { }

.stat-icon {
  font-size: 1.6rem;
  margin-bottom: 10px;
}

.stat-value {
  font-size: 2rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--blue), var(--purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 6px;
}

.stat-label {
  font-size: 0.82rem;
  color: #6B7280;
  font-weight: 600;
}

@media (max-width: 640px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 28px; }
}

/* ============================================================
   FLOATING PARTICLES / DECORATIVE ELEMENTS
   ============================================================ */

/* Círculos grandes difuminados de fondo */
body::before,
body::after {
  content: '';
  position: fixed;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  filter: blur(100px);
}

body::before {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(125, 211, 252, 0.5), transparent);
  top: 10%;
  left: -10%;
  animation: float-1 25s ease-in-out infinite;
}

body::after {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(196, 181, 253, 0.4), transparent);
  bottom: 10%;
  right: -5%;
  animation: float-2 20s ease-in-out infinite;
}

@keyframes float-1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(50px, -60px) scale(1.1); }
  66% { transform: translate(-30px, 40px) scale(0.9); }
}

@keyframes float-2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(-50px, 40px) scale(0.9); }
  66% { transform: translate(30px, -40px) scale(1.1); }
}

/* Líneas diagonales sutiles — eliminadas, usamos bg-pattern.jpg */
body::after { display: none; }

/* Sparkle dots - puntos brillantes dispersos */
.hero::after {
  display: none;
}

/* WhatsApp bubble animation enhancement */
.whatsapp-bubble {
  animation: bubble-in 0.4s ease 1.2s both, bubble-float 3s ease-in-out 2s infinite;
}

@keyframes bubble-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

/* ============================================================
   SPARKLES / DESTELLOS DECORATIVOS
   ============================================================ */

/* Contenedor de destellos para el hero */
.hero {
  position: relative;
}

.hero .sparkle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: radial-gradient(circle, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 70%);
  border-radius: 50%;
  pointer-events: none;
  animation: sparkle-twinkle 3s ease-in-out infinite;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
}

/* Diferentes posiciones y delays para los destellos */
.hero .sparkle:nth-child(1) {
  top: 15%;
  left: 8%;
  animation-delay: 0s;
  animation-duration: 2.5s;
}

.hero .sparkle:nth-child(2) {
  top: 25%;
  left: 15%;
  width: 3px;
  height: 3px;
  animation-delay: 0.8s;
  animation-duration: 3s;
}

.hero .sparkle:nth-child(3) {
  top: 45%;
  left: 5%;
  width: 5px;
  height: 5px;
  animation-delay: 1.5s;
  animation-duration: 2.8s;
}

.hero .sparkle:nth-child(4) {
  top: 60%;
  left: 12%;
  animation-delay: 0.3s;
  animation-duration: 3.2s;
}

.hero .sparkle:nth-child(5) {
  top: 35%;
  right: 15%;
  width: 6px;
  height: 6px;
  animation-delay: 1s;
  animation-duration: 2.7s;
}

.hero .sparkle:nth-child(6) {
  top: 55%;
  right: 8%;
  width: 3px;
  height: 3px;
  animation-delay: 2s;
  animation-duration: 3.5s;
}

.hero .sparkle:nth-child(7) {
  top: 70%;
  right: 20%;
  animation-delay: 0.5s;
  animation-duration: 2.9s;
}

.hero .sparkle:nth-child(8) {
  top: 20%;
  right: 25%;
  width: 4px;
  height: 4px;
  animation-delay: 1.8s;
  animation-duration: 3.1s;
}

/* Destellos más grandes con efecto de cruz */
.hero .sparkle-star {
  position: absolute;
  pointer-events: none;
  animation: sparkle-twinkle 3s ease-in-out infinite;
}

.hero .sparkle-star::before,
.hero .sparkle-star::after {
  content: '';
  position: absolute;
  background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.9), transparent);
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.6);
}

.hero .sparkle-star::before {
  width: 20px;
  height: 2px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.hero .sparkle-star::after {
  width: 2px;
  height: 20px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.hero .sparkle-star:nth-child(9) {
  top: 18%;
  left: 20%;
  animation-delay: 0.6s;
  animation-duration: 3.3s;
}

.hero .sparkle-star:nth-child(10) {
  top: 50%;
  left: 10%;
  animation-delay: 1.2s;
  animation-duration: 2.6s;
}

.hero .sparkle-star:nth-child(11) {
  top: 40%;
  right: 12%;
  animation-delay: 0.9s;
  animation-duration: 3.4s;
}

.hero .sparkle-star:nth-child(12) {
  bottom: 20%;
  right: 18%;
  animation-delay: 1.7s;
  animation-duration: 2.8s;
}

/* Animación de parpadeo/brillo */
@keyframes sparkle-twinkle {
  0%, 100% {
    opacity: 0;
    transform: scale(0);
  }
  10% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.8;
    transform: scale(1.2);
  }
  90% {
    opacity: 1;
    transform: scale(1);
  }
}

/* Destellos en otras secciones */
body::before {
  content: '';
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background-image: 
    radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.4) 1px, transparent 1px),
    radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.3) 1px, transparent 1px),
    radial-gradient(circle at 40% 70%, rgba(255, 255, 255, 0.35) 1px, transparent 1px),
    radial-gradient(circle at 90% 60%, rgba(255, 255, 255, 0.3) 1px, transparent 1px),
    radial-gradient(circle at 15% 80%, rgba(255, 255, 255, 0.4) 1px, transparent 1px),
    radial-gradient(circle at 70% 85%, rgba(255, 255, 255, 0.35) 1px, transparent 1px);
  background-size: 100% 100%;
  pointer-events: none;
  z-index: 1;
  animation: sparkle-float 8s ease-in-out infinite;
  opacity: 0.6;
}

@keyframes sparkle-float {
  0%, 100% {
    opacity: 0.4;
    transform: translateY(0);
  }
  50% {
    opacity: 0.7;
    transform: translateY(-10px);
  }
}

/* Asegurar que el contenido esté por encima */
header,
section,
footer {
  position: relative;
  z-index: 2;
}

/* Destellos adicionales cerca del teléfono */
.hero-visual::before,
.hero-visual::after {
  content: '';
  position: absolute;
  width: 8px;
  height: 8px;
  background: radial-gradient(circle, rgba(255, 255, 255, 1) 0%, rgba(139, 92, 246, 0.5) 50%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  animation: sparkle-pulse 2s ease-in-out infinite;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.8), 0 0 40px rgba(139, 92, 246, 0.4);
}

.hero-visual::before {
  top: 10%;
  right: -5%;
  animation-delay: 0.5s;
}

.hero-visual::after {
  bottom: 15%;
  left: -8%;
  animation-delay: 1.5s;
}

@keyframes sparkle-pulse {
  0%, 100% {
    opacity: 0.3;
    transform: scale(0.8);
  }
  50% {
    opacity: 1;
    transform: scale(1.3);
  }
}

/* Destellos en el botón de WhatsApp */
.whatsapp-float::before {
  content: '';
  position: absolute;
  top: -4px;
  right: -4px;
  width: 12px;
  height: 12px;
  background: radial-gradient(circle, rgba(255, 255, 255, 1) 0%, rgba(37, 211, 102, 0.5) 50%, transparent 70%);
  border-radius: 50%;
  animation: sparkle-pulse 2.5s ease-in-out infinite;
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.9);
  pointer-events: none;
}

/* ============================================================
   CHAT PANEL (reemplaza dashboard)
   ============================================================ */
.chat-panel {
  background: #ffffff;
  border-radius: 20px;
  padding: 24px;
  box-shadow: 0 24px 60px rgba(0,0,0,0.35), 0 0 40px rgba(6,182,212,0.08);
  display: flex;
  flex-direction: column;
  gap: 16px;
  color: #111827;
}

/* Header */
.chat-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.chat-panel-logo {
  font-size: 1rem;
  font-weight: 800;
  color: #111827;
}
.chat-panel-logo span { color: var(--accent); }

.chat-live-dot {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  font-weight: 600;
  color: #059669;
}
.chat-live-dot span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22C55E;
  box-shadow: 0 0 6px rgba(34,197,94,0.7);
  animation: pulse-dot 1.5s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.4; }
}

/* Waveform row */
.chat-wave-row {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #F8FAFF;
  border: 1px solid rgba(99,102,241,0.12);
  border-radius: 14px;
  padding: 14px 16px;
}

.chat-wave-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, #6366F1, var(--accent));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.chat-waveform {
  display: flex;
  align-items: center;
  gap: 2px;
  flex: 1;
  height: 28px;
}
.chat-waveform span {
  display: block;
  width: 3px;
  border-radius: 2px;
  background: linear-gradient(to top, #6366F1, var(--accent));
  animation: wave-bar 1.1s ease-in-out infinite;
}
.chat-waveform span:nth-child(odd)  { height: 40%; animation-delay: 0s; }
.chat-waveform span:nth-child(even) { height: 75%; animation-delay: 0.15s; }
.chat-waveform span:nth-child(3n)   { height: 100%; animation-delay: 0.3s; }
.chat-waveform span:nth-child(5n)   { height: 55%; animation-delay: 0.08s; }

/* Messages */
.chat-messages {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.chat-msg {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.chat-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}
.client-avatar { background: #E5E7EB; }
.ia-avatar {
  background: linear-gradient(135deg, #6366F1, var(--accent));
  color: #ffffff;
}

.chat-bubble-wrap { flex: 1; }
.ia-wrap { text-align: right; }

.chat-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 5px;
  font-size: 0.75rem;
}
.chat-meta strong { color: #111827; font-weight: 700; }
.chat-meta span   { color: #9CA3AF; }
.ia-meta { justify-content: flex-end; }
.ia-meta strong { color: var(--accent); }

.chat-bubble {
  display: inline-block;
  padding: 10px 14px;
  border-radius: 12px;
  font-size: 0.85rem;
  line-height: 1.5;
  max-width: 90%;
  text-align: left;
}
.client-bubble {
  background: #F3F4F6;
  color: #374151;
  border-radius: 4px 12px 12px 12px;
}
.ia-bubble {
  background: linear-gradient(135deg, rgba(99,102,241,0.1), rgba(6,182,212,0.1));
  border: 1px solid rgba(99,102,241,0.2);
  color: #1E293B;
  border-radius: 12px 4px 12px 12px;
}

/* Cita confirmada */
.chat-cita {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #F0FDF4;
  border: 1px solid rgba(34,197,94,0.3);
  border-radius: 14px;
  padding: 14px 16px;
}

.chat-cita-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #22C55E;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.chat-cita-info { flex: 1; }
.chat-cita-title {
  font-size: 0.88rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 3px;
}
.chat-cita-detail {
  font-size: 0.75rem;
  color: #6B7280;
}

.chat-cita-check {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #22C55E;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 700;
  flex-shrink: 0;
}

/* Footer tags */
.chat-footer-tags {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.chat-tag {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 999px;
}
.chat-tag.blue {
  background: rgba(99,102,241,0.08);
  color: #6366F1;
  border: 1px solid rgba(99,102,241,0.2);
}

/* ============================================================
   RESULTADOS — Antes vs Después
   ============================================================ */
.resultados {
  background: transparent;
  text-align: center;
  padding: 96px 0;
}

.resultados .badge {
  color: #6366F1;
  background: rgba(99,102,241,0.1);
  border-color: rgba(99,102,241,0.3);
}

.resultados h2 {
  color: #0f172a;
  margin-bottom: 12px;
}

.resultados-sub {
  color: #475569;
  font-size: 1rem;
  margin-bottom: 48px;
}

/* Grid comparativa */
.comparativa {
  display: grid;
  grid-template-columns: 1fr 56px 1fr;
  gap: 0;
  align-items: center;
  max-width: 900px;
  margin: 0 auto 40px;
}

/* Cards */
.comp-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 28px 28px 20px;
  text-align: left;
  box-shadow: 0 4px 24px rgba(0,0,0,0.07);
}

.comp-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.comp-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.comp-icon.red   { background: rgba(239,68,68,0.1); }
.comp-icon.green { background: rgba(34,197,94,0.12); }

.comp-label {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.red-text   { color: #EF4444; }
.green-text { color: #059669; }

/* List */
.comp-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 20px;
}

.comp-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9rem;
  color: #374151;
  line-height: 1.4;
}

.comp-item-icon {
  font-size: 1rem;
  flex-shrink: 0;
  margin-top: 1px;
}
.red-icon   { filter: none; opacity: 0.7; }
.green-icon { filter: none; }

/* Footer de cada card */
.comp-footer {
  font-size: 0.82rem;
  font-weight: 600;
  padding-top: 14px;
  border-top: 1px solid rgba(0,0,0,0.06);
  text-align: center;
}
.red-footer   { color: #EF4444; }
.green-footer { color: #059669; }

/* Flecha central */
.comp-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, #6366F1, var(--accent));
  color: #ffffff;
  font-size: 1.3rem;
  font-weight: 700;
  margin: 0 auto;
  box-shadow: 0 4px 16px rgba(99,102,241,0.35);
  flex-shrink: 0;
}

/* Pills inferiores */
.resultados-pills {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.res-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #ffffff;
  border: 1px solid rgba(99,102,241,0.2);
  border-radius: 999px;
  padding: 10px 20px;
  font-size: 0.88rem;
  font-weight: 600;
  color: #374151;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.res-pill-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, #6366F1, var(--accent));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  flex-shrink: 0;
}

@media (max-width: 700px) {
  .comparativa {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .comp-arrow { transform: rotate(90deg); }
}

/* ============================================================
   CASO EN ACCIÓN — 3 cards con flechas
   ============================================================ */
.caso-accion {
  background: transparent;
  text-align: center;
  padding: 96px 0;
}

.caso-accion .badge {
  color: #6366F1;
  background: rgba(99,102,241,0.1);
  border-color: rgba(99,102,241,0.3);
}

.caso-accion h2 { color: #0f172a; margin-bottom: 12px; }

.caso-sub {
  color: #475569;
  font-size: 1rem;
  margin-bottom: 48px;
}

/* Grid: card → flecha → card → flecha → card */
.caso-steps {
  display: grid;
  grid-template-columns: 1fr 40px 1fr 40px 1fr;
  gap: 0;
  align-items: center;
  max-width: 960px;
  margin: 0 auto 40px;
}

/* Flecha */
.caso-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, #6366F1, var(--accent));
  color: #ffffff;
  font-size: 1rem;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(99,102,241,0.3);
  flex-shrink: 0;
  margin: 0 auto;
}

/* Card */
.caso-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 24px 20px;
  text-align: left;
  box-shadow: 0 4px 24px rgba(0,0,0,0.08);
  display: flex;
  flex-direction: column;
  gap: 14px;
  height: 100%;
}

.caso-card-header {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  font-weight: 700;
  color: #111827;
}

.caso-num {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, #6366F1, var(--accent));
  color: #ffffff;
  font-weight: 800;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 0 12px rgba(99,102,241,0.35);
}

/* Visual central con anillos */
.caso-visual {
  display: flex;
  justify-content: center;
  padding: 8px 0;
}

.caso-ring {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(99,102,241,0.08);
  border: 2px solid rgba(99,102,241,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.caso-ring::before {
  content: '';
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 1px solid rgba(99,102,241,0.1);
}
.caso-ring.ia {
  background: rgba(99,102,241,0.08);
  border-color: rgba(99,102,241,0.25);
}
.caso-ring.green {
  background: rgba(34,197,94,0.08);
  border-color: rgba(34,197,94,0.25);
}
.caso-ring.green::before { border-color: rgba(34,197,94,0.1); }

.caso-ring-inner { font-size: 1.8rem; }

.caso-desc {
  font-size: 0.85rem;
  color: #475569;
  line-height: 1.5;
}

/* Burbujas de chat dentro de la card */
.caso-bubble {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  background: #F8FAFF;
  border: 1px solid rgba(99,102,241,0.12);
  border-radius: 12px;
  padding: 10px 12px;
}

.caso-bubble-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #E5E7EB;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  flex-shrink: 0;
}
.ia-av {
  background: linear-gradient(135deg, #6366F1, var(--accent));
}

.caso-bubble-text {
  font-size: 0.78rem;
  color: #374151;
  line-height: 1.5;
  font-style: italic;
}

/* Tag cita confirmada */
.caso-cita-tag {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #F0FDF4;
  border: 1px solid rgba(34,197,94,0.3);
  border-radius: 10px;
  padding: 10px 14px;
  font-size: 0.82rem;
  font-weight: 600;
  color: #059669;
}

.caso-cita-check {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #22C55E;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 700;
  flex-shrink: 0;
}

/* Pills */
.caso-pills {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.caso-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #ffffff;
  border: 1px solid rgba(99,102,241,0.2);
  border-radius: 999px;
  padding: 10px 20px;
  font-size: 0.88rem;
  font-weight: 600;
  color: #374151;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.caso-pill-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, #6366F1, var(--accent));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.82rem;
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .caso-steps {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .caso-arrow { transform: rotate(90deg); }
}

/* ============================================================
   EXPERIENCIA PROFESIONAL — 4 cards
   ============================================================ */
.experiencia {
  background: transparent;
  text-align: center;
  padding: 96px 0;
}

.experiencia h2 { color: #0f172a; margin-bottom: 12px; }

.exp-sub {
  color: #475569;
  font-size: 1rem;
  margin-bottom: 48px;
}

.exp-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 32px;
}

.exp-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 20px;
  text-align: left;
  box-shadow: 0 4px 20px rgba(0,0,0,0.07);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.exp-card-header {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.exp-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.exp-icon.purple { background: rgba(99,102,241,0.1); }
.exp-icon.green  { background: rgba(5,150,105,0.1); }
.exp-icon.blue   { background: rgba(59,130,246,0.1); }
.exp-icon.yellow { background: rgba(234,179,8,0.1); }

.exp-card-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 2px;
}
.exp-card-sub {
  font-size: 0.75rem;
  color: #6B7280;
  line-height: 1.4;
}

/* Mini chat */
.exp-chat { display: flex; flex-direction: column; gap: 8px; }

.exp-chat-msg {
  display: flex;
  align-items: flex-end;
  gap: 6px;
}
.exp-chat-msg.ia { flex-direction: row-reverse; }

.exp-chat-av {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #E5E7EB;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  flex-shrink: 0;
}
.exp-chat-av.ia {
  background: linear-gradient(135deg, #6366F1, var(--accent));
}

.exp-chat-bubble {
  font-size: 0.72rem;
  line-height: 1.4;
  padding: 7px 10px;
  border-radius: 10px;
  max-width: 85%;
}
.exp-chat-bubble.client {
  background: #F3F4F6;
  color: #374151;
  border-radius: 4px 10px 10px 10px;
}
.exp-chat-bubble.ia {
  background: rgba(99,102,241,0.08);
  color: #374151;
  border-radius: 10px 4px 10px 10px;
  text-align: right;
}

/* Metric */
.exp-metric { display: flex; flex-direction: column; gap: 6px; }
.exp-metric-label { font-size: 0.75rem; color: #6B7280; }
.exp-metric-value {
  font-size: 2rem;
  font-weight: 800;
  color: #059669;
  line-height: 1;
}
.exp-chart svg { width: 100%; height: 70px; }

/* Table */
.exp-table { display: flex; flex-direction: column; gap: 0; }
.exp-table-title {
  font-size: 0.72rem;
  font-weight: 700;
  color: #6B7280;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 8px;
}
.exp-table-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 0;
  border-bottom: 1px solid rgba(0,0,0,0.04);
  font-size: 0.75rem;
}
.exp-table-row:last-child { border-bottom: none; }
.exp-table-icon { font-size: 0.9rem; flex-shrink: 0; }
.exp-table-name { flex: 1; color: #374151; font-weight: 500; }

.exp-tag {
  font-size: 0.62rem;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 999px;
  white-space: nowrap;
}
.exp-tag.new      { background: rgba(99,102,241,0.1); color: #6366F1; }
.exp-tag.progress { background: rgba(59,130,246,0.1); color: #3B82F6; }
.exp-tag.done     { background: rgba(5,150,105,0.1);  color: #059669; }
.exp-tag.follow   { background: rgba(234,179,8,0.1);  color: #D97706; }

/* Stars & review */
.exp-stars { font-size: 1.3rem; letter-spacing: 2px; }

.exp-review {
  background: #F8FAFF;
  border-radius: 12px;
  padding: 12px;
}
.exp-review p {
  font-size: 0.8rem;
  color: #374151;
  font-style: italic;
  margin-bottom: 8px;
  line-height: 1.5;
}
.exp-review-author {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  color: #6B7280;
  font-weight: 600;
}

/* Bottom pill */
.exp-bottom-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(99,102,241,0.08);
  border: 1px solid rgba(99,102,241,0.2);
  border-radius: 999px;
  padding: 12px 24px;
  font-size: 0.9rem;
  font-weight: 600;
  color: #374151;
}

@media (max-width: 900px) {
  .exp-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 540px) {
  .exp-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   DARK BG OVERRIDES — adapta todo al fondo oscuro bg-pattern
   ============================================================ */

/* Headings que estaban forzados a oscuro */
.resultados h2,
.caso-accion h2,
.experiencia h2,
.como-funciona h2,
.audio-demo h2,
.panel-vivo-text h2,
.cf-step h3 { color: #ffffff; }

/* Subtítulos que estaban en gris oscuro */
.resultados-sub,
.caso-sub,
.exp-sub,
.como-funciona .cf-subtitle,
.panel-vivo-text p,
.audio-demo .audio-validation { color: #94A3B8; }

/* Hero texto */
.hero-text h1 { color: #ffffff; }
.hero-text .subtitle { color: #94A3B8; }
.urgency-line { color: #94A3B8; }
.urgency-line strong { color: #ffffff; }
.hero-social-proof { color: #64748B; }
.hero-social-proof strong { color: #ffffff; }

/* Nav */
header {
  background: rgba(5, 10, 31, 0.75);
  border-bottom: 1px solid rgba(139, 92, 246, 0.15);
}
.nav-mobile { background: #080d20; }

/* Cards blancas → glassmorphism oscuro */
.comp-card,
.caso-card,
.exp-card,
.precio-card,
.problema-item,
.beneficio-item,
.testimonio-card,
.faq-item,
.audio-player-wrap,
.chat-panel {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

/* Textos dentro de cards que estaban oscuros */
.comp-card-title,
.exp-card-title,
.caso-card-header span,
.comp-list li,
.caso-desc,
.exp-card-sub,
.exp-table-name,
.exp-review p,
.exp-metric-label,
.exp-table-title,
.testimonio-card p,
.precio-card h3,
.problema-item h3,
.beneficio-item h3,
.step-content h3,
.cf-step h3 { color: #E2E8F0; }

.comp-card-sub,
.caso-desc,
.exp-card-sub,
.problema-item p,
.beneficio-item p,
.step-content p,
.cf-step p,
.precio-impl,
.precio-features li,
.testimonio-autor,
.exp-review-author,
.exp-table-name { color: #94A3B8; }

/* Labels rojos/verdes de comparativa */
.red-text   { color: #F87171; }
.green-text { color: #34D399; }
.comp-footer.red-footer   { color: #F87171; border-top-color: rgba(255,255,255,0.08); }
.comp-footer.green-footer { color: #34D399; border-top-color: rgba(255,255,255,0.08); }

/* Pills */
.res-pill,
.caso-pill,
.exp-bottom-pill {
  background: rgba(255,255,255,0.06);
  border-color: rgba(139,92,246,0.3);
  color: #E2E8F0;
  backdrop-filter: blur(8px);
}

/* Burbujas de chat dentro de cards */
.exp-chat-bubble.client,
.caso-bubble { background: rgba(255,255,255,0.08); color: #E2E8F0; }
.exp-chat-bubble.ia { background: rgba(99,102,241,0.15); color: #E2E8F0; }
.caso-bubble-text { color: #CBD5E1; }

/* Tabla de conversaciones */
.exp-table-row { border-bottom-color: rgba(255,255,255,0.06); }

/* Cita tag */
.caso-cita-tag {
  background: rgba(34,197,94,0.1);
  border-color: rgba(34,197,94,0.25);
  color: #34D399;
}

/* Highlight problema */
.problema-highlight {
  background: rgba(6,182,212,0.08);
  border-color: rgba(6,182,212,0.2);
  color: #67E8F9;
}

/* Calculadora result boxes */
.result-box {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.1);
}

/* FAQ */
.faq-header { color: #ffffff; }
.faq-body p { color: #94A3B8; }

/* Precios destacado */
.precio-card.destacado {
  background: rgba(99,102,241,0.12);
  border-color: rgba(139,92,246,0.5);
}
.precio-amount { color: #ffffff; }
.precio-amount span { color: #64748B; }

/* Cierre form */
.form-group label { color: #94A3B8; }
.form-group input {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.12);
  color: #ffffff;
}
.cierre-trust span { color: #64748B; }
.cierre h2 { color: #ffffff; }
.cierre-sub { color: #94A3B8; }

/* Footer */
footer {
  background: rgba(5, 10, 31, 0.75);
  border-top-color: rgba(139,92,246,0.15);
}
.footer-copy { color: #334155; }
.footer-links a { color: #64748B; }

/* Exp review */
.exp-review { background: rgba(255,255,255,0.05); }

/* Metric value mantiene verde */
.exp-metric-value { color: #34D399; }

/* Stats bar borders */
.stats-bar {
  border-top-color: rgba(139,92,246,0.2);
  border-bottom-color: rgba(139,92,246,0.2);
}
.stat-value { color: #ffffff; }
.stat-label { color: #64748B; }

/* Precios nota */
.precios-nota { color: #475569; }

/* Solucion subtitle */
.sol-subtitle { color: #94A3B8; }
.precios-subtitle { color: #94A3B8; }
.calc-subtitle { color: #94A3B8; }

/* Panel vivo text */
.panel-vivo-text p { color: #94A3B8; }

/* Chat panel header en blanco */
.chat-panel-logo { color: #ffffff; }
.chat-panel { color: #1F2937; } /* mantiene oscuro porque es card blanca/glass */
