/* ObraTap · web antes de abrir (lista de espera). Una sola hoja para todas las páginas.
   Taller claro: tinta azul marino sobre blanco frío, el producto real a tamaño real y el naranja solo para actuar.
   Contrato: web-v2/CONTRATO-DE-DISENO.md (sigue vigente). Sin nada de fuera: las letras se sirven desde /activos/fuentes. */

/* ── Letras (Geist y Newsreader, licencia SIL OFL; ver activos/fuentes/LICENCIA-*.txt) ── */
@font-face {
  font-family: "Geist";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("fuentes/geist-latin-wght-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Newsreader";
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url("fuentes/newsreader-latin-opsz-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  color-scheme: light;
  padding-top: env(safe-area-inset-top, 0px);
  padding-bottom: env(safe-area-inset-bottom, 0px);
  --tinta: #12243b;
  --texto: #3a4a5f;
  --suave: #5b6878;
  --fondo: #ffffff;
  --niebla: #f3f5f8;
  --niebla-2: #e8edf3;
  --linea: #e1e6ed;
  --naranja: #f27704;
  --naranja-vivo: #ff8a1f;
  --naranja-texto: #b45309;
  --naranja-suave: #fef1e3;
  --verde: #177e47;
  --verde-suave: #e7f6ee;
  --rojo: #b42318;
  --rojo-suave: #fdecea;
  --app: #f8f7f5;
  --app-linea: #ebe8e2;
  --app-suave: #565e6c;
  --sobre-tinta: #ffffff;
  --sobre-tinta-2: #c9d4e2;
  --tinta-2: #1b3150;
  --tinta-3: #27406a;
  --bisel: #0d1625;
  --foco: #b45309;
  --foco-oscuro: #ffb36b;
  --f-texto: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-doc: "Newsreader", "Iowan Old Style", Georgia, serif;
  --ancho: 1280px;
  --margen: 16px;
  --ease: cubic-bezier(.23, 1, .32, 1);
  --sombra-objeto: 0 1px 2px rgba(18, 36, 59, .06), 0 30px 70px -26px rgba(18, 36, 59, .38);
  --t-cuerpo: clamp(18px, 0.19vw + 17.26px, 20px);
  --t-entradilla: clamp(20px, 0.29vw + 18.9px, 23px);
  --t-h1: clamp(40px, 3.43vw + 26.6px, 76px);
  --t-h2: clamp(34px, 1.72vw + 27.3px, 52px);
  --t-h3: clamp(23px, 0.48vw + 21.1px, 28px);
}
@media (min-width: 768px) { :root { --margen: 32px; } }
@media (min-width: 1200px) { :root { --margen: 40px; } }

html { -webkit-text-size-adjust: 100%; scroll-padding-top: 100px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; background: var(--fondo); color: var(--texto); font: 400 var(--t-cuerpo)/1.55 var(--f-texto); -webkit-font-smoothing: antialiased; overflow-x: clip; }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--fondo); }
*, *::before, *::after { box-sizing: border-box; }
h1, h2, h3, h4, p, ul, ol, figure, dl, dd, blockquote { margin: 0; padding: 0; }
ul, ol { list-style: none; }
h1, h2, h3, h4 { color: var(--tinta); text-wrap: balance; }
h1 { font-size: var(--t-h1); line-height: 1.02; font-weight: 700; letter-spacing: -0.035em; }
h2 { font-size: var(--t-h2); line-height: 1.06; font-weight: 700; letter-spacing: -0.03em; }
h3 { font-size: var(--t-h3); line-height: 1.18; font-weight: 650; letter-spacing: -0.015em; }
p, li { text-wrap: pretty; }
a { color: inherit; }
img { display: block; max-width: 100%; height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
svg.i { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; flex: none; }
:focus-visible { outline: 3px solid var(--foco); outline-offset: 3px; border-radius: 8px; }
.oscura :focus-visible { outline-color: var(--foco-oscuro); }
.oscura .lista-caja :focus-visible { outline-color: var(--foco); }
[hidden] { display: none !important; }
.oculto { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.envoltura { width: 100%; max-width: calc(var(--ancho) + 2 * var(--margen)); margin-inline: auto; padding-left: max(var(--margen), env(safe-area-inset-left, 0px)); padding-right: max(var(--margen), env(safe-area-inset-right, 0px)); }

/* ── Botones ── */
.boton { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 56px; padding: 0 26px; border: 0; border-radius: 14px; background: var(--naranja); color: var(--tinta); font-weight: 650; font-size: 18px; letter-spacing: -0.005em; line-height: 1.15; text-align: center; text-decoration: none; cursor: pointer; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .32), 0 8px 20px -10px rgba(242, 119, 4, .75); transition: background-color .16s ease, transform .16s var(--ease); }
.boton:hover { background: var(--naranja-vivo); }
.boton:active { transform: scale(.97); }
.boton:disabled { cursor: progress; background: var(--naranja); opacity: .75; }
/* La nota va con el icono dentro del texto: si se parte en dos líneas, el icono no se queda lejos (390 px) */
.nota-cta { display: block; font-size: 17px; line-height: 1.45; font-weight: 500; color: var(--suave); text-wrap: balance; }
.nota-cta svg.i { display: inline-block; width: 20px; height: 20px; margin-right: 8px; vertical-align: -4px; color: var(--verde); }
.enlace { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 4px; border: 0; background: none; font-weight: 600; font-size: 18px; color: var(--tinta); text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 5px; cursor: pointer; }

/* ── Barra ── */
.barra { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: rgba(255, 255, 255, .9); -webkit-backdrop-filter: saturate(1.6) blur(14px); backdrop-filter: saturate(1.6) blur(14px); border-bottom: 1px solid transparent; transition: border-color .2s ease; }
.barra.con-borde { border-bottom-color: var(--linea); }
.barra-dentro { display: flex; align-items: center; gap: 24px; height: 64px; }
.logo { display: block; flex: none; border-radius: 8px; }
.logo img { height: 40px; width: auto; }
.menu { display: none; }
.barra-acciones { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.boton-barra { min-height: 44px; padding: 0 16px; font-size: 16px; border-radius: 12px; box-shadow: none; white-space: nowrap; }
.barra-largo { display: none; }
@media (max-width: 359px) { .logo img { height: 34px; } .barra-dentro { gap: 12px; } .boton-barra { padding: 0 12px; } }

/* ── Portada ── */
.portada { position: relative; padding-top: 28px; background: linear-gradient(180deg, var(--fondo) 0, var(--fondo) 58%, var(--niebla) 58%, var(--niebla) 100%); }
.portada::before { content: ""; position: absolute; inset: 0 0 auto; height: 720px; background-image: linear-gradient(rgba(18, 36, 59, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(18, 36, 59, .045) 1px, transparent 1px); background-size: 48px 48px; background-position: center top; -webkit-mask-image: radial-gradient(ellipse 60% 70% at 50% 0%, #000 0%, transparent 72%); mask-image: radial-gradient(ellipse 60% 70% at 50% 0%, #000 0%, transparent 72%); pointer-events: none; }
.portada-texto { position: relative; display: grid; justify-items: center; text-align: center; }
.antetitulo { max-width: 22em; font-size: 17px; line-height: 1.4; font-weight: 550; color: var(--texto); text-wrap: balance; }
.antetitulo svg.i { display: inline-block; width: 22px; height: 22px; margin-right: 8px; vertical-align: -5px; color: var(--naranja); }
.portada h1 { margin-top: 16px; max-width: 15.6em; }
.entradilla { margin-top: 20px; display: grid; gap: 2px; max-width: 37em; font-size: var(--t-entradilla); line-height: 1.45; color: var(--texto); }
.entradilla p { text-wrap: balance; }
.portada-accion { margin-top: 28px; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px 22px; }
/* La oferta de fundador, bajo el botón (sin movimiento: en la portada solo se mueve el aviso) */
.oferta-portada { margin-top: 22px; display: grid; justify-items: center; gap: 8px; max-width: 34em; }
.oferta-antes { display: inline-flex; align-items: center; min-height: 32px; padding: 0 14px; border-radius: 999px; background: var(--naranja-suave); color: var(--naranja-texto); font-size: 16px; font-weight: 700; }
.oferta-texto { font-size: 16px; line-height: 1.45; font-weight: 550; color: var(--tinta); text-wrap: balance; }
.pantalla > video, .ventana video { display: block; width: 100%; height: auto; }

.escenario-marco { position: relative; margin-top: 52px; }
.escenario { position: relative; }
.ventana { display: none; }
.capa-frontal { position: relative; display: grid; justify-items: center; padding-top: 66px; }
.aviso-push { position: absolute; z-index: 2; top: 0; left: 50%; translate: -50% 0; width: min(94%, 372px); display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 12px; align-items: start; padding: 11px 14px; border-radius: 22px; background: rgba(255, 255, 255, .86); -webkit-backdrop-filter: saturate(1.8) blur(18px); backdrop-filter: saturate(1.8) blur(18px); box-shadow: 0 0 0 1px rgba(18, 36, 59, .07), 0 22px 44px -18px rgba(18, 36, 59, .45); text-align: left; font-size: 15.5px; line-height: 1.3; color: var(--texto); }
.aviso-push img { width: 40px; height: 40px; border-radius: 10px; }
.aviso-cab { display: flex; justify-content: space-between; gap: 8px; font-size: 13.5px; color: var(--suave); }
.aviso-cab b { color: var(--tinta); font-weight: 650; letter-spacing: .01em; }
.aviso-tit { margin-top: 2px; font-weight: 650; color: var(--tinta); }

/* ── Móvil (marco) ── */
.movil { position: relative; width: min(100%, 380px); padding: 8px; border-radius: 46px; background: var(--bisel); box-shadow: inset 0 0 0 1.5px #2b3b55, var(--sombra-objeto); }
.pantalla { container-type: inline-size; position: relative; overflow: hidden; border-radius: 38px; background: var(--barra, #fff); }
.barra-app { --barra: #f8f7f5; }
.barra-f7 { --barra: #f7f6f5; }
.barra-gris { --barra: #909192; }
.barra-blanca { --barra: #ffffff; }
.estado { position: relative; display: flex; align-items: center; justify-content: space-between; height: 11.5cqw; padding: 0 7.2cqw 0 8.6cqw; background: var(--barra, #fff); color: #0b0b0b; font: 650 4cqw/1 var(--f-texto); }
.estado-oscuro { color: #111; }
.isla { position: absolute; left: 50%; top: 2.7cqw; width: 28.5cqw; height: 8cqw; translate: -50% 0; border-radius: 99px; background: #04060a; }
.estado .senales { display: flex; align-items: center; gap: 1.4cqw; }
.estado .senales svg { height: 3cqw; width: auto; fill: currentColor; }
.pantalla > img { width: 100%; }

/* ── Demostración ── */
.demo { background: var(--niebla); padding-block: 88px 96px; }
.demo-rejilla { display: grid; gap: 40px; }
.demo-texto { min-width: 0; }
.sub { margin-top: 16px; font-size: var(--t-entradilla); line-height: 1.45; color: var(--texto); max-width: 30em; }
.pasos { margin-top: 32px; display: grid; gap: 4px; }
.paso { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 0 16px; padding: 14px 0; border-top: 1px solid var(--linea); }
.paso:first-child { border-top: 0; }
.paso-n { grid-row: span 2; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--fondo); box-shadow: inset 0 0 0 1.5px var(--linea); font-weight: 700; font-size: 18px; color: var(--suave); transition: background-color .25s ease, color .25s ease, box-shadow .25s ease; }
.paso h3 { align-self: center; font-size: 22px; color: var(--suave); transition: color .25s ease; }
.paso p { grid-column: 2; margin-top: 4px; font-size: 18px; color: var(--suave); }
.paso[aria-current="step"] .paso-n { background: var(--naranja); color: var(--tinta); box-shadow: none; }
.paso[aria-current="step"] h3 { color: var(--tinta); }
.paso[aria-current="step"] p { color: var(--texto); }
.paso.hecho .paso-n { background: var(--tinta); color: #fff; box-shadow: none; }
.paso.hecho h3 { color: var(--tinta); }
.chips { grid-column: 2; margin-top: 14px; display: flex; flex-wrap: wrap; gap: 8px; }
.chip { min-height: 46px; padding: 0 18px; border: 0; border-radius: 999px; background: var(--fondo); box-shadow: inset 0 0 0 1.5px var(--linea); font-size: 17px; font-weight: 550; color: var(--tinta); cursor: pointer; transition: background-color .16s ease, box-shadow .16s ease, transform .16s var(--ease); }
.chip:hover { box-shadow: inset 0 0 0 1.5px var(--tinta); }
.chip:active { transform: scale(.97); }
.chip[aria-checked="true"] { background: var(--tinta); color: #fff; box-shadow: none; }
.demo-fin { margin-top: 28px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.demo-movil { display: grid; justify-items: center; gap: 14px; min-width: 0; }
.demo-quien { display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 14px; border-radius: 999px; background: var(--fondo); box-shadow: inset 0 0 0 1px var(--linea); font-size: 16px; font-weight: 600; color: var(--tinta); }
.demo-quien svg.i { width: 18px; height: 18px; color: var(--naranja-texto); }
.movil-demo .pantalla { --barra: var(--app); aspect-ratio: 390 / 800; display: flex; flex-direction: column; }

/* Pantallas de la demostración (recreación fiel de la app y de la página del cliente) */
.d-vista { position: relative; flex: 1; display: flex; flex-direction: column; min-height: 0; background: var(--app); color: #2a3445; font-size: 16px; line-height: 1.35; }
.d-vista.entra { animation: d-entra .28s var(--ease) both; }
@keyframes d-entra { from { opacity: 0; transform: translateY(10px); } }
.d-cab { display: flex; align-items: center; gap: 10px; padding: 8px 16px 12px; border-bottom: 1px solid var(--app-linea); }
.d-cab svg.i { width: 22px; height: 22px; color: var(--tinta); }
.d-cab b { display: block; font-size: 18px; font-weight: 650; color: var(--tinta); }
.d-cab small { display: block; font-size: 14.5px; color: var(--app-suave); }
.d-pild { margin-left: auto; display: inline-flex; align-items: center; gap: 5px; height: 28px; padding: 0 11px; border-radius: 999px; font-size: 14px; font-weight: 650; }
.d-pild.verde { background: var(--verde-suave); color: var(--verde); }
.d-pild svg.i { width: 15px; height: 15px; stroke-width: 2.4; }
.d-guia { display: flex; align-items: center; gap: 8px; margin: 12px 16px 0; padding: 9px 12px; border-radius: 14px; background: #f0eee9; font-size: 15px; font-weight: 600; color: var(--tinta); }
.d-guia span { display: inline-flex; align-items: center; gap: 6px; }
.d-guia i { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; font-style: normal; font-size: 12.5px; }
.d-guia .ok i { background: var(--verde); color: #fff; }
.d-guia .ya i { background: var(--naranja); color: var(--tinta); }
.d-guia .no { color: var(--app-suave); }
.d-guia .no i { box-shadow: inset 0 0 0 1.5px #ccc7bc; }
.d-guia hr { flex: 1; height: 1px; border: 0; background: #d8d4cc; margin: 0; }
.d-cuerpo { flex: 1; min-height: 0; display: flex; flex-direction: column; gap: 12px; padding: 12px 16px 16px; overflow: hidden; }
.d-tarjeta { background: #fff; border: 1px solid var(--app-linea); border-radius: 16px; box-shadow: 0 1px 2px rgba(25, 26, 31, .04), 0 1px 3px rgba(25, 26, 31, .06); }
.d-cliente { display: flex; align-items: center; gap: 12px; padding: 12px 14px; }
.d-ini { flex: none; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: #e9eef5; font-weight: 650; font-size: 15px; color: var(--tinta); }
.d-cliente small { display: block; font-size: 12.5px; font-weight: 650; letter-spacing: .04em; color: var(--app-suave); }
.d-cliente b { display: block; font-size: 16.5px; font-weight: 650; color: var(--tinta); }
.d-cliente span { display: block; font-size: 14.5px; color: var(--app-suave); }
.d-fotos { display: grid; gap: 10px; padding: 14px; }
.d-fotos b { font-size: 16px; color: var(--tinta); }
.d-fotos span { display: flex; align-items: center; gap: 10px; padding: 12px; border-radius: 12px; border: 1.5px dashed #d8d4cc; font-size: 15px; font-weight: 600; color: var(--tinta); }
.d-fotos svg.i { width: 20px; height: 20px; }
.d-apagado { opacity: .38; }
.d-dictar { display: grid; justify-items: center; gap: 10px; padding: 20px 18px; text-align: center; }
.d-mic { position: relative; display: grid; place-items: center; width: 72px; height: 72px; border-radius: 50%; background: var(--naranja); color: var(--tinta); }
.d-mic svg.i { width: 32px; height: 32px; stroke-width: 2.1; }
.escuchando .d-mic::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 2px solid var(--naranja); animation: d-pulso 1.2s ease-out infinite; }
@keyframes d-pulso { from { transform: scale(.92); opacity: .9; } to { transform: scale(1.35); opacity: 0; } }
.d-dictar-tit { font-size: 21px; font-weight: 650; color: var(--tinta); }
.d-ejemplo { font-size: 16px; color: var(--app-suave); max-width: 19em; }
.d-transcripcion { min-height: 4.2em; font-size: 17px; line-height: 1.4; color: var(--tinta); font-weight: 500; }
.d-transcripcion:empty { display: none; }
.d-boton-naranja, .d-boton-tinta, .d-boton-doc { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 0 20px; border: 0; border-radius: 14px; font-weight: 650; font-size: 17px; cursor: pointer; transition: transform .16s var(--ease), filter .16s ease; }
.d-boton-naranja { width: 100%; background: var(--naranja); color: var(--tinta); }
.d-boton-tinta { background: var(--tinta); color: #fff; }
.d-boton-doc { width: 100%; background: #1b1b1b; color: #fff; }
.d-boton-naranja:active, .d-boton-tinta:active, .d-boton-doc:active { transform: scale(.97); }
.d-boton-naranja:disabled, .d-boton-doc:disabled { cursor: not-allowed; filter: grayscale(.2) opacity(.45); }
.d-boton-naranja svg.i, .d-boton-tinta svg.i { width: 20px; height: 20px; }
.d-dicho { display: flex; gap: 10px; padding: 12px 14px; border-radius: 14px; background: var(--tinta); color: #eef2f7; font-size: 15.5px; line-height: 1.4; }
.d-dicho svg.i { width: 18px; height: 18px; margin-top: 2px; color: #ffb36b; }
.d-lineas { padding: 2px 14px; }
.d-linea { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 12px; padding: 11px 0; border-top: 1px solid var(--app-linea); }
.d-linea:first-child { border-top: 0; }
.d-linea b { font-weight: 550; color: var(--tinta); font-size: 16px; }
.d-linea span { font-weight: 650; color: var(--tinta); font-variant-numeric: tabular-nums; white-space: nowrap; }
.d-linea small { grid-column: 1 / -1; font-size: 14.5px; color: var(--app-suave); font-variant-numeric: tabular-nums; }
.d-linea.aparece { animation: d-entra .3s var(--ease) both; }
.d-iva { display: flex; justify-content: space-between; align-items: center; padding: 11px 14px; font-size: 15.5px; }
.d-iva b { color: var(--tinta); }
.d-pie { display: flex; align-items: center; gap: 12px; padding: 12px 16px; background: #fff; border-top: 1px solid var(--app-linea); }
.d-pie small { display: block; font-size: 12.5px; font-weight: 650; letter-spacing: .04em; color: var(--app-suave); }
.d-pie b { display: block; font-size: 23px; font-weight: 700; color: var(--tinta); font-variant-numeric: tabular-nums; letter-spacing: -.01em; }
.d-pie .d-boton-tinta, .d-pie .d-boton-naranja { margin-left: auto; width: auto; }

.d-doc { background: #fff; color: #1b1b1b; }
.d-doc-barra { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 16px 12px; border-bottom: 1px solid #ecebe7; }
.d-doc-barra b { font-size: 16.5px; font-weight: 650; }
.d-doc-barra span { height: 30px; display: inline-flex; align-items: center; padding: 0 12px; border-radius: 999px; box-shadow: inset 0 0 0 1px #d6d3cc; font-size: 14px; }
.d-doc-cuerpo { flex: 1; min-height: 0; overflow: hidden; padding: 16px 18px 8px; }
.d-marca { display: flex; align-items: center; gap: 12px; }
.d-sello { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--tinta), inset 0 0 0 4px #fff, inset 0 0 0 5px rgba(18, 36, 59, .35); font: 400 19px/1 var(--f-doc); color: var(--tinta); }
.d-marca b { font-size: 18px; font-weight: 650; }
.d-doc-tit { margin-top: 16px; font: 300 40px/1 var(--f-doc); letter-spacing: -.015em; color: #1b1b1b; }
.d-asunto { margin-top: 8px; font-size: 17px; font-weight: 600; }
.d-para { margin-top: 4px; font-size: 15px; color: #555; }
.d-para b { color: #1b1b1b; font-weight: 600; }
.d-datos { display: flex; gap: 22px; margin-top: 14px; padding-top: 12px; border-top: 1px solid #ecebe7; }
.d-datos dt { font-size: 13.5px; color: #6b6b6b; }
.d-datos dd { font-size: 15.5px; font-weight: 600; font-variant-numeric: tabular-nums; }
.d-doc-lineas { margin-top: 14px; border-top: 1.5px solid #1b1b1b; }
.d-doc-linea { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 12px; padding: 9px 0; border-bottom: 1px solid #ecebe7; font-size: 15.5px; }
.d-doc-linea small { font-size: 13.5px; color: #6b6b6b; font-variant-numeric: tabular-nums; }
.d-doc-linea span { font-variant-numeric: tabular-nums; white-space: nowrap; align-self: end; }
.d-doc-tot { margin: 10px 0 0 auto; width: min(100%, 230px); display: grid; gap: 3px; font-size: 14.5px; font-variant-numeric: tabular-nums; }
.d-doc-tot div { display: flex; justify-content: space-between; color: #555; }
.d-doc-pie { display: flex; align-items: center; gap: 12px; padding: 12px 16px 16px; border-top: 1px solid #ecebe7; }
.d-doc-pie small { display: block; font-size: 14px; color: #6b6b6b; }
.d-doc-pie b { display: block; font: 400 28px/1.05 var(--f-doc); font-variant-numeric: lining-nums tabular-nums; }
.d-doc-pie .d-boton-doc { margin-left: auto; width: auto; flex: 1; max-width: 62%; }

.d-hoja { flex: 1; display: flex; flex-direction: column; gap: 10px; padding: 18px 18px 18px; background: #fff; border-radius: 22px 22px 0 0; box-shadow: 0 -12px 30px -10px rgba(0, 0, 0, .25); margin-top: 26px; }
.d-hoja.entra { animation: d-sube .34s var(--ease) both; }
@keyframes d-sube { from { transform: translateY(40%); } }
.d-hoja-fondo { background: #8e8f91; }
.d-hoja-tit { font: 400 30px/1.05 var(--f-doc); color: #1b1b1b; }
.d-hoja-sub { font-size: 15px; color: #6b6b6b; font-variant-numeric: tabular-nums; }
.d-campo-tit { margin-top: 4px; font-size: 14.5px; font-weight: 550; color: #333; }
.d-campo { display: flex; align-items: center; min-height: 48px; padding: 0 14px; border-radius: 12px; box-shadow: inset 0 0 0 1.5px #d6d3cc; font-size: 17px; }
.d-firma { position: relative; flex: 1; min-height: 150px; border-radius: 14px; border: 1.5px dashed #c9c5bc; background: #fdfcfa; touch-action: none; }
.d-firma canvas { position: absolute; inset: 0; width: 100%; height: 100%; border-radius: inherit; cursor: crosshair; touch-action: none; }
.d-firma-guia { position: absolute; left: 10%; right: 10%; bottom: 30%; border-top: 1px solid #d6d3cc; padding-top: 6px; text-align: center; font-size: 15px; color: #8a8a8a; pointer-events: none; }
.d-firma.con-firma .d-firma-guia { visibility: hidden; }
.d-hoja-acc { display: flex; justify-content: space-between; gap: 10px; }
.d-hoja-acc button { min-height: 40px; padding: 0 2px; border: 0; background: none; font-size: 15.5px; font-weight: 600; color: #1b1b1b; text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
.d-legal { font-size: 13.5px; line-height: 1.4; color: #6b6b6b; }

.d-push { position: absolute; z-index: 3; top: 6px; left: 8px; right: 8px; display: grid; grid-template-columns: 38px minmax(0, 1fr); gap: 10px; padding: 11px 12px; border-radius: 20px; background: rgba(255, 255, 255, .9); -webkit-backdrop-filter: blur(16px) saturate(1.8); backdrop-filter: blur(16px) saturate(1.8); box-shadow: 0 0 0 1px rgba(18, 36, 59, .08), 0 18px 34px -14px rgba(18, 36, 59, .5); font-size: 14.5px; line-height: 1.3; color: var(--texto); }
.d-push img { width: 38px; height: 38px; border-radius: 9px; }
.d-push .aviso-cab { font-size: 12.5px; }
.d-push b.t { display: block; margin-top: 2px; font-size: 15px; font-weight: 650; color: var(--tinta); }
.d-push.llega { animation: d-push .5s var(--ease) both; }
@keyframes d-push { from { opacity: 0; transform: translateY(-120%); } }
.d-aceptado { padding: 14px; border-radius: 16px; background: #fff7ef; box-shadow: inset 0 0 0 1.5px #f6b06a; }
.d-aceptado p:first-child { font-size: 13.5px; font-weight: 700; letter-spacing: .05em; color: var(--naranja-texto); }
.d-aceptado-firma { margin-top: 10px; height: 92px; padding: 8px 12px; border-radius: 12px; background: #fff; box-shadow: inset 0 0 0 1px #f0d9c2; overflow: hidden; }
.d-aceptado-firma img { display: block; width: 100%; height: 100%; object-fit: contain; }
.d-aceptado-quien { margin-top: 10px; font-size: 16px; font-weight: 600; color: var(--tinta); }
.d-aceptado-cuando { font-size: 14.5px; color: var(--app-suave); }

/* ── Problema → solución ── */
.ventaja { padding-block: 88px; }
.ventaja + .ventaja { padding-top: 24px; }
.ventaja-rejilla { display: grid; gap: 44px; align-items: center; }
.ventaja-texto { min-width: 0; display: grid; gap: 22px; justify-items: start; }
.queja { position: relative; max-width: 26em; padding: 14px 18px; border-radius: 20px 20px 20px 6px; background: var(--niebla); font-size: 18px; line-height: 1.4; font-weight: 500; color: var(--texto); }
.queja-quien { display: block; margin-bottom: 4px; font-size: 14.5px; font-weight: 650; color: var(--suave); }
.ventaja h2 { max-width: 13em; }
.ventaja-texto > p { max-width: 30em; color: var(--texto); }
.ventaja-imagen { position: relative; isolation: isolate; display: grid; justify-items: center; min-width: 0; padding: 36px 14px; border-radius: 28px; background: linear-gradient(180deg, var(--niebla) 0%, var(--niebla-2) 100%); overflow: hidden; }
.ventaja-imagen::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(rgba(18, 36, 59, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(18, 36, 59, .05) 1px, transparent 1px); background-size: 40px 40px; -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000, transparent 75%); mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000, transparent 75%); }

/* ── VeriFactu (en preparación) e IVA de reformas ── */
.verifactu { background: var(--tinta); color: var(--sobre-tinta-2); padding-block: 96px; }
.verifactu-rejilla { display: grid; gap: 48px; align-items: center; }
.verifactu h2 { color: #fff; max-width: 13em; }
.aviso-iva { margin-top: 36px; display: grid; gap: 8px; padding: 22px 24px; border-radius: 20px; background: var(--tinta-2); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1); }
.aviso-iva .fecha { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 700; color: #ffb36b; letter-spacing: .02em; }
.aviso-iva .fecha svg.i { width: 18px; height: 18px; }
.aviso-iva p { font-size: 18px; }
.aviso-iva p b { color: #fff; font-weight: 650; }
.vf-imagen { display: grid; justify-items: center; min-width: 0; }

/* ── Todo lo demás ── */
.incluye { padding-block: 96px; }
.cabecera-seccion { display: grid; gap: 14px; max-width: 46em; }
.cabecera-seccion p { font-size: var(--t-entradilla); line-height: 1.45; }
.cabecera-seccion.centrada { margin-inline: auto; justify-items: center; text-align: center; }
.bento { margin-top: 44px; display: grid; gap: 16px; }
.b { display: grid; align-content: start; gap: 12px; padding: 28px 26px; border-radius: 24px; background: var(--fondo); box-shadow: inset 0 0 0 1px var(--linea); }
.b svg.i { width: 30px; height: 30px; color: var(--tinta); margin-bottom: 6px; }
.b h3 { font-size: 23px; }
.b p { font-size: 18px; }
.b-gestor { background: var(--niebla); box-shadow: none; }
.archivos { margin-top: 10px; display: grid; gap: 10px; }
.archivo { display: flex; align-items: center; gap: 12px; min-width: 0; padding: 12px 14px; border-radius: 14px; background: var(--fondo); box-shadow: 0 1px 2px rgba(18, 36, 59, .06), 0 0 0 1px var(--linea); font-size: 16px; font-weight: 550; color: var(--tinta); }
.archivo span:last-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.archivo .ext { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; font-size: 12px; font-weight: 800; letter-spacing: .04em; }
.ext.zip { background: var(--naranja-suave); color: var(--naranja-texto); }
.ext.xls { background: var(--verde-suave); color: var(--verde); }

/* ── Oficios ── */
.oficios { background: var(--niebla); padding-block: 96px; }
.rejilla-oficios { margin-top: 40px; display: grid; gap: 12px; }
.oficio { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 4px 16px; align-items: start; width: 100%; padding: 20px; border: 0; border-radius: 22px; background: var(--fondo); box-shadow: inset 0 0 0 1px var(--linea); text-align: left; cursor: pointer; transition: box-shadow .18s ease, transform .18s var(--ease); }
.oficio:hover { box-shadow: inset 0 0 0 1.5px var(--tinta), 0 14px 30px -18px rgba(18, 36, 59, .4); }
.oficio:active { transform: scale(.985); }
.oficio .ic { grid-row: span 2; display: grid; place-items: center; width: 64px; height: 64px; border-radius: 18px; background: var(--naranja-suave); color: var(--naranja-texto); }
.oficio .ic svg.i { width: 40px; height: 40px; stroke-width: 1.7; }
.oficio b { align-self: center; font-size: 21px; font-weight: 650; color: var(--tinta); letter-spacing: -.01em; }
.oficio span { font-size: 16.5px; line-height: 1.4; color: var(--texto); }

/* ── Precios ── */
.precios { padding-block: 96px; }
.plan { display: flex; flex-direction: column; gap: 10px; padding: 30px 28px; border-radius: 26px; background: var(--fondo); box-shadow: inset 0 0 0 1px var(--linea); min-width: 0; }
.precio { display: flex; align-items: baseline; gap: 8px; margin-top: 8px; color: var(--tinta); }
.precio b { font-size: 64px; line-height: 1; font-weight: 700; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.precio span { font-size: 18px; font-weight: 550; color: var(--suave); }
.precio-nota { font-size: 16px; color: var(--suave); min-height: 1.5em; }
.plan-incluye { display: grid; align-content: start; gap: 12px; padding-top: 22px; border-top: 1px solid var(--linea); }
.plan-incluye li { display: flex; gap: 10px; align-items: flex-start; font-size: 17.5px; color: var(--tinta); }
.plan-incluye li svg.i { width: 20px; height: 20px; margin-top: 3px; color: var(--verde); stroke-width: 2.4; }
.plan-unico { margin: 16px auto 0; max-width: 920px; display: grid; gap: 26px; }
.plan-precio { display: grid; justify-items: start; gap: 10px; min-width: 0; }
.plan-prueba { display: inline-flex; align-items: center; min-height: 34px; padding: 0 14px; border-radius: 999px; background: var(--naranja-suave); color: var(--naranja-texto); font-size: 16px; font-weight: 700; }
.rentable { margin-top: 6px; padding: 14px 16px; border-radius: 14px; background: var(--niebla); font-size: 17.5px; line-height: 1.45; font-weight: 550; color: var(--tinta); }
.plan-precio .boton { margin-top: 8px; width: 100%; }

/* Plan fundador: la única pieza con el borde que gira despacio (contrato: 9 s por vuelta, parado fuera de pantalla) */
@property --giro { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
.fundador { position: relative; isolation: isolate; margin: 40px auto 0; max-width: 920px; display: grid; justify-items: start; gap: 10px; padding: 28px 24px; border-radius: 26px; background: var(--tinta); color: var(--sobre-tinta-2); }
.fundador::before { content: ""; position: absolute; inset: 0; z-index: -1; padding: 2px; border-radius: inherit; background: conic-gradient(from var(--giro, 0deg), var(--naranja) 0deg, rgba(242, 119, 4, .15) 110deg, rgba(242, 119, 4, .15) 250deg, var(--naranja) 360deg); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); }
.fundador-chip { display: inline-flex; align-items: center; min-height: 32px; padding: 0 14px; border-radius: 999px; background: var(--naranja); color: var(--tinta); font-size: 16px; font-weight: 700; }
.fundador-antes { margin-top: 6px; font-size: 18px; font-weight: 600; color: var(--sobre-tinta-2); }
.fundador-quien { font-size: 23px; line-height: 1.25; font-weight: 700; letter-spacing: -.015em; color: #fff; text-wrap: balance; }
.fundador-que { font-size: 19px; line-height: 1.4; font-weight: 600; color: #ffb36b; text-wrap: balance; }
.fundador-letra { margin-top: 8px; padding-top: 14px; border-top: 1px solid rgba(255, 255, 255, .14); display: grid; gap: 6px; width: 100%; }
.fundador-letra li { position: relative; padding-left: 16px; font-size: 16px; line-height: 1.45; color: var(--sobre-tinta-2); }
.fundador-letra li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 5px; height: 5px; border-radius: 50%; background: rgba(255, 255, 255, .45); }

.primero { padding-block: 72px; }
.razones { margin-top: 32px; display: grid; gap: 26px; }
.razones li { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 2px 16px; align-items: start; }
.razones .ic { grid-row: span 2; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; background: var(--naranja-suave); color: var(--naranja-texto); }
.razones .ic svg.i { width: 30px; height: 30px; }
.razones b { font-size: 21px; line-height: 1.25; font-weight: 650; color: var(--tinta); }
.razones span:not(.ic) { font-size: 18px; color: var(--texto); }
.letra-pequena { margin-top: 22px; text-align: center; font-size: 16px; color: var(--suave); }
.confianza { margin: 64px auto 0; max-width: 920px; padding-top: 40px; border-top: 1px solid var(--linea); display: grid; gap: 26px; }
.confianza li { display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 2px 14px; }
.confianza svg.i { grid-row: span 2; width: 28px; height: 28px; color: var(--tinta); }
.confianza b { font-size: 19px; font-weight: 650; color: var(--tinta); }
.confianza span { font-size: 17px; }

/* ── Preguntas ── */
.preguntas { background: var(--niebla); padding-block: 96px; }
.lista-preguntas { margin-top: 36px; max-width: 52em; display: grid; gap: 10px; }
.lista-preguntas details { border-radius: 18px; background: var(--fondo); box-shadow: inset 0 0 0 1px var(--linea); }
.lista-preguntas summary { display: flex; align-items: center; gap: 16px; min-height: 64px; padding: 14px 22px; cursor: pointer; list-style: none; white-space: normal; font-size: 19px; font-weight: 600; color: var(--tinta); }
.lista-preguntas summary::-webkit-details-marker { display: none; }
.lista-preguntas summary span { flex: 1 1 auto; min-width: 0; }
.lista-preguntas summary svg.i { flex: 0 0 auto; width: 22px; height: 22px; transition: transform .2s var(--ease); }
.lista-preguntas details[open] summary svg.i { transform: rotate(45deg); }
.respuesta { display: grid; gap: 10px; padding: 0 22px 22px; max-width: 44em; font-size: 18px; }
.respuesta-fecha { font-size: 16px; color: var(--suave); }

/* ── Lista de espera (formulario) ── */
.lista { background: var(--tinta); padding-block: 80px; }
.lista-dentro { display: grid; justify-items: center; text-align: center; gap: 16px; }
.lista-icono { display: none; width: 88px; height: 88px; border-radius: 22px; box-shadow: 0 16px 40px -14px rgba(0, 0, 0, .6); }
.lista h2 { color: #fff; max-width: 14em; }
.lista .sub { margin-top: 0; color: var(--sobre-tinta-2); }
.lista-caja { width: 100%; max-width: 560px; margin-top: 12px; padding: 26px 20px; border-radius: 26px; background: var(--fondo); color: var(--texto); text-align: left; box-shadow: 0 30px 70px -30px rgba(0, 0, 0, .6); }
.formulario { display: grid; gap: 20px; }
.campo { display: grid; gap: 8px; }
.campo > label { font-size: 17px; font-weight: 650; color: var(--tinta); }
.opcional { font-weight: 500; color: var(--suave); }
.formulario input[type="email"], .desplegable select { display: block; width: 100%; min-height: 56px; margin: 0; padding: 0 16px; border: 0; border-radius: 14px; background: var(--fondo); box-shadow: inset 0 0 0 1.5px #b9c3d0; font-size: 18px; color: var(--tinta); -webkit-appearance: none; appearance: none; transition: box-shadow .16s ease; }
.formulario input[type="email"]:hover, .desplegable select:hover { box-shadow: inset 0 0 0 1.5px var(--tinta); }
.formulario input[type="email"]:focus, .desplegable select:focus { box-shadow: inset 0 0 0 2px var(--tinta); }
.formulario [aria-invalid="true"] { box-shadow: inset 0 0 0 2px var(--rojo); }
.desplegable { position: relative; }
.desplegable select { padding-right: 48px; text-overflow: ellipsis; cursor: pointer; }
.desplegable::after { content: ""; position: absolute; right: 20px; top: 50%; width: 10px; height: 10px; border-right: 2px solid var(--tinta); border-bottom: 2px solid var(--tinta); transform: translateY(-70%) rotate(45deg); pointer-events: none; }
.campo > .casilla { display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 12px; align-items: start; font-size: 17px; line-height: 1.45; font-weight: 500; color: var(--texto); cursor: pointer; }
.casilla input { width: 24px; height: 24px; margin: 1px 0 0; accent-color: var(--naranja); cursor: pointer; }
.casilla input[aria-invalid="true"] { outline: 2px solid var(--rojo); outline-offset: 2px; box-shadow: none; }
.casilla a { color: var(--tinta); font-weight: 600; text-underline-offset: 3px; }
.error-campo { font-size: 16px; line-height: 1.4; font-weight: 600; color: var(--rojo); }
.formulario .boton { width: 100%; }
.formulario .nota-cta { justify-self: center; text-align: center; }
.error-envio { padding: 12px 14px; border-radius: 12px; background: var(--rojo-suave); color: #8a1c13; font-size: 17px; font-weight: 600; }
/* Campo trampa: invisible para las personas, visible para los robots que rellenan todo */
.trampa { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.resultado { display: grid; gap: 12px; }
.resultado h3 { font-size: 26px; line-height: 1.2; overflow-wrap: anywhere; }
.resultado h3:focus, .resultado h3:focus-visible { outline: none; }
.resultado p { font-size: 18px; color: var(--texto); overflow-wrap: anywhere; }

/* ── Pie ── */
.pie { padding-block: 64px 40px; background: var(--fondo); }
.pie-rejilla { display: grid; gap: 36px; }
.pie-marca img { height: 64px; width: auto; }
.pie-marca p { margin-top: 16px; max-width: 24em; font-size: 17px; }
.pie-col { display: grid; align-content: start; gap: 6px; font-size: 17px; }
.pie-tit { margin-bottom: 6px; font-size: 15px; font-weight: 700; color: var(--tinta); letter-spacing: .02em; }
.pie-col a { padding: 4px 0; text-decoration: none; color: var(--texto); }
.pie-col a:hover { color: var(--tinta); text-decoration: underline; }
.correo { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.correo b, .correo a { font-weight: 600; color: var(--tinta); }
.correo b { user-select: all; }
.copiar { min-height: 36px; padding: 0 12px; border: 0; border-radius: 10px; background: var(--niebla); font-size: 15px; font-weight: 600; color: var(--tinta); cursor: pointer; }
.pie-corto { padding-block: 32px; border-top: 1px solid var(--linea); }
.pie-enlaces { display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: 16px; color: var(--suave); }
.pie-enlaces a { color: var(--texto); }

.tostada { position: fixed; z-index: 70; left: 50%; bottom: calc(20px + env(safe-area-inset-bottom, 0px)); translate: -50% 0; width: max-content; max-width: calc(100% - 32px); padding: 14px 20px; border-radius: 16px; background: var(--tinta); color: #fff; font-size: 16.5px; font-weight: 500; box-shadow: 0 18px 40px -16px rgba(0, 0, 0, .55); }
.tostada.entra { animation: d-entra .26s var(--ease) both; }

/* ── Páginas interiores: legales, resultado sin JavaScript y 404 ── */
.pagina-sola { padding-block: 56px 88px; }
.legal { max-width: 44em; }
.legal h1 { font-size: clamp(34px, 1.72vw + 27.3px, 52px); line-height: 1.06; letter-spacing: -0.03em; }
.legal .entradilla-legal { margin-top: 16px; font-size: var(--t-entradilla); line-height: 1.45; }
.legal h2 { margin-top: 44px; font-size: var(--t-h3); line-height: 1.18; letter-spacing: -0.015em; }
.legal p, .legal li { margin-top: 12px; font-size: 18px; line-height: 1.55; }
.legal ul { margin-top: 12px; display: grid; gap: 4px; }
.legal ul li { position: relative; margin-top: 0; padding-left: 18px; }
.legal ul li::before { content: ""; position: absolute; left: 2px; top: .7em; width: 6px; height: 6px; border-radius: 50%; background: var(--naranja); }
.legal dl { margin-top: 14px; display: grid; gap: 10px; padding: 18px 20px; border-radius: 18px; background: var(--niebla); }
.legal dt { font-size: 16px; font-weight: 650; color: var(--suave); }
.legal dd { font-size: 18px; color: var(--tinta); }
.legal a { color: var(--tinta); font-weight: 600; text-underline-offset: 3px; }
.legal .actualizado { margin-top: 44px; font-size: 16px; color: var(--suave); }
.resultado-pagina, .pagina-404 { max-width: 36em; margin-inline: auto; display: grid; justify-items: start; gap: 16px; }
.resultado-pagina h1, .pagina-404 h1 { font-size: clamp(34px, 1.72vw + 27.3px, 52px); line-height: 1.08; letter-spacing: -0.03em; overflow-wrap: anywhere; }
.resultado-pagina p, .pagina-404 p { font-size: var(--t-entradilla); line-height: 1.45; overflow-wrap: anywhere; }
.resultado-pagina .boton, .pagina-404 .boton { margin-top: 12px; }

/* ═════════ Tableta ═════════ */
@media (min-width: 768px) {
  .barra-dentro { height: 76px; }
  .logo img { height: 44px; }
  .boton-barra { min-height: 46px; padding: 0 18px; font-size: 16.5px; }
  .portada { padding-top: 64px; }
  .antetitulo { max-width: none; font-size: 18px; }
  .oferta-texto { font-size: 17px; }
  .movil { width: 412px; padding: 11px; border-radius: 56px; }
  .pantalla { border-radius: 45px; }
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .b-gestor { grid-column: 1 / -1; }
  .rejilla-oficios { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .oficio { grid-template-columns: minmax(0, 1fr); min-height: 196px; align-content: start; gap: 10px; padding: 24px 22px; }
  .oficio .ic { grid-row: auto; }
  .oficio b { margin-top: 6px; }
  .fundador { padding: 36px 40px; }
  .fundador-quien { font-size: 26px; }
  .fundador-que { font-size: 21px; }
  .confianza { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lista-caja { padding: 34px 36px; }
  .lista-icono { display: block; }
  .pie-rejilla { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .pie-marca { grid-column: 1 / -1; }
  .pagina-sola { padding-block: 80px 112px; }
}

/* ═════════ Ordenador ═════════ */
@media (min-width: 1024px) {
  .barra-dentro { height: 84px; gap: 36px; }
  .logo img { height: 48px; }
  .menu { display: flex; gap: 4px; }
  .menu a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border-radius: 10px; font-size: 17px; font-weight: 500; color: var(--texto); text-decoration: none; }
  .menu a:hover { color: var(--tinta); background: var(--niebla); }
  .boton-barra { min-height: 48px; padding: 0 22px; font-size: 17px; }
  .boton-grande { min-height: 60px; padding: 0 32px; font-size: 19px; }
  .portada { padding-top: 48px; background: linear-gradient(180deg, var(--fondo) 0, var(--fondo) 640px, var(--niebla) 640px, var(--niebla) 100%); }
  /* En el ordenador, la etiqueta va al principio de la frase: una fila menos para que el producto asome en los portátiles */
  .oferta-portada { display: block; max-width: 46em; text-wrap: balance; }
  .oferta-antes { display: inline-flex; min-height: 30px; margin-right: 10px; vertical-align: 1px; }
  .oferta-texto { display: inline; }
  .escenario-marco { margin-top: 44px; }
  .escenario { --k: .74; width: 1280px; height: 872px; zoom: var(--k); }
  .ventana { display: block; position: absolute; top: 0; right: 0; width: 1110px; border-radius: 16px; overflow: hidden; background: #fff; box-shadow: 0 0 0 1px rgba(18, 36, 59, .08), 0 40px 90px -40px rgba(18, 36, 59, .45); }
  .ventana-barra { display: flex; align-items: center; gap: 8px; height: 42px; padding: 0 16px; background: #f1f3f6; border-bottom: 1px solid var(--linea); }
  .ventana-barra i { width: 12px; height: 12px; border-radius: 50%; background: #d5dae2; }
  .ventana-barra b { margin-inline: auto; display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 70px; border-radius: 8px; background: #fff; font-size: 14px; font-weight: 500; color: var(--suave); }
  .ventana-barra b svg.i { width: 14px; height: 14px; }
  .ventana img { width: 100%; }
  .capa-frontal { position: absolute; inset: 0; display: block; padding: 0; pointer-events: none; }
  .movil-portada { position: absolute; left: 24px; top: 126px; }
  .aviso-push { left: 330px; top: 66px; translate: none; width: 404px; padding: 15px 17px; font-size: 16px; grid-template-columns: 44px minmax(0, 1fr); }
  .aviso-push img { width: 44px; height: 44px; }
  .demo { padding-block: 128px; }
  .demo-rejilla { grid-template-columns: minmax(0, 1fr) 460px; gap: 72px; align-items: center; }
  .demo-movil { align-self: start; }
  .ventaja { padding-block: 128px; }
  .ventaja + .ventaja { padding-top: 40px; }
  .ventaja-rejilla { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 72px; }
  .ventaja-imagen { padding: 56px 24px; border-radius: 36px; }
  .ventaja.al-reves .ventaja-imagen { order: -1; }
  .verifactu { padding-block: 128px; }
  .verifactu-rejilla { grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: 72px; }
  .incluye, .oficios, .precios, .preguntas { padding-block: 128px; }
  .primero { padding-block: 104px; }
  .razones { margin-top: 44px; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; }
  .razones li { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .razones .ic { grid-row: auto; width: 64px; height: 64px; border-radius: 18px; }
  .razones .ic svg.i { width: 36px; height: 36px; }
  .razones b { font-size: 23px; }
  .fundador { padding: 40px 44px; }
  .plan-unico { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; padding: 40px 44px; }
  .plan-incluye { padding-top: 0; padding-left: 44px; border-top: 0; border-left: 1px solid var(--linea); align-content: center; }
  .bento { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .b-gestor { grid-column: span 2; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 28px; align-content: center; }
  .b-gestor .archivos { grid-column: 2; grid-row: 1 / span 3; align-self: center; margin-top: 0; }
  .lista { padding-block: 128px; }
  .pie-rejilla { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
  .pie-marca { grid-column: auto; }
}
/* Portátiles con poca altura (1366×643, 1536×740): un poco menos de aire para que se vea el producto */
@media (min-width: 1024px) and (max-height: 820px) { .portada { padding-top: 28px; } .portada h1 { font-size: 68px; } .entradilla { margin-top: 16px; } .portada-accion { margin-top: 22px; } .oferta-portada { margin-top: 16px; } .escenario-marco { margin-top: 28px; } }
@media (min-width: 1200px) { .escenario { --k: .875; } .barra-largo { display: inline; } .barra-corto { display: none; } }
@media (min-width: 1360px) { .escenario { --k: 1; } }

/* Movimiento: solo si nadie ha pedido menos. Profundidad al bajar (idea de Qonto) solo si el navegador lo sabe hacer. */
@media (prefers-reduced-motion: no-preference) {
  .aviso-push { animation: llega-aviso .62s var(--ease) .9s backwards; }
  @keyframes llega-aviso { from { opacity: 0; transform: translateY(-16px) scale(.97); } }
  @supports (animation-timeline: view()) {
    @media (min-width: 1024px) {
      .capa-frontal { animation: subir-frente linear both; animation-timeline: view(); animation-range: cover 0% cover 100%; }
      @keyframes subir-frente { from { transform: translateY(44px); } to { transform: translateY(-44px); } }
    }
    .verifactu { animation: abrir-franja linear both; animation-timeline: view(); animation-range: entry 0% entry 70%; }
    @keyframes abrir-franja { from { clip-path: inset(0 3.5% round 40px); } to { clip-path: inset(0 0 round 0); } }
  }
  .fundador::before { animation: girar-borde 9s linear infinite paused; }
  .fundador.a-la-vista::before { animation-play-state: running; }
  @keyframes girar-borde { to { --giro: 360deg; } }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}
