/* ═══════════════════════════════════════════════════════════
   CREA — RECURSOS & BLOG
   Motor de contenido / SEO. Reusa tokens de web.css.
   Navy #1B2F6E · Paper #F6F4F0 · Rojo #CC2233 · Clash en MAYÚSCULA
═══════════════════════════════════════════════════════════ */

/* ── SF Pro · tipografía de títulos en toda la sección Recursos ── */
:root {
  --f-recursos-title: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'SF Pro Text', 'Helvetica Neue', Helvetica, Arial, sans-serif;
}
.rhero__title,
.feat__title,
.post__title,
.rnews__title,
.funnel__title,
.related__title,
.ahero__title,
.prose h2,
.prose h3,
.fcard__name,
.authorbox__name,
.callout h4,
.pquote p,
.scta__txt b,
.post__cover-big,
.reel__cta-title {
  font-family: var(--f-display);
  text-transform: uppercase;
  letter-spacing: -0.005em;
}

/* ── Acento editorial: navy en vez de rojo para texto corrido ──
   El rojo se mantiene solo en badges, tags y bordes de CTA.
── */
.feat__title .ac,
.ahero__title .ac,
.rhero__title .ac,
.rnews__title .ac,
.funnel__title .ac,
.related__title .ac,
.post__cover-big .ac { color: var(--navy); }

.prose ul li::before { background: var(--navy); }
.prose ol li::before { color: var(--navy); background: rgba(27,47,110,0.1); }
.pquote { border-left-color: var(--navy); }
.toc__list a.on { border-color: var(--navy); color: var(--navy); }
.fcard__n { color: var(--navy); opacity: 0.55; }
.callout__lab { color: var(--navy); }
.callout__lab::before { background: var(--navy); }
.crumb .cur { color: rgba(255,255,255,0.85); }

/* ── volver / breadcrumb flotante ── */
.backweb {
  position: fixed; left: var(--gutter); bottom: 22px; z-index: 90;
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--navy); background: rgba(246,244,240,0.9); backdrop-filter: blur(10px);
  border: 1px solid var(--line); padding: 10px 16px; border-radius: 100px;
  opacity: 0; transform: translateY(14px); pointer-events: none; transition: .4s var(--spring);
}
.backweb.show { opacity: 1; transform: none; pointer-events: auto; }
.backweb:hover { border-color: var(--navy); }

/* ═══════════ HERO DEL BLOG (navy editorial) ═══════════ */
.rhero {
  position: relative; background: var(--navy-deep); color: #fff; overflow: hidden;
  padding-top: clamp(130px, 17vh, 200px); padding-bottom: clamp(54px, 8vh, 96px);
}
.rhero__bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.rhero__grid {
  position: absolute; inset: -50%;
  background-image: linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(120% 80% at 70% 0%, #000 0%, transparent 72%);
  mask-image: radial-gradient(120% 80% at 70% 0%, #000 0%, transparent 72%);
}
.rhero__orb { position: absolute; border-radius: 50%; }
.rhero__orb--1 { top: -28%; right: -8%; width: 540px; height: 540px; background: radial-gradient(circle, rgba(77,127,232,0.32) 0%, transparent 70%); }
.rhero__orb--2 { bottom: -34%; left: -6%; width: 420px; height: 420px; background: radial-gradient(circle, rgba(204,34,51,0.22) 0%, transparent 70%); }
.rhero__inner { position: relative; z-index: 1; }
.rhero__title {
  font-size: clamp(44px, 8vw, 110px); line-height: 0.92; letter-spacing: -0.035em;
  max-width: 16ch; margin-top: 24px;
}
.rhero__title .ac { color: var(--red); }
.rhero__sub {
  font-size: clamp(17px, 1.9vw, 21px); line-height: 1.55; color: rgba(255,255,255,0.78);
  max-width: 56ch; margin-top: 26px; text-wrap: pretty;
}
.rhero__meta {
  margin-top: 34px; display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
  font-family: var(--f-mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase;
  color: rgba(255,255,255,0.55);
}
.rhero__meta b { color: #fff; font-weight: 600; }
.rhero__meta .sep { opacity: .4; }

/* ═══════════ BARRA DE CATEGORÍAS (sticky) ═══════════ */
.rcats {
  position: sticky; top: 92px; z-index: 40; background: rgba(246,244,240,0.86);
  backdrop-filter: blur(18px) saturate(160%); -webkit-backdrop-filter: blur(18px) saturate(160%);
  border-bottom: 1px solid var(--line);
}
.rcats__wrap { display: flex; align-items: center; gap: 10px; overflow-x: auto; padding-block: 14px;
  scrollbar-width: none; }
.rcats__wrap::-webkit-scrollbar { display: none; }
.rcat {
  flex-shrink: 0; cursor: pointer; font-family: var(--f-mono); font-size: 12px; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--text-mid); background: transparent;
  border: 1px solid var(--line); padding: 9px 16px; border-radius: 100px;
  transition: all .25s var(--spring); white-space: nowrap;
}
.rcat:hover { border-color: var(--navy); color: var(--navy); }
.rcat.on { background: var(--navy); border-color: var(--navy); color: #fff; }

/* ═══════════ DESTACADO ═══════════ */
.feat { padding-block: clamp(54px, 7vw, 96px) clamp(20px, 3vw, 40px); }
.feat__lab {
  font-family: var(--f-mono); font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--meta); margin-bottom: 22px; display: flex; align-items: center; gap: 11px;
}
.feat__lab::before { content: ""; width: 26px; height: 1.5px; background: currentColor; opacity: .5; }
.feat__card {
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(24px, 4vw, 60px);
  align-items: stretch; background: var(--white); border: 1px solid var(--line);
  border-radius: 22px; overflow: hidden; transition: box-shadow .4s var(--spring), transform .4s var(--spring);
}
.feat__card:hover { box-shadow: 0 30px 70px rgba(20,36,88,0.14); transform: translateY(-3px); }
.feat__media { position: relative; min-height: 340px; align-self: stretch; }
.feat__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.feat__media-tag {
  position: absolute; top: 18px; left: 18px; z-index: 2;
  font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase;
  color: #fff; background: var(--red); padding: 7px 13px; border-radius: 100px;
}
.feat__body { padding: clamp(28px, 3vw, 48px) clamp(28px, 4vw, 56px) clamp(28px, 3vw, 48px) 0; align-self: center; }
.feat__cat { font-family: var(--f-mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--navy); }
.feat__title { font-size: clamp(28px, 3.4vw, 46px); line-height: 1.0; letter-spacing: -0.02em; margin: 14px 0 16px; }
.feat__title .ac { color: var(--red); }
.feat__card:hover .feat__title { color: var(--navy); }
.feat__excerpt { font-size: 17px; line-height: 1.6; color: var(--text-mid); max-width: 48ch; text-wrap: pretty; }
.feat__foot { margin-top: 26px; display: flex; align-items: center; gap: 14px; }
.feat__go {
  display: inline-flex; align-items: center; gap: 9px; font-weight: 600; font-size: 15px; color: var(--navy);
}
.feat__go .arrow { transition: transform .3s var(--spring); }
.feat__card:hover .feat__go .arrow { transform: translateX(5px); }
.feat__read { font-family: var(--f-mono); font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--meta); margin-left: auto; }

/* ═══════════ GRILLA DE ARTÍCULOS ═══════════ */
.grid-sec { padding-block: clamp(28px, 4vw, 56px) clamp(60px, 8vw, 110px); }
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 2.4vw, 34px); }
.post {
  display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line);
  border-radius: 18px; overflow: hidden; transition: box-shadow .35s var(--spring), transform .35s var(--spring), border-color .35s;
}
.post:hover { box-shadow: 0 24px 54px rgba(20,36,88,0.13); transform: translateY(-4px); border-color: transparent; }
.post.is-hidden { display: none; }
.post__media { position: relative; aspect-ratio: 16/10; overflow: hidden; background: var(--navy); }
.post__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease-io); }
.post:hover .post__media img { transform: scale(1.05); }
.post__cover {
  position: absolute; inset: 0; display: grid; place-items: center; padding: 24px;
  background: linear-gradient(140deg, var(--navy) 0%, var(--navy-deep) 100%);
}
.post__cover-mono {
  font-family: var(--f-mono); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase;
  color: rgba(255,255,255,0.5); text-align: center;
}
.post__cover-big { font-family: var(--f-display); text-transform: uppercase; color: #fff;
  font-size: clamp(26px, 3vw, 40px); line-height: 0.95; letter-spacing: -0.02em; text-align: center; margin-top: 10px; }
.post__cover-big .ac { color: var(--red); }
.post__tag {
  position: absolute; top: 14px; left: 14px; z-index: 2;
  font-family: var(--f-mono); font-size: 10.5px; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--navy); background: rgba(246,244,240,0.92); padding: 6px 11px; border-radius: 100px;
}
.post__body { padding: 22px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.post__title { font-size: 21px; line-height: 1.08; letter-spacing: -0.01em; }
.post:hover .post__title { color: var(--navy); }
.post__excerpt { font-size: 14.5px; line-height: 1.55; color: var(--text-mid); margin-top: 12px; flex: 1; text-wrap: pretty; }
.post__foot {
  margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line);
  display: flex; align-items: center; gap: 10px;
  font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.05em; text-transform: uppercase; color: var(--meta);
}
.post__foot .dot { opacity: .4; }
.post__foot .go { margin-left: auto; color: var(--navy); font-weight: 500; }

/* estado vacío del filtro */
.posts-empty { display: none; text-align: center; padding: 60px 0; color: var(--meta);
  font-family: var(--f-mono); font-size: 13px; letter-spacing: 0.05em; }
.posts-empty.show { display: block; }

/* ═══════════ NEWSLETTER / LEAD MAGNET ═══════════ */
.rnews { background: var(--navy); color: #fff; position: relative; overflow: hidden; }
.rnews__bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.rnews__grid { position: absolute; inset: -50%;
  background-image: linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 56px 56px; }
.rnews__orb { position: absolute; bottom: -40%; right: -6%; width: 460px; height: 460px;
  border-radius: 50%; background: radial-gradient(circle, rgba(204,34,51,0.22) 0%, transparent 70%); }
.rnews__inner {
  position: relative; z-index: 1; display: grid; grid-template-columns: 1.1fr 1fr;
  gap: clamp(30px, 5vw, 80px); align-items: center;
  padding-block: clamp(56px, 8vw, 110px);
}
.rnews__title { font-size: clamp(30px, 4.2vw, 58px); line-height: 0.98; letter-spacing: -0.025em; margin-top: 20px; }
.rnews__title .ac { color: var(--red); }
.rnews__sub { font-size: 17px; line-height: 1.6; color: rgba(255,255,255,0.75); margin-top: 20px; max-width: 44ch; text-wrap: pretty; }
.rnews__form { display: flex; flex-direction: column; gap: 12px; }
.rnews__field {
  display: flex; gap: 10px; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.16);
  border-radius: 14px; padding: 8px 8px 8px 18px; transition: border-color .25s;
}
.rnews__field:focus-within { border-color: rgba(255,255,255,0.5); }
.rnews__field input {
  flex: 1; background: transparent; border: 0; outline: 0; color: #fff; font-family: var(--f-ui);
  font-size: 16px;
}
.rnews__field input::placeholder { color: rgba(255,255,255,0.45); }
.rnews__form .btn { white-space: nowrap; }
.rnews__fine { font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.04em; color: rgba(255,255,255,0.45); }
.rnews__ok { display: none; }
.rnews__ok.show { display: block; }
.rnews__ok b { color: #fff; }

/* ═══════════ BANDA: DE LA LECTURA AL SERVICIO ═══════════ */
.funnel { padding-block: clamp(60px, 8vw, 120px); background: var(--paper); }
.funnel__head { max-width: 760px; }
.funnel__title { font-size: clamp(28px, 4vw, 56px); line-height: 1.0; letter-spacing: -0.025em; margin-top: 20px; }
.funnel__title .ac { color: var(--red); }
.funnel__sub { font-size: 17px; line-height: 1.6; color: var(--text-mid); margin-top: 20px; max-width: 56ch; text-wrap: pretty; }
.funnel__grid { margin-top: clamp(36px, 4vw, 56px); display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.fcard {
  display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line);
  border-radius: 18px; padding: 30px 28px 28px; transition: box-shadow .35s var(--spring), transform .35s var(--spring);
}
.fcard:hover { box-shadow: 0 22px 50px rgba(20,36,88,0.12); transform: translateY(-3px); }
.fcard__n { font-family: var(--f-mono); font-size: 12px; letter-spacing: 0.1em; color: var(--red); }
.fcard__name { font-size: 23px; line-height: 1.0; letter-spacing: -0.01em; margin: 14px 0 12px; }
.fcard__desc { font-size: 15px; line-height: 1.55; color: var(--text-mid); flex: 1; text-wrap: pretty; }
.fcard__go { margin-top: 20px; display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 14.5px; color: var(--navy); }
.fcard__go .arrow { transition: transform .3s var(--spring); }
.fcard:hover .fcard__go .arrow { transform: translateX(5px); }
.funnel__cta { margin-top: clamp(36px, 4vw, 52px); display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }

/* ═══════════════════════════════════════════════════════════
   PÁGINA DE ARTÍCULO
═══════════════════════════════════════════════════════════ */
.ahero { position: relative; background: var(--navy-deep); color: #fff; overflow: hidden;
  padding-top: clamp(120px, 16vh, 184px); padding-bottom: clamp(40px, 6vw, 72px); }
.ahero__bg { position: absolute; inset: 0; z-index: 0; }
.ahero__grid { position: absolute; inset: -50%;
  background-image: linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 60px 60px;
  -webkit-mask-image: radial-gradient(120% 90% at 30% 0%, #000 0%, transparent 70%);
  mask-image: radial-gradient(120% 90% at 30% 0%, #000 0%, transparent 70%); }
.ahero__orb { position: absolute; top: -30%; right: -6%; width: 480px; height: 480px; border-radius: 50%;
  background: radial-gradient(circle, rgba(77,127,232,0.30) 0%, transparent 70%); }
.ahero__inner { position: relative; z-index: 1; max-width: 880px; }
.crumb { display: flex; align-items: center; gap: 10px; font-family: var(--f-mono); font-size: 12px;
  letter-spacing: 0.06em; text-transform: uppercase; color: rgba(255,255,255,0.5); }
.crumb a { color: rgba(255,255,255,0.7); transition: color .2s; }
.crumb a:hover { color: #fff; }
.crumb .sep { opacity: .4; }
.crumb .cur { color: var(--red); }
.ahero__cat {
  display: inline-flex; align-items: center; gap: 9px; margin-top: 26px;
  font-family: var(--f-mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase;
  color: #fff; background: var(--red); padding: 8px 14px; border-radius: 100px;
}
.ahero__title { font-size: clamp(34px, 5.4vw, 72px); line-height: 0.96; letter-spacing: -0.03em; margin-top: 22px; max-width: 20ch; }
.ahero__title .ac { color: var(--red); }
.ahero__deck { font-size: clamp(18px, 2vw, 23px); line-height: 1.5; color: rgba(255,255,255,0.8);
  margin-top: 24px; max-width: 60ch; text-wrap: pretty; }
.ahero__byline { margin-top: 34px; display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.ahero__av { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; object-position: 50% 20%; border: 2px solid rgba(255,255,255,0.2); }
/* avatar monograma (autores sin foto) */
.ahero__av.av-mono, .authorbox__av.av-mono { display: grid; place-items: center;
  background: var(--red); color: #fff; font-family: var(--f-display); text-transform: uppercase;
  font-weight: 600; letter-spacing: 0; }
.ahero__av.av-mono { font-size: 15px; border-color: rgba(255,255,255,0.25); }
.authorbox__av.av-mono { font-size: 27px; }
.ahero__who b { display: block; font-size: 15px; color: #fff; font-weight: 600; }
.ahero__who span { font-family: var(--f-mono); font-size: 11.5px; letter-spacing: 0.05em; text-transform: uppercase; color: rgba(255,255,255,0.5); }
.ahero__dot { width: 4px; height: 4px; border-radius: 50%; background: rgba(255,255,255,0.3); }

/* cover image full bleed */
.acover { background: var(--navy-deep); }
.acover__img { width: 100%; max-width: var(--container); margin: 0 auto;
  aspect-ratio: 21/9; object-fit: cover; display: block; border-radius: 0; }
@media (min-width: 900px) { .acover__img { border-radius: 22px; transform: translateY(-44px); box-shadow: 0 40px 90px rgba(0,0,0,0.3); } }

/* cuerpo del artículo */
.article { padding-top: clamp(30px, 4.5vw, 42px); padding-bottom: clamp(50px, 7vw, 96px); }
@media (min-width: 900px) { .article { padding-top: 16px; } }
.article__layout { display: grid; grid-template-columns: minmax(0, 1fr) 240px; gap: clamp(30px, 5vw, 72px);
  max-width: 1080px; margin: 0 auto; align-items: start; }
.prose { max-width: 720px; font-size: 19px; line-height: 1.75; color: #232321; }
.prose > * + * { margin-top: 26px; }
.prose p { text-wrap: pretty; }
.prose strong { color: var(--ink); font-weight: 600; }
.prose a { color: var(--navy); font-weight: 600; text-decoration: underline; text-underline-offset: 3px;
  text-decoration-color: rgba(27,47,110,0.3); transition: text-decoration-color .2s; }
.prose a:hover { text-decoration-color: var(--navy); }
.prose h2 { font-size: clamp(26px, 3vw, 36px); line-height: 1.04; letter-spacing: -0.02em;
  margin-top: 54px; padding-top: 6px; scroll-margin-top: 90px; }
.prose h2 .ac { color: var(--red); }
.prose h3 { font-size: clamp(20px, 2.2vw, 25px); line-height: 1.1; margin-top: 38px; }
.prose .lead { font-size: 22px; line-height: 1.6; color: var(--ink); font-weight: 500; }
.prose ul, .prose ol { padding-left: 0; list-style: none; display: flex; flex-direction: column; gap: 12px; }
.prose ul li { position: relative; padding-left: 32px; }
.prose ul li::before { content: ""; position: absolute; left: 4px; top: 11px; width: 9px; height: 9px;
  border-radius: 2px; background: var(--red); transform: rotate(45deg); }
.prose ol { counter-reset: pr; }
.prose ol li { position: relative; padding-left: 44px; counter-increment: pr; }
.prose ol li::before { content: counter(pr, decimal-leading-zero); position: absolute; left: 0; top: -2px;
  font-family: var(--f-mono); font-size: 13px; font-weight: 700; color: var(--navy);
  background: rgba(27,47,110,0.08); width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; }
.prose figure { margin: 40px 0; }
.prose figure img { width: 100%; border-radius: 16px; border: 1px solid var(--line); }
.prose figcaption { font-family: var(--f-mono); font-size: 12px; letter-spacing: 0.04em; color: var(--meta);
  margin-top: 12px; text-align: center; }

/* pull quote */
.pquote { margin: 46px 0; padding: 4px 0 4px 28px; border-left: 4px solid var(--red); }
.pquote p { font-family: var(--f-display); text-transform: uppercase; font-weight: 600;
  font-size: clamp(24px, 3vw, 34px); line-height: 1.08; letter-spacing: -0.015em; color: var(--navy); }
.pquote cite { display: block; margin-top: 16px; font-style: normal; font-family: var(--f-mono);
  font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--meta); }

/* callout / checklist */
.callout { margin: 40px 0; background: var(--paper-2); border: 1px solid var(--line); border-radius: 18px;
  padding: 30px 32px; }
.callout__lab { font-family: var(--f-mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--red); margin-bottom: 16px; display: flex; align-items: center; gap: 10px; }
.callout__lab::before { content: ""; width: 22px; height: 1.5px; background: currentColor; }
.callout h4 { font-size: 22px; line-height: 1.05; margin-bottom: 14px; }
.callout ul { padding-left: 0; list-style: none; display: flex; flex-direction: column; gap: 12px; margin: 0; }
.callout ul li { position: relative; padding-left: 32px; font-size: 16px; line-height: 1.5; color: #232321; }
.callout ul li svg { position: absolute; left: 0; top: 2px; width: 20px; height: 20px; color: var(--navy); }

/* CTA inline a servicio */
.scta { margin: 48px 0; background: var(--navy); color: #fff; border-radius: 20px; overflow: hidden;
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 22px; padding: 28px 32px; position: relative; }
.scta__ic { width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center;
  background: rgba(255,255,255,0.1); }
.scta__ic svg { width: 26px; height: 26px; color: #fff; }
.scta__txt b { display: block; font-family: var(--f-display); text-transform: uppercase; font-size: 22px;
  line-height: 1.02; letter-spacing: -0.01em; }
.scta__txt span { display: block; font-size: 14.5px; color: rgba(255,255,255,0.7); margin-top: 7px; line-height: 1.45; }
.scta .btn { white-space: nowrap; }
@media (max-width: 620px) { .scta { grid-template-columns: 1fr; text-align: left; gap: 18px; } }

/* aside / table of contents (sticky) */
.aside { position: sticky; top: 100px; }
.toc__lab { font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--meta); margin-bottom: 14px; }
.toc__list { display: flex; flex-direction: column; gap: 2px; border-left: 1px solid var(--line); }
.toc__list a { display: block; padding: 7px 0 7px 16px; margin-left: -1px; border-left: 2px solid transparent;
  font-size: 13.5px; line-height: 1.35; color: var(--text-mid); transition: color .2s, border-color .2s; }
.toc__list a:hover { color: var(--navy); }
.toc__list a.on { color: var(--navy); border-color: var(--red); font-weight: 600; }
.aside__share { margin-top: 30px; padding-top: 24px; border-top: 1px solid var(--line); }
.aside__share-lab { font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--meta); margin-bottom: 14px; }
.share-row { display: flex; gap: 10px; }
.share-row a { width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--line); display: grid;
  place-items: center; color: var(--navy); transition: all .25s var(--spring); }
.share-row a:hover { border-color: var(--navy); transform: translateY(-2px); }
.share-row svg { width: 18px; height: 18px; }
@media (max-width: 900px) {
  .aside { display: none; }
  .article__layout { grid-template-columns: minmax(0, 1fr); max-width: 760px; }
  .prose { max-width: none; }
  .scta { grid-template-columns: auto 1fr; }
  .scta .btn { grid-column: 1 / -1; justify-self: start; }
}

/* autor */
.authorbox { max-width: 720px; margin: 60px auto 0; display: flex; gap: 22px; align-items: flex-start;
  background: var(--white); border: 1px solid var(--line); border-radius: 20px; padding: 30px 32px; }
.authorbox__av { width: 76px; height: 76px; border-radius: 50%; object-fit: cover; object-position: 50% 20%; flex-shrink: 0; }
.authorbox__lab { font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--meta); }
.authorbox__name { font-size: 22px; line-height: 1.0; margin: 8px 0 10px; }
.authorbox__bio { font-size: 15px; line-height: 1.6; color: var(--text-mid); text-wrap: pretty; }
.authorbox__bio a { color: var(--navy); font-weight: 600; }

/* ═══════════ FONDO DE VIDEO (hero · newsletter · footer) ═══════════ */
.crea-video {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  z-index: 0; pointer-events: none; border: 0;
}
.rhero__video { opacity: 0.34; transform-origin: 70% 30%; animation: rheroKen 26s ease-in-out infinite alternate; }
@keyframes rheroKen { from { transform: scale(1.04); } to { transform: scale(1.18); } }
@media (prefers-reduced-motion: reduce) { .rhero__video { animation: none; } }
.rnews__video { opacity: 0.30; }
.footer__video { opacity: 0.16; }
/* velo navy para legibilidad del texto sobre el video */
.crea-veil { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.rhero .crea-veil {
  background: linear-gradient(90deg, rgba(15,26,64,0.92) 0%, rgba(15,26,64,0.66) 46%, rgba(15,26,64,0.30) 100%);
}
.rnews .crea-veil {
  background: linear-gradient(90deg, rgba(27,47,110,0.94) 0%, rgba(27,47,110,0.70) 50%, rgba(27,47,110,0.40) 100%);
}
/* el footer necesita contexto de apilado para el video */
.footer { position: relative; overflow: hidden; }
.footer .footer__video-veil {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, rgba(15,26,64,0.86) 0%, rgba(15,26,64,0.94) 100%);
}
.footer .wrap { position: relative; z-index: 2; }
@media (prefers-reduced-motion: reduce) {
  .crea-video { display: none; }
}

/* relacionados */
.related { background: var(--paper); padding-block: clamp(56px, 7vw, 96px); border-top: 1px solid var(--line); }
.related__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 36px; flex-wrap: wrap; }
.related__title { font-size: clamp(26px, 3.4vw, 44px); line-height: 1.0; letter-spacing: -0.02em; }
.related__all { font-family: var(--f-mono); font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--navy); display: inline-flex; align-items: center; gap: 8px; }
.related__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }

/* ═══════════ RESPONSIVE ═══════════ */
@media (max-width: 980px) {
  .posts, .funnel__grid, .related__grid { grid-template-columns: repeat(2, 1fr); }
  .feat__card { grid-template-columns: 1fr; }
  .feat__media { min-height: 260px; aspect-ratio: 16/10; height: auto; }
  .feat__body { padding: 30px 28px 36px; }
  .rnews__inner { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  .posts, .funnel__grid, .related__grid { grid-template-columns: 1fr; }
  .article__layout { grid-template-columns: 1fr; }
  .prose { font-size: 17.5px; }
  .scta { grid-template-columns: 1fr; padding: 24px 22px; }
  .scta .btn { width: 100%; justify-content: center; }
  .authorbox { flex-direction: column; gap: 16px; padding: 26px 24px; }
  .pquote p { font-size: 22px; }
  .backweb { display: none; }
}
@media (max-width: 420px) {
  .feat__title { font-size: 26px; }
  .ahero__title { font-size: 32px; }
  .rhero__title { font-size: 40px; }
  .prose ol li { padding-left: 40px; }
}

/* ═══════════════════════════════════════════════════════════
   CAPA PREMIUM · efecto Apple / Gemini
   (aurora animada · borde con glow · spotlight · blur-in)
═══════════════════════════════════════════════════════════ */
@property --crea-angle { syntax: "<angle>"; initial-value: 0deg; inherits: false; }

/* ── Aurora animada (Gemini) ── */
.aurora {
  position: absolute; inset: -28%; z-index: 0; pointer-events: none;
  filter: blur(64px) saturate(135%); opacity: 0.55; mix-blend-mode: screen;
  background:
    radial-gradient(38% 46% at 22% 30%, rgba(77,127,232,0.60), transparent 66%),
    radial-gradient(34% 44% at 80% 22%, rgba(124,99,255,0.42), transparent 70%),
    radial-gradient(42% 52% at 66% 84%, rgba(204,34,51,0.36), transparent 70%);
  animation: auroraDrift 24s var(--ease-io) infinite alternate;
  will-change: transform;
}
.rhero .aurora { opacity: 0.42; }
.rnews .aurora { opacity: 0.6; }
.ahero .aurora { opacity: 0.4; }
@keyframes auroraDrift {
  0%   { transform: translate3d(-4%, -2%, 0) rotate(-3deg) scale(1.05); }
  50%  { transform: translate3d(4%, 3%, 0)  rotate(4deg)  scale(1.18); }
  100% { transform: translate3d(-2%, 4%, 0) rotate(-2deg) scale(1.10); }
}

/* ── Borde con glow rotante en la tarjeta destacada (Gemini / Linear) ── */
.feat__card { position: relative; isolation: isolate; }
.feat__card::before {
  content: ""; position: absolute; inset: -1.5px; border-radius: 23px; z-index: -1;
  padding: 1.5px;
  background: conic-gradient(from var(--crea-angle),
    rgba(77,127,232,0) 0%, rgba(77,127,232,0.95) 16%,
    rgba(124,99,255,0.95) 36%, rgba(204,34,51,0.95) 56%,
    rgba(77,127,232,0) 76%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); mask-composite: exclude;
  opacity: 0; transition: opacity .5s var(--spring);
  animation: creaSpin 5s linear infinite;
}
.feat__card:hover::before { opacity: 1; }
.feat__card:hover { box-shadow: 0 34px 80px rgba(20,36,88,0.18), 0 0 0 1px rgba(77,127,232,0.18); }
@keyframes creaSpin { to { --crea-angle: 360deg; } }

/* ── Spotlight de cursor (Apple / Linear) ── */
.post, .fcard { position: relative; }
.post::after, .fcard::after {
  content: ""; position: absolute; inset: 0; z-index: 3; pointer-events: none; border-radius: inherit;
  background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 50%), rgba(77,127,232,0.12), transparent 60%);
  opacity: 0; transition: opacity .4s var(--spring);
}
.post:hover::after, .fcard:hover::after { opacity: 1; }
/* línea superior que se ilumina al hover */
.post__body { position: relative; }

/* ── Glow del activo (sin blur por píldora: el blur va en la barra) ── */
.rcat.on { box-shadow: 0 8px 22px rgba(27,47,110,0.32); }

/* ── Shimmer en el tag "Nuevo" ── */
.feat__media-tag { position: absolute; overflow: hidden; }
.feat__media-tag::after {
  content: ""; position: absolute; top: 0; left: -130%; width: 60%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,0.55), transparent);
  transform: skewX(-18deg); animation: shimmer 3.6s var(--ease-io) infinite;
}
@keyframes shimmer { 0% { left: -130%; } 38%, 100% { left: 140%; } }

/* ── Reveal cinematográfico (blur-in, Apple) — scoped a estas páginas ── */
.reveal { filter: blur(7px); }
body.anim .reveal { transition: opacity var(--dur-lg) var(--spring), transform var(--dur-lg) var(--spring), filter var(--dur-lg) var(--spring); }
.reveal.in { filter: blur(0); }
.stagger > * { filter: blur(6px); }
body.anim .stagger > * { transition: opacity var(--dur-md) var(--spring), transform var(--dur-md) var(--spring), filter var(--dur-md) var(--spring); }
.stagger.in > * { filter: blur(0); }

/* ── Botones premium: sheen al hover ── */
.btn { position: relative; overflow: hidden; }
.btn::after {
  content: ""; position: absolute; top: 0; left: -80%; width: 50%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,0.28), transparent);
  transform: skewX(-18deg); transition: left .6s var(--ease-io); pointer-events: none;
}
.btn:hover::after { left: 140%; }

@media (prefers-reduced-motion: reduce) {
  .aurora, .feat__media-tag::after { animation: none; }
  .feat__card::before { animation: none; }
  .reveal, .stagger > * { filter: none !important; }
}

/* ── enlace de autor + feedback "¿te sirvió?" (notas) ── */
.author-link { color: inherit; text-decoration: none;
  background-image: linear-gradient(currentColor, currentColor);
  background-size: 0% 1.5px; background-position: 0 100%; background-repeat: no-repeat;
  transition: background-size .3s var(--spring); }
.author-link:hover { background-size: 100% 1.5px; }
.feedback { max-width: 720px; margin: 50px auto 0; padding: 22px 28px; border: 1px solid var(--line);
  border-radius: 18px; background: var(--paper-2); display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.feedback__q { font-family: var(--f-display); text-transform: uppercase; font-weight: 600; font-size: 18px;
  letter-spacing: -0.005em; color: var(--navy); }
.feedback__btns { display: flex; gap: 10px; margin-left: auto; }
.feedback__btn { cursor: pointer; font-family: var(--f-mono); font-size: 11.5px; letter-spacing: 0.04em;
  text-transform: uppercase; color: var(--navy); background: var(--white); border: 1px solid var(--line);
  border-radius: 100px; padding: 11px 18px; transition: all .25s var(--spring); }
.feedback__btn:hover { border-color: var(--navy); transform: translateY(-2px); box-shadow: 0 8px 20px rgba(20,36,88,0.1); }
.feedback__thanks { font-family: var(--f-mono); font-size: 12.5px; letter-spacing: 0.03em; color: var(--navy); margin-left: auto; }
@media (max-width: 540px) { .feedback { gap: 12px; } .feedback__btns, .feedback__thanks { margin-left: 0; width: 100%; } }

/* ── Acento de títulos sin color en las notas ──────────────────
   La palabra destacada toma el mismo color que el resto del título
   (sin rojo ni azul), para una lectura más sobria y uniforme.
   Las infografías y los pull-quotes mantienen su color. */
.ahero__title .ac,
.funnel__title .ac,
.post__cover-big .ac { color: inherit; }
