/* Alfolia · web (alfolia.com)
   Línea gráfica: 07_Alfolia/03_Marca/02_Linea_Grafica.md (marca aprobada el 7-nov-2026, decisión 54 del plan).
   Esmeralda #0B7E45 (en oscuro, Esmeralda Clara #3DBE7A), Oro Sol #FFC53D (nunca como texto sobre blanco),
   Carbón #1B1B1B, Verde Pálido #EEF6F2 en secciones y tarjetas, Gris Neutro #6B6B6B, blanco.
   Modo oscuro: el gris del sistema (#000000 y #1C1C1E, como iPhone), nunca un verde oscuro.
   Letra: Inter (variable, con tamaño óptico: los títulos salen como Inter Display). Montos con números tabulares. */

@font-face {
  font-family: "Inter";
  src: url("fuentes/inter.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("fuentes/inter-italica.woff2") format("woff2");
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}

:root {
  --esmeralda: #0B7E45;
  --esmeralda-clara: #3DBE7A;
  --oro: #FFC53D;
  --carbon: #1B1B1B;
  --palido: #EEF6F2;

  --fondo: #FFFFFF;
  --suave: #EEF6F2;
  --superficie: #FFFFFF;
  --superficie-2: #F5F9F7;
  --texto: #1B1B1B;
  --texto-2: #4A4A4A;
  --gris: #6B6B6B;
  --borde: #DDE8E2;
  --acento: #0B7E45;
  --acento-texto: #FFFFFF;
  --acento-hover: #096A3A;
  --enlace: #0B7E45;
  --cabecera: rgba(255, 255, 255, .78);

  --ingreso: #0B7E45;
  --gasto: #B9382B;
  --deuda: #9A5A17;
  --cobro: #3E5FAE;
  --traspaso: #5F7284;
  --aporte: #6F5BB5;
  --amarillo: #B07A00;

  --letra: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --radio: 22px;
  --sombra: 0 1px 2px rgba(11, 60, 35, .05), 0 10px 30px rgba(11, 60, 35, .07);
  --sombra-celular: 0 30px 60px rgba(11, 60, 35, .18), 0 0 0 1px rgba(0, 0, 0, .06);
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --fondo: #000000;
    --suave: #111113;
    --superficie: #1C1C1E;
    --superficie-2: #2C2C2E;
    --texto: #F5F5F7;
    --texto-2: #C7C7CC;
    --gris: #98989D;
    --borde: #2C2C2E;
    --acento: #3DBE7A;
    --acento-texto: #04240F;
    --acento-hover: #5FD293;
    --enlace: #3DBE7A;
    --cabecera: rgba(22, 22, 24, .72);
    --ingreso: #3DBE7A;
    --gasto: #FF7D6E;
    --deuda: #DCA460;
    --cobro: #9AAEF6;
    --traspaso: #A9B9C9;
    --aporte: #B3A3F2;
    --amarillo: #FFC53D;
    --sombra: none;
    --sombra-celular: 0 30px 70px rgba(0, 0, 0, .6), 0 0 0 1px rgba(255, 255, 255, .1);
    color-scheme: dark;
  }
}

/* ---------- Base ---------- */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--fondo);
  color: var(--texto);
  font-family: var(--letra);
  font-size: 17px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "calt", "kern";
}

img, svg { max-width: 100%; }
a { color: var(--enlace); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--esmeralda-clara); outline-offset: 3px; border-radius: 6px; }

.contenedor { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.contenedor.angosto { max-width: 780px; }

.saltar {
  position: absolute; left: 12px; top: -60px; z-index: 30;
  background: var(--superficie); color: var(--texto); padding: 8px 14px; border-radius: 10px;
}
.saltar:focus { top: 12px; }

h1, h2, h3 { line-height: 1.1; letter-spacing: -0.025em; margin: 0; font-weight: 800; }
h1 { font-size: clamp(38px, 7vw, 72px); letter-spacing: -0.035em; }
h2 { font-size: clamp(30px, 4.6vw, 48px); letter-spacing: -0.03em; }
h3 { font-size: 20px; font-weight: 700; letter-spacing: -0.015em; line-height: 1.25; }
p { margin: 0 0 12px; }
.cifra { font-variant-numeric: tabular-nums; font-weight: 700; letter-spacing: -0.01em; }
.verde { color: var(--acento); }

.ic { width: 24px; height: 24px; flex: none; }

/* ---------- Cabecera (como las de Apple: fija, de vidrio) ---------- */

.cabecera {
  position: sticky; top: 0; z-index: 20;
  background: var(--cabecera);
  -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid color-mix(in srgb, var(--borde) 70%, transparent);
}
.cabecera-fila { display: flex; align-items: center; justify-content: space-between; gap: 8px 20px; min-height: 60px; }
.marca { display: inline-flex; align-items: center; gap: 10px; color: var(--texto); text-decoration: none; }
.isotipo { width: 34px; height: 34px; flex: none; border-radius: 9px; }
.marca-texto { font-size: 21px; font-weight: 800; letter-spacing: -0.03em; }
.menu { display: flex; align-items: center; gap: 4px 22px; font-size: 15px; font-weight: 550; }
.menu a { color: var(--texto-2); text-decoration: none; padding: 8px 0; white-space: nowrap; }
.menu a:hover { color: var(--texto); }
.menu a[aria-current="page"] { color: var(--acento); }
.menu .idioma { border: 1px solid var(--borde); border-radius: 999px; padding: 4px 12px; }

/* ---------- Botones ---------- */

.boton {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; padding: 12px 24px;
  border-radius: 999px; background: var(--acento); color: var(--acento-texto); font-weight: 650; text-decoration: none;
  transition: background .2s, transform .2s;
}
.boton:hover { background: var(--acento-hover); text-decoration: none; }
.boton:active { transform: scale(.98); }
.boton.secundario { background: transparent; color: var(--acento); box-shadow: inset 0 0 0 1.5px var(--acento); }
.boton.secundario:hover { background: color-mix(in srgb, var(--acento) 8%, transparent); }
.botones { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.enlace-flecha { font-weight: 650; text-decoration: none; }
.enlace-flecha:hover { text-decoration: underline; }

/* ---------- Portada ---------- */

.portada {
  position: relative; overflow: hidden; text-align: center; padding-top: clamp(48px, 9vw, 96px);
  background:
    radial-gradient(ellipse 60% 50% at 50% 100%, color-mix(in srgb, var(--esmeralda-clara) 26%, transparent), transparent 70%),
    linear-gradient(var(--fondo) 0%, var(--fondo) 35%, var(--suave) 100%);
}
.antetitulo {
  display: inline-flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 650; color: var(--acento);
  margin-bottom: 18px; padding: 6px 14px; border-radius: 999px;
  background: color-mix(in srgb, var(--acento) 10%, transparent);
}
.antetitulo::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--oro); }
.portada h1 { max-width: 900px; margin: 0 auto; }
.portada h1 .linea { display: block; }
.portada .entrada { font-size: clamp(18px, 2.3vw, 22px); color: var(--texto-2); max-width: 700px; margin: 22px auto 0; line-height: 1.5; }

.tiendas { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin: 30px 0 8px; padding: 0; list-style: none; }
.tienda {
  display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 8px 18px 8px 14px; text-align: left;
  border-radius: 14px; background: var(--superficie); border: 1px solid var(--borde); box-shadow: var(--sombra);
}
.tienda .ic { color: var(--acento); }
.tienda small { display: block; font-size: 12px; color: var(--gris); line-height: 1.2; }
.tienda strong { display: block; font-size: 16px; line-height: 1.25; font-weight: 650; }
.nota-precio { font-size: 15px; color: var(--gris); margin: 10px 0 0; }

.escena {
  position: relative; display: flex; justify-content: center; align-items: flex-start; gap: 28px;
  margin-top: 48px; padding: 0 16px; height: 540px; overflow: hidden;
}
.escena::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 110px; z-index: 3; pointer-events: none;
  background: linear-gradient(color-mix(in srgb, var(--suave) 0%, transparent), var(--suave));
}
.celular {
  width: 270px; flex: none; margin: 0; border-radius: 44px; border: 8px solid #1C1C1E; background: #1C1C1E;
  box-shadow: var(--sombra-celular); overflow: hidden;
}
.celular img { display: block; width: 100%; height: auto; border-radius: 36px; background: #F2F2F7; }
.escena .celular.lado { width: 230px; margin-top: 70px; }
.aviso-capturas { position: relative; z-index: 4; font-size: 13px; color: var(--gris); margin: 0; padding: 4px 16px 26px; }

@media (max-width: 720px) {
  .escena { gap: 0; height: 84vw; max-height: 480px; padding: 0; margin-top: 36px; }
  .celular { width: 56vw; max-width: 270px; border-width: 6px; border-radius: 34px; }
  .celular img { border-radius: 28px; }
  .escena .celular { position: relative; z-index: 2; }
  .escena .celular.lado { width: 42vw; margin-top: 11vw; z-index: 1; }
  .escena .celular.lado:first-child { margin-right: -14vw; }
  .escena .celular.lado:last-child { margin-left: -14vw; }
}

/* ---------- Secciones ---------- */

.seccion { padding: clamp(64px, 10vw, 120px) 0; }
.seccion.suave { background: var(--suave); }
.seccion.pegada { padding-top: 0; }
.seccion-cabeza { max-width: 760px; margin-bottom: 40px; }
.seccion-cabeza p { color: var(--texto-2); font-size: clamp(18px, 2vw, 21px); margin-top: 16px; line-height: 1.5; }
.centrada { text-align: center; margin-left: auto; margin-right: auto; }
.etiqueta-seccion { display: block; font-size: 15px; font-weight: 700; color: var(--acento); margin-bottom: 12px; letter-spacing: .01em; }

/* Rubros: para cualquier negocio */
.rubros { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; list-style: none; padding: 0; margin: 0 auto; max-width: 900px; }
.rubros li {
  display: inline-flex; align-items: center; gap: 10px; padding: 10px 18px 10px 12px; border-radius: 999px;
  background: var(--superficie); border: 1px solid var(--borde); font-weight: 600; font-size: 16px; box-shadow: var(--sombra);
}
.rubros .ic { color: var(--acento); width: 22px; height: 22px; }
.rubros li.otro { background: transparent; box-shadow: none; border-style: dashed; color: var(--texto-2); }

/* Cómo se ordena: entidades con sus negocios */
.orden { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; list-style: none; padding: 0; margin: 0; }
.entidad {
  background: var(--superficie); border-radius: var(--radio); padding: 22px; box-shadow: var(--sombra);
  border: 1px solid var(--borde);
}
.entidad-cabeza { display: flex; align-items: center; gap: 12px; margin-bottom: 4px; }
.entidad-cabeza .burbuja { width: 44px; height: 44px; }
.entidad h3 { font-size: 19px; }
.entidad .tipo { color: var(--gris); font-size: 15px; margin: 0 0 14px; }
.negocios-lista { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.negocios-lista li {
  display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 14px;
  border-radius: 14px; background: var(--superficie-2); font-weight: 600; font-size: 16px;
}
.negocios-lista .nombre { display: inline-flex; align-items: center; gap: 10px; }
.negocios-lista .ic { width: 20px; height: 20px; color: var(--c, var(--acento)); }
.semaforo { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; white-space: nowrap; color: var(--c); }
.semaforo::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: currentColor; }
.s-bien { --c: var(--ingreso); }
.s-atencion { --c: var(--amarillo); }
.s-rojo { --c: var(--gasto); }
.s-informe { --c: var(--gris); }
.s-informe::before { display: none; }
.regla {
  margin: 28px auto 0; max-width: 760px; text-align: center; font-size: clamp(18px, 2vw, 21px); color: var(--texto-2);
}
.regla strong { color: var(--texto); }

.burbuja {
  display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; flex: none;
  color: var(--c, var(--acento)); background: color-mix(in srgb, var(--c, var(--acento)) 15%, transparent);
}
.c-ingreso { --c: var(--ingreso); }
.c-gasto { --c: var(--gasto); }
.c-deuda { --c: var(--deuda); }
.c-cobro { --c: var(--cobro); }
.c-traspaso { --c: var(--traspaso); }
.c-aporte { --c: var(--aporte); }
.c-oro { --c: var(--amarillo); }

/* Rasgos grandes: texto y pantalla lado a lado */
.rasgo { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 40px 80px; max-width: 980px; margin: 0 auto; }
.rasgo + .rasgo { margin-top: clamp(72px, 10vw, 128px); }
.rasgo.invertido { grid-template-columns: auto minmax(0, 1fr); }
.rasgo.invertido .rasgo-texto { order: 2; }
.rasgo-texto h2 { font-size: clamp(30px, 4.2vw, 44px); margin-bottom: 18px; }
.rasgo-texto > p { color: var(--texto-2); font-size: 19px; line-height: 1.55; }
.rasgo .celular { width: 300px; }
.puntos { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 14px; }
.puntos li { display: flex; gap: 14px; align-items: flex-start; }
.puntos .burbuja { width: 40px; height: 40px; }
.puntos .ic { width: 21px; height: 21px; }
.puntos strong { display: block; font-weight: 650; }
.puntos span span { display: block; color: var(--texto-2); font-size: 16px; line-height: 1.5; }
@media (max-width: 820px) {
  .rasgo, .rasgo.invertido { grid-template-columns: 1fr; text-align: left; }
  .rasgo.invertido .rasgo-texto { order: 0; }
  .rasgo .celular { width: min(72vw, 300px); justify-self: center; border-width: 6px; border-radius: 38px; }
  .rasgo .celular img { border-radius: 32px; }
}

/* Rejilla de tarjetas */
.rejilla { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; list-style: none; padding: 0; margin: 0; }
.rejilla li { background: var(--superficie); border: 1px solid var(--borde); border-radius: var(--radio); padding: 24px; box-shadow: var(--sombra); }
.rejilla .burbuja { margin-bottom: 16px; }
.rejilla h3 { margin-bottom: 8px; }
.rejilla p { margin: 0; color: var(--texto-2); font-size: 16px; line-height: 1.55; }

/* Banda: lo tuyo, seguro */
.banda {
  position: relative; overflow: hidden; border-radius: 32px; padding: clamp(32px, 6vw, 64px);
  background: var(--esmeralda); color: #FFFFFF;
}
.banda::before {
  content: ""; position: absolute; right: -10%; top: -40%; width: 70%; height: 180%; pointer-events: none;
  background: radial-gradient(closest-side, rgba(255, 197, 61, .22), transparent);
}
.banda > * { position: relative; }
.banda h2 { color: #FFFFFF; max-width: 680px; }
.banda .entrada { color: rgba(255, 255, 255, .88); font-size: 19px; margin: 16px 0 30px; max-width: 640px; }
.promesas { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px 32px; list-style: none; padding: 0; margin: 0 0 26px; }
.promesas li { display: flex; gap: 14px; align-items: flex-start; }
.promesas .ic { color: var(--oro); margin-top: 2px; }
.promesas strong { display: block; font-weight: 650; }
.promesas span { display: block; color: rgba(255, 255, 255, .84); font-size: 16px; line-height: 1.5; }
.banda a { color: #FFFFFF; font-weight: 650; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .banda { background: #1C1C1E; box-shadow: inset 0 0 0 1px #2C2C2E; }
  :root:not([data-theme="light"]) .banda::before { background: radial-gradient(closest-side, rgba(61, 190, 122, .2), transparent); }
  :root:not([data-theme="light"]) .banda a { color: var(--esmeralda-clara); }
}

/* Precios */
.planes { display: grid; grid-template-columns: repeat(2, minmax(0, 420px)); justify-content: center; gap: 20px; list-style: none; padding: 0; margin: 0 auto; }
.plan {
  position: relative; background: var(--superficie); border: 1px solid var(--borde); border-radius: 28px;
  padding: 30px 28px 28px; box-shadow: var(--sombra); text-align: left; display: flex; flex-direction: column;
}
.plan.destacado { box-shadow: inset 0 0 0 2px var(--acento), var(--sombra); border-color: transparent; }
.plan-cabeza { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.plan-cabeza .burbuja { width: 44px; height: 44px; }
.plan .nombre { font-size: 19px; font-weight: 700; display: block; line-height: 1.2; }
.plan .para { display: block; color: var(--gris); font-size: 15px; line-height: 1.3; }
.plan .monto { display: block; font-size: clamp(40px, 5vw, 52px); line-height: 1; letter-spacing: -0.035em; font-weight: 800; }
.plan .monto small { font-size: 18px; color: var(--texto-2); font-weight: 600; letter-spacing: 0; }
.plan .bajo-monto { color: var(--texto-2); font-size: 16px; margin: 10px 0 0; }
.plan .sello {
  position: absolute; top: -14px; left: 28px; white-space: nowrap;
  background: var(--oro); color: #1B1B1B; font-size: 13px; font-weight: 700; padding: 4px 12px; border-radius: 999px;
}
.incluye { list-style: none; padding: 0; margin: 22px 0 0; border-top: 1px solid var(--borde); padding-top: 18px; display: grid; gap: 10px; }
.incluye li { display: flex; gap: 10px; align-items: flex-start; font-size: 16px; line-height: 1.45; }
.incluye li::before {
  content: ""; flex: none; width: 18px; height: 18px; margin-top: 2px; border-radius: 50%;
  background: var(--acento) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.incluye li.no::before {
  background: var(--gris) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M7 12h10'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.plan .boton { margin-top: 24px; align-self: flex-start; }
.letra-chica { color: var(--gris); font-size: 15px; max-width: 720px; margin: 24px auto 0; }

.tabla-marco { overflow-x: auto; border-radius: var(--radio); border: 1px solid var(--borde); background: var(--superficie); box-shadow: var(--sombra); }
.tabla { width: 100%; border-collapse: collapse; font-size: 16px; min-width: 520px; }
.tabla th, .tabla td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--borde); }
.tabla th { font-size: 14px; color: var(--gris); font-weight: 600; background: var(--superficie-2); }
.tabla tr:last-child td { border-bottom: 0; }
.tabla td.cifra, .tabla th.cifra { text-align: right; }
.tabla .ahorro { color: var(--acento); font-weight: 650; }

.dos { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.cuadro { background: var(--superficie); border: 1px solid var(--borde); border-radius: var(--radio); padding: 26px; box-shadow: var(--sombra); }
.cuadro h3 { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.cuadro h3 .burbuja { width: 40px; height: 40px; }
.cuadro ul { margin: 0; padding-left: 20px; color: var(--texto-2); }
.cuadro li { margin: 6px 0; }
.cuadro li::marker { color: var(--acento); }
.cuadro p { color: var(--texto-2); }
.cuadro > :last-child { margin-bottom: 0; }

/* Pasos (cómo funciona) */
.pasos { list-style: none; padding: 0; margin: 0; counter-reset: paso; display: grid; gap: 16px; }
.paso {
  counter-increment: paso; display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 20px;
  background: var(--superficie); border: 1px solid var(--borde); border-radius: var(--radio); padding: 26px; box-shadow: var(--sombra);
}
.paso::before {
  content: counter(paso); display: grid; place-items: center; width: 56px; height: 56px; border-radius: 18px;
  background: var(--acento); color: var(--acento-texto); font-size: 24px; font-weight: 800;
}
.paso h3 { font-size: 22px; margin: 4px 0 8px; }
.paso p { color: var(--texto-2); margin: 0 0 10px; }
.paso p:last-child { margin-bottom: 0; }
.paso .chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 14px 0 0; }
.paso .chips li { font-size: 14px; font-weight: 600; padding: 5px 12px; border-radius: 999px; background: var(--suave); color: var(--texto-2); }

/* Llamado final */
.llamado { text-align: center; }
.llamado p { color: var(--texto-2); font-size: 19px; max-width: 560px; margin: 14px auto 0; }

/* ---------- Páginas de texto (ayuda, privacidad, términos) ---------- */

.encabezado-pagina { padding: clamp(48px, 8vw, 88px) 0 clamp(32px, 5vw, 48px); background: linear-gradient(var(--fondo), var(--suave)); }
.encabezado-pagina h1 { font-size: clamp(36px, 6vw, 60px); }
.encabezado-pagina p { color: var(--texto-2); margin: 16px 0 0; font-size: clamp(18px, 2vw, 21px); max-width: 680px; }
.encabezado-pagina .meta { font-size: 15px; color: var(--gris); margin-top: 14px; }
.encabezado-pagina.centrada p { margin-left: auto; margin-right: auto; }

.texto { padding-top: 40px; padding-bottom: 72px; }
.texto h2 { font-size: 26px; margin: 44px 0 12px; scroll-margin-top: 80px; letter-spacing: -0.02em; }
.texto h3 { margin: 26px 0 6px; font-size: 18px; }
.texto ul, .texto ol { padding-left: 22px; margin: 0 0 12px; }
.texto li { margin: 6px 0; }
.texto li::marker { color: var(--acento); }

.indice { background: var(--suave); border-radius: var(--radio); padding: 18px 22px; margin: 0 0 8px; }
.indice strong { display: block; margin-bottom: 4px; }
.indice ol { margin: 0; columns: 2; column-gap: 28px; font-size: 16px; }
.indice li { break-inside: avoid; }

.caja { background: var(--suave); border-radius: 16px; padding: 18px 22px; margin: 22px 0; border-left: 4px solid var(--acento); }
.caja.borrador { border-left-color: var(--oro); }
.caja > :last-child { margin-bottom: 0; }

.preguntas h2 { margin-top: 40px; }
.preguntas details { background: var(--superficie); border: 1px solid var(--borde); border-radius: 18px; margin: 10px 0; box-shadow: var(--sombra); }
.preguntas summary { cursor: pointer; font-weight: 650; padding: 16px 48px 16px 20px; list-style: none; position: relative; }
.preguntas summary::-webkit-details-marker { display: none; }
.preguntas summary::after {
  content: ""; position: absolute; right: 22px; top: 50%; width: 9px; height: 9px; margin-top: -7px;
  border-right: 2px solid var(--acento); border-bottom: 2px solid var(--acento); transform: rotate(45deg); transition: transform .2s;
}
.preguntas details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.preguntas details > div { padding: 0 20px 16px; color: var(--texto-2); }
.preguntas details > div > :last-child { margin-bottom: 0; }

.contacto { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin: 18px 0; }
.contacto div { background: var(--superficie); border: 1px solid var(--borde); border-radius: var(--radio); padding: 20px 22px; box-shadow: var(--sombra); }
.contacto strong { display: block; }
.contacto p { margin: 4px 0 0; color: var(--texto-2); font-size: 16px; }

/* ---------- Pie ---------- */

.pie { border-top: 1px solid var(--borde); padding: 40px 0 48px; color: var(--texto-2); font-size: 15px; background: var(--fondo); }
.pie-fila { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 24px 40px; }
.pie .isotipo { width: 30px; height: 30px; border-radius: 8px; }
.pie .marca-texto { font-size: 19px; }
.pie-lema { margin: 8px 0 0; color: var(--texto-2); }
.pie .firma { margin: 4px 0 0; color: var(--gris); }
.pie nav { display: flex; flex-wrap: wrap; gap: 8px 22px; align-items: flex-start; max-width: 560px; }
.pie nav a { color: var(--texto-2); text-decoration: none; font-weight: 550; }
.pie nav a:hover { color: var(--acento); }
.pie .derechos { margin: 26px 0 0; font-size: 14px; color: var(--gris); }

/* ---------- Página de idioma y 404 ---------- */

.solo {
  min-height: 100vh; display: grid; place-items: center; text-align: center; padding: 32px 16px;
  background: radial-gradient(ellipse 70% 55% at 50% 80%, color-mix(in srgb, var(--esmeralda-clara) 22%, transparent), transparent 70%), var(--fondo);
}
.isotipo.grande { width: 96px; height: 96px; border-radius: 22px; margin-bottom: 18px; box-shadow: var(--sombra); }
.solo h1 { font-size: clamp(32px, 6vw, 44px); }
.solo p { color: var(--texto-2); margin: 10px 0 0; }

/* ---------- Movimiento suave ----------
   Solo CSS. Los celulares de la portada suben al abrir; las tarjetas aparecen al bajar donde el navegador lo permite.
   Quien pidió menos movimiento en su equipo no ve nada de esto. */

@keyframes subir { from { opacity: 0; transform: translateY(48px); } to { opacity: 1; transform: none; } }
@keyframes aparecer { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: no-preference) {
  .portada .antetitulo, .portada h1, .portada .entrada, .tiendas, .nota-precio { animation: aparecer .8s cubic-bezier(.2, .7, .2, 1) both; }
  .portada h1 { animation-delay: .05s; }
  .portada .entrada { animation-delay: .12s; }
  .tiendas { animation-delay: .2s; }
  .nota-precio { animation-delay: .26s; }
  .escena .celular { animation: subir 1s cubic-bezier(.2, .7, .2, 1) .3s both; }
  .escena .celular.lado { animation-delay: .45s; }

  @supports (animation-timeline: view()) {
    .seccion-cabeza, .rubros li, .entidad, .rasgo-texto, .rasgo .celular, .rejilla li, .banda, .plan, .paso, .cuadro, .llamado {
      animation: aparecer linear both;
      animation-timeline: view();
      animation-range: entry 0% cover 22%;
    }
  }
}

/* ---------- Celular ---------- */

@media (max-width: 900px) {
  .rejilla, .orden { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .contenedor { padding: 0 16px; }
  .cabecera-fila { flex-wrap: wrap; padding-top: 8px; }
  .menu { width: 100%; justify-content: space-between; gap: 0 12px; padding-bottom: 4px; font-size: 15px; }
  .rejilla, .orden, .promesas, .contacto, .dos { grid-template-columns: 1fr; }
  .planes { grid-template-columns: 1fr; }
  .indice ol { columns: 1; }
  .paso { grid-template-columns: 1fr; gap: 14px; padding: 22px; }
  .paso::before { width: 44px; height: 44px; border-radius: 14px; font-size: 20px; }
  .banda { border-radius: 24px; }
  .rasgo-texto > p { font-size: 18px; }
}

/* ---------- «Avísame cuando salga» (como flotakm.com) ---------- */

.avisame { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 32px 64px; align-items: start; }
.avisame-texto h2 { margin-bottom: 16px; }
.avisame-texto p { color: var(--texto-2); font-size: 19px; }
.avisame-texto .avisame-nota { font-size: 16px; color: var(--gris); }
.avisame-form, .avisame-hecho {
  background: var(--superficie); border: 1px solid var(--borde); border-radius: 28px; padding: 28px; box-shadow: var(--sombra);
  display: grid; gap: 16px;
}
.avisame-hecho h3 { font-size: 24px; color: var(--acento); }
.avisame-hecho p { margin: 0; color: var(--texto-2); }
.avisame-hecho:focus { outline: none; }
.campo { display: grid; gap: 6px; }
.campo label { font-weight: 600; font-size: 15px; }
.campo small { color: var(--gris); font-size: 14px; }
.campo-fila { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.campo input, .campo select {
  width: 100%; min-height: 50px; padding: 12px 14px; border-radius: 14px; border: 1px solid var(--borde);
  background: var(--superficie-2); color: var(--texto); font: inherit; font-size: 17px;
  -webkit-appearance: none; appearance: none;
}
.campo select {
  padding-right: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236B6B6B' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 18px;
}
.campo input:focus, .campo select:focus { outline: none; border-color: var(--acento); box-shadow: 0 0 0 3px color-mix(in srgb, var(--acento) 22%, transparent); }
.campo input[aria-invalid="true"] { border-color: var(--gasto); }
.campo input::placeholder { color: var(--gris); opacity: .8; }
.trampa { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.acepto { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; color: var(--texto-2); line-height: 1.5; cursor: pointer; }
.acepto input { width: 22px; height: 22px; margin: 1px 0 0; flex: none; accent-color: var(--acento); }
.avisame-form .boton { justify-self: start; border: 0; font: inherit; font-weight: 650; cursor: pointer; }
.avisame-form .boton:disabled { opacity: .6; cursor: default; }
.avisame-estado { margin: 0; font-size: 15px; color: var(--texto-2); }
.avisame-estado:empty { display: none; }
.avisame-estado.es-error { color: var(--gasto); }
.aviso-datos { border-top: 1px solid var(--borde); padding-top: 12px; font-size: 14px; color: var(--texto-2); }
.aviso-datos summary { cursor: pointer; font-weight: 600; color: var(--acento); }
.aviso-datos ul { padding-left: 18px; margin: 10px 0 0; }
.aviso-datos li { margin: 6px 0; }
.baja-estado:empty { display: none; }
@media (max-width: 820px) {
  .avisame { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .campo-fila { grid-template-columns: 1fr; }
  .avisame-form, .avisame-hecho { padding: 22px; border-radius: 24px; }
}
button.boton { border: 0; font: inherit; font-weight: 650; cursor: pointer; }
.encabezado-pagina:not(.centrada) .botones { justify-content: flex-start; }
@media (max-width: 640px) {
  .tabla { min-width: 0; font-size: 15px; }
  .tabla th, .tabla td { padding: 12px 8px; }
  .tabla td.cifra { white-space: nowrap; }
  .tabla th { font-size: 13px; line-height: 1.3; }
}
