/* ============================================================================
   Landing — Blog (oscarimorales.com)
   ============================================================================ */

.site {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--fg);
}
.wrap {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 40px;
  box-sizing: border-box;
}
.wrap--narrow { max-width: 880px; }

/* Reset de <button>: sin él, el navegador pinta fondo blanco por defecto y
   los botones "de texto" (p. ej. .stage__secondary) quedan ilegibles. */
button {
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  color: inherit;
  cursor: pointer;
}

/* ============================================================================
   STAGE — Hero tipográfico al estilo Rottner
   ============================================================================ */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0);
  white-space: nowrap; border: 0;
}

.stage {
  position: relative;
  background: var(--noche-900);
  color: var(--crema-50);
  overflow: hidden;
  padding: 0;
  isolation: isolate;
  min-height: 90vh;
  display: flex;
  flex-direction: column;
  --p: 0;
  --p-fade: 1;
}

/* ---------- Foto difuminada + degradado oscuro ---------- */
.stage__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}
.stage__bg img {
  position: absolute;
  inset: -6%;
  width: 112%;
  height: 112%;
  max-width: none;
  object-fit: cover;
  object-position: 38% 32%;
  display: block;
  filter: saturate(1.02) brightness(0.96) contrast(1.03);
  mix-blend-mode: normal;
  /* Parallax más suave en el fondo: la foto sube apenas ~80px */
  transform:
    translate3d(0, calc(var(--p) * -80px), 0)
    scale(calc(1.08 + var(--p) * 0.05));
  transform-origin: center 40%;
  will-change: transform;
  transition: transform 80ms linear;
}

/* Capa de foco: misma foto sin blur, recortada por máscara radial al sujeto */
.stage__bg-focus {
  /* Hereda position/inset del selector anterior, sobrescribe filter+mask */
  filter: saturate(1.0) brightness(0.95) contrast(1.04) !important;
  -webkit-mask-image:
    radial-gradient(ellipse 22% 46% at 33% 44%,
      rgba(0,0,0,1) 0%,
      rgba(0,0,0,1) 38%,
      rgba(0,0,0,0.5) 62%,
      rgba(0,0,0,0) 82%);
  mask-image:
    radial-gradient(ellipse 22% 46% at 33% 44%,
      rgba(0,0,0,1) 0%,
      rgba(0,0,0,1) 38%,
      rgba(0,0,0,0.5) 62%,
      rgba(0,0,0,0) 82%);
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  /* Parallax ligeramente distinto al fondo para profundidad */
  transform:
    translate3d(0, calc(var(--p) * -100px), 0)
    scale(calc(1.08 + var(--p) * 0.04)) !important;
  z-index: 1;
}
/* Gradiente principal: oscuro abajo → ligero arriba */
.stage__bg-grade {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg,
      rgba(13, 27, 42, 0.40) 0%,
      rgba(13, 27, 42, 0.20) 25%,
      rgba(13, 27, 42, 0.55) 65%,
      rgba(13, 27, 42, 0.90) 100%);
  pointer-events: none;
}
/* Gradiente radial sutil para profundidad y tinte cálido */
.stage__bg-vignette {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 30% 45%,
      rgba(217, 134, 90, 0.18) 0%,
      rgba(217, 134, 90, 0) 55%),
    radial-gradient(ellipse at 50% 100%,
      rgba(13, 27, 42, 0.65) 0%,
      rgba(13, 27, 42, 0) 65%);
  pointer-events: none;
}

/* ---------- Topbar ---------- */
.stage__topbar {
  position: relative;
  z-index: 5;
  padding: 28px 0 0;
}
.stage__topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(245, 240, 232, 0.18);
  opacity: var(--p-fade);
  transition: opacity 80ms linear;
}
.stage__eyebrow {
  font-family: var(--font-descriptor); font-weight: 800;
  font-size: 11px; text-transform: uppercase; letter-spacing: var(--tracking-widest);
  color: var(--crema-100);
  display: inline-flex; align-items: center; gap: 12px;
}
.stage__eyebrow-dot {
  display: inline-block;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--terracota-500);
  box-shadow: 0 0 0 4px rgba(196, 90, 50, 0.18);
}
.stage__lede {
  font-family: var(--font-descriptor); font-weight: 800;
  font-size: 11px; text-transform: uppercase; letter-spacing: var(--tracking-widest);
  color: var(--dorado-400);
}

/* ---------- Título masivo apilado ---------- */
.stage__title-wrap {
  position: relative;
  z-index: 4;
  flex: 1;
  display: flex;
  align-items: center;
  /* Parallax suave: el bloque sube ~120px, se mantiene legible cerca del fold */
  transform: translate3d(0, calc(var(--p) * -120px), 0);
  will-change: transform;
  transition: transform 60ms linear;
}
.stage__title-inner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}
.stage__overline {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(28px, 3.2vw, 44px);
  line-height: 1;
  color: var(--terracota-300);
  margin-bottom: 14px;
  letter-spacing: 0.005em;
  text-shadow: 0 2px 18px rgba(13, 27, 42, 0.55);
  /* Parallax */
  transform: translate3d(0, calc(var(--p) * -120px), 0);
  opacity: var(--p-fade);
}
.stage__panel {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  box-sizing: border-box;
  width: min(540px, 100%);
  padding: clamp(30px, 3vw, 44px) clamp(30px, 3.2vw, 48px);
  background: rgba(13, 27, 42, 0.52);
  backdrop-filter: blur(8px) saturate(1.1);
  -webkit-backdrop-filter: blur(8px) saturate(1.1);
  border: 1px solid rgba(245, 240, 232, 0.16);
  border-radius: 4px;
  box-shadow: 0 28px 80px rgba(13, 27, 42, 0.5);
  text-align: left;
}
.stage__kicker {
  font-family: var(--font-descriptor); font-weight: 800;
  font-size: 11px; text-transform: uppercase; letter-spacing: var(--tracking-widest);
  color: var(--dorado-400);
}
.stage__title {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
}
.stage__translation {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(17px, 1.5vw, 22px);
  color: var(--dorado-400);
  letter-spacing: 0.01em;
  margin-top: -6px;
  text-shadow: 0 1px 12px rgba(13, 27, 42, 0.5);
}
.stage__title-line {
  display: block;
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(52px, 6.5vw, 92px);
  line-height: 0.94;
  white-space: nowrap;
  color: var(--crema-50);
  letter-spacing: 0.002em;
  text-shadow: 0 2px 28px rgba(13, 27, 42, 0.5);
}
.stage__value {
  font-family: var(--font-body);
  font-size: clamp(16px, 1.15vw, 18px);
  line-height: 1.6;
  color: var(--crema-100);
  margin: 2px 0 4px;
  max-width: 42ch;
  text-shadow: 0 1px 12px rgba(13, 27, 42, 0.5);
}
.stage__value em {
  font-style: italic;
  color: var(--terracota-300);
}
.stage__capture {
  display: flex;
  width: 100%;
  background: rgba(245, 240, 232, 0.06);
  border: 1px solid rgba(245, 240, 232, 0.28);
  border-radius: 3px;
  overflow: hidden;
}
.stage__capture-input {
  flex: 1;
  min-width: 0;
  font-family: var(--font-sans);
  font-size: 15px;
  color: var(--crema-50);
  background: transparent;
  border: none;
  padding: 15px 16px;
  outline: none;
}
.stage__capture-input::placeholder { color: var(--niebla-400); }
.stage__capture-input:focus { background: rgba(245, 240, 232, 0.04); }
.stage__capture-btn {
  flex-shrink: 0;
  font-family: var(--font-descriptor); font-weight: 800;
  font-size: 12px; text-transform: uppercase; letter-spacing: var(--tracking-wider);
  color: var(--crema-50);
  background: var(--terracota-500);
  border: none;
  padding: 0 22px;
  cursor: pointer;
  transition: background var(--transition-fast);
}
.stage__capture-btn:hover { background: var(--terracota-600); }
.stage__capture-foot {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
}
.stage__capture-fine {
  font-family: var(--font-sans);
  font-size: 12px;
  color: var(--niebla-400);
}
.stage__secondary {
  font-family: var(--font-descriptor); font-weight: 800;
  font-size: 11px; text-transform: uppercase; letter-spacing: var(--tracking-wider);
  color: var(--crema-100);
  border-bottom: 1px solid rgba(245, 240, 232, 0.4);
  padding-bottom: 3px;
  align-self: flex-start;
  transition: color var(--transition-fast), border-color var(--transition-fast);
}
.stage__secondary:hover { color: var(--terracota-300); border-bottom-color: var(--terracota-300); }

/* Keyframes para la entrada en cascada (reservadas — activadas sólo cuando
   JS agrega `.js-anim` al .stage, para evitar quedarse pegado al 0% si el
   iframe no progresa el timeline) */
@keyframes stage-rise {
  0% {
    opacity: 0;
    translate: 0 48px;
    filter: blur(6px);
  }
  100% {
    opacity: 1;
    translate: 0 0;
    filter: blur(0);
  }
}
.stage.js-anim .stage__kicker        { animation: stage-rise 800ms cubic-bezier(.2,.7,.2,1) 80ms both; }
.stage.js-anim .stage__title         { animation: stage-rise 1000ms cubic-bezier(.2,.7,.2,1) 200ms both; }
.stage.js-anim .stage__value         { animation: stage-rise 900ms cubic-bezier(.2,.7,.2,1) 420ms both; }
.stage.js-anim .stage__capture       { animation: stage-rise 900ms cubic-bezier(.2,.7,.2,1) 560ms both; }
.stage.js-anim .stage__capture-foot  { animation: stage-rise 900ms cubic-bezier(.2,.7,.2,1) 680ms both; }

/* ---------- Riel inferior ---------- */
.stage__footrail {
  position: relative;
  z-index: 5;
  padding: 0 0 32px;
}
.stage__footrail-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding-top: 24px;
  border-top: 1px solid rgba(245, 240, 232, 0.18);
  opacity: var(--p-fade);
  transition: opacity 80ms linear;
}
.stage__footrail-note {
  font-family: var(--font-body); font-style: italic;
  font-size: 15px;
  color: var(--niebla-300);
  max-width: 46ch;
}
.stage__footrail-link {
  font-family: var(--font-descriptor); font-weight: 800;
  font-size: 12px; text-transform: uppercase; letter-spacing: var(--tracking-wider);
  color: var(--crema-50);
  text-decoration: none;
  display: inline-flex; align-items: center; gap: 10px;
  white-space: nowrap;
  background: var(--terracota-500);
  padding: 11px 18px;
  border-radius: 2px;
  border: none;
  transition: gap var(--transition-fast), background var(--transition-fast);
}
.stage__footrail-link:hover { gap: 16px; background: var(--terracota-600); color: var(--crema-50); }

/* ---------- Indicador de scroll ---------- */
.stage__scrollhint {
  position: absolute;
  right: 40px;
  bottom: 116px;
  display: flex;
  align-items: center;
  gap: 14px;
  z-index: 6;
  opacity: var(--p-fade);
  transition: opacity 80ms linear;
  pointer-events: none;
}
.stage__scrollhint-lbl {
  font-family: var(--font-descriptor); font-weight: 800;
  font-size: 10px; text-transform: uppercase; letter-spacing: var(--tracking-widest);
  color: var(--crema-100);
}
.stage__scrollhint-bar {
  display: block;
  width: 64px; height: 1px;
  background: linear-gradient(90deg, rgba(245, 240, 232, 0.4), var(--terracota-400));
  position: relative;
  overflow: hidden;
}
.stage__scrollhint-bar::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(245, 240, 232, 0.8), transparent);
  animation: stage-scroll-pulse 2.4s ease-in-out infinite;
}
@keyframes stage-scroll-pulse {
  0%   { transform: translateX(-100%); }
  60%  { transform: translateX(100%); }
  100% { transform: translateX(100%); }
}

@media (prefers-reduced-motion: reduce) {
  .stage__bg img,
  .stage__title-wrap,
  .stage__title-line--solid {
    transition: none;
  }
  .stage.js-anim .stage__kicker,
  .stage.js-anim .stage__title,
  .stage.js-anim .stage__value,
  .stage.js-anim .stage__capture,
  .stage.js-anim .stage__capture-foot {
    animation: none;
  }
  .stage__scrollhint-bar::after { animation: none; }
}

/* Responsivo */
@media (max-width: 900px) {
  .stage { min-height: 90vh; }
  .stage__topbar-inner { flex-direction: column; align-items: flex-start; gap: 10px; }
  .stage__title-inner { align-items: stretch; }
  .stage__panel { width: 100%; }
  .stage__title-line { font-size: clamp(48px, 13vw, 78px); }
  .stage__scrollhint { display: none; }
  .stage__footrail-inner { flex-direction: column; align-items: flex-start; gap: 18px; }
}

/* ============================================================================
   NAV
   ============================================================================ */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(245, 240, 232, 0.86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--rule);
}
.nav__inner {
  display: flex; align-items: center; gap: 24px;
  padding: 22px 40px;
  max-width: 1280px; margin: 0 auto;
}
.nav__brand {
  display: flex; align-items: center; gap: 12px;
  background: none; border: none; padding: 0; cursor: pointer;
}
.nav__brand img { width: 32px; height: 32px; }
.nav__brand-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  line-height: 1;
}
.nav__wordmark {
  font-family: var(--font-descriptor); font-weight: 800;
  font-size: 13px; letter-spacing: 0.08em;
  color: var(--noche-800);
  text-transform: uppercase;
  white-space: nowrap;
}
.nav__tagline {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: 11px;
  letter-spacing: 0.01em;
  color: var(--terracota-600);
  white-space: nowrap;
}
.nav__links {
  display: flex; gap: 26px; margin-left: auto; align-items: center;
}
.nav__link {
  font-family: var(--font-descriptor); font-weight: 800;
  font-size: 11px; text-transform: uppercase; letter-spacing: var(--tracking-wider);
  color: var(--noche-800);
  background: none; border: none; padding: 6px 0;
  cursor: pointer;
  border-bottom: 1px solid transparent;
  transition: color var(--transition-fast), border-color var(--transition-fast);
}
.nav__link:hover { border-bottom-color: var(--noche-800); }
.nav__link--active { color: var(--terracota-600); border-bottom-color: var(--terracota-600); }
.nav__cta {
  font-family: var(--font-descriptor); font-weight: 800;
  font-size: 11px; text-transform: uppercase; letter-spacing: var(--tracking-wider);
  background: var(--noche-800); color: var(--crema-50);
  padding: 12px 18px; border-radius: 2px; border: none; cursor: pointer;
  transition: background var(--transition-fast);
}
.nav__cta:hover { background: var(--noche-700); }

/* ============================================================================
   EMPIEZA AQUÍ — puerta de entrada (crema, cálida)
   ============================================================================ */
.start {
  padding: clamp(72px, 9vw, 120px) 0 clamp(64px, 8vw, 104px);
  position: relative;
}
.start__head {
  max-width: 680px;
  margin-bottom: clamp(40px, 5vw, 64px);
}
.start__eb {
  font-family: var(--font-descriptor); font-weight: 800;
  font-size: 11px; text-transform: uppercase; letter-spacing: var(--tracking-wider);
  color: var(--terracota-600);
  display: flex; align-items: center; gap: 14px;
}
.start__eb::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.start__title {
  font-family: var(--font-serif); font-weight: 600;
  font-size: clamp(40px, 5vw, 64px);
  line-height: 1.06; letter-spacing: -0.006em;
  color: var(--noche-800);
  margin: 16px 0 0;
  text-wrap: balance;
}
.start__title em {
  font-style: italic; font-weight: 500;
  color: var(--terracota-600);
}
.start__lead {
  font-family: var(--font-body);
  font-size: 18px; line-height: 1.66;
  color: var(--niebla-700);
  margin: 18px 0 0;
  max-width: 52ch;
}
.start__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.start__door {
  display: flex; flex-direction: column;
  gap: 14px;
  padding: 32px 30px 28px;
  background: var(--crema-50);
  border: 1px solid var(--rule);
  border-radius: 4px;
  text-decoration: none;
  color: inherit;
  position: relative;
  transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
}
.start__door:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--rule-strong);
}
.start__door--feature {
  background: var(--noche-800);
  border-color: var(--noche-700);
}
.start__door-toprow { display: flex; align-items: center; justify-content: space-between; }
.start__door-num {
  font-family: var(--font-serif); font-style: italic; font-weight: 500;
  font-size: 28px; line-height: 1;
  color: var(--dorado-500);
}
.start__door--feature .start__door-num { color: var(--dorado-400); }
.start__door-tag {
  font-family: var(--font-descriptor); font-weight: 800;
  font-size: 9px; text-transform: uppercase; letter-spacing: var(--tracking-widest);
  color: var(--noche-800);
  background: var(--dorado-400);
  padding: 4px 9px; border-radius: 2px;
}
.start__door-title {
  font-family: var(--font-serif); font-weight: 600;
  font-size: 25px; line-height: 1.16; letter-spacing: -0.004em;
  color: var(--noche-800);
  margin: 6px 0 0;
}
.start__door--feature .start__door-title { color: var(--crema-50); }
.start__door-desc {
  font-family: var(--font-body);
  font-size: 15.5px; line-height: 1.6;
  color: var(--niebla-700);
  margin: 0;
  flex: 1;
}
.start__door--feature .start__door-desc { color: var(--niebla-300); }
.start__edit { color: var(--terracota-400); font-style: italic; }
.start__door-cta {
  font-family: var(--font-descriptor); font-weight: 800;
  font-size: 11px; text-transform: uppercase; letter-spacing: var(--tracking-wider);
  color: var(--terracota-600);
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 6px;
  transition: gap var(--transition-fast);
}
.start__door--feature .start__door-cta { color: var(--dorado-400); }
.start__door:hover .start__door-cta { gap: 14px; }
@media (max-width: 900px) {
  .start__grid { grid-template-columns: 1fr; }
}

/* ============================================================================
   FEATURED — último publicado
   ============================================================================ */
.featured {
  padding: 80px 0 100px;
  border-top: 1px solid var(--rule);
}
.featured__head {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px;
  margin-bottom: 36px;
}
.featured__eb {
  font-family: var(--font-descriptor); font-weight: 800;
  font-size: 11px; text-transform: uppercase; letter-spacing: var(--tracking-wider);
  color: var(--dorado-600);
  display: flex; align-items: center; gap: 14px;
}
.featured__eb::before {
  content: ""; width: 28px; height: 1px; background: currentColor;
}
.featured__date {
  font-family: var(--font-descriptor); font-weight: 800;
  font-size: 10px; text-transform: uppercase; letter-spacing: var(--tracking-wider);
  color: var(--niebla-600);
}
.featured__controls {
  display: flex; align-items: center; gap: 20px;
}
.featured__nav { display: flex; gap: 8px; }
.featured__arrow {
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid var(--rule-strong);
  background: var(--crema-50);
  color: var(--noche-800);
  font-size: 15px; line-height: 1;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background var(--transition-fast), color var(--transition-fast), border-color var(--transition-fast);
}
.featured__arrow:hover { background: var(--noche-800); color: var(--crema-50); border-color: var(--noche-800); }
.featured__foot {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.featured__dots {
  display: flex; gap: 10px;
  margin-top: 28px;
}
.featured__dot {
  width: 9px; height: 9px;
  border-radius: 50%;
  border: 1px solid var(--rule-strong);
  background: transparent;
  padding: 0; cursor: pointer;
  transition: background var(--transition-fast), border-color var(--transition-fast), transform var(--transition-fast);
}
.featured__dot:hover { border-color: var(--terracota-500); }
.featured__dot--active {
  background: var(--terracota-500);
  border-color: var(--terracota-500);
  transform: scale(1.15);
}
.featured__main,
.featured__quote {
  transition: opacity 480ms cubic-bezier(.2,.7,.2,1), transform 480ms cubic-bezier(.2,.7,.2,1);
}
.featured__main.is-pre,
.featured__quote.is-pre { opacity: 0; transform: translateY(12px); }
.featured__main.is-in,
.featured__quote.is-in { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .featured__main, .featured__quote { transition: none; }
  .featured__main.is-pre, .featured__quote.is-pre { opacity: 1; transform: none; }
}
.featured__main {
  display: block;
  position: relative;
  overflow: hidden;
  aspect-ratio: 21 / 9;
  background: var(--noche-800);
  text-decoration: none;
  color: var(--crema-50);
}
.featured__media {
  position: absolute;
  inset: 0;
  margin: 0;
}
.featured__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 600ms cubic-bezier(.2,.6,.2,1);
}
.featured__main:hover .featured__media img { transform: scale(1.02); }
/* Scrim right-heavy so right-side copy reads, left-side image breathes */
.featured__media::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(90deg,
    rgba(13, 27, 42, 0.00) 0%,
    rgba(13, 27, 42, 0.15) 28%,
    rgba(13, 27, 42, 0.55) 62%,
    rgba(13, 27, 42, 0.82) 100%);
}

/* Fallback when image fails to load: editorial numeral on noche bg */
.featured__main--no-image {
  background:
    radial-gradient(ellipse at 22% 50%, var(--noche-600), var(--noche-800) 70%);
}
.featured__main--no-image .featured__media::after { display: none; }
.featured__num-fallback {
  position: absolute;
  left: clamp(40px, 6vw, 96px);
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-serif); font-style: italic; font-weight: 400;
  font-size: clamp(120px, 16vw, 240px);
  line-height: 0.85;
  color: rgba(212, 158, 124, 0.55);
  letter-spacing: -0.02em;
  z-index: 1;
}
.featured__num-fallback sup {
  font-size: 0.32em;
  font-weight: 400;
  vertical-align: top;
  margin-right: 6px;
  color: rgba(245, 240, 232, 0.35);
}

.featured__num-stamp {
  position: absolute;
  left: clamp(28px, 3.5vw, 48px);
  top: clamp(24px, 3vw, 40px);
  font-family: var(--font-serif); font-style: italic; font-weight: 400;
  font-size: clamp(36px, 4vw, 56px);
  line-height: 0.9;
  color: rgba(245, 240, 232, 0.92);
  letter-spacing: -0.02em;
  text-shadow: 0 1px 18px rgba(0, 0, 0, 0.45);
  z-index: 2;
}
.featured__num-stamp sup {
  font-size: 0.32em;
  margin-right: 4px;
  vertical-align: top;
  letter-spacing: 0.01em;
}
.featured__main--no-image .featured__num-stamp { display: none; }

.featured__body {
  position: absolute;
  right: 0; bottom: 0;
  padding: clamp(32px, 5vw, 64px);
  max-width: 64%;
  display: flex; flex-direction: column;
  align-items: flex-end;
  text-align: right;
  gap: 22px;
  z-index: 2;
}
.featured__cats {
  display: flex; gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
/* Category chips override on the dark scrim */
.featured__body .cat {
  background: rgba(245, 240, 232, 0.12);
  color: var(--crema-100);
  box-shadow: inset 0 0 0 1px rgba(245, 240, 232, 0.18);
}
.featured__body .cat--alt {
  background: transparent;
  color: var(--dorado-300);
  box-shadow: inset 0 0 0 1px var(--dorado-400);
}
.featured__body .cat--mist {
  background: rgba(245, 240, 232, 0.10);
  color: var(--crema-200);
}
.featured__title {
  font-family: var(--font-serif); font-weight: 600;
  font-size: clamp(30px, 3.6vw, 54px);
  line-height: 1.08;
  letter-spacing: -0.006em;
  color: var(--crema-50);
  margin: 0;
  text-wrap: balance;
  text-shadow: 0 1px 24px rgba(0, 0, 0, 0.30);
}
.featured__read {
  font-family: var(--font-descriptor); font-weight: 800;
  font-size: 11px; text-transform: uppercase; letter-spacing: var(--tracking-wider);
  color: var(--terracota-400);
  border-bottom: 1px solid currentColor;
  padding-bottom: 4px;
  display: inline-flex; align-items: center; gap: 8px;
  white-space: nowrap;
  align-self: flex-end;
  margin-top: 6px;
  transition: gap var(--transition-fast), color var(--transition-fast);
}
.featured__main:hover .featured__read { gap: 14px; color: var(--terracota-300); }

/* Pullquote — del cuerpo del artículo, debajo del hero */
.featured__quote {
  max-width: 780px;
  margin: clamp(36px, 4vw, 56px) auto 0;
  padding: 0 24px;
  text-align: center;
  position: relative;
  /* override global blockquote styles */
  border-left: none;
  font-size: inherit;
  line-height: inherit;
}
.featured__quote::before {
  content: "\201C";
  display: block;
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 500;
  font-size: 104px;
  line-height: 0.6;
  color: var(--terracota-300);
  margin-bottom: 18px;
  user-select: none;
}
.featured__quote p {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(22px, 2.4vw, 30px);
  line-height: 1.42;
  letter-spacing: -0.005em;
  color: var(--noche-800);
  margin: 0;
  text-wrap: balance;
}
.featured__quote-from {
  font-family: var(--font-descriptor);
  font-weight: 800;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: var(--tracking-wider);
  color: var(--niebla-600);
  margin-top: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}
.featured__quote-from::before,
.featured__quote-from::after {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--dorado-400);
}
.featured__quote-from em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: 13px;
  text-transform: none;
  letter-spacing: 0;
  color: var(--noche-800);
}

/* ============================================================================
   SLIDER — Último publicado (estilo hero slideshow)
   ============================================================================ */
.slider { position: relative; }
.slider__stage {
  position: relative;
  width: 100%;
  height: clamp(440px, 58vh, 640px);
  overflow: hidden;
  background: var(--noche-800);
  border-radius: 3px;
}
.slider__slide {
  position: absolute; inset: 0;
  display: block;
  text-decoration: none;
  color: var(--crema-50);
  overflow: hidden;
  transition: opacity 600ms ease;
}
.slider__slide.is-pre { opacity: 0; }
.slider__slide.is-in { opacity: 1; }
.slider__img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; display: block;
  transition: transform 6000ms ease-out;
}
.slider__slide.is-pre .slider__img { transform: scale(1.08); }
.slider__slide.is-in .slider__img { transform: scale(1.0); }
.slider__scrim {
  position: absolute; inset: 0;
  background: linear-gradient(180deg,
    rgba(13,27,42,0.10) 0%, rgba(13,27,42,0.28) 45%, rgba(13,27,42,0.88) 100%);
}
.slider__caption {
  position: absolute; left: 0; bottom: 0;
  padding: clamp(28px, 4vw, 58px);
  padding-left: clamp(28px, 9vw, 104px);
  padding-bottom: clamp(70px, 8vw, 90px);
  max-width: 86%;
  display: flex; flex-direction: column; gap: 16px;
  z-index: 2;
}
.slider__cats { display: flex; gap: 8px; flex-wrap: wrap; }
.slider__caption .cat { background: rgba(245,240,232,0.14); color: var(--crema-100); box-shadow: inset 0 0 0 1px rgba(245,240,232,0.2); }
.slider__caption .cat--alt { background: transparent; color: var(--dorado-300); box-shadow: inset 0 0 0 1px var(--dorado-400); }
.slider__caption .cat--mist { background: rgba(245,240,232,0.1); color: var(--crema-200); }
.slider__title {
  font-family: var(--font-serif); font-weight: 600;
  font-size: clamp(30px, 4.4vw, 58px);
  line-height: 1.05; letter-spacing: -0.006em;
  color: var(--crema-50); margin: 0;
  text-wrap: balance;
  text-shadow: 0 2px 30px rgba(0,0,0,0.4);
  max-width: 20ch;
}
.slider__meta {
  display: flex; flex-wrap: wrap; gap: 22px;
  font-family: var(--font-descriptor); font-weight: 800;
  font-size: 11px; text-transform: uppercase; letter-spacing: var(--tracking-wider);
  color: var(--crema-100);
}
.slider__metaitem { display: inline-flex; align-items: center; gap: 8px; }
.slider__ico { width: 14px; height: 14px; color: var(--dorado-400); flex-shrink: 0; }
.slider__read {
  font-family: var(--font-descriptor); font-weight: 800;
  font-size: 11px; text-transform: uppercase; letter-spacing: var(--tracking-wider);
  color: var(--terracota-300);
  border-bottom: 1px solid currentColor; padding-bottom: 4px;
  align-self: flex-start;
  transition: color var(--transition-fast);
}
.slider__slide:hover .slider__read { color: var(--terracota-200); }
.slider__arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  z-index: 5;
  width: 52px; height: 52px; border-radius: 50%;
  border: 1px solid rgba(245,240,232,0.35);
  background: rgba(13,27,42,0.42);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  color: var(--crema-50);
  font-family: var(--font-serif); font-size: 30px; line-height: 1;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; padding: 0 0 4px;
  transition: background var(--transition-fast), border-color var(--transition-fast);
}
.slider__arrow:hover { background: var(--terracota-500); border-color: var(--terracota-500); }
.slider__arrow--prev { left: clamp(14px, 2vw, 28px); }
.slider__arrow--next { right: clamp(14px, 2vw, 28px); }
.slider__thumbs {
  position: absolute; left: 50%; transform: translateX(-50%);
  bottom: 18px; z-index: 6;
  display: flex; gap: 8px;
  padding: 6px; border-radius: 4px;
  background: rgba(13,27,42,0.42);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.slider__thumb {
  width: 54px; height: 40px; border-radius: 2px;
  background-size: cover; background-position: center;
  border: 0; padding: 0; cursor: pointer;
  opacity: 0.5;
  outline: 2px solid transparent; outline-offset: -2px;
  transition: opacity var(--transition-fast), outline-color var(--transition-fast);
}
.slider__thumb:hover { opacity: 0.85; }
.slider__thumb.is-active { opacity: 1; outline-color: var(--terracota-400); }
.slider__excerpt {
  max-width: 760px; margin: 30px auto 0; text-align: center;
  transition: opacity 500ms ease, transform 500ms ease;
}
.slider__excerpt.is-pre { opacity: 0; transform: translateY(8px); }
.slider__excerpt.is-in { opacity: 1; transform: translateY(0); }
.slider__excerpt p {
  font-family: var(--font-serif); font-style: italic; font-weight: 400;
  font-size: clamp(19px, 2vw, 24px); line-height: 1.5;
  color: var(--noche-800); margin: 0; text-wrap: balance;
}
.slider__excerpt-link {
  display: inline-block; margin-top: 16px;
  font-family: var(--font-descriptor); font-weight: 800;
  font-size: 11px; text-transform: uppercase; letter-spacing: var(--tracking-wider);
  color: var(--terracota-600); border-bottom: 1px solid currentColor; padding-bottom: 3px;
}
@media (max-width: 760px) {
  .slider__caption { max-width: 100%; padding-left: 62px; padding-bottom: 74px; }
  .slider__title { font-size: clamp(26px, 7vw, 40px); }
  .slider__arrow { width: 42px; height: 42px; font-size: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  .slider__img { transition: none; }
  .slider__slide.is-pre .slider__img, .slider__slide.is-in .slider__img { transform: none; }
}

/* ============================================================================
   POST CHIP (categoría)
   ============================================================================ */
.cat {
  font-family: var(--font-descriptor); font-weight: 800;
  font-size: 10px; text-transform: uppercase; letter-spacing: var(--tracking-wider);
  padding: 5px 9px; border-radius: 2px;
  background: var(--terracota-100); color: var(--terracota-700);
  text-decoration: none;
}
.cat--alt { background: transparent; color: var(--dorado-700); box-shadow: inset 0 0 0 1px var(--dorado-400); }
.cat--mist { background: var(--niebla-200); color: var(--niebla-700); }
.cat--noche { background: rgba(245, 240, 232, 0.10); color: var(--crema-100); }
.cat--noche-alt { background: transparent; color: var(--dorado-400); box-shadow: inset 0 0 0 1px var(--dorado-400); }

/* ============================================================================
   POPULAR — Más leídos (6 cards, sobre fondo Noche)
   ============================================================================ */
.popular {
  background: var(--noche-800);
  color: var(--crema-100);
  padding: 110px 0 120px;
}
.popular__head {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 24px;
  margin-bottom: 56px;
  padding-bottom: 22px;
  border-bottom: 1px solid rgba(245, 240, 232, 0.14);
}
.popular__eb {
  font-family: var(--font-descriptor); font-weight: 800;
  font-size: 11px; text-transform: uppercase; letter-spacing: var(--tracking-wider);
  color: var(--terracota-400);
  display: flex; align-items: center; gap: 12px;
}
.popular__eb::before {
  content: ""; width: 28px; height: 1px; background: currentColor;
}
.popular__title {
  font-family: var(--font-serif); font-weight: 600;
  font-size: 48px; line-height: 1.06; letter-spacing: -0.005em;
  color: var(--crema-100);
  margin: 10px 0 0;
}
.popular__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px 32px;
}

/* ---------- Popcard ---------- */
.popcard {
  display: flex; flex-direction: column;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  transition: transform var(--transition-base);
}
.popcard:hover { transform: translateY(-3px); }

.popcard__media {
  position: relative;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: var(--noche-700);
  margin-bottom: 22px;
}
.popcard__media img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
  transition: transform 500ms cubic-bezier(.2,.6,.2,1);
}
.popcard:hover .popcard__media img { transform: scale(1.04); }

/* Fallback when image missing or fails */
.popcard--no-image .popcard__media {
  background:
    radial-gradient(ellipse at 65% 50%, var(--noche-600), var(--noche-800) 75%);
  display: flex; align-items: center; justify-content: center;
}
.popcard__num-fallback {
  font-family: var(--font-serif); font-style: italic; font-weight: 400;
  font-size: clamp(72px, 9vw, 120px);
  line-height: 0.85;
  color: rgba(212, 158, 124, 0.45);
  letter-spacing: -0.02em;
}
.popcard__num-fallback sup {
  font-size: 0.32em;
  margin-right: 5px;
  vertical-align: top;
  color: rgba(245, 240, 232, 0.3);
}

/* Date circle stamp — top-right overlay */
.popcard__date {
  position: absolute;
  top: 16px; right: 16px;
  width: 60px; height: 60px;
  border-radius: 50%;
  background: var(--terracota-500);
  color: var(--crema-50);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 0;
  box-shadow: 0 4px 12px rgba(13, 27, 42, 0.25);
}
.popcard__date-m {
  font-family: var(--font-descriptor); font-weight: 800;
  font-size: 10px; letter-spacing: 0.08em;
  line-height: 1;
  margin-top: 2px;
}
.popcard__date-d {
  font-family: var(--font-sans); font-weight: 700;
  font-size: 22px; line-height: 1;
  letter-spacing: -0.02em;
  margin-top: 2px;
}

.popcard__title {
  font-family: var(--font-body); font-weight: 600;
  font-size: 21px; line-height: 1.32; letter-spacing: 0;
  color: var(--crema-100);
  margin: 0 0 14px;
  text-wrap: balance;
  transition: color var(--transition-fast);
}
.popcard:hover .popcard__title { color: var(--terracota-300); }

.popcard__meta {
  font-family: var(--font-sans); font-weight: 400;
  font-size: 12px; line-height: 1.5;
  color: var(--niebla-400);
  display: flex; flex-wrap: wrap; gap: 0 8px;
  align-items: baseline;
}
.popcard__meta-sep { color: rgba(245, 240, 232, 0.25); }
.popcard__cats { color: var(--dorado-400); }
.popcard__author { color: var(--niebla-400); }
.popcard__date-long { color: var(--niebla-400); }

/* ============================================================================

/* ============================================================================
   THEMES — Por tema (en NOCHE)
   ============================================================================ */
.themes {
  background: var(--bg); color: var(--noche-800);
  padding: 110px 0;
  border-top: 1px solid var(--rule);
}
.themes__head {
  display: flex; align-items: end; justify-content: space-between;
  gap: 24px;
  margin-bottom: 56px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--rule);
}
.themes__eb {
  font-family: var(--font-descriptor); font-weight: 800;
  font-size: 11px; text-transform: uppercase; letter-spacing: var(--tracking-wider);
  color: var(--dorado-600);
  display: flex; align-items: center; gap: 12px;
}
.themes__eb::before {
  content: ""; width: 28px; height: 1px; background: currentColor;
}
.themes__title {
  font-family: var(--font-serif); font-weight: 600;
  font-size: 48px; line-height: 1.06; letter-spacing: -0.005em;
  color: var(--noche-800);
  margin: 10px 0 0;
}
.themes__sub {
  font-family: var(--font-serif); font-style: italic;
  font-size: 17px; color: var(--niebla-700);
  margin: 0;
  max-width: 28ch;
  text-align: right;
}
.themes__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
}
.theme {
  background: var(--crema-50);
  padding: 30px 28px 26px;
  display: flex; flex-direction: column; gap: 12px;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  min-height: 200px;
  transition: background var(--transition-fast);
}
.theme:hover { background: var(--crema-200); }
.theme__top {
  display: flex; align-items: baseline; justify-content: space-between; gap: 14px;
}
.theme__count {
  font-family: var(--font-serif); font-style: italic; font-weight: 400;
  font-size: 38px; line-height: 1;
  color: var(--dorado-600);
  letter-spacing: -0.02em;
}
.theme__count-lbl {
  font-family: var(--font-descriptor); font-weight: 800;
  font-size: 9px; text-transform: uppercase; letter-spacing: var(--tracking-widest);
  color: var(--niebla-600);
  margin-top: 8px;
}
.theme__name {
  font-family: var(--font-body); font-weight: 600;
  font-size: 23px; line-height: 1.18; letter-spacing: 0;
  color: var(--noche-800);
  margin: 8px 0 0;
}
.theme__desc {
  font-family: var(--font-serif); font-style: italic;
  font-size: 14px; line-height: 1.45;
  color: var(--niebla-700);
  margin: 4px 0 0;
}

/* ============================================================================
   ARCHIVE — Lista cronológica
   ============================================================================ */
.archive { padding: 110px 0; }
.archive__head {
  display: flex; align-items: end; justify-content: space-between;
  gap: 24px;
  margin-bottom: 56px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--rule);
}
.archive__eb {
  font-family: var(--font-descriptor); font-weight: 800;
  font-size: 11px; text-transform: uppercase; letter-spacing: var(--tracking-wider);
  color: var(--terracota-600);
  display: flex; align-items: center; gap: 12px;
}
.archive__eb::before {
  content: ""; width: 28px; height: 1px; background: currentColor;
}
.archive__title {
  font-family: var(--font-serif); font-weight: 600;
  font-size: 48px; line-height: 1.06; letter-spacing: -0.005em;
  color: var(--noche-800);
  margin: 10px 0 0;
}
.archive__filter-wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
}
.archive__filter-lbl {
  font-family: var(--font-descriptor); font-weight: 800;
  font-size: 10px; text-transform: uppercase; letter-spacing: var(--tracking-wider);
  color: var(--niebla-600);
}
.archive__select {
  position: relative;
  display: inline-flex;
  align-items: center;
}
.archive__select select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  font-family: var(--font-sans); font-weight: 500;
  font-size: 14px; line-height: 1;
  color: var(--noche-800);
  background: var(--crema-50);
  border: 1px solid var(--rule-strong);
  padding: 11px 38px 11px 16px;
  border-radius: 2px;
  cursor: pointer;
  min-width: 240px;
  letter-spacing: -0.003em;
  transition: border-color var(--transition-fast), background var(--transition-fast);
}
.archive__select select:hover { border-color: var(--noche-800); }
.archive__select select:focus {
  outline: none;
  border-color: var(--terracota-500);
  box-shadow: 0 0 0 3px var(--focus-ring);
}
.archive__select-caret {
  position: absolute;
  right: 14px; top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  color: var(--niebla-600);
  font-size: 12px;
  line-height: 1;
}

.archive__year {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 56px;
  padding: 40px 0;
  border-top: 1px solid var(--rule);
}
.archive__year:last-child { border-bottom: 1px solid var(--rule); }
.archive__year-num {
  font-family: var(--font-serif); font-style: italic; font-weight: 500;
  font-size: 64px; line-height: 0.9; letter-spacing: -0.01em;
  color: var(--terracota-500);
  position: sticky; top: 100px;
  align-self: start;
}
.archive__year-count {
  font-family: var(--font-descriptor); font-weight: 800;
  font-size: 10px; text-transform: uppercase; letter-spacing: var(--tracking-wider);
  color: var(--niebla-600);
  display: block;
  margin-top: 8px;
}
.archive__list { display: flex; flex-direction: column; }
.archive__entry {
  display: grid;
  grid-template-columns: 72px 1fr auto;
  gap: 32px;
  align-items: baseline;
  padding: 22px 0;
  border-bottom: 1px solid var(--rule);
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  transition: padding-left var(--transition-fast);
}
.archive__entry:hover { padding-left: 6px; }
.archive__entry:hover .archive__entry-title { color: var(--terracota-600); }
.archive__entry:first-child { border-top: 1px solid var(--rule); }
.archive__entry-num {
  font-family: var(--font-serif); font-style: italic; font-weight: 400;
  font-size: 22px;
  color: var(--niebla-500);
}
.archive__entry-num sup { font-size: 0.55em; margin-right: 1px; }
.archive__entry-body { display: flex; flex-direction: column; gap: 6px; }
.archive__entry-title {
  font-family: var(--font-body); font-weight: 600;
  font-size: 21px; line-height: 1.32; letter-spacing: 0;
  color: var(--noche-800);
  margin: 0;
  transition: color var(--transition-fast);
}
.archive__entry-cats {
  display: flex; gap: 14px;
  font-family: var(--font-descriptor); font-weight: 800;
  font-size: 9px; text-transform: uppercase; letter-spacing: var(--tracking-wider);
  color: var(--niebla-600);
}
.archive__entry-cats span { color: inherit; }
.archive__entry-date {
  font-family: var(--font-descriptor); font-weight: 800;
  font-size: 10px; text-transform: uppercase; letter-spacing: var(--tracking-wider);
  color: var(--niebla-600);
  white-space: nowrap;
}

/* ============================================================================
   SERMONES (dark — tratamiento "sala de cine")
   ============================================================================ */
.sermons {
  background: var(--noche-900);
  color: var(--crema-100);
  padding: 110px 0 120px;
}
.sermons__head {
  display: flex; align-items: end; justify-content: space-between;
  gap: 24px;
  margin-bottom: 56px;
  padding-bottom: 22px;
  border-bottom: 1px solid rgba(245, 240, 232, 0.14);
}
.sermons__eb {
  font-family: var(--font-descriptor); font-weight: 800;
  font-size: 11px; text-transform: uppercase; letter-spacing: var(--tracking-wider);
  color: var(--terracota-400);
  display: flex; align-items: center; gap: 12px;
}
.sermons__eb::before {
  content: ""; width: 28px; height: 1px; background: currentColor;
}
.sermons__title {
  font-family: var(--font-serif); font-weight: 600;
  font-size: 48px; line-height: 1.06; letter-spacing: -0.005em;
  color: var(--crema-100);
  margin: 10px 0 0;
}
.sermons__title em { font-style: italic; color: var(--terracota-300); }
.sermons__sub {
  font-family: var(--font-serif); font-style: italic;
  font-size: 17px; color: var(--niebla-400);
  margin: 0;
  max-width: 30ch;
  text-align: right;
}

.sermons__layout {
  display: grid;
  grid-template-columns: 1.7fr 1fr;
  gap: 48px;
  align-items: start;
}

/* ---------- Reproductor destacado ---------- */
.sermons__frame {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: var(--noche-700);
  overflow: hidden;
  border: 0; padding: 0;
}
.sermons__frame iframe {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  border: 0;
}
.sermons__facade { cursor: pointer; }
.sermons__facade img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
  transition: transform 500ms cubic-bezier(.2,.6,.2,1);
}
.sermons__facade:hover img { transform: scale(1.03); }
.sermons__facade-scrim {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at center, rgba(13,27,42,0.05), rgba(13,27,42,0.45));
  transition: background var(--transition-fast);
}
.sermons__play {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 76px; height: 76px;
  border-radius: 50%;
  background: var(--terracota-500);
  color: var(--crema-50);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 28px rgba(13, 27, 42, 0.45);
  transition: background var(--transition-fast), transform var(--transition-fast);
}
.sermons__play svg { width: 32px; height: 32px; display: block; }
.sermons__facade:hover .sermons__play {
  background: var(--terracota-600);
  transform: translate(-50%, -50%) scale(1.06);
}
.sermons__player-title {
  font-family: var(--font-body); font-weight: 600;
  font-size: 22px; line-height: 1.32;
  color: var(--crema-100);
  margin: 20px 0 0;
  text-wrap: balance;
}

/* ---------- Lista lateral ---------- */
.sermons__side {
  display: flex; flex-direction: column; gap: 18px;
}
.sermons__side-label {
  font-family: var(--font-descriptor); font-weight: 800;
  font-size: 11px; text-transform: uppercase; letter-spacing: var(--tracking-wider);
  color: var(--niebla-400);
}
.sermons__list {
  display: flex; flex-direction: column; gap: 16px;
}
.sermons__item {
  display: grid;
  grid-template-columns: 132px 1fr;
  gap: 16px;
  align-items: center;
  background: none; border: 0; padding: 0;
  text-align: left;
  cursor: pointer;
  color: inherit;
}
.sermons__item-media {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--noche-700);
}
.sermons__item-media img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
}
.sermons__item .sermons__play {
  width: 32px; height: 32px;
  opacity: 0;
  transition: opacity var(--transition-fast);
}
.sermons__item .sermons__play svg { width: 14px; height: 14px; }
.sermons__item:hover .sermons__play { opacity: 1; }
.sermons__item.is-active .sermons__item-media {
  outline: 2px solid var(--terracota-400);
  outline-offset: -2px;
}
.sermons__item-title {
  font-family: var(--font-body); font-weight: 600;
  font-size: 15px; line-height: 1.4;
  color: var(--crema-100);
  transition: color var(--transition-fast);
}
.sermons__item:hover .sermons__item-title { color: var(--terracota-300); }
.sermons__item.is-active .sermons__item-title { color: var(--terracota-300); }

.sermons__channel {
  align-self: flex-start;
  font-family: var(--font-descriptor); font-weight: 800;
  font-size: 11px; text-transform: uppercase; letter-spacing: var(--tracking-wider);
  color: var(--crema-100);
  text-decoration: none;
  border-bottom: 1px solid rgba(245, 240, 232, 0.35);
  padding-bottom: 3px;
  margin-top: 6px;
  transition: color var(--transition-fast), border-color var(--transition-fast);
}
.sermons__channel:hover { color: var(--terracota-300); border-bottom-color: var(--terracota-300); }

@media (max-width: 960px) {
  .sermons__layout { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 760px) {
  .sermons__head { flex-direction: column; align-items: flex-start; }
  .sermons__sub { text-align: left; }
  .sermons__title { font-size: 38px; }
  .sermons__item { grid-template-columns: 112px 1fr; }
  /* La cabecera del archivo se apila: el filtro ya no se sale de pantalla */
  .archive__head { flex-direction: column; align-items: flex-start; }
  .archive__filter-wrap { align-items: flex-start; }
}

/* ============================================================================
   NEWSLETTER (dark)
   ============================================================================ */
.news {
  background: var(--noche-800); color: var(--crema-100);
  padding: 110px 0;
}
.news__inner {
  display: grid; grid-template-columns: 1.05fr 1fr; gap: 80px;
  align-items: start;
}
.news__left {
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.news__portrait {
  margin: 0;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 0;
  align-items: stretch;
  background: var(--noche-900);
  border: 1px solid rgba(245, 240, 232, 0.08);
}
.news__portrait img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
  object-position: 38% 30%;
  display: block;
  filter: saturate(0.9) contrast(1.02);
}
.news__portrait-cap {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 10px;
  padding: 24px 22px;
  background: var(--noche-900);
  border-left: 1px solid rgba(245, 240, 232, 0.08);
}
.news__portrait-eb {
  font-family: var(--font-descriptor); font-weight: 800;
  font-size: 10px; text-transform: uppercase; letter-spacing: var(--tracking-widest);
  color: var(--dorado-400);
  display: flex; align-items: center; gap: 10px;
}
.news__portrait-eb::before {
  content: ""; width: 22px; height: 1px; background: currentColor;
}
.news__portrait-name {
  font-family: var(--font-sans); font-weight: 700;
  font-size: 22px; line-height: 1.1;
  letter-spacing: -0.018em;
  color: var(--crema-100);
}
.news__portrait-tag {
  font-family: var(--font-sans); font-weight: 400;
  font-size: 12px;
  color: var(--niebla-400);
  display: flex; flex-direction: column; gap: 2px;
}
.news__portrait-tag em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 500;
  font-size: 15px;
  color: var(--terracota-400);
  letter-spacing: -0.005em;
}
.news__portrait-tag span {
  font-family: var(--font-descriptor); font-weight: 800;
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: var(--tracking-widest);
  color: var(--niebla-500);
}
.news__title {
  font-family: var(--font-serif); font-weight: 600;
  font-size: 54px; line-height: 1.06;
  letter-spacing: -0.006em;
  color: var(--crema-100);
  margin: 0 0 18px;
  text-wrap: balance;
}
.news__title em {
  font-family: var(--font-serif);
  font-style: italic; font-weight: 500;
  color: var(--terracota-400);
  letter-spacing: -0.012em;
}
.news__sub {
  font-family: var(--font-serif); font-style: italic;
  font-size: 18px; color: var(--niebla-400);
  margin: 0;
  line-height: 1.55;
  max-width: 38ch;
}
.news__eb {
  font-family: var(--font-descriptor); font-weight: 800;
  font-size: 11px; text-transform: uppercase; letter-spacing: var(--tracking-wider);
  color: var(--terracota-400);
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 20px;
}
.news__eb::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.news__list {
  list-style: none; padding: 0; margin: 28px 0 0;
  display: flex; flex-direction: column; gap: 12px;
}
.news__list li {
  font-family: var(--font-body);
  font-size: 15.5px; line-height: 1.5;
  color: var(--niebla-300);
  padding-left: 26px;
  position: relative;
}
.news__list li::before {
  content: "";
  position: absolute; left: 0; top: 0.62em;
  width: 12px; height: 1px;
  background: var(--dorado-400);
}
.news__form { display: flex; flex-direction: column; gap: 22px; }
.news__field { display: flex; flex-direction: column; gap: 8px; }
.news__field label {
  font-family: var(--font-descriptor); font-weight: 800;
  font-size: 10px; text-transform: uppercase; letter-spacing: var(--tracking-wider);
  color: var(--dorado-400);
}
.news__field input {
  font-family: var(--font-sans); font-size: 17px;
  color: var(--crema-100);
  background: transparent; border: none;
  border-bottom: 1px solid rgba(245, 240, 232, 0.32);
  padding: 12px 0;
  outline: none;
}
.news__field input::placeholder { color: var(--niebla-500); font-style: italic; }
.news__field input:focus { border-bottom-color: var(--terracota-400); }
.news__submit {
  align-self: flex-start; margin-top: 8px;
  font-family: var(--font-descriptor); font-weight: 800;
  text-transform: uppercase; letter-spacing: var(--tracking-wider);
  font-size: 12px;
  padding: 16px 26px; border: none; border-radius: 2px;
  background: var(--terracota-500); color: var(--crema-50);
  cursor: pointer;
  transition: background var(--transition-fast);
}
.news__submit:hover { background: var(--terracota-600); }
.news__fine {
  font-family: var(--font-sans); font-size: 12px;
  color: var(--niebla-500); margin: 8px 0 0;
}

/* ============================================================================
   FOOTER
   ============================================================================ */
.footer {
  background: var(--noche-900); color: var(--niebla-400);
  padding: 64px 0 32px;
}
.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer__brand { display: flex; flex-direction: column; gap: 16px; max-width: 360px; }
.footer__brand-row {
  display: flex; align-items: center; gap: 12px;
}
.footer__brand-row img { width: 36px; height: 36px; }
.footer__brand-stack {
  display: flex;
  flex-direction: column;
  gap: 4px;
  line-height: 1;
}
.footer__brand-name {
  font-family: var(--font-descriptor); font-weight: 800;
  font-size: 13px; letter-spacing: 0.08em;
  color: var(--crema-100); text-transform: uppercase;
}
.footer__brand-tagline {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: 13px;
  letter-spacing: 0.005em;
  color: var(--terracota-400);
}
.footer__bio {
  font-family: var(--font-serif);
  font-size: 14.5px; line-height: 1.65;
  color: var(--niebla-200, #d6cfc4);
  margin: 0;
}
.footer__tagline {
  font-family: var(--font-serif); font-style: italic;
  font-size: 15px; line-height: 1.55; color: var(--niebla-300);
  margin: 0;
}
.footer__col h4 {
  font-family: var(--font-descriptor); font-weight: 800;
  font-size: 11px; text-transform: uppercase; letter-spacing: var(--tracking-wider);
  color: var(--crema-100); margin: 0 0 18px;
}
.footer__col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.footer__col a {
  font-family: var(--font-sans); font-size: 14px;
  color: var(--niebla-300); text-decoration: none;
  border-bottom: 1px solid transparent;
}
.footer__col a:hover { color: var(--crema-100); border-bottom-color: currentColor; }
.footer__note {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 32px;
  padding: 28px 0;
  border-top: 1px solid rgba(245, 240, 232, 0.08);
}
.footer__note-eb {
  font-family: var(--font-descriptor); font-weight: 800;
  font-size: 10px; text-transform: uppercase; letter-spacing: var(--tracking-wider);
  color: var(--dorado-400);
  padding-top: 2px;
}
.footer__note p {
  font-family: var(--font-body); font-style: italic;
  font-size: 14px; line-height: 1.6;
  color: var(--niebla-400);
  margin: 0;
  max-width: 72ch;
}
@media (max-width: 760px) {
  .footer__note { grid-template-columns: 1fr; gap: 10px; }
}
.footer__bottom {
  display: flex; justify-content: space-between; gap: 24px;
  padding-top: 24px;
  border-top: 1px solid rgba(245, 240, 232, 0.08);
  font-family: var(--font-sans); font-size: 12px; color: var(--niebla-500);
}

/* ============================================================================
   RESPONSIVE — refuerzos para teléfonos (evitar desbordes / scroll horizontal)
   ============================================================================ */
@media (max-width: 600px) {
  /* Márgenes laterales más cómodos en pantallas angostas. */
  .wrap { padding: 0 20px; }

  /* Nav: reducir espacios y permitir que envuelva como último recurso,
     para que nunca cause scroll horizontal en teléfonos pequeños. */
  .nav__inner { padding: 14px 20px; gap: 12px; flex-wrap: wrap; row-gap: 8px; }
  .nav__links { gap: 14px; }
  .nav__cta { padding: 9px 13px; }
  .nav__wordmark { font-size: 12px; letter-spacing: 0.05em; }

  /* "Inicio" es redundante en teléfonos: el logo ya lleva al inicio. */
  #js-nav-inicio { display: none; }

  /* Archivo: que el texto pueda encogerse dentro del grid (evita el
     desborde horizontal en teléfonos muy angostos). */
  .archive__entry { gap: 16px; }
  .archive__entry-body { min-width: 0; }
  .archive__entry-title { overflow-wrap: break-word; }
}
