/* Mis Cheles · sitio público. Sin JavaScript. Fuentes propias (assets/fonts), sin recursos externos.
   Estilo: oscuro con resplandor azul, acentos dorados (la moneda), tarjetas translúcidas. */

@font-face {
  font-family: "DM Sans";
  src: url("/assets/fonts/DMSans-normal-300-700.woff2") format("woff2");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Playfair Display";
  src: url("/assets/fonts/PlayfairDisplay-normal-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #050a1c;
  --bg-2: #081634;
  --glow: #0148e9;
  --blue: #2f6bff;
  --blue-soft: #5e9bf2;
  --blue-light: #8fb6ff;
  --ice: #dce8ff;
  --gold: #ffc72e;
  --gold-deep: #ffb020;
  --orange: #ff8a4c;
  --ink: #f3f7ff;
  --muted: #9fb2d9;
  --line: rgba(143, 182, 255, 0.18);
  --card: linear-gradient(180deg, rgba(94, 155, 242, 0.11), rgba(94, 155, 242, 0.04));
  --radius: 20px;
  --font-body: "DM Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-display: "Playfair Display", Georgia, serif;
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: linear-gradient(180deg, var(--bg-2) 0%, #060f26 38%, var(--bg) 100%) fixed;
  color: var(--ink);
  font: 16px/1.65 var(--font-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a {
  color: var(--blue-light);
  text-underline-offset: 3px;
}

a:hover {
  color: var(--gold);
}

a:focus-visible,
.btn:focus-visible,
.pill-cta:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
  border-radius: 8px;
}

.skip {
  position: absolute;
  left: -9999px;
  top: 8px;
  background: var(--gold);
  color: #06112e;
  padding: 8px 14px;
  border-radius: 8px;
  z-index: 50;
  font-weight: 600;
}

.skip:focus {
  left: 12px;
}

.wrap {
  width: min(1100px, 100% - 40px);
  margin-inline: auto;
}

.gold {
  color: var(--gold);
}

/* ── Encabezado de vidrio ─────────────────────────────────── */
.top {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(6, 15, 38, 0.72);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  backdrop-filter: blur(16px) saturate(140%);
  border-bottom: 1px solid var(--line);
}

.top .wrap {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
  min-height: 64px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 700;
  font-size: 19px;
  letter-spacing: -0.01em;
  justify-self: start;
}

.brand:hover {
  color: var(--ink);
}

.brand img {
  border-radius: 10px;
  box-shadow: 0 0 0 1px var(--line), 0 4px 16px rgba(1, 72, 233, 0.4);
}

.nav {
  display: flex;
  gap: 6px;
}

.nav a {
  position: relative;
  color: var(--muted);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  padding: 8px 12px;
}

.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--gold);
}

.nav a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 2px;
  height: 2px;
  border-radius: 2px;
  background: var(--gold);
}

.pill-cta {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--gold);
  background: rgba(255, 199, 46, 0.1);
  border: 1px solid rgba(255, 199, 46, 0.28);
  border-radius: 999px;
  padding: 7px 16px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

.pill-cta:hover {
  background: rgba(255, 199, 46, 0.18);
  color: var(--gold);
}

@media (max-width: 760px) {
  .top .wrap {
    grid-template-columns: 1fr auto;
  }
  .nav {
    display: none;
  }
}

/* ── Botones ──────────────────────────────────────────────── */
.actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
  color: #06112e;
  background: linear-gradient(135deg, #cfe0ff, var(--blue-soft));
  box-shadow: 0 8px 28px rgba(94, 155, 242, 0.35);
  transition: transform 0.2s, box-shadow 0.2s;
}

.btn:hover {
  color: #06112e;
  transform: translateY(-2px);
  box-shadow: 0 12px 34px rgba(94, 155, 242, 0.5);
}

.btn.gold {
  background: linear-gradient(135deg, #ffe27a, var(--gold) 55%, var(--gold-deep));
  box-shadow: 0 8px 28px rgba(255, 199, 46, 0.3);
}

.btn.gold:hover {
  box-shadow: 0 12px 34px rgba(255, 199, 46, 0.45);
}

.btn.ghost {
  background: rgba(94, 155, 242, 0.1);
  color: var(--ice);
  box-shadow: none;
  border: 1px solid var(--line);
}

.btn.ghost:hover {
  background: rgba(94, 155, 242, 0.2);
  color: var(--ice);
  box-shadow: none;
}

/* ── Hero ─────────────────────────────────────────────────── */
.hero {
  position: relative;
  text-align: center;
  padding: clamp(56px, 9vw, 96px) 0 clamp(64px, 9vw, 104px);
  isolation: isolate;
}

.hero::before {
  content: "";
  position: absolute;
  inset: -80px -20vw 0;
  z-index: -2;
  background:
    radial-gradient(48% 52% at 50% 38%, rgba(1, 72, 233, 0.62), transparent 72%),
    radial-gradient(30% 32% at 50% 36%, rgba(94, 155, 242, 0.38), transparent 70%),
    radial-gradient(40% 30% at 78% 70%, rgba(255, 199, 46, 0.1), transparent 70%);
}

.pill {
  display: inline-block;
  color: var(--gold);
  background: rgba(255, 199, 46, 0.1);
  border: 1px solid rgba(255, 199, 46, 0.28);
  border-radius: 999px;
  padding: 6px 16px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

h1 {
  margin: 22px auto 0;
  max-width: 14ch;
  font-size: clamp(40px, 7.4vw, 76px);
  line-height: 1.04;
  letter-spacing: -0.03em;
  font-weight: 700;
}

h1 .gold-grad {
  background: linear-gradient(120deg, #ffe27a, var(--gold) 45%, var(--orange));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.lead {
  margin: 22px auto 34px;
  max-width: 40rem;
  color: var(--muted);
  font-size: clamp(17px, 2vw, 20px);
}

.hero-art {
  margin: 0 auto 8px;
  width: 124px;
  position: relative;
}

.hero-art::before {
  content: "";
  position: absolute;
  inset: -30px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(94, 155, 242, 0.55), transparent 68%);
  z-index: -1;
}

.hero-art img {
  width: 124px;
  height: 124px;
  border-radius: 29px;
  box-shadow: 0 0 0 1px var(--line), 0 24px 60px rgba(1, 72, 233, 0.55);
  animation: bob 6s ease-in-out infinite;
}

/* Monedas decorativas (solo CSS) */
.coin {
  position: absolute;
  z-index: -1;
  width: var(--s, 28px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #ffe88f, var(--gold) 52%, #e59a0b);
  box-shadow:
    inset 0 0 0 calc(var(--s, 28px) * 0.09) rgba(255, 176, 32, 0.95),
    0 0 26px rgba(255, 199, 46, 0.35);
  animation: float 7s ease-in-out infinite;
}

.c1 { --s: 34px; left: 7%; top: 18%; }
.c2 { --s: 20px; left: 19%; top: 62%; animation-delay: -2s; }
.c3 { --s: 26px; right: 9%; top: 14%; animation-delay: -4s; }
.c4 { --s: 40px; right: 14%; top: 58%; animation-delay: -1s; }
.c5 { --s: 16px; left: 36%; top: 8%; animation-delay: -3s; }
.c6 { --s: 22px; right: 33%; top: 82%; animation-delay: -5s; }

@media (max-width: 700px) {
  .c2, .c5, .c6 { display: none; }
}

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-18px) rotate(14deg); }
}

@keyframes bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

@keyframes fade-up {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: none; }
}

.hero .pill,
.hero h1,
.hero .lead,
.hero .actions,
.hero .hero-art {
  animation: fade-up 0.8s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

.hero .hero-art { animation-delay: 0s; }
.hero h1 { animation-delay: 0.1s; }
.hero .lead { animation-delay: 0.18s; }
.hero .actions { animation-delay: 0.26s; }

/* ── Secciones ────────────────────────────────────────────── */
section {
  padding: clamp(48px, 8vw, 88px) 0;
}

.head {
  text-align: center;
  margin-bottom: 40px;
}

.eyebrow {
  display: block;
  color: var(--gold);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

h2 {
  margin: 0;
  font-size: clamp(28px, 4.4vw, 44px);
  line-height: 1.15;
  letter-spacing: -0.02em;
  font-weight: 700;
}

.sub {
  margin: 14px auto 0;
  max-width: 38rem;
  color: var(--muted);
  font-size: 18px;
}

/* ── Tarjetas ─────────────────────────────────────────────── */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 18px;
}

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  transition: transform 0.25s, border-color 0.25s;
}

.card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 199, 46, 0.4);
}

.icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(255, 199, 46, 0.1);
  border: 1px solid rgba(255, 199, 46, 0.28);
  margin-bottom: 18px;
}

.icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--gold);
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.card h3 {
  margin: 0 0 8px;
  font-size: 18px;
  letter-spacing: -0.01em;
}

.card p {
  margin: 0;
  color: var(--muted);
  font-size: 15.5px;
}

.banks {
  margin-top: 14px !important;
  color: var(--blue-light) !important;
  font-size: 14px !important;
}

/* ── Paso a paso ──────────────────────────────────────────── */
.steps {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  max-width: 880px;
  display: grid;
  gap: 16px;
}

.step {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 0;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 26px;
}

.step .when {
  padding-right: 24px;
  border-right: 1px solid var(--line);
}

.step .num {
  display: block;
  font-family: var(--font-display);
  font-size: 40px;
  line-height: 1;
  color: var(--gold);
}

.step .label {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 13px;
}

.step .what {
  padding-left: 26px;
}

.step h3 {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 21px;
  letter-spacing: -0.01em;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.chips li {
  background: rgba(94, 155, 242, 0.14);
  border: 1px solid var(--line);
  color: var(--ice);
  border-radius: 999px;
  padding: 4px 13px;
  font-size: 13.5px;
}

@media (max-width: 640px) {
  .step {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .step .when {
    padding: 0 0 14px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
    display: flex;
    align-items: baseline;
    gap: 12px;
  }
  .step .what {
    padding-left: 0;
  }
}

/* ── Texto destacado y promesa ────────────────────────────── */
.about,
.promise {
  max-width: 760px;
  margin: 0 auto;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: clamp(24px, 4vw, 40px);
}

.about p {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 17px;
}

.about p:last-child {
  margin-bottom: 0;
}

.about strong {
  color: var(--ink);
}

.about .hl {
  color: var(--gold);
  font-weight: 600;
}

.promise h2 {
  font-size: clamp(26px, 3.6vw, 36px);
  margin-bottom: 18px;
}

.promise ul {
  list-style: none;
  margin: 0 0 26px;
  padding: 0;
}

.promise li {
  position: relative;
  margin: 12px 0;
  padding-left: 32px;
  color: var(--muted);
}

.promise li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.35em;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(255, 199, 46, 0.14);
  border: 1px solid rgba(255, 199, 46, 0.45);
  box-shadow: inset 0 0 0 4px rgba(6, 15, 38, 0.9), inset 0 0 0 9px var(--gold);
}

.promise .actions {
  justify-content: flex-start;
}

.center {
  text-align: center;
}

/* Aparición al desplazar (solo CSS; sin soporte se ve todo de una vez) */
@supports (animation-timeline: view()) {
  .reveal {
    animation: fade-up linear both;
    animation-timeline: view();
    animation-range: entry 4% entry 38%;
  }
}

/* ── Pie ──────────────────────────────────────────────────── */
footer {
  border-top: 1px solid var(--line);
  margin-top: 24px;
  padding: 28px 0 44px;
  color: var(--muted);
  font-size: 14px;
  background: rgba(5, 10, 28, 0.6);
}

footer .wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 14px;
}

footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

footer a {
  color: var(--muted);
  text-decoration: none;
}

footer a:hover {
  color: var(--gold);
}

.to-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 30;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, #3a78ff, var(--glow));
  border: 1px solid var(--line);
  box-shadow: 0 8px 24px rgba(1, 72, 233, 0.5);
  text-decoration: none;
}

.to-top svg {
  width: 20px;
  height: 20px;
  stroke: var(--gold);
  fill: none;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ── Documentos (privacidad, términos, eliminar cuenta) ───── */
.doc {
  width: min(820px, 100% - 40px);
  margin: clamp(28px, 6vw, 64px) auto;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: clamp(22px, 5vw, 52px);
}

.doc h1 {
  max-width: none;
  margin: 0;
  font-size: clamp(30px, 5vw, 46px);
  line-height: 1.1;
  animation: none;
}

.doc .updated {
  color: var(--gold);
  margin: 10px 0 26px;
  font-size: 14px;
  font-weight: 500;
}

.doc h2 {
  font-size: 22px;
  letter-spacing: -0.01em;
  margin: 40px 0 10px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  color: var(--ice);
}

.doc h3 {
  font-size: 17px;
  margin: 22px 0 6px;
  color: var(--gold);
}

.doc p,
.doc li {
  color: #d3def5;
}

.doc ul {
  padding-left: 22px;
}

.doc li {
  margin: 6px 0;
}

.callout {
  background: rgba(255, 199, 46, 0.08);
  border: 1px solid rgba(255, 199, 46, 0.3);
  border-radius: 14px;
  padding: 16px 18px;
  margin: 18px 0;
}

.callout p {
  margin: 0;
}

.toc {
  background: rgba(94, 155, 242, 0.08);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px 20px;
  margin: 22px 0;
}

.toc ol {
  margin: 8px 0 0;
  padding-left: 20px;
  columns: 2;
  column-gap: 28px;
}

.toc li {
  margin: 4px 0;
}

@media (max-width: 640px) {
  .toc ol {
    columns: 1;
  }
}

code {
  background: rgba(94, 155, 242, 0.16);
  color: var(--ice);
  border-radius: 6px;
  padding: 2px 6px;
  font-size: 0.92em;
}

.notfound {
  text-align: center;
  padding: 18vh 0 12vh;
}

.notfound h1 {
  max-width: none;
  margin-top: 0;
  font-size: clamp(30px, 5vw, 48px);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

.hero-art-small {
  margin: 0 auto 24px;
  border-radius: 24px;
  box-shadow: 0 0 0 1px var(--line), 0 18px 44px rgba(1, 72, 233, 0.5);
}

.grid + .actions {
  margin-top: 36px;
}

/* ── Lista completa de funciones ─────────────────────────── */
.grid.wide {
  grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
}

.checks {
  list-style: none;
  margin: 0;
  padding: 0;
}

.checks li {
  position: relative;
  padding-left: 26px;
  margin: 9px 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.5;
}

.checks li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.5em;
  width: 11px;
  height: 6px;
  border-left: 2px solid var(--gold);
  border-bottom: 2px solid var(--gold);
  transform: rotate(-45deg);
}

.card .checks {
  margin-top: 4px;
}

/* ── Tiendas (próximamente) ───────────────────────────────── */
.stores {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 26px;
}

.store {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 9px 20px 9px 16px;
  border-radius: 14px;
  background: rgba(2, 6, 20, 0.7);
  border: 1px solid var(--line);
  color: var(--ink);
  text-align: left;
}

.store svg {
  width: 28px;
  height: 28px;
  fill: currentColor;
  stroke: none;
}

.store-text {
  display: grid;
  line-height: 1.15;
}

.store-text small {
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.04em;
}

.store-text strong {
  font-size: 18px;
  letter-spacing: -0.01em;
}

/* ── Asistente con IA ─────────────────────────────────────── */
.bot {
  display: grid;
  place-items: center;
  width: 76px;
  height: 76px;
  margin: 0 auto 20px;
  border-radius: 24px;
  background: linear-gradient(135deg, #3a78ff, var(--glow));
  box-shadow: 0 0 0 1px var(--line), 0 14px 40px rgba(1, 72, 233, 0.55);
}

.bot svg {
  width: 40px;
  height: 40px;
  fill: none;
  stroke: #fff;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.bot svg circle:nth-of-type(2),
.bot svg circle:nth-of-type(3) {
  fill: var(--gold);
  stroke: none;
}

.chat {
  max-width: 560px;
  margin: 0 auto 40px;
  display: grid;
  gap: 14px;
}

.bubble {
  margin: 0;
  padding: 14px 18px;
  border-radius: 20px;
  font-size: 15.5px;
  line-height: 1.5;
}

.bubble.me {
  justify-self: end;
  max-width: 85%;
  color: #06112e;
  background: linear-gradient(135deg, #cfe0ff, var(--blue-soft));
  border-bottom-right-radius: 6px;
}

.bubble.bot-msg {
  justify-self: start;
  max-width: 92%;
  background: var(--card);
  border: 1px solid var(--line);
  border-bottom-left-radius: 6px;
}

.bubble.bot-msg p {
  margin: 4px 0 12px;
  color: var(--ink);
}

.bot-name {
  color: var(--gold);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.proposal {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(255, 199, 46, 0.08);
  border: 1px solid rgba(255, 199, 46, 0.3);
  color: var(--ice);
}

.proposal strong {
  color: var(--gold);
}

.proposal-actions {
  display: flex;
  gap: 8px;
  margin-top: 12px;
}

.fake-btn {
  padding: 6px 16px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ice);
  border: 1px solid var(--line);
  background: rgba(94, 155, 242, 0.1);
}

.fake-btn.ok {
  color: #06112e;
  border-color: transparent;
  background: linear-gradient(135deg, #ffe27a, var(--gold));
}

.example-note {
  margin: 0;
  text-align: center;
  color: var(--muted);
  font-size: 12.5px;
}

.ai-note {
  margin: 22px 0 0;
  text-align: center;
  color: var(--muted);
  font-size: 14px;
}

/* ── Franja de bancos ─────────────────────────────────────── */
.bank-strip {
  text-align: center;
  padding: 8px 0 clamp(24px, 5vw, 40px);
}

.bank-strip p {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.bank-strip .chips {
  justify-content: center;
}

.bank-strip .chips li {
  font-size: 15px;
  padding: 6px 16px;
  font-weight: 500;
}

.bank-strip .via {
  margin: 14px 0 0;
  letter-spacing: 0;
  text-transform: none;
  font-size: 15px;
}

.bank-strip .via strong {
  color: var(--ice);
}

.grid.four {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.bank-strip .chips.logos li {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 5px 16px 5px 5px;
  background: rgba(94, 155, 242, 0.1);
}

.bank-strip .chips.logos li.more {
  padding: 5px 16px;
}

.bank-strip .chips.logos img {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #fff;
  object-fit: cover;
}

.bank-strip .tm {
  margin: 10px 0 0;
  font-size: 11.5px;
  letter-spacing: 0;
  text-transform: none;
  opacity: 0.75;
}

/* ── Planes ───────────────────────────────────────────────── */
.plans {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 20px;
  max-width: 900px;
  margin: 0 auto;
  align-items: start;
}

.plan {
  position: relative;
  padding: 30px;
}

.plan h3 {
  font-size: 22px;
}

.plan.plus {
  border-color: rgba(255, 199, 46, 0.55);
  background: linear-gradient(180deg, rgba(255, 199, 46, 0.1), rgba(94, 155, 242, 0.05));
  box-shadow: 0 20px 60px rgba(255, 199, 46, 0.12);
}

.plan-badge {
  position: absolute;
  top: 26px;
  right: 26px;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--gold);
  color: #1a1300;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.price {
  margin: 6px 0 4px !important;
  color: var(--ink) !important;
}

.price strong {
  font-size: 40px;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.price span {
  color: var(--muted);
  font-size: 16px;
}

.plan-note {
  margin-bottom: 14px !important;
  font-size: 14.5px !important;
}

.plan-note strong {
  color: var(--ink);
}

.checks li strong {
  color: var(--ink);
  font-weight: 600;
}

.compare-wrap {
  max-width: 900px;
  margin: 36px auto 0;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(94, 155, 242, 0.04);
}

.compare {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}

.compare caption {
  padding: 18px 20px 6px;
  text-align: left;
  font-weight: 700;
  font-size: 17px;
  color: var(--ink);
}

.compare th,
.compare td {
  padding: 13px 20px;
  border-top: 1px solid var(--line);
  text-align: center;
  vertical-align: middle;
}

.compare thead th {
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.compare thead th.col-plus {
  color: var(--gold);
}

.compare tbody th {
  text-align: left;
  font-weight: 500;
  color: var(--ink);
}

.compare td {
  color: var(--muted);
  white-space: nowrap;
}

.compare td:last-child {
  background: rgba(255, 199, 46, 0.05);
  color: var(--ink);
}

.compare thead th:first-child,
.compare tbody th {
  width: 56%;
}

.compare thead th:first-child {
  text-align: left;
}

.yes,
.no {
  display: inline-block;
  vertical-align: middle;
}

.yes {
  width: 13px;
  height: 7px;
  border-left: 2px solid var(--gold);
  border-bottom: 2px solid var(--gold);
  transform: rotate(-45deg) translate(1px, -2px);
}

.no {
  width: 12px;
  height: 2px;
  background: rgba(159, 178, 217, 0.45);
}

.plan-fine {
  max-width: 760px;
  margin: 24px auto 0;
  padding: 0;
  list-style: none;
  text-align: center;
  color: var(--muted);
  font-size: 13.5px;
}

.plan-fine li {
  margin: 6px 0;
}

@media (max-width: 640px) {
  .plan {
    padding: 24px 22px;
  }

  .plan-badge {
    top: 22px;
    right: 22px;
  }

  .compare {
    font-size: 13.5px;
  }

  .compare th,
  .compare td {
    padding: 11px 10px;
  }

  .compare td {
    white-space: normal;
  }
}

/* ── Formulario de contacto ───────────────────────────────── */
.contact-form {
  max-width: 720px;
  margin: 0 auto;
  text-align: left;
  display: grid;
  gap: 18px;
  padding: 30px;
}

.contact-form:hover {
  transform: none;
}

.field-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
}

.field {
  display: grid;
  gap: 8px;
}

.field label {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  box-sizing: border-box;
  padding: 13px 15px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(5, 10, 28, 0.6);
  color: var(--ink);
  font: inherit;
  font-size: 16px;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.field textarea {
  resize: vertical;
  min-height: 140px;
}

.field select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--gold) 50%), linear-gradient(135deg, var(--gold) 50%, transparent 50%);
  background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
  padding-right: 40px;
}

.field select option {
  background: #0b1530;
  color: var(--ink);
}

.field input::placeholder,
.field textarea::placeholder {
  color: rgba(159, 178, 217, 0.6);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(255, 199, 46, 0.18);
}

.hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.form-note {
  margin: 0;
  flex: 1 1 260px;
  color: var(--muted);
  font-size: 13.5px;
}

.form-note a,
.alt-contact a,
.notfound .lead a {
  color: var(--blue-soft);
}

.form-foot .btn {
  border: 0;
  cursor: pointer;
  font: inherit;
  font-weight: 700;
}

.alt-contact {
  margin: 18px auto 0;
  color: var(--muted);
  font-size: 14.5px;
}

.notfound .lead {
  max-width: 34rem;
  margin: 12px auto 28px;
}

.notfound .lead strong {
  color: var(--ink);
}

.notfound .actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

@media (max-width: 640px) {
  .contact-form {
    padding: 22px 18px;
  }

  .form-foot .btn {
    width: 100%;
    justify-content: center;
  }
}

/* ── Capturas: iPhone con carrusel y tema (solo CSS) ───────── */
.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.showcase {
  display: grid;
  justify-items: center;
  gap: 22px;
}

.theme-toggle {
  display: inline-flex;
  padding: 4px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(94, 155, 242, 0.08);
}

.theme-toggle label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 14.5px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.theme-toggle svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

#tema-oscuro:checked ~ .theme-toggle label[for="tema-oscuro"],
#tema-claro:checked ~ .theme-toggle label[for="tema-claro"] {
  background: var(--gold);
  color: #1a1300;
}

#tema-oscuro:focus-visible ~ .theme-toggle label[for="tema-oscuro"],
#tema-claro:focus-visible ~ .theme-toggle label[for="tema-claro"] {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.stage {
  display: flex;
  align-items: center;
  gap: 28px;
}

.phone {
  position: relative;
  width: min(300px, 72vw);
  aspect-ratio: 640 / 1391;
  padding: 11px;
  border-radius: 54px;
  background: linear-gradient(145deg, #2a3350, #0d1428 45%, #1f2742);
  box-shadow:
    0 0 0 1.5px rgba(160, 185, 230, 0.35),
    0 0 0 6px #070c1d,
    0 40px 90px rgba(1, 72, 233, 0.45),
    0 0 120px rgba(255, 199, 46, 0.08);
  box-sizing: content-box;
}

.phone::before,
.phone::after {
  content: "";
  position: absolute;
  left: -8px;
  width: 4px;
  border-radius: 3px;
  background: #2a3350;
}

.phone::before {
  top: 120px;
  height: 34px;
}

.phone::after {
  top: 170px;
  height: 58px;
}

.screen {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 44px;
  background: #0a1124;
}

.track {
  display: flex;
  height: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
  transition: transform 0.55s cubic-bezier(0.22, 0.8, 0.24, 1);
}

.track li {
  flex: 0 0 100%;
  height: 100%;
}

.track img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.track img.light,
#tema-claro:checked ~ .stage .track img.dark {
  display: none;
}

#tema-claro:checked ~ .stage .track img.light {
  display: block;
}

#tema-claro:checked ~ .stage .screen {
  background: #f4f6fb;
}

.arrows {
  display: grid;
}

.arrow {
  display: none;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: rgba(94, 155, 242, 0.1);
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
}

.arrow:hover {
  background: rgba(255, 199, 46, 0.14);
  border-color: rgba(255, 199, 46, 0.5);
  transform: scale(1.05);
}

.arrow svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: var(--gold);
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.captions {
  min-height: 58px;
  max-width: 34rem;
  text-align: center;
}

.cap {
  display: none;
  margin: 0;
  color: var(--muted);
  font-size: 16px;
}

.cap strong {
  display: block;
  margin-bottom: 4px;
  color: var(--ink);
  font-size: 19px;
}

.dots {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 9px;
}

.dots label {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: rgba(159, 178, 217, 0.35);
  cursor: pointer;
  transition: width 0.3s, background 0.3s;
}

.dots label:hover {
  background: rgba(255, 199, 46, 0.6);
}

.shot-radio:focus-visible ~ .dots {
  outline: 2px solid var(--gold);
  outline-offset: 6px;
  border-radius: 8px;
}

.shots-note {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

@media (max-width: 640px) {
  .stage {
    gap: 10px;
  }

  .arrow {
    width: 40px;
    height: 40px;
  }

  .phone {
    width: min(250px, 62vw);
    border-radius: 44px;
    padding: 9px;
  }

  .screen {
    border-radius: 36px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .track {
    transition: none;
  }
}

#cap-1:checked ~ .stage .track { transform: translateX(-0%); }
#cap-2:checked ~ .stage .track { transform: translateX(-100%); }
#cap-3:checked ~ .stage .track { transform: translateX(-200%); }
#cap-4:checked ~ .stage .track { transform: translateX(-300%); }
#cap-5:checked ~ .stage .track { transform: translateX(-400%); }
#cap-6:checked ~ .stage .track { transform: translateX(-500%); }
#cap-7:checked ~ .stage .track { transform: translateX(-600%); }
#cap-8:checked ~ .stage .track { transform: translateX(-700%); }
#cap-9:checked ~ .stage .track { transform: translateX(-800%); }
#cap-10:checked ~ .stage .track { transform: translateX(-900%); }
#cap-11:checked ~ .stage .track { transform: translateX(-1000%); }
#cap-12:checked ~ .stage .track { transform: translateX(-1100%); }
#cap-1:checked ~ .stage .a-1,
#cap-2:checked ~ .stage .a-2,
#cap-3:checked ~ .stage .a-3,
#cap-4:checked ~ .stage .a-4,
#cap-5:checked ~ .stage .a-5,
#cap-6:checked ~ .stage .a-6,
#cap-7:checked ~ .stage .a-7,
#cap-8:checked ~ .stage .a-8,
#cap-9:checked ~ .stage .a-9,
#cap-10:checked ~ .stage .a-10,
#cap-11:checked ~ .stage .a-11,
#cap-12:checked ~ .stage .a-12 {
  display: grid;
}
#cap-1:checked ~ .captions .c-1,
#cap-2:checked ~ .captions .c-2,
#cap-3:checked ~ .captions .c-3,
#cap-4:checked ~ .captions .c-4,
#cap-5:checked ~ .captions .c-5,
#cap-6:checked ~ .captions .c-6,
#cap-7:checked ~ .captions .c-7,
#cap-8:checked ~ .captions .c-8,
#cap-9:checked ~ .captions .c-9,
#cap-10:checked ~ .captions .c-10,
#cap-11:checked ~ .captions .c-11,
#cap-12:checked ~ .captions .c-12 {
  display: block;
}
#cap-1:checked ~ .dots .d-1,
#cap-2:checked ~ .dots .d-2,
#cap-3:checked ~ .dots .d-3,
#cap-4:checked ~ .dots .d-4,
#cap-5:checked ~ .dots .d-5,
#cap-6:checked ~ .dots .d-6,
#cap-7:checked ~ .dots .d-7,
#cap-8:checked ~ .dots .d-8,
#cap-9:checked ~ .dots .d-9,
#cap-10:checked ~ .dots .d-10,
#cap-11:checked ~ .dots .d-11,
#cap-12:checked ~ .dots .d-12 {
  width: 26px;
  background: var(--gold);
}
