/* Estilos de la portada (antes dentro de index.html) */
:root {
  --bg: #07080c;
  --bg-2: #0c0e14;
  --surface: #11141b;
  --surface-2: #161a23;
  --line: rgba(255, 255, 255, .08);
  --line-2: rgba(255, 255, 255, .14);
  --text: #eef1f6;
  --muted: #98a1b1;
  --accent: #c6ff3d;
  --accent-ink: #0b0e04;
  --accent-soft: rgba(198, 255, 61, .12);
  --cyan: #38e1ff;
  --wa: #25d366;
  --radius: 22px;
  --gutter: clamp(16px, 4vw, 40px);
  --max: 1200px;
  --header-h: 72px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --font-display: "Space Grotesk", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.05; margin: 0; letter-spacing: -.02em; }
p { margin: 0; }
::selection { background: var(--accent); color: var(--accent-ink); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(84px, 12vw, 150px) 0; position: relative; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-display);
  font-size: .8rem; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.2rem;
}
.eyebrow::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%;
  background: var(--accent); box-shadow: 0 0 14px var(--accent);
}
.h2 { font-size: clamp(2rem, 4.8vw, 3.6rem); max-width: 18ch; }
.lead { color: var(--muted); font-size: clamp(1rem, 1.4vw, 1.15rem); max-width: 56ch; margin-top: 1.2rem; }
.accent { color: var(--accent); }
.section-head { margin-bottom: clamp(44px, 6vw, 72px); }

/* ---------- Botones ---------- */
.btn {
  --h: 54px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: var(--h); padding: 0 26px;
  border-radius: 999px; border: 1px solid transparent;
  font-family: var(--font-display); font-weight: 600; font-size: 1rem;
  text-decoration: none; cursor: pointer;
  transition: transform .35s var(--ease), background .3s, border-color .3s, box-shadow .35s var(--ease), color .3s;
  white-space: nowrap;
}
.btn svg { width: 20px; height: 20px; flex: none; }
.btn--accent { background: var(--accent); color: var(--accent-ink); box-shadow: 0 10px 40px -12px rgba(198, 255, 61, .55); }
.btn--accent:hover { transform: translateY(-2px); box-shadow: 0 16px 50px -12px rgba(198, 255, 61, .75); }
.btn--ghost { border-color: var(--line-2); color: var(--text); background: rgba(255, 255, 255, .02); }
.btn--ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn--sm { --h: 42px; padding: 0 18px; font-size: .92rem; }
.btn--sm svg { width: 18px; height: 18px; }
.btn--lg { --h: 66px; padding: 0 36px; font-size: 1.12rem; }

/* ---------- Iconos ---------- */
.i { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.i--fill { fill: currentColor; stroke: none; }

/* ---------- Barra de progreso y cabecera ---------- */
.progress {
  position: fixed; inset: 0 0 auto 0; height: 2px; z-index: 60;
  background: linear-gradient(90deg, var(--accent), var(--cyan));
  transform-origin: left; transform: scaleX(var(--p, 0));
}
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  height: var(--header-h);
  transition: background .4s, border-color .4s, backdrop-filter .4s;
  border-bottom: 1px solid transparent;
}
.header.is-scrolled {
  background: rgba(7, 8, 12, .72);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-color: var(--line);
}
.header__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: #fff; }
.logo__mark { width: 44px; height: auto; flex: none; transition: color .3s; }
.logo:hover .logo__mark { color: var(--accent); }
.logo__text {
  font-family: var(--font-body); font-weight: 500;
  font-size: .78rem; letter-spacing: .26em; text-transform: uppercase; white-space: nowrap;
}
@media (max-width: 380px) { .logo__text { display: none; } }
.nav { display: flex; gap: 30px; }
.nav a { text-decoration: none; color: var(--muted); font-size: .95rem; transition: color .25s; }
.nav a:hover { color: var(--text); }
@media (max-width: 880px) { .nav { display: none; } }
@media (max-width: 420px) { .header .btn span { display: none; } .header .btn { padding: 0 13px; } }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  min-height: 100svh;
  padding: calc(var(--header-h) + clamp(32px, 6vw, 70px)) 0 0;
  display: flex; flex-direction: column;
}
.hero__bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero__grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 60% 35%, #000 20%, transparent 75%);
          mask-image: radial-gradient(ellipse 80% 70% at 60% 35%, #000 20%, transparent 75%);
  opacity: .55;
}
.hero__glow { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .5; }
.hero__glow--a { width: 520px; height: 520px; background: var(--accent); right: -120px; top: 6%; opacity: .16; animation: drift 16s ease-in-out infinite alternate; }
.hero__glow--b { width: 440px; height: 440px; background: var(--cyan); left: -160px; bottom: 4%; opacity: .12; animation: drift 20s ease-in-out infinite alternate-reverse; }
@keyframes drift { to { transform: translate(-60px, 50px) scale(1.12); } }

.hero__inner {
  flex: 1;
  display: grid; grid-template-columns: 1.08fr 1fr; align-items: center;
  gap: clamp(24px, 4vw, 60px);
}
.hero__title { font-size: clamp(2.7rem, 6.6vw, 5.6rem); line-height: .98; letter-spacing: -.035em; margin-bottom: 1.5rem; }
.hero__line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero__line > span { display: inline-block; animation: lineUp 1.1s var(--ease) both; }
.hero__line:nth-child(3) > span { animation-delay: .12s; }
.hero__line:nth-child(4) > span { animation-delay: .24s; }
.hero__eyebrow { display: flex; width: fit-content; line-height: 1.4; }
@keyframes lineUp { from { transform: translateY(105%); } to { transform: none; } }
.hero__text { color: var(--muted); font-size: clamp(1.05rem, 1.5vw, 1.22rem); max-width: 34rem; margin-bottom: 2.2rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__note { margin-top: 1.6rem; color: var(--muted); font-size: .9rem; display: flex; align-items: center; gap: 10px; }
.hero__note .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--wa); box-shadow: 0 0 0 4px rgba(37, 211, 102, .18); }
.fade-in { animation: fadeUp 1s var(--ease) both; }
.hero__text.fade-in { animation-delay: .4s; }
.hero__actions.fade-in { animation-delay: .52s; }
.hero__note.fade-in { animation-delay: .64s; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }

.hero__visual { position: relative; height: clamp(440px, 52vw, 640px); }
.hero-phone {
  --x: 0%; --y: 0%; --r: 0deg; --k: 0;
  position: absolute; left: 50%; top: 50%;
  width: clamp(150px, 17vw, 228px);
  transform: translate(-50%, -50%) translate(var(--x), calc(var(--y) + var(--sy, 0px) * var(--k))) rotate(var(--r));
}
.hero-phone > .phone { animation: phoneIn 1.3s var(--ease) both; }
.hero-phone--c { z-index: 3; --k: -.12; }
.hero-phone--l { z-index: 1; --x: -66%; --y: 7%; --r: -10deg; --k: .1; }
.hero-phone--r { z-index: 2; --x: 66%; --y: 5%; --r: 10deg; --k: .2; }
.hero-phone--l > .phone { animation-delay: .25s; }
.hero-phone--r > .phone { animation-delay: .4s; }
.hero-phone--l .phone__screen, .hero-phone--r .phone__screen { filter: brightness(.7); }
@keyframes phoneIn { from { opacity: 0; transform: translateY(70px) scale(.94); } to { opacity: 1; transform: none; } }

.chip {
  position: absolute; z-index: 4;
  display: inline-flex; align-items: center; gap: 9px;
  padding: 10px 15px; border-radius: 999px;
  background: rgba(17, 20, 27, .82);
  border: 1px solid var(--line-2);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  font-size: .85rem; font-weight: 500; white-space: nowrap;
  box-shadow: 0 14px 40px -14px rgba(0, 0, 0, .8);
  animation: chipIn .9s var(--ease) both, float 6s ease-in-out infinite;
}
.chip .i { width: 18px; height: 18px; color: var(--accent); }
.chip--1 { top: 8%; left: 0; animation-delay: .8s, 0s; }
.chip--2 { top: 30%; right: -4px; animation-delay: .95s, -1.5s; }
.chip--3 { bottom: 20%; left: -4px; animation-delay: 1.1s, -3s; }
.chip--4 { bottom: 5%; right: 6%; animation-delay: 1.25s, -4.5s; }
@keyframes chipIn { from { opacity: 0; scale: .8; } to { opacity: 1; scale: 1; } }
@keyframes float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }

.marquee {
  margin-top: clamp(40px, 6vw, 72px);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  overflow: hidden; padding: 18px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.marquee__track { display: flex; width: max-content; animation: marquee 40s linear infinite; }
.marquee__group { display: flex; flex: none; }
.marquee__group span {
  font-family: var(--font-display); font-size: clamp(1rem, 1.6vw, 1.25rem); font-weight: 500;
  color: var(--muted); padding: 0 26px; display: inline-flex; align-items: center; gap: 26px;
}
.marquee__group span::after { content: "✦"; color: var(--accent); font-size: .8em; }
@keyframes marquee { to { transform: translateX(-50%); } }

@media (max-width: 900px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__visual { height: 470px; margin-top: 12px; }
  .hero-phone { width: 170px; }
  .chip { font-size: .78rem; padding: 8px 12px; }
}
@media (max-width: 480px) {
  .hero__visual { height: 400px; }
  .hero-phone { width: 145px; }
  .hero__actions .btn { width: 100%; }
}

/* ---------- Mockup de celular ---------- */
.phone {
  position: relative;
  padding: 9px;
  border-radius: 40px;
  background: linear-gradient(160deg, #2a2e38, #0e1015 60%);
  box-shadow:
    inset 0 0 0 1.5px rgba(255, 255, 255, .14),
    inset 0 0 0 5px #05060a,
    0 40px 80px -30px rgba(0, 0, 0, .9),
    0 0 0 1px rgba(0, 0, 0, .6);
}
.phone::before, .phone::after {
  content: ""; position: absolute; width: 3px; border-radius: 3px; background: #2a2e38;
}
.phone::before { left: -3px; top: 22%; height: 9%; }
.phone::after { right: -3px; top: 28%; height: 14%; }
.phone__screen {
  position: relative; overflow: hidden;
  aspect-ratio: 1 / 2;
  border-radius: 32px;
  background: #000;
}
.phone__screen img, .phone__screen video { width: 100%; height: 100%; object-fit: cover; }
.phone__island {
  position: absolute; z-index: 2; top: 9px; left: 50%; transform: translateX(-50%);
  width: 30%; height: 20px; border-radius: 20px; background: #000;
}
.phone__toggle {
  position: absolute; inset: 0; z-index: 3; display: none;
  place-items: center; border: 0; background: rgba(0, 0, 0, .25); cursor: pointer; color: #fff;
}
.phone__toggle span {
  width: 64px; height: 64px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(7, 8, 12, .7); border: 1px solid var(--line-2);
}

/* ---------- Problema ---------- */
.problem__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.p-card {
  position: relative; padding: 34px 30px 32px;
  background: linear-gradient(180deg, var(--surface), var(--bg-2));
  border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden;
}
.p-card__num {
  font-family: var(--font-display); font-weight: 700; font-size: 4.2rem; line-height: 1;
  color: transparent; -webkit-text-stroke: 1px rgba(198, 255, 61, .45);
  margin-bottom: 26px; display: block;
}
.p-card h3 { font-size: 1.45rem; margin-bottom: .8rem; }
.p-card p { color: var(--muted); }
@media (max-width: 860px) { .problem__grid { grid-template-columns: 1fr; } }

/* ---------- Frase con palabras que se iluminan ---------- */
.statement { padding: clamp(60px, 10vw, 120px) 0; }
.statement__text {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(1.9rem, 5vw, 4rem); line-height: 1.12; letter-spacing: -.03em;
  max-width: 22ch;
}
.statement__text .w { opacity: .16; transition: opacity .35s linear; }
.statement__text .w.on { opacity: 1; }
.statement__text em { font-style: normal; color: var(--accent); }

/* ---------- Servicios ---------- */
.group {
  display: grid; grid-template-columns: minmax(240px, 1fr) 2fr;
  gap: clamp(24px, 4vw, 56px);
  padding: clamp(36px, 5vw, 56px) 0;
  border-top: 1px solid var(--line);
}
.group:last-child { border-bottom: 1px solid var(--line); }
.group__head { position: sticky; top: calc(var(--header-h) + 24px); align-self: start; }
.group__num { font-family: var(--font-display); font-weight: 600; color: var(--accent); font-size: .95rem; letter-spacing: .1em; display: block; margin-bottom: .8rem; }
.group__head h3 { font-size: clamp(1.6rem, 2.8vw, 2.2rem); margin-bottom: .8rem; }
.group__head p { color: var(--muted); max-width: 32ch; }
.group__list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.group__list--single { grid-template-columns: 1fr; }
.svc {
  --mx: 50%; --my: 0%;
  position: relative; overflow: hidden;
  display: flex; flex-direction: column;
  padding: 28px 26px 26px;
  background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--radius);
  transition: border-color .35s, transform .5s var(--ease);
}
.svc::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .4s;
  background: radial-gradient(380px circle at var(--mx) var(--my), rgba(198, 255, 61, .1), transparent 60%);
}
.svc:hover { border-color: rgba(198, 255, 61, .35); transform: translateY(-4px); }
.svc:hover::before { opacity: 1; }
.svc__icon {
  width: 50px; height: 50px; border-radius: 14px; margin-bottom: 22px;
  display: grid; place-items: center;
  background: var(--accent-soft); color: var(--accent);
  border: 1px solid rgba(198, 255, 61, .2);
}
.svc h4 { font-size: 1.25rem; margin-bottom: .6rem; line-height: 1.2; }
.svc p { color: var(--muted); font-size: .97rem; margin-bottom: 22px; flex: 1; }
.svc .btn { align-self: flex-start; }
.svc .btn svg { transition: transform .35s var(--ease); }
.svc .btn:hover svg { transform: translate(2px, -2px); }
.svc__more { align-self: flex-start; margin: -18px 0 8px; padding: 10px 0; color: var(--accent); font-size: .93rem; font-weight: 500; text-decoration: none; position: relative; z-index: 1; }
.svc__more:hover { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 900px) {
  .group { grid-template-columns: 1fr; }
  .group__head { position: static; }
}
@media (max-width: 620px) { .group__list { grid-template-columns: 1fr; } }

/* ---------- Portafolio ---------- */
.work { background: linear-gradient(180deg, var(--bg), var(--bg-2) 30%, var(--bg-2) 70%, var(--bg)); }
.work__note {
  display: flex; gap: 12px; align-items: flex-start;
  max-width: 62ch; margin-top: 1.6rem;
  padding: 16px 20px; border-radius: 16px;
  background: rgba(56, 225, 255, .06); border: 1px solid rgba(56, 225, 255, .2);
  color: #c9d3e0; font-size: .97rem;
}
.work__note .i { color: var(--cyan); flex: none; margin-top: 1px; width: 22px; height: 22px; }
.work__grid { --gap: clamp(20px, 3vw, 40px); display: flex; flex-wrap: wrap; justify-content: center; gap: 56px var(--gap); align-items: stretch; }
.demo { display: flex; flex-direction: column; align-items: center; text-align: center; flex: 0 1 calc((100% - 2 * var(--gap)) / 3); }
.demo__tag {
  display: inline-block; margin-bottom: 22px;
  padding: 6px 13px; border-radius: 999px;
  font-size: .75rem; font-weight: 600; letter-spacing: .04em;
  color: var(--muted); border: 1px dashed var(--line-2);
}
.demo .phone { width: min(100%, 268px); transition: transform .7s var(--ease); }
.demo:hover .phone { transform: translateY(-8px); }
.demo h3 { font-size: 1.4rem; margin-top: 28px; }
.demo__type { color: var(--muted); margin-top: .35rem; }
/* margin-top:auto: los botones quedan a la misma altura aunque un texto ocupe dos líneas */
.demo__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: auto; padding-top: 20px; }
.work__hint { display: none; color: var(--muted); font-size: .88rem; margin-top: 10px; }
@media (min-width: 901px) {
  .demo { transform: translateY(var(--py, 0px)); }
}
@media (max-width: 900px) {
  .work__grid {
    /* justify-content: start — centrado, la fila se sale por la izquierda y no se puede deslizar hasta ahí */
    display: grid; gap: var(--gap); grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: min(78%, 300px); justify-content: start;
    overflow-x: auto; scroll-snap-type: x mandatory;
    margin: 0 calc(var(--gutter) * -1); padding: 6px var(--gutter) 20px;
    scrollbar-width: none;
  }
  .work__grid::-webkit-scrollbar { display: none; }
  .demo { scroll-snap-align: center; }
  .work__hint { display: block; }
}

/* ---------- Proceso ---------- */
.process__wrap { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(32px, 6vw, 90px); }
.process__head { position: sticky; top: calc(var(--header-h) + 40px); align-self: start; }
.steps { --p: 0; position: relative; padding-left: 76px; }
.steps__list { list-style: none; margin: 0; padding: 0; }
.steps__line { position: absolute; left: 25px; top: 12px; bottom: 12px; width: 2px; background: var(--line-2); border-radius: 2px; overflow: hidden; }
.steps__line::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(var(--accent), var(--cyan));
  transform-origin: top; transform: scaleY(var(--p));
}
.step { position: relative; padding: 4px 0 clamp(48px, 7vw, 80px); }
.step:last-child { padding-bottom: 0; }
.step__dot {
  position: absolute; left: -76px; top: 0;
  width: 52px; height: 52px; border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 700;
  background: var(--bg); border: 1px solid var(--line-2); color: var(--muted);
  transition: background .5s var(--ease), color .5s, border-color .5s, box-shadow .5s;
}
.step.is-active .step__dot { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); box-shadow: 0 0 0 7px var(--accent-soft); }
.step h3 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); margin: 10px 0 .7rem; transition: color .5s; color: var(--muted); }
.step.is-active h3 { color: var(--text); }
.step p { color: var(--muted); max-width: 46ch; }
@media (max-width: 900px) {
  .process__wrap { grid-template-columns: 1fr; }
  .process__head { position: static; }
  .steps { padding-left: 66px; }
  .steps__line { left: 21px; }
  .step__dot { left: -66px; width: 44px; height: 44px; }
}

/* ---------- Por qué elegirme ---------- */
.why__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.why-item { background: var(--bg); padding: clamp(28px, 3.5vw, 40px); transition: background .4s; }
.why-item:hover { background: var(--surface); }
.why-item .i { width: 30px; height: 30px; color: var(--accent); margin-bottom: 22px; }
.why-item h3 { font-size: 1.3rem; margin-bottom: .6rem; line-height: 1.2; }
.why-item p { color: var(--muted); font-size: .97rem; }
@media (max-width: 900px) { .why__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .why__grid { grid-template-columns: 1fr; } }
.about { display: grid; grid-template-columns: auto 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; margin-bottom: clamp(56px, 8vw, 96px); max-width: 980px; }
.about .lead + .lead { margin-top: .8rem; }
.about__mark {
  position: relative; width: clamp(150px, 18vw, 220px); aspect-ratio: 1; border-radius: 50%;
  display: grid; place-items: center; color: var(--text);
  background: radial-gradient(circle at 30% 25%, rgba(198, 255, 61, .16), transparent 60%), var(--surface);
}
.about__mark::before {
  content: ""; position: absolute; inset: -2px; border-radius: 50%; padding: 2px;
  background: conic-gradient(var(--accent), var(--cyan), transparent 55%, var(--accent));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  animation: aboutSpin 7s linear infinite;
}
.about__mark svg { width: 56%; height: auto; }
@keyframes aboutSpin { to { transform: rotate(1turn); } }
@media (max-width: 700px) {
  .about { grid-template-columns: 1fr; }
  .about__mark { width: 128px; }
}

/* ---------- Preguntas frecuentes ---------- */
.faq__wrap { display: grid; grid-template-columns: 1fr 1.5fr; gap: clamp(32px, 6vw, 90px); }
.faq__list { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 24px 0;
  font-family: var(--font-display); font-weight: 600; font-size: clamp(1.08rem, 1.7vw, 1.28rem);
  transition: color .25s;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary:hover { color: var(--accent); }
.faq__plus {
  position: relative; flex: none; width: 34px; height: 34px; border-radius: 50%;
  border: 1px solid var(--line-2); transition: transform .45s var(--ease), background .3s, border-color .3s;
}
.faq__plus::before, .faq__plus::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; background: currentColor;
  transform: translate(-50%, -50%);
}
.faq__plus::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq__item[open] .faq__plus { transform: rotate(45deg); background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.faq__answer { color: var(--muted); padding: 0 50px 26px 0; max-width: 62ch; }
.faq__item[open] .faq__answer { animation: fadeUp .5s var(--ease); }
.faq__answer a { color: var(--accent); }
@media (max-width: 900px) { .faq__wrap { grid-template-columns: 1fr; } .faq__answer { padding-right: 0; } }

/* ---------- Llamada final ---------- */
.cta__box {
  position: relative; overflow: hidden; isolation: isolate;
  text-align: center;
  padding: clamp(56px, 9vw, 110px) var(--gutter);
  border-radius: calc(var(--radius) + 10px);
  background: var(--surface);
  border: 1px solid var(--line-2);
}
.cta__box::before {
  content: ""; position: absolute; inset: -40%; z-index: -1;
  background:
    radial-gradient(circle at 30% 30%, rgba(198, 255, 61, .2), transparent 40%),
    radial-gradient(circle at 70% 70%, rgba(56, 225, 255, .16), transparent 40%);
  animation: spin 24s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.cta__box h2 { font-size: clamp(2.1rem, 5.6vw, 4.2rem); max-width: 17ch; margin: 0 auto; }
.cta__box p { color: var(--muted); font-size: clamp(1rem, 1.5vw, 1.18rem); max-width: 46ch; margin: 1.4rem auto 2.4rem; }
.cta__contact { margin-top: 1.6rem; color: var(--muted); font-size: .92rem; }
.cta__contact a { text-decoration: none; color: var(--text); }
.cta__contact a:hover { color: var(--accent); }
@media (max-width: 480px) { .cta__box .btn { width: 100%; white-space: normal; } }

/* ---------- Footer ---------- */
.footer { padding: 70px 0 34px; border-top: 1px solid var(--line); margin-top: clamp(60px, 9vw, 110px); }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.footer p { color: var(--muted); font-size: .95rem; margin-top: 1rem; max-width: 34ch; }
.footer .footer__label { font-family: var(--font-display); font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 600; margin: 0 0 1.1rem; max-width: none; line-height: 1.05; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; }
.footer li a { text-decoration: none; color: var(--text); transition: color .25s; }
.footer li a:hover { color: var(--accent); }
.footer__bottom { margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--muted); font-size: .88rem; }
@media (max-width: 760px) { .footer__grid { grid-template-columns: 1fr; } }

/* ---------- Botón flotante de WhatsApp ---------- */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 55;
  width: 60px; height: 60px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--wa); color: #fff;
  box-shadow: 0 12px 30px -8px rgba(37, 211, 102, .6);
  transition: transform .35s var(--ease);
}
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 30px; height: 30px; }
.wa-float::before, .wa-float::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  border: 2px solid var(--wa); animation: pulse 2.6s var(--ease) infinite; pointer-events: none;
}
.wa-float::after { animation-delay: 1.3s; }
@keyframes pulse { from { transform: scale(1); opacity: .7; } to { transform: scale(1.7); opacity: 0; } }

/* ---------- Animaciones al hacer scroll ---------- */
.js [data-reveal] {
  opacity: 0; transform: translateY(36px);
  transition: opacity 1s var(--ease), transform 1s var(--ease);
  transition-delay: var(--d, 0s);
}
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* ---------- Reducir movimiento ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .statement__text .w { opacity: 1; }
  .hero-phone { --sy: 0px !important; }
  .demo { transform: none !important; }
  .phone__toggle { display: grid; }
  .phone.is-playing .phone__toggle { display: none; }
  .wa-float::before, .wa-float::after { display: none; }
}

/* ---- Inicio con túnel (2026-11-09) ---- */
.hero { isolation: isolate; }
.hero__tunnel { position: absolute; inset: 0; width: 100%; height: 100%; display: block; z-index: -2; touch-action: pan-y; }
.hero__shade {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(ellipse 60% 48% at 50% 46%, rgba(7, 8, 12, .62), rgba(7, 8, 12, .2) 75%, transparent),
    linear-gradient(180deg, rgba(7, 8, 12, .35), transparent 22%, transparent 70%, var(--bg));
}
.hero__inner { grid-template-columns: 1fr; justify-items: center; text-align: center; }
.hero__copy { max-width: 52rem; display: flex; flex-direction: column; align-items: center; }
.hero__eyebrow { margin-inline: auto; }
.hero__title { text-shadow: 0 4px 30px rgba(7, 8, 12, .7); }
.hero__text { margin-inline: auto; color: #c3cad6; text-shadow: 0 2px 18px rgba(7, 8, 12, .9); }
.hero__actions { justify-content: center; }
.hero__note { justify-content: center; }
.hero__hint {
  margin-top: 1.4rem; display: inline-flex; align-items: center; gap: 8px;
  font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; color: var(--accent);
  animation-delay: .9s; opacity: .85;
}
.hero__hint::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 12px var(--accent); animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse { 50% { transform: scale(1.8); opacity: .4; } }
.hero__note.fade-in { animation-delay: 1s; }
@media (max-width: 480px) {
  .hero__title { font-size: clamp(2.4rem, 11vw, 3rem); }
  .hero__actions { width: 100%; }
}
