/* =============================================================
   El Buen Puesto · styles.css
   1. Tokens · 2. Reset · 3. Utilidades · 4. Tipografía · 5. Componentes
   6. Secciones · 7. Páginas · 8. Responsive · 9. Movimiento reducido
   ============================================================= */

/* 1. Tokens ------------------------------------------------------ */
:root {
  --ink: #1C2B4A;
  --ink-2: #2B3D63;
  --text: #1A2235;
  --paper: #FAFAF7;
  --paper-2: #F2F0E9;
  --white: #FFFFFF;
  --line: #E2DFD5;
  --stone: #5F6673;
  --signal: #F2B705;
  --signal-2: #FFE08A;
  --signal-soft: #FFF6D6;
  --signal-deep: #B88A00;
  --ok: #2F7A4D;
  --ko: #B4432F;
  --text-2: var(--text-2);
  --text-3: var(--text-3);
  --warn-text: var(--warn-text);
  --deep: #1C2B4A;
  --deep-2: #26385E;
  --on-deep: #FAFAF7;
  --on-deep-2: #C9D0DF;
  --header-bg: rgba(250,250,247,.86);
  --surface: #FFFFFF;
  --ilus: #1C2B4A;
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --r: 14px;
  --r-s: 9px;
  --gutter: 16px;
  --shadow: 0 1px 2px rgba(28,43,74,.06), 0 8px 24px -12px rgba(28,43,74,.18);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --grid-bg: linear-gradient(rgba(28,43,74,.06) 1px, transparent 1px) 0 0 / 16px 16px,
             linear-gradient(90deg, rgba(28,43,74,.06) 1px, transparent 1px) 0 0 / 16px 16px,
             var(--paper-2);
}

/* 2. Reset ------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--sans); font-size: 16px; line-height: 1.6; color: var(--text);
  background: var(--paper); -webkit-font-smoothing: antialiased; overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
button, select, input { font: inherit; color: inherit; }
button { cursor: pointer; border: 0; background: none; }
a { color: inherit; }
p { text-wrap: pretty; }
h1, h2, h3 { text-wrap: balance; line-height: 1.1; letter-spacing: -0.015em; }
::selection { background: var(--signal); color: var(--ink); }
:focus-visible { outline: 3px solid var(--signal-deep); outline-offset: 3px; border-radius: 6px; }
[hidden] { display: none !important; }

/* 3. Utilidades -------------------------------------------------- */
.wrap { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: var(--gutter); }
.wrap-n { max-width: 860px; }
.skip-link { position: fixed; top: -100px; left: 1rem; z-index: 999; padding: .6rem 1rem; background: var(--signal); color: var(--ink); border-radius: 8px; font-weight: 600; }
.skip-link:focus { top: 1rem; }
.ico { width: 1.1em; height: 1.1em; flex: none; }

/* 4. Tipografía -------------------------------------------------- */
h1 { font-family: var(--serif); font-weight: 650; font-size: clamp(2rem, 5.2vw, 3.4rem); color: var(--ink); }
h2 { font-family: var(--serif); font-weight: 650; font-size: clamp(1.45rem, 3.2vw, 2rem); color: var(--ink); }
h3 { font-size: 1.1rem; color: var(--ink); }
.kicker { font-family: var(--mono); font-size: .76rem; letter-spacing: .08em; text-transform: uppercase; color: var(--stone); margin-bottom: .6rem; }
.lead { font-size: clamp(1.05rem, 2vw, 1.2rem); color: var(--text-2); max-width: 62ch; margin-top: .9rem; }
.prosa { max-width: 70ch; }
.prosa > * + * { margin-top: 1rem; }
.prosa h2 { margin-top: 2.2rem; font-size: 1.5rem; }
.prosa ul { padding-left: 1.2rem; }
.prosa li + li { margin-top: .4rem; }
.prosa a, .legal a, .lead a, .nota-expl a, .pronto a { color: var(--ink); text-decoration-color: var(--signal); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.respuesta { background: var(--white); border-left: 4px solid var(--signal); padding: 1rem 1.2rem; border-radius: 0 var(--r-s) var(--r-s) 0; box-shadow: var(--shadow); max-width: 70ch; }
.fuente, .meta-s { font-size: .84rem; color: var(--stone); }
.sec-t { display: flex; align-items: center; gap: .7rem; margin-bottom: 1.4rem; }
.sec-n { font-family: var(--mono); font-size: .72rem; font-weight: 500; letter-spacing: .04em; background: var(--deep); color: var(--signal); padding: .25rem .5rem; border-radius: 6px; flex: none; }

/* 5. Componentes ------------------------------------------------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; padding: .8rem 1.2rem; border-radius: 11px; font-weight: 600; font-size: .98rem; line-height: 1.2; text-decoration: none; transition: transform .2s var(--ease-out), background-color .2s, box-shadow .2s; min-height: 44px; }
.btn:active { transform: translateY(1px); }
.btn-signal { background: var(--signal); color: var(--ink); box-shadow: inset 0 -2px 0 rgba(0,0,0,.12); }
.btn-signal:hover { background: #FFC81F; }
.btn-ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--paper); }
.btn-ghost[aria-pressed="true"] { background: var(--deep); color: var(--signal); }
.btn-sm { padding: .6rem .9rem; font-size: .9rem; min-height: 40px; }
.btn-link { display: inline-flex; align-items: center; gap: .35rem; font-weight: 600; color: var(--ink); text-decoration: underline; text-decoration-color: var(--signal); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.chip { display: inline-flex; align-items: center; font-family: var(--mono); font-size: .76rem; padding: .3rem .55rem; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line); background: var(--white); color: var(--ink); white-space: nowrap; }
.chip-precio { box-shadow: inset 0 0 0 1.5px var(--ink); }
.nota { display: inline-flex; flex-direction: column; align-items: center; justify-content: center; background: var(--deep); color: var(--on-deep); border-radius: 10px; padding: .3rem .55rem; min-width: 3.4rem; line-height: 1; }
.nota-n { font-family: var(--serif); font-weight: 650; font-size: 1.25rem; color: var(--signal); }
.nota-l { font-family: var(--mono); font-size: .58rem; letter-spacing: .06em; text-transform: uppercase; margin-top: .2rem; opacity: .85; }
.nota-big { padding: .7rem 1rem; min-width: 5.6rem; border-radius: 14px; }
.nota-big .nota-n { font-size: 2.3rem; }
.ilus { width: 100%; height: auto; color: var(--ilus); }
.ilus .ac { stroke: var(--signal); }
.hueco { margin: 1.4rem 0; padding: .9rem 1rem; border: 2px dashed var(--signal-deep); background: var(--signal-soft); border-radius: var(--r-s); font-size: .92rem; color: var(--warn-text); }
.hueco-tag { font-family: var(--mono); font-weight: 500; font-size: .78rem; background: var(--signal); color: var(--ink); padding: .1rem .4rem; border-radius: 4px; margin-right: .3rem; }

/* Avisos superiores */
.borrador { background: repeating-linear-gradient(135deg, var(--signal) 0 14px, #FFD24A 14px 28px); color: var(--ink); font-family: var(--mono); font-size: .74rem; text-align: center; padding: .35rem var(--gutter); font-weight: 500; }
.aviso-top { background: var(--deep); color: #D9DEEA; font-size: .8rem; padding: .45rem 0; }
.aviso-top a { color: var(--signal); }

/* Cabecera */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--header-bg); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
@supports not (backdrop-filter: blur(1px)) { .site-header { background: var(--paper); } }
.header-in { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 64px; flex-wrap: wrap; }
.logo { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; color: var(--ink); }
.logo-mark { font-family: var(--mono); font-size: .72rem; font-weight: 500; background: var(--deep); color: var(--signal); padding: .35rem .45rem; border-radius: 7px; letter-spacing: .05em; }
.logo-txt { font-family: var(--serif); font-weight: 650; font-size: 1.2rem; letter-spacing: -.01em; }
.nav-toggle { font-weight: 600; padding: .55rem .9rem; border-radius: 10px; box-shadow: inset 0 0 0 1.5px var(--ink); color: var(--ink); min-height: 44px; }
#nav-principal { flex-basis: 100%; display: none; padding-bottom: 1rem; }
#nav-principal.abierto { display: block; }
.nav-links { list-style: none; padding: 0; display: flex; flex-direction: column; gap: .2rem; }
.nav-links a { display: flex; align-items: center; gap: .4rem; padding: .7rem .4rem; text-decoration: none; font-weight: 500; color: var(--ink); border-radius: 8px; }
.nav-links a:hover, .nav-links a[aria-current="page"] { background: var(--paper-2); }
.nav-links a.nav-cta, .nav-links a.nav-cta:hover { background: var(--ink); color: var(--paper); padding-inline: .9rem; justify-content: center; margin-top: .4rem; }
.cmp-count { font-family: var(--mono); font-size: .72rem; background: var(--signal); color: var(--ink); border-radius: 999px; min-width: 1.4rem; height: 1.4rem; display: inline-grid; place-items: center; padding: 0 .3rem; }

/* Migas */
.migas { padding: 1.1rem 0 .4rem; font-size: .84rem; color: var(--stone); }
.migas ol { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: .3rem; }
.migas li + li::before { content: "/"; margin-right: .3rem; opacity: .5; }
.migas a { text-decoration: none; }
.migas a:hover { text-decoration: underline; }

/* Tarjetas de producto */
.grid-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 290px), 1fr)); gap: 1.2rem; }
.card { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; transition: box-shadow .25s var(--ease-out), transform .25s var(--ease-out); }
.card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.card-fig { position: relative; display: grid; place-items: center; aspect-ratio: 16 / 10; background: var(--grid-bg); }
.card-fig .ilus { width: 48%; }
.card-dest { position: absolute; top: .7rem; left: .7rem; font-family: var(--mono); font-size: .68rem; text-transform: uppercase; letter-spacing: .05em; background: var(--signal); color: var(--ink); padding: .25rem .5rem; border-radius: 6px; }
.card-body { display: flex; flex-direction: column; gap: .55rem; padding: 1.1rem 1.1rem 1.2rem; flex: 1; }
.card-marca { font-family: var(--mono); font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; color: var(--stone); }
.card-t { font-family: var(--serif); font-size: 1.35rem; font-weight: 650; }
.card-t a { text-decoration: none; }
.card-t a:hover { text-decoration: underline; text-decoration-color: var(--signal); }
.card-meta { display: flex; align-items: center; gap: .55rem; flex-wrap: wrap; }
.card-res { font-size: .93rem; color: var(--text-2); }
.card-dl { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem .8rem; padding-top: .5rem; border-top: 1px dashed var(--line); margin-top: auto; }
.card-dl dt { font-family: var(--mono); font-size: .66rem; text-transform: uppercase; letter-spacing: .06em; color: var(--stone); }
.card-dl dd { font-size: .88rem; font-weight: 600; color: var(--ink); margin: 0; }
.card-acc { display: flex; gap: .5rem; flex-wrap: wrap; padding-top: .4rem; }
.card-acc .btn { flex: 1 1 auto; }

/* Categorías */
.cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); gap: 1rem; }
.cat-card { display: flex; flex-direction: column; gap: .35rem; padding: 1rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--r); text-decoration: none; transition: border-color .2s, box-shadow .25s var(--ease-out); }
.cat-card:hover { border-color: var(--ink); box-shadow: var(--shadow); }
.cat-fig { display: grid; place-items: center; background: var(--grid-bg); border-radius: var(--r-s); aspect-ratio: 16 / 9; margin-bottom: .4rem; }
.cat-fig .ilus { width: 34%; }
.cat-t { font-family: var(--serif); font-weight: 650; font-size: 1.15rem; color: var(--ink); }
.cat-d { font-size: .88rem; color: var(--text-3); }
.cat-n { font-family: var(--mono); font-size: .72rem; color: var(--stone); text-transform: uppercase; letter-spacing: .05em; }

/* Guías */
.guias-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 1rem; }
.guia-card { display: flex; flex-direction: column; gap: .7rem; padding: 1.4rem; border-radius: var(--r); background: var(--white); border: 1px solid var(--line); text-decoration: none; min-height: 170px; transition: box-shadow .25s var(--ease-out), border-color .2s; }
.guia-card:hover { box-shadow: var(--shadow); border-color: var(--ink); }
.guia-card-t { font-family: var(--serif); font-size: 1.4rem; font-weight: 650; color: var(--ink); line-height: 1.15; flex: 1; }
.guia-card-test { background: var(--deep); border-color: var(--deep); }
.guia-card-test .guia-card-t, .guia-card-test .btn-link { color: var(--on-deep); }
.guia-card-test .kicker { color: var(--signal); }
.lista-prox { padding-left: 1.2rem; color: var(--text-3); }
.lista-prox li + li { margin-top: .35rem; }

/* Barra del comparador */
.cmp-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: var(--deep); color: var(--on-deep); padding: .7rem 0; box-shadow: 0 -10px 30px -10px rgba(0,0,0,.35); }
.cmp-bar-in { display: flex; align-items: center; gap: .8rem; flex-wrap: wrap; }
.cmp-bar-in span { flex: 1 1 160px; font-size: .92rem; }
.cmp-bar .btn-link { color: var(--on-deep); }

/* Pie */
.site-footer { background: var(--deep); color: var(--on-deep-2); margin-top: 5rem; padding: 3rem 0 6rem; font-size: .9rem; }
.site-footer a { color: var(--on-deep); text-decoration: none; }
.site-footer a:hover { color: var(--signal); }
.foot-grid { display: grid; gap: 2rem; grid-template-columns: 1fr; }
.foot-grid ul { list-style: none; padding: 0; display: grid; gap: .45rem; }
.logo-foot { color: var(--on-deep); margin-bottom: .7rem; }
.logo-foot .logo-txt { color: var(--on-deep); }
.foot-lema { max-width: 36ch; }
.foot-h { font-family: var(--mono); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--signal); margin-bottom: .7rem; }
.foot-legal { margin-top: 2.4rem; padding-top: 1.4rem; border-top: 1px solid rgba(255,255,255,.12); display: grid; gap: .5rem; font-size: .82rem; color: #AEB7CA; }
.foot-legal strong { color: var(--on-deep); font-weight: 600; }

/* 6. Secciones ---------------------------------------------------- */
.bloque { margin-top: 3.5rem; }
.sec-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.4rem; }
.sec-head .sec-t { margin-bottom: 0; }

.hero { padding: 2.5rem 0 1rem; }
.hero-in { display: grid; gap: 2.5rem; align-items: center; }
.hero h1 { font-size: clamp(2.3rem, 7vw, 4.3rem); line-height: 1.02; }
.hero h1 em { font-style: italic; background: linear-gradient(transparent 62%, var(--signal) 62%, var(--signal) 92%, transparent 92%); padding: 0 .08em; }
.hero-acc { display: flex; gap: .7rem; flex-wrap: wrap; margin-top: 1.6rem; }
.hero-proof { list-style: none; padding: 0; margin-top: 2rem; display: grid; gap: .6rem; font-size: .92rem; color: var(--text-2); }
.hero-proof li { display: flex; align-items: baseline; gap: .7rem; }
.hero-proof strong { font-family: var(--mono); font-size: 1.05rem; color: var(--ink); background: var(--signal-soft); border: 1px solid var(--signal-2); border-radius: 6px; min-width: 2.2rem; text-align: center; padding: .05rem .3rem; }
.hero-fig { position: relative; }
.hero-plano { position: relative; aspect-ratio: 1; max-width: 460px; margin-inline: auto; background: var(--grid-bg); border-radius: 22px; border: 1px solid var(--line); display: grid; place-items: center; }
.hero-plano .ilus { width: 62%; }
.cota { position: absolute; font-family: var(--mono); font-size: .74rem; background: var(--white); color: var(--ink); border: 1px solid var(--ink); border-radius: 6px; padding: .2rem .45rem; box-shadow: var(--shadow); }
.cota-a { left: 6%; top: 58%; }
.cota-b { right: 7%; top: 18%; }
.cota-c { right: 9%; bottom: 10%; background: var(--signal); }

.metodo-band { background: var(--deep); color: #D5DBE8; margin-top: 4rem; padding: 3.2rem 0; }
.metodo-band h2 { color: var(--on-deep); margin-bottom: .8rem; }
.metodo-band .kicker { color: var(--signal); }
.metodo-band p { max-width: 52ch; margin-bottom: 1.4rem; }
.metodo-in { display: grid; gap: 2rem; align-items: center; }
.criterios { list-style: none; padding: 0; display: grid; gap: .6rem; }
.criterios li { display: flex; align-items: center; gap: 1rem; padding: .8rem 1rem; border: 1px solid rgba(255,255,255,.14); border-radius: var(--r-s); color: var(--on-deep); font-weight: 500; }
.crit-w { font-family: var(--mono); color: var(--signal); font-size: 1.1rem; min-width: 3.2rem; }

.cat-head { padding: 1rem 0 2rem; }
.banda-test { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding: 1.1rem 1.3rem; margin-bottom: 1.6rem; background: var(--signal-soft); border: 1px solid var(--signal-2); border-radius: var(--r); }
.banda-test .kicker { margin-bottom: .2rem; }
.banda-t { font-family: var(--serif); font-size: 1.2rem; font-weight: 650; color: var(--ink); }

.filtros { display: grid; gap: .8rem; margin-bottom: 1.6rem; padding: 1rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--r); }
.f-row { display: flex; align-items: center; gap: .45rem; flex-wrap: wrap; }
.f-l { font-family: var(--mono); font-size: .7rem; text-transform: uppercase; letter-spacing: .06em; color: var(--stone); min-width: 6.5rem; }
.fchip { font-size: .86rem; padding: .45rem .8rem; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line); background: var(--paper); min-height: 38px; }
.fchip:hover { box-shadow: inset 0 0 0 1.5px var(--ink); }
.fchip[aria-pressed="true"] { background: var(--ink); color: var(--paper); box-shadow: none; }
.filtros select { padding: .45rem .7rem; border-radius: 9px; border: 1px solid var(--line); background: var(--paper); min-height: 38px; }
.f-res { font-size: .84rem; color: var(--stone); margin-left: auto; }
.vacio { padding: 2rem; text-align: center; color: var(--stone); }

.pronto { display: grid; gap: 1.4rem; align-items: center; padding: 1.6rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--r); }
.pronto-fig { background: var(--grid-bg); border-radius: var(--r-s); display: grid; place-items: center; aspect-ratio: 16/10; }
.pronto-fig .ilus { width: 40%; }
.pronto h2 { margin-bottom: .6rem; }

/* 7. Páginas ------------------------------------------------------ */
/* Ficha */
.ficha-head { display: grid; gap: 1.8rem; padding-top: .6rem; }
.ficha-fig { background: var(--grid-bg); border-radius: 20px; border: 1px solid var(--line); display: grid; place-items: center; padding: 2rem 1rem 1rem; aspect-ratio: 1 / .9; align-content: center; }
.ficha-fig .ilus { width: 56%; }
@media (max-width: 959px) {
  .ficha-fig { order: 2; aspect-ratio: 16 / 9; padding: 1.2rem 1rem .8rem; }
  .ficha-fig .ilus { width: 30%; }
}
.fig-nota { font-family: var(--mono); font-size: .7rem; color: var(--stone); margin-top: 1rem; text-align: center; }
.ficha-intro h1 { font-size: clamp(1.9rem, 4.6vw, 3rem); }
.ficha-res { font-size: 1.1rem; color: var(--text-2); margin-top: .9rem; max-width: 56ch; }
.ficha-meta { display: flex; gap: 1.2rem; align-items: center; margin-top: 1.4rem; padding: 1rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--r); }
.meta-l { font-family: var(--mono); font-size: .68rem; text-transform: uppercase; letter-spacing: .06em; color: var(--stone); margin-bottom: .35rem; }
.ficha-meta .chip { font-size: .95rem; padding: .4rem .7rem; }
.ficha-meta .meta-s { margin-top: .45rem; }
.ficha-acc { display: flex; gap: .6rem; flex-wrap: wrap; margin-top: 1.2rem; }
.ficha-acc .btn-signal { flex: 1 1 260px; font-size: 1.04rem; padding-block: 1rem; }

.ver-grid { display: grid; gap: 1rem; }
.ver-grid > div { padding: 1.1rem 1.2rem; border-radius: var(--r); background: var(--white); border: 1px solid var(--line); }
.ver-si { border-top: 4px solid var(--ok) !important; }
.ver-no { border-top: 4px solid var(--ko) !important; }
.ver-l { font-family: var(--mono); font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; margin-bottom: .4rem; }
.ver-si .ver-l { color: var(--ok); }
.ver-no .ver-l { color: var(--ko); }

.nota-grid { display: grid; gap: 1.6rem; align-items: center; }
.radar-wrap { background: var(--white); border: 1px solid var(--line); border-radius: var(--r); padding: .6rem; display: grid; place-items: center; }
.radar { width: 100%; max-width: 400px; height: auto; overflow: visible; }
.radar-sm { max-width: 260px; }
.r-ring { fill: none; stroke: var(--line); stroke-width: 1; }
.r-spoke { stroke: var(--line); stroke-width: 1; }
.r-area { fill: rgba(242,183,5,.32); stroke: var(--signal-deep); stroke-width: 2; stroke-linejoin: round; }
.r-dot { fill: var(--ink); }
.r-lab { font-family: var(--mono); font-size: 10px; fill: var(--stone); dominant-baseline: middle; }
.r-val { fill: var(--ink); font-weight: 700; }
.barras { list-style: none; padding: 0; display: grid; gap: .7rem; }
.barras li { display: grid; grid-template-columns: 8.5rem 1fr 2rem; align-items: center; gap: .7rem; font-size: .92rem; }
.b-track { height: 10px; background: var(--paper-2); border-radius: 999px; overflow: hidden; box-shadow: inset 0 0 0 1px var(--line); }
.b-fill { display: block; height: 100%; background: var(--ink); border-radius: 999px; }
.b-val { font-family: var(--mono); font-weight: 500; text-align: right; color: var(--ink); }
.nota-expl { font-size: .86rem; color: var(--stone); margin-top: 1.1rem; }

.specs { width: 100%; border-collapse: collapse; background: var(--white); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; font-size: .95rem; }
.specs th, .specs td { padding: .7rem 1rem; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.specs tr:last-child th, .specs tr:last-child td { border-bottom: 0; }
.specs tbody th[scope="row"] { font-weight: 500; color: var(--text-3); width: 46%; }
.specs td { font-weight: 600; color: var(--ink); }
.specs td.nulo { color: var(--stone); font-weight: 400; }
.specs .grupo th { background: var(--paper-2); font-family: var(--mono); font-size: .7rem; letter-spacing: .07em; text-transform: uppercase; color: var(--ink); padding-block: .5rem; }
.specs-extra { margin-top: 1rem; }
.specs-extra summary { cursor: pointer; font-weight: 600; color: var(--ink); padding: .5rem 0; }
.bloque .fuente { margin-top: .8rem; }

.pc { display: grid; gap: 1rem; margin-top: 2rem; }
.pc-col { background: var(--white); border: 1px solid var(--line); border-radius: var(--r); padding: 1.1rem 1.2rem; }
.pc-col h3 { display: flex; align-items: center; gap: .45rem; margin-bottom: .7rem; }
.pc-col h3 svg { width: 1.15em; height: 1.15em; flex: none; }
.pc-col ul { list-style: none; padding: 0; display: grid; gap: .55rem; }
.pc-col li { display: flex; gap: .55rem; align-items: flex-start; font-size: .95rem; }
.pc-col li svg { width: 1.1em; height: 1.1em; margin-top: .2em; }
.pc-pro h3, .pc-pro li svg { color: var(--ok); }
.pc-con h3, .pc-con li svg { color: var(--ko); }
.cta-fin { margin-top: 2rem; padding: 1.3rem; border-radius: var(--r); background: var(--deep); display: flex; flex-direction: column; gap: .7rem; align-items: flex-start; }
.cta-fin .meta-s { color: var(--on-deep-2); }

/* Guía */
.guia-head { padding-bottom: 1rem; }
.byline { font-size: .9rem; color: var(--stone); margin: .8rem 0 1.4rem; }
.byline a { color: var(--ink); font-weight: 600; }
.picks { display: grid; gap: 1rem; margin-top: 1.4rem; }
.pick { position: relative; display: flex; flex-direction: column; gap: .6rem; padding: 1.2rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--r); }
.pick:first-child { border: 2px solid var(--ink); }
.pick-l { font-family: var(--mono); font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; background: var(--signal); color: var(--ink); align-self: flex-start; padding: .25rem .55rem; border-radius: 6px; }
.pick-fig { background: var(--grid-bg); border-radius: var(--r-s); display: grid; place-items: center; aspect-ratio: 16/9; }
.pick-fig .ilus { width: 32%; }
.pick-t { font-family: var(--serif); font-weight: 650; font-size: 1.3rem; color: var(--ink); }
.pick-t a { text-decoration: none; }
.pick-p { font-size: .92rem; color: var(--text-3); flex: 1; }
.tabla-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r); background: var(--white); }
.tabla-cmp { width: 100%; border-collapse: collapse; font-size: .92rem; min-width: 620px; }
.tabla-cmp th, .tabla-cmp td { padding: .7rem .9rem; border-bottom: 1px solid var(--line); text-align: left; }
.tabla-cmp thead th { font-family: var(--mono); font-size: .7rem; text-transform: uppercase; letter-spacing: .06em; color: var(--stone); background: var(--paper-2); }
.tabla-cmp tbody th a { color: var(--ink); font-weight: 600; }
.g-prod { margin-top: 3rem; padding-top: 2rem; border-top: 1px solid var(--line); }
.g-prod h2 { display: flex; align-items: center; gap: .7rem; flex-wrap: wrap; margin-bottom: 1.2rem; }
.g-dest { font-family: var(--mono); font-size: .7rem; text-transform: uppercase; letter-spacing: .05em; background: var(--signal-soft); border: 1px solid var(--signal-2); color: var(--ink); padding: .2rem .5rem; border-radius: 6px; }
.g-prod-grid { display: grid; gap: 1.2rem; align-items: center; }
.g-prod-grid p + p { margin-top: .6rem; }
.g-prod-grid .card-acc { margin-top: 1rem; }

/* Comparador */
.cmp-picker { display: grid; gap: .9rem; margin-bottom: 1.6rem; padding: 1rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--r); }
.cmp-tabs, .cmp-opts { display: flex; gap: .45rem; flex-wrap: wrap; }
.cmp-empty { padding: 2.4rem 1rem; text-align: center; color: var(--stone); background: var(--white); border: 1px dashed var(--line); border-radius: var(--r); }
.cmp-table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r); background: var(--white); }
.cmp-table { border-collapse: separate; border-spacing: 0; width: 100%; font-size: .92rem; }
.cmp-table th, .cmp-table td { padding: .7rem .9rem; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; min-width: 170px; }
.cmp-table tbody th { position: sticky; left: 0; background: var(--white); font-weight: 500; color: var(--text-3); min-width: 140px; z-index: 1; box-shadow: 1px 0 0 var(--line); }
.cmp-table thead td { vertical-align: bottom; }
.cmp-table .grupo th, .cmp-table .grupo td { background: var(--paper-2); font-family: var(--mono); font-size: .7rem; text-transform: uppercase; letter-spacing: .07em; color: var(--ink); padding-block: .45rem; }
.cmp-table td.mejor { background: var(--signal-soft); font-weight: 700; box-shadow: inset 3px 0 0 var(--signal); }
.cmp-table td.nulo { color: var(--stone); }
.cmp-col-head { display: flex; flex-direction: column; gap: .5rem; }
.cmp-col-head .ilus { width: 64px; }
.cmp-col-head a.t { font-family: var(--serif); font-weight: 650; font-size: 1.1rem; color: var(--ink); text-decoration: none; }
.cmp-col-head .btn { width: 100%; }
.cmp-quitar { font-size: .8rem; color: var(--stone); text-decoration: underline; align-self: flex-start; }
.cmp-radar { display: grid; gap: 1.2rem; align-items: center; margin-top: 2rem; padding: 1rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--r); }
.cmp-radar svg { width: 100%; max-width: 460px; height: auto; margin-inline: auto; overflow: visible; }
.leyenda { list-style: none; padding: 0; display: grid; gap: .5rem; }
.leyenda li { display: flex; align-items: center; gap: .6rem; font-weight: 600; color: var(--ink); }
.leyenda i { width: 18px; height: 18px; border-radius: 5px; flex: none; }

/* Test */
.test { display: grid; gap: 1.2rem; }
.paso { border: 1px solid var(--line); border-radius: var(--r); padding: 1.1rem 1.1rem 1.2rem; background: var(--white); }
.paso legend { font-family: var(--serif); font-weight: 650; font-size: 1.25rem; color: var(--ink); padding: 0 .4rem; display: flex; align-items: center; gap: .6rem; flex-wrap: wrap; }
.paso.falta { border-color: var(--ko); box-shadow: 0 0 0 3px rgba(180,67,47,.15); }
.opts { display: grid; gap: .55rem; margin-top: .8rem; }
.opt { display: flex; align-items: center; gap: .7rem; padding: .8rem 1rem; border-radius: 11px; box-shadow: inset 0 0 0 1.5px var(--line); cursor: pointer; min-height: 48px; transition: box-shadow .15s, background-color .15s; }
.opt:hover { box-shadow: inset 0 0 0 1.5px var(--ink); }
.opt input { accent-color: var(--ink); width: 1.15rem; height: 1.15rem; flex: none; }
.opt:has(input:checked) { background: var(--signal-soft); box-shadow: inset 0 0 0 2px var(--ink); font-weight: 600; }
.test-acc { display: flex; justify-content: flex-start; }
.test-out { margin-top: 2rem; display: grid; gap: 1rem; }
.res { display: grid; gap: 1rem; padding: 1.2rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--r); }
.res:first-of-type { border: 2px solid var(--ink); }
.res-fig { background: var(--grid-bg); border-radius: var(--r-s); display: grid; place-items: center; aspect-ratio: 16/9; }
.res-fig .ilus { width: 34%; }
.res h3 { font-family: var(--serif); font-size: 1.4rem; }
.res ul { padding-left: 1.1rem; font-size: .93rem; display: grid; gap: .3rem; margin: .5rem 0 .9rem; }
.res-l { font-family: var(--mono); font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; background: var(--signal); color: var(--ink); padding: .2rem .5rem; border-radius: 6px; align-self: flex-start; display: inline-block; margin-bottom: .4rem; }
.res-aviso { font-size: .88rem; color: var(--warn-text); background: var(--signal-soft); border-radius: var(--r-s); padding: .6rem .8rem; }

/* Legal / estáticas */
.legal .prosa table { margin: 1rem 0; }
.mail { font-family: var(--mono); font-size: 1.1rem; background: var(--white); border: 1px solid var(--line); padding: .8rem 1rem; border-radius: var(--r-s); display: inline-block; }
.err { padding: 4rem var(--gutter); }

/* 8. Responsive (móvil primero) --------------------------------- */
@media (min-width: 540px) {
  .opts { grid-template-columns: repeat(3, 1fr); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 720px) {
  .ver-grid, .pc { grid-template-columns: 1fr 1fr; }
  .picks { grid-template-columns: repeat(3, 1fr); }
  .pronto { grid-template-columns: 240px 1fr; }
  .res { grid-template-columns: 220px 1fr; align-items: start; }
  .cmp-radar { grid-template-columns: 1.2fr 1fr; }
  .g-prod-grid { grid-template-columns: 260px 1fr; }
}
@media (min-width: 960px) {
  :root { --gutter: 28px; }
  .nav-toggle { display: none; }
  #nav-principal { display: block; flex-basis: auto; padding: 0; }
  .nav-links { flex-direction: row; align-items: center; gap: .2rem; }
  .nav-links a { padding: .5rem .75rem; }
  .nav-links a.nav-cta { margin: 0 0 0 .5rem; }
  .hero { padding: 4.5rem 0 2rem; }
  .hero-in { grid-template-columns: 1.15fr 1fr; gap: 4rem; }
  .metodo-in { grid-template-columns: 1fr 1fr; gap: 4rem; }
  .ficha-head { grid-template-columns: .95fr 1.05fr; gap: 3rem; align-items: center; }
  .nota-grid { grid-template-columns: 360px 1fr; gap: 2.4rem; }
  .foot-grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; }
  .site-footer { padding-bottom: 3rem; }
}

/* 9. Movimiento reducido (solo lo intrusivo) --------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .card:hover { transform: none; }
}

/* ---------- Artículos (Fase 3) ---------- */
.guia-cuerpo { max-width: 74ch; }
.guia-cuerpo h3 { font-family: var(--serif); font-size: 1.2rem; margin-top: 1.6rem; }
.guia-cuerpo .tabla-scroll, .guia-cuerpo .grid-cards { max-width: none; }
.pasos-lista { padding-left: 1.4rem; }
.pasos-lista li::marker { font-family: var(--mono); color: var(--stone); }
.aviso-dato { background: var(--paper-2); border-radius: var(--r-s); padding: .8rem 1rem; font-size: .92rem; }
.tabla-vs { min-width: 0; }
.tabla-vs td .btn { white-space: nowrap; }
.prod-box { display: grid; grid-template-columns: 88px 1fr; gap: 1rem; align-items: start; background: var(--white); border: 1px solid var(--line); border-radius: var(--r); padding: 1rem; }
.prod-box-fig { background: var(--paper-2); border-radius: var(--r-s); padding: .4rem; color: var(--ilus); }
.prod-box-fig .ilus { width: 100%; height: auto; }
.prod-box-t { font-family: var(--serif); font-size: 1.2rem; font-weight: 650; }
.prod-box-t a { color: var(--ink); text-decoration: none; }
.prod-box-p { font-size: .92rem; margin: .5rem 0 .7rem; }
.veredicto-rapido { background: var(--deep); color: var(--on-deep); border-radius: var(--r); padding: 1.1rem 1.3rem; }
.veredicto-rapido .kicker { color: var(--signal); }
.veredicto-rapido a { color: var(--on-deep); text-decoration-color: var(--signal); }
.difs { display: grid; gap: .9rem; }
.dif { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-s); padding: 1rem 1.1rem; }
.dif-t { font-family: var(--mono); font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; color: var(--stone); margin-bottom: .3rem; }
.elige { display: grid; gap: 1rem; }
.elige-col { background: var(--white); border: 1px solid var(--line); border-top: 4px solid var(--signal); border-radius: var(--r-s); padding: 1rem 1.1rem; }
.elige-col ul { margin: .5rem 0 .9rem; }
.en-guias { margin-top: 1.4rem; padding: 1rem 1.1rem; background: var(--paper-2); border-radius: var(--r-s); }
.en-guias ul { margin-top: .4rem; padding-left: 1.1rem; }
.en-guias a { color: var(--ink); font-weight: 600; }
.autor-box { display: flex; gap: 1rem; align-items: flex-start; margin: 2.4rem 0 1rem; padding: 1.2rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--r); max-width: 74ch; }
.autor-av { flex: 0 0 52px; height: 52px; border-radius: 50%; background: var(--deep); color: var(--signal); display: grid; place-items: center; font-family: var(--serif); font-size: 1.4rem; font-weight: 650; }
.autor-box a { color: var(--ink); }
.calc-box { background: var(--white); border: 1px solid var(--line); border-radius: var(--r); padding: 1.2rem; box-shadow: var(--shadow); }
.calc-modo { border: 0; padding: 0; margin: 0 0 1rem; display: flex; flex-wrap: wrap; gap: .5rem; }
.calc-modo legend { font-weight: 600; margin-bottom: .5rem; }
.calc-campos { display: grid; gap: .8rem; margin-bottom: 1rem; }
.calc-campos label { display: grid; gap: .3rem; font-weight: 500; font-size: .95rem; }
.calc-u { font-family: var(--mono); font-size: .75rem; color: var(--stone); }
.calc-campos input { font: inherit; padding: .65rem .8rem; border: 1px solid var(--line); border-radius: var(--r-s); background: var(--paper); min-height: 44px; }
.calc-campos input:focus-visible { outline: 3px solid var(--signal); outline-offset: 1px; }
.calc-out:not(:empty) { margin-top: 1.2rem; border-top: 1px solid var(--line); padding-top: 1rem; }
.calc-h { font-family: var(--serif); font-size: 1.15rem; margin: 1rem 0 .4rem; }
.calc-res { display: grid; gap: .6rem; }
.calc-res div { background: var(--paper-2); border-radius: var(--r-s); padding: .7rem .9rem; }
.calc-res dt { font-size: .85rem; color: var(--stone); }
.calc-res dd { font-family: var(--mono); font-size: 1.3rem; color: var(--ink); }
.calc-out ul { padding-left: 1.2rem; }
.calc-out a { color: var(--ink); }
@media (min-width: 720px) {
  .calc-campos { grid-template-columns: repeat(2, 1fr); }
  .calc-res { grid-template-columns: repeat(2, 1fr); }
  .elige { grid-template-columns: 1fr 1fr; }
  .difs { grid-template-columns: 1fr 1fr; }
  .prod-box { grid-template-columns: 120px 1fr; }
}
.tabla-vs th[scope=row] { position: sticky; left: 0; background: var(--white); z-index: 1; box-shadow: 1px 0 0 var(--line); }
@media (max-width: 539px) {
  .tabla-vs { font-size: .85rem; }
  .tabla-vs th, .tabla-vs td { padding: .55rem .6rem; }
  .tabla-vs th[scope=row] { max-width: 120px; }
}

/* ---------- Lista de correo ---------- */
.nl { background: var(--signal-soft); border-top: 1px solid var(--line); padding: 2.6rem 0; margin-top: 3rem; }
.nl-in { display: grid; gap: 1.4rem; align-items: center; }
.nl-t { font-family: var(--serif); font-size: 1.6rem; line-height: 1.15; margin: .3rem 0 .5rem; }
.nl-p { color: var(--stone); max-width: 52ch; }
.nl-l { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.nl-row { display: flex; gap: .5rem; flex-wrap: wrap; }
.nl-row input { flex: 1 1 220px; font: inherit; padding: .7rem .9rem; min-height: 46px; border: 1px solid var(--line); border-radius: var(--r-s); background: var(--white); }
.nl-row input:focus-visible { outline: 3px solid var(--signal-deep); outline-offset: 1px; }
.nl-ok { display: flex; gap: .5rem; align-items: flex-start; font-size: .85rem; margin-top: .7rem; color: var(--stone); }
.nl-ok input { margin-top: .2rem; width: 18px; height: 18px; flex: 0 0 auto; }
.nl-ok a { color: var(--ink); }
.nl-hp { position: absolute; left: -9999px; }
.nl-msg { font-size: .9rem; font-weight: 600; margin-top: .5rem; min-height: 1.2em; }
.nl-off { font-family: var(--mono); font-size: .75rem; color: var(--warn-text); margin-top: .4rem; }
@media (min-width: 960px) { .nl-in { grid-template-columns: 1.1fr 1fr; } }
.chip-agotado { background: #FBE4E1; color: #8A2A1E; border-color: #F0C2BB; }

/* Fotos de ambiente ------------------------------------------------ */
.foto { margin: 0; position: relative; overflow: hidden; border-radius: var(--r); background: var(--paper-2); }
.foto img { display: block; width: 100%; height: 100%; object-fit: cover; }
.foto-pie { position: absolute; right: .5rem; bottom: .5rem; font-size: .68rem; line-height: 1.3; color: #fff; background: rgba(15, 22, 38, .62); padding: .2rem .5rem; border-radius: 6px; backdrop-filter: blur(4px); max-width: calc(100% - 1rem); }
.foto-pie a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
/* Portada */
.hero-foto { position: relative; max-width: 460px; margin-inline: auto; }
.hero-foto .foto { aspect-ratio: 4 / 5; border-radius: 22px; box-shadow: 0 24px 60px -28px rgba(28,43,74,.45); }
.hero-foto .cota { z-index: 2; }
.hero-foto .cota-a { left: -4%; top: 62%; }
.hero-foto .cota-b { right: -3%; top: 14%; }
.hero-foto .cota-c { right: 6%; bottom: 13%; }
@media (max-width: 600px) { .hero-foto .cota-a { left: 3%; } .hero-foto .cota-b { right: 3%; } }
/* Tarjetas */
.cat-fig-foto { padding: 0; overflow: hidden; background: var(--paper-2); }
.foto-card { width: 100%; height: 100%; border-radius: var(--r-s); }
.foto-card img { transition: transform .5s var(--ease-out); }
.cat-card:hover .foto-card img, .guia-card-foto:hover .foto-card img { transform: scale(1.04); }
.guia-card-foto { padding: 0; overflow: hidden; gap: .5rem; }
.guia-card-foto .foto-card { aspect-ratio: 16 / 9; border-radius: 0; flex: none; }
.guia-card-foto > .kicker { margin: .6rem 1.4rem 0; }
.guia-card-foto > .guia-card-t { margin: 0 1.4rem; }
.guia-card-foto > .btn-link { margin: 0 1.4rem 1.3rem; }
/* Cabeceras */
.cat-head-foto { display: grid; gap: 1.4rem; align-items: center; }
.foto-head { aspect-ratio: 16 / 10; }
@media (min-width: 900px) {
  .cat-head-foto { grid-template-columns: 1.1fr .9fr; gap: 2.4rem; }
  .foto-head { aspect-ratio: 4 / 3; }
}
.foto-art { aspect-ratio: 16 / 9; margin: 0 0 1.4rem; }
@media (min-width: 700px) { .foto-art { aspect-ratio: 21 / 9; } }
@media (prefers-reduced-motion: reduce) { .foto-card img { transition: none; } }

/* Dibujos por producto y fondos de color (decorativos, no indican el color del producto) */
.t-arena { --tinte: #F5ECDF; --tinte-2: #EADBC6; }
.t-salvia { --tinte: #E6EFE6; --tinte-2: #D3E2D4; }
.t-cielo { --tinte: #E4ECF6; --tinte-2: #D0DDEE; }
.t-rosa { --tinte: #F6E7E3; --tinte-2: #EBD2CB; }
.t-mantequilla { --tinte: #FBF3D6; --tinte-2: #F2E3AE; }
.t-lila { --tinte: #EDE9F5; --tinte-2: #DCD5EC; }
[class*="t-"].card-fig, [class*="t-"].ficha-fig, [class*="t-"].pick-fig, [class*="t-"].prod-box-fig, [class*="t-"].res-fig {
  background: radial-gradient(120% 90% at 50% 15%, #fff 0%, var(--tinte) 55%, var(--tinte-2) 100%);
}
.ilus-p .f1 { fill: currentColor; fill-opacity: .07; }
.ilus-p .f2 { fill: currentColor; fill-opacity: .14; }
.ilus-p .acf { fill: var(--signal); }
.ilus-p .sombra { fill: currentColor; fill-opacity: .08; stroke: none; }
.ilus-p .hoja { stroke: #4E7A5A; stroke-width: 2; }
.ilus-p .halo { fill: var(--signal); fill-opacity: .18; stroke: none; }
.ilus-p .haz { fill: var(--signal); fill-opacity: .16; stroke: none; }
.ilus-p .tag rect { fill: #fff; stroke: currentColor; stroke-width: 1.2; }
.ilus-p .tag text { font: 600 9.5px/1 "JetBrains Mono", ui-monospace, Menlo, monospace; fill: currentColor; stroke: none; }

/* Tarjeta más ligera */
.card { border-color: transparent; box-shadow: 0 1px 2px rgba(28,43,74,.05), 0 10px 30px -18px rgba(28,43,74,.25); }
.card:hover { box-shadow: 0 2px 4px rgba(28,43,74,.06), 0 18px 40px -18px rgba(28,43,74,.35); transform: translateY(-3px); }
.card-fig { aspect-ratio: 16 / 9; margin: .6rem .6rem 0; border-radius: calc(var(--r) - 4px); overflow: hidden; }
.card-fig .ilus-p { width: auto; height: 86%; transition: transform .45s var(--ease-out); }
.card:hover .card-fig .ilus-p { transform: scale(1.05) rotate(-1deg); }
.card-dest { top: .6rem; left: .6rem; box-shadow: 0 2px 6px rgba(28,43,74,.15); }
.card-body { gap: .6rem; padding: 1rem 1.2rem 1.25rem; }
.card-res { line-height: 1.55; }
.card-dl { border-top: 1px solid var(--line); padding-top: .75rem; }
.ficha-fig { border-color: transparent; }
.ficha-fig .ilus-p { width: 64%; }
.pick-fig .ilus-p { width: auto; height: 82%; }
.res-fig { border-radius: var(--r-s); display: grid; place-items: center; }
.cmp-col-head .ilus-p { width: 72px; }
@media (max-width: 760px) { .ficha-fig .ilus-p { width: auto; height: 86%; } }
@media (prefers-reduced-motion: reduce) { .card:hover .card-fig .ilus-p { transform: none; } }
.card-fig { aspect-ratio: 16 / 10; }
.card-fig .ilus-p { height: 92%; }
.card-dest { top: auto; bottom: .6rem; left: .6rem; }
.card-marca { display: flex; justify-content: space-between; align-items: center; gap: .5rem; flex-wrap: wrap; }
.card-dest { position: static; box-shadow: none; font-size: .64rem; letter-spacing: .04em; }

/* Fotos oficiales de producto (con permiso de la marca) */
.t-foto { background: #fff; }
.foto-prod { width: 100%; height: 100%; object-fit: contain; padding: 6%; box-sizing: border-box; display: block; }

/* Aviso «(enlace pagado)» junto a cada botón de Amazon (normas de Afiliados) */
.enlace-pagado{display:inline-block;margin-left:.5rem;font-size:.75rem;color:var(--stone);white-space:nowrap;vertical-align:middle}

/* =============================================================
   10. Rediseño editorial (01/11/2026)
   Más carácter sin perder legibilidad: textura de papel, tipografía
   con más contraste, tarjetas más finas, adornos solo decorativos
   y modo oscuro. Todo lo de aquí se puede quitar sin romper nada.
   ============================================================= */
:root {
  --r: 18px;
  --r-s: 11px;
  --shadow: 0 1px 2px rgba(28,43,74,.05), 0 12px 32px -16px rgba(28,43,74,.22);
  --shadow-lg: 0 2px 6px rgba(28,43,74,.06), 0 28px 60px -28px rgba(28,43,74,.38);
  --grano: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.11 0 0 0 0 0.17 0 0 0 0 0.29 0 0 0 .05 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  --textura: none;
}

/* Fondo con grano de papel (y la textura propia si existe) */
body { background-color: var(--paper); background-image: var(--grano), var(--textura); background-size: 160px 160px, 512px 512px; }

/* Tipografía */
h1 { font-weight: 600; letter-spacing: -0.028em; font-variation-settings: "opsz" 144; }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.35rem); letter-spacing: -0.022em; font-variation-settings: "opsz" 120; }
.kicker { display: inline-flex; align-items: center; gap: .55rem; }
.kicker::before { content: ""; width: 1.4rem; height: 2px; background: var(--signal); border-radius: 2px; flex: none; }
.pick-l::before, .card-dest::before, .res-l::before { content: none; }
.lead { line-height: 1.55; }
.sec-t { gap: .85rem; }
.sec-n { background: var(--signal); color: #1C2B4A; font-size: .78rem; font-weight: 500; padding: .32rem .62rem; border-radius: 999px; box-shadow: 0 4px 10px -6px rgba(184,138,0,.8); }
.bloque { margin-top: clamp(3.5rem, 7vw, 5.5rem); }

/* Botones */
.btn { border-radius: 999px; padding-inline: 1.35rem; transition: transform .25s var(--ease-out), background-color .2s, box-shadow .25s var(--ease-out), color .2s; }
.btn-sm { padding-inline: 1rem; }
.btn-signal { background: linear-gradient(180deg, #FFCB2E 0%, var(--signal) 100%); color: #1C2B4A; box-shadow: 0 1px 0 rgba(255,255,255,.5) inset, 0 -2px 0 rgba(0,0,0,.1) inset, 0 6px 16px -8px rgba(184,138,0,.7); }
.btn-signal:hover { background: linear-gradient(180deg, #FFD54F 0%, #FFC21A 100%); transform: translateY(-1px); box-shadow: 0 1px 0 rgba(255,255,255,.5) inset, 0 -2px 0 rgba(0,0,0,.1) inset, 0 10px 22px -10px rgba(184,138,0,.8); }
.btn-ghost:hover { transform: translateY(-1px); }
.btn .ico { transition: transform .25s var(--ease-out); }
.btn:hover .ico, .btn-link:hover .ico { transform: translateX(2px); }

/* «(enlace pagado)»: siempre visible, justo debajo del botón de Amazon */
.card-acc, .ficha-acc, .cta-fin, .card-acc { align-items: center; }
.card-acc .enlace-pagado, .ficha-acc .enlace-pagado { order: 10; flex-basis: 100%; margin: .1rem 0 0 .35rem; }
.pick .enlace-pagado, .cmp-col-head .enlace-pagado, td .enlace-pagado, .prosa .enlace-pagado { display: block; margin: .35rem 0 0 .35rem; }
.cta-fin .enlace-pagado { color: var(--on-deep-2); margin: 0; }
@media (max-width: 600px) { .card-acc .enlace-pagado, .ficha-acc .enlace-pagado { order: 0; margin: -.15rem 0 .15rem .35rem; } }

/* Cabecera */
.site-header { border-bottom-color: color-mix(in srgb, var(--line) 70%, transparent); }
.logo-mark { border-radius: 9px; box-shadow: 0 0 0 3px color-mix(in srgb, var(--signal) 35%, transparent); }
.logo-txt { font-size: 1.28rem; }
.nav-links a { position: relative; }
@media (min-width: 960px) {
  .nav-links a:not(.nav-cta)::after { content: ""; position: absolute; left: .75rem; right: .75rem; bottom: .25rem; height: 2px; background: var(--signal); border-radius: 2px; transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease-out); }
  .nav-links a:not(.nav-cta):hover, .nav-links a[aria-current="page"] { background: transparent; }
  .nav-links a:not(.nav-cta):hover::after, .nav-links a[aria-current="page"]::after { transform: scaleX(1); }
  .nav-links a.nav-cta { border-radius: 999px; padding-inline: 1.1rem; }
}

/* Portada */
.hero { position: relative; isolation: isolate; overflow: hidden; }
.hero-orn { position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(38rem 26rem at 82% 40%, color-mix(in srgb, var(--signal) 22%, transparent), transparent 70%),
    radial-gradient(30rem 22rem at 8% 0%, color-mix(in srgb, var(--ink) 7%, transparent), transparent 70%); }
.hero-orn::after { content: ""; position: absolute; right: 4%; top: 8%; width: 220px; height: 220px; background-image: radial-gradient(color-mix(in srgb, var(--ink) 30%, transparent) 1.2px, transparent 1.4px); background-size: 14px 14px; opacity: .5; -webkit-mask-image: radial-gradient(circle, #000 40%, transparent 72%); mask-image: radial-gradient(circle, #000 40%, transparent 72%); }
.hero.con-deco .hero-orn { background: linear-gradient(90deg, var(--paper) 0%, color-mix(in srgb, var(--paper) 88%, transparent) 42%, color-mix(in srgb, var(--paper) 20%, transparent) 100%), var(--deco) center / cover no-repeat; }
.hero.con-deco .hero-orn::after { content: none; }
.hero h1 { font-size: clamp(2.6rem, 7.4vw, 5rem); line-height: .98; }
.hero h1 em { font-weight: 500; background: none; position: relative; z-index: 0; padding: 0 .06em; white-space: nowrap; }
.hero h1 em::after { content: ""; position: absolute; left: 0; right: 0; bottom: .06em; height: .34em; background: var(--signal); border-radius: .2em; z-index: -1; transform: rotate(-1deg); }
.hero-proof li { padding: .15rem 0; }
.hero-proof strong { background: var(--surface); border: 1px solid var(--line); box-shadow: 0 1px 0 var(--line); }
.hero-foto .foto { border-radius: 28px; box-shadow: var(--shadow-lg); outline: 1px solid color-mix(in srgb, var(--ink) 8%, transparent); outline-offset: -1px; }
.hero-foto::before { content: ""; position: absolute; inset: 7% -5% -5% 7%; border-radius: 30px; border: 1.5px dashed color-mix(in srgb, var(--ink) 28%, transparent); z-index: -1; }
.cota { border-radius: 999px; padding: .25rem .6rem; font-weight: 500; }

/* Tarjetas */
.card { border-radius: var(--r); background: var(--surface); }
.card-fig { border-radius: calc(var(--r) - 6px); }
.card-t { font-size: 1.42rem; letter-spacing: -.015em; }
.card-dest { border-radius: 999px; padding: .22rem .6rem; }
.cat-card, .guia-card, .pick, .pc-col, .ver-grid > div, .paso, .res, .filtros, .cmp-picker, .ficha-meta, .radar-wrap, .calc-box, .autor-box, .prod-box, .dif, .elige-col, .pronto { border-radius: var(--r); background: var(--surface); }
.cat-card, .guia-card { border-color: transparent; box-shadow: var(--shadow); transition: box-shadow .3s var(--ease-out), transform .3s var(--ease-out); }
.cat-card:hover, .guia-card:hover { border-color: transparent; box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.cat-t { font-size: 1.25rem; }
.guia-card-t { font-size: 1.5rem; }
.guia-card-test { background: var(--deep); position: relative; overflow: hidden; }
.guia-card-test::after { content: ""; position: absolute; right: -40px; bottom: -40px; width: 180px; height: 180px; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--signal) 55%, transparent), transparent 70%); }

/* Nota */
.nota { background: linear-gradient(160deg, var(--deep-2), var(--deep)); box-shadow: 0 0 0 1px rgba(255,255,255,.06) inset, 0 6px 14px -8px rgba(28,43,74,.6); border-radius: 12px; }
.nota-big { border-radius: 18px; padding: .8rem 1.1rem; }
.nota-big .nota-n { font-size: 2.6rem; }
.ficha-meta { gap: 1rem; border-color: transparent; box-shadow: var(--shadow); }
.ficha-meta .meta-s a { color: var(--ink); text-decoration-color: var(--signal); text-decoration-thickness: 2px; text-underline-offset: 3px; }

/* Ficha */
.ficha-fig { border-radius: 28px; box-shadow: var(--shadow); }
.ficha-intro h1 { font-size: clamp(2.1rem, 4.8vw, 3.3rem); }
.specs { border-radius: var(--r); border-color: transparent; box-shadow: var(--shadow); background: var(--surface); }
.specs tbody tr:not(.grupo):hover td, .specs tbody tr:not(.grupo):hover th { background: color-mix(in srgb, var(--signal) 7%, transparent); }
.ver-grid > div { border-color: transparent; box-shadow: var(--shadow); }
.pc-col { border-color: transparent; box-shadow: var(--shadow); }
.cta-fin { background: linear-gradient(135deg, var(--deep-2), var(--deep)); border-radius: var(--r); padding: 1.6rem; position: relative; overflow: hidden; }
.cta-fin::after { content: ""; position: absolute; right: -60px; top: -60px; width: 200px; height: 200px; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--signal) 40%, transparent), transparent 70%); pointer-events: none; }
.b-track { height: 8px; }
.b-fill { background: linear-gradient(90deg, var(--ink), color-mix(in srgb, var(--ink) 70%, var(--signal))); }

/* Banda del método */
.metodo-band { position: relative; overflow: hidden; background: radial-gradient(40rem 30rem at 90% 10%, rgba(242,183,5,.16), transparent 60%), radial-gradient(30rem 20rem at 0% 100%, rgba(255,255,255,.06), transparent 60%), var(--deep); }
.criterios li { position: relative; overflow: hidden; background: rgba(255,255,255,.03); }
.crit-bar { position: absolute; left: 0; bottom: 0; height: 3px; width: var(--w); background: var(--signal); border-radius: 0 3px 3px 0; }

/* Filtros y chips */
.filtros, .cmp-picker { border-color: transparent; box-shadow: var(--shadow); }
.fchip { transition: background-color .2s, box-shadow .2s, color .2s; }
.banda-test { border-radius: var(--r); background: linear-gradient(120deg, var(--signal-soft), color-mix(in srgb, var(--signal-soft) 40%, var(--surface))); }

/* Cabeceras de categoría con imagen decorativa (opcional) */
.cat-head.con-deco { position: relative; isolation: isolate; }
.cat-head.con-deco::before { content: ""; position: absolute; inset: 0 calc(var(--gutter) * -1); z-index: -1; border-radius: var(--r); background: linear-gradient(90deg, var(--paper) 30%, color-mix(in srgb, var(--paper) 55%, transparent)), var(--deco) center / cover no-repeat; opacity: .9; }

/* Test y comparador */
.paso { border-color: transparent; box-shadow: var(--shadow); }
.opt { border-radius: 14px; background: var(--surface); }
.res { border-color: transparent; box-shadow: var(--shadow); }
.res:first-of-type { box-shadow: 0 0 0 2px var(--ink), var(--shadow-lg); border-color: transparent; }
.cmp-table-wrap, .tabla-scroll { border-radius: var(--r); background: var(--surface); }
.cmp-table tbody th, .tabla-vs th[scope=row] { background: var(--surface); }

/* Guías */
.respuesta { border-radius: 0 var(--r) var(--r) 0; background: var(--surface); }
.pick { border-color: transparent; box-shadow: var(--shadow); }
.pick:first-child { box-shadow: 0 0 0 2px var(--ink), var(--shadow-lg); border-color: transparent; }
.veredicto-rapido { background: linear-gradient(135deg, var(--deep-2), var(--deep)); }

/* Boletín */
.nl { background: transparent; border-top: 0; }
.nl-in { background: linear-gradient(120deg, var(--signal-soft), color-mix(in srgb, var(--signal-soft) 35%, var(--surface))); border: 1px solid var(--signal-2); border-radius: 26px; padding: clamp(1.4rem, 4vw, 2.6rem); position: relative; overflow: hidden; }
.nl-in::after { content: ""; position: absolute; right: -50px; top: -50px; width: 220px; height: 220px; border-radius: 50%; border: 28px solid color-mix(in srgb, var(--signal) 28%, transparent); pointer-events: none; }
.nl-in > * { position: relative; z-index: 1; }
.nl-row input { border-radius: 999px; padding-inline: 1.1rem; }
.nl-t { font-size: clamp(1.6rem, 3.2vw, 2.1rem); }

/* Pie */
.site-footer { position: relative; overflow: hidden; background: radial-gradient(40rem 24rem at 100% 0%, rgba(242,183,5,.12), transparent 60%), var(--deep); }
.site-footer::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: linear-gradient(90deg, var(--signal) 0 33%, transparent 33% 36%, var(--signal) 36% 100%); opacity: .9; }
.foot-h { display: flex; align-items: center; gap: .5rem; }

/* Fotos */
.foto { border-radius: var(--r); }
.foto-head { border-radius: 24px; box-shadow: var(--shadow-lg); }

/* Aparición suave al hacer scroll (solo lo que está fuera de pantalla al cargar; main.js) */
.rv { opacity: 0; transform: translateY(16px); }
.rv.rv-in { opacity: 1; transform: none; transition: opacity .7s var(--ease-out), transform .7s var(--ease-out); transition-delay: var(--rv-d, 0s); }
@media (prefers-reduced-motion: reduce) {
  .rv { opacity: 1; transform: none; }
  .btn, .cat-card, .guia-card, .btn .ico { transition: none; }
  .btn:hover, .cat-card:hover, .guia-card:hover { transform: none; }
}

/* =============================================================
   11. Modo oscuro (según el sistema del lector)
   ============================================================= */
@media (prefers-color-scheme: dark) {
  :root {
    --ink: #EEF1F7;
    --ink-2: #C9D2E6;
    --text: #DCE1EA;
    --text-2: #C2C9D6;
    --text-3: #A9B1C2;
    --paper: #11151E;
    --paper-2: #1A2030;
    --white: #1A2130;
    --surface: #1A2130;
    --line: #2C3548;
    --stone: #9BA4B6;
    --signal-2: #6A5212;
    --signal-soft: #2A2410;
    --signal-deep: #E0AA0A;
    --ok: #66C08E;
    --ko: #EE8A76;
    --warn-text: #F3D58A;
    --deep: #0B1220;
    --deep-2: #18243D;
    --header-bg: rgba(17,21,30,.82);
    --shadow: 0 1px 2px rgba(0,0,0,.4), 0 12px 32px -16px rgba(0,0,0,.7);
    --shadow-lg: 0 2px 6px rgba(0,0,0,.4), 0 28px 60px -28px rgba(0,0,0,.85);
    --grano: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .035 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    --grid-bg: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px) 0 0 / 16px 16px,
               linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px) 0 0 / 16px 16px, #1A2030;
  }
  body { background-image: var(--grano); }
  /* Los dibujos y sus fondos de color se mantienen claros para que se lean */
  [class*="t-"].card-fig, [class*="t-"].ficha-fig, [class*="t-"].pick-fig, [class*="t-"].prod-box-fig, [class*="t-"].res-fig { filter: brightness(.92) saturate(.9); }
  .card-fig, .ficha-fig, .pick-fig, .res-fig, .cat-fig, .pronto-fig { --grid-bg: linear-gradient(rgba(28,43,74,.06) 1px, transparent 1px) 0 0 / 16px 16px, linear-gradient(90deg, rgba(28,43,74,.06) 1px, transparent 1px) 0 0 / 16px 16px, #ECEAE2; }
  .prod-box-fig { background: #ECEAE2; }
  .fig-nota { color: var(--stone); }
  .ilus-p .tag rect { fill: #fff; }
  .btn-signal, .btn-signal:hover { color: #1C2B4A; }
  .chip, .cota { background: var(--surface); }
  .cota-c { background: var(--signal); color: #1C2B4A; }
  .hero-orn { background: radial-gradient(38rem 26rem at 82% 40%, rgba(242,183,5,.12), transparent 70%); }
  .hero-orn::after { opacity: .25; }
  .hero.con-deco .hero-orn { opacity: .55; }
  .hero h1 em::after { height: .12em; bottom: -.04em; }
  .hueco { color: var(--warn-text); }
  .hueco-tag, .card-dest, .pick-l, .res-l, .cmp-count { color: #1C2B4A; }
  .opt:has(input:checked) { background: var(--signal-soft); }
  .cmp-table td.mejor { background: var(--signal-soft); }
  .r-area { fill: rgba(242,183,5,.28); }
  .r-dot { fill: var(--signal); }
  .site-footer, .metodo-band, .cta-fin, .guia-card-test, .veredicto-rapido, .cmp-bar { box-shadow: inset 0 0 0 1px rgba(255,255,255,.06); }
  .aviso-top { background: #0B1220; }
  .foto img { filter: brightness(.9); }
  .t-foto { background: #F2F2F2; }
  .borrador { color: #1C2B4A; }
  ::selection { color: #1C2B4A; }
}

/* Ilustraciones propias en portada y cabeceras */
.foto-ilus img { width: 100%; height: 100%; object-fit: cover; }
.foto-ilus-hero img { object-position: 78% center; }
