/* ============================================================
   LAMBERTS® — Blog post · "Creatina monohidrato: calidad"
   Estilos editoriales sobre la base de style.css
   ============================================================ */

/* ---------- Barra de progreso de lectura ---------- */

.read-progress {
  position: fixed;
  top: 0; left: 0;
  z-index: 200;
  width: 100%; height: 3px;
  background: transparent;
  pointer-events: none;
}
.read-progress__bar {
  display: block;
  height: 100%;
  width: 100%;
  background: linear-gradient(90deg, var(--red), #FF6B74);
  transform-origin: left;
  transform: scaleX(0);
}

/* ---------- Hero editorial ---------- */

.phero {
  position: relative;
  padding: calc(var(--nav-h) + 74px) 0 120px;
  background:
    radial-gradient(1000px 560px at 85% 18%, rgba(1, 95, 190, .8), transparent 62%),
    linear-gradient(135deg, var(--blue-ink) 0%, var(--blue-deep) 55%, #0A3E7E 100%);
  color: #fff;
  overflow: hidden;
}
.phero::after {
  content: '';
  position: absolute;
  inset: auto 0 0 0;
  height: 140px;
  background: linear-gradient(to bottom, transparent, rgba(4, 31, 66, .5));
  pointer-events: none;
}
.phero .eyebrow { color: #7FB3E8; }

.phero__grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 56px;
  align-items: center;
}

.phero__title {
  margin-top: 24px;
  font-size: clamp(38px, 5.2vw, 72px);
  font-weight: 900;
  font-stretch: 118%;
  line-height: 1.02;
  letter-spacing: -.01em;
  text-transform: uppercase;
}
.phero__title .accent { color: var(--red); }
.phero__title .thin { font-weight: 300; font-stretch: 100%; }

.phero__lead {
  margin-top: 26px;
  max-width: 560px;
  font-size: clamp(16px, 1.5vw, 19px);
  line-height: 1.7;
  color: rgba(255,255,255,.82);
}

.phero__meta {
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 22px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(255,255,255,.6);
}
.phero__meta span { display: inline-flex; align-items: center; gap: 10px; }
.phero__meta span::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--red);
}
.phero__meta span:first-child::before { display: none; }

.phero__stage {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 340px;
}
.phero__ring {
  position: absolute;
  width: min(24vw, 320px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #FF5560, var(--red) 55%, var(--red-dark));
  box-shadow:
    0 34px 80px -28px rgba(0,0,0,.55),
    inset 0 -18px 44px rgba(0,0,0,.25);
}
.phero__ring::after {
  content: '';
  position: absolute;
  inset: -20px;
  border-radius: 50%;
  border: 1px dashed rgba(255,255,255,.35);
  animation: spin 40s linear infinite;
}
.phero__product {
  position: relative;
  z-index: 2;
  width: min(20vw, 260px);
  height: auto;
  filter: drop-shadow(0 36px 36px rgba(0,0,0,.45));
  animation: bob 6s ease-in-out infinite;
}

/* ---------- Cuerpo del artículo ---------- */

.post {
  position: relative;
  padding: 90px 0 110px;
  background: var(--paper);
}
.post__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 70px;
  align-items: start;
}

.prose {
  max-width: 760px;
  font-size: 17.5px;
  line-height: 1.85;
  color: var(--ink-soft);
}
.prose > * + * { margin-top: 26px; }

.prose p strong { color: var(--ink); }

.prose a:not(.btn) {
  color: var(--blue);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: rgba(1, 79, 162, .35);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
  transition: color .25s, text-decoration-color .25s;
}
.prose a:not(.btn):hover { color: var(--red); text-decoration-color: var(--red); }

.prose h2 {
  margin-top: 74px;
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 850;
  font-stretch: 115%;
  line-height: 1.12;
  letter-spacing: -.005em;
  text-transform: uppercase;
  color: var(--ink);
  display: flex;
  align-items: baseline;
  gap: 18px;
}
.prose h2::before {
  content: attr(data-num);
  flex: 0 0 auto;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .14em;
  color: var(--red);
  border: 1.5px solid var(--red);
  border-radius: 999px;
  padding: 5px 11px;
  transform: translateY(-4px);
}

/* Lede (primer párrafo) */
.prose .lede {
  font-size: clamp(19px, 1.8vw, 22px);
  line-height: 1.75;
  color: var(--ink);
  font-weight: 500;
}

/* Frase destacada inline (respuesta breve) */
.prose .standfirst {
  font-size: clamp(19px, 1.8vw, 22px);
  line-height: 1.6;
  font-weight: 800;
  font-stretch: 110%;
  color: var(--ink);
}

/* Pull-quote */
.pull {
  position: relative;
  margin: 48px 0;
  padding: 34px 38px 34px 96px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 24px 55px -35px rgba(6, 44, 94, .3);
  font-size: clamp(19px, 1.9vw, 23px);
  font-weight: 800;
  font-stretch: 112%;
  line-height: 1.45;
  color: var(--blue-deep);
}
.pull::before {
  content: '“';
  position: absolute;
  top: 18px; left: 30px;
  font-size: 84px;
  font-weight: 900;
  line-height: 1;
  color: var(--red);
}

/* Listas */
.prose ul {
  list-style: none;
  display: grid;
  gap: 12px;
  padding: 4px 0;
}
.prose ul li {
  position: relative;
  padding-left: 34px;
}
.prose ul li::before {
  content: '';
  position: absolute;
  left: 0; top: 8px;
  width: 18px; height: 18px;
  border-radius: 50%;
  background:
    linear-gradient(var(--red), var(--red)) center/8px 2px no-repeat,
    linear-gradient(var(--red), var(--red)) center/2px 8px no-repeat,
    #FDE7E9;
  transform: rotate(45deg);
}
.prose ul li strong { color: var(--ink); }

/* Tarjeta de especificaciones del producto */
.spec {
  margin: 44px 0;
  background: var(--blue-deep);
  color: #fff;
  border-radius: var(--radius);
  padding: 40px 42px;
  box-shadow: 0 34px 70px -40px rgba(6, 44, 94, .55);
}
.spec__label {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: #7FB3E8;
}
.spec ul {
  margin-top: 22px;
  list-style: none;
  display: grid;
  gap: 12px;
}
.spec ul li {
  position: relative;
  padding-left: 30px;
  font-size: 15.5px;
  line-height: 1.6;
  color: rgba(255,255,255,.85);
}
.spec ul li::before {
  content: '';
  position: absolute;
  left: 0; top: 7px;
  width: 16px; height: 16px;
  border-radius: 50%;
  background:
    linear-gradient(#fff, #fff) center/7px 2px no-repeat,
    linear-gradient(#fff, #fff) center/2px 7px no-repeat,
    rgba(255,255,255,.14);
  transform: rotate(45deg);
}
.spec ul li strong { color: #fff; }

/* Checklist de preguntas */
.checklist {
  margin: 44px 0;
  border: 1.5px solid var(--blue);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
}
.checklist__head {
  background: var(--blue);
  color: #fff;
  padding: 20px 30px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .22em;
  text-transform: uppercase;
}
.checklist ol {
  list-style: none;
  counter-reset: q;
}
.checklist ol li {
  counter-increment: q;
  display: flex;
  align-items: baseline;
  gap: 18px;
  padding: 18px 30px;
  font-size: 16px;
  font-weight: 650;
  color: var(--ink);
}
.checklist ol li + li { border-top: 1px solid var(--line); }
.checklist ol li::before {
  content: counter(q, decimal-leading-zero);
  flex: 0 0 auto;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .08em;
  color: var(--red);
}

/* Nota Creapure */
.notebox {
  margin: 44px 0;
  padding: 28px 32px;
  border-left: 4px solid var(--red);
  background: var(--white);
  border-radius: 0 var(--radius) var(--radius) 0;
  border-top: 1px solid var(--line);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  font-size: 16px;
  line-height: 1.7;
}
.notebox strong { color: var(--ink); }

/* Veredicto final */
.verdict {
  margin: 54px 0 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.verdict__item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 24px 20px;
  text-align: center;
}
.verdict__item strong {
  display: block;
  font-size: clamp(20px, 2vw, 28px);
  font-weight: 900;
  font-stretch: 115%;
  color: var(--blue);
  line-height: 1.1;
}
.verdict__item span {
  display: block;
  margin-top: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

/* ---------- Sidebar ---------- */

.post__side {
  position: sticky;
  top: calc(var(--nav-h) + 28px);
  display: grid;
  gap: 26px;
}

.toc {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 28px;
}
.toc__title {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 16px;
}
.toc ol { list-style: none; display: grid; }
.toc a {
  display: block;
  padding: 9px 0 9px 18px;
  border-left: 2px solid var(--line);
  font-size: 13.5px;
  line-height: 1.45;
  font-weight: 600;
  color: var(--ink-soft);
  transition: color .25s, border-color .25s;
}
.toc a:hover { color: var(--blue); }
.toc a.is-active { color: var(--red); border-left-color: var(--red); }

.minicard {
  background: var(--blue-deep);
  border-radius: var(--radius);
  padding: 30px 28px 34px;
  color: #fff;
  text-align: center;
  overflow: hidden;
  position: relative;
}
.minicard::before {
  content: '';
  position: absolute;
  width: 220px; height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, rgba(255,85,96,.9), rgba(238,33,48,.75) 55%, rgba(200,16,46,.75));
  top: -90px; right: -70px;
  opacity: .5;
  pointer-events: none;
}
.minicard img {
  position: relative;
  width: 150px;
  margin: 4px auto 18px;
  filter: drop-shadow(0 20px 22px rgba(0,0,0,.4));
}
.minicard__name {
  position: relative;
  font-size: 16px;
  font-weight: 850;
  font-stretch: 112%;
  text-transform: uppercase;
  line-height: 1.3;
}
.minicard__specs {
  position: relative;
  margin-top: 8px;
  font-size: 12.5px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.65);
}
.minicard .btn {
  position: relative;
  margin-top: 22px;
  height: 48px;
  padding: 0 26px;
  font-size: 12.5px;
}

/* ---------- CTA post (reusa .cta de la landing) ---------- */

.cta .cta__sub {
  margin: 22px auto 0;
  max-width: 620px;
  font-size: 16px;
  line-height: 1.7;
  color: rgba(255,255,255,.75);
}

/* ---------- Reveal genérico del post ---------- */

/* .preveal se oculta solo cuando JS está activo (sin JS todo queda visible) */
.js .preveal { opacity: 0; transform: translateY(34px); transition: opacity .8s var(--ease-out), transform .8s var(--ease-out); }
.js .preveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .preveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- Responsive ---------- */

@media (max-width: 1020px) {
  .phero__grid { grid-template-columns: 1fr; gap: 30px; }
  .phero__stage { min-height: 260px; }
  .phero__product { width: min(40vw, 210px); }
  .phero__ring { width: min(52vw, 260px); }
  .post__layout { grid-template-columns: 1fr; }
  .post__side { position: static; order: -1; }
  .toc ol { grid-template-columns: 1fr 1fr; gap: 0 22px; }
  .minicard { display: none; }
  .verdict { grid-template-columns: 1fr 1fr; }
  .prose h2 { flex-direction: column; align-items: flex-start; gap: 12px; }
  .prose h2::before { transform: none; }
  .pull { padding: 28px 26px 28px 76px; }
  .pull::before { left: 20px; font-size: 64px; }
}
@media (max-width: 560px) {
  .phero__title { font-size: clamp(30px, 9.4vw, 40px); hyphens: auto; }
  .verdict { grid-template-columns: 1fr 1fr; }
  .checklist ol li { padding: 16px 20px; }
  .spec { padding: 30px 26px; }
}
