/* ============================================
   MASTER CREATIVO · Landing
   Variables fáciles de cambiar luego (colores, logos, etc.)
   ============================================ */

:root {
  /* === PALETA NETPRO MASTER (extraída del logo) === */
  --brand:       #6d28d9;   /* morado profundo */
  --brand-dark:  #5b21b6;   /* morado oscuro */
  --brand-soft:  #f3e8ff;   /* morado lavanda muy suave */
  --brand-mid:   #a21caf;   /* violeta vivo intermedio */
  --accent:      #ec4899;   /* magenta / rosa */
  --accent-dark: #db2777;
  --gradient-brand: linear-gradient(135deg, #6d28d9 0%, #a21caf 50%, #ec4899 100%);
  --gradient-brand-soft: linear-gradient(135deg, #6d28d9 0%, #ec4899 100%);

  --text:        #1a1326;
  --text-soft:   #4a3f5a;
  --text-mute:   #8a829a;

  --bg:          #ffffff;
  --bg-soft:     #faf7ff;
  --bg-card:     #ffffff;

  --line:        #ece6f5;

  --radius-sm:   8px;
  --radius-md:   14px;
  --radius-lg:   24px;

  --shadow-sm:   0 2px 8px rgba(20, 30, 60, 0.06);
  --shadow-md:   0 8px 30px rgba(20, 30, 60, 0.08);
  --shadow-lg:   0 20px 60px rgba(109, 40, 217, 0.18);

  --ease:        cubic-bezier(0.22, 1, 0.36, 1);
}

/* ============ RESET ============ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Poppins', system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

.center { text-align: center; }

/* ============ TIPOGRAFÍA ============ */
h1, h2, h3, h4 { font-weight: 700; line-height: 1.2; letter-spacing: -0.01em; }
.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--brand);
  margin-bottom: 14px;
  padding: 6px 14px;
  background: var(--brand-soft);
  border-radius: 999px;
}
.accent { color: var(--brand); }
.lead { font-size: 1.1rem; color: var(--text-soft); margin-bottom: 24px; }

.section {
  padding: 100px 0;
}
.section-light { background: var(--bg-soft); }
.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 60px;
}
.section-head h2 {
  font-size: clamp(1.8rem, 3.6vw, 2.6rem);
  margin-bottom: 14px;
}
.section-head p { color: var(--text-soft); font-size: 1.05rem; }

/* ============ BOTONES ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  transition: all 0.25s var(--ease);
  white-space: nowrap;
}
.btn-primary {
  background: var(--brand);
  color: #fff;
  box-shadow: var(--shadow-md);
}
.btn-primary:hover {
  background: var(--brand-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}
.btn-ghost {
  background: transparent;
  color: var(--text);
  padding: 10px 20px;
}
.btn-ghost:hover { color: var(--brand); }
.btn-outline-light {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.6);
}
.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #fff;
}
.btn-lg { padding: 16px 32px; font-size: 16px; }
.btn-block { width: 100%; }

/* ============ HEADER ============ */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: transparent;
  transition: all 0.3s var(--ease);
}
.header.scrolled {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: var(--shadow-sm);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  gap: 20px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 18px;
  font-weight: 600;
  color: #fff;
  transition: color 0.3s;
}
.header.scrolled .logo { color: var(--text); }
.logo-mark {
  font-size: 22px;
  color: var(--brand);
}
.logo-text b { font-weight: 800; }
.logo-img {
  height: 38px;
  width: auto;
  display: block;
  object-fit: contain;
}
.logo-img-footer { height: 44px; filter: brightness(1.1); }

.nav {
  display: flex;
  gap: 28px;
}
.nav a {
  font-size: 15px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  transition: color 0.2s;
}
.header.scrolled .nav a { color: var(--text-soft); }
.nav a:hover { color: var(--brand); }

.header-cta { display: flex; gap: 8px; align-items: center; }
.header:not(.scrolled) .btn-ghost { color: #fff; }

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 8px;
}
.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: all 0.3s;
}
.header.scrolled .menu-toggle span { background: var(--text); }

/* ============ HERO (2 columnas) ============ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: #fff;
  padding: 120px 0 80px;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(236, 72, 153, 0.35), transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(109, 40, 217, 0.4), transparent 55%),
    linear-gradient(135deg, #1a0d2e 0%, #2d1645 60%, #341a4f 100%);
}
.hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 50px 50px;
  mask-image: radial-gradient(ellipse at center, black 40%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 40%, transparent 80%);
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

/* Video slot a la izquierda */
.hero-video-slot {
  position: relative;
  aspect-ratio: 16 / 11;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
}
.hero-video-slot video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.video-frame {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(109, 40, 217, 0.18), rgba(236, 72, 153, 0.18)),
    repeating-linear-gradient(45deg, rgba(255,255,255,0.04) 0 14px, transparent 14px 28px);
  border: 2px dashed rgba(255, 255, 255, 0.3);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
}
.video-icon {
  width: 80px; height: 80px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  border: 2px solid rgba(255, 255, 255, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: #fff;
  padding-left: 6px;
  backdrop-filter: blur(10px);
  animation: pulseRing 2.5s ease-in-out infinite;
}
@keyframes pulseRing {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255,255,255,0.3); }
  50%      { box-shadow: 0 0 0 18px rgba(255,255,255,0); }
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: left;
}
.hero-badge {
  display: inline-block;
  margin-bottom: 22px;
  padding: 8px 16px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  letter-spacing: 0.3px;
}

/* Scroll indicator del hero */
.scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 12px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-weight: 500;
  animation: floatY 2.4s ease-in-out infinite;
}
@keyframes floatY {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%      { transform: translateX(-50%) translateY(8px); }
}
.scroll-mouse {
  width: 22px; height: 36px;
  border: 2px solid rgba(255, 255, 255, 0.7);
  border-radius: 14px;
  display: flex;
  justify-content: center;
  padding-top: 6px;
}
.scroll-wheel {
  width: 3px; height: 6px;
  background: #fff;
  border-radius: 2px;
  animation: wheel 1.6s ease-in-out infinite;
}
@keyframes wheel {
  0%   { opacity: 1; transform: translateY(0); }
  100% { opacity: 0; transform: translateY(10px); }
}

/* Placeholders visuales para video / imagen / foto */
.placeholder-tag {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
  padding: 10px 18px;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  border-radius: 999px;
  border: 1px dashed rgba(255, 255, 255, 0.4);
  letter-spacing: 0.3px;
  pointer-events: none;
}
[data-placeholder="image"] .placeholder-tag {
  background: rgba(109, 40, 217, 0.85);
  border-color: rgba(255, 255, 255, 0.6);
}
[data-placeholder="photo"] {
  background: linear-gradient(135deg, var(--brand-soft), #fce7f3) !important;
  position: relative;
}
[data-placeholder="photo"]::before {
  content: '👤';
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  opacity: 0.5;
}
.hero-content h1 {
  font-size: clamp(2.2rem, 5.5vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 22px;
}
.hero-content h1 .accent { color: #f9a8d4; }
.hero-sub {
  font-size: clamp(1.05rem, 1.4vw, 1.25rem);
  margin-bottom: 36px;
  opacity: 0.95;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}
.hero-cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ============ GRID-2 (que es / para quién) ============ */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

/* ============ ¿QUÉ ES? (2 col: texto+servicios | imagen) ============ */
.que-es-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.que-es-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  margin-bottom: 22px;
  line-height: 1.1;
}
.brand-name { color: var(--text); }
.que-es-lead {
  font-size: 1.05rem;
  color: var(--text-soft);
  margin-bottom: 36px;
  max-width: 480px;
}

/* 6 servicios en grid 2 columnas × 3 filas */
.qe-services {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px 32px;
}
.qe-services li {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
}
.qe-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  flex-shrink: 0;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
  transition: transform 0.25s var(--ease);
}
.qe-icon svg { width: 26px; height: 26px; }
.qe-purple { background: linear-gradient(135deg, #7e22ce, #6d28d9); }
.qe-orange { background: linear-gradient(135deg, #ec4899, #db2777); }
.qe-services li:hover .qe-icon { transform: translateY(-3px) scale(1.05); }

/* Imagen a la derecha (placeholder) */
.que-es-image {
  position: relative;
  aspect-ratio: 1 / 1.05;
  border-radius: 28px;
  background:
    linear-gradient(135deg, #ffffff 0%, #f0f2f7 100%),
    repeating-linear-gradient(45deg, rgba(0,0,0,0.02) 0 14px, transparent 14px 28px);
  background-blend-mode: multiply;
  border: 2px dashed rgba(109, 40, 217, 0.25);
  box-shadow: 0 30px 60px -20px rgba(20, 30, 60, 0.18);
  overflow: hidden;
}
.que-es-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  border-radius: 28px;
}

/* (Estilos antiguos que ya no se usan en esta sección, los mantenemos por si los reutilizamos en otra parte) */
.services-row {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
  margin: 0 auto 56px;
  max-width: 1080px;
}
.services-row li {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 24px 14px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  text-align: center;
  font-weight: 600;
  font-size: 14px;
  color: var(--text);
  transition: all 0.3s var(--ease);
}
.services-row li:hover {
  transform: translateY(-4px);
  border-color: var(--brand);
  box-shadow: var(--shadow-md);
}
.srv-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--brand-soft);
  color: var(--brand);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s var(--ease);
}
.srv-icon svg { width: 22px; height: 22px; }
.services-row li:hover .srv-icon {
  background: var(--brand);
  color: #fff;
  transform: scale(1.05);
}

/* 3 mini-cards destacadas (horizontal grid) */
.mini-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 36px;
}
.mini-card {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 26px 24px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s var(--ease);
}
.mini-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--brand);
}
.mini-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #fff;
}
.mini-icon svg { width: 24px; height: 24px; }
.icon-1 { background: linear-gradient(135deg, #fbbf24, #f59e0b); }
.icon-2 { background: linear-gradient(135deg, #3b82f6, #1d4ed8); }
.icon-3 { background: linear-gradient(135deg, #ec4899, #be185d); }
.mini-card h4 { font-size: 1.05rem; margin-bottom: 6px; }
.mini-card p { font-size: 14px; color: var(--text-soft); line-height: 1.5; }

.callout {
  max-width: 820px;
  margin: 0 auto;
  padding: 22px 28px;
  background: var(--brand-soft);
  border-left: 4px solid var(--brand);
  border-radius: var(--radius-sm);
  color: var(--text);
  text-align: center;
  font-size: 1.05rem;
}

/* ============ BENEFICIOS ============ */
.benefits {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}
.benefit {
  text-align: center;
  padding: 36px 28px;
  border-radius: var(--radius-md);
  background: var(--bg-card);
  border: 1px solid var(--line);
  transition: all 0.3s var(--ease);
}
.benefit:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--brand);
}
.benefit-icon {
  width: 72px; height: 72px;
  margin: 0 auto 20px;
  border-radius: 20px;
  background: linear-gradient(135deg, var(--brand-soft), #fce7f3);
  color: var(--brand);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s var(--ease);
}
.benefit-icon svg { width: 32px; height: 32px; }
.benefit:hover .benefit-icon {
  transform: scale(1.08) rotate(-4deg);
  background: linear-gradient(135deg, var(--brand), var(--accent));
  color: #fff;
}
.benefit h3 { font-size: 1.2rem; margin-bottom: 10px; }
.benefit p { color: var(--text-soft); }

/* ============ PARA QUIÉN ============ */
.col-image .image-placeholder {
  position: relative;
  aspect-ratio: 4 / 5;
  background:
    linear-gradient(135deg, var(--brand-soft), #fce7f3),
    repeating-linear-gradient(45deg, rgba(109, 40, 217, 0.06) 0 12px, transparent 12px 24px);
  background-blend-mode: multiply;
  border: 2px dashed rgba(109, 40, 217, 0.35);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.audience { display: flex; flex-direction: column; gap: 22px; margin-top: 24px; }
.audience-item {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}
.audience-bullet {
  width: 48px; height: 48px;
  border-radius: 14px;
  background: var(--gradient-brand-soft);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
  box-shadow: 0 8px 18px -4px rgba(109, 40, 217, 0.4);
  flex-shrink: 0;
  position: relative;
  transition: transform 0.3s var(--ease);
  flex-shrink: 0;
}
.audience-item h4 { font-size: 1.05rem; margin-bottom: 4px; }
.audience-item p { color: var(--text-soft); font-size: 15px; }

/* ============ TESTIMONIOS ============ */
.carousel {
  position: relative;
  max-width: 760px;
  margin: 0 auto;
}
.carousel-track {
  overflow: hidden;
  border-radius: var(--radius-lg);
}
.testimonial {
  min-width: 100%;
  padding: 48px 56px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  position: relative;
  display: none;
}
.testimonial.active { display: block; animation: fadeIn 0.5s var(--ease); }
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}
.quote-mark {
  position: absolute;
  top: 12px; left: 32px;
  font-size: 6rem;
  font-family: Georgia, serif;
  color: var(--brand-soft);
  line-height: 1;
  z-index: 0;
}
.testimonial-text {
  position: relative;
  z-index: 1;
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--text);
  margin-bottom: 28px;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
  border-top: 1px solid var(--line);
  padding-top: 20px;
}
.avatar {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand-soft), #fce7f3);
  border: 2px dashed rgba(109, 40, 217, 0.35);
  flex-shrink: 0;
  overflow: hidden;
}
.avatar img {
  width: 100%; height: 100%;
  object-fit: cover;
  border-radius: 50%;
}
.testimonial-author h4 { font-size: 1rem; }
.testimonial-author span { color: var(--text-mute); font-size: 14px; }

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px; height: 48px;
  border-radius: 50%;
  background: #fff;
  color: var(--brand);
  font-size: 28px;
  font-weight: 700;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s var(--ease);
  z-index: 2;
}
.carousel-btn:hover {
  background: var(--brand);
  color: #fff;
  transform: translateY(-50%) scale(1.08);
}
.carousel-btn.prev { left: -24px; }
.carousel-btn.next { right: -24px; }

.carousel-dots {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-top: 28px;
}
.dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--line);
  cursor: pointer;
  transition: all 0.25s;
}
.dot.active { background: var(--brand); width: 28px; border-radius: 999px; }

.cta-strip {
  margin-top: 72px;
  text-align: center;
  padding: 56px 32px;
  background: var(--gradient-brand);
  background-size: 200% 200%;
  animation: gradientShift 12s ease infinite;
  border-radius: var(--radius-lg);
  color: #fff;
  position: relative;
  overflow: hidden;
  box-shadow: 0 30px 70px -20px rgba(109, 40, 217, 0.5);
}
.cta-strip::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 20%, rgba(255,255,255,0.18), transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(255,255,255,0.12), transparent 50%);
  pointer-events: none;
}
.cta-strip > * { position: relative; z-index: 1; }
.cta-strip h3 {
  font-size: clamp(1.4rem, 3vw, 2rem);
  margin-bottom: 22px;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.01em;
}
.cta-strip .btn-primary {
  background: #fff;
  color: var(--brand);
  font-weight: 700;
}
.cta-strip .btn-primary:hover {
  background: #fff;
  color: var(--brand-dark);
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.3);
}
@keyframes gradientShift {
  0%, 100% { background-position: 0% 50%; }
  50%      { background-position: 100% 50%; }
}

/* ============ TABLA COMPARATIVA (estilo screenshot referencia) ============ */
.compare-wrap {
  max-width: 1180px;
  margin: 0 auto;
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 25px 60px -25px rgba(20, 30, 60, 0.18), 0 0 0 1px var(--line);
  overflow: hidden;
}
.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14.5px;
}

/* HEADER MORADO */
.compare-table thead th {
  background: linear-gradient(135deg, #8b8df0 0%, #7c5fe4 50%, #6e3fc8 100%);
  color: #fff;
  font-weight: 600;
  padding: 22px 16px;
  text-align: center;
  font-size: 15px;
  letter-spacing: 0.2px;
  vertical-align: middle;
}
.compare-table thead th.th-service {
  text-align: left;
  padding-left: 28px;
}
.th-plan-icon {
  display: block;
  font-size: 16px;
  opacity: 0.9;
  margin-bottom: 4px;
  letter-spacing: 1px;
}

/* FILAS */
.compare-table tbody tr {
  border-bottom: 1px solid var(--line);
  transition: background 0.15s;
}
.compare-table tbody tr:nth-child(even) td { background: #f8f9fc; }
.compare-table tbody tr:hover td { background: #f1f4fb; }
.compare-table tbody tr:last-child { border-bottom: none; }

.compare-table td {
  padding: 18px 16px;
  text-align: center;
  vertical-align: middle;
}
.td-service {
  text-align: left !important;
  padding-left: 28px !important;
  font-weight: 500;
  color: var(--text);
  min-width: 200px;
}
.td-price {
  color: var(--text);
  font-weight: 500;
  white-space: nowrap;
}

/* "Otras app" — slots para logos. Si el archivo no existe, queda el color de fondo */
.td-logos {
  white-space: nowrap;
  font-size: 0;
}
.brand-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px; height: 32px;
  border-radius: 7px;
  margin: 0 3px;
  vertical-align: middle;
  overflow: hidden;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.08);
  position: relative;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.04);
}
.brand-logo img {
  width: 22px;
  height: 22px;
  object-fit: contain;
  display: block;
}
/* Cuando el logo falla a cargar (onerror lo elimina), aún queda
   el fondo blanco. Para mostrar color de marca como fallback,
   se reactiva el background con :empty */
.brand-logo:empty {
  background: var(--fallback-bg, #cbd5e1) !important;
}
/* Fallback chip (compatibilidad si quedan en el código) */
.brand-chip {
  display: inline-block;
  width: 24px; height: 24px;
  border-radius: 6px;
  margin: 0 2px;
  vertical-align: middle;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Check verde y X gris */
.check-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: #22c55e;
  color: #fff;
  box-shadow: 0 4px 10px rgba(34, 197, 94, 0.25);
}
.check-pill svg { width: 18px; height: 18px; }
.x-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: #d4d8e0;
  color: #fff;
  font-size: 22px;
  font-weight: 400;
  line-height: 1;
}

/* FILA TOTAL */
.row-total td {
  background: #f4f5fa !important;
  padding-top: 24px !important;
  padding-bottom: 24px !important;
  font-size: 18px;
  font-weight: 700;
}
.td-total-label {
  text-align: left !important;
  padding-left: 28px !important;
  color: #6d28d9;
}
.td-total-sum { color: #ef4444; }
.td-total-plan { color: #6d28d9; white-space: nowrap; }

/* ============ TABS / COMPARATIVA (legacy, no usado actualmente) ============ */
.tabs { max-width: 880px; margin: 0 auto; }
.tab-buttons {
  display: flex;
  justify-content: center;
  gap: 6px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px;
  margin-bottom: 36px;
  box-shadow: var(--shadow-sm);
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}
.tab-btn {
  padding: 10px 24px;
  font-weight: 600;
  font-size: 14px;
  color: var(--text-soft);
  border-radius: 999px;
  transition: all 0.25s;
}
.tab-btn.active {
  background: var(--brand);
  color: #fff;
  box-shadow: var(--shadow-sm);
}
.tab-content { display: none; animation: fadeIn 0.4s var(--ease); }
.tab-content.active { display: block; }

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.services-grid li {
  padding: 18px 22px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font-weight: 500;
  text-align: center;
  transition: all 0.25s;
}
.services-grid li:hover {
  border-color: var(--brand);
  color: var(--brand);
  transform: translateY(-3px);
}

.price-table {
  width: 100%;
  background: var(--bg-card);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border-collapse: collapse;
}
.price-table th, .price-table td {
  padding: 14px 22px;
  text-align: left;
  border-bottom: 1px solid var(--line);
}
.price-table th {
  background: var(--bg-soft);
  font-weight: 600;
  color: var(--text-soft);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.price-table tr:last-child td { border-bottom: none; }
.price-table .total { background: var(--brand-soft); }
.price-note { text-align: center; margin-top: 20px; color: var(--text-soft); font-size: 1.05rem; }

.vs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 20px;
}
.vs-col {
  padding: 28px;
  border-radius: var(--radius-md);
  background: var(--bg-card);
  border: 1px solid var(--line);
}
.vs-col h4 {
  font-size: 1.1rem;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}
.vs-col ul { display: flex; flex-direction: column; gap: 10px; }
.vs-col li { font-size: 15px; }
.vs-them { color: var(--text-mute); }
.vs-us { background: var(--brand-soft); border-color: var(--brand); }
.vs-us h4 { color: var(--brand); }
.otras-text { text-align: center; max-width: 600px; margin: 0 auto 20px; color: var(--text-soft); }

/* ============ PRECIOS / PLANES ============ */
.billing-toggle {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-top: 24px;
  background: var(--bg-card);
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}
.bt-label {
  font-weight: 600;
  font-size: 14px;
  color: var(--text-mute);
  cursor: pointer;
  transition: color 0.2s;
}
.bt-label.active { color: var(--text); }
.bt-switch {
  position: relative;
  width: 48px; height: 26px;
  background: var(--brand);
  border-radius: 999px;
  transition: background 0.25s;
}
.bt-knob {
  position: absolute;
  top: 3px; left: 3px;
  width: 20px; height: 20px;
  background: #fff;
  border-radius: 50%;
  transition: transform 0.25s var(--ease);
}
.bt-switch.annual .bt-knob { transform: translateX(22px); }
.bt-save {
  background: var(--accent);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 999px;
  margin-left: 4px;
}

.plans {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  max-width: 920px;
  margin: 0 auto;
}
.plan {
  position: relative;
  padding: 44px 36px;
  background: var(--bg-card);
  border: 2px solid var(--line);
  border-radius: var(--radius-lg);
  transition: all 0.35s var(--ease);
  display: flex;
  flex-direction: column;
}
.plan:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

/* Plan destacado: borde con gradiente animado + glow */
.plan-featured {
  border: 2px solid transparent;
  background:
    linear-gradient(180deg, #ffffff 0%, #faf7ff 100%) padding-box,
    linear-gradient(135deg, #6d28d9, #ec4899, #db2777, #6d28d9) border-box;
  background-size: 100% 100%, 300% 300%;
  animation: borderShift 8s linear infinite;
  box-shadow:
    0 30px 80px -20px rgba(109, 40, 217, 0.35),
    0 0 0 1px rgba(109, 40, 217, 0.05);
}
@keyframes borderShift {
  0%   { background-position: 0% 0%, 0% 50%; }
  50%  { background-position: 0% 0%, 100% 50%; }
  100% { background-position: 0% 0%, 0% 50%; }
}

/* Badge "Más popular" con pulso */
.plan-badge {
  position: absolute;
  top: -16px; left: 50%;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(90deg, #6d28d9, #ec4899);
  color: #fff;
  padding: 8px 22px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  box-shadow: 0 8px 24px -4px rgba(109, 40, 217, 0.5);
}
.badge-pulse {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7);
  animation: badgePulse 1.8s ease-in-out infinite;
}
@keyframes badgePulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7); }
  50%      { box-shadow: 0 0 0 8px rgba(255, 255, 255, 0); }
}

.plan-head { margin-bottom: 28px; }
.plan-head h3 { font-size: 1.6rem; margin-bottom: 8px; }
.plan-head p { color: var(--text-soft); font-size: 14.5px; line-height: 1.5; }

/* Bloque de precio con "antes" tachado */
.plan-price {
  margin-bottom: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
}
.price-before {
  display: inline-block;
  font-size: 13px;
  color: var(--text-mute);
  margin-bottom: 8px;
  font-weight: 500;
}
.price-before s {
  color: #ef4444;
  text-decoration: line-through;
  text-decoration-thickness: 1.5px;
  font-weight: 600;
  margin-left: 4px;
}
.price-row {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 8px;
}
.currency { font-size: 1.5rem; font-weight: 600; color: var(--text-soft); }
.amount {
  font-size: 4rem;
  font-weight: 800;
  line-height: 1;
  background: linear-gradient(135deg, #6d28d9, #ec4899);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  letter-spacing: -0.02em;
}
.period { color: var(--text-mute); font-size: 1rem; margin-left: 4px; font-weight: 500; }
.price-meta { display: block; font-size: 12.5px; color: var(--text-mute); }

/* Divider con texto centrado */
.plan-divider {
  position: relative;
  text-align: center;
  margin: 4px 0 22px;
}
.plan-divider::before {
  content: '';
  position: absolute;
  inset: 50% 0 auto 0;
  height: 1px;
  background: var(--line);
}
.plan-divider span {
  position: relative;
  background: #fff;
  padding: 0 14px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-mute);
}
.plan-featured .plan-divider span { background: #faf7ff; }

/* Lista de features con check icon */
.plan-features {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 32px;
  flex-grow: 1;
}
.plan-features li {
  font-size: 15px;
  color: var(--text);
  padding-left: 30px;
  position: relative;
  line-height: 1.45;
}
.plan-features li::before {
  content: '✓';
  position: absolute;
  left: 0; top: 1px;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: linear-gradient(135deg, #22c55e, #16a34a);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  box-shadow: 0 2px 6px rgba(34, 197, 94, 0.35);
}

/* Botón outline oscuro para plan no destacado */
.btn-outline-dark {
  background: transparent;
  color: var(--text);
  border: 2px solid var(--line);
}
.btn-outline-dark:hover {
  border-color: var(--brand);
  color: var(--brand);
  transform: translateY(-2px);
  background: rgba(109, 40, 217, 0.04);
}

.plan-foot { text-align: center; margin-top: 40px; color: var(--text-mute); font-size: 14.5px; }

/* ============ BARRA DE PROGRESO DE SCROLL ============ */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0;
  background: linear-gradient(90deg, #6d28d9, #ec4899, #db2777);
  z-index: 200;
  transition: width 0.05s linear;
  box-shadow: 0 0 10px rgba(109, 40, 217, 0.5);
}

/* ============ FOOTER (multi-columna) ============ */
.footer {
  background: linear-gradient(180deg, #1a0d2e 0%, #0a0419 100%);
  color: rgba(255, 255, 255, 0.85);
  padding: 80px 0 32px;
  position: relative;
  overflow: hidden;
}
.footer::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(109, 40, 217, 0.5), transparent);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: 48px;
  margin-bottom: 56px;
}
.footer-col h5 {
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 18px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 14.5px;
  transition: color 0.2s, transform 0.2s;
  display: inline-block;
}
.footer-col a:hover {
  color: #fff;
  transform: translateX(4px);
}

/* Brand col */
.footer-brand-col .logo, .footer-brand-col .logo b { color: #fff; }
.footer-tagline {
  margin-top: 18px;
  margin-bottom: 24px;
  font-size: 14.5px;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.6;
  max-width: 340px;
}
.footer-social { display: flex; gap: 10px; }
.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px; height: 38px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.85);
  transition: all 0.25s var(--ease);
}
.footer-social a:hover {
  background: linear-gradient(135deg, #6d28d9, #ec4899);
  border-color: transparent;
  color: #fff;
  transform: translateY(-2px);
}
.footer-social svg { width: 18px; height: 18px; }

/* Footer bottom */
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.copy { font-size: 13px; color: rgba(255, 255, 255, 0.55); }
.footer-made { font-size: 13px; color: rgba(255, 255, 255, 0.55); }
.footer-made::before {
  content: '';
  display: inline-block;
}

/* ============ RESPONSIVE ============ */

/* ---- Tablet large (≤1100px) ---- */
@media (max-width: 1100px) {
  .container { padding: 0 24px; }
  .footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 32px; }
  .stats { grid-template-columns: repeat(4, 1fr); gap: 16px; }
}

/* ---- Tablet (≤960px) ---- */
@media (max-width: 960px) {
  /* Header → menú móvil */
  .nav, .header-cta { display: none; }
  .menu-toggle { display: flex; }
  .nav.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%; left: 16px; right: 16px;
    background: #fff;
    padding: 24px;
    gap: 14px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--line);
  }
  .nav.open a {
    color: var(--text);
    padding: 8px 4px;
    border-bottom: 1px solid var(--line);
    font-size: 16px;
  }
  .nav.open a:last-child { border-bottom: none; }

  /* Layouts 2-col → 1-col */
  .grid-2 { grid-template-columns: 1fr; gap: 40px; }
  .que-es-grid { grid-template-columns: 1fr; gap: 50px; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; text-align: center; }

  /* Hero ajustado */
  .hero { padding: 110px 0 60px; min-height: auto; }
  .hero-content { text-align: center; max-width: 600px; margin: 0 auto; }
  .hero-cta { justify-content: center; }
  .hero-video-slot { max-width: 540px; margin: 0 auto; }

  /* Imágenes */
  .col-image .image-placeholder { aspect-ratio: 16 / 10; }
  .que-es-image { aspect-ratio: 4 / 3; max-width: 520px; margin: 0 auto; }

  /* Beneficios → 1 col */
  .benefits { grid-template-columns: 1fr; gap: 18px; }

  /* Mini-cards y testimonios */
  .mini-cards { grid-template-columns: 1fr; }
  .testimonials { grid-template-columns: 1fr; }
  .testimonial { padding: 32px 24px; }
  .quote-mark { font-size: 4rem; top: 4px; left: 18px; }
  .carousel-btn.prev { left: 0; }
  .carousel-btn.next { right: 0; }

  /* Comparativa: scroll horizontal */
  .compare-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .compare-table { min-width: 760px; font-size: 13.5px; }
  .compare-table thead th { padding: 16px 10px; font-size: 13px; }
  .compare-table td { padding: 14px 10px; }
  .td-service { padding-left: 18px !important; min-width: 180px; }

  /* Planes apilados */
  .plans { grid-template-columns: 1fr; gap: 24px; max-width: 480px; }
  .plan { padding: 36px 28px; }

  /* Para quién — bullets más pequeños */
  .audience-bullet { width: 42px; height: 42px; font-size: 13px; }

  /* CTA strip */
  .cta-strip { padding: 40px 24px; margin-top: 48px; }

  /* Footer */
  .footer { padding: 56px 0 28px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .footer-brand-col { grid-column: 1 / -1; }

  /* Sección general */
  .section { padding: 70px 0; }
  .section-head { margin-bottom: 44px; }

  /* Stats hero */
  .stats { grid-template-columns: repeat(2, 1fr); }

  /* Servicios en "¿Qué es?" */
  .qe-services { gap: 18px 22px; }
}

/* ---- Tablet portrait / móvil grande (≤768px) ---- */
@media (max-width: 768px) {
  .container { padding: 0 18px; }
  .header-inner { padding: 14px 18px; }

  .hero h1 { font-size: clamp(2rem, 8vw, 3rem); }
  .hero-sub { font-size: 1rem; }
  .hero-badge { font-size: 12px; padding: 6px 14px; }

  /* Comparativa: hacer celdas más compactas */
  .compare-table { min-width: 680px; font-size: 12.5px; }
  .brand-logo { width: 26px; height: 26px; margin: 0 2px; }
  .brand-logo img { width: 18px; height: 18px; }
  .check-pill, .x-pill { width: 28px; height: 28px; }
  .check-pill svg { width: 14px; height: 14px; }

  /* Planes */
  .plan { padding: 32px 22px; }
  .plan-head h3 { font-size: 1.4rem; }
  .amount { font-size: 3.2rem; }
  .plan-features li { font-size: 14px; padding-left: 28px; }

  /* Tipografía sección */
  .section-head h2, .que-es-title { font-size: clamp(1.6rem, 5.5vw, 2.2rem); }
  .section { padding: 56px 0; }

  /* Scroll indicator: ocultar en pantallas pequeñas */
  .scroll-indicator { display: none; }
}

/* ---- Móvil (≤540px) ---- */
@media (max-width: 540px) {
  .container { padding: 0 16px; }

  /* Hero más compacto */
  .hero { padding: 100px 0 50px; }
  .hero-cta { flex-direction: column; width: 100%; gap: 10px; }
  .hero-cta .btn { width: 100%; justify-content: center; }
  .hero-video-slot { aspect-ratio: 4 / 3; }
  .video-icon { width: 64px; height: 64px; font-size: 22px; }

  /* "¿Qué es?" servicios → 1 col */
  .qe-services { grid-template-columns: 1fr; gap: 14px; }
  .qe-icon { width: 44px; height: 44px; }
  .qe-icon svg { width: 22px; height: 22px; }

  /* Beneficios */
  .benefit { padding: 28px 22px; }
  .benefit-icon { width: 60px; height: 60px; }

  /* Audience layout */
  .audience-item { gap: 14px; }
  .audience-bullet { width: 38px; height: 38px; font-size: 12px; border-radius: 12px; }

  /* Testimonios */
  .testimonial { padding: 28px 20px; }
  .testimonial-text { font-size: 15px; }

  /* Comparativa: solo scroll */
  .compare-table { min-width: 560px; }

  /* Planes — eliminar padding extra */
  .plan { padding: 28px 20px; border-radius: 18px; }
  .plan-features li { font-size: 13.5px; gap: 10px; }
  .plan-badge { font-size: 11px; padding: 6px 14px; top: -12px; }

  /* CTA strip */
  .cta-strip { padding: 36px 20px; border-radius: 18px; }
  .cta-strip h3 { font-size: 1.2rem; margin-bottom: 18px; }

  /* Stats hero */
  .stats { grid-template-columns: 1fr 1fr; gap: 14px; padding-top: 32px; }
  .stat-num { font-size: 1.8rem; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-brand-col { grid-column: auto; }
  .footer-bottom { flex-direction: column; text-align: center; gap: 8px; }
  .footer-tagline { max-width: 100%; }

  /* Tabla comparativa: precios */
  .price-table th, .price-table td { padding: 10px 14px; font-size: 14px; }
}

/* ---- Mobile pequeño (≤380px) ---- */
@media (max-width: 380px) {
  .container { padding: 0 14px; }
  .hero h1 { font-size: 1.85rem; }
  .hero-sub { font-size: 0.95rem; }
  .section-head h2, .que-es-title { font-size: 1.5rem; }
  .amount { font-size: 2.8rem; }
  .logo-text { font-size: 16px; }
  .logo-img { height: 32px; }
  .compare-table { min-width: 480px; font-size: 12px; }
  .brand-logo { width: 22px; height: 22px; }
  .brand-logo img { width: 15px; height: 15px; }
  .check-pill, .x-pill { width: 24px; height: 24px; }
  .header-cta .btn { padding: 8px 14px; font-size: 13px; }
}

/* ---- Touch devices: deshabilitar hover que rompe en táctil ---- */
@media (hover: none) {
  .card:hover, .benefit:hover, .plan:hover, .mini-card:hover,
  .qe-services li:hover, .audience-item:hover {
    transform: none;
  }
  .compare-table tbody tr:hover td { background: inherit; }
}

/* ---- Landscape pequeño (smartphones acostados) ---- */
@media (max-height: 500px) and (orientation: landscape) {
  .hero { min-height: auto; padding: 100px 0 40px; }
  .scroll-indicator { display: none; }
}
