/* hallmark v2.0.0 | theme: kiln (deal: manual) | kiln: ember | genre: atmospheric | shape: hub + long guide | signature: los tres niveles de calor marcados con la rampa de temperatura | material: real fichas de Amazon.es (nov 2026), fotos de biblioteca Wikimedia | absent: precios, valoraciones, logos, testimonios */
/* critique: frío en la foto, calor solo en la rampa y en el botón; cada pantalla una idea; nada inventado. */
/* by request: degradado rojo a morado en fondo, botones, bandas y numerales (palabras del usuario por encima del tema kiln, que prohíbe un tercer tono) */
/* waive 58: la guía supera 450 palabras porque es un artículo comparativo pensado para SEO; la home respeta el límite. */

:root {
  --color-paper: oklch(13% 0.012 40);
  --color-paper-2: oklch(17.5% 0.016 40);
  --color-paper-3: oklch(22% 0.018 40);
  --color-ink: oklch(94% 0.02 80);
  --color-ink-2: oklch(84% 0.025 70);
  --color-muted: oklch(72% 0.03 60);
  --color-rule: oklch(96% 0.01 80 / 0.12);
  --color-accent: oklch(70% 0.2 45);
  --color-accent-hover: oklch(75% 0.19 50);
  --color-accent-ink: oklch(14% 0.02 40);
  --color-focus: oklch(76% 0.19 56);
  --color-scrim: oklch(13% 0.012 40 / 0.6);
  --color-white: oklch(99% 0 0);
  --grad-ember: linear-gradient(120deg, oklch(54% 0.21 27), oklch(46% 0.2 345) 60%, oklch(42% 0.18 315));
  --grad-ember-hover: linear-gradient(120deg, oklch(59% 0.21 30), oklch(51% 0.2 345) 60%, oklch(47% 0.18 315));
  --grad-band: linear-gradient(135deg, oklch(20% 0.07 25), oklch(18% 0.07 330));
  --glow-red: oklch(32% 0.13 25 / 0.5);
  --glow-purple: oklch(30% 0.13 320 / 0.55);
  --heat-1: oklch(22% 0.07 22);
  --heat-2: oklch(40% 0.16 27);
  --heat-3: oklch(60% 0.21 36);
  --heat-4: oklch(76% 0.19 56);
  --heat-5: oklch(89% 0.14 78);
  --heat-6: oklch(98% 0.04 95);

  --font-display: "Boska", "Iowan Old Style", Georgia, serif;
  --font-body: "Geist", ui-sans-serif, system-ui, sans-serif;

  --text-sm: 0.9375rem;
  --text-base: 1.0625rem;
  --text-lg: 1.25rem;
  --text-xl: clamp(1.6rem, 1.2rem + 1.4vw, 2.25rem);
  --text-2xl: clamp(2.2rem, 1.4rem + 3vw, 3.75rem);
  --text-hero: clamp(2.75rem, 1.6rem + 4.6vw, 5.25rem);
  --text-figure: clamp(4rem, 2rem + 8vw, 9rem);

  --space-xs: 0.5rem;
  --space-sm: 0.875rem;
  --space-md: 1.5rem;
  --space-lg: 2.25rem;
  --space-xl: clamp(3rem, 2rem + 4vw, 6rem);
  --space-2xl: clamp(4.5rem, 3rem + 6vw, 9rem);

  --container: 1200px;
  --measure: 64ch;
  --gutter: clamp(1.25rem, 0.8rem + 2vw, 2.5rem);

  --radius-card: 28px;
  --radius-well: 16px;
  --radius-pill: 999px;
  --rule-hair: 1px;
  --shadow-card: 0 50px 90px -30px oklch(8% 0.01 40 / 0.5);
  --tracking-display: -0.02em;
  --display-weight: 500;

  --dur-short: 160ms;
  --dur-long: 480ms;
  --ease-out: cubic-bezier(0.2, 0.7, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html, body { overflow-x: clip; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background:
    radial-gradient(55% 45% at 92% 0%, var(--glow-purple), transparent 70%),
    radial-gradient(45% 40% at 0% 18%, var(--glow-red), transparent 70%),
    var(--color-paper);
  background-repeat: no-repeat;
  color: var(--color-ink);
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
::selection { background: color-mix(in oklab, var(--color-accent) 35%, transparent); }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: var(--display-weight);
  letter-spacing: var(--tracking-display);
  line-height: 1.04;
  margin: 0;
  color: var(--color-ink);
  overflow-wrap: break-word;
  min-width: 0;
  text-wrap: balance;
}
p { margin: 0; }
a { color: inherit; }

:focus-visible {
  outline: 2px solid var(--color-focus);
  outline-offset: 3px;
  border-radius: 4px;
  transition: none;
}

.skip {
  position: absolute; left: var(--gutter); top: -100px;
  background: var(--color-accent); color: var(--color-accent-ink);
  padding: var(--space-xs) var(--space-sm); border-radius: var(--radius-pill);
  z-index: 10;
}
.skip:focus-visible { top: var(--space-sm); }

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

/* nav */
.nav {
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--space-md);
  padding-block: var(--space-md);
}
.wordmark {
  font-family: var(--font-display); font-size: 1.375rem; letter-spacing: -0.01em;
  text-decoration: none; color: var(--color-ink);
}
.nav ul { display: flex; gap: var(--space-md); list-style: none; margin: 0; padding: 0; align-items: center; }
.nav a:not(.wordmark):not(.btn) {
  font-size: var(--text-sm); color: var(--color-ink-2); text-decoration: none;
  transition: color var(--dur-short) var(--ease-out);
}
.nav a:not(.wordmark):not(.btn):hover { color: var(--color-ink); }
.nav a[aria-current="page"] { color: var(--color-ink); }

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 50px; padding: 0 var(--space-lg);
  border-radius: var(--radius-pill);
  font-family: var(--font-body); font-weight: 500; font-size: var(--text-base);
  text-decoration: none; border: 0; cursor: pointer;
  transition: background-color var(--dur-short) var(--ease-out), box-shadow var(--dur-short) var(--ease-out);
}
.btn--primary { background: var(--grad-ember); color: var(--color-ink); }
.btn--primary:hover { background: var(--grad-ember-hover); }
.btn--primary:active { background: var(--grad-ember); box-shadow: inset 0 0 0 var(--rule-hair) var(--color-rule); }
.btn--ghost { background: transparent; color: var(--color-ink); box-shadow: inset 0 0 0 var(--rule-hair) var(--color-rule); }
.btn--ghost:hover { box-shadow: inset 0 0 0 var(--rule-hair) var(--color-ink-2); }
.btn--small { min-height: 42px; padding: 0 var(--space-md); font-size: var(--text-sm); }
.actions { display: flex; flex-wrap: wrap; gap: var(--space-sm); }

/* hero */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: var(--space-xl);
  align-items: center;
  padding-block: var(--space-lg) var(--space-xl);
  min-height: min(640px, calc(100svh - 90px));
}
.hero h1 { font-size: var(--text-hero); }
.hero .lede { font-size: var(--text-lg); color: var(--color-ink-2); max-width: 30ch; margin-block: var(--space-md) var(--space-lg); }

.photo {
  border-radius: min(2vw, var(--radius-card));
  outline: var(--rule-hair) solid color-mix(in oklab, var(--color-ink) 8%, transparent);
  outline-offset: -1px;
  overflow: hidden;
  position: relative;
  margin: 0;
  background: var(--color-paper-2);
}
.photo img { width: 100%; height: 100%; object-fit: cover; filter: saturate(0.85) contrast(1.06) brightness(0.92); }
.photo--hero { aspect-ratio: 5 / 4; box-shadow: var(--shadow-card); }
.photo--wide { aspect-ratio: 21 / 9; }

/* the heat card that stands on the hero photo */
.heat-card {
  position: absolute; left: var(--space-md); bottom: var(--space-md);
  width: min(300px, calc(100% - 2 * var(--space-md)));
  background: var(--color-paper-2);
  border: var(--rule-hair) solid var(--color-rule);
  border-radius: var(--radius-well);
  padding: var(--space-md);
  box-shadow: var(--shadow-card);
}
.heat-card .label { font-size: var(--text-sm); color: var(--color-muted); font-weight: 500; }
.heat-card .figure { font-size: clamp(2.25rem, 1.8rem + 1.6vw, 3rem); line-height: 1; margin-block: var(--space-xs) var(--space-sm); }
.heat-card .note { font-size: var(--text-sm); color: var(--color-ink-2); }

.figure {
  font-family: var(--font-display); font-weight: var(--display-weight);
  letter-spacing: -0.03em; font-variant-numeric: lining-nums tabular-nums;
}

/* heat levels: the signature */
.levels { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; margin-top: var(--space-sm); }
.levels span { display: block; height: 6px; border-radius: var(--radius-pill); }
.levels span:nth-child(1) { background: var(--heat-2); }
.levels span:nth-child(2) { background: var(--heat-3); }
.levels span:nth-child(3) { background: var(--heat-4); }
.levels-legend { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; margin-top: 6px; font-size: 0.8125rem; color: var(--color-muted); }

/* sections */
.section { padding-block: var(--space-2xl); }
.section + .section { border-top: var(--rule-hair) solid var(--color-rule); }
.section-head {
  display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: var(--space-lg); align-items: end; margin-bottom: var(--space-xl);
}
.section-head h2 { font-size: var(--text-2xl); }
.section-head p { color: var(--color-ink-2); max-width: 40ch; }

/* guide rows on the hub */
.rows { list-style: none; margin: 0; padding: 0; border-top: var(--rule-hair) solid var(--color-rule); }
.rows li {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 5fr) minmax(0, 2fr);
  gap: var(--space-md); align-items: center;
  padding-block: var(--space-lg);
  border-bottom: var(--rule-hair) solid var(--color-rule);
}
.rows h3 { font-size: var(--text-xl); }
.rows p { color: var(--color-ink-2); }
.rows .status { font-size: var(--text-sm); color: var(--color-muted); justify-self: end; }
.rows .rowlink { text-decoration: none; }
.rows .rowlink:hover h3 { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 6px; }

/* statement */
.statement { font-family: var(--font-display); font-size: var(--text-2xl); line-height: 1.08; letter-spacing: var(--tracking-display); max-width: 22ch; text-wrap: balance; }
.statement-note { margin-top: var(--space-lg); color: var(--color-ink-2); max-width: 52ch; }

/* band */
.band { background: var(--grad-band); border-block: var(--rule-hair) solid var(--color-rule); }

/* guide: quick answer table */
.table-wrap { overflow-x: auto; border: var(--rule-hair) solid var(--color-rule); border-radius: var(--radius-well); }
table { width: 100%; border-collapse: collapse; min-width: 640px; }
th, td { text-align: left; padding: var(--space-sm) var(--space-md); border-bottom: var(--rule-hair) solid var(--color-rule); vertical-align: top; }
th { font-size: var(--text-sm); color: var(--color-muted); font-weight: 500; }
tr:last-child td { border-bottom: 0; }
td a { color: var(--color-ink); text-underline-offset: 4px; }
td .best { font-family: var(--font-display); font-size: var(--text-lg); }

/* guide: product blocks */
.product {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
  gap: var(--space-xl);
  padding-block: var(--space-xl);
  border-top: var(--rule-hair) solid var(--color-rule);
}
.product:first-of-type { border-top: 0; padding-top: 0; }
.product .rank { font-family: var(--font-display); font-size: var(--text-figure); line-height: 0.9; color: var(--color-ink-2); background: var(--grad-ember-hover); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; width: fit-content; }
.product-photo { margin: var(--space-md) 0 0; background: var(--color-white); border-radius: var(--radius-well); overflow: hidden; aspect-ratio: 1 / 1; max-width: 360px; }
.product-photo img { width: 100%; height: 100%; object-fit: contain; padding: var(--space-sm); }
.product-photo--cover img { object-fit: cover; padding: 0; }
.product h3 { font-size: var(--text-xl); margin-bottom: var(--space-sm); }
.product .for { color: var(--color-ink-2); margin-bottom: var(--space-md); max-width: 52ch; }
.specs { margin: 0 0 var(--space-md); padding: 0; list-style: none; display: grid; gap: var(--space-xs); }
.specs li { padding-left: var(--space-md); position: relative; color: var(--color-ink); max-width: 60ch; }
.specs li::before { content: ""; position: absolute; left: 0; top: 0.72em; width: 8px; height: 1px; background: var(--color-muted); }
.verdict { color: var(--color-ink-2); max-width: 60ch; margin-bottom: var(--space-md); }
.verdict strong { color: var(--color-ink); font-weight: 500; }

/* prose */
.prose { max-width: var(--measure); }
.prose h2 { font-size: var(--text-xl); margin-block: var(--space-xl) var(--space-sm); }
.prose h2:first-child { margin-top: 0; }
.prose p + p { margin-top: var(--space-sm); }
.prose p { color: var(--color-ink-2); line-height: 1.65; }
.prose strong { color: var(--color-ink); font-weight: 500; }

.guide-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: var(--space-xl); align-items: start; }
.aside { position: sticky; top: var(--space-lg); }
.aside .photo { aspect-ratio: 3 / 4; }
.aside figcaption, .credit { font-size: 0.8125rem; color: var(--color-muted); margin-top: var(--space-xs); }

/* faq */
.faq { border-top: var(--rule-hair) solid var(--color-rule); max-width: 820px; }
.faq details { border-bottom: var(--rule-hair) solid var(--color-rule); }
.faq summary {
  cursor: pointer; list-style: none;
  padding-block: var(--space-md);
  font-family: var(--font-display); font-size: var(--text-lg);
  display: flex; justify-content: space-between; gap: var(--space-md);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--font-body); color: var(--color-muted); transition: transform var(--dur-short) var(--ease-out); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--color-ink-2); padding-bottom: var(--space-md); max-width: 64ch; }

.disclosure { font-size: var(--text-sm); color: var(--color-muted); max-width: 70ch; }

/* footer */
.footer { border-top: var(--rule-hair) solid var(--color-rule); padding-block: var(--space-xl) var(--space-lg); margin-top: var(--space-xl); }
.footer-top { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: var(--space-lg); }
.footer .wordmark { font-size: 2rem; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--space-xs); justify-content: end; text-align: right; }
.footer ul a { color: var(--color-ink-2); text-decoration: none; font-size: var(--text-sm); }
.footer ul a:hover { color: var(--color-ink); }
.footer .small { font-size: 0.8125rem; color: var(--color-muted); margin-top: var(--space-lg); max-width: 90ch; }
.footer .small a { color: var(--color-ink-2); }


/* articles */
.article-hero { padding-block: var(--space-xl) var(--space-lg); max-width: 920px; }
.article-hero h1 { font-size: var(--text-2xl); }
.article-hero .lede { font-size: var(--text-lg); color: var(--color-ink-2); max-width: 56ch; margin-top: var(--space-md); }
.article-meta { margin-top: var(--space-md); font-size: var(--text-sm); color: var(--color-muted); }
.article-photo { aspect-ratio: 21 / 9; margin-bottom: var(--space-xl); }
.article-body { display: grid; grid-template-columns: minmax(0, 1fr); justify-items: start; }
.article-body .prose h2 { font-size: var(--text-xl); }
.article-body .prose ul { color: var(--color-ink-2); padding-left: 1.2em; line-height: 1.65; }
.article-body .prose li + li { margin-top: var(--space-xs); }
.article-body .prose a { color: var(--color-ink); text-underline-offset: 4px; }
.proscons { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-md); margin-block: var(--space-xl); width: 100%; max-width: 980px; }
.proscons > div { background: var(--color-paper-2); border: var(--rule-hair) solid var(--color-rule); border-radius: var(--radius-well); padding: var(--space-lg); }
.proscons h2 { font-size: var(--text-xl); margin-bottom: var(--space-md); }
.proscons ul { margin: 0; padding: 0; list-style: none; display: grid; gap: var(--space-sm); }
.proscons li { color: var(--color-ink-2); padding-left: var(--space-md); position: relative; }
.proscons li strong { color: var(--color-ink); font-weight: 500; }
.proscons li::before { content: ""; position: absolute; left: 0; top: 0.65em; width: 8px; height: 8px; border-radius: 2px; }
.proscons .pros li::before { background: var(--grad-ember-hover); }
.proscons .cons li::before { background: var(--color-muted); }
.callout { background: var(--grad-band); border: var(--rule-hair) solid var(--color-rule); border-radius: var(--radius-well); padding: var(--space-lg); margin-block: var(--space-xl); width: 100%; max-width: 980px; display: flex; flex-wrap: wrap; gap: var(--space-md); align-items: center; justify-content: space-between; }
.callout p { font-family: var(--font-display); font-size: var(--text-xl); line-height: 1.1; max-width: 26ch; }
@media (max-width: 900px) { .proscons { grid-template-columns: minmax(0, 1fr); } .article-photo { aspect-ratio: 16 / 10; } }

/* legal page */
.legal .prose h2 { font-size: var(--text-lg); }

@media (max-width: 900px) {
  .hero { grid-template-columns: minmax(0, 1fr); min-height: 0; gap: var(--space-lg); }
  .hero .lede { max-width: 36ch; }
  .section-head, .guide-grid, .product, .footer-top { grid-template-columns: minmax(0, 1fr); }
  .aside { position: static; }
  .aside .photo { aspect-ratio: 16 / 10; }
  .rows li { grid-template-columns: minmax(0, 1fr); gap: var(--space-xs); }
  .rows .status { justify-self: start; }
  .product { gap: var(--space-sm); }
  .product .rank { font-size: 4rem; }
  .footer ul { justify-content: start; text-align: left; }
}
@media (max-width: 560px) {
  .nav ul li.hide-sm { display: none; }
  .actions .btn { flex: 1 1 100%; }
  .heat-card { position: static; width: auto; margin: var(--space-sm); }
  .photo--hero { aspect-ratio: auto; }
  .photo--hero img { aspect-ratio: 4 / 3; height: auto; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}
