/* =============================================================
   1. TOKENS
   ============================================================= */
:root {
  --bg:         #06040a;
  --bg-2:       #0c0910;
  --bg-3:       #120e18;
  --bg-card:    #0f0c14;
  --ink:        #f0e8d8;
  --ink-soft:   #c8bca8;
  --ink-mute:   #7a6e5e;
  --gold:       #c9962a;
  --gold-light: #e8c060;
  --gold-dim:   #7a5c18;
  --gold-pale:  rgba(201,150,42,0.12);
  --line:       rgba(201,150,42,0.15);
  --line-soft:  rgba(240,232,216,0.06);
  --gutter:     clamp(1.25rem, 5vw, 3rem);
  --max-w:      1180px;
  --ease-out:   cubic-bezier(0.16, 1, 0.3, 1);
  --ease-soft:  cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-bounce:cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* =============================================================
   2. RESET & BASE
   ============================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  background: var(--bg);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
a { color: inherit; text-decoration: none; }
p { text-wrap: pretty; }
h1, h2, h3, h4 { text-wrap: balance; line-height: 1.06; letter-spacing: -.02em; }
ul { list-style: none; }
blockquote { font-style: normal; }
::selection { background: var(--gold); color: var(--bg); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 3px; }

/* =============================================================
   3. SKIP LINK
   ============================================================= */
.skip-link {
  position: fixed; top: -100px; left: 1rem;
  padding: .6rem 1rem; background: var(--ink); color: var(--bg);
  z-index: 9999; border-radius: 4px; font-size: .85rem;
  transition: top .3s;
}
.skip-link:focus { top: 1rem; }

/* =============================================================
   4. UTILITIES
   ============================================================= */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 var(--gutter); }
.section-kicker {
  display: block;
  font-family: 'Cinzel', serif;
  font-size: clamp(.62rem, 1.1vw, .72rem);
  letter-spacing: .22em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 1.1rem;
}
.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 300;
  line-height: 1.1;
}
.section-title em { font-style: italic; color: var(--gold-light); }
.gold-line {
  width: 48px; height: 1px;
  background: linear-gradient(90deg, var(--gold), transparent);
  margin: 1.4rem 0 2.8rem;
}
.gold-line.center { margin: 1.4rem auto 2.8rem; }
.section-header { text-align: center; max-width: 640px; margin: 0 auto 4rem; }
.section-cta { text-align: center; margin-top: 2.5rem; }

/* =============================================================
   5. REVEAL ON SCROLL
   ============================================================= */
[data-reveal] {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity .9s var(--ease-out), transform .9s var(--ease-out);
}
[data-reveal].is-revealed { opacity: 1; transform: none; }
[data-reveal][data-delay="1"] { transition-delay: .12s; }
[data-reveal][data-delay="2"] { transition-delay: .24s; }
[data-reveal][data-delay="3"] { transition-delay: .36s; }
[data-reveal][data-delay="4"] { transition-delay: .5s; }

/* =============================================================
   6. SPLASH
   ============================================================= */
#splash {
  position: fixed; inset: 0; z-index: 9998;
  background: var(--bg);
  display: flex; align-items: center; justify-content: center;
  transition: opacity .9s var(--ease-out), visibility .9s;
}
#splash.is-hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.splash-content { display: flex; flex-direction: column; align-items: center; gap: 1.4rem; }
.splash-infinity {
  font-family: 'Cormorant Garamond', serif;
  font-size: 4rem; font-style: italic; color: var(--gold);
  animation: splashPulse 1.8s ease-in-out infinite;
}
@keyframes splashPulse {
  0%,100% { opacity: .5; transform: scale(.96); }
  50%      { opacity: 1;  transform: scale(1.04); }
}
.splash-bar {
  width: 140px; height: 1px;
  background: rgba(201,150,42,.2); position: relative; overflow: hidden;
}
.splash-bar span {
  position: absolute; inset-block: 0; left: -100%; width: 100%;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  animation: splashBar 1.8s var(--ease-soft) forwards;
}
@keyframes splashBar { to { left: 200%; } }
.splash-label {
  font-family: 'Cinzel', serif;
  font-size: .6rem; letter-spacing: .2em; text-transform: uppercase;
  color: var(--ink-mute);
}

/* =============================================================
   7. SCROLL PROGRESS
   ============================================================= */
.scroll-progress {
  position: fixed; top: 0; left: 0; right: 0; height: 2px;
  z-index: 200; background: rgba(0,0,0,.3); pointer-events: none;
}
.scroll-progress span {
  display: block; height: 100%;
  background: linear-gradient(90deg, var(--gold-dim), var(--gold));
  transform-origin: 0 0; transform: scaleX(0);
  transition: transform .08s linear;
}

/* =============================================================
   8. PARTICLES
   ============================================================= */
#particles-canvas {
  position: fixed; inset: 0; z-index: 0;
  pointer-events: none; opacity: .5;
}

/* =============================================================
   9. CURSOR
   ============================================================= */
.cursor {
  position: fixed; top: 0; left: 0; pointer-events: none;
  z-index: 9990; display: none; opacity: 0;
  transition: opacity .3s;
}
.cursor.is-ready { opacity: 1; }
@media (hover: hover) and (pointer: fine) { .cursor { display: block; } }
.cursor-dot, .cursor-ring {
  position: fixed; top: 0; left: 0;
  pointer-events: none; will-change: transform;
}
.cursor-dot {
  width: 5px; height: 5px; margin: -2.5px;
  background: var(--gold); border-radius: 50%;
}
.cursor-ring {
  width: 30px; height: 30px; margin: -15px;
  border: 1px solid rgba(201,150,42,.5); border-radius: 50%;
  transition: width .35s var(--ease-out), height .35s var(--ease-out),
              margin .35s var(--ease-out), border-color .35s;
}
.cursor.is-interactive .cursor-ring { width: 50px; height: 50px; margin: -25px; border-color: var(--gold); }
.has-cursor, .has-cursor a, .has-cursor button { cursor: none; }

/* =============================================================
   10. NAVIGATION
   ============================================================= */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 1.5rem var(--gutter);
  display: flex; align-items: center; justify-content: space-between;
  transition: background .4s var(--ease-soft), backdrop-filter .4s, padding .4s, border-color .4s;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: rgba(6,4,10,.9);
  backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
  padding-top: 1rem; padding-bottom: 1rem;
  border-color: var(--line-soft);
}
.nav-brand {
  display: flex; align-items: center; gap: .7rem;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.05rem; font-style: italic;
  color: var(--gold-light);
  transition: color .3s;
}
.nav-brand:hover { color: var(--ink); }
.nav-brand-symbol {
  font-size: 1.3rem; color: var(--gold);
  transition: transform .6s var(--ease-bounce);
}
.nav-brand:hover .nav-brand-symbol { transform: rotate(90deg); }
.nav-links {
  display: flex; align-items: center; gap: clamp(.8rem, 2.5vw, 2.2rem);
}
.nav-links a {
  font-size: .78rem; letter-spacing: .1em; text-transform: uppercase;
  color: var(--ink-mute); font-weight: 400;
  transition: color .3s; position: relative;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -.25rem; left: 0; right: 0;
  height: 1px; background: var(--gold);
  transform: scaleX(0); transform-origin: 0 0;
  transition: transform .3s var(--ease-out);
}
.nav-links a:hover, .nav-links a.is-active { color: var(--gold-light); }
.nav-links a.is-active::after, .nav-links a:hover::after { transform: scaleX(1); }
.nav-cta {
  background: var(--gold) !important;
  color: var(--bg) !important;
  padding: .48rem 1.3rem !important;
  border-radius: 2px !important;
  font-weight: 500 !important;
  letter-spacing: .08em !important;
}
.nav-cta::after { display: none !important; }
.nav-cta:hover { background: var(--gold-light) !important; color: var(--bg) !important; }
.nav-hamburger {
  display: none;
  flex-direction: column; gap: 5px;
  width: 28px; cursor: pointer;
  z-index: 101;
}
.nav-hamburger span {
  display: block; height: 1px; background: var(--ink-soft);
  transition: transform .3s, opacity .3s, background .3s;
}
.nav-hamburger.is-open span:nth-child(1) { transform: translateY(6px) rotate(45deg); background: var(--gold); }
.nav-hamburger.is-open span:nth-child(2) { opacity: 0; }
.nav-hamburger.is-open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); background: var(--gold); }

/* Mobile overlay */
.mobile-overlay {
  position: fixed; inset: 0; z-index: 99;
  background: rgba(6,4,10,.97);
  backdrop-filter: blur(28px); -webkit-backdrop-filter: blur(28px);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 2rem;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .4s, visibility .4s;
}
.mobile-overlay.is-open { opacity: 1; visibility: visible; pointer-events: all; }
.mobile-overlay nav { display: flex; flex-direction: column; align-items: center; gap: 1.8rem; }
.mobile-overlay a {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.8rem, 6vw, 2.4rem); font-style: italic;
  color: var(--ink-soft); transition: color .3s;
}
.mobile-overlay a:hover { color: var(--gold-light); }
.mobile-close {
  position: absolute; top: 1.5rem; right: var(--gutter);
  font-size: 1.2rem; color: var(--ink-mute);
  transition: color .3s;
}
.mobile-close:hover { color: var(--gold); }
.mobile-overlay-footer { color: var(--ink-mute); font-size: .75rem; }

/* =============================================================
   11. BUTTONS
   ============================================================= */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .85rem 2rem;
  font-size: .8rem; letter-spacing: .12em; text-transform: uppercase;
  font-weight: 500; border-radius: 2px;
  position: relative; overflow: hidden;
  transition: transform .35s var(--ease-out), box-shadow .35s, color .3s, background .3s;
}
.btn::before {
  content: ''; position: absolute; inset: 0;
  background: rgba(255,255,255,.1);
  transform: translateX(-115%) skewX(-12deg);
  transition: transform .55s var(--ease-out);
}
.btn:hover::before { transform: translateX(115%) skewX(-12deg); }
.btn-primary { background: var(--gold); color: var(--bg); }
.btn-primary:hover { background: var(--gold-light); transform: translateY(-2px); box-shadow: 0 8px 32px rgba(201,150,42,.4); }
.btn-ghost { border: 1px solid var(--line); color: var(--ink-soft); }
.btn-ghost:hover { border-color: var(--gold-dim); color: var(--gold-light); transform: translateY(-2px); }
.btn-large { padding: 1rem 2.5rem; font-size: .88rem; }

/* =============================================================
   12. HERO
   ============================================================= */
.hero {
  position: relative; z-index: 1;
  min-height: 100svh;
  display: grid; place-items: center;
  padding: 120px var(--gutter) 80px;
  overflow: hidden;
}
.hero-mesh {
  position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(ellipse 70% 55% at 65% 35%, rgba(201,150,42,.07) 0%, transparent 60%),
    radial-gradient(ellipse 45% 45% at 15% 70%, rgba(80,40,160,.05) 0%, transparent 55%),
    radial-gradient(ellipse 60% 40% at 50% 90%, rgba(12,8,20,1) 0%, transparent 80%);
  animation: meshAnim 10s ease-in-out infinite alternate;
}
@keyframes meshAnim {
  from { opacity: .7; transform: scale(1); }
  to   { opacity: 1;  transform: scale(1.03); }
}
.hero-orb {
  position: absolute; border-radius: 50%;
  filter: blur(80px); opacity: .5; z-index: 0;
  animation: orbFloat 12s ease-in-out infinite;
}
.hero-orb-1 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(201,150,42,.15) 0%, transparent 70%);
  top: 10%; right: 5%;
  animation-duration: 12s;
}
.hero-orb-2 {
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(100,50,200,.08) 0%, transparent 70%);
  bottom: 15%; left: -5%;
  animation-duration: 16s; animation-delay: -4s;
}
@keyframes orbFloat {
  0%,100% { transform: translate(0,0) scale(1); }
  33%      { transform: translate(30px,-20px) scale(1.06); }
  66%      { transform: translate(-20px,25px) scale(.96); }
}
.hero-inner {
  position: relative; z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem; align-items: center;
  width: 100%; max-width: var(--max-w);
}
.hero-eyebrow {
  display: flex; align-items: center; gap: .7rem;
  margin-bottom: 2rem;
  font-family: 'Cinzel', serif;
  font-size: .65rem; letter-spacing: .2em; text-transform: uppercase;
  color: var(--gold);
}
.hero-eyebrow-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--gold); flex-shrink: 0;
  animation: dotBlink 2.5s ease-in-out infinite;
}
@keyframes dotBlink { 0%,100%{opacity:1} 50%{opacity:.2} }
.hero-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.8rem, 6.5vw, 5.2rem);
  font-weight: 300; line-height: 1.0;
  margin-bottom: .8rem;
}
.hero-title em { font-style: italic; color: var(--gold-light); display: block; }
.hero-author-line {
  font-size: .85rem; color: var(--ink-mute);
  margin-bottom: 1.5rem; letter-spacing: .04em;
}
.hero-author-line strong { color: var(--gold); font-weight: 400; }
.hero-subtitle {
  font-size: clamp(.9rem, 1.5vw, 1.05rem);
  color: var(--ink-soft); line-height: 1.8;
  max-width: 420px; margin-bottom: 2.5rem; font-weight: 300;
}
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 3rem; }
.hero-stats {
  display: flex; align-items: center; gap: 1.5rem;
  padding-top: 2rem; border-top: 1px solid var(--line-soft);
}
.hero-stat { display: flex; flex-direction: column; gap: .15rem; }
.hero-stat-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.6rem; font-weight: 300; color: var(--gold);
  line-height: 1;
}
.hero-stat-val {
  font-size: .82rem; color: var(--ink-soft);
}
.hero-stat-label { font-size: .68rem; color: var(--ink-mute); letter-spacing: .08em; }
.hero-stat-sep { width: 1px; height: 32px; background: var(--line-soft); }

/* Book 3D */
.hero-book-stage {
  display: flex; align-items: center; justify-content: center;
  position: relative; perspective: 1200px;
}
.hero-book-aura {
  position: absolute; inset: -40px;
  background: radial-gradient(ellipse, rgba(201,150,42,.18) 0%, transparent 65%);
  animation: bookAura 5s ease-in-out infinite alternate;
  filter: blur(20px);
}
@keyframes bookAura { from{opacity:.4;transform:scale(.9)} to{opacity:.9;transform:scale(1.06)} }
.hero-book {
  position: relative; z-index: 1;
  width: 100%; max-width: 320px;
  animation: bookFloat 7s ease-in-out infinite;
  transform-style: preserve-3d;
}
@keyframes bookFloat {
  0%,100% { transform: translateY(0) rotateY(-6deg) rotateX(1deg); }
  50%      { transform: translateY(-14px) rotateY(-3deg) rotateX(2deg); }
}
.book-cover {
  width: 100%;
  box-shadow: -16px 24px 60px rgba(0,0,0,.75), 0 0 50px rgba(201,150,42,.1);
  border-radius: 6px;
  overflow: hidden;
}
.book-cover-img {
  width: 100%;
  aspect-ratio: 2/3;
  object-fit: cover;
  display: block;
  border-radius: 6px;
}

/* Scroll cue */
.hero-scroll-cue {
  position: absolute; bottom: 2.5rem; left: 50%;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: .5rem;
  animation: cueFade 3s ease-in-out infinite;
  z-index: 2;
}
@keyframes cueFade {
  0%,100%{opacity:.25;transform:translateX(-50%) translateY(0)}
  50%{opacity:.55;transform:translateX(-50%) translateY(5px)}
}
.scroll-cue-line {
  width: 1px; height: 40px;
  background: linear-gradient(to bottom, var(--gold-dim), transparent);
}
.hero-scroll-cue span {
  font-family: 'Cinzel', serif;
  font-size: .55rem; letter-spacing: .18em;
  color: var(--ink-mute); text-transform: uppercase;
}

/* =============================================================
   13. PREGUNTA SECTION
   ============================================================= */
.pregunta {
  position: relative; z-index: 1;
  padding: clamp(5rem, 10vw, 8rem) var(--gutter);
  text-align: center;
}
.pregunta-inner { max-width: 780px; margin: 0 auto; }
.pregunta-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.9rem, 4.5vw, 3rem);
  font-weight: 300; line-height: 1.2; margin-bottom: 1rem;
}
.pregunta-title em { font-style: italic; color: var(--gold-light); }
.pregunta-body {
  font-size: clamp(.9rem, 1.4vw, 1.05rem);
  color: var(--ink-soft); line-height: 1.85;
  font-weight: 300; max-width: 640px; margin: 0 auto 2.5rem;
}

/* =============================================================
   14. PILLARS
   ============================================================= */
.pillars {
  position: relative; z-index: 1;
  padding: clamp(4rem, 8vw, 7rem) var(--gutter);
  background: var(--bg-2);
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}
.pillars-header { text-align: center; max-width: 600px; margin: 0 auto 4rem; }
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  max-width: var(--max-w); margin: 0 auto;
}
.pillar-card {
  background: var(--bg-card);
  border: 1px solid var(--line-soft);
  border-radius: 6px; padding: 2rem 1.5rem;
  transition: border-color .35s, transform .35s var(--ease-out), box-shadow .35s;
  position: relative; overflow: hidden;
}
.pillar-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--gold-dim), var(--gold), transparent);
  transform: scaleX(0); transform-origin: 0 0;
  transition: transform .4s var(--ease-out);
}
.pillar-card:hover::before { transform: scaleX(1); }
.pillar-card:hover {
  border-color: var(--gold-dim);
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(0,0,0,.5);
}
.pillar-icon {
  font-size: 1.5rem; color: var(--gold); margin-bottom: 1rem; display: block;
}
.pillar-card h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.15rem; font-weight: 600; color: var(--ink); margin-bottom: .6rem;
}
.pillar-card p { font-size: .83rem; color: var(--ink-mute); line-height: 1.65; }

/* =============================================================
   15. MANIFESTO
   ============================================================= */
.manifesto {
  position: relative; z-index: 1;
  padding: clamp(5rem, 10vw, 9rem) var(--gutter);
  text-align: center;
}
.manifesto-inner { max-width: 760px; margin: 0 auto; position: relative; }
.manifesto-symbol {
  font-family: 'Cormorant Garamond', serif;
  font-size: 6rem; line-height: .8;
  color: var(--gold-dim); opacity: .4;
  margin-bottom: .5rem;
}
.manifesto-quote {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.5rem, 3.2vw, 2.2rem);
  font-style: italic; font-weight: 300;
  line-height: 1.5; color: var(--ink);
  margin-bottom: 1.5rem;
}
.manifesto-author {
  font-family: 'Cinzel', serif;
  font-size: .7rem; letter-spacing: .18em;
  color: var(--gold); text-transform: uppercase;
}

/* =============================================================
   16. PROLOGOS
   ============================================================= */
.prologos {
  position: relative; z-index: 1;
  padding: clamp(5rem, 10vw, 8rem) var(--gutter);
  background: var(--bg-2);
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}
.prologos-grid {
  max-width: var(--max-w); margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 2rem;
}
.prologo-card {
  background: var(--bg-card);
  border: 1px solid var(--line-soft);
  border-radius: 8px; padding: 2.5rem;
  transition: border-color .35s, transform .35s var(--ease-out);
  position: relative; overflow: hidden;
}
.prologo-card:hover { border-color: var(--gold-dim); transform: translateY(-5px); }
.prologo-card::before {
  content: ''; position: absolute; top: 0; left: 0; bottom: 0; width: 3px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  opacity: 0; transition: opacity .4s;
}
.prologo-card:hover::before { opacity: 1; }
.prologo-qmark {
  font-family: 'Cormorant Garamond', serif;
  font-size: 5rem; line-height: .7;
  color: var(--gold-dim); opacity: .5; margin-bottom: .3rem;
}
.prologo-text {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.05rem; font-style: italic;
  color: var(--ink-soft); line-height: 1.8;
  margin-bottom: 1.5rem;
}
.prologo-divider { width: 32px; height: 1px; background: var(--gold-dim); margin-bottom: 1.2rem; }
.prologo-name {
  font-family: 'Cinzel', serif;
  font-size: .7rem; letter-spacing: .14em; color: var(--gold); margin-bottom: .3rem;
}
.prologo-role { font-size: .78rem; color: var(--ink-mute); }

/* =============================================================
   17. RESEÑAS PREVIEW (ticker)
   ============================================================= */
.resenas-preview {
  position: relative; z-index: 1;
  padding: clamp(5rem, 10vw, 8rem) var(--gutter);
}
.resenas-ticker { overflow: hidden; }
.resenas-ticker-inner {
  display: grid; grid-template-columns: repeat(3,1fr);
  gap: 1.5rem;
}
.resena-item {
  background: var(--bg-card);
  border: 1px solid var(--line-soft);
  border-radius: 8px; padding: 2rem;
  transition: border-color .3s, transform .3s var(--ease-out);
}
.resena-item:hover { border-color: var(--gold-dim); transform: translateY(-4px); }
.resena-stars { color: var(--gold); font-size: .9rem; margin-bottom: 1rem; letter-spacing: .1em; }
.resena-item blockquote {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1rem; font-style: italic;
  color: var(--ink-soft); line-height: 1.7; margin-bottom: 1.2rem;
}
.resena-item cite { font-size: .75rem; color: var(--ink-mute); font-style: normal; }

/* =============================================================
   18. CTA COMPRAR
   ============================================================= */
.cta-comprar {
  position: relative; z-index: 1;
  padding: clamp(5rem, 10vw, 9rem) var(--gutter);
  text-align: center;
  background: var(--bg-2);
  border-top: 1px solid var(--line-soft);
  overflow: hidden;
}
.cta-comprar::before {
  content: '∞';
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  font-family: 'Cormorant Garamond', serif; font-style: italic;
  font-size: clamp(12rem, 30vw, 24rem); color: rgba(201,150,42,.03);
  line-height: 1; pointer-events: none; user-select: none;
}
.cta-inner { max-width: 700px; margin: 0 auto; position: relative; }
.cta-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 300; line-height: 1.15; margin-bottom: 1.2rem;
}
.cta-title em { font-style: italic; color: var(--gold-light); }
.cta-sub {
  font-size: clamp(.9rem, 1.5vw, 1.05rem);
  color: var(--ink-soft); max-width: 520px; margin: 0 auto 2.5rem;
  font-weight: 300; line-height: 1.8;
}
.cta-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* =============================================================
   19. NEWSLETTER
   ============================================================= */
.newsletter {
  position: relative; z-index: 1;
  padding: clamp(4rem, 8vw, 7rem) var(--gutter);
  text-align: center;
}
.newsletter-inner { max-width: 560px; margin: 0 auto; }
.newsletter-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.7rem, 3.5vw, 2.6rem);
  font-weight: 300; line-height: 1.25; margin-bottom: .7rem;
}
.newsletter-title em { font-style: italic; color: var(--gold-light); }
.newsletter-sub { font-size: .9rem; color: var(--ink-mute); margin-bottom: 2rem; font-weight: 300; }
.newsletter-form {
  display: flex; gap: .7rem;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 3px; padding: .4rem .4rem .4rem 1rem;
  transition: border-color .3s;
}
.newsletter-form:focus-within { border-color: var(--gold-dim); }
.newsletter-input {
  flex: 1; background: none; border: 0; outline: none;
  color: var(--ink); font-size: .9rem;
  font-family: inherit;
}
.newsletter-input::placeholder { color: var(--ink-mute); }
.newsletter-legal { font-size: .72rem; color: var(--ink-mute); margin-top: 1rem; }

/* -------------------------------------------------------
   MailerLite embedded form — restyled to match site theme
   ------------------------------------------------------- */
.newsletter-form-wrap {
  max-width: 460px; margin: 0 auto;
}
.ml-embedded { width: 100%; }

/* Container MailerLite injects around the form */
.ml-embedded form,
.ml-embedded .ml-form-embedSubmit,
.ml-embedded .ml-form-embedWrapper,
.ml-embedded .ml-form-embedBody {
  background: transparent !important;
  font-family: 'Inter', sans-serif !important;
  box-shadow: none !important;
  border: 0 !important;
}

/* Row holding input + button */
.ml-embedded .ml-form-embedBody,
.ml-embedded .ml-form-embedBodyRow,
.ml-embedded .ml-form-formContent {
  display: flex !important;
  flex-wrap: wrap;
  gap: .7rem;
  align-items: center;
  justify-content: center;
  background: var(--bg-card) !important;
  border: 1px solid var(--line) !important;
  border-radius: 3px !important;
  padding: .4rem .4rem .4rem 1rem !important;
  transition: border-color .3s;
}
.ml-embedded .ml-form-embedBody:focus-within,
.ml-embedded .ml-form-embedBodyRow:focus-within {
  border-color: var(--gold-dim) !important;
}

/* Email input */
.ml-embedded input[type="email"],
.ml-embedded input[type="text"],
.ml-embedded .ml-input-style,
.ml-embedded .ml-form-fieldRow input {
  flex: 1 !important;
  min-width: 180px;
  background: none !important;
  border: 0 !important;
  outline: none !important;
  color: var(--ink) !important;
  font-size: .9rem !important;
  font-family: inherit !important;
  padding: .65rem .2rem !important;
  box-shadow: none !important;
}
.ml-embedded input::placeholder { color: var(--ink-mute) !important; }

/* Submit button — match .btn .btn-primary */
.ml-embedded button,
.ml-embedded .ml-form-embedSubmitLoad,
.ml-embedded input[type="submit"],
.ml-embedded .primary {
  background: var(--gold) !important;
  color: var(--bg) !important;
  border: 0 !important;
  border-radius: 2px !important;
  padding: .85rem 2rem !important;
  font-size: .8rem !important;
  letter-spacing: .12em !important;
  text-transform: uppercase !important;
  font-weight: 500 !important;
  font-family: 'Inter', sans-serif !important;
  cursor: pointer;
  transition: background .3s, transform .3s var(--ease-out) !important;
  box-shadow: none !important;
  white-space: nowrap;
}
.ml-embedded button:hover,
.ml-embedded .ml-form-embedSubmitLoad:hover,
.ml-embedded input[type="submit"]:hover {
  background: var(--gold-light) !important;
  transform: translateY(-2px);
}

/* Success / error message boxes */
.ml-embedded .ml-form-successBody,
.ml-embedded .ml-form-successContent {
  background: var(--bg-card) !important;
  border: 1px solid var(--gold-dim) !important;
  border-radius: 4px !important;
  padding: 1.2rem !important;
}
.ml-embedded .ml-form-successContent p,
.ml-embedded .ml-form-successContent h4 {
  color: var(--gold-light) !important;
  font-family: 'Cormorant Garamond', serif !important;
  font-style: italic !important;
  font-size: 1.05rem !important;
}
.ml-embedded .ml-error-message,
.ml-embedded .ml-form-checkboxRow.ml-error label {
  color: var(--gold) !important;
  font-size: .78rem !important;
}

@media (max-width: 720px) {
  .ml-embedded .ml-form-embedBody,
  .ml-embedded .ml-form-embedBodyRow,
  .ml-embedded .ml-form-formContent {
    flex-direction: column !important;
    align-items: stretch !important;
    padding: .75rem !important;
    border-radius: 4px !important;
  }
  .ml-embedded button,
  .ml-embedded input[type="submit"] {
    width: 100% !important;
    justify-content: center;
  }
}

/* =============================================================
   20. SINOPSIS PAGE
   ============================================================= */
.page-hero {
  position: relative; z-index: 1;
  padding: clamp(8rem, 14vw, 12rem) var(--gutter) clamp(4rem, 8vw, 6rem);
  text-align: center;
  border-bottom: 1px solid var(--line-soft);
}
.page-hero-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 300; margin-bottom: .8rem;
}
.page-hero-title em { font-style: italic; color: var(--gold-light); }
.page-hero-sub { font-size: clamp(.9rem,1.5vw,1.05rem); color: var(--ink-soft); font-weight: 300; max-width: 560px; margin: 0 auto; }

.sinopsis-content {
  position: relative; z-index: 1;
  padding: clamp(4rem, 8vw, 7rem) var(--gutter);
}
.sinopsis-layout {
  max-width: var(--max-w); margin: 0 auto;
  display: grid; grid-template-columns: 1.1fr 1fr;
  gap: 6rem; align-items: start;
}
.sinopsis-body p {
  font-size: clamp(.9rem,1.4vw,1rem); color: var(--ink-soft);
  line-height: 1.9; margin-bottom: 1.5rem; font-weight: 300;
}
.callout {
  border-left: 2px solid var(--gold);
  padding: 1.2rem 1.5rem;
  background: var(--gold-pale);
  border-radius: 0 4px 4px 0; margin: 2rem 0;
}
.callout p {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem; font-style: italic; color: var(--ink);
  line-height: 1.6; margin: 0 !important;
}

.pillars-2col {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem;
}

/* =============================================================
   21. AUTOR PAGE
   ============================================================= */
.autor-layout {
  max-width: var(--max-w); margin: 0 auto;
  display: grid; grid-template-columns: 280px 1fr;
  gap: 6rem; align-items: start;
}
.autor-portrait {
  background: var(--bg-card);
  border: 1px solid var(--line-soft);
  border-radius: 8px; padding: 2rem;
  text-align: center; position: relative; overflow: hidden;
}
.autor-portrait::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(201,150,42,.08) 0%, transparent 60%);
}
.autor-photo {
  width: 160px; height: 160px; border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--gold-dim);
  margin: 0 auto 1.2rem; display: block;
  position: relative; z-index: 1;
  box-shadow: 0 0 30px rgba(201,150,42,.15);
}
.autor-portrait-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem; font-weight: 600; margin-bottom: .3rem; position: relative; z-index: 1;
}
.autor-portrait-role { font-size: .75rem; color: var(--ink-mute); position: relative; z-index: 1; }
.autor-badge {
  display: inline-block; margin-top: 1rem;
  background: var(--gold); color: var(--bg);
  font-family: 'Cinzel', serif; font-size: .58rem;
  letter-spacing: .12em; text-transform: uppercase;
  padding: .3rem .8rem; border-radius: 2px; position: relative; z-index: 1;
}
.autor-body { }
.autor-body-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 300; margin-bottom: 1.2rem;
}
.autor-body-title em { font-style: italic; color: var(--gold-light); }
.autor-body p {
  font-size: clamp(.9rem,1.4vw,1rem); color: var(--ink-soft);
  line-height: 1.9; margin-bottom: 1.4rem; font-weight: 300;
}
.mision-box {
  border-left: 2px solid var(--gold);
  padding: 1.5rem 2rem;
  background: var(--gold-pale); border-radius: 0 4px 4px 0; margin: 2rem 0;
}
.mision-box p {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.12rem; font-style: italic; color: var(--ink);
  line-height: 1.65; margin: 0 !important;
}
.mision-box cite {
  display: block; margin-top: .8rem;
  font-family: 'Cinzel', serif; font-size: .65rem;
  letter-spacing: .15em; color: var(--gold); font-style: normal;
}

/* =============================================================
   22. RESEÑAS PAGE
   ============================================================= */
.resenas-layout {
  max-width: var(--max-w); margin: 0 auto;
  display: grid; grid-template-columns: 1fr 380px;
  gap: 3rem; align-items: start;
}
.resenas-list { display: flex; flex-direction: column; gap: 1.5rem; }
.resena-card {
  background: var(--bg-card);
  border: 1px solid var(--line-soft);
  border-radius: 8px; padding: 2rem;
  transition: border-color .3s, transform .3s var(--ease-out);
}
.resena-card:hover { border-color: var(--gold-dim); transform: translateY(-3px); }
.resena-meta {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: .8rem;
}
.resena-author-name { font-weight: 500; font-size: .9rem; }
.resena-date { font-size: .72rem; color: var(--ink-mute); }
.resena-card blockquote {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1rem; font-style: italic; color: var(--ink-soft);
  line-height: 1.7;
}

/* Review form */
.review-form-box {
  background: var(--bg-card);
  border: 1px solid var(--line-soft);
  border-radius: 8px; padding: 2rem;
  position: sticky; top: 100px;
}
.review-form-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem; font-weight: 600; color: var(--gold-light);
  margin-bottom: 1.5rem;
}
.form-group { margin-bottom: 1.2rem; }
.form-label {
  display: block; font-family: 'Cinzel', serif;
  font-size: .62rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--ink-mute); margin-bottom: .45rem;
}
.form-input, .form-textarea {
  width: 100%;
  background: var(--bg-2); border: 1px solid var(--line-soft);
  border-radius: 2px; padding: .75rem .9rem;
  color: var(--ink); font-size: .88rem; font-family: inherit;
  outline: none; transition: border-color .3s;
}
.form-input:focus, .form-textarea:focus { border-color: var(--gold-dim); }
.form-input::placeholder, .form-textarea::placeholder { color: var(--ink-mute); }
.form-textarea { resize: vertical; min-height: 110px; }
.stars-input { display: flex; gap: .4rem; margin-bottom: .3rem; }
.star-btn {
  font-size: 1.2rem; color: var(--ink-mute);
  transition: color .2s, transform .2s;
  line-height: 1;
}
.star-btn:hover, .star-btn.is-active { color: var(--gold); transform: scale(1.1); }

/* =============================================================
   23. COMPRAR PAGE
   ============================================================= */
.comprar-cards {
  max-width: 800px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem;
  margin-bottom: 3rem;
}
.comprar-card {
  background: var(--bg-card);
  border: 1px solid var(--line-soft);
  border-radius: 8px; padding: 2.5rem 2rem;
  text-align: center;
  transition: border-color .35s, transform .35s var(--ease-out), box-shadow .35s;
  position: relative; overflow: hidden;
}
.comprar-card:hover {
  border-color: var(--gold);
  transform: translateY(-7px);
  box-shadow: 0 20px 60px rgba(0,0,0,.5), 0 0 30px rgba(201,150,42,.1);
}
.comprar-card-icon { font-size: 2.2rem; color: var(--gold); margin-bottom: 1rem; }
.comprar-card-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem; font-weight: 600; margin-bottom: .6rem;
}
.comprar-card-desc { font-size: .85rem; color: var(--ink-mute); line-height: 1.65; margin-bottom: 2rem; }
.reasons-box {
  max-width: 800px; margin: 0 auto;
  background: var(--bg-card);
  border: 1px solid var(--line-soft);
  border-radius: 8px; padding: 2.5rem;
}
.reasons-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.3rem; font-weight: 600; text-align: center; margin-bottom: 1.5rem;
}
.reasons-list { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem 2rem; }
.reasons-list li {
  font-size: .88rem; color: var(--ink-soft);
  padding-left: 1.3rem; position: relative; line-height: 1.55;
}
.reasons-list li::before {
  content: '✦'; position: absolute; left: 0; top: .1rem;
  color: var(--gold); font-size: .58rem;
}

/* =============================================================
   24. CONTACTO PAGE
   ============================================================= */
.contacto-layout {
  max-width: var(--max-w); margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: 6rem;
}
.contacto-info p {
  font-size: clamp(.9rem,1.4vw,1rem); color: var(--ink-soft);
  line-height: 1.85; margin-bottom: 2.5rem; font-weight: 300;
}
.info-items { display: flex; flex-direction: column; }
.info-item {
  display: flex; align-items: flex-start; gap: 1rem;
  padding: 1.3rem 0; border-bottom: 1px solid var(--line-soft);
}
.info-item-icon {
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--gold-pale); border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  color: var(--gold); font-size: .85rem; flex-shrink: 0;
}
.info-item-label {
  font-family: 'Cinzel', serif; font-size: .62rem;
  letter-spacing: .14em; color: var(--gold); margin-bottom: .2rem;
}
.info-item-value { font-size: .88rem; color: var(--ink-soft); }
.contact-quote {
  border-left: 2px solid var(--gold);
  padding: 1.2rem 1.5rem; background: var(--gold-pale);
  border-radius: 0 4px 4px 0; margin-top: 2rem;
}
.contact-quote p {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1rem; font-style: italic; color: var(--ink-soft); line-height: 1.65;
}
.contact-form-box {
  background: var(--bg-card);
  border: 1px solid var(--line-soft);
  border-radius: 8px; padding: 2.5rem;
}
.form-success {
  display: none; text-align: center; padding: 2rem;
  color: var(--gold-light);
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.15rem; font-style: italic;
}

/* =============================================================
   25. FOOTER
   ============================================================= */
.footer {
  position: relative; z-index: 1;
  padding: 5rem var(--gutter) 2.5rem;
  background: var(--bg-2);
  border-top: 1px solid var(--line-soft);
}
.footer-grid {
  display: grid; grid-template-columns: 1.6fr 1fr 1fr;
  gap: 3rem; margin-bottom: 3rem;
}
.footer-brand {
  display: flex; align-items: center; gap: .7rem;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.05rem; font-style: italic; color: var(--gold-light);
  margin-bottom: 1rem;
}
.footer-brand-symbol { font-size: 1.3rem; color: var(--gold); }
.footer-tagline { font-size: .82rem; color: var(--ink-mute); line-height: 1.65; max-width: 280px; }
.footer-social { display: flex; gap: .7rem; margin-top: 1.2rem; }
.social-btn {
  width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid var(--line-soft);
  display: flex; align-items: center; justify-content: center;
  color: var(--ink-mute); transition: border-color .3s, color .3s;
}
.social-btn:hover { border-color: var(--gold-dim); color: var(--gold); }
.footer-col-title {
  font-family: 'Cinzel', serif; font-size: .62rem; letter-spacing: .18em;
  color: var(--gold); text-transform: uppercase; margin-bottom: 1.2rem;
}
.footer-nav { display: flex; flex-direction: column; gap: .55rem; }
.footer-nav li a { font-size: .82rem; color: var(--ink-mute); transition: color .3s; }
.footer-nav li a:hover { color: var(--gold-light); }
.footer-contact-item { margin-bottom: .5rem; }
.footer-contact-item a { font-size: .82rem; color: var(--ink-mute); transition: color .3s; }
.footer-contact-item a:hover { color: var(--gold-light); }
.footer-contact-note { font-size: .72rem; color: var(--ink-mute); margin-bottom: 1rem; }
.footer-badge {
  display: inline-block;
  background: var(--gold-pale); border: 1px solid var(--line);
  border-radius: 2px; padding: .3rem .7rem;
  font-family: 'Cinzel', serif; font-size: .6rem; letter-spacing: .14em;
  color: var(--gold); text-transform: uppercase;
}
.footer-bottom {
  padding-top: 2rem; border-top: 1px solid var(--line-soft);
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem;
}
.footer-bottom p { font-size: .74rem; color: var(--ink-mute); }
.footer-bottom-symbol {
  font-family: 'Cormorant Garamond', serif; font-style: italic;
  color: var(--gold-dim); font-size: 1.4rem;
}

/* =============================================================
   26. RESPONSIVE
   ============================================================= */
@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; gap: 4rem; }
  .hero-book-stage { order: -1; }
  .hero-book { max-width: 240px; }
  .pillars-grid { grid-template-columns: repeat(2,1fr); }
  .prologos-grid { grid-template-columns: 1fr; }
  .resenas-ticker-inner { grid-template-columns: 1fr 1fr; }
  .sinopsis-layout { grid-template-columns: 1fr; gap: 3rem; }
  .autor-layout { grid-template-columns: 1fr; gap: 2rem; }
  .autor-portrait { max-width: 280px; }
  .resenas-layout { grid-template-columns: 1fr; }
  .review-form-box { position: static; }
  .comprar-cards { grid-template-columns: 1fr; max-width: 420px; }
  .reasons-list { grid-template-columns: 1fr; }
  .contacto-layout { grid-template-columns: 1fr; gap: 3rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .pillars-2col { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  .pillars-grid { grid-template-columns: 1fr; }
  .resenas-ticker-inner { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .newsletter-form { flex-direction: column; border-radius: 4px; padding: .75rem; gap: .5rem; }
  .hero-stats { flex-wrap: wrap; gap: 1rem; }
}
@media (max-width: 540px) {
  .hero-book { max-width: 200px; }
  .hero-title { font-size: 2.4rem; }
  .book-title-display { font-size: .8rem; }
}
