/* ══════════════════════════════════════════
   MINDSETIC — sitio web V2
   Mismo lenguaje que la app: tinta + cian, vidrio.
   Títulos en Schibsted Grotesk, texto corrido en Manrope; las dos servidas
   desde /fonts (OFL), sin Google Fonts.
   Claro y oscuro siguen el sistema (prefers-color-scheme).
   ══════════════════════════════════════════ */

@font-face {
  font-family: "Schibsted Grotesk";
  src: url("../fonts/schibsted-grotesk.woff2") format("woff2");
  font-weight: 400 900; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Manrope";
  src: url("../fonts/manrope.woff2") format("woff2");
  font-weight: 200 800; font-style: normal; font-display: swap;
}

:root {
  color-scheme: dark light;

  /* Oscuro (principal) */
  --bg: #0b0d10;
  --bg-2: #101419;
  --glass: rgba(255, 255, 255, 0.05);
  --glass-strong: rgba(255, 255, 255, 0.08);
  --line: rgba(255, 255, 255, 0.1);
  --text: #f2f5f7;
  --text-2: #a4b0b9;
  --text-3: #7d8a94;
  --accent: #22c3dd;
  --accent-ink: #04222a;
  --accent-text: #22c3dd;
  --accent-soft: rgba(34, 195, 221, 0.14);
  --gold: #ffc83a;
  --good: #2dd881;
  --glow: rgba(34, 195, 221, 0.16);
  --ring: rgba(34, 195, 221, 0.1);
  --nav-bg: rgba(11, 13, 16, 0.72);
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  --bezel: #05070a;

  --font: "Manrope", -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, sans-serif;
  --font-display: "Schibsted Grotesk", -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, sans-serif;
  --container: 1120px;
  --nav-h: 68px;
  --r-sm: 10px;
  --r-md: 18px;
  --r-lg: 26px;
}

@media (prefers-color-scheme: light) {
  :root {
    --bg: #f3f6f8;
    --bg-2: #e9eff2;
    --glass: rgba(255, 255, 255, 0.72);
    --glass-strong: rgba(255, 255, 255, 0.9);
    --line: rgba(15, 30, 40, 0.1);
    --text: #0e1a21;
    --text-2: #4b5a64;
    --text-3: #66747d;
    --accent-text: #07788c;
    --accent-soft: rgba(34, 195, 221, 0.16);
    --gold: #e0a106;
    --good: #12935a;
    --glow: rgba(34, 195, 221, 0.2);
    --ring: rgba(7, 120, 140, 0.1);
    --nav-bg: rgba(243, 246, 248, 0.78);
    --shadow: 0 24px 60px rgba(20, 40, 55, 0.18);
  }
}

/* ── Reset ── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: var(--nav-h); }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.tnum { font-variant-numeric: tabular-nums; }
/* Títulos con la grotesca; el texto corrido sigue en Manrope */
h1, h2, h3, .pricing-value { font-family: var(--font-display); }

/* ── Atmósfera: resplandor + anillos de eco (como Acceso/Home de la app) ── */
.atmos { position: relative; isolation: isolate; }
.atmos::before {
  content: "";
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(60% 50% at 78% 28%, var(--glow), transparent 70%),
    radial-gradient(40% 40% at 10% 90%, var(--ring), transparent 70%);
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 22%, #000 78%, transparent);
  mask-image: linear-gradient(to bottom, transparent, #000 22%, #000 78%, transparent);
}
.rings { position: absolute; z-index: -1; pointer-events: none; width: 760px; height: 760px; right: -160px; top: 50%; transform: translateY(-50%); }
.rings i { position: absolute; inset: 0; border-radius: 50%; border: 1px solid var(--ring); }
.rings i:nth-child(2) { inset: 90px; }
.rings i:nth-child(3) { inset: 180px; }
.rings i:nth-child(4) { inset: 270px; }

/* ── Botones ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 28px; border-radius: 999px;
  font-weight: 700; font-size: 16px; white-space: nowrap;
  transition: transform .15s ease, background .2s ease, border-color .2s ease;
}
.btn:active { transform: scale(0.98); }
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { background: #3fd0e7; }
.btn-ghost { border: 1px solid var(--line); background: var(--glass); }
.btn-ghost:hover { border-color: var(--accent); }
.btn-sm { min-height: 40px; padding: 0 18px; font-size: 14px; }
.btn-block { width: 100%; }
.btn svg { flex: none; }

/* ── Navbar ── */
.navbar {
  position: sticky; top: 0; z-index: 50; height: var(--nav-h);
  background: var(--nav-bg); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid transparent; transition: border-color .2s ease;
}
.navbar.scrolled { border-bottom-color: var(--line); }
.navbar-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.navbar-brand { display: flex; align-items: center; gap: 10px; font-weight: 800; letter-spacing: 0.14em; font-size: 15px; }
.brand-mark { flex: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: #0b0d10; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.12); }
.brand-mark svg { display: block; width: 22px; height: 22px; color: #fff; overflow: visible; }
.brand-mark-sm { width: 30px; height: 30px; border-radius: 8px; }
.brand-mark-sm svg { width: 18px; height: 18px; }
.navbar-links { display: flex; align-items: center; gap: 28px; font-weight: 600; font-size: 14px; color: var(--text-2); }
.navbar-links a:not(.btn):hover { color: var(--text); }
.navbar-links a { white-space: nowrap; }
/* Siete enlaces: entre la tablet y el escritorio ancho se juntan un poco para no partirse. */
@media (max-width: 1180px) { .navbar-links { gap: 18px; } }
.navbar-actions { display: flex; align-items: center; gap: 10px; }

.lang-switcher { position: relative; }
.lang-toggle {
  display: flex; align-items: center; gap: 6px; height: 36px; padding: 0 12px;
  border: 1px solid var(--line); border-radius: 999px; background: var(--glass);
  font-size: 13px; font-weight: 700;
}
.lang-dropdown {
  position: absolute; right: 0; top: calc(100% + 8px); min-width: 140px; padding: 6px;
  background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--r-md);
  box-shadow: var(--shadow); display: none;
}
.lang-switcher.open .lang-dropdown { display: block; }
.lang-option { display: flex; width: 100%; justify-content: space-between; padding: 10px 12px; border-radius: 10px; font-size: 14px; font-weight: 600; text-align: left; }
.lang-option:hover { background: var(--glass-strong); }
.lang-option .lang-check { opacity: 0; color: var(--accent-text); }
.lang-option.active .lang-check { opacity: 1; }

.navbar-hamburger { display: none; width: 40px; height: 40px; flex-direction: column; justify-content: center; gap: 5px; align-items: center; }
.navbar-hamburger span { width: 20px; height: 2px; background: var(--text); border-radius: 2px; transition: transform .2s, opacity .2s; }
.navbar-hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.navbar-hamburger.active span:nth-child(2) { opacity: 0; }
.navbar-hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.mobile-menu {
  display: none; position: absolute; top: var(--nav-h); left: 0; right: 0; padding: 12px 24px 24px;
  background: var(--bg); border-bottom: 1px solid var(--line); flex-direction: column; gap: 4px;
}
.mobile-menu.open { display: flex; }
.mobile-menu a:not(.btn) { padding: 14px 0; font-weight: 600; border-bottom: 1px solid var(--line); }
.mobile-menu .btn { margin-top: 14px; }

/* ── Guía para principiantes: franja de anuncio sobre el menú ──
   Colores del libro (papel #f5f2ea, tinta #181715) y la portada en miniatura, para que
   se lea como el libro y no como otro aviso de la app. Contrasta en los dos modos:
   papel sobre la web oscura, tinta sobre la clara. */
.guide-bar {
  --gb-bg: #f5f2ea; --gb-fg: #181715; --gb-muted: #6f6a60;
  --gb-btn: #181715; --gb-btn-fg: #f5f2ea; --gb-btn-hover: #0a6c78; --gb-btn-hover-fg: #f5f2ea;
  --gb-cover-edge: rgba(24, 23, 21, 0.22);
  display: block;
  overflow: hidden; /* recorta la portada, que asoma desde abajo en escritorio */
  background: var(--gb-bg);
  color: var(--gb-fg);
}
@media (prefers-color-scheme: light) {
  .guide-bar {
    --gb-bg: #181715; --gb-fg: #f5f2ea; --gb-muted: #a8a294;
    --gb-btn: #2bb5c4; --gb-btn-fg: #181715; --gb-btn-hover: #f5f2ea; --gb-btn-hover-fg: #181715;
    --gb-cover-edge: rgba(245, 242, 234, 0);
  }
}
.guide-bar:focus-visible { outline-offset: -3px; border-radius: 0; }
.guide-bar-inner { display: flex; align-items: center; gap: 16px; min-height: 66px; padding-top: 8px; padding-bottom: 8px; }
/* Escritorio: portada de 46 px que ocupa la caja de 50 px de alto y se sale por abajo;
   la franja la recorta, así se ve título y el 1 rodeado sin que la franja crezca. */
.guide-bar-cover { flex: none; position: relative; width: 46px; height: 50px; }
.guide-bar-cover img { position: absolute; top: 0; left: 0; width: 100%; height: auto; box-shadow: 0 0 0 1px var(--gb-cover-edge), 0 3px 10px rgba(0, 0, 0, 0.25); transition: transform .25s ease; }
html[lang="es"] .guide-bar .cover-en,
html:not([lang="es"]) .guide-bar .cover-es { display: none; }
.guide-bar:hover .guide-bar-cover img { transform: translateY(-4px); }
.guide-bar-price { flex: none; margin-left: auto; font-family: var(--font-display); font-weight: 800; font-size: 16.5px; }
.guide-bar-copy { flex: 1; display: flex; align-items: baseline; gap: 14px; min-width: 0; }
.guide-bar-name { flex: none; font-family: var(--font-display); font-weight: 800; font-size: 16.5px; letter-spacing: -0.01em; }
.guide-bar-line { font-size: 14.5px; color: var(--gb-muted); }
.guide-bar-line-short { display: none; }
.guide-bar-btn {
  flex: none; display: inline-flex; align-items: center; min-height: 36px; padding: 0 18px; border-radius: 999px;
  background: var(--gb-btn); color: var(--gb-btn-fg); font-weight: 800; font-size: 13.5px; white-space: nowrap;
  transition: background-color .2s ease, color .2s ease;
}
.guide-bar:hover .guide-bar-btn { background: var(--gb-btn-hover); color: var(--gb-btn-hover-fg); }

@media (max-width: 759px) {
  .guide-bar-inner { gap: 13px; min-height: 64px; }
  .guide-bar-cover { width: 26px; height: auto; }
  .guide-bar-cover img { position: static; }
  .guide-bar-price { display: none; }
  .guide-bar-copy { flex-direction: column; gap: 1px; }
  .guide-bar-name { font-size: 15px; line-height: 1.25; }
  .guide-bar-line { display: none; }
  .guide-bar-line-short { display: block; font-size: 13px; line-height: 1.35; color: var(--gb-muted); }
  .guide-bar-btn { padding: 0 15px; }
}
@media (prefers-reduced-motion: reduce) {
  .guide-bar-cover img, .guide-bar-btn { transition: none; }
  .guide-bar:hover .guide-bar-cover img { transform: none; }
}

/* ── Marco de teléfono ── */
.phone {
  position: relative; width: 100%; max-width: 300px; aspect-ratio: 1000 / 2116.5; /* pantalla 1320×2868 + marco del 2,4 % */
  border-radius: 14.5% / 6.7%; background: var(--bezel);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.14), var(--shadow);
}
/* La pantalla va posicionada con márgenes en %, no con height:100%: WebKit (Safari y Chrome en iPhone)
   no siempre resuelve un % de alto contra una caja que solo tiene aspect-ratio y la captura se desbordaba por abajo.
   El margen vertical es 2,4 % del ancho (24) entre el alto (2116,5) = 1,134 %. clip-path recorta también las
   imágenes con transición de opacidad, que con overflow:hidden + radio se escapan de la esquina en Safari. */
.phone-screen {
  position: absolute; top: 1.134%; bottom: 1.134%; left: 2.4%; right: 2.4%;
  border-radius: 12.5% / 5.8%; overflow: hidden; background: #0b0d10;
  clip-path: inset(0 round 12.5% / 5.8%); isolation: isolate;
}
.phone-screen img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* ── Hero ── */
.hero { position: relative; padding: 56px 0 96px; overflow: hidden; }
.hero-inner { display: grid; grid-template-columns: 1.05fr 0.95fr; align-items: center; gap: 48px; }
.hero-title { font-weight: 800; font-size: clamp(40px, 5.6vw, 68px); line-height: 1.04; letter-spacing: -0.03em; }
.hero-sub { margin-top: 22px; max-width: 520px; font-size: 19px; color: var(--text-2); }
.hero-cta { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 12px; }
.hero-note { margin-top: 18px; font-size: 14px; color: var(--text-3); }
.hero-mockup { display: flex; flex-direction: column; align-items: center; gap: 22px; }
.carousel .phone-screen img { opacity: 0; transition: opacity .6s ease; }
.carousel .phone-screen img.active { opacity: 1; }
.carousel-dots { display: flex; gap: 8px; }
.carousel-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--line); padding: 0; transition: background .2s, width .2s; }
.carousel-dot.active { background: var(--accent); width: 22px; border-radius: 4px; }

/* ── Secciones ── */
section { position: relative; }
.section { padding: 96px 0; }
.section-alt { background: var(--bg-2); }
.section-title { font-weight: 800; font-size: clamp(30px, 4vw, 46px); line-height: 1.1; letter-spacing: -0.025em; }
.section-sub { margin-top: 14px; max-width: 620px; font-size: 18px; color: var(--text-2); }
.section-head { margin-bottom: 56px; }
.section-head.center { text-align: center; }
.section-head.center .section-sub { margin-left: auto; margin-right: auto; }
.inline-link { text-decoration: underline; text-underline-offset: 3px; }

/* Filas de funciones: texto + teléfono, alternadas */
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; padding: 56px 0; }
.row + .row { border-top: 1px solid var(--line); }
.row.flip .row-media { order: -1; }
.row-text h3 { font-weight: 800; font-size: clamp(26px, 3.2vw, 36px); line-height: 1.12; letter-spacing: -0.02em; }
.row-text > p { margin-top: 16px; font-size: 17px; color: var(--text-2); max-width: 480px; }
.row-media { display: flex; justify-content: center; position: relative; }
.row-media .phone { max-width: 270px; }
.phones-pair { display: flex; align-items: flex-start; justify-content: center; gap: 22px; width: 100%; max-width: 480px; }
.phones-pair .phone { flex: 1 1 0; min-width: 0; max-width: 230px; }
.phones-pair .phone:nth-child(2) { margin-top: 48px; }
.row-detail { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); max-width: 480px; font-size: 14.5px; color: var(--text-3); font-variant-numeric: tabular-nums; }
.row-last { border-top: 0 !important; padding-bottom: 0; }

/* Cómo se mueve el peso: un registro de ejemplo (sin pasos ni tarjetas) */
.method { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 72px; align-items: center; }
.method-lede { margin-top: 18px; max-width: 440px; font-size: 18px; color: var(--text-2); }
.ledger figcaption { font-size: 14px; font-weight: 600; color: var(--text-3); padding-bottom: 14px; }
.ledger ol { list-style: none; }
.ledger li {
  display: grid; grid-template-columns: 96px auto 1fr; align-items: baseline; gap: 24px;
  padding: 18px 0; border-top: 1px solid var(--line);
}
.ledger li:last-child { border-bottom: 1px solid var(--line); }
.ledger-when { font-size: 14px; font-weight: 600; color: var(--text-3); }
.ledger-load {
  font-family: var(--font-display); font-weight: 800; font-size: clamp(26px, 3vw, 34px);
  letter-spacing: -0.02em; line-height: 1.1; font-variant-numeric: tabular-nums; white-space: nowrap;
}
.ledger-note { font-size: 15.5px; color: var(--text-2); }
.ledger-up .ledger-load { color: var(--accent-text); }
.ledger-up .ledger-note { color: var(--text); font-weight: 600; }
.method-rir {
  margin-top: 72px; max-width: 860px;
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(24px, 3vw, 34px); line-height: 1.25; letter-spacing: -0.02em;
}

/* Herramientas: lista tipo ficha técnica, nombre a la izquierda y detalle a la derecha */
.tools { max-width: 900px; }
.tool {
  display: grid; grid-template-columns: 300px 1fr; gap: 32px; align-items: baseline;
  padding: 20px 0; border-top: 1px solid var(--line);
}
.tool h3 { font-size: 19px; font-weight: 700; letter-spacing: -0.01em; }
.tool p { color: var(--text-2); font-size: 15.5px; }
.tool .tag { margin-left: 8px; padding: 2px 8px; border: 1px solid var(--line); border-radius: 999px; font-size: 11px; font-weight: 700; color: var(--text-3); vertical-align: 2px; }

/* ── Precios ── */
.pricing-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; max-width: 820px; margin: 0 auto; }
.pricing-card {
  position: relative; padding: 34px 32px; border-radius: var(--r-lg);
  background: var(--glass); border: 1px solid var(--line);
  display: flex; flex-direction: column;
}
.pricing-card.featured { border-color: var(--accent); background: var(--accent-soft); }
.pricing-badge { position: absolute; top: -13px; left: 28px; padding: 4px 12px; border-radius: 999px; background: var(--accent); color: var(--accent-ink); font-size: 12px; font-weight: 800; }
.pricing-card h3 { font-size: 18px; font-weight: 800; }
.pricing-amount { margin-top: 14px; display: flex; align-items: baseline; gap: 6px; }
.pricing-value { font-size: 52px; font-weight: 800; letter-spacing: -0.03em; line-height: 1; font-variant-numeric: tabular-nums; }
.pricing-period { color: var(--text-2); font-weight: 600; }
.pricing-desc { margin-top: 8px; color: var(--text-2); font-size: 15px; min-height: 24px; }
.pricing-desc s { color: var(--text-3); }
.pricing-trial { margin: 22px 0 24px; font-size: 15px; color: var(--text); font-weight: 600; }
.pricing-card .btn { margin-top: auto; }
.pricing-foot { margin: 26px auto 0; text-align: center; max-width: 620px; font-size: 14.5px; color: var(--text-3); }
.compare { margin: 56px auto 0; max-width: 820px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--glass); overflow: hidden; }
.compare table { width: 100%; border-collapse: collapse; }
.compare th, .compare td { padding: 15px 22px; text-align: left; font-size: 15.5px; border-top: 1px solid var(--line); }
.compare thead th { border-top: 0; font-size: 13px; font-weight: 700; color: var(--text-3); }
.compare th:not(:first-child), .compare td:not(:first-child) { text-align: center; width: 110px; }
.compare .pro { color: var(--accent-text); font-weight: 800; }
.compare .yes { color: var(--accent-text); font-weight: 800; }
.compare .no { color: var(--text-3); }

/* ── FAQ (details nativo) ── */
.faq-list { max-width: 780px; margin: 0 auto; }
.faq-item { border-top: 1px solid var(--line); }
.faq-item:last-child { border-bottom: 1px solid var(--line); }
.faq-item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 0; font-size: 18px; font-weight: 700; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: ""; flex: none; width: 10px; height: 10px; border-right: 2px solid var(--text-3); border-bottom: 2px solid var(--text-3); transform: rotate(45deg); transition: transform .2s; margin-right: 4px; }
.faq-item[open] summary::after { transform: rotate(-135deg); }
.faq-item p { padding: 0 0 24px; max-width: 680px; color: var(--text-2); }

/* ── CTA final ── */
.final-cta { padding: 96px 0; text-align: center; overflow: hidden; }
.final-cta h2 { font-weight: 800; font-size: clamp(32px, 4.6vw, 54px); line-height: 1.08; letter-spacing: -0.03em; }
.final-cta p { margin: 16px auto 32px; max-width: 520px; font-size: 18px; color: var(--text-2); }

/* ── CTA fijo en móvil ── */
.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: none;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  background: var(--nav-bg); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  border-top: 1px solid var(--line); transform: translateY(110%); transition: transform .25s ease;
}
.sticky-cta.visible { transform: translateY(0); }

/* ── Footer ── */
.footer { padding: 64px 0 40px; border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 40px; }
.footer-brand { display: flex; align-items: center; gap: 10px; font-weight: 800; letter-spacing: 0.14em; font-size: 14px; }
.footer-tagline { margin: 14px 0 18px; color: var(--text-2); max-width: 300px; font-size: 15px; }
.footer-appstore { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 14px; padding: 9px 16px; border: 1px solid var(--line); border-radius: 999px; background: var(--glass); }
.footer-social { margin-top: 14px; }
.footer-social-link { display: inline-flex; align-items: center; gap: 8px; color: var(--text-2); font-size: 14px; font-weight: 600; }
.footer-social-link:hover, .footer-links a:hover { color: var(--text); }
.footer-col-title { font-size: 13px; font-weight: 700; color: var(--text-3); margin-bottom: 14px; }
.footer-links { display: grid; gap: 10px; color: var(--text-2); font-size: 15px; font-weight: 600; }
.footer-bottom { margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--line); color: var(--text-3); font-size: 14px; }
.footer-disclaimer { margin-top: 10px; max-width: 760px; font-size: 12.5px; line-height: 1.6; color: var(--text-3); }

/* ── Aparición al hacer scroll (solo si hay JS y no se pidió menos movimiento) ── */
.js-ready .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.js-ready .reveal.visible { opacity: 1; transform: none; }

/* ── Páginas secundarias (confirmación, restablecer, enlaces, legales) ── */
.page-center { min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 32px 20px; }
.page-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 28px; font-weight: 800; letter-spacing: 0.14em; font-size: 15px; }
.panel { width: 100%; max-width: 440px; padding: 36px 32px; background: var(--glass); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow); text-align: center; }
.panel h1 { font-size: 26px; font-weight: 800; letter-spacing: -0.02em; line-height: 1.2; }
.panel p { margin-top: 12px; color: var(--text-2); font-size: 16px; }
.panel .btn { margin-top: 26px; }
.panel .small { font-size: 13.5px; color: var(--text-3); }
.field { margin-top: 18px; text-align: left; }
.field label { display: block; margin-bottom: 8px; font-size: 14px; font-weight: 700; }
.field input {
  width: 100%; min-height: 52px; padding: 0 16px; border-radius: 14px; border: 1px solid var(--line);
  background: var(--bg); color: var(--text); font: inherit; font-size: 16px;
}
.field input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.notice { margin-top: 16px; padding: 12px 14px; border-radius: 12px; font-size: 14.5px; text-align: left; }
.notice.error { background: rgba(255, 107, 107, 0.12); color: #ff8a8a; border: 1px solid rgba(255, 107, 107, 0.3); }
.notice.ok { background: rgba(45, 216, 129, 0.12); color: var(--good); border: 1px solid rgba(45, 216, 129, 0.3); }
@media (prefers-color-scheme: light) { .notice.error { color: #b3261e; } }
.back-link { margin-top: 22px; font-size: 14px; font-weight: 600; color: var(--text-3); }
.back-link:hover { color: var(--text); }

.legal { padding: 56px 0 96px; }
.legal-inner { max-width: 760px; margin: 0 auto; padding: 0 24px; }
.legal h1 { font-size: clamp(32px, 4.4vw, 44px); font-weight: 800; letter-spacing: -0.025em; line-height: 1.1; }
.legal .updated { margin-top: 10px; color: var(--text-3); font-size: 14px; }
.legal h2 { margin: 40px 0 12px; font-size: 21px; font-weight: 800; letter-spacing: -0.01em; }
.legal h3 { margin: 24px 0 8px; font-size: 17px; font-weight: 700; }
.legal p, .legal li { color: var(--text-2); font-size: 16px; line-height: 1.7; }
.legal p { margin-top: 12px; }
.legal ul { margin: 12px 0 0 20px; display: grid; gap: 8px; list-style: disc; }
.legal a { color: var(--accent-text); text-decoration: underline; text-underline-offset: 3px; }
.legal strong { color: var(--text); }

/* ── Responsive ── */
@media (max-width: 960px) {
  .navbar-links { display: none; }
  .navbar-hamburger { display: flex; }
  .hero { padding: 36px 0 72px; }
  .hero-inner { grid-template-columns: 1fr; gap: 48px; text-align: center; }
  .hero-sub { margin-left: auto; margin-right: auto; }
  .hero-cta { justify-content: center; }
  .rings { right: 50%; transform: translate(50%, -50%); width: 620px; height: 620px; top: 74%; }
  .section { padding: 72px 0; }
  .row { grid-template-columns: 1fr; gap: 36px; padding: 44px 0; }
  .row.flip .row-media { order: 0; }
  .row-text { text-align: left; }
  .method { grid-template-columns: 1fr; gap: 40px; }
  .method-rir { margin-top: 48px; }
  .tool { grid-template-columns: 1fr; gap: 4px; }
  .pricing-cards { grid-template-columns: 1fr; max-width: 460px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-col-brand { grid-column: 1 / -1; }
  .sticky-cta { display: block; }
}
@media (max-width: 560px) {
  .container { padding: 0 20px; }
  .hero-cta .btn { width: 100%; }
  .phones-pair .phone { max-width: 46vw; }
  .ledger li { grid-template-columns: 1fr; gap: 2px; padding: 16px 0; }
  .compare th, .compare td { padding: 13px 14px; }
  .compare th:not(:first-child), .compare td:not(:first-child) { width: 56px; padding-left: 4px; padding-right: 8px; }
  .pricing-card { padding: 30px 24px; }
  body { padding-bottom: 76px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .js-ready .reveal { opacity: 1; transform: none; }
}

/* ── Páginas pequeñas: selector de idioma, requisitos de contraseña, éxito ── */
.lang-pill { position: fixed; top: 16px; right: 16px; z-index: 20; height: 36px; padding: 0 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--glass); font-size: 13px; font-weight: 700; backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.lang-pill:hover { border-color: var(--accent); }
/* Selector EN | ES: las dos opciones a la vista y la actual resaltada (antes el
   botón mostraba el idioma al que cambiabas y se leía al revés). */
.lang-pill.lang-seg, .lang-toggle.lang-seg { display: inline-flex; align-items: center; gap: 2px; padding: 3px; }
.lang-seg .lang-opt { display: grid; place-items: center; min-width: 34px; height: 28px; padding: 0 8px; border-radius: 999px; color: var(--text-2); }
.lang-seg .lang-opt.is-on { background: var(--text); color: var(--bg); }
.page-center.atmos { position: relative; }
.pw-checks { margin-top: 12px; display: grid; gap: 6px; }
.pw-checks li { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--text-3); transition: color .2s; }
.pw-checks .check-icon { flex: none; width: 16px; height: 16px; border-radius: 50%; border: 1.5px solid currentColor; display: grid; place-items: center; font-size: 10px; line-height: 1; }
.pw-checks li.pass { color: var(--good); }
.panel form { text-align: left; }
.panel form .btn { margin-top: 24px; }
.panel .btn:disabled { opacity: .55; cursor: default; }
.check-circle { width: 64px; height: 64px; margin: 0 auto 22px; border-radius: 50%; display: grid; place-items: center; border: 1.5px solid var(--good); color: var(--good); }
.check-circle svg { width: 28px; height: 28px; }
.hidden { display: none !important; }
.pulse-dot { width: 10px; height: 10px; margin: 0 auto 20px; border-radius: 50%; background: var(--accent); animation: pulse 1.2s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: .35; transform: scale(.8); } }

/* ── Android: la app es solo para iPhone ──
   i18n.js marca <html class="is-android"> y cambia los botones de descarga por la guía.
   Aquí solo se oculta lo que no aplica: el logo de Apple y el "Descargar" del menú. */
.is-android [data-android-guide] svg,
.is-android .nav-download { display: none; }
