/* =========================================================
   Alejandro Chalarca · Marketing Digital
   v2 — Landing de ALTO IMPACTO (dark + verde neón)
   Mega-titulares · sello giratorio · humo · parallax · cursor
   ========================================================= */

:root {
  --neon: #38FC82;
  --neon-2: #62FFAB;
  --neon-ink: #06140C;
  --neon-soft: rgba(61, 235, 138, .14);
  --neon-line: rgba(61, 235, 138, .38);

  --bg: #060708;
  --bg-2: #0B0D0F;
  --surface: #111316;
  --surface-2: #16191D;
  --line: rgba(255, 255, 255, .07);
  --line-2: rgba(255, 255, 255, .14);
  --text: #F4F6F5;
  --muted: #9AA1A0;
  --wa: #25D366;

  --radius: 22px;
  --radius-lg: 32px;
  --radius-sm: 12px;
  --container: 1300px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --ease-2: cubic-bezier(.65, 0, .35, 1);
  --shadow: 0 40px 90px rgba(0, 0, 0, .55);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Grano global */
body::after {
  content: ""; position: fixed; inset: 0; z-index: 3; pointer-events: none; opacity: .05; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: clamp(20px, 5vw, 48px); }

/* ============ Tipografía display ============ */
.display { font-family: "Anton", "Archivo Black", sans-serif; text-transform: uppercase; letter-spacing: .002em; line-height: .9; font-weight: 400; }
.txt-neon { color: var(--neon); }
.txt-outline { color: transparent; -webkit-text-stroke: 1.6px var(--neon); }
@supports not (-webkit-text-stroke: 1px red) { .txt-outline { color: var(--neon); } }

.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: "Space Grotesk", sans-serif; font-size: .82rem; font-weight: 700;
  letter-spacing: .24em; text-transform: uppercase; color: var(--neon); margin-bottom: 22px;
}
.eyebrow::before { content: "✦"; animation: spin 6s linear infinite; }
.eyebrow--both::after { content: "✦"; animation: spin 6s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ============ Botones ============ */
.btn {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 17px 30px; border-radius: 999px;
  background: var(--neon); color: var(--neon-ink);
  font-family: "Space Grotesk", sans-serif; font-weight: 700; font-size: .96rem;
  text-transform: uppercase; letter-spacing: .02em;
  border: none; cursor: pointer; position: relative; overflow: hidden;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
  box-shadow: 0 12px 34px rgba(61, 235, 138, .3);
}
.btn::after { content: ""; position: absolute; inset: 0; background: var(--neon-2); transform: translateY(101%); transition: transform .45s var(--ease); z-index: 0; }
.btn:hover { transform: translateY(-4px); box-shadow: 0 20px 46px rgba(61, 235, 138, .5); }
.btn:hover::after { transform: translateY(0); }
.btn > * { position: relative; z-index: 1; }
.btn:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.btn .arrow { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: rgba(6,20,12,.18); transition: transform .4s var(--ease); }
.btn:hover .arrow { transform: rotate(45deg); }
.btn--sm { padding: 12px 20px; font-size: .82rem; }
.btn--lg { padding: 19px 36px; font-size: 1.02rem; }
.btn--block { width: 100%; justify-content: center; }
.btn--ghost { background: transparent; color: var(--text); border: 1px solid var(--line-2); box-shadow: none; }
.btn--ghost::after { background: var(--neon); }
.btn--ghost:hover { color: var(--neon-ink); border-color: var(--neon); }

/* ============ Cursor personalizado ============ */
.cursor, .cursor-ring { position: fixed; top: 0; left: 0; z-index: 9999; pointer-events: none; border-radius: 50%; mix-blend-mode: difference; }
.cursor { width: 8px; height: 8px; background: var(--neon); margin: -4px 0 0 -4px; }
.cursor-ring { width: 40px; height: 40px; border: 1.5px solid var(--neon); margin: -20px 0 0 -20px; transition: width .3s var(--ease), height .3s var(--ease), margin .3s var(--ease), opacity .3s; }
.cursor-ring.is-active { width: 66px; height: 66px; margin: -33px 0 0 -33px; background: var(--neon-soft); }
body.has-cursor { cursor: none; }
body.has-cursor a, body.has-cursor button { cursor: none; }
@media (hover: none), (pointer: coarse) { .cursor, .cursor-ring { display: none !important; } }

/* ============ Navbar ============ */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 200; padding: 20px 0; transition: all .4s var(--ease); }
.nav.is-scrolled { background: rgba(6,7,8,.8); backdrop-filter: blur(18px); padding: 12px 0; border-bottom: 1px solid var(--line); }
.nav__inner { display: flex; align-items: center; gap: 24px; }
.nav__logo { display: flex; align-items: center; gap: 12px; margin-right: auto; }
.logo-mark { display: inline-flex; filter: drop-shadow(0 0 16px rgba(56,252,130,.45)); }
.brand-logo { height: 52px; width: auto; display: block; filter: drop-shadow(0 0 18px rgba(56,252,130,.35)); }
.nav__mark { height: 36px; width: auto; display: block; filter: drop-shadow(0 0 12px rgba(56,252,130,.45)); transition: height .4s var(--ease); }
.nav.is-scrolled .nav__mark { height: 30px; }
.nav__brand { display: flex; flex-direction: column; line-height: 1; }
.nav__brand strong { font-family: "Archivo Black", sans-serif; font-size: 1.04rem; text-transform: uppercase; }
.nav__brand small { font-family: "Space Grotesk", sans-serif; font-weight: 600; font-size: .6rem; letter-spacing: .28em; text-transform: uppercase; color: var(--muted); margin-top: 5px; }
.nav__links { display: flex; gap: 32px; }
.nav__links a { font-family: "Space Grotesk", sans-serif; color: var(--muted); font-weight: 600; font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; transition: color .2s var(--ease); position: relative; }
.nav__links a:hover { color: var(--text); }
.nav__links a::after { content: ""; position: absolute; left: 0; bottom: -7px; width: 0; height: 2px; background: var(--neon); transition: width .3s var(--ease); }
.nav__links a:hover::after { width: 100%; }
.nav__toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; }
.nav__toggle span { width: 24px; height: 2px; background: var(--text); border-radius: 2px; transition: transform .3s var(--ease), opacity .2s; }
.nav__toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle.is-open span:nth-child(2) { opacity: 0; }
.nav__toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============ Capas de fondo (globales) ============ */
.bg-layers { position: absolute; inset: 0; overflow: hidden; z-index: 0; pointer-events: none; }
.blob { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .5; }
.blob--1 { width: 620px; height: 620px; background: radial-gradient(circle, rgba(61,235,138,.5), transparent 62%); top: -180px; right: -120px; animation: floatA 16s var(--ease-2) infinite alternate; }
.blob--2 { width: 520px; height: 520px; background: radial-gradient(circle, rgba(61,235,138,.22), transparent 65%); bottom: -200px; left: -120px; animation: floatB 20s var(--ease-2) infinite alternate; }
@keyframes floatA { to { transform: translate(-60px, 60px) scale(1.15); } }
@keyframes floatB { to { transform: translate(70px, -50px) scale(1.1); } }
.grid-bg { position: absolute; inset: 0; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 66px 66px; mask-image: radial-gradient(circle at 50% 30%, #000 0%, transparent 72%); opacity: .55; }
.smoke { position: absolute; inset: -20%; opacity: .35; background-repeat: no-repeat; background-size: cover;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1200' height='800'%3E%3Cfilter id='s'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.006 .012' numOctaves='2' seed='7'/%3E%3CfeColorMatrix values='0 0 0 0 0.24 0 0 0 0 0.92 0 0 0 0 0.54 0 0 0 0.5 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23s)'/%3E%3C/svg%3E");
  animation: smokeDrift 40s linear infinite alternate; }
@keyframes smokeDrift { to { transform: translate(6%, -4%) scale(1.15); } }

/* Asteriscos flotantes */
.floaty { position: absolute; color: var(--neon); opacity: .5; font-size: 1.4rem; animation: floaty 7s ease-in-out infinite; }
@keyframes floaty { 0%,100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-18px) rotate(180deg); } }

/* ============ Hero ============ */
.hero { position: relative; padding: 190px 0 90px; overflow: hidden; }
.hero__inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(30px, 5vw, 64px); align-items: center; }
.hero__content { position: relative; }
.hero__title { font-size: clamp(2.6rem, 6.4vw, 5.6rem); line-height: 1.02; margin: 0 0 22px; }
.hero__title .word { display: inline-block; overflow: hidden; vertical-align: top; }
.hero__title .word > span { display: inline-block; transform: translateY(110%); transition: transform .9s var(--ease); }
.hero__title.is-visible .word > span { transform: translateY(0); }
.hero__title.is-visible .word:nth-child(2) > span { transition-delay: .08s; }
.hero__title.is-visible .word:nth-child(3) > span { transition-delay: .16s; }
.hero__title.is-visible .word:nth-child(4) > span { transition-delay: .24s; }
.hero__title.is-visible .word:nth-child(5) > span { transition-delay: .32s; }

/* Sello giratorio */
.seal { position: absolute; top: -8px; left: -22px; z-index: 4; width: clamp(96px, 9vw, 132px); aspect-ratio: 1; }
.seal__text { width: 100%; height: 100%; animation: spin 20s linear infinite; }
.seal__text text { font-family: "Space Grotesk", sans-serif; font-size: 10px; font-weight: 700; letter-spacing: 1.6px; text-transform: uppercase; fill: var(--muted); }
.seal__mark { position: absolute; inset: 23%; border-radius: 50%; background: var(--surface); border: 1px solid var(--line-2); display: grid; place-items: center; box-shadow: inset 0 0 0 1px rgba(56,252,130,.12); }
.seal__mark img { width: 66%; height: auto; filter: drop-shadow(0 0 10px rgba(56,252,130,.5)); }

.hero__media { position: relative; }
.hero__sub { font-size: clamp(1.02rem, 1.5vw, 1.2rem); color: var(--muted); max-width: 540px; margin: 0 0 30px; }
.hero__sub strong { color: var(--text); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 30px; }
.hero__badges { list-style: none; display: flex; flex-wrap: wrap; gap: 12px 24px; padding: 0; margin: 0; }
.hero__badges li { display: flex; align-items: center; gap: 9px; color: var(--muted); font-size: .88rem; font-weight: 500; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--neon); box-shadow: 0 0 12px var(--neon); }

.hero__photo { position: relative; width: 100%; display: flex; justify-content: center; align-items: flex-end; }
.hero__photo::before { content: ""; position: absolute; left: 50%; top: 46%; transform: translate(-50%,-50%); width: 76%; height: 72%; border-radius: 50%; background: radial-gradient(circle, rgba(56,252,130,.16), transparent 68%); filter: blur(56px); z-index: 0; }
.hero__photo img { position: relative; z-index: 1; width: 100%; max-width: 540px; height: auto;
  -webkit-mask-image: linear-gradient(to bottom, #000 90%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 90%, transparent 100%); }
.pill-float { position: absolute; z-index: 3; background: var(--surface); border: 1px solid var(--line-2); border-radius: 999px; padding: 12px 20px; font-family: "Space Grotesk", sans-serif; font-weight: 700; font-size: .82rem; text-transform: uppercase; letter-spacing: .04em; box-shadow: var(--shadow); display: inline-flex; align-items: center; gap: 8px; }
.pill-float .dot { animation: none; }
.pill-float--a { top: 120px; left: -8px; transform: rotate(-8deg); color: var(--neon); animation: bob 5s ease-in-out infinite; }
.pill-float--b { bottom: 80px; right: -8px; transform: rotate(7deg); animation: bob 6s ease-in-out infinite .5s; }
@keyframes bob { 0%,100% { translate: 0 0; } 50% { translate: 0 -12px; } }

/* ============ Escena 3D del hero (sin imágenes, pura CSS) ============ */
.scene3d { position: relative; width: 100%; max-width: 520px; aspect-ratio: 1 / 1; margin-inline: auto; perspective: 1100px; display: grid; place-items: center; }
.scene3d__stage { position: relative; width: 100%; height: 100%; display: grid; place-items: center; transform-style: preserve-3d; }

/* Anillos orbitales en perspectiva */
.scene3d__orbit { position: absolute; border-radius: 50%; border: 1px solid rgba(56,252,130,.22); }
.scene3d__orbit::after { content: ""; position: absolute; top: -5px; left: 50%; width: 10px; height: 10px; border-radius: 50%; background: var(--neon); box-shadow: 0 0 16px var(--neon); }
.scene3d__orbit--1 { width: 78%; height: 78%; animation: orbit1 16s linear infinite; }
.scene3d__orbit--2 { width: 96%; height: 96%; border-color: rgba(56,252,130,.14); border-style: dashed; animation: orbit2 26s linear infinite; }
.scene3d__orbit--3 { width: 58%; height: 58%; border-color: rgba(56,252,130,.32); animation: orbit3 11s linear infinite; }
@keyframes orbit1 { from { transform: rotateX(74deg) rotateZ(0deg); } to { transform: rotateX(74deg) rotateZ(360deg); } }
@keyframes orbit2 { from { transform: rotateX(70deg) rotateY(16deg) rotateZ(360deg); } to { transform: rotateX(70deg) rotateY(16deg) rotateZ(0deg); } }
@keyframes orbit3 { from { transform: rotateX(78deg) rotateY(-12deg) rotateZ(0deg); } to { transform: rotateX(78deg) rotateY(-12deg) rotateZ(360deg); } }

/* Núcleo tipo orbe de plasma */
.scene3d__core { position: relative; width: 40%; aspect-ratio: 1; border-radius: 50%; animation: coreFloat 7s ease-in-out infinite;
  background: radial-gradient(circle at 36% 30%, #f2fff8 0%, var(--neon-2) 16%, var(--neon) 40%, #0f8a4d 70%, #05341e 100%);
  box-shadow: 0 0 60px rgba(56,252,130,.5), 0 0 150px rgba(56,252,130,.28), inset -16px -20px 46px rgba(0,0,0,.55); }
.scene3d__core::before, .scene3d__core::after { content: ""; position: absolute; inset: 8%; border-radius: 50%; border: 1px solid rgba(255,255,255,.28); }
.scene3d__core::before { animation: plasma 9s linear infinite; transform: rotate(0deg) scaleY(.32); }
.scene3d__core::after { animation: plasma 6s linear infinite reverse; transform: rotate(0deg) scaleY(.6); opacity: .6; }
@keyframes plasma { from { transform: rotate(0deg) scaleY(.35); } to { transform: rotate(360deg) scaleY(.35); } }
@keyframes coreFloat { 0%,100% { transform: translateY(-8px) scale(1); } 50% { transform: translateY(10px) scale(1.03); } }

/* Halo pulsante */
.scene3d__pulse { position: absolute; width: 40%; aspect-ratio: 1; border-radius: 50%; border: 1px solid var(--neon); opacity: 0; animation: pulseOut 3.4s ease-out infinite; }
.scene3d__pulse:nth-of-type(2) { animation-delay: 1.7s; }
@keyframes pulseOut { 0% { transform: scale(1); opacity: .55; } 100% { transform: scale(2.1); opacity: 0; } }

/* Tarjetas flotantes */
.scene3d__card { position: absolute; display: flex; align-items: center; gap: 10px; padding: 11px 15px; border-radius: 14px; z-index: 3;
  background: rgba(17,19,22,.94); border: 1px solid var(--line-2); backdrop-filter: blur(8px); box-shadow: var(--shadow);
  font-family: "Space Grotesk", sans-serif; font-weight: 700; font-size: .78rem; white-space: nowrap; }
.scene3d__card i { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 8px; background: var(--neon); color: var(--neon-ink); flex: none; }
.scene3d__card small { display: block; font-family: "Inter", sans-serif; font-weight: 500; font-size: .68rem; color: var(--muted); margin-top: 2px; }
.scene3d__card--a { top: 8%; left: -4%; animation: floatCard 6s ease-in-out infinite; }
.scene3d__card--b { top: 44%; right: -6%; animation: floatCard 7.5s ease-in-out infinite .8s; }
.scene3d__card--c { bottom: 9%; left: 4%; animation: floatCard 6.8s ease-in-out infinite 1.6s; }
@keyframes floatCard { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }

/* ============ Marquee ============ */
.marquee { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 24px 0; overflow: hidden; position: relative; z-index: 2; background: var(--bg-2); }
.marquee__track { display: flex; gap: 46px; width: max-content; animation: marquee 24s linear infinite; }
.marquee__track span { font-family: "Anton", "Archivo Black", sans-serif; text-transform: uppercase; font-size: 2rem; letter-spacing: .01em; color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.28); display: inline-flex; align-items: center; gap: 46px; }
.marquee__track span::after { content: "✦"; -webkit-text-stroke: 0; color: var(--neon); font-size: 1rem; }
@keyframes marquee { to { transform: translateX(-50%); } }
.marquee:hover .marquee__track { animation-play-state: paused; }

/* ============ Secciones ============ */
.section { padding: clamp(80px, 10vw, 140px) 0; position: relative; z-index: 2; overflow: hidden; }
.section--alt { background: linear-gradient(180deg, var(--bg), var(--bg-2) 55%, var(--bg)); }
#sobremi { padding-top: clamp(8px, 2.5vw, 40px); }
.section__head { max-width: 900px; margin: 0 auto 64px; text-align: center; }
.section__title { font-size: clamp(2.4rem, 6vw, 5rem); line-height: 1.05; margin: 0; }
.section__lead { color: var(--muted); font-size: 1.08rem; margin: 20px auto 0; max-width: 620px; }

/* ============ Servicios ============ */
.grid { display: grid; gap: 20px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }

.card { background: linear-gradient(165deg, #171a1f 0%, #101216 70%); border: 1px solid var(--line); border-radius: var(--radius); padding: 38px 32px; position: relative; overflow: hidden; transition: transform .45s var(--ease), border-color .45s var(--ease), box-shadow .45s var(--ease); }
.card::before { content: ""; position: absolute; inset: -1px; border-radius: var(--radius); background: radial-gradient(220px 220px at var(--mx,50%) var(--my,0%), var(--neon-soft), transparent 60%); opacity: 0; transition: opacity .45s var(--ease); pointer-events: none; }
.card__index { position: absolute; top: 6px; right: 18px; font-family: "Anton", sans-serif; font-size: 5.5rem; line-height: 1; color: transparent; -webkit-text-stroke: 1px var(--line-2); pointer-events: none; transition: -webkit-text-stroke-color .4s; }
.card:hover { transform: translateY(-8px); border-color: var(--neon-line); box-shadow: 0 30px 60px rgba(0,0,0,.5); }
.card:hover::before { opacity: 1; }
.card:hover .card__index { -webkit-text-stroke-color: var(--neon-line); }
.card__icon { width: 62px; height: 62px; border-radius: 18px; display: grid; place-items: center; background: linear-gradient(150deg, var(--neon-2), var(--neon)); color: var(--neon-ink); margin-bottom: 24px; transition: transform .45s var(--ease); position: relative; z-index: 1; box-shadow: 0 10px 26px rgba(56,252,130,.35); }
.card:hover .card__icon { transform: rotate(-8deg) scale(1.08); }
.card h3 { font-family: "Space Grotesk", sans-serif; font-weight: 700; font-size: 1.36rem; text-transform: uppercase; margin: 0 0 12px; position: relative; z-index: 1; }
.card p { color: var(--muted); margin: 0 0 24px; font-size: .97rem; position: relative; z-index: 1; }
.card__link { display: inline-flex; align-items: center; gap: 12px; font-family: "Space Grotesk", sans-serif; font-weight: 700; font-size: .82rem; text-transform: uppercase; letter-spacing: .06em; color: var(--neon); position: relative; z-index: 1; }
.card__link .arrow { width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--neon-line); display: grid; place-items: center; transition: transform .4s var(--ease), background .3s, color .3s; }
.card__link:hover .arrow { background: var(--neon); color: var(--neon-ink); transform: rotate(45deg); }

[hidden] { display: none !important; }

/* =========================================================
   SISTEMA GRUNGE  —  todo CSS/SVG, 0 KB de imágenes
   Regla: fuerte donde impresiona, limpio donde se convierte.
   ========================================================= */

/* Halftone (trama de imprenta) para fondos de sección */
.section--grit { position: relative; }
.section--grit::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 0; opacity: .5;
  background-image: radial-gradient(rgba(56,252,130,.14) 1px, transparent 1px);
  background-size: 7px 7px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, #000 20%, transparent 75%);
}
.section--grit > .container { position: relative; z-index: 2; }

/* Bordes rasgados entre secciones */
.torn-top, .torn-bottom { position: relative; }
.torn-top { clip-path: polygon(0 14px, 6% 4px, 14% 12px, 23% 2px, 32% 11px, 41% 3px, 52% 13px, 63% 4px, 72% 12px, 81% 2px, 90% 10px, 100% 3px, 100% 100%, 0 100%); }
.torn-bottom { clip-path: polygon(0 0, 100% 0, 100% calc(100% - 4px), 91% calc(100% - 12px), 82% calc(100% - 2px), 71% calc(100% - 11px), 60% calc(100% - 3px), 49% calc(100% - 13px), 38% calc(100% - 4px), 27% calc(100% - 12px), 17% calc(100% - 2px), 8% calc(100% - 10px), 0 calc(100% - 3px)); }

/* Titular erosionado: la textura "come" bordes de la tipografía */
.eroded { position: relative; }
.eroded::after {
  content: ""; position: absolute; inset: -6%; pointer-events: none; opacity: .5; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='e'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.55' numOctaves='4' seed='9'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23e)'/%3E%3C/svg%3E");
}

/* Trazo de marcador bajo palabras clave */
.stroke-mark { position: relative; display: inline-block; }
.stroke-mark::after {
  content: ""; position: absolute; left: -2%; right: -2%; bottom: -.12em; height: .34em; z-index: -1;
  background: var(--neon); opacity: .28; transform: rotate(-1.2deg) skewX(-8deg);
  clip-path: polygon(0 32%, 4% 8%, 22% 24%, 46% 6%, 68% 26%, 88% 10%, 100% 30%, 97% 82%, 74% 96%, 52% 78%, 28% 98%, 8% 80%, 0 92%);
}

/* Sello estampado (tinta desgastada) */
.stamp {
  position: absolute; top: -18px; right: -14px; z-index: 5; transform: rotate(-13deg);
  font-family: "Space Grotesk", sans-serif; font-weight: 700; font-size: .62rem; letter-spacing: .18em;
  text-transform: uppercase; color: var(--neon); padding: 8px 12px;
  border: 2px solid var(--neon); border-radius: 4px; opacity: .85;
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='60'%3E%3Cfilter id='s'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.7' numOctaves='3'/%3E%3CfeColorMatrix type='matrix' values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 -1.4 1.1'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23s)'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='60'%3E%3Cfilter id='s'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.7' numOctaves='3'/%3E%3CfeColorMatrix type='matrix' values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 -1.4 1.1'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23s)'/%3E%3C/svg%3E");
}

/* Manchas de tinta / spray como acentos de fondo */
.ink { position: absolute; pointer-events: none; z-index: 0; opacity: .16; background: var(--neon); }
.ink--1 { width: 260px; height: 260px; top: 8%; left: -60px; clip-path: polygon(52% 2%, 76% 12%, 94% 34%, 88% 62%, 96% 84%, 68% 92%, 44% 100%, 22% 84%, 6% 60%, 14% 34%, 30% 14%); transform: rotate(12deg); }
.ink--2 { width: 190px; height: 190px; bottom: 6%; right: -40px; clip-path: polygon(48% 4%, 72% 16%, 90% 40%, 82% 68%, 92% 88%, 62% 94%, 38% 98%, 16% 80%, 4% 54%, 12% 28%, 28% 10%); transform: rotate(-24deg); }

/* Glitch en hover de titulares (solo puntero fino) */
@media (pointer: fine) {
  .section__title:hover, .hero__title:hover { animation: glitch .32s steps(2, end) 1; }
  @keyframes glitch {
    0%   { text-shadow: 0 0 0 transparent; }
    30%  { text-shadow: -3px 0 rgba(255,0,80,.7), 3px 0 rgba(0,220,255,.7); }
    60%  { text-shadow: 2px 0 rgba(255,0,80,.6), -2px 0 rgba(0,220,255,.6); }
    100% { text-shadow: 0 0 0 transparent; }
  }
}

/* =========================================================
   MÓVIL INMERSIVO — animaciones ligadas al scroll (compositor)
   Sin JS por frame: no bloquea el hilo principal.
   ========================================================= */
/* IMPORTANTE: el scroll-timeline solo mueve elementos DECORATIVOS.
   El revelado del contenido sigue a cargo del IntersectionObserver ya probado,
   para que ningún texto pueda quedarse invisible si algo falla. */
@supports (animation-timeline: view()) {

  /* Profundidad: cada capa se desplaza a distinta velocidad */
  .depth { animation: depthMove linear both; animation-timeline: view(); animation-range: entry 0% exit 100%; will-change: transform; }
  .depth--slow { --dz: 20px; }
  .depth--mid  { --dz: 45px; }
  .depth--fast { --dz: 85px; }
  @keyframes depthMove {
    from { transform: translate3d(0, var(--dz, 40px), 0); }
    to   { transform: translate3d(0, calc(var(--dz, 40px) * -1), 0); }
  }

  /* Los glows respiran (se mueve el contenedor, el desenfoque queda estático) */
  .blob { animation: breatheBg linear both; animation-timeline: view(); animation-range: cover; }
  @keyframes breatheBg {
    from { transform: translate3d(0,-30px,0) scale(1); }
    50%  { transform: translate3d(0,0,0) scale(1.1); }
    to   { transform: translate3d(0,30px,0) scale(1); }
  }

  /* La trama grunge se desplaza a distinta velocidad que el contenido */
  .section--grit::before { animation: gritDrift linear both; animation-timeline: view(); animation-range: cover; }
  @keyframes gritDrift { from { transform: translate3d(0,-26px,0); } to { transform: translate3d(0,26px,0); } }

  /* Manchas de tinta con deriva propia */
  .ink { animation: inkDrift linear both; animation-timeline: view(); animation-range: cover; }
  @keyframes inkDrift { from { transform: translate3d(0,-40px,0) rotate(8deg); } to { transform: translate3d(0,40px,0) rotate(-8deg); } }

  /* La escena 3D del hero gana profundidad al scrollear */
  .scene3d__card { animation: cardDepth linear both; animation-timeline: view(); animation-range: entry 0% exit 100%; }
  @keyframes cardDepth { from { transform: translate3d(0,60px,0); } to { transform: translate3d(0,-60px,0); } }
}

/* ============ Precios ============ */
.currency { display: inline-flex; gap: 4px; padding: 5px; background: var(--surface); border: 1px solid var(--line-2); border-radius: 999px; margin: 0 auto 44px; }
.currency button { font-family: "Space Grotesk", sans-serif; font-weight: 700; font-size: .82rem; letter-spacing: .04em; padding: 9px 18px; border-radius: 999px; border: none; background: transparent; color: var(--muted); cursor: pointer; transition: background .25s var(--ease), color .25s var(--ease); }
.currency button:hover { color: var(--text); }
.currency button.is-active { background: var(--neon); color: var(--neon-ink); }

/* Carrusel de precios */
.carousel { position: relative; }
.pricing { display: flex; gap: 20px; justify-content: safe center; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding: 18px 2px 26px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.pricing::-webkit-scrollbar { display: none; }
.carousel__btn { position: absolute; top: 50%; transform: translateY(-50%); z-index: 6; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: rgba(17,19,22,.94); border: 1px solid var(--line-2); color: var(--text); cursor: pointer; backdrop-filter: blur(8px); box-shadow: var(--shadow); transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease); }
.carousel__btn:hover { background: var(--neon); color: var(--neon-ink); border-color: var(--neon); }
.carousel__btn[disabled] { opacity: .3; pointer-events: none; }
.carousel__btn--prev { left: -10px; }
.carousel__btn--next { right: -10px; }
.carousel__dots { display: flex; justify-content: center; gap: 8px; margin-top: 6px; }
.carousel__dot { width: 9px; height: 9px; padding: 0; border: none; border-radius: 999px; background: var(--line-2); cursor: pointer; transition: width .3s var(--ease), background .3s var(--ease); }
.carousel__dot.is-active { width: 26px; background: var(--neon); }
.carousel__hint { text-align: center; color: var(--muted); font-size: .82rem; margin: 14px 0 0; }

.price-card { position: relative; flex: 0 0 clamp(268px, 76vw, 344px); scroll-snap-align: center; display: flex; flex-direction: column; background: linear-gradient(165deg, #171a1f 0%, #101216 70%); border: 1px solid var(--line); border-radius: var(--radius); padding: 34px 28px; transition: transform .4s var(--ease), border-color .4s var(--ease), box-shadow .4s var(--ease); }
.price-card:hover { transform: translateY(-6px); border-color: var(--neon-line); box-shadow: 0 26px 56px rgba(0,0,0,.5); }
.price-card--featured { border-color: var(--neon); border-width: 2px; background: linear-gradient(165deg, #1b2028 0%, #101216 72%); box-shadow: 0 26px 64px rgba(56,252,130,.26); }
.price-card--featured::before { content: ""; position: absolute; inset: -2px; border-radius: var(--radius); background: linear-gradient(140deg, rgba(56,252,130,.5), transparent 45%, rgba(56,252,130,.35)); z-index: -1; filter: blur(10px); }
.price-card--featured:hover { box-shadow: 0 34px 80px rgba(56,252,130,.4); }
.price-card--featured .price-card__amount { font-size: clamp(2.3rem, 4vw, 3rem); }
/* Equivalente mensual: argumento honesto de relación calidad-precio */
.price-card__month { display: inline-block; margin-top: 12px; padding: 7px 14px; border-radius: 999px; background: var(--neon-soft); border: 1px solid var(--neon-line); color: var(--neon); font-family: "Space Grotesk", sans-serif; font-weight: 700; font-size: .8rem; }
.price-card__value { margin: 14px 0 0; font-size: .82rem; color: var(--text); font-weight: 600; }
.price-card__badge { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); white-space: nowrap; font-family: "Space Grotesk", sans-serif; font-weight: 700; font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; padding: 7px 16px; border-radius: 999px; background: var(--neon); color: var(--neon-ink); }
.price-card__badge--soft { background: var(--surface-2); color: var(--neon); border: 1px solid var(--neon-line); }
.price-card h3 { font-family: "Space Grotesk", sans-serif; font-weight: 700; text-transform: uppercase; font-size: 1.14rem; margin: 8px 0 6px; line-height: 1.25; }
.price-card__for { color: var(--muted); font-size: .86rem; margin: 0 0 20px; min-height: 2.4em; }
.price-card__amount { font-family: "Anton", "Archivo Black", sans-serif; font-size: clamp(2rem, 3.6vw, 2.7rem); color: var(--neon); line-height: 1; letter-spacing: .01em; }
.price-card__unit { display: block; color: var(--muted); font-size: .82rem; margin-top: 8px; font-family: "Inter", sans-serif; }
/* Segundo precio: mensualidad */
.price-card__plus { margin: 16px 0 0; padding: 15px 0 0; border-top: 1px dashed var(--line-2); display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.price-card__plus b { font-family: "Anton", "Archivo Black", sans-serif; font-size: 1.6rem; color: var(--text); line-height: 1; letter-spacing: .01em; }
.price-card__plus span { color: var(--muted); font-size: .84rem; }
.price-card__none { margin: 16px 0 0; padding: 15px 0 0; border-top: 1px dashed var(--line-2); color: var(--muted); font-size: .84rem; line-height: 1.55; }
.price-card__none b { color: var(--text); }
.price-card__alt { margin: 12px 0 0; padding: 12px 0 0; border-top: 1px solid var(--line); color: var(--muted); font-size: .82rem; line-height: 1.6; }
.price-card__alt b { color: var(--text); }
.price-card ul { list-style: none; padding: 0; margin: 22px 0 26px; display: grid; gap: 11px; }
.price-card li { position: relative; padding-left: 28px; color: var(--muted); font-size: .9rem; line-height: 1.5; }
.price-card li::before { content: "✓"; position: absolute; left: 0; top: 0; width: 18px; height: 18px; border-radius: 50%; background: var(--neon-soft); color: var(--neon); display: grid; place-items: center; font-size: .64rem; font-weight: 800; }
.price-card li strong { color: var(--text); }
.price-card__cta { margin-top: auto; display: grid; gap: 10px; }
.price-card__cta .btn { justify-content: center; width: 100%; padding: 14px 18px; font-size: .84rem; letter-spacing: .01em; text-align: center; }
.price-card__wa { text-align: center; font-size: .82rem; color: var(--muted); }
.price-card__wa:hover { color: var(--neon); }

/* Tabla comparativa */
.compare-wrap { margin-top: 60px; overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--line); border-radius: var(--radius); }
.compare { width: 100%; min-width: 720px; border-collapse: collapse; font-size: .88rem; }
.compare th, .compare td { padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--line); }
.compare thead th { background: var(--surface); font-family: "Space Grotesk", sans-serif; text-transform: uppercase; font-size: .72rem; letter-spacing: .07em; color: var(--text); position: sticky; top: 0; }
.compare tbody th { font-weight: 500; color: var(--text); }
.compare td { color: var(--muted); text-align: center; }
.compare .yes { color: var(--neon); font-weight: 700; }
.compare .no { color: #4a4f58; }
.compare tbody tr:hover { background: rgba(255,255,255,.02); }
.compare__hint { display: none; text-align: center; color: var(--muted); font-size: .8rem; margin-top: 12px; }

/* Facilidades de pago + presupuesto a medida */
.pay-options { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 56px; }
.pay-option { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 24px 24px; }
.pay-option h4 { font-family: "Space Grotesk", sans-serif; font-weight: 700; text-transform: uppercase; font-size: .92rem; margin: 0 0 8px; color: var(--neon); }
.pay-option p { margin: 0; color: var(--muted); font-size: .9rem; line-height: 1.6; }
.custom-quote { margin-top: 46px; text-align: center; background: linear-gradient(158deg, rgba(56,252,130,.1), transparent 70%); border: 1px dashed var(--neon-line); border-radius: var(--radius); padding: 34px 28px; }
.custom-quote h3 { font-family: "Space Grotesk", sans-serif; font-weight: 700; text-transform: uppercase; font-size: 1.16rem; margin: 0 0 10px; }
.custom-quote p { color: var(--muted); margin: 0 0 20px; }
.markets { text-align: center; color: var(--muted); font-size: .86rem; margin-top: 28px; }
.markets strong { color: var(--text); }

@media (max-width: 1100px) {
  .carousel__btn--prev { left: 2px; }
  .carousel__btn--next { right: 2px; }
}
@media (max-width: 1000px) {
  .pay-options { grid-template-columns: 1fr; }
  .compare__hint { display: block; }
}
@media (max-width: 640px) {
  .price-card__for { min-height: 0; }
  .carousel__btn { display: none; }   /* en móvil se desliza con el dedo */
  .pricing { padding-inline: 2px; }
}

/* ============ Sobre mí ============ */
.about { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 70px); align-items: center; position: relative; z-index: 2; }
.about__media { display: flex; justify-content: center; }
.about__photo { position: relative; width: min(100%, 620px); margin-inline: auto; display: flex; justify-content: center; align-items: flex-end; }
.about__photo::before { content: ""; position: absolute; left: 50%; top: 48%; transform: translate(-50%,-50%); width: 78%; height: 74%; border-radius: 50%; background: radial-gradient(circle, rgba(56,252,130,.3), transparent 68%); filter: blur(48px); z-index: 0; }
.about__photo img { position: relative; z-index: 1; width: 100%; height: auto; filter: drop-shadow(0 22px 40px rgba(0,0,0,.55)); -webkit-mask-image: linear-gradient(to bottom, #000 90%, transparent 100%); mask-image: linear-gradient(to bottom, #000 90%, transparent 100%); }
.about__badge { position: absolute; left: -16px; bottom: 28px; background: var(--neon); color: var(--neon-ink); font-family: "Archivo Black", sans-serif; text-transform: uppercase; font-size: .92rem; padding: 15px 20px; border-radius: 16px; box-shadow: var(--shadow); line-height: 1; }
.about__badge span { display: block; font-family: "Space Grotesk", sans-serif; font-weight: 600; font-size: .62rem; letter-spacing: .12em; margin-top: 7px; opacity: .75; }
.about__copy > p { color: var(--muted); margin: 0 0 16px; }
.about__copy strong { color: var(--text); }
.about__list { list-style: none; padding: 0; margin: 10px 0 32px; display: grid; gap: 14px; }
.about__list li { position: relative; padding-left: 36px; font-weight: 500; }
.about__list li::before { content: "✓"; position: absolute; left: 0; top: -1px; width: 23px; height: 23px; border-radius: 50%; background: var(--neon); color: var(--neon-ink); display: grid; place-items: center; font-size: .74rem; font-weight: 800; }

/* ============ Proceso (nodos con anillo giratorio) ============ */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; position: relative; }
.step { text-align: center; position: relative; }
.step__node { width: 116px; height: 116px; margin: 0 auto 26px; border-radius: 50%; display: grid; place-items: center; background: var(--surface); border: 1px solid var(--line-2); color: var(--neon); position: relative; transition: all .45s var(--ease); }
.step__node::before { content: ""; position: absolute; inset: -8px; border-radius: 50%; border: 1.5px dashed var(--neon-line); animation: spin 14s linear infinite; opacity: .5; }
.step:hover .step__node { background: var(--neon); color: var(--neon-ink); border-color: var(--neon); transform: translateY(-6px); box-shadow: 0 20px 40px rgba(61,235,138,.4); }
.step__num { position: absolute; top: -6px; right: -6px; width: 34px; height: 34px; border-radius: 50%; background: var(--bg); border: 1px solid var(--neon-line); color: var(--neon); font-family: "Space Grotesk", sans-serif; font-weight: 700; font-size: .82rem; display: grid; place-items: center; z-index: 1; }
.step h3 { font-family: "Space Grotesk", sans-serif; font-weight: 700; text-transform: uppercase; font-size: 1.16rem; margin: 0 0 10px; }
.step p { color: var(--muted); margin: 0; font-size: .93rem; }

/* ============ Resultados / stats ============ */
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 40px 60px; align-items: center; position: relative; z-index: 2; }
.stats__lead .display { font-size: clamp(3.4rem, 9vw, 7rem); margin: 0; }  /* es un h2: hay que anular el margen por defecto */
.stats__lead p { color: var(--muted); max-width: 400px; margin: 20px 0 0; }
.bars { display: grid; gap: 16px; }
.bar { display: flex; align-items: center; justify-content: space-between; gap: 20px; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 22px 34px; transition: border-color .3s var(--ease), transform .3s var(--ease); }
.bar:hover { border-color: var(--neon-line); transform: translateX(8px); }
.bar__label { font-family: "Space Grotesk", sans-serif; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; font-size: .92rem; }
.bar__num { font-family: "Anton", "Archivo Black", sans-serif; font-size: 2.1rem; color: var(--neon); line-height: 1; }

/* ============ Testimonios ============ */
.quote { margin: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 34px 32px; transition: border-color .3s var(--ease), transform .3s var(--ease); }
.quote:hover { border-color: var(--neon-line); transform: translateY(-6px); }
.quote__stars { color: var(--neon); letter-spacing: 3px; margin-bottom: 18px; }
.quote p { margin: 0 0 22px; font-size: 1.06rem; }
.quote footer { display: flex; flex-direction: column; color: var(--muted); font-size: .86rem; }
.quote footer strong { color: var(--text); font-family: "Space Grotesk", sans-serif; text-transform: uppercase; letter-spacing: .04em; }
.note { text-align: center; color: var(--muted); font-size: .8rem; margin-top: 32px; opacity: .6; }

/* Tarjeta de testimonio destacada (verde de marca) */
#testimonios .grid { align-items: start; }
.quote--feature { background: linear-gradient(158deg, var(--neon-2), var(--neon)); border-color: transparent; color: var(--neon-ink); box-shadow: 0 24px 54px rgba(56,252,130,.32); }
.quote--feature .quote__stars { color: var(--neon-ink); }
.quote--feature p { color: var(--neon-ink); }
.quote--feature footer strong { color: var(--neon-ink); }
.quote--feature footer span { color: rgba(6,20,12,.72); }
.quote--feature:hover { border-color: transparent; transform: translateY(-6px); box-shadow: 0 30px 64px rgba(56,252,130,.4); }

/* ============ Problema (AIDA · Interés) ============ */
.pains { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.pain { display: flex; gap: 14px; align-items: flex-start; background: linear-gradient(165deg, #17191f 0%, #101216 70%); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 22px 22px; transition: border-color .3s var(--ease); }
.pain:hover { border-color: rgba(255,107,107,.35); }
.pain__x { flex: none; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,107,107,.14); color: #ff8080; font-size: .8rem; font-weight: 700; margin-top: 1px; }
.pain p { margin: 0; color: var(--muted); font-size: .96rem; line-height: 1.6; }
.pain strong { color: var(--text); }
.pains__close { text-align: center; margin: 42px auto 0; max-width: 680px; font-family: "Space Grotesk", sans-serif; font-weight: 700; font-size: clamp(1.15rem, 2.4vw, 1.6rem); line-height: 1.4; }

/* ============ Selector de idioma ============ */
.lang { display: inline-flex; align-items: center; gap: 6px; font-family: "Space Grotesk", sans-serif; font-weight: 700; font-size: .78rem; letter-spacing: .06em; }
.lang a { color: var(--muted); padding: 5px 8px; border-radius: 6px; transition: color .2s var(--ease), background .2s var(--ease); }
.lang a:hover { color: var(--text); }
.lang a.is-active { color: var(--neon-ink); background: var(--neon); }
.lang span { color: var(--line-2); }

/* ============ FAQ ============ */
.faq { max-width: 860px; margin-inline: auto; display: grid; gap: 12px; }
.faq__item { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; transition: border-color .3s var(--ease); }
.faq__item[open] { border-color: var(--neon-line); }
.faq__item summary { cursor: pointer; list-style: none; padding: 20px 24px; font-family: "Space Grotesk", sans-serif; font-weight: 700; font-size: 1rem; display: flex; justify-content: space-between; align-items: center; gap: 16px; text-align: left; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: "+"; color: var(--neon); font-size: 1.6rem; line-height: 1; flex: none; transition: transform .3s var(--ease); }
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__item p { color: var(--muted); margin: 0; padding: 0 24px 22px; font-size: .96rem; line-height: 1.72; text-align: left; }
.faq__item strong { color: var(--text); }

/* ============ CTA final MASIVO ============ */
.cta { position: relative; padding: clamp(90px, 12vw, 170px) 0; overflow: hidden; background: var(--bg-2); text-align: center; }
.cta__mega { position: relative; z-index: 2; font-size: clamp(2.6rem, 12vw, 10rem); line-height: 1.04; margin: 0; }
.cta__mega .l2 { display: block; margin-top: .08em; }
.cta__row { position: relative; z-index: 2; display: flex; justify-content: center; align-items: center; gap: 20px; flex-wrap: wrap; margin: 40px 0 10px; }
.pill-rot { background: var(--surface); border: 1px solid var(--line-2); border-radius: 999px; padding: 16px 26px; font-family: "Space Grotesk", sans-serif; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; font-size: .84rem; display: inline-flex; align-items: center; gap: 10px; transition: transform .4s var(--ease), border-color .3s; }
.pill-rot--l { transform: rotate(-6deg); }
.pill-rot--r { transform: rotate(6deg); }
.pill-rot:hover { transform: rotate(0) translateY(-4px); border-color: var(--neon); color: var(--neon); }
.cta__sub { position: relative; z-index: 2; color: var(--muted); margin-top: 20px; font-size: 1.05rem; }

/* CTA con formulario (secundario, tras el mega) */
.contact { position: relative; z-index: 2; padding: clamp(70px, 8vw, 110px) 0; background: var(--bg); }
.contact__inner { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 60px); align-items: center; }
.contact__copy h2 { font-size: clamp(2rem, 4vw, 3rem); margin: 0 0 16px; }
.contact__copy p { color: var(--muted); font-size: 1.05rem; margin: 0 0 24px; }
.contact__points { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.contact__points li { position: relative; padding-left: 30px; font-weight: 500; }
.contact__points li::before { content: "→"; position: absolute; left: 0; color: var(--neon); font-weight: 800; }

/* ============ Formulario ============ */
.form { background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--radius); padding: 36px 32px; box-shadow: var(--shadow); }
.field { margin-bottom: 16px; }
.field label { display: block; font-family: "Space Grotesk", sans-serif; font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 8px; }
.field label span { color: var(--muted); font-weight: 500; text-transform: none; letter-spacing: 0; }
.field input, .field select, .field textarea { width: 100%; padding: 14px 16px; border-radius: var(--radius-sm); background: var(--bg); border: 1px solid var(--line-2); color: var(--text); font-family: inherit; font-size: .95rem; transition: border-color .2s var(--ease), box-shadow .2s var(--ease); }
.field input::placeholder, .field textarea::placeholder { color: #626a67; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--neon); box-shadow: 0 0 0 3px var(--neon-soft); }
.field textarea { resize: vertical; min-height: 80px; }
.form button { margin-top: 8px; }
.form__hint { text-align: center; color: var(--muted); font-size: .8rem; margin: 14px 0 0; }
.field__consent { display: flex; gap: 11px; align-items: flex-start; margin: 4px 0 16px; font-size: .84rem; color: var(--muted); line-height: 1.55; cursor: pointer; text-align: left; }
.field__consent input { width: 18px; height: 18px; accent-color: var(--neon); flex: none; margin-top: 2px; cursor: pointer; }
.field__consent a { color: var(--neon); text-decoration: underline; }

/* ============ Footer ============ */
.footer { background: var(--bg-2); border-top: 1px solid var(--line); padding-top: 64px; position: relative; z-index: 2; }
.footer__inner { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 32px; padding-bottom: 44px; }
.footer__brand { display: flex; justify-content: center; align-items: center; }
.footer__logo { height: clamp(58px, 14vw, 80px); }
.footer__cols { display: flex; flex-wrap: wrap; justify-content: center; gap: 30px clamp(40px, 6vw, 80px); }
.footer__col h4 { font-family: "Space Grotesk", sans-serif; text-transform: uppercase; letter-spacing: .1em; font-size: .78rem; color: var(--muted); margin: 0 0 14px; }
.footer__col a { display: block; color: var(--text); margin-bottom: 10px; transition: color .2s var(--ease); font-size: .95rem; }
.footer__col a:hover { color: var(--neon); }
.footer__bottom { border-top: 1px solid var(--line); padding: 24px 0; color: var(--muted); font-size: .82rem; text-align: center; }

/* ============ Cohete (scroll) ============ */
.rocket { position: fixed; left: 0; top: 0; width: clamp(300px, 46vw, 520px); z-index: 85; pointer-events: none; opacity: 0; will-change: transform, opacity; transform: translate3d(-999px,0,0); backface-visibility: hidden; }

/* ============ Botón flotante WhatsApp ============ */
.wa-float { position: fixed; right: 22px; bottom: 22px; z-index: 190; width: 62px; height: 62px; border-radius: 50%; background: var(--wa); color: #fff; display: grid; place-items: center; box-shadow: 0 14px 34px rgba(37,211,102,.5); transition: transform .3s var(--ease); animation: waPulse 2.8s var(--ease) infinite; }
.wa-float:hover { transform: scale(1.1); }
@keyframes waPulse { 0%,100% { box-shadow: 0 14px 34px rgba(37,211,102,.5), 0 0 0 0 rgba(37,211,102,.4); } 50% { box-shadow: 0 14px 34px rgba(37,211,102,.5), 0 0 0 16px rgba(37,211,102,0); } }

/* ============ Página de pago exitoso ============ */
.success { min-height: 100vh; display: grid; place-items: center; padding: 130px 0 70px; position: relative; z-index: 2; overflow: hidden; }
.success > .container { position: relative; z-index: 2; }
.success__card { max-width: 640px; margin-inline: auto; text-align: center; background: linear-gradient(165deg, #171a1f 0%, #101216 70%); border: 1px solid var(--line-2); border-radius: var(--radius-lg); padding: clamp(30px, 6vw, 54px) clamp(24px, 5vw, 48px); box-shadow: var(--shadow); }
.success__check { width: 96px; height: 96px; margin: 0 auto 26px; border-radius: 50%; display: grid; place-items: center; background: var(--neon); color: var(--neon-ink); box-shadow: 0 16px 44px rgba(56,252,130,.4); animation: successPop .6s var(--ease) both; }
@keyframes successPop { 0% { transform: scale(.5); opacity: 0; } 60% { transform: scale(1.08); } 100% { transform: scale(1); opacity: 1; } }
.success__check svg { animation: successDraw .5s .25s var(--ease) both; }
@keyframes successDraw { from { opacity: 0; transform: scale(.6); } to { opacity: 1; transform: scale(1); } }
.success h1 { font-family: "Anton", "Archivo Black", sans-serif; text-transform: uppercase; font-size: clamp(1.9rem, 5.2vw, 3rem); line-height: 1.05; margin: 0 0 14px; }
.success__lead { color: var(--muted); font-size: 1.05rem; line-height: 1.65; margin: 0 0 30px; }
.success__lead strong { color: var(--text); }
.success__steps { list-style: none; padding: 0; margin: 0 0 32px; display: grid; gap: 14px; text-align: left; }
.success__steps li { position: relative; padding-left: 34px; color: var(--muted); font-size: .96rem; line-height: 1.6; }
.success__steps li::before { content: "✓"; position: absolute; left: 0; top: 0; width: 22px; height: 22px; border-radius: 50%; background: var(--neon-soft); color: var(--neon); display: grid; place-items: center; font-size: .74rem; font-weight: 800; }
.success__steps strong { color: var(--text); }
.success__ref { display: none; margin: 0 0 28px; padding: 16px 18px; background: var(--bg); border: 1px dashed var(--line-2); border-radius: var(--radius-sm); text-align: left; }
.success__ref.is-visible { display: block; }
.success__ref h2 { font-family: "Space Grotesk", sans-serif; font-size: .74rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin: 0 0 10px; }
.success__ref dl { margin: 0; display: grid; gap: 6px; font-size: .84rem; }
.success__ref div { display: flex; gap: 8px; flex-wrap: wrap; }
.success__ref dt { color: var(--muted); }
.success__ref dd { margin: 0; color: var(--text); font-family: "Space Grotesk", sans-serif; word-break: break-all; }
.success__note { color: var(--muted); font-size: .84rem; line-height: 1.6; margin: 26px 0 0; }
.success__note a { color: var(--neon); }
.success__home { display: inline-block; margin-top: 18px; color: var(--muted); font-size: .9rem; }
.success__home:hover { color: var(--neon); }

/* ============ Consentimiento de cookies ============ */
.cc { position: fixed; left: 0; right: 0; bottom: 0; z-index: 300; display: none; padding: 16px; }
.cc.is-open { display: block; }
.cc__banner, .cc__panel { max-width: 900px; margin: 0 auto; background: rgba(17,19,22,.97); backdrop-filter: blur(14px); border: 1px solid var(--line-2); border-radius: var(--radius); padding: 22px 24px; box-shadow: var(--shadow); }
.cc__text { margin: 0 0 16px; color: var(--muted); font-size: .95rem; line-height: 1.55; }
.cc__text a, .cc__legal a { color: var(--neon); text-decoration: underline; }
.cc__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.cc__btn { font-family: "Space Grotesk", sans-serif; font-weight: 700; font-size: .88rem; padding: 12px 22px; border-radius: 999px; border: 1px solid var(--line-2); background: transparent; color: var(--text); cursor: pointer; transition: border-color .2s var(--ease), color .2s var(--ease), background .2s var(--ease); }
.cc__btn:hover { border-color: var(--neon); color: var(--neon); }
/* "Rechazar" con el mismo peso visual que "Aceptar" (exigencia AEPD/EDPB) */
.cc__btn--primary { background: var(--neon); color: var(--neon-ink); border-color: var(--neon); }
.cc__btn--primary:hover { background: var(--neon-2); color: var(--neon-ink); border-color: var(--neon-2); }
.cc__btn--ghost { opacity: .85; }
.cc__panel h3 { font-family: "Space Grotesk", sans-serif; text-transform: uppercase; letter-spacing: .04em; font-size: 1.05rem; margin: 0 0 16px; }
.cc__row { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 13px 0; border-top: 1px solid var(--line); cursor: pointer; }
.cc__row span { display: flex; flex-direction: column; gap: 3px; }
.cc__row strong { font-size: .95rem; }
.cc__row small { color: var(--muted); font-size: .82rem; }
.cc__row input { width: 20px; height: 20px; accent-color: var(--neon); flex: none; cursor: pointer; }
.cc__row--fixed { opacity: .75; cursor: default; }
.cc__panel .cc__actions { margin-top: 18px; }
.cc__legal { margin: 16px 0 0; font-size: .8rem; color: var(--muted); }
@media (max-width: 560px) { .cc { padding: 10px; } .cc__banner, .cc__panel { padding: 18px 18px 20px; } .cc__btn { flex: 1 1 auto; text-align: center; } }

/* ============ Páginas legales ============ */
.legal { padding: 150px 0 90px; position: relative; z-index: 2; }
.legal__inner { max-width: 820px; margin-inline: auto; }
.legal h1 { font-family: "Anton", "Archivo Black", sans-serif; text-transform: uppercase; font-size: clamp(2rem, 5vw, 3.4rem); line-height: 1.05; margin: 0 0 10px; }
.legal__updated { color: var(--muted); font-size: .88rem; margin: 0 0 34px; }
.legal h2 { font-family: "Space Grotesk", sans-serif; font-weight: 700; text-transform: uppercase; letter-spacing: .03em; font-size: 1.2rem; color: var(--neon); margin: 38px 0 12px; }
.legal h3 { font-family: "Space Grotesk", sans-serif; font-weight: 700; font-size: 1rem; margin: 22px 0 8px; }
.legal p, .legal li { color: var(--muted); font-size: .97rem; line-height: 1.75; }
.legal strong { color: var(--text); }
.legal a { color: var(--neon); text-decoration: underline; }
/* Los botones dentro de las páginas legales mantienen su color propio (si no, quedaban verde sobre verde) */
.legal a.btn, .legal a.btn:hover, .legal a.btn:visited { color: var(--neon-ink); text-decoration: none; }
.legal a.btn--ghost, .legal a.btn--ghost:visited { color: var(--text); }
.legal a.btn--ghost:hover { color: var(--neon-ink); }
.legal a.legal__back { color: var(--muted); text-decoration: none; }
.legal a.legal__back:hover { color: var(--neon); }
.legal ul { padding-left: 20px; margin: 10px 0 16px; }
.legal li { margin-bottom: 7px; }
.legal__box { background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--radius); padding: 22px 24px; margin: 18px 0; }
.legal__table { width: 100%; border-collapse: collapse; margin: 16px 0 22px; font-size: .88rem; display: block; overflow-x: auto; }
.legal__table th, .legal__table td { border: 1px solid var(--line-2); padding: 10px 12px; text-align: left; vertical-align: top; }
.legal__table th { background: var(--surface); font-family: "Space Grotesk", sans-serif; text-transform: uppercase; font-size: .76rem; letter-spacing: .05em; color: var(--text); }
.legal__table td { color: var(--muted); }
.legal__back { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 26px; color: var(--muted); font-size: .9rem; }
.legal__back:hover { color: var(--neon); }
.legal .placeholder { color: #ffcf6b; background: rgba(255,207,107,.1); border: 1px dashed rgba(255,207,107,.45); border-radius: 6px; padding: 1px 7px; font-size: .9em; }

/* ============ Reveal ============ */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
[data-stagger] > * { opacity: 0; transform: translateY(30px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
[data-stagger].is-visible > * { opacity: 1; transform: none; }
[data-stagger].is-visible > *:nth-child(1){transition-delay:.05s}
[data-stagger].is-visible > *:nth-child(2){transition-delay:.13s}
[data-stagger].is-visible > *:nth-child(3){transition-delay:.21s}
[data-stagger].is-visible > *:nth-child(4){transition-delay:.29s}
[data-stagger].is-visible > *:nth-child(5){transition-delay:.37s}
[data-stagger].is-visible > *:nth-child(6){transition-delay:.45s}

/* ============ Responsive ============ */
@media (max-width: 1000px) {
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .pains { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .hero__inner { grid-template-columns: 1fr; text-align: center; }
  .hero__content { order: 2; }
  .hero__content .eyebrow { justify-content: center; }
  .hero__sub { margin-inline: auto; }
  .hero__cta { justify-content: center; }
  .hero__badges { justify-content: center; }
  .hero__media { order: 1; }
  .hero__photo { max-width: 460px; margin-inline: auto; }
  .stats__lead { text-align: center; }
  .stats__lead .eyebrow { justify-content: center; }
  .about { grid-template-columns: 1fr; }
  .about__media { order: -1; }
  .about__copy { text-align: center; }
  .about__copy .eyebrow { justify-content: center; }
  .about__list { width: max-content; max-width: 100%; margin-inline: auto; text-align: left; gap: 16px; }
  .stats { grid-template-columns: 1fr; }
  .contact__inner { grid-template-columns: 1fr; }
  .contact__copy { text-align: center; }
  .contact__copy .eyebrow { justify-content: center; }
  .contact__points { width: max-content; max-width: 100%; margin-inline: auto; text-align: left; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
  .smoke { opacity: .26; }
}
@media (max-width: 640px) {
  .nav__links { position: fixed; inset: 64px 0 auto 0; flex-direction: column; gap: 0; background: rgba(6,7,8,.98); backdrop-filter: blur(18px); border-bottom: 1px solid var(--line); padding: 12px 24px 22px; transform: translateY(-140%); transition: transform .4s var(--ease); }
  .nav__links.is-open { transform: translateY(0); }
  .nav__links a { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: .95rem; }
  .nav__toggle { display: flex; }
  .nav .btn--sm { display: none; }
  .nav__mark { height: 32px; }
  .nav__brand strong { font-size: .82rem; letter-spacing: 0; }
  .nav__brand small { font-size: .52rem; letter-spacing: .2em; }
  .grid--3, .steps, .pains { grid-template-columns: 1fr; }
  .pill-float, .seal { display: none; }
  .lang { order: 3; }
  body::after { display: none; }   /* grano: mix-blend-mode a pantalla completa es caro al scrollear */
  .smoke { opacity: .22; }         /* humo activo en móvil: solo se mueve, no se recalcula */
  .blob { opacity: .38; }          /* blobs activos: el desenfoque es estático, se mueve el contenedor */
  .hero { padding-top: 124px; }
  .hero__title { font-size: clamp(2.7rem, 13vw, 4rem); }
  .hero__photo { max-width: 100%; }
  .hero__photo img { max-width: 460px; }
  .about__photo { width: min(100%, 600px); }
  #sobremi .about { gap: 12px; }
  .blob { opacity: .35; }
  .marquee__track span { font-size: 1.5rem; }
}

/* Ajuste fino de la escena 3D en pantallas pequeñas */
@media (max-width: 520px) {
  .scene3d { max-width: 330px; }
  .scene3d__card { font-size: .7rem; padding: 9px 12px; gap: 8px; }
  .scene3d__card small { font-size: .61rem; }
  .scene3d__card i { width: 22px; height: 22px; }
  .scene3d__card--a { left: 0; top: 6%; }
  .scene3d__card--b { right: 0; }
  .scene3d__card--c { left: 2%; bottom: 6%; }
}

/* ============ Reduce motion ============ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; scroll-behavior: auto; transition-duration: .01ms !important; }
  .reveal, [data-stagger] > *, .hero__title .word > span { opacity: 1; transform: none; }
  .cursor, .cursor-ring, .rocket { display: none !important; }
  body.has-cursor { cursor: auto; }
  .pricing { scroll-behavior: auto; }
  /* Grunge y parallax: todo el movimiento se apaga */
  .depth, .blob, .ink, .scene3d__card, .section--grit::before { animation: none !important; transform: none !important; }
  .section__title:hover, .hero__title:hover { animation: none !important; }
  .scene3d__orbit, .scene3d__core, .scene3d__pulse, .scene3d__card { animation: none !important; }
  .scene3d__orbit--1 { transform: rotateX(74deg); }
  .scene3d__orbit--2 { transform: rotateX(70deg) rotateY(16deg); }
  .scene3d__orbit--3 { transform: rotateX(78deg) rotateY(-12deg); }
}

/* ============================================================
   TESTIMONIOS EN VIDEO — avatar circular con play + lightbox
   El avatar siempre se ve (iniciales o foto). El botón de play
   solo aparece si la tarjeta tiene data-video con ruta.
   ============================================================ */
.quote__by { display: flex; align-items: center; gap: 14px; margin-top: 18px; }
.quote__who { display: flex; flex-direction: column; line-height: 1.35; }
.quote__who strong { font-size: 1rem; color: #fff; }
.quote__who span { font-size: .84rem; color: var(--muted); }

.vplay {
  position: relative; flex: 0 0 auto;
  width: 88px; height: 88px; border-radius: 50%;
  border: 2px solid rgba(56, 252, 130, .35);
  background: linear-gradient(145deg, #1a1d21, #0c0e10);
  color: var(--neon); padding: 0; overflow: visible;
  display: grid; place-items: center;
  font-family: "Archivo Black", sans-serif; font-size: 1.4rem; letter-spacing: .02em;
  cursor: default;
}
.vplay img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; display: block; }

/* Estado con video disponible */
.vplay.is-video { cursor: pointer; border-color: var(--neon); }
.vplay.is-video::after {
  content: ""; position: absolute; inset: -5px; border-radius: 50%;
  border: 1.5px solid rgba(56, 252, 130, .45);
  animation: vpulse 2.4s ease-out infinite;
}
@keyframes vpulse {
  0%   { transform: scale(1);    opacity: .9; }
  70%  { transform: scale(1.18); opacity: 0; }
  100% { transform: scale(1.18); opacity: 0; }
}
.vplay__badge {
  position: absolute; right: -2px; bottom: -2px;
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--neon); color: var(--neon-ink);
  display: grid; place-items: center;
  box-shadow: 0 4px 14px rgba(56, 252, 130, .45);
  transition: transform .25s var(--ease);
}
.vplay.is-video:hover .vplay__badge,
.vplay.is-video:focus-visible .vplay__badge { transform: scale(1.15); }
.vplay.is-video:focus-visible { outline: 2px solid var(--neon); outline-offset: 4px; }

/* Lightbox */
.vmodal { position: fixed; inset: 0; z-index: 120; display: grid; place-items: center; padding: 20px; }
.vmodal[hidden] { display: none; }
.vmodal__backdrop { position: absolute; inset: 0; background: rgba(4, 6, 7, .88); backdrop-filter: blur(6px); }
.vmodal__box {
  position: relative; width: auto; max-width: 96vw;
  background: #0b0d0f; border: 1px solid rgba(56, 252, 130, .25);
  border-radius: 20px; padding: 12px; text-align: center;
  animation: vin .3s var(--ease) both;
}
@keyframes vin { from { opacity: 0; transform: translateY(16px) scale(.97); } }
.vmodal__box video {
  display: block; margin: 0 auto; border-radius: 12px; background: #000;
  max-width: 94vw; max-height: 82vh;   /* el video se muestra lo más grande que quepa */
  width: auto; height: auto;
}
@media (max-width: 700px) {
  .vmodal { padding: 10px; }
  .vmodal__box { max-width: 98vw; padding: 8px; }
  .vmodal__box video { max-width: 96vw; max-height: 80vh; }
}
.vmodal__name { margin-top: 10px; font-size: .95rem; color: #fff; font-weight: 600; }
.vmodal__hint { margin-top: 2px; font-size: .78rem; color: var(--muted); }
.vmodal__close {
  position: absolute; top: -14px; right: -14px; z-index: 2;
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--neon); color: var(--neon-ink); border: 0;
  display: grid; place-items: center; cursor: pointer;
}
@media (max-width: 560px) { .vmodal__close { top: -10px; right: -6px; } }

@media (prefers-reduced-motion: reduce) {
  .vplay.is-video::after { animation: none; }
  .vmodal__box { animation: none; }
}

/* ============================================================
   CTA DE CIERRE DE SECCIÓN
   Cierra los tramos largos que antes no ofrecían ninguna acción:
   el visitante convencido a mitad de página ya tiene dónde tocar.
   ============================================================ */
.section__cta {
  margin-top: 56px; text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 16px;
}
.section__cta p {
  margin: 0; color: var(--muted);
  font-size: clamp(1.02rem, 1.6vw, 1.18rem); max-width: 30ch;
}
@media (max-width: 620px) {
  .section__cta { margin-top: 40px; }
  .section__cta .btn { width: 100%; max-width: 340px; justify-content: center; }
}
