@charset "UTF-8";
/* ==========================================================================
   CHE MAESTRO · estilos.css
   Sistema visual compartido de la web: portada, centro de ayuda, rubros,
   legales y 404. Versión 1 · 14/09/2026 · propuesta, todavía sin aplicar.

   DIRECCIÓN «EL PALIER»
   El hall de entrada de un edificio porteño, donde el portero respondía por
   el que entraba. Puerta verde profundo (--brand), una placa con filete de
   bronce (el único toque de latón, siempre sobre el verde), paredes claras,
   damero de baldosa en el piso del escenario y títulos serif, como letras
   grabadas. La solidez sale del oficio (grilla, ritmo, tipografía, detalle),
   nunca de números ni de logos inventados.

   REGLAS DE USO (leerlas antes de maquetar una página)
   1. Colores solo por variable. Nada de hex sueltos en las páginas.
   2. Una sola acción primaria (.btn--primario, eucalipto) por bloque.
   3. Latón claro (--accent-soft) solo sobre --brand. Hoy vive en el filete
      de .sello. Un toque por pantalla.
   4. Texto que importa ≥ 15 px (--t-15). Secundario ≥ 13 px (--t-13).
   5. Todo lo que se toca mide ≥ 48 px de alto (--tactil).
   6. Iconos: <span class="icono icono--nombre" aria-hidden="true"></span>.
      Nunca glifos («→», «✓», «›») ni emojis haciendo de icono.
   7. Solo tema claro (ver la nota en :root).
   8. Las variables usan los mismos nombres que el panel
      (apps/admin/app/globals.css) y los mismos valores que la app
      (apps/mobile/src/shared/ui.tsx): la misma casa. Las clases van en
      español, como las del generador de ayuda.
   9. Sin dependencias ni fuentes web: pila de sistema.

   PUNTOS DE CORTE: 40rem (640) · 48rem (768) · 62rem (992) · 72rem (1152)

   ÍNDICE
    1 Tokens              7 Tarjetas, filas, notas, píldoras
    2 Base                8 Formularios y buscador
    3 Tipografía          9 Acordeón, miga y listas
    4 Grilla y secciones 10 Celular (pantallas reales de la app)
    5 Marca y barra      11 Bloques de portada
    6 Botones e iconos   12 Pie, flotante, accesibilidad, impresión
                         13 Base legal compartida (franja de los dos botones,
                            aviso de canal, emergencias, pie legal, 404 y pago)
   ========================================================================== */


/* 1 · TOKENS ============================================================== */
:root {
  /* Solo tema claro, a propósito: la guía de marca dice «fondos siempre
     claros» y un tema oscuro obliga a revalidar el semáforo, el latón y
     cada sombra. Se agrega solo si queda impecable. */
  color-scheme: light;

  /* Marca · paleta oficial del 05/09 (contrastes WCAG 2.1, truncados) */
  --brand: #123a2e;        /* identidad: franja, sello, panel de técnicos, pie. Crema encima 11,1:1 */
  --brand-base: #0e2f25;   /* franja final del pie, un tono más oscura. Crema suave encima 9,1:1 */
  --primary: #287256;      /* acción: botones llenos. Blanco encima 5,78:1 */
  --primary-hi: #2c7a5c;   /* links, iconos, hover del botón. 4,78:1 sobre --bg · 5,19:1 sobre blanco */
  /* Latón. El #8d6520 de la paleta NO tiene token propio acá a propósito: sobre las dos
     superficies que usa la web no llega a AA como texto (4,3:1 sobre el fondo del sello
     #f4ead3 y 2,4:1 sobre --brand, medido en la fuente de verdad del 14/09). Donde el
     latón sí sirve, ya está: --accent-soft sobre el verde y --tone-accent-fg como texto
     del sello. Si alguna vez hace falta el latón pleno, se agrega acá con su contraste. */
  --accent-soft: #dcb673;  /* latón claro: SOLO sobre --brand (6,57:1). Filete del sello */

  /* Estados */
  --danger: #c0392b;       /* errores. 5,43:1 sobre blanco · 5,01:1 sobre --bg */
  --ok: #197a38;           /* verificado, hecho. 5,40:1 sobre blanco */
  --warn: #9b5c00;         /* avisos */

  /* Neutrales · los de la app, más tres que pide la web */
  --bg: #f5f6f4;           /* fondo general */
  --card: #ffffff;         /* tarjetas y bandas */
  --bg-sunk: #eef1ee;      /* banda hundida (mismo hex que --table-head del panel). Links ahí: --primary */
  --text: #16211c;         /* texto. 15,27:1 sobre --bg */
  --muted: #5a6b64;        /* secundario. 5,20:1 sobre --bg · 4,90:1 sobre --bg-sunk */
  --border: #d9ded9;       /* separadores (decorativos) */
  --border-strong: #7b8a83;/* borde de campos y controles: 3,61:1 sobre blanco (WCAG 1.4.11) */
  --cream: #eef2ee;        /* texto sobre --brand (las letras del ícono de la app) */
  --cream-soft: #c3d1c9;   /* texto secundario sobre --brand. 7,95:1 */

  /* Semáforo · mismos hex que la app y el panel. Nunca un quinto tono */
  --tone-ok-bg: #e1f7e6;     --tone-ok-fg: #155b27;     /* hecho · 7,29:1 */
  --tone-warn-bg: #ffefd9;   --tone-warn-fg: #854d00;   /* esperando · 6,08:1 */
  --tone-bad-bg: #ffe2e0;    --tone-bad-fg: #84241f;    /* problema · 7,63:1 */
  --tone-muted-bg: #e8e8e9;  --tone-muted-fg: #494950;  /* neutro · 7,29:1 */
  --tone-accent-bg: #f4ead3; --tone-accent-fg: #7a5618; /* sello corporativo, no estado · 5,53:1 */

  /* Roles que cambian según la superficie (ver .superficie-marca) */
  --link: var(--primary-hi);
  --focus: var(--primary);

  /* Tipografía · títulos serif de sistema, texto sans de sistema */
  --font-display: ui-serif, "New York", Georgia, "Noto Serif", "Droid Serif", Cambria, serif;
  --font-text: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  /* Escala fija (px a 16 px de base). No inventar tamaños intermedios */
  --t-13: 0.8125rem;  /* notas, etiquetas chicas */
  --t-15: 0.9375rem;  /* mínimo para texto que importa */
  --t-16: 1rem;       /* cuerpo en celular */
  --t-17: 1.0625rem;  /* cuerpo, botones */
  --t-20: 1.25rem;    /* bajadas, títulos de tarjeta */
  --t-26: 1.625rem;   /* título 3 serif, cita en celular */
  --t-34: 2.125rem;   /* título 2 en celular, cifras */
  --t-44: 2.75rem;    /* título 2 en escritorio, título 1 en tableta */
  --t-60: 3.75rem;    /* título 1 de portada */

  /* Espaciado · base 4 px */
  --e-1: 0.25rem;  --e-2: 0.5rem;  --e-3: 0.75rem;  --e-4: 1rem;
  --e-5: 1.5rem;   --e-6: 2rem;    --e-7: 3rem;     --e-8: 4rem;   --e-9: 6rem;

  /* Radios · los de la app: campo 10, botón 14, tarjeta 18 */
  --r-field: 10px;
  --r-button: 14px;
  --r-card: 18px;
  --r-panel: 28px;
  --r-pill: 999px;

  /* Sombras · la de la tarjeta de la app (sombra verde, 8 %) y una alta */
  --shadow-card: 0 6px 20px rgba(18, 58, 46, 0.08);
  --shadow-high: 0 28px 56px -24px rgba(18, 58, 46, 0.32);

  /* Grilla */
  --ancho: 72rem;           /* contenedor general (1152 px) */
  --ancho-lectura: 44rem;   /* artículos y legales */
  --medida: 62ch;           /* largo de línea de párrafos */
  --margen: clamp(1rem, 4vw, 2rem);         /* gutter lateral: 16 px en celular */
  --seccion: clamp(3.5rem, 8vw, 6.5rem);    /* aire vertical entre secciones */
  --barra-alto: 4rem;
  --tactil: 48px;
}


/* 2 · BASE ================================================================ */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--barra-alto) + 1rem);
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-text);
  font-size: var(--t-16);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
@media (min-width: 48rem) {
  body { font-size: var(--t-17); }
}

img, svg, video { max-width: 100%; height: auto; }
h1, h2, h3, h4, p, figure, blockquote, dl, dd { margin: 0; }
ul, ol { margin: 0; padding: 0; }
button, input, select, textarea { font: inherit; color: inherit; }

a { color: var(--link); text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}
::selection { background: var(--tone-ok-bg); color: var(--text); }

.solo-lectores {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* Saltar al contenido: invisible hasta que llega el foco del teclado */
.saltar {
  position: absolute;
  left: var(--margen);
  top: -100px;
  z-index: 100;
  display: inline-flex;
  align-items: center;
  min-height: var(--tactil);
  padding: 0 var(--e-5);
  border-radius: var(--r-button);
  background: var(--brand);
  color: var(--cream);
  font-weight: 600;
  text-decoration: none;
  --focus: var(--cream);
}
.saltar:focus { top: var(--e-2); }


/* 3 · TIPOGRAFÍA ========================================================== */
/* Títulos: serif de sistema, coherente con el «CM» del ícono.
   iPhone/Mac → New York o Georgia · Windows → Georgia · Android → Noto
   Serif. Las tres son serif de lectura, de ojo grande y negrita firme: el
   título se ve parecido en todos los celulares (Palatino no existe en
   Android y caía en cualquier cosa). */
.titulo-1,
.titulo-2,
.titulo-3 {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--brand);
  text-wrap: balance;
}
.titulo-1 {
  font-size: clamp(var(--t-34), 1.2rem + 4.2vw, var(--t-60));
  line-height: 1.04;
  letter-spacing: -0.015em;
}
.titulo-2 {
  font-size: clamp(var(--t-34), 1.5rem + 2.4vw, var(--t-44));
  line-height: 1.1;
  letter-spacing: -0.01em;
}
.titulo-3 {
  font-size: var(--t-26);
  line-height: 1.2;
}

/* Título de tarjeta: sans, como el CardTitle de la app */
.titulo-tarjeta {
  font-family: var(--font-text);
  font-size: var(--t-20);
  font-weight: 700;
  line-height: 1.3;
  color: var(--text);
}

/* Etiqueta de sección: nombra la sección (coincide con el menú).
   Minúsculas, sin tracking de mayúsculas: no es un «eyebrow» decorativo. */
.etiqueta {
  font-size: var(--t-15);
  font-weight: 600;
  line-height: 1.4;
  color: var(--muted);
}

.bajada {
  font-size: var(--t-17);
  line-height: 1.55;
  color: var(--muted);
  max-width: 46ch;
  text-wrap: pretty;
}
@media (min-width: 48rem) {
  .bajada { font-size: var(--t-20); }
}

.texto { max-width: var(--medida); text-wrap: pretty; }
.texto-chico { font-size: var(--t-15); line-height: 1.55; color: var(--muted); }
.texto-chico strong, .texto-chico b { color: var(--text); }
.superficie-marca .texto-chico strong, .superficie-marca .texto-chico b { color: var(--cream); }
.texto-nota { font-size: var(--t-13); line-height: 1.5; color: var(--muted); }
.numeros { font-variant-numeric: tabular-nums; }


/* 4 · GRILLA Y SECCIONES ================================================= */
.contenedor {
  width: min(100%, var(--ancho));
  margin-inline: auto;
  padding-inline: var(--margen);
}
.contenedor--lectura { width: min(100%, calc(var(--ancho-lectura) + 2 * var(--margen))); }

.seccion { padding-block: var(--seccion); }
.seccion--banda { background: var(--card); }
.seccion--hundida { background: var(--bg-sunk); --link: var(--primary); }

/* Encabezado de sección: etiqueta + título + bajada */
.encabezado {
  display: flex;
  flex-direction: column;
  gap: var(--e-3);
  max-width: 42rem;
  margin-bottom: clamp(var(--e-6), 5vw, var(--e-7));
}
.encabezado .bajada { margin-top: var(--e-1); }
.encabezado--centro { margin-inline: auto; align-items: center; text-align: center; }

.pila { display: flex; flex-direction: column; gap: var(--pila, var(--e-4)); }
.separado { margin-top: var(--e-6); }
.centrado { margin-inline: auto; text-align: center; }

/* Banda: franja blanca más baja que una sección (promesas, avisos) */
.banda { padding-block: clamp(2rem, 5vw, 3rem); border-block: 1px solid var(--border); background: var(--card); }

.grilla { display: grid; gap: var(--grilla-gap, var(--e-5)); grid-template-columns: minmax(0, 1fr); }
@media (min-width: 40rem) {
  .grilla--2, .grilla--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 48rem) {
  .grilla--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 72rem) {
  .grilla--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
/* Grilla que se acomoda sola: columnas de al menos --min */
.grilla--auto { grid-template-columns: repeat(auto-fit, minmax(min(100%, var(--min, 16rem)), 1fr)); }

.dos-columnas { display: grid; gap: var(--e-6) clamp(var(--e-6), 5vw, var(--e-8)); }
@media (min-width: 48rem) {
  .dos-columnas { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: start; }
}


/* 5 · MARCA Y BARRA ======================================================= */
/* Sello: el «CM» del ícono de la app (serif crema sobre --brand) con un
   filete de latón por dentro, como una placa. Es EL toque de latón. */
.sello {
  display: inline-grid;
  place-items: center;
  flex: none;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 0.5rem;
  background: var(--brand);
  color: var(--cream);
  box-shadow: inset 0 0 0 2px var(--brand), inset 0 0 0 3px var(--accent-soft);
  font-family: var(--font-display);
  font-size: 0.9375rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
}
/* Ícono de la app tal cual (sin filete): para decir «esto es la app» */
.sello--app {
  width: 5.5rem;
  height: 5.5rem;
  border-radius: 1.25rem;
  box-shadow: var(--shadow-high);
  font-size: 2.25rem;
}

.marca {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  min-height: var(--tactil);
  color: var(--brand);
  text-decoration: none;
}
.marca__nombre {
  font-family: var(--font-display);
  font-size: var(--t-20);
  font-weight: 700;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

/* Franja superior: aviso institucional sobre --brand (nunca latón) */
.franja {
  background: var(--brand);
  color: var(--cream);
  font-size: var(--t-15);
  line-height: 1.45;
  text-align: center;
  padding: var(--e-2) var(--margen);
  --link: var(--cream);
  --focus: var(--cream);
}
.franja a { font-weight: 600; }

/* Barra fija */
.barra {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}
.barra__int {
  display: flex;
  align-items: center;
  gap: var(--e-4);
  min-height: var(--barra-alto);
}
.barra .marca { margin-right: auto; }

.barra__nav { display: none; }
.barra__nav a,
.barra__cta { white-space: nowrap; }
.barra__nav a {
  display: inline-flex;
  align-items: center;
  min-height: var(--tactil);
  padding: 0 0.625rem;
  border-radius: var(--r-field);
  color: var(--text);
  font-size: var(--t-15);
  font-weight: 500;
  text-decoration: none;
}
.barra__nav a:hover { background: var(--bg-sunk); color: var(--brand); }
.barra__cta { display: none; }

/* La barra horizontal aparece a 72rem. Los cinco rubros van juntos en «Servicios»
   (05/10), así que los seis enlaces entran con aire. Abajo de eso manda el menú de
   celular, que los muestra todos en una columna. */
@media (min-width: 72rem) {
  .barra__nav { display: flex; gap: 0.125rem; }
  .menu { display: none; }
}
@media (min-width: 80rem) {
  .barra__cta { display: inline-flex; }
}

/* Medio de pago con el logo oficial de Mercado Pago. Sin fondo ni efectos, con aire alrededor
   (su guía pide un espacio libre del alto de la «d») y más de 28 px de alto. */
.medio-de-pago { display: flex; align-items: center; gap: var(--e-4); flex-wrap: wrap; margin-top: var(--e-3); color: var(--muted); font-size: var(--t-15, 0.9375rem); }
.medio-de-pago__logo { display: block; height: 2.625rem; width: auto; }

/* Rubro «en camino» (piloto 14/10): tarjeta apagada, sin enlace y sin fecha. */
.rubro--en-camino { opacity: 0.72; }
.rubro--en-camino .rubro__estado { margin-top: auto; font-size: var(--t-14, 0.875rem); font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted); }

/* Botón de WhatsApp fijo abajo, solo en el celular (UX P-101, 14/10). */
.barra-fija { position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; padding: 0.75rem 1rem calc(0.75rem + env(safe-area-inset-bottom)); background: var(--bg); border-top: 1px solid var(--line, #dfe5e1); box-shadow: 0 -4px 16px rgba(0,0,0,0.06); }
.barra-fija[hidden] { display: none; }
.btn--ancho { display: flex; width: 100%; justify-content: center; }
@media (min-width: 48rem) { .barra-fija { display: none; } }
/* Que la barra fija no tape el final de la página (pie legal). */
@media (max-width: 47.99rem) { body:has(.barra-fija:not([hidden])) { padding-bottom: 5rem; } }

/* Menú del celular: <details> para que funcione sin JavaScript */
.menu { position: relative; }
.menu > summary {
  display: grid;
  place-items: center;
  width: var(--tactil);
  height: var(--tactil);
  border-radius: var(--r-button);
  color: var(--brand);
  cursor: pointer;
  list-style: none;
}
.menu > summary::-webkit-details-marker { display: none; }
.menu > summary:hover { background: var(--bg-sunk); }
.menu > summary .icono { width: 1.5rem; height: 1.5rem; }
.menu .icono--cerrar,
.menu[open] .icono--menu { display: none; }
.menu[open] .icono--cerrar { display: inline-block; }
.menu[open] > summary { background: var(--card); box-shadow: var(--shadow-card); }

.menu__panel {
  position: absolute;
  top: calc(100% + var(--e-2));
  right: 0;
  width: min(20rem, calc(100vw - 2 * var(--margen)));
  padding: var(--e-2);
  border: 1px solid var(--border);
  border-radius: var(--r-card);
  background: var(--card);
  box-shadow: var(--shadow-high);
}
.menu__panel a:not(.btn) {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--e-3);
  min-height: 3.25rem;
  padding: 0 var(--e-3);
  border-radius: var(--r-field);
  color: var(--text);
  font-size: var(--t-17);
  font-weight: 600;
  text-decoration: none;
}
.menu__panel a:not(.btn) + a:not(.btn) { box-shadow: 0 -1px 0 var(--border); }
.menu__panel a:not(.btn):hover { background: var(--bg); }
.menu__panel a:not(.btn) .icono { color: var(--muted); }
.menu__panel .btn { width: 100%; margin-top: var(--e-2); }


/* 6 · BOTONES E ICONOS ==================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  min-height: 3.25rem;              /* 52 px, como BigButton */
  padding: 0.75rem 1.5rem;
  border: 2px solid transparent;
  border-radius: var(--r-button);
  font-family: var(--font-text);
  font-size: var(--t-17);
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.btn .icono { width: 1.25rem; height: 1.25rem; }

/* Primario: la acción principal del bloque (eucalipto, blanco 5,78:1) */
.btn--primario { background: var(--primary); color: #fff; }
.btn--primario:hover { background: var(--primary-hi); }

/* Secundario: el «ghost» de la app, borde de 2 px */
.btn--secundario { background: transparent; border-color: var(--primary); color: var(--primary); }
.btn--secundario:hover { background: color-mix(in srgb, var(--primary) 8%, transparent); }

/* Fantasma: acción terciaria con aspecto de link, pero con área de 48 px */
.btn--fantasma {
  min-height: var(--tactil);
  padding-inline: var(--e-2);
  color: var(--link);
  text-decoration: underline;
  text-decoration-color: transparent;
  text-underline-offset: 0.25em;
}
.btn--fantasma:hover { text-decoration-color: currentColor; }

/* Sobre la superficie de marca: blanco con letras verde profundo (12,57:1).
   El eucalipto sobre --brand no se separa del fondo (1,8:1). */
.btn--sobre-marca { background: #fff; color: var(--brand); }
.btn--sobre-marca:hover { background: var(--cream); }

.btn--chico { min-height: var(--tactil); padding: 0.5rem 1.125rem; font-size: var(--t-15); }
.btn--bloque { width: 100%; }
.btn:disabled,
.btn[aria-disabled="true"] { opacity: 0.5; cursor: not-allowed; }

/* Enlace destacado: texto de link con área táctil de 48 px */
.enlace-fuerte {
  display: inline-flex;
  align-items: center;
  gap: var(--e-1);
  min-height: var(--tactil);
  color: var(--link);
  font-weight: 600;
}

/* Iconos: máscara SVG de trazo que toma el color del texto (currentColor).
   Uso: <span class="icono icono--gota" aria-hidden="true"></span>
   Tamaño por defecto 1.25rem (20 px, como en la app). */
.icono {
  display: inline-block;
  flex: none;
  width: 1.25rem;
  height: 1.25rem;
  vertical-align: -0.22em;
  background-color: currentColor;
  -webkit-mask: var(--i) center / contain no-repeat;
  mask: var(--i) center / contain no-repeat;
}
.icono--grande { width: 1.5rem; height: 1.5rem; }
/* Icono dentro de un disco (fila de lista, promesa, rubro) */
.disco {
  display: inline-grid;
  place-items: center;
  flex: none;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  background: var(--bg);
  color: var(--primary-hi);
}
.disco--grande { width: 3.25rem; height: 3.25rem; }
.disco--grande .icono { width: 1.5rem; height: 1.5rem; }

/* Juego de iconos (26). Mismo lenguaje que los Ionicons -outline de la app:
   rubros = rayo, gota, llave, embudo, copo (apps/mobile/app/client/index.tsx).
   Generado por script: para sumar uno, agregar la variable y su clase. */
:root {
  --i-rayo: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M13 2.5 4.5 13.5H11l-1 8 8.5-11H12l1-8Z'/%3E%3C/svg%3E");
  --i-gota: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3.2c3.5 4.2 6 7.6 6 10.6a6 6 0 0 1-12 0c0-3 2.5-6.4 6-10.6Z'/%3E%3C/svg%3E");
  --i-llave: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='7.5' cy='16' r='4'/%3E%3Cpath d='m10.4 13.1 9.1-9.1M16.5 7 19 9.5M14 9.5l2 2'/%3E%3C/svg%3E");
  --i-embudo: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3.5 4.5h17l-6.5 8.2v5.8l-4 2v-7.8L3.5 4.5Z'/%3E%3C/svg%3E");
  --i-copo: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 2.8v18.4M4 7.4l16 9.2M4 16.6l16-9.2M9.6 4.4 12 6.3l2.4-1.9M9.6 19.6 12 17.7l2.4 1.9'/%3E%3C/svg%3E");
  --i-escudo: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 2.8 4.5 5.8v5.6c0 4.7 3.2 8.7 7.5 9.8 4.3-1.1 7.5-5.1 7.5-9.8V5.8L12 2.8Z'/%3E%3C/svg%3E");
  --i-escudo-check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 2.8 4.5 5.8v5.6c0 4.7 3.2 8.7 7.5 9.8 4.3-1.1 7.5-5.1 7.5-9.8V5.8L12 2.8Z'/%3E%3Cpath d='m8.8 12.1 2.2 2.2 4.3-4.4'/%3E%3C/svg%3E");
  --i-candado: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='4.5' y='10.5' width='15' height='10.5' rx='2.5'/%3E%3Cpath d='M8 10.5V7.5a4 4 0 0 1 8 0v3M12 14.6V17'/%3E%3C/svg%3E");
  --i-billete: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2.5' y='6' width='19' height='12' rx='2'/%3E%3Ccircle cx='12' cy='12' r='2.6'/%3E%3Cpath d='M6 10v4M18 10v4'/%3E%3C/svg%3E");
  --i-check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E");
  --i-check-circulo: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='m8 12.3 2.8 2.8 5.4-5.4'/%3E%3C/svg%3E");
  --i-chevron-derecha: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m9 6 6 6-6 6'/%3E%3C/svg%3E");
  --i-chevron-izquierda: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m15 6-6 6 6 6'/%3E%3C/svg%3E");
  --i-chevron-abajo: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  --i-menu: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 7h16M4 12h16M4 17h16'/%3E%3C/svg%3E");
  --i-cerrar: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 6l12 12M18 6 6 18'/%3E%3C/svg%3E");
  --i-persona: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9.2'/%3E%3Ccircle cx='12' cy='10' r='3.2'/%3E%3Cpath d='M6.3 18.3c1.4-1.9 3.4-2.9 5.7-2.9s4.3 1 5.7 2.9'/%3E%3C/svg%3E");
  --i-tarjeta: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2.5' y='5' width='19' height='14' rx='2.5'/%3E%3Cpath d='M2.5 9.5h19M6 15h4'/%3E%3C/svg%3E");
  --i-camara: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4.5 7.5h3L9 5h6l1.5 2.5h3A1.5 1.5 0 0 1 21 9v9a1.5 1.5 0 0 1-1.5 1.5h-15A1.5 1.5 0 0 1 3 18V9a1.5 1.5 0 0 1 1.5-1.5Z'/%3E%3Ccircle cx='12' cy='13' r='3.5'/%3E%3C/svg%3E");
  --i-celular: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='6.5' y='2.5' width='11' height='19' rx='2.5'/%3E%3Cpath d='M10.5 18.5h3'/%3E%3C/svg%3E");
  --i-chat: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20.5 11.5c0 4.4-3.8 8-8.5 8-1.3 0-2.6-.3-3.7-.8L3.5 20l1.3-3.9a7.7 7.7 0 0 1-1.3-4.6c0-4.4 3.8-8 8.5-8s8.5 3.6 8.5 8Z'/%3E%3C/svg%3E");
  --i-maletin: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='7' width='18' height='13' rx='2.5'/%3E%3Cpath d='M8.5 7V5.5A1.5 1.5 0 0 1 10 4h4a1.5 1.5 0 0 1 1.5 1.5V7M3 12.5h18'/%3E%3C/svg%3E");
  --i-alerta: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10.3 4.2 2.9 17.5a2 2 0 0 0 1.7 3h14.8a2 2 0 0 0 1.7-3L13.7 4.2a2 2 0 0 0-3.4 0ZM12 9.5V14M12 17.3v.2'/%3E%3C/svg%3E");
  --i-lupa: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='10.5' cy='10.5' r='6.5'/%3E%3Cpath d='m15.5 15.5 5 5'/%3E%3C/svg%3E");
  --i-ayuda: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M9.5 9.3a2.6 2.6 0 0 1 5 .9c0 1.7-2.5 2.3-2.5 3.8M12 17.2v.2'/%3E%3C/svg%3E");
  --i-documento: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 3H7a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V8l-5-5Z'/%3E%3Cpath d='M14 3v5h5M9 13h6M9 17h6'/%3E%3C/svg%3E");
}
.icono--rayo { --i: var(--i-rayo); }
.icono--gota { --i: var(--i-gota); }
.icono--llave { --i: var(--i-llave); }
.icono--embudo { --i: var(--i-embudo); }
.icono--copo { --i: var(--i-copo); }
.icono--escudo { --i: var(--i-escudo); }
.icono--escudo-check { --i: var(--i-escudo-check); }
.icono--candado { --i: var(--i-candado); }
.icono--billete { --i: var(--i-billete); }
.icono--check { --i: var(--i-check); }
.icono--check-circulo { --i: var(--i-check-circulo); }
.icono--chevron-derecha { --i: var(--i-chevron-derecha); }
.icono--chevron-izquierda { --i: var(--i-chevron-izquierda); }
.icono--chevron-abajo { --i: var(--i-chevron-abajo); }
.icono--menu { --i: var(--i-menu); }
.icono--cerrar { --i: var(--i-cerrar); }
.icono--persona { --i: var(--i-persona); }
.icono--tarjeta { --i: var(--i-tarjeta); }
.icono--camara { --i: var(--i-camara); }
.icono--celular { --i: var(--i-celular); }
.icono--chat { --i: var(--i-chat); }
.icono--maletin { --i: var(--i-maletin); }
.icono--alerta { --i: var(--i-alerta); }
.icono--lupa { --i: var(--i-lupa); }
.icono--ayuda { --i: var(--i-ayuda); }
.icono--documento { --i: var(--i-documento); }

@media (forced-colors: active) {
  .icono { forced-color-adjust: none; background-color: CanvasText; }
}


/* 7 · TARJETAS, FILAS, NOTAS Y PÍLDORAS =================================== */
/* Tarjeta de la app (rediseño B): blanca, radio 18, sombra suave, sin borde.
   Solo para unidades de contenido; en bandas blancas no se usan tarjetas. */
.tarjeta {
  display: flex;
  flex-direction: column;
  gap: var(--e-3);
  padding: clamp(1.125rem, 2.5vw, 1.5rem);
  border-radius: var(--r-card);
  background: var(--card);
  box-shadow: var(--shadow-card);
  min-width: 0;
}
/* Tarjeta entera que es un link */
.tarjeta--enlace { color: inherit; text-decoration: none; transition: box-shadow 0.15s ease; }
.tarjeta--enlace:hover { box-shadow: var(--shadow-high); }
.tarjeta--enlace:hover .tarjeta__accion { text-decoration: underline; }
.tarjeta__accion { margin-top: auto; padding-top: var(--e-2); color: var(--link); font-weight: 600; }
/* Tarjeta plana: con borde y sin sombra, para agrupar dentro de otra superficie */
.tarjeta--plana { box-shadow: none; border: 1px solid var(--border); }
/* Tarjeta contenedora de filas */
.tarjeta--lista { padding: 0; gap: 0; overflow: hidden; }

/* Filas estilo lista (ListRow de la app): navegación con chevron */
.filas { list-style: none; }
.fila {
  display: flex;
  align-items: center;
  gap: var(--e-4);
  min-height: 4rem;
  padding: var(--e-3) var(--e-4);
  color: var(--text);
  text-decoration: none;
}
.filas > li + li { border-top: 1px solid var(--border); }
a.fila:hover { background: var(--bg); }
.fila__texto { display: flex; flex-direction: column; gap: 0.125rem; flex: 1; min-width: 0; }
.fila__titulo { font-size: var(--t-17); font-weight: 600; line-height: 1.35; }
.fila__detalle { font-size: var(--t-15); color: var(--muted); line-height: 1.45; }
.fila > .icono:last-child { color: var(--muted); }

/* Notas: recuadro con filete izquierdo. Nunca latón de fondo. */
.nota {
  padding: var(--e-4) var(--e-5);
  border-left: 4px solid var(--primary);
  border-radius: 4px var(--r-button) var(--r-button) 4px;
  background: var(--card);
  color: var(--text);
  font-size: var(--t-16);
  line-height: 1.6;
  --link: var(--text);
}
.nota > * + * { margin-top: var(--e-2); }
.nota a { font-weight: 600; }
.nota--ok { background: var(--tone-ok-bg); border-left-color: var(--ok); }
.nota--aviso { background: var(--tone-warn-bg); border-left-color: var(--warn); }

/* Trámites legales (arrepentimiento y baja): agrupan los pasos del formulario.
   Los pasos 2 y 3 arrancan ocultos y los muestra legales.js cuando corresponde. */
.tramite { display: block; }
.tramite [data-legal-caja][hidden] { display: none; }
.nota--peligro { background: var(--tone-bad-bg); border-left-color: var(--danger); }
.nota__titulo { display: flex; align-items: center; gap: var(--e-2); font-weight: 700; }

/* Píldoras (Badge de la app): semáforo + sello + marca */
.pildora {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  align-self: flex-start;
  padding: 0.1875rem 0.75rem;
  border-radius: var(--r-pill);
  background: var(--tone-muted-bg);
  color: var(--tone-muted-fg);
  font-size: var(--t-13);
  font-weight: 600;
  line-height: 1.5;
  white-space: nowrap;
}
.pildora--ok { background: var(--tone-ok-bg); color: var(--tone-ok-fg); }
.pildora--espera { background: var(--tone-warn-bg); color: var(--tone-warn-fg); }
.pildora--problema { background: var(--tone-bad-bg); color: var(--tone-bad-fg); }
.pildora--neutra { background: var(--tone-muted-bg); color: var(--tone-muted-fg); }
.pildora--sello { background: var(--tone-accent-bg); color: var(--tone-accent-fg); }
.pildora--marca { background: var(--brand); color: var(--cream); }

/* Estado vacío (404, búsqueda sin resultados) */
.estado-vacio {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--e-4);
  max-width: 34rem;
  margin-inline: auto;
  text-align: center;
}


/* 8 · FORMULARIOS Y BUSCADOR ============================================== */
.formulario { display: grid; gap: var(--e-5); grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)); }
.campo { display: flex; flex-direction: column; gap: var(--e-2); min-width: 0; }
.campo--completo { grid-column: 1 / -1; }
.campo__label { font-size: var(--t-15); font-weight: 600; color: var(--text); }
.campo__control {
  width: 100%;
  min-height: 3.125rem;
  padding: 0.6875rem 0.875rem;
  border: 1.5px solid var(--border-strong);
  border-radius: var(--r-field);
  background: var(--card);
  color: var(--text);
  font-size: var(--t-17);
  line-height: 1.4;
}
.campo__control::placeholder { color: var(--muted); opacity: 1; }
.campo__control:hover { border-color: var(--text); }
.campo__control:focus-visible { outline-offset: 1px; border-color: var(--primary); }
.campo__control[aria-invalid="true"] { border-color: var(--danger); }
select.campo__control {
  appearance: none;
  padding-right: 2.75rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232c7a5c' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.875rem center;
  background-size: 1.25rem;
}
.campo__ayuda { font-size: var(--t-13); color: var(--muted); }
.campo__error { min-height: 1.5em; font-size: var(--t-15); font-weight: 600; color: var(--danger); }
.acciones { display: flex; flex-wrap: wrap; gap: var(--e-3); }
@media (max-width: 39.99rem) {
  .acciones > .btn { flex: 1 1 100%; }
}

/* Buscador (centro de ayuda) */
.buscador { position: relative; }
.buscador > .icono {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--muted);
  pointer-events: none;
}
.buscador .campo__control { min-height: 3.5rem; padding-left: 3rem; border-radius: var(--r-button); }


/* 9 · ACORDEÓN, MIGA Y LISTAS ============================================= */
.acordeon { max-width: 52rem; border-top: 1px solid var(--border); }
.acordeon details { border-bottom: 1px solid var(--border); }
.acordeon summary {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 3.75rem;
  padding: var(--e-4) 3rem var(--e-4) 0;
  color: var(--text);
  font-size: var(--t-17);
  font-weight: 600;
  line-height: 1.35;
  cursor: pointer;
  list-style: none;
}
@media (min-width: 48rem) {
  .acordeon summary { font-size: var(--t-20); }
}
.acordeon summary::-webkit-details-marker { display: none; }
.acordeon summary::after {
  content: "";
  position: absolute;
  right: 0.5rem;
  top: 50%;
  width: 1.25rem;
  height: 1.25rem;
  margin-top: -0.625rem;
  background-color: var(--primary-hi);
  -webkit-mask: var(--i-chevron-abajo) center / contain no-repeat;
  mask: var(--i-chevron-abajo) center / contain no-repeat;
  transition: transform 0.2s ease;
}
.acordeon details[open] summary::after { transform: rotate(180deg); }
.acordeon summary:hover { color: var(--brand); }
.acordeon__respuesta { max-width: var(--medida); padding: 0 3rem var(--e-5) 0; color: var(--muted); line-height: 1.65; }

/* Miga de pan: <nav class="miga" aria-label="Estás en"><ol><li>… */
.miga ol { display: flex; flex-wrap: wrap; align-items: center; list-style: none; font-size: var(--t-15); color: var(--muted); }
.miga li { display: inline-flex; align-items: center; }
.miga li + li::before {
  content: "";
  width: 1rem;
  height: 1rem;
  margin-inline: 0.25rem;
  background-color: var(--border-strong);
  -webkit-mask: var(--i-chevron-derecha) center / contain no-repeat;
  mask: var(--i-chevron-derecha) center / contain no-repeat;
}
.miga a { display: inline-flex; align-items: center; min-height: var(--tactil); padding-inline: 0.125rem; }
.miga [aria-current="page"] { color: var(--text); font-weight: 600; }

/* Lista con tilde de trazo */
.lista-check { list-style: none; display: flex; flex-direction: column; gap: var(--e-3); }
.lista-check > li { display: grid; grid-template-columns: 1.5rem minmax(0, 1fr); gap: var(--e-3); align-items: start; }
.lista-check > li::before {
  content: "";
  width: 1.25rem;
  height: 1.25rem;
  margin-top: 0.2em;
  background-color: var(--primary-hi);
  -webkit-mask: var(--i-check) center / contain no-repeat;
  mask: var(--i-check) center / contain no-repeat;
}

/* Lista con puntos; los modificadores usan el semáforo */
.lista-puntos { list-style: none; display: flex; flex-direction: column; gap: var(--e-3); }
.lista-puntos > li { display: grid; grid-template-columns: 1rem minmax(0, 1fr); gap: var(--e-3); align-items: start; line-height: 1.55; }
.lista-puntos > li::before {
  content: "";
  width: 0.625rem;
  height: 0.625rem;
  margin-top: 0.5em;
  border-radius: 50%;
  border: 2px solid var(--border-strong);
}
.lista-puntos--ok > li::before { background: var(--ok); border-color: var(--ok); }
.lista-puntos--espera > li::before { border-color: var(--warn); box-shadow: 0 0 0 3px var(--tone-warn-bg); }

/* Artículo: ayuda y legales */
.articulo { max-width: var(--ancho-lectura); }
.articulo > * + * { margin-top: var(--e-4); }
.articulo h2 { margin-top: var(--e-7); font-family: var(--font-display); font-size: var(--t-26); line-height: 1.2; color: var(--brand); }
.articulo h3 { margin-top: var(--e-6); font-size: var(--t-20); line-height: 1.3; }
.articulo p, .articulo li { line-height: 1.7; }
.articulo ul, .articulo ol { padding-left: 1.4em; }
.articulo li + li { margin-top: var(--e-2); }
.articulo li::marker { color: var(--primary-hi); }
.articulo .actualizado { font-size: var(--t-13); color: var(--muted); }

/* Tabla (legales): siempre dentro de .tabla-contenedor */
.tabla-contenedor { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--r-button); background: var(--card); }
.tabla-contenedor table { width: 100%; border-collapse: collapse; font-size: var(--t-15); }
.tabla-contenedor th, .tabla-contenedor td { padding: var(--e-3) var(--e-4); text-align: left; vertical-align: top; }
.tabla-contenedor th { background: var(--bg-sunk); font-weight: 600; }
.tabla-contenedor tr + tr td { border-top: 1px solid var(--border); }


/* 10 · CELULAR · pantallas reales de la app reconstruidas en HTML ========= */
/* Uso: <div class="celular" aria-hidden="true"><div class="celular__pantalla">
          <span class="celular__isla"></span><div class="app">…</div></div></div>
   Los textos de adentro se copian LITERALES del código de apps/mobile. Sin
   montos, nombres, reseñas ni funciones que no existan.
   Todo lo de adentro se mide en «pt» de iPhone (390 de ancho) con em: la
   pantalla es un contenedor y .app toma 16 pt = 100cqw / 390 × 16. */
.celular {
  position: relative;
  flex: none;
  width: var(--celular-ancho, 16rem);
  max-width: 100%;
  padding: 0.5rem;
  border-radius: 2.5rem;
  background: var(--text);
  box-shadow: 0 32px 64px -32px rgba(18, 58, 46, 0.55), inset 0 0 0 1px rgba(255, 255, 255, 0.1);
}
.celular__pantalla {
  position: relative;
  overflow: hidden;
  aspect-ratio: 390 / 844;
  border-radius: 2rem;
  background: var(--bg);
  container-type: inline-size;
}
.celular__isla {
  position: absolute;
  z-index: 2;
  top: 3cqw;
  left: 50%;
  width: 30cqw;
  height: 8.6cqw;
  border-radius: var(--r-pill);
  background: #000;
  transform: translateX(-50%);
}
/* Recortado: el celular «sale» del borde inferior del escenario */
.celular--recortado { padding-bottom: 0; border-bottom-left-radius: 0; border-bottom-right-radius: 0; }
.celular--recortado .celular__pantalla { aspect-ratio: 390 / 640; border-bottom-left-radius: 0; border-bottom-right-radius: 0; }

.app {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  font-family: var(--font-text);
  font-size: 11px;
  font-size: calc(100cqw / 390 * 16);
  line-height: 1.35;
  color: var(--text);
  text-align: left;
  -webkit-user-select: none;
  user-select: none;
}
.app__estado { flex: none; height: 3.4em; background: var(--brand); }
.app__barra {
  flex: none;
  display: grid;
  grid-template-columns: 2.5em minmax(0, 1fr) 2.5em;
  align-items: center;
  height: 2.75em;
  padding: 0 1em;
  background: var(--brand);
  color: #fff;
}
.app__barra-titulo { grid-column: 2; font-size: 1.0625em; font-weight: 600; text-align: center; white-space: nowrap; }
.app__barra .icono { grid-column: 3; justify-self: end; width: 1.75em; height: 1.75em; }
.app__contenido { display: flex; flex-direction: column; padding: 1.25em; }

.app__saludo { font-size: 2em; font-weight: 700; line-height: 1.125; }
.app__pregunta { margin: 0.25em 0 0.8em; font-size: 1.0625em; font-weight: 600; line-height: 1.35; }
.app__titulo { margin-bottom: 0.3em; font-size: 1.625em; font-weight: 700; line-height: 1.2; }
.app__tarjeta {
  margin-bottom: 1.125em;
  padding: 1.125em;
  border-radius: 1.125em;
  background: var(--card);
  box-shadow: 0 0.375em 1.25em rgba(18, 58, 46, 0.08);
}
.app__rubros { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5em; }
.app__rubro {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.375em;
  width: 31%;
  min-height: 5.25em;
  padding: 0.75em 0.25em;
  border-radius: 0.875em;
  background: var(--bg);
}
.app__rubro .icono { width: 1.5em; height: 1.5em; color: var(--primary); }
.app__rubro-nombre { font-size: 0.75em; font-weight: 600; line-height: 1.2; text-align: center; }
.app__fila { display: flex; justify-content: space-between; align-items: center; min-height: 2.75em; margin-bottom: 0.25em; }
.app__seccion { font-size: 1.125em; font-weight: 700; }
.app__enlace { display: inline-flex; align-items: center; gap: 0.15em; color: var(--primary-hi); font-size: 0.875em; font-weight: 600; }
.app__enlace .icono { width: 1em; height: 1em; }
.app__vacio { color: var(--muted); line-height: 1.44; text-align: center; }
.app__boton {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.42em;
  margin: 0.42em 0;
  padding: 0.95em 0.6em;
  border: 0.105em solid transparent;
  border-radius: 0.74em;
  font-size: 1.1875em;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
}
.app__boton .icono { width: 0.95em; height: 0.95em; }
.app__boton--fantasma { border-color: var(--primary); color: var(--primary); }
.app__boton--lleno { background: var(--primary); color: #fff; }
.app__boton--apagado { opacity: 0.5; }
.app__campo-label { margin-bottom: 0.4em; font-size: 0.9375em; font-weight: 600; }
.app__campo { height: 3.1em; margin-bottom: 0.3em; border: 1px solid var(--border); border-radius: 0.625em; background: var(--card); }
/* Código de inicio: las mismas medidas que la app (44 pt, peso 800, tracking 12 pt
   sobre eucalipto). apps/mobile/app/client/request/[id].tsx:1171-1180. */
.app__codigo {
  margin-top: 0.15em;
  font-size: 2.75em;
  font-weight: 800;
  letter-spacing: 0.14em;
  line-height: 1.1;
  text-align: center;
  color: var(--primary);
  font-variant-numeric: tabular-nums;
}


/* 11 · BLOQUES DE PORTADA ================================================= */
/* Hero */
.portada { padding-block: clamp(2.5rem, 6vw, 4.5rem) clamp(1rem, 3vw, 2rem); }
.portada__grilla { display: grid; gap: clamp(2.5rem, 6vw, 4rem); align-items: center; }
@media (min-width: 72rem) {
  .portada__grilla { grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr); }
}
.portada__texto { display: flex; flex-direction: column; gap: var(--e-5); max-width: 40rem; }
.portada__texto .bajada { max-width: 44ch; }

/* Doble puerta: dos caminos del mismo tamaño (cliente / técnico) */
.puertas { display: flex; flex-wrap: wrap; gap: var(--e-3); width: 100%; }
.puertas > .btn { flex: 1 1 13rem; }

/* Insignia oficial de Google Play, «Descargar en Google Play» (Abel, 05/11). Reglas de Google: no se
   modifica, el alto visible es de 28 px o más y lleva un espacio libre de un cuarto de su
   alto alrededor. La imagen mide 646 × 250 y su parte visible 646 × 192 (trae 29 px
   transparentes arriba y abajo). A 72 px de alto lo visible mide 55 px, así que el espacio
   libre es de 14 px: arriba y abajo, 8 los pone la imagen y 6 el margen; a los costados, los
   12 px de separación de la fila más 2 de margen. */
.insignia-play {
  display: inline-block;
  flex: none;
  margin-block: 0.375rem;
  margin-inline-end: 0.125rem;
  line-height: 0;
  border-radius: 10px;
}
.insignia-play img { display: block; width: auto; height: 4.5rem; }
.puertas:has(.insignia-play),
.acciones:has(.insignia-play) { align-items: center; }
/* En la barra fija del celular: centrada y algo más chica (lo visible mide 43 px). */
.insignia-play--barra { display: block; width: fit-content; margin: 0 auto; }
.insignia-play--barra img { height: 3.5rem; }
.portada__mas { display: flex; flex-direction: column; align-items: flex-start; gap: var(--e-2); margin-top: var(--e-2); }

/* Escenario: el «palier» donde se para el celular. Damero de baldosa que
   se desvanece hacia arriba, sobre la banda hundida. */
.escenario {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--e-5);
  padding: var(--e-5) var(--e-4) 0;
  border-radius: var(--r-panel);
  background: var(--bg-sunk);
}
.escenario::before {
  content: "";
  position: absolute;
  z-index: -2;
  inset: -50%;
  background: repeating-conic-gradient(var(--border) 0 25%, transparent 0 50%) 0 0 / 2.75rem 2.75rem;
  opacity: 0.7;
  transform: rotate(45deg);
}
.escenario::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(to bottom, var(--bg-sunk) 30%, rgba(238, 241, 238, 0.35) 75%, rgba(238, 241, 238, 0.15));
}
.escenario .celular { --celular-ancho: 14.5rem; }
.escenario__ficha { order: -1; width: 100%; max-width: 22rem; }
@media (min-width: 40rem) {
  .escenario { flex-direction: row; justify-content: center; align-items: flex-end; padding: var(--e-6) var(--e-5) 0; }
  .escenario .celular { --celular-ancho: 15rem; }
  .escenario__ficha { order: 0; flex: 0 1 16rem; min-width: 0; margin-bottom: var(--e-6); }
}
@media (prefers-reduced-motion: no-preference) {
  .escenario .celular { animation: subir 0.8s cubic-bezier(0.2, 0.7, 0.2, 1) 0.15s both; }
}
@keyframes subir {
  from { opacity: 0; transform: translateY(1.5rem); }
  to { opacity: 1; transform: none; }
}

/* Ficha de ejemplo del hero (tarjeta de propuesta, estilo app) */
.ficha { gap: var(--e-4); }
.ficha__etiqueta { font-size: var(--t-13); font-weight: 600; color: var(--muted); }
.ficha__cabeza { display: flex; align-items: center; gap: var(--e-3); padding-bottom: var(--e-4); border-bottom: 1px solid var(--border); }
.avatar {
  display: grid;
  place-items: center;
  flex: none;
  width: 2.875rem;
  height: 2.875rem;
  border: 2px solid var(--border);
  border-radius: 50%;
  background: var(--bg);
  color: var(--primary);
  font-size: var(--t-17);
  font-weight: 700;
}
.ficha__nombre { font-size: var(--t-17); font-weight: 700; line-height: 1.3; }
.verificado { display: inline-flex; align-items: center; gap: 0.3rem; color: var(--ok); font-size: var(--t-15); font-weight: 600; }
.verificado .icono { width: 1.125rem; height: 1.125rem; }
.ficha__datos { display: flex; flex-direction: column; gap: var(--e-2); }
.ficha__dato { display: flex; justify-content: space-between; align-items: baseline; gap: var(--e-4); }
.ficha__dato b { font-size: var(--t-17); font-weight: 700; font-variant-numeric: tabular-nums; }
.ficha__dato span { font-size: var(--t-13); letter-spacing: 0.04em; color: var(--muted); }
.ficha__nota { display: flex; gap: var(--e-2); padding-top: var(--e-4); border-top: 1px solid var(--border); color: var(--muted); font-size: var(--t-15); line-height: 1.5; }
.ficha__nota .icono { margin-top: 0.15em; color: var(--primary-hi); }

/* Superficie de marca: la «puerta verde» de técnicos. Es un panel con
   radio dentro del contenedor, no una pantalla pintada entera. */
.superficie-marca {
  background: var(--brand);
  color: var(--cream);
  --link: var(--cream);
  --focus: var(--cream);
}
.superficie-marca .titulo-1,
.superficie-marca .titulo-2,
.superficie-marca .titulo-3 { color: var(--cream); }
.superficie-marca .etiqueta,
.superficie-marca .bajada,
.superficie-marca .texto-chico { color: var(--cream-soft); }

.puerta {
  display: grid;
  gap: var(--e-6);
  padding: clamp(1.5rem, 5vw, 3.5rem) clamp(1.25rem, 5vw, 3.5rem) 0;
  border-radius: var(--r-panel);
  overflow: hidden;
}
.puerta__texto { display: flex; flex-direction: column; gap: var(--e-4); max-width: 38rem; }
.puerta__texto .texto { color: var(--cream-soft); }
.puerta__texto .texto--principal { color: var(--cream); font-size: var(--t-20); line-height: 1.5; }
.puerta__ventajas { list-style: none; display: flex; flex-direction: column; gap: var(--e-3); max-width: 38rem; }
.puerta__ventajas > li { display: grid; grid-template-columns: 1.5rem minmax(0, 1fr); gap: var(--e-3); align-items: start; color: var(--cream); }
.puerta__ventajas > li::before {
  content: "";
  width: 1.25rem;
  height: 1.25rem;
  margin-top: 0.2em;
  background-color: var(--cream-soft);
  -webkit-mask: var(--i-check) center / contain no-repeat;
  mask: var(--i-check) center / contain no-repeat;
}
.puerta__visual { display: flex; justify-content: center; align-items: flex-end; }
.puerta__visual .celular { --celular-ancho: 15rem; box-shadow: 0 0 0 1px rgba(238, 242, 238, 0.12); }
@media (min-width: 62rem) {
  .puerta {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    grid-template-areas: "texto visual" "ventajas visual";
    column-gap: var(--e-7);
  }
  .puerta__texto { grid-area: texto; }
  .puerta__ventajas { grid-area: ventajas; padding-bottom: clamp(1.5rem, 5vw, 3.5rem); }
  .puerta__visual { grid-area: visual; }
  .puerta__visual .celular { --celular-ancho: 16rem; }
}

/* Promesas: franja de cuatro compromisos con icono en disco */
.promesas { display: grid; gap: var(--e-5) var(--e-6); grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)); }
.promesa { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: var(--e-4); align-items: start; }
.promesa b { display: block; font-size: var(--t-17); line-height: 1.35; }
.promesa span:not(.icono):not(.disco) { display: block; margin-top: var(--e-1); font-size: var(--t-15); line-height: 1.5; color: var(--muted); }

/* Cita grande */
.cita {
  padding-left: var(--e-5);
  border-left: 4px solid var(--primary);
  font-family: var(--font-display);
  font-size: clamp(var(--t-26), 1.1rem + 1.6vw, var(--t-34));
  line-height: 1.25;
  color: var(--brand);
  text-wrap: balance;
}
.cita cite { display: block; margin-top: var(--e-4); font-family: var(--font-text); font-size: var(--t-15); font-style: normal; color: var(--muted); }

/* Pasos: la secuencia real (1, 2, 3). Números en placa verde. */
.pasos { display: grid; gap: var(--e-6); list-style: none; }
.paso { position: relative; display: grid; grid-template-columns: 3rem minmax(0, 1fr); column-gap: var(--e-4); row-gap: var(--e-2); }
.paso__num {
  grid-row: 1 / span 2;
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  border-radius: 0.625rem;
  background: var(--brand);
  color: var(--cream);
  font-family: var(--font-display);
  font-size: var(--t-20);
  font-weight: 700;
}
.paso p { color: var(--muted); }
.paso:not(:last-child)::after {
  content: "";
  position: absolute;
  left: calc(1.5rem - 1px);
  top: 3.75rem;
  bottom: calc(-1 * var(--e-6) + 0.75rem);
  width: 2px;
  background: var(--border);
}
@media (min-width: 62rem) {
  .pasos { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--e-6); }
  .paso { grid-template-columns: minmax(0, 1fr); row-gap: var(--e-3); }
  .paso__num { grid-row: auto; margin-bottom: var(--e-2); }
  .paso:not(:last-child)::after { left: 4rem; right: calc(-1 * var(--e-6) + 1rem); top: calc(1.5rem - 1px); bottom: auto; width: auto; height: 2px; }
}

/* Rubros: tarjeta con icono de la app (rayo, gota, llave, embudo, copo) */
.rubro .disco { margin-bottom: var(--e-1); }
.rubro p { color: var(--muted); font-size: var(--t-16); }

/* Ítems con icono a la izquierda (precios) */
.item-icono { display: grid; grid-template-columns: 1.5rem minmax(0, 1fr); gap: var(--e-3); align-items: start; }
.item-icono > .icono { width: 1.5rem; height: 1.5rem; margin-top: 0.1em; color: var(--primary-hi); }
.item-icono p { margin-top: var(--e-2); color: var(--muted); }

/* Cifras (etapa de la prueba) */
.cifras { display: flex; flex-wrap: wrap; gap: var(--e-4) var(--e-7); }
.cifra b { display: block; font-family: var(--font-display); font-size: var(--t-34); font-weight: 700; line-height: 1.1; color: var(--brand); }
.cifra span { font-size: var(--t-13); letter-spacing: 0.04em; color: var(--muted); }

/* Aviso de envío del formulario: el script agrega .visible */
.aviso-envio:not(.visible) { display: none; }

/* Etapas de la hoja de ruta */
.etapa .lista-puntos { font-size: var(--t-16); }
.etapa__cabeza { display: flex; align-items: center; justify-content: space-between; gap: var(--e-3); padding-bottom: var(--e-3); border-bottom: 1px solid var(--border); }

/* Tiendas (próximamente): botones neutros, no imitan las insignias oficiales */
.tiendas { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--e-4); }
.tienda {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: var(--e-3);
  min-width: min(100%, 14rem);
  min-height: 3.75rem;
  padding: var(--e-2) var(--e-5);
  border: 1.5px solid var(--border-strong);
  border-radius: var(--r-button);
  background: var(--card);
  color: var(--text);
  text-align: left;
  text-decoration: none;
}
.tienda:hover { border-color: var(--text); }
.tienda > .icono { width: 1.625rem; height: 1.625rem; color: var(--brand); }
.tienda__texto { display: flex; flex-direction: column; line-height: 1.2; }
.tienda__texto small { font-size: var(--t-13); color: var(--muted); }
.tienda__texto b { font-size: var(--t-17); }
.tienda .pildora { position: absolute; top: -0.75rem; right: 0.75rem; }


/* 12 · PIE, FLOTANTE, ACCESIBILIDAD, IMPRESIÓN ============================ */
/* Orden aprobado por Abel el 22/10 (maqueta de UX, mesa_linda\pie_web). Mismos textos, todos
   en 15 px; solo cambia el orden. En el celular: marca, trámites, atención y documentos. En la
   computadora: «marca | documentos» arriba y «Atención al Cliente | Trámites» abajo. Cortes en
   36 y 62 rem. Abajo de todo, una franja más oscura con quién opera, el © y la marca. */
.pie { padding-top: clamp(2.5rem, 7vw, 4.5rem); }
.pie .marca { color: var(--cream); }
.pie__arriba {
  display: grid;
  gap: var(--e-6);
  grid-template-areas: "marca" "tramites" "contacto" "enlaces";
}
.pie__marca { grid-area: marca; display: flex; flex-direction: column; gap: var(--e-3); max-width: 44ch; }
.pie__enlaces {
  grid-area: enlaces;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--e-5) 1.25rem;
}
.pie__titulo { margin-bottom: var(--e-2); font-family: var(--font-text); font-size: var(--t-15); font-weight: 600; color: var(--cream); }
.pie__lista { list-style: none; }
.pie__lista a { display: inline-flex; align-items: center; min-height: 2.75rem; color: var(--cream-soft); font-size: var(--t-15); text-decoration: none; }
.pie__lista a:hover { color: var(--cream); text-decoration: underline; }
/* Atención al Cliente: un dato por renglón, con su icono de línea. */
.pie__contacto { grid-area: contacto; }
.pie__contacto-lista { list-style: none; display: grid; gap: var(--e-2); }
.pie__contacto-lista li {
  display: grid;
  grid-template-columns: 1.25rem minmax(0, 1fr);
  gap: 0.625rem;
  align-items: start;
  color: var(--cream-soft);
  font-size: var(--t-15);
  line-height: 1.55;
  overflow-wrap: anywhere;
}
.pie__contacto-lista a { color: var(--cream); text-underline-offset: 0.22em; }
.pie__icono {
  width: 18px;
  height: 18px;
  margin-top: 3px;
  fill: none;
  stroke: var(--cream-soft);
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
/* Trámites: la frase de las 24 horas y los dos botones de la Disp. 954/2025, en su recuadro. */
.pie__tramites {
  grid-area: tramites;
  align-self: start;
  display: grid;
  gap: var(--e-3);
  padding: 1.25rem 1.375rem;
  border: 1px solid rgba(238, 242, 238, 0.18);
  border-radius: var(--r-card);
  background: rgba(238, 242, 238, 0.04);
}
.pie__tramites .pie__titulo { margin-bottom: 0; }
@media (min-width: 36rem) {
  .pie__enlaces { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 62rem) {
  .pie__arriba {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    grid-template-areas: "marca enlaces" "contacto tramites";
    gap: 2.25rem 3.5rem;
  }
}
.pie__redes { display: flex; gap: var(--e-2); }
.pie__redes a {
  display: grid;
  place-items: center;
  width: var(--tactil);
  height: var(--tactil);
  border: 1px solid var(--cream-soft);
  border-radius: 50%;
  color: var(--cream);
}
.pie__redes a:hover { background: rgba(238, 242, 238, 0.1); }
/* Defensa del Consumidor y, a su derecha, el Data Fiscal de ARCA (F960), en la misma franja. */
.pie__medio {
  display: grid;
  gap: var(--e-5);
  margin-top: 2.5rem;
  padding-top: 1.75rem;
  border-top: 1px solid rgba(238, 242, 238, 0.18);
}
@media (min-width: 36rem) {
  .pie__medio { grid-template-columns: minmax(0, 1fr) auto; align-items: start; }
}
.pie__data-fiscal a { display: inline-block; line-height: 0; border-radius: 4px; }
.pie__data-fiscal img { display: block; width: 64px; height: auto; border-radius: 4px; background: #ffffff; }

/* Franja «Hecho en Argentina · Islas Malvinas, SON ARGENTINAS» (Abel, 16/10). Sobria y
   centrada: una fila si entra; si no, las dos frases se apilan y las rayas se esconden. */
.pie__argentina {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: var(--e-3) var(--e-4);
  margin-top: 1.75rem;
  padding-block: var(--e-5);
  border-top: 1px solid rgba(238, 242, 238, 0.18);
  color: var(--cream);
  font-size: var(--t-15);
}
.pie__arg { display: inline-flex; align-items: center; gap: 0.625rem; margin: 0; }
.pie__arg-bandera { flex: none; width: 31px; height: 20px; border-radius: 2px; box-shadow: 0 0 0 1px rgba(238, 242, 238, 0.25); }
.pie__arg-islas { flex: none; width: 44px; height: 24px; color: #8ec2ee; }
.pie__arg-texto { display: inline-flex; flex-direction: column; line-height: 1.25; }
.pie__arg-texto strong { color: #8ec2ee; font-weight: 700; letter-spacing: 0.05em; font-size: 12px; line-height: 15px; }
.pie__divisor { width: 1px; height: 2.25rem; background: rgba(238, 242, 238, 0.3); }
.pie__raya { flex: 0 1 5rem; height: 1px; background: rgba(238, 242, 238, 0.3); }
@media (max-width: 33rem) {
  /* No entra en una fila: cada frase va en su renglón y la línea del medio sobra. */
  .pie__raya, .pie__divisor { display: none; }
  .pie__argentina { flex-direction: column; gap: var(--e-3); }
}

/* Franja final, de lado a lado y más oscura: «Opera… · CUIT… · Domicilio…», el © y la
   marca registrada. Sigue en 15 px. Crema suave sobre --brand-base: 9,1:1. */
.pie__base {
  background: var(--brand-base);
  color: var(--cream-soft);
  font-size: var(--t-15);
  line-height: 1.55;
}
.pie__base-in { display: grid; gap: 0.625rem; padding-block: 1.375rem 1.625rem; }
.pie__base-fila { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.375rem var(--e-5); }
.pie__sin-corte { white-space: nowrap; }
.pie__base a { display: inline-flex; align-items: center; min-height: 2.75rem; color: var(--cream-soft); }

/* Botón flotante de consultas */
.flotante {
  position: fixed;
  z-index: 40;
  right: max(1rem, env(safe-area-inset-right));
  bottom: max(1rem, env(safe-area-inset-bottom));
  display: inline-flex;
  align-items: center;
  gap: var(--e-2);
  min-height: 3.25rem;
  padding: 0 var(--e-5);
  border-radius: var(--r-pill);
  background: var(--primary);
  color: #fff;
  font-size: var(--t-15);
  font-weight: 600;
  text-decoration: none;
  box-shadow: var(--shadow-high);
}
.flotante:hover { background: var(--primary-hi); }
@media (max-width: 39.99rem) {
  .flotante { width: 3.5rem; height: 3.5rem; padding: 0; justify-content: center; }
  .flotante > span:not(.icono) { display: none; }
  .con-flotante .pie__base { padding-bottom: 6rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

@media print {
  .franja, .barra, .menu, .flotante, .saltar { display: none !important; }
  body { background: #fff; font-size: 11pt; }
  .superficie-marca, .pie__base { background: #fff; color: var(--text); }
  a { color: var(--text); }
}


/* 13 · BASE LEGAL COMPARTIDA =============================================== */
/* Lo que va en TODAS las páginas y lo arma sitio.mjs. No se maqueta a mano.   */

/* --- Franja de los dos botones legales · documento 13 §3 -------------------
   Disp. 954/2025 arts. 1 y 4: enlace «a simple vista, en lugar destacado y en
   el primer acceso», con el texto literal en mayúsculas. Va arriba de todo,
   antes del logo y del menú, en TODAS las páginas, y se ve en el celular sin
   desplazarse y fuera del menú desplegable.

   DISCRETA (decisión de Abel del 24/09): sin cartel. Fondo de la página, sin
   negrita, dos enlaces de texto separados por un punto medio. Lo que NO se
   negocia y por eso está acá escrito: sigue primera, sigue en todas, el texto
   es literal y en mayúsculas, nunca baja de 15 px, el color pasa AA
   (--text 15,3:1 sobre --bg) y el alto de toque llega a 48 px por el relleno
   vertical de los enlaces. «Eliminar mi cuenta» NO va acá: vive solo en el pie
   (existe porque Google Play y App Store piden esa URL pública). */
.franja-legal {
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}
.franja-legal__cinta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0 var(--e-2);
  width: min(100%, var(--ancho));
  margin-inline: auto;
  padding-inline: var(--margen);
  font-size: var(--t-15);   /* nunca letra chica: es un requisito del documento */
  line-height: 1.3;
  text-align: center;
}
.franja-legal__cinta a {
  display: inline-block;
  /* 15 px × 1,3 + 20 = 39,5 px de alto de toque: bien arriba de los 24 px que pide
     la WCAG 2.2 (2.5.8) y de los 40 px cómodos para el pulgar. No llega a los 48 px
     de los botones grandes a propósito: acá manda que sea discreta (Abel, 24/09). */
  padding-block: 10px;
  color: var(--text);
  font-weight: 400;         /* discreta: sin negrita */
  letter-spacing: 0.01em;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.franja-legal__cinta a:hover { text-decoration-thickness: 2px; }
.franja-legal__cinta span { color: var(--muted); }
/* Cuando los dos nombres no entran en un renglón, el punto del medio cuelga al final
   y no separa nada: en pantalla angosta se va. */
@media (max-width: 29.99rem) {
  .franja-legal__cinta span { display: none; }
  .franja-legal__cinta { gap: 0; }
}

/* --- Aviso de canal: la app es el único lugar donde se pide un trabajo -----
   Va debajo de la barra, en todas las páginas. Ni «descargá la app» ni
   insignias de tienda: la app todavía no está publicada. */
.banda--aviso { padding-block: var(--e-3); background: var(--bg-sunk); }
.aviso-canal {
  font-size: var(--t-15);
  line-height: 1.5;
  color: var(--text);
  text-align: center;
  text-wrap: pretty;
}

/* --- Recuadro de emergencias · documento 13 §7 -----------------------------
   Che Maestro no es un servicio de emergencias y lo dice antes que nada. */
.emergencias { margin-block: var(--e-5); }
.emergencias__lista { margin-top: var(--e-3); }
.emergencias__lista > li::before { border-color: var(--tone-bad-fg); }
.emergencias__lista b { font-weight: 600; }
.emergencias__lista .numeros { font-size: var(--t-17); font-weight: 700; }
.emergencias__lista .texto-nota { color: inherit; opacity: 0.85; }

/* --- Pie legal · documento 13 §4 ------------------------------------------
   Va sobre .superficie-marca, que ya pone el verde y pasa los links a crema.
   Las líneas con datos del kit las imprime sitio.mjs solo si el dato está. */
.pie__marca { max-width: 44ch; }
.pie__aviso {
  color: var(--cream);
  font-size: var(--t-15);
  font-weight: 600;
  line-height: 1.55;
}
.pie__datos {
  color: var(--cream-soft);
  font-size: var(--t-15);
  line-height: 1.55;
}
.pie__datos a { color: var(--cream); }

/* Los dos botones legales, otra vez en el pie (dentro del recuadro «Trámites»), más «Eliminar mi cuenta» */
.pie__botones {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--e-2) var(--e-3);
}
.pie__botones a {
  display: inline-flex;
  align-items: center;
  min-height: var(--tactil);
  color: var(--cream);
  font-size: var(--t-15);
  font-weight: 700;
  letter-spacing: 0.02em;
}
/* BOTÓN DE ARREPENTIMIENTO y BOTÓN DE BAJA DE SERVICIO: botón de CONTORNO (27/09).
   Consigna de Abel: «que no estén escondidos pero que no sean neones en la oscuridad».
   La Disp. 954/2025 los pide distinguibles del resto de los enlaces (a Megatone le
   confirmaron una multa por tenerlos con el mismo tamaño y tipografía que los demás):
   por eso llevan borde. Sobrios: sin relleno de color, sin latón, sin animación.
   Borde crema al 50 % sobre --brand ≈ 3,9:1 (WCAG 1.4.11 pide 3:1); texto 11,1:1. */
.pie__botones a.pie__boton-legal {
  flex: 1 1 100%;
  justify-content: center;
  padding-inline: 1.25rem;
  border: 1.5px solid rgba(238, 242, 238, 0.5);
  border-radius: var(--r-field);
  background: transparent;
  text-align: center;
  text-decoration: none;    /* el borde ya dice «botón»: el subrayado sobra */
}
.pie__botones a.pie__boton-legal:hover,
.pie__botones a.pie__boton-legal:focus-visible {
  background: rgba(238, 242, 238, 0.08);
  border-color: var(--cream);
}
/* En celular no entran los dos en una fila: se apilan con el mismo ancho, prolijos.
   «Eliminar mi cuenta» sigue abajo como enlace de texto. Desde 36 rem van en fila. */
@media (min-width: 36rem) {
  .pie__botones a.pie__boton-legal { flex: 0 1 auto; }
}

/* Defensa del Consumidor de la Ciudad y Ventanilla Federal (Ley 2.244 y Disp. 890/2025) */
.pie__autoridades .pie__lista a { text-decoration: underline; text-underline-offset: 0.25em; }

/* --- Páginas cortas y centradas: 404 y la vuelta del pago ------------------ */
.pagina-centrada { padding-block: clamp(var(--e-7), 10vw, var(--e-9)); }
.pagina-centrada .estado-vacio > .acciones { justify-content: center; }
.pagina-centrada .filas { text-align: initial; }

@media print {
  .franja-legal, .banda--aviso { display: none !important; }
}


/* 14 · ROADMAP «HACIA DÓNDE VAMOS» (/roadmap, 02/10) ======================== */
/* La ruta va sobre el verde de la marca: el latón SOLO ahí (línea, puntos,     */
/* trimestres), como manda la regla 3. En celular la ruta es vertical; desde   */
/* 56rem se acuesta en cinco columnas. Nada de animaciones.                     */
.rm-ruta {
  margin-top: var(--e-7);
  padding: var(--e-6) var(--e-5);
  border-radius: 1.25rem;
  background: var(--brand);
  color: var(--cream);
  box-shadow: inset 0 0 0 1px rgba(220, 182, 115, 0.35);
}
.rm-ruta__titulo { margin: 0 0 var(--e-5); font-family: var(--font-display); font-size: 1.5rem; color: var(--cream); }
.rm-ruta__lista { position: relative; list-style: none; margin: 0; padding: 0; }
.rm-ruta__lista::before {
  content: '';
  position: absolute;
  left: 0.5rem; top: 0.5rem; bottom: 0.5rem;
  width: 2px;
  background: var(--accent-soft);
  opacity: 0.6;
}
.rm-hito { position: relative; padding: 0 0 var(--e-5) 2.25rem; }
.rm-hito:last-child { padding-bottom: 0; }
.rm-hito__punto {
  position: absolute;
  left: 0; top: 0.15rem;
  width: 1.125rem; height: 1.125rem;
  border-radius: 50%;
  background: var(--brand);
  border: 2px solid var(--accent-soft);
}
.rm-hito--primero .rm-hito__punto { background: var(--accent-soft); }
.rm-hito__cuando { margin: 0 0 var(--e-1); color: var(--accent-soft); font-size: var(--t-15); letter-spacing: 0.08em; text-transform: uppercase; }
.rm-hito__que { list-style: none; margin: 0; padding: 0; }
.rm-hito__que li { font-family: var(--font-display); font-size: 1.1875rem; line-height: 1.3; color: var(--cream); }
.rm-hito__que li + li { margin-top: 0.25rem; }
.rm-ruta__nota { margin: var(--e-5) 0 0; font-size: var(--t-15); color: var(--cream); }
@media (min-width: 56rem) {
  .rm-ruta { padding: var(--e-7) var(--e-6); }
  .rm-ruta__lista { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: var(--e-4); }
  .rm-ruta__lista::before { left: 0.5rem; right: 0.5rem; top: 0.55rem; bottom: auto; width: auto; height: 2px; }
  .rm-hito { padding: 2.25rem 0 0; }
  .rm-hito__punto { top: 0; left: 0; }
}

/* Por carriles: una tarjeta por carril; en cada fila, el trimestre y sus hitos */
.rm-carriles { display: grid; gap: var(--e-5); }
.rm-carril {
  padding: var(--e-5);
  border-radius: 1rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-top: 4px solid var(--rm-color);
}
.rm-carril--producto { --rm-color: var(--primary); }
.rm-carril--expansion { --rm-color: var(--brand); }
.rm-carril--negocio { --rm-color: var(--muted); }
.rm-carril__nombre { display: flex; align-items: center; gap: var(--e-2); margin: 0 0 var(--e-4); font-family: var(--font-display); font-size: 1.375rem; }
.rm-carril__letra {
  display: inline-grid; place-items: center;
  width: 2rem; height: 2rem;
  border-radius: 0.5rem;
  background: var(--rm-color);
  color: #fff;
  font-family: var(--font-text);
  font-size: var(--t-15);
  font-weight: 700;
}
.rm-carril__filas { margin: 0; }
.rm-fila { display: grid; grid-template-columns: 4.5rem minmax(0, 1fr); gap: var(--e-3); padding: var(--e-3) 0; border-top: 1px solid var(--border); }
.rm-fila:first-child { border-top: 0; padding-top: 0; }
.rm-fila dt { font-size: var(--t-15); font-weight: 700; color: var(--text); }
.rm-fila dt span { display: block; font-weight: 400; color: var(--muted); }
.rm-fila dd { display: flex; flex-wrap: wrap; gap: var(--e-2); margin: 0; }
.rm-chip { display: inline-block; padding: 0.375rem 0.75rem; border-radius: 999px; background: var(--bg-sunk); border: 1px solid var(--border); color: var(--text); font-size: var(--t-15); line-height: 1.3; }
@media (min-width: 56rem) { .rm-carriles { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* El camino: cuatro etapas numeradas; la actual, marcada */
.rm-etapas { display: grid; gap: var(--e-5); list-style: none; margin: 0; padding: 0; }
.rm-etapa { position: relative; padding: var(--e-5) var(--e-5) var(--e-5) 4.25rem; border-radius: 1rem; background: var(--card); border: 1px solid var(--border); }
.rm-etapa--actual { border: 2px solid var(--brand); box-shadow: 0 0 0 4px var(--bg-sunk); }
.rm-etapa__numero {
  position: absolute;
  left: var(--e-5); top: var(--e-5);
  display: inline-grid; place-items: center;
  width: 2.25rem; height: 2.25rem;
  border-radius: 50%;
  background: var(--brand);
  color: var(--cream);
  box-shadow: inset 0 0 0 2px var(--brand), inset 0 0 0 3px var(--accent-soft);
  font-family: var(--font-display);
  font-weight: 700;
}
.rm-etapa__titulo { margin: 0; font-family: var(--font-display); font-size: 1.375rem; }
.rm-etapa__marca {
  display: inline-block;
  margin-left: var(--e-2);
  padding: 0.125rem 0.625rem;
  border-radius: 999px;
  background: var(--brand);
  color: var(--cream);
  font-family: var(--font-text);
  font-size: var(--t-15);
  font-weight: 600;
  vertical-align: middle;
}
.rm-etapa__sub { margin: var(--e-1) 0 var(--e-3); color: var(--muted); font-size: var(--t-15); }
.rm-lista { margin: 0; padding-left: 1.125rem; }
.rm-lista li + li { margin-top: var(--e-2); }
@media (min-width: 56rem) { .rm-etapas { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.rm-pilares { display: grid; gap: var(--e-5); }
@media (min-width: 56rem) { .rm-pilares { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* Lo que nunca vamos a hacer: sobre el verde, con el filete de latón por renglón */
.rm-nunca { padding: var(--e-6) var(--e-5); border-radius: 1.25rem; background: var(--brand); color: var(--cream); }
.rm-nunca__titulo { margin: 0 0 var(--e-4); font-family: var(--font-display); font-size: 1.5rem; color: var(--cream); }
.rm-nunca__lista { list-style: none; margin: 0; padding: 0; }
.rm-nunca__lista li { position: relative; padding-left: 1.75rem; }
.rm-nunca__lista li + li { margin-top: var(--e-3); }
.rm-nunca__lista li::before { content: ''; position: absolute; left: 0; top: 0.65em; width: 0.875rem; height: 2px; background: var(--accent-soft); }
.rm-quien { margin-top: var(--e-7); }
