/* =====================================================================
   WINIX — Landing
   Sistema visual basado en el Manual de marca (paleta principal,
   gradient01, Poppins, Heroicons, recursos gráficos arquitectónicos).
   ===================================================================== */

/* ---------- Tokens ---------- */
:root {
  --black: #000000;
  --ink: #2C2C2C;
  --red: #B40D0D;
  --orange: #F55333;
  --amber: #FD6A0F;
  --gold: #FDA30B;
  --white: #FFFFFF;
  --violet: #562BEE;
  --lilac: #B45FFF;

  --g1: linear-gradient(120deg, #B40D0D 0%, #F55333 42%, #FD6A0F 72%, #FDA30B 100%);
  --g3: linear-gradient(120deg, #F55333 0%, #FD6A0F 100%);
  /* Paleta secundaria (manual): reservada para diferenciar contenidos → Holo */
  --g4: linear-gradient(120deg, #B45FFF 0%, #562BEE 100%);
  --g5: linear-gradient(118deg, #0B0B0B 0%, #1E0F5C 38%, #562BEE 74%, #B45FFF 100%);

  --text: #0B0B0B;
  --muted: #5F5F5F;
  --soft: #F7F6F4;
  --surface: #0B0B0B;
  --line: rgba(0, 0, 0, .08);
  --line-dark: rgba(255, 255, 255, .12);

  --r-lg: 28px;
  --r-md: 20px;
  --r-sm: 14px;

  --shadow-sm: 0 1px 2px rgba(0, 0, 0, .04), 0 10px 30px -14px rgba(0, 0, 0, .14);
  --shadow-lg: 0 34px 90px -34px rgba(0, 0, 0, .5);
  --glow: 0 12px 34px -12px rgba(245, 83, 51, .7);

  --container: 1200px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: 'Poppins', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.no-scroll { overflow: hidden; }
img { max-width: 100%; display: block; }
h1, h2, h3, h4, p, ul, ol, blockquote, figure { margin: 0; }
ul, ol { padding: 0; }
a { color: inherit; }
button { font: inherit; }
b, strong { font-weight: 600; }
::selection { background: var(--orange); color: #fff; }

.container { width: min(var(--container), 100% - 48px); margin-inline: auto; }
/* Los hijos de grillas nunca fuerzan un ancho mayor al de su columna (evita desbordes en pantallas angostas) */
.hero-grid > *, .ia-grid > *, .holo > *, .why-grid > *, .faq-grid > *, .cta-grid > *, .modules > *, .pricing > *, .profiles > * { min-width: 0; }
.icon {
  width: 20px; height: 20px; flex: none;
  fill: none; stroke: currentColor; stroke-width: 1.5;
  stroke-linecap: round; stroke-linejoin: round;
}

/* ---------- Typography ---------- */
h1 {
  font-size: clamp(2.5rem, 5.4vw, 4.3rem);
  font-weight: 700; line-height: 1.04; letter-spacing: -.035em;
}
h2 {
  font-size: clamp(1.9rem, 3.6vw, 2.9rem);
  font-weight: 700; line-height: 1.1; letter-spacing: -.03em;
}
h3 { font-size: 1.35rem; font-weight: 600; line-height: 1.25; letter-spacing: -.015em; }
.lead { font-size: clamp(1.05rem, 1.4vw, 1.2rem); font-weight: 300; line-height: 1.6; }
.lead strong { font-weight: 600; }
.hl { color: var(--orange); }
.grad-text {
  background: linear-gradient(92deg, #F55333 0%, #FD6A0F 55%, #FDA30B 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.kicker {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .76rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  color: var(--orange); margin-bottom: 18px;
}
.kicker.light { color: rgba(255, 255, 255, .85); }
.kicker::before { content: ""; width: 22px; height: 2px; background: currentColor; border-radius: 2px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 24px; border-radius: 999px;
  font-weight: 600; font-size: .95rem; line-height: 1; text-decoration: none; white-space: nowrap;
  border: 1px solid transparent; cursor: pointer;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s, color .25s, border-color .25s;
}
.btn .icon { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.btn:hover .icon { transform: translateX(3px); }
.btn-primary { background: var(--g3); color: #fff; box-shadow: var(--glow); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 18px 40px -12px rgba(245, 83, 51, .85); }
.btn-ghost { background: rgba(255, 255, 255, .06); color: #fff; border-color: rgba(255, 255, 255, .22); backdrop-filter: blur(8px); }
.btn-ghost:hover { background: rgba(255, 255, 255, .12); transform: translateY(-2px); }
.btn-white { background: #fff; color: #000; }
.btn-white:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -12px rgba(0, 0, 0, .5); }
.btn-outline-light { color: #fff; border-color: rgba(255, 255, 255, .35); }
.btn-outline-light:hover { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .6); }
.btn-sm { padding: 10px 18px; font-size: .88rem; }
.btn-lg { padding: 17px 30px; font-size: 1rem; }
.btn-block { width: 100%; }
.btn:disabled { opacity: .7; cursor: default; transform: none; }

/* ---------- Reveal animations ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
.delay-1 { transition-delay: .1s; }
.delay-2 { transition-delay: .2s; }
.delay-3 { transition-delay: .3s; }
.delay-4 { transition-delay: .4s; }

/* =====================================================================
   NAV
   ===================================================================== */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  padding: 16px 0;
  transition: background .35s, box-shadow .35s, padding .35s;
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { position: relative; z-index: 3; display: block; }
.brand img { height: 26px; width: auto; }
.brand-light { display: none; }
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a {
  color: rgba(255, 255, 255, .82); text-decoration: none;
  font-size: .92rem; font-weight: 500; transition: color .2s;
}
.nav-links a:hover { color: #fff; }
.nav-actions { display: flex; align-items: center; gap: 12px; position: relative; z-index: 3; }
.nav-cta-mobile { display: none; }
.nav-toggle {
  display: none; width: 44px; height: 44px; border: 0; background: none; color: #fff;
  border-radius: 12px; cursor: pointer; place-items: center;
}
.nav-toggle .icon { width: 24px; height: 24px; }
.nav-toggle .i-close { display: none; }

.nav.scrolled {
  background: rgba(255, 255, 255, .86);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 var(--line); padding: 10px 0;
}
.nav.scrolled .brand-dark { display: none; }
.nav.scrolled .brand-light { display: block; }
.nav.scrolled .nav-links a { color: var(--ink); }
.nav.scrolled .nav-links a:hover { color: #000; }
.nav.scrolled .nav-toggle { color: #000; }

/* =====================================================================
   HERO
   ===================================================================== */
.hero {
  position: relative; overflow: hidden; color: #fff;
  background: #000;
  padding: calc(112px + 3vw) 0 calc(72px + 3vw);
  min-height: 100svh; display: flex; align-items: center;
}
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.hero-glow {
  position: absolute; inset: 0;
  background: linear-gradient(102deg, #000 0%, #000 44%, #4a0707 54%, #B40D0D 62%, #F55333 77%, #FD6A0F 88%, #FDA30B 100%);
}
.hero-glow::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(60% 80% at 100% 100%, rgba(253, 163, 11, .55), transparent 70%);
  mix-blend-mode: screen;
}
.hero-lines { position: absolute; inset: 0; width: 100%; height: 100%; mix-blend-mode: soft-light; opacity: .9; }

.hero-grid {
  position: relative; display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 64px); align-items: center;
}
.hero-copy { max-width: 600px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 14px 8px 10px; border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .18); background: rgba(255, 255, 255, .06);
  font-size: .78rem; font-weight: 500; color: rgba(255, 255, 255, .85);
  margin-bottom: 26px; backdrop-filter: blur(6px);
}
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 0 rgba(245, 83, 51, .6); animation: pulse 2.2s infinite; }
.hero h1 { margin-bottom: 22px; }
.hero .lead { color: rgba(255, 255, 255, .78); max-width: 54ch; margin-bottom: 34px; }
.hero .lead strong { color: #fff; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 34px; }
.hero-trust { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 18px; font-size: .86rem; color: rgba(255, 255, 255, .72); }
.hero-trust li { display: inline-flex; align-items: center; gap: 8px; }
.hero-trust .icon { width: 16px; height: 16px; color: var(--gold); stroke-width: 2; }

/* ---------- Product mock ---------- */
.hero-visual { position: relative; perspective: 1800px; padding-left: 40px; }
.mock {
  display: grid; grid-template-columns: 132px 1fr;
  background: #fff; color: var(--text); border-radius: 22px; overflow: hidden;
  font-size: 11px; line-height: 1.35;
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(255, 255, 255, .12);
  transform: rotateY(-7deg) rotateX(3deg);
  transform-origin: 60% 50%;
}
.mock-side { background: #0B0B0B; color: #9a9a9a; padding: 18px 12px; }
.mock-iso { width: 32px; margin: 2px 0 18px 8px; }
.mock-side ul { list-style: none; display: grid; gap: 4px; }
.mock-side li { padding: 7px 10px; border-radius: 8px; font-size: 10.5px; }
.mock-side li.on { background: rgba(255, 255, 255, .1); color: #fff; }
.mock-main { padding: 14px; display: grid; gap: 10px; background: #F8F7F5; }
.mock-top { display: flex; justify-content: space-between; align-items: center; padding: 2px 2px 4px; }
.mock-crumb b { display: block; font-size: 13px; font-weight: 600; letter-spacing: -.01em; }
.mock-crumb span { color: var(--muted); font-size: 10px; }
.mock-toggle { display: flex; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 2px; font-size: 10px; }
.mock-toggle b { background: var(--g3); color: #fff; padding: 3px 9px; border-radius: 999px; font-weight: 600; }
.mock-toggle span { padding: 3px 9px; color: var(--muted); }
.mock-kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.kpi { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 9px 8px 7px; min-width: 0; }
.kpi small { display: block; color: var(--muted); font-size: 9.5px; }
.kpi strong { display: block; font-size: 14px; font-weight: 600; letter-spacing: -.025em; margin: 3px 0 2px; white-space: nowrap; }
.kpi em { font-style: normal; font-size: 9.5px; color: var(--muted); }
.kpi em.up { color: #1A8F4A; }
.kpi em.ok { color: var(--orange); }
.mock-panel { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 12px 12px 10px; }
.mock-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 10px; }
.mock-head span { font-weight: 600; font-size: 12px; }
.mock-head small { color: var(--muted); font-size: 9.5px; }
.bars { display: grid; grid-template-columns: repeat(12, 1fr); gap: 6px; height: 104px; align-items: end; }
.bars i {
  display: block; height: var(--h); border-radius: 4px 4px 2px 2px;
  background: linear-gradient(to top, #B40D0D 0 34%, #F55333 34% 68%, #FD6A0F 68% 100%);
  transform-origin: bottom; animation: grow 1s var(--ease) both;
}
.bars i:nth-child(1) { animation-delay: .15s } .bars i:nth-child(2) { animation-delay: .2s } .bars i:nth-child(3) { animation-delay: .25s }
.bars i:nth-child(4) { animation-delay: .3s } .bars i:nth-child(5) { animation-delay: .35s } .bars i:nth-child(6) { animation-delay: .4s }
.bars i:nth-child(7) { animation-delay: .45s } .bars i:nth-child(8) { animation-delay: .5s } .bars i:nth-child(9) { animation-delay: .55s }
.bars i:nth-child(10) { animation-delay: .6s } .bars i:nth-child(11) { animation-delay: .65s } .bars i:nth-child(12) { animation-delay: .7s }
.bar-labels { display: grid; grid-template-columns: repeat(12, 1fr); gap: 6px; margin-top: 6px; text-align: center; font-size: 8.5px; color: var(--muted); }
.gantt { position: relative; display: grid; gap: 8px; padding-right: 4px; }
.grow { display: grid; grid-template-columns: 76px 1fr; align-items: center; gap: 8px; }
.grow label { font-size: 10px; color: var(--ink); }
.track { height: 10px; background: #F0EEEA; border-radius: 999px; position: relative; overflow: hidden; }
.track i { position: absolute; left: var(--l); width: var(--w); top: 0; bottom: 0; border-radius: 999px; }
.track i.done { background: #2C2C2C; }
.track i.live { background: var(--g3); }
.track i.next { background: #FBD5C9; }
.today { position: absolute; top: -2px; bottom: -2px; left: calc(84px + (100% - 84px) * .58); width: 1px; background: #000; }
.today::before { content: ""; position: absolute; top: -3px; left: -3px; width: 7px; height: 7px; border-radius: 50%; background: #000; }

.chip {
  position: absolute; z-index: 2;
  display: flex; align-items: center; gap: 10px;
  background: #fff; color: var(--text); border-radius: 14px; padding: 10px 14px 10px 10px;
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(0, 0, 0, .04);
  animation: float 7s ease-in-out infinite;
}
.chip .icon { width: 30px; height: 30px; padding: 7px; border-radius: 9px; background: var(--g3); color: #fff; stroke-width: 2; }
.chip span { display: flex; flex-direction: column; line-height: 1.25; font-size: 10.5px; color: var(--muted); }
.chip span b { font-size: 12px; color: var(--text); font-weight: 600; }
.chip-1 { left: -8px; top: 9%; }
.chip-2 { right: -26px; bottom: -22px; animation-delay: -2.5s; }
.chip-3 { left: 2px; bottom: 17%; animation-delay: -5s; }

@keyframes grow { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(245, 83, 51, .6); } 70% { box-shadow: 0 0 0 9px rgba(245, 83, 51, 0); } 100% { box-shadow: 0 0 0 0 rgba(245, 83, 51, 0); } }

/* =====================================================================
   STRIP
   ===================================================================== */
.strip { border-bottom: 1px solid var(--line); background: #fff; }
.strip-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 34px 24px; border-left: 1px solid var(--line); display: grid; gap: 4px; }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat strong {
  font-size: clamp(1.5rem, 2.4vw, 2rem); font-weight: 700; letter-spacing: -.03em; line-height: 1.1;
  background: var(--g3); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.stat span { color: var(--muted); font-size: .9rem; line-height: 1.45; }

/* =====================================================================
   SECTIONS (shared)
   ===================================================================== */
.section { padding: clamp(64px, 7vw, 104px) 0; position: relative; }
.section-soft { background: var(--soft); }
.section-dark { background: #000; color: #fff; }
.section-head { max-width: 780px; margin: 0 auto 48px; text-align: center; }
.section-head.left { text-align: left; margin-left: 0; }
.section-head h2 { margin-bottom: 18px; }
.section-head p { color: var(--muted); font-size: 1.05rem; }
.section-dark .section-head p { color: rgba(255, 255, 255, .7); }
.section-head p a { color: var(--orange); font-weight: 500; }
.note { max-width: 820px; margin: 0 auto; text-align: center; color: var(--muted); }
.note-bar {
  margin-top: 28px; background: var(--ink); color: #fff;
  border-radius: 18px; padding: 18px 26px; text-align: center; font-size: .98rem;
}
.note-bar.dark { background: #0B0B0B; }

/* ---------- Check lists ---------- */
.checks { list-style: none; display: grid; gap: 10px; }
.checks li { position: relative; padding-left: 30px; font-size: .95rem; color: var(--ink); line-height: 1.5; }
.checks li::before {
  content: ""; position: absolute; left: 0; top: 2px; width: 19px; height: 19px; border-radius: 50%;
  background: var(--g3);
}
.checks li::after {
  content: ""; position: absolute; left: 6px; top: 7px; width: 7px; height: 4px;
  border-left: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(-45deg);
}
.checks.light li { color: rgba(255, 255, 255, .92); }
.checks.light li::before { background: rgba(255, 255, 255, .22); }

/* =====================================================================
   PROBLEMA
   ===================================================================== */
.problem-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.problem-card { border-radius: var(--r-lg); padding: clamp(28px, 4vw, 44px); display: grid; gap: 22px; color: #fff; position: relative; overflow: hidden; }
.card-orange { background: var(--g3); }
.card-black { background: #0B0B0B; }
.problem-figure { display: flex; align-items: center; gap: 18px; }
.problem-figure .icon { width: 54px; height: 54px; padding: 12px; border-radius: 16px; background: rgba(255, 255, 255, .14); }
.problem-figure strong { font-size: clamp(2.3rem, 4vw, 3.4rem); font-weight: 700; letter-spacing: -.035em; line-height: 1; }
.problem-card p { font-size: 1.02rem; color: rgba(255, 255, 255, .88); max-width: 52ch; }
.problem-card p b { color: #fff; }
.problem-card blockquote {
  padding: 20px 22px; border-radius: 16px; background: rgba(255, 255, 255, .1);
  font-size: .95rem; line-height: 1.55; font-weight: 300;
}
.problem-card cite { display: block; margin-top: 10px; font-style: normal; font-size: .8rem; opacity: .75; font-weight: 500; }

/* =====================================================================
   PLATAFORMA (módulos → tablero único)
   ===================================================================== */
.diagram-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; height: 48px; }
.diagram-links i { display: block; width: 1px; height: 100%; margin: 0 auto; background: linear-gradient(rgba(0, 0, 0, .25), var(--orange)); }
.diagram-bar { background: var(--g1); color: #fff; border-radius: 999px; padding: 22px 40px; text-align: center; box-shadow: var(--glow); }
.diagram-bar strong { display: block; font-size: 1.35rem; font-weight: 700; letter-spacing: -.02em; }
.diagram-bar span { display: block; max-width: 72ch; margin: 4px auto 0; font-size: .93rem; opacity: .92; font-weight: 300; }

/* =====================================================================
   MÓDULOS
   ===================================================================== */
.modules { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.module {
  position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 78px 28px 32px; box-shadow: var(--shadow-sm);
  transition: transform .45s var(--ease), box-shadow .45s var(--ease);
}
.module:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .3); }
.module-tab {
  position: absolute; top: -1px; left: 26px; width: 74px; height: 54px;
  background: var(--surface); color: #fff; display: grid; place-items: center;
  clip-path: polygon(0 0, 100% 0, 80% 100%, 0 100%); border-radius: 0 0 0 16px;
}
.module-tab .icon { width: 26px; height: 26px; margin-right: 8px; }
.module h3 { margin-bottom: 8px; }
.module-sub { color: var(--muted); font-size: .95rem; margin-bottom: 22px; }

/* =====================================================================
   IA + WHATSAPP
   ===================================================================== */
.ia-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.ia-copy .section-head { margin-bottom: 36px; }
.features { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.feature { background: rgba(255, 255, 255, .04); border: 1px solid var(--line-dark); border-radius: 20px; padding: 26px 24px; transition: background .3s, border-color .3s; }
.feature:hover { background: rgba(255, 255, 255, .07); border-color: rgba(255, 255, 255, .22); }
.feature-icon { width: 46px; height: 46px; border-radius: 13px; background: var(--g3); display: grid; place-items: center; margin-bottom: 18px; box-shadow: var(--glow); }
.feature-icon .icon { width: 22px; height: 22px; color: #fff; }
.feature h3 { font-size: 1.05rem; margin-bottom: 8px; }
.feature p { color: rgba(255, 255, 255, .68); font-size: .92rem; }

.wa { max-width: 400px; margin: 0 auto; background: #0F0F0F; border: 1px solid var(--line-dark); border-radius: 30px; overflow: hidden; box-shadow: var(--shadow-lg); }
.wa-head { display: flex; gap: 12px; align-items: center; padding: 16px 20px; background: #161616; border-bottom: 1px solid var(--line-dark); }
.wa-avatar { width: 42px; height: 42px; border-radius: 50%; background: var(--g1); display: grid; place-items: center; }
.wa-avatar img { width: 22px; filter: brightness(0) invert(1); }
.wa-head b { display: block; font-size: .95rem; }
.wa-head small { color: rgba(255, 255, 255, .55); font-size: .78rem; }
.wa-body { padding: 20px 18px 8px; display: grid; gap: 10px; }
.msg {
  max-width: 88%; padding: 10px 12px 20px; border-radius: 16px; font-size: .84rem; line-height: 1.45; position: relative;
}
.msg.in { background: #1E1E1E; color: rgba(255, 255, 255, .92); border-bottom-left-radius: 5px; justify-self: start; }
.msg.out { background: var(--g3); color: #fff; border-bottom-right-radius: 5px; justify-self: end; }
.msg b { font-weight: 600; }
.msg time { position: absolute; right: 10px; bottom: 5px; font-size: .64rem; opacity: .6; }
.attach { display: inline-flex; align-items: center; gap: 6px; font-weight: 500; }
.attach .icon { width: 16px; height: 16px; }
.transcript { display: block; margin-top: 4px; opacity: .85; font-size: .76rem; font-weight: 300; }
.wa-input { margin: 10px 18px 18px; background: #161616; border-radius: 999px; padding: 8px 8px 8px 16px; color: #777; font-size: .84rem; display: flex; justify-content: space-between; align-items: center; }
.wa-input i { width: 30px; height: 30px; border-radius: 50%; background: var(--g3); }
.js .ia-visual .msg { opacity: 0; transform: translateY(10px) scale(.98); }
.js .ia-visual.in .msg { animation: pop .55s var(--ease) forwards; }
.ia-visual.in .msg:nth-child(1) { animation-delay: .3s } .ia-visual.in .msg:nth-child(2) { animation-delay: .8s }
.ia-visual.in .msg:nth-child(3) { animation-delay: 1.3s } .ia-visual.in .msg:nth-child(4) { animation-delay: 1.8s }
.ia-visual.in .msg:nth-child(5) { animation-delay: 2.4s } .ia-visual.in .msg:nth-child(6) { animation-delay: 3s }
@keyframes pop { to { opacity: 1; transform: none; } }

/* =====================================================================
   HOLO (showroom virtual · paleta secundaria)
   ===================================================================== */
.holo {
  position: relative; overflow: hidden;
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(28px, 5vw, 64px); align-items: center;
  background: var(--g5); color: #fff; border-radius: var(--r-lg); padding: clamp(32px, 5vw, 64px);
}
.holo::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: repeating-linear-gradient(112deg, rgba(255, 255, 255, .09) 0 1px, transparent 1px 26px);
  -webkit-mask: linear-gradient(90deg, transparent 20%, #000 100%); mask: linear-gradient(90deg, transparent 20%, #000 100%);
  mix-blend-mode: soft-light;
}
.holo-copy { position: relative; }
.holo-copy h2 { margin-bottom: 16px; }
.holo-copy p { color: rgba(255, 255, 255, .9); font-size: 1.05rem; margin-bottom: 24px; max-width: 46ch; }
.holo-copy .checks { margin-bottom: 30px; }
.holo .checks.light li::before { background: rgba(255, 255, 255, .2); }
.holo .btn-white { color: #3A1BB0; }
.holo-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.holo-visual { position: relative; }

/* Mock del showroom real (Monroe 1414 · Grupo QH) en marco de navegador */
.shot {
  position: relative; border-radius: 18px; overflow: hidden; background: #0B0B0B;
  box-shadow: var(--shadow-lg); border: 1px solid rgba(255, 255, 255, .16);
}
.shot-bar { display: flex; align-items: center; gap: 7px; padding: 10px 14px; background: #141414; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.shot-bar i { width: 9px; height: 9px; border-radius: 50%; background: rgba(255, 255, 255, .18); }
.shot-url {
  flex: 1 1 0; min-width: 0; margin-left: 8px; background: #1F1F1F; border-radius: 8px; padding: 6px 12px; text-align: center;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .7rem; color: rgba(255, 255, 255, .7);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.shot-body { position: relative; aspect-ratio: 4 / 3; background: #1a1a1a; }
.shot-body img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* =====================================================================
   PERFILES (dentro de "El problema")
   ===================================================================== */
.sub-head { margin: 44px auto 18px; text-align: center; color: var(--muted); font-size: 1.02rem; }
.sub-head b { color: var(--text); }
.profiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.profile {
  display: flex; gap: 14px; align-items: flex-start;
  background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 22px 22px 22px 20px; box-shadow: var(--shadow-sm);
}
.profile-icon { width: 30px; height: 30px; color: var(--orange); margin-top: 2px; }
.profile h3 { font-size: 1.05rem; margin-bottom: 6px; }
.profile p { color: var(--muted); font-size: .9rem; line-height: 1.5; }
.profile p b { color: var(--orange); }

/* =====================================================================
   POR QUÉ WINIX
   ===================================================================== */
.why-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(32px, 6vw, 88px); align-items: start; }
.why-copy { position: sticky; top: 110px; }
.quote { margin-top: 28px; background: #0B0B0B; color: #fff; border-radius: 24px; padding: 34px 30px 28px; font-size: 1.1rem; line-height: 1.5; font-weight: 300; position: relative; }
.quote::before { content: "“"; position: absolute; top: -6px; left: 24px; font-size: 5rem; line-height: 1; font-weight: 700; color: var(--orange); opacity: .9; }
.quote cite { display: block; margin-top: 16px; font-style: normal; font-size: .85rem; font-weight: 500; color: rgba(255, 255, 255, .6); }
.why-list { list-style: none; }
.why-list li { display: grid; grid-template-columns: 58px 1fr; gap: 22px; padding: 28px 0; border-top: 1px solid var(--line); }
.why-list li:last-child { border-bottom: 1px solid var(--line); }
.why-icon { width: 58px; height: 58px; border-radius: 17px; background: #0B0B0B; color: #fff; display: grid; place-items: center; }
.why-icon .icon { width: 26px; height: 26px; color: var(--gold); }
.why-list h3 { font-size: 1.15rem; margin-bottom: 6px; }
.why-list p { color: var(--muted); font-size: .97rem; }
.why-list p b { color: var(--text); }

/* =====================================================================
   PRECIOS
   ===================================================================== */
.pricing { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.price { border-radius: var(--r-lg); padding: clamp(28px, 3.5vw, 40px); display: flex; flex-direction: column; gap: 18px; color: #fff; }
.price-tag { display: inline-flex; align-self: flex-start; align-items: center; border-radius: 999px; background: #fff; color: #000; padding: 4px; font-size: .86rem; }
.price-tag b { padding: 6px 14px; font-weight: 700; }
.price-tag span { padding: 6px 14px; border-radius: 999px; border: 1px solid rgba(0, 0, 0, .18); color: var(--ink); }
.price-desc { font-size: 1.2rem; font-weight: 300; line-height: 1.4; }
.price-amount { display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; }
.price-amount small { font-weight: 600; font-size: 1rem; }
.price-amount strong { font-size: clamp(2.6rem, 4vw, 3.6rem); font-weight: 700; letter-spacing: -.035em; line-height: 1; }
.price-amount span { font-weight: 500; }
.price-cond { display: block; width: 100%; font-size: .8rem; opacity: .85; font-weight: 400; }
.price-duo { display: flex; gap: 36px; flex-wrap: wrap; }
.price-meta { font-size: .92rem; opacity: .92; }
.price .checks { margin: 4px 0 8px; }
.price .btn { margin-top: auto; align-self: flex-start; }

/* Holo: acento violeta (paleta secundaria) para diferenciarlo de la plataforma */
.price-holo { position: relative; overflow: hidden; }
.price-holo::before {
  content: ""; position: absolute; top: -45%; right: -25%; width: 75%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(86, 43, 238, .6), transparent); pointer-events: none;
}
.price-holo > * { position: relative; }
.price-holo .price-tag span { border-color: rgba(86, 43, 238, .45); color: #4A22CC; }
.price-holo .checks.light li::before { background: var(--g4); }
.price-holo .btn-outline-light { border-color: rgba(180, 95, 255, .6); }
.price-holo .btn-outline-light:hover { background: rgba(86, 43, 238, .35); border-color: #B45FFF; }

/* =====================================================================
   FAQ
   ===================================================================== */
.faq-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: clamp(32px, 6vw, 88px); align-items: start; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 20px 0; font-weight: 500; font-size: 1.05rem; line-height: 1.35;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { width: 22px; height: 22px; color: var(--orange); transition: transform .3s var(--ease); stroke-width: 2; }
.faq details[open] summary .icon { transform: rotate(45deg); }
.faq details p { padding: 0 0 22px; color: var(--muted); max-width: 62ch; animation: fade .4s var(--ease); }
@keyframes fade { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }

/* =====================================================================
   CTA / DEMO
   ===================================================================== */
.section-cta { background: #000; color: #fff; overflow: hidden; }
.cta-bg {
  position: absolute; inset: 0;
  background: linear-gradient(112deg, #000 0%, #000 42%, #4a0707 54%, #B40D0D 63%, #F55333 78%, #FD6A0F 90%, #FDA30B 100%);
}
.cta-bg::after {
  content: ""; position: absolute; inset: 0;
  background: repeating-linear-gradient(112deg, rgba(255, 255, 255, .07) 0 1px, transparent 1px 30px);
  -webkit-mask: linear-gradient(90deg, transparent 45%, #000 100%); mask: linear-gradient(90deg, transparent 45%, #000 100%);
  mix-blend-mode: soft-light;
}
.cta-grid { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.cta-copy h2 { margin-bottom: 16px; }
.cta-copy > p { color: rgba(255, 255, 255, .78); font-size: 1.08rem; max-width: 46ch; }
.cta-points { list-style: none; display: grid; gap: 12px; margin: 26px 0 30px; }
.cta-points li { display: flex; gap: 12px; align-items: center; color: rgba(255, 255, 255, .88); font-size: .98rem; }
.cta-points .icon { width: 22px; height: 22px; color: var(--gold); }
.cta-contact { display: flex; flex-wrap: wrap; gap: 10px 24px; }
.cta-contact a { display: inline-flex; align-items: center; gap: 8px; color: #fff; text-decoration: none; opacity: .82; font-size: .93rem; transition: opacity .2s; }
.cta-contact a:hover { opacity: 1; }
.cta-contact .icon { width: 18px; height: 18px; }

.form { background: #fff; color: var(--text); border-radius: var(--r-lg); padding: clamp(24px, 3vw, 36px); display: grid; gap: 16px; box-shadow: var(--shadow-lg); position: relative; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form label { display: grid; gap: 6px; font-size: .84rem; font-weight: 500; color: var(--ink); }
.form input, .form select, .form textarea {
  font: inherit; font-size: .95rem; padding: 12px 14px; width: 100%;
  border: 1px solid var(--line); border-radius: 12px; background: #FAFAF9; color: var(--text);
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.form select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235F5F5F' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m19.5 8.25-7.5 7.5-7.5-7.5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 18px; padding-right: 40px; }
.form textarea { resize: vertical; min-height: 92px; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--orange); background: #fff; box-shadow: 0 0 0 4px rgba(245, 83, 51, .14); }
.form input::placeholder, .form textarea::placeholder { color: #9A9A9A; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-fine { font-size: .76rem; color: var(--muted); text-align: center; }
.form-ok { display: flex; gap: 14px; align-items: center; background: #EEF8F1; border: 1px solid #BFE5CA; border-radius: 16px; padding: 18px; color: #155A2F; }
.form-ok .icon { width: 40px; height: 40px; padding: 9px; border-radius: 50%; background: #1A8F4A; color: #fff; stroke-width: 2.2; }
.form-ok b { display: block; font-size: 1rem; margin-bottom: 2px; }
.form-ok span { font-size: .88rem; }
.form-ok[hidden] { display: none; }
.form.sent > :not(.form-ok) { display: none; }

/* =====================================================================
   FOOTER
   ===================================================================== */
.footer { background: #000; color: #fff; padding: 64px 0 28px; border-top: 1px solid var(--line-dark); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.footer-brand img { height: 24px; width: auto; }
.footer-brand p { color: rgba(255, 255, 255, .58); margin-top: 18px; max-width: 38ch; font-size: .92rem; }
.footer-col { display: grid; gap: 10px; align-content: start; }
.footer-col h4 { font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .45); margin-bottom: 6px; font-weight: 600; }
.footer-col a { color: rgba(255, 255, 255, .8); text-decoration: none; font-size: .95rem; width: fit-content; transition: color .2s; }
.footer-col a:hover { color: #fff; }
.social { display: flex; gap: 10px; margin-top: 8px; }
.social a { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-dark); display: grid; place-items: center; transition: background .2s, border-color .2s; }
.social a:hover { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .3); }
.social .icon { width: 18px; height: 18px; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; margin-top: 52px; padding-top: 24px; border-top: 1px solid var(--line-dark); font-size: .8rem; color: rgba(255, 255, 255, .45); }

/* =====================================================================
   RESPONSIVE
   ===================================================================== */
@media (max-width: 1100px) {
  .hero-visual { padding-left: 28px; }
  .mock { grid-template-columns: 124px 1fr; }
  .chip-1 { left: -14px; }
  .chip-2 { right: -8px; }
  .chip-3 { left: -8px; }
}

@media (max-width: 1024px) {
  .hero { min-height: 0; padding-top: 128px; }
  .hero-grid { grid-template-columns: 1fr; gap: 56px; }
  .hero-copy { max-width: 640px; }
  .hero-visual { max-width: 680px; margin: 0 auto; width: 100%; padding-left: 0; }
  .mock { transform: none; grid-template-columns: 172px 1fr; }
  .hero-glow { background: linear-gradient(168deg, #000 0%, #000 46%, #4a0707 56%, #B40D0D 64%, #F55333 80%, #FD6A0F 91%, #FDA30B 100%); }
  .chip-1 { left: -18px; top: 26%; }
  .chip-2 { display: none; }
  .chip-3 { left: auto; right: 16px; bottom: -18px; }

  .strip-grid { grid-template-columns: 1fr 1fr; }
  .stat { padding: 24px 20px; }
  .stat:nth-child(odd) { border-left: 0; padding-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }

  .problem-grid, .pricing, .profiles, .modules { grid-template-columns: 1fr; }
  .ia-grid, .holo, .why-grid, .faq-grid, .cta-grid { grid-template-columns: minmax(0, 1fr); }
  .why-copy { position: static; }
  .diagram-links { display: none; }
  .diagram-bar { border-radius: 28px; margin-top: 22px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .holo-visual { max-width: 640px; }
}

@media (max-width: 900px) {
  .nav-toggle { display: grid; }
  .nav-actions > .btn { display: none; }
  .nav-cta-mobile { display: inline-flex; margin-top: 12px; }
  .nav-links {
    position: fixed; inset: 0; z-index: 2;
    display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 22px;
    background: #000; padding: 90px 24px 40px;
    transform: translateY(-12px); opacity: 0; pointer-events: none; visibility: hidden;
    transition: opacity .3s var(--ease), transform .3s var(--ease), visibility 0s .3s;
  }
  .nav.open .nav-links { transform: none; opacity: 1; pointer-events: auto; visibility: visible; transition: opacity .3s var(--ease), transform .3s var(--ease), visibility 0s; }
  .nav-links a { font-size: 1.45rem; font-weight: 600; color: #fff !important; }
  .nav.open .nav-toggle { color: #fff; }
  .nav.open .i-open { display: none; }
  .nav.open .i-close { display: block; }
  .nav.open .brand-dark { display: block; }
  .nav.open .brand-light { display: none; }
  .nav.open { background: transparent; box-shadow: none; }
}

@media (max-width: 640px) {
  .container { width: min(var(--container), 100% - 36px); }
  .hero { padding-top: 112px; }
  .hero .lead { font-size: 1.02rem; }
  .hero-cta .btn { width: 100%; }
  .eyebrow { font-size: .7rem; text-align: left; line-height: 1.35; }
  .mock { grid-template-columns: 1fr; font-size: 10px; }
  .mock-side { display: none; }
  .mock-kpis { grid-template-columns: 1fr 1fr; }
  .bars { height: 84px; }
  .bar-labels span:nth-child(2n) { visibility: hidden; }
  .chip { display: none; }

  .strip-grid { grid-template-columns: 1fr; }
  .stat { border-left: 0; padding: 20px 0; border-top: 1px solid var(--line); }
  .stat:first-child { border-top: 0; }

  .diagram-bar { border-radius: 24px; padding: 20px 22px; }
  .features { grid-template-columns: 1fr; }
  .profile { padding: 18px; }
  .holo-cta .btn { width: 100%; white-space: normal; }
  .shot-body { aspect-ratio: 3 / 4; }
  .shot-bar { padding: 8px 10px; }
  .shot-bar i:nth-child(3) { display: none; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .price-duo { gap: 20px; }
  .why-list li { grid-template-columns: 48px 1fr; gap: 16px; }
  .why-icon { width: 48px; height: 48px; border-radius: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .js .ia-visual .msg { opacity: 1; transform: none; animation: none; }
  .bars i, .chip, .eyebrow .dot { animation: none; }
  .mock { transform: none; }
}
