/* DEFY 2026 - Premium Editorial Design
   Aesthetic: Apple meets Stripe meets Notion */

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

/* Accesibilidad — labels visualmente ocultos pero presentes para screen readers y SEO */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

:root {
  --nav-h: 64px;
  --nav-offset: 10px;
  --bg: #fafafa;
  --bg-dark: #0a0a0a;
  --bg-card: #ffffff;
  --bg-elevated: #f5f5f5;
  --text-primary: #0a0a0a;
  --text-secondary: #525252;
  --text-tertiary: #a3a3a3;
  --text-inverse: #fafafa;
  --accent: #2563eb;
  --accent-light: #3b82f6;
  --accent-soft: rgba(37,99,235,0.08);
  --accent-glow: rgba(37,99,235,0.15);
  --green: #059669;
  --border: #e5e5e5;
  --border-subtle: #f0f0f0;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.06);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.08);
  --shadow-xl: 0 24px 64px rgba(0,0,0,0.12);
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font-display: 'Space Grotesk', 'Inter', sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

html {
  scroll-behavior: auto;
  scroll-padding-top: 108px;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text-primary);
  overflow-x: hidden;
  line-height: 1.6;
}

/* ===== TYPOGRAPHY SYSTEM ===== */
.heading-xl {
  font-family: var(--font-display);
  font-size: clamp(2.75rem, 6vw, 5rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.035em;
}
.heading-lg {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
}
.heading-md {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.02em;
}
.body-lg {
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--text-secondary);
}
.body-md {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--text-secondary);
}
.label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
}

/* ===== LAYOUT ===== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
@media (min-width: 768px) {
  .container { padding: 0 48px; }
}
@media (min-width: 1280px) {
  .container { padding: 0 64px; }
}
.section {
  padding: clamp(72px, 8vw, 120px) 0;
}

/* ===== NAV — SaaS 2026, compact glass bar ===== */
.nav {
  position: fixed;
  top: var(--nav-offset);
  left: 50%;
  transform: translateX(-50%);
  z-index: 120;
  width: min(1160px, calc(100% - 20px));
  height: var(--nav-h);
  padding: 0 10px 0 14px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  border: 1px solid rgba(255,255,255,0.72);
  border-radius: 16px;
  background: rgba(250,250,250,0.78);
  backdrop-filter: blur(16px) saturate(170%);
  -webkit-backdrop-filter: blur(16px) saturate(170%);
  box-shadow: 0 10px 30px rgba(15,23,42,0.08);
  transition: var(--transition);
}
.nav.scrolled {
  background: rgba(250,250,250,0.93);
  box-shadow: 0 14px 32px rgba(15,23,42,0.12);
  border-color: rgba(212,212,212,0.8);
}
@media (min-width: 768px) {
  :root { --nav-h: 70px; --nav-offset: 12px; }
  .nav {
    width: min(1180px, calc(100% - 32px));
    padding: 0 12px 0 18px;
    gap: 14px;
    border-radius: 18px;
  }
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 2px;
  margin-right: 4px;
  white-space: nowrap;
  position: relative;
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}
.nav-logo .logo-letter {
  display: inline-block;
  opacity: 0;
  filter: blur(8px);
  transform: translateY(-12px) scale(0.7);
  animation: logoLetterReveal 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.nav-logo .logo-letter:nth-child(1) { animation-delay: 0.1s; }
.nav-logo .logo-letter:nth-child(2) { animation-delay: 0.2s; }
.nav-logo .logo-letter:nth-child(3) { animation-delay: 0.3s; }
.nav-logo .logo-letter:nth-child(4) { animation-delay: 0.4s; }
@keyframes logoLetterReveal {
  0% { opacity: 0; filter: blur(8px); transform: translateY(-12px) scale(0.7); }
  60% { opacity: 1; filter: blur(1px); transform: translateY(2px) scale(1.05); }
  100% { opacity: 1; filter: blur(0); transform: translateY(0) scale(1); }
}
.nav-logo .e-flip {
  display: inline-block;
  transform: scaleX(-1);
  color: var(--accent);
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), color 0.35s ease, text-shadow 0.35s ease;
}
.nav-logo .y-accent {
  color: var(--accent);
  transition: color 0.35s ease, text-shadow 0.35s ease;
}
/* Glow underline */
.nav-logo::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -4px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent 0%, rgba(37,99,235,0.8) 30%, rgba(167,139,250,0.6) 70%, transparent 100%);
  transform: scaleX(0);
  transform-origin: left;
  opacity: 0;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
}
/* Ambient glow behind logo on load */
.nav-logo::before {
  content: '';
  position: absolute;
  inset: -8px -12px;
  border-radius: 12px;
  background: radial-gradient(ellipse at center, rgba(37,99,235,0.08), transparent 70%);
  opacity: 0;
  animation: logoGlowPulse 0.8s 0.5s ease-out forwards;
  pointer-events: none;
}
@keyframes logoGlowPulse {
  0% { opacity: 0; transform: scale(0.8); }
  50% { opacity: 1; transform: scale(1.1); }
  100% { opacity: 0; transform: scale(1.2); }
}
@media (hover: hover) {
  .nav-logo:hover {
    transform: translateY(-2px);
  }
  .nav-logo:hover::after {
    transform: scaleX(1);
    opacity: 1;
  }
  .nav-logo:hover .e-flip {
    transform: scaleX(-1) translateY(-2px) rotate(-3deg);
    color: #1d4ed8;
    text-shadow: 0 0 20px rgba(37,99,235,0.4);
  }
  .nav-logo:hover .y-accent {
    color: #1d4ed8;
    text-shadow: 0 0 20px rgba(37,99,235,0.4);
  }
}
.nav-logo-tagline {
  display: none;
  color: rgba(15, 23, 42, 0.72);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  white-space: nowrap;
  margin-left: 6px;
  padding-left: 12px;
  border-left: 1px solid rgba(15, 23, 42, 0.16);
}
@media (min-width: 1024px) {
  .nav-logo-tagline {
    display: inline-flex;
    align-items: center;
  }
}

.nav-cta-mobile {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: auto;
  padding: 9px 12px;
  min-height: 40px;
  border-radius: 999px;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  color: #f8fafc;
  text-decoration: none;
  font-size: 0.75rem;
  font-weight: 650;
  letter-spacing: 0.01em;
  white-space: nowrap;
  box-shadow: 0 8px 20px rgba(15,23,42,0.2);
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
}
.nav-cta-mobile:hover {
  background: linear-gradient(135deg, #1d4ed8 0%, #2563eb 100%);
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(37,99,235,0.25);
}

.nav-links {
  display: none;
  gap: 8px;
  align-items: center;
  margin-left: auto;
}
@media (min-width: 900px) {
  .nav-links { display: flex; }
}
.nav-links a {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-secondary);
  text-decoration: none;
  transition: all var(--transition);
  padding: 9px 12px;
  border-radius: 999px;
  letter-spacing: 0.01em;
  white-space: nowrap;
}
.nav-links a:hover {
  color: var(--text-primary);
  background: rgba(37,99,235,0.08);
}
.nav-links a[data-active="true"] {
  color: var(--text-primary);
  background: rgba(37,99,235,0.12);
}

.nav-cta-btn {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  color: #f8fafc !important;
  padding: 10px 16px !important;
  border-radius: 100px;
  font-size: 0.8rem !important;
  font-weight: 600;
  text-decoration: none;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
  border: none;
  cursor: pointer;
}
.nav-cta-btn:hover {
  background: linear-gradient(135deg, #1d4ed8 0%, #2563eb 100%);
  transform: translateY(-1px);
  box-shadow: 0 10px 26px rgba(37,99,235,0.25);
}

.mobile-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: 0;
  width: 42px;
  height: 42px;
  background: rgba(255,255,255,0.66);
  border: 1px solid rgba(212,212,212,0.92);
  border-radius: 12px;
  cursor: pointer;
  color: #111827;
  transition: all var(--transition);
}
.mobile-toggle:hover {
  border-color: #93c5fd;
  background: #eff6ff;
}
@media (min-width: 900px) {
  .nav-cta-mobile { display: none; }
  .mobile-toggle { display: none; }
}

/* Mobile menu */
.mobile-menu-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(2,6,23,0.38);
  opacity: 0;
  pointer-events: none;
  z-index: 118;
  transition: opacity 0.24s ease;
}
.mobile-menu-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu {
  position: fixed;
  top: calc(var(--nav-h) + var(--nav-offset) + 10px);
  left: 50%;
  transform: translateX(-50%) translateY(-12px) scale(0.985);
  width: min(430px, calc(100% - 20px));
  background: rgba(255,255,255,0.98);
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  box-shadow: 0 22px 54px rgba(2,6,23,0.2);
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  opacity: 0;
  pointer-events: none;
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.2s ease;
  z-index: 119;
}
.mobile-menu.open {
  transform: translateX(-50%) translateY(0) scale(1);
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu a {
  padding: 12px 13px;
  font-size: 0.9375rem;
  font-weight: 500;
  color: #0f172a;
  text-decoration: none;
  border-radius: 11px;
  transition: background var(--transition), transform var(--transition);
}
.mobile-menu a:hover {
  background: #eef2ff;
  transform: translateX(1px);
}
.mobile-menu .nav-cta-btn {
  text-align: center !important;
  margin-top: 8px !important;
  padding: 12px 14px !important;
  display: block !important;
}
@media (min-width: 900px) {
  .mobile-menu,
  .mobile-menu-backdrop {
    display: none !important;
  }
}

body.menu-open {
  overflow: hidden;
}

/* ===== HERO - Dark, cinematic, editorial ===== */
.hero {
  min-height: 100vh;
  min-height: 100dvh;
  background: var(--bg-dark);
  color: var(--text-inverse);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: -50%;
  width: 200%;
  height: 200%;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(37,99,235,0.14) 0%, transparent 54%),
    radial-gradient(ellipse at 80% 20%, rgba(124,58,237,0.08) 0%, transparent 55%),
    radial-gradient(ellipse at 62% 84%, rgba(6,182,212,0.06) 0%, transparent 52%);
  background-size: 100% 100%;
  animation: gradientMesh 22s ease-in-out infinite;
  pointer-events: none;
  z-index: 2;
}
.hero-video-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
}
.hero-video-bg video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.28;
  filter: none;
  transform: scale(1.02);
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(10,10,10,0.36) 0%, rgba(10,10,10,0.58) 52%, rgba(10,10,10,0.78) 100%),
    radial-gradient(circle at 24% 28%, rgba(37,99,235,0.16) 0%, transparent 48%);
  pointer-events: none;
  z-index: 2;
}
.hero-gradient-bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 220px;
  background: linear-gradient(to top, rgba(10,10,10,0.92), transparent);
  pointer-events: none;
  z-index: 2;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
  padding: 112px 0 72px;
  position: relative;
  z-index: 3;
}
@media (min-width: 968px) {
  .hero-inner {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 72px;
    padding: 138px 0 96px;
  }
}

.hero-content { max-width: 620px; }

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: rgba(255,255,255,0.86);
  margin-bottom: 24px;
}
.hero-eyebrow .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-light);
  animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.05rem, 5.2vw, 3.5rem);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -0.04em;
  margin-bottom: 26px;
  color: #fff;
  text-wrap: balance;
}
.hero h1 .line {
  white-space: normal;
}
.hero h1 .muted {
  color: rgba(255,255,255,0.66);
  text-decoration: none;
}
.hero h1 .highlight {
  background: linear-gradient(135deg, #93c5fd, #a78bfa);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-desc {
  font-size: clamp(1rem, 1.4vw, 1.16rem);
  line-height: 1.72;
  color: rgba(255,255,255,0.82);
  max-width: 54ch;
  margin-bottom: 36px;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 4px;
}
@media (min-width: 520px) {
  .hero-actions {
    flex-direction: row;
    gap: 16px;
  }
}

.btn-hero {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 30px;
  border-radius: 999px;
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
  transition: all var(--transition);
  cursor: pointer;
  border: 1px solid transparent;
  white-space: nowrap;
}
.btn-hero.primary {
  background: linear-gradient(135deg, #ffffff 0%, #f3f4f6 100%);
  color: #06080d;
  box-shadow: 0 10px 24px rgba(0,0,0,0.24);
}
.btn-hero.primary:hover {
  background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
  color: #0b1220;
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(37,99,235,0.26);
}
.btn-hero.ghost {
  background: rgba(255,255,255,0.03);
  color: rgba(255,255,255,0.88);
  border-color: rgba(255,255,255,0.24);
  backdrop-filter: blur(4px);
}
.btn-hero.ghost:hover {
  border-color: rgba(255,255,255,0.5);
  color: #fff;
  background: rgba(255,255,255,0.09);
}

.hero-visual {
  position: relative;
  display: block;
  max-width: 520px;
  margin-inline: auto;
}
@media (min-width: 968px) {
  .hero-visual { max-width: none; }
}

.hero-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-xl);
  padding: clamp(24px, 3.2vw, 36px);
  backdrop-filter: blur(20px);
  position: relative;
  box-shadow: 0 22px 54px rgba(0,0,0,0.32);
}
.hero-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}
.hero-card-title {
  font-size: 0.75rem;
  font-weight: 600;
  color: rgba(255,255,255,0.55);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.hero-card-badge {
  padding: 4px 12px;
  background: rgba(5,150,105,0.15);
  border: 1px solid rgba(5,150,105,0.22);
  border-radius: 100px;
  font-size: 0.6875rem;
  font-weight: 600;
  color: #34d399;
  display: flex;
  align-items: center;
  gap: 5px;
}
.hero-card-badge::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #34d399;
  animation: livePulse 2s ease-in-out infinite;
}
@keyframes livePulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}
.hero-card-subtitle {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
  margin-bottom: 22px;
  line-height: 1.4;
}
.hero-metrics-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.hero-metric {
  padding: 16px 18px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 12px;
  position: relative;
  overflow: hidden;
  transition: background 0.3s ease, border-color 0.3s ease;
}
.hero-metric:hover {
  background: rgba(255,255,255,0.07);
  border-color: rgba(255,255,255,0.12);
}
.hero-metric-icon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  background: rgba(255,255,255,0.06);
}
.hero-metric-icon svg {
  width: 14px;
  height: 14px;
  stroke: rgba(255,255,255,0.5);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.hero-metric-label {
  font-size: 0.6875rem;
  font-weight: 500;
  color: rgba(255,255,255,0.52);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 6px;
}
.hero-metric-value {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3vw, 1.85rem);
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.03em;
  display: flex;
  align-items: baseline;
  gap: 4px;
}
.hero-metric-value .unit {
  font-size: 0.8rem;
  font-weight: 500;
  color: rgba(255,255,255,0.5);
}
.hero-metric-delta {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-size: 0.6875rem;
  font-weight: 600;
  margin-top: 8px;
  padding: 3px 8px;
  border-radius: 6px;
  width: fit-content;
}
.hero-metric-delta.up {
  color: #34d399;
  background: rgba(5,150,105,0.12);
}
.hero-metric-delta.down {
  color: #34d399;
  background: rgba(5,150,105,0.12);
}
.hero-metric-delta svg {
  width: 10px;
  height: 10px;
}
/* Mini sparkline decoration */
.hero-metric-spark {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 64px;
  height: 28px;
  opacity: 0.15;
}
.hero-metric.accent {
  background: rgba(96,165,250,0.08);
  border-color: rgba(96,165,250,0.15);
}
.hero-metric.accent .hero-metric-value {
  color: #93c5fd;
}
.hero-metric.accent .hero-metric-icon {
  background: rgba(96,165,250,0.12);
}
.hero-metric.accent .hero-metric-icon svg {
  stroke: #93c5fd;
}
.hero-card-footer {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.hero-card-footer svg {
  width: 12px;
  height: 12px;
  stroke: rgba(255,255,255,0.3);
  fill: none;
  stroke-width: 2;
  flex-shrink: 0;
}
.hero-card-footer span {
  font-size: 0.6875rem;
  color: rgba(255,255,255,0.35);
  line-height: 1.5;
}

@media (max-width: 767px) {
  .hero-inner {
    gap: 32px;
    padding: 96px 0 56px;
  }
  .hero-eyebrow { margin-bottom: 20px; }
  .hero h1 {
    line-height: 1.04;
    margin-bottom: 20px;
  }
  .hero-desc {
    margin-bottom: 28px;
    max-width: 100%;
  }
  .hero-actions .btn-hero {
    width: 100%;
    padding: 15px 20px;
  }
  .hero-card { padding: 22px; }
  .hero-metrics-grid { gap: 10px; }
  .hero-metric { padding: 14px 16px; }
  .hero-metric-value { font-size: 1.35rem; }
  .hero-metric-icon { width: 24px; height: 24px; margin-bottom: 8px; }
  .hero-metric-icon svg { width: 12px; height: 12px; }
  .hero-metric-spark { width: 48px; height: 22px; }
  .cta-form-wrapper { padding: 24px 20px; }
}

/* ===== MOBILE CTA FIX — prevent overflow ===== */
@media (max-width: 767px) {
  .btn-hero,
  .btn,
  .conciencia-card-cta,
  .btn-pricing {
    white-space: normal;
    text-align: center;
    max-width: 100%;
    padding-left: 20px;
    padding-right: 20px;
    font-size: 0.875rem;
  }
  .btn-hero {
    width: 100%;
  }
  .conciencia-card-cta {
    width: 100%;
    justify-content: center;
    white-space: nowrap;
    font-size: 0.8125rem;
    padding: 12px 18px;
    gap: 6px;
  }
  .btn-pricing {
    width: 100%;
    justify-content: center;
  }
  .btn.btn-primary {
    width: 100%;
  }
  .factorial-formula {
    gap: 6px;
  }
  .factorial-formula-item {
    padding: 6px 12px;
    font-size: 0.75rem;
  }
  .factorial-formula-result {
    padding: 6px 16px;
    font-size: 1rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .nav-logo .logo-letter,
  .nav-logo::after,
  .nav-logo::before {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    filter: none !important;
    transform: none !important;
  }
  .nav-logo .e-flip {
    transform: scaleX(-1) !important;
  }
  .hero::before,
  .hero::after,
  .hero-eyebrow .dot,
  .hero h1 .line,
  .hero-eyebrow,
  .hero-desc,
  .hero-actions,
  .hero-visual {
    animation: none !important;
    transition: none !important;
  }
  .hero-video-bg video { display: none; }
  .hero-overlay {
    background: linear-gradient(180deg, rgba(10,10,10,0.44) 0%, rgba(10,10,10,0.7) 56%, rgba(10,10,10,0.9) 100%);
  }
}
/* ===== LOGOS BAR ===== */
.logos-bar {
  padding: 30px 0 26px;
  border-bottom: 1px solid var(--border-subtle);
  background: var(--bg);
}
.logos-bar-label {
  text-align: center;
  font-size: 0.6875rem;
  font-weight: 500;
  color: var(--text-tertiary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 14px;
}
.logos-carousel {
  position: relative;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
  mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
}
.logos-row {
  display: flex;
  align-items: center;
  gap: 10px;
  width: max-content;
  flex-wrap: nowrap;
  animation: logosMarquee 30s linear infinite;
  will-change: transform;
}
.logos-carousel:hover .logos-row {
  animation-play-state: paused;
}
.brand-logo-link {
  --logo-height: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 90px;
  min-height: 34px;
  padding: 6px 8px;
  border-radius: 10px;
  border: 1px solid transparent;
  text-decoration: none;
  flex: 0 0 auto;
  transition: border-color var(--transition), background var(--transition), transform var(--transition), box-shadow var(--transition);
}
.brand-logo-link:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
.brand-logo-link:hover {
  border-color: var(--border);
  background: rgba(255,255,255,0.8);
}
.brand-logo-media {
  height: var(--logo-height);
  width: auto;
  max-width: 82px;
  object-fit: contain;
  filter: grayscale(1) opacity(0.64);
  transition: filter var(--transition), opacity var(--transition);
}
.brand-logo-link:hover .brand-logo-media,
.brand-logo-link:focus-visible .brand-logo-media {
  filter: grayscale(0) opacity(1);
}

@media (min-width: 768px) {
  .logos-bar { padding: 40px 0 36px; }
  .logos-bar-label { margin-bottom: 18px; }
  .logos-row {
    gap: 14px;
    animation-duration: 38s;
  }
  .brand-logo-link {
    --logo-height: 24px;
    min-width: 112px;
    min-height: 40px;
    padding: 7px 10px;
  }
  .brand-logo-media { max-width: 96px; }
}
@media (min-width: 1200px) {
  .brand-logo-link { --logo-height: 26px; }
  .brand-logo-media { max-width: 104px; }
}
@media (prefers-reduced-motion: reduce) {
  .logos-carousel {
    overflow: visible;
    -webkit-mask-image: none;
    mask-image: none;
  }
  .logos-row {
    width: 100%;
    flex-wrap: wrap;
    justify-content: center;
    animation: none;
  }
}
@keyframes logosMarquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
/* ===== STATS ===== */
.stats-section {
  padding: 80px 0;
  background: var(--bg);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}
@media (min-width: 768px) {
  .stats-grid { grid-template-columns: repeat(4, 1fr); gap: 48px; }
}
.stat { text-align: center; }
.stat-value {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  margin-bottom: 4px;
}
.stat-value .accent { color: var(--accent); }
.stat-label {
  font-size: 0.8125rem;
  color: var(--text-tertiary);
  line-height: 1.4;
}

/* ===== SECTION HEADERS ===== */
.section-header {
  max-width: 700px;
  margin-bottom: clamp(44px, 5vw, 68px);
}
.section-header.centered {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.section-header .label { margin-bottom: 18px; }
.section-header h2 { margin-bottom: 24px; }
.section-header p {
  font-size: 1.0625rem;
  line-height: 1.72;
  color: var(--text-secondary);
}

/* ===== PROBLEMS ===== */
.problems-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 640px) {
  .problems-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .problems-grid { grid-template-columns: repeat(3, 1fr); }
}

.problem-card {
  padding: 32px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  transition: all var(--transition);
  position: relative;
}
.problem-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 24px;
  right: 24px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0;
  transition: opacity var(--transition);
}
.problem-card:hover {
  border-color: var(--accent-glow);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.problem-card:hover::before { opacity: 1; }

.problem-card h3 {
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 14px;
  color: var(--text-primary);
}
.problem-card p {
  font-size: 0.9375rem;
  line-height: 1.72;
  color: var(--text-secondary);
}

.problems-cta {
  text-align: center;
  margin-top: 64px;
}
.problems-cta p {
  font-size: 1rem;
  color: var(--text-secondary);
  margin-bottom: 20px;
}

/* ===== BUTTONS (General) ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 100px;
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
  transition: all var(--transition);
  cursor: pointer;
  border: none;
  white-space: nowrap;
}
.btn-primary {
  background: var(--text-primary);
  color: var(--text-inverse);
}
.btn-primary:hover {
  background: var(--accent);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px var(--accent-glow);
}
.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border: 1.5px solid var(--border);
}
.btn-outline:hover {
  border-color: var(--text-primary);
}

/* ===== PROCESS / HOW IT WORKS ===== */
.process-section {
  background: var(--bg-dark);
  color: var(--text-inverse);
}
.process-section .label { color: rgba(255,255,255,0.5); }
.process-section h2 { color: white; }
.process-section .section-header p { color: rgba(255,255,255,0.5); }

/* Process flight — electric bolt that zaps between nodes */
.process-flight {
  display: none;
  position: relative;
  width: min(100%, 1040px);
  height: 78px;
  margin: 6px auto 20px;
}
@media (min-width: 1024px) {
  .process-flight { display: block; }
}

/* Base track — dim line */
.process-flight-track {
  position: absolute;
  left: 5%;
  right: 5%;
  top: 34px;
  height: 2px;
  border-radius: 999px;
  background: rgba(255,255,255,0.06);
}

/* Electric charge that fills the track */
.process-flight-charge {
  position: absolute;
  left: 5%;
  right: 5%;
  top: 33px;
  height: 4px;
  border-radius: 999px;
  overflow: hidden;
}
.process-flight-charge::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background: linear-gradient(90deg, #2563eb, #60a5fa, #a78bfa, #38bdf8);
  border-radius: inherit;
  transform-origin: left;
  transform: scaleX(0);
  animation: chargeBlast 2.8s cubic-bezier(0.16, 1, 0.3, 1) infinite;
  box-shadow: 0 0 12px rgba(96,165,250,0.6), 0 0 32px rgba(96,165,250,0.3);
}

/* Nodes — start dormant, activate on charge hit */
.process-flight-points {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: center;
  justify-items: center;
  padding: 0 5%;
  z-index: 2;
}
.process-flight-point {
  position: relative;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  border: 2px solid rgba(255,255,255,0.15);
  box-shadow: none;
  transition: none;
  animation: nodeActivate 2.8s cubic-bezier(0.16, 1, 0.3, 1) infinite;
}
.process-flight-point::after {
  content: attr(data-step);
  position: absolute;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.3);
  animation: nodeLabelActivate 2.8s cubic-bezier(0.16, 1, 0.3, 1) infinite;
}
/* Shockwave ring on activation */
.process-flight-point::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1.5px solid rgba(96,165,250,0.5);
  opacity: 0;
  transform: scale(0.5);
  animation: nodeShockwave 2.8s cubic-bezier(0.16, 1, 0.3, 1) infinite;
}

/* Stagger: each node fires at different % of the charge sweep */
.process-flight-point:nth-child(1) { animation-delay: 0s; }
.process-flight-point:nth-child(1)::after { animation-delay: 0s; }
.process-flight-point:nth-child(1)::before { animation-delay: 0s; }
.process-flight-point:nth-child(2) { animation-delay: 0.22s; }
.process-flight-point:nth-child(2)::after { animation-delay: 0.22s; }
.process-flight-point:nth-child(2)::before { animation-delay: 0.22s; }
.process-flight-point:nth-child(3) { animation-delay: 0.44s; }
.process-flight-point:nth-child(3)::after { animation-delay: 0.44s; }
.process-flight-point:nth-child(3)::before { animation-delay: 0.44s; }
.process-flight-point:nth-child(4) { animation-delay: 0.66s; }
.process-flight-point:nth-child(4)::after { animation-delay: 0.66s; }
.process-flight-point:nth-child(4)::before { animation-delay: 0.66s; }

/* Spark head — sharp bright point at the leading edge */
.process-flight-spark {
  position: absolute;
  top: 28px;
  left: 5%;
  width: 14px;
  height: 14px;
  z-index: 3;
  animation: sparkShoot 2.8s cubic-bezier(0.16, 1, 0.3, 1) infinite;
  pointer-events: none;
}
.process-flight-spark::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: #fff;
  box-shadow:
    0 0 8px 3px rgba(255,255,255,0.9),
    0 0 20px 6px rgba(96,165,250,0.7),
    0 0 40px 12px rgba(37,99,235,0.4);
}
/* Horizontal flare behind spark */
.process-flight-spark::before {
  content: '';
  position: absolute;
  top: 4px;
  right: 10px;
  width: 48px;
  height: 6px;
  background: linear-gradient(90deg, transparent, rgba(96,165,250,0.5), rgba(255,255,255,0.8));
  border-radius: 999px;
  filter: blur(2px);
  opacity: 0;
  animation: sparkFlare 2.8s cubic-bezier(0.16, 1, 0.3, 1) infinite;
}

@keyframes chargeBlast {
  0%, 8% { transform: scaleX(0); opacity: 1; }
  50% { transform: scaleX(1); opacity: 1; }
  65% { transform: scaleX(1); opacity: 0.6; }
  80%, 100% { transform: scaleX(1); opacity: 0; }
}
@keyframes sparkShoot {
  0%, 5% { left: calc(5% - 7px); opacity: 0; }
  8% { opacity: 1; }
  50% { left: calc(95% - 7px); opacity: 1; }
  55% { opacity: 0; }
  100% { left: calc(95% - 7px); opacity: 0; }
}
@keyframes sparkFlare {
  0%, 5% { opacity: 0; }
  10% { opacity: 1; }
  48% { opacity: 1; }
  55%, 100% { opacity: 0; }
}
@keyframes nodeActivate {
  0%, 10% {
    background: rgba(255,255,255,0.12);
    border-color: rgba(255,255,255,0.15);
    box-shadow: none;
    transform: scale(1);
  }
  18% {
    background: #fff;
    border-color: #60a5fa;
    box-shadow: 0 0 12px rgba(96,165,250,0.7), 0 0 28px rgba(37,99,235,0.4);
    transform: scale(1.4);
  }
  30% {
    background: #93c5fd;
    border-color: rgba(96,165,250,0.6);
    box-shadow: 0 0 8px rgba(96,165,250,0.4);
    transform: scale(1);
  }
  65% {
    background: #93c5fd;
    border-color: rgba(96,165,250,0.5);
    box-shadow: 0 0 6px rgba(96,165,250,0.3);
  }
  80%, 100% {
    background: rgba(255,255,255,0.12);
    border-color: rgba(255,255,255,0.15);
    box-shadow: none;
  }
}
@keyframes nodeLabelActivate {
  0%, 10% { color: rgba(255,255,255,0.3); }
  18% { color: rgba(255,255,255,0.9); }
  30% { color: rgba(255,255,255,0.7); }
  65% { color: rgba(255,255,255,0.5); }
  80%, 100% { color: rgba(255,255,255,0.3); }
}
@keyframes nodeShockwave {
  0%, 10% { opacity: 0; transform: scale(0.5); }
  18% { opacity: 0.8; transform: scale(1); }
  35% { opacity: 0; transform: scale(2.5); }
  100% { opacity: 0; transform: scale(2.5); }
}
@media (prefers-reduced-motion: reduce) {
  .process-flight-spark,
  .process-flight-charge::after,
  .process-flight-point,
  .process-flight-point::before,
  .process-flight-point::after {
    animation: none !important;
  }
  .process-flight-point {
    background: #93c5fd !important;
    border-color: rgba(96,165,250,0.6) !important;
    box-shadow: 0 0 8px rgba(96,165,250,0.3) !important;
  }
  .process-flight-point::after { color: rgba(255,255,255,0.6) !important; }
  .process-flight-charge::after { transform: scaleX(1) !important; opacity: 0.5 !important; }
  .process-flight-spark { display: none; }
}

.process-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 768px) {
  .process-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .process-grid { grid-template-columns: repeat(4, 1fr); }
}

.process-step {
  padding: 32px 28px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius-lg);
  transition: all var(--transition);
  position: relative;
}
.process-step:hover {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.12);
  transform: translateY(-2px);
}
.step-num {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 700;
  color: rgba(255,255,255,0.08);
  line-height: 1;
  margin-bottom: 20px;
  letter-spacing: -0.03em;
}
.process-step h3 {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 600;
  color: white;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}
.process-step p {
  font-size: 0.9375rem;
  line-height: 1.72;
  color: rgba(255,255,255,0.62);
}

/* ===== SERVICES ===== */
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
@media (min-width: 768px) {
  .services-grid { grid-template-columns: repeat(3, 1fr); }
  .services-grid .service-card.featured {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: stretch;
  }
  .services-grid .service-card.featured.no-media {
    grid-template-columns: 1fr;
    gap: 0;
  }
  /* Visual de la featured card llena la altura completa de la columna */
  .services-grid .service-card.featured .service-card-visual {
    height: 100%;
    min-height: 260px;
    margin-bottom: 0;
  }
  .services-grid .service-card.featured .service-card-visual .service-mockup {
    height: 100%;
    aspect-ratio: unset;
    border-radius: var(--radius-md);
  }
  .services-grid .service-card.featured .service-card-visual .service-mockup .service-mockup-body {
    height: calc(100% - 40px);
  }
  /* Cards de 3 columnas: visual con aspect-ratio controlado */
  .services-grid .service-card:not(.featured) .service-card-visual {
    height: auto;
    aspect-ratio: 16 / 7;
  }
  .services-grid .service-card:not(.featured) .service-card-visual .service-mockup {
    height: 100%;
    aspect-ratio: unset;
  }
}

.service-card {
  padding: 40px 32px;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  background: var(--bg-card);
  transition: all var(--transition);
}
@media (max-width: 767px) {
  .service-card {
    padding: 28px 22px;
    border-radius: 16px;
  }
  .service-card h3 {
    font-size: 1.2rem;
    margin-bottom: 12px;
  }
  .service-card > p {
    font-size: 0.9375rem;
    line-height: 1.65;
    margin-bottom: 20px;
  }
  .service-features { gap: 10px; }
  .service-feature {
    font-size: 0.875rem;
    line-height: 1.5;
    gap: 10px;
  }
  .service-feature::before {
    width: 16px;
    height: 16px;
    margin-top: 2px;
  }
  .service-card.featured {
    padding: 26px 20px;
  }
}
.service-card:hover {
  border-color: var(--accent-glow);
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}
.service-card.featured {
  border-color: var(--accent);
  background: linear-gradient(135deg, var(--accent-soft), white 60%);
}
.service-card.featured:hover {
  box-shadow: 0 16px 48px var(--accent-glow);
}

.service-tag {
  display: inline-block;
  padding: 4px 12px;
  background: var(--accent-soft);
  border-radius: 100px;
  font-size: 0.6875rem;
  font-weight: 700;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 20px;
}
.service-card h3 {
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}
.service-card > p {
  font-size: 0.9375rem;
  line-height: 1.72;
  color: var(--text-secondary);
  margin-bottom: 28px;
}
.service-features {
  display: flex;
  flex-direction: column;
  gap: 13px;
}
.service-feature {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.55;
}
.service-feature::before {
  content: '';
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 1px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%23059669'%3E%3Cpath fill-rule='evenodd' d='M10 18a8 8 0 100-16 8 8 0 000 16zm3.857-9.809a.75.75 0 00-1.214-.882l-3.483 4.79-1.88-1.88a.75.75 0 10-1.06 1.061l2.5 2.5a.75.75 0 001.137-.089l4-5.5z' clip-rule='evenodd'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
}

.service-image {
  width: 100%;
  height: 220px;
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 24px;
}
@media (max-width: 767px) {
  .service-image {
    height: 148px;
    margin-bottom: 14px;
    border-radius: 12px;
  }
}
.service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.service-card:hover .service-image img {
  transform: scale(1.03);
}

/* ===== TESTIMONIALS ===== */
.testimonials-section {
  background: var(--bg-elevated);
}
.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
@media (min-width: 768px) {
  .testimonials-grid { grid-template-columns: repeat(3, 1fr); }
}
.testimonial-card {
  padding: 32px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
}
.testimonial-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.testimonial-quote {
  font-size: 0.9375rem;
  line-height: 1.8;
  color: var(--text-secondary);
  margin-bottom: 24px;
  flex: 1;
  font-style: italic;
}
.testimonial-quote::before {
  content: '"';
  font-family: Georgia, serif;
  font-size: 2.5rem;
  line-height: 0;
  color: var(--accent);
  display: block;
  margin-bottom: 16px;
  position: relative;
  top: 10px;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 20px;
  border-top: 1px solid var(--border-subtle);
}
.testimonial-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--bg-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  color: white;
  flex-shrink: 0;
}
.testimonial-name {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-primary);
}
.testimonial-role {
  font-size: 0.75rem;
  color: var(--text-tertiary);
}

/* ===== PRICING ===== */
.pricing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  align-items: start;
}
@media (min-width: 768px) {
  .pricing-grid { grid-template-columns: repeat(3, 1fr); }
}

.pricing-card {
  padding: 40px 32px;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  background: var(--bg-card);
  transition: all var(--transition);
  position: relative;
}
.pricing-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}
.pricing-card.popular {
  border-color: var(--text-primary);
  border-width: 2px;
}
@media (min-width: 768px) {
  .pricing-card.popular { transform: scale(1.04); }
  .pricing-card.popular:hover { transform: scale(1.04) translateY(-4px); }
}
.pricing-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--text-primary);
  color: var(--text-inverse);
  padding: 5px 16px;
  border-radius: 100px;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  white-space: nowrap;
}
.pricing-card h3 {
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-tertiary);
  margin-bottom: 12px;
}
.pricing-price {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 8px;
}
.pricing-price .old {
  font-size: 1rem;
  font-weight: 400;
  color: var(--text-tertiary);
  text-decoration: line-through;
  margin-right: 4px;
}
.pricing-price .period {
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--text-tertiary);
}
.pricing-desc {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--border-subtle);
}
.pricing-features {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 32px;
}
.pricing-feature {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.5;
}
.pricing-feature .check {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 1px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%23059669'%3E%3Cpath fill-rule='evenodd' d='M10 18a8 8 0 100-16 8 8 0 000 16zm3.857-9.809a.75.75 0 00-1.214-.882l-3.483 4.79-1.88-1.88a.75.75 0 10-1.06 1.061l2.5 2.5a.75.75 0 001.137-.089l4-5.5z' clip-rule='evenodd'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
}

.btn-pricing {
  width: 100%;
  padding: 15px;
  border-radius: 100px;
  font-size: 0.9375rem;
  font-weight: 600;
  cursor: pointer;
  text-align: center;
  transition: all var(--transition);
  text-decoration: none;
  display: block;
  border: none;
  letter-spacing: -0.005em;
}
.btn-pricing.fill {
  background: var(--text-primary);
  color: var(--text-inverse);
}
.btn-pricing.fill:hover {
  background: var(--accent);
  box-shadow: 0 4px 16px var(--accent-glow);
}
.btn-pricing.stroke {
  background: transparent;
  color: var(--text-primary);
  border: 1.5px solid var(--border);
}
.btn-pricing.stroke:hover {
  border-color: var(--text-primary);
}

/* ===== FAQ ===== */
.faq-list {
  max-width: 760px;
  margin: 0 auto;
}
.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 26px 0;
}
.faq-item:first-child {
  border-top: 1px solid var(--border);
}
.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  gap: 16px;
  background: none;
  border: none;
  width: 100%;
  text-align: left;
  padding: 0;
  font-family: inherit;
}
.faq-question h3 {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.45;
  transition: color var(--transition);
}
.faq-question:hover h3 { color: var(--accent); }
.faq-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--transition);
}
.faq-icon svg { color: var(--text-tertiary); }
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
}
.faq-item.open .faq-answer {
  max-height: 500px;
  padding-top: 18px;
}
.faq-answer p {
  font-size: 0.9375rem;
  line-height: 1.78;
  color: var(--text-secondary);
}

/* ===== CTA FINAL ===== */
.cta-section {
  background: var(--bg-dark);
  color: var(--text-inverse);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(37,99,235,0.1) 0%, transparent 60%);
  pointer-events: none;
}
.cta-inner {
  position: relative;
  z-index: 2;
  max-width: 600px;
  margin: 0 auto;
}
.cta-section .badge {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
  color: rgba(255,255,255,0.6);
  margin-bottom: 32px;
  letter-spacing: 0.04em;
}
.cta-section h2 {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 4.5vw, 3.5rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.1;
  color: white;
  margin-bottom: 20px;
}
.cta-section h2 .accent { color: var(--accent-light); }
.cta-section > .container > .cta-inner > p {
  font-size: 1.0625rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.7;
  margin-bottom: 40px;
}

.cta-price-pill {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 28px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 100px;
  margin-bottom: 40px;
}
.cta-price-pill .old-price {
  text-decoration: line-through;
  color: rgba(255,255,255,0.3);
  font-size: 0.9375rem;
}
.cta-price-pill .new-price {
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--accent-light);
}

/* CTA Form */
.cta-form-wrapper {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-xl);
  padding: 36px;
  text-align: left;
  backdrop-filter: blur(16px);
}
.cta-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.cta-form input,
.cta-form textarea {
  width: 100%;
  padding: 15px 20px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-md);
  color: white;
  font-size: 0.9375rem;
  font-family: inherit;
  transition: all var(--transition);
}
.cta-form textarea {
  min-height: 120px;
  resize: vertical;
}
.cta-form input::placeholder,
.cta-form textarea::placeholder {
  color: rgba(255,255,255,0.3);
}
.cta-form input:focus,
.cta-form textarea:focus {
  outline: none;
  border-color: var(--accent-light);
  box-shadow: 0 0 0 3px rgba(59,130,246,0.15);
}
.cta-form button {
  width: 100%;
  padding: 17px 16px;
  background: white;
  color: var(--bg-dark);
  border: none;
  border-radius: 100px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition);
  font-family: inherit;
  letter-spacing: -0.01em;
}
.cta-form button:hover {
  background: var(--accent-light);
  color: white;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(59,130,246,0.3);
}
.cta-form-privacy {
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.35);
  text-align: center;
  margin-top: 14px;
  line-height: 1.6;
}
.cta-wa-divider {
  text-align: center;
  margin-top: 28px;
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.cta-wa-divider p {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.35);
  margin-bottom: 14px;
}
.btn-wa {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  background: #25D366;
  color: white;
  border-radius: 100px;
  font-weight: 600;
  font-size: 0.875rem;
  text-decoration: none;
  transition: all var(--transition);
  border: none;
}
.btn-wa:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37,211,102,0.3);
}

/* ===== FOOTER ===== */
.footer {
  padding: 56px 0;
  border-top: 1px solid var(--border);
  background: var(--bg);
}
.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  text-align: center;
}
@media (min-width: 768px) {
  .footer-inner {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
    gap: 24px;
  }
}
.footer-logo {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  color: var(--text-primary);
}
.footer-logo .e-flip { display: inline-block; transform: scaleX(-1); color: var(--accent); }
.footer-logo .y-accent { color: var(--accent); }
.footer-links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  justify-content: center;
}
.footer-links a {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--text-primary); }
.footer-copy {
  font-size: 0.75rem;
  color: var(--text-tertiary);
}

/* ===== STICKY CTA ===== */
.sticky-cta {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 98;
  opacity: 0;
  transform: translateY(80px);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
}
.sticky-cta.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.sticky-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  background: var(--text-primary);
  color: var(--text-inverse);
  border-radius: 100px;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  box-shadow: var(--shadow-xl);
  transition: all var(--transition);
  border: none;
  cursor: pointer;
}
.sticky-btn:hover {
  background: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(37,99,235,0.3);
}
@media (max-width: 768px) {
  .sticky-cta { left: 16px; right: 16px; bottom: 16px; }
  .sticky-btn { width: 100%; justify-content: center; }
}

/* ===== ANIMATIONS ===== */
.reveal {
  opacity: 1;
  transform: none;
}
.js .reveal {
  opacity: 0;
  transform: translateY(18px) scale(0.99);
  transition: opacity 0.58s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.58s cubic-bezier(0.16, 1, 0.3, 1);
}
.js .reveal.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* Stagger children */
.stagger > .reveal:nth-child(1) { transition-delay: 0ms; }
.stagger > .reveal:nth-child(2) { transition-delay: 70ms; }
.stagger > .reveal:nth-child(3) { transition-delay: 140ms; }
.stagger > .reveal:nth-child(4) { transition-delay: 210ms; }
.stagger > .reveal:nth-child(5) { transition-delay: 280ms; }
.stagger > .reveal:nth-child(6) { transition-delay: 350ms; }

/* Hero text reveal */
@keyframes heroLineReveal {
  0% { opacity: 0; transform: translateY(24px); }
  100% { opacity: 1; transform: translateY(0); }
}
@keyframes heroFadeUp {
  0% { opacity: 0; transform: translateY(16px); }
  100% { opacity: 1; transform: translateY(0); }
}
@keyframes heroCardFloat {
  0% { opacity: 0; transform: translateY(26px) scale(0.985); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}
.hero h1 .line {
  display: block;
  opacity: 0;
  animation: heroLineReveal 0.7s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.hero h1 .line:nth-child(1) { animation-delay: 0.12s; }
.hero h1 .line:nth-child(2) { animation-delay: 0.24s; }
.hero-eyebrow { opacity: 0; animation: heroFadeUp 0.55s 0.06s cubic-bezier(0.16,1,0.3,1) forwards; }
.hero-desc { opacity: 0; animation: heroFadeUp 0.55s 0.48s cubic-bezier(0.16,1,0.3,1) forwards; }
.hero-actions { opacity: 0; animation: heroFadeUp 0.55s 0.58s cubic-bezier(0.16,1,0.3,1) forwards; }
.hero-visual { opacity: 0; animation: heroCardFloat 0.78s 0.32s cubic-bezier(0.16,1,0.3,1) forwards; }

/* Animated gradient mesh for hero */
@keyframes gradientMesh {
  0%, 100% { background-position: 0% 50%; }
  25% { background-position: 100% 0%; }
  50% { background-position: 100% 100%; }
  75% { background-position: 0% 100%; }
}

/* Counter animation */
@keyframes counterPulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.02); }
  100% { transform: scale(1); }
}

/* Card 3D tilt */
.tilt-card {
  transition: transform 0.4s cubic-bezier(0.03, 0.98, 0.52, 0.99), box-shadow 0.4s ease;
  transform-style: preserve-3d;
  will-change: transform;
}

/* Magnetic button */
.magnetic-btn {
  transition: transform 0.3s cubic-bezier(0.03, 0.98, 0.52, 0.99);
  will-change: transform;
}

/* Logo hover color reveal */
.logo-item {
  transition: all 0.4s ease;
  filter: grayscale(1) brightness(0.7);
  opacity: 0.5;
}
.logo-item:hover {
  filter: grayscale(0) brightness(1);
  opacity: 1;
  transform: translateY(-2px);
}

/* Grain texture overlay */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
  background-size: 128px 128px;
  pointer-events: none;
  z-index: 2;
}

/* Glow line on dark sections */
@keyframes glowLine {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(200%); }
}

/* Smooth parallax-like scroll */
.parallax-slow { will-change: transform; }

/* ===== ACCESSIBILITY ===== */
a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: #d4d4d4; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #a3a3a3; }

/* ===== HERO PARTICLES CANVAS ===== */
.hero-particles {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

/* ===== SHIMMER EFFECT ON CTA BUTTONS ===== */
.btn-hero.primary,
.btn-pricing.fill,
.cta-form button,
.nav-cta-btn,
.nav-cta-mobile {
  position: relative;
  overflow: hidden;
}
.btn-hero.primary::after,
.btn-pricing.fill::after,
.cta-form button::after,
.nav-cta-btn::after,
.nav-cta-mobile::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.25), transparent);
  animation: shimmerSlide 3.5s ease-in-out infinite;
  pointer-events: none;
}
@keyframes shimmerSlide {
  0%, 100% { left: -100%; }
  50% { left: 150%; }
}

/* ===== HERO CARD GLOW BORDER ===== */
.hero-card::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, rgba(96,165,250,0.3), rgba(167,139,250,0.2), rgba(6,182,212,0.15));
  z-index: -1;
  animation: cardGlowRotate 6s linear infinite;
  opacity: 0.6;
}
@keyframes cardGlowRotate {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 0.8; }
}

/* ===== FLOATING GRID DOTS ON DARK SECTIONS ===== */
.process-section::after,
.cta-section::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
  z-index: 1;
}
.process-section { position: relative; }

/* ===== ENHANCED HERO METRIC COUNTERS ===== */
.hero-metric-value .counter {
  display: inline-block;
  transition: color 0.3s ease;
}
.hero-metric-value .counter.counting {
  animation: counterBounce 0.12s ease;
}
@keyframes counterBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-2px); }
}

/* ===== SERVICE CARD IMAGES FROM UNSPLASH ===== */
.service-card-visual {
  width: 100%;
  height: 180px;
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 20px;
  position: relative;
}
.service-card-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.service-card:hover .service-card-visual img {
  transform: scale(1.06);
}
.service-card-visual::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,0.06));
  pointer-events: none;
}
@media (max-width: 767px) {
  .service-card-visual {
    height: 140px;
    margin-bottom: 14px;
  }
}

/* Process track is now styled inline in the main process-flight block */

/* ===== MAPA DE CONCIENCIA ===== */
.conciencia-section {
  background: #fff;
  overflow: hidden;
}

/* Desktop timeline — segmented tab bar */
.conciencia-timeline {
  display: none;
  max-width: 720px;
  margin: 0 auto 48px;
  background: var(--bg-elevated, #f5f5f5);
  border-radius: 14px;
  padding: 5px;
  position: relative;
}
@media (min-width: 768px) {
  .conciencia-timeline { display: flex; }
}
/* Sliding highlight behind active tab */
.conciencia-progress-fill {
  position: absolute;
  top: 5px;
  bottom: 5px;
  left: 5px;
  width: calc(20% - 2px);
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.04);
  z-index: 0;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.conciencia-node {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  position: relative;
  flex: 1;
  padding: 12px 8px;
  z-index: 1;
  border-radius: 10px;
  transition: all 0.3s ease;
}
.conciencia-node:hover {
  background: rgba(0,0,0,0.02);
}
.conciencia-node.active:hover {
  background: transparent;
}
.conciencia-dot-wrap {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--border);
  background: transparent;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  flex-shrink: 0;
}
.conciencia-dot-wrap .dot-inner {
  font-family: var(--font-display);
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--text-tertiary);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.conciencia-node.active .conciencia-dot-wrap {
  border-color: var(--conciencia-accent, var(--accent));
  background: var(--conciencia-accent, var(--accent));
}
.conciencia-node.active .dot-inner {
  color: #fff;
}
.conciencia-node.visited .conciencia-dot-wrap {
  border-color: var(--conciencia-accent, var(--accent));
  background: var(--conciencia-accent, var(--accent));
  opacity: 0.5;
}
.conciencia-node.visited .dot-inner {
  color: #fff;
}
.conciencia-node-label {
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--text-tertiary);
  text-align: center;
  transition: all 0.3s ease;
  letter-spacing: 0.01em;
  line-height: 1.2;
}
.conciencia-node.active .conciencia-node-label {
  color: var(--text-primary);
  font-weight: 700;
}
.conciencia-node.visited .conciencia-node-label {
  color: var(--text-secondary);
}
/* Hide label text on smaller desktop, show number only */
@media (min-width: 768px) and (max-width: 900px) {
  .conciencia-node-label { font-size: 0.65rem; }
}

/* Mobile selector — pill tabs */
.conciencia-mobile {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 40px;
}
@media (min-width: 768px) {
  .conciencia-mobile { display: none; }
}
.conciencia-pills-mobile {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 4px 0;
  justify-content: flex-start;
}
.conciencia-pills-mobile::-webkit-scrollbar { display: none; }
.conciencia-pill-mobile {
  flex-shrink: 0;
  padding: 8px 16px;
  border-radius: 100px;
  border: 1.5px solid var(--border);
  background: #fff;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-tertiary);
  white-space: nowrap;
}
.conciencia-pill-mobile.active {
  border-color: var(--conciencia-accent, var(--accent));
  background: var(--conciencia-accent, var(--accent));
  color: #fff;
  box-shadow: 0 4px 12px color-mix(in srgb, var(--conciencia-accent, var(--accent)) 30%, transparent);
}

/* Expanded card */
.conciencia-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: clamp(28px, 4vw, 48px);
  max-width: 780px;
  margin: 0 auto;
  position: relative;
  transition: border-color 0.35s ease, box-shadow 0.35s ease;
  box-shadow: 0 4px 24px rgba(0,0,0,0.04);
}
.conciencia-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 32px;
  right: 32px;
  height: 3px;
  border-radius: 0 0 3px 3px;
  background: var(--conciencia-accent, var(--accent));
  transition: background 0.35s ease;
}
.conciencia-card-inner {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.conciencia-card-inner.transitioning {
  opacity: 0;
  transform: translateY(8px);
}
.conciencia-card-stage {
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--conciencia-accent, var(--accent));
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.conciencia-card-stage::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}
.conciencia-card-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-bottom: 32px;
}
@media (min-width: 640px) {
  .conciencia-card-grid { grid-template-columns: repeat(3, 1fr); }
}
.conciencia-card-block {
  position: relative;
  padding: 16px;
  background: var(--bg-elevated, #fafafa);
  border-radius: 12px;
  border: 1px solid var(--border-subtle, #f0f0f0);
}
.conciencia-card-block-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}
.conciencia-card-block-icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: color-mix(in srgb, var(--conciencia-accent, var(--accent)) 10%, transparent);
  color: var(--conciencia-accent, var(--accent));
  transition: background 0.35s ease, color 0.35s ease;
}
.conciencia-card-block-icon svg {
  width: 12px;
  height: 12px;
}
.conciencia-card-block h4 {
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-tertiary);
  margin-bottom: 0;
}
.conciencia-card-block p {
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--text-secondary);
}
.conciencia-card-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 100px;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  border: none;
  white-space: nowrap;
}
.conciencia-card-cta.outline {
  background: transparent;
  border: 1.5px solid var(--conciencia-accent, var(--accent));
  color: var(--conciencia-accent, var(--accent));
}
.conciencia-card-cta.outline:hover {
  background: var(--conciencia-accent, var(--accent));
  color: #fff;
}
.conciencia-card-cta.solid {
  background: var(--conciencia-accent, var(--accent));
  color: #fff;
  box-shadow: 0 4px 16px color-mix(in srgb, var(--conciencia-accent, var(--accent)) 25%, transparent);
}
.conciencia-card-cta.solid:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px color-mix(in srgb, var(--conciencia-accent, var(--accent)) 35%, transparent);
}
/* Navigation arrows on card */
.conciencia-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--border-subtle, #f0f0f0);
}
.conciencia-nav-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: #fff;
  cursor: pointer;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-secondary);
  transition: all 0.2s ease;
}
.conciencia-nav-btn:hover {
  border-color: var(--conciencia-accent, var(--accent));
  color: var(--conciencia-accent, var(--accent));
}
.conciencia-nav-btn:disabled {
  opacity: 0.3;
  cursor: default;
  pointer-events: none;
}
.conciencia-nav-btn svg {
  width: 14px;
  height: 14px;
}
.conciencia-nav-counter {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--text-tertiary);
  letter-spacing: 0.05em;
}
.conciencia-hint {
  text-align: center;
  font-size: 0.8125rem;
  color: var(--text-tertiary);
  margin-top: 16px;
  margin-bottom: 8px;
  opacity: 0;
  transition: opacity 0.3s ease;
  font-style: italic;
}
.conciencia-hint.visible { opacity: 1; }

/* Cierre emocional */
.conciencia-closer {
  text-align: center;
  margin-top: 72px;
  padding-top: 48px;
  border-top: 1px solid var(--border-subtle);
}
.conciencia-closer h3 {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}
.conciencia-closer p {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ===== CONTENIDO FACTORIAL MODULES ===== */
.factorial-modules {
  display: flex;
  gap: 16px;
  margin-bottom: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: 8px;
}
.factorial-modules::-webkit-scrollbar { display: none; }
.factorial-module {
  flex: 0 0 280px;
  scroll-snap-align: start;
  padding: 32px 28px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: all var(--transition);
  position: relative;
}
.factorial-module:hover {
  border-color: var(--accent-glow);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.factorial-module-num {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: rgba(37,99,235,0.12);
  line-height: 1;
  margin-bottom: 16px;
}
.factorial-module h3 {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
  letter-spacing: -0.01em;
}
.factorial-module-sub {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 12px !important;
}
.factorial-module p:last-child {
  font-size: 0.875rem;
  line-height: 1.7;
  color: var(--text-secondary);
}
@media (min-width: 968px) {
  .factorial-modules {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    overflow: visible;
    margin-bottom: 56px;
  }
  .factorial-module {
    flex: none;
  }
}
.factorial-swipe-hint {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 0.75rem;
  color: var(--text-tertiary);
  margin-bottom: 48px;
  animation: swipeHintPulse 2s ease-in-out infinite;
}
@media (min-width: 968px) {
  .factorial-swipe-hint { display: none; }
}
@keyframes swipeHintPulse {
  0%, 100% { opacity: 0.5; transform: translateX(0); }
  50% { opacity: 1; transform: translateX(4px); }
}

/* Fórmula visual */
.factorial-formula {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 12px;
}
.factorial-formula-item {
  padding: 8px 18px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-primary);
}
.factorial-formula-op {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 300;
  color: var(--text-tertiary);
}
.factorial-formula-result {
  padding: 8px 24px;
  background: var(--text-primary);
  color: var(--text-inverse);
  border-radius: 100px;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

/* ===== SERVICE MOCKUPS ===== */
.service-mockup {
  width: 100%;
  height: 100%;
  min-height: 160px;
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
  font-family: var(--font-body);
  display: flex;
  flex-direction: column;
}
.service-mockup-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  background: rgba(0,0,0,0.06);
}
.service-mockup-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(0,0,0,0.12);
}
.service-mockup-body {
  padding: 16px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
  overflow: hidden;
}
/* Pipeline mockup */
.mockup-pipeline {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
}
.mockup-pipeline .service-mockup-bar {
  background: rgba(255,255,255,0.06);
}
.mockup-pipeline .service-mockup-dot {
  background: rgba(255,255,255,0.2);
}
.mockup-pipeline .service-mockup-body {
  gap: 8px;
}
.mockup-pipeline-row {
  display: flex;
  align-items: center;
  gap: 8px;
}
.mockup-pipeline-label {
  font-size: 0.625rem;
  color: rgba(255,255,255,0.4);
  width: 52px;
  flex-shrink: 0;
  text-align: right;
}
.mockup-pipeline-track {
  flex: 1;
  height: 20px;
  background: rgba(255,255,255,0.04);
  border-radius: 4px;
  overflow: hidden;
}
.mockup-pipeline-fill {
  height: 100%;
  border-radius: 4px;
  display: flex;
  align-items: center;
  padding-left: 8px;
  font-size: 0.5625rem;
  font-weight: 600;
  color: #fff;
}
.mockup-pipeline-stats {
  display: flex;
  gap: 8px;
  margin-top: auto;
}
.mockup-pipeline-stat {
  flex: 1;
  padding: 8px;
  background: rgba(255,255,255,0.04);
  border-radius: 6px;
  text-align: center;
}
.mockup-pipeline-stat-value {
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 700;
  color: #fff;
}
.mockup-pipeline-stat-label {
  font-size: 0.5rem;
  color: rgba(255,255,255,0.35);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
/* Content mockup */
.mockup-content {
  background: linear-gradient(135deg, #fafafa 0%, #f0f0f0 100%);
}
.mockup-content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  flex: 1;
  align-content: start;
}
.mockup-content-card {
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.mockup-content-thumb {
  width: 100%;
  aspect-ratio: 16/9;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.mockup-content-thumb svg {
  opacity: 0.4;
}
.mockup-content-line {
  height: 4px;
  border-radius: 2px;
  background: #e5e5e5;
}
/* Web mockup */
.mockup-web {
  background: #fff;
  border: 1px solid #e5e5e5;
}
.mockup-web-hero {
  background: linear-gradient(135deg, #0f172a, #1e3a5f);
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}
.mockup-web-line {
  height: 6px;
  border-radius: 3px;
  background: rgba(255,255,255,0.2);
}
.mockup-web-btn {
  display: inline-block;
  padding: 5px 14px;
  border-radius: 6px;
  background: var(--accent);
  color: #fff;
  font-size: .55rem;
  font-weight: 600;
  letter-spacing: .02em;
  margin-top: 4px;
  width: fit-content;
}
.mockup-web-blocks {
  display: flex;
  gap: 6px;
  padding: 10px 14px;
}
.mockup-web-block {
  flex: 1;
  height: 28px;
  background: #f5f5f5;
  border-radius: 4px;
}
/* WhatsApp mockup */
.mockup-wa {
  background: linear-gradient(180deg, #075e54 0%, #075e54 28px, #ece5dd 28px);
}
.mockup-wa .service-mockup-bar {
  background: transparent;
  padding: 6px 14px;
}
.mockup-wa .service-mockup-dot {
  background: rgba(255,255,255,0.3);
}
.mockup-wa-body {
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
  overflow: hidden;
  justify-content: center;
}
.mockup-wa-msg {
  max-width: 78%;
  padding: 8px 10px;
  border-radius: 8px;
  font-size: 0.5625rem;
  line-height: 1.5;
}
.mockup-wa-msg.incoming {
  background: #fff;
  color: #333;
  align-self: flex-start;
  border-top-left-radius: 2px;
}
.mockup-wa-msg.outgoing {
  background: #dcf8c6;
  color: #333;
  align-self: flex-end;
  border-top-right-radius: 2px;
}
.mockup-wa-msg .time {
  font-size: 0.4375rem;
  color: #999;
  text-align: right;
  margin-top: 2px;
}

/* ===== SECTION VISUALS ===== */
.section-visual {
  width: 100%;
  border-radius: var(--radius-xl);
  overflow: hidden;
  margin-bottom: 56px;
}
.section-visual img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  display: block;
}
@media (min-width: 768px) {
  .section-visual img { height: 360px; }
}
.section-visual-split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: center;
  margin-bottom: 56px;
}
@media (min-width: 768px) {
  .section-visual-split {
    grid-template-columns: 1fr 1fr;
    gap: 56px;
  }
}
.section-visual-split img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  border-radius: var(--radius-xl);
  display: block;
}
@media (min-width: 768px) {
  .section-visual-split img { height: 400px; }
}

/* ===== TIMELINE GRID ===== */
.timeline-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 640px) {
  .timeline-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .timeline-grid { grid-template-columns: repeat(4, 1fr); }
}

/* ===== STATS COUNTER GLOW ===== */
.stat-value {
  transition: text-shadow 0.4s ease;
}
.stat-value:hover {
  text-shadow: 0 0 20px rgba(37,99,235,0.15);
}

/* ================================================
   MOBILE COMPACT — optimización de espacio
   ================================================ */
@media (max-width: 767px) {

  /* Sección: reducir padding vertical */
  .section { padding: 48px 0; }
  .section-header,
  .section-header.centered { margin-bottom: 28px; }
  .section-header p { font-size: 0.875rem; }

  /* ---- Swiper base — aplicado a grids horizontales ---- */
  .problems-grid,
  .process-grid,
  .services-grid,
  .timeline-grid {
    display: flex !important;
    flex-direction: row;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: 12px !important;
    padding-bottom: 8px;
    margin: 0 -24px;
    padding-left: 24px;
    padding-right: 24px;
  }
  .problems-grid::-webkit-scrollbar,
  .process-grid::-webkit-scrollbar,
  .services-grid::-webkit-scrollbar,
  .timeline-grid::-webkit-scrollbar { display: none; }

  /* ---- Dot pagination ---- */
  .swiper-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    margin-top: 16px;
  }
  .swiper-dot {
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: var(--border);
    border: none;
    padding: 0;
    cursor: pointer;
    transition: width 0.3s ease, background 0.3s ease;
    flex-shrink: 0;
  }
  .swiper-dot.active {
    width: 22px;
    background: var(--accent);
  }

  /* ---- Cards: peek del siguiente (scroll-snap + ancho calibrado) ---- */
  .problems-grid > .problem-card {
    flex: 0 0 82%;
    scroll-snap-align: center;
    padding: 22px 20px;
  }
  .process-grid > .process-step {
    flex: 0 0 75%;
    scroll-snap-align: center;
    padding: 24px 20px;
  }
  .services-grid > .service-card {
    flex: 0 0 85%;
    scroll-snap-align: center;
  }
  /* Featured card: quitar grid interno, comportarse como card normal */
  .services-grid > .service-card.featured {
    display: flex;
    flex-direction: column;
    grid-column: unset;
  }
  /* ---- Pricing: acordeón vertical (no swiper) ---- */
  .pricing-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    overflow-x: visible;
    margin: 0;
    padding: 0;
  }
  .pricing-grid > .pricing-card {
    padding: 20px;
  }
  /* Badge inline en mobile (no absolute saliendo de la card) */
  .pricing-badge {
    position: static;
    transform: none;
    display: inline-flex;
    margin-bottom: 10px;
    font-size: 0.625rem;
  }
  /* Precio compacto */
  .pricing-price {
    font-size: 1.25rem;
    margin-bottom: 6px;
  }
  /* Cuerpo colapsable */
  .pricing-body {
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    transition: max-height 0.38s ease, opacity 0.25s ease;
    margin-top: 0;
  }
  .pricing-card.pricing-open .pricing-body {
    max-height: 600px;
    opacity: 1;
    margin-top: 12px;
  }
  /* Botón toggle */
  .pricing-toggle {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: none;
    border: none;
    color: var(--accent);
    font-size: 0.8125rem;
    font-weight: 500;
    cursor: pointer;
    padding: 8px 0 0;
    line-height: 1;
  }
  .pricing-toggle svg {
    transition: transform 0.3s ease;
    flex-shrink: 0;
  }
  .pricing-card.pricing-open .pricing-toggle svg {
    transform: rotate(180deg);
  }
  /* Popular: siempre expandida, sin toggle */
  .pricing-card.popular {
    padding: 20px;
    order: -1; /* va primero en mobile */
  }

  .timeline-grid > .problem-card {
    flex: 0 0 75%;
    scroll-snap-align: center;
    padding: 22px 20px;
  }

  /* ---- Proceso: ocultar animación del track en mobile ---- */
  .process-flight { display: none; }
  .problems-cta { margin-top: 28px; }

  /* ---- Conciencia card compacta ---- */
  .conciencia-card { padding: 20px 16px; }
  .conciencia-card-grid { gap: 8px; }
  .conciencia-card-block { padding: 12px; }
  .conciencia-card-block p { font-size: 0.8125rem; line-height: 1.6; }

  /* ---- FAQ ---- */
  .faq-question { padding: 14px 16px; }
  .faq-answer p { font-size: 0.875rem; line-height: 1.6; }

  /* ---- CTA section ---- */
  .cta-inner { padding: 36px 20px; }
  .cta-form { gap: 10px; }

  /* ---- Logos bar ---- */
  .logos-bar { padding: 16px 0; }
}
