/* ============================================================
   Mejor Banco Online — sistema visual v2 (fintech claro)
   Manrope (display) + Inter (texto) · tinta grafito · lima + azul
   ============================================================ */

/* ---------- tipografía autoalojada ---------- */
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 500 800;
  font-display: swap;
  src: url("../fonts/manrope-latin.woff2") format("woff2");
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/inter-latin.woff2") format("woff2");
}

/* ---------- tokens ---------- */
:root {
  --ink: #0a0c10;
  --ink-2: #2c333c;
  --ink-3: #4b5461;
  --muted: #68727f;
  --faint: #6f7885;
  --line: #e7eaf0;
  --line-2: #d6dbe4;

  --bg: #ffffff;
  --bg-2: #f6f7fa;
  --bg-3: #eef0f5;
  --surface: #ffffff;

  --accent: #2b59ff;
  --accent-2: #1f47d6;
  --accent-soft: #ebefff;
  --lime: #d8ff5e;
  --lime-2: #c4f13f;
  --lime-soft: #f4ffd4;
  --lime-ink: #1c2a00;

  --good: #0b9e6e;
  --good-soft: #e6f7f0;
  --bad: #e5484d;
  --bad-soft: #fdeeee;
  --gold: #b7862b;
  --dark: #0a0c10;

  --font-display: "Manrope", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI",
    Roboto, sans-serif;
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;

  --r-sm: 10px;
  --r-md: 14px;
  --r-lg: 20px;
  --r-xl: 28px;
  --r-pill: 999px;

  --shadow-xs: 0 1px 2px rgba(10, 12, 16, 0.05);
  --shadow-sm: 0 1px 2px rgba(10, 12, 16, 0.04), 0 6px 16px -10px rgba(10, 12, 16, 0.16);
  --shadow-md: 0 2px 4px rgba(10, 12, 16, 0.04), 0 18px 38px -22px rgba(10, 12, 16, 0.28);
  --shadow-lg: 0 4px 10px rgba(10, 12, 16, 0.04), 0 40px 80px -40px rgba(10, 12, 16, 0.4);

  --max: 1200px;
  --header-h: 72px;
  --gutter: clamp(18px, 4vw, 32px);
}

/* ---------- reset ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-feature-settings: "cv02", "cv03", "cv04", "cv11";
}

img,
svg {
  display: block;
  max-width: 100%;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 750;
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: var(--ink);
  text-wrap: balance;
}

p {
  margin: 0;
}

ul,
ol {
  margin: 0;
  padding: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
}

::selection {
  background: var(--lime);
  color: var(--lime-ink);
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 6px;
}

/* ---------- utilidades ---------- */
[hidden] {
  display: none !important;
}

.wrap {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.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: absolute;
  top: -64px;
  left: 16px;
  z-index: 120;
  padding: 10px 18px;
  border-radius: 0 0 12px 12px;
  background: var(--ink);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  transition: top 0.16s ease;
}

.skip-link:focus {
  top: 0;
}

.icon {
  flex: none;
}

.h3 {
  font-size: 1.25rem;
  font-family: var(--font-display);
  font-weight: 750;
  letter-spacing: -0.02em;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--muted);
}

.eyebrow::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--lime-2);
  box-shadow: 0 0 0 3px var(--lime-soft);
}

.section {
  padding-block: clamp(56px, 7vw, 92px);
}

.section--tight {
  padding-block: clamp(32px, 4vw, 52px);
}

.section--paper {
  background: var(--bg-2);
  border-block: 1px solid var(--line);
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 30px;
}

.section-head__title {
  font-size: clamp(1.6rem, 1.1rem + 1.8vw, 2.35rem);
  margin-top: 12px;
  letter-spacing: -0.03em;
}

.section-head__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: none;
  padding: 10px 16px;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  background: var(--surface);
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-2);
  white-space: nowrap;
  box-shadow: var(--shadow-xs);
  transition: border-color 0.16s ease, color 0.16s ease, transform 0.16s ease;
}

.section-head__link:hover {
  border-color: var(--ink);
  color: var(--ink);
  transform: translateY(-1px);
}

.section-head__link .icon {
  transition: transform 0.18s ease;
}

.section-head__link:hover .icon {
  transform: translateX(3px);
}

.section-note {
  margin-top: 16px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--muted);
}

.section-note a {
  color: var(--accent);
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.page--muted {
  background: var(--bg-2);
}

/* ---------- botones ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px 22px;
  border: 1px solid transparent;
  border-radius: var(--r-md);
  font-family: var(--font-sans);
  font-size: 14.5px;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.01em;
  cursor: pointer;
  transition:
    transform 0.16s ease,
    background 0.16s ease,
    border-color 0.16s ease,
    color 0.16s ease,
    box-shadow 0.16s ease;
}

.btn--brand {
  background: var(--ink);
  color: #fff;
  box-shadow: 0 10px 24px -16px rgba(10, 12, 16, 0.8);
}

.btn--brand:hover {
  background: #1b2029;
  transform: translateY(-1px);
  box-shadow: 0 16px 30px -16px rgba(10, 12, 16, 0.65);
}

.btn--light {
  background: var(--lime);
  color: var(--lime-ink);
}

.btn--light:hover {
  background: var(--lime-2);
  transform: translateY(-1px);
}

.btn--ghost {
  background: var(--surface);
  border-color: var(--line-2);
  color: var(--ink);
}

.btn--ghost:hover {
  border-color: var(--ink);
}

.btn--sm {
  padding: 9px 14px;
  font-size: 13px;
  border-radius: 11px;
}

.btn--lg {
  padding: 16px 26px;
  font-size: 15.5px;
  border-radius: 15px;
}

.btn--block {
  width: 100%;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 650;
  color: var(--ink);
}

.link-arrow .icon {
  transition: transform 0.18s ease;
}

.link-arrow:hover {
  color: var(--accent);
}

.link-arrow:hover .icon {
  transform: translateX(3px);
}

/* ---------- cabecera ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: saturate(160%) blur(16px);
  -webkit-backdrop-filter: saturate(160%) blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.site-header.is-stuck {
  border-bottom-color: var(--line);
  box-shadow: 0 8px 30px -24px rgba(10, 12, 16, 0.4);
}

.site-header__inner {
  display: flex;
  align-items: center;
  gap: 22px;
  height: var(--header-h);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: none;
}

.logo__mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--lime);
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 800;
  line-height: 1;
  padding-bottom: 2px;
  box-shadow: inset 0 0 0 1px rgba(10, 12, 16, 0.08);
}

.logo__word {
  display: flex;
  align-items: baseline;
  gap: 5px;
  line-height: 1;
}

.logo__line1 {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.035em;
  color: var(--ink);
}

.logo__line2 {
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--faint);
}

.site-nav {
  margin-inline: auto;
}

.site-nav ul {
  display: flex;
  align-items: center;
  gap: 2px;
  list-style: none;
}

.site-nav a {
  display: inline-block;
  padding: 8px 13px;
  border-radius: var(--r-pill);
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-3);
  transition: background 0.15s ease, color 0.15s ease;
}

.site-nav a:hover {
  background: var(--bg-3);
  color: var(--ink);
}

.site-nav a[aria-current="page"] {
  background: var(--ink);
  color: #fff;
  font-weight: 600;
}

.site-header__actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: none;
}

.header-search {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 12px;
  border-radius: var(--r-pill);
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink-3);
  transition: background 0.15s ease, color 0.15s ease;
}

.header-search:hover {
  background: var(--bg-3);
  color: var(--ink);
}

.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  cursor: pointer;
}

.mobile-menu {
  border-top: 1px solid var(--line);
  background: var(--surface);
  padding: 8px 22px 22px;
  box-shadow: var(--shadow-sm);
}

.mobile-menu ul {
  list-style: none;
  margin-bottom: 14px;
}

.mobile-menu li + li {
  border-top: 1px solid var(--line);
}

.mobile-menu a:not(.btn) {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 2px;
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 650;
  letter-spacing: -0.02em;
}

.mobile-menu .btn {
  width: 100%;
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(46px, 6vw, 80px) clamp(40px, 5vw, 72px);
  background: var(--bg);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(52% 68% at 82% -6%, rgba(43, 89, 255, 0.11), transparent 62%),
    radial-gradient(46% 62% at 6% 4%, rgba(216, 255, 94, 0.4), transparent 60%);
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(10, 12, 16, 0.045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(10, 12, 16, 0.045) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(72% 62% at 34% 26%, #000 0%, transparent 78%);
  mask-image: radial-gradient(72% 62% at 34% 26%, #000 0%, transparent 78%);
  pointer-events: none;
}

.hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(0, 0.94fr);
  gap: clamp(32px, 5vw, 68px);
  align-items: center;
}

.hero .eyebrow {
  display: inline-flex;
  padding: 7px 13px 7px 10px;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(8px);
  font-size: 11px;
  letter-spacing: 0.09em;
  color: var(--ink-2);
  box-shadow: var(--shadow-xs);
}

.hero h1 {
  font-size: clamp(2.7rem, 1.5rem + 4vw, 4.35rem);
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: -0.042em;
  margin-block: 20px 22px;
  max-width: 13ch;
}

.hero h1 em {
  font-style: normal;
  display: inline;
  padding: 0 0.06em;
  background-image: linear-gradient(180deg, transparent 58%, var(--lime) 58%, var(--lime) 94%, transparent 94%);
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

.hero__lead {
  max-width: 50ch;
  font-size: 17px;
  line-height: 1.62;
  color: var(--ink-3);
}

.hero__search {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 30px;
  padding: 7px 7px 7px 18px;
  border: 1px solid var(--line-2);
  border-radius: 18px;
  background: var(--surface);
  box-shadow: var(--shadow-md);
  transition: border-color 0.16s ease, box-shadow 0.16s ease;
}

.hero__search:focus-within {
  border-color: var(--ink);
  box-shadow: 0 0 0 4px rgba(216, 255, 94, 0.55), var(--shadow-md);
}

.hero__search .icon {
  color: var(--faint);
}

.hero__search input {
  flex: 1;
  min-width: 0;
  padding: 11px 2px;
  border: 0;
  background: transparent;
  font: inherit;
  font-size: 15.5px;
  color: var(--ink);
}

.hero__search input:focus {
  outline: none;
}

.hero__search input::placeholder {
  color: #8a93a0;
}

.hero__search .btn {
  border-radius: 12px;
  padding: 12px 20px;
}

.hero__chips {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  font-size: 12.5px;
  color: var(--muted);
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  background: var(--surface);
  font-size: 12.5px;
  font-weight: 500;
  color: var(--ink-2);
  transition: border-color 0.15s ease, color 0.15s ease, transform 0.15s ease;
}

.chip:hover {
  border-color: var(--ink);
  color: var(--ink);
  transform: translateY(-1px);
}

.hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-top: 32px;
  list-style: none;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--ink-3);
}

.hero__trust li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.hero__trust .icon {
  width: 18px;
  height: 18px;
  padding: 2.5px;
  border-radius: 999px;
  background: var(--lime);
  color: var(--lime-ink);
}

/* podio */
.podio {
  position: relative;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  background: var(--surface);
  box-shadow: var(--shadow-lg);
}

.podio::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(150deg, rgba(216, 255, 94, 0.9), rgba(43, 89, 255, 0.25) 45%, transparent 70%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.podio__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 2px 4px 14px;
}

.podio__head .eyebrow {
  font-size: 10.5px;
  letter-spacing: 0.12em;
}

.podio__title {
  padding-inline: 4px;
  font-size: 1.2rem;
  font-weight: 750;
  letter-spacing: -0.025em;
  margin-bottom: 8px;
}

.podio__list {
  list-style: none;
}

.podio__row {
  display: grid;
  grid-template-columns: 22px auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 12px 10px;
  border-radius: 14px;
  transition: background 0.16s ease, transform 0.16s ease;
}

.podio__row + .podio__row,
.podio__list li + li .podio__row {
  border-top: 1px solid var(--line);
  border-radius: 0;
}

.podio__row:hover {
  background: var(--bg-2);
}

.podio__rank {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 800;
  color: var(--faint);
  text-align: center;
}

.podio__list li:first-child .podio__rank {
  color: var(--gold);
}

.podio__name {
  display: block;
  font-size: 14.5px;
  font-weight: 700;
  letter-spacing: -0.015em;
}

.podio__note {
  display: block;
  margin-top: 2px;
  font-size: 12px;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.podio__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 6px;
  padding: 14px 4px 2px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  color: var(--muted);
}

.podio__foot .link-arrow {
  font-size: 12.5px;
}

/* ---------- banda de datos ---------- */
.stat-band {
  border-block: 1px solid var(--line);
  background: var(--surface);
}

.stat-band__inner {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  padding-block: 26px;
}

.stat {
  padding-inline: 26px;
}

.stat:first-child {
  padding-left: 0;
}

.stat + .stat {
  border-left: 1px solid var(--line);
}

.stat__value {
  font-family: var(--font-display);
  font-size: 1.85rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--ink);
}

.stat:first-child .stat__value {
  text-decoration: underline;
  text-decoration-color: var(--lime-2);
  text-decoration-thickness: 7px;
  text-underline-offset: -2px;
}

.stat__label {
  margin-top: 8px;
  max-width: 24ch;
  font-size: 12.5px;
  line-height: 1.45;
  color: var(--muted);
}

/* ---------- tarjeta de producto ---------- */
.p-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--surface);
  box-shadow: var(--shadow-xs);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.p-card:hover {
  transform: translateY(-3px);
  border-color: var(--line-2);
  box-shadow: var(--shadow-md);
}

.p-card__top {
  display: flex;
  align-items: center;
  gap: 12px;
}

.p-card__id {
  flex: 1;
  min-width: 0;
}

.p-card__name {
  font-size: 16px;
  font-weight: 750;
  letter-spacing: -0.02em;
}

.p-card__name a:hover {
  color: var(--accent);
}

.p-card__product {
  margin-top: 3px;
  font-size: 12px;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.p-card__summary {
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--ink-3);
}

.p-card__facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
  padding-top: 13px;
  border-top: 1px solid var(--line);
}

.p-card__facts dt {
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--faint);
}

.p-card__facts dd {
  margin: 4px 0 0;
  font-size: 12.5px;
  font-weight: 650;
  color: var(--ink);
  line-height: 1.3;
}

.p-card__foot {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: auto;
  padding-top: 4px;
}

.p-card__foot .badge {
  max-width: 62%;
  overflow: hidden;
  text-overflow: ellipsis;
  display: inline-block;
}

.p-card__foot .link-arrow {
  flex: none;
  white-space: nowrap;
}

/* icono de marca tipo app */
.monogram {
  display: grid;
  place-items: center;
  flex: none;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background:
    radial-gradient(130% 130% at 22% 0%, rgba(255, 255, 255, 0.36), transparent 58%),
    var(--mono-bg, var(--ink));
  color: #fff;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -0.01em;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.14),
    inset 0 -16px 22px -16px rgba(0, 0, 0, 0.45),
    0 8px 18px -12px rgba(10, 12, 16, 0.6);
}

.monogram--md {
  width: 46px;
  height: 46px;
}

.monogram--sm {
  width: 34px;
  height: 34px;
  border-radius: 11px;
  font-size: 12px;
}

.monogram--lg {
  width: 60px;
  height: 60px;
  border-radius: 18px;
  font-size: 19px;
}

.score-pill {
  display: inline-flex;
  align-items: baseline;
  gap: 1px;
  flex: none;
  padding: 6px 10px;
  border-radius: 10px;
  background: var(--ink);
  color: #fff;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  line-height: 1;
  letter-spacing: -0.02em;
}

.score-pill__max {
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.55);
  margin-left: 1px;
}

.score-pill--xs {
  padding: 4px 8px;
  font-size: 12px;
  border-radius: 8px;
}

.score-pill--xs .score-pill__max {
  font-size: 8.5px;
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 8px;
  border-radius: 6px;
  background: var(--bg-3);
  color: var(--ink-2);
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  white-space: nowrap;
}

.badge--brand {
  background: var(--lime);
  color: var(--lime-ink);
}

.badge--accent {
  background: var(--accent-soft);
  color: var(--accent-2);
}

/* ---------- rejillas ---------- */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

/* ---------- tablas ---------- */
.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--surface);
  box-shadow: var(--shadow-xs);
}

.rank-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.rank-table th {
  padding: 12px 18px;
  border-bottom: 1px solid var(--line);
  background: var(--bg-2);
  text-align: left;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--muted);
}

.rank-table td {
  padding: 13px 18px;
  border-bottom: 1px solid var(--line);
  vertical-align: middle;
}

.rank-table tbody tr:last-child td {
  border-bottom: 0;
}

.rank-table tbody tr {
  transition: background 0.14s ease;
}

.rank-table tbody tr:hover {
  background: #fbfcfe;
}

.rank-table__pos span {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 999px;
  background: var(--bg-3);
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 800;
  color: var(--ink-2);
}

.rank-table tbody tr:first-child .rank-table__pos span {
  background: var(--lime);
  color: var(--lime-ink);
}

.rank-table__product {
  display: flex;
  align-items: center;
  gap: 12px;
}

.rank-table__name {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.rank-table__name:hover {
  color: var(--accent);
}

.rank-table__note {
  margin-top: 2px;
  font-size: 12px;
  color: var(--muted);
}

.rank-table__score {
  width: 86px;
}

.rank-table__cta {
  text-align: right;
  white-space: nowrap;
}

.compare-table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  font-size: 13.5px;
}

.compare-table th,
.compare-table td {
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.compare-table thead th {
  background: var(--bg-2);
  border-bottom: 1px solid var(--line);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--muted);
}

.compare-table thead th:first-child {
  width: 190px;
}

.compare-table tbody th {
  position: sticky;
  left: 0;
  z-index: 1;
  background: var(--surface);
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-3);
}

.compare-table tbody tr:hover td,
.compare-table tbody tr:hover th {
  background: #fbfcfe;
}

.compare-head {
  display: flex;
  align-items: center;
  gap: 9px;
  text-transform: none;
  letter-spacing: normal;
  font-size: 13px;
  color: var(--ink);
}

.compare-head span {
  font-weight: 700;
}

.compare-head .score-pill {
  margin-left: 4px;
}

.duel + .prose {
  margin-top: 30px;
}

.facts-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.facts-table th {
  width: 38%;
  padding: 13px 18px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--faint);
}

.facts-table td {
  padding: 13px 18px;
  border-bottom: 1px solid var(--line);
  font-weight: 500;
  color: var(--ink);
}

.facts-table tr:last-child th,
.facts-table tr:last-child td {
  border-bottom: 0;
}

.fees-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.fees-table th {
  width: 36%;
  padding: 13px 18px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  font-weight: 600;
  color: var(--ink-2);
}

.fees-table thead th {
  background: var(--bg-2);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--muted);
}

.fees-table td {
  padding: 13px 18px;
  border-bottom: 1px solid var(--line);
}

.fees-table tbody tr:last-child th,
.fees-table tbody tr:last-child td {
  border-bottom: 0;
}

.fees-table__amount {
  font-weight: 700;
  white-space: nowrap;
  color: var(--ink);
}

.fees-table__note {
  font-size: 13px;
  color: var(--muted);
}

/* ---------- pros y contras ---------- */
.pros-cons {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.pros-cons__col {
  padding: 20px 22px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--surface);
}

.pros-cons__col h3 {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 4px;
  font-size: 15px;
  font-weight: 750;
}

.pros-cons__col h3 .icon {
  width: 26px;
  height: 26px;
  padding: 4px;
  border-radius: 999px;
}

.pros-cons__col--pros h3 .icon {
  background: var(--good-soft);
  color: var(--good);
}

.pros-cons__col--cons h3 .icon {
  background: var(--bad-soft);
  color: var(--bad);
}

.pros-cons__col ul {
  list-style: none;
}

.pros-cons__col li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  padding-block: 10px;
  border-top: 1px solid var(--line);
  font-size: 13.8px;
  line-height: 1.55;
  color: var(--ink-3);
}

.pros-cons__col li:first-child {
  border-top: 0;
}

.pros-cons__col li .icon {
  margin-top: 2px;
}

.pros-cons__col--pros li .icon {
  color: var(--good);
}

.pros-cons__col--cons li .icon {
  color: var(--bad);
}

/* ---------- FAQ ---------- */
.faq {
  max-width: 800px;
}

.faq__item {
  margin-bottom: 10px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--surface);
  transition: border-color 0.16s ease, box-shadow 0.16s ease;
}

.faq__item[open] {
  border-color: var(--line-2);
  box-shadow: var(--shadow-xs);
}

.faq__item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 18px;
  font-size: 14.5px;
  font-weight: 650;
  letter-spacing: -0.01em;
  cursor: pointer;
  list-style: none;
}

.faq__item summary::-webkit-details-marker {
  display: none;
}

.faq__item summary .icon {
  flex: none;
  width: 26px;
  height: 26px;
  padding: 4px;
  border-radius: 999px;
  background: var(--bg-3);
  color: var(--ink-2);
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.faq__item[open] summary .icon {
  transform: rotate(45deg);
  background: var(--lime);
  color: var(--lime-ink);
}

.faq__answer {
  padding: 0 18px 18px;
  max-width: 68ch;
  font-size: 14px;
  line-height: 1.65;
  color: var(--ink-3);
}

/* ---------- migas, meta, avisos ---------- */
.breadcrumbs {
  padding-top: 26px;
}

.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  list-style: none;
  font-size: 12px;
  color: var(--muted);
}

.breadcrumbs li + li::before {
  content: "/";
  margin-right: 8px;
  color: var(--line-2);
}

.breadcrumbs a:hover {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.meta-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 18px;
  font-size: 12px;
  color: var(--muted);
}

.meta-line span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.disclosure {
  display: flex;
  gap: 12px;
  padding: 15px 18px;
  border: 1px solid #e4f19c;
  border-radius: var(--r-md);
  background: linear-gradient(120deg, var(--lime-soft), #fbfef0 70%);
  font-size: 12.8px;
  line-height: 1.55;
  color: #3d4a1e;
}

.disclosure .icon {
  flex: none;
  margin-top: 1px;
  color: var(--lime-ink);
}

/* ---------- CTA ---------- */
.cta {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 28px;
  overflow: hidden;
  padding: 28px 30px;
  border-radius: var(--r-xl);
  background: var(--dark);
  color: #fff;
}

.cta::before {
  content: "";
  position: absolute;
  top: -60%;
  right: -10%;
  width: 380px;
  height: 380px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(216, 255, 94, 0.28), transparent 65%);
  pointer-events: none;
}

.cta__label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 10px;
  padding: 4px 9px;
  border-radius: 6px;
  background: var(--lime);
  color: var(--lime-ink);
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.cta h3 {
  margin-bottom: 7px;
  font-size: 1.5rem;
  font-weight: 750;
  letter-spacing: -0.03em;
  color: #fff;
}

.cta__text p {
  max-width: 52ch;
  font-size: 13.5px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.72);
}

.cta__action {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
}

.cta__action .btn {
  background: #fff;
  color: var(--ink);
  box-shadow: none;
}

.cta__action .btn:hover {
  background: var(--lime);
  color: var(--lime-ink);
}

.cta__note {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.5);
  text-align: right;
}

/* ---------- categorías ---------- */
.cat-tile {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--surface);
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.cat-tile:hover {
  transform: translateY(-3px);
  border-color: var(--ink);
  box-shadow: var(--shadow-md);
}

.cat-tile__icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 4px;
  border-radius: 13px;
  background: var(--bg-3);
  color: var(--ink);
}

.cat-tile:hover .cat-tile__icon {
  background: var(--lime);
  color: var(--lime-ink);
}

.cat-tile__name {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 750;
  letter-spacing: -0.025em;
}

.cat-tile__count {
  font-size: 12px;
  color: var(--muted);
}

/* ---------- guías y artículos ---------- */
.guide-card,
.article-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--surface);
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.guide-card:hover,
.article-card:hover {
  transform: translateY(-3px);
  border-color: var(--line-2);
  box-shadow: var(--shadow-md);
}

.guide-card__cat {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
}

.guide-card h3,
.article-card h3 {
  font-size: 1.06rem;
  font-weight: 750;
  line-height: 1.3;
  letter-spacing: -0.025em;
}

.guide-card p,
.article-card p {
  font-size: 13px;
  line-height: 1.55;
  color: var(--muted);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.guide-card__meta,
.article-card__meta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  padding-top: 8px;
  font-size: 12px;
  color: var(--faint);
}

.article-card__kind {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink);
}

.article-card__kind .icon {
  width: 22px;
  height: 22px;
  padding: 4px;
  border-radius: 999px;
  background: var(--lime);
  color: var(--lime-ink);
}

/* ---------- cabeceras de página ---------- */
.page-head {
  padding-block: 14px 36px;
}

.page-head h1 {
  margin-top: 14px;
  max-width: 26ch;
  font-size: clamp(2.1rem, 1.4rem + 2.6vw, 3.15rem);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.04em;
}

.page-head__lead {
  margin-top: 16px;
  max-width: 66ch;
  font-size: 16.5px;
  line-height: 1.62;
  color: var(--ink-3);
}

.page-head__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 12px;
}

.page-head__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.hub-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 310px;
  gap: 44px;
  align-items: start;
  padding-block: 10px 28px;
}

.hub-head__aside {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--surface);
  font-size: 13px;
  color: var(--ink-3);
}

.hub-head__aside h2 {
  margin-bottom: 12px;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.hub-head__aside ul {
  display: flex;
  flex-direction: column;
  gap: 9px;
  list-style: none;
}

.hub-head__aside li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.hub-head__aside .icon {
  margin-top: 3px;
  color: var(--good);
}

/* ---------- directorio: filtros ---------- */
.filters {
  margin-bottom: 26px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.filters__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.filters__search {
  display: flex;
  align-items: center;
  gap: 9px;
  flex: 1 1 260px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--bg-2);
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.filters__search:focus-within {
  border-color: var(--ink);
  background: var(--surface);
  box-shadow: 0 0 0 3px rgba(216, 255, 94, 0.5);
}

.filters__search .icon {
  color: var(--faint);
}

.filters__search input {
  flex: 1;
  min-width: 0;
  padding: 2px;
  border: 0;
  background: transparent;
  font: inherit;
  font-size: 14px;
}

.filters__search input:focus {
  outline: none;
}

.filters select {
  appearance: none;
  padding: 11px 38px 11px 14px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--bg-2)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%2368727f' stroke-width='2.2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E")
    no-repeat right 13px center;
  font: inherit;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink);
  cursor: pointer;
}

.filters__groups {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.filters__label {
  margin-right: 2px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--faint);
}

.toggle {
  position: relative;
  display: inline-flex;
  cursor: pointer;
}

.toggle input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.toggle span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 13px;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  background: var(--surface);
  font-size: 12.5px;
  font-weight: 500;
  color: var(--ink-2);
  transition: all 0.15s ease;
}

.toggle span:hover {
  border-color: var(--ink);
  color: var(--ink);
}

.toggle input:checked + span,
.toggle.is-active span,
.toggle.is-active span:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}

.toggle input:focus-visible + span {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.filters__count {
  margin-left: auto;
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

.directory-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(288px, 1fr));
  gap: 18px;
}

.empty-state {
  display: none;
  padding: 56px 24px;
  border: 1px dashed var(--line-2);
  border-radius: var(--r-lg);
  background: var(--surface);
  text-align: center;
  color: var(--muted);
}

.empty-state.is-visible {
  display: block;
}

.empty-state h2 {
  margin-bottom: 8px;
  font-size: 1.3rem;
  color: var(--ink);
}

/* ---------- ficha de producto ---------- */
.product-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: clamp(30px, 4vw, 56px);
  align-items: start;
  padding-block: 6px 10px;
}

.product-head__main {
  min-width: 0;
}

.product-head h1 {
  margin-top: 14px;
  font-size: clamp(2.4rem, 1.7rem + 2.6vw, 3.5rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.045em;
}

.product-head__sub {
  margin-top: 14px;
  max-width: 58ch;
  font-size: 16.5px;
  line-height: 1.55;
  color: var(--ink-3);
}

.product-head__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 18px;
}

.product-head__meta {
  margin-top: 18px;
}

.product-head__verdict {
  margin-top: 28px;
}

.score-card {
  position: sticky;
  top: calc(var(--header-h) + 18px);
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  background: var(--surface);
  box-shadow: var(--shadow-md);
}

.score-card__top {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.score-card__value {
  font-family: var(--font-display);
  font-size: 3.4rem;
  font-weight: 800;
  line-height: 0.85;
  letter-spacing: -0.05em;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}

.score-card__value small {
  margin-left: 3px;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0;
  color: var(--faint);
}

.score-card__label {
  max-width: 12ch;
  text-align: right;
  font-size: 11.5px;
  line-height: 1.4;
  color: var(--muted);
}

.score-card__label strong {
  display: block;
  margin-bottom: 3px;
  font-size: 13px;
  color: var(--ink);
}

.score-bars {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-block: 16px;
}

.score-bar {
  display: grid;
  grid-template-columns: 92px 1fr 30px;
  align-items: center;
  gap: 10px;
  font-size: 11.5px;
  color: var(--ink-3);
}

.score-bar__track {
  height: 5px;
  overflow: hidden;
  border-radius: 999px;
  background: var(--bg-3);
}

.score-bar__fill {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--ink), #46505e);
}

.score-bar__value {
  text-align: right;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  color: var(--ink);
}

.score-card__cta {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.score-card__note {
  text-align: center;
  font-size: 10.5px;
  color: var(--faint);
}

.score-card__cta .link-arrow {
  justify-content: center;
  font-size: 12px;
}

.verdict {
  position: relative;
  padding: 20px 22px 22px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: linear-gradient(120deg, #fbfff0, #ffffff 62%);
}

.verdict h2 {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 10px;
  padding: 4px 9px;
  border-radius: 6px;
  background: var(--lime);
  color: var(--lime-ink);
  font-family: var(--font-sans);
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.verdict p {
  font-size: 17px;
  line-height: 1.55;
  letter-spacing: -0.005em;
  color: var(--ink);
}

.fit-box {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.fit-box__col {
  padding: 20px 22px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--surface);
}

.fit-box__col h3 {
  margin-bottom: 8px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--accent);
}

.fit-box__col p {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--ink-3);
}

.product-body {
  display: flex;
  flex-direction: column;
  gap: 26px;
  max-width: 960px;
  margin-top: 34px;
}

.product-body .prose {
  max-width: 740px;
}

.steps {
  counter-reset: step;
  list-style: none;
  padding-left: 0;
  margin-block: 18px;
}

.steps li {
  position: relative;
  min-height: 30px;
  margin-block: 12px;
  padding-left: 44px;
  color: var(--ink-3);
}

.steps li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 999px;
  background: var(--bg-3);
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 800;
}

.source-list,
.related-list {
  list-style: none;
  padding-left: 0;
  margin-block: 14px;
}

.source-list li,
.related-list li {
  padding-block: 9px;
  border-top: 1px solid var(--line);
  font-size: 13.5px;
}

.source-list a,
.related-list a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  color: var(--accent);
}

.source-list a:hover,
.related-list a:hover {
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ---------- comparativa ---------- */
.duel {
  position: relative;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
  margin-block: 28px 8px;
}

.duel--two::after {
  content: "VS";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--ink);
}

.duel-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 26px 20px;
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  background: var(--surface);
  text-align: center;
  box-shadow: var(--shadow-xs);
}

.duel-card h2 {
  margin-top: 10px;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.duel-card__product {
  font-size: 12px;
  color: var(--muted);
}

.duel-card__score {
  margin-top: 12px;
  font-family: var(--font-display);
  font-size: 2.9rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.05em;
  color: var(--ink);
}

.duel-card__score small {
  margin-left: 2px;
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 600;
  color: var(--faint);
}

.duel-card__label {
  font-size: 11.5px;
  color: var(--muted);
}

.duel-card .btn {
  margin-top: 14px;
}

.pick {
  position: relative;
  overflow: hidden;
  margin-top: 32px;
  padding: 24px 26px;
  border-radius: var(--r-xl);
  background: var(--dark);
  color: #fff;
}

.pick::before {
  content: "";
  position: absolute;
  top: -70%;
  right: -6%;
  width: 340px;
  height: 340px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(216, 255, 94, 0.3), transparent 62%);
}

.pick .eyebrow {
  position: relative;
  color: rgba(255, 255, 255, 0.6);
}

.pick__inner {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  margin-top: 14px;
}

.pick__inner h2 {
  color: #fff;
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.pick__inner p {
  max-width: 46ch;
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.7);
}

.pick__inner .btn {
  margin-left: auto;
  background: var(--lime);
  color: var(--lime-ink);
}

.pick__note {
  position: relative;
  margin-top: 12px;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.5);
}

/* ---------- prosa ---------- */
.wide-block {
  margin-block: 34px;
}

.wide-block h2 {
  margin-bottom: 16px;
  font-size: clamp(1.4rem, 1.1rem + 1vw, 1.75rem);
  font-weight: 750;
  letter-spacing: -0.03em;
  scroll-margin-top: calc(var(--header-h) + 16px);
}

.prose {
  max-width: 720px;
  font-size: 16.5px;
  line-height: 1.72;
  color: var(--ink-3);
}

.prose h2 {
  margin-block: 44px 14px;
  font-size: clamp(1.45rem, 1.2rem + 0.8vw, 1.7rem);
  font-weight: 750;
  line-height: 1.2;
  letter-spacing: -0.03em;
  color: var(--ink);
  scroll-margin-top: calc(var(--header-h) + 16px);
}

.prose h3 {
  margin-block: 26px 10px;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--ink);
}

.prose p {
  margin-block: 14px;
}

.prose p + p {
  margin-top: 12px;
}

.prose ul,
.prose ol {
  margin-block: 14px;
  padding-left: 22px;
}

.prose li {
  margin-block: 6px;
}

.prose li::marker {
  color: var(--ink-2);
}

.prose strong {
  font-weight: 650;
  color: var(--ink);
}

.prose a {
  font-weight: 500;
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-thickness: 1px;
}

.prose a:hover {
  color: var(--accent-2);
}

.prose .lead {
  font-size: 1.1rem;
  line-height: 1.62;
  color: var(--ink);
}

.prose blockquote {
  margin: 20px 0;
  padding: 16px 20px;
  border-left: 3px solid var(--lime-2);
  border-radius: 0 12px 12px 0;
  background: var(--lime-soft);
  font-size: 15px;
}

.callout {
  display: flex;
  gap: 12px;
  margin-block: 20px;
  padding: 16px 18px;
  border: 1px solid #e4f19c;
  border-radius: var(--r-md);
  background: var(--lime-soft);
  font-size: 13.5px;
  line-height: 1.6;
  color: #3d4a1e;
}

.callout .icon {
  flex: none;
  margin-top: 2px;
}

.toc {
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--surface);
  font-size: 13px;
}

.toc__title {
  margin-bottom: 10px;
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--faint);
}

.toc ol {
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding-left: 18px;
}

.toc a {
  color: var(--ink-3);
}

.toc a:hover {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
}

.article-aside {
  position: sticky;
  top: calc(var(--header-h) + 20px);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.aside-card {
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--surface);
  font-size: 13px;
  color: var(--ink-3);
}

.aside-card h2 {
  margin-bottom: 10px;
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--faint);
}

.aside-card ul {
  display: flex;
  flex-direction: column;
  gap: 9px;
  list-style: none;
}

.aside-card a:hover {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ---------- ranking ---------- */
.listicle {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-block: 30px;
}

.listicle-item {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  background: var(--surface);
  box-shadow: var(--shadow-xs);
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.listicle-item:hover {
  border-color: var(--line-2);
  box-shadow: var(--shadow-sm);
}

.listicle-item__head {
  display: flex;
  align-items: center;
  gap: 16px;
}

.listicle-item__rank {
  display: grid;
  place-items: center;
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--bg-3);
  color: var(--ink-2);
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 800;
}

.listicle-item:first-child .listicle-item__rank {
  background: var(--lime);
  color: var(--lime-ink);
}

.listicle-item__id {
  flex: 1;
  min-width: 0;
}

.listicle-item__name {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.035em;
}

.listicle-item__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
  font-size: 12px;
  color: var(--muted);
}

.listicle-item__why {
  max-width: 76ch;
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--ink-3);
}

.listicle-item__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-block: 14px;
  border-block: 1px solid var(--line);
  list-style: none;
}

.listicle-item__facts li {
  padding: 6px 10px;
  border-radius: 8px;
  background: var(--bg-2);
  font-size: 12px;
  color: var(--muted);
}

.listicle-item__facts strong {
  font-weight: 650;
  color: var(--ink);
}

.listicle-item__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

.listicle-item__actions .link-arrow {
  font-size: 13px;
}

/* ---------- buscador ---------- */
.search-page {
  max-width: 820px;
  margin-inline: auto;
  padding-block: 20px 64px;
}

.search-page h1 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 1.5rem + 2vw, 2.9rem);
  font-weight: 800;
  letter-spacing: -0.04em;
}

.search-box {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 8px 8px 18px;
  border: 1px solid var(--line-2);
  border-radius: 18px;
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.search-box:focus-within {
  border-color: var(--ink);
  box-shadow: 0 0 0 4px rgba(216, 255, 94, 0.55), var(--shadow-sm);
}

.search-box input {
  flex: 1;
  min-width: 0;
  padding: 10px 0;
  border: 0;
  background: transparent;
  font: inherit;
  font-size: 15.5px;
}

.search-box input:focus {
  outline: none;
}

.search-results {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 26px;
}

.result {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 15px 17px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--surface);
  transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

.result:hover {
  transform: translateY(-1px);
  border-color: var(--ink);
  box-shadow: var(--shadow-xs);
}

.result__kind {
  flex: none;
  margin-top: 2px;
  padding: 4px 8px;
  border-radius: 6px;
  background: var(--lime);
  color: var(--lime-ink);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  white-space: nowrap;
}

.result h2 {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.result p {
  margin-top: 4px;
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--muted);
}

.search-hint {
  margin-top: 20px;
  font-size: 13px;
  color: var(--muted);
}

.search-popular {
  margin-top: 34px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.search-popular .filters__label {
  display: block;
  margin-bottom: 10px;
}

/* ---------- metodología ---------- */
.method-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.method-table th,
.method-table td {
  padding: 15px 18px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.method-table thead th {
  background: var(--bg-2);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--muted);
}

.method-table tbody th {
  font-weight: 700;
  color: var(--ink);
  white-space: nowrap;
}

.method-table td p {
  margin-top: 4px;
  font-size: 13px;
  line-height: 1.55;
  color: var(--muted);
}

.score-scale {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.score-scale__item {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--surface);
}

.score-scale__range {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--ink);
}

.score-scale__label {
  margin-top: 4px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--ink-2);
}

.score-scale__detail {
  margin-top: 4px;
  font-size: 11.5px;
  line-height: 1.45;
  color: var(--muted);
}

/* ---------- principios / contacto / cierre ---------- */
.principles {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.principle {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--surface);
}

.principle h3 {
  margin-bottom: 8px;
  font-size: 1.05rem;
  font-weight: 750;
  letter-spacing: -0.02em;
}

.principle p {
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--ink-3);
}

.trust-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.contact-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 9px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--surface);
}

.contact-card h2 {
  font-size: 1.1rem;
  font-weight: 750;
  letter-spacing: -0.02em;
}

.contact-card p {
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--ink-3);
}

.contact-card .btn {
  margin-top: auto;
}

.closing {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 28px;
  padding: clamp(26px, 4vw, 40px);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.closing h2 {
  margin-bottom: 8px;
  font-size: clamp(1.5rem, 1.2rem + 1.1vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.035em;
}

.closing p {
  max-width: 56ch;
  font-size: 14px;
  color: var(--muted);
}

.closing__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* ---------- pie ---------- */
.site-footer {
  margin-top: clamp(60px, 8vw, 100px);
  padding-top: 60px;
  background: var(--dark);
  color: #b3bbc7;
}

.footer__top {
  display: grid;
  grid-template-columns: 1.35fr repeat(4, 1fr);
  gap: 36px;
  padding-bottom: 46px;
}

.footer__brand .logo__line1 {
  color: #fff;
}

.footer__brand .logo__line2 {
  color: #6e7787;
}

.footer__brand .logo__mark {
  background: var(--lime);
  color: var(--lime-ink);
  box-shadow: none;
}

.footer__brand p {
  max-width: 32ch;
  margin-top: 16px;
  font-size: 13px;
  line-height: 1.6;
  color: #8b94a3;
}

.footer__mail {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.footer__mail a {
  color: #d5dbe4;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer__col h2 {
  margin-bottom: 14px;
  font-family: var(--font-sans);
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #6e7787;
}

.footer__col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
  list-style: none;
}

.footer__col a {
  font-size: 13.5px;
  color: #b3bbc7;
  transition: color 0.15s ease;
}

.footer__col a:hover {
  color: #fff;
}

.footer__legal {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-block: 24px 34px;
}

.footer__disclaimer {
  max-width: 92ch;
  font-size: 11.5px;
  line-height: 1.65;
  color: #7c8595;
}

.footer__copy {
  margin-top: 12px;
  font-size: 11.5px;
  color: #7c8595;
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1080px) {
  .site-nav ul {
    gap: 0;
  }

  .site-nav a {
    padding-inline: 10px;
    font-size: 13.5px;
  }

  .footer__top {
    grid-template-columns: 1.2fr repeat(2, 1fr);
    row-gap: 34px;
  }
}

@media (max-width: 960px) {
  .site-nav,
  .header-search {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .site-header__actions {
    margin-left: auto;
  }

  .hero__grid,
  .product-head,
  .hub-head,
  .article-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero h1 {
    max-width: 18ch;
  }

  .product-head__verdict {
    margin-top: 24px;
  }

  .score-card {
    position: static;
    margin-top: 8px;
  }

  .stat-band__inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 24px;
  }

  .stat {
    padding-inline: 0 18px;
  }

  .stat + .stat {
    border-left: 0;
  }

  .stat:nth-child(even) {
    border-left: 1px solid var(--line);
    padding-left: 22px;
  }

  .grid-3,
  .grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .article-aside {
    position: static;
    flex-direction: row;
    flex-wrap: wrap;
  }

  .article-aside > * {
    flex: 1 1 260px;
  }

  .cta,
  .closing {
    grid-template-columns: minmax(0, 1fr);
  }

  .cta__action {
    align-items: flex-start;
  }

  .cta__note {
    text-align: left;
  }

  .score-scale {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  :root {
    --header-h: 64px;
  }

  .site-header__actions .btn--brand {
    display: none;
  }

  .logo__mark {
    width: 30px;
    height: 30px;
    border-radius: 9px;
    font-size: 17px;
  }

  .logo__line1 {
    font-size: 15.5px;
  }

  .logo__line2 {
    font-size: 13.5px;
  }

  .hero {
    padding-block: 26px 34px;
  }

  .hero h1 {
    max-width: none;
    font-size: clamp(2.15rem, 1.5rem + 3.8vw, 2.8rem);
  }

  .hero__search {
    padding-left: 14px;
  }

  .hero__search .btn {
    padding-inline: 16px;
  }

  .section-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  .grid-3,
  .grid-2,
  .pros-cons,
  .fit-box {
    grid-template-columns: minmax(0, 1fr);
  }

  .grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cat-tile {
    padding: 16px;
  }

  .cat-tile__name {
    font-size: 1rem;
  }

  .stat-band__inner {
    gap: 20px;
  }

  .stat__value {
    font-size: 1.55rem;
  }

  .rank-table__note,
  .rank-table__cta {
    display: none;
  }

  .footer__top {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }

  .footer__brand {
    grid-column: 1 / -1;
  }

  .listicle-item {
    padding: 18px;
  }

  .listicle-item__head {
    flex-wrap: wrap;
  }

  .filters__count {
    width: 100%;
    margin-left: 0;
  }

  .directory-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .page-head h1 {
    max-width: none;
  }

  .score-scale {
    grid-template-columns: minmax(0, 1fr);
  }

  .method-table tbody th {
    white-space: normal;
  }

  .search-page {
    padding-block: 8px 52px;
  }
}

@media (max-width: 520px) {
  .hero__trust {
    gap: 8px 16px;
    font-size: 11.5px;
  }

  .btn--lg {
    padding: 14px 20px;
    font-size: 14.5px;
  }

  .cta,
  .pick {
    padding: 20px;
  }

  .footer__top {
    grid-template-columns: 1fr;
  }

  .podio {
    padding: 16px;
  }

  .podio__note {
    display: none;
  }

  .score-bar {
    grid-template-columns: 78px 1fr 26px;
  }

  .duel--two::after {
    display: none;
  }

  .listicle-item__name {
    font-size: 1.2rem;
  }

  .hero__search .btn {
    padding-inline: 14px;
  }
}

/* ---------- movimiento reducido e impresión ---------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

@media print {
  .site-header,
  .site-footer,
  .cta,
  .pick,
  .filters,
  .article-aside,
  .skip-link {
    display: none !important;
  }

  body {
    background: #fff;
  }

  .p-card,
  .table-wrap,
  .pros-cons__col {
    box-shadow: none;
    break-inside: avoid;
  }
}
