/* SpamFence — landing. Sin dependencias, sin fuentes externas, sin estilos inline
   (la CSP no permite 'unsafe-inline'). Todo lo dinámico se hace con variables
   CSS que el JS actualiza por CSSOM, que la CSP sí permite. */

:root {
  --bg: #0b0b0f;
  --bg-2: #101016;
  --fg: #f5f5f7;
  --fg-2: #a1a1aa;
  --fg-3: #6b6b76;
  --line: rgba(255, 255, 255, .08);
  --line-2: rgba(255, 255, 255, .14);
  --c1: #5ac8fa;
  --c2: #3b82f6;
  --c3: #8b5cf6;
  --danger: #ff453a;
  --ok: #30d158;
  --radius: 22px;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Segoe UI Variable", "Segoe UI", Inter, Roboto, Helvetica, Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --mx: 50%;
  --my: 50%;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
p { margin: 0; }
h1, h2, h3 { margin: 0; font-weight: 600; letter-spacing: -.02em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
strong { font-weight: 600; color: var(--fg); }
:focus-visible { outline: 2px solid var(--c1); outline-offset: 4px; border-radius: 6px; }

.skip {
  position: absolute; left: 12px; top: -60px; padding: 10px 14px; background: var(--fg); color: var(--bg);
  border-radius: 10px; z-index: 100; font-weight: 600; transition: top .2s;
}
.skip:focus { top: 12px; }

/* ---------- Cursor ---------- */
.cursor { display: none; }
@media (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .cursor { display: block; position: fixed; inset: 0; pointer-events: none; z-index: 90; }
  .cursor__dot, .cursor__ring {
    position: absolute; left: 0; top: 0; border-radius: 50%; transform: translate(-50%, -50%);
    will-change: transform;
  }
  .cursor__dot { width: 6px; height: 6px; background: var(--fg); transform: translate(var(--cx, -100px), var(--cy, -100px)) translate(-50%, -50%); }
  .cursor__ring {
    width: 36px; height: 36px; border: 1px solid rgba(255, 255, 255, .35);
    transform: translate(var(--rx, -100px), var(--ry, -100px)) translate(-50%, -50%) scale(var(--rs, 1));
    transition: border-color .25s, background-color .25s;
  }
  body.is-hovering .cursor__ring { border-color: rgba(90, 200, 250, .9); background: rgba(90, 200, 250, .08); }
  body.is-hovering { cursor: none; }
  body.has-cursor, body.has-cursor a, body.has-cursor button, body.has-cursor summary { cursor: none; }
}

/* ---------- Nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px;
  padding: 14px clamp(16px, 4vw, 40px);
  transition: background-color .4s, border-color .4s, backdrop-filter .4s;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: rgba(11, 11, 15, .6);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom-color: var(--line);
}
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; letter-spacing: -.01em; justify-self: start; }
.brand__mark { display: block; }
.mark__shield { stroke-dasharray: 200; stroke-dashoffset: 200; animation: draw 1.4s var(--ease-out) .1s forwards; }
.mark__slats { opacity: 0; animation: fade .6s var(--ease-out) .9s forwards; }
.mark__cut, .mark__cut2 { stroke-dasharray: 40; stroke-dashoffset: 40; animation: draw .5s var(--ease-out) 1.3s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fade { to { opacity: 1; } }
.nav__links { display: flex; gap: 28px; font-size: 14px; color: var(--fg-2); }
.nav__links a { position: relative; padding: 6px 0; transition: color .25s; }
.nav__links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--fg);
  transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease-out);
}
.nav__links a:hover { color: var(--fg); }
.nav__links a:hover::after { transform: scaleX(1); }
.nav__cta { justify-self: end; }
.pill {
  font-size: 13px; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line-2);
  background: rgba(255, 255, 255, .04); color: var(--fg-2); white-space: nowrap;
}

/* ---------- Tipografía ---------- */
.eyebrow { font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--c1); }
.display {
  font-size: clamp(42px, 6.4vw, 84px); line-height: 1.02; letter-spacing: -.035em; font-weight: 700;
  margin-top: 18px;
}
.grad {
  background: linear-gradient(92deg, var(--c1), var(--c2) 45%, var(--c3));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.lead { font-size: clamp(18px, 1.5vw, 22px); color: var(--fg-2); max-width: 56ch; margin-top: 24px; }
.title { font-size: clamp(32px, 4.4vw, 56px); line-height: 1.06; letter-spacing: -.03em; margin-top: 14px; max-width: 22ch; }
.sub { color: var(--fg-2); font-size: clamp(17px, 1.3vw, 20px); margin-top: 18px; max-width: 58ch; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 24px; border-radius: 999px; font-weight: 600; font-size: 16px;
  transition: transform .35s var(--ease-out), background-color .25s, border-color .25s, box-shadow .35s;
  will-change: transform;
}
.btn--primary {
  color: #08080c; background: var(--fg);
  box-shadow: 0 0 0 0 rgba(90, 200, 250, 0);
}
.btn--primary:hover { box-shadow: 0 8px 40px -8px rgba(90, 200, 250, .55); }
.btn--ghost { border: 1px solid var(--line-2); color: var(--fg); background: rgba(255, 255, 255, .03); }
.btn--ghost:hover { border-color: rgba(255, 255, 255, .3); background: rgba(255, 255, 255, .06); }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100svh; display: grid; align-items: center;
  padding: 120px clamp(16px, 4vw, 40px) 80px; overflow: hidden; isolation: isolate;
}
.hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; }
.hero__glow {
  position: absolute; z-index: -1; inset: auto; width: 60vmax; height: 60vmax; left: 55%; top: 45%;
  transform: translate(-50%, -50%);
  background: radial-gradient(closest-side, rgba(59, 130, 246, .22), rgba(139, 92, 246, .12) 45%, transparent 70%);
  filter: blur(30px); pointer-events: none;
  animation: breathe 9s ease-in-out infinite;
}
@keyframes breathe { 50% { transform: translate(-50%, -50%) scale(1.08); } }
.hero__inner {
  max-width: 1200px; margin: 0 auto; width: 100%;
  display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(24px, 5vw, 72px); align-items: center;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero__facts { display: flex; gap: 28px; margin-top: 40px; color: var(--fg-3); font-size: 14px; flex-wrap: wrap; }
.hero__facts strong { font-size: 22px; color: var(--fg); margin-right: 6px; letter-spacing: -.02em; }
.hero__scroll {
  position: absolute; left: 50%; bottom: 26px; width: 22px; height: 36px; border: 1px solid var(--line-2);
  border-radius: 12px; transform: translateX(-50%); opacity: .6;
}
.hero__scroll span {
  position: absolute; left: 50%; top: 7px; width: 3px; height: 7px; border-radius: 3px; background: var(--fg-2);
  transform: translateX(-50%); animation: scrollhint 1.8s ease-in-out infinite;
}
@keyframes scrollhint { 50% { transform: translate(-50%, 12px); opacity: .2; } }

/* ---------- Teléfono ---------- */
.hero__device { display: grid; place-items: center; perspective: 1400px; }
.phone {
  position: relative; width: min(300px, 78vw); aspect-ratio: 9 / 19.2; border-radius: 46px;
  background: #0a0a0d; border: 1px solid rgba(255, 255, 255, .16);
  box-shadow:
    0 0 0 6px #17171c, 0 0 0 7px rgba(255, 255, 255, .06),
    0 60px 120px -30px rgba(0, 0, 0, .8), 0 0 80px -20px rgba(59, 130, 246, .35);
  transform: rotateX(var(--tx, 0deg)) rotateY(var(--ty, 0deg)) translateZ(0);
  transition: transform .18s var(--ease);
  transform-style: preserve-3d;
}
.phone__island {
  position: absolute; left: 50%; top: 14px; width: 34%; height: 24px; border-radius: 999px; background: #000;
  transform: translateX(-50%); z-index: 3;
}
.phone__screen {
  position: absolute; inset: 8px; border-radius: 40px; overflow: hidden;
  background:
    radial-gradient(120% 60% at 50% 0%, rgba(59, 130, 246, .28), transparent 60%),
    linear-gradient(180deg, #131320, #0b0b12 70%);
}
.call { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; padding: 60px 20px 34px; text-align: center; }
.call__label { color: var(--fg-2); font-size: 13px; letter-spacing: .04em; }
.call__number { font-size: 22px; font-weight: 600; letter-spacing: -.01em; margin-top: 6px; }
.call__verdict { position: relative; width: 100%; height: 44px; margin-top: 22px; }
.verdict {
  position: absolute; left: 50%; top: 0; transform: translateX(-50%); white-space: nowrap;
  display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 999px; font-size: 12.5px;
  border: 1px solid var(--line-2); background: rgba(255, 255, 255, .05); opacity: 0;
}
.verdict i { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }
.verdict--scan i { background: var(--c1); box-shadow: 0 0 0 0 rgba(90, 200, 250, .6); animation: pulse 1.2s ease-out infinite; }
.verdict--block { border-color: rgba(255, 69, 58, .45); background: rgba(255, 69, 58, .12); color: #ffb4ae; }
.verdict--block i { background: var(--danger); }
.verdict--scan { animation: scanIn 6s var(--ease) infinite; }
.verdict--block { animation: blockIn 6s var(--ease) infinite; }
@keyframes pulse { to { box-shadow: 0 0 0 10px rgba(90, 200, 250, 0); } }
@keyframes scanIn {
  0% { opacity: 0; transform: translate(-50%, 8px); }
  8%, 38% { opacity: 1; transform: translate(-50%, 0); }
  46%, 100% { opacity: 0; transform: translate(-50%, -8px); }
}
@keyframes blockIn {
  0%, 46% { opacity: 0; transform: translate(-50%, 8px) scale(.96); }
  54%, 90% { opacity: 1; transform: translate(-50%, 0) scale(1); }
  100% { opacity: 0; transform: translate(-50%, -8px) scale(.98); }
}
.call__buttons { margin-top: auto; display: flex; gap: 44px; }
.cbtn { width: 56px; height: 56px; border-radius: 50%; display: block; }
.cbtn--red { background: var(--danger); }
.cbtn--green { background: var(--ok); }
.phone__ring {
  position: absolute; inset: -18px; border-radius: 60px; border: 1px solid rgba(90, 200, 250, .35);
  animation: ring 6s var(--ease) infinite; pointer-events: none; opacity: 0;
}
@keyframes ring {
  46% { opacity: 0; transform: scale(1); }
  54% { opacity: .9; transform: scale(1.02); }
  75% { opacity: 0; transform: scale(1.12); }
}

/* ---------- Secciones ---------- */
.section { position: relative; padding: clamp(80px, 12vw, 160px) clamp(16px, 4vw, 40px); max-width: 1200px; margin: 0 auto; }
.section--alt::before {
  content: ""; position: absolute; inset: 0 -100vw; background: var(--bg-2); z-index: -1;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.section__head { max-width: 760px; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 56px; counter-reset: s; }
.step {
  padding: 28px; border-radius: var(--radius); border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, .04), rgba(255, 255, 255, .015));
  transition: transform .5s var(--ease-out), border-color .3s;
}
.step:hover { transform: translateY(-4px); border-color: var(--line-2); }
.step__n { font-family: var(--mono); font-size: 13px; color: var(--c1); }
.step h3 { font-size: 21px; margin-top: 16px; }
.step p { color: var(--fg-2); margin-top: 10px; font-size: 15.5px; }

.flow { display: grid; grid-template-columns: auto 1fr auto 1fr auto; align-items: center; gap: 14px; margin-top: 56px; }
.flow__node {
  padding: 14px 20px; border-radius: 14px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, .04);
  font-size: 14px; font-weight: 600; white-space: nowrap;
}
.flow__node--relay { border-color: rgba(90, 200, 250, .4); }
.flow__node--pir { border-color: rgba(139, 92, 246, .5); }
.flow__line { position: relative; height: 2px; background: var(--line-2); overflow: hidden; border-radius: 2px; }
.flow__line i {
  position: absolute; top: 0; left: -30%; width: 30%; height: 100%;
  background: linear-gradient(90deg, transparent, var(--c1), transparent);
  animation: travel 2.4s linear infinite;
}
.flow__line:nth-of-type(4) i { animation-delay: 1.2s; }
@keyframes travel { to { left: 100%; } }

.cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 56px; }
.card {
  position: relative; padding: 32px; border-radius: var(--radius); border: 1px solid var(--line);
  background: rgba(255, 255, 255, .025); overflow: hidden; isolation: isolate;
  transition: border-color .3s, transform .5s var(--ease-out);
}
.card:hover { border-color: var(--line-2); transform: translateY(-3px); }
.spot::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .4s;
  background: radial-gradient(360px circle at var(--mx) var(--my), rgba(90, 200, 250, .16), transparent 55%);
}
.spot:hover::before { opacity: 1; }
.card__icon {
  width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; font-size: 20px;
  background: linear-gradient(135deg, rgba(90, 200, 250, .25), rgba(139, 92, 246, .25)); color: var(--fg);
}
.card h3 { font-size: 22px; margin-top: 22px; }
.card p { color: var(--fg-2); margin-top: 10px; font-size: 15.5px; }

.specs { margin-top: 48px; border-top: 1px solid var(--line); }
.spec {
  display: grid; grid-template-columns: 180px 1fr; gap: 24px; padding: 22px 0; border-bottom: 1px solid var(--line);
  transition: padding-left .4s var(--ease-out);
}
.spec:hover { padding-left: 10px; }
.spec__k { color: var(--fg-3); font-size: 13px; letter-spacing: .1em; text-transform: uppercase; font-weight: 600; padding-top: 3px; }
.spec__v { font-size: 18px; letter-spacing: -.01em; }

.faq { margin-top: 40px; max-width: 820px; }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary {
  cursor: pointer; list-style: none; padding: 22px 44px 22px 0; font-size: 19px; font-weight: 600; position: relative; letter-spacing: -.01em;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font-weight: 400; font-size: 26px; color: var(--fg-3);
  transition: transform .35s var(--ease-out), color .3s;
}
.faq__item[open] summary::after { transform: translateY(-50%) rotate(45deg); color: var(--c1); }
/* Mientras main.js anima la altura: nada se sale del ítem, y al cerrar el «+»
   vuelve junto con el movimiento, no al final. */
.faq__item.is-animando { overflow: hidden; }
.faq__item.is-cerrando summary::after { transform: translateY(-50%); color: var(--fg-3); }
.faq__item p { color: var(--fg-2); padding: 0 0 24px; max-width: 70ch; }

.footer { border-top: 1px solid var(--line); padding: 40px clamp(16px, 4vw, 40px); }
.footer__inner { max-width: 1200px; margin: 0 auto; display: flex; flex-wrap: wrap; gap: 12px 32px; align-items: baseline; justify-content: space-between; color: var(--fg-3); font-size: 14px; }
.footer__brand { color: var(--fg); font-weight: 600; }

/* ---------- Revelado al hacer scroll ----------
   El contenido es VISIBLE por defecto. La animación de entrada solo se aplica
   cuando el JS confirma que está vivo agregando `reveal-ready` al body. Así, si
   el JavaScript falla, tarda o está bloqueado, la página se ve completa igual —
   nunca una pantalla en blanco esperando un script. */
body.reveal-ready .reveal { opacity: 0; transform: translateY(22px); transition: opacity .9s var(--ease-out), transform .9s var(--ease-out); }
body.reveal-ready .reveal.in { opacity: 1; transform: none; }
.steps .step:nth-child(2), .cards .card:nth-child(2) { transition-delay: .1s; }
.steps .step:nth-child(3), .cards .card:nth-child(3) { transition-delay: .2s; }
.cards .card:nth-child(4) { transition-delay: .3s; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .nav { grid-template-columns: auto 1fr; }
  .nav__links { display: none; }
  .hero__inner { grid-template-columns: 1fr; text-align: left; }
  .hero__device { order: -1; margin-bottom: 8px; }
  .phone { width: min(240px, 60vw); }
  .steps, .cards { grid-template-columns: 1fr; }
  .flow { grid-template-columns: 1fr; gap: 10px; }
  .flow__line { height: 40px; width: 2px; margin: 0 auto; }
  .flow__line i { left: 0; top: -30%; width: 100%; height: 30%; background: linear-gradient(180deg, transparent, var(--c1), transparent); animation-name: travelV; }
  @keyframes travelV { to { top: 100%; } }
  .spec { grid-template-columns: 1fr; gap: 6px; }
}
@media (max-width: 560px) {
  .nav__cta { display: none; }
  .hero { padding-top: 96px; }
  .hero__facts { gap: 18px; }
}

/* ---------- Movimiento reducido ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001s !important; animation-iteration-count: 1 !important; transition-duration: .001s !important; }
  body.reveal-ready .reveal { opacity: 1; transform: none; }
  .verdict--block { opacity: 1; }
  .hero__canvas { display: none; }
}

/* ---------- Nav lateral de puntos ---------- */
.dots {
  position: fixed; left: 22px; top: 50%; transform: translateY(-50%); z-index: 45;
  display: flex; flex-direction: column; gap: 14px; padding: 12px 8px;
  border-radius: 999px; border: 1px solid var(--line); background: rgba(11, 11, 15, .45);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
}
.dots__dot { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; }
.dots__dot i {
  width: 7px; height: 7px; border-radius: 50%; background: rgba(255, 255, 255, .28);
  transition: transform .35s var(--ease-out), background-color .3s, box-shadow .3s;
}
.dots__dot:hover i { background: var(--fg); transform: scale(1.35); }
.dots__dot.is-active i {
  background: linear-gradient(135deg, var(--c1), var(--c3)); transform: scale(1.6);
  box-shadow: 0 0 0 4px rgba(90, 200, 250, .15), 0 0 18px rgba(90, 200, 250, .45);
}
@media (max-width: 960px) { .dots { display: none; } }

/* ---------- Selector de idioma ---------- */
.nav__right { justify-self: end; display: flex; align-items: center; gap: 12px; }
.lang {
  display: inline-flex; padding: 3px; border-radius: 999px; border: 1px solid var(--line-2);
  background: rgba(255, 255, 255, .04);
}
.lang__btn {
  appearance: none; border: 0; background: transparent; color: var(--fg-2); font: inherit; font-size: 12px;
  font-weight: 600; letter-spacing: .06em; padding: 5px 10px; border-radius: 999px; cursor: pointer;
  transition: background-color .25s, color .25s;
}
.lang__btn:hover { color: var(--fg); }
.lang__btn.is-active { background: var(--fg); color: var(--bg); }

/* ---------- Teléfono: marca e iconos ---------- */
.call__brand {
  display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px 5px 7px; border-radius: 999px;
  border: 1px solid var(--line-2); background: rgba(255, 255, 255, .05);
  font-size: 11px; font-weight: 600; letter-spacing: .02em; color: var(--fg); margin-bottom: 22px;
}
.call__logo { display: block; width: 18px; height: 18px; }
.cbtn { display: grid; place-items: center; color: #fff; box-shadow: 0 8px 24px -8px rgba(0, 0, 0, .7); }
.cbtn--red svg { transform: rotate(135deg); }
.hero__trust { margin-top: 26px; font-size: 13.5px; color: var(--fg-3); max-width: 48ch; }

/* Tarjetas de beneficios: los iconos SVG heredan el color */
.card__icon svg { display: block; }

/* Ajustes de reflow: la navegación ocupa su propio carril, no tapa texto. */
html { scroll-padding-top: 90px; }
.hero__copy, .hero__device, .step, .card, .spec__v { min-width: 0; overflow-wrap: break-word; }
.nav { grid-template-columns: auto minmax(0, 1fr) auto; gap: 16px; }
.nav__links { justify-content: center; gap: clamp(12px, 2vw, 28px); }
.dots { left: 8px; gap: 2px; padding: 6px 2px; max-height: calc(100dvh - 110px); overflow-y: auto; }
.dots__dot { width: 28px; height: 28px; flex-shrink: 0; }
.dots__dot i { width: 5px; height: 5px; }
.dots__dot.is-active i { transform: scale(1.4); box-shadow: 0 0 0 3px rgba(90,200,250,.15); }
main, .footer { margin-left: 48px; }
.hero { min-height: 100vh; min-height: 100svh; }
.phone { max-width: calc(100% - 32px); }
.verdict { white-space: normal; width: max-content; max-width: 100%; }
@media (max-width: 1200px) { .nav__cta { display: none; } }
@media (max-width: 960px) {
  .dots { display: flex; }
  .nav { grid-template-columns: auto auto; justify-content: space-between; }
  .hero__device { order: 0; margin-top: 24px; }
  .hero { padding-top: 100px; }
}
@media (max-width: 560px) {
  main, .footer { margin-left: 36px; }
  .dots { left: 2px; padding: 4px 1px; }
  .dots__dot { width: 26px; height: 28px; }
  .nav { padding-inline: 12px; gap: 8px; }
  .brand { gap: 6px; font-size: 15px; }
  .brand__mark { width: 28px; height: 28px; }
  .lang__btn { min-height: 32px; padding-inline: 9px; }
  .display { font-size: clamp(30px, 8.5vw, 42px); }
  .title { font-size: clamp(26px, 7vw, 34px); }
  .step, .card { padding: 22px; }
  .phone { width: min(240px, 100% - 24px); }
  .call { padding-inline: 10px; }
  .call__number { font-size: 19px; }
  .call__buttons { gap: 28px; }
  .cbtn { width: 48px; height: 48px; }
}
@media (max-height: 360px) {
  .dots { top: 72px; transform: none; max-height: calc(100dvh - 80px); }
}

/* Recorta solo los fondos que se extienden fuera del documento, no el texto. */
main { overflow: clip; }

@media (prefers-reduced-motion: reduce) {
  .mark__shield, .mark__cut, .mark__cut2 { stroke-dashoffset: 0; }
  .mark__slats { opacity: 1; }
}

/* ---------- Páginas de documento (privacidad, soporte) ----------
   Reusan las clases de la portada, pero no su maqueta: la portada corre el
   contenido a la derecha para la columna de puntos (`main { margin-left }`), que
   acá no existe, y su escala de títulos es de cartel, no de lectura. */
.doc main { margin-left: 0; }
.doc__bar {
  max-width: 760px; margin: 0 auto; padding: 20px clamp(16px, 4vw, 40px) 0;
  display: flex; align-items: center;
}
.doc .brand__mark { width: 32px; height: 32px; }
.doc .section { max-width: 760px; padding: 32px clamp(16px, 4vw, 40px) 72px; }
.doc .section__head { max-width: none; }
.doc .section__head + .section__head { margin-top: 40px; }
.doc .title {
  font-size: clamp(22px, 5.6vw, 28px); line-height: 1.2; letter-spacing: -.015em;
  max-width: none; margin-top: 0;
}
.doc h1.title { font-size: clamp(30px, 8vw, 44px); line-height: 1.12; letter-spacing: -.025em; margin-top: 14px; }
.doc .sub { font-size: 16px; line-height: 1.65; max-width: none; margin-top: 12px; overflow-wrap: anywhere; }
.doc .sub a { color: var(--c1); text-decoration: underline; text-underline-offset: 3px; }
.doc__volver { display: flex; justify-content: center; margin-top: 56px; }
.doc__idioma {
  margin-left: auto; padding: 10px 4px; font-size: 15px; font-weight: 600;
  color: var(--c1); text-decoration: underline; text-underline-offset: 3px;
}
