/* Cuentas Claras · página de presentación: estilos (index.html y privacidad.html) */

/* La misma fuente y los mismos colores que la app (frontend/shared/styles/theme.css y DESIGN.md), desde la v1.23.
   Manrope (SIL Open Font License, ver fuentes/OFL.txt): una sola fuente variable, del 200 al 800 */
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("fuentes/manrope-latin.woff2") format("woff2");
}

:root {
  --bg: #f4f6fa; /* canvas */
  --bg2: #e8eefb; /* soft */
  --card: #ffffff; /* surface */
  --ink: #0f1b33;
  --ink2: #2b3650; /* los párrafos grandes: casi tinta (el gris es para notas) */
  --muted: #5b6478;
  --line: #e2e6ee; /* border */
  --navy: #0f2a5c; /* azul noche: la marca */
  --blue: #3157b7; /* link y acento */
  --blue-soft: #e8eefb;
  --green: #047857; /* ok: los chulitos */
  --green-strong: #047857;
  --green-soft: #d1fae5;
  --mint: #34d399;
  --amber: #f59e0b;
  --red: #b91c1c;
  --cta: #0f2a5c; /* el botón principal de la app: azul noche con texto blanco */
  --cta-hover: #163a7a;
  --cta-ink: #ffffff;
  --chat-bg: #e7eef7;
  --bubble-me: #dcf8c6;
  --bubble-bot: #ffffff;
  --shadow: 0 1px 2px rgba(15, 42, 92, 0.05); /* plano, como la app: bordes y no sombras */
  --shadow-lg: 0 24px 60px rgba(15, 42, 92, 0.18);
  --r: 20px; /* rounded-card */
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0b1222;
    --bg2: #0e1830;
    --card: #131c30;
    --ink: #e6eaf2;
    --ink2: #d3d9e5;
    --muted: #9aa4b8;
    --line: #22304d;
    --blue: #8fb3ff;
    --blue-soft: #1c2b4d;
    --green: #6ee7b7;
    --green-strong: #6ee7b7;
    --green-soft: rgba(110, 231, 183, 0.14);
    --red: #fca5a5;
    --cta: #8fb3ff; /* en oscuro, como la app: azul claro con texto oscuro */
    --cta-hover: #a9c4ff;
    --cta-ink: #0b1222;
    --chat-bg: #0e1a33;
    --bubble-me: #1f5136;
    --bubble-bot: #1a2645;
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 24px 60px rgba(0, 0, 0, 0.5);
  }
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font:
    16px/1.6 "Manrope",
    system-ui,
    -apple-system,
    "Segoe UI",
    Roboto,
    sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: inherit;
}
.wrap {
  width: min(1140px, 100% - 32px);
  margin-inline: auto;
}
h1,
h2,
h3 {
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0;
}
h2 {
  font-size: clamp(28px, 4.2vw, 42px);
  font-weight: 800;
}
h3 {
  font-size: 19px;
  font-weight: 700;
}
p {
  margin: 0;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 700;
  color: var(--blue);
}
.lead {
  font-size: clamp(17px, 2.1vw, 20px);
  color: var(--ink2);
}
section {
  padding: clamp(64px, 9vw, 112px) 0;
}
.center {
  text-align: center;
}
.sec-head {
  max-width: 720px;
  margin: 0 auto 44px;
  text-align: center;
  display: grid;
  gap: 14px;
}

/* botones */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: inherit;
  font-weight: 700;
  font-size: 17px;
  line-height: 1;
  text-decoration: none;
  border-radius: 14px; /* rounded-tile: el botón grande de la app */
  padding: 17px 26px;
  transition:
    background-color 0.15s,
    border-color 0.15s;
  cursor: pointer;
  border: 0;
}
.btn:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
}
.btn-cta {
  background: var(--cta);
  color: var(--cta-ink);
}
.btn-cta:hover {
  background: var(--cta-hover);
}
/* el secundario de la app: fondo de tarjeta, borde fuerte, texto azul noche */
.btn-ghost {
  background: var(--card);
  color: var(--navy);
  border: 1px solid #cbd3e1;
}
.btn-ghost:hover {
  background: var(--bg2);
}
@media (prefers-color-scheme: dark) {
  .btn-ghost {
    color: var(--ink);
    border-color: #33446a;
  }
}
.btn svg {
  width: 22px;
  height: 22px;
  flex: none;
}
.micro {
  font-size: 14px;
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
}
.micro span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.micro svg {
  width: 16px;
  height: 16px;
  color: var(--green);
}
/* «Al unirte aceptas el aviso de privacidad» bajo los botones */
.acepta {
  font-size: 13px;
  color: var(--muted);
}
.acepta a {
  color: inherit;
  text-underline-offset: 2px;
}
/* «¿Prefieres WhatsApp?»: oculto hasta configurar el número en pagina.js */
.wa-alt {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 15px;
  color: var(--green-strong);
  text-decoration: none;
}
.wa-alt[hidden] {
  display: none;
}
.wa-alt:hover {
  text-decoration: underline;
}
.wa-alt svg {
  width: 20px;
  height: 20px;
}

/* navegación */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--bg);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s;
}
.nav.scrolled {
  border-bottom-color: var(--line);
}
.nav .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 16px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 19px;
  text-decoration: none;
  letter-spacing: -0.01em;
}
.brand img {
  width: 34px;
  height: 34px;
}
.nav-links {
  display: none;
  gap: 26px;
  font-weight: 600;
  font-size: 15px;
  color: var(--ink2);
}
.nav-links a {
  text-decoration: none;
}
.nav-links a:hover {
  color: var(--ink);
}
.nav .btn {
  padding: 11px 18px;
  font-size: 15px;
  border-radius: 12px; /* el botón normal de la app (rounded-xl) */
}
.nav-acciones {
  display: flex;
  align-items: center;
  gap: 4px;
}
/* «Entrar», para quien ya tiene cuenta: un enlace de texto que no compite con «Crear cuenta» */
.nav-entrar {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 14px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 15px;
  color: var(--ink);
  text-decoration: none;
  transition: background-color 0.15s;
}
.nav-entrar:hover {
  background: var(--bg2);
}
.nav-entrar:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
}
/* en un celular angosto no caben los dos junto al logo: arriba queda «Entrar» con borde (crear la cuenta está en el
   botón grande del héroe y en el botón fijo, que aparece al bajar) */
@media (max-width: 479px) {
  .nav-acciones .btn {
    display: none;
  }
  .nav-entrar {
    border: 1px solid #cbd3e1;
    background: var(--card);
    color: var(--navy);
  }
}
@media (max-width: 479px) and (prefers-color-scheme: dark) {
  .nav-entrar {
    border-color: #33446a;
    color: var(--ink);
  }
}
@media (min-width: 880px) {
  .nav-links {
    display: flex;
  }
}

/* héroe */
.hero {
  padding-top: clamp(36px, 6vw, 72px);
  position: relative;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  gap: 48px;
  align-items: center;
  position: relative;
  z-index: 1;
}
@media (min-width: 980px) {
  .hero-grid {
    grid-template-columns: 1.08fr 0.92fr;
  }
}
.hero h1 {
  font-size: clamp(38px, 6.2vw, 64px);
  font-weight: 800;
  letter-spacing: -0.035em;
}
.hero h1 .mark {
  background: linear-gradient(
    transparent 62%,
    rgba(52, 211, 153, 0.35) 62%
  ); /* el menta de la app */
  padding: 0 0.06em;
}
.hero-copy {
  display: grid;
  gap: 22px;
  justify-items: start;
}
.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 6px;
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 12px;
  border-radius: 999px;
  background: var(--card);
  border: 1px solid var(--line);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink2);
}
.pill svg {
  width: 16px;
  height: 16px;
  color: var(--green);
}

/* teléfono con el chat del bot */
.phone {
  width: min(360px, 100%);
  margin-inline: auto;
  border-radius: 44px;
  padding: 12px;
  background: #0f1b33;
  box-shadow: var(--shadow-lg);
  position: relative;
}
.phone-screen {
  border-radius: 34px;
  overflow: hidden;
  background: var(--chat-bg);
  height: 620px;
  display: flex;
  flex-direction: column;
}
.tg-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  background: var(--card);
  border-bottom: 1px solid var(--line);
}
.tg-head img {
  width: 38px;
  height: 38px;
  border-radius: 50%;
}
.tg-head b {
  display: block;
  font-size: 15px;
}
.tg-head small {
  color: var(--green);
  font-size: 12.5px;
  font-weight: 600;
}
.chat {
  flex: 1;
  padding: 16px 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  overflow: hidden;
  justify-content: flex-end;
  position: relative;
}
.msg {
  max-width: 84%;
  padding: 9px 12px 8px;
  border-radius: 16px;
  font-size: 14px;
  line-height: 1.45;
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.08);
  opacity: 0;
  transform: translateY(8px);
  transition:
    opacity 0.35s,
    transform 0.35s;
}
.msg.show {
  opacity: 1;
  transform: none;
}
.msg.me {
  align-self: flex-end;
  background: var(--bubble-me);
  border-bottom-right-radius: 5px;
}
.msg.bot {
  align-self: flex-start;
  background: var(--bubble-bot);
  border-bottom-left-radius: 5px;
}
.msg b {
  font-weight: 700;
}
.msg .btns {
  display: flex;
  gap: 6px;
  margin-top: 8px;
}
.msg .btns span {
  flex: 1;
  text-align: center;
  font-size: 12px;
  font-weight: 700;
  padding: 7px 6px;
  border-radius: 10px;
  background: var(--blue-soft);
  color: var(--blue);
  white-space: nowrap;
}
@media (prefers-color-scheme: dark) {
  .msg .btns span {
    color: #8fb3ff;
  }
  .phone,
  .shot-phone {
    outline: 1px solid #33446a;
  }
}
.msg.photo {
  padding: 6px;
}
.receipt {
  width: 170px;
  background: #fff;
  color: #222;
  border-radius: 10px;
  padding: 10px 12px;
  font:
    11px/1.5 ui-monospace,
    Menlo,
    Consolas,
    monospace;
}
.receipt .t {
  text-align: center;
  font-weight: 700;
  font-size: 12px;
}
.receipt .tot {
  border-top: 1px dashed #999;
  margin-top: 6px;
  padding-top: 4px;
  display: flex;
  justify-content: space-between;
  font-weight: 700;
}
.typing {
  align-self: flex-start;
  background: var(--bubble-bot);
  border-radius: 16px;
  padding: 12px 14px;
  display: none;
  gap: 4px;
}
.typing.show {
  display: flex;
}
.typing i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--muted);
  animation: dot 1s infinite;
}
.typing i:nth-child(2) {
  animation-delay: 0.15s;
}
.typing i:nth-child(3) {
  animation-delay: 0.3s;
}
@keyframes dot {
  0%,
  60%,
  100% {
    opacity: 0.3;
    transform: none;
  }
  30% {
    opacity: 1;
    transform: translateY(-3px);
  }
}
.tg-input {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  background: var(--card);
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}
.tg-input div {
  flex: 1;
  border-radius: 999px;
  background: var(--bg2);
  padding: 9px 14px;
}
.tg-input svg {
  color: var(--blue);
}
.demo-note {
  text-align: center;
  color: var(--muted);
  font-size: 13px;
  margin-top: 12px;
}

/* problema */
.pains {
  display: grid;
  gap: 16px;
}
@media (min-width: 820px) {
  .pains {
    grid-template-columns: repeat(3, 1fr);
  }
}
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 26px;
  box-shadow: var(--shadow);
}
.pain {
  display: grid;
  gap: 12px;
}
.pain .ico {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: #fee2e2;
  color: var(--red);
}
@media (prefers-color-scheme: dark) {
  .pain .ico {
    background: rgba(252, 165, 165, 0.14);
  }
}
.pain .ico svg {
  width: 24px;
  height: 24px;
}
.pain p {
  color: var(--ink2);
}
.turn {
  margin: 44px auto 0;
  max-width: 760px;
  text-align: center;
  font-size: clamp(20px, 2.6vw, 26px);
  font-weight: 700;
}
.turn em {
  font-style: normal;
  color: var(--green-strong);
}
@media (prefers-color-scheme: dark) {
  .turn em {
    color: #6ee7b7;
  }
}

/* pasos */
.alt {
  background: var(--bg2);
}
.steps {
  display: grid;
  gap: 18px;
  counter-reset: paso;
}
@media (min-width: 880px) {
  .steps {
    grid-template-columns: repeat(3, 1fr);
  }
}
.cta-pasos {
  margin-top: 40px;
}
.step {
  position: relative;
  display: grid;
  gap: 12px;
  padding-top: 30px;
}
.step::before {
  counter-increment: paso;
  content: counter(paso);
  position: absolute;
  top: -18px;
  left: 26px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  font-weight: 800;
  display: grid;
  place-items: center;
  box-shadow: 0 6px 16px rgba(15, 42, 92, 0.3);
}
.step .ej {
  font-size: 14px;
  background: var(--bg2);
  border-radius: 12px;
  padding: 10px 12px;
  color: var(--ink2);
}
.step .ej b {
  color: var(--ink);
}

/* funciones */
.feats {
  display: grid;
  gap: 16px;
}
@media (min-width: 640px) {
  .feats {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1000px) {
  .feats {
    grid-template-columns: repeat(4, 1fr);
  }
}
.feat {
  display: grid;
  gap: 10px;
  align-content: start;
}
.feat .ico {
  width: 44px;
  height: 44px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  background: var(--blue-soft);
  color: var(--blue);
}
@media (prefers-color-scheme: dark) {
  .feat .ico {
    color: #8fb3ff;
  }
}
.feat .ico svg {
  width: 23px;
  height: 23px;
}
.feat p {
  color: var(--ink2);
  font-size: 15px;
}
.feat.big {
  background: var(--navy);
  color: #fff;
  border: 0;
}
.feat.big p {
  color: #bfd1ff; /* on-hero-muted */
}
.feat.big .ico {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
}

/* capturas */
.shots {
  position: relative;
  margin-top: 8px;
}
.browser {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--line);
  background: var(--card);
}
.browser .bar {
  display: flex;
  gap: 6px;
  padding: 11px 14px;
  background: var(--bg2);
  border-bottom: 1px solid var(--line);
}
.browser .bar i {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #f87171;
}
.browser .bar i:nth-child(2) {
  background: #fbbf24;
}
.browser .bar i:nth-child(3) {
  background: #34d399;
}
.shot-phone {
  display: none;
}
@media (min-width: 880px) {
  .shots {
    padding-right: 150px;
  }
  .shot-phone {
    display: block;
    position: absolute;
    right: 0;
    bottom: -40px;
    width: 250px;
    border-radius: 30px;
    padding: 8px;
    background: #0f1b33;
    box-shadow: var(--shadow-lg);
  }
  .shot-phone img {
    border-radius: 23px;
  }
}
.shot-caps {
  display: grid;
  gap: 14px;
  margin-top: 64px;
}
@media (min-width: 820px) {
  .shot-caps {
    grid-template-columns: repeat(3, 1fr);
  }
}
.cap {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.cap svg {
  width: 24px;
  height: 24px;
  flex: none;
  color: var(--green);
}
.cap p {
  color: var(--ink2);
  font-size: 15px;
}
.cap b {
  color: var(--ink);
}

/* hogar */
.hogar-grid {
  display: grid;
  gap: 40px;
  align-items: center;
}
.hogar-texto {
  display: grid;
  gap: 18px;
}
@media (min-width: 980px) {
  .hogar-grid {
    grid-template-columns: 0.9fr 1.1fr;
  }
}
.checks {
  display: grid;
  gap: 14px;
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
}
.checks li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  color: var(--ink2);
}
.checks li b {
  color: var(--ink);
}
.checks svg {
  width: 22px;
  height: 22px;
  flex: none;
  color: var(--green);
  margin-top: 2px;
}
.stack {
  display: grid;
  gap: 16px;
}
.stack .browser img {
  width: 100%;
}
.quote-bubble {
  justify-self: end;
  max-width: 340px;
  background: var(--bubble-me);
  border-radius: 16px 16px 4px 16px;
  padding: 12px 14px;
  box-shadow: var(--shadow);
  font-size: 15px;
}
.quote-bubble.bot {
  justify-self: start;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px 16px 16px 4px;
}

/* comparación */
.table-wrap {
  overflow-x: auto;
  border-radius: var(--r);
  border: 1px solid var(--line);
  background: var(--card);
  box-shadow: var(--shadow);
}
table {
  width: 100%;
  border-collapse: collapse;
  min-width: 680px;
  font-size: 15px;
}
th,
td {
  padding: 15px 16px;
  text-align: center;
  border-bottom: 1px solid var(--line);
}
th:first-child,
td:first-child {
  text-align: left;
  font-weight: 600;
}
thead th {
  font-size: 14px;
  color: var(--muted);
  font-weight: 700;
}
thead th.us {
  color: var(--ink);
}
td.us,
th.us {
  background: color-mix(in srgb, var(--green-soft) 70%, transparent);
}
tr:last-child td,
tr:last-child th {
  border-bottom: 0;
}
.desliza {
  display: block;
  text-align: center;
  color: var(--muted);
  font-size: 13px;
  margin-top: 10px;
}
@media (min-width: 720px) {
  .desliza {
    display: none;
  }
}
.y {
  color: var(--green);
  font-weight: 800;
}
.n {
  color: var(--muted);
}
.p {
  color: var(--ink2);
  font-size: 13.5px;
}

/* confianza */
.trust-grid {
  display: grid;
  gap: 16px;
}
@media (min-width: 820px) {
  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
.trust-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.trust-item .ico {
  width: 44px;
  height: 44px;
  flex: none;
  border-radius: 13px;
  display: grid;
  place-items: center;
  background: var(--green-soft);
  color: var(--green-strong);
}
@media (prefers-color-scheme: dark) {
  .trust-item .ico {
    color: #6ee7b7;
  }
}
.trust-item .ico svg {
  width: 23px;
  height: 23px;
}
.trust-item p {
  color: var(--ink2);
  font-size: 15px;
  margin-top: 4px;
}
.founder {
  margin-top: 28px;
  display: flex;
  gap: 18px;
  align-items: flex-start;
}
.founder .av {
  width: 52px;
  height: 52px;
  flex: none;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 20px;
}
.founder blockquote {
  margin: 0;
  font-size: 17px;
  color: var(--ink2);
}
.founder cite {
  display: block;
  margin-top: 8px;
  font-style: normal;
  font-weight: 700;
  color: var(--ink);
  font-size: 15px;
}

/* preguntas */
.faq {
  max-width: 780px;
  margin: 0 auto;
  display: grid;
  gap: 12px;
}
details {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 0 22px;
  box-shadow: var(--shadow);
}
summary {
  cursor: pointer;
  list-style: none;
  padding: 20px 0;
  font-weight: 700;
  font-size: 17px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
}
summary::-webkit-details-marker {
  display: none;
}
summary::after {
  content: "+";
  font-size: 24px;
  font-weight: 500;
  color: var(--muted);
  transition: transform 0.2s;
}
details[open] summary::after {
  transform: rotate(45deg);
}
details p {
  padding: 0 0 20px;
  color: var(--ink2);
}

/* cierre */
.final {
  background: var(--navy);
  color: #fff;
  border-radius: 24px;
  padding: clamp(40px, 6vw, 72px) clamp(22px, 5vw, 64px);
  display: grid;
  gap: 20px;
  justify-items: center;
  text-align: center;
  position: relative;
  overflow: hidden;
}
@media (prefers-color-scheme: dark) {
  .final {
    background: #16244a; /* el héroe de la app en oscuro */
  }
}
.final h2 {
  color: #fff;
  max-width: 760px;
}
.final .lead {
  color: #bfd1ff;
  max-width: 640px;
}
.final .btn-cta {
  background: #ffffff;
  color: #0f2a5c;
}
.final .btn-cta:hover {
  background: #e8eefb;
}
.final .micro {
  color: #bfd1ff;
  justify-content: center;
}
.final .micro svg {
  color: #6ee7b7;
}
.final .eyebrow {
  color: #bfd1ff;
}
.final .acepta {
  color: #bfd1ff;
}
.final .wa-alt {
  color: #6ee7b7;
}
.share {
  margin-top: 6px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  align-items: center;
  color: #bfd1ff;
  font-size: 15px;
}
.share a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  text-decoration: none;
  font-weight: 700;
  color: #fff;
}
.share a:hover {
  background: rgba(255, 255, 255, 0.1);
}
.share svg {
  width: 18px;
  height: 18px;
}

footer {
  padding: 40px 0 110px;
  color: var(--muted);
  font-size: 14px;
}
footer .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  justify-content: space-between;
  align-items: center;
}
footer a {
  text-decoration: none;
  font-weight: 600;
}
footer a:hover {
  color: var(--ink);
}
footer .legal {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
}

/* páginas de texto (privacidad.html) */
.btn-sm {
  font-size: 15px;
  padding: 11px 18px;
  border-radius: 12px;
}
.doc {
  padding: clamp(40px, 7vw, 80px) 0 24px;
}
.doc-wrap {
  max-width: 760px;
  display: grid;
  gap: 16px;
  justify-items: start;
}
.doc h1 {
  font-size: clamp(34px, 5vw, 48px);
  font-weight: 800;
}
.doc h2 {
  font-size: clamp(21px, 2.6vw, 25px);
  margin-top: 22px;
  scroll-margin-top: 90px;
}
.doc p,
.doc li {
  color: var(--ink2);
}
.doc ul {
  margin: 0;
  padding-left: 22px;
  display: grid;
  gap: 6px;
}
.doc a {
  color: var(--blue);
  text-underline-offset: 2px;
}
.doc-fecha,
.doc-nota {
  font-size: 14px;
  color: var(--muted);
}
.doc-nota {
  margin-top: 22px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  width: 100%;
}
@media (min-width: 880px) {
  footer {
    padding-bottom: 40px;
  }
}

/* barra fija en el celular */
.sticky-cta {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 60;
  transform: translateY(140%);
  transition: transform 0.3s;
}
.sticky-cta.show {
  transform: none;
}
.sticky-cta .btn {
  width: 100%;
  box-shadow: 0 6px 16px rgba(15, 42, 92, 0.28);
}
@media (min-width: 880px) {
  .sticky-cta {
    display: none;
  }
}

/* aparición al hacer scroll */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
}
.reveal.in {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .reveal,
  .msg {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .typing i {
    animation: none;
  }
}
.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.sprite {
  position: absolute;
} /* los íconos SVG que se reutilizan con <use> */
