/* PeritoLab — web. Oscuro y liso (sin cuadrículas, brillos ni degradados de fondo), con el violeta de la aplicación.
   Sin fuentes ni scripts de terceros: la web no manda los datos de las visitas a nadie. */

:root {
  --bg: #0c0b11;
  --surface: #14131b;      /* tarjetas y paneles: un gris oscuro liso */
  --line: rgba(255, 255, 255, .08);
  --line-2: rgba(255, 255, 255, .14);
  --text: #f4f3f8;
  --muted: #a4a1b8;
  --faint: #8a879f;
  --accent: #6246ea;
  --accent-2: #8f7bff;
  --accent-3: #c4b8ff;
  --ok: #3ddc97;
  --radius: 20px;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --wide: 1200px;
  --font: "Inter", "Segoe UI Variable Text", "Segoe UI", -apple-system, BlinkMacSystemFont, "SF Pro Text", system-ui, sans-serif;
  --display: "Inter Display", "Segoe UI Variable Display", "Segoe UI", -apple-system, BlinkMacSystemFont, "SF Pro Display", system-ui, sans-serif;
  --mono: "Cascadia Mono", "SF Mono", ui-monospace, Consolas, monospace;
  --app: "Segoe UI Variable Text", "Segoe UI", -apple-system, system-ui, sans-serif;
  --car: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%20200%20112'%3E%3Cpath%20d='M18%2074c1-15%209-25%2024-28l17-22c4-5%209-7%2015-7h52c6%200%2011%202%2015%207l17%2022c15%203%2023%2013%2024%2028v18c0%205-3%208-8%208H26c-5%200-8-3-8-8z'%20fill='rgba(30,27,57,.5)'/%3E%3Cpath%20d='M66%2026h68l16%2020H50z'%20fill='rgba(255,255,255,.38)'/%3E%3Crect%20x='27'%20y='56'%20width='28'%20height='9'%20rx='4'%20fill='rgba(232,80,91,.85)'/%3E%3Crect%20x='145'%20y='56'%20width='28'%20height='9'%20rx='4'%20fill='rgba(232,80,91,.85)'/%3E%3Crect%20x='30'%20y='86'%20width='140'%20height='5'%20rx='2.5'%20fill='rgba(0,0,0,.22)'/%3E%3Crect%20x='30'%20y='98'%20width='24'%20height='12'%20rx='4'%20fill='rgba(20,18,36,.7)'/%3E%3Crect%20x='146'%20y='98'%20width='24'%20height='12'%20rx='4'%20fill='rgba(20,18,36,.7)'/%3E%3C/svg%3E");
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 400 17px/1.65 var(--font); letter-spacing: -.005em;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
::selection { background: rgba(143, 123, 255, .35); color: #fff; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1em; }
h1, h2, h3 { font-family: var(--display); margin: 0; font-weight: 600; letter-spacing: -.03em; line-height: 1.04; }
:focus-visible { outline: 2px solid var(--accent-2); outline-offset: 3px; border-radius: 8px; }

.wrap { width: min(var(--wide), 100% - 48px); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 200; background: #fff; color: #000; padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 12px; }

/* ---------- barra superior ---------- */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 50; height: 72px;
  transition: background .4s var(--ease), border-color .4s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.scrolled { background: rgba(12, 11, 17, .92); backdrop-filter: saturate(160%) blur(18px); -webkit-backdrop-filter: saturate(160%) blur(18px); border-bottom-color: var(--line); }
.nav .wrap { height: 100%; display: flex; align-items: center; gap: 36px; }
.brand { display: inline-flex; align-items: center; gap: 11px; font: 600 18px/1 var(--display); letter-spacing: -.02em; }
.brand svg { width: 30px; height: 30px; }
.brand small { font: 500 13px/1 var(--font); color: var(--muted); letter-spacing: 0; padding-left: 11px; border-left: 1px solid var(--line-2); }
.nav-links { display: flex; gap: 30px; font-size: 14.5px; color: var(--muted); margin-left: auto; }
.nav-links a { transition: color .25s; }
.nav-toggle { display: none; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--text); }

/* ---------- botones ---------- */
.btn {
  --h: 48px; position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: var(--h); padding: 0 22px; border-radius: 999px; font: 500 15px/1 var(--font); letter-spacing: -.01em;
  white-space: nowrap; cursor: pointer; border: 0; color: var(--text);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .35s, color .35s;
}
.btn svg { width: 16px; height: 16px; transition: transform .35s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn-primary {
  background: linear-gradient(180deg, #7a62ff, var(--accent)); color: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .28), 0 1px 2px rgba(0, 0, 0, .4), 0 10px 30px -8px rgba(98, 70, 234, .65);
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .32), 0 1px 2px rgba(0, 0, 0, .4), 0 18px 44px -10px rgba(98, 70, 234, .9); }
.btn-light { background: #f4f3f8; color: #0b0a12; box-shadow: 0 10px 30px -10px rgba(255, 255, 255, .25); }
.btn-light:hover { transform: translateY(-1px); background: #fff; }
.btn-ghost { background: rgba(255, 255, 255, .03); box-shadow: inset 0 0 0 1px var(--line-2); }
.btn-ghost:hover { background: rgba(255, 255, 255, .07); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .24); }
.btn-sm { --h: 38px; padding: 0 16px; font-size: 14px; }
.btn-block { width: 100%; }

/* ---------- textos ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; font: 500 12.5px/1 var(--font); letter-spacing: .16em; text-transform: uppercase; color: var(--accent-3);
}
.eyebrow::before { content: ""; width: 18px; height: 1px; background: currentColor; opacity: .6; }
.pill {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 6px; border-radius: 999px;
  font-size: 13.5px; color: var(--muted); background: rgba(255, 255, 255, .04); box-shadow: inset 0 0 0 1px var(--line);
  transition: box-shadow .3s, color .3s;
}
.pill b { font-weight: 500; padding: 3px 10px; border-radius: 999px; background: rgba(143, 123, 255, .16); color: var(--accent-3); font-size: 12px; }
a.pill:hover { box-shadow: inset 0 0 0 1px var(--line-2); color: var(--text); }
.grad { background: linear-gradient(180deg, #fff 30%, #b9adff 120%); -webkit-background-clip: text; background-clip: text; color: transparent; padding: .18em 0 .22em; margin-bottom: -.22em; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.lead { font-size: clamp(17px, 1.6vw, 20px); line-height: 1.6; color: var(--muted); max-width: 40em; }
.h-xl { font-size: clamp(44px, 7.4vw, 96px); letter-spacing: -.045em; line-height: .98; }
.h-l { font-size: clamp(34px, 4.8vw, 60px); letter-spacing: -.04em; }
.center { text-align: center; }
.center .lead { margin-inline: auto; }

/* ---------- portada ---------- */
.hero { position: relative; padding: 0 0 96px; isolation: isolate; }
.hero-copy { max-width: 920px; margin-inline: auto; text-align: center; min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: center; align-items: center; padding: 110px 0 72px; }
.hero-copy .lead { margin: 26px auto 0; }
.hero-cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 38px; }
.hero-note { margin-top: 18px; font-size: 13.5px; color: var(--faint); }
.hero .pill { margin-bottom: 30px; }

/* ---------- ventana de la aplicación (maqueta) ---------- */
.stage { position: relative; margin-top: 0; perspective: 2200px; }
/* La ventana aparece al bajar: de borrosa y algo más abajo a nítida y en su sitio (web.js, --p de 0 a 1). */
.js .hero .stage { --p: 0; opacity: var(--p); filter: blur(calc((1 - var(--p)) * 16px));
  transform: translateY(calc((1 - var(--p)) * 70px)); will-change: opacity, filter, transform; }
.window {
  --tilt: 14deg; position: relative; border-radius: 16px; overflow: hidden; background: #fafafd; color: #1e1b39;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .12), 0 50px 120px -30px rgba(0, 0, 0, .9), 0 30px 60px -40px rgba(98, 70, 234, .8);
  transform: rotateX(var(--tilt)); transform-origin: 50% 0; transition: transform 1.4s var(--ease);
  font: 400 13px/1.4 var(--app); letter-spacing: 0;
}
.stage.flat .window { --tilt: 0deg; }
.win-bar { height: 34px; display: flex; align-items: center; padding: 0 0 0 14px; gap: 9px; background: #fff; border-bottom: 1px solid #eeeef5; font-size: 12px; color: #6e6e8a; }
.win-bar svg { width: 15px; height: 15px; }
.win-bar .ctrl { margin-left: auto; display: flex; height: 100%; }
.win-bar .ctrl span { width: 46px; display: grid; place-items: center; }
.win-bar .ctrl svg { width: 10px; height: 10px; }
.win-body { display: grid; grid-template-columns: 200px 1fr; }
.win-side { background: #fff; border-right: 1px solid #eeeef5; padding: 18px 14px; display: flex; flex-direction: column; gap: 3px; }
.win-brand { display: flex; align-items: center; gap: 9px; padding: 0 6px 18px; }
.win-brand svg { width: 26px; height: 26px; }
.win-brand b { display: block; font: 600 14px/1.1 var(--app); color: #1e1b39; }
.win-brand small { display: block; font-size: 11px; color: #8e8ea9; }
.win-nav { display: flex; align-items: center; gap: 10px; height: 34px; padding: 0 10px; border-radius: 9px; color: #6e6e8a; font-size: 12.5px; }
.win-nav i { width: 14px; height: 14px; border-radius: 4px; background: currentColor; opacity: .28; }
.win-nav.on { background: #f1eefe; color: #6246ea; font-weight: 600; }
.win-nav.on i { opacity: .9; }
.win-main { padding: 22px 26px; display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.win-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.win-head p.win-title { margin: 0; font: 600 18px/1.2 var(--app); letter-spacing: -.01em; color: #1e1b39; }
.win-head p { margin: 2px 0 0; font-size: 12px; color: #8e8ea9; }
.win-btn { height: 32px; padding: 0 14px; border-radius: 9px; background: #6246ea; color: #fff; display: inline-flex; align-items: center; font-weight: 600; font-size: 12px; box-shadow: 0 6px 16px -6px rgba(98, 70, 234, .8); white-space: nowrap; }
.win-progress { height: 6px; border-radius: 6px; background: #efedf9; overflow: hidden; }
.win-progress span { display: block; height: 100%; width: 0; border-radius: inherit; background: linear-gradient(90deg, #7b61ff, #6246ea); }
.play .win-progress span { animation: fill 2.4s var(--ease) .3s forwards; }
@keyframes fill { to { width: 100%; } }
.win-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.win-stat { background: #fff; border: 1px solid #eeeef5; border-radius: 12px; padding: 10px 12px; }
.win-stat b { display: block; font: 600 18px/1.2 var(--app); color: #1e1b39; font-variant-numeric: tabular-nums; }
.win-stat span { font-size: 11px; color: #8e8ea9; }
.rows { display: flex; flex-direction: column; gap: 8px; }
.row {
  display: grid; grid-template-columns: auto 1fr auto auto; align-items: center; gap: 14px;
  background: #fff; border: 1px solid #eeeef5; border-radius: 12px; padding: 9px 12px;
  opacity: 0; transform: translateY(10px);
}
.play .row { animation: rowin .7s var(--ease) forwards; animation-delay: calc(.8s + var(--i) * .16s); }
@keyframes rowin { to { opacity: 1; transform: none; } }
.row.sel { border-color: #d9d2fb; box-shadow: 0 0 0 3px #f1eefe; }
.plate {
  display: inline-flex; align-items: stretch; height: 26px; border-radius: 5px; overflow: hidden; background: #fff;
  box-shadow: inset 0 0 0 1.6px #1e1b39; font: 700 13px/26px "Bahnschrift", "DIN Alternate", "Segoe UI", sans-serif; letter-spacing: .06em; color: #1e1b39; white-space: nowrap;
}
.plate::before { content: "E"; width: 14px; background: #2e4bd9; color: #fff; font-size: 8px; line-height: 34px; text-align: center; letter-spacing: 0; }
.plate span { padding: 0 9px 0 7px; }
.thumbs { display: flex; gap: 5px; min-width: 0; overflow: hidden; }
.thumbs i { flex: 0 0 auto; width: 46px; height: 32px; border-radius: 6px; background: linear-gradient(135deg, var(--a, #d9dbe6), var(--b, #9aa1b8)); position: relative; overflow: hidden; }
.thumbs i::after { content: ""; position: absolute; left: 14%; right: 14%; bottom: 6%; height: 66%; background: var(--car) center bottom / contain no-repeat; opacity: .75; }
.meta { font-size: 11.5px; color: #8e8ea9; white-space: nowrap; }
.tag { font-size: 11px; font-weight: 600; padding: 3px 9px; border-radius: 999px; white-space: nowrap; }
.tag.ok { background: #e8f8ef; color: #12a150; }
.tag.rev { background: #fff5ea; color: #c4610f; }

/* ---------- secciones ---------- */
section { position: relative; }
.block { padding: 150px 0; }
.sec-head { max-width: 760px; margin-bottom: 64px; }
.sec-head.center { margin-inline: auto; }
.sec-head h2 { margin-top: 18px; }
.sec-head .lead { margin-top: 20px; }
.divider { height: 1px; background: var(--line); }

.metrics { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.metric { padding: 34px 28px; border-left: 1px solid var(--line); }
.metric:first-child { border-left: 0; }
.metric b { display: block; font: 600 clamp(30px, 3.4vw, 44px)/1 var(--display); letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.metric span { display: block; margin-top: 10px; font-size: 14px; color: var(--muted); line-height: 1.45; }

.card {
  --mx: 50%; --my: 50%; position: relative; border-radius: var(--radius); padding: 30px; overflow: hidden;
  background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow .4s var(--ease);
}
.card h3 { font-size: 20px; letter-spacing: -.02em; line-height: 1.25; margin: 22px 0 10px; }
.card p { color: var(--muted); font-size: 15.5px; margin: 0; }
.ico {
  width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; color: var(--accent-3);
  background: linear-gradient(180deg, rgba(143, 123, 255, .2), rgba(143, 123, 255, .06)); box-shadow: inset 0 0 0 1px rgba(143, 123, 255, .25);
}
.ico svg { width: 21px; height: 21px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }

/* productos de la marca */
.product { display: grid; grid-template-columns: 1.05fr 1fr; padding: 0; min-height: 440px; }
.product-copy { position: relative; padding: 52px; display: flex; flex-direction: column; }
.product-copy h3 { font-size: clamp(30px, 3vw, 40px); letter-spacing: -.035em; line-height: 1.05; margin: 22px 0 16px; }
.product-copy p { font-size: 17px; }
.product-copy .actions { margin-top: auto; padding-top: 34px; display: flex; gap: 12px; flex-wrap: wrap; }
.product-art { position: relative; border-left: 1px solid var(--line); overflow: hidden; background: #191823; }
.product-art .mini { position: absolute; left: 40px; top: 52px; width: 560px; }
.product-art .mini .window { --tilt: 0deg; }
.badge-live { display: inline-flex; align-items: center; gap: 9px; font-size: 12.5px; color: var(--ok); font-weight: 500; }
.badge-live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 4px rgba(61, 220, 151, .15); animation: pulse 2.4s ease-in-out infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 7px rgba(61, 220, 151, 0); } }
.soon { margin-top: 18px; display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; padding: 34px 40px; background: transparent; }
.soon h3 { margin: 12px 0 6px; }
.soon .eyebrow { color: var(--faint); }
.dots { display: flex; gap: 8px; }
.dots i { width: 38px; height: 38px; border-radius: 11px; box-shadow: inset 0 0 0 1px var(--line-2); background: rgba(255, 255, 255, .02); }
.dots i:first-child { background: linear-gradient(180deg, #7a62ff, #4527c4); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .3); }

/* pasos */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.step { padding: 34px 30px 32px; }
.step .num { font: 500 13px/1 var(--mono); color: var(--accent-3); letter-spacing: .06em; }
.step h3 { margin-top: 58px; }
.step .line { position: absolute; left: 30px; right: 30px; top: 78px; height: 1px; background: linear-gradient(90deg, var(--accent-2), transparent); opacity: .8; transform-origin: left; transform: scaleX(0); transition: transform 1.2s var(--ease) .35s; }
.step.in .line { transform: scaleX(1); }

/* bloque partido texto + imagen */
.split { display: grid; grid-template-columns: 1fr 1.1fr; gap: 80px; align-items: center; }
.split.rev { grid-template-columns: 1.1fr 1fr; }
.split.rev > :first-child { order: 2; }
.checks { list-style: none; padding: 0; margin: 30px 0 0; display: grid; gap: 14px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; color: var(--muted); }
.checks li::before { content: ""; flex: 0 0 18px; height: 18px; margin-top: 4px; border-radius: 50%; background: rgba(143, 123, 255, .16) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M5.2 9.3l2.4 2.4 5.2-5.4' fill='none' stroke='%23c4b8ff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/18px no-repeat; }
.checks b { color: var(--text); font-weight: 500; }
.panel { position: relative; border-radius: 22px; padding: 22px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line), 0 40px 80px -40px rgba(0, 0, 0, .8); }
.panel .window { --tilt: 0deg; }
.review { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; padding: 18px; background: #fafafd; }
.review .big { grid-column: 1 / -1; height: 170px; border-radius: 12px; background: linear-gradient(135deg, #cfd3e2, #8b93ad); position: relative; overflow: hidden; }
.review .big::after { content: ""; position: absolute; left: 50%; bottom: 8%; width: 58%; max-width: 300px; aspect-ratio: 200 / 112; transform: translateX(-50%); background: var(--car) center / contain no-repeat; }
.review .big .plate { position: absolute; z-index: 1; left: 50%; bottom: 20%; transform: translateX(-50%); box-shadow: inset 0 0 0 1.6px #1e1b39, 0 0 0 3px rgba(98, 70, 234, .9), 0 0 0 9px rgba(98, 70, 234, .2); }
.review .opt { background: #fff; border: 1px solid #eeeef5; border-radius: 12px; padding: 12px; font-size: 12px; color: #6e6e8a; }
.review .opt b { display: block; color: #1e1b39; font-size: 13px; margin-bottom: 6px; }
.review .opt.pick { border-color: #d9d2fb; box-shadow: 0 0 0 3px #f1eefe; }

/* Compresor: antes y después, y sus opciones (maquetas) */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding: 18px; background: #fafafd; }
.compare .shot { position: relative; height: 190px; border-radius: 12px; overflow: hidden; background: #b9bfd2; }
.compare .shot::after { content: ""; position: absolute; left: 50%; bottom: 10%; width: 78%; aspect-ratio: 200 / 112; transform: translateX(-50%); background: var(--car) center / contain no-repeat; }
.compare .shot.after { background: #b6bccf; }
.compare figcaption { margin-top: 8px; font-size: 12px; color: #6e6e8a; }
.compare figcaption b { color: #1e1b39; }
.compare figure { margin: 0; }
.quality { grid-column: 1 / -1; display: flex; align-items: center; gap: 12px; font-size: 12px; color: #6e6e8a; }
.quality .track { flex: 1; height: 6px; border-radius: 6px; background: #efedf9; position: relative; }
.quality .track span { position: absolute; inset: 0 40% 0 0; border-radius: inherit; background: #6246ea; }
.quality .track span::after { content: ""; position: absolute; right: -8px; top: 50%; width: 16px; height: 16px; margin-top: -8px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 2px #6246ea; }
.quality b { color: #1e1b39; font-weight: 600; }
.options { padding: 20px 22px; background: #fafafd; display: grid; gap: 12px; }
.options .opt-row { display: flex; align-items: center; gap: 10px; background: #fff; border: 1px solid #eeeef5; border-radius: 12px; padding: 12px 14px; font-size: 13px; color: #1e1b39; }
.options .box { flex: 0 0 18px; height: 18px; border-radius: 5px; background: #6246ea url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M5 9.3l2.6 2.6L13 6.4' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/18px no-repeat; }
.options .mb { margin-left: auto; padding: 4px 10px; border-radius: 8px; border: 1px solid #e3e0f3; font-weight: 600; font-size: 12px; }
.options small { display: block; color: #8e8ea9; font-size: 11.5px; }
.plans.two { grid-template-columns: repeat(2, 1fr); max-width: 880px; margin-inline: auto; }
.folder { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: #1e1b39; white-space: nowrap; }
.folder::before { content: ""; width: 18px; height: 14px; border-radius: 3px; background: #f4c46a; box-shadow: inset 0 3px 0 #e3ad4b; }

/* privacidad */
.vault { position: relative; border-radius: 28px; padding: 84px 64px; overflow: hidden; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); text-align: center; }
.vault .shield { width: 76px; height: 76px; margin: 0 auto 30px; border-radius: 22px; display: grid; place-items: center; color: #fff; background: linear-gradient(180deg, #7a62ff, #4527c4); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .3), 0 20px 50px -12px rgba(98, 70, 234, .8); }
.vault .shield svg { width: 34px; height: 34px; }
.vault .lead { margin-top: 20px; }
.vault .points { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px 34px; margin-top: 34px; color: var(--muted); font-size: 15px; }
.vault .points span { display: inline-flex; align-items: center; gap: 9px; }
.vault .points span::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent-2); }

/* precios */
.toggle { position: relative; display: inline-grid; grid-template-columns: 1fr 1fr; padding: 4px; border-radius: 999px; background: rgba(255, 255, 255, .04); box-shadow: inset 0 0 0 1px var(--line); margin-top: 34px; }
.toggle button { position: relative; z-index: 1; border: 0; background: none; color: var(--muted); font: 500 14px/1 var(--font); height: 40px; padding: 0 22px; border-radius: 999px; cursor: pointer; transition: color .35s; white-space: nowrap; }
.toggle button[aria-pressed="true"] { color: #0b0a12; }
.toggle button small { color: var(--ok); font-weight: 600; margin-left: 4px; font-size: 12px; transition: color .35s; }
.toggle button[aria-pressed="true"] small { color: #0e8a52; }
.toggle .knob { position: absolute; top: 4px; bottom: 4px; left: 4px; width: calc(50% - 4px); border-radius: 999px; background: #f4f3f8; transition: transform .5s var(--ease); }
.toggle[data-period="ano"] .knob { transform: translateX(100%); }
.plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 56px; text-align: left; }
.plan { display: flex; flex-direction: column; padding: 30px 26px 26px; }
.plan h3 { font-size: 18px; margin: 0; letter-spacing: -.01em; }
.plan .for { margin-top: 6px; font-size: 14px; color: var(--muted); }
.price { margin: 30px 0 4px; display: flex; align-items: baseline; gap: 6px; }
.price b { font: 600 44px/1 var(--display); letter-spacing: -.045em; font-variant-numeric: tabular-nums; display: inline-block; transition: opacity .25s, transform .4s var(--ease), filter .25s; }
.price b.swap { opacity: 0; transform: translateY(8px); filter: blur(4px); }
.price span { color: var(--muted); font-size: 15px; }
.saving { font-size: 13px; color: var(--faint); min-height: 20px; transition: color .3s; }
.saving.on { color: var(--ok); }
.plan ul { list-style: none; margin: 26px 0 30px; padding: 22px 0 0; border-top: 1px solid var(--line); display: grid; gap: 12px; font-size: 15px; color: var(--muted); }
.plan li { display: flex; gap: 10px; }
.plan li::before { content: "✓"; color: var(--accent-3); font-weight: 600; }
.plan .btn { margin-top: auto; }
.plan.featured { background: #1a1730; box-shadow: inset 0 0 0 1px rgba(143, 123, 255, .45); }
.plan .flag { position: absolute; top: 24px; right: 22px; font-size: 11.5px; font-weight: 600; letter-spacing: .04em; color: var(--accent-3); background: rgba(143, 123, 255, .16); padding: 4px 10px; border-radius: 999px; }
.fine { margin-top: 26px; font-size: 14px; color: var(--faint); text-align: center; }

/* preguntas */
.faq { max-width: 820px; margin: 0 auto; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 26px 4px; font: 500 18px/1.35 var(--display); letter-spacing: -.015em; transition: color .25s; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: #fff; }
.faq summary i { flex: 0 0 28px; height: 28px; border-radius: 50%; position: relative; box-shadow: inset 0 0 0 1px var(--line-2); transition: transform .45s var(--ease), background .3s; }
.faq summary i::before, .faq summary i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 11px; height: 1.5px; margin: -.75px 0 0 -5.5px; background: var(--text); border-radius: 2px; }
.faq summary i::after { transform: rotate(90deg); transition: transform .45s var(--ease); }
.faq details[open] summary i { transform: rotate(180deg); background: rgba(143, 123, 255, .14); }
.faq details[open] summary i::after { transform: rotate(0deg); }
.faq .answer { overflow: hidden; transition: height .45s var(--ease); }
.faq .answer p { margin: 0; padding: 0 60px 28px 4px; color: var(--muted); }

/* llamada final */
.final { position: relative; padding: 170px 0 150px; text-align: center; overflow: hidden; isolation: isolate; }
.final .hero-cta { margin-top: 42px; }

/* pie */
.foot { border-top: 1px solid var(--line); padding: 64px 0 48px; font-size: 14px; color: var(--muted); }
.foot-top { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.foot-cols { display: flex; gap: 72px; flex-wrap: wrap; }
.foot-cols h2 { margin: 0 0 14px; font: 500 13px/1 var(--font); color: var(--text); letter-spacing: 0; }
.foot-cols a { display: block; padding: 5px 0; transition: color .25s; }
.foot-cols a:hover { color: var(--text); }
.foot-legal { margin-top: 56px; padding-top: 26px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13px; color: var(--faint); }
.foot .tagline { margin-top: 16px; max-width: 26em; }

/* ---------- páginas legales ---------- */
.legal { padding: 150px 0 110px; }
.legal .wrap { max-width: 780px; }
.legal h1 { font-size: clamp(36px, 5vw, 54px); letter-spacing: -.04em; margin-bottom: 14px; }
.legal h1 + p { color: var(--faint); font-size: 14px; margin-bottom: 48px; }
.legal h2 { font-size: 22px; letter-spacing: -.02em; margin: 56px 0 16px; line-height: 1.25; }
.legal p, .legal li { color: #c9c6d8; }
.legal strong { color: var(--text); font-weight: 600; }
.legal ul { padding-left: 1.2em; }
.legal li { margin-bottom: .6em; }
.legal blockquote { margin: 0 0 24px; padding: 16px 20px; border-radius: 14px; background: rgba(255, 255, 255, .03); box-shadow: inset 0 0 0 1px var(--line); color: var(--muted); }
.legal mark { background: rgba(255, 213, 79, .2); color: #ffe08a; padding: 0 3px; border-radius: 4px; }
.tabla { overflow-x: auto; margin: 22px 0 28px; border-radius: 14px; box-shadow: inset 0 0 0 1px var(--line); }
.tabla table { border-collapse: collapse; width: 100%; font-size: 14.5px; min-width: 640px; }
.tabla th, .tabla td { padding: 14px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.tabla th { color: var(--text); font-weight: 600; background: rgba(255, 255, 255, .03); }
.tabla td { color: var(--muted); }
.tabla tr:last-child td { border-bottom: 0; }
@media (max-width: 700px) {
  .tabla { box-shadow: none; overflow: visible; }
  .tabla table { min-width: 0; }
  .tabla thead { display: none; }
  .tabla tr { display: block; margin-bottom: 14px; border-radius: 14px; box-shadow: inset 0 0 0 1px var(--line); padding: 6px 0; }
  .tabla td { display: block; border-bottom: 0; padding: 8px 16px; }
  .tabla td::before { content: attr(data-label); display: block; font-size: 12px; font-weight: 600; letter-spacing: .04em;
    text-transform: uppercase; color: var(--faint); margin-bottom: 2px; }
}

/* ---------- aparición al hacer scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(22px); filter: blur(6px); transition: opacity 1s var(--ease), transform 1s var(--ease), filter 1s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.in { opacity: 1; transform: none; filter: none; }
html:not(.js) .row { opacity: 1; transform: none; }
html:not(.js) .win-progress span { width: 100%; }

/* ---------- pantallas medianas y móviles ---------- */
@media (max-width: 1080px) {
  .plans { grid-template-columns: repeat(2, 1fr); }
  .plans.two { grid-template-columns: repeat(2, 1fr); }
  .metrics { grid-template-columns: repeat(2, 1fr); }
  .metric:nth-child(3) { border-left: 0; }
  .metric:nth-child(n+3) { border-top: 1px solid var(--line); }
  .split, .split.rev { grid-template-columns: 1fr; gap: 56px; }
  .split.rev > :first-child { order: 0; }
  .product { grid-template-columns: 1fr; }
  .product-art { min-height: 340px; border-left: 0; border-top: 1px solid var(--line); }
  .product-art .mini { left: 50%; top: 40px; width: min(600px, calc(100% - 48px)); transform: translateX(-50%); }
}
@media (max-width: 820px) {
  body { font-size: 16px; }
  .nav-links { display: none; }
  .nav .btn { margin-left: auto; }
  .nav .wrap { gap: 12px; }
  .nav-toggle { display: inline-flex; flex-direction: column; justify-content: center; gap: 6px; width: 44px; height: 44px;
    padding: 0 12px; border-radius: 12px; border: 1px solid var(--line-2); background: rgba(255,255,255,.04); cursor: pointer; }
  .nav-toggle span { display: block; height: 1.6px; background: var(--text); border-radius: 2px; transition: transform .3s var(--ease); }
  .nav.open .nav-toggle span:first-child { transform: translateY(3.8px) rotate(45deg); }
  .nav.open .nav-toggle span:last-child { transform: translateY(-3.8px) rotate(-45deg); }
  .nav.open { background: rgba(12, 11, 17, .98); border-bottom-color: var(--line); }
  .nav.open .nav-links { display: flex; flex-direction: column; gap: 0; position: absolute; top: 72px; left: 0; right: 0;
    margin: 0; padding: 8px 20px 18px; background: rgba(12, 11, 17, .98); border-bottom: 1px solid var(--line); font-size: 17px; }
  .nav.open .nav-links a { padding: 14px 4px; border-top: 1px solid var(--line); color: var(--text); }
  .brand small { display: none; }
  .hero { padding: 0 0 64px; }
  .hero-copy { padding: 96px 0 56px; }
  .block { padding: 104px 0; }
  .grid-3, .steps { grid-template-columns: 1fr; }
  .win-body { grid-template-columns: 1fr; min-height: 0; }
  .win-side { display: none; }
  .win-main { padding: 16px; }
  .thumbs i:nth-child(n+3) { display: none; }
  .meta { display: none; }
  .row { grid-template-columns: auto 1fr auto; }
  .stage { margin-top: 0; }
  .window { --tilt: 8deg; }
  .product-copy { padding: 34px 28px; }
  .product-art .mini { left: 20px; right: 20px; top: 28px; width: auto; transform: none; }
  .soon { padding: 28px; }
  .vault { padding: 56px 24px; border-radius: 22px; }
  .faq summary { font-size: 17px; }
  .faq .answer p { padding-right: 8px; }
  .foot-cols { gap: 40px; }
  .final { padding: 120px 0 110px; }
}
@media (max-width: 560px) {
  .wrap { width: calc(100% - 32px); }
  .plans, .plans.two { grid-template-columns: 1fr; }
  .compare { grid-template-columns: 1fr; }
  .metrics { grid-template-columns: 1fr; }
  .metric, .metric:nth-child(3) { border-left: 0; border-top: 1px solid var(--line); padding: 26px 4px; }
  .metric:first-child { border-top: 0; }
  .hero-cta .btn { width: 100%; }
  .toggle button { padding: 0 14px; font-size: 13px; }
  .win-stats { grid-template-columns: 1fr 1fr; }
  .win-stats .win-stat:last-child { display: none; }
  .win-head .win-btn { display: none; }
  .review { grid-template-columns: 1fr; }
  .card { padding: 26px 22px; }
}

@media (prefers-reduced-motion: reduce) {
  .js .hero .stage { --p: 1 !important; filter: none; transform: none; }
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .js .reveal { opacity: 1; transform: none; filter: none; }
  .row { opacity: 1; transform: none; }
  .win-progress span { width: 100%; }
}

/* Aviso al pulsar «Descargar» desde el móvil */
.toast { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 80; padding: 18px 18px 16px; border-radius: 18px;
  background: #15131f; border: 1px solid var(--line-2); box-shadow: 0 24px 60px rgba(0,0,0,.5); animation: toast-in .35s var(--ease); }
.toast p { margin: 0 0 14px; color: var(--muted); font-size: 15px; line-height: 1.5; }
.toast p b { color: var(--text); font-weight: 600; }
.toast-actions { display: flex; gap: 10px; flex-wrap: wrap; }
@keyframes toast-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
/* En el ordenador, la ayuda para instalar va en una esquina (no tapa la página) */
@media (min-width: 720px) { .toast-ayuda { left: auto; max-width: 420px; } }
/* Calculadora de Matrículas */
.calc { max-width: 760px; margin: 0 auto; padding: 28px; text-align: left; }
.calc-campos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.calc-campos label { display: flex; flex-direction: column; gap: 8px; color: var(--muted); font-size: 14px; }
.calc-campos input { background: #0f0e17; border: 1px solid var(--line-2); border-radius: 12px; color: var(--text);
  font: inherit; font-size: 20px; font-weight: 600; padding: 10px 14px; width: 100%; box-sizing: border-box; }
.calc-campos input:focus { outline: 2px solid #8f7bff; outline-offset: 1px; }
.calc-res { margin: 22px 0 0; color: var(--muted); font-size: 17px; line-height: 1.6; }
.calc-res b { color: var(--text); font-size: 28px; font-weight: 700; }
@media (max-width: 720px) { .calc-campos { grid-template-columns: 1fr; } .calc { padding: 22px 18px; } }
/* Guías */
.guia .guia-app { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin: 36px 0 14px;
  padding: 20px 22px; }
.guia .guia-app p { margin: 0; }
.guia .guia-mas { font-size: 15px; }
.guia ul.guias { list-style: none; padding: 0; }
.guia ul.guias li { margin: 0 0 18px; padding: 0 0 18px; border-bottom: 1px solid var(--line-2); color: var(--muted); }
@media (max-width: 720px) { .guia .guia-app { flex-direction: column; align-items: flex-start; } }
/* Embudo de los artículos (web_guias.py): llamada a mitad, recuadro final, relacionados y bloque del inicio. */
.guia .guia-llamada { margin: 34px 0; padding: 18px 22px; border-radius: 14px; background: rgba(98, 70, 234, .1);
  box-shadow: inset 3px 0 0 var(--accent-2); }
.guia .guia-llamada p { margin: 0; color: var(--text); }
.guia .guia-llamada a { color: var(--accent-3); font-weight: 500; white-space: nowrap; }
.guia .guia-cta { margin: 48px 0 18px; padding: 30px 30px 26px; }
.guia .guia-cta-tit { font-size: 20px; margin: 0 0 6px; }
.guia .guia-cta .checks { margin: 18px 0 0; }
.guia .guia-cta-botones { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; }
.guia .guia-cta-nota { margin: 14px 0 0; font-size: 13.5px; color: var(--faint); }
.guia .guia-cta-mas { margin: 16px 0 0; padding-top: 16px; border-top: 1px solid var(--line); font-size: 15px; }
.guia .guia-cta-mas a { white-space: nowrap; }
.guia .guia-relacionadas { margin-top: 56px; }
/* Guías en las listas (índice y «Sigue leyendo»): miniatura a la izquierda, título y descripción a la derecha. */
.guia ul.guias li { padding-bottom: 22px; margin-bottom: 22px; }
.guia .guia-fila { display: grid; grid-template-columns: 240px 1fr; gap: 26px; align-items: center; color: var(--muted); }
.guia .guia-fila .guia-mini { width: 100%; height: auto; border-radius: 12px; box-shadow: 0 0 0 1px var(--line-2);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.guia .guia-fila strong { display: block; color: var(--text); font-size: 18px; line-height: 1.35; margin-bottom: 6px;
  transition: color .25s; }
.guia .guia-fila:hover strong { color: var(--accent-3); }
.guia .guia-fila:hover .guia-mini { transform: translateY(-2px); box-shadow: 0 0 0 1px var(--accent-2); }
.guia .guia-relacionadas .guia-fila { grid-template-columns: 160px 1fr; gap: 20px; }
.guia .guia-relacionadas .guia-fila strong { font-size: 16px; }
.guia-tarjeta .guia-mini { display: block; width: 100%; height: auto; border-radius: 12px; margin: 0 0 22px;
  box-shadow: 0 0 0 1px var(--line); }
@media (max-width: 720px) {
  .guia .guia-fila { grid-template-columns: 1fr; gap: 14px; }
  .guia .guia-relacionadas .guia-fila { grid-template-columns: 110px 1fr; gap: 14px; }
  .guia .guia-relacionadas .guia-fila > span > span { display: none; }
}
.guia-tarjeta { display: block; transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.guia-tarjeta:hover { transform: translateY(-3px); }
.guia-tarjeta .eyebrow { font-size: 12px; }
.block.guias-inicio { padding-top: 40px; }
.guia-todas { margin-top: 26px; font-size: 15px; }
.guia-todas a { color: var(--accent-3); }
@media (max-width: 720px) { .guia .guia-cta { padding: 24px 20px 22px; } .guia .guia-cta-botones .btn { width: 100%; } }

/* ---------- ilustraciones (img/*.svg): el mismo marco que los paneles ---------- */
.ilus { margin: 0; border-radius: 22px; overflow: hidden; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line), 0 40px 80px -40px rgba(0, 0, 0, .8); }
.ilus img { width: 100%; height: auto; }
.ilus figcaption { padding: 14px 22px 16px; border-top: 1px solid var(--line); font-size: 14px; line-height: 1.5; color: var(--faint); }
.ilus-ancha { margin-top: 64px; }
.guia .ilus { margin: 8px 0 40px; }
@media (max-width: 700px) { .ilus-ancha { margin-top: 40px; } .ilus figcaption { padding: 12px 16px 14px; font-size: 13px; } }
