/* ====================================================================
   OR GOYIM — Experiencia cinematográfica
   Scroll narrativo · fondo Three.js · GSAP · Lenis.
   Hereda fuentes y tokens de ../styles.css.
   ==================================================================== */

html.lenis,
html.lenis body {
  height: auto;
}
.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}
.lenis.lenis-stopped {
  overflow: hidden;
}

body {
  margin: 0;
  background: #0b0a16;
  color: var(--or-cream, #ece8df);
  overflow-x: hidden;
}

/* ---- fondo Three.js ---- */
#bg {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  display: block;
}
/* viñeta + grano sutil por encima del canvas para profundidad y legibilidad */
.bg-veil {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(rgba(7, 5, 15, 0.34), rgba(7, 5, 15, 0.34)),
    radial-gradient(120% 90% at 50% 50%, transparent 36%, rgba(4, 3, 10, 0.62) 100%),
    linear-gradient(
      180deg,
      rgba(4, 3, 10, 0.5),
      transparent 20%,
      transparent 76%,
      rgba(4, 3, 10, 0.6)
    );
}

/* sombra suave detrás de los textos sobre el fondo, para legibilidad */
.head,
.scene .chapter-inner {
  position: relative;
}
.head::before,
.scene .chapter-inner::before {
  content: '';
  position: absolute;
  z-index: -1;
  inset: -12% -16%;
  background: radial-gradient(
    ellipse at center,
    rgba(7, 5, 15, 0.62) 0%,
    rgba(7, 5, 15, 0.36) 46%,
    transparent 72%
  );
  filter: blur(28px);
  pointer-events: none;
}

/* ---- progreso superior ---- */
#prog {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  width: 0%;
  z-index: 40;
  background: linear-gradient(90deg, var(--or-gold, #c8922a), var(--or-gold-light, #e8c46a));
  box-shadow: 0 0 14px rgba(232, 196, 106, 0.6);
}

/* ---- nav ---- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px clamp(20px, 4vw, 52px);
  mix-blend-mode: normal;
}
.nav .brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.nav .brand img {
  width: 54px;
  height: 54px;
  filter: drop-shadow(0 4px 14px rgba(0, 0, 0, 0.5));
}
.nav .brand b {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--or-gold-light, #e8c46a);
  font-size: 0.98rem;
  text-transform: uppercase;
  white-space: nowrap;
}
.nav .nav-cta {
  font-family: var(--font-body);
  font-size: 0.8rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--or-cream, #ece8df);
  padding: 10px 18px;
  border-radius: 10px;
  border: 1px solid rgba(232, 196, 106, 0.35);
  background: rgba(12, 10, 22, 0.4);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition:
    background 0.3s,
    color 0.3s,
    border-color 0.3s,
    transform 0.3s;
}
.nav .nav-cta:hover {
  background: var(--or-gold-light, #e8c46a);
  color: #1a1304;
  border-color: transparent;
  transform: translateY(-2px);
}

/* ---- cadena de capítulos ---- */
.chapters {
  position: relative;
  z-index: 2;
}
.chapter {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14vh clamp(24px, 6vw, 80px);
  position: relative;
  box-sizing: border-box;
}
.chapter-inner {
  max-width: 920px;
  width: 100%;
  text-align: center;
  position: relative;
}
.chapter-inner.left {
  text-align: left;
}
.chapter-inner.right {
  text-align: right;
  margin-left: auto;
}

/* tipografía cinematográfica */
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-body);
  font-size: clamp(0.7rem, 1.1vw, 0.82rem);
  letter-spacing: 4px;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--or-gold-light, #e8c46a);
  margin: 0 0 26px;
}
.kicker::before,
.center .kicker::after {
  content: '';
  width: 34px;
  height: 1px;
  background: rgba(232, 196, 106, 0.45);
}
.chapter-inner:not(.left):not(.right) .kicker::before {
  display: inline-block;
}

.he {
  font-family: var(--font-hebrew);
  direction: rtl;
  unicode-bidi: isolate;
  color: var(--or-gold-light, #e8c46a);
  line-height: 1;
  font-size: clamp(2.4rem, 7vw, 5.6rem);
  margin: 0 0 8px;
  text-shadow:
    0 0 34px rgba(200, 146, 42, 0.55),
    0 0 8px rgba(232, 196, 106, 0.35);
  display: inline-block;
}
.tl {
  font-style: italic;
  color: rgba(236, 232, 223, 0.6);
  font-size: clamp(0.9rem, 1.6vw, 1.1rem);
  margin: 0 0 22px;
}

.title {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.02;
  font-size: clamp(2.4rem, 7vw, 5.4rem);
  letter-spacing: 0.5px;
  margin: 0;
  color: #fbf6ea;
  text-wrap: balance;
  text-shadow: 0 14px 50px rgba(0, 0, 0, 0.5);
}
.title em {
  font-style: normal;
  color: var(--or-gold-light, #e8c46a);
}
.lead {
  font-family: var(--font-body);
  color: rgba(236, 232, 223, 0.82);
  font-size: clamp(1.05rem, 2.1vw, 1.5rem);
  line-height: 1.6;
  font-weight: 300;
  max-width: 640px;
  margin: 26px auto 0;
  text-wrap: pretty;
  text-shadow: 0 2px 22px rgba(0, 0, 0, 0.5);
}
.left .lead,
.right .lead {
  margin-inline: 0;
}
.right .lead {
  margin-left: auto;
}

.verse {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 600;
  font-size: clamp(1.5rem, 3.6vw, 2.6rem);
  line-height: 1.4;
  color: #fbf6ea;
  max-width: 780px;
  margin: 0 auto;
  text-wrap: balance;
  text-shadow: 0 10px 44px rgba(0, 0, 0, 0.55);
}

/* hero */
.hero .creed {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 1px;
  font-size: clamp(1rem, 2vw, 1.4rem);
  color: rgba(236, 232, 223, 0.9);
  margin: 22px 0 0;
}
.hero .creed b {
  color: var(--or-gold-light, #e8c46a);
  font-weight: 700;
}

/* pista de scroll */
.cue {
  position: absolute;
  left: 50%;
  bottom: 5vh;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: rgba(236, 232, 223, 0.55);
  font-size: 0.68rem;
  letter-spacing: 3px;
  text-transform: uppercase;
}
.cue .line {
  width: 1px;
  height: 46px;
  background: linear-gradient(rgba(232, 196, 106, 0.7), transparent);
  animation: cue 2.2s ease-in-out infinite;
  transform-origin: top;
}
@keyframes cue {
  0%,
  100% {
    transform: scaleY(0.4);
    opacity: 0.4;
  }
  50% {
    transform: scaleY(1);
    opacity: 1;
  }
}

/* CTA final */
.cta-row {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 36px;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.98rem;
  padding: 16px 30px;
  border-radius: 10px;
  cursor: pointer;
  text-decoration: none;
  transition:
    transform 0.3s,
    box-shadow 0.3s,
    background 0.3s,
    color 0.3s,
    border-color 0.3s;
  border: 1px solid transparent;
}
.btn-primary {
  background: linear-gradient(135deg, var(--or-gold-light, #e8c46a), var(--or-gold, #c8922a));
  color: #1a1304;
  box-shadow: 0 16px 40px -14px rgba(200, 146, 42, 0.7);
}
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 50px -12px rgba(200, 146, 42, 0.85);
}
.btn-ghost {
  border-color: rgba(232, 196, 106, 0.4);
  color: var(--or-cream, #ece8df);
  background: rgba(12, 10, 22, 0.4);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.btn-ghost:hover {
  transform: translateY(-3px);
  color: var(--or-gold-light, #e8c46a);
  border-color: rgba(232, 196, 106, 0.7);
}

.sig {
  margin-top: 48px;
  font-family: var(--font-hebrew);
  direction: rtl;
  color: rgba(232, 196, 106, 0.6);
  font-size: 1.5rem;
  text-shadow: 0 0 24px rgba(200, 146, 42, 0.4);
}
.foot {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 40px 24px 56px;
  color: rgba(236, 232, 223, 0.4);
  font-size: 0.82rem;
  font-family: var(--font-body);
}
.foot b {
  color: rgba(232, 196, 106, 0.7);
  font-family: var(--font-display);
  letter-spacing: 1px;
}

/* fallback sin JS / reduced-motion: todo visible */
.no-anim [data-anim] {
  opacity: 1 !important;
  transform: none !important;
}

@media (max-width: 640px) {
  .chapter-inner.left,
  .chapter-inner.right {
    text-align: center;
  }
  .right .lead,
  .left .lead {
    margin-inline: auto;
  }
  .nav .brand b {
    font-size: 0.82rem;
  }
  .nav .brand img {
    width: 46px;
    height: 46px;
  }
}

/* ==================================================================== *
   BLOQUES DE CONTENIDO — sobre el fondo vivo, en lenguaje cinematográfico
   ==================================================================== */
.chapter.block {
  min-height: auto;
  padding: clamp(96px, 15vh, 168px) clamp(24px, 6vw, 80px);
  align-items: center;
}
.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
}
.head {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}
.head.left {
  margin: 0;
  text-align: left;
}

.sec-title {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.06;
  font-size: clamp(2rem, 4.8vw, 3.5rem);
  color: #fbf6ea;
  margin: 16px 0 0;
  text-wrap: balance;
  text-shadow: 0 12px 44px rgba(0, 0, 0, 0.5);
}
.sec-title em {
  font-style: normal;
  color: var(--or-gold-light, #e8c46a);
}
.sec-sub {
  color: rgba(236, 232, 223, 0.78);
  font-size: clamp(1rem, 1.9vw, 1.22rem);
  line-height: 1.6;
  max-width: 640px;
  margin: 18px auto 0;
  font-weight: 300;
  text-wrap: pretty;
}
.head.left .sec-sub {
  margin-inline: 0;
}

/* iconos del sprite de marca */
.ic {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  display: inline-block;
  vertical-align: middle;
  flex: none;
}
.ic-lg {
  width: 28px;
  height: 28px;
  stroke-width: 1.45;
}

/* superficie de vidrio compartida */
.layer,
.year,
.zstat,
.app,
.mock,
.cuaderno,
.feasts,
.verse-card {
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(232, 196, 106, 0.18);
  -webkit-backdrop-filter: blur(13px) saturate(120%);
  backdrop-filter: blur(13px) saturate(120%);
  box-shadow: 0 28px 66px -34px rgba(0, 0, 0, 0.8);
}

/* ---- capas / el proyecto ---- */
.layers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 56px;
}
.layer {
  position: relative;
  overflow: hidden;
  padding: 28px 26px;
  border-radius: 20px;
  will-change: transform;
  transition:
    transform 0.15s ease-out,
    border-color 0.3s,
    background 0.3s;
}
.layer > * {
  position: relative;
  z-index: 1;
}
.layer::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.35s;
  background: radial-gradient(
    220px circle at var(--mx, 50%) var(--my, 50%),
    rgba(232, 196, 106, 0.18),
    transparent 55%
  );
}
.layer:hover::after {
  opacity: 1;
}
.layer:hover {
  transform: translateY(-5px);
  border-color: rgba(232, 196, 106, 0.42);
  background: rgba(255, 255, 255, 0.065);
}
.layer .ic-wrap {
  width: 48px;
  height: 48px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  color: var(--or-gold-light, #e8c46a);
  background: rgba(232, 196, 106, 0.08);
  border: 1px solid rgba(232, 196, 106, 0.22);
  margin-bottom: 18px;
}
.layer h3 {
  font-family: var(--font-display);
  font-weight: 600;
  color: #fbf6ea;
  font-size: 1.2rem;
  margin: 0 0 7px;
}
.layer .he {
  font-family: var(--font-hebrew);
  direction: rtl;
  color: var(--or-gold-light, #e8c46a);
  font-size: 0.95rem;
  margin-bottom: 7px;
}
.layer p {
  color: rgba(236, 232, 223, 0.66);
  font-size: 0.95rem;
  margin: 0;
  line-height: 1.55;
}

/* ---- premisas del plan ---- */
.premises {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 32px;
}
.premises .pp {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  border: 1px solid rgba(232, 196, 106, 0.22);
  background: rgba(12, 10, 22, 0.4);
  border-radius: 999px;
  padding: 10px 18px;
  color: rgba(236, 232, 223, 0.82);
  font-size: 0.88rem;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.premises .pp .ic {
  width: 17px;
  height: 17px;
  color: var(--or-gold-light, #e8c46a);
}
.premises .pp b {
  color: #fbf6ea;
  font-weight: 600;
}

/* ---- los 4 años ---- */
.years {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 52px;
}
.year {
  position: relative;
  overflow: hidden;
  padding: 26px 24px;
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  transition:
    transform 0.3s var(--ease-out, ease),
    border-color 0.3s,
    background 0.3s;
}
.year:hover {
  transform: translateY(-5px);
  border-color: rgba(232, 196, 106, 0.42);
}
.year .ynum {
  position: absolute;
  right: 14px;
  top: 4px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 3.4rem;
  color: var(--or-gold-light, #e8c46a);
  opacity: 0.12;
  line-height: 1;
}
.year .yhead {
  display: flex;
  align-items: center;
  gap: 13px;
}
.year .yico {
  width: 46px;
  height: 46px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  flex: none;
  color: var(--or-gold-light, #e8c46a);
  background: rgba(232, 196, 106, 0.08);
  border: 1px solid rgba(232, 196, 106, 0.22);
}
.year .ytag {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-size: 0.74rem;
  color: var(--or-gold-light, #e8c46a);
}
.year .ydate {
  color: rgba(236, 232, 223, 0.5);
  font-size: 0.76rem;
  margin-top: 3px;
}
.year h3 {
  font-family: var(--font-display);
  font-weight: 600;
  color: #fbf6ea;
  font-size: 1.1rem;
  margin: 0;
  line-height: 1.28;
}
.year .ybooks {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: auto;
}
.year .ybooks span {
  font-size: 0.72rem;
  color: rgba(236, 232, 223, 0.6);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(232, 196, 106, 0.14);
  border-radius: 999px;
  padding: 4px 10px;
}
.year.peak {
  border-color: rgba(232, 196, 106, 0.5);
  background: linear-gradient(160deg, rgba(232, 196, 106, 0.1), rgba(255, 255, 255, 0.04));
}
.year.peak .yico {
  background: linear-gradient(135deg, #e8c46a, #c8922a);
  color: #1a1304;
  border-color: transparent;
}

/* ---- plan: muestra + cuadernos ---- */
.plan-low {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 28px;
  margin-top: 34px;
  align-items: start;
}
.mock {
  border-radius: 20px;
  overflow: hidden;
}
.mock .bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 15px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}
.mock .bar > .ic {
  color: var(--or-gold-light, #e8c46a);
  width: 18px;
  height: 18px;
}
.mock .bar .t {
  font-family: var(--font-display);
  color: #fbf6ea;
  font-size: 0.92rem;
}
.mock .bar .blk {
  margin-left: auto;
  font-size: 0.68rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(236, 232, 223, 0.45);
}
.rows {
  padding: 8px;
}
.row {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  padding: 12px 13px;
  border-radius: 12px;
  transition: background 0.2s;
}
.row:hover {
  background: rgba(255, 255, 255, 0.045);
}
.row .chk {
  flex: none;
  width: 21px;
  height: 21px;
  border-radius: 7px;
  border: 1.5px solid rgba(232, 196, 106, 0.4);
  display: grid;
  place-items: center;
  margin-top: 2px;
}
.row button.chk {
  padding: 0;
  background: transparent;
  cursor: pointer;
}
.row > a.pr {
  color: inherit;
  text-decoration: none;
}
.row .status {
  flex: none;
  color: var(--or-gold-light, #e8c46a);
  border: 1px solid rgba(232, 196, 106, 0.25);
  border-radius: 999px;
  padding: 4px 7px;
  font-size: 0.58rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.row .chk .ic {
  width: 0;
  height: 0;
}
.row.done .chk {
  background: linear-gradient(135deg, #e8c46a, #c8922a);
  border-color: transparent;
}
.row.done .chk .ic {
  width: 13px;
  height: 13px;
  stroke-width: 2.6;
  color: #1a1304;
}
.row .pr {
  flex: 1;
  min-width: 0;
}
.row .pr-top {
  display: flex;
  align-items: baseline;
  gap: 9px;
  flex-wrap: wrap;
}
.row .z {
  font-size: 0.74rem;
  color: var(--or-gold-light, #e8c46a);
  font-weight: 600;
}
.row .d {
  font-size: 0.73rem;
  color: rgba(236, 232, 223, 0.45);
}
.row .bk {
  font-family: var(--font-display);
  color: #fbf6ea;
  font-size: 1rem;
  font-weight: 600;
  margin-top: 4px;
}
.row.done .bk {
  color: rgba(236, 232, 223, 0.6);
}
.row .th {
  color: rgba(236, 232, 223, 0.62);
  font-size: 0.85rem;
  margin-top: 3px;
}
.row .th .he {
  font-family: var(--font-hebrew);
  direction: rtl;
  color: var(--or-gold-light, #e8c46a);
  font-size: 1em;
  text-shadow: none;
}
.row .flag {
  width: 24px;
  height: 24px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  flex: none;
  margin-top: 1px;
  border: 1px solid rgba(232, 196, 106, 0.22);
  color: var(--or-gold-light, #e8c46a);
  background: rgba(12, 10, 22, 0.4);
}
.row .flag .ic {
  width: 14px;
  height: 14px;
}
.legend {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 20px;
  margin-top: 16px;
  padding: 0 6px;
}
.legend .lg {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(236, 232, 223, 0.6);
  font-size: 0.8rem;
}
.legend .lg .ic {
  width: 15px;
  height: 15px;
  color: var(--or-gold-light, #e8c46a);
}

.aside .ktiny {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.72rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--or-gold-light, #e8c46a);
}
.aside .ktiny::before {
  content: '';
  width: 28px;
  height: 1px;
  background: rgba(232, 196, 106, 0.45);
}
.aside h3 {
  font-family: var(--font-display);
  font-weight: 700;
  color: #fbf6ea;
  font-size: clamp(1.4rem, 2.6vw, 1.7rem);
  line-height: 1.2;
  margin: 14px 0 0;
  text-wrap: balance;
}
.aside > p {
  color: rgba(236, 232, 223, 0.7);
  font-size: 0.96rem;
  margin: 14px 0 0;
  line-height: 1.55;
}
.cuadernos {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 22px;
}
.cuaderno {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 16px 18px;
  border-radius: 16px;
  transition:
    transform 0.25s var(--ease-out, ease),
    border-color 0.25s;
}
.cuaderno:hover {
  transform: translateY(-2px);
  border-color: rgba(232, 196, 106, 0.42);
}
.cuaderno .cic {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  flex: none;
  display: grid;
  place-items: center;
  color: var(--or-gold-light, #e8c46a);
  background: rgba(232, 196, 106, 0.08);
  border: 1px solid rgba(232, 196, 106, 0.22);
}
.cuaderno .cbody {
  flex: 1;
  min-width: 0;
}
.cuaderno .cnum {
  font-size: 0.68rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--or-gold-light, #e8c46a);
  font-weight: 600;
}
.cuaderno h4 {
  font-family: var(--font-display);
  color: #fbf6ea;
  font-size: 1.04rem;
  margin: 4px 0 6px;
}
.cuaderno p {
  color: rgba(236, 232, 223, 0.62);
  font-size: 0.82rem;
  margin: 0;
}
.cuaderno .pdf {
  font-size: 0.64rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: rgba(236, 232, 223, 0.5);
  border: 1px solid rgba(232, 196, 106, 0.22);
  border-radius: 999px;
  padding: 4px 9px;
  flex: none;
  align-self: flex-start;
}

/* ---- tiempos ---- */
.zstats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 48px;
}
.zstat {
  padding: 22px;
  border-radius: 18px;
}
.zstat .n {
  font-family: var(--font-display);
  color: var(--or-gold-light, #e8c46a);
  font-size: 1.7rem;
  line-height: 1;
}
.zstat .l {
  color: rgba(236, 232, 223, 0.6);
  font-size: 0.82rem;
  margin-top: 8px;
}
.feasts {
  margin-top: 18px;
  border-radius: 20px;
  overflow: hidden;
}
.feast {
  display: grid;
  grid-template-columns: 30px 1.4fr 0.8fr 1.6fr;
  gap: 14px;
  align-items: center;
  padding: 17px 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: background 0.2s;
}
.feast .fnum {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex: none;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.82rem;
  color: #1a1304;
  background: linear-gradient(135deg, #e8c46a, #c8922a);
}
.feast:last-child {
  border-bottom: none;
}
.feast:hover {
  background: rgba(255, 255, 255, 0.045);
}
.feast .nm {
  font-weight: 600;
  color: #fbf6ea;
}
.feast .nm .es {
  color: rgba(236, 232, 223, 0.5);
  font-weight: 400;
}
.feast .nm .he {
  font-family: var(--font-hebrew);
  direction: rtl;
  color: var(--or-gold-light, #e8c46a);
  font-size: 0.92rem;
  display: block;
}
.feast .dt b {
  display: block;
  color: var(--or-gold-light, #e8c46a);
  font-size: 0.76rem;
}
.feast .dt {
  color: rgba(236, 232, 223, 0.6);
  font-size: 0.85rem;
}
.feast .fl b {
  color: #fbf6ea;
}
.feast .fl {
  color: rgba(236, 232, 223, 0.6);
  font-size: 0.9rem;
}
.feast .fl span {
  display: block;
  color: rgba(236, 232, 223, 0.4);
  font-size: 0.78rem;
}

/* ---- herramientas: enlace de tarjeta + badge ---- */
a.layer {
  display: block;
  color: inherit;
  text-decoration: none;
  cursor: pointer;
}
.layer .go {
  display: inline-block;
  margin-top: 14px;
  font-size: 0.76rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--or-gold-light, #e8c46a);
}
.layer .soon {
  display: inline-block;
  margin-top: 14px;
  font-size: 0.66rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--or-gold-light, #e8c46a);
  border: 1px solid rgba(232, 196, 106, 0.3);
  border-radius: 999px;
  padding: 5px 12px;
}

/* ---- cómo estudiar: 5 pasos ---- */
.steps {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 26px 30px;
  margin-top: 48px;
}
.step {
  position: relative;
  width: 168px;
  padding: 24px 16px 22px;
  border-radius: 18px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 9px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(232, 196, 106, 0.18);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: 0 24px 56px -30px rgba(0, 0, 0, 0.75);
  transition:
    transform 0.3s var(--ease-out, ease),
    border-color 0.3s;
}
.step:hover {
  transform: translateY(-5px);
  border-color: rgba(232, 196, 106, 0.42);
}
.step .snum {
  position: absolute;
  top: 10px;
  right: 14px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.9rem;
  color: var(--or-gold-light, #e8c46a);
  opacity: 0.16;
  line-height: 1;
}
.step .ic {
  color: var(--or-gold-light, #e8c46a);
}
.step b {
  font-family: var(--font-display);
  font-weight: 700;
  color: #fbf6ea;
  font-size: 1.05rem;
}
.step span {
  font-size: 0.8rem;
  color: rgba(236, 232, 223, 0.6);
  line-height: 1.45;
}
.step:not(:last-child)::after {
  content: '→';
  position: absolute;
  right: -24px;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(232, 196, 106, 0.55);
  font-size: 1.1rem;
}
@media (max-width: 900px) {
  .step:not(:last-child)::after {
    display: none;
  }
  .step {
    width: calc(50% - 13px);
  }
}
@media (max-width: 480px) {
  .step {
    width: 100%;
  }
}

/* ---- apps ---- */
.apps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin-top: 50px;
}
.app {
  position: relative;
  padding: 26px 24px;
  border-radius: 20px;
  transition:
    transform 0.3s var(--ease-out, ease),
    border-color 0.3s;
}
.app:hover {
  transform: translateY(-5px);
  border-color: rgba(232, 196, 106, 0.42);
}
.app .ic-wrap {
  width: 54px;
  height: 54px;
  border-radius: 15px;
  display: grid;
  place-items: center;
  color: var(--or-gold-light, #e8c46a);
  background: rgba(232, 196, 106, 0.08);
  border: 1px solid rgba(232, 196, 106, 0.22);
  margin-bottom: 18px;
}
.app h3 {
  font-family: var(--font-display);
  color: #fbf6ea;
  font-size: 1.12rem;
  margin: 0 0 5px;
}
.app .he {
  font-family: var(--font-hebrew);
  direction: rtl;
  color: var(--or-gold-light, #e8c46a);
  font-size: 0.82rem;
  margin-bottom: 10px;
}
.app p {
  color: rgba(236, 232, 223, 0.62);
  font-size: 0.9rem;
  margin: 0 0 14px;
}
.app .soon {
  font-size: 0.66rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--or-gold-light, #e8c46a);
  border: 1px solid rgba(232, 196, 106, 0.3);
  border-radius: 999px;
  padding: 5px 12px;
  display: inline-block;
}
a.app {
  text-decoration: none;
  cursor: pointer;
}
a.app:hover {
  border-color: rgba(232, 196, 106, 0.6);
}
.app .open {
  font-size: 0.66rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-weight: 600;
  color: #0d1b3e;
  background: var(--or-gold-light, #e8c46a);
  border: 1px solid var(--or-gold-light, #e8c46a);
  border-radius: 8px;
  padding: 5px 12px;
  display: inline-block;
  transition:
    background 0.25s,
    transform 0.25s;
}
a.app:hover .open {
  transform: translateX(3px);
}
.social-icon {
  width: 20px;
  height: 20px;
  flex: none;
  display: inline-block;
}
.social-instagram {
  color: #e76ba5;
  border-color: rgba(231, 107, 165, 0.42);
}
.social-pinterest {
  color: #e60023;
  border-color: rgba(230, 0, 35, 0.42);
}
.social-spotify {
  color: #1ed760;
  border-color: rgba(30, 215, 96, 0.42);
}
.coming-note {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  padding: 8px 14px;
  border: 1px solid rgba(232, 196, 106, 0.3);
  border-radius: 999px;
  color: var(--or-gold-light, #e8c46a);
  font-size: 0.72rem;
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* ---- palabra clave (interactivo) ---- */
.pk {
  display: grid;
  grid-template-columns: 290px 1fr;
  gap: 22px;
  margin-top: 52px;
  align-items: stretch;
  min-width: 0;
}
.pk-list {
  display: flex;
  flex-direction: column;
  gap: 9px;
  min-width: 0;
  max-width: 100%;
}
.pk-item {
  text-align: left;
  cursor: pointer;
  border: 1px solid rgba(232, 196, 106, 0.18);
  background: rgba(255, 255, 255, 0.04);
  border-radius: 14px;
  padding: 13px 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: space-between;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  transition:
    transform 0.2s var(--ease-out, ease),
    border-color 0.2s,
    background 0.2s;
}
.pk-item:hover {
  border-color: rgba(232, 196, 106, 0.4);
  background: rgba(255, 255, 255, 0.06);
  transform: translateX(3px);
}
.pk-item.on {
  border-color: rgba(232, 196, 106, 0.5);
  background: rgba(232, 196, 106, 0.08);
}
.pk-item .he {
  font-family: var(--font-hebrew);
  direction: rtl;
  color: var(--or-gold-light, #e8c46a);
  font-size: 1.4rem;
  flex: none;
  margin-left: 10px;
  text-align: right;
  white-space: nowrap;
  text-shadow: 0 0 18px rgba(200, 146, 42, 0.4);
}
.pk-item .meta {
  min-width: 0;
}
.pk-item .meta b {
  display: block;
  color: #fbf6ea;
  font-size: 0.96rem;
  font-family: var(--font-display);
}
.pk-item .meta span {
  color: rgba(236, 232, 223, 0.55);
  font-size: 0.82rem;
}
.pk-stage {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(232, 196, 106, 0.18);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.045);
  -webkit-backdrop-filter: blur(13px);
  backdrop-filter: blur(13px);
  box-shadow: 0 28px 66px -34px rgba(0, 0, 0, 0.8);
  padding: 42px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 360px;
}
.pk-ref {
  font-size: 0.74rem;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--or-gold-light, #e8c46a);
  font-weight: 600;
  margin-bottom: 22px;
}
.pk-verse {
  font-size: clamp(1.15rem, 2.3vw, 1.5rem);
  line-height: 1.65;
  color: rgba(236, 232, 223, 0.85);
  margin-bottom: 28px;
}
.pk-verse .key {
  color: #fbf6ea;
  font-weight: 600;
  background: linear-gradient(transparent 60%, rgba(232, 196, 106, 0.28) 0);
  padding: 0 2px;
}
.pk-word {
  display: flex;
  align-items: baseline;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}
.pk-word .he {
  font-family: var(--font-hebrew);
  direction: rtl;
  color: var(--or-gold-light, #e8c46a);
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  line-height: 1;
  text-shadow: 0 0 24px rgba(200, 146, 42, 0.45);
}
.pk-word .tl {
  font-style: italic;
  color: rgba(236, 232, 223, 0.5);
  font-size: 1rem;
}
.pk-word .means {
  color: #fbf6ea;
  font-family: var(--font-display);
  font-size: 1.3rem;
}
.pk-note {
  color: rgba(236, 232, 223, 0.72);
  font-size: 0.98rem;
  border-top: 1px dashed rgba(255, 255, 255, 0.12);
  padding-top: 18px;
}
.pk-note b {
  color: var(--or-gold-light, #e8c46a);
}

/* ---- verso trilingüe ---- */
.verse-card {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  padding: 50px 40px;
  text-align: center;
  margin-top: 46px;
}
.verse-card .he {
  font-family: var(--font-hebrew);
  direction: rtl;
  color: var(--or-gold-light, #e8c46a);
  font-size: clamp(1.7rem, 4.4vw, 2.6rem);
  line-height: 1.8;
  text-shadow: 0 0 24px rgba(200, 146, 42, 0.4);
}
.verse-card .tl {
  font-style: italic;
  color: rgba(236, 232, 223, 0.5);
  font-size: 0.96rem;
  margin-top: 6px;
}
.verse-card .gr {
  color: var(--or-greek, #c9b3f0);
  font-size: clamp(1.05rem, 2.4vw, 1.35rem);
  margin-top: 18px;
}
.verse-card .es {
  font-family: var(--font-display);
  color: #fbf6ea;
  font-size: clamp(1.15rem, 2.4vw, 1.45rem);
  margin-top: 18px;
}
.verse-card .en {
  color: rgba(236, 232, 223, 0.6);
  font-style: italic;
  font-size: 0.98rem;
  margin-top: 8px;
}
.verse-card .pk-ref {
  margin-bottom: 18px;
}
.verse-dots {
  display: flex;
  gap: 0;
  justify-content: center;
  margin-top: 18px;
}
.verse-dots button {
  width: 40px;
  height: 40px;
  border: none;
  cursor: pointer;
  padding: 0;
  background: transparent;
  display: grid;
  place-items: center;
}
.verse-dots button::before {
  content: '';
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(232, 196, 106, 0.3);
  transition:
    transform 0.2s,
    background 0.2s,
    box-shadow 0.2s;
}
.verse-dots button.on::before {
  background: var(--or-gold-light, #e8c46a);
  transform: scale(1.35);
  box-shadow: 0 0 10px rgba(200, 146, 42, 0.6);
}
.verse-dots button:focus-visible {
  outline: 2px solid var(--or-gold-light, #e8c46a);
  outline-offset: -4px;
  border-radius: 50%;
}

/* nav links extra */
.nav .nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}
.nav .nav-links a {
  font-size: 0.8rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: rgba(236, 232, 223, 0.7);
  padding: 8px 12px;
  border-radius: 999px;
  transition:
    color 0.25s,
    background 0.25s;
}
.nav .nav-links .nav-cta {
  border-radius: 10px;
}
.nav .nav-links a:hover {
  color: var(--or-gold-light, #e8c46a);
  background: rgba(255, 255, 255, 0.05);
}

@media (max-width: 900px) {
  .layers {
    grid-template-columns: repeat(2, 1fr);
  }
  .years {
    grid-template-columns: repeat(2, 1fr);
  }
  .plan-low {
    grid-template-columns: 1fr;
  }
  .zstats {
    grid-template-columns: repeat(2, 1fr);
  }
  .apps {
    grid-template-columns: repeat(2, 1fr);
  }
  .nav .nav-links a:not(.nav-cta) {
    display: none;
  }
  .pk {
    grid-template-columns: 1fr;
  }
  .pk-list {
    width: 100%;
    flex-direction: row;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    padding-bottom: 6px;
  }
  .pk-item {
    flex: none;
    width: 220px;
  }
}
@media (max-width: 560px) {
  .layers,
  .years,
  .apps {
    grid-template-columns: 1fr;
  }
  .zstats {
    grid-template-columns: 1fr 1fr;
  }
  .feast {
    grid-template-columns: 1fr;
    gap: 5px;
  }
}

/* ==================================================================== *
   SPLASH · ÍNDICE · RUEDA DE ZADOK · CLÍMAX
   ==================================================================== */

/* splash de entrada */
#splash {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  background: #07050f;
  transition: opacity 0.9s ease;
  animation: spAuto 0s linear 4.5s forwards;
}
#splash.gone {
  opacity: 0;
  pointer-events: none;
}
#splash .sp-he {
  font-family: var(--font-hebrew);
  direction: rtl;
  color: var(--or-gold-light, #e8c46a);
  font-size: clamp(2.6rem, 9vw, 5.4rem);
  text-shadow:
    0 0 44px rgba(200, 146, 42, 0.65),
    0 0 12px rgba(232, 196, 106, 0.5);
  opacity: 0;
  animation: spIgnite 1.7s ease forwards;
}
#splash .sp-sub {
  font-family: var(--font-display);
  letter-spacing: 6px;
  text-transform: uppercase;
  color: rgba(236, 232, 223, 0.5);
  font-size: 0.78rem;
  text-align: center;
  margin-top: 16px;
  opacity: 0;
  animation: spFade 0.9s ease 0.85s forwards;
}
@keyframes spIgnite {
  0% {
    opacity: 0;
    transform: scale(0.92);
    filter: blur(10px);
  }
  60% {
    opacity: 1;
    filter: blur(0);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}
@keyframes spFade {
  to {
    opacity: 1;
  }
}
@keyframes spAuto {
  to {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
  }
}

/* índice de capítulos */
#dotnav {
  position: fixed;
  right: 22px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 35;
  display: flex;
  flex-direction: column;
  gap: 13px;
  align-items: flex-end;
}
#dotnav a {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(236, 232, 223, 0.5);
  font-size: 0.68rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
}
#dotnav .dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: 1px solid rgba(232, 196, 106, 0.5);
  background: transparent;
  transition: 0.25s;
  flex: none;
}
#dotnav .lbl {
  opacity: 0;
  transform: translateX(6px);
  transition: 0.25s;
  white-space: nowrap;
}
#dotnav a:hover {
  color: var(--or-gold-light, #e8c46a);
}
#dotnav a:hover .lbl {
  opacity: 1;
  transform: none;
}
#dotnav a.on {
  color: var(--or-gold-light, #e8c46a);
}
#dotnav a.on .dot {
  background: var(--or-gold-light, #e8c46a);
  box-shadow: 0 0 10px rgba(200, 146, 42, 0.7);
  transform: scale(1.25);
}
#dotnav a.on .lbl {
  opacity: 1;
  transform: none;
}

/* rueda del Calendario de Zadok */
.zwheel {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  margin-top: 44px;
}
.zwheel svg {
  width: min(440px, 86vw);
  height: auto;
  overflow: visible;
}
.zw-cap {
  color: rgba(236, 232, 223, 0.55);
  font-size: 0.82rem;
  letter-spacing: 0.5px;
  margin: 0;
  text-align: center;
}
.zwheel .zw-rot {
  transform-origin: 250px 250px;
  animation: zspin 260s linear infinite;
}
@keyframes zspin {
  to {
    transform: rotate(360deg);
  }
}

/* clímax del Cumplimiento */
.chapter.climax {
  min-height: 116vh;
}
.climax .verse {
  font-size: clamp(1.85rem, 4.8vw, 3.5rem);
}
.climax .he {
  font-size: clamp(3rem, 9.5vw, 6.6rem);
}
.climax-halo {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 84vw;
  max-width: 920px;
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  background: radial-gradient(
    circle,
    rgba(232, 196, 106, 0.18),
    rgba(232, 196, 106, 0.06) 38%,
    transparent 66%
  );
  pointer-events: none;
  z-index: 0;
  filter: blur(8px);
}
.climax .chapter-inner {
  z-index: 1;
}

/* fecha de inicio + lista chequeable */
.startdate {
  color: rgba(236, 232, 223, 0.62);
  font-size: 1rem;
  margin: 22px 0 0;
}
.startdate b {
  color: var(--or-gold-light, #e8c46a);
  font-weight: 600;
}
#plan .row {
  cursor: pointer;
  user-select: none;
}
#plan .row:focus-visible {
  outline: 2px solid rgba(232, 196, 106, 0.6);
  outline-offset: 2px;
}
.route-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}
.route-progress {
  color: rgba(236, 232, 223, 0.62);
  font-size: 0.8rem;
}
.route-link {
  color: var(--or-gold-light, #e8c46a);
  font-size: 0.78rem;
  font-weight: 700;
  text-decoration: none;
}

@media (prefers-reduced-motion: reduce) {
  .zwheel .zw-rot {
    animation: none;
  }
  #splash .sp-he,
  #splash .sp-sub {
    animation: none;
    opacity: 1;
  }
}
@media (max-width: 760px) {
  #dotnav {
    display: none;
  }
}
