/* twidoo.co — sistema visual compartido con Twidoo Suite (ver DESIGN.md) */
@font-face {
  font-family: 'Archivo';
  src: url('/assets/fonts/archivo-latin-wdth-normal.woff2') format('woff2');
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
}

:root {
  --brand: #2563eb;
  --brand-hover: #1d4ed8;
  --brand-soft: #60a5fa;
  --brand-wash: #eff6ff;
  --ink: #0b1220;
  --ink-2: #475569;
  --ink-3: #64748b;
  --line: #e2e8f0;
  --surface: #f6f8fb;
  --ok: #15803d;
  --warn: #b45309;
  --danger: #b91c1c;
  --ease: cubic-bezier(0.23, 1, 0.32, 1);
  --max: 1240px;
  --gut: 20px;
  color-scheme: light;
  accent-color: var(--brand);
}
@media (min-width: 640px) { :root { --gut: 32px; } }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scrollbar-color: #cbd5e1 transparent; }
body {
  margin: 0;
  font-family: 'Archivo', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-variation-settings: 'wdth' 100;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: #fff;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
h1, h2, h3 { text-wrap: balance; }
p { text-wrap: pretty; }
a { color: inherit; text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
::selection { background: #bfdbfe; color: var(--ink); }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 6px; }
.on-dark :focus-visible { outline-color: #fff; }
.num { font-variant-numeric: tabular-nums; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gut); }
.display {
  font-variation-settings: 'wdth' 112;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.03;
}
.h1 { font-size: clamp(2.5rem, 6vw, 4.4rem); }
.h2 { font-size: clamp(2rem, 4.2vw, 2.9rem); letter-spacing: -0.025em; line-height: 1.06; }
.h3 { font-size: 1.6rem; letter-spacing: -0.02em; line-height: 1.15; }
.lead { font-size: 1.15rem; line-height: 1.6; color: var(--ink-2); max-width: 36rem; }
.muted { color: var(--ink-2); }
.small { font-size: 0.875rem; }

/* Botones */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  min-height: 48px; padding: 0 1.4rem; border-radius: 8px;
  font: inherit; font-weight: 600; font-size: 1rem; text-decoration: none; cursor: pointer;
  border: 1px solid transparent;
  transition: transform 160ms var(--ease), background-color 160ms ease, border-color 160ms ease, color 160ms ease;
}
.btn:active { transform: scale(0.97); }
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-hover); }
.btn-outline { border-color: rgba(11,18,32,.18); color: var(--ink); background: #fff; }
.btn-outline:hover { border-color: rgba(11,18,32,.45); }
.btn-white { background: #fff; color: var(--brand-hover); }
.btn-white:hover { background: #eff6ff; }
.btn-sm { min-height: 44px; padding: 0 1rem; font-size: 0.95rem; }
.link { font-weight: 600; text-decoration: underline; text-decoration-color: rgba(11,18,32,.28); display: inline-flex; align-items: center; gap: 0.35rem; min-height: 44px; }
.link:hover { text-decoration-color: currentColor; }
.on-dark .link { text-decoration-color: rgba(255,255,255,.45); }

/* Encabezado */
.hdr { position: sticky; top: 0; z-index: 40; background: rgba(255,255,255,.96); border-bottom: 1px solid var(--line); }
@supports (backdrop-filter: blur(1px)) { .hdr { background: rgba(255,255,255,.88); backdrop-filter: saturate(1.4) blur(10px); } }
.hdr .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 1rem; }
.wm { display: inline-flex; align-items: center; gap: 0.6rem; text-decoration: none; font-variation-settings: 'wdth' 112; font-weight: 700; font-size: 1.4rem; letter-spacing: -0.02em; line-height: 1; border-radius: 6px; }
.wm small { font-weight: 400; color: var(--ink-2); font-size: 1em; margin-left: 0.25rem; }
.nav { display: none; align-items: center; gap: 0.25rem; }
.nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 0.8rem; border-radius: 6px; text-decoration: none; color: var(--ink-2); font-weight: 500; font-size: 0.97rem; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); }
.nav a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--brand); border-radius: 0; }
.hdr-cta { display: flex; align-items: center; gap: 0.5rem; }
.menu-btn { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 8px; border: 1px solid var(--line); background: #fff; cursor: pointer; }
.mnav { display: none; border-top: 1px solid var(--line); background: #fff; }
.mnav.open { display: block; }
.mnav a { display: flex; align-items: center; min-height: 52px; padding: 0 var(--gut); border-bottom: 1px solid var(--line); text-decoration: none; font-weight: 600; }
@media (min-width: 960px) { .nav { display: flex; } .menu-btn, .mnav, .mnav.open { display: none; } }
@media (max-width: 479px) { .hdr-cta .btn { padding: 0 0.85rem; } }

/* Primera vista partida */
.hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--line); }
.hero-grid { display: grid; }
.hero-copy { padding: 56px var(--gut) 56px; }
.hero-field { position: relative; overflow: hidden; background: var(--brand); padding: 48px var(--gut); }
.hero-iso { position: absolute; pointer-events: none; }
.facts { display: grid; margin-top: 2.6rem; border-top: 1px solid var(--line); max-width: 36rem; font-size: 0.92rem; color: var(--ink-2); }
.facts li { padding: 0.8rem 0; border-bottom: 1px solid var(--line); }
@media (min-width: 640px) {
  .facts { grid-template-columns: repeat(3, 1fr); }
  .facts li { border-bottom: 0; padding: 0.8rem 1rem; border-left: 1px solid var(--line); }
  .facts li:first-child { border-left: 0; padding-left: 0; }
}
@media (min-width: 1024px) {
  .hero { background: linear-gradient(90deg, #fff 50%, var(--brand) 50%); }
  .hero-grid { grid-template-columns: 1fr 1fr; max-width: var(--max); margin: 0 auto; position: relative; z-index: 2; }
  .hero-copy { padding: 96px 48px 96px var(--gut); }
  .hero-field { background: transparent; overflow: visible; padding: 64px var(--gut) 64px 48px; display: flex; flex-direction: column; justify-content: center; }
  .hero-iso-wrap { position: absolute; inset: 0 0 0 50%; overflow: hidden; pointer-events: none; z-index: 1; }
}

/* Secciones */
.sec { padding: 80px 0; }
@media (min-width: 768px) { .sec { padding: 112px 0; } }
.sec-head { display: grid; gap: 1.2rem; }
@media (min-width: 1024px) { .sec-head { grid-template-columns: 7fr 5fr; gap: 3rem; align-items: end; } }
.ink { background: var(--ink); color: #fff; }
.ink .muted, .ink .lead { color: #cbd5e1; }
.blue { background: var(--brand); color: #fff; }
.surface { background: var(--surface); }

/* Placas y estados */
.plate { display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; color: #fff; }
.status { display: inline-flex; align-items: center; gap: 0.45rem; font-size: 0.85rem; font-weight: 600; }
.status::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.st-ok { color: var(--ok); } .st-warn { color: var(--warn); } .st-soon { color: var(--ink-2); }

/* Familias de soluciones */
.fams { display: grid; margin-top: 3.5rem; border-top: 1px solid var(--line); }
.fam { padding: 2.5rem 0; border-bottom: 1px solid var(--line); display: flex; flex-direction: column; }
@media (min-width: 1024px) {
  .fams { grid-template-columns: 1fr 1fr; }
  .fam { padding: 3rem 3.5rem 3rem 0; }
  .fam + .fam { padding: 3rem 0 3rem 3.5rem; border-left: 1px solid var(--line); }
}
.fam-apps { margin-top: 1.8rem; border-top: 1px solid var(--line); }
.fam-apps li { display: flex; align-items: center; gap: 0.9rem; padding: 0.85rem 0; border-bottom: 1px solid var(--line); }
.fam-apps .nm { font-weight: 600; }
.fam-apps .ds { font-size: 0.9rem; color: var(--ink-2); }
.fam-apps .tag { margin-left: auto; text-align: right; font-size: 0.82rem; white-space: nowrap; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1.5rem; margin-top: 2rem; }

/* Lista con filetes */
.rows { margin-top: 3rem; border-top: 1px solid var(--line); }
.row { display: grid; gap: 0.5rem; padding: 1.75rem 0; border-bottom: 1px solid var(--line); }
.row dt { display: flex; align-items: center; gap: 0.8rem; font-size: 1.25rem; font-weight: 600; letter-spacing: -0.01em; }
.row dd { color: var(--ink-2); font-size: 1.03rem; max-width: 38rem; }
.row dd a { font-weight: 600; }
.ink .rows, .ink .row { border-color: rgba(255,255,255,.16); }
.ink .row dd { color: #cbd5e1; }
@media (min-width: 900px) { .row { grid-template-columns: 5fr 7fr; gap: 2rem; padding: 2rem 0; } }

/* Pasos */
.steps { display: grid; gap: 2.5rem; margin-top: 3.5rem; }
.steps li .n { display: block; font-variation-settings: 'wdth' 125; font-weight: 700; font-size: 3.4rem; line-height: 1; color: var(--brand); font-variant-numeric: tabular-nums; }
.steps h3 { margin-top: 1.3rem; font-size: 1.2rem; font-weight: 600; }
.steps p { margin-top: 0.5rem; color: var(--ink-2); max-width: 22rem; }
@media (min-width: 900px) {
  .steps { grid-template-columns: repeat(var(--cols, 4), 1fr); gap: 0; }
  .steps li { padding: 0 1.8rem; border-left: 1px solid var(--line); }
  .steps li:first-child { padding-left: 0; border-left: 0; }
}

/* Productos (páginas de familia) */
.prod { display: grid; gap: 2.5rem; padding: 4rem 0; border-top: 1px solid var(--line); align-items: center; }
.prod-head { display: flex; align-items: center; gap: 1rem; }
.prod-head .nm { font-variation-settings: 'wdth' 112; font-weight: 700; font-size: 1.55rem; letter-spacing: -0.02em; line-height: 1.1; }
.feat { margin-top: 1.6rem; display: grid; gap: 0.75rem; }
.feat li { display: flex; gap: 0.75rem; align-items: flex-start; }
.feat svg { flex-shrink: 0; margin-top: 3px; }
@media (min-width: 1024px) {
  .prod { grid-template-columns: 5fr 7fr; gap: 4rem; padding: 5.5rem 0; }
  .prod.flip .prod-copy { order: 2; }
}

/* Ventana con la réplica de la app */
.shot { position: relative; border-radius: 16px; overflow: hidden; background: #fff;
  box-shadow: 0 0 0 1px rgba(11,18,32,.08), 0 30px 60px -28px rgba(11,18,32,.45), 0 8px 18px -10px rgba(11,18,32,.25); }
.shot-bar { height: 38px; background: #f1f5f9; border-bottom: 1px solid var(--line); display: flex; align-items: center; padding: 0 12px; }
.shot-url { flex: 1; height: 24px; border-radius: 7px; background: #fff; border: 1px solid var(--line); display: flex; align-items: center; gap: 6px; padding: 0 10px; font-size: 12.5px; color: var(--ink-2); }
.shot-view { position: relative; overflow: hidden; height: calc(var(--h, 640) * var(--s, 0.5) * 1px); }
.shot-view .app { position: absolute; top: 0; left: 0; width: 1200px; height: calc(var(--h, 640) * 1px); transform: scale(var(--s, 0.5)); transform-origin: top left; }
.shot-tag { position: absolute; right: 10px; bottom: 10px; background: rgba(11,18,32,.8); color: #fff; font-size: 12px; font-weight: 600; padding: 4px 9px; border-radius: 6px; }

/* Estilos internos de las réplicas (aislados en .mock) */
.mock { font-size: 15px; line-height: 1.4; color: #0b1220; font-variation-settings: 'wdth' 100; }
.mock .plate { color: #fff; }
.mock .kpi { border-radius: 12px; padding: 16px 18px; }
.mock .kpi .l { font-size: 13px; color: #475569; }
.mock .kpi .v { font-size: 28px; font-weight: 700; margin-top: 6px; font-variant-numeric: tabular-nums; }
.mock .badge { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 600; padding: 3px 9px; border-radius: 999px; }
.mock .badge svg, .mock .btn svg, .mock .plate svg { display: inline-block; }
.mock table { width: 100%; border-collapse: collapse; }
.mock th { text-align: left; font-size: 12.5px; color: #64748b; font-weight: 600; padding: 12px 14px; border-bottom: 1px solid #e2e8f0; background: #f8fafc; }
.mock td { padding: 14px; border-bottom: 1px solid #eef2f6; font-size: 14.5px; vertical-align: middle; }
.mock .btn { min-height: 0; display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 9px; font-size: 14.5px; font-weight: 600; }
.mock .btn:active { transform: none; }

/* Lanzador de ejemplo */
.launch { background: #fff; color: var(--ink); border-radius: 14px; padding: 20px 22px 8px;
  box-shadow: 0 24px 60px -20px rgba(11,18,32,.55), 0 6px 16px -8px rgba(11,18,32,.3); position: relative; z-index: 2; }
.launch li { display: flex; align-items: center; gap: 0.85rem; padding: 0.8rem 0; border-top: 1px solid var(--line); }
.launch .nm { font-weight: 600; font-size: 0.97rem; }
.launch .ds { font-size: 0.8rem; color: var(--ink-3); }

/* Mapa del ecosistema */
.eco { position: relative; z-index: 2; display: grid; gap: 1rem; max-width: 540px; margin-left: auto; }
.eco-card { background: #fff; color: var(--ink); border-radius: 14px; padding: 20px 22px; box-shadow: 0 24px 60px -24px rgba(11,18,32,.55), 0 6px 16px -8px rgba(11,18,32,.25); }
.eco-card h2, .eco-card h3 { font-variation-settings: 'wdth' 112; font-weight: 700; font-size: 1.2rem; letter-spacing: -0.015em; }
.eco-card p { font-size: 0.86rem; color: var(--ink-2); margin-top: 0.15rem; }
.eco-apps { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.6rem 1rem; margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--line); }
.eco-apps li { display: flex; align-items: center; gap: 0.6rem; font-size: 0.88rem; font-weight: 600; line-height: 1.2; }
.eco-cap { position: relative; z-index: 2; color: #fff; font-size: 0.9rem; margin-top: 1.1rem; max-width: 540px; margin-left: auto; }
@media (min-width: 540px) { .eco-apps.three { grid-template-columns: repeat(3, 1fr); } }

/* Rejilla de apps (Twidoo One) */
.apps { display: grid; margin-top: 3rem; border-top: 1px solid var(--line); }
.app-cell { padding: 2.2rem 0; border-bottom: 1px solid var(--line); display: flex; flex-direction: column; }
.app-cell .top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.app-cell h3 { margin-top: 1.4rem; }
.app-cell .feat { margin-top: 1.2rem; font-size: 0.97rem; }
.app-cell .actions { margin-top: auto; padding-top: 1.6rem; }
@media (min-width: 768px) {
  .apps { grid-template-columns: 1fr 1fr; }
  .app-cell:nth-child(odd) { padding-right: 2.5rem; border-right: 1px solid var(--line); }
  .app-cell:nth-child(even) { padding-left: 2.5rem; }
}
@media (min-width: 1100px) {
  .apps { grid-template-columns: repeat(3, 1fr); }
  .app-cell { padding: 2.5rem 2.2rem; border-right: 1px solid var(--line); }
  .app-cell:nth-child(odd), .app-cell:nth-child(even) { padding: 2.5rem 2.2rem; }
  .app-cell:nth-child(3n+1) { padding-left: 0; }
  .app-cell:nth-child(3n) { padding-right: 0; border-right: 0; }
}

/* Comparativa y planes */
.cmp { width: 100%; border-collapse: collapse; margin-top: 2.5rem; font-size: 0.98rem; }
.cmp th, .cmp td { text-align: left; padding: 1rem 0.75rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.cmp thead th { font-size: 0.85rem; color: var(--ink-2); font-weight: 600; }
.cmp td:first-child, .cmp th:first-child { padding-left: 0; font-weight: 600; }
.cmp .yes { color: var(--ink); display: flex; gap: 0.5rem; }
.cmp .yes svg { color: var(--ok); flex-shrink: 0; margin-top: 2px; }
.cmp .no { color: var(--ink-2); }
.tbl-scroll { overflow-x: auto; }
.plans { display: grid; gap: 1rem; margin-top: 2.5rem; }
.plan { border: 1px solid var(--line); border-radius: 14px; padding: 1.6rem; background: #fff; display: flex; flex-direction: column; }
.plan.pick { border-color: var(--brand); box-shadow: 0 0 0 1px var(--brand); }
.plan .pr { font-variation-settings: 'wdth' 112; font-weight: 700; font-size: 2.4rem; letter-spacing: -0.03em; margin-top: 0.8rem; line-height: 1; }
.plan .pr small { font-size: 1rem; font-weight: 500; color: var(--ink-2); letter-spacing: 0; }
.plan ul { margin-top: 1.2rem; margin-bottom: 1.4rem; display: grid; gap: 0.5rem; font-size: 0.95rem; }
.plan li { display: flex; gap: 0.5rem; }
.plan li svg { flex-shrink: 0; margin-top: 3px; color: var(--brand); }
@media (min-width: 640px) { .plans { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .plans { grid-template-columns: repeat(4, 1fr); } }

/* Agendar demo */
.book { display: grid; gap: 2.5rem; }
@media (min-width: 1024px) { .book { grid-template-columns: 4fr 7fr; gap: 4rem; } }
.book-side .contact { margin-top: 2rem; border-top: 1px solid var(--line); }
.book-side .contact li { padding: 1rem 0; border-bottom: 1px solid var(--line); display: flex; gap: 0.8rem; align-items: flex-start; }
.book-side .contact a { font-weight: 600; text-decoration: none; }
.book-side .contact a:hover { text-decoration: underline; }
.form { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 1.5rem; }
@media (min-width: 640px) { .form { padding: 2.25rem; } }
.fs { border: 0; margin: 0 0 1.8rem; padding: 0; }
.fs legend { font-weight: 700; font-size: 1.05rem; margin-bottom: 0.8rem; padding: 0; }
.fs legend span { color: var(--ink-3); font-weight: 500; }
.opts { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.opt { position: relative; }
.opt input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.opt span { display: inline-flex; align-items: center; gap: 0.45rem; min-height: 44px; padding: 0.5rem 0.95rem; border: 1px solid #cbd5e1; border-radius: 10px; font-weight: 500; font-size: 0.95rem; background: #fff; transition: border-color 160ms ease, background-color 160ms ease, color 160ms ease; line-height: 1.25; }
.opt.day span { flex-direction: column; align-items: flex-start; gap: 0; min-width: 76px; }
.opt.day b { font-size: 1.05rem; font-variant-numeric: tabular-nums; }
.opt.day i { font-style: normal; font-size: 0.78rem; color: var(--ink-3); }
.opt input:checked + span { border-color: var(--brand); background: var(--brand-wash); color: var(--brand-hover); box-shadow: inset 0 0 0 1px var(--brand); }
.opt input:checked + span i { color: var(--brand-hover); }
.opt input:focus-visible + span { outline: 2px solid var(--brand); outline-offset: 2px; }
@media (hover: hover) and (pointer: fine) { .opt span:hover { border-color: var(--ink-3); } }
.fields { display: grid; gap: 1rem; }
@media (min-width: 640px) { .fields { grid-template-columns: 1fr 1fr; } .fields .full { grid-column: 1 / -1; } }
.fld label { display: block; font-weight: 600; font-size: 0.93rem; margin-bottom: 0.35rem; }
.fld label span { color: var(--ink-3); font-weight: 500; }
.fld input, .fld select, .fld textarea {
  width: 100%; min-height: 48px; padding: 0.65rem 0.85rem; border: 1px solid #cbd5e1; border-radius: 10px;
  font: inherit; font-size: 1rem; color: var(--ink); background: #fff; transition: border-color 160ms ease, box-shadow 160ms ease;
}
.fld textarea { min-height: 96px; resize: vertical; }
.fld select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' fill='none' stroke='%23475569' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 0.75rem center; padding-right: 2.4rem; }
.fld input:focus, .fld select:focus, .fld textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px #dbeafe; }
.fld.err input, .fld.err select { border-color: var(--danger); }
.fld .msg { display: none; color: var(--danger); font-size: 0.86rem; margin-top: 0.3rem; }
.fld.err .msg, .fs.err .msg { display: block; }
.fs .msg { display: none; color: var(--danger); font-size: 0.86rem; margin-top: 0.5rem; }
.check { display: flex; gap: 0.7rem; align-items: flex-start; font-size: 0.93rem; color: var(--ink-2); margin-top: 1.2rem; }
.check input { width: 20px; height: 20px; margin-top: 2px; flex-shrink: 0; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; margin-top: 1.6rem; }
.form-alert { display: none; margin-top: 1rem; padding: 0.85rem 1rem; border-radius: 10px; font-size: 0.95rem; }
.form-alert.show { display: block; }
.form-alert.bad { background: #fef2f2; color: var(--danger); border: 1px solid #fecaca; }
.done { display: none; }
.done.show { display: block; }
.done h3 { font-size: 1.6rem; }
.done dl { margin-top: 1.4rem; border-top: 1px solid var(--line); }
.done dl div { display: grid; grid-template-columns: 9rem 1fr; gap: 1rem; padding: 0.7rem 0; border-bottom: 1px solid var(--line); }
.done dt { color: var(--ink-2); }
.spin { width: 16px; height: 16px; border: 2px solid rgba(255,255,255,.5); border-top-color: #fff; border-radius: 50%; animation: spin 700ms linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Pie */
.ftr { border-top: 1px solid var(--line); }
.ftr-grid { display: grid; gap: 2rem; padding: 56px 0 32px; }
@media (min-width: 900px) { .ftr-grid { grid-template-columns: 4fr 3fr 3fr 3fr; } }
.ftr .ftr-h { margin: 0 0 0.8rem; font-size: 0.9rem; font-weight: 700; }
.ftr li a { display: inline-flex; min-height: 36px; align-items: center; color: var(--ink-2); text-decoration: none; font-size: 0.95rem; }
.ftr li a:hover { color: var(--ink); text-decoration: underline; }
.ftr-bot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; padding: 20px 0 32px; border-top: 1px solid var(--line); font-size: 0.9rem; color: var(--ink-2); }
.made { display: inline-flex; align-items: center; gap: 0.4rem; }
.flag { display: inline-block; width: 18px; height: 12px; border-radius: 2px; box-shadow: 0 0 0 1px rgba(0,0,0,.1); }

/* Movimiento: el reverso del isotipo se asienta una vez */
@media (prefers-reduced-motion: no-preference) {
  .iso-settle .iso-back { animation: iso-settle 900ms var(--ease) both; }
}
@keyframes iso-settle { from { transform: translate(1500px, 700px); } to { transform: translate(0, 0); } }
@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; }
}

/* Página legal */
.legal { max-width: 46rem; }
.legal h2 { margin-top: 2.5rem; font-size: 1.35rem; }
.legal p, .legal li { margin-top: 0.8rem; color: var(--ink-2); }
.legal ul { list-style: disc; padding-left: 1.2rem; }

/* Ajustes tras la revisión visual */
.eco-card { display: block; text-decoration: none; transition: box-shadow 200ms var(--ease), transform 200ms var(--ease); }
@media (hover: hover) and (pointer: fine) { .eco-card:hover { transform: translateY(-2px); box-shadow: 0 30px 70px -24px rgba(11,18,32,.6), 0 8px 18px -8px rgba(11,18,32,.3); } }
.eco-card:active { transform: scale(0.99); }
.row dd .link { min-height: 0; }
.ink .st-ok { color: #4ade80; } .ink .st-warn { color: #fbbf24; } .ink .st-soon { color: #cbd5e1; }
.fld label.check { display: flex; }
@media (max-width: 1023px) { .hero-iso-wrap { display: none; } }
@media (min-width: 1024px) { .prod.flip { grid-template-columns: 7fr 5fr; } }
.prod:first-child { border-top: 0; }
.app-cell .foot { margin-top: auto; padding-top: 1.4rem; }
.app-cell .foot .actions { margin-top: 0.9rem; padding-top: 0; }

section[id], article[id] { scroll-margin-top: 80px; }
.done { scroll-margin-top: 96px; }

/* Isotipo secundario solo en móvil */
@media (min-width: 1024px) { .lg-hide { display: none; } }
