/*
  Tamizia · landings de los módulos (/pagos/, /bajas/).
  La base es la de la portada (index.html lleva la suya en línea, por velocidad de la primera
  carga): tinta sobre blanco, Geist, lienzos pintados y el verde solo donde Tamizia actúa. Lo
  propio de cada módulo es su demo, una ventana del producto que se anima sola al verla.
  Las rutas de imagen son relativas a /assets/.
*/
:root {
  --bg: #ffffff; --ink: #0d0d0d; --ink-2: #3a3a3a; --muted: #6f6f6f; --line: #e7e7e5; --soft: #f5f5f3;
  --green: #0d6b5e; --green-2: #3fb39b; --green-soft: #e2f1ec; --red: #b42318; --red-soft: #fde4e2; --red-line: #f2c9c5;
  --amber: #8a5300; --amber-soft: #fdf1dc;
  --sans: "Geist", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --w: 1200px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--sans); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: clip; }
img, video { max-width: 100%; display: block; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; border-radius: 8px; }
.wrap { max-width: var(--w); margin: 0 auto; padding-left: max(24px, env(safe-area-inset-left, 0px)); padding-right: max(24px, env(safe-area-inset-right, 0px)); }
h1, h2, h3 { margin: 0; font-weight: 600; text-wrap: balance; }
h2 { font-size: clamp(34px, 4.4vw, 54px); line-height: 1.04; letter-spacing: -0.035em; }
p { margin: 0; }
.lead { font-size: clamp(18px, 1.6vw, 20px); color: var(--muted); line-height: 1.55; }
.sr { position: absolute; left: -9999px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 46px; padding: 0 22px; border-radius: 999px; font: 500 15px/1 var(--sans); text-decoration: none; border: 0; cursor: pointer; transition: background .15s; white-space: nowrap; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #2b2b2b; }
.block { padding-block: clamp(96px, 12vw, 160px) 0; }
.center-head { display: flex; flex-direction: column; gap: 20px; align-items: center; text-align: center; max-width: 780px; margin: 0 auto clamp(40px, 5vw, 64px); }

/* ── barra (igual que la portada) ─────────────────────── */
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 31; background: rgba(255,255,255,.9); }
.nav { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 30; padding: 10px max(10px, env(safe-area-inset-left, 0px)) 0 max(10px, env(safe-area-inset-right, 0px)); pointer-events: none; }
.nav-in { pointer-events: auto; position: relative; max-width: 1160px; margin: 0 auto; height: 60px; display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 0 8px 0 18px; border-radius: 999px; background: rgba(255,255,255,.66); backdrop-filter: saturate(1.8) blur(18px); -webkit-backdrop-filter: saturate(1.8) blur(18px);
  border: 1px solid rgba(13,107,94,.10); box-shadow: 0 1px 0 rgba(255,255,255,.7) inset, 0 10px 30px -18px rgba(13,107,94,.45); transition: box-shadow .3s, background .3s; }
.nav.scrolled .nav-in { background: rgba(255,255,255,.84); box-shadow: 0 1px 0 rgba(255,255,255,.7) inset, 0 14px 40px -16px rgba(13,107,94,.5); }
.nav-in::after { content: ""; position: absolute; left: 26px; right: 26px; bottom: -1px; height: 2px; border-radius: 2px; transform-origin: left; transform: scaleX(var(--leido, 0)); background: linear-gradient(90deg, rgba(13,107,94,0), #0d6b5e 30%, #3fb39b); opacity: .9; }
.marca-mod { display: flex; align-items: center; gap: 10px; min-width: 0; }
.logo { display: inline-flex; align-items: center; gap: 9px; font-weight: 600; font-size: 19px; letter-spacing: -0.03em; text-decoration: none; }
.logo svg { width: 24px; height: 24px; flex: none; }
.modulo-etq { font-size: 13px; font-weight: 500; color: var(--green); background: var(--green-soft); border-radius: 999px; padding: 3px 11px; white-space: nowrap; text-decoration: none; }
.nav-links { display: flex; gap: 2px; font-size: 14.5px; color: var(--ink-2); }
.nav-links a { text-decoration: none; padding: 7px 14px; border-radius: 999px; transition: color .2s, background .2s; }
.nav-links a:hover, .nav-links a.on { color: var(--green); background: var(--green-soft); }
.nav-cta { display: flex; align-items: center; gap: 6px; }
.nav-cta .entrar { font-size: 14.5px; font-weight: 500; text-decoration: none; padding: 8px 14px; border-radius: 999px; }
.nav-cta .entrar:hover { background: var(--green-soft); color: var(--green); }
.nav-cta .btn { height: 44px; padding: 0 20px; }

/* ── hero: lienzo, titular y la demo flotando encima ───── */
.hero { padding: 10px 10px 0; }
.hero-panel { position: relative; overflow: hidden; border-radius: clamp(24px, 3vw, 40px); background: #dfe9e3 center/cover; padding: clamp(48px, 5.5vw, 76px) 0 clamp(36px, 4vw, 64px); text-align: center; }
.hero-panel::before { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse 60% 50% at 50% 30%, rgba(250,246,234,.8), rgba(250,246,234,0) 70%); pointer-events: none; }
.hero-in { position: relative; display: flex; flex-direction: column; align-items: center; gap: 22px; }
.hero h1 { font-size: clamp(40px, 6.2vw, 82px); line-height: 0.98; letter-spacing: -0.05em; max-width: 1000px; color: #0b1311; }
.hero h1 .l2 { color: var(--green); }
.hero .lead { max-width: 640px; color: #33413c; }
.hero h1 .w { display: inline-block; animation: palabra .9s cubic-bezier(.2,.8,.2,1) calc(.08s + var(--i) * .07s) both; }
.hero-in > :not(h1) { animation: palabra .9s cubic-bezier(.2,.8,.2,1) both; }
.hero-in > .lead { animation-delay: .6s; } .hero-in > .join { animation-delay: .75s; } .hero-in > .trust { animation-delay: .85s; }
@keyframes palabra { from { opacity: 0; transform: translateY(.38em) rotate(2deg); filter: blur(14px); } }
.join { display: flex; align-items: center; gap: 8px; width: 100%; max-width: 540px; border: 1px solid rgba(255,255,255,.9); border-radius: 999px; padding: 7px 7px 7px 20px; background: rgba(255,255,255,.92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: 0 1px 2px rgba(0,0,0,.05), 0 20px 50px -14px rgba(10,50,42,.35); }
.join:focus-within { box-shadow: 0 0 0 4px rgba(13,107,94,.18), 0 20px 50px -14px rgba(10,50,42,.4); }
.join input { flex: 1; min-width: 0; border: 0; outline: 0; font: 400 16px var(--sans); background: transparent; color: var(--ink); height: 44px; }
.trust { list-style: none; margin: -6px 0 0; padding: 0; display: flex; gap: 8px 22px; flex-wrap: wrap; justify-content: center; font-size: 14px; color: #33413c; }
.trust li { display: inline-flex; align-items: center; gap: 7px; }
.trust li::before { content: ""; width: 16px; height: 16px; border-radius: 50%; background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m4.6 8.3 2.2 2.2 4.6-4.8' stroke='%23fff' stroke-width='1.8' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px no-repeat; }
.hero-demo { position: relative; margin: clamp(36px, 4.5vw, 60px) auto 0; width: min(880px, calc(100% - 32px)); animation: palabra 1s cubic-bezier(.2,.8,.2,1) 1s both; text-align: left; }

/* ── la ventana del producto (demo) ─────────────────────── */
.ventana { background: #fff; border-radius: 24px; box-shadow: 0 1px 2px rgba(0,0,0,.05), 0 40px 90px -34px rgba(20,50,42,.5); overflow: hidden; font-size: 14.5px; }
.v-cab { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.v-tit { display: flex; align-items: center; gap: 11px; min-width: 0; }
.v-ico { width: 34px; height: 34px; border-radius: 10px; background: var(--soft); display: grid; place-items: center; flex: none; color: var(--ink-2); }
.v-ico svg { width: 18px; height: 18px; }
.v-tit div { display: flex; flex-direction: column; line-height: 1.3; min-width: 0; }
.v-tit b { font-weight: 500; font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.v-tit small { font-size: 12.5px; color: var(--muted); }
.v-sello { display: inline-flex; align-items: center; gap: 7px; font-size: 12.5px; color: var(--green); white-space: nowrap; }
.v-sello svg { width: 15px; height: 15px; }
.v-pie { display: flex; align-items: center; gap: 10px; margin: 4px 12px 12px; padding: 12px 15px; border-radius: 14px; background: var(--soft); font-size: 14px; color: var(--muted); transition: background .4s, color .4s; }
.v-pie svg { width: 17px; height: 17px; flex: none; }
.v-pie.bien { background: var(--green-soft); color: var(--green); }
.v-pie.mal { background: var(--red-soft); color: var(--red); }
.v-pie b { font-weight: 500; }

/* estados en píldora: el mismo idioma que el panel */
.est { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 500; border-radius: 999px; padding: 3px 10px; white-space: nowrap; background: var(--soft); color: var(--muted); transition: background .3s, color .3s; }
.est::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.est.ok { background: var(--green-soft); color: var(--green); }
.est.no { background: var(--red-soft); color: var(--red); }
.est.ambar { background: var(--amber-soft); color: var(--amber); }
.est.mira { animation: mira 1s ease-in-out infinite; }
@keyframes mira { 50% { opacity: .45; } }

/* Pagos · filas de la remesa */
.rem { list-style: none; margin: 0; padding: 6px 18px; }
.rem li { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1.25fr) 96px 150px; gap: 14px; align-items: center; padding: 12px 0; border-bottom: 1px dashed var(--line); transition: background .3s; }
.rem li:last-child { border-bottom: 0; }
.rem .prov { font-weight: 500; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rem .iban { font: 400 13px var(--mono); color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rem .imp { font-variant-numeric: tabular-nums; text-align: right; color: var(--ink-2); }
.rem .est { justify-self: end; }
.rem li.parar .iban { color: var(--red); }
.rem .porque { grid-column: 1 / -1; display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s cubic-bezier(.2,.8,.2,1); }
.rem .porque > div { overflow: hidden; }
.rem .porque p { margin-top: 2px; padding: 11px 14px; border-radius: 12px; background: var(--red-soft); color: #7a1a12; font-size: 13.5px; line-height: 1.5; }
.rem .porque code { font: 500 12.5px var(--mono); }
.rem li.parar .porque { grid-template-rows: 1fr; }

/* Pagos · correo con el aviso encima (la extensión en Gmail) */
.correo { font-size: 14px; }
.correo-cab { padding: 16px 20px 12px; display: flex; flex-direction: column; gap: 6px; border-bottom: 1px solid var(--line); }
.correo-cab b { font-size: 17px; font-weight: 500; letter-spacing: -.01em; }
.correo-de { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 13px; }
.correo-de i { width: 30px; height: 30px; border-radius: 50%; background: #e9e4f5; color: #4b3a86; display: grid; place-items: center; font-style: normal; font-weight: 600; font-size: 13px; flex: none; }
.correo-de span b { font-size: 13.5px; color: var(--ink); font-weight: 500; }
.correo-de .dom { color: var(--red); font-weight: 500; }
.correo-cuerpo { padding: 14px 20px 20px; display: flex; flex-direction: column; gap: 10px; color: var(--ink-2); line-height: 1.6; }
.correo-cuerpo .iban-c { font: 500 13.5px var(--mono); background: #fff4e5; border-radius: 5px; padding: 1px 5px; }
.aviso-tz { margin: 14px 20px 0; border-radius: 14px; background: var(--red-soft); padding: 13px 16px; display: flex; flex-direction: column; gap: 3px; opacity: 0; transform: translateY(-8px) scale(.98); transition: opacity .5s, transform .6s cubic-bezier(.2,1.3,.4,1); }
.aviso-tz.on { opacity: 1; transform: none; }
.aviso-tz small { font-size: 11px; color: var(--muted); letter-spacing: .02em; }
.aviso-tz b { color: var(--red); font-weight: 600; font-size: 15px; }
.aviso-tz span { font-size: 13px; color: #3a3a3a; }
.aviso-tz span code { font: 500 12.5px var(--mono); }
.adjunto { display: inline-flex; align-items: center; gap: 9px; border: 1px solid var(--line); border-radius: 12px; padding: 8px 12px; font-size: 13px; width: max-content; max-width: 100%; }
.adjunto i { font: 600 10px var(--sans); font-style: normal; color: #fff; background: #d93025; border-radius: 4px; padding: 3px 5px; }

/* Bajas · la lista de una baja */
.persona { display: flex; align-items: center; gap: 12px; }
.avatar { width: 38px; height: 38px; border-radius: 50%; background: #f0e3d4; color: #7a4a1c; display: grid; place-items: center; font-weight: 600; font-size: 14px; flex: none; }
.progreso { display: flex; align-items: center; gap: 12px; padding: 12px 18px 4px; font-size: 13px; color: var(--muted); }
.progreso .barra { flex: 1; height: 6px; border-radius: 6px; background: var(--soft); overflow: hidden; }
.progreso .barra i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, #0d6b5e, #3fb39b); border-radius: inherit; transition: width .5s cubic-bezier(.2,.8,.2,1); }
.progreso b { font: 500 13px var(--mono); color: var(--ink); font-variant-numeric: tabular-nums; }
.tareas { list-style: none; margin: 0; padding: 6px 18px; }
.tareas li { display: grid; grid-template-columns: 22px 34px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 11px 0; border-bottom: 1px dashed var(--line); }
.tareas li:last-child { border-bottom: 0; }
.caja { width: 20px; height: 20px; border-radius: 6px; border: 1.5px solid #cfcfcc; display: grid; place-items: center; transition: background .25s, border-color .25s, transform .25s cubic-bezier(.2,1.6,.4,1); }
.caja svg { width: 14px; height: 14px; color: #fff; opacity: 0; transition: opacity .2s; }
.tareas li.hecha .caja { background: var(--green); border-color: var(--green); transform: scale(1.08); }
.tareas li.hecha .caja svg { opacity: 1; }
.serv { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; font-weight: 600; font-size: 13.5px; color: #fff; flex: none; }
.tareas .t { display: flex; flex-direction: column; min-width: 0; line-height: 1.35; }
.tareas .t b { font-weight: 500; transition: color .3s; }
.tareas .t small { color: var(--muted); font-size: 12.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tareas li.hecha .t b { color: var(--muted); text-decoration: line-through; text-decoration-color: rgba(0,0,0,.25); }
.via { font-size: 12px; color: var(--muted); border: 1px solid var(--line); border-radius: 999px; padding: 2px 9px; white-space: nowrap; }

/* Bajas · lo que la extensión apunta de cada persona */
.cuentas-p { list-style: none; margin: 0; padding: 4px 18px 10px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 18px; }
.cuentas-p li { display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 10px; align-items: center; padding: 10px 0; border-bottom: 1px dashed var(--line); opacity: 0; transform: translateY(6px); transition: opacity .4s, transform .5s cubic-bezier(.2,.8,.2,1); }
.cuentas-p.visto li { opacity: 1; transform: none; transition-delay: calc(var(--k) * 90ms); }
.cuentas-p .serv { width: 30px; height: 30px; border-radius: 9px; font-size: 12.5px; }
.cuentas-p div { display: flex; flex-direction: column; line-height: 1.3; min-width: 0; }
.cuentas-p b { font-weight: 500; font-size: 14px; }
.cuentas-p small { font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cuentas-p .nueva small { color: var(--amber); }

/* ── dos columnas: ventana a un lado, texto al otro ──────── */
.fila { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.fila.flip { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); }
.fila.flip .lienzo { order: 2; }
.lienzo { border-radius: clamp(20px, 2.6vw, 32px); background: #e7efe9 center/cover; padding: clamp(22px, 4vw, 48px) clamp(14px, 3vw, 40px); min-width: 0; }
.copy { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.copy h2 { font-size: clamp(30px, 3.6vw, 46px); }
.senales { list-style: none; margin: 6px 0 0; padding: 0; display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.senales li { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 14px; padding: 15px 0; border-bottom: 1px solid var(--line); }
.senales .s-ico { width: 28px; height: 28px; border-radius: 9px; display: grid; place-items: center; background: var(--red-soft); color: var(--red); }
.senales .s-ico.ambar { background: var(--amber-soft); color: var(--amber); }
.senales .s-ico.verde { background: var(--green-soft); color: var(--green); }
.senales .s-ico svg { width: 16px; height: 16px; }
.senales b { display: block; font-weight: 500; font-size: 16px; letter-spacing: -.01em; }
.senales span { color: var(--muted); font-size: 15px; line-height: 1.5; }
.senales code { font: 500 13.5px var(--mono); color: var(--ink-2); }

/* ── cómo funciona en tres pasos ───────────────────────── */
.pasos3 { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.pasos3 li { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 26px; border-radius: 24px; background: var(--soft); }
.pasos3 .paso-ico { width: 44px; height: 44px; border-radius: 14px; background: #fff; color: var(--green); display: grid; place-items: center; box-shadow: 0 10px 24px -16px rgba(10,40,34,.5); }
.pasos3 .paso-ico svg { width: 22px; height: 22px; }
.pasos3 small { position: absolute; right: 24px; top: 24px; font: 500 13px var(--mono); color: #a1a8a5; }
.pasos3 b { font-weight: 600; font-size: 19px; letter-spacing: -.02em; margin-top: 6px; }
.pasos3 p { color: var(--muted); font-size: 15.5px; line-height: 1.55; }
.donde { list-style: none; margin: 22px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.donde li { display: inline-flex; align-items: center; gap: 7px; font-size: 14px; color: var(--ink-2); border: 1px solid var(--line); border-radius: 999px; padding: 7px 14px 7px 11px; }
.donde svg { width: 17px; height: 17px; color: var(--green); }

/* ── frase grande entre secciones ───────────────────────── */
.frase { max-width: 900px; margin: 0 auto; text-align: center; font-size: clamp(26px, 3.2vw, 40px); line-height: 1.2; letter-spacing: -.03em; font-weight: 500; text-wrap: balance; }
.frase em { font-style: normal; color: var(--red); }
.frase .g { color: var(--green); }

/* ── privacidad ─────────────────────────────────────────── */
.priv { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(28px, 4vw, 64px); align-items: start; }
.evento { border: 1px solid var(--line); border-radius: 22px; background: #fff; overflow: hidden; }
.evento-cab { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 12px 16px; border-bottom: 1px solid var(--line); font-size: 13.5px; font-weight: 500; }
.evento-cab span { display: inline-flex; align-items: center; gap: 8px; }
.evento-cab i { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px var(--green-soft); }
.evento-cab small { font: 500 11.5px var(--mono); color: var(--muted); }
.evento pre { margin: 0; padding: 14px 16px; background: #fafaf8; font: 400 13px/1.7 var(--mono); color: #3a3a3a; overflow-x: auto; }
.evento pre b { font-weight: 500; color: var(--ink); }
.evento pre s { text-decoration: none; color: var(--green); }
.evento p { padding: 10px 16px 14px; font-size: 13.5px; color: var(--muted); }
.garantias { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.garantias li { display: flex; align-items: flex-start; gap: 18px; padding: 24px; border-radius: 22px; background: #fff; border: 1px solid var(--line); transition: transform .3s cubic-bezier(.2,.8,.2,1), box-shadow .3s, border-color .3s; }
.garantias li:hover { transform: translateY(-3px); border-color: rgba(13,107,94,.3); box-shadow: 0 24px 50px -30px rgba(10,40,34,.45); }
.garantias .g-ico { width: 42px; height: 42px; border-radius: 13px; background: var(--green-soft); color: var(--green); display: grid; place-items: center; flex: none; }
.garantias .g-ico svg { width: 21px; height: 21px; }
.garantias b { display: block; font-weight: 600; font-size: 17px; letter-spacing: -.015em; margin-bottom: 4px; }
.garantias span { color: var(--muted); font-size: 15px; line-height: 1.5; }

/* ── otro módulo / preguntas / cierre / pie ────────────── */
.otro { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding: clamp(22px, 3vw, 32px); border: 1px solid var(--line); border-radius: 28px; text-decoration: none; transition: border-color .2s, box-shadow .3s, transform .3s cubic-bezier(.2,.8,.2,1); }
.otro:hover { border-color: rgba(13,107,94,.3); box-shadow: 0 24px 50px -30px rgba(10,40,34,.45); transform: translateY(-2px); }
.otro div { display: flex; flex-direction: column; gap: 4px; min-width: 0; flex: 1 1 320px; }
.otro small { font-size: 13px; color: var(--green); font-weight: 500; }
.otro b { font-weight: 600; font-size: clamp(20px, 2.2vw, 26px); letter-spacing: -.03em; }
.otro span { color: var(--muted); font-size: 15.5px; }
.otro .flecha { font-size: 15px; font-weight: 500; white-space: nowrap; }
.faq-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); }
.faq { border-top: 1px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 22px 44px 22px 0; font-size: 18px; font-weight: 500; letter-spacing: -0.01em; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 17px; font-size: 26px; font-weight: 300; color: var(--muted); transition: transform .25s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 44px 24px 0; color: var(--muted); }
.final { margin-top: clamp(96px, 12vw, 160px); border-radius: clamp(24px, 3vw, 40px); background: #dfe9e3 center/cover; padding: clamp(64px, 10vw, 130px) 24px; display: flex; flex-direction: column; align-items: center; gap: 28px; text-align: center; }
.final h2 { font-size: clamp(36px, 5.6vw, 70px); max-width: 860px; letter-spacing: -0.045em; }
footer { padding-block: 40px calc(40px + env(safe-area-inset-bottom, 0px)); font-size: 14px; color: var(--muted); }
.pie-web { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 40px; padding-top: 56px; border-top: 1px solid var(--line); }
.pie-marca { display: flex; flex-direction: column; gap: 12px; max-width: 320px; }
.pie-marca .logo { color: var(--ink); width: max-content; font-size: 17px; }
.pie-marca p { font-size: 14.5px; line-height: 1.55; }
.pie-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.pie-cols div { display: flex; flex-direction: column; gap: 10px; }
.pie-cols b { font-weight: 500; color: var(--ink); font-size: 14px; margin-bottom: 2px; }
.pie-cols a { color: var(--muted); text-decoration: none; font-size: 14.5px; width: max-content; transition: color .15s; }
.pie-cols a:hover { color: var(--ink); }
.pie-legal { display: flex; justify-content: space-between; gap: 8px 24px; flex-wrap: wrap; margin-top: 48px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 13px; }

/* aparecer al llegar (la clase la pone el observador del final de cada página) */
.aparece { opacity: 0; transform: translateY(18px); transition: opacity .8s cubic-bezier(.2,.8,.2,1), transform .8s cubic-bezier(.2,.8,.2,1); }
.aparece.visto { opacity: 1; transform: none; }

@media (max-width: 960px) {
  .nav-links { display: none; }
  .fila, .fila.flip, .priv, .faq-grid { grid-template-columns: minmax(0, 1fr); }
  .fila.flip .lienzo { order: 0; }
  .pasos3 { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 700px) {
  .rem li { grid-template-columns: minmax(0, 1fr) auto; gap: 2px 12px; }
  .rem .iban { grid-column: 1; grid-row: 2; font-size: 12px; }
  .rem .imp { grid-column: 2; grid-row: 1; }
  .rem .est { grid-column: 2; grid-row: 2; }
  .tareas li { grid-template-columns: 22px 30px minmax(0, 1fr); }
  .tareas .via { display: none; }
  .cuentas-p { grid-template-columns: minmax(0, 1fr); }
  .v-sello span { display: none; }
  .pie-web { grid-template-columns: minmax(0, 1fr); }
  .pie-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .join { flex-direction: column; border-radius: 26px; padding: 8px; align-items: stretch; }
  .join input { padding: 0 14px; }
  .nav-in { height: 56px; padding: 0 6px 0 14px; gap: 10px; }
  .nav-cta .entrar { display: none; }
  .nav-cta .btn { height: 40px; padding: 0 16px; font-size: 14px; }
  .modulo-etq { padding: 2px 9px; font-size: 12px; }
  .evento pre { white-space: pre-wrap; word-break: break-word; font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero h1 .w, .hero-in > *, .hero-demo { animation: none; }
  .aparece { opacity: 1; transform: none; transition: none; }
  .est.mira { animation: none; }
}
