:root {
  --bg: #06090f;
  --bg-2: #0c1320;
  --bg-3: #121c2a;
  --panel: #101720;
  --panel-2: rgba(255,255,255,.05);
  --paper: #f0e8db;
  --paper-soft: #e5ddd0;
  --ink: #f4efe6;
  --ink-soft: rgba(244,239,230,.78);
  --text-dark: #191d24;
  --text-dark-soft: #4b515b;
  --red: #d8121f;
  --red-bright: #ff1d2f;
  --red-dark: #a50b16;
  --line: rgba(255,255,255,.12);
  --line-strong: rgba(255,255,255,.2);
  --line-dark: rgba(25,29,36,.12);
  --shadow: 0 26px 70px rgba(0,0,0,.34);
  --radius: 28px;
  --container: 1180px;
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --display: "Bebas Neue", Impact, "Arial Narrow", sans-serif;
  --sans: "Inter", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* ==========================================================================
   ESTILOS BASE Y RESTRUCTURACIÓN GLOBAL
   ========================================================================== */
*, *:before, *:after { box-sizing: border-box; }
html { scroll-behavior: smooth; width: 100%; max-width: 100%; overflow-x: hidden; }
body {
  margin: 0; padding: 0; font-family: var(--sans); color: var(--ink);
  background: radial-gradient(circle at top right, rgba(216,18,31,.12), transparent 26%), linear-gradient(180deg, #05070b 0%, #0a1018 24%, #080c12 100%);
  line-height: 1.55; text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; width: 100%; max-width: 100%; overflow-x: hidden; position: relative;
}
body.loading-active { overflow: hidden; height: 100vh; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
.container { width: min(calc(100% - clamp(48px, 8vw, 96px)), var(--container)); margin: 0 auto; padding: 0; }
.section { padding: clamp(64px, 8vw, 128px) 0; }
.section-dark { color: var(--ink); background: transparent; }
.section-panel { position: relative; background: linear-gradient(180deg, rgba(16,23,32,.82), rgba(12,18,27,.88)); border-top: 1px solid rgba(255,255,255,.04); border-bottom: 1px solid rgba(255,255,255,.04); }
.section-heading { max-width: 760px; }
.section-heading.center { text-align: center; margin: 0 auto 46px; }
.section-heading h2, .red-copy h2, .questions-grid h2, .author-copy h2, .buy-copy h2 { margin: 0; font-family: var(--serif); line-height: .98; letter-spacing: -.045em; font-size: clamp(2.4rem, 6vw, 5rem); }
.section-heading p { color: var(--ink-soft); font-size: 1.06rem; }
.eyebrow { margin: 0 0 16px; color: rgba(244,239,230,.9); font-weight: 700; font-size: .95rem; letter-spacing: .01em; }
.skip-link { position: absolute; left: 14px; top: 14px; z-index: 100; padding: 10px 14px; background: var(--red); color: var(--ink); transform: translateY(-150%); transition: transform .2s ease; }
.skip-link:focus { transform: translateY(0); }
.sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }

/* ==========================================================================
   PANTALLA DE PRECARGA CRT (IMAGEN FIJA + MÁSCARA DE MONITOR)
   ========================================================================== */
.preloader-overlay {
  position: fixed; inset: 0; z-index: 9999; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(180deg, rgba(5, 7, 11, 0.84) 0%, rgba(5, 7, 11, 0.93) 100%), url('../media/error503.png') center / cover no-repeat;
  background-blend-mode: multiply; transition: opacity 0.4s ease, transform 0.4s ease, filter 0.3s ease, visibility 0.4s;
  animation: preloaderVoltage 4s ease-in-out infinite;
}
.preloader-scanlines { position: absolute; inset: 0; background: repeating-linear-gradient(to bottom, rgba(255,255,255,.07) 0px, rgba(255,255,255,.07) 1px, transparent 2px, transparent 4px); opacity: .4; z-index: 2; pointer-events: none; }
.preloader-content { position: relative; z-index: 3; text-align: center; width: min(100% - 32px, 680px); padding: 20px; display: flex; flex-direction: column; align-items: center; }
.preloader-status { display: inline-flex; align-items: center; gap: 12px; margin-bottom: 24px; }
#preloader-eyebrow { color: var(--red-bright); font-size: 0.8rem; font-weight: 900; text-transform: uppercase; letter-spacing: .18em; }
.preloader-interactive-title { background: transparent; border: 0; cursor: pointer; padding: 10px; display: flex; flex-direction: column; align-items: center; gap: 10px; outline: none; }
.preloader-interactive-title .glitch-word, .preloader-interactive-title .glitch-number { font-size: clamp(4.5rem, 15vw, 9.5rem); line-height: 0.82; letter-spacing: .015em; transform: scaleY(1.12); display: inline-block; font-family: var(--display); }
.preloader-interactive-title .glitch-word { color: var(--paper); }
.preloader-interactive-title .glitch-number { color: var(--red); }
.preloader-subtext { display: block; font-family: var(--serif); font-size: clamp(1.4rem, 4vw, 2.2rem); color: var(--paper-soft); letter-spacing: 0.05em; margin-top: 8px; opacity: 0.85; }
.preloader-loading-box { margin-top: 40px; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.preloader-loading-text { font-family: var(--sans); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.15em; color: var(--ink-soft); animation: blinkText 1.5s ease-in-out infinite; }
.preloader-progress-bar { width: 180px; height: 2px; background: rgba(255, 255, 255, 0.1); border-radius: 999px; overflow: hidden; position: relative; }
.preloader-progress-fill { position: absolute; left: 0; top: 0; height: 100%; width: 100%; background: var(--red); transform: scaleX(0); transform-origin: left; animation: preloaderFillAnim 4s linear forwards; }

.preloader-overlay.is-hidden { opacity: 0; visibility: hidden; pointer-events: none; transform: scale(1.08) skewX(-6deg); filter: brightness(5) contrast(3) blur(3px); }
@keyframes preloaderFillAnim { to { transform: scaleX(1); } }
@keyframes blinkText { 0%, 100% { opacity: 0.4; } 50% { opacity: 1; } }
@keyframes preloaderVoltage { 0%, 100% { filter: brightness(1); } 50% { filter: brightness(1.06) contrast(1.03); } }

/* ==========================================================================
   ENCABEZADO (NAV)
   ========================================================================== */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 100; padding: 18px 0; background: linear-gradient(to bottom, rgba(5,7,11,.92), rgba(5,7,11,.56), transparent); transition: background .25s ease, padding .25s ease; }
.site-header.is-scrolled { padding: 10px 0; background: rgba(6,9,15,.92); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; font-weight: 800; }
.brand-mark { display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid var(--line-strong); color: var(--red-bright); border-radius: 999px; font-size: .78rem; background: rgba(255,255,255,.04); font-family: var(--display); }
.brand-text { font-size: .86rem; letter-spacing: .06em; }
.site-nav { display: flex; align-items: center; gap: clamp(12px, 2vw, 28px); font-size: .92rem; color: rgba(244,239,230,.78); }
.site-nav a:hover, .site-nav a.is-active { color: var(--ink); }
.nav-cta { color: var(--ink)!important; padding: 10px 18px; border-radius: 999px; background: var(--red); box-shadow: 0 18px 38px rgba(216,18,31,.22); }
.nav-toggle { display: none; background: transparent; border: 0; width: 44px; height: 44px; padding: 10px; cursor: pointer; }
.nav-toggle span { display: block; height: 2px; margin: 5px 0; background: var(--ink); }

/* ==========================================================================
   HERO / COMPORTAMIENTO MÓVIL BLINDADO
   ========================================================================== */
.hero { 
  position: relative; overflow: hidden; 
  padding: clamp(100px, 14vw, 190px) 0 clamp(60px, 10vw, 130px); 
  min-height: 100svh; width: 100%; max-width: 100%;
  background: linear-gradient(180deg, rgba(6,9,15,.92), rgba(10,16,24,.94)); 
}
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(255,255,255,.02), rgba(255,255,255,0)); pointer-events: none; }
.hero-scanlines { position: absolute; inset: 0; background: repeating-linear-gradient(to bottom, rgba(255,255,255,.045) 0px, rgba(255,255,255,.045) 1px, transparent 2px, transparent 4px); opacity: .16; animation: scanDrift 10s linear infinite; pointer-events: none; }
.hero-blur { position: absolute; border-radius: 50%; filter: blur(60px); pointer-events: none; }
.hero-blur-one { width: 320px; height: 320px; right: 9%; top: 16%; background: rgba(216,18,31,.14); }
.hero-blur-two { width: 300px; height: 300px; left: -4%; bottom: 10%; background: rgba(244,239,230,.08); }

.hero-grid { position: relative; z-index: 3; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(320px, .82fr); gap: clamp(32px, 6vw, 88px); align-items: center; width: 100%; }
.hero-copy { min-width: 0; width: 100%; max-width: 100%; }

.system-line { display: inline-flex; align-items: center; flex-wrap: wrap; max-width: 100%; gap: 10px; margin-bottom: 18px; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); background: rgba(255,255,255,.04); color: rgba(244,239,230,.8); font-size: .82rem; text-transform: uppercase; letter-spacing: .12em; }
.status-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--red-bright); box-shadow: 0 0 0 0 rgba(255,29,47,.6); animation: pulse 1.8s ease infinite; }

.hero-title { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 8px 20px; margin: 0; line-height: .86; width: 100%; max-width: 100%; }
.glitch-word, .glitch-number { position: relative; display: inline-block; font-family: var(--display); text-transform: uppercase; letter-spacing: .015em; transform: scaleY(1.12); transform-origin: bottom; cursor: crosshair; transition: letter-spacing .25s ease, transform .25s ease; will-change: transform; font-weight: 400; }
.glitch-word { font-size: clamp(4.2rem, 11vw, 10rem); color: var(--paper); }
.glitch-number { font-size: clamp(4.2rem, 11vw, 10rem); color: var(--red); }
.glitch-word::before, .glitch-word::after, .glitch-number::before, .glitch-number::after { content: attr(data-text); position: absolute; inset: 0; pointer-events: none; }
.glitch-word::before { color: rgba(255,255,255,.75); transform: translate(-2px, -1px); clip-path: inset(0 0 65% 0); animation: glitchSliceA 3.2s infinite linear alternate-reverse; }
.glitch-word::after { color: rgba(216,18,31,.28); transform: translate(2px, 1px); clip-path: inset(58% 0 0 0); animation: glitchSliceB 2.7s infinite linear alternate-reverse; }
.glitch-word:hover, .glitch-number:hover { letter-spacing: .055em; transform: scaleY(1.18) skewX(-2deg); }

.hero-subtitle { margin: 18px 0 0; font-size: clamp(2.8rem, 6vw, 5.6rem); font-family: var(--serif); color: var(--paper); line-height: .95; letter-spacing: -.045em; width: 100%; }
.hero-subcopy { margin: 12px 0 0; font-size: clamp(1.4rem, 3vw, 2.5rem); font-family: var(--serif); font-style: italic; color: rgba(244,239,230,.86); width: 100%; }
.hero-lead { max-width: 690px; margin: 22px 0 0; color: rgba(244,239,230,.76); font-size: clamp(1.05rem, 1.8vw, 1.32rem); width: 100%; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; width: 100%; }

/* Botones con adaptación Flexbox Estricta */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 15px 28px; border-radius: 999px; font-weight: 850; border: 1px solid transparent; cursor: pointer; transition: transform .2s ease, background .2s ease; font-family: var(--sans); font-size: 0.95rem; }
.btn:hover { transform: translateY(-2px); }
.btn-red { color: var(--paper); background: var(--red); box-shadow: 0 18px 36px rgba(216,18,31,.26); }
.btn-red:hover { background: var(--red-bright); }
.btn-ghost { background: rgba(255,255,255,.04); border-color: rgba(244,239,230,.18); color: var(--paper); }
.btn-full { width: 100%; border-radius: 18px; }

/* Corrección de Desborde del Bloque de la Cinta */
.hero-tape { position: relative; width: 100%; max-width: 100%; margin: clamp(24px, 3.2vw, 36px) 0; padding: 10px 0; overflow: hidden; border-top: 1px solid rgba(244,239,230,.22); border-bottom: 1px solid rgba(244,239,230,.18); background: linear-gradient(90deg, rgba(5,7,11,.94), rgba(125,8,17,.88), rgba(5,7,11,.94)); transform: rotate(-.35deg); box-sizing: border-box; }
.tape-track { display: flex; align-items: center; width: max-content; animation: tapeRun 24s linear infinite; }
.tape-text { flex: 0 0 auto; display: inline-block; padding-right: 2rem; color: var(--paper); font-family: var(--display); font-size: clamp(1.15rem, 2.45vw, 2.15rem); line-height: .92; letter-spacing: .08em; text-transform: uppercase; font-weight: 400; }
.hero-proof { display: flex; flex-wrap: wrap; gap: 10px; color: rgba(244,239,230,.7); font-size: .86rem; width: 100%; }
.hero-proof span { padding: 8px 12px; border: 1px solid var(--line); border-radius: 999px; background: rgba(255,255,255,.04); }

.book-stage { position: relative; display: grid; place-items: center; width: 100%; }
.book-frame { position: relative; width: min(86%, 420px); filter: drop-shadow(0 44px 70px rgba(0,0,0,.5)); }
.book-cover { position: relative; z-index: 1; width: 100%; border-radius: 8px; transform: perspective(1200px) rotateY(-8deg) rotateZ(.8deg); box-shadow: var(--shadow); transition: transform 0.4s ease; }
.book-stage:hover .book-cover { transform: perspective(1200px) rotateY(-4deg) rotateZ(0deg) scale(1.02); }

/* ==========================================================================
   SECCIONES DE CONTENIDO NATIVAS
   ========================================================================== */
.opening-strip { background: linear-gradient(90deg, rgba(216,18,31,.96), rgba(178,12,26,.96)); color: var(--paper); }
.opening-inner { display:flex; align-items:center; justify-content:space-between; gap: 24px; padding: 22px 0; }
.opening-inner p { margin: 0; font-weight: 850; font-size: clamp(1rem, 2.3vw, 1.35rem); }
.strip-link { font-weight: 900; text-decoration: underline; text-underline-offset: 4px; }

.mirror-title { position: relative; display: block; font-family: var(--serif); font-size: clamp(3.3rem, 8vw, 8.4rem); line-height: .86; letter-spacing: -.052em; color: var(--paper); isolation: isolate; }
.mirror-title::before, .mirror-title::after { content: attr(data-text); position: absolute; inset: 0; width: 100%; color: rgba(244,239,230,.72); pointer-events: none; z-index: -1; }
.mirror-title::before { transform: translate(-3px, -2px) skewX(-3deg); clip-path: polygon(0 0, 100% 0, 100% 44%, 0 54%); animation: mirrorSplitA 4.2s ease-in-out infinite; }
.mirror-title::after { transform: translate(4px, 2px) skewX(4deg); clip-path: polygon(0 48%, 100% 39%, 100% 100%, 0 100%); color: rgba(216,18,31,.42); animation: mirrorSplitB 3.6s ease-in-out infinite; }
.intro-copy { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 4vw, 52px); margin-top: clamp(36px, 6vw, 72px); padding-top: clamp(24px, 3vw, 36px); border-top: 1px solid rgba(244,239,230,.12); }
.intro-copy p { margin: 0; color: var(--ink-soft); font-size: 1.08rem; }

.section-highlight { background: linear-gradient(180deg, rgba(168,10,22,.96), rgba(114,8,17,.96)); color: var(--paper); }
.red-grid { display:grid; grid-template-columns: .9fr 1fr; gap: clamp(32px, 7vw, 88px); align-items:center; }
.quote-block { position: relative; padding: clamp(28px, 5vw, 54px); border-radius: var(--radius); background: rgba(0,0,0,.18); min-height: 280px; display:flex; align-items:flex-end; border: 1px solid rgba(255,255,255,.1); }
.quote-mark { position:absolute; top: -28px; left: 28px; font-family: var(--serif); font-size: 11rem; line-height:1; opacity:.18; }
.quote-block p { position: relative; margin: 0; font-family: var(--serif); font-size: clamp(2.2rem, 5vw, 4.8rem); line-height:.98; letter-spacing:-.05em; }
.red-copy p { max-width: 560px; color: rgba(244,239,230,.82); font-size: 1.12rem; }

.topic-grid { display:grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.topic-card { padding: 24px; border-radius: 24px; border: 1px solid var(--line); background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.02)); }
.topic-number { color: var(--red-bright); font-weight: 900; }
.topic-card h3 { margin: 48px 0 12px; font-size: 1.55rem; color: var(--paper); }
.topic-card p { margin: 0; color: rgba(244,239,230,.68); }

.reader-grid { display:grid; grid-template-columns: .8fr 1fr; gap: clamp(34px, 7vw, 84px); }
.sticky-heading { position: sticky; top: 110px; align-self:start; }
.sticky-heading .btn { margin-top: 26px; }
.reader-list { display:grid; gap: 18px; }
.reader-item { padding: 28px; border-radius: 24px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.09); }
.reader-item h3 { margin: 0 0 10px; font-size: 1.45rem; color: var(--paper); }
.reader-item p { margin: 0; color: var(--ink-soft); }

.index-timeline { display:grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.index-timeline article { padding: 24px; min-height: 230px; border-radius: 24px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.08); }
.index-timeline span { color: var(--red-bright); font-weight:900; }
.index-timeline h3 { margin: 28px 0 10px; font-size:1.3rem; color: var(--paper); }
.index-timeline p { margin:0; color: rgba(244,239,230,.72); }

.author-card { display:grid; grid-template-columns: 280px 1fr; gap: clamp(28px, 6vw, 76px); align-items:center; padding: clamp(28px, 6vw, 68px); border-radius: 34px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); }
.author-photo { width: min(100%, 290px); aspect-ratio: 4 / 5; margin: 0; border-radius: 28px; overflow: hidden; border: 1px solid rgba(255,255,255,.08); }
.author-photo img { width: 100%; height: 100%; object-fit: cover; }
.author-copy p { font-size: 1.08rem; color: var(--ink-soft); }

.buy-grid { display:grid; grid-template-columns: 1fr 420px; gap: clamp(30px, 7vw, 86px); align-items:center; }
.buy-copy p { color: rgba(244,239,230,.72); font-size:1.1rem; }
.link-note { padding: 16px 18px; border-radius: 18px; border: 1px solid rgba(255,255,255,.14); background: rgba(255,255,255,.05); }
.purchase-panel { padding: 22px; border-radius: 28px; background: rgba(255,255,255,.06); border: 1px solid var(--line); display:grid; gap: 12px; }
.purchase-formats { text-align: center; color: rgba(244,239,230,.76); font-size: .95rem; font-weight: 600; }

.section-faq { background: linear-gradient(180deg, #0d141d, #0b1017); }
.faq-grid { display:grid; grid-template-columns: .72fr 1fr; gap: clamp(30px, 6vw, 72px); }
.accordion { display:grid; gap: 12px; }
.accordion-item { border:1px solid rgba(255,255,255,.08); border-radius: 20px; background: rgba(255,255,255,.05); overflow:hidden; }
.accordion-item button { width:100%; padding: 22px 24px; text-align:left; border:0; background: transparent; font-weight:900; color: var(--paper); cursor:pointer; display:flex; justify-content:space-between; }
.accordion-item button:after { content:"+"; color: var(--red-bright); }
.accordion-item button[aria-expanded="true"]:after { content:"−"; }
.accordion-content { display:none; padding: 0 24px 24px; }
.accordion-content p { margin:0; color: var(--ink-soft); }
.accordion-item.is-open .accordion-content { display:block; }

.closing-cta { padding: 58px 0; background: linear-gradient(90deg, rgba(168,10,22,.96), rgba(130,8,18,.96)); }
.closing-inner { display:flex; align-items:center; justify-content:space-between; gap: 24px; }
.closing-inner p { margin:0; font-family: var(--serif); font-size: clamp(2rem, 5vw, 4rem); line-height:1; letter-spacing:-.05em; }
.closing-cta .btn-red { background: var(--paper); color: var(--red-dark); box-shadow:none; }
.site-footer { background:#06080d; color: rgba(244,239,230,.62); padding: 28px 0; border-top: 1px solid rgba(255,255,255,.05); }
.footer-inner { display:flex; justify-content:space-between; gap: 20px; flex-wrap:wrap; }

/* ==========================================================================
   ANIMACIONES KINETIC
   ========================================================================== */
@keyframes glitchSliceA { 0% { transform: translate(0,0); } 10% { transform: translate(-2px, -1px); } 20% { transform: translate(2px, 1px); } 100% { transform: translate(0,0); } }
@keyframes glitchSliceB { 0% { transform: translate(0,0); } 12% { transform: translate(2px, 1px); } 27% { transform: translate(-2px, 0); } 100% { transform: translate(0,0); } }
@keyframes mirrorSplitA { 0%, 100% { transform: translate(-2px, -1px) skewX(-2deg); opacity: .62; } 14% { transform: translate(-7px, -2px) skewX(-6deg); opacity: .88; } 17% { transform: translate(-1px, 0) skewX(-1deg); opacity: .5; } }
@keyframes mirrorSplitB { 0%, 100% { transform: translate(3px, 1px) skewX(3deg); opacity: .44; } 18% { transform: translate(8px, 2px) skewX(6deg); opacity: .68; } 20% { transform: translate(1px, 0) skewX(1deg); opacity: .32; } }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(255,29,47,.55); } 70% { box-shadow: 0 0 0 9px rgba(255,29,47,0); } 100% { box-shadow: 0 0 0 0 rgba(255,29,47,0); } }
@keyframes scanDrift { from { transform: translateY(0); } to { transform: translateY(12px); } }
@keyframes tapeRun { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes microFlicker { 0%, 100% { opacity: 1; } 20% { opacity: .9; } 55% { opacity: .84; } 56% { opacity: 1; } }

body.is-flicker .glitch-word, body.is-flicker .glitch-number, body.is-flicker .hero-subtitle { animation: microFlicker .16s linear 1; }
body.is-flicker .hero-overlay { opacity: .88; }

/* ==========================================================================
   BREAKPOINTS RESPONSIVE TOTALES (MÓVIL Y TABLET SIN DESBORDE)
   ========================================================================== */
@media (max-width: 980px) {
  .hero { padding: 116px 0 72px; }
  .hero-grid, .red-grid, .reader-grid, .questions-grid, .author-card, .buy-grid, .faq-grid { grid-template-columns: 1fr; width: 100%; }
  .book-frame { width: min(62vw, 360px); }
  .topic-grid, .index-timeline { grid-template-columns: repeat(2, 1fr); }
  .sticky-heading { position: static; }
  .intro-copy { grid-template-columns: 1fr; }
  .author-card { justify-items: start; }
  .author-photo { width: min(100%, 280px); }
}

@media (max-width: 760px) {
  .container { width: min(calc(100% - 48px), var(--container)); box-sizing: border-box; }
  .site-header { padding: 10px 0; }
  .brand-mark { width: 36px; height: 36px; font-size: .72rem; }
  .brand-text { font-size: .78rem; }
  
  .site-nav { position: fixed; inset: 62px 22px auto 22px; display: none; flex-direction: column; align-items: stretch; padding: 16px; border-radius: 18px; background: rgba(8,12,19,.98); border: 1px solid var(--line); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); z-index: 101 !important; box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6); }
  .site-nav.is-open { display: flex !important; }
  .nav-toggle { display: block; }

  .hero { padding: clamp(90px, 12vw, 120px) 0 44px; width: 100%; overflow: hidden; }
  
  /* Hero mobile con aire lateral propio: evita que el bloque principal quede pegado al borde del navegador. */
  .hero > .container {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding-left: clamp(30px, 8vw, 44px);
    padding-right: clamp(20px, 6vw, 32px);
    box-sizing: border-box;
  }

  .hero-grid { gap: 36px; width: 100%; grid-template-columns: 1fr; }
  .hero-copy { width: 100%; box-sizing: border-box; }
  .hero-copy .eyebrow,
  .system-line,
  .hero-title,
  .hero-subtitle,
  .hero-subcopy,
  .hero-lead,
  .hero-actions,
  .hero-proof { max-width: 100%; }
  
  /* Arreglo estructural de caja para tipografía de molde nativa */
  .glitch-word, .glitch-number { font-size: clamp(3.05rem, 14.2vw, 5.35rem); line-height: 0.82; letter-spacing: 0.01em; display: inline-block; }
  .hero-title { gap: 6px 12px; margin-bottom: 4px; }
  
  .hero-subtitle { font-size: clamp(2.35rem, 10.5vw, 4.2rem); line-height: .92; letter-spacing: -.04em; margin-top: 14px; }
  .hero-subcopy { font-size: clamp(1.18rem, 5.2vw, 1.8rem); line-height: 1.1; margin-top: 8px; }
  .hero-lead { font-size: 0.98rem; line-height: 1.55; margin-top: 18px; color: rgba(244,239,230,0.8); }
  .system-line { font-size: .75rem; letter-spacing: .08em; line-height: 1.25; }
  
  .hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; width: 100%; }
  .hero-actions .btn { width: auto; min-width: min(100%, 266px); max-width: 100%; padding: 15px 24px; text-align: center; }
  .purchase-panel .btn { width: 100%; max-width: 100%; padding: 15px 16px; text-align: center; }
  
  .hero-tape { width: 100vw; margin: 24px 0 20px; left: 50%; right: 50%; margin-left: -50vw; margin-right: -50vw; border-radius: 0; border-left: 0; border-right: 0; }
  .tape-text { font-size: clamp(1rem, 5vw, 1.45rem); padding-right: 1.5rem; }
  .hero-proof { gap: 6px; font-size: .78rem; }
  .hero-proof span { padding: 6px 10px; }

  .book-stage { margin-top: 20px; width: 100%; }
  .book-frame { width: min(68vw, 240px); }
  .book-cover { transform: perspective(850px) rotateY(-5deg) rotateZ(.6deg); }

  .opening-inner, .closing-inner { flex-direction: column; align-items: flex-start; gap: 16px; }
  .topic-grid, .index-timeline { grid-template-columns: 1fr; gap: 12px; }
  .author-card { padding: 24px; }
  .author-photo { width: min(100%, 320px); justify-self: center; }
  .buy-grid { gap: 24px; }
  .footer-inner { flex-direction: column; gap: 14px; }
}

@media (max-width: 380px) {
  .container { width: calc(100% - 40px); }
  .hero > .container {
    width: 100%;
    padding-left: 30px;
    padding-right: 18px;
  }
  .glitch-word, .glitch-number { font-size: clamp(2.8rem, 14vw, 3.8rem); }
  .hero-subtitle { font-size: 2.15rem; }
  .hero-subcopy { font-size: 1.08rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .tape-track, .mirror-title::before, .mirror-title::after, .glitch-word::before, .glitch-word::after { animation: none !important; }
  .preloader-progress-fill { animation: none; transform: scaleX(1); }
}
/* ==========================================================================
   CORRECCIÓN DEFINITIVA HERO MOBILE
   Evita que el primer bloque exceda el ancho real del celular.
   ========================================================================== */
@media (max-width: 760px) {
  html,
  body {
    width: 100%;
    max-width: 100%;
    overflow-x: clip;
  }

  .hero {
    width: 100%;
    max-width: 100%;
    overflow-x: clip;
    padding-top: clamp(98px, 19vw, 132px);
  }

  .hero > .container {
    width: 100%;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding-left: clamp(22px, 6.2vw, 30px);
    padding-right: clamp(22px, 6.2vw, 30px);
    box-sizing: border-box;
  }

  .hero-grid,
  .hero-copy,
  .hero-title,
  .hero-subtitle,
  .hero-subcopy,
  .hero-lead,
  .hero-actions,
  .hero-proof {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
  }

  .hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 34px;
  }

  .hero-copy {
    overflow: visible;
  }

  .hero-copy .eyebrow {
    margin-top: 0;
    max-width: 100%;
    line-height: 1.3;
  }

  .system-line {
    max-width: 100%;
    width: fit-content;
    min-width: 0;
    padding: 8px 12px;
    font-size: clamp(.68rem, 2.8vw, .78rem);
    letter-spacing: .075em;
    line-height: 1.2;
  }

  .system-line span:last-child {
    min-width: 0;
    white-space: normal;
    overflow-wrap: anywhere;
  }

  .hero-title {
    display: flex;
    flex-wrap: nowrap;
    align-items: flex-end;
    gap: 8px;
    overflow: visible;
  }

  .hero-title .glitch-word,
  .hero-title .glitch-number {
    flex: 0 1 auto;
    min-width: 0;
    font-size: clamp(3.05rem, 14vw, 4.25rem);
    line-height: .84;
    letter-spacing: .005em;
  }

  .hero-subtitle {
    font-size: clamp(2.12rem, 9.1vw, 3rem);
    line-height: .96;
    letter-spacing: -.045em;
    white-space: normal;
    overflow-wrap: normal;
    word-break: normal;
    text-wrap: balance;
  }

  .hero-subcopy {
    font-size: clamp(1.18rem, 5.1vw, 1.8rem);
    line-height: 1.12;
    text-wrap: balance;
  }

  .hero-lead {
    font-size: clamp(.98rem, 4vw, 1.08rem);
    line-height: 1.55;
    overflow-wrap: break-word;
  }

  .hero-actions {
    display: flex;
    justify-content: flex-start;
    margin-top: 28px;
  }

  .hero-actions .btn {
    width: min(100%, 280px);
    min-width: 0;
    max-width: 100%;
    padding: 15px 22px;
    white-space: nowrap;
  }

  /* La cinta antes usaba 100vw + left/margin negativos: en móviles eso suele generar
     scroll lateral o recorte visual por la barra del navegador. Ahora se calcula desde
     el ancho real del contenedor y sus paddings. */
  .hero-tape {
    position: relative;
    left: auto;
    right: auto;
    width: calc(100% + clamp(44px, 12.4vw, 60px));
    max-width: calc(100% + clamp(44px, 12.4vw, 60px));
    margin-left: calc(clamp(22px, 6.2vw, 30px) * -1);
    margin-right: calc(clamp(22px, 6.2vw, 30px) * -1);
    overflow: hidden;
  }

}

@media (max-width: 420px) {
  .hero-title .glitch-word,
  .hero-title .glitch-number {
    font-size: clamp(2.82rem, 13.4vw, 3.55rem);
  }

  .hero-subtitle {
    font-size: clamp(2.02rem, 8.9vw, 2.55rem);
  }

  .hero-actions .btn {
    width: min(100%, 270px);
  }
}

@media (max-width: 360px) {
  .hero > .container {
    padding-left: 20px;
    padding-right: 20px;
  }

  .hero-title .glitch-word,
  .hero-title .glitch-number {
    font-size: 2.72rem;
  }

  .hero-subtitle {
    font-size: 1.92rem;
  }

  .system-line {
    font-size: .66rem;
    letter-spacing: .055em;
  }
}


/* ==========================================================================
   AJUSTE HERO DESKTOP
   Compacta y centra el primer bloque sin tocar la versión mobile ya corregida.
   ========================================================================== */
.skip-link { display: none !important; }

@media (min-width: 981px) {
  .hero {
    display: flex;
    align-items: center;
    min-height: 100svh;
    padding: clamp(120px, 10vw, 170px) 0 clamp(74px, 7vw, 112px);
  }

  .hero > .container {
    width: min(calc(100% - clamp(96px, 12vw, 220px)), 1320px) !important;
    max-width: 1320px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .hero-grid {
    width: 100%;
    max-width: 1260px;
    margin-left: auto;
    margin-right: auto;
    display: grid;
    grid-template-columns: minmax(470px, 620px) minmax(320px, 420px);
    justify-content: center;
    align-items: center;
    gap: clamp(72px, 8vw, 150px);
  }

  .hero-copy {
    width: 100%;
    max-width: 620px;
    justify-self: center;
  }

  .hero-title .glitch-word,
  .hero-title .glitch-number {
    font-size: clamp(5.4rem, 7.2vw, 7.8rem);
  }

  .hero-subtitle {
    font-size: clamp(3.2rem, 4.3vw, 4.9rem);
  }

  .hero-subcopy {
    font-size: clamp(1.7rem, 2.2vw, 2.35rem);
  }

  .hero-lead {
    max-width: 610px;
    font-size: clamp(1.05rem, 1.18vw, 1.22rem);
  }

  .hero-actions {
    width: auto;
    margin-top: 30px;
  }

  .hero-actions .btn {
    min-width: 178px;
  }

  .hero-tape {
    width: min(100%, 620px);
    max-width: 620px;
    margin: 34px auto 28px;
  }

  .book-stage {
    justify-self: center;
  }

  .book-frame {
    width: min(100%, 360px);
  }
}

@media (min-width: 1400px) {
  .hero > .container {
    width: min(calc(100% - 260px), 1320px) !important;
  }

  .hero-grid {
    max-width: 1220px;
    grid-template-columns: minmax(450px, 580px) minmax(320px, 400px);
    gap: clamp(84px, 9vw, 170px);
  }
}
