/* La portada de kaptio.co. Negro plano, grises neutros y la píldora verde del logo como único color. */
@font-face { font-family: 'K Serif'; src: url('fonts/serif.woff2') format('woff2'); font-display: swap; }

:root {
  --bg: #0b0b0c;
  --card: #141415;
  --card2: #1a1a1c;
  --card3: #222225;
  --tx: #f4f4f5;
  --mute: #8d8d94;
  --dim: #5d5d64;
  --green: #3ddc84;
  --ink: #0b0b0c;
  --out: cubic-bezier(.22, 1, .36, 1);
  --soft: cubic-bezier(.45, 0, .55, 1);
  --gut: 40px;
  --max: 1600px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { background: var(--bg); color: var(--tx); -webkit-text-size-adjust: 100%; overflow-x: clip; }
body {
  font: 400 16px/1.5 Inter, system-ui, sans-serif;
  font-feature-settings: 'cv11', 'ss01';
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul { list-style: none; }
img { display: block; }
::selection { background: var(--green); color: var(--ink); }
.sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; border-radius: 12px; }
.btn:focus-visible, .getx:focus-visible, .fl-play:focus-visible { border-radius: 999px; }

/* ── botones: el relleno del hover vive en ::before (nunca se anima el background) ── */
.btn {
  position: relative; isolation: isolate; display: inline-flex; align-items: center; justify-content: center;
  height: 48px; padding: 0 24px; border-radius: 999px; font-weight: 550; font-size: 15.5px; letter-spacing: -0.01em;
  white-space: nowrap;
}
.btn::before { content: ''; position: absolute; inset: 0; border-radius: inherit; z-index: -1; opacity: 0; transition: opacity .25s var(--out); }
.btn:hover::before { opacity: 1; }
.btn-white { background: var(--tx); color: var(--ink); }
.btn-white::before { background: #ffffff; box-shadow: 0 0 0 4px #2a2a2d; }
.btn-ghost { color: var(--tx); background: var(--card3); }
.btn-ghost::before { background: #2c2c30; }
.btn-sm { height: 38px; padding: 0 17px; font-size: 14px; }

/* los dos botones: se ve a la primera cuál es la web y cuál la app de Android */
.ctas { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.ctas-c { justify-content: center; }
.getx {
  position: relative; isolation: isolate; display: inline-flex; align-items: center; gap: 14px; height: 62px; padding: 0 22px 0 9px;
  border-radius: 999px; font-size: 16.5px; font-weight: 600; letter-spacing: -0.012em; white-space: nowrap;
}
.getx::before { content: ''; position: absolute; inset: 0; border-radius: inherit; opacity: 0; transition: opacity .3s var(--out); z-index: -1; }
.getx:hover::before { opacity: 1; }
.gi { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; flex: none; }
.gi svg { width: 23px; height: 23px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.arr { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; opacity: .55; transition: transform .4s var(--out), opacity .3s; }
.getx-web { background: var(--tx); color: var(--ink); }
.getx-web::before { background: #fff; box-shadow: 0 0 0 5px #252528; }
.getx-web .gi { background: var(--ink); color: var(--tx); }
.getx-web .gi circle { fill: currentColor; stroke: none; }
.getx-web:hover .arr { transform: translateX(3px); opacity: 1; }
.getx-and { background: var(--card2); color: var(--tx); }
.getx-and::before { background: var(--card3); }
.getx-and .gi { background: #17271e; color: var(--green); }
.getx-and .gi .fill { fill: currentColor; stroke: none; }
.getx-and .gi .eye { fill: #17271e; stroke: none; }
.getx-and:hover .arr { transform: translateY(2px); opacity: 1; }

/* ── barra ── */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 50; height: 68px;
  display: flex; align-items: center; gap: 32px; padding: 0 max(var(--gut), calc((100vw - var(--max)) / 2 + var(--gut)));
}
.nav::before { content: ''; position: absolute; inset: 0; background: var(--bg); opacity: 0; transition: opacity .35s var(--out); z-index: -1; }
.nav.solid::before { opacity: 1; }
.brand { display: flex; align-items: center; height: 38px; }
.brand img { height: 23px; width: auto; }
/* Pricing y el idioma son la misma pieza: misma altura y mismo centro que el botón de entrar */
.nav-links { display: flex; align-items: center; margin: 0 -18px 0 auto; }
.nav-i { position: relative; isolation: isolate; display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 14px; border-radius: 999px; font-size: 14px; font-weight: 500; color: var(--mute); transition: color .2s; }
.nav-i::before { content: ''; position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: var(--card2); opacity: 0; transition: opacity .2s var(--out); }
.nav-i:hover, .lang.open .nav-i { color: var(--tx); }
.nav-i:hover::before, .lang.open .nav-i::before { opacity: 1; }
.nav-i svg { flex: none; width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
/* el idioma, en el pie a la derecha de Terms: una lista sencilla que se abre hacia arriba */
.lang { position: relative; z-index: 5; margin-left: -20px; }
.lang-m { position: absolute; bottom: calc(100% + 8px); left: 0; width: 256px; max-height: calc(100svh - 84px); overflow-y: auto; scrollbar-width: none; padding: 12px; border-radius: 22px; background: #1a1a1c; box-shadow: 0 18px 50px #00000080; opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .16s var(--out), transform .3s var(--out), visibility 0s .16s; }
.lang-m::-webkit-scrollbar { display: none; }
.lang.open .lang-m { opacity: 1; visibility: visible; transform: none; transition: opacity .16s var(--out), transform .3s var(--out); }
.lang-i { position: relative; isolation: isolate; display: flex; align-items: center; justify-content: space-between; height: 42px; padding: 0 14px; border-radius: 12px; font-size: 14.5px; line-height: 1; color: #55555b; white-space: nowrap; }
a.lang-i { color: #cfcfd4; }
a.lang-i::before { content: ''; position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: #29292d; opacity: 0; transition: opacity .18s var(--out); }
a.lang-i:hover::before { opacity: 1; }
a.lang-i:hover, .lang-i.on { color: var(--tx); }
.lang-i.on { font-weight: 600; }
.lang-i svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
/* lo que ya está, arriba; lo que aún no, separado por una línea */
.lang-s { height: 1px; margin: 10px 14px; background: #29292d; }

/* ── portada ── */
.hero { position: relative; max-width: var(--max); margin: 0 auto; min-height: clamp(720px, 100svh, 980px); padding: 100px var(--gut) 40px; display: flex; align-items: center; gap: 48px; }
.hero-in { position: relative; z-index: 2; flex: 1; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; }
.hero-in a { pointer-events: auto; }
.title { font-family: 'Inter Display', Inter, sans-serif; font-weight: 450; font-size: clamp(56px, 7.6vw, 124px); line-height: 1.02; letter-spacing: -0.05em; }
.title .ln { display: block; opacity: 0; animation: up 1.1s var(--out) forwards; }
.title .ln + .ln { animation-delay: .12s; }
/* "style.": serif, con un subrayado discreto que pasa por debajo y deja la cola de la y por fuera */
.accent {
  font-family: 'K Serif', Georgia, serif; font-style: normal; font-weight: 400; letter-spacing: -0.02em; font-size: 1.06em;
  text-decoration: underline; text-decoration-thickness: .045em; text-underline-offset: .1em; text-decoration-skip-ink: auto;
  text-decoration-color: transparent; animation: line 1.2s var(--soft) 1s forwards;
}
@keyframes line { to { text-decoration-color: #2f5e45; } }
.lead { margin-top: 34px; max-width: 520px; font-size: clamp(19px, 1.55vw, 23px); line-height: 1.5; color: var(--mute); letter-spacing: -0.012em; opacity: 0; animation: up 1s var(--out) .4s forwards; }
.cta-col { display: inline-flex; flex-direction: column; align-items: center; margin-top: 44px; opacity: 0; animation: up 1s var(--out) .55s forwards; }
@keyframes up { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

/* ── secciones ── */
.sec { max-width: var(--max); margin: 0 auto; padding: clamp(130px, 13vw, 200px) var(--gut) 0; }
.sec-head { margin-bottom: clamp(56px, 6vw, 84px); }
.sec-head-c { text-align: center; }
.sec-head-c p { margin-left: auto; margin-right: auto; }
h2 { font-family: 'Inter Display', Inter, sans-serif; font-weight: 450; font-size: clamp(38px, 4.6vw, 68px); line-height: 1.04; letter-spacing: -0.04em; }
.h2-dim { color: #5a5a61; }
.sec-head p { margin-top: 18px; font-size: 19px; color: var(--mute); max-width: 620px; letter-spacing: -0.01em; }

/* el fondo: una retícula de puntos (canvas) que dibuja "kaptio" y las funciones; se funde hacia el texto */
.hero-bg {
  position: absolute; top: 0; bottom: 0; left: calc(50% - 50vw); right: calc(50% - 50vw); z-index: 0; pointer-events: none;
  opacity: 0; animation: show 1.4s var(--soft) .2s forwards;
  -webkit-mask-image: linear-gradient(90deg, transparent 10%, #000 46%); mask-image: linear-gradient(90deg, transparent 10%, #000 46%);
}
@keyframes show { to { opacity: 1; } }
.hero-bg canvas { position: absolute; inset: 0; width: 100%; height: 100%; }

/* "Try the editor": bajo los botones, centrado y discreto; las palabras se encienden como un subtítulo */
.try { display: inline-flex; align-items: center; gap: 6px; margin-top: 22px; color: var(--dim); font-size: 14px; font-weight: 550; white-space: nowrap; }
.try .kw { transition: color .3s var(--out); }
.try .kw.on, .try:hover .kw { color: var(--tx); }
.try svg { width: 14px; height: 14px; margin-left: 2px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; transition: transform .35s var(--out); }
.try:hover svg { transform: translateX(3px); color: var(--tx); }
@media (max-width: 760px) {
  .hero-bg { -webkit-mask-image: linear-gradient(180deg, transparent 52%, #000 74%); mask-image: linear-gradient(180deg, transparent 52%, #000 74%); }
  .try { margin-top: 18px; }
}

/* ── las funciones: un panel grande. A la izquierda, fija, el título y la lista (la activa se despliega y su barra
   se llena al bajar); a la derecha, las escenas una tras otra. En pantallas bajas o estrechas: una lista normal ── */
/* --fp: lo que hay del borde del panel a su contenido; la columna fija se engancha a esa distancia de la cabecera, así
   el borde del panel queda justo debajo de ella */
.feat { --fp: clamp(40px, 4vw, 64px); --fx: clamp(24px, 4vw, 72px); border-radius: 40px; background: #111113; padding: var(--fp) var(--fx) clamp(64px, 7vw, 104px); }
.feat-cap { display: none; }
/* con la columna fija, las esquinas de arriba del panel se quedan bajo la cabecera y las escenas suben hasta ella. La
   lista se suelta cuando la última escena llega a la cabecera (de ahí el margen: se va con ella) */
@media (min-width: 1024px) and (min-height: 780px) {
  .feat { padding-top: 0; }
  .feat-cap { display: block; position: sticky; top: 68px; z-index: 3; height: var(--fp); margin: 0 calc(var(--fx) * -1); pointer-events: none; }
  .feat-cap::before, .feat-cap::after { content: ''; position: absolute; top: 0; width: 40px; height: 40px; }
  .feat-cap::before { left: 0; background: radial-gradient(circle at 100% 100%, transparent 39.5px, var(--bg) 40px); }
  .feat-cap::after { right: 0; background: radial-gradient(circle at 0 100%, transparent 39.5px, var(--bg) 40px); }
  .feat-side { margin-bottom: calc(var(--fp) * -1); }
  /* (la columna, oscura también entre escena y escena: si el hueco fuera del color del panel, ahí el difuminado se
     dejaría de ver de golpe y parecería que salta) */
  .feat-media { border-radius: 28px; background: #0c0c0d; }
  /* las escenas se difuminan al subir: una sombra del color del panel, fija bajo la cabecera y solo sobre su columna.
     Mide lo mismo que el hueco de encima de la primera escena: en reposo no la toca. Curva suave, para que no se vean
     escalones (y -24 px: el hueco entre escenas, que no cuenta) */
  .feat-media::before {
    content: ''; position: sticky; top: 68px; z-index: 2; flex: none; height: var(--fp); margin: calc(var(--fp) * -1) 0 -24px; pointer-events: none;
    background: linear-gradient(to bottom, rgba(17, 17, 19, 1) 0%, rgba(17, 17, 19, 0.96) 12%, rgba(17, 17, 19, 0.86) 25%, rgba(17, 17, 19, 0.7) 38%, rgba(17, 17, 19, 0.5) 50%, rgba(17, 17, 19, 0.32) 62%, rgba(17, 17, 19, 0.17) 75%, rgba(17, 17, 19, 0.06) 88%, rgba(17, 17, 19, 0) 100%);
  }
}
/* (el enlace "How it works" también deja el borde ahí) */
#how { scroll-margin-top: calc(68px - clamp(130px, 13vw, 200px)); }
.feat-grid { max-width: 1344px; margin: 0 auto; display: grid; grid-template-columns: minmax(300px, 400px) 1fr; gap: clamp(56px, 7vw, 120px); align-items: start; }
.feat-side { position: sticky; top: calc(68px + var(--fp)); height: calc(100vh - 68px - var(--fp) - 32px); max-height: 690px; display: flex; flex-direction: column; justify-content: space-between; gap: 28px; }
.feat-h { font-size: clamp(36px, 3.2vw, 50px); line-height: 1.05; letter-spacing: -0.04em; }
/* "and so much more.": al llegar, la píldora verde pasa por encima y deja el texto encendido */
.sweep { background: linear-gradient(90deg, #f4f4f5 0 40%, #3ddc84 46% 54%, #3a3a40 60% 100%); background-size: 300% 100%; background-position: 100% 0; -webkit-background-clip: text; background-clip: text; color: transparent; }
.feat.in .sweep { animation: sweep 1.8s cubic-bezier(.45,0,.55,1) .25s forwards; }
@keyframes sweep { to { background-position: 0% 0; } }
.feat-p { margin-top: 18px; font-size: 17.5px; line-height: 1.55; color: var(--mute); max-width: 380px; }
.fxs { display: flex; flex-direction: column; }
.fx { position: relative; }
.fx-h { width: 100%; padding: 11px 0; text-align: left; font-size: 16.5px; font-weight: 600; letter-spacing: -0.012em; color: #5f5f66; transition: color .35s var(--out); }
.fx-h:hover, .fx.on .fx-h { color: var(--tx); }
/* (la misma altura en todas, ver site.js: la que se cierra y la que se abre se compensan y nada baila) */
.fx-b { height: 0; overflow: hidden; transition: height .45s var(--out); }
.fx.on .fx-b { height: var(--fxh, 88px); }
.fx-b p { padding-bottom: 16px; font-size: 15px; line-height: 1.55; color: var(--mute); max-width: 360px; opacity: 0; transition: opacity .35s var(--soft); }
.fx.on .fx-b p { opacity: 1; transition-delay: .1s; }
/* la línea solo en la activa */
.fx-bar { display: block; position: relative; height: 2px; border-radius: 2px; background: #1f1f22; overflow: hidden; opacity: 0; transition: opacity .3s; }
.fx.on .fx-bar { opacity: 1; }
.fx-bar i { position: absolute; inset: 0; border-radius: 2px; background: var(--green); transform-origin: 0 50%; transform: scaleX(var(--p, 0)); }
.feat-media { display: flex; flex-direction: column; gap: 24px; min-width: 0; }
.fi-cap { display: none; }
.fi-media { height: calc(100vh - 68px - var(--fp) - 32px); max-height: 690px; min-height: 420px; border-radius: 28px; background: #0c0c0d; overflow: hidden; }
/* la retícula de puntos a los lados de cada escena, que se apaga hacia el centro */
.fi-media::before { content: ''; position: absolute; inset: 0; background: radial-gradient(#26262a 1px, transparent 1.4px) 0 0 / 14px 14px; -webkit-mask-image: radial-gradient(75% 75% at 50% 50%, transparent 55%, #000); mask-image: radial-gradient(75% 75% at 50% 50%, transparent 55%, #000); }
/* en ventanas no muy altas la lista se aprieta un poco para caber entera */
@media (max-height: 859px) { .feat-side { gap: 16px; } .fx-h { padding: 8px 0; } .fx-b p { padding-bottom: 12px; } }
/* lista normal: si la ventana es estrecha o baja, sin columna fija */
@media (max-width: 1023px), (max-height: 779px) {
  .feat-grid { grid-template-columns: 1fr; }
  .feat-side { position: static; height: auto; max-height: none; }
  .fxs { display: none; }
  .feat-media { gap: 88px; }
  .fi-cap { display: block; margin-bottom: 28px; }
  .fi-cap h3 { font-size: 22px; font-weight: 600; letter-spacing: -0.02em; }
  .fi-cap p { margin-top: 10px; font-size: 16.5px; line-height: 1.55; color: var(--mute); max-width: 520px; }
  .fi-media { height: auto; min-height: 0; max-height: none; aspect-ratio: 4 / 3.3; }
}
@media (max-width: 760px) {
  .feat { border-radius: 28px; padding: 64px 18px 40px; margin: 0 -8px; }
  .feat-media { gap: 72px; }
  .fi-media { aspect-ratio: 4 / 4.4; border-radius: 22px; }
}

/* las escenas de la presentación (film.js) */
.film-art { position: relative; }
.film-art canvas { position: absolute; inset: 0; width: 100%; height: 100%; }

/* ── preguntas: la línea de tiempo del editor; sin JS, una lista normal ── */
.faq-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 56px; }
.q + .q { margin-top: 28px; }
.q-t { font-size: clamp(26px, 3.2vw, 48px); font-weight: 550; line-height: 1.12; letter-spacing: -0.035em; }
.q-a { margin-top: 20px; font-size: clamp(16.5px, 1.35vw, 19px); line-height: 1.55; color: var(--mute); }
.timed .q { margin: 0; }
.timed .q.open > * { animation: flIn .45s var(--out) both; }
.timed .q.open .q-a { animation-delay: .05s; }
@keyframes flIn { from { opacity: 0; transform: translateY(10px); } }
@media (prefers-reduced-motion: reduce) { .timed .q.open > * { animation: none; } }
.fl-bar { display: flex; align-items: center; gap: 12px; }
.fl-play { flex: none; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; background: var(--tx); color: var(--ink); }
.fl-play svg { width: 15px; height: 15px; }
.fl-time { font-size: 13px; font-weight: 500; letter-spacing: .04em; color: var(--mute); font-variant-numeric: tabular-nums; }
.fl-track { position: relative; margin-top: 20px; }
.fl-lane { position: relative; padding-top: 22px; }
.fl-ruler { position: absolute; left: 0; right: 0; top: 4px; height: 8px; background: repeating-linear-gradient(to right, #333338 0 1px, transparent 1px 12px); }
.fl-clips { position: relative; display: flex; gap: 4px; }
.fl-clip { container-type: inline-size; min-width: 0; height: 84px; display: flex; flex-direction: column; justify-content: space-between; padding: 12px; border-radius: 14px; background: var(--card2); color: var(--mute); text-align: left; overflow: hidden; }
.fl-clip b { font-size: 12px; font-weight: 600; font-variant-numeric: tabular-nums; }
.fl-clip span { display: block; font-size: 12px; line-height: 1.2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fl-clip.on { background: var(--card3); color: var(--tx); box-shadow: inset 0 0 0 1.5px #55555c; }
@container (max-width: 76px) { .fl-clip span { display: none; } }
.fl-head { position: absolute; top: 0; bottom: -8px; left: 0; width: 2px; margin-left: -1px; border-radius: 2px; background: var(--tx); pointer-events: none; }
.fl-head.smooth { transition: left .4s var(--out); }
.fl-head::before { content: ''; position: absolute; left: -5px; top: -2px; width: 12px; height: 18px; border-radius: 999px; background: var(--tx); }
@media (min-width: 1024px) {
  .timed .qs { display: grid; max-width: 860px; }
  .timed .q { grid-area: 1 / 1; visibility: hidden; }
  .timed .q.open { visibility: visible; }
  .fl-track { cursor: ew-resize; touch-action: none; user-select: none; }
  .fl-clip { flex: calc(var(--len) + 140) 1 0; pointer-events: none; }
}
/* móvil y tablet: el cabezal fijo en el centro y los clips, de ancho cómodo, se deslizan debajo; la respuesta va debajo para que la pista no salte */
@media (max-width: 1023px) {
  .timed .fl { order: 1; }
  .timed .qs { order: 2; }
  .timed .q { display: none; }
  .timed .q.open { display: block; }
  .fl-bar { justify-content: center; }
  .fl-track { cursor: grab; user-select: none; }
  .fl-track.drag { cursor: grabbing; }
  .fl-clip { cursor: inherit; }
  .fl-scroll { margin: 0 calc(var(--gut) * -1); overflow-x: auto; scrollbar-width: none; overscroll-behavior-x: contain; }
  .fl-scroll::-webkit-scrollbar { display: none; }
  .fl-lane { display: inline-block; vertical-align: top; padding: 22px 50vw 0; }
  .fl-ruler { left: 50vw; right: 50vw; }
  .fl-clips { width: max-content; }
  .fl-clip { flex: none; width: calc(116px + var(--len) * .55px); }
  .fl-head { left: 50%; }
}

/* ── precios: cada plan con su color "líquido" y sus iconos, como Get Time en la app (sin grano: en la web no) ── */
.plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; align-items: stretch; }
.pl {
  display: flex; flex-direction: column; border-radius: 30px; padding: 14px; color: #fff;
  background:
    linear-gradient(to bottom, transparent 42%, rgba(0, 0, 0, .5)),
    radial-gradient(90% 40% at 50% 104%, var(--deep), transparent),
    radial-gradient(75% 38% at 10% 58%, color-mix(in srgb, var(--c1) 50%, transparent), transparent),
    radial-gradient(85% 48% at 98% 34%, color-mix(in srgb, var(--c2) 68%, transparent), transparent),
    radial-gradient(125% 62% at 18% 8%, color-mix(in srgb, var(--c1) 92%, transparent), transparent),
    var(--deep);
}
.pl-free { --c1: #5b6478; --c2: #a3acc2; --deep: #15171d; }
.pl-starter { --c1: #3d7bff; --c2: #00c6ff; --deep: #0e1a4a; }
.pl-studio { --c1: #ff7a2e; --c2: #ffd25c; --deep: #4a160a; }
.pl-pro { --c1: #13c987; --c2: #b6ff5c; --deep: #07322a; }
.pl svg { display: block; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.pl-head { padding: 20px 14px 24px; }
.pl-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.pl-name { font-size: clamp(34px, 3vw, 44px); font-weight: 700; letter-spacing: -0.035em; line-height: 1.1; }
.pl-tag { flex: none; font-style: normal; height: 26px; padding: 0 11px; display: grid; place-items: center; border-radius: 999px; background: rgba(0, 0, 0, .26); font-size: 12px; font-weight: 650; }
.pl-price { margin-top: 16px; display: flex; align-items: baseline; gap: 4px; }
.pl-price b { font-size: clamp(26px, 2.2vw, 32px); font-weight: 700; letter-spacing: -0.03em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.pl-price span { font-size: 14px; color: rgba(255, 255, 255, .72); }
.pl-hrs { margin-top: 6px; font-size: 14px; color: rgba(255, 255, 255, .78); }
.pl-hrs b { color: #fff; font-weight: 600; }
.pl-stat { margin-top: 20px; display: flex; align-items: center; gap: 10px; padding: 8px 12px 8px 8px; border-radius: 18px; background: rgba(255, 255, 255, .1); }
.pl-plate { flex: none; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 11px; background: #fff; color: var(--deep); }
.pl-plate svg { width: 18px; height: 18px; }
.pl-stat b { font-size: 22px; font-weight: 700; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.pl-stat > span:last-child { font-size: 12.5px; font-weight: 500; line-height: 1.25; color: rgba(255, 255, 255, .82); }
.pl-glass { flex: 1; display: flex; flex-direction: column; justify-content: space-between; gap: 16px; padding: 20px 18px; border-radius: 22px; background: rgba(0, 0, 0, .26); list-style: none; }
.pl-glass li { display: flex; align-items: center; gap: 12px; }
.pl-ic { flex: none; width: 36px; height: 36px; display: grid; place-items: center; border-radius: 12px; background: rgba(255, 255, 255, .13); }
.pl-ic svg { width: 20px; height: 20px; }
.pl-glass p { min-width: 0; font-size: 14px; line-height: 1.25; }
.pl-glass b { display: block; font-weight: 600; }
.pl-glass p span { display: block; margin-top: 2px; font-size: 12.5px; color: rgba(255, 255, 255, .72); }
.pl .btn { width: 100%; margin-top: 14px; }
.pl .btn-white::before { box-shadow: none; }
.pl-note { margin-top: 36px; text-align: center; font-size: 14px; color: var(--dim); }

/* ── no existe (404) ── */
.nf-back { height: 62px; padding: 0 30px; font-size: 16.5px; }
/* la retícula llena toda la ventana, sin fundirse ni cortarse */
#heroBg[data-word] { position: fixed; inset: 0; -webkit-mask-image: none; mask-image: none; }

/* ── final ── */
.end { text-align: center; padding-top: clamp(170px, 18vw, 260px); padding-bottom: clamp(130px, 14vw, 200px); }
.end-title { font-size: clamp(46px, 7vw, 108px); letter-spacing: -0.05em; max-width: 1100px; margin: 0 auto; }
.end-sub { margin-top: 24px; font-size: 20px; color: var(--mute); }
.end .ctas { margin-top: 48px; }

.foot { padding: 0 var(--gut) 48px; }
.foot-in { max-width: var(--max); margin: 0 auto; padding-top: 36px; display: flex; align-items: center; gap: 28px; font-size: 14px; color: var(--mute); }
.foot-in img { height: 19px; width: auto; opacity: .9; }
.foot nav { display: flex; gap: 22px; }
.foot nav a:hover { color: var(--tx); }
.foot-c { margin-left: auto; color: var(--dim); }

/* ── al entrar en pantalla ── */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 1s var(--out), transform 1.1s var(--out); }
.reveal.in { opacity: 1; transform: none; }

/* ── entrar: la web se apaga, los puntos llenan la pantalla (site.js) y a la derecha entra el panel, como en kaptio.co ── */
/* (sin barra de scroll, para que el panel llegue al borde; --sbw evita que la web salte al quitarla) */
html.locked { overflow: hidden; padding-right: var(--sbw, 0); }
html.locked .nav { right: var(--sbw, 0); }
html.locked main, html.locked .nav, html.locked .foot { opacity: 0; pointer-events: none; }
.modal { position: fixed; inset: 0; z-index: 100; display: flex; justify-content: flex-end; overflow: hidden; }
.modal:not(.open) { visibility: hidden; } /* (oculta pero viva: el botón de Google se prepara aquí) */
.modal[hidden] { display: none; }
.m-field { position: absolute; inset: 0; background: var(--bg); }
.m-field canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.m-side { position: relative; z-index: 1; width: clamp(420px, 33vw, 540px); display: flex; align-items: center; justify-content: center; padding: 40px; overflow-y: auto; background: #0d0d0e; border-left: 1px solid #1e1e21; transform: translateX(100%); }
.modal.open .m-side { transform: none; transition: transform .55s var(--out); }
.m-card { width: 100%; max-width: 360px; display: flex; flex-direction: column; align-items: flex-start; }
.m-logo { height: 30px; width: auto; }
.m-sub { margin-top: 24px; font-size: 15px; line-height: 1.6; color: #a6a6ad; }
.gslot { margin-top: 32px; width: 100%; height: 44px; display: grid; justify-items: start; align-items: center; transition: opacity .2s; }
.gwait { display: inline-flex; align-items: center; justify-content: center; gap: 10px; width: 100%; height: 44px; padding: 0 24px; border-radius: 999px; background: var(--tx); color: var(--ink); font-weight: 550; font-size: 15px; }
.gwait svg { width: 18px; height: 18px; }
.m-facts { width: 100%; margin-top: 32px; padding-top: 24px; border-top: 1px solid #1e1e21; display: flex; flex-direction: column; gap: 13px; }
.m-facts li { display: flex; align-items: center; gap: 12px; font-size: 13.5px; line-height: 1.4; color: #a6a6ad; }
.m-facts svg { flex: none; width: 16px; height: 16px; fill: none; stroke: var(--green); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.legal { margin-top: 30px; font-size: 12px; line-height: 1.5; color: var(--dim); }
.legal a { color: var(--mute); text-decoration: underline; text-underline-offset: 2px; }
.modal-x { position: absolute; top: 16px; right: 16px; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; }
.modal-x::before { content: ''; position: absolute; inset: 0; border-radius: inherit; background: #1c1c1f; opacity: 0; transition: opacity .25s var(--out); }
.modal-x:hover::before { opacity: 1; }
.modal-x svg { position: relative; width: 20px; height: 20px; stroke: var(--mute); stroke-width: 1.8; stroke-linecap: round; }
@media (max-width: 900px) {
  .modal { flex-direction: column; justify-content: flex-end; }
  .m-side { width: 100%; max-height: 72svh; padding: 28px 22px; padding-bottom: max(26px, env(safe-area-inset-bottom)); border-left: 0; border-top: 1px solid #1e1e21; transform: translateY(100%); }
  .m-card { max-width: none; }
  .m-sub { margin-top: 16px; font-size: 14.5px; line-height: 1.55; }
  .gslot { margin-top: 22px; justify-items: center; }
  .m-facts { margin-top: 22px; padding-top: 18px; gap: 10px; }
  .legal { margin-top: 18px; }
}
@media (max-width: 900px) and (max-height: 720px) { .m-facts { display: none; } .legal { margin-top: 20px; } }
@keyframes fadeIn { from { opacity: 0; } }
.toast { position: fixed; left: 50%; bottom: 28px; z-index: 120; transform: translateX(-50%); padding: 12px 20px; border-radius: 999px; background: #232326; font-size: 14.5px; animation: up .4s var(--out); transition: opacity .4s; }
.toast.out { opacity: 0; }

/* ── pantallas medianas y teléfonos ── */
@media (max-width: 1280px) {
  .plans { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  :root { --gut: 24px; }
}
@media (max-width: 760px) {
  :root { --gut: 16px; }
  .nav { height: 60px; gap: 16px; }
  .nav-links { display: none; }
  .nav-btn { margin-left: auto; }
  .lang { margin-left: -14px; }
  .lang-m { left: 14px; max-height: calc(100svh - 200px); }
  .brand img { height: 21px; }
  .title { font-size: clamp(50px, 15vw, 66px); }
  .lead { margin-top: 20px; font-size: 18.5px; }
  .cta-col { display: flex; margin-top: 28px; width: 100%; }
  .cta-col .ctas { width: 100%; }
  .ctas { flex-direction: column; align-items: stretch; gap: 10px; }
  .getx { height: 60px; text-align: left; }
  .getx span { flex: 1; }
  .hero { flex-direction: column; align-items: stretch; min-height: 0; padding: 116px var(--gut) 220px; gap: 0; }
  .sec { padding-top: 120px; }
  .sec-head { margin-bottom: 44px; }
  .sec-head p { font-size: 17px; }
  .plans { grid-template-columns: 1fr; gap: 16px; }
  .pl { border-radius: 24px; }
  .end { padding-top: 140px; padding-bottom: 110px; }
  .foot-in { flex-wrap: wrap; gap: 18px 22px; }
  .foot-c { margin-left: 0; width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; transition-duration: .01ms !important; }
}
