/* opinionesboligrafo3d.com. Dirección artística "El Hogar".
   Cálido, mediterráneo. Crema cálida, terracota, ocre, oliva, tinta marrón.
   Titulares Young Serif, cuerpo Figtree. Colores OKLCH, nunca negro/blanco puro.
   Accesibilidad 40-70: cuerpo >=18px, interlineado >=1.6, contraste >=4.5:1,
   enlaces subrayados, objetivos tactiles >=48px, prefers-reduced-motion. */

:root {
  /* paleta El Hogar */
  --crema: oklch(0.96 0.025 80);
  --crema-2: oklch(0.93 0.03 78);
  --papel: oklch(0.985 0.012 84);
  --terracota: oklch(0.58 0.13 40);
  --terracota-d: oklch(0.49 0.12 38);
  --terracota-deep: oklch(0.40 0.10 38);
  --ocre: oklch(0.72 0.11 75);
  --ocre-d: oklch(0.58 0.11 68);
  --oliva: oklch(0.55 0.07 125);
  --oliva-d: oklch(0.45 0.065 125);
  --tinta: oklch(0.30 0.03 55);
  --tinta-soft: oklch(0.42 0.035 52);
  --linea: oklch(0.86 0.025 76);
  --sombra: oklch(0.40 0.06 45 / 0.18);
  --crema-on-terr: oklch(0.97 0.02 82);

  --read: 64ch;
  --pad: clamp(20px, 5vw, 72px);
  --maxw: 1180px;
  --r-lg: 26px;
  --r-md: 18px;
  --r-sm: 12px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--crema);
  color: var(--tinta);
  font-family: "Figtree", system-ui, -apple-system, sans-serif;
  font-size: clamp(18px, 0.6vw + 16px, 20px);
  line-height: 1.66;
  font-weight: 400;
  background-image:
    radial-gradient(58% 46% at 88% -4%, oklch(0.72 0.11 75 / 0.22), transparent 70%),
    radial-gradient(46% 40% at -6% 4%, oklch(0.58 0.13 40 / 0.10), transparent 72%);
  background-attachment: fixed;
}

h1, h2, h3 {
  font-family: "Young Serif", Georgia, "Times New Roman", serif;
  font-weight: 400;
  line-height: 1.08;
  color: var(--terracota-deep);
  text-wrap: balance;
  margin: 0 0 0.5em;
}
h1 { font-size: clamp(2.3rem, 5.4vw, 4rem); letter-spacing: -0.005em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); }
h3 { font-size: clamp(1.2rem, 1.8vw, 1.55rem); color: var(--terracota-d); }

p { margin: 0 0 1.1em; max-width: var(--read); }
strong { font-weight: 700; color: var(--terracota-deep); }

a {
  color: var(--terracota-d);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
  text-decoration-color: oklch(0.58 0.13 40 / 0.5);
}
a:hover { color: var(--terracota); text-decoration-color: currentColor; }

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

:focus-visible {
  outline: 3px solid var(--oliva-d);
  outline-offset: 3px;
  border-radius: 4px;
}

.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;
}

.skip {
  position: absolute; left: 12px; top: -60px;
  background: var(--terracota); color: var(--crema-on-terr);
  padding: 12px 18px; border-radius: var(--r-sm);
  text-decoration: none; font-weight: 600; z-index: 50;
  transition: top 0.2s;
}
.skip:focus { top: 12px; color: var(--crema-on-terr); }

/* ---------- header ---------- */
.site-head {
  display: flex; align-items: center; justify-content: space-between;
  gap: 18px; flex-wrap: wrap;
  max-width: var(--maxw); margin-inline: auto;
  padding: 20px var(--pad);
}
.brand {
  display: inline-flex; align-items: center; gap: 0.55em;
  text-decoration: none; color: var(--terracota-deep);
  font-family: "Young Serif", serif; font-size: 1.35rem;
  min-height: 48px;
}
.brand:hover { color: var(--terracota); }
.brand-sun { width: 30px; height: 30px; color: var(--ocre-d); display: inline-block; }
.brand-sun svg { width: 100%; height: 100%; }
.brand-name { line-height: 1.05; }

.site-nav { display: flex; gap: 4px; flex-wrap: wrap; align-items: center; }
.site-nav a {
  text-decoration: none; color: var(--tinta);
  font-weight: 600; font-size: 0.98rem;
  padding: 0.6em 0.95em; border-radius: 99px;
  min-height: 48px; display: inline-flex; align-items: center;
}
.site-nav a:hover { background: oklch(0.72 0.11 75 / 0.22); color: var(--terracota-deep); }
.site-nav a[aria-current="page"] {
  background: var(--terracota); color: var(--crema-on-terr);
  text-decoration: none;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5em;
  min-height: 52px; padding: 0.7em 1.5em; border-radius: 99px;
  font-family: "Figtree", sans-serif; font-weight: 700; font-size: 1.05rem;
  text-decoration: none; border: 2px solid transparent; cursor: pointer;
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.3s, background 0.2s;
}
.btn-pri { background: var(--terracota); color: var(--crema-on-terr); box-shadow: 0 10px 24px var(--sombra); }
.btn-pri:hover { background: var(--terracota-d); color: var(--crema-on-terr); transform: translateY(-3px); box-shadow: 0 16px 30px var(--sombra); }
.btn-ghost { background: transparent; color: var(--terracota-deep); border-color: var(--terracota); }
.btn-ghost:hover { background: var(--terracota); color: var(--crema-on-terr); }

/* ---------- photos ---------- */
.photo {
  margin: 0; border-radius: var(--r-lg); overflow: hidden;
  box-shadow: 0 20px 44px var(--sombra);
  background: var(--crema-2);
}
.photo img { width: 100%; height: 100%; aspect-ratio: var(--ar, 16 / 9); object-fit: cover; display: block; }
.photo-sm { box-shadow: 0 14px 32px var(--sombra); }

/* ---------- hero ---------- */
.hero {
  display: grid; grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(28px, 4vw, 60px); align-items: center;
  max-width: var(--maxw); margin: clamp(8px, 2vw, 28px) auto clamp(40px, 6vw, 76px);
  padding-inline: var(--pad);
}
.eyebrow {
  font-weight: 700; font-size: 0.92rem; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--oliva-d);
  display: inline-flex; align-items: center; gap: 0.5em; margin: 0 0 0.9rem;
}
.eyebrow::before { content: ""; width: 26px; height: 3px; background: var(--ocre); border-radius: 3px; }
.hero h1 { margin: 0 0 0.4em; }
.hero .lede {
  font-size: clamp(1.1rem, 1.3vw, 1.3rem); color: var(--tinta-soft);
  max-width: 40ch; margin-bottom: 1.6rem; line-height: 1.6;
}
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 1.4rem; }
.hero-art { position: relative; }
.hero-art .photo { transform: rotate(-1.4deg); }
.hero-chip {
  position: absolute; left: -10px; bottom: 22px;
  background: var(--papel); color: var(--terracota-deep);
  border-radius: 14px; padding: 11px 16px;
  box-shadow: 0 12px 26px var(--sombra);
  font-weight: 700; font-size: 0.95rem; display: inline-flex; align-items: center; gap: 0.5em;
}
.hero-chip::before { content: ""; width: 11px; height: 11px; border-radius: 50%; background: var(--oliva); flex: none; }

.rating { display: inline-flex; align-items: center; gap: 0.6em; margin: 0; font-size: 1rem; color: var(--tinta-soft); }
.rating .stars { color: var(--ocre-d); font-size: 1.15rem; letter-spacing: 1px; }
.rating strong { color: var(--terracota-deep); }

/* ---------- band (frase fuerte) ---------- */
.band { background: var(--terracota); color: var(--crema-on-terr); }
.band-in {
  max-width: var(--maxw); margin-inline: auto; padding: clamp(26px, 4vw, 44px) var(--pad);
  display: flex; align-items: center; gap: clamp(16px, 3vw, 30px);
}
.band-mark { width: 52px; height: 52px; flex: none; color: var(--ocre); }
.band-in p { margin: 0; max-width: 52ch; font-size: clamp(1.15rem, 1.8vw, 1.5rem); line-height: 1.45; color: var(--crema-on-terr); }
.band-in strong { color: var(--crema-on-terr); text-decoration: underline; text-decoration-color: var(--ocre); text-decoration-thickness: 3px; text-underline-offset: 4px; }

/* ---------- tldr ---------- */
.tldr {
  max-width: 880px; margin: clamp(40px, 6vw, 72px) auto;
  padding: clamp(24px, 3vw, 36px); background: var(--papel);
  border-radius: var(--r-lg); box-shadow: 0 14px 34px var(--sombra);
}
.tldr h2 { margin: 0 0 0.8em; }
.tldr-tag {
  display: inline-block; font-family: "Figtree", sans-serif; font-weight: 700;
  font-size: 0.85rem; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--crema-on-terr); background: var(--oliva);
  padding: 0.35em 0.9em; border-radius: 99px;
}
.tldr ul { margin: 0; padding-left: 1.25em; }
.tldr li { margin: 0.5em 0; max-width: none; }
.tldr li::marker { color: var(--ocre-d); }

/* ---------- section heads ---------- */
.sec-head { max-width: var(--maxw); margin: 0 auto; padding-inline: var(--pad); }
.kicker {
  font-weight: 700; font-size: 0.92rem; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--oliva-d); margin: 0 0 0.3em;
}
.sec-sub { color: var(--tinta-soft); max-width: 56ch; }

/* ---------- comparativa ---------- */
.compare-sec { max-width: var(--maxw); margin: clamp(40px, 6vw, 80px) auto; padding-inline: var(--pad); }
.compare-sec .sec-head { padding-inline: 0; margin-bottom: 1.4rem; }
.tablewrap { overflow-x: auto; border-radius: var(--r-md); box-shadow: 0 14px 34px var(--sombra); background: var(--papel); }
.compare { width: 100%; border-collapse: collapse; min-width: 720px; font-size: 1rem; }
.compare th, .compare td { text-align: left; padding: 16px 18px; vertical-align: top; border-bottom: 2px solid var(--linea); }
.compare thead th { background: var(--terracota); color: var(--crema-on-terr); font-family: "Figtree", sans-serif; font-weight: 700; font-size: 1.02rem; border-bottom: none; }
.compare thead th.us { background: var(--terracota-deep); }
.compare thead th .star { color: var(--ocre); }
.compare tbody th.crit { font-family: "Figtree", sans-serif; font-weight: 700; color: var(--terracota-deep); width: 22%; background: var(--crema-2); }
.compare td.us { background: oklch(0.72 0.11 75 / 0.16); font-weight: 600; color: var(--tinta); }
.compare tbody tr:last-child th, .compare tbody tr:last-child td { border-bottom: none; }
.note { max-width: var(--maxw); margin: 0.9rem auto 0; font-size: 0.92rem; color: var(--tinta-soft); }

/* ---------- split ---------- */
.split {
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(24px, 4vw, 52px);
  align-items: center; max-width: var(--maxw); margin: clamp(40px, 6vw, 80px) auto;
  padding-inline: var(--pad);
}
.split-copy h2 { margin-top: 0.1em; }
.split .photo { transform: rotate(1.2deg); }

/* ---------- verdict (bloque terracota grande) ---------- */
.verdict { background: var(--terracota-deep); color: var(--crema-on-terr); margin: clamp(40px, 6vw, 84px) 0; }
.verdict-in { max-width: var(--maxw); margin-inline: auto; padding: clamp(40px, 6vw, 76px) var(--pad); }
.verdict h2 { color: var(--crema-on-terr); }
.verdict-lead { color: oklch(0.95 0.02 82); font-size: clamp(1.1rem, 1.5vw, 1.3rem); max-width: 60ch; margin-bottom: 2rem; }
.verdict-lead strong { color: var(--ocre); }
.verdict-picks { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: clamp(18px, 2.5vw, 28px); margin-bottom: 2.2rem; }
.pick { background: oklch(0.97 0.02 82 / 0.10); border-radius: var(--r-md); padding: 22px 24px; }
.pick h3 { color: var(--ocre); margin: 0 0 0.4em; }
.pick p { color: oklch(0.95 0.02 82); margin: 0; max-width: none; }

/* ---------- cta shop ---------- */
.cta-shop { margin: 2rem 0 0.4rem; }
.cta-note { margin: 0.7em 0 0; font-size: 0.92rem; color: inherit; opacity: 0.9; max-width: 48ch; }
.verdict .cta-note { color: oklch(0.93 0.02 82); }

/* ---------- faq ---------- */
.faq-home { max-width: 880px; margin: clamp(40px, 6vw, 80px) auto; padding-inline: var(--pad); }
.faq-home .sec-head { padding-inline: 0; margin-bottom: 1.2rem; }
.faqlist { display: flex; flex-direction: column; gap: 12px; }
.qa { background: var(--papel); border-radius: var(--r-md); box-shadow: 0 6px 18px oklch(0.40 0.06 45 / 0.10); overflow: hidden; }
.qa summary {
  list-style: none; cursor: pointer; padding: 18px 22px; min-height: 52px;
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
}
.qa summary::-webkit-details-marker { display: none; }
.qa .q { font-family: "Young Serif", serif; font-size: 1.12rem; color: var(--terracota-deep); }
.qa .chev { width: 14px; height: 14px; border-right: 3px solid var(--ocre-d); border-bottom: 3px solid var(--ocre-d); transform: rotate(45deg); flex: none; transition: transform 0.25s; }
.qa[open] .chev { transform: rotate(-135deg); }
.qa .a { padding: 0 22px 20px; }
.qa .a p { margin: 0; color: var(--tinta-soft); }
.more { margin-top: 1.4rem; }

/* ---------- documento largo ---------- */
.doc { max-width: 820px; margin: clamp(12px, 2vw, 28px) auto clamp(40px, 6vw, 72px); padding-inline: var(--pad); }
.doc-head { margin-bottom: clamp(20px, 3vw, 32px); }
.doc-head .lede { font-size: clamp(1.12rem, 1.4vw, 1.3rem); color: var(--tinta-soft); max-width: 60ch; line-height: 1.6; }
.doc > .photo { margin-bottom: clamp(24px, 3vw, 38px); }
.doc-sec { margin: clamp(28px, 4vw, 44px) 0; }
.doc-sec h2 { margin-bottom: 0.5em; }
.doc-sec ul, .doc-sec ol { padding-left: 1.3em; max-width: var(--read); }
.doc-sec li { margin: 0.5em 0; }
.doc-sec li::marker { color: var(--ocre-d); }

/* ---------- pull quote ---------- */
.pull {
  margin: clamp(28px, 4vw, 44px) 0; padding: clamp(20px, 3vw, 30px) clamp(22px, 3vw, 34px);
  background: oklch(0.72 0.11 75 / 0.18); border-radius: var(--r-md);
  border-left: 6px solid var(--ocre);
}
.pull p {
  margin: 0; max-width: none; font-family: "Young Serif", serif;
  font-size: clamp(1.25rem, 2.2vw, 1.7rem); line-height: 1.32; color: var(--terracota-deep);
}

/* ---------- footer ---------- */
.site-foot { background: var(--tinta); color: oklch(0.9 0.02 80); margin-top: clamp(48px, 8vw, 96px); }
.foot-in { max-width: var(--maxw); margin-inline: auto; padding: clamp(34px, 5vw, 56px) var(--pad); }
.foot-band { color: var(--ocre); height: 22px; margin-bottom: 22px; opacity: 0.85; }
.foot-band .tile { width: 100%; height: 22px; }
.foot-edit { color: oklch(0.93 0.015 82); max-width: 70ch; font-size: 1rem; }
.foot-edit strong { color: var(--ocre); }
.foot-meta { font-size: 0.9rem; color: oklch(0.82 0.02 80); max-width: 70ch; margin-bottom: 0.6em; }
.site-foot a { color: var(--ocre); text-decoration-color: oklch(0.72 0.11 75 / 0.5); }
.site-foot a:hover { color: oklch(0.8 0.11 78); }
.foot-links { margin-top: 1em; font-weight: 600; }

/* ---------- responsive ---------- */
@media (max-width: 880px) {
  .hero { grid-template-columns: 1fr; }
  .hero-art { order: -1; max-width: 440px; }
  .split { grid-template-columns: 1fr; }
  .split .photo, .hero-art .photo { transform: none; }
  .band-in { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
