/* =====================================================================
   MED · Evento Llave en Mano — Landing
   Mobile-first · WCAG 2.2 AA · fuentes propias (sin terceros)
   ===================================================================== */

@font-face {
  font-family: "Sora";
  src: url("../fonts/sora-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "JetBrains Mono";
  src: url("../fonts/jetbrains-mono-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 800;
  font-style: normal;
  font-display: swap;
}

@property --angle {
  syntax: "<angle>";
  inherits: false;
  initial-value: 0deg;
}

:root {
  color-scheme: dark;
  --bg: #07070a;
  --bg-2: #0c0c11;
  --surface: rgba(255, 255, 255, 0.045);
  --surface-2: rgba(255, 255, 255, 0.08);
  --line: rgba(255, 255, 255, 0.16);
  --text: #f4f6fb;
  --muted: #b6bfce; /* 11:1 sobre --bg */
  --soft: #93a0b5; /* 7:1 sobre --bg */
  --cyan: #3ec6ee;
  --magenta: #e8438f;
  --yellow: #ffe41f;
  --teal: #16c4b8;
  --blue: #2b7bff;
  --amber: #f59a2a;
  --sky: #38b6ff;
  --ink: #04101a; /* texto sobre botones claros */
  --font-display: "Sora", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --gutter: clamp(1.1rem, 4vw, 2.5rem);
  --max: 1200px;
  --radius: 22px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --header-h: 68px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: clamp(1rem, 0.96rem + 0.2vw, 1.125rem);
  line-height: 1.6;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
img,
video,
svg {
  display: block;
  max-width: 100%;
}
a {
  color: var(--cyan);
  text-underline-offset: 0.2em;
}
a:hover {
  color: #fff;
}
h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  line-height: 1.08;
  margin: 0 0 0.5em;
  letter-spacing: -0.01em;
  text-wrap: balance;
}
p {
  margin: 0 0 1em;
  text-wrap: pretty;
}
ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}
button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}
.sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
.skip {
  position: fixed;
  left: 1rem;
  top: -4rem;
  z-index: 200;
  background: #fff;
  color: var(--ink);
  padding: 0.7rem 1rem;
  border-radius: 10px;
  font-weight: 600;
  transition: top 0.2s;
}
.skip:focus {
  top: 1rem;
}
:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 3px;
  box-shadow: 0 0 0 6px rgba(56, 182, 255, 0.55);
  border-radius: 6px;
}
::selection {
  background: var(--cyan);
  color: var(--ink);
}

/* ---------- Layout ---------- */
.wrap {
  width: 100%;
  max-width: calc(var(--max) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.section {
  position: relative;
  padding-block: clamp(4.5rem, 10vw, 8.5rem);
}
.section--tint {
  background: linear-gradient(180deg, transparent, rgba(43, 123, 255, 0.06) 40%, transparent);
}
.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--sky);
  margin-bottom: 1.1rem;
  display: flex;
  align-items: center;
  gap: 0.9rem;
}
.eyebrow::before {
  content: "";
  width: 36px;
  height: 2px;
  background: linear-gradient(90deg, var(--cyan), var(--magenta));
  box-shadow: 0 0 12px var(--cyan);
}
.h2 {
  font-size: clamp(1.95rem, 1.2rem + 3.6vw, 3.6rem);
  font-weight: 300;
}
.h2 strong {
  font-weight: 700;
}
.lead {
  font-size: clamp(1.05rem, 0.98rem + 0.5vw, 1.3rem);
  color: var(--muted);
  max-width: 62ch;
}
.grad {
  background: linear-gradient(100deg, #fff 0%, #b6efff 30%, var(--cyan) 62%, var(--magenta) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.mono {
  font-family: var(--font-mono);
}

/* línea láser entre secciones */
.laser {
  position: relative;
  height: 2px;
  width: min(100% - 2 * var(--gutter), var(--max));
  margin: 0 auto;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.28), transparent);
  overflow: hidden;
}
.laser::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 -30%;
  width: 30%;
  background: linear-gradient(90deg, transparent, var(--sky), #fff, var(--magenta), transparent);
  filter: blur(1px);
  animation: glint 7s linear infinite;
}
@keyframes glint {
  to {
    left: 110%;
  }
}

/* ---------- Botones ---------- */
.btn {
  --pad: 0.95rem 1.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 52px;
  padding: var(--pad);
  border-radius: 999px;
  border: 1px solid transparent;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s, border-color 0.25s;
}
.btn-primary {
  color: var(--ink);
  background: linear-gradient(120deg, #6fe0ff 0%, var(--cyan) 35%, var(--blue) 100%);
  box-shadow: 0 10px 40px -8px rgba(62, 198, 238, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.6);
}
.btn-primary:hover {
  color: var(--ink);
  transform: translateY(-2px);
  box-shadow: 0 16px 52px -8px rgba(62, 198, 238, 0.75), inset 0 1px 0 rgba(255, 255, 255, 0.7);
}
.btn-ghost {
  color: var(--text);
  background: var(--surface);
  border-color: var(--line);
}
.btn-ghost:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.5);
  background: var(--surface-2);
}
.btn-sm {
  --pad: 0.6rem 1.1rem;
  min-height: 44px;
  font-size: 0.92rem;
}
.btn svg {
  width: 1.15em;
  height: 1.15em;
  flex: none;
}

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: linear-gradient(180deg, rgba(7, 7, 10, 0.92), rgba(7, 7, 10, 0.6));
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.brand {
  display: inline-flex;
  align-items: center;
  flex: none;
}
.brand img {
  height: 46px;
  width: auto;
}
.nav {
  display: none;
}
.nav ul {
  display: flex;
  gap: clamp(0.8rem, 1.6vw, 1.8rem);
}
.nav a {
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 500;
  text-decoration: none;
  padding: 0.5rem 0.2rem;
}
.nav a:hover,
.nav a[aria-current="true"] {
  color: #fff;
}
.header-cta {
  display: none;
}
.menu-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--surface);
  border: 1px solid var(--line);
  cursor: pointer;
}
.menu-btn span,
.menu-btn span::before,
.menu-btn span::after {
  display: block;
  width: 20px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.3s var(--ease), background 0.2s;
}
.menu-btn span {
  position: relative;
}
.menu-btn span::before,
.menu-btn span::after {
  content: "";
  position: absolute;
  left: 0;
}
.menu-btn span::before {
  top: -6px;
}
.menu-btn span::after {
  top: 6px;
}
.menu-btn[aria-expanded="true"] span {
  background: transparent;
}
.menu-btn[aria-expanded="true"] span::before {
  transform: translateY(6px) rotate(45deg);
}
.menu-btn[aria-expanded="true"] span::after {
  transform: translateY(-6px) rotate(-45deg);
}
.nav.is-open {
  display: block;
  position: fixed;
  inset: var(--header-h) 0 auto 0;
  padding: 1rem var(--gutter) 1.6rem;
  background: #07070a;
  border-bottom: 1px solid var(--line);
}
.nav.is-open ul {
  flex-direction: column;
  gap: 0;
}
.nav.is-open a {
  display: block;
  padding: 0.95rem 0;
  font-size: 1.1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
@media (min-width: 1000px) {
  .nav {
    display: block;
  }
  .header-cta {
    display: inline-flex;
  }
  .menu-btn {
    display: none;
  }
}
.no-js .nav {
  display: block;
}
.no-js .menu-btn {
  display: none;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding-top: calc(var(--header-h) + clamp(1rem, 3vw, 2rem));
  padding-bottom: clamp(3rem, 7vw, 5.5rem);
  isolation: isolate;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(60% 55% at 14% 0%, rgba(22, 196, 184, 0.28), transparent 70%),
    radial-gradient(55% 50% at 92% 8%, rgba(232, 67, 143, 0.22), transparent 70%),
    radial-gradient(70% 60% at 50% 110%, rgba(43, 123, 255, 0.22), transparent 70%),
    var(--bg);
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.5;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='52' height='90' viewBox='0 0 52 90'><path d='M26 0L52 15L52 45L26 60L0 45L0 15Z M26 60L26 90' fill='none' stroke='white' stroke-opacity='0.08' stroke-width='1.4'/></svg>");
  background-size: 78px 135px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000, transparent 85%);
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000, transparent 85%);
}
.hero-lasers {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(180deg, #000 20%, transparent 95%);
  mask-image: linear-gradient(180deg, #000 20%, transparent 95%);
}
.hero-lasers span {
  position: absolute;
  top: -8%;
  width: 2px;
  height: 130%;
  transform-origin: 50% 0;
  background: linear-gradient(180deg, #fff, var(--c) 22%, transparent 100%);
  box-shadow: 0 0 14px var(--c);
  opacity: 0.55;
  mix-blend-mode: screen;
  transform: rotate(var(--a1));
  animation: sweep var(--d) ease-in-out infinite alternate;
}
@keyframes sweep {
  to {
    transform: rotate(var(--a2));
  }
}
.hero-bottom {
  display: grid;
  gap: clamp(1.8rem, 4vw, 3rem);
  align-items: start;
}
.hero h1 {
  font-size: clamp(2rem, 1.1rem + 2.9vw, 3.5rem);
  font-weight: 300;
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin-bottom: 0.5em;
}
.hero h1 .grad {
  font-weight: 700;
}
.hero .lead {
  margin-bottom: 1.6rem;
}
.hero-cta {
  display: grid;
  gap: 1rem;
}
.hero-cta .for-whom {
  max-width: none;
  text-align: center;
}
.btn-lg {
  min-height: 64px;
  width: 100%;
  font-size: 1.08rem;
}
.hero-price {
  margin: 0;
  text-align: center;
  color: var(--muted);
  font-size: 0.97rem;
}
.hero-price strong {
  color: #fff;
  font-weight: 600;
}
.hero-note {
  display: flex;
  gap: 0.8rem;
  align-items: flex-start;
  padding: 1rem 1.2rem;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: var(--surface);
}
.hero-note i {
  flex: none;
  width: 10px;
  height: 10px;
  margin-top: 0.55em;
  border-radius: 50%;
  background: var(--magenta);
  box-shadow: 0 0 12px var(--magenta);
}
.hero-note p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--muted);
}
.hero-note b {
  color: #fff;
  font-weight: 600;
}
.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.6rem;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1.2rem;
}
.hero-proof li {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}
.hero-proof li::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: var(--c, var(--cyan));
  box-shadow: 0 0 10px var(--c, var(--cyan));
}
.hero-proof li:nth-child(2) {
  --c: var(--magenta);
}
.hero-proof li:nth-child(3) {
  --c: var(--yellow);
}
.for-whom {
  font-size: 0.95rem;
  color: var(--soft);
  max-width: 52ch;
  margin: 0;
}

/* animación centrada: es la pieza principal del hero; sus bordes se funden con el fondo */
.stage {
  position: relative;
  width: min(100%, 960px);
  margin: 0 auto clamp(1.6rem, 4vw, 2.6rem);
  aspect-ratio: 4 / 5;
}
.stage-media {
  position: absolute;
  inset: 0;
  /* bordes que se funden con el fondo (difuminado horizontal y vertical combinados) */
  -webkit-mask-image:
    linear-gradient(90deg, transparent 0, #000 10%, #000 90%, transparent 100%),
    linear-gradient(180deg, transparent 0, #000 14%, #000 86%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image:
    linear-gradient(90deg, transparent 0, #000 10%, #000 90%, transparent 100%),
    linear-gradient(180deg, transparent 0, #000 14%, #000 86%, transparent 100%);
  mask-composite: intersect;
}
.stage picture,
.stage img,
.stage video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.stage video {
  opacity: 0;
  transition: opacity 0.6s;
}
.stage.is-playing video {
  opacity: 1;
}
.stage-toggle {
  position: absolute;
  left: 50%;
  bottom: 0.2rem;
  transform: translateX(-50%);
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 44px;
  padding: 0.5rem 0.95rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(7, 7, 10, 0.72);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
}
.stage-toggle svg {
  width: 14px;
  height: 14px;
}
.stage-toggle .i-play {
  display: none;
}
.stage-toggle[aria-pressed="true"] .i-play {
  display: block;
}
.stage-toggle[aria-pressed="true"] .i-pause {
  display: none;
}
@media (prefers-reduced-motion: no-preference) {
  .stage-media {
    animation: door 1.3s var(--ease) 0.15s both;
  }
  @keyframes door {
    from {
      clip-path: inset(0 50% 0 50%);
    }
    to {
      clip-path: inset(0 0 0 0);
    }
  }
}
@media (min-width: 768px) {
  .stage {
    aspect-ratio: 16 / 9;
  }
}
@media (min-width: 900px) {
  .hero-bottom {
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.85fr);
    gap: clamp(2rem, 5vw, 4rem);
  }
}

/* ---------- Problema ---------- */
.fears {
  display: grid;
  gap: 1rem;
  margin-top: 2.5rem;
}
.fear-row {
  display: grid;
  gap: 0.8rem;
  align-items: stretch;
}
.fear,
.fix {
  position: relative;
  padding: 1.3rem 1.4rem 1.3rem 1.6rem;
  border-radius: 18px;
  border: 1px solid var(--line);
}
.fear {
  background: rgba(255, 255, 255, 0.025);
  color: var(--muted);
}
.fear::before,
.fix::before {
  content: "";
  position: absolute;
  left: 0;
  top: 18%;
  bottom: 18%;
  width: 3px;
  border-radius: 3px;
}
.fear::before {
  background: var(--crimson, #ff4d6a);
  box-shadow: 0 0 12px #ff4d6a;
}
.fix {
  background: linear-gradient(135deg, rgba(62, 198, 238, 0.12), rgba(255, 255, 255, 0.03));
  border-color: rgba(62, 198, 238, 0.4);
}
.fix::before {
  background: var(--cyan);
  box-shadow: 0 0 12px var(--cyan);
}
.fear .tag,
.fix .tag {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  margin-bottom: 0.45rem;
}
.fear .tag {
  color: #ff8aa0;
}
.fix .tag {
  color: var(--cyan);
}
.fear p,
.fix p {
  margin: 0;
}
.fix p {
  color: var(--text);
}
.fear-arrow {
  display: none;
  align-self: center;
  color: var(--soft);
}
@media (min-width: 820px) {
  .fear-row {
    grid-template-columns: minmax(0, 1fr) 56px minmax(0, 1fr);
  }
  .fear-arrow {
    display: block;
  }
  .fear-arrow svg {
    width: 56px;
    height: 24px;
  }
}

/* ---------- Tres cosas ---------- */
.three {
  display: grid;
  gap: 1rem;
  margin-top: 2.5rem;
}
.three article {
  position: relative;
  padding: 1.8rem 1.6rem 2rem;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
  overflow: hidden;
}
.three .num {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.3em;
  color: var(--c);
  display: block;
  margin-bottom: 2.4rem;
}
.three article::after {
  content: "";
  position: absolute;
  inset: auto -20% -60% -20%;
  height: 80%;
  background: radial-gradient(ellipse at 50% 100%, var(--c), transparent 65%);
  opacity: 0.2;
}
.three h3 {
  font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2.1rem);
  font-weight: 600;
}
.three p {
  color: var(--muted);
  margin: 0;
}
@media (min-width: 820px) {
  .three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* ---------- Historia ---------- */
.story {
  display: grid;
  gap: clamp(2rem, 5vw, 4rem);
}
.story-head {
  position: relative;
}
.signature {
  margin-top: 2.2rem;
  padding-top: 1.6rem;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}
.signature img {
  width: min(260px, 70%);
  height: auto;
}
.signature span {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--soft);
}
.timeline {
  position: relative;
  display: grid;
  gap: 1.6rem;
  padding-left: 1.8rem;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 5px;
  top: 6px;
  bottom: 6px;
  width: 2px;
  background: linear-gradient(180deg, var(--cyan), var(--magenta), var(--yellow));
  box-shadow: 0 0 14px rgba(62, 198, 238, 0.5);
}
.timeline li {
  position: relative;
}
.timeline li::before {
  content: "";
  position: absolute;
  left: -1.8rem;
  top: 0.5rem;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--bg);
  border: 2px solid var(--c, var(--cyan));
  box-shadow: 0 0 12px var(--c, var(--cyan));
}
.timeline li:nth-child(2n) {
  --c: var(--magenta);
}
.timeline li:nth-child(3n) {
  --c: var(--yellow);
}
.timeline strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 0.2rem;
}
.timeline p {
  color: var(--muted);
  margin: 0;
}
.story-close {
  margin-top: 2rem;
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 1rem + 1vw, 1.6rem);
  font-weight: 300;
  line-height: 1.35;
  color: #fff;
}
.story-close strong {
  font-weight: 600;
}
@media (min-width: 900px) {
  .story {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    align-items: start;
  }
  .story-head {
    position: sticky;
    top: calc(var(--header-h) + 2rem);
  }
}

/* ---------- Cómo funciona ---------- */
.steps {
  display: grid;
  gap: 1rem;
  margin-top: 2.6rem;
  counter-reset: step;
}
.steps li {
  position: relative;
  padding: 1.6rem 1.5rem 1.7rem;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
}
.steps li::before {
  counter-increment: step;
  content: "0" counter(step);
  display: block;
  font-family: var(--font-display);
  font-weight: 200;
  font-size: 3.4rem;
  line-height: 1;
  margin-bottom: 1.1rem;
  background: linear-gradient(180deg, #fff, var(--sky));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.steps h3 {
  font-size: 1.25rem;
  font-weight: 600;
}
.steps p {
  color: var(--muted);
  margin: 0;
}
.steps-note {
  margin-top: 1.6rem;
  color: var(--soft);
  font-size: 0.95rem;
}
@media (min-width: 700px) {
  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 1060px) {
  .steps {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
  }
  .steps li {
    border-radius: 0;
    border-left-width: 0;
  }
  .steps li:first-child {
    border-radius: var(--radius) 0 0 var(--radius);
    border-left-width: 1px;
  }
  .steps li:last-child {
    border-radius: 0 var(--radius) var(--radius) 0;
  }
  .steps li:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 3rem;
    right: -1px;
    width: 2px;
    height: 36px;
    background: linear-gradient(180deg, var(--cyan), transparent);
    box-shadow: 0 0 12px var(--cyan);
  }
}

/* ---------- Qué incluye (bento) ---------- */
.bento {
  display: grid;
  gap: 1rem;
  margin-top: 2.6rem;
}
.cell {
  position: relative;
  padding: 1.6rem 1.5rem 1.7rem;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
  overflow: hidden;
}
.cell h3 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 0.45rem;
}
.cell p {
  color: var(--muted);
  margin: 0;
}
.cell .ico {
  width: 40px;
  height: 40px;
  margin-bottom: 1.1rem;
  color: var(--c, var(--cyan));
  filter: drop-shadow(0 0 8px var(--c, var(--cyan)));
}
.cell--hero {
  background: linear-gradient(135deg, rgba(43, 123, 255, 0.18), rgba(232, 67, 143, 0.1) 60%, rgba(255, 255, 255, 0.03));
}
.blocks {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.4rem;
}
.blocks li {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.55rem 0.9rem 0.55rem 0.6rem;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.blocks li::before {
  content: "";
  width: 26px;
  height: 18px;
  border-radius: 4px;
  background: var(--c);
  box-shadow: 0 0 14px var(--c);
}
.blocks li:nth-child(1) {
  --c: var(--cyan);
}
.blocks li:nth-child(2) {
  --c: var(--magenta);
}
.blocks li:nth-child(3) {
  --c: var(--yellow);
}
.blocks li:nth-child(4) {
  --c: #fff;
}
.fineprint {
  margin-top: 1.4rem;
  color: var(--soft);
  font-size: 0.92rem;
  max-width: 70ch;
}
@media (min-width: 700px) {
  .bento {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .cell--wide {
    grid-column: 1 / -1;
  }
}
@media (min-width: 1060px) {
  .bento {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
  .cell--hero {
    grid-column: span 4;
  }
  .cell {
    grid-column: span 2;
  }
  .cell--half {
    grid-column: span 3;
  }
  .cell--wide {
    grid-column: 1 / -1;
  }
}

/* ---------- Paquetes ---------- */
.packs {
  display: grid;
  gap: 1.2rem;
  margin-top: 2.8rem;
  align-items: stretch;
}
.pack {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 1.9rem 1.6rem 1.8rem;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
}
.pack-name {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--soft);
  margin-bottom: 0.9rem;
}
.pack h3 {
  font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2rem);
  font-weight: 600;
  margin-bottom: 0.2rem;
}
.pack .for {
  color: var(--muted);
  margin-bottom: 1.2rem;
}
.price {
  font-family: var(--font-display);
  font-weight: 200;
  font-size: clamp(2.8rem, 2rem + 3vw, 4.2rem);
  line-height: 1;
  margin-bottom: 0.2rem;
}
.price small {
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--soft);
  font-family: var(--font-mono);
  letter-spacing: 0.1em;
  margin-right: 0.5rem;
}
.price-note {
  font-size: 0.88rem;
  color: var(--soft);
  margin-bottom: 1.4rem;
}
.pack ul {
  display: grid;
  gap: 0.6rem;
  margin: 0 0 1.8rem;
  color: var(--muted);
  font-size: 0.97rem;
}
.pack li {
  position: relative;
  padding-left: 1.5rem;
}
.pack li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 9px;
  height: 9px;
  border-radius: 2px;
  background: var(--cyan);
  box-shadow: 0 0 8px var(--cyan);
}
.pack .btn {
  margin-top: auto;
}
.pack--featured {
  border: 1px solid transparent;
  background:
    linear-gradient(var(--bg-2), var(--bg-2)) padding-box,
    conic-gradient(from var(--angle), var(--cyan), var(--blue), var(--magenta), var(--amber), var(--cyan)) border-box;
  box-shadow: 0 40px 120px -30px rgba(43, 123, 255, 0.45);
}
@media (prefers-reduced-motion: no-preference) {
  .pack--featured {
    animation: spin 8s linear infinite;
  }
  @keyframes spin {
    to {
      --angle: 360deg;
    }
  }
}
.badge {
  position: absolute;
  top: -13px;
  left: 1.5rem;
  padding: 0.3rem 0.8rem;
  border-radius: 999px;
  background: linear-gradient(120deg, var(--cyan), var(--blue));
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
@media (min-width: 960px) {
  .packs {
    grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr) minmax(0, 0.9fr);
  }
}
.entry {
  margin-top: 1.6rem;
  border-radius: 18px;
  border: 1px dashed var(--line);
  background: rgba(255, 255, 255, 0.02);
}
.entry summary {
  list-style: none;
  cursor: pointer;
  padding: 1.1rem 1.3rem;
  min-height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-weight: 500;
  color: var(--muted);
}
.entry summary::-webkit-details-marker {
  display: none;
}
.entry-list {
  display: grid;
  gap: 0.9rem;
  padding: 0 1.3rem 1.4rem;
}
.entry-list li {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.2rem 1rem;
  padding-top: 0.9rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.entry-list b {
  font-family: var(--font-display);
  font-weight: 600;
  color: #fff;
}
.entry-list span {
  color: var(--soft);
  font-size: 0.93rem;
  flex-basis: 100%;
}
.plus {
  flex: none;
  width: 22px;
  height: 22px;
  position: relative;
}
.plus::before,
.plus::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 16px;
  height: 2px;
  background: currentColor;
  transform: translate(-50%, -50%);
  transition: transform 0.3s var(--ease);
}
.plus::after {
  transform: translate(-50%, -50%) rotate(90deg);
}
details[open] > summary .plus::after {
  transform: translate(-50%, -50%) rotate(0deg);
}

/* ---------- Garantías ---------- */
.guarantees {
  display: grid;
  gap: 1.2rem;
  margin-top: 2.8rem;
}
.guarantee {
  position: relative;
  padding: 2rem 1.7rem 2rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background:
    radial-gradient(120% 100% at 100% 0%, rgba(var(--rgb), 0.22), transparent 60%),
    var(--bg-2);
  overflow: hidden;
}
.guarantee:nth-child(1) {
  --rgb: 62, 198, 238;
  --c: var(--cyan);
}
.guarantee:nth-child(2) {
  --rgb: 232, 67, 143;
  --c: var(--magenta);
}
.guarantee .seal {
  width: 64px;
  height: 64px;
  color: var(--c);
  filter: drop-shadow(0 0 10px var(--c));
  margin-bottom: 1.4rem;
}
.guarantee .kicker {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--c);
  margin-bottom: 0.7rem;
  display: block;
}
.guarantee h3 {
  font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.3rem);
  font-weight: 600;
}
.guarantee blockquote {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(1.15rem, 1rem + 0.7vw, 1.45rem);
  line-height: 1.4;
}
.guarantee p {
  color: var(--muted);
  margin: 0;
}
@media (min-width: 860px) {
  .guarantees {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* ---------- Pruebas ---------- */
.stats {
  display: grid;
  gap: 1rem;
  margin-top: 2.6rem;
}
.stat {
  padding: 1.6rem 1.5rem;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
}
.stat b {
  display: block;
  font-family: var(--font-display);
  font-weight: 200;
  font-size: clamp(3.2rem, 2.4rem + 4vw, 5rem);
  line-height: 1;
  background: linear-gradient(180deg, #fff, var(--c));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stat span {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--muted);
}
.stat:nth-child(1) {
  --c: var(--cyan);
}
.stat:nth-child(2) {
  --c: var(--magenta);
}
.stat:nth-child(3) {
  --c: var(--yellow);
}
@media (min-width: 700px) {
  .stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
.rescue {
  margin-top: 3.2rem;
  padding: clamp(1.6rem, 4vw, 3rem);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background:
    radial-gradient(80% 90% at 0% 0%, rgba(245, 154, 42, 0.14), transparent 60%),
    radial-gradient(70% 90% at 100% 100%, rgba(43, 123, 255, 0.16), transparent 60%),
    var(--bg-2);
}
.rescue h3 {
  font-size: clamp(1.4rem, 1.1rem + 1.4vw, 2.1rem);
  font-weight: 600;
  margin-bottom: 1.6rem;
}
.beats {
  display: grid;
  gap: 1rem;
  counter-reset: beat;
}
.beats li {
  position: relative;
  padding: 1.1rem 1.2rem 1.2rem;
  border-radius: 16px;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--muted);
}
.beats li::before {
  counter-increment: beat;
  content: "0" counter(beat);
  display: block;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.3em;
  color: var(--amber);
  margin-bottom: 0.5rem;
}
.beats li:last-child {
  color: #fff;
  border-color: rgba(62, 198, 238, 0.5);
}
.beats li:last-child::before {
  color: var(--cyan);
}
.rescue-foot {
  margin: 1.6rem 0 0;
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(1.1rem, 1rem + 0.7vw, 1.4rem);
  color: #fff;
}
@media (min-width: 900px) {
  .beats {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

/* ---------- Para quién ---------- */
.fit {
  display: grid;
  gap: 1.2rem;
  margin-top: 2.6rem;
}
.fit > div {
  padding: 1.9rem 1.6rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--surface);
}
.fit h3 {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 1.1rem;
}
.fit ul {
  display: grid;
  gap: 0.8rem;
  color: var(--muted);
}
.fit li {
  position: relative;
  padding-left: 1.7rem;
}
.fit li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--c);
  box-shadow: 0 0 10px var(--c);
}
.fit .yes {
  --c: var(--cyan);
  border-color: rgba(62, 198, 238, 0.4);
  background: linear-gradient(135deg, rgba(62, 198, 238, 0.1), rgba(255, 255, 255, 0.025));
}
.fit .no {
  --c: #ff6b86;
}
@media (min-width: 820px) {
  .fit {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* ---------- FAQ ---------- */
.faq {
  margin-top: 2.4rem;
  display: grid;
  gap: 0.8rem;
  max-width: 880px;
}
.faq details {
  border-radius: 18px;
  border: 1px solid var(--line);
  background: var(--surface);
  transition: background 0.3s, border-color 0.3s;
}
.faq details[open] {
  background: var(--surface-2);
  border-color: rgba(62, 198, 238, 0.45);
}
.faq summary {
  list-style: none;
  cursor: pointer;
  min-height: 60px;
  padding: 1rem 1.3rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.05rem;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq .ans {
  padding: 0 1.3rem 1.3rem;
  color: var(--muted);
}
.faq .ans p:last-child {
  margin: 0;
}

/* ---------- Reserva ---------- */
.reserve {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}
.reserve::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(60% 60% at 15% 20%, rgba(22, 196, 184, 0.22), transparent 70%),
    radial-gradient(60% 60% at 90% 90%, rgba(232, 67, 143, 0.2), transparent 70%),
    var(--bg);
}
.reserve-grid {
  display: grid;
  gap: clamp(2rem, 5vw, 4rem);
}
.reasons {
  display: grid;
  gap: 1rem;
  margin: 1.8rem 0 0;
}
.reasons li {
  padding-left: 1.8rem;
  position: relative;
  color: var(--muted);
}
.reasons li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 12px;
  height: 12px;
  border-radius: 3px;
  background: var(--c, var(--cyan));
  box-shadow: 0 0 12px var(--c, var(--cyan));
}
.reasons li:nth-child(2) {
  --c: var(--magenta);
}
.reasons li:nth-child(3) {
  --c: var(--yellow);
}
.reasons b {
  color: #fff;
  font-weight: 600;
}
.form-card {
  position: relative;
  padding: clamp(1.4rem, 4vw, 2.4rem);
  border-radius: 26px;
  background: rgba(12, 12, 17, 0.82);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  border: 1px solid var(--line);
  box-shadow: 0 40px 120px -30px rgba(62, 198, 238, 0.4);
}
.form-card::before {
  content: "";
  position: absolute;
  inset: 0 24px auto;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--cyan), var(--magenta), transparent);
  box-shadow: 0 0 18px var(--cyan);
}
.form-card h3 {
  font-size: clamp(1.4rem, 1.1rem + 1.2vw, 1.9rem);
  font-weight: 600;
}
.form-card .sub {
  color: var(--muted);
  margin-bottom: 1.6rem;
}
.field {
  display: grid;
  gap: 0.4rem;
  margin-bottom: 1.1rem;
}
.field label,
.field legend {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}
.field .opt {
  color: var(--soft);
  text-transform: none;
  letter-spacing: 0.04em;
}
.input {
  width: 100%;
  min-height: 52px;
  padding: 0.8rem 1rem;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}
textarea.input {
  min-height: 108px;
  resize: vertical;
}
select.input {
  appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'><path d='M1 1l6 6 6-6' fill='none' stroke='white' stroke-width='2'/></svg>");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.6rem;
}
select.input option {
  color: #111;
}
.input::placeholder {
  color: var(--soft);
}
.input:hover {
  border-color: rgba(255, 255, 255, 0.45);
}
.input:focus {
  outline: none;
  border-color: var(--cyan);
  background: rgba(62, 198, 238, 0.08);
  box-shadow: 0 0 0 4px rgba(62, 198, 238, 0.28);
}
.input[aria-invalid="true"] {
  border-color: #ff6b86;
  box-shadow: 0 0 0 3px rgba(255, 107, 134, 0.25);
}
.err {
  color: #ff9db0;
  font-size: 0.88rem;
  min-height: 0;
}
.row2 {
  display: grid;
  gap: 0 1rem;
}
@media (min-width: 560px) {
  .row2 {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
}
.check {
  display: grid;
  grid-template-columns: 26px 1fr;
  gap: 0.8rem;
  align-items: start;
  margin: 0.4rem 0 1.4rem;
  font-size: 0.92rem;
  color: var(--muted);
}
.check input {
  width: 24px;
  height: 24px;
  margin: 2px 0 0;
  accent-color: var(--cyan);
}
.form-summary {
  margin: 0 0 1rem;
  padding: 0.9rem 1rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 107, 134, 0.6);
  background: rgba(255, 107, 134, 0.1);
  color: #ffd3dc;
  font-size: 0.95rem;
}
.form-submit {
  width: 100%;
}
.form-legal {
  margin: 1rem 0 0;
  font-size: 0.82rem;
  color: var(--soft);
}
.success {
  text-align: left;
}
.success h3 {
  font-size: 1.6rem;
}
.success ol {
  display: grid;
  gap: 0.7rem;
  margin: 1.2rem 0 1.6rem;
  counter-reset: ok;
  color: var(--muted);
}
.success li {
  counter-increment: ok;
  padding-left: 2.2rem;
  position: relative;
}
.success li::before {
  content: counter(ok);
  position: absolute;
  left: 0;
  top: 0;
  width: 1.6rem;
  height: 1.6rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--ink);
  background: var(--cyan);
}
.success .actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}
.msg-copy {
  margin-top: 1.2rem;
  padding: 1rem;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  white-space: pre-wrap;
  font-size: 0.9rem;
  color: var(--muted);
}
@media (min-width: 960px) {
  .reserve-grid {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    align-items: start;
  }
}

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 3rem 0 6.5rem;
  background: var(--bg-2);
  color: var(--muted);
  font-size: 0.95rem;
}
.foot-grid {
  display: grid;
  gap: 2rem;
}
.site-footer img {
  height: 64px;
  width: auto;
  margin-bottom: 1rem;
}
.site-footer h4 {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--soft);
  font-weight: 500;
  margin-bottom: 0.9rem;
}
.site-footer ul {
  display: grid;
  gap: 0.2rem;
}
.site-footer a,
.link-btn {
  color: var(--muted);
  text-decoration: none;
  display: inline-block;
  padding: 0.4rem 0;
}
.site-footer a:hover,
.link-btn:hover {
  color: #fff;
  text-decoration: underline;
}
.link-btn {
  background: none;
  border: 0;
  cursor: pointer;
  padding: 0.4rem 0;
  font: inherit;
  text-align: left;
}
.copy {
  margin-top: 2.4rem;
  padding-top: 1.4rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.85rem;
  color: var(--soft);
}
@media (min-width: 820px) {
  .foot-grid {
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) minmax(0, 1fr);
  }
  .site-footer {
    padding-bottom: 3rem;
  }
}

/* ---------- CTA fijo en móvil ---------- */
.sticky-cta {
  position: fixed;
  inset: auto 0 0 0;
  z-index: 90;
  padding: 0.7rem var(--gutter) calc(0.7rem + env(safe-area-inset-bottom));
  background: linear-gradient(180deg, transparent, rgba(7, 7, 10, 0.92) 40%);
  transform: translateY(110%);
  transition: transform 0.4s var(--ease);
  pointer-events: none;
}
.sticky-cta.is-on {
  transform: none;
}
.sticky-cta .btn {
  width: 100%;
  pointer-events: auto;
}
@media (min-width: 820px) {
  .sticky-cta {
    display: none;
  }
}

/* ---------- Banner de cookies ---------- */
.cookie {
  position: fixed;
  z-index: 150;
  left: 0.8rem;
  right: 0.8rem;
  bottom: 0.8rem;
  max-width: 560px;
  padding: 1.3rem 1.3rem 1.2rem;
  border-radius: 20px;
  background: rgba(12, 12, 17, 0.97);
  border: 1px solid rgba(255, 255, 255, 0.28);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.7);
}
.cookie h2 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}
.cookie p {
  font-size: 0.92rem;
  color: var(--muted);
  margin-bottom: 1rem;
}
.cookie-actions {
  display: grid;
  gap: 0.6rem;
}
.cookie-actions .btn {
  min-height: 48px;
  --pad: 0.7rem 1rem;
  font-size: 0.95rem;
}
.btn-solid {
  background: #fff;
  color: var(--ink);
  border-color: #fff;
}
.btn-solid:hover {
  color: var(--ink);
  background: #dff6ff;
}
@media (min-width: 560px) {
  .cookie {
    left: 1.2rem;
    right: auto;
    bottom: 1.2rem;
  }
  .cookie-actions {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
  .cookie-actions .btn-ghost {
    grid-column: 1 / -1;
    order: 3;
  }
}
dialog.prefs {
  width: min(560px, calc(100% - 1.6rem));
  max-height: calc(100% - 1.6rem);
  padding: 0;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: #0c0c11;
  color: var(--text);
  overflow: auto;
}
dialog.prefs::backdrop {
  background: rgba(0, 0, 0, 0.75);
}
.prefs-body {
  padding: 1.5rem 1.4rem 1.4rem;
}
.prefs h2 {
  font-size: 1.3rem;
}
.cat {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.3rem 1rem;
  align-items: center;
  padding: 1rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.cat h3 {
  font-size: 1rem;
  margin: 0;
}
.cat p {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}
.switch {
  position: relative;
  width: 54px;
  height: 32px;
  flex: none;
}
.switch input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
  z-index: 2;
}
.switch i {
  position: absolute;
  inset: 0;
  border-radius: 999px;
  background: #3a3f4d;
  border: 1px solid rgba(255, 255, 255, 0.3);
  transition: background 0.2s;
}
.switch i::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #fff;
  transition: transform 0.25s var(--ease);
}
.switch input:checked + i {
  background: var(--cyan);
}
.switch input:checked + i::after {
  transform: translateX(22px);
}
.switch input:disabled {
  cursor: not-allowed;
}
.switch input:disabled + i {
  opacity: 0.6;
}
.switch input:focus-visible + i {
  outline: 3px solid #fff;
  outline-offset: 3px;
}
.prefs-actions {
  display: grid;
  gap: 0.6rem;
  margin-top: 1.2rem;
}
@media (min-width: 520px) {
  .prefs-actions {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* ---------- Revelado al hacer scroll ---------- */
.js .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
  transition-delay: var(--d, 0s);
}
.js .reveal.is-in {
  opacity: 1;
  transform: none;
}

/* ---------- Páginas legales ---------- */
.legal {
  padding: calc(var(--header-h) + 3rem) 0 5rem;
}
.legal .wrap {
  max-width: 820px;
}
.legal h1 {
  font-size: clamp(2rem, 1.4rem + 3vw, 3.2rem);
  font-weight: 300;
}
.legal h2 {
  font-size: 1.35rem;
  font-weight: 600;
  margin-top: 2.4rem;
}
.legal p,
.legal li {
  color: var(--muted);
}
.legal ul {
  list-style: disc;
  padding-left: 1.3rem;
  display: grid;
  gap: 0.4rem;
  margin-bottom: 1rem;
}
.legal table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
  margin: 1rem 0 1.4rem;
}
.legal th,
.legal td {
  text-align: left;
  padding: 0.7rem 0.6rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  vertical-align: top;
}
.legal th {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--soft);
  font-weight: 500;
}
.legal mark {
  background: rgba(255, 228, 31, 0.2);
  color: var(--yellow);
  padding: 0.05em 0.35em;
  border-radius: 4px;
}
.table-scroll {
  overflow-x: auto;
}

/* ---------- Movimiento reducido ---------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .laser::after,
  .hero-lasers span {
    animation: none !important;
  }
}
@media print {
  .site-header,
  .sticky-cta,
  .cookie,
  .stage {
    display: none !important;
  }
  body {
    background: #fff;
    color: #000;
  }
}
