:root {
  --bg: #0b0a09;
  --bg-2: #13110f;
  --bg-3: #1b1815;
  --ivory: #efe7da;
  --muted: #a89f92;
  --gold: #d8b46a;
  --gold-2: #b88a44;
  --gold-grad: linear-gradient(135deg, #f3dca3 0%, #d8b46a 45%, #a9782f 100%);
  --line: rgba(216, 180, 106, .22);
  --serif: "EB Garamond", Garamond, Georgia, serif;
  --display: "Cinzel", "Trajan Pro", Georgia, serif;
  --sans: "Inter", system-ui, sans-serif;
  --maxw: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ivory);
  font-family: var(--serif); font-size: clamp(18px, 1.15vw + 12px, 21px); line-height: 1.6;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
em { font-style: italic; }
.gold { background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .6em; justify-content: center;
  font-family: var(--sans); font-weight: 600; font-size: 15px; letter-spacing: .04em;
  padding: 16px 28px; border-radius: 999px; text-decoration: none; cursor: pointer;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
  border: 0; white-space: nowrap;
}
.btn-gold { background: var(--gold-grad); color: #1a1206; box-shadow: 0 8px 30px -8px rgba(216,180,106,.55); }
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 14px 40px -10px rgba(216,180,106,.75); }
.btn-ghost { color: var(--ivory); border: 1px solid var(--line); background: rgba(255,255,255,.02); }
.btn-ghost:hover { border-color: var(--gold); }
.btn-xl { padding: 20px 40px; font-size: 16px; }
.play { font-size: 10px; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--gold); color: var(--gold); padding-left: 2px; }

/* ---------- Nav ---------- */
.nav {
  position: absolute; inset: 0 0 auto; z-index: 5; display: flex; justify-content: space-between; align-items: center;
  padding: 22px var(--gutter); max-width: var(--maxw); margin: 0 auto;
}
.brand { font-family: var(--display); letter-spacing: .14em; font-size: 15px; text-decoration: none; text-transform: uppercase; }
.brand em { font-family: var(--serif); text-transform: lowercase; color: var(--gold); letter-spacing: .05em; }
.nav-cta { font-family: var(--sans); font-size: 13px; font-weight: 500; text-decoration: none; color: var(--gold); border-bottom: 1px solid var(--line); padding-bottom: 2px; }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100svh; display: flex; align-items: center;
  background:
    radial-gradient(60% 55% at 72% 45%, rgba(184,138,68,.16), transparent 70%),
    radial-gradient(40% 40% at 10% 90%, rgba(184,138,68,.07), transparent 70%),
    var(--bg);
  overflow: hidden;
}
.hero-grid {
  width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 110px var(--gutter) 80px;
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 20px; align-items: center;
}
.eyebrow, .kicker {
  font-family: var(--display); font-size: 12px; letter-spacing: .32em; text-transform: uppercase; color: var(--gold); margin: 0 0 18px;
}
h1 {
  font-family: var(--display); font-weight: 500; font-size: clamp(38px, 4.5vw, 66px); line-height: 1.06; letter-spacing: .01em; margin: 0 0 26px;
}
h1 .gold { display: block; }
.lead { font-size: clamp(19px, 1.4vw + 10px, 23px); color: #d9d0c2; max-width: 34em; margin: 0 0 34px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-facts { list-style: none; padding: 0; margin: 38px 0 0; display: flex; flex-wrap: wrap; gap: 10px 28px; font-family: var(--sans); font-size: 13px; color: var(--muted); }
.hero-facts strong { color: var(--ivory); font-weight: 600; }
.hero-facts li { position: relative; }
.hero-facts li + li::before { content: "✦"; position: absolute; left: -18px; color: var(--gold-2); font-size: 9px; top: 3px; }

.hero-book { position: relative; height: min(78vh, 720px); min-height: 460px; }
#book3d { position: absolute; inset: -10% -20%; width: 140%; height: 120%; cursor: grab; touch-action: pan-y; }
#book3d:active { cursor: grabbing; }
.halo { position: absolute; left: 50%; top: 48%; width: 70%; aspect-ratio: 1; transform: translate(-50%,-50%); border-radius: 50%;
  background: radial-gradient(circle, rgba(216,180,106,.28), rgba(216,180,106,.06) 45%, transparent 70%); filter: blur(10px); animation: pulse 6s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .6; transform: translate(-50%,-50%) scale(1.08); } }
.book-fallback { display: none; position: absolute; left: 50%; top: 50%; width: 58%; transform: translate(-50%,-50%) rotateY(-18deg); box-shadow: 30px 40px 60px rgba(0,0,0,.6); animation: float 6s ease-in-out infinite; }
.no-webgl .book-fallback { display: block; }
.no-webgl #book3d, .no-webgl .drag-hint { display: none; }
@keyframes float { 50% { transform: translate(-50%, calc(-50% - 16px)) rotateY(-12deg); } }
.drag-hint { position: absolute; bottom: 2%; width: 100%; text-align: center; font-family: var(--sans); font-size: 11px; letter-spacing: .15em; text-transform: uppercase; color: var(--muted); opacity: .6; margin: 0; }

.scroll-cue { position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); width: 22px; height: 36px; border: 1px solid var(--line); border-radius: 12px; }
.scroll-cue span { position: absolute; left: 50%; top: 7px; width: 3px; height: 7px; margin-left: -1.5px; border-radius: 2px; background: var(--gold); animation: cue 2s infinite; }
@keyframes cue { 0% { opacity: 0; transform: translateY(0);} 30% {opacity:1;} 100% { opacity: 0; transform: translateY(12px);} }

/* ---------- Secciones ---------- */
.section { padding: clamp(80px, 11vw, 150px) var(--gutter); max-width: var(--maxw); margin: 0 auto; }
.section-head { text-align: center; margin-bottom: clamp(40px, 6vw, 70px); }
h2 { font-family: var(--display); font-weight: 500; font-size: clamp(30px, 3.4vw, 48px); line-height: 1.15; margin: 0; }
h2 em { font-family: var(--serif); color: var(--gold); }
.sub { color: var(--muted); margin: 14px 0 0; }

/* preguntas */
.questions { text-align: center; max-width: 900px; }
.q-list { list-style: none; padding: 0; margin: 10px 0 0; }
.q-list li { font-size: clamp(24px, 2.6vw, 38px); line-height: 1.3; padding: 22px 0; border-bottom: 1px solid var(--line); font-style: italic; color: #e6dccb; }
.q-list li:first-child { border-top: 1px solid var(--line); }
.q-list em { color: var(--gold); }
.q-close { font-family: var(--display); font-size: clamp(20px, 2vw, 28px); color: var(--gold); margin: 44px 0 0; letter-spacing: .04em; }

/* vídeo */
.video-sec { padding-top: 40px; }
.video-frame { position: relative; max-width: 960px; margin: 0 auto; aspect-ratio: 16/9; border-radius: 18px; overflow: hidden;
  border: 1px solid var(--line); box-shadow: 0 40px 120px -40px rgba(216,180,106,.35), 0 30px 80px rgba(0,0,0,.6); background: #000; }
.video-frame video, .video-frame iframe { width: 100%; height: 100%; display: block; border: 0; object-fit: cover; }
.video-placeholder { position: absolute; inset: 0; display: grid; place-items: center; background: radial-gradient(circle at 50% 40%, #2a2016, #0b0a09 70%); }
.vp-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; opacity: .28; filter: blur(2px) grayscale(.3); }
.vp-play { position: relative; width: 92px; height: 92px; border-radius: 50%; border: 0; background: var(--gold-grad); color: #1a1206; font-size: 28px; padding-left: 6px; cursor: pointer;
  box-shadow: 0 0 0 12px rgba(216,180,106,.12), 0 0 0 26px rgba(216,180,106,.06); transition: transform .3s; }
.vp-play:hover { transform: scale(1.06); }
.vp-note { position: absolute; bottom: 22px; margin: 0; width: 100%; text-align: center; font-family: var(--sans); font-size: 13px; letter-spacing: .08em; color: var(--muted); }
.video-placeholder.pending .vp-play { opacity: .5; cursor: default; }

/* giro */
.shift { text-align: center; max-width: 1000px; }
.shift-grid { display: grid; grid-template-columns: 1fr auto 1fr; gap: 24px; align-items: center; margin: 20px 0 40px; }
.shift-card { padding: 38px 30px; border-radius: 16px; border: 1px solid var(--line); }
.shift-card p { margin: 0; font-size: clamp(22px, 2.2vw, 30px); font-style: italic; line-height: 1.3; }
.shift-card.before { color: var(--muted); background: rgba(255,255,255,.015); }
.shift-card.before p { text-decoration: line-through; text-decoration-color: rgba(216,180,106,.45); text-decoration-thickness: 1px; }
.shift-card.after { background: linear-gradient(160deg, rgba(216,180,106,.14), rgba(216,180,106,.02)); border-color: rgba(216,180,106,.5); }
.shift-label { display: block; font-family: var(--display); font-size: 11px; letter-spacing: .3em; text-transform: uppercase; color: var(--gold); margin-bottom: 12px; font-style: normal; }
.shift-arrow { font-size: 34px; color: var(--gold); }
.shift-text { max-width: 36em; margin: 0 auto; color: #d9d0c2; }

/* dentro */
.parts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.part { position: relative; padding: 34px 26px 28px; border-radius: 16px; background: linear-gradient(180deg, var(--bg-3), var(--bg-2)); border: 1px solid rgba(255,255,255,.05); overflow: hidden; }
.part::before { content: ""; position: absolute; inset: 0 0 auto; height: 2px; background: var(--gold-grad); opacity: .7; }
.part-n { font-family: var(--display); font-size: 44px; color: var(--gold); line-height: 1; opacity: .9; }
.part h3 { font-family: var(--display); font-weight: 500; font-size: 19px; letter-spacing: .05em; margin: 14px 0 12px; }
.part p { font-size: 17px; color: #cfc6b8; margin: 0 0 18px; line-height: 1.5; }
.part ul { list-style: none; padding: 16px 0 0; margin: 0; border-top: 1px solid var(--line); font-family: var(--sans); font-size: 12.5px; color: var(--muted); }
.part li { padding: 4px 0; }
.part li::before { content: "·"; color: var(--gold); margin-right: 8px; }

/* frases */
.quotes { max-width: none; padding-left: 0; padding-right: 0; background: #efe7da; color: #2a241d; }
.quotes .section-head { padding: 0 var(--gutter); }
.quotes .kicker { color: #8f672c; }
.quotes h2 { color: #2a241d; }
.quotes .quote { background: #13110f; color: var(--ivory); }
.quote-track { display: flex; gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 10px max(var(--gutter), calc((100vw - var(--maxw)) / 2 + var(--gutter))) 30px; scrollbar-width: none; }
.quote-track::-webkit-scrollbar { display: none; }
.quote { flex: 0 0 min(420px, 82vw); scroll-snap-align: center; margin: 0; padding: 40px 34px; border-radius: 16px; border: 1px solid var(--line);
  background: radial-gradient(120% 90% at 0% 0%, rgba(216,180,106,.1), transparent 60%), var(--bg-2); display: flex; flex-direction: column; justify-content: space-between; min-height: 280px; }
.quote blockquote { margin: 0; font-size: clamp(22px, 1.8vw, 27px); line-height: 1.35; font-style: italic; }
.quote blockquote::before { content: "“"; display: block; font-family: var(--display); font-size: 60px; line-height: .6; color: var(--gold); margin-bottom: 14px; font-style: normal; }
.quote figcaption { margin-top: 26px; font-family: var(--sans); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-2); }

/* para quién */
.fit-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 22px; }
.fit-col { padding: 40px 36px; border-radius: 16px; border: 1px solid var(--line); }
.fit-col h3 { font-family: var(--display); font-weight: 500; font-size: 22px; margin: 0 0 20px; letter-spacing: .04em; }
.fit-col ul { list-style: none; padding: 0; margin: 0; }
.fit-col li { position: relative; padding: 10px 0 10px 34px; border-bottom: 1px solid rgba(255,255,255,.05); }
.fit-col.yes { background: linear-gradient(160deg, rgba(216,180,106,.08), transparent 60%); }
.fit-col.yes li::before { content: "✦"; position: absolute; left: 4px; top: 12px; color: var(--gold); font-size: 14px; }
.fit-col.no { color: var(--muted); }
.fit-col.no li::before { content: "—"; position: absolute; left: 4px; color: #6f675c; }
.fit-note { margin: 22px 0 0; font-style: italic; font-size: 17px; color: #bdb3a4; }

/* autor */
.author-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(30px, 6vw, 80px); align-items: center; }
.author-quote { position: relative; padding: 50px 0 0; }
.big-q { position: absolute; top: -40px; left: -10px; font-family: var(--display); font-size: 180px; line-height: 1; color: var(--gold); opacity: .25; }
.author-quote p { position: relative; margin: 0; font-size: clamp(24px, 2.3vw, 32px); line-height: 1.4; font-style: italic; }
.author-text h2 { margin-bottom: 20px; }
.author-text p:not(.kicker) { color: #d2c9bb; }

/* oferta */
.offer-card { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(30px, 5vw, 70px); align-items: center; padding: clamp(28px, 5vw, 60px); border-radius: 24px;
  background: radial-gradient(80% 100% at 0% 50%, rgba(216,180,106,.16), transparent 60%), var(--bg-2); border: 1px solid rgba(216,180,106,.35); }
.offer-book { position: relative; }
.offer-book::before { content: ""; position: absolute; inset: 10% 5%; border-radius: 50%; background: radial-gradient(circle, rgba(216,180,106,.22), transparent 65%); filter: blur(20px); }
.offer-book img { position: relative; width: 100%; max-width: 380px; height: auto; margin: 0 auto; filter: drop-shadow(0 30px 40px rgba(0,0,0,.55)); animation: float2 7s ease-in-out infinite; }
@keyframes float2 { 50% { transform: translateY(-12px); } }
.offer-sub { margin: 6px 0 22px; font-style: italic; color: var(--muted); }
.offer-list { list-style: none; padding: 0; margin: 0 0 28px; }
.offer-list li { padding: 8px 0 8px 30px; position: relative; }
.offer-list li::before { content: "✓"; position: absolute; left: 0; color: var(--gold); font-family: var(--sans); }
.price-row { display: flex; align-items: baseline; gap: 14px; margin-bottom: 22px; }
.price-row:empty, .price-row.hidden { display: none; }
.price { font-family: var(--display); font-size: 42px; color: var(--ivory); }
.price-note { font-family: var(--sans); font-size: 13px; color: var(--muted); }
.offer-micro { font-family: var(--sans); font-size: 13px; color: var(--muted); margin: 16px 0 0; }
.offer-micro:empty { display: none; }

/* faq */
.faq { max-width: 860px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 24px 40px 24px 0; font-size: clamp(20px, 1.6vw, 24px); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font-family: var(--sans); font-weight: 300; font-size: 26px; color: var(--gold); transition: transform .3s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { margin: 0 0 24px; color: #cfc6b8; }

/* cierre */
.final { text-align: center; padding-bottom: clamp(100px, 12vw, 170px); }
.final-line { font-family: var(--display); font-size: clamp(28px, 3.6vw, 52px); line-height: 1.2; max-width: 18em; margin: 0 auto 44px; }

.footer { border-top: 1px solid rgba(255,255,255,.06); padding: 40px var(--gutter) 110px; text-align: center; font-family: var(--sans); font-size: 12px; color: #7d756a; }
.footer .brand { display: block; margin-bottom: 8px; color: var(--ivory); }

/* sticky móvil */
.sticky-cta { position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 20; display: none; align-items: center; justify-content: space-between;
  padding: 10px 10px 10px 20px; border-radius: 999px; background: rgba(19,17,15,.88); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border: 1px solid var(--line);
  transform: translateY(140%); transition: transform .4s ease; font-family: var(--display); font-size: 13px; letter-spacing: .08em; }
.sticky-cta .btn { padding: 12px 22px; font-size: 14px; }
.sticky-cta.show { transform: none; }

/* reveal */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s ease, transform .9s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .halo, .book-fallback, .offer-book img { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1020px) {
  .parts { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; padding-top: 90px; text-align: center; gap: 0; }
  .hero-book { order: -1; height: 56svh; min-height: 360px; margin: 0 -16px; }
  #book3d { inset: -6% -10%; width: 120%; height: 112%; }
  .cta-row, .hero-facts { justify-content: center; }
  .lead { margin-left: auto; margin-right: auto; }
  .drag-hint { display: none; }
  .shift-grid { grid-template-columns: 1fr; }
  .shift-arrow { transform: rotate(90deg); }
  .fit-grid, .author-grid, .offer-card { grid-template-columns: 1fr; }
  .offer-card { text-align: center; }
  .offer-list { display: inline-block; text-align: left; }
  .price-row { justify-content: center; }
  .sticky-cta { display: flex; }
  .scroll-cue { display: none; }
  .nav-cta { display: none; }
  .nav { justify-content: center; }
  .eyebrow { letter-spacing: .2em; font-size: 11px; }
}
@media (max-width: 560px) {
  .parts { grid-template-columns: 1fr; }
  .btn { padding: 15px 22px; }
  .cta-row .btn { flex: 1 1 100%; }
  .fit-col { padding: 30px 22px; }
  .hero-facts { gap: 8px 26px; }
}

@media (min-width: 1021px) {
  .quote-track { display: grid; grid-template-columns: repeat(4, 1fr); overflow: visible; max-width: var(--maxw); margin: 0 auto; padding: 10px var(--gutter) 0; }
  .quote { min-height: 260px; padding: 32px 26px; }
  .quote blockquote { font-size: 22px; }
}

/* pago */
.btn.is-soon { cursor: default; filter: saturate(.4); opacity: .75; box-shadow: none; }
.btn.is-soon:hover { transform: none; }
.secure-pay { font-family: var(--sans); font-size: 12.5px; color: var(--muted); margin: 14px 0 0; }
.secure-pay .lock { font-size: 11px; margin-right: 4px; }

/* ---------- Más que un libro ---------- */
.buzon { max-width: none; background: #efe7da; color: #2a241d; }
.buzon-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(30px, 6vw, 80px); align-items: start; max-width: var(--maxw); margin: 0 auto; }
.buzon .kicker { color: #8f672c; }
.buzon-copy p:not(.kicker), .buzon-points li { color: #4b4034; }
.buzon-copy h2 { color: #2a241d; }
.buzon-copy h2 { margin-bottom: 22px; }
.buzon-points { list-style: none; padding: 0; margin: 26px 0 0; }
.buzon-points li { position: relative; padding: 8px 0 8px 30px; font-size: 18px; }
.buzon-points li::before { content: "✦"; position: absolute; left: 2px; top: 10px; color: var(--gold); font-size: 13px; }
.buzon-form { padding: clamp(24px, 4vw, 40px); border-radius: 20px; border: 1px solid rgba(216,180,106,.35);
  background: radial-gradient(90% 70% at 100% 0%, rgba(216,180,106,.18), transparent 60%), #f7efe3; display: grid; gap: 18px; box-shadow: 0 24px 60px rgba(52,38,22,.12); }
.buzon-form label { display: grid; gap: 8px; font-family: var(--sans); font-size: 13px; font-weight: 500; letter-spacing: .02em; color: #4b4034; }
.buzon-form .opt { font-weight: 400; color: #766a5c; }
.buzon-form input:not([type=checkbox]), .buzon-form textarea {
  width: 100%; font: 17px/1.5 var(--serif); color: #2a241d; background: rgba(255,255,255,.54); border: 1px solid rgba(91,67,37,.22);
  border-radius: 12px; padding: 13px 15px; outline: none; transition: border-color .2s, box-shadow .2s; resize: vertical; }
.buzon-form input:focus, .buzon-form textarea:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(216,180,106,.15); }
.buzon-form .check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; font-size: 13px; line-height: 1.5; color: #766a5c; }
.buzon-form .check input { margin-top: 3px; accent-color: var(--gold); width: 16px; height: 16px; flex: none; }
.buzon-form .check a { color: var(--gold); }
.buzon-form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.buzon-form button { justify-self: start; }
.buzon-form button[disabled] { opacity: .6; cursor: wait; }
.form-status { margin: 0; font-family: var(--sans); font-size: 14px; min-height: 1em; }
.form-status.ok { color: #cfe3b0; }
.form-status.err { color: #f0a58f; }
.buzon-aviso { margin: 4px 0 0; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.06); font-family: var(--sans); font-size: 12px; line-height: 1.6; color: #8d857a; }
.buzon-aviso a { color: var(--ivory); }
.buzon-done { text-align: center; padding: 30px 10px; }
.buzon-done .orn { font-size: 26px; color: var(--gold); }
.buzon-done h3 { font-family: var(--display); font-weight: 500; font-size: 24px; margin: 12px 0; }
.buzon-done p { color: #d2c9bb; margin: 0; }
.buzon-closed { font-style: italic; color: var(--muted); text-align: center; padding: 30px 0; }

/* ---------- Banner de referido ---------- */
.ref-banner { position: fixed; top: 0; left: 0; right: 0; z-index: 30; padding: 10px 16px; text-align: center; font-family: var(--sans); font-size: 13px;
  background: var(--gold-grad); color: #1a1206; box-shadow: 0 6px 20px rgba(0,0,0,.35); }
.ref-banner strong { font-weight: 700; letter-spacing: .04em; }
.has-ref .nav { top: 38px; }

.preorder-banner { position: fixed; top: 0; left: 0; right: 0; z-index: 29; padding: 9px 16px; text-align: center; font-family: var(--sans); font-size: 13px;
  background: rgba(216,180,106,.14); color: var(--gold); border-bottom: 1px solid rgba(216,180,106,.3); backdrop-filter: blur(10px); letter-spacing: .02em; }
.has-preorder .nav { top: 34px; }
.price-old { text-decoration: line-through; color: var(--muted); font-size: .55em; margin-right: 8px; }

@media (max-width: 860px) {
  .buzon-grid { grid-template-columns: 1fr; }
  .buzon-form button { justify-self: stretch; }
}
.h1-book { display: block; font-family: var(--serif); font-style: italic; font-weight: 400; font-size: clamp(16px, 1.3vw, 19px); letter-spacing: .02em; color: var(--muted); margin-bottom: 14px; text-transform: none; }
.stores { font-family: var(--sans); font-size: 13px; color: var(--muted); margin: 14px 0 0; }
.stores a { color: var(--gold); }

/* aviso de cookies */
.consent { position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 40; max-width: 560px; margin: 0 auto;
  padding: 18px 20px; border-radius: 16px; background: rgba(19,17,15,.96); border: 1px solid var(--line); box-shadow: 0 20px 60px rgba(0,0,0,.6);
  font-family: var(--sans); font-size: 13.5px; line-height: 1.5; color: #cfc6b8; }
.consent a { color: var(--gold); }
.consent-actions { display: flex; gap: 8px; margin-top: 12px; flex-wrap: wrap; }
.consent-actions .btn { padding: 10px 18px; font-size: 13px; }

/* ---------- Secciones en papel (marfil): contraste ---------- */
.quotes h2 em, .buzon h2 em { color: #8f672c; }
.buzon-form .check a { color: #8f672c; }
.buzon .form-status.ok { color: #3f6b2a; }
.buzon .form-status.err { color: #a3361c; }
.buzon .buzon-aviso { color: #6b5f52; border-top-color: rgba(91,67,37,.18); }
.buzon .buzon-aviso a { color: #2a241d; }
.buzon .buzon-points li::before { color: #b88a44; }
.buzon .buzon-closed { color: #6b5f52; }

:root {
  --gold-dark: #8f672c;
}

/* Ronda 2: textura y presencia editorial */
body::before { content: ""; position: fixed; inset: 0; z-index: 100; pointer-events: none; opacity: .06; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.8'/%3E%3C/svg%3E"); }
body > * { position: relative; }
.hero-grid > .hero-copy > * { animation: hero-in .8s cubic-bezier(.2,.7,.2,1) both; }
.hero-copy > *:nth-child(1) { animation-delay: .12s; }
.hero-copy > *:nth-child(2) { animation-delay: .24s; }
.hero-copy > *:nth-child(3) { animation-delay: .36s; }
.hero-copy > *:nth-child(4) { animation-delay: .48s; }
.hero-copy > *:nth-child(5) { animation-delay: .60s; }
@keyframes hero-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
h1 { font-size: clamp(44px, 6vw, 88px); line-height: 1.02; }
h1 .gold { background-size: 200% auto; animation: gold-flow 8s ease-in-out infinite; }
@keyframes gold-flow { 50% { background-position: 100% 50%; } }
.halo { width: 88%; background: radial-gradient(circle, rgba(216,180,106,.34), rgba(216,180,106,.08) 48%, transparent 72%), radial-gradient(circle, transparent 59%, rgba(216,180,106,.18) 60%, transparent 61%); filter: blur(5px); }
.halo::after { content: ""; position: absolute; inset: 8%; border: 1px solid rgba(216,180,106,.25); border-radius: 50%; animation: aura 6s ease-in-out infinite; }
@keyframes aura { 50% { transform: scale(1.04); opacity: .65; } }
.hero-book::after { content: ""; position: absolute; z-index: -1; left: 18%; right: 18%; bottom: 12%; height: 7%; border-radius: 50%; background: rgba(0,0,0,.65); filter: blur(22px); }
.ornament { position: relative; width: 160px; height: 14px; margin: 0 auto; color: var(--gold); background: linear-gradient(var(--line), var(--line)) left center / calc(50% - 16px) 1px no-repeat, linear-gradient(var(--line), var(--line)) right center / calc(50% - 16px) 1px no-repeat; }
.ornament::after { content: "✦"; position: absolute; left: 50%; top: 50%; transform: translate(-50%, -52%); font-size: 13px; line-height: 1; }
.section-head { position: relative; }
.section-head::before { content: ""; display: block; margin-bottom: 14px; font: 11px var(--display); letter-spacing: .25em; color: var(--muted); opacity: .7; }
.what .section-head::before { content: "— 2 —"; }
.video-sec .section-head::before { content: "— 3 —"; }
.inside .section-head::before { content: "— 5 —"; }
.quotes .section-head::before { content: "— 6 —"; color: var(--gold-dark); }
.faq .section-head::before { content: "— 11 —"; }
.shift-text::first-letter, .author-text > h2 + p::first-letter { float: left; padding: .08em .12em 0 0; font: 600 3.2em/.78 var(--display); color: var(--gold); }
.part { transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease; }
.part:hover { transform: translateY(-4px); border-color: rgba(216,180,106,.6); box-shadow: 0 16px 35px rgba(0,0,0,.2); }
.part-n { position: absolute; right: 10px; top: 8px; font-size: 120px; opacity: .15; pointer-events: none; }
.part h3, .part p { position: relative; }
.offer-card { position: relative; isolation: isolate; border: 0; background: radial-gradient(90% 120% at 0% 50%, rgba(216,180,106,.2), transparent 62%), var(--bg-2); }
.offer-card::before { content: ""; position: absolute; inset: 0; z-index: -1; padding: 1px; border-radius: 24px; background: linear-gradient(135deg, rgba(216,180,106,.9), rgba(216,180,106,.12) 45%, rgba(216,180,106,.55)); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; }
.offer-card::after { content: "✦"; position: absolute; inset: 10px; border: 1px solid rgba(216,180,106,.18); color: rgba(216,180,106,.55); padding: 2px 8px; text-align: right; pointer-events: none; }
.offer-book img { max-width: 440px; transition: transform .4s ease; }
.offer-book:hover img { transform: rotate(3deg) translateY(-8px); }
.price { font-size: 48px; }
#buyMain { position: relative; overflow: hidden; min-width: 320px; }
#buyMain::after { content: ""; position: absolute; inset: 0 auto 0 -80%; width: 45%; transform: skewX(-20deg); background: rgba(255,255,255,.32); animation: shine 5s ease-in-out infinite; }
@keyframes shine { 0%, 70% { left: -80%; } 100% { left: 140%; } }
.mini-guarantees { display: flex; gap: 24px; margin-top: 22px; color: var(--gold); }
.mini-guarantees svg { width: 25px; height: 25px; fill: none; stroke: currentColor; stroke-width: 1.2; }
.author-photo { width: 120px; height: 120px; display: grid; place-items: center; margin-bottom: 24px; border: 1px solid var(--gold); outline: 1px solid var(--gold); outline-offset: 6px; border-radius: 50%; font: 500 30px var(--display); color: var(--gold); }
.author-quote p { font-size: clamp(24px, 2.4vw, 34px); }
.final { position: relative; isolation: isolate; }
.final::before { content: ""; position: absolute; z-index: -1; inset: 15% 20%; background: radial-gradient(circle, rgba(216,180,106,.16), transparent 68%); }
.final-line { font-size: clamp(34px, 5vw, 72px); }
main a:not(.btn), .footer a { position: relative; text-decoration: none; }
main a:not(.btn)::after, .footer a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -.15em; height: 1px; background: var(--gold); transition: right .3s ease; }
main a:not(.btn):hover::after, .footer a:hover::after { right: 0; }
.faq details p { overflow: hidden; animation: faq-open .35s ease both; }
@keyframes faq-open { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.sticky-cta { border: 0; border-top: 1px solid var(--gold); border-radius: 0; left: 0; right: 0; bottom: 0; padding-bottom: calc(10px + env(safe-area-inset-bottom)); }
@media (max-width: 860px) { .hero-book { height: min(46svh, 430px); min-height: 300px; } .offer-book img { max-width: 360px; } }
@media (max-width: 560px) { #buyMain { min-width: 0; width: 100%; } .mini-guarantees { justify-content: center; } }
@media (prefers-reduced-motion: reduce) { body::before { opacity: .05; } .hero-grid > .hero-copy > *, h1 .gold, .halo::after, #buyMain::after { animation: none; } .part, .offer-book img { transition: none; } }
@media (min-width: 861px) { .mini-guarantees { justify-content: flex-start; } }


/* Secciones en papel: contraste */
.quotes .section-head::before, .buzon .section-head::before { color: #6b5f52; }
@media (max-width: 560px) {
  .hero-book { height: min(30svh, 260px); min-height: 200px; }
  h1 { font-size: clamp(34px, 10vw, 44px); }
}

/* ---------- Qué es el libro ---------- */
.what { max-width: 860px; text-align: center; }
.what .section-head { margin-bottom: 30px; }
.what-text { margin: 0 auto; max-width: 38em; font-size: clamp(19px, 1.3vw + 10px, 22px); color: #d9d0c2; }
[hidden] { display: none !important; }
