/* =============================================================
   PescaTop — styles.css
   1. Tokens · 2. Reset · 3. Utilities · 4. Typography · 5. Components
   6. Layout/Sections · 7. Ficha · 8. Comparador · 9. Effects · 10. Responsive
   ============================================================= */

/* ---------- 1. Tokens ---------- */
:root {
  --bg: #0a1a24;
  --bg-2: #0e2531;
  --surface: #102c3a;
  --surface-2: #16394b;
  --border: rgba(255, 255, 255, .10);
  --border-strong: rgba(255, 255, 255, .18);
  --text: #eef5f7;
  --text-dim: #9db4bd;
  --brand: #3fd0c9;
  --brand-2: #63e0d0;
  --brand-ink: #04231f;
  --cta: #f4a259;
  --cta-hover: #f7b579;
  --cta-ink: #2b1400;
  --good: #5fd08c;
  --bad: #ec8a72;
  --shadow: 0 18px 40px -22px rgba(0, 0, 0, .7);
  --radius: 16px;
  --radius-sm: 10px;
  --wrap: 1180px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --display: "Sora", var(--sans);
  color-scheme: dark;
}

:root[data-theme="light"] {
  --bg: #eef3f5;
  --bg-2: #ffffff;
  --surface: #ffffff;
  --surface-2: #e9f0f2;
  --border: rgba(12, 34, 46, .12);
  --border-strong: rgba(12, 34, 46, .22);
  --text: #0e2733;
  --text-dim: #4d626c;
  --brand: #0f8a80;
  --brand-2: #0c766d;
  --brand-ink: #ffffff;
  --cta: #dd7734;
  --cta-hover: #c9682a;
  --cta-ink: #ffffff;
  --good: #1f8f57;
  --bad: #c1543a;
  --shadow: 0 18px 40px -26px rgba(15, 40, 55, .35);
  color-scheme: light;
}

/* Marine dark is the default identity. Light is opt-in via the header toggle. */

/* ---------- 2. Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; border: 0; background: none; }
a { color: inherit; text-decoration: none; }
p { text-wrap: pretty; }
h1, h2, h3, h4 { font-family: var(--display); text-wrap: balance; line-height: 1.15; letter-spacing: -.015em; }
::selection { background: var(--brand); color: var(--brand-ink); }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 5px; }

/* ---------- 3. Utilities ---------- */
.wrap { width: min(100% - 2.4rem, var(--wrap)); margin-inline: auto; }
.section { padding-block: clamp(2.6rem, 6vw, 4.6rem); }
.muted { color: var(--text-dim); font-size: .92rem; }
.skip-link {
  position: fixed; top: -100px; left: 1rem; z-index: 999;
  padding: .6rem 1rem; background: var(--brand); color: var(--brand-ink);
  border-radius: 8px; font-weight: 600;
}
.skip-link:focus { top: 1rem; }

/* ---------- 4. Typography ---------- */
h1 { font-size: clamp(1.9rem, 4.4vw, 3rem); }
h2 { font-size: clamp(1.45rem, 3vw, 2rem); margin-bottom: 1rem; }
h3 { font-size: 1.12rem; }
.eyebrow {
  text-transform: uppercase; letter-spacing: .14em; font-size: .76rem;
  font-weight: 600; color: var(--brand); margin-bottom: .8rem;
}
.lead { font-size: clamp(1rem, 1.6vw, 1.18rem); color: var(--text-dim); max-width: 62ch; }

/* ---------- 5. Components ---------- */
.btn {
  --_bg: var(--surface-2); --_fg: var(--text);
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .72rem 1.15rem; border-radius: 999px; font-weight: 600; font-size: .95rem;
  background: var(--_bg); color: var(--_fg); border: 1px solid var(--border-strong);
  transition: transform .2s var(--ease), background .2s var(--ease), border-color .2s var(--ease);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { --_bg: var(--brand); --_fg: var(--brand-ink); border-color: transparent; }
.btn-primary:hover { background: var(--brand-2); }
.btn-ghost { --_bg: transparent; border-color: var(--border-strong); }
.btn-ghost:hover { background: var(--surface); }
.btn-buy { --_bg: var(--cta); --_fg: var(--cta-ink); border-color: transparent; }
.btn-buy:hover { background: var(--cta-hover); }
.btn-buy-lg { padding: .95rem 1.6rem; font-size: 1.02rem; width: 100%; }
.btn-buy.is-pending { opacity: .92; }
.buy-wrap { display: flex; flex-direction: column; gap: .3rem; align-items: flex-start; }
.btn-buy-lg.is-pending + .buy-note, .buy-wrap .buy-note { color: var(--text-dim); font-size: .78rem; }
.buy-note::before { content: "🔒 "; }
.link-more, .link-btn {
  color: var(--brand); font-weight: 600; font-size: .92rem;
  text-decoration: underline; text-underline-offset: 3px;
}
.link-btn { background: none; }
.cta-line { margin-top: 1.8rem; display: flex; gap: .8rem; flex-wrap: wrap; }

.stars { color: var(--cta); letter-spacing: .04em; font-size: .95rem; }
.stars-sm { font-size: .82rem; }
.rev-val { font-weight: 700; font-family: var(--display); margin-left: .35rem; font-size: .85rem; }
.rev-count { color: var(--text-dim); font-weight: 400; }
.card-rating { min-height: 1rem; margin-top: -.2rem; }
.card-price { font-family: var(--display); font-weight: 700; font-size: 1.05rem; }
.card-price .price-was { text-decoration: line-through; color: var(--text-dim); font-size: .85rem; font-weight: 500; margin-left: .35rem; }
.ficha-rating { margin: .1rem 0 .5rem; }
.ficha-thumbs { list-style: none; display: flex; gap: .5rem; margin-top: .7rem; flex-wrap: wrap; }
.ficha-thumbs button { border: 1px solid var(--border); border-radius: 8px; overflow: hidden; padding: 0; width: 64px; height: 64px; }
.ficha-thumbs button[aria-current="true"] { border-color: var(--brand); }
.ficha-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.rev-list { list-style: none; display: flex; flex-direction: column; gap: 1rem; margin: 1rem 0; }
.rev { border: 1px solid var(--border); border-radius: var(--radius-sm); padding: .9rem 1.1rem; background: var(--surface); }
.rev-head { font-size: .8rem; color: var(--text-dim); margin-bottom: .3rem; }
.rev-author { font-weight: 600; color: var(--text); }
.rev-verified { color: var(--good); }
.rev-title { font-weight: 600; margin-bottom: .2rem; }
.rev p { font-size: .92rem; }

.chips { display: flex; flex-wrap: wrap; gap: .4rem; margin: .2rem 0; }
.chip {
  font-size: .76rem; font-weight: 600; padding: .28rem .6rem; border-radius: 7px;
  background: var(--surface-2); color: var(--text-dim); border: 1px solid var(--border);
}

/* ---------- 6. Layout / Sections ---------- */
.site-head {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
@supports not (backdrop-filter: blur(10px)) { .site-head { background: var(--bg); } }
.head-inner { display: flex; align-items: center; gap: 1rem; padding-block: .75rem; }
.brand {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--display); font-weight: 700; font-size: 1.15rem; letter-spacing: -.02em;
}
.brand-mark {
  width: 22px; height: 22px; border-radius: 6px; flex: none;
  background: linear-gradient(135deg, var(--brand), var(--cta));
}
.nav-links { display: flex; gap: .35rem; margin-left: auto; flex-wrap: wrap; }
.nav-links a {
  padding: .5rem .7rem; border-radius: 9px; font-size: .92rem; font-weight: 500;
  color: var(--text-dim); transition: color .15s, background .15s;
}
.nav-links a:hover { color: var(--text); background: var(--surface); }
.nav-links a[aria-current="page"] { color: var(--brand); background: var(--surface); }
.theme-toggle {
  width: 38px; height: 38px; border-radius: 10px; flex: none;
  border: 1px solid var(--border-strong); color: var(--text-dim); font-size: 1.05rem;
}
.theme-toggle:hover { color: var(--text); }
.nav-toggle { display: none; width: 40px; height: 40px; flex-direction: column; gap: 5px; align-items: center; justify-content: center; margin-left: auto; }
.nav-toggle span { width: 20px; height: 2px; background: var(--text); border-radius: 2px; transition: .2s var(--ease); }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.page-hero { position: relative; isolation: isolate; background: var(--bg); border-bottom: 1px solid var(--border); }
.page-hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; opacity: .85; }
.page-hero::after { content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(95deg, var(--bg) 8%, color-mix(in srgb, var(--bg) 74%, transparent) 55%, color-mix(in srgb, var(--bg) 30%, transparent) 100%),
              linear-gradient(to top, var(--bg) 2%, transparent 45%); }
.page-hero__inner { position: relative; padding-block: clamp(2.6rem, 6vw, 4rem); }
.page-hero__inner h1 { max-width: 20ch; margin-bottom: .8rem; }
.page-hero__inner .lead { max-width: 54ch; }
.page-hero-home .page-hero__inner { padding-block: clamp(3.5rem, 9vw, 6rem); }
.page-hero-sm .page-hero__inner { padding-block: clamp(2rem, 5vw, 3rem); }
:root[data-theme="light"] .page-hero__img { opacity: .28; }
:root[data-theme="light"] .page-hero::after {
  background: linear-gradient(95deg, var(--bg) 20%, color-mix(in srgb, var(--bg) 82%, transparent) 70%, color-mix(in srgb, var(--bg) 60%, transparent) 100%),
              linear-gradient(to top, var(--bg) 4%, color-mix(in srgb, var(--bg) 40%, transparent) 60%);
}

.hero-cta { display: flex; gap: .8rem; flex-wrap: wrap; margin-top: 1.8rem; }

.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin-bottom: 1.4rem; }
.section-head h2 { margin: 0; }

.cat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1rem; }
.cat-card {
  display: flex; flex-direction: column; gap: .3rem;
  padding: 1.4rem; border-radius: var(--radius); background: var(--surface);
  border: 1px solid var(--border); transition: transform .25s var(--ease), border-color .25s;
}
.cat-card:hover { transform: translateY(-4px); border-color: var(--brand); }
.cat-ico { width: 34px; height: 34px; border-radius: 9px; background: linear-gradient(135deg, var(--brand), transparent); margin-bottom: .4rem; }
.cat-name { font-family: var(--display); font-weight: 700; font-size: 1.15rem; }
.cat-count { color: var(--text-dim); font-size: .85rem; }

.grid.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.3rem; }
.card {
  display: flex; flex-direction: column; background: var(--surface);
  border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden;
  transition: transform .25s var(--ease), border-color .25s, box-shadow .25s;
}
.card:hover { transform: translateY(-4px); border-color: var(--border-strong); box-shadow: var(--shadow); }
.card-media { position: relative; display: block; aspect-ratio: 4 / 3; background: var(--bg-2); }
.card-media img { width: 100%; height: 100%; object-fit: cover; }
.card-tag {
  position: absolute; left: .7rem; top: .7rem;
  font-size: .72rem; font-weight: 600; padding: .25rem .55rem; border-radius: 6px;
  background: color-mix(in srgb, var(--bg) 78%, transparent); color: var(--text); backdrop-filter: blur(4px);
}
.card-body { display: flex; flex-direction: column; gap: .6rem; padding: 1.1rem 1.1rem 1.2rem; flex: 1; }
.card-title { font-size: 1.04rem; line-height: 1.25; }
.card-title a:hover { color: var(--brand); }
.card-claim { color: var(--text-dim); font-size: .9rem; }
.card-level { font-size: .84rem; color: var(--text-dim); }
.card-level strong { color: var(--text); }
.card-actions { margin-top: auto; display: flex; flex-direction: column; gap: .55rem; align-items: flex-start; }
.card-actions .btn-buy { width: 100%; }
.cmp-add { display: inline-flex; align-items: center; gap: .4rem; font-size: .84rem; color: var(--text-dim); cursor: pointer; }

.trust-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1.2rem; }
.trust-grid h3 { margin-bottom: .35rem; color: var(--brand); }
.trust-grid p { font-size: .92rem; color: var(--text-dim); }

.crumbs { padding-block: 1rem .2rem; font-size: .85rem; color: var(--text-dim); }
.crumbs a:hover { color: var(--brand); }
.crumbs span { opacity: .6; }

/* toolbar */
.toolbar { display: flex; flex-wrap: wrap; gap: 1.4rem; align-items: center; margin: 1.4rem 0 1.8rem; padding: .9rem 1rem; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); }
.tb-group { display: flex; align-items: center; gap: .4rem; flex-wrap: wrap; }
.tb-label { font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: var(--text-dim); margin-right: .2rem; }
.tb-btn { padding: .4rem .7rem; border-radius: 999px; font-size: .84rem; font-weight: 500; border: 1px solid var(--border-strong); color: var(--text-dim); }
.tb-btn:hover { color: var(--text); }
.tb-btn.is-on { background: var(--brand); color: var(--brand-ink); border-color: transparent; }
select[data-sort] { padding: .45rem .7rem; border-radius: 9px; background: var(--bg-2); border: 1px solid var(--border-strong); }
.empty-msg { padding: 2rem; text-align: center; color: var(--text-dim); }

/* ---------- 7. Ficha ---------- */
.ficha { padding-block: 1rem clamp(3rem, 6vw, 4.5rem); }
.ficha-top { display: grid; gap: 1.8rem; grid-template-columns: minmax(0, 1fr); }
.ficha-gallery { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); background: var(--bg-2); }
.ficha-gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.ficha-head h1 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); margin: .3rem 0 .5rem; }
.ficha-brand { font-size: .82rem; text-transform: uppercase; letter-spacing: .1em; color: var(--brand); }
.ficha-claim { color: var(--text-dim); margin-bottom: .8rem; }
.price { font-size: 1.3rem; font-weight: 700; font-family: var(--display); margin-top: 1rem; }
.price-now { color: var(--text); }
.price-was { text-decoration: line-through; color: var(--text-dim); font-size: 1rem; font-weight: 500; margin-left: .4rem; }
.price-none { font-size: 1rem; font-weight: 600; color: var(--text-dim); font-family: var(--sans); }
.price-note { font-size: .78rem; color: var(--text-dim); margin-top: .2rem; }
.ficha-cta { display: flex; flex-direction: column; gap: .6rem; margin-top: 1.1rem; max-width: 420px; }
.ficha-cta .btn-ghost { width: 100%; }
.ficha-note { font-size: .8rem; color: var(--text-dim); margin-top: .9rem; border-left: 2px solid var(--border-strong); padding-left: .7rem; }
.ficha-sec { margin-top: clamp(2rem, 4vw, 3rem); }
.ficha-sec > h2 { border-bottom: 1px solid var(--border); padding-bottom: .5rem; }

.radar-wrap { display: grid; gap: 1.4rem; grid-template-columns: minmax(0, 1fr); align-items: center; margin: 1.2rem 0 .6rem; }
.radar { display: none; }
.radar.is-ready { display: block; }
.radar svg { width: 100%; max-width: 320px; height: auto; margin-inline: auto; }
.score-bars { list-style: none; display: flex; flex-direction: column; gap: .55rem; }
.score-bars li { display: grid; grid-template-columns: 9.5rem 1fr 2rem; align-items: center; gap: .6rem; font-size: .86rem; }
.sb-label { color: var(--text-dim); }
.sb-track { height: 8px; border-radius: 999px; background: var(--surface-2); overflow: hidden; }
.sb-fill { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--brand), var(--brand-2)); }
.sb-val { font-weight: 700; font-family: var(--display); text-align: right; }

.spec-table { width: 100%; border-collapse: collapse; margin-top: 1rem; font-size: .92rem; }
.spec-table th[scope="row"] { text-align: left; color: var(--text-dim); font-weight: 500; width: 45%; padding: .55rem .8rem .55rem 0; vertical-align: top; }
.spec-table td { padding: .55rem 0; border-bottom: 1px solid var(--border); }
.spec-table th[scope="row"] { border-bottom: 1px solid var(--border); }
.spec-group th { padding: 1rem 0 .4rem; font-family: var(--display); font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; color: var(--brand); border: 0; }

.ficha-editorial p { margin-bottom: 1rem; max-width: 70ch; }
.pros-cons { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); margin: 1.4rem 0; }
.pc { padding: 1.1rem 1.2rem; border-radius: var(--radius-sm); border: 1px solid var(--border); background: var(--surface); }
.pc h3 { margin-bottom: .5rem; }
.pc ul { padding-left: 1.1rem; display: flex; flex-direction: column; gap: .35rem; font-size: .9rem; }
.pc-pro { border-top: 3px solid var(--good); }
.pc-con { border-top: 3px solid var(--bad); }
.ideal-para { padding: .9rem 1.1rem; background: var(--surface-2); border-radius: var(--radius-sm); font-size: .95rem; }

.sim-strip { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 1rem; margin-top: 1rem; }
.sim-card { display: flex; flex-direction: column; gap: .5rem; padding: .8rem; border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--surface); font-size: .86rem; transition: border-color .2s; }
.sim-card:hover { border-color: var(--brand); }
.sim-card img { border-radius: 8px; aspect-ratio: 4/3; object-fit: cover; }
.ficha-cta-end { margin-top: 2rem; }
.disclosure { margin-top: 2rem; font-size: .8rem; color: var(--text-dim); border-top: 1px solid var(--border); padding-top: 1rem; }

/* ---------- 8. Comparador ---------- */
.cmp-controls { display: flex; flex-wrap: wrap; gap: 1.4rem; padding: 1rem; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); margin: 1.4rem 0; }
.cmp-layout { display: grid; gap: 1.6rem; grid-template-columns: minmax(0, 1fr); }
.cmp-picker { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.1rem; }
.cmp-picker h2 { font-size: 1rem; margin-bottom: .8rem; }
.pick { display: flex; align-items: center; gap: .55rem; padding: .5rem .3rem; border-bottom: 1px solid var(--border); font-size: .9rem; cursor: pointer; }
.pick:last-of-type { border-bottom: 0; }
.pick small { margin-left: auto; color: var(--text-dim); font-size: .76rem; text-transform: capitalize; }
.pick input:disabled + span { opacity: .4; }
.cmp-picker [data-cmp-clear] { margin-top: .8rem; }
.cmp-result { min-height: 200px; }
.cmp-placeholder { display: grid; place-items: center; min-height: 200px; padding: 2rem; text-align: center; color: var(--text-dim); border: 1px dashed var(--border-strong); border-radius: var(--radius); }
.cmp-radar { max-width: 420px; margin: 0 auto 1.4rem; }
.cmp-radar svg { width: 100%; height: auto; }
.cmp-legend { display: flex; flex-wrap: wrap; gap: .8rem; justify-content: center; margin-bottom: 1.2rem; font-size: .84rem; }
.cmp-legend span { display: inline-flex; align-items: center; gap: .4rem; }
.cmp-legend i { width: 12px; height: 12px; border-radius: 3px; }
.table-scroll { overflow-x: auto; }
.cmp-table th, .cmp-table td { padding: .6rem .8rem; border-bottom: 1px solid var(--border); text-align: left; font-size: .88rem; vertical-align: top; min-width: 130px; max-width: 300px; }
.cmp-table th[scope="row"] { white-space: nowrap; min-width: 0; color: var(--text-dim); font-weight: 500; }
.cmp-table thead th { color: var(--brand); font-family: var(--display); font-size: .82rem; position: sticky; top: 0; background: var(--bg); }
.cmp-table td.is-best { color: var(--good); font-weight: 700; }
.cmp-table td.is-best::after { content: " ★"; }
.cmp-col-buy { padding-top: .8rem; }
.cmp-static { margin-top: 2rem; border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 1rem 1.2rem; }
.cmp-static summary { cursor: pointer; font-weight: 600; font-family: var(--display); }
.cmp-static[open] summary { margin-bottom: 1rem; }

/* ---------- prose ---------- */
.prose { max-width: 74ch; }
.prose h2 { margin-top: 2.2rem; }
.prose p, .prose ul { margin-bottom: 1rem; }
.prose ul { padding-left: 1.3rem; display: flex; flex-direction: column; gap: .4rem; }
.prose a { color: var(--brand); text-decoration: underline; text-underline-offset: 3px; }
.faq { border: 1px solid var(--border); border-radius: var(--radius-sm); padding: .9rem 1.1rem; margin-bottom: .7rem; background: var(--surface); }
.faq summary { cursor: pointer; font-weight: 600; }
.faq[open] summary { margin-bottom: .6rem; }

/* ---------- guías / artículos ---------- */
.guide-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1.2rem; }
.guide-card { padding: 1.3rem 1.4rem; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); display: flex; flex-direction: column; gap: .5rem; transition: border-color .2s, transform .2s var(--ease); }
.guide-card:hover { border-color: var(--brand); transform: translateY(-3px); }
.guide-card h2, .guide-card h3 { font-size: 1.08rem; line-height: 1.3; margin: 0; }
.guide-card h2 a:hover, .guide-card h3 a:hover { color: var(--brand); }
.guide-card p { font-size: .9rem; color: var(--text-dim); }
.gc-cat { font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; color: var(--brand); font-weight: 600; }
.guide-card-feat { margin-bottom: 1.4rem; border-left: 3px solid var(--brand); }
.guide-card-feat h2 { font-size: 1.3rem; }

.article .art-kicker { font-size: .74rem; text-transform: uppercase; letter-spacing: .12em; color: var(--brand); font-weight: 600; }
.article .art-meta { font-size: .82rem; color: var(--text-dim); margin: -.4rem 0 1.2rem; }
.article h2 { margin-top: 2.4rem; }
.article h3 { margin-top: 1.6rem; }

.art-prod { display: grid; grid-template-columns: 150px 1fr; gap: 1.1rem; margin: 1.3rem 0; padding: 1rem; border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--surface); }
.art-prod .ap-media { display: block; border-radius: 8px; overflow: hidden; background: var(--bg-2); align-self: start; }
.art-prod .ap-media img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.ap-body { display: flex; flex-direction: column; gap: .35rem; min-width: 0; }
.ap-body h3 { margin: 0; font-size: 1.05rem; }
.ap-body h3 a:hover { color: var(--brand); }
.ap-tag { font-size: .74rem; text-transform: uppercase; letter-spacing: .08em; color: var(--text-dim); }
.ap-why { font-size: .92rem; color: var(--text); }
.ap-foot { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem .9rem; margin-top: .3rem; }
.ap-price { font-family: var(--display); font-weight: 700; }
.ap-foot .btn-buy { padding: .5rem .9rem; font-size: .85rem; }
.ap-foot .buy-wrap { flex-direction: row; align-items: center; gap: .5rem; }
.ap-ficha { font-size: .84rem; color: var(--brand); text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 560px) {
  .art-prod { grid-template-columns: 1fr; }
  .art-prod .ap-media { max-width: 220px; }
}

/* ---------- footer ---------- */
.site-foot { margin-top: 3rem; border-top: 1px solid var(--border); background: var(--bg-2); padding-block: 2.6rem 1.8rem; }
.foot-grid { display: grid; gap: 1.6rem; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
.foot-grid h4 { font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; color: var(--text-dim); margin-bottom: .7rem; }
.foot-grid a { display: block; padding: .2rem 0; font-size: .9rem; color: var(--text-dim); }
.foot-grid a:hover { color: var(--brand); }
.foot-grid p { font-size: .88rem; color: var(--text-dim); margin-top: .4rem; }
.foot-legal { margin-top: 2rem; padding-top: 1.4rem; border-top: 1px solid var(--border); }
.foot-legal .disclosure { border: 0; padding: 0; margin: 0 0 .6rem; }

/* ---------- 9. Effects ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

.toast {
  position: fixed; left: 50%; bottom: 1.4rem; transform: translateX(-50%) translateY(140%);
  background: var(--text); color: var(--bg); padding: .7rem 1.1rem; border-radius: 999px;
  font-size: .88rem; font-weight: 600; z-index: 200; transition: transform .3s var(--ease);
  box-shadow: var(--shadow);
}
.toast.is-show { transform: translateX(-50%) translateY(0); }

/* ---------- 10. Responsive ---------- */
@media (min-width: 720px) {
  .ficha-top { grid-template-columns: 1fr 1.15fr; align-items: start; }
  .radar-wrap { grid-template-columns: 320px 1fr; }
}
@media (min-width: 960px) {
  .cmp-layout { grid-template-columns: 300px 1fr; align-items: start; }
  .cmp-picker { position: sticky; top: 84px; }
}
@media (max-width: 899px) {
  .nav-toggle { display: flex; }
  .theme-toggle { order: 3; }
  .nav-links {
    display: none;
    position: absolute; left: 0; right: 0; top: 100%; width: 100%;
    margin-left: 0;
    flex-direction: column; flex-wrap: nowrap; align-items: stretch; gap: 0;
    padding: .4rem 1.2rem 1rem; background: var(--bg);
    border-bottom: 1px solid var(--border); box-shadow: var(--shadow);
    max-height: 80vh; overflow-y: auto;
  }
  .nav-links.is-open { display: flex; }
  .nav-links a { padding: .9rem .3rem; border-bottom: 1px solid var(--border); width: 100%; }
  .nav-links a:last-child { border-bottom: 0; }
  .head-inner { position: relative; flex-wrap: nowrap; }
}
@media (max-width: 520px) {
  .score-bars li { grid-template-columns: 7rem 1fr 1.7rem; font-size: .8rem; }
  .cta-line { flex-direction: column; align-items: stretch; }
  .cta-line .btn { width: 100%; }
}
