/* Live Trends Top — la ficha de receta sobre la encimera.
   Ver tools/DISENO.md para el plan de tokens y sus razones. */

@font-face { font-family: "Young Serif"; src: url("../fonts/young-serif-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Atkinson Hyperlegible Next"; src: url("../fonts/atkinson-hyperlegible-next-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Atkinson Hyperlegible Next"; src: url("../fonts/atkinson-hyperlegible-next-latin-400-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Atkinson Hyperlegible Next"; src: url("../fonts/atkinson-hyperlegible-next-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-display: swap; }

:root {
  --encimera: #ECEFE8;
  --ficha: #FCFDF9;
  --tinta: #18271F;
  --apagado: #536259;
  --filete: #CFD7CF;
  --renglon: #CBD7DC;
  --recetas: #3D5C12;
  --salud: #145C62;
  --belleza: #7A2E5C;
  --sobre-color: #FCFDF9;
  --hecho: #65726A;

  --display: "Young Serif", "Iowan Old Style", Georgia, serif;
  --texto: "Atkinson Hyperlegible Next", "Atkinson Hyperlegible", system-ui, -apple-system, "Segoe UI", sans-serif;

  --t-14: .875rem; --t-17: 1.0625rem; --t-20: 1.25rem; --t-26: 1.625rem;
  --t-36: clamp(1.75rem, 1.2rem + 2.2vw, 2.25rem);
  --t-56: clamp(2.25rem, 1.3rem + 4vw, 3.5rem);
  --t-84: clamp(2.6rem, 1rem + 6.5vw, 5.25rem);

  --s-1: .5rem; --s-2: 1rem; --s-3: 1.5rem; --s-4: 2.5rem; --s-5: 4rem; --s-6: 6rem;
  --radio: 4px;
  --ancho: 1240px;
  --medida: 66ch;
  --cat: var(--recetas);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --encimera: #111A15; --ficha: #18231D; --tinta: #E6ECE7; --apagado: #A5B3AA; --filete: #2C3A32;
    --renglon: #29394A; --recetas: #A9C97A; --salud: #7CC4C8; --belleza: #DDA0C6; --sobre-color: #111A15; --hecho: #8F9D94;
    color-scheme: dark;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 5.5rem; }
body {
  margin: 0; background: var(--encimera); color: var(--tinta);
  font: 400 var(--t-17)/1.65 var(--texto);
  min-height: 100vh; min-height: 100dvh;
  padding-left: env(safe-area-inset-left, 0px); padding-right: env(safe-area-inset-right, 0px);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .2em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--tinta); outline-offset: 3px; border-radius: 2px; }
button, input { font: inherit; color: inherit; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; line-height: 1.1; text-wrap: balance; margin: 0; }
p { margin: 0; }
.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 { width: min(100% - 2.5rem, var(--ancho)); margin-inline: auto; }
@media (max-width: 480px) { .wrap { width: calc(100% - 2rem); } }

.cat-salud, .card--salud, .sec--salud, .more__item--salud { --cat: var(--salud); }
.cat-belleza, .card--belleza, .sec--belleza, .more__item--belleza { --cat: var(--belleza); }
.cat-recetas, .card--recetas, .sec--recetas, .more__item--recetas { --cat: var(--recetas); }

.skip-link { position: absolute; left: 1rem; top: -5rem; z-index: 100; background: var(--tinta); color: var(--encimera); padding: .7rem 1rem; border-radius: var(--radio); }
.skip-link:focus { top: calc(1rem + env(safe-area-inset-top, 0px)); }

/* ——— Cabecera ——— */
.masthead {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--encimera) 92%, transparent);
  -webkit-backdrop-filter: saturate(1.2) blur(10px); backdrop-filter: saturate(1.2) blur(10px);
  border-bottom: 1px solid var(--filete);
  padding-top: env(safe-area-inset-top, 0px);
}
.masthead__bar { display: flex; align-items: center; gap: var(--s-3); min-height: 4.25rem; }
.brand { font-family: var(--display); font-size: 1.45rem; line-height: 1; text-decoration: none; margin-inline-end: auto; white-space: nowrap; }
.nav { display: flex; align-items: center; gap: var(--s-3); }
.nav nav { display: flex; gap: var(--s-3); }
.nav nav a { text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; font-weight: 700; }
.nav nav a:hover { text-decoration: underline; }
.search { display: flex; }
.search input {
  width: 15rem; min-height: 44px; padding: .5rem .85rem; border: 1px solid var(--filete); border-right: 0;
  border-radius: 999px 0 0 999px; background: var(--ficha);
}
.search input::placeholder { color: var(--apagado); opacity: 1; }
.search button {
  min-height: 44px; padding: .5rem 1.05rem; border: 1px solid var(--tinta); background: var(--tinta); color: var(--encimera);
  border-radius: 0 999px 999px 0; font-weight: 700; cursor: pointer;
}
.menu-toggle {
  display: none; align-items: center; gap: .55rem; min-height: 44px; padding: .4rem .9rem;
  background: none; border: 1px solid var(--filete); border-radius: 999px; font-weight: 700; cursor: pointer;
}
.menu-toggle__bars, .menu-toggle__bars::before { display: block; width: 16px; height: 2px; background: currentColor; position: relative; }
.menu-toggle__bars::before { content: ""; position: absolute; top: 5px; }
.menu-toggle__bars { transform: translateY(-2.5px); }

@media (max-width: 900px) {
  .menu-toggle { display: inline-flex; }
  .nav {
    display: none; position: absolute; inset: 100% 0 auto 0; flex-direction: column; align-items: stretch; gap: var(--s-2);
    background: var(--ficha); border-bottom: 1px solid var(--filete); padding: var(--s-2) 1.25rem var(--s-3);
  }
  .nav.is-open { display: flex; }
  .nav nav { flex-direction: column; gap: 0; }
  .nav nav a { min-height: 52px; border-bottom: 1px solid var(--filete); font-size: var(--t-20); font-family: var(--display); font-weight: 400; }
  .search input { flex: 1; width: auto; }
}

/* ——— Datos reales (sin punto medio) ——— */
.facts { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .35rem 1.25rem; font-size: var(--t-14); color: var(--apagado); }
.facts li { display: inline-flex; align-items: center; gap: .45rem; }
.facts li + li::before { content: ""; width: 1px; height: .9em; background: var(--filete); margin-inline-end: .8rem; margin-inline-start: -.55rem; }

/* ——— Portada: la ficha destacada ——— */
.cover { padding: var(--s-4) 0 var(--s-5); overflow-x: clip; }
.cover__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(1.5rem, 4vw, 4rem); align-items: start; }
.cover-card {
  position: relative; background: var(--ficha); color: var(--tinta);
  padding: clamp(1.5rem, 4vw, 3.25rem) clamp(1.25rem, 4vw, 3.25rem) clamp(1.5rem, 4vw, 3rem);
  border-radius: var(--radio);
  border-top: 6px double var(--cat);
  box-shadow: 0 1px 0 var(--filete), 0 18px 40px -24px rgb(24 39 31 / .45);
  transform: rotate(-1.1deg); transform-origin: 30% 100%;
}
@keyframes posar {
  from { transform: translateY(-18px) rotate(-4.5deg); box-shadow: 0 1px 0 var(--filete), 0 40px 60px -30px rgb(24 39 31 / .5); }
  to { transform: rotate(-1.1deg); }
}
.cover-card__title { font-size: var(--t-84); line-height: .98; letter-spacing: -.01em; max-width: 11ch; }
.cover-card__title a { text-decoration: none; }
.cover-card__title a:hover { text-decoration: underline; text-decoration-thickness: 3px; }
.cover-card__dek { margin-top: var(--s-2); font-size: var(--t-20); max-width: 34ch; color: var(--apagado); }
.cover-card__stats { display: flex; gap: var(--s-4); margin-top: var(--s-4); }
.cover-card__stats p { display: flex; align-items: baseline; gap: .5rem; font-weight: 700; }
.stat { font-family: var(--display); font-size: var(--t-56); line-height: 1; color: var(--cat); font-variant-numeric: tabular-nums; font-weight: 400; }
.cover-card__peek {
  list-style: none; padding: 0; margin: var(--s-3) calc(-1 * clamp(1.25rem, 4vw, 3.25rem)) 0; padding: 0 clamp(1.25rem, 4vw, 3.25rem);
  columns: 2 13rem; column-gap: var(--s-4); border-top: 1px solid var(--renglon);
  background-image: repeating-linear-gradient(to bottom, transparent 0 calc(2.25rem - 1px), var(--renglon) calc(2.25rem - 1px) 2.25rem);
}
.cover-card__peek li { line-height: 2.25rem; break-inside: avoid; color: var(--apagado); }
.cover-card__peek li::before { content: ""; display: inline-block; width: .45rem; height: .45rem; border-radius: 50%; background: var(--cat); margin-inline-end: .65rem; vertical-align: .12em; }
.button {
  display: inline-flex; align-items: center; min-height: 48px; margin-top: var(--s-4); padding: .7rem 1.4rem;
  background: var(--cat); color: var(--sobre-color); text-decoration: none; font-weight: 700; border-radius: 999px;
}
.button:hover { text-decoration: underline; }

.more h2 { font-size: var(--t-26); padding-bottom: var(--s-2); border-bottom: 2px solid var(--tinta); }
.more__list { list-style: none; padding: 0; margin: 0; }
.more__item { border-bottom: 1px solid var(--filete); padding: var(--s-2) 0 var(--s-2) 1.1rem; position: relative; display: grid; gap: .15rem; }
.more__item::before { content: ""; position: absolute; left: 0; top: 1.35rem; bottom: 1.35rem; width: 4px; border-radius: 2px; background: var(--cat); }
.more__item a { font-family: var(--display); font-size: var(--t-20); line-height: 1.2; text-decoration: none; }
.more__item a:hover { text-decoration: underline; }
.more__cat { font-size: var(--t-14); color: var(--apagado); }

/* ——— Secciones ——— */
.sec { padding: var(--s-5) 0; border-top: 1px solid var(--filete); }
.sec__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .5rem var(--s-2); margin-bottom: var(--s-4); }
.sec__head h2 { font-size: var(--t-56); }
.sec__head p { color: var(--apagado); font-size: var(--t-17); }
.sec--salud { background: var(--ficha); }

.grid { display: grid; gap: var(--s-3); grid-template-columns: repeat(auto-fill, minmax(min(100%, 17rem), 1fr)); }
.card {
  background: var(--ficha); border-radius: var(--radio); border-top: 4px double var(--cat);
  padding: var(--s-3) var(--s-3) var(--s-3); display: flex; flex-direction: column; gap: .7rem; position: relative;
  box-shadow: 0 1px 0 var(--filete);
}
.card__title { font-size: var(--t-26); line-height: 1.12; }
.card__title a { text-decoration: none; }
.card__title a::after { content: ""; position: absolute; inset: 0; border-radius: var(--radio); }
.card:hover .card__title a { text-decoration: underline; }
.card:focus-within { outline: 3px solid var(--tinta); outline-offset: 3px; }
.card__title a:focus-visible { outline: none; }
.card__dek { color: var(--apagado); }
.card .facts { margin-top: auto; padding-top: .6rem; border-top: 1px solid var(--renglon); }
.grid--recipes .card--lead { grid-column: span 2; }
.card--lead .card__title { font-size: var(--t-36); max-width: 16ch; }
.card--lead .card__dek { font-size: var(--t-20); max-width: 40ch; }
@media (max-width: 640px) { .grid--recipes .card--lead { grid-column: auto; } }

.leaflet { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 24rem), 1fr)); column-gap: var(--s-5); }
.leaflet__item { padding: var(--s-3) 0; border-top: 2px solid var(--cat); display: grid; gap: .6rem; }
.leaflet__item h3 { font-size: var(--t-26); }
.leaflet__item h3 a { text-decoration: none; }
.leaflet__item h3 a:hover { text-decoration: underline; }
.leaflet__item p { color: var(--apagado); max-width: 52ch; }

.results { padding: var(--s-4) 0 var(--s-5); }
.results .sec__head h2 { font-size: var(--t-36); }
.results__empty { color: var(--apagado); padding: var(--s-3) 0; }
.text-link { font-weight: 700; }

/* ——— Artículo ——— */
.article { padding: var(--s-4) 0 var(--s-5); }
.article--story .wrap, .article--legal .wrap { width: min(100% - 2.5rem, 44rem); }
@media (max-width: 480px) { .article--story .wrap, .article--legal .wrap { width: calc(100% - 2rem); } }
.crumbs { font-size: var(--t-14); color: var(--apagado); margin-bottom: var(--s-3); }
.crumbs a { color: inherit; }
.crumbs a:last-child { color: var(--cat); font-weight: 700; }
.article__head h1 { font-size: var(--t-84); line-height: 1; letter-spacing: -.01em; max-width: 18ch; }
.article--story .article__head h1 { font-size: var(--t-56); line-height: 1.06; }
.article--legal .article__head h1 { font-size: var(--t-56); }
.standfirst { font-size: var(--t-20); max-width: 46ch; margin-top: var(--s-3); line-height: 1.5; }
.facts--byline { margin-top: var(--s-3); font-size: var(--t-17); }

.epigraph { margin: var(--s-3) 0 0; max-width: 44ch; padding-left: 1.25rem; border-left: 3px solid var(--cat); }
.epigraph blockquote { margin: 0; font-style: italic; font-size: var(--t-17); }
.epigraph blockquote p::before { content: "“"; }
.epigraph blockquote p::after { content: "”"; }
.epigraph figcaption { font-size: var(--t-14); color: var(--apagado); margin-top: .3rem; }

/* Receta: ficha de ingredientes + método */
.recipe-layout { display: grid; grid-template-columns: minmax(0, 23rem) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 4.5rem); align-items: start; margin-top: var(--s-4); }
.recipe-layout--solo { grid-template-columns: minmax(0, 32rem); }
.recipe-layout__card { position: sticky; top: 5.75rem; }
@media (max-width: 860px) {
  .recipe-layout { grid-template-columns: minmax(0, 1fr); }
  .recipe-layout__card { position: static; }
}
.recipe-card {
  background: var(--ficha); border-radius: var(--radio); border-top: 6px double var(--cat);
  padding: var(--s-3) var(--s-3) var(--s-2); box-shadow: 0 1px 0 var(--filete), 0 14px 30px -24px rgb(24 39 31 / .4);
}
.recipe-card__head { display: flex; align-items: baseline; justify-content: space-between; gap: var(--s-2); padding-bottom: .6rem; border-bottom: 2px solid var(--tinta); }
.recipe-card__head h2 { font-size: var(--t-26); }
.recipe-card__count { font-size: var(--t-14); color: var(--apagado); font-variant-numeric: tabular-nums; text-align: right; }
.recipe-card__group { font-family: var(--texto); font-weight: 700; font-size: var(--t-14); color: var(--cat); margin-top: var(--s-3); }
.checklist { list-style: none; margin: 0; padding: 0; }
.checklist li { border-bottom: 1px solid var(--renglon); }
.checklist label { display: flex; gap: .8rem; align-items: flex-start; padding: .65rem 0; min-height: 48px; cursor: pointer; line-height: 1.4; }
.checklist input, .steps input {
  appearance: none; -webkit-appearance: none; flex: none; width: 1.25rem; height: 1.25rem; margin: .1rem 0 0;
  border: 2px solid var(--cat); border-radius: 4px; background: var(--ficha); cursor: pointer; display: grid; place-content: center;
}
.checklist input::before, .steps input::before {
  content: ""; width: .7rem; height: .4rem; border: solid var(--sobre-color); border-width: 0 0 2.5px 2.5px; transform: rotate(-45deg) translate(1px, -1px); opacity: 0;
}
.checklist input:checked, .steps input:checked { background: var(--cat); }
.checklist input:checked::before, .steps input:checked::before { opacity: 1; }
.checklist input:checked + span { color: var(--hecho); text-decoration: line-through; text-decoration-thickness: 1px; }
.text-button { background: none; border: 0; padding: .6rem 0; min-height: 44px; font-weight: 700; color: var(--cat); cursor: pointer; text-decoration: underline; text-underline-offset: .2em; }

.method__head { display: flex; align-items: baseline; justify-content: space-between; gap: var(--s-2); flex-wrap: wrap; padding-bottom: .6rem; border-bottom: 2px solid var(--tinta); }
.method__head h2 { font-size: var(--t-36); }
.method__hint { font-size: var(--t-14); color: var(--apagado); }
.method { max-width: 46rem; }
.steps { list-style: none; margin: 0; padding: 0; }
.steps li { border-bottom: 1px solid var(--filete); }
.steps label { display: grid; grid-template-columns: 3.25rem minmax(0, 1fr) auto; gap: .9rem; align-items: start; padding: var(--s-3) 0; cursor: pointer; }
.step__n { font-family: var(--display); font-size: var(--t-36); line-height: 1; color: var(--cat); font-variant-numeric: tabular-nums; }
.step__t { font-size: var(--t-20); line-height: 1.55; }
.steps input { order: 3; margin-top: .35rem; width: 1.5rem; height: 1.5rem; }
.steps input:checked ~ .step__t, .steps label:has(input:checked) .step__t { color: var(--hecho); }
.steps label:has(input:checked) .step__n { color: var(--hecho); }
.recipe-layout__main > p { max-width: var(--medida); font-size: var(--t-20); margin-top: var(--s-3); }
@media (max-width: 480px) { .steps label { grid-template-columns: 2.4rem minmax(0, 1fr) auto; } .step__t { font-size: var(--t-17); } }

/* Salud y legal: prospecto */
.prose { max-width: var(--medida); margin-top: var(--s-4); font-size: var(--t-20); line-height: 1.7; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-size: var(--t-36); margin-top: 1.9em; color: var(--tinta); padding-top: var(--s-2); border-top: 2px solid var(--cat); }
.prose h3 { font-size: var(--t-26); margin-top: 1.6em; }
.prose ul, .prose ol { padding-left: 1.4rem; }
.prose ol { list-style: none; padding: 0; counter-reset: paso; }
.prose ol li { counter-increment: paso; display: grid; grid-template-columns: 2.5rem minmax(0, 1fr); gap: .75rem; padding: .9rem 0; border-bottom: 1px solid var(--filete); }
.prose ol li::before { content: counter(paso); font-family: var(--display); font-size: var(--t-26); line-height: 1.2; color: var(--cat); }
.prose li + li { margin-top: 0; }
.article--legal .prose { font-size: var(--t-17); }
.article--legal .prose h2 { font-size: var(--t-26); }
.figure { margin: var(--s-4) 0; }
.figure img { border-radius: var(--radio); width: auto; max-width: 100%; max-height: min(34rem, 75vh); margin-inline: auto; object-fit: contain; }
.figure figcaption { font-size: var(--t-14); color: var(--apagado); margin-top: .5rem; }
.video__frame { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radio); overflow: hidden; background: #000; }
.video__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.related { padding: var(--s-5) 0; border-top: 1px solid var(--filete); }
.related h2 { font-size: var(--t-36); margin-bottom: var(--s-3); }
.related .grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr)); }

/* ——— Pie ——— */
.site-footer { background: var(--tinta); color: var(--encimera); padding: var(--s-5) 0 calc(var(--s-4) + env(safe-area-inset-bottom, 0px)); }
.footer-grid { display: grid; gap: var(--s-4); grid-template-columns: minmax(0, 2fr) repeat(2, minmax(0, 1fr)); }
.brand--footer { font-size: var(--t-36); margin-bottom: .5rem; }
.footer-brand p:not(.brand) { opacity: .85; }
.site-footer h2 { font-family: var(--texto); font-size: var(--t-14); font-weight: 700; margin-bottom: .5rem; opacity: .85; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li a { display: inline-flex; min-height: 40px; align-items: center; }
.site-footer__legal { margin-top: var(--s-4); padding-top: var(--s-2); border-top: 1px solid color-mix(in srgb, var(--encimera) 20%, transparent); font-size: var(--t-14); opacity: .8; }
@media (prefers-color-scheme: dark) { .site-footer { background: #0B120E; color: var(--tinta); } .site-footer__legal { border-color: var(--filete); } }
@media (max-width: 720px) { .footer-grid { grid-template-columns: minmax(0, 1fr); } }

.notfound { padding: var(--s-6) 0; }
.notfound h1 { font-size: var(--t-56); margin-bottom: var(--s-2); }
.notfound p { color: var(--apagado); max-width: 46ch; font-size: var(--t-20); }

/* ——— Responsive de portada ——— */
@media (max-width: 960px) {
  .cover__grid { grid-template-columns: minmax(0, 1fr); }
  .cover-card { transform: rotate(-.6deg); }
}
@media (max-width: 480px) {
  .cover { padding-top: var(--s-3); }
  .cover-card__stats { gap: var(--s-3); }
  .sec { padding: var(--s-4) 0; }
  .sec__head { margin-bottom: var(--s-3); }
}
@media (min-width: 1800px) {
  :root { --ancho: 1440px; font-size: 112.5%; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
@media print {
  .masthead, .site-footer, .related, .method__hint, .text-button { display: none !important; }
  body { background: #fff; }
  .recipe-layout { grid-template-columns: 1fr; }
  .recipe-layout__card { position: static; }
}
@media (max-width: 360px) {
  .masthead__bar { gap: .75rem; }
  .brand { font-size: 1.25rem; }
  .menu-toggle { padding: .4rem .75rem; }
}
.nav:focus { outline: none; }
.prose .cta .button { margin-top: 0; }
.prose .cta { margin-top: var(--s-3); }

/* ——— Aviso de consentimiento (GDPR) ——— */
.consent { position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; padding: 0 1rem calc(1rem + env(safe-area-inset-bottom, 0px)); pointer-events: none; }
.consent[hidden] { display: none; }
.consent__box {
  pointer-events: auto; max-width: 46rem; margin-inline: auto; background: var(--ficha); color: var(--tinta);
  border-top: 6px double var(--recetas); border-radius: var(--radio); padding: var(--s-3);
  box-shadow: 0 1px 0 var(--filete), 0 24px 48px -20px rgb(24 39 31 / .5);
}
.consent:focus { outline: none; }
.consent h2 { font-size: var(--t-26); margin-bottom: .4rem; }
.consent p { font-size: var(--t-17); color: var(--apagado); }
.consent p a { color: var(--tinta); font-weight: 700; }
.consent__actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: var(--s-2); }
.consent__btn {
  min-height: 48px; padding: .6rem 1.3rem; border-radius: 999px; font-weight: 700; cursor: pointer;
  background: transparent; color: var(--tinta); border: 2px solid var(--tinta);
}
.consent__btn--ink { background: var(--tinta); color: var(--ficha); }
@media (max-width: 480px) { .consent__btn { flex: 1 1 100%; } }
.site-footer__bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s-2); margin-top: var(--s-4); padding-top: var(--s-2); border-top: 1px solid color-mix(in srgb, var(--encimera) 20%, transparent); }
.site-footer__bottom .site-footer__legal { margin: 0; padding: 0; border: 0; }
.link-button { background: none; border: 0; color: inherit; font-weight: 700; text-decoration: underline; text-underline-offset: .2em; min-height: 44px; cursor: pointer; padding: 0; }
.video__gate { position: absolute; inset: 0; display: grid; place-content: center; gap: var(--s-2); text-align: center; padding: var(--s-3); background: var(--tinta); color: var(--encimera); }
.video__gate p { color: inherit; }

/* ——— Logo: sprite de Blender en la cabecera y escena 3D en portada ——— */
.brand { display: inline-flex; align-items: center; gap: .55rem; }
.brand__mark { width: 44px; height: auto; flex: none; }
@media (max-width: 360px) { .brand__mark { width: 36px; } }
.logo-stage { position: relative; aspect-ratio: 4 / 3; margin: -1rem 0 var(--s-2); touch-action: pan-y; }
.logo-stage__img { width: 100%; height: 100%; object-fit: contain; transition: opacity .4s; }
.logo-stage__canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; cursor: pointer; opacity: 0; transition: opacity .4s; }
.logo-stage.is-3d .logo-stage__canvas { opacity: 1; }
.logo-stage.is-3d .logo-stage__img { opacity: 0; }
@media (max-width: 960px) { .logo-stage { max-width: 22rem; margin: 0 auto var(--s-2); } }
