/* ==========================================================================
   Hidrolavadora.es — design system v2
   Modern editorial product-research platform.
   Water blue + ink graphite + light stone. Condensed display type.
   ========================================================================== */

:root {
  color-scheme: light;

  /* Brand palette — navy + electric blue + cyan accent */
  --navy-950: #070d18;
  --navy-900: #0b1526;
  --navy-800: #10233c;
  --navy-700: #16304f;
  --navy-600: #1d3d63;

  --blue-700: #0b53b8;
  --blue-600: #1266e0;
  --blue-500: #2377f2;
  --blue-400: #4f97f8;
  --blue-300: #86b9fb;
  --blue-100: #e5f0fe;
  --blue-50: #f3f8ff;

  --cyan-400: #34c3f0;
  --cyan-500: #0fb0e0;

  /* Neutral surfaces */
  --ink: #0e1b2c;
  --muted: #5d6c80;
  --muted-strong: #3e4d61;
  --border: #dfe6ef;
  --border-strong: #c8d2df;
  --surface: #ffffff;
  --surface-alt: #f5f8fc;
  --surface-sunken: #eaf0f7;

  /* Feedback */
  --yellow: #fbbf24;
  --yellow-deep: #b45309;
  --green: #16a34a;
  --green-soft: #e9f7ef;
  --red: #dc2626;
  --red-soft: #fcecec;
  --orange: #f59e0b;
  --orange-soft: #fef4e5;
  --amazon: #ff9900;
  --amazon-hover: #f08804;

  /* Shape + depth */
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --radius-pill: 999px;

  --shadow-xs: 0 1px 2px rgba(6, 26, 43, 0.05);
  --shadow-sm: 0 4px 14px rgba(6, 26, 43, 0.07);
  --shadow-md: 0 12px 32px rgba(6, 26, 43, 0.1);
  --shadow-lg: 0 26px 60px rgba(6, 26, 43, 0.16);
  --glow: 0 10px 32px rgba(22, 136, 245, 0.22);

  --grad-primary: linear-gradient(120deg, var(--blue-600), var(--cyan-500));
  --grad-dark: linear-gradient(150deg, var(--navy-800), var(--navy-950) 75%);
  --grad-soft: linear-gradient(120deg, var(--blue-50), #eefaff);

  --container: 1200px;
  --container-wide: 1320px;

  --font-body: "Source Sans 3", system-ui, -apple-system, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  --font-display: "Barlow Condensed", "Source Sans 3", system-ui, -apple-system,
    "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --header-h: 72px;
}

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

html {
  font-size: 112.5%;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body::selection,
::selection {
  background: var(--blue-400);
  color: #fff;
}

.site-main {
  flex: 1 0 auto;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--blue-600);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

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

h1 {
  font-size: clamp(2.7rem, 2.1rem + 3vw, 4.2rem);
}

h2 {
  font-size: clamp(1.85rem, 1.5rem + 1.4vw, 2.5rem);
}

h3 {
  font-size: 1.4rem;
}

p {
  margin: 0 0 1rem;
}

ul,
ol {
  margin: 0 0 1rem;
  padding-left: 1.15rem;
}

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

/* ---------------------------------------------------------------- scrollbar */

@media (hover: hover) {
  ::-webkit-scrollbar {
    width: 12px;
    height: 12px;
  }

  ::-webkit-scrollbar-thumb {
    background: var(--border-strong);
    border: 3px solid transparent;
    border-radius: var(--radius-pill);
    background-clip: padding-box;
  }

  ::-webkit-scrollbar-thumb:hover {
    background: var(--blue-400);
    background-clip: padding-box;
  }

  ::-webkit-scrollbar-track {
    background: transparent;
  }
}

/* ---------------------------------------------------------------- layout */

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 20px;
}

.container--wide {
  max-width: var(--container-wide);
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 300;
  background: var(--blue-600);
  color: #fff;
  padding: 12px 18px;
  border-radius: 0 0 var(--radius-sm) 0;
  font-weight: 700;
}

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

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* ---------------------------------------------------------------- buttons */

.button,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px 22px;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.2;
  cursor: pointer;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease,
    background-color 180ms ease, color 180ms ease, border-color 180ms ease;
  will-change: transform;
}

.button:hover,
.btn:hover,
.button:focus-visible,
.btn:focus-visible {
  text-decoration: none;
  transform: translateY(-2px);
}

.button:active,
.btn:active {
  transform: translateY(0);
}

.button--primary,
.btn-primary {
  background: var(--grad-primary);
  color: #fff;
  box-shadow: 0 8px 22px rgba(18, 102, 224, 0.34);
}

.button--primary:hover,
.btn-primary:hover {
  color: #fff;
  box-shadow: 0 12px 30px rgba(18, 102, 224, 0.42);
}

.button--ghost,
.btn-secondary {
  background: transparent;
  color: var(--ink);
  border-color: var(--border-strong);
}

.button--ghost:hover,
.btn-secondary:hover {
  background: var(--surface-alt);
  color: var(--ink);
  border-color: var(--blue-300);
}

.button--light {
  background: #fff;
  color: var(--navy-900);
  box-shadow: 0 6px 18px rgba(3, 12, 26, 0.25);
}

.button--light:hover {
  color: var(--navy-900);
  background: #eef6ff;
}

.button--lg {
  padding: 15px 28px;
  font-size: 1.02rem;
}

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

.button svg,
.btn svg {
  width: 18px;
  height: 18px;
  flex: none;
}

.button--primary svg {
  transition: transform 160ms ease;
}

.button--primary:hover svg {
  transform: translateX(3px);
}

/* ------------------------------------------------------------------ chips */

.chip,
.state-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  background: var(--blue-100);
  color: var(--blue-700);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.2;
}

.state-chip {
  background: var(--orange-soft);
  color: var(--yellow-deep);
}

.state-pending {
  background: var(--orange-soft);
  color: var(--yellow-deep);
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--blue-600);
}

.section-label::before {
  content: "";
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: var(--grad-primary);
}

.section-heading {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}

/* ---------------------------------------------------------------- header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(8, 16, 28, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  color: #d7e2ee;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: box-shadow 200ms ease, background-color 200ms ease;
}

.site-header.is-scrolled {
  background: rgba(7, 13, 24, 0.94);
  box-shadow: 0 10px 34px rgba(3, 9, 20, 0.35);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  max-width: var(--container-wide);
  margin-inline: auto;
  min-height: var(--header-h);
  padding-inline: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: #fff;
  flex: none;
}

.brand:hover {
  text-decoration: none;
}

.brand-mark {
  width: 44px;
  height: 44px;
  color: var(--blue-300);
  flex: none;
  filter: drop-shadow(0 4px 12px rgba(22, 136, 245, 0.35));
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.brand-name {
  font-family: var(--font-display);
  font-size: 1.22rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: #fff;
}

.brand-sub {
  font-size: 0.56rem;
  font-weight: 700;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--blue-400);
  margin-top: 3px;
  padding-left: 2px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
}

.header-search {
  position: relative;
  display: flex;
  align-items: center;
}

.header-search svg {
  position: absolute;
  left: 14px;
  width: 17px;
  height: 17px;
  color: #8ea3b8;
  pointer-events: none;
}

.header-search input {
  width: min(28vw, 230px);
  padding: 10px 16px 10px 40px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.88rem;
  transition: border-color 160ms ease, background-color 160ms ease,
    width 220ms ease;
}

.header-search input::placeholder {
  color: #93a7bb;
}

.header-search input:focus {
  outline: none;
  border-color: var(--blue-400);
  background: rgba(255, 255, 255, 0.12);
  width: min(34vw, 300px);
}

.header-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
}

.header-nav a {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  color: #cfdcea;
  font-size: 0.9rem;
  font-weight: 600;
  white-space: nowrap;
  transition: background-color 160ms ease, color 160ms ease;
}

.header-nav a:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  text-decoration: none;
}

.header-nav a.is-active {
  color: #fff;
  background: rgba(22, 136, 245, 0.22);
  box-shadow: inset 0 0 0 1px rgba(74, 166, 255, 0.35);
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.06);
  color: #cfdcea;
  cursor: pointer;
}

.nav-toggle:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.nav-toggle svg {
  width: 20px;
  height: 20px;
}

/* ---------------------------------------------------------------- footer */

.site-footer {
  margin-top: 96px;
  background: var(--navy-950);
  color: #9fb0c0;
  font-size: 0.92rem;
  position: relative;
}

.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--grad-primary);
}

.footer-inner {
  max-width: var(--container-wide);
  margin-inline: auto;
  padding: 64px 20px 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) 1fr 1fr;
  gap: 56px;
}

.footer-brand .brand {
  margin-bottom: 16px;
}

.footer-brand p {
  color: #8fa2b4;
  max-width: 440px;
  line-height: 1.6;
}

.footer-col h3 {
  font-family: var(--font-display);
  font-size: 0.95rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 16px;
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.footer-col a {
  color: #9fb0c0;
  transition: color 140ms ease;
}

.footer-col a:hover {
  color: #fff;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: #7d90a4;
  font-size: 0.85rem;
}

.footer-social {
  display: flex;
  gap: 10px;
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.07);
  color: #cfdcea;
  transition: background 160ms ease, color 160ms ease, transform 160ms ease;
}

.footer-social a:hover {
  background: var(--blue-500);
  color: #fff;
  transform: translateY(-2px);
}

.footer-social svg {
  width: 18px;
  height: 18px;
}

/* --------------------------------------------------------------- preview */

.preview-banner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  background: #fff8e1;
  border-bottom: 1px solid #f2d98a;
  color: #7a5b00;
  padding: 10px 20px;
  font-size: 0.88rem;
}

.preview-banner .status-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--orange);
}

.preview-details summary {
  cursor: pointer;
  font-weight: 700;
}

.preview-details p {
  margin: 8px 0 0;
}

/* ------------------------------------------------------------------ hero */

.hero {
  position: relative;
  color: #fff;
  background:
    radial-gradient(110% 120% at 84% -10%, rgba(45, 212, 191, 0.30), transparent 58%),
    radial-gradient(90% 100% at 8% 110%, rgba(16, 185, 129, 0.18), transparent 60%),
    linear-gradient(
      115deg,
      rgba(7, 16, 33, 0.97) 0%,
      rgba(10, 26, 46, 0.9) 44%,
      rgba(12, 44, 60, 0.5) 74%,
      rgba(14, 48, 58, 0.66) 100%
    ),
    url("/static/editorial/hero.png") center right / cover no-repeat,
    #071021;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.09) 1px, transparent 1px);
  background-size: 30px 30px;
  opacity: 0.34;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(115deg, transparent 40%, #000 100%);
  mask-image: linear-gradient(115deg, transparent 40%, #000 100%);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 80% at 88% 30%, rgba(45, 212, 191, 0.28), transparent 60%),
    radial-gradient(50% 60% at 8% 90%, rgba(16, 185, 129, 0.16), transparent 60%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
  align-items: center;
  max-width: var(--container-wide);
  margin-inline: auto;
  padding: 88px 20px 96px;
}

.hero-copy {
  max-width: 860px;
}

.hero h1 {
  color: #fff;
  margin: 22px 0 18px;
  font-size: clamp(3rem, 2.2rem + 3.6vw, 4.6rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1;
}

.hero h1 .accent {
  display: block;
  background: linear-gradient(100deg, #34d399, #2dd4bf 50%, #4ade80);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.hero-lede {
  max-width: min(52vw, 780px);
  color: #fff;
  font-size: 1.12rem;
  font-weight: 700;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  margin-top: 32px;
}

.hero-actions .button--ghost {
  color: #dceaf7;
  border-color: rgba(255, 255, 255, 0.28);
}

.hero-actions .button--ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.5);
}

.hero .button--primary {
  background: linear-gradient(120deg, #14b8a6, #34d399 55%, #4ade80);
  box-shadow: 0 8px 22px rgba(20, 184, 166, 0.35);
}

.hero .button--primary:hover {
  box-shadow: 0 12px 30px rgba(20, 184, 166, 0.45);
}

.hero-note {
  position: absolute;
  right: max(20px, calc((100vw - 1320px) / 2 + 20px));
  bottom: 44px;
  z-index: 2;
  max-width: 14ch;
  margin: 0;
  text-align: right;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-style: italic;
  font-weight: 700;
  line-height: 1.1;
  color: #fff;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.5);
}

.hero-note span {
  display: block;
  width: 48px;
  height: 3px;
  margin: 8px 0 0 auto;
  background: var(--grad-primary);
  border-radius: 2px;
}

.hero-visual {
  position: relative;
  min-height: 340px;
  border-radius: var(--radius-lg);
  background: linear-gradient(150deg, #103962, #0a2038);
  border: 1px solid rgba(255, 255, 255, 0.14);
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 26px;
  box-shadow: var(--shadow-lg);
}

.hero-visual img {
  width: auto;
  max-width: min(100%, 460px);
  max-height: 320px;
  object-fit: contain;
  filter: drop-shadow(0 26px 44px rgba(0, 0, 0, 0.5));
}

.hero-visual .hero-visual-note {
  position: absolute;
  top: 22px;
  right: 22px;
  z-index: 2;
  max-width: 13ch;
  text-align: right;
  padding: 10px 14px;
  border-radius: 14px;
  background: rgba(7, 19, 32, 0.6);
  backdrop-filter: blur(6px);
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  font-style: italic;
  color: #fff;
  line-height: 1.1;
}

.hero-visual .hero-visual-note span {
  display: block;
  width: 46px;
  height: 3px;
  margin: 8px 0 0 auto;
  background: var(--grad-primary);
  border-radius: 2px;
}

/* -------------------------------------------------------------- sections */

.section,
.home-section {
  padding: 72px 0;
}

.section--alt {
  background: var(--surface-alt);
}

.section--tight {
  padding-top: 44px;
}

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

.section-head h2 {
  margin: 0 0 8px;
}

.section-head p {
  margin: 0;
  color: var(--muted);
  max-width: 62ch;
}

.section-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 20px;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  background: var(--grad-primary);
  color: #fff;
  font-weight: 700;
  font-size: 0.92rem;
  line-height: 1;
  white-space: nowrap;
  box-shadow: var(--shadow-sm);
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease,
    box-shadow 160ms ease, transform 160ms ease;
}

.section-link::after {
  content: "→";
  font-size: 1.05em;
  transition: transform 160ms ease;
}

.section-link:hover {
  background: linear-gradient(120deg, var(--blue-700), var(--cyan-400));
  border-color: transparent;
  color: #fff;
  text-decoration: none;
  box-shadow: var(--glow);
  transform: translateY(-1px);
}

.section-link:hover::after {
  transform: translateX(3px);
}

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

.section-head.section-head--center .section-link {
  align-self: center;
}

.section-head.section-head--center h2 {
  margin-bottom: 0;
}

.section-head.section-head--center .section-label {
  justify-content: center;
}

.section-title-icon {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.section-title-icon svg {
  width: 26px;
  height: 26px;
  color: var(--blue-500);
  flex: none;
}

/* --------------------------------------------------------------- cards */

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.model-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--ink);
  box-shadow: var(--shadow-xs);
  transition: box-shadow 200ms ease, transform 200ms ease, border-color 200ms ease;
}

.model-card:hover {
  text-decoration: none;
  border-color: rgba(35, 119, 242, 0.35);
  box-shadow: var(--shadow-md), var(--glow);
  transform: translateY(-5px);
}

.model-rank {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--grad-primary);
  color: #fff;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(18, 102, 224, 0.4);
}

.model-fav {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  color: var(--border-strong);
  cursor: pointer;
  box-shadow: var(--shadow-xs);
}

.model-fav:hover {
  color: var(--red);
}

.model-fav svg {
  width: 17px;
  height: 17px;
}

.model-photo {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 180px;
  margin: 4px 0 6px;
  padding: 10px;
  border-radius: 12px;
  background: #ffffff;
}

.model-photo img {
  max-height: 100%;
  width: auto;
  object-fit: contain;
  transition: transform 220ms ease;
}

.model-card:hover .model-photo img {
  transform: scale(1.04);
}

.model-photo-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  border-radius: var(--radius-sm);
  background: var(--surface-alt);
  color: var(--muted);
  font-size: 0.8rem;
  text-align: center;
  padding: 10px;
}

.model-brand {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  padding: 4px 11px;
  border-radius: var(--radius-pill);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1.4;
  color: #fff;
  background: var(--navy-900, #374151);
}

.model-card--tagged .model-brand {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  align-self: auto;
  margin: 0;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.22);
}

.model-brand--karcher { background: #ffd500; color: #1a1a1a; }
.model-brand--bosch { background: #00843d; color: #fff; }
.model-brand--worx { background: #f5a623; color: #1a1a1a; }
.model-brand--black-decker { background: #1a1a1a; color: #ff6a00; }
.model-brand--parkside { background: #0057a8; color: #fff; }
.model-brand--makita { background: #00857d; color: #fff; }
.model-brand--stanley { background: #ffd100; color: #1a1a1a; }
.model-brand--lavor { background: #e30613; color: #fff; }
.model-brand--nilfisk { background: #003865; color: #fff; }
.model-brand--cecotec { background: var(--blue-400); color: var(--navy-900); }
.model-brand--michelin { background: #003087; color: #fff; }
.model-brand--ryobi { background: #78be20; color: #10240a; }
.model-brand--stihl { background: #f26522; color: #fff; }
.model-brand--einhell { background: #e30613; color: #fff; }
.model-brand--amazon-basics { background: #232f3e; color: #fff; }
.model-brand--arxp,
.model-brand--foting { background: #374151; color: #fff; }

.model-card strong,
.model-name {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.15;
}

.model-rating {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  color: var(--muted);
}

.model-rating .stars {
  color: var(--yellow);
  letter-spacing: 1px;
}

.metric-line,
.model-spec-line {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
  font-size: 0.84rem;
  color: var(--muted-strong);
}

.metric-line .metric,
.model-spec-line .metric {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.metric-line .metric svg,
.model-spec-line .metric svg {
  width: 15px;
  height: 15px;
  flex: none;
  color: var(--blue-500);
}

.metric-line b,
.model-spec-line b {
  color: var(--ink);
  font-weight: 700;
}

.metric-line small,
.model-spec-line small {
  margin-left: 3px;
  color: var(--muted);
}

.model-price {
  margin-top: 2px;
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--ink);
}

.model-price small {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--muted);
}

.model-cta,
.card-link {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--blue-600);
  font-weight: 700;
  font-size: 0.92rem;
}

.model-cta::after,
.card-link::after {
  content: "→";
  transition: transform 160ms ease;
}

.model-card:hover .model-cta::after,
.model-card:hover .card-link::after {
  transform: translateX(3px);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 20px;
}

.card-grid--5 {
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
}

.placeholder-value {
  color: var(--muted);
  font-weight: 600;
}

/* -------------------------------------------------------------- finder */

.finder {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: 30px;
  align-items: stretch;
  padding: 36px;
  background: var(--grad-soft);
  border: 1px solid var(--blue-100);
  border-radius: var(--radius-lg);
}

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

.finder h2 {
  margin-bottom: 8px;
}

.finder p {
  color: var(--muted);
}

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

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

.finder-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  padding: 20px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--ink);
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.finder-card:hover {
  text-decoration: none;
  border-color: var(--blue-400);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.finder-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: var(--grad-primary);
  color: #fff;
  flex: none;
  box-shadow: 0 6px 16px rgba(18, 102, 224, 0.25);
}

.finder-icon svg {
  width: 24px;
  height: 24px;
}

.finder-card strong {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
}

.finder-desc {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

.finder-aside {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
  padding: 28px;
  border-radius: var(--radius);
  background: var(--grad-dark);
  color: #d5e3f0;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.finder-aside ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.finder-aside li {
  display: flex;
  gap: 9px;
  align-items: flex-start;
  font-size: 0.92rem;
}

.finder-aside svg {
  width: 17px;
  height: 17px;
  margin-top: 3px;
  color: var(--blue-300);
  flex: none;
}

/* ---------------------------------------------------------- comparisons */

.band {
  background: var(--grad-dark);
  color: #d5e3f0;
  padding: 76px 0;
  position: relative;
  overflow: hidden;
}

.band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(80% 100% at 88% 10%, rgba(22, 136, 245, 0.24), transparent 60%);
  pointer-events: none;
}

.band > * {
  position: relative;
}

.band .section-head h2 {
  color: #fff;
}

.band .section-head p {
  color: #a9bfd4;
}

.band .section-label {
  color: var(--blue-300);
}

.band .section-label::before {
  background: var(--grad-primary);
}

.band .section-link {
  background: transparent;
  border-color: rgba(74, 166, 255, 0.5);
  color: var(--blue-300);
}

.band .section-link:hover {
  background: var(--blue-400);
  border-color: var(--blue-400);
  color: var(--navy-900);
}

.comparison-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}

.comparison-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 22px;
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
  border: 1px solid rgba(255, 255, 255, 0.9);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.comparison-card:hover {
  text-decoration: none;
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.comparison-thumbs {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  height: 112px;
  border-radius: 12px;
  background: var(--surface-sunken);
}

.comparison-thumbs img {
  max-height: 100%;
  width: auto;
  object-fit: contain;
}

.comparison-thumbs .vs-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--grad-primary);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.8rem;
  flex: none;
}

.comparison-card strong {
  font-family: var(--font-display);
  font-size: 1.2rem;
}

.comparison-card .comparison-q {
  color: var(--muted);
  font-size: 0.9rem;
}

/* -------------------------------------------------------------- category */

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

.category-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 22px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--ink);
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.category-card:hover {
  text-decoration: none;
  border-color: var(--blue-400);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.category-card .cat-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--grad-soft);
  border: 1px solid var(--blue-100);
  color: var(--blue-600);
  flex: none;
}

.category-card .cat-icon svg {
  width: 24px;
  height: 24px;
}

.category-card strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.15rem;
}

.category-card span {
  color: var(--muted);
  font-size: 0.86rem;
}

.category-card .cat-arrow {
  margin-left: auto;
  color: var(--blue-500);
  flex: none;
}

/* -------------------------------------------------------------- articles */

.article-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 24px;
}

.article-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  color: var(--ink);
}

.article-card:hover {
  text-decoration: none;
}

.article-card .article-media {
  position: relative;
  aspect-ratio: 16 / 10;
  border-radius: var(--radius);
  background: var(--grad-dark);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.article-card .article-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 260ms ease;
}

.article-card:hover .article-media img {
  transform: scale(1.04);
}

.article-card .article-media.is-empty::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(60% 60% at 70% 30%, rgba(22, 136, 245, 0.4), transparent 70%);
}

.article-cat,
.guide-type {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue-600);
}

.article-card strong,
.article-title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  line-height: 1.2;
}

.article-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  color: var(--muted);
  font-size: 0.8rem;
}

/* ---------------------------------------------------------------- brands */

.brand-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}

.brand-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 180px;
  height: 100px;
  padding: 0 28px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--navy-900);
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.brand-chip:hover {
  text-decoration: none;
  border-color: var(--blue-400);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.brand-chip img {
  max-width: 100%;
  max-height: 60px;
  width: auto;
  object-fit: contain;
  transition: transform 160ms ease;
}

.brand-chip:hover img {
  transform: scale(1.05);
}

/* --------------------------------------------------------- breadcrumbs */

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding: 22px 0 4px;
  font-size: 0.86rem;
  color: var(--muted);
}

.breadcrumbs a {
  color: var(--muted-strong);
  transition: color 140ms ease;
}

.breadcrumbs a:hover {
  color: var(--blue-600);
}

.breadcrumbs [aria-current="page"] {
  color: var(--ink);
  font-weight: 700;
}

.breadcrumbs span[aria-hidden] {
  color: var(--border-strong);
}

/* ------------------------------------------------------- page hero/layout */

.page-hero {
  padding: 16px 0 36px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 44px;
  position: relative;
}

.page-hero::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 84px;
  height: 3px;
  border-radius: 3px;
  background: var(--grad-primary);
}

.page-hero h1 {
  margin-bottom: 14px;
}

.page-hero .intro {
  max-width: 70ch;
  color: var(--muted-strong);
  font-size: 1.08rem;
}

.page-hero .hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 48px;
  align-items: start;
}

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

.layout__main {
  min-width: 0;
}

.layout__aside {
  position: sticky;
  top: calc(var(--header-h) + 20px);
  display: grid;
  gap: 20px;
}

.panel {
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.panel h2,
.panel h3 {
  margin-bottom: 10px;
}

.panel .section-label {
  margin-bottom: 8px;
}

.panel-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.panel ul {
  margin-bottom: 0;
}

/* --------------------------------------------------------------- tabs */

.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  border: 1px solid var(--border);
  background: var(--surface);
  padding: 6px;
  border-radius: var(--radius-pill);
  margin-bottom: 32px;
}

.tabs a,
.tabs button {
  padding: 9px 18px;
  border: 0;
  background: transparent;
  color: var(--muted-strong);
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 700;
  cursor: pointer;
  border-radius: var(--radius-pill);
  transition: background-color 140ms ease, color 140ms ease;
}

.tabs a:hover,
.tabs button:hover {
  color: var(--ink);
  background: var(--surface-alt);
  text-decoration: none;
}

.tabs .is-active {
  color: #fff;
  background: var(--grad-primary);
  box-shadow: 0 6px 16px rgba(18, 102, 224, 0.3);
}

/* -------------------------------------------------------------- filters */

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-bottom: 24px;
}

.filter-chip {
  padding: 9px 16px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--muted-strong);
  font-size: 0.88rem;
  font-weight: 700;
  transition: border-color 140ms ease, color 140ms ease, box-shadow 140ms ease;
}

.filter-chip:hover {
  border-color: var(--blue-400);
  color: var(--ink);
  text-decoration: none;
}

.filter-chip.is-active {
  background: var(--grad-primary);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 6px 16px rgba(18, 102, 224, 0.28);
}

/* --------------------------------------------------------------- tables */

.table-scroll {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-xs);
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.93rem;
}

caption {
  text-align: left;
  padding: 16px 18px 4px;
  color: var(--muted);
  font-size: 0.86rem;
}

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

thead th {
  background: var(--surface-alt);
  font-family: var(--font-display);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted-strong);
  white-space: nowrap;
}

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

tbody tr:hover td {
  background: var(--blue-50);
}

td.is-highlight,
th.is-highlight {
  background: var(--blue-50);
  color: var(--blue-600);
  font-weight: 700;
}

.spec-table th[scope="row"] {
  width: 45%;
  color: var(--muted-strong);
  font-weight: 600;
  background: var(--surface-alt);
}

/* ---------------------------------------------------------- pros / cons */

.pros-limitations,
.pros-cons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin: 28px 0;
}

.pros-limitations > section,
.pros-cons > section {
  padding: 22px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface);
}

.pros-limitations > section:first-child,
.pros-cons .pros {
  border-color: #bfe6cd;
  background: linear-gradient(150deg, var(--green-soft), #f3fbf6);
}

.pros-limitations > section:last-child,
.pros-cons .cons {
  border-color: #f2c6c6;
  background: linear-gradient(150deg, var(--red-soft), #fdf5f5);
}

.pros-limitations ul,
.pros-cons ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 9px;
}

.pros-limitations li,
.pros-cons li {
  position: relative;
  padding-left: 26px;
  font-size: 0.93rem;
}

.pros-limitations > section:first-child li::before,
.pros-cons .pros li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--green);
  font-weight: 800;
}

.pros-limitations > section:last-child li::before,
.pros-cons .cons li::before {
  content: "✕";
  position: absolute;
  left: 0;
  color: var(--red);
  font-weight: 800;
}

/* ---------------------------------------------------------------- FAQ */

.faq {
  margin-top: 44px;
}

.faq details {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  margin-bottom: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-xs);
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.faq details[open] {
  border-color: var(--blue-300);
  box-shadow: var(--shadow-sm);
}

.faq summary {
  padding: 18px 20px;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
  transition: color 140ms ease;
}

.faq summary:hover {
  color: var(--blue-600);
}

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

.faq summary::after {
  content: "+";
  float: right;
  color: var(--blue-500);
  font-weight: 700;
  font-size: 1.2rem;
  line-height: 1;
  transition: transform 180ms ease;
}

.faq details[open] summary::after {
  content: "−";
}

.faq details p {
  margin: 0;
  padding: 0 20px 20px;
  color: var(--muted-strong);
}

/* --------------------------------------------------------------- callout */

.callout {
  display: flex;
  gap: 14px;
  padding: 20px;
  margin: 24px 0;
  border-radius: var(--radius);
  background: var(--grad-soft);
  border: 1px solid var(--blue-100);
  box-shadow: var(--shadow-xs);
}

.callout-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--grad-primary);
  color: #fff;
  font-weight: 800;
  flex: none;
  box-shadow: 0 6px 16px rgba(18, 102, 224, 0.3);
}

.callout p {
  margin: 4px 0 0;
  color: var(--muted-strong);
}

/* ------------------------------------------------------------ references */

.references {
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
}

.references ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.references li {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  padding: 13px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  background: var(--surface);
}

.references time {
  margin-left: auto;
  color: var(--muted);
  font-size: 0.82rem;
}

/* -------------------------------------------------------------- related */

.related-section {
  margin-top: 48px;
}

.related-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 14px;
}

.related-list a {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--ink);
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.related-list a:hover {
  text-decoration: none;
  border-color: var(--blue-400);
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}

.related-list strong {
  font-family: var(--font-display);
  font-size: 1.15rem;
}

.related-list span {
  color: var(--muted);
  font-size: 0.88rem;
}

/* ------------------------------------------------------------ offer card */

.offer-card {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 24px;
  margin: 28px 0;
  border: 1px solid var(--blue-100);
  border-radius: var(--radius);
  background: var(--grad-soft);
  box-shadow: var(--shadow-xs);
}

.offer-card h2 {
  margin: 0;
  font-size: 1.35rem;
}

.unknown-state {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted-strong);
  font-size: 0.9rem;
  margin: 0;
}

.unknown-state .status-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--orange);
}

.empty-state {
  color: var(--muted);
  font-style: italic;
}

/* --------------------------------------------------------------- sidebar */

.sidebar-nav {
  display: grid;
  gap: 4px;
}

.sidebar-nav a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border-radius: var(--radius-sm);
  color: var(--muted-strong);
  font-weight: 600;
  font-size: 0.92rem;
  transition: background-color 140ms ease, color 140ms ease;
}

.sidebar-nav a:hover {
  background: var(--surface-alt);
  color: var(--ink);
  text-decoration: none;
}

.sidebar-nav a.is-active {
  background: var(--blue-100);
  color: var(--blue-700);
  font-weight: 700;
}

.brand-logo-mini {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 62px;
  height: 26px;
  padding: 0 8px;
  border-radius: 6px;
  background: var(--surface-sunken);
  color: var(--navy-900);
  font-family: var(--font-display);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  flex: none;
}

.brand-popular {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 4px;
}

.brand-popular a {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 8px 6px;
  border-radius: var(--radius-sm);
  color: var(--ink);
}

.brand-popular a:hover {
  background: var(--surface-alt);
  text-decoration: none;
}

.popular-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--grad-primary);
  color: #fff;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  flex: none;
}

.popular-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.popular-text strong {
  font-size: 0.9rem;
  line-height: 1.25;
  font-weight: 700;
}

.popular-text span {
  color: var(--muted);
  font-size: 0.78rem;
}

/* -------------------------------------------------------------- article */

.article {
  max-width: 780px;
}

.article-header {
  margin-bottom: 28px;
}

.article-header .intro {
  font-size: 1.1rem;
  color: var(--muted-strong);
}

.article h2 {
  margin-top: 1.7em;
}

.article h3 {
  margin-top: 1.4em;
}

.legal-details {
  margin: 1.5rem 0 2rem;
  padding: 8px 22px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--blue-50), var(--surface) 68%);
  box-shadow: var(--shadow-md);
}

.legal-page .legal-details {
  border-color: var(--blue-100);
  border-top: 3px solid var(--cyan-500);
}

.legal-details > div {
  display: grid;
  grid-template-columns: minmax(170px, 0.4fr) minmax(0, 1fr);
  gap: 20px;
  padding: 14px 0;
  border-top: 1px solid var(--border);
}

.legal-details > div:first-child {
  border-top: 0;
}

.legal-details dt {
  color: var(--blue-700);
  font-weight: 700;
}

.legal-details dd {
  margin: 0;
  overflow-wrap: anywhere;
}

.legal-details a,
.legal-link a {
  font-weight: 600;
}

.legal-list {
  display: grid;
  gap: 10px;
  margin: 1rem 0 1.5rem;
  padding-left: 1.35rem;
}

.legal-list li::marker {
  color: var(--blue-500);
}

.legal-link {
  margin-top: -0.35rem;
}

.legal-meta {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0 0 1.5rem;
  padding: 8px 12px;
  border-radius: var(--radius-pill);
  background: var(--blue-50);
  color: var(--muted-strong);
  font-size: 0.9rem;
}

.cookie-consent[hidden],
.cookie-consent__customize[hidden] {
  display: none;
}

.cookie-consent {
  position: fixed;
  right: 20px;
  bottom: 20px;
  left: 20px;
  z-index: 280;
  max-height: calc(100vh - 40px);
  overflow-y: auto;
  overscroll-behavior: contain;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  background: var(--navy-800);
  color: #fff;
  box-shadow: 0 -10px 36px rgba(7, 13, 24, 0.24);
}

.cookie-consent__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px 28px;
  align-items: center;
  max-width: var(--container-wide);
  margin-inline: auto;
  padding: 20px 24px;
}

.cookie-consent__copy {
  min-width: 0;
}

.cookie-consent h2 {
  margin-bottom: 4px;
  color: #fff;
  font-size: clamp(1.05rem, 0.95rem + 0.4vw, 1.35rem);
}

.cookie-consent p {
  max-width: 70ch;
  margin: 0;
  color: #d9e5f1;
  font-size: 0.86rem;
  line-height: 1.5;
}

.cookie-consent__links {
  margin-top: 2px !important;
}

.cookie-consent__links a,
.cookie-consent__links button {
  color: #fff;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.cookie-consent__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.cookie-consent__actions .button {
  white-space: nowrap;
}

.cookie-consent .button--ghost {
  border-color: rgba(255, 255, 255, 0.42);
  color: #fff;
}

.cookie-consent .button--ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #fff;
  color: #fff;
}

@media (min-width: 681px) {
  .cookie-consent {
    right: auto;
    left: 50%;
    width: min(55vw, 700px);
    transform: translateX(-50%);
  }

  .cookie-consent__inner {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 6px 12px;
    padding: 6px 12px;
  }

  .cookie-consent__copy {
    display: flex;
    flex-wrap: wrap;
    gap: 0 10px;
    align-items: baseline;
  }

  .cookie-consent h2 {
    margin-bottom: 0;
    font-size: 0.92rem;
  }

  .cookie-consent__copy > p:not(.cookie-consent__links) {
    font-size: 0.74rem;
  }

  .cookie-consent__links {
    font-size: 0.74rem;
  }

  .cookie-consent__actions {
    align-self: center;
  }

  .cookie-consent__actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .cookie-consent__actions .button {
    width: 100%;
    padding: 8px 8px;
    font-size: 0.78rem;
  }
}

.article-index {
  position: sticky;
  top: calc(var(--header-h) + 20px);
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  font-size: 0.9rem;
}

.article-index strong {
  display: block;
  margin-bottom: 12px;
  font-family: var(--font-display);
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue-600);
}

.article-index ol {
  margin: 0;
  padding-left: 20px;
  display: grid;
  gap: 8px;
}

.article-index a {
  color: var(--muted-strong);
}

.article-index a:hover {
  color: var(--blue-600);
}

.reading-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 48px;
  align-items: start;
}

/* --------------------------------------------------------------- tables of facts */

.facts-table td:last-child {
  width: 1%;
  white-space: nowrap;
}

.model-identity {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-bottom: 14px;
}

.model-identity span {
  color: var(--muted);
  font-size: 0.88rem;
}

.source-note,
.model-source-note {
  color: var(--muted);
  font-size: 0.82rem;
  margin: 12px 0 0;
}

.fit-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin: 28px 0;
}

.fit-panel {
  padding: 22px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--green-soft);
}

.fit-panel.limitation-panel {
  background: var(--red-soft);
}

.fit-panel h2 {
  font-size: 1.2rem;
}

/* ------------------------------------------------------------ home extras */

.home-prelaunch {
  max-width: 720px;
  margin: 56px auto;
  padding: 40px;
  text-align: center;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface-alt);
}

.home-prelaunch h2 {
  margin-bottom: 10px;
}

.home-prelaunch p {
  color: var(--muted-strong);
}

.home-editorial {
  max-width: 780px;
  margin: 0 auto;
}

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

.task-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--ink);
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.task-card:hover {
  text-decoration: none;
  border-color: var(--blue-400);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.task-card strong {
  font-family: var(--font-display);
  font-size: 1.25rem;
}

.task-card span {
  color: var(--muted);
  font-size: 0.9rem;
}

.guide-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}

.guide-list a {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--ink);
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.guide-list a:hover {
  text-decoration: none;
  border-color: var(--blue-400);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.guide-list strong {
  font-family: var(--font-display);
  font-size: 1.2rem;
}

.guide-list span {
  color: var(--muted);
  font-size: 0.9rem;
}

/* --------------------------------------------------------------- search */

.search-hero {
  padding: 48px 0 12px;
}

.search-hero--center {
  text-align: center;
}

.search-hero--center .breadcrumbs {
  justify-content: center;
}

.search-group {
  margin-top: 36px;
}

.search-group h2 {
  font-size: 1.3rem;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
}

.search-result {
  display: block;
  padding: 16px 18px;
  border-bottom: 1px solid var(--border);
  color: var(--ink);
  border-radius: 0;
  transition: background-color 140ms ease, padding 140ms ease;
}

a.search-result:hover {
  background: var(--blue-50);
  padding-left: 24px;
  text-decoration: none;
}

.search-result strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.1rem;
}

.search-result span {
  color: var(--muted);
  font-size: 0.9rem;
}

/* ------------------------------------------------- homepage card sections */

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

.model-card-cta {
  margin-top: auto;
  width: 100%;
  justify-content: center;
  text-align: center;
}

.model-card .metric-line {
  margin-top: auto;
}

.model-card .model-card-cta {
  margin-top: 4px;
}

.task-band {
  padding: 76px 0;
}

.task-band .section-head h2 {
  color: #fff;
}

.task-band .section-head p {
  color: #a9bfd4;
}

.task-band .section-label {
  color: var(--blue-300);
}

.task-band .section-label::before {
  background: var(--grad-primary);
}

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

.task-card {
  display: flex;
  flex-direction: column;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid transparent;
  overflow: hidden;
  color: var(--ink);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.task-card:hover {
  text-decoration: none;
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.task-media {
  display: block;
  height: 100px;
  background: var(--grad-dark);
}

.task-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.task-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 13px 15px;
  font-weight: 600;
  font-size: 0.9rem;
}

.task-arrow {
  color: var(--blue-500);
  font-weight: 800;
  flex: none;
}

.guide-panel {
  padding: 28px;
  background: var(--grad-soft);
  border: 1px solid var(--blue-100);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xs);
}

.guide-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 300px));
  justify-content: center;
  gap: 18px;
}

.guide-card {
  display: flex;
  gap: 14px;
  padding: 18px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--ink);
  transition: border-color 160ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.guide-card:hover {
  text-decoration: none;
  border-color: var(--blue-400);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.guide-thumb {
  width: 88px;
  height: 88px;
  flex: none;
  border-radius: 12px;
  overflow: hidden;
  background: var(--surface-sunken);
}

.guide-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.guide-body {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.guide-body strong {
  font-family: var(--font-display);
  font-size: 1.15rem;
  line-height: 1.2;
}

.guide-desc {
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.4;
}

.reading-time {
  margin-top: auto;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--blue-600);
}

/* ---------------------------------------------------------- home guide cards */

#guias {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, var(--surface-alt) 0%, var(--surface) 100%);
}

#guias .section-head {
  max-width: 760px;
  margin-bottom: 30px;
}

#guias .guide-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  justify-content: stretch;
}

#guias .guide-card {
  display: grid;
  grid-template-rows: 218px 1fr;
  gap: 0;
  min-width: 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 22px;
  background: var(--surface);
  box-shadow: 0 10px 28px rgba(6, 26, 43, 0.08);
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

#guias .guide-card:hover {
  border-color: var(--blue-300);
  background: var(--surface);
  box-shadow: 0 18px 38px rgba(6, 26, 43, 0.14);
  transform: translateY(-5px);
}

#guias .guide-thumb {
  position: relative;
  width: auto;
  height: auto;
  border-radius: 0;
  background: var(--navy-900);
}

#guias .guide-thumb::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, rgba(7, 13, 24, 0.02) 25%, rgba(7, 13, 24, 0.42) 100%);
  pointer-events: none;
}

#guias .guide-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 420ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

#guias .guide-card:hover .guide-thumb img {
  transform: scale(1.045);
}

#guias .guide-body {
  gap: 12px;
  min-height: 204px;
  padding: 22px 22px 20px;
  background: var(--surface);
}

#guias .guide-body strong {
  font-size: clamp(1.2rem, 1.05rem + 0.35vw, 1.42rem);
  line-height: 1.1;
}

#guias .guide-desc {
  display: -webkit-box;
  overflow: hidden;
  color: var(--muted-strong);
  font-size: 0.87rem;
  line-height: 1.45;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

#guias .guide-cta {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 10px;
  min-height: 40px;
  margin-top: auto;
  padding: 8px 12px 8px 15px;
  border: 1px solid var(--blue-100);
  border-radius: var(--radius-pill);
  background: var(--blue-50);
  color: var(--blue-700);
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 1;
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease,
    gap 180ms ease;
}

#guias .guide-cta svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

#guias .guide-card:hover .guide-cta,
#guias .guide-card:focus-visible .guide-cta {
  gap: 13px;
  border-color: var(--blue-600);
  background: var(--blue-600);
  color: #fff;
}

@media (max-width: 1120px) {
  #guias .guide-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  #guias .guide-grid {
    grid-template-columns: 1fr;
  }

  #guias .guide-card {
    grid-template-rows: 200px 1fr;
  }
}

/* ----------------------------------------------------------- home brands */

#marcas {
  position: relative;
  overflow: hidden;
  background: var(--surface);
}

#marcas .section-head {
  justify-content: center;
  margin-bottom: 34px;
  text-align: center;
}

#marcas .section-head h2 {
  margin: 0;
  color: var(--ink);
}

#marcas .brand-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  justify-content: stretch;
}

#marcas .brand-chip {
  width: 100%;
  min-width: 0;
  height: 92px;
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--surface-alt);
  color: var(--navy-900);
  box-shadow: var(--shadow-xs);
  font-size: 1.02rem;
  transition: border-color 180ms ease, background 180ms ease, box-shadow 180ms ease,
    transform 180ms ease;
}

#marcas .brand-chip:hover {
  border-color: var(--cyan-400);
  background: #fff;
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

#marcas .brand-chip img {
  max-width: 100%;
  max-height: 50px;
}

@media (max-width: 1120px) {
  #marcas .brand-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  #marcas .brand-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  #marcas .brand-chip {
    height: 78px;
    padding: 12px;
    font-size: 0.94rem;
  }
}

.trust-bar {
  background: var(--surface-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 16px 0;
}

.trust-bar-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.trust-bar p {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  color: var(--ink);
  font-size: 0.88rem;
}

.trust-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--grad-primary);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 800;
  flex: none;
}

.trust-link {
  font-weight: 700;
  white-space: nowrap;
}

/* ------------------------------------------------------------ responsive */

@media (max-width: 1120px) {
  .header-search input {
    width: 160px;
  }

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

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

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

  .hero-copy {
    text-align: center;
    margin-inline: auto;
  }

  .hero-lede {
    margin-inline: auto;
    max-width: none;
  }

  .hero-note {
    display: none;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-visual {
    order: -1;
    min-height: 280px;
  }

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

  .layout__aside,
  .article-index {
    position: static;
  }

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

@media (max-width: 920px) {
  .header-nav {
    display: none;
  }

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

  .site-header.is-open .header-nav {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: var(--navy-800);
    padding: 16px 20px;
    gap: 4px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .site-header.is-open .header-nav a {
    padding: 12px 14px;
    border-radius: var(--radius-sm);
  }

  .header-search input {
    width: 44vw;
  }

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

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

  .finder-grid--3 {
    grid-template-columns: 1fr;
  }

  .pros-limitations,
  .pros-cons,
  .fit-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .header-search input {
    width: 34vw;
  }

  .header-search {
    display: none;
  }

  .section-head {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 12px;
    margin-bottom: 24px;
  }

  .section-head h2 {
    margin-bottom: 4px;
  }

  .section-head p {
    max-width: none;
  }

  .section-link {
    white-space: normal;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 36px;
    text-align: left;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-social {
    justify-content: center;
  }

  .footer-inner {
    padding: 48px 20px 28px;
  }

  .cookie-consent {
    right: 10px;
    bottom: 10px;
    left: 10px;
    width: auto;
    transform: none;
  }

  .cookie-consent__inner {
    grid-template-columns: 1fr;
    gap: 4px;
    padding: 8px 12px;
  }

  .cookie-consent__copy {
    display: flex;
    flex-wrap: wrap;
    gap: 0 7px;
    align-items: baseline;
  }

  .cookie-consent__actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .cookie-consent h2 {
    margin-bottom: 2px;
    font-size: 0.98rem;
  }

  .cookie-consent__copy > p:not(.cookie-consent__links) {
    font-size: 0.72rem;
    line-height: 1.2;
  }

  .cookie-consent__links {
    font-size: 0.72rem !important;
  }

  .cookie-consent__actions .button {
    width: 100%;
    padding: 8px 4px;
    font-size: 0.74rem;
  }

  .cookie-consent__actions .button {
    width: 100%;
  }

  .legal-details {
    padding-inline: 16px;
  }

  .legal-details > div {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .section {
    padding: 52px 0;
  }

  .hero {
    background:
      radial-gradient(120% 80% at 50% -10%, rgba(45, 212, 191, 0.22), transparent 60%),
      linear-gradient(
        180deg,
        rgba(7, 16, 33, 0.82) 0%,
        rgba(7, 16, 33, 0.5) 46%,
        rgba(7, 16, 33, 0.9) 100%
      ),
      url("/static/editorial/hero.png") 65% center / cover no-repeat,
      #071021;
  }

  .hero-inner {
    padding: 64px 14px 40px;
  }

  .hero-copy {
    text-align: center;
  }

  .hero h1 {
    margin: 18px 0 14px;
    font-size: clamp(2.6rem, 2.1rem + 3vw, 3.4rem);
    font-family: var(--font-body);
    font-weight: 800;
    letter-spacing: -0.02em;
  }

  .hero-lede {
    margin-inline: auto;
    max-width: none;
    font-size: 1.02rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: center;
  }

  .hero-actions .button,
  .hero-actions .button--ghost {
    width: 100%;
  }

  .finder {
    padding: 24px;
  }

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

  .card-grid--4,
  .task-grid,
  .task-band .task-grid,
  .guide-grid,
  .catalog-grid {
    grid-template-columns: 1fr;
  }

  .catalog-field,
  .catalog-field--search {
    flex-basis: 100%;
  }

  .catalog-submit,
  .catalog-clear {
    flex: 1 1 auto;
  }

  .tabs {
    border-radius: var(--radius);
  }

  .tabs a,
  .tabs button {
    flex: 1 1 auto;
    justify-content: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
}

/* ==========================================================================
   Design polish — premium layer (cascade overrides, additive)
   ========================================================================== */

/* Ambient water-tint wash so long white sections never look flat. */
body {
  background:
    radial-gradient(1100px 720px at 100% -8%, rgba(15, 176, 224, 0.07), transparent 62%),
    radial-gradient(960px 720px at -10% 112%, rgba(18, 102, 224, 0.06), transparent 62%),
    var(--surface);
}

::selection {
  background: var(--blue-500);
}

:focus-visible {
  outline: 2px solid var(--blue-500);
  outline-offset: 2px;
  box-shadow: 0 0 0 5px rgba(35, 119, 242, 0.16);
}

h1,
h2,
h3,
h4 {
  letter-spacing: -0.012em;
}

h1 {
  color: var(--navy-900);
}

h2 {
  color: var(--navy-800);
}

/* -------------------------------------------- premium buttons */
.button--primary,
.btn-primary {
  background-image: var(--grad-primary);
  background-size: 140% 140%;
  background-position: 0% 50%;
  box-shadow: 0 10px 26px rgba(18, 102, 224, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.24);
  transition: transform 160ms ease, box-shadow 180ms ease, background-position 300ms ease;
}

.button--primary:hover,
.btn-primary:hover {
  background-position: 92% 50%;
  box-shadow: 0 16px 38px rgba(21, 130, 230, 0.42), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.button--ghost:hover,
.btn-secondary:hover {
  border-color: var(--blue-400);
  box-shadow: 0 6px 16px rgba(35, 119, 242, 0.16);
}

/* --------------------------------------------- header depths */
.site-header {
  background: linear-gradient(180deg, rgba(7, 13, 24, 0.94), rgba(9, 18, 32, 0.82));
  box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.06);
}

.brand-mark {
  color: #bfe0ff;
}

.header-search input {
  background: rgba(255, 255, 255, 0.07);
}

.header-search input:focus {
  background: rgba(255, 255, 255, 0.14);
  border-color: var(--blue-300);
  box-shadow: 0 0 0 4px rgba(35, 119, 242, 0.18);
}

.header-nav a.is-active {
  background: var(--grad-primary);
  color: #fff;
  box-shadow: 0 8px 20px rgba(18, 102, 224, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

/* ------------------------------- flagship cards: top accent */
.model-card,
.comparison-card {
  position: relative;
}

.model-card::before,
.comparison-card::before {
  display: none;
  content: "";
  position: absolute;
  top: 0;
  left: 14px;
  right: 14px;
  height: 3px;
  border-radius: 0 0 4px 4px;
  background: var(--grad-primary);
  opacity: 0;
  transform: scaleX(0.6);
  transition: opacity 220ms ease, transform 220ms ease;
}

.model-card:hover::before,
.comparison-card:hover::before {
  opacity: 1;
  transform: scaleX(1);
}

/* cohesive hover elevation across every link-card family */
.model-card:hover,
.finder-card:hover,
.category-card:hover,
.comparison-card:hover,
.brand-chip:hover,
.task-card:hover,
.guide-card:hover,
.guide-list a:hover,
.related-list a:hover,
.article-card:hover .article-media {
  box-shadow: none;
}

.model-card,
.finder-card,
.category-card,
.comparison-card,
.brand-chip,
.guide-card,
.guide-list a,
.task-card,
.article-card,
.related-list a {
  border: 1px solid transparent;
  background: transparent;
  box-shadow: none;
}

.model-card:hover,
.finder-card:hover,
.category-card:hover,
.comparison-card:hover,
.brand-chip:hover,
.guide-card:hover,
.guide-list a:hover,
.task-card:hover,
.article-card:hover,
.related-list a:hover {
  border-color: transparent;
  background: transparent;
}

/* subtle gradient frame for floating panels, keep inner surface intact */
.panel,
.article-index {
  border: 1px solid transparent;
  background:
    linear-gradient(var(--surface), var(--surface)) padding-box,
    linear-gradient(150deg, rgba(30, 120, 230, 0.18), rgba(52, 195, 240, 0.24) 50%, rgba(45, 212, 191, 0.20)) border-box;
  box-shadow: var(--shadow-sm), inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

/* -------------------------------------------- refined chips */
.chip {
  background: linear-gradient(180deg, #ffffff, var(--blue-50));
  border: 1px solid var(--blue-100);
  box-shadow: var(--shadow-xs);
}

/* -------------------------------------- panels and tables */
.panel {
  box-shadow: var(--shadow-sm), inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

thead th {
  background: linear-gradient(180deg, #f8fbfe, #eef3fa);
  border-bottom: 1px solid var(--border-strong);
}

tbody tr:hover td {
  background: linear-gradient(180deg, var(--blue-50), #f0f7ff);
}

/* -------------------------------------------- FAQ details */
.faq details[open] {
  box-shadow: var(--shadow-sm), 0 0 0 1px rgba(35, 119, 242, 0.25);
}

.faq summary::after {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--blue-100);
  color: var(--blue-700);
  font-size: 1rem;
  float: right;
}

.faq details[open] summary::after {
  background: var(--grad-primary);
  color: #fff;
  content: "−";
}

/* ----------- callout / offer cards: accent rail + depth */
.callout {
  border-left: 4px solid var(--blue-500);
}

.offer-card {
  border-left: 4px solid var(--cyan-500);
  background: linear-gradient(150deg, #ffffff, var(--blue-50));
  box-shadow: var(--shadow-sm);
}

/* ------------------------------------------- article links */
.article a {
  text-decoration: underline;
  text-decoration-color: rgba(18, 102, 224, 0.35);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.article a:hover {
  text-decoration-color: var(--blue-600);
  text-decoration-thickness: 2px;
}

/* ------------------------------------------------ footer */
.site-footer {
  box-shadow: 0 -24px 70px rgba(7, 16, 33, 0.14);
}

.footer-social a:hover {
  background: linear-gradient(120deg, var(--blue-600), var(--cyan-500));
  box-shadow: 0 10px 22px rgba(18, 102, 224, 0.35);
}

/* ------------------------------------- listas de contenido no visibles */
/* Los bloques de tipo "list" no se muestran en ningun tipo de pagina.
   Se conservan las listas estructurales: navegacion del footer, fuentes
   consultadas y "Tambien puede interesarte". */
.content-list {
  display: none;
}

/* Encabezado que se quedaba sin contenido al ocultar su lista. */
:is(.article, .model-about) :is(h2, h3):has(+ .content-list):not(
    :has(+ .content-list ~ :is(p, ul, .callout))
  ) {
  display: none;
}

/* ------------------------------------- #modelos showcase — approved "Violeta blanco" */

#modelos {
  padding: 56px 0 64px;
  background: #fff;
}

#modelos .section-head > div {
  display: flex;
  flex-direction: column;
  align-items: center;
}

#modelos .section-head h2 {
  max-width: 13ch;
  margin: 0;
  color: var(--navy-950);
  font-family: var(--font-display);
  font-size: clamp(2.7rem, 6vw, 4.5rem);
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

#modelos .section-head p {
  max-width: 46ch;
  margin: 0 auto;
  color: #3e4d61;
}

#modelos .section-link {
  min-height: 52px;
  padding: 0 24px;
  gap: 12px;
  border: 2px solid #0b53b8;
  background: #0b53b8;
  color: #fff;
  font-size: 1rem;
  box-shadow: none;
}

#modelos .section-link:hover {
  border-color: var(--navy-950);
  background: var(--navy-950);
  color: #fff;
  text-decoration: none;
  box-shadow: 0 10px 22px rgba(7, 13, 24, 0.16);
  transform: translateY(-2px);
}

#modelos .section-link:focus-visible {
  outline: 3px solid #2377f2;
  outline-offset: 4px;
}

@media (max-width: 600px) {
  #modelos .section-head h2 {
    max-width: 11ch;
    font-size: clamp(2.5rem, 11vw, 3.25rem);
  }

  #modelos .section-head p {
    max-width: 34ch;
  }

  #modelos .section-link {
    min-height: 48px;
    padding: 0 20px;
  }
}

#modelos .model-card {
  display: grid;
  grid-row: span 5;
  grid-template-rows: subgrid;
  grid-template-areas:
    "photo"
    "brand"
    "name"
    "specs"
    "actions";
  gap: 12px;
  align-items: start;
  padding: 14px;
  background: var(--surface-alt);
  border: 1px solid var(--border);
  border-radius: 18px;
  color: var(--ink);
  box-shadow: none;
}

#modelos .model-card:hover {
  border-color: rgba(35, 119, 242, 0.35);
  background: #fff;
  box-shadow: 0 14px 30px rgba(16, 35, 60, 0.12);
  text-decoration: none;
  transform: translateY(-4px);
}

#modelos .model-card:focus-visible {
  outline: 3px solid #2377f2;
  outline-offset: 3px;
}

#modelos .model-card:active {
  transform: translateY(-1px);
}

#modelos .model-photo {
  grid-area: photo;
  height: 150px;
  margin: 0;
  padding: 8px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
}

#modelos .model-card--tagged .model-brand {
  position: static;
  z-index: auto;
  grid-area: brand;
  align-self: start;
  justify-self: start;
  box-shadow: none;
}

#modelos .model-name {
  grid-area: name;
  color: var(--ink);
  font-size: 1.04rem;
  line-height: 1.2;
}

#modelos .model-spec-line {
  grid-area: specs;
}

#modelos .model-name:hover {
  color: #0b53b8;
  text-decoration: none;
}

.model-actions {
  grid-area: actions;
  margin-top: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.model-actions .model-cta {
  flex: 1 1 auto;
  justify-content: center;
  margin: 0;
  min-height: 44px;
  padding: 0 16px;
  gap: 8px;
  background: #0b53b8;
  border: 1.5px solid #0b53b8;
  border-radius: var(--radius-pill);
  color: #fff;
  font-size: 0.88rem;
  font-weight: 700;
  transition: background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.model-actions .model-cta:hover {
  background: var(--navy-950);
  border-color: var(--navy-950);
  color: #fff;
  text-decoration: none;
}

.model-actions .model-cta--amazon {
  background: var(--amazon);
  border-color: var(--amazon);
  color: #1a1206;
}

.model-actions .model-cta--amazon::after {
  content: none;
}

.model-actions .model-cta--amazon:hover {
  background: var(--amazon-hover);
  border-color: var(--amazon-hover);
  color: #1a1206;
}

.model-actions .model-cta:focus-visible {
  outline: 3px solid #2377f2;
  outline-offset: 2px;
}

@media (min-width: 1121px) {
  #modelos {
    padding: 78px 0 86px;
  }

  #modelos .section-head.section-head--center {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    text-align: left;
  }

  #modelos .section-head > div {
    flex-direction: row;
    align-items: baseline;
    gap: 20px;
  }

  #modelos .section-head h2 {
    max-width: none;
    font-size: clamp(2rem, 3vw, 2.5rem);
    line-height: 1.1;
    white-space: nowrap;
  }

  #modelos .section-head p {
    max-width: none;
    margin: 0;
    white-space: nowrap;
  }

  #modelos .section-head.section-head--center .section-link {
    align-self: center;
  }

  #modelos .model-photo {
    height: 176px;
  }

  #modelos .model-name {
    font-size: 1.12rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  #modelos .section-link,
  #modelos .section-link::after,
  #modelos .model-card,
  #modelos .model-photo img,
  #modelos .model-cta,
  #modelos .model-cta::after {
    transition: none;
  }

  #modelos .section-link:hover,
  #modelos .model-card:hover,
  #modelos .model-card:active,
  #modelos .section-link:hover::after,
  #modelos .model-card:hover .model-cta::after,
  #modelos .model-card:hover .model-photo img {
    transform: none;
  }
}
