/* =============================================================
   Comparalia · hoja de estilos única
   1 Tokens · 2 Reset · 3 Utilidades · 4 Tipografía · 5 Componentes
   6 Secciones · 7 Efectos · 8 Responsive · 9 Reduced-motion
   ============================================================= */

/* =============================================================
   1. Tokens
   ============================================================= */
:root {
  --bg:        #0f1319;
  --bg-2:      #141922;
  --bg-3:      #1a212c;
  --surface:   #171d27;
  --line:      #262f3d;
  --line-soft: #1e2632;

  --text:      #e8ecf2;
  --text-2:    #a7b2c2;
  --text-3:    #77839a;

  --accent:      #e8b464;
  --accent-2:    #f0c68a;
  --accent-ink:  #1a1206;
  --good:        #5fc08a;
  --bad:         #e8796b;
  --info:        #6ea8e0;

  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans:  "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  --wrap: 1180px;
  --gutter: clamp(1.1rem, 4vw, 2.5rem);
  --radius: 14px;
  --radius-sm: 9px;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-soft: cubic-bezier(0.25, 0.46, 0.45, 0.94);

  --shadow: 0 1px 2px rgba(0,0,0,.3), 0 8px 28px rgba(0,0,0,.28);
  --shadow-lg: 0 2px 6px rgba(0,0,0,.32), 0 22px 60px rgba(0,0,0,.42);
}

/* =============================================================
   2. Reset & base
   ============================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; }
html {
  -webkit-text-size-adjust: 100%;
  tab-size: 2;
  overflow-x: clip;
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}
body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
  overscroll-behavior-y: none;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
a { color: inherit; text-decoration: none; }
p { text-wrap: pretty; }
h1, h2, h3, h4 { text-wrap: balance; line-height: 1.12; letter-spacing: -0.018em; }
::selection { background: var(--accent); color: var(--accent-ink); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

/* =============================================================
   3. Utilidades
   ============================================================= */
.wrap { width: min(100% - var(--gutter) * 2, var(--wrap)); margin-inline: auto; }
.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;
}
.skip-link {
  position: fixed; top: -100px; left: 1rem; z-index: 9999;
  padding: .65rem 1.1rem; background: var(--accent); color: var(--accent-ink);
  border-radius: 8px; font-weight: 600;
}
.skip-link:focus { top: 1rem; }

/* =============================================================
   4. Tipografía
   ============================================================= */
h1 { font-family: var(--serif); font-weight: 700; font-size: clamp(2rem, 5.2vw, 3.35rem); }
h2 { font-family: var(--serif); font-weight: 700; font-size: clamp(1.5rem, 3.2vw, 2.1rem); }
h3 { font-weight: 650; font-size: 1.08rem; letter-spacing: -0.01em; }

.kicker {
  font-size: .74rem; font-weight: 650; letter-spacing: .13em;
  text-transform: uppercase; color: var(--accent); margin-bottom: .7rem;
}
.lede { font-size: clamp(1.02rem, 1.6vw, 1.19rem); color: var(--text-2); max-width: 62ch; }
.lede-inline { font-size: 1.1rem; color: var(--text); font-weight: 500; }
.section-title { margin-bottom: .55rem; }
.section-lede { color: var(--text-2); max-width: 66ch; margin-bottom: 2rem; }

/* La medida de lectura se aplica al TEXTO, no al contenedor: así las
   rejillas (pasos, FAQ, tarjetas) pueden ocupar todo el ancho del wrap. */
.prose > h2, .prose > h3, .prose > h4, .prose > p,
.prose > ul, .prose > ol, .prose > blockquote,
.prose > .verdict, .prose > .callout { max-width: 74ch; }
.prose h2 { margin: 2.6rem 0 .9rem; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin: 1.7rem 0 .5rem; font-size: 1.12rem; }
.prose p { margin-bottom: 1.05rem; color: var(--text-2); }
.prose ul, .prose ol { margin: 0 0 1.2rem 1.15rem; color: var(--text-2); }
.prose li { margin-bottom: .45rem; }
.prose > .steps, .prose > .trust-grid, .prose > .faqs,
.prose > .tools-grid, .prose > .table-scroll { max-width: none; }
.prose strong { color: var(--text); font-weight: 600; }
.prose a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.prose a:hover { color: var(--accent-2); }

/* =============================================================
   5. Componentes
   ============================================================= */

/* --- Cabecera --- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(15,19,25,.88);
  border-bottom: 1px solid var(--line-soft);
}
@supports (backdrop-filter: blur(14px)) {
  .site-header { background: rgba(15,19,25,.74); backdrop-filter: blur(14px) saturate(150%); }
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; min-height: 66px;
}
.brand { display: flex; align-items: center; gap: .65rem; }
.brand-mark {
  display: grid; place-items: center; width: 36px; height: 36px; flex: none;
  background: var(--accent); color: var(--accent-ink);
  border-radius: 9px; font-family: var(--serif); font-weight: 700; font-size: 1.25rem;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong { font-family: var(--serif); font-size: 1.14rem; letter-spacing: -.01em; }
.brand-text small { font-size: .7rem; color: var(--text-3); }

.nav-links { display: flex; gap: .3rem; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  display: block; padding: .5rem .8rem; border-radius: 8px;
  font-size: .92rem; font-weight: 500; color: var(--text-2);
  transition: color .25s var(--ease-out), background .25s var(--ease-out);
}
.nav-links a:hover { color: var(--text); background: var(--bg-3); }
.nav-links a[aria-current="page"] { color: var(--accent); background: rgba(232,180,100,.1); }

.nav-toggle { display: none; width: 42px; height: 42px; border-radius: 9px; }
.nav-toggle:hover { background: var(--bg-3); }
.nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after {
  display: block; width: 19px; height: 2px; background: var(--text);
  border-radius: 2px; transition: transform .3s var(--ease-out), opacity .2s;
}
.nav-toggle-bars { margin-inline: auto; position: relative; }
.nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle-bars::before { top: -6px; }
.nav-toggle-bars::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { transform: translateY(-6px) rotate(-45deg); }

.disclosure-bar {
  margin: 0; padding: .42rem var(--gutter); text-align: center;
  font-size: .755rem; color: var(--text-3);
  background: var(--bg-2); border-top: 1px solid var(--line-soft);
}
.disclosure-bar a { color: var(--text-2); text-decoration: underline; text-underline-offset: 2px; }
.disclosure-bar a:hover { color: var(--accent); }

/* --- Botones --- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .45rem;
  padding: .72rem 1.35rem; border-radius: 999px;
  font-size: .93rem; font-weight: 600; letter-spacing: -.005em;
  border: 1px solid transparent; text-align: center;
  transition: transform .25s var(--ease-out), background .25s var(--ease-out),
              border-color .25s var(--ease-out), color .25s var(--ease-out);
}
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { background: var(--accent-2); transform: translateY(-2px); }
.btn-ghost { border-color: var(--line); color: var(--text); background: var(--bg-3); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }
.btn-pending {
  background: var(--bg-3); color: var(--text-3);
  border: 1px dashed var(--line); cursor: not-allowed; font-weight: 500;
}
.btn-sm { padding: .55rem 1rem; font-size: .85rem; }
.btn-block { display: flex; width: 100%; }
/* E.2: un botón dentro de un contexto <a> estilado debe reafirmar su color */
.nav-links a.btn-primary, .nav-links a.btn-primary:hover { color: var(--accent-ink); background: var(--accent); }

/* --- Tarjeta de producto --- */
.grid {
  display: grid; gap: 1.2rem;
  grid-template-columns: repeat(auto-fill, minmax(268px, 1fr));
}
.card {
  display: flex; flex-direction: column;
  background: var(--surface); border: 1px solid var(--line-soft);
  border-radius: var(--radius); overflow: hidden;
  transition: transform .3s var(--ease-out), border-color .3s var(--ease-out),
              box-shadow .3s var(--ease-out);
}
.card:hover { transform: translateY(-4px); border-color: var(--line); box-shadow: var(--shadow); }
.card-media { position: relative; aspect-ratio: 4 / 3; background: var(--bg-3); overflow: hidden; }
.card-img { width: 100%; height: 100%; object-fit: cover; }
.card-flag {
  position: absolute; top: .65rem; left: .65rem;
  padding: .26rem .6rem; border-radius: 6px;
  background: var(--accent); color: var(--accent-ink);
  font-size: .69rem; font-weight: 700; letter-spacing: .02em;
}
.card-body { display: flex; flex-direction: column; gap: .48rem; padding: 1.05rem 1.1rem 1.15rem; flex: 1; }
.card-cat { font-size: .72rem; font-weight: 600; letter-spacing: .07em; text-transform: uppercase; color: var(--accent); }
.card-cat:hover { color: var(--accent-2); }
.card-title { font-size: 1rem; line-height: 1.32; font-weight: 650; }
.card-title a:hover { color: var(--accent); }
.card-rating { display: flex; align-items: center; gap: .45rem; font-size: .8rem; color: var(--text-3); }
.card-vel { font-size: .78rem; color: var(--good); font-weight: 550; }
.card-dest { font-size: .87rem; color: var(--text-2); line-height: 1.5; }
.card-actions { display: flex; gap: .5rem; margin-top: auto; padding-top: .7rem; flex-wrap: wrap; }
.card-actions .btn { flex: 1 1 auto; }

/* --- Estrellas --- */
.stars { display: inline-flex; gap: 1px; font-size: .84rem; letter-spacing: .04em; }
.star { color: var(--line); }
.star.on { color: var(--accent); }

/* --- Precio --- */
.price { display: flex; align-items: baseline; gap: .5rem; flex-wrap: wrap; margin-top: .15rem; }
.price-now { font-family: var(--serif); font-size: 1.32rem; font-weight: 700; color: var(--text); }
.price-big .price-now { font-size: clamp(1.8rem, 3.4vw, 2.3rem); }
.price-was { font-size: .88rem; color: var(--text-3); text-decoration: line-through; }
.price-badge {
  padding: .16rem .46rem; border-radius: 5px;
  background: rgba(95,192,138,.15); color: var(--good);
  font-size: .74rem; font-weight: 700;
}
.price-note { font-size: .715rem; color: var(--text-3); line-height: 1.45; margin-top: .18rem; }

/* --- Tabla de especificaciones --- */
.specs { width: 100%; border-collapse: collapse; margin: .4rem 0 .6rem; font-size: .9rem; }
.specs th, .specs td {
  text-align: left; padding: .62rem .8rem;
  border-bottom: 1px solid var(--line-soft); vertical-align: top;
}
.specs th { font-weight: 550; color: var(--text-2); width: 46%; }
.specs td { color: var(--text); }
.specs td.is-null { color: var(--text-3); }
.specs tbody tr:nth-child(odd) { background: rgba(255,255,255,.016); }
.specs thead th { color: var(--text); font-weight: 650; border-bottom: 1px solid var(--line); }
.specs-sub { margin-top: 1.8rem; font-size: 1rem; }
.specs-note { font-size: .765rem; color: var(--text-3); line-height: 1.5; margin-bottom: 1.2rem; }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.table-wide { min-width: 640px; }
.table-wide th, .table-wide td { white-space: nowrap; }
.table-wide td:first-child { white-space: normal; min-width: 240px; }
.table-wide a { color: var(--accent); }

/* --- Radar --- */
.radar { width: 100%; max-width: 320px; margin: .6rem auto .3rem; overflow: visible; }
.radar-ring { fill: none; stroke: var(--line-soft); stroke-width: 1; }
.radar-spoke { stroke: var(--line-soft); stroke-width: 1; }
.radar-area { fill: rgba(232,180,100,.2); stroke: var(--accent); stroke-width: 2; stroke-linejoin: round; }
.radar-dot { fill: var(--accent); }
.radar-label { font-family: var(--sans); font-size: 9.4px; fill: var(--text-3); }
.radar-val { font-weight: 700; fill: var(--accent); }

/* --- Cajas laterales --- */
.side-box {
  background: var(--surface); border: 1px solid var(--line-soft);
  border-radius: var(--radius); padding: 1.3rem 1.25rem; margin-bottom: 1.1rem;
}
.side-box h2 { font-size: 1.06rem; font-family: var(--sans); font-weight: 650; margin-bottom: .35rem; }
.side-note { font-size: .78rem; color: var(--text-3); line-height: 1.55; margin-bottom: .5rem; }
.side-method { font-size: .8rem; margin-top: .35rem; }
.side-method a { color: var(--accent); }
.side-facts { list-style: none; padding: 0; margin: .3rem 0 1rem; }
.side-facts li {
  display: flex; flex-direction: column; gap: .1rem;
  padding: .62rem 0; border-bottom: 1px solid var(--line-soft);
}
.side-facts li:last-child { border-bottom: 0; }
.side-facts strong { font-family: var(--serif); font-size: 1.2rem; color: var(--text); }
.side-facts span { font-size: .765rem; color: var(--text-3); }

/* --- Pros y contras --- */
.proscons { display: grid; gap: 1rem; margin: 1.8rem 0; grid-template-columns: 1fr; }
.pc { border-radius: var(--radius); padding: 1.1rem 1.2rem; border: 1px solid var(--line-soft); }
.pc h3 { font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: .6rem; }
.pc ul { list-style: none; padding: 0; margin: 0; }
.pc li { position: relative; padding-left: 1.35rem; margin-bottom: .45rem; font-size: .91rem; color: var(--text-2); line-height: 1.55; }
.pc li::before { position: absolute; left: 0; top: -.02em; font-weight: 700; }
.pc-pro { background: rgba(95,192,138,.055); border-color: rgba(95,192,138,.2); }
.pc-pro h3 { color: var(--good); }
.pc-pro li::before { content: "+"; color: var(--good); font-size: 1.1rem; }
.pc-con { background: rgba(232,121,107,.05); border-color: rgba(232,121,107,.18); }
.pc-con h3 { color: var(--bad); }
.pc-con li::before { content: "−"; color: var(--bad); font-size: 1.1rem; }

/* --- Veredicto / callout / CTA --- */
.verdict, .callout {
  border-left: 3px solid var(--accent); background: var(--bg-2);
  padding: 1.05rem 1.2rem; border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 1.6rem 0;
}
.verdict p { margin-bottom: .5rem; color: var(--text-2); font-size: .94rem; }
.verdict p:last-child { margin-bottom: 0; }
.verdict strong, .callout strong { color: var(--text); }
.callout p { margin: 0; color: var(--text-2); font-size: .92rem; }
.cta-inline {
  display: flex; align-items: center; justify-content: space-between; gap: 1.1rem;
  flex-wrap: wrap; margin: 2rem 0; padding: 1.2rem 1.35rem;
  background: linear-gradient(135deg, var(--bg-3), var(--bg-2));
  border: 1px solid var(--line); border-radius: var(--radius);
}
.cta-inline p { font-family: var(--serif); font-size: 1.06rem; font-weight: 500; color: var(--text); margin: 0; flex: 1 1 260px; }
.resumen-op { font-size: 1rem; color: var(--text-2); line-height: 1.65; margin-bottom: .5rem; }

/* --- Tarjetas de categoría / herramienta --- */
.cat-grid { display: grid; gap: .9rem; grid-template-columns: repeat(auto-fill, minmax(215px, 1fr)); }
.cat-card {
  display: flex; flex-direction: column; gap: .28rem;
  padding: 1.2rem 1.25rem; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--line-soft);
  transition: transform .3s var(--ease-out), border-color .3s var(--ease-out), background .3s var(--ease-out);
}
.cat-card:hover { transform: translateY(-3px); border-color: var(--accent); background: var(--bg-3); }
.cat-card h3 { font-size: 1.03rem; }
.cat-card p { font-size: .82rem; color: var(--text-3); }
.cat-card-go { margin-top: .5rem; font-size: .82rem; font-weight: 600; color: var(--accent); }

.tools-grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(255px, 1fr)); }
.tool-card {
  padding: 1.35rem 1.4rem; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--line-soft);
  transition: transform .3s var(--ease-out), border-color .3s var(--ease-out);
}
.tool-card:hover { transform: translateY(-3px); border-color: var(--accent); }
.tool-card h3 { margin-bottom: .4rem; color: var(--accent); font-size: 1.02rem; }
.tool-card p { font-size: .89rem; color: var(--text-2); line-height: 1.55; }

/* --- Bloques de confianza --- */
.trust-grid { display: grid; gap: 1.1rem; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); margin-top: 1.4rem; }
.trust-grid-3 { grid-template-columns: repeat(auto-fit, minmax(275px, 1fr)); }
.trust-item {
  padding: 1.25rem 1.3rem; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--line-soft);
}
.trust-item h3 { margin-bottom: .45rem; color: var(--accent); font-size: 1rem; }
.trust-item p { font-size: .89rem; color: var(--text-2); line-height: 1.58; }
.trust-more { margin-top: 1.5rem; font-size: .93rem; font-weight: 600; }
.trust-more a { color: var(--accent); }
.trust-more a:hover { color: var(--accent-2); }

/* --- Pasos numerados --- */
.steps { display: grid; gap: 1.1rem; margin: 2rem 0 .5rem; grid-template-columns: 1fr; }
.step {
  position: relative; padding: 1.35rem 1.4rem 1.4rem 1.4rem;
  background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--radius);
}
.step-n {
  display: grid; place-items: center; width: 34px; height: 34px; margin-bottom: .7rem;
  border-radius: 50%; background: var(--accent); color: var(--accent-ink);
  font-family: var(--serif); font-weight: 700; font-size: 1.05rem;
}
.step h3 { margin-bottom: .45rem; font-size: 1.05rem; }
.step p { font-size: .92rem; color: var(--text-2); line-height: 1.6; margin: 0; }

/* --- FAQ --- */
.faqs { display: grid; gap: .85rem; margin-top: 1.4rem; }
.faq {
  padding: 1.15rem 1.3rem; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--line-soft);
}
.faq h3 { margin: 0 0 .45rem; font-size: 1.02rem; color: var(--text); }
.faq p { margin: 0; font-size: .92rem; color: var(--text-2); line-height: 1.62; }

/* --- Picks (mejor de la categoría) --- */
.picks { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(235px, 1fr)); margin-bottom: 2.6rem; }
.pick {
  padding: 1.2rem 1.25rem; border-radius: var(--radius);
  background: linear-gradient(160deg, var(--bg-3), var(--surface));
  border: 1px solid var(--line);
}
.pick-label {
  font-size: .7rem; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--accent); margin-bottom: .5rem;
}
.pick h3 { font-size: 1rem; line-height: 1.35; margin-bottom: .35rem; }
.pick h3 a:hover { color: var(--accent); }
.pick-price { font-family: var(--serif); font-size: 1.28rem; font-weight: 700; margin-bottom: .3rem; }
.pick-why { font-size: .85rem; color: var(--text-2); line-height: 1.5; }

/* --- Rankings --- */
.ranks { list-style: none; padding: 0; margin: 0; display: grid; gap: 1rem; }
.rank {
  display: flex; gap: 1.1rem; align-items: flex-start;
  padding: 1.25rem 1.35rem; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--line-soft);
}
.rank-n {
  display: grid; place-items: center; flex: none; width: 40px; height: 40px;
  border-radius: 50%; background: var(--accent); color: var(--accent-ink);
  font-family: var(--serif); font-weight: 700; font-size: 1.15rem;
}
.rank-body { flex: 1; min-width: 0; }
.rank-body h3 { font-size: 1.06rem; margin-bottom: .3rem; }
.rank-body h3 a:hover { color: var(--accent); }
.rank-why { font-size: .9rem; color: var(--text-2); margin-bottom: .3rem; }
.rank-meta { font-size: .82rem; color: var(--text-3); margin-bottom: .75rem; }
.rank-actions { display: flex; gap: .55rem; flex-wrap: wrap; }

/* --- Comparador --- */
.cmp-layout { display: grid; gap: 1.6rem; grid-template-columns: 1fr; align-items: start; }
.cmp-picker {
  background: var(--surface); border: 1px solid var(--line-soft);
  border-radius: var(--radius); padding: 1.25rem 1.3rem;
}
.cmp-picker h2 { font-size: 1.08rem; font-family: var(--sans); font-weight: 650; margin-bottom: .35rem; }
.cmp-cat { border-top: 1px solid var(--line-soft); }
.cmp-cat:first-of-type { border-top: 0; }
.cmp-cat summary {
  display: flex; align-items: center; justify-content: space-between; gap: .6rem;
  padding: .78rem 0; cursor: pointer; font-weight: 550; font-size: .93rem;
  list-style: none;
}
.cmp-cat summary::-webkit-details-marker { display: none; }
.cmp-cat summary::after { content: "+"; color: var(--accent); font-size: 1.15rem; line-height: 1; }
.cmp-cat[open] summary::after { content: "−"; }
.cmp-count {
  margin-left: auto; margin-right: .4rem; padding: .1rem .45rem; border-radius: 5px;
  background: var(--bg-3); color: var(--text-3); font-size: .74rem; font-weight: 600;
}
.cmp-opts { padding-bottom: .7rem; display: grid; gap: .1rem; }
.cmp-opt {
  display: flex; align-items: center; gap: .6rem; padding: .48rem .55rem;
  border-radius: var(--radius-sm); cursor: pointer; font-size: .875rem;
  transition: background .2s var(--ease-out);
}
.cmp-opt:hover { background: var(--bg-3); }
.cmp-opt input { accent-color: var(--accent); width: 16px; height: 16px; flex: none; }
.cmp-opt span { flex: 1; min-width: 0; color: var(--text-2); line-height: 1.35; }
.cmp-opt em { font-style: normal; font-size: .82rem; color: var(--text-3); white-space: nowrap; }
.cmp-opt input:checked ~ span { color: var(--text); font-weight: 550; }
.cmp-opt.is-disabled { opacity: .38; pointer-events: none; }

.cmp-result { min-height: 240px; }
.cmp-empty, .cmp-msg {
  padding: 2.6rem 1.8rem; text-align: center;
  border: 1px dashed var(--line); border-radius: var(--radius); background: var(--bg-2);
}
.cmp-empty h2 { font-size: 1.2rem; margin-bottom: .5rem; }
.cmp-empty p, .cmp-msg p { color: var(--text-3); font-size: .93rem; max-width: 46ch; margin-inline: auto; }
.cmp-table { width: 100%; border-collapse: collapse; font-size: .875rem; }
.cmp-table th, .cmp-table td {
  padding: .68rem .75rem; border-bottom: 1px solid var(--line-soft);
  text-align: left; vertical-align: middle;
}
.cmp-table thead th { vertical-align: bottom; border-bottom: 1px solid var(--line); }
.cmp-table tbody tr:nth-child(odd) { background: rgba(255,255,255,.016); }
.cmp-row-label { font-weight: 550; color: var(--text-2); min-width: 150px; }
.cmp-best {
  background: rgba(95,192,138,.12) !important;
  color: var(--text); font-weight: 650;
  box-shadow: inset 2px 0 0 var(--good);
}
.cmp-head-cell { min-width: 190px; }
.cmp-head-cell img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: var(--radius-sm); margin-bottom: .5rem; }
.cmp-head-cell h3 { font-size: .93rem; line-height: 1.35; margin-bottom: .3rem; }
.cmp-head-cell h3 a:hover { color: var(--accent); }
.cmp-head-price { font-family: var(--serif); font-size: 1.15rem; font-weight: 700; margin-bottom: .5rem; }
.cmp-section-row th {
  background: var(--bg-3); font-size: .74rem; letter-spacing: .1em;
  text-transform: uppercase; color: var(--accent); font-weight: 700;
}
.cmp-legend { font-size: .78rem; color: var(--text-3); margin-top: .9rem; line-height: 1.55; }
.cmp-radar-box { margin-top: 2rem; padding: 1.4rem; background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--radius); }
.cmp-radar-box h3 { margin-bottom: .3rem; font-size: 1.05rem; }
.cmp-radar-wrap { display: flex; flex-wrap: wrap; gap: 1.4rem; align-items: center; justify-content: center; }
.cmp-radar-wrap .radar { max-width: 360px; margin: 0; }
.cmp-keys { list-style: none; padding: 0; margin: 0; display: grid; gap: .45rem; }
.cmp-keys li { display: flex; align-items: center; gap: .55rem; font-size: .85rem; color: var(--text-2); }
.cmp-key-dot { width: 12px; height: 12px; border-radius: 3px; flex: none; }

/* =============================================================
   6. Secciones
   ============================================================= */
.hero { padding: clamp(2.8rem, 7vw, 5.2rem) 0 clamp(2.2rem, 5vw, 3.6rem); position: relative; }
.hero::before {
  content: ""; position: absolute; inset: -40% -10% 20% -10%; pointer-events: none;
  background: radial-gradient(42% 38% at 50% 42%, rgba(232,180,100,.11), transparent 72%);
  filter: blur(76px);
}
.hero > .wrap { position: relative; }
.hero h1 { margin-bottom: .85rem; max-width: 19ch; }
.hero .lede { margin-bottom: 1.9rem; }
.hero-actions { display: flex; gap: .7rem; flex-wrap: wrap; margin-bottom: 2.6rem; }
.hero-stats { display: flex; gap: 2.2rem; list-style: none; padding: 0; margin: 0; flex-wrap: wrap; }
.hero-stats li { display: flex; flex-direction: column; gap: .1rem; }
.hero-stats strong { font-family: var(--serif); font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 700; color: var(--accent); }
.hero-stats span { font-size: .8rem; color: var(--text-3); }

.section { padding: clamp(2.4rem, 5.5vw, 4.2rem) 0; }
.section-alt { background: var(--bg-2); border-block: 1px solid var(--line-soft); }

.page-head { padding: clamp(2rem, 4.5vw, 3.4rem) 0 clamp(1.2rem, 2.5vw, 1.8rem); border-bottom: 1px solid var(--line-soft); }
.page-head h1 { margin-bottom: .8rem; }
.crumbs { display: flex; gap: .45rem; flex-wrap: wrap; font-size: .8rem; color: var(--text-3); margin-bottom: 1rem; }
.crumbs a { color: var(--text-2); }
.crumbs a:hover { color: var(--accent); }

.ficha-head { border-bottom: 0; }
.ficha-top { display: grid; gap: 1.6rem; grid-template-columns: 1fr; }
.ficha-media { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--bg-3); border: 1px solid var(--line-soft); }
.ficha-img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.ficha-media .flag {
  position: absolute; top: .8rem; left: .8rem; padding: .3rem .7rem; border-radius: 6px;
  background: var(--accent); color: var(--accent-ink); font-size: .74rem; font-weight: 700;
}
.ficha-intro h1 { margin-bottom: .6rem; }
.ficha-rating { display: flex; align-items: center; gap: .55rem; flex-wrap: wrap; font-size: .86rem; color: var(--text-3); margin-bottom: .9rem; }
.ficha-intro .lede { margin-bottom: 1.2rem; }
.ficha-actions { display: flex; gap: .7rem; flex-wrap: wrap; margin-top: 1.2rem; }
.ficha-grid { display: grid; gap: 2rem; grid-template-columns: 1fr; align-items: start; }
.ficha-main h2 { margin: 2.4rem 0 .9rem; }
.ficha-main h2:first-child { margin-top: 0; }
.ficha-main p { color: var(--text-2); margin-bottom: 1.05rem; line-height: 1.68; }

.empty { color: var(--text-3); font-size: .95rem; padding: 1.5rem 0; }

.site-footer { background: var(--bg-2); border-top: 1px solid var(--line-soft); padding: clamp(2.2rem, 4.5vw, 3.4rem) 0 1.8rem; margin-top: 2rem; }
.footer-grid { display: grid; gap: 1.8rem; grid-template-columns: 1fr; }
.footer-col h2 { font-size: .78rem; letter-spacing: .11em; text-transform: uppercase; color: var(--text-3); font-family: var(--sans); font-weight: 700; margin-bottom: .75rem; }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .42rem; }
.footer-col a { font-size: .88rem; color: var(--text-2); }
.footer-col a:hover { color: var(--accent); }
.footer-logo { font-family: var(--serif); font-size: 1.28rem; font-weight: 700; margin-bottom: .45rem; }
.footer-desc { font-size: .86rem; color: var(--text-3); line-height: 1.6; max-width: 34ch; }
.footer-legal { margin-top: 2.2rem; padding-top: 1.5rem; border-top: 1px solid var(--line-soft); }
.footer-legal p { font-size: .755rem; color: var(--text-3); line-height: 1.6; margin-bottom: .6rem; }
.footer-legal strong { color: var(--text-2); }

/* =============================================================
   7. Efectos
   ============================================================= */
[data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease-out), transform .7s var(--ease-out); }
[data-reveal].is-revealed { opacity: 1; transform: none; }
.is-ready [data-reveal] { will-change: opacity, transform; }

/* =============================================================
   8. Responsive
   ============================================================= */
@media (max-width: 719px) {
  .nav-toggle { display: grid; place-items: center; }
  .nav {
    position: absolute; left: 0; right: 0; top: 100%;
    background: var(--bg-2); border-bottom: 1px solid var(--line);
    max-height: 0; overflow: hidden; transition: max-height .35s var(--ease-out);
  }
  .nav.is-open { max-height: 340px; }
  .nav-links { flex-direction: column; gap: 0; padding: .6rem var(--gutter) 1rem; }
  .nav-links a { padding: .68rem .55rem; }
}
@media (min-width: 540px) {
  .proscons { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 720px) {
  .steps { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1fr; }
  .ficha-top { grid-template-columns: minmax(0, 380px) 1fr; gap: 2.2rem; align-items: start; }
}
@media (min-width: 960px) {
  .ficha-grid { grid-template-columns: minmax(0, 1fr) 330px; gap: 2.8rem; }
  .cmp-layout { grid-template-columns: 300px minmax(0, 1fr); }
  .cmp-picker { position: sticky; top: 90px; max-height: calc(100vh - 120px); overflow-y: auto; }
}

/* =============================================================
   9. Reduced-motion — solo lo intrusivo
   ============================================================= */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  [data-reveal] { opacity: 1; transform: none; transition: none; }
}
