/* eatoutcalories.com · eoc.css (17-nov-2026). Sistema «Nutritional Editorial Utility» de Stitch: papel blanco, tinta
   negra, reglas gruesas de la etiqueta de la FDA y un solo acento frambuesa. Sin frameworks. */

@font-face { font-family: "Libre Franklin"; font-style: normal; font-weight: 400 900; font-display: swap;
  src: url(/assets/fonts/libre-franklin-latin.woff2) format("woff2"); }
@font-face { font-family: "Public Sans"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url(/assets/fonts/public-sans-latin.woff2) format("woff2"); }

:root {
  color-scheme: light;
  --paper: #FAFAF8; --surface: #FFFFFF; --surface-2: #F1F1EE; --ink: #141518; --muted: #5F636A; --line: #DCDDD8;
  --acc: #C2255C; --acc-ink: #9F0045; --acc-soft: #FBE7EF;
  --p: #2F5BD3; --c: #C98200; --f: #12877A;          /* puntos y barras */
  --p-ink: #2A50BD; --c-ink: #8A5800; --f-ink: #0D6B60; /* texto (contraste AA sobre blanco) */
  --ok: #1E7B4C; --ok-soft: #E5F3EB; --warn: #9A5B00;
  --on-dark: #FFFFFF; --on-dark-2: rgba(255, 255, 255, .86); --acc-light: #FF8AB2; --scrim: 12, 10, 9;
  --r: 6px; --r-lg: 10px;
  --display: "Libre Franklin", "Helvetica Neue", Arial, sans-serif;
  --body: "Public Sans", "Helvetica Neue", Arial, sans-serif;
  --gut: 16px;
}
@media (min-width: 900px) { :root { --gut: 24px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 76px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 16px/1.55 var(--body);
  font-variant-numeric: tabular-nums; -webkit-font-smoothing: antialiased; }
h1, h2, h3 { font-family: var(--display); line-height: 1.15; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(30px, 4.6vw, 44px); font-weight: 800; letter-spacing: -0.02em; }
h2 { font-size: clamp(21px, 2.4vw, 26px); font-weight: 800; letter-spacing: -0.01em; }
h3 { font-size: 17px; font-weight: 700; }
p { margin: 0; }
a { color: inherit; text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--acc-ink); }
img, svg { max-width: 100%; }
svg { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--acc); outline-offset: 2px; border-radius: 3px; }
table { border-collapse: collapse; }
small { font-size: .82em; }
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 12px; z-index: 50; }
.skip:focus { left: 8px; }
.wrap { max-width: 1200px; margin: 0 auto; padding-inline: var(--gut); }
.wrap--read { max-width: 820px; }
main { padding-bottom: 56px; }

/* ---------- piezas pequeñas ---------- */
.eyebrow { font: 700 11px/1.3 var(--body); text-transform: uppercase; letter-spacing: .07em; color: var(--muted); }
.lede { font-size: 17px; color: #3B3E44; max-width: 68ch; }
.count { font: 600 12px/1 var(--body); color: var(--muted); background: var(--surface-2); border: 1px solid var(--line);
  border-radius: 999px; padding: 4px 8px; vertical-align: middle; letter-spacing: 0; }
.tag { font: 700 10px/1 var(--body); text-transform: uppercase; letter-spacing: .06em; color: var(--muted);
  border: 1px solid var(--line); border-radius: 4px; padding: 4px 6px; vertical-align: middle; }
.c-p { color: var(--p-ink); } .c-c { color: var(--c-ink); } .c-f { color: var(--f-ink); }
.dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; flex: none; }
.dot--p { background: var(--p); } .dot--c { background: var(--c); } .dot--f { background: var(--f); }
.okdot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--ok); margin-right: 6px; vertical-align: 1px; }
.badge { display: inline-grid; place-items: center; width: 40px; height: 40px; flex: none; border-radius: 8px;
  background: var(--surface-2); border: 1px solid var(--line); font: 800 12px/1 var(--display); letter-spacing: .02em; color: var(--ink); }
.badge--sm { width: 30px; height: 30px; font-size: 10px; border-radius: 6px; }
.badge--lg { width: 60px; height: 60px; font-size: 16px; border-radius: 10px; }
/* distintivo de cadena: color de la marca e icono propio (las variables las define assets/marcas.css) */
.badge.mk { background: var(--mk-b, var(--surface-2)); border-color: transparent; border-radius: 11px;
  box-shadow: inset 0 -2px 0 rgba(0, 0, 0, .12); }
.badge.mk i { display: block; width: 62%; height: 62%; background: var(--mk-f, var(--ink));
  -webkit-mask: var(--mk-i) center / contain no-repeat; mask: var(--mk-i) center / contain no-repeat; }
.badge--sm.mk { border-radius: 8px; }
.badge--lg.mk { border-radius: 16px; }
.src { display: inline-flex; align-items: center; gap: 7px; font: 500 12.5px/1.3 var(--body); color: #33363B;
  background: var(--surface-2); border: 1px solid var(--line); border-radius: 999px; padding: 5px 11px; text-decoration: none; }
.src i { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); flex: none; }
.src:hover { border-color: var(--ok); color: var(--ink); }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 18px; }
@media (min-width: 900px) { .card { padding: 24px; } }
.arrow { font: 700 14px/1 var(--body); color: var(--acc-ink); text-decoration: none; white-space: nowrap; }
.arrow::after { content: " →"; }
.note { color: var(--muted); font-size: 13.5px; margin-top: 20px; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 10px 16px;
  border-radius: var(--r); border: 1px solid var(--line); background: var(--surface); font: 700 14px/1.2 var(--body);
  color: var(--ink); text-decoration: none; cursor: pointer; }
.btn svg { width: 18px; height: 18px; }
.btn:hover { border-color: var(--ink); color: var(--ink); }
.btn--acc { background: var(--acc); border-color: var(--acc); color: #fff; }
.btn--acc:hover { background: var(--acc-ink); border-color: var(--acc-ink); color: #fff; }
.btn--ink { background: var(--ink); border-color: var(--ink); color: #fff; }
.btn--ink:hover { background: #33363B; color: #fff; }
.btn--ghost { background: var(--surface-2); }
.btn--sm { min-height: 34px; padding: 6px 12px; font-size: 13px; }
.btn--block { width: 100%; }
.link { background: none; border: 0; padding: 0; font: 600 13.5px/1.3 var(--body); color: var(--muted); text-decoration: underline; cursor: pointer; }
.link:hover { color: var(--acc-ink); }
.sel { appearance: none; min-height: 40px; padding: 8px 34px 8px 12px; border: 1px solid var(--line); border-radius: var(--r);
  background: var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23141518' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 10px center / 16px;
  font: 600 14px/1.2 var(--body); cursor: pointer; max-width: 100%; }
.sel--sm { min-height: 34px; font-size: 13px; padding: 5px 30px 5px 10px; }
.inp { display: flex; align-items: center; gap: 10px; flex: 1 1 260px; min-height: 44px; padding: 0 12px;
  background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--r); }
.inp svg { width: 18px; height: 18px; color: var(--muted); flex: none; }
.inp input { flex: 1; min-width: 0; border: 0; background: none; padding: 10px 0; font-size: 15px; outline: none; }
.inp:focus-within { border-color: var(--ink); background: var(--surface); box-shadow: 0 0 0 3px var(--acc-soft); }
.inp--lg { min-height: 52px; }
.pills { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.pills > .eyebrow { margin-right: 4px; }
.pills button, .pills a { min-height: 34px; padding: 6px 13px; border-radius: 999px; border: 1px solid var(--line);
  background: var(--surface); font: 600 13px/1.2 var(--body); cursor: pointer; text-decoration: none; color: var(--ink); }
.pills button:hover, .pills a:hover { border-color: var(--ink); }
.pills button[aria-pressed="true"] { background: var(--acc-soft); border-color: var(--acc); color: var(--acc-ink); }
.pills--tabs button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.pills--jump { margin: 18px 0; }
.seg { display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 4px; background: var(--surface-2); border: 1px solid var(--line); border-radius: 10px; }
.seg button { min-height: 38px; min-width: 64px; padding: 6px 14px; border: 0; border-radius: 7px; background: none;
  font: 700 14px/1 var(--body); color: #3B3E44; cursor: pointer; }
.seg button:hover { background: var(--surface); }
.seg button[aria-pressed="true"] { background: var(--acc); color: #fff; }
.delta { font: 700 12px/1 var(--body); border-radius: 5px; padding: 5px 8px; white-space: nowrap; background: var(--surface-2); color: #3B3E44; }
.delta--down { background: var(--ok-soft); color: var(--ok); }
.delta--f { background: #E3F1EF; color: var(--f-ink); }
.delta--c { background: #F7EEDC; color: var(--c-ink); }

/* ---------- cabecera ---------- */
.hd { background: var(--surface); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; }
.hd__in { display: flex; align-items: center; gap: 20px; min-height: 64px; }
/* logo (30-nov): hamburguesa de barras + «eatoutcalories» en trazos (diseno/logo/genera_logo.py → plantillas/_logo.svg) */
.wm { display: inline-flex; align-items: center; flex: none; text-decoration: none; }
.wm svg { display: block; height: 38px; width: auto; stroke: none; }  /* sin el contorno global de los iconos de línea */
.wm .lg-b { fill: var(--acc); }
.wm .lg-k, .wm .lg-t { fill: var(--ink); }
.wm--ft { margin-bottom: 28px; }
.wm--ft svg { height: 40px; }
/* menú: las cadenas más buscadas (las que quepan) y «All restaurants»; en móvil, tira deslizable + cajón */
.hd__nav { margin-right: auto; min-width: 0; }
.hd__nav ul { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.hd__nav a { display: inline-flex; align-items: center; gap: 7px; font: 600 14.5px/1 var(--body); color: #3B3E44; text-decoration: none;
  white-space: nowrap; padding: 19px 7px 16px; border-bottom: 3px solid transparent; }
.hd__nav a:hover { color: var(--ink); border-bottom-color: var(--line); }
.hd__nav a[aria-current] { color: var(--acc-ink); border-bottom-color: var(--acc); }
.hd__all { margin-left: 6px; padding-left: 10px; border-left: 1px solid var(--line); }
.hd__nav .hd__all a { color: var(--acc-ink); font-weight: 700; }
.badge--xs { width: 22px; height: 22px; border-radius: 6px; }
.badge--xs.mk { border-radius: 6px; }
.badge--xs.mk i { width: 70%; height: 70%; }
/* cuántas cadenas caben según el ancho */
.hd__nav li:nth-child(n+6):not(.hd__all) { display: none; }
@media (max-width: 1239px) { .hd__search-t { display: none; } .hd__search kbd { display: none; } }
@media (max-width: 1099px) { .hd__nav li:nth-child(n+5):not(.hd__all) { display: none; } }
@media (max-width: 999px) { .hd__nav li:nth-child(n+4):not(.hd__all) { display: none; } }
.hd__search { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 10px 0 12px; border: 1px solid var(--line);
  border-radius: var(--r); background: var(--surface-2); color: var(--muted); font: 500 14px/1 var(--body); cursor: pointer; flex: none; }
.hd__search svg { width: 18px; height: 18px; color: var(--ink); }
.hd__search kbd { font: 600 11px/1 var(--body); border: 1px solid var(--line); background: var(--surface); border-radius: 4px; padding: 3px 6px; }
.hd__search:hover { border-color: var(--ink); color: var(--ink); }
.hd__menu { display: none; width: 44px; height: 44px; border: 0; background: none; cursor: pointer; }
.hd__menu svg { width: 24px; height: 24px; }
.hd__strip, .hd__drawer { display: none; }
@media (max-width: 899px) {
  .hd__in { gap: 6px; min-height: 56px; }
  .wm { margin-right: auto; }
  .wm svg { height: 30px; }
  .hd__nav { display: none; }
  .hd__search { width: 44px; height: 44px; padding: 0; justify-content: center; background: none; border: 0; }
  .hd__search-t, .hd__search kbd { display: none; }
  .hd__search svg { width: 22px; height: 22px; }
  .hd__menu { display: grid; place-items: center; }
  .hd__menu[aria-expanded="true"] { background: var(--surface-2); border-radius: var(--r); }
  /* tira de cadenas: siempre a la vista, se desliza en horizontal */
  .hd__strip { display: block; border-top: 1px solid var(--line); }
  .hd__strip ul { display: flex; gap: 8px; list-style: none; margin: 0; padding: 8px var(--gut); overflow-x: auto;
    scrollbar-width: none; scroll-padding-inline: var(--gut); }
  .hd__strip ul::-webkit-scrollbar { display: none; }
  .hd__strip li { flex: none; }
  .hd__strip a { display: inline-flex; align-items: center; gap: 7px; min-height: 38px; padding: 4px 12px 4px 5px; border: 1px solid var(--line);
    border-radius: 999px; background: var(--surface); font: 600 14px/1 var(--body); color: var(--ink); text-decoration: none; white-space: nowrap; }
  .hd__strip a[aria-current] { border-color: var(--acc); background: var(--acc-soft); color: var(--acc-ink); }
  .hd__strip .hd__strip-all { padding-left: 12px; background: var(--ink); border-color: var(--ink); color: var(--on-dark); }
  .hd__strip .hd__strip-all:hover { color: var(--on-dark); }
  /* cajón del botón de menú */
  .hd__drawer.is-open { display: block; position: absolute; left: 0; right: 0; top: 100%; max-height: calc(100vh - 56px); overflow-y: auto;
    background: var(--surface); border-bottom: 1px solid var(--line); box-shadow: 0 18px 40px rgba(20, 21, 24, .16); padding: 6px 0 20px; }
  .hd__dt { font: 700 13px/1 var(--body); color: var(--muted); margin: 14px 0 8px; }
  .hd__dg { list-style: none; margin: 0 0 12px; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px; }
  .hd__dg a { display: flex; align-items: center; gap: 10px; padding: 8px; border-radius: var(--r); text-decoration: none;
    font: 700 15px/1.2 var(--body); color: var(--ink); }
  .hd__dg a small { display: block; font: 500 12px/1.3 var(--body); color: var(--muted); margin-top: 2px; }
  .hd__dg a:hover, .hd__dg a[aria-current] { background: var(--surface-2); }
  .hd__dl { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 12px; }
  .hd__dl a { display: block; padding: 10px 0; border-bottom: 1px solid var(--line); font: 600 14.5px/1.2 var(--body); text-decoration: none; }
  .hd__dl--2 { margin-top: 10px; grid-template-columns: 1fr; }
  .hd__dl--2 a { color: var(--muted); font-weight: 500; border-bottom: 0; padding: 8px 0; }
}

/* ---------- buscador ---------- */
.srch { width: min(680px, calc(100% - 24px)); max-height: min(640px, calc(100% - 48px)); margin: 8vh auto auto; padding: 0;
  border: 1px solid var(--ink); border-radius: 12px; background: var(--surface); color: var(--ink); box-shadow: 0 24px 60px rgba(20, 21, 24, .25); }
.srch::backdrop { background: rgba(20, 21, 24, .45); }
.srch__bar { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.srch__bar svg { width: 20px; height: 20px; color: var(--muted); flex: none; }
.srch__bar input { flex: 1; min-width: 0; border: 0; outline: none; font-size: 18px; padding: 8px 0; background: none; }
.srch__x { border: 1px solid var(--line); background: var(--surface-2); border-radius: 5px; font: 600 12px/1 var(--body); padding: 6px 8px; cursor: pointer; }
.srch__res { overflow: auto; max-height: 60vh; }
.sres { list-style: none; margin: 0; padding: 6px; }
.sres li a { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; padding: 10px; border-radius: 8px; text-decoration: none; }
.sres li a:hover, .sres li a.is-on { background: var(--acc-soft); color: var(--ink); }
.sres__n { font-weight: 700; line-height: 1.25; }
.sres__m { display: block; font-size: 12.5px; color: var(--muted); font-weight: 500; }
.sres__c { font: 800 17px/1 var(--display); white-space: nowrap; }
.sres__c small { font: 600 11px/1 var(--body); color: var(--muted); margin-left: 3px; }
.sres__e { padding: 18px 16px; color: var(--muted); }
.sres__all { display: block; padding: 12px 16px; border-top: 1px solid var(--line); font: 700 13px/1 var(--body); color: var(--acc-ink); text-decoration: none; text-transform: uppercase; letter-spacing: .05em; }

/* ---------- migas y cabeceras de página ---------- */
.crumbs ol { display: flex; flex-wrap: wrap; gap: 4px; list-style: none; margin: 0; padding: 16px 0 0; font-size: 13px; color: var(--muted); }
.crumbs li + li::before { content: "›"; margin: 0 6px 0 2px; color: #A2A5AA; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--ink); text-decoration: underline; }
.crumbs [aria-current] { color: var(--ink); font-weight: 600; }
.phead { display: grid; gap: 10px; padding: 14px 0 20px; }
.chainline { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 14px; }
.chainline > a:not(.src) { font-weight: 700; text-decoration: none; }
.chainline > span { color: var(--muted); }
.chainline .src { margin-left: 4px; }
.chead { margin: 14px 0 18px; padding-bottom: 0 !important; }
.chead__id { display: flex; gap: 16px; align-items: flex-start; }
.chead__id > div { display: grid; gap: 8px; min-width: 0; }
.meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; font-size: 13.5px; color: var(--muted); }
.tabs { display: flex; gap: 22px; margin-top: 18px; border-top: 1px solid var(--line); overflow-x: auto; }
.tabs a { padding: 14px 0 12px; font: 600 14.5px/1 var(--body); color: #3B3E44; text-decoration: none; border-bottom: 3px solid transparent; white-space: nowrap; }
.tabs a[aria-current] { color: var(--ink); border-bottom-color: var(--acc); font-weight: 800; }
@media (max-width: 600px) { .chead__id { flex-direction: column; gap: 10px; } .chead__id .badge--lg { width: 44px; height: 44px; font-size: 12px; } }

/* ---------- etiqueta Nutrition Facts (FDA) ---------- */
.nf { background: #fff; border: 1.5px solid var(--ink); padding: 8px 10px 10px; color: var(--ink); font: 400 14px/1.3 var(--body); }
.nf__t { font: 900 clamp(32px, 3.4vw, 38px)/1 var(--display); letter-spacing: -0.035em; margin: 0 0 2px; text-wrap: nowrap; }
.nf__serv { display: flex; justify-content: space-between; gap: 10px; font-weight: 700; font-size: 15px; padding: 3px 0 5px; border-top: 1px solid var(--ink); border-bottom: 10px solid var(--ink); }
.nf__serv span { font-weight: 500; }
.nf__serv b { text-align: right; }
.nf__aps { font: 800 12px/1 var(--display); padding-top: 5px; }
.nf__cal { display: flex; justify-content: space-between; align-items: flex-end; font: 900 26px/1 var(--display); padding: 2px 0 5px; border-bottom: 5px solid var(--ink); }
.nf__cal b { font-size: 40px; letter-spacing: -0.02em; }
.nf__dvh { text-align: right; font: 700 12px/1 var(--body); padding: 5px 0; border-bottom: 1px solid var(--ink); }
.nf__rows { width: 100%; }
.nf__rows th, .nf__rows td { padding: 4px 0; border-bottom: 1px solid var(--ink); font-weight: 400; text-align: left; vertical-align: top; }
.nf__rows td { text-align: right; font-weight: 800; white-space: nowrap; padding-left: 8px; }
.nf__rows b { font-weight: 800; }
.nf__rows .in th { padding-left: 16px; }
.nf__prot th, .nf__prot td { border-bottom: 10px solid var(--ink); }
.nf__foot { font-size: 11px; line-height: 1.35; padding-top: 6px; }
.nf__al { font-size: 13px; padding: 10px 2px 0; }
.nf--mini { padding: 6px 8px 8px; }
.nf--mini .nf__t { font-size: 22px; }
.nf--mini .nf__serv { font-size: 12.5px; border-bottom-width: 7px; }
.nf--mini .nf__cal { font-size: 17px; border-bottom-width: 3px; }
.nf--mini .nf__cal b { font-size: 26px; }
.nf__mac { display: grid; grid-template-columns: repeat(3, 1fr); text-align: center; gap: 6px; padding-top: 7px; font: 800 15px/1.1 var(--display); }
.nf__mac small { display: block; font: 600 10.5px/1.3 var(--body); color: var(--muted); }

/* ---------- barra y chips de macros ---------- */
.mbar { display: flex; gap: 2px; height: 10px; border-radius: 999px; overflow: hidden; background: var(--surface-2); }
.mbar span { display: block; height: 100%; transition: width .25s ease; }
.mbar__p { background: var(--p); } .mbar__c { background: var(--c); } .mbar__f { background: var(--f); }
.mbar__lab { display: flex; flex-wrap: wrap; gap: 4px 14px; margin-top: 8px; font-size: 12.5px; color: var(--muted); }
.mbar__lab span { display: inline-flex; align-items: center; gap: 6px; }
.mbar__lab b { color: var(--ink); }
.mchip { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 6px; background: var(--surface-2);
  font: 600 12.5px/1.2 var(--body); color: #33363B; white-space: nowrap; }
.mchip b { color: var(--ink); font-weight: 800; }

/* ---------- plato ---------- */
.dish { display: grid; gap: 18px; grid-template-areas: "a" "l" "r"; }
.dish__a { grid-area: a; min-width: 0; } .dish__l { grid-area: l; } .dish__r { grid-area: r; display: grid; gap: 18px; min-width: 0; }
@media (min-width: 1000px) {
  .dish { grid-template-columns: minmax(0, 1fr) 340px; grid-template-areas: "a l" "r l"; gap: 24px 28px; align-items: start; }
  .dish__l { position: sticky; top: 84px; }
}
.answer { display: grid; gap: 14px; }
.answer__sizes { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; justify-items: start; min-width: 0; }
.answer__sizes .sel { max-width: 100%; text-overflow: ellipsis; }
.answer__row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px 20px; }
.big { display: flex; align-items: baseline; gap: 8px; font-family: var(--display); line-height: .9; }
.big b { font-weight: 900; font-size: clamp(64px, 11vw, 92px); letter-spacing: -0.04em; }
.big span { font-weight: 700; font-size: 20px; color: var(--muted); }
.answer__chips { display: flex; flex-wrap: wrap; gap: 6px; }
.answer__chips .mchip { font-size: 13px; padding: 7px 11px; }
.answer__per { font-size: 13.5px; color: var(--muted); margin-top: -6px; }
.answer__recipe { font-size: 13.5px; padding: 10px 12px; background: var(--surface-2); border-radius: var(--r); color: #33363B; }
.answer__minor { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 13.5px; color: var(--muted); padding: 12px 0 0; border-top: 1px solid var(--line); }
.answer__minor b { color: var(--ink); }
.answer__act { display: flex; flex-wrap: wrap; gap: 10px; }
.hub { display: grid; margin-top: 16px; }
.hub .eyebrow { padding-bottom: 8px; }
.hub a { display: flex; justify-content: space-between; align-items: center; padding: 11px 0; border-top: 1px solid var(--line); font-weight: 600; font-size: 14.5px; text-decoration: none; }
.hub a::after { content: "›"; color: var(--muted); font-size: 18px; }
.sec { display: grid; gap: 12px; align-content: start; }
.sec + .sec { margin-top: 0; }
.wrap > .sec, .wrap > section.sec { margin-top: 28px; }
.sec__sub { color: var(--muted); font-size: 14px; margin-top: -4px; }
.sec__note { color: var(--muted); font-size: 13px; }
.sec__h { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.tscroll { overflow-x: auto; margin-inline: -2px; position: relative; }
.tbl { width: 100%; font-size: 14px; }
.tbl th, .tbl td { padding: 10px 10px; text-align: left; border-top: 1px solid var(--line); vertical-align: middle; }
.tbl thead th { font: 700 11px/1.2 var(--body); text-transform: uppercase; letter-spacing: .06em; color: var(--muted); background: var(--surface-2); border-top: 0; white-space: nowrap; }
.tbl tbody th { font-weight: 600; }
.tbl--num td { text-align: right; white-space: nowrap; }
.tbl--num thead th:not(:first-child) { text-align: right; }
.tbl--num td.t-l { text-align: left; white-space: normal; min-width: 200px; color: #3B3E44; }
.tbl tr.is-on { background: var(--acc-soft); }
.tbl tr.is-on th { color: var(--acc-ink); }
.sauces { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.sauces p { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; }
.sauces p b { white-space: nowrap; }
.sauces small { color: var(--muted); font-weight: 500; }
.sbar { height: 8px; border-radius: 999px; overflow: hidden; background: var(--acc); margin: 6px 0 4px; }
.sbar span { display: block; height: 100%; background: var(--ink); }
.sauces__m { font-size: 12.5px; color: var(--muted); justify-content: flex-end !important; }
.cmp { display: grid; gap: 12px; }
@media (min-width: 640px) { .cmp { grid-template-columns: 1fr 1fr; } }
.cmp__c { display: grid; gap: 6px; padding: 14px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--paper); text-decoration: none; }
.cmp__c:hover { border-color: var(--ink); color: var(--ink); }
.cmp__h { display: flex; justify-content: space-between; gap: 8px; align-items: flex-start; }
.cmp__m { font-size: 12.5px; color: var(--muted); }
.cmp__cal { font: 400 14px/1 var(--body); color: var(--muted); }
.cmp__cal b { font: 900 30px/1 var(--display); color: var(--ink); letter-spacing: -0.02em; margin-right: 4px; }
.cmp__chips { display: flex; flex-wrap: wrap; gap: 5px; }
.cmp__chips .mchip { font-size: 11.5px; padding: 4px 8px; background: var(--surface); }
.alg { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 6px; }
.alg li { display: flex; justify-content: space-between; gap: 8px; padding: 8px 10px; border-radius: 6px; font-size: 13.5px; border: 1px solid var(--line); }
.alg li b { font-size: 12px; font-weight: 700; }
.alg .is-yes { background: var(--surface-2); border-color: #BFC1BC; }
.alg .is-no { color: var(--muted); }
.alg .is-no b { font-weight: 500; }
.faq { gap: 0; }
.faq h2 { margin-bottom: 8px; }
.faq__q { padding: 14px 0; border-top: 1px solid var(--line); display: grid; gap: 6px; }
.faq__q p { color: #33363B; max-width: 72ch; }
.links { list-style: none; margin: 0; padding: 0; display: grid; gap: 0 24px; }
@media (min-width: 640px) { .links { grid-template-columns: 1fr 1fr; } }
.links li { display: flex; justify-content: space-between; gap: 10px; padding: 9px 0; border-top: 1px solid var(--line); font-size: 14.5px; }
.links a { font-weight: 600; text-decoration: none; }
.links a:hover { text-decoration: underline; }
.links span { color: var(--muted); white-space: nowrap; }
.srcbox { display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; border-radius: var(--r-lg); background: var(--surface-2); border: 1px solid var(--line); font-size: 13.5px; color: #33363B; margin-top: 28px; }
.srcbox svg { width: 26px; height: 26px; color: var(--ok); flex: none; }
.srcbox div { display: grid; gap: 6px; }
.srcbox a { font-weight: 600; }
.dish__r .srcbox { margin-top: 0; }

/* ---------- cadena ---------- */
.summary { padding: 14px 18px; border-left: 4px solid var(--acc); background: var(--surface-2); border-radius: 0 var(--r) var(--r) 0; font-size: 15px; }
.stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 16px 0 6px; }
@media (min-width: 900px) { .stats { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; } .stats--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.stat { display: grid; gap: 4px; align-content: start; padding: 14px 16px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); text-decoration: none; min-width: 0; }
a.stat:hover { border-color: var(--ink); color: var(--ink); }
.stat b { font: 900 32px/1.05 var(--display); letter-spacing: -0.02em; }
.stat b small { font: 600 13px/1 var(--body); color: var(--muted); margin-left: 4px; letter-spacing: 0; }
.stat .stat__d { font-size: 22px; }
.stat > span:last-child { font-size: 13px; color: var(--muted); }
.stats__note { font-size: 12.5px; color: var(--muted); }
.menu { margin-top: 22px; display: grid; gap: 16px; }
.menu__bar { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.menu__sort { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); }
.menu__bar .pills { flex: 1 1 100%; }
.menu__count { font-size: 13px; color: var(--muted); flex: 1 1 100%; }
.menu__count:empty { display: none; }
.menu__grid { display: grid; gap: 16px; }
@media (min-width: 1000px) { .menu__grid { grid-template-columns: 190px minmax(0, 1fr) 280px; align-items: start; } }
@media (min-width: 700px) and (max-width: 999px) { .menu__grid { grid-template-columns: minmax(0, 1fr) 260px; } .cats { display: none; } }
.cats { position: sticky; top: 84px; padding: 16px !important; }
.cats ul { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 2px; }
.cats a { display: flex; justify-content: space-between; gap: 8px; padding: 7px 8px; border-radius: 6px; font-size: 14px; font-weight: 600; text-decoration: none; }
.cats a:hover { background: var(--surface-2); color: var(--ink); }
.cats a span { color: var(--muted); font-weight: 500; font-size: 12.5px; }
.cats__key { margin-top: 16px; padding-top: 12px; border-top: 1px solid var(--line); }
.cats__k { display: flex; gap: 8px; align-items: center; font-size: 13px; margin-top: 6px; }
@media (max-width: 699px) { .cats { display: none; } }
.menu__tables { display: grid; gap: 16px; min-width: 0; }
.mcat { padding: 0 !important; overflow: hidden; }
.mcat h2 { display: flex; align-items: center; gap: 10px; padding: 16px 16px 12px; font-size: 20px; }
.mcat h2::before { content: ""; width: 5px; height: 20px; background: var(--ink); border-radius: 1px; }
.mcat .sec__sub { padding: 0 16px 10px; margin: 0; }
.tbl--menu th, .tbl--menu td { padding: 9px 12px; }
.tbl--menu td { text-align: right; white-space: nowrap; }
.tbl--menu thead th:not(:first-child) { text-align: right; }
.tbl--menu tbody th { font-weight: 500; min-width: 170px; }
.tbl--menu tbody th a { font-weight: 700; text-decoration: none; }
.tbl--menu tbody th a:hover { text-decoration: underline; }
.tbl--menu .lab { display: inline-block; font-size: 12px; color: var(--muted); background: var(--surface-2); border-radius: 4px; padding: 1px 6px; margin-left: 2px; }
.tbl--menu .more { font-size: 12px; font-weight: 600; color: var(--acc-ink); margin-left: 4px; white-space: nowrap; }
.tbl--menu tbody tr:hover { background: #FCFCFA; }
.tbl--menu tr[hidden] { display: none; }
.mcat[hidden] { display: none; }
.menu__empty { padding: 20px; text-align: center; color: var(--muted); }
.menu__side { display: grid; gap: 16px; align-content: start; }
.side-calc { display: grid; gap: 12px; }
.side-calc h2 { font-size: 20px; }
.side-calc > p { font-size: 14px; color: var(--muted); }
.mini { display: grid; gap: 6px; padding: 12px; background: var(--surface-2); border-radius: var(--r); font-size: 13px; }
.mini__r { display: flex; justify-content: space-between; gap: 8px; }
.mini__t { border-top: 1px solid #C9CBC6; padding-top: 6px; font-weight: 800; }
.mini__t b { color: var(--acc-ink); }
.side-pop ul { list-style: none; margin: 10px 0 0; padding: 0; }
.side-pop li { display: flex; justify-content: space-between; gap: 10px; padding: 9px 0; border-top: 1px solid var(--line); font-size: 14px; }
.side-pop a { font-weight: 600; text-decoration: none; }
.side-pop li span, .side-pop li b { white-space: nowrap; }
.side-pop li span { color: var(--muted); }
.wrap > .faq { margin-top: 36px; }

/* ---------- calculadora ---------- */
.calc { display: grid; gap: 18px; margin-top: 8px; }
@media (min-width: 1000px) { .calc { grid-template-columns: minmax(0, 1fr) 390px; gap: 28px; align-items: start; } .calc__order { position: sticky; top: 84px; } }
.calc__pick { display: grid; gap: 16px; min-width: 0; }
.calc__list { display: grid; gap: 14px; }
.clist { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.citem { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: 10px; padding: 12px 12px 12px 14px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); }
.citem[hidden] { display: none; }
.citem.is-in { border-color: var(--acc); background: #FFFBFC; }
.citem__t { display: grid; gap: 3px; min-width: 0; }
.citem__t b { font-size: 15px; }
.citem__m { font-size: 12.5px; color: var(--muted); }
.add { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 8px; border: 1px solid var(--line); background: var(--surface-2); cursor: pointer; }
.add svg { width: 18px; height: 18px; }
.add:hover { background: var(--acc); border-color: var(--acc); color: #fff; }
@media (max-width: 520px) { .citem { grid-template-columns: minmax(0, 1fr) auto; } .citem .sel { grid-column: 1; grid-row: 2; justify-self: start; } .citem .add { grid-column: 2; grid-row: 1 / span 2; } }
.order { display: grid; gap: 14px; border: 1.5px solid var(--ink); }
.order__h { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.order__h h2 { font-size: 20px; display: flex; align-items: center; gap: 8px; }
.olines { list-style: none; margin: 0; padding: 0; display: grid; }
.olines li { display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto; align-items: center; gap: 8px; padding: 8px 0; border-top: 1px solid var(--line); font-size: 14px; }
.olines li:first-child { border-top: 0; }
.olines li > span:only-of-type { grid-column: 1 / 3; }
.olines b { white-space: nowrap; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 6px; }
.qty button { width: 30px; height: 30px; border: 0; background: none; cursor: pointer; font-weight: 700; font-size: 16px; }
.qty button:hover { background: var(--surface-2); }
.qty span { min-width: 22px; text-align: center; font-weight: 700; font-size: 13px; }
.ol__n { min-width: 0; }
.ol__n small { display: block; color: var(--muted); font-size: 12px; }
.ol__x { width: 30px; height: 30px; border: 0; background: none; color: var(--muted); cursor: pointer; font-size: 18px; border-radius: 6px; }
.ol__x:hover { background: var(--surface-2); color: var(--ink); }
.order__empty { font-size: 14px; color: var(--muted); padding: 10px 0; }
.order [data-olabel] { display: grid; gap: 10px; }
.order__day { font-size: 13.5px; padding: 10px 12px; background: var(--surface-2); border-radius: var(--r); }
.order__day:empty { display: none; }
.order__fine { font-size: 12px; color: var(--muted); text-align: center; }

@media (max-width: 699px) {
  .pills--tabs { flex-wrap: nowrap; overflow-x: auto; margin-inline: -18px; padding: 2px 18px 6px; scrollbar-width: none; }
  .pills--tabs::-webkit-scrollbar { display: none; }
  .pills--tabs button { flex: none; }
}
.obar { position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom, 0px)); z-index: 18; display: flex; align-items: center; gap: 12px;
  padding: 12px 16px; border-radius: 12px; background: var(--ink); color: #fff; text-decoration: none; box-shadow: 0 10px 30px rgba(20, 21, 24, .3); font-size: 14px; }
.obar b { font: 900 20px/1 var(--display); margin-right: auto; }
.obar:hover { color: #fff; }
.obar__go { font-weight: 700; color: #FFD3E1; }
.obar[hidden] { display: none; }
@media (min-width: 1000px) { .obar { display: none; } }
.calc-page main { padding-bottom: 96px; }

/* ---------- sanas ---------- */
.hl { display: grid; gap: 18px; }
@media (min-width: 1000px) { .hl { grid-template-columns: minmax(0, 1fr) 300px; gap: 28px; align-items: start; } .hl__side { position: sticky; top: 84px; } }
.hl__main { display: grid; gap: 18px; min-width: 0; }
.hl__side { display: grid; gap: 16px; }
.rank { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.rank__i { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 12px 14px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); }
.rank__n { font: 800 16px/1 var(--display); color: #A2A5AA; }
.rank__t { display: grid; gap: 6px; min-width: 0; }
.rank__name { font-weight: 700; font-size: 15.5px; }
.rank__name a { text-decoration: none; }
.rank__name a:hover { text-decoration: underline; }
.rank__name small { color: var(--muted); font-weight: 500; margin-left: 4px; }
.rank__chips { display: flex; flex-wrap: wrap; gap: 5px; }
.rank__chips .mchip { font-size: 11.5px; padding: 4px 8px; background: var(--surface); }
.rank__big { font: 900 30px/1 var(--display); text-align: right; letter-spacing: -0.02em; white-space: nowrap; }
.rank__big small { display: block; font: 700 10.5px/1.4 var(--body); color: var(--muted); letter-spacing: .06em; text-transform: uppercase; }
@media (max-width: 520px) { .rank__i { grid-template-columns: auto minmax(0, 1fr); } .rank__big { grid-column: 2; text-align: left; font-size: 24px; } .rank__big small { display: inline; margin-left: 4px; } }
.pbars { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.pbars p { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 4px 12px; font-size: 14.5px; font-weight: 600; }
.pbars p a { text-decoration: none; }
.pbars small { color: var(--muted); font-weight: 500; }
.pbars b small { font-size: 12px; }
.pbar { height: 8px; border-radius: 999px; background: var(--surface-2); margin-top: 6px; overflow: hidden; }
.pbar span { display: block; height: 100%; background: var(--p); border-radius: 999px; }
.meals { display: grid; gap: 12px; }
@media (min-width: 700px) { .meals { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.meal { display: grid; gap: 6px; align-content: start; padding: 14px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--paper); font-size: 13.5px; }
.meal__r { display: flex; justify-content: space-between; gap: 8px; }
.meal__t { display: flex; justify-content: space-between; align-items: baseline; border-top: 2px solid var(--ink); padding-top: 8px; margin-top: 4px; font: 800 13px/1 var(--display); text-transform: uppercase; letter-spacing: .04em; }
.meal__t b { font: 900 24px/1 var(--display); color: var(--acc-ink); letter-spacing: -0.02em; text-transform: none; }
.meal__m { display: flex; flex-wrap: wrap; gap: 4px 10px; font-weight: 700; font-size: 12.5px; margin-bottom: 6px; }
.swaps { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.swaps li { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 12px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--paper); font-size: 14px; }
.swap__a, .swap__b { padding: 6px 10px; background: var(--surface); border: 1px solid var(--line); border-radius: 6px; }
.swap__b { font-weight: 600; }
.swap__arrow { color: var(--muted); font-weight: 700; }
.hl__side .side-pop li b { font: 800 16px/1 var(--display); }

/* ---------- portada ---------- */
.hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--line);
  background:
    radial-gradient(38% 70% at 88% 18%, rgba(194, 37, 92, .20), transparent 70%),
    radial-gradient(34% 60% at 72% 92%, rgba(201, 130, 0, .20), transparent 70%),
    radial-gradient(30% 55% at 100% 70%, rgba(18, 135, 122, .16), transparent 70%),
    radial-gradient(45% 80% at 0% 0%, rgba(47, 91, 211, .07), transparent 70%),
    linear-gradient(180deg, #FFFFFF 0%, #FFF8F4 100%); }
.hero__in { position: relative; z-index: 1; }
.hero__in { display: grid; gap: 14px; justify-items: start; padding-block: 40px 44px; }
.hero__txt { display: grid; gap: 14px; justify-items: start; min-width: 0; width: 100%; }
.hero__lab { display: none; }
@media (min-width: 1000px) {
  .hero__in { grid-template-columns: minmax(0, 1fr) 340px; column-gap: 64px; align-items: center; }
  .hero__lab { display: grid; gap: 12px; width: 100%; padding: 16px; background: var(--surface); border: 1px solid var(--line);
    border-radius: var(--r-lg); box-shadow: 0 18px 40px rgba(20, 21, 24, .10); }
}
.hero__lab-h { display: flex; align-items: center; gap: 10px; }
.hero__lab-h b { display: block; font: 800 15px/1.25 var(--display); }
.hero__lab-h small { display: block; font-size: 12.5px; color: var(--muted); }
.seg--sm { padding: 3px; }
.seg--sm button { min-height: 32px; min-width: 0; padding: 4px 12px; font-size: 13px; }
.nf--hero { padding: 6px 10px 8px; }
.nf--hero .nf__t { font-size: 30px; }
.nf--hero .nf__serv { font-size: 13.5px; border-bottom-width: 8px; }
.nf--hero .nf__cal { font-size: 22px; border-bottom-width: 4px; }
.nf--hero .nf__cal b { font-size: 34px; }
.nf--hero .nf__rows th, .nf--hero .nf__rows td { font-size: 13.5px; padding: 3px 0; }
.nf--hero .nf__prot th, .nf--hero .nf__prot td { border-bottom-width: 8px; }
.hero__lab .arrow { justify-self: start; }
@media (min-width: 900px) { .hero__in { padding-block: 64px 64px; } }
.hero__k { font: 700 12px/1 var(--body); text-transform: uppercase; letter-spacing: .08em; color: var(--acc-ink); display: inline-flex; gap: 8px; align-items: center; }
.hero__k::before { content: ""; width: 22px; height: 4px; background: var(--acc); }
.hero h1 { font-size: clamp(38px, 6.6vw, 68px); font-weight: 900; letter-spacing: -0.035em; line-height: 1; max-width: 16ch; }
.hero .lede { font-size: 18px; }
.hero__s { position: relative; display: flex; align-items: center; gap: 10px; width: min(720px, 100%); margin-top: 8px; padding: 6px 6px 6px 16px;
  border: 2px solid var(--ink); border-radius: 12px; background: var(--surface); }
.hero__s svg { width: 22px; height: 22px; flex: none; }
.hero__s input { flex: 1; min-width: 0; border: 0; outline: none; font-size: 17px; padding: 10px 0; background: none; }
.hero__s:focus-within { box-shadow: 0 0 0 4px var(--acc-soft); }
.hero__res { position: absolute; left: -2px; right: -2px; top: calc(100% + 6px); background: var(--surface); border: 1px solid var(--ink); border-radius: 12px; box-shadow: 0 18px 40px rgba(20, 21, 24, .18); z-index: 15; overflow: hidden; }
.hero__res:empty { display: none; }
@media (max-width: 520px) { .hero__s .btn { padding-inline: 12px; } }
.home .wrap > .sec { margin-top: 40px; }
/* cabecera con foto de fondo (26-nov) */
.hero--foto { background: var(--ink); color: var(--on-dark); border-bottom: 0; isolation: isolate;
  overflow: visible; z-index: 3; }  /* sin recorte: la lista del buscador sobresale por debajo de la cabecera */
.hero__ph { position: absolute; inset: 0; z-index: 0; }
.hero__ph img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; display: block; }
.hero--foto::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(90deg, rgba(var(--scrim), .86) 0%, rgba(var(--scrim), .74) 42%, rgba(var(--scrim), .5) 60%, rgba(var(--scrim), .16) 76%, rgba(var(--scrim), .08) 100%),
              linear-gradient(0deg, rgba(var(--scrim), .45) 0%, transparent 40%); }
.hero--foto .hero__in { z-index: 2; }
.hero--foto h1 { color: var(--on-dark); }
.hero--foto .lede { color: var(--on-dark-2); }
.hero--foto .hero__k { color: var(--acc-light); }
.hero--foto .hero__k::before { background: var(--acc-light); }
.hero--foto .hero__s { border-color: var(--surface); color: var(--ink); box-shadow: 0 18px 40px rgba(0, 0, 0, .28); }
.hero--foto .hero__lab { color: var(--ink); border-color: transparent; box-shadow: 0 24px 60px rgba(0, 0, 0, .35); }
@media (min-width: 900px) { .hero--foto .hero__in { padding-block: 88px 92px; } }
@media (max-width: 699px) {
  .hero__ph img { object-position: 50% 40%; }
  .hero--foto::after { background: linear-gradient(180deg, rgba(var(--scrim), .55) 0%, rgba(var(--scrim), .78) 55%, rgba(var(--scrim), .9) 100%); }
  .hero--foto .hero__in { padding-block: 120px 36px; }
}
.chains { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; margin-top: 6px; }
@media (min-width: 900px) { .chains { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; } }
.chain { display: grid; justify-items: center; gap: 8px; padding: 18px 12px; text-align: center; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); text-decoration: none; }
.chain:hover { border-color: var(--ink); color: var(--ink); }
.chain__n { font-weight: 700; }
/* tarjeta de cadena con foto: la foto arriba, el distintivo montado en su borde */
.chain--foto { padding: 0 0 16px; overflow: hidden; gap: 6px; }
.chain__ph { display: block; width: 100%; aspect-ratio: 4 / 3; background: var(--surface-2); overflow: hidden; }
.chain__ph img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s ease-out; }
.chain--foto:hover .chain__ph img { transform: scale(1.04); }
.chain--foto .badge--lg { margin-top: -34px; position: relative; box-shadow: 0 0 0 4px var(--surface); }
.chain--foto .chain__n, .chain--foto .chain__m { padding-inline: 10px; }
@media (prefers-reduced-motion: reduce) { .chain__ph img { transition: none; } .chain--foto:hover .chain__ph img { transform: none; } }
.chain__m { font-size: 12px; color: var(--muted); }
.next { font-size: 14px; color: var(--muted); margin-top: 4px; }
.next b { color: var(--ink); }
.icards { display: grid; gap: 12px; }
@media (min-width: 640px) { .icards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .icards { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; } }
.icard { display: grid; gap: 10px; align-content: start; padding: 16px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); text-decoration: none; }
.icard:hover { border-color: var(--ink); color: var(--ink); }
.icard__top { display: flex; align-items: center; gap: 8px; }
.icard__name { font: 800 18px/1.2 var(--display); }
.icard__meta { font-size: 12.5px; color: var(--muted); margin-top: -6px; }
.icard__cal { font: 600 13px/1 var(--body); color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }
.icard__cal b { font: 900 46px/1 var(--display); color: var(--ink); letter-spacing: -0.03em; margin-right: 6px; text-transform: none; }
.icard__chips { display: flex; flex-wrap: wrap; gap: 5px; }
.icard__chips .mchip { font-size: 11.5px; padding: 4px 8px; }
.icard__foot { display: flex; justify-content: space-between; font-size: 12.5px; color: var(--muted); border-top: 1px solid var(--line); padding-top: 10px; }
.icard__go { color: var(--acc-ink); font-weight: 700; }
.icard__go::after { content: " ›"; }
.calcs { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.calcs__ph { margin: 0; border-radius: var(--r-lg); overflow: hidden; background: var(--surface-2); aspect-ratio: 16 / 9; }
.calcs__ph img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; display: block; }
@media (min-width: 640px) { .calcs--foto { grid-template-columns: repeat(2, minmax(0, 1fr)); } .calcs--foto .calcs__ph { grid-column: 1 / -1; aspect-ratio: 21 / 9; } }
@media (min-width: 1000px) { .calcs--foto { grid-template-columns: repeat(4, minmax(0, 1fr)); } .calcs--foto .calcs__ph { grid-column: 1; grid-row: span 2; aspect-ratio: auto; } }
.calcc { display: grid; gap: 12px; align-content: start; }
.calcc__h { display: flex; align-items: center; gap: 8px; }
.calcc > p:not(.calcc__h) { font-size: 14px; color: var(--muted); }
.how { margin-top: 48px !important; padding: 24px; border: 2px solid var(--ink); border-radius: var(--r-lg); background: var(--surface); }
.how h2 { padding-bottom: 14px; border-bottom: 4px solid var(--ink); }
.how__cols { display: grid; gap: 18px; padding-top: 6px; }
@media (min-width: 800px) { .how__cols { grid-template-columns: repeat(3, 1fr); gap: 28px; } }
.how__cols div { display: grid; gap: 6px; align-content: start; }
.how__cols p { font-size: 14.5px; color: #3B3E44; }

/* ---------- A–Z ---------- */
.az { margin-top: 26px; }
.az h2 { display: flex; align-items: center; gap: 10px; padding-bottom: 10px; border-bottom: 1px solid var(--line); margin-bottom: 12px; }
.azg { display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); }
.azc { display: grid; gap: 12px; padding: 14px !important; }
.azc__id { display: flex; gap: 12px; align-items: center; text-decoration: none; }
.azc__id span { display: grid; gap: 2px; }
.azc__id small { color: var(--muted); }
.azc__l { display: flex; flex-wrap: wrap; gap: 6px; }
.soon { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0; padding: 0; }
.soon li { padding: 6px 12px; border-radius: 999px; background: var(--surface-2); font-size: 13.5px; color: #3B3E44; }

/* ---------- texto, formularios, buscador grande ---------- */
.prose { font-size: 16.5px; }
.prose h2 { margin-top: 10px; }
.prose p, .prose ul { max-width: 70ch; color: #2B2E33; }
.prose ul { padding-left: 20px; margin: 0; display: grid; gap: 8px; }
.wrap--read .sec { margin-top: 26px; }
.report { border-left: 4px solid var(--acc); }
.report .btn { justify-self: start; }
.form { display: grid; gap: 16px; max-width: 640px; }
.form label { display: block; font-weight: 700; font-size: 14px; margin-bottom: 6px; }
.form input:not([type=hidden]), .form textarea { width: 100%; padding: 11px 12px; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface-2); font-size: 15px; }
.form input:focus, .form textarea:focus { outline: none; border-color: var(--ink); background: var(--surface); box-shadow: 0 0 0 3px var(--acc-soft); }
.form .btn { justify-self: start; }
.form__fine { font-size: 12.5px; color: var(--muted); }
.msg { padding: 14px 16px; border-radius: var(--r); background: var(--ok-soft); border: 1px solid var(--ok); margin-bottom: 16px; }
.msg--bad { background: var(--acc-soft); border-color: var(--acc); }
.sbig { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 14px; }
.tbl--search td:last-child { font-weight: 800; }
.tbl--search td a { font-weight: 700; }
.tbl--search td:nth-child(2), .tbl--search td:nth-child(3), .tbl--search td:first-child { text-align: left; white-space: normal; }

/* ---------- publicidad (solo con ANUNCIOS = True) ---------- */
.ad { display: grid; place-items: center; min-height: 280px; border: 1px dashed #C9CBC6; border-radius: var(--r-lg); background: var(--surface-2); margin: 4px 0; }
@media (min-width: 900px) { .ad--mid { min-height: 250px; } .ad--rail { min-height: 600px; } }
.ad__l { font: 700 10.5px/1 var(--body); text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }

/* ---------- pie ---------- */
.ft { background: var(--surface-2); border-top: 1px solid var(--line); padding: 36px 0 28px; font-size: 14px; }
.ft__cols { display: grid; gap: 22px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 900px) { .ft__cols { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.ft__t { font: 800 12px/1 var(--display); text-transform: uppercase; letter-spacing: .08em; padding-bottom: 10px; border-bottom: 2px solid var(--ink); margin-bottom: 8px; }
.ft ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.ft a { color: #3B3E44; text-decoration: none; }
.ft a:hover { color: var(--ink); text-decoration: underline; }
.ft__fine { font-size: 12.5px; color: var(--muted); margin-top: 22px; max-width: 110ch; }
.ft__fine + .ft__fine { margin-top: 6px; }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; } }
@media print { .hd, .ft, .ad, .answer__act, .menu__bar, .srch { display: none !important; } body { background: #fff; } }

/* iconos de sección (portada) */
.sico { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; margin-right: 10px;
  vertical-align: -6px; background: var(--acc-soft); color: var(--acc-ink); }
.sico svg { width: 19px; height: 19px; }
.sico--p { background: #E7EEFC; color: var(--p-ink); } .sico--c { background: #FBF0DA; color: var(--c-ink); }
.sico--f { background: #DDF2EE; color: var(--f-ink); }
.how__cols .sico { width: 42px; height: 42px; margin: 0 0 10px; display: grid; }
.how__cols .sico svg { width: 22px; height: 22px; }
.chain { position: relative; }
.chain:hover { border-color: var(--mk-b, var(--ink)); }
.chain::before { content: ""; position: absolute; inset: 0 0 auto; height: 46%; border-radius: var(--r-lg) var(--r-lg) 0 0;
  background: linear-gradient(180deg, color-mix(in srgb, var(--mk-b, #fff) 10%, #fff), #fff); z-index: 0; }
.chain > * { position: relative; z-index: 1; }

/* 1-dic-2026: banda de la calculadora, más ligera y cambios de tamaño en la ficha */
.cband { display: grid; gap: 14px; margin: 16px 0; border-color: var(--acc); background: linear-gradient(180deg, var(--acc-soft), var(--surface)); }
.cband__t { display: grid; gap: 8px; align-content: start; justify-items: start; }
.cband__t h2 { margin: 0; }
.cband__g { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.cband__g li { display: grid; gap: 4px; align-content: start; padding: 12px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); font-size: 13.5px; }
.cband__n { font-weight: 600; }
.cband__m { color: var(--muted); }
.cband__m b { color: var(--acc-ink); }
.cband__g a { font-weight: 700; color: var(--acc-ink); }
@media (min-width: 800px) { .cband { grid-template-columns: minmax(220px, 1fr) minmax(0, 2.6fr); align-items: start; } .cband__g { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.swapline { font-size: 15px; display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: baseline; }
.swapline a { font-weight: 700; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.steps li { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--paper); font-size: 13.5px; }
.steps li > span:first-child { font-weight: 700; flex: 1 1 140px; }
.steps small { font-weight: 500; color: var(--muted); }
