@font-face { font-family: 'Funnel Display'; src: url('funnel-display.woff2') format('woff2'); font-weight: 300 800; font-display: swap; }
@font-face { font-family: 'Geist'; src: url('geist.woff2') format('woff2'); font-weight: 100 900; font-display: swap; }

:root {
  --white: #FFFFFF;
  --soft: #B9B7C6;
  --line: #24222E;
  --neon: #B14EFF;
  --neon-light: #D48CFF;
  --neon-deep: #6A2BFF;
  --glow: 0 0 10px rgba(177, 78, 255, .9), 0 0 28px rgba(177, 78, 255, .55);
  --text-glow: 0 0 12px rgba(177, 78, 255, .85), 0 0 34px rgba(177, 78, 255, .5);
  --display: 'Funnel Display', 'Helvetica Neue', Arial, sans-serif;
  --text: 'Geist', 'Helvetica Neue', Arial, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { background: #000; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { background: #000; color: var(--soft); font-family: var(--text); font-size: 17px; line-height: 1.6; overflow-x: clip; }
a { color: inherit; text-decoration: none; }
ol { list-style: none; }
em { font-style: normal; color: var(--neon-light); text-shadow: var(--text-glow); }
:focus-visible { outline: 2px solid var(--neon-light); outline-offset: 4px; border-radius: 4px; }
section[id] { scroll-margin-top: 24px; }

/* Barra de avance */
.progress { position: fixed; inset: 0 0 auto; height: 2px; z-index: 5; background: linear-gradient(90deg, var(--neon-deep), var(--neon-light)); box-shadow: var(--glow); transform: scaleX(0); transform-origin: left; }
@supports (animation-timeline: scroll()) {
  .progress { animation: grow linear both; animation-timeline: scroll(root); }
}
@keyframes grow { to { transform: scaleX(1); } }

/* Portada */
.hero { position: relative; isolation: isolate; overflow: hidden; min-height: 100svh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 40px 24px 84px; }
.aura { position: absolute; z-index: -1; top: 50%; left: 50%; width: 1100px; height: 1100px; margin: -550px 0 0 -550px; background: radial-gradient(circle at 36% 40%, rgba(106, 43, 255, .34), transparent 42%), radial-gradient(circle at 66% 62%, rgba(177, 78, 255, .26), transparent 40%); animation: drift 16s ease-in-out infinite alternate; }
@keyframes drift {
  from { transform: rotate(-12deg) scale(.92); }
  to { transform: rotate(16deg) scale(1.08); }
}

.logo-wrap { position: relative; width: min(340px, 68vw, 42svh); animation: rise 1s cubic-bezier(.2, .8, .2, 1) both; }
.logo-wrap::before { content: ""; position: absolute; inset: 8%; z-index: -1; border-radius: 50%; background: radial-gradient(circle, rgba(177, 78, 255, .6), transparent 68%); animation: breathe 4s ease-in-out infinite; }
.logo { display: block; width: 100%; height: auto; animation: float 7s ease-in-out infinite; }
.orbit { position: absolute; inset: 2%; border-radius: 50%; border: 1px solid rgba(177, 78, 255, .22); animation: spin 14s linear infinite; }
.orbit::before { content: ""; position: absolute; top: -3px; left: 50%; width: 6px; height: 6px; margin-left: -3px; border-radius: 50%; background: var(--neon-light); box-shadow: var(--glow); }
@keyframes breathe {
  0%, 100% { opacity: .55; transform: scale(.94); }
  50% { opacity: 1; transform: scale(1.1); }
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-9px); }
}
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes rise {
  from { opacity: 0; transform: translateY(22px) scale(.94); }
  to { opacity: 1; transform: none; }
}

.wordmark { color: var(--white); font-size: 14px; font-weight: 500; letter-spacing: .42em; margin: 6px 0 34px; padding-left: .42em; text-transform: uppercase; animation: rise .9s .15s cubic-bezier(.2, .8, .2, 1) both; }
h1 { color: var(--white); font-family: var(--display); font-size: clamp(34px, 4.6vw, 56px); font-weight: 600; letter-spacing: -.02em; line-height: 1.08; max-width: 18ch; text-wrap: balance; animation: rise .9s .3s cubic-bezier(.2, .8, .2, 1) both; }
h1 em { animation: flicker 1.5s .9s linear both; }
@keyframes flicker {
  0%, 18%, 24%, 52%, 58% { opacity: .25; text-shadow: none; }
  20%, 22%, 54%, 56%, 100% { opacity: 1; text-shadow: var(--text-glow); }
}
.promise { margin-top: 18px; font-size: 18px; max-width: 34ch; text-wrap: balance; animation: rise .9s .45s cubic-bezier(.2, .8, .2, 1) both; }

.cue { position: absolute; bottom: 26px; left: 50%; width: 44px; height: 44px; margin-left: -22px; display: grid; place-items: center; }
.cue span { display: block; width: 14px; height: 14px; border-right: 2px solid var(--neon-light); border-bottom: 2px solid var(--neon-light); filter: drop-shadow(0 0 6px var(--neon)); animation: nudge 1.8s ease-in-out infinite; }
@keyframes nudge {
  0%, 100% { opacity: .45; transform: translateY(-5px) rotate(45deg); }
  50% { opacity: 1; transform: translateY(3px) rotate(45deg); }
}

/* Secciones: etiqueta a la izquierda, contenido a la derecha */
section { position: relative; display: grid; grid-template-columns: 190px minmax(0, 1fr); column-gap: 40px; width: min(1040px, 100% - 48px); margin-inline: auto; padding-block: 84px; }
section::before { content: ""; position: absolute; inset: 0 0 auto; height: 1px; background: linear-gradient(90deg, transparent, var(--neon) 50%, transparent); opacity: .55; }
h2 { color: var(--neon-light); font-family: var(--text); font-size: 15px; font-weight: 500; padding-top: 8px; text-shadow: 0 0 14px rgba(177, 78, 255, .8); }
.statement { color: var(--white); font-family: var(--display); font-size: clamp(26px, 3vw, 36px); font-weight: 500; letter-spacing: -.015em; line-height: 1.22; text-wrap: pretty; }
.body { margin-top: 20px; max-width: 58ch; }
.fine { margin-top: 20px; font-size: 14.5px; }

/* Servicios */
.rows { counter-reset: fila; }
.rows li { position: relative; counter-increment: fila; display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; column-gap: 12px; row-gap: 4px; padding-block: 24px; border-bottom: 1px solid var(--line); }
.rows li:first-child { padding-top: 6px; }
.rows li::before { content: "0" counter(fila); grid-row: 1; color: var(--neon-light); font-family: var(--display); font-size: 15px; line-height: 27px; text-shadow: 0 0 12px rgba(177, 78, 255, .8); }
.rows li::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: linear-gradient(90deg, var(--neon-light), var(--neon-deep)); box-shadow: var(--glow); transform: scaleX(0); transform-origin: left; transition: transform .45s cubic-bezier(.2, .8, .2, 1); }
.rows li:hover::after { transform: scaleX(1); }
.rows h3 { grid-column: 2; color: var(--white); font-family: var(--display); font-size: 21px; font-weight: 500; line-height: 1.3; transition: color .25s, text-shadow .25s; }
.rows li:hover h3 { color: var(--neon-light); text-shadow: var(--text-glow); }
.rows p { grid-column: 2; max-width: 52ch; }
.rows span { grid-column: 3; grid-row: 1; color: var(--white); font-size: 15px; line-height: 1.8; white-space: nowrap; }

/* Ejemplo: línea de tiempo */
.steps { position: relative; margin-top: 36px; }
.steps::before { content: ""; position: absolute; top: 12px; bottom: 26px; left: 4px; width: 1px; background: linear-gradient(180deg, var(--neon-light), var(--neon-deep)); box-shadow: var(--glow); }
.steps li { position: relative; display: grid; grid-template-columns: 96px minmax(0, 1fr); column-gap: 12px; padding: 0 0 22px 32px; }
.steps li::before { content: ""; position: absolute; top: 8px; left: 0; width: 9px; height: 9px; border-radius: 50%; background: var(--neon-light); box-shadow: var(--glow); }
.steps h3 { color: var(--white); font-family: var(--display); font-size: 17px; font-weight: 500; line-height: 1.6; }

/* Contacto */
.closing { grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); column-gap: 64px; align-items: start; padding-block: 104px; }
.closing h2 { color: var(--white); font-family: var(--display); font-size: clamp(32px, 4.2vw, 50px); font-weight: 600; letter-spacing: -.02em; line-height: 1.1; padding-top: 0; text-shadow: none; }
.closing-text p { margin-top: 18px; font-size: 18px; }

.form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; padding: 28px; border: 1px solid rgba(177, 78, 255, .45); border-radius: 18px; box-shadow: 0 0 44px rgba(106, 43, 255, .28), inset 0 0 28px rgba(106, 43, 255, .1); }
.wide { grid-column: 1 / -1; }
.field label { display: block; margin-bottom: 7px; color: var(--white); font-size: 14.5px; font-weight: 500; }
.field input, .field textarea { display: block; width: 100%; padding: 13px 14px; background: #0B0912; border: 1px solid #3A3648; border-radius: 10px; color: var(--white); font: inherit; font-size: 16px; line-height: 1.45; resize: vertical; transition: border-color .2s, box-shadow .2s; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--neon-light); box-shadow: var(--glow); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form .fine { margin-top: -4px; text-align: center; font-size: 13.5px; }
.form-error { grid-column: 1 / -1; padding: 12px 14px; border: 1px solid var(--neon-light); border-radius: 10px; color: var(--white); font-size: 15px; }

.btn { display: block; padding: 16px 28px; background: linear-gradient(100deg, #5A1FE0, #8A2BF0, #5A1FE0, #8A2BF0, #5A1FE0); background-size: 300% 100%; border: 0; border-radius: 12px; color: var(--white); cursor: pointer; font: inherit; font-size: 16.5px; font-weight: 600; text-shadow: 0 1px 6px rgba(40, 0, 90, .75); box-shadow: var(--glow); animation: sweep 6s linear infinite, pulse 3s ease-in-out infinite; transition: transform .2s; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
@keyframes sweep {
  from { background-position: 0% 0; }
  to { background-position: 300% 0; }
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 10px rgba(177, 78, 255, .7), 0 0 24px rgba(177, 78, 255, .4); }
  50% { box-shadow: 0 0 16px rgba(177, 78, 255, 1), 0 0 44px rgba(177, 78, 255, .7); }
}

.sent { padding: 40px 28px; border: 1px solid var(--neon); border-radius: 18px; box-shadow: var(--glow); text-align: center; }
.sent-t { color: var(--white); font-family: var(--display); font-size: 30px; font-weight: 600; text-shadow: var(--text-glow); }

footer { position: relative; width: min(1040px, 100% - 48px); margin-inline: auto; padding: 26px 0 40px; text-align: center; font-size: 14px; }
footer::before { content: ""; position: absolute; inset: 0 0 auto; height: 1px; background: linear-gradient(90deg, transparent, var(--neon) 50%, transparent); opacity: .55; }
footer a:hover { color: var(--neon-light); }

/* Aparición al hacer scroll. La clase .js solo existe si la animación puede completarse. */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s cubic-bezier(.2, .8, .2, 1), transform .7s cubic-bezier(.2, .8, .2, 1); }
.js .reveal.in { opacity: 1; transform: none; }
.js li.reveal:nth-child(2) { transition-delay: .08s; }
.js li.reveal:nth-child(3) { transition-delay: .16s; }
.js li.reveal:nth-child(4) { transition-delay: .24s; }
.js li.reveal:nth-child(5) { transition-delay: .32s; }

@media (max-width: 860px) {
  .closing { grid-template-columns: minmax(0, 1fr); row-gap: 32px; }
}

@media (max-width: 760px) {
  body { font-size: 16px; }
  section { grid-template-columns: minmax(0, 1fr); row-gap: 22px; padding-block: 60px; }
  h2 { padding-top: 0; }
  .rows li { grid-template-columns: 36px minmax(0, 1fr); }
  .rows span { grid-column: 2; grid-row: auto; margin-top: 6px; font-size: 14.5px; }
  .steps li { grid-template-columns: minmax(0, 1fr); }
  .closing { padding-block: 72px; }
}

@media (max-width: 560px) {
  .form { grid-template-columns: minmax(0, 1fr); padding: 20px; }
}

@media (max-height: 720px) {
  .hero { padding-block: 24px 64px; }
  .logo-wrap { width: min(68vw, 36svh); }
  .wordmark { margin-bottom: 20px; }
  .cue { bottom: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .progress { display: none; }
}
