/* =========================================================
   UNIVERSO KOOGAN · v2 · Sitio multipágina
   ========================================================= */

:root {
  --ink:            #0a0e14;
  --ink-2:          #0f141c;
  --surface:        #131a24;
  --surface-2:      #1a2230;
  --line:           #2a3446;
  --line-strong:    #3a4658;

  --text:           #e8ecf1;
  --text-mute:      #a1adbf;
  --text-dim:       #6b7787;

  --azul:           #5a90d8;
  --azul-claro:     #a8c8f0;
  --azul-oscuro:    #3b6db5;

  --brasa:          #e8623d;
  --brasa-claro:    #f4855f;
  --brasa-oscuro:   #b4441f;

  --cian:           #4dd3ff;
  --oro:            #f4a840;

  --f-display:      "Space Grotesk", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --f-body:         "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --f-serif:        "Fraunces", "Cormorant Garamond", Georgia, serif;

  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 22px;
  --r-xl: 32px;

  --sh-1: 0 4px 20px rgba(0,0,0,.35);
  --sh-2: 0 10px 40px rgba(0,0,0,.5), 0 2px 6px rgba(0,0,0,.3);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--ink);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--azul-claro); }

h1, h2, h3, h4 {
  font-family: var(--f-display);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin: 0;
}

em, .em {
  font-family: var(--f-serif);
  font-style: italic;
  font-weight: 400;
  color: var(--azul-claro);
}

.wrap {
  width: min(1200px, 92vw);
  margin-inline: auto;
}
.wrap--narrow {
  width: min(820px, 92vw);
  margin-inline: auto;
}

/* =========================================================
   FONDO DECORATIVO
   ========================================================= */
.bg-grid {
  position: fixed; inset: 0; z-index: -3;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 60px 60px;
  opacity: 0.15;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, black 30%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, black 30%, transparent 100%);
  pointer-events: none;
}
.bg-glow {
  position: fixed; z-index: -2;
  border-radius: 50%;
  filter: blur(140px);
  opacity: 0.35;
  pointer-events: none;
  will-change: transform;
}
.bg-glow--1 {
  top: -20vh; left: -10vw;
  width: 60vw; height: 60vw;
  background: radial-gradient(circle, var(--azul-oscuro), transparent 70%);
}
.bg-glow--2 {
  bottom: -30vh; right: -10vw;
  width: 55vw; height: 55vw;
  background: radial-gradient(circle, var(--brasa-oscuro), transparent 70%);
  opacity: 0.25;
}
.bg-noise {
  position: fixed; inset: 0; z-index: -1;
  opacity: 0.04; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* =========================================================
   HEADER
   ========================================================= */
.site-header {
  position: sticky; top: 0; z-index: 100;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background: rgba(10, 14, 20, 0.75);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 0; gap: 24px;
}
.logo {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: 22px;
  letter-spacing: -0.03em;
  display: inline-flex; align-items: center; gap: 0;
}
.logo__koo { color: var(--text); }
.logo__gan {
  background: linear-gradient(180deg, var(--azul-claro) 0%, var(--azul) 60%, var(--azul-oscuro) 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.logo--sm { font-size: 20px; }

.nav { display: flex; align-items: center; gap: 28px; }
.nav a {
  font-size: 14px; color: var(--text-mute);
  letter-spacing: -0.01em; transition: color .2s ease;
  position: relative;
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--text); }
.nav a[aria-current="page"]::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -6px;
  height: 2px; background: var(--azul); border-radius: 2px;
}
.nav__cta {
  color: var(--ink) !important;
  background: linear-gradient(135deg, var(--azul-claro), var(--azul));
  padding: 8px 18px; border-radius: 999px; font-weight: 500;
  transition: transform .2s ease, box-shadow .2s ease;
}
.nav__cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(90,144,216,.4);
}
.nav__cta::after { display: none !important; }

.menu-toggle {
  display: none; background: none; border: 0;
  padding: 10px; cursor: pointer; gap: 4px; flex-direction: column;
}
.menu-toggle span {
  display: block; width: 22px; height: 2px;
  background: var(--text); transition: all .2s ease;
}
.nav-mobile { display: none; flex-direction: column; padding: 12px 0 24px; border-top: 1px solid var(--line); }
.nav-mobile a {
  padding: 14px 24px; color: var(--text);
  border-bottom: 1px solid var(--line); font-size: 16px;
}
.nav-mobile a:last-child { border-bottom: 0; }

@media (max-width: 900px) {
  .nav { display: none; }
  .menu-toggle { display: flex; }
  .site-header.is-open .nav-mobile { display: flex; }
}

/* =========================================================
   BOTONES · comunes
   ========================================================= */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 10px; padding: 14px 26px;
  font-family: var(--f-display);
  font-size: 15px; font-weight: 500; letter-spacing: -0.01em;
  border-radius: 999px; border: 1px solid transparent;
  cursor: pointer; transition: all .2s ease;
  text-decoration: none; white-space: nowrap;
}
.btn--primary {
  background: linear-gradient(135deg, var(--brasa-claro), var(--brasa) 60%, var(--brasa-oscuro));
  color: white;
  box-shadow: 0 6px 20px rgba(232,98,61,.3);
}
.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(232,98,61,.5);
  color: white;
}
.btn--ghost {
  background: transparent; color: var(--text);
  border-color: var(--line-strong);
}
.btn--ghost:hover {
  border-color: var(--azul);
  color: var(--azul-claro);
  background: rgba(90,144,216,.08);
}
.btn--block { width: 100%; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--f-display); font-size: 12px;
  letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--text-mute); margin: 0 0 24px;
}
.dot {
  display: inline-block; width: 6px; height: 6px;
  border-radius: 50%; background: var(--azul);
  box-shadow: 0 0 12px var(--azul);
}
.dot--accent { background: var(--brasa); box-shadow: 0 0 12px var(--brasa); }
.dot--cian { background: var(--cian); box-shadow: 0 0 12px var(--cian); }

.chip {
  padding: 6px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-family: var(--f-display);
  font-size: 12px; letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-mute);
  background: rgba(19,26,36,0.5);
}
.chips { display: flex; flex-wrap: wrap; gap: 10px; }

/* =========================================================
   HOME · Portal Universo Koogan
   ========================================================= */
.portal-hero {
  padding: clamp(80px, 14vh, 160px) 0 clamp(60px, 8vh, 120px);
  text-align: center;
  position: relative;
}
.portal-hero__label {
  font-family: var(--f-display);
  font-size: 13px; letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--azul);
  margin: 0 0 24px;
}
.portal-hero__title {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: clamp(56px, 11vw, 140px);
  line-height: 0.95;
  letter-spacing: -0.04em;
  margin: 0 0 32px;
}
.portal-hero__title .universo {
  display: block;
  color: var(--text);
  font-size: 0.55em;
  font-weight: 400;
  letter-spacing: 0.02em;
  color: var(--text-mute);
  margin-bottom: 12px;
}
.portal-hero__title .koogan {
  background: linear-gradient(180deg, var(--azul-claro) 0%, var(--azul) 50%, var(--azul-oscuro) 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  display: block;
}
.portal-hero__tag {
  font-family: var(--f-serif);
  font-style: italic;
  font-size: clamp(19px, 2vw, 26px);
  color: var(--text-mute);
  max-width: 620px;
  margin: 0 auto;
  line-height: 1.5;
}
.portal-hero__tag--strong {
  display: inline-block;
  margin-top: 6px;
  color: var(--text);
  font-style: normal;
  font-family: var(--f-display);
  font-weight: 500;
  letter-spacing: -0.01em;
  font-size: 1.1em;
}

/* Grid de novelas en home */
.novels {
  padding: clamp(60px, 10vh, 100px) 0;
}
.novels__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}
@media (max-width: 900px) {
  .novels__grid { grid-template-columns: 1fr; }
}

.novel-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: clamp(28px, 4vw, 40px);
  background: linear-gradient(160deg, var(--surface) 0%, var(--surface-2) 100%);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-xl);
  transition: transform .4s cubic-bezier(.16,1,.3,1), border-color .3s ease;
  overflow: hidden;
  min-height: 460px;
}
.novel-card:hover {
  transform: translateY(-4px);
  border-color: var(--azul);
}
.novel-card--soon {
  border-style: dashed;
  opacity: 0.98;
}
.novel-card__status {
  font-family: var(--f-display);
  font-size: 11px; letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--brasa-claro);
  margin: 0 0 20px;
}
.novel-card--soon .novel-card__status { color: var(--cian); }
.novel-card__title {
  font-family: var(--f-serif);
  font-weight: 400;
  font-size: clamp(36px, 5vw, 54px);
  letter-spacing: -0.02em;
  margin: 0 0 8px;
}
.novel-card__title em {
  color: var(--brasa-claro);
  font-style: italic;
}
.novel-card__meta {
  font-family: var(--f-serif);
  font-style: italic;
  color: var(--text-mute);
  margin: 0 0 24px;
}
.novel-card__desc {
  color: var(--text-mute);
  margin: 0 0 28px;
  flex: 1;
}
.novel-card__actions {
  display: flex; gap: 12px; flex-wrap: wrap;
  margin-top: auto;
}
.novel-card__decor {
  position: absolute;
  right: -60px; top: -60px;
  width: 220px; height: 220px;
  background: radial-gradient(circle, rgba(232,98,61,.15), transparent 70%);
  pointer-events: none;
}
.novel-card--soon .novel-card__decor {
  background: radial-gradient(circle, rgba(77,211,255,.1), transparent 70%);
}

/* Sección "Sobre el universo" en home */
.about-strip {
  padding: clamp(60px, 10vh, 100px) 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  text-align: center;
}
.about-strip p {
  font-family: var(--f-serif);
  font-size: clamp(20px, 2.2vw, 28px);
  line-height: 1.5;
  color: var(--text);
  max-width: 780px;
  margin: 0 auto 24px;
  font-style: italic;
}
.about-strip .btn {
  margin-top: 16px;
}

/* =========================================================
   NEWSLETTER · componente reutilizable
   ========================================================= */
.newsletter {
  padding: clamp(60px, 10vh, 100px) 0;
  background: linear-gradient(180deg, transparent, rgba(19,26,36,0.5), transparent);
}
.newsletter__inner {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}
.newsletter h2 {
  font-family: var(--f-serif);
  font-weight: 400;
  font-size: clamp(30px, 4vw, 44px);
  letter-spacing: -0.02em;
  margin: 0 0 16px;
}
.newsletter__promise {
  color: var(--text-mute);
  margin: 0 0 28px;
  font-size: 16px;
  line-height: 1.6;
}
.newsletter__promise strong { color: var(--text); }
.newsletter-form {
  display: flex;
  gap: 8px;
  max-width: 480px;
  margin: 0 auto 16px;
}
.newsletter-form input[type="email"] {
  flex: 1;
  padding: 14px 18px;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  color: var(--text);
  font-family: var(--f-body);
  font-size: 15px;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.newsletter-form input[type="email"]:focus {
  outline: 0;
  border-color: var(--azul);
  box-shadow: 0 0 0 3px rgba(90,144,216,.15);
}
.newsletter-form .btn { flex-shrink: 0; }
@media (max-width: 600px) {
  .newsletter-form { flex-direction: column; }
  .newsletter-form .btn { width: 100%; }
}
.newsletter__consent {
  font-size: 13px;
  color: var(--text-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 0;
}
.newsletter__consent input { accent-color: var(--azul); }
.newsletter__consent a { color: var(--azul-claro); text-decoration: underline; }

/* =========================================================
   HERO NOVELA · Código Ceniza
   ========================================================= */
.hero {
  position: relative;
  padding: clamp(60px, 10vh, 120px) 0 clamp(80px, 12vh, 140px);
  overflow: hidden;
}
.hero__inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(40px, 6vw, 100px);
  align-items: center;
}
@media (max-width: 900px) {
  .hero__inner { grid-template-columns: 1fr; gap: 60px; }
}
.hero__title {
  font-family: var(--f-serif);
  font-weight: 400;
  font-size: clamp(56px, 10vw, 128px);
  line-height: 0.95;
  letter-spacing: -0.03em;
  margin: 0 0 32px;
}
.title-serif { display: block; color: var(--text); }
.title-serif--em {
  font-style: italic;
  background: linear-gradient(135deg, var(--brasa-claro), var(--brasa), var(--brasa-oscuro));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.hero__lead {
  font-size: clamp(17px, 1.6vw, 20px);
  line-height: 1.55;
  color: var(--text-mute);
  margin: 0 0 40px;
  max-width: 540px;
}
.hero__lead em { color: var(--brasa-claro); font-style: italic; }
.hero__actions {
  display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 24px;
}
.hero__meta {
  font-size: 13px; color: var(--text-dim); letter-spacing: 0.02em;
}

/* Escena 3D del libro */
.hero__scene {
  perspective: 1600px; perspective-origin: 50% 40%;
  position: relative; min-height: 500px;
  display: flex; align-items: center; justify-content: center;
}
.book {
  position: relative;
  width: 280px; height: 420px;
  transform-style: preserve-3d;
  transform: rotateX(6deg) rotateY(-25deg);
  transition: transform .4s cubic-bezier(.16,1,.3,1);
  will-change: transform;
}
.book::after {
  content: ""; position: absolute;
  left: 8%; right: 8%; bottom: -20px; height: 30px;
  background: radial-gradient(ellipse, rgba(0,0,0,0.7), transparent 70%);
  filter: blur(20px);
  transform: translateZ(-40px);
  pointer-events: none;
}
@media (max-width: 600px) {
  .book { width: 220px; height: 330px; }
}
.book__cover, .book__back, .book__spine, .book__pages {
  position: absolute;
  border-radius: 4px 8px 8px 4px;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}
.book__cover {
  inset: 0;
  transform: translateZ(20px);
  overflow: hidden;
  background: linear-gradient(160deg, #263042 0%, #131a24 60%, #0a0e14 100%);
  box-shadow:
    inset -6px 0 12px rgba(0,0,0,.5),
    inset 2px 0 6px rgba(255,255,255,.08),
    0 20px 40px rgba(0,0,0,.6);
  border: 1px solid rgba(90,144,216,0.2);
}
.book__cover img { width: 100%; height: 100%; object-fit: cover; }
.book__cover-fallback {
  position: absolute; inset: 0; display: none;
  flex-direction: column; align-items: center; justify-content: center;
  padding: 34px 24px; text-align: center;
  background:
    radial-gradient(ellipse at 50% 20%, rgba(232,98,61,.35), transparent 60%),
    radial-gradient(ellipse at 50% 90%, rgba(90,144,216,.15), transparent 60%),
    linear-gradient(180deg, #1a2230 0%, #0a0e14 100%);
}
.book__cover--empty .book__cover-fallback { display: flex; }
.book__cover-mini {
  font-family: var(--f-display); font-size: 10px;
  letter-spacing: 0.25em; text-transform: uppercase;
  color: var(--azul-claro); opacity: 0.8; margin-bottom: 24px;
}
.book__cover-title {
  font-family: var(--f-display);
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 700; letter-spacing: 0.02em; line-height: 1;
  color: var(--text);
  text-shadow: 0 0 24px rgba(232,98,61,.55);
  display: block;
}
.book__cover-title--em {
  color: var(--brasa-claro);
  font-style: italic;
  font-family: var(--f-serif);
  font-weight: 400;
  font-size: clamp(28px, 3.5vw, 40px);
  margin-top: 4px;
}
.book__cover-line {
  display: block; width: 40px; height: 1px;
  background: var(--brasa); margin: 22px auto; opacity: 0.6;
}
.book__cover-author {
  font-family: var(--f-serif); font-style: italic;
  font-size: 13px; color: var(--text-mute); letter-spacing: 0.03em;
}
.book__back {
  inset: 0; transform: translateZ(-20px);
  background: linear-gradient(160deg, #0f141c, #050709);
  box-shadow: inset 6px 0 12px rgba(0,0,0,.6);
}
.book__spine {
  left: 0; top: 0; width: 40px; height: 100%;
  transform: rotateY(-90deg) translateZ(20px);
  transform-origin: left center;
  background: linear-gradient(90deg, #0a0e14, #1a2230, #0a0e14);
  border-radius: 4px 0 0 4px;
}
.book__pages {
  right: 0; top: 4px; bottom: 4px; width: 40px;
  transform: rotateY(90deg) translateZ(20px);
  transform-origin: right center;
  background: repeating-linear-gradient(90deg, #e8ecf1 0px, #d5dce6 1px, #e8ecf1 2px);
  border-radius: 0 4px 4px 0;
}
.scanline {
  position: absolute; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--cian), transparent);
  opacity: 0.6;
  animation: scan 4s linear infinite;
  pointer-events: none;
  box-shadow: 0 0 20px var(--cian);
}
@keyframes scan {
  0%   { top: 0%;   opacity: 0; }
  10%  { opacity: 0.8; }
  90%  { opacity: 0.8; }
  100% { top: 100%; opacity: 0; }
}

/* =========================================================
   QUOTE BAND / MANIFESTO
   ========================================================= */
.quote-band {
  padding: clamp(50px, 8vh, 100px) 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(19,26,36,0.3), transparent);
  text-align: center;
}
.pull-quote { margin: 0 0 20px; padding: 0; }
.pull-quote p {
  font-family: var(--f-serif);
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1.25; font-weight: 400;
  color: var(--text);
  max-width: 900px; margin: 0 auto;
  letter-spacing: -0.02em;
}
.pull-quote em { font-style: italic; color: var(--brasa-claro); }
.quote-band__tag {
  font-family: var(--f-display);
  font-size: 13px; letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--azul);
  margin: 0;
}

/* =========================================================
   SECCIONES GENÉRICAS
   ========================================================= */
.section { padding: clamp(70px, 10vh, 130px) 0; position: relative; }
.section--tight { padding: clamp(50px, 6vh, 80px) 0; }
.section--dark {
  background: linear-gradient(180deg, transparent, rgba(19,26,36,0.4), transparent);
}
.section__grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(40px, 6vw, 100px);
  align-items: start;
}
.section__grid--flip { grid-template-columns: 1.2fr 1fr; }
@media (max-width: 900px) {
  .section__grid, .section__grid--flip {
    grid-template-columns: 1fr; gap: 40px;
  }
}
.section__head { position: sticky; top: 100px; }
.section__head--center {
  text-align: center; max-width: 700px;
  margin: 0 auto 50px; position: static;
}
@media (max-width: 900px) {
  .section__head { position: static; }
}
.section__title {
  font-family: var(--f-serif);
  font-size: clamp(32px, 4.5vw, 56px);
  line-height: 1.05; letter-spacing: -0.02em;
  font-weight: 400; margin: 0 0 24px;
}
.section__title em {
  font-style: italic;
  background: linear-gradient(135deg, var(--brasa-claro), var(--brasa));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.lead {
  font-size: clamp(17px, 1.4vw, 19px);
  line-height: 1.6; color: var(--text-mute);
  margin: 0 0 24px;
}
.section__body p { margin: 0 0 20px; color: var(--text-mute); }
.section__body p strong { color: var(--text); font-weight: 600; }
.section__actions {
  display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px;
}

/* =========================================================
   FORMULARIO CAPÍTULOS GRATIS
   ========================================================= */
.form {
  background: linear-gradient(180deg, var(--surface), var(--surface-2));
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(24px, 4vw, 40px);
  box-shadow: var(--sh-2);
}
.form__field { display: block; margin-bottom: 18px; }
.form__field > span {
  display: block; font-family: var(--f-display);
  font-size: 12px; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--text-mute);
  margin-bottom: 8px;
}
.form__field input {
  width: 100%; padding: 12px 16px;
  background: var(--ink); border: 1px solid var(--line-strong);
  border-radius: var(--r-sm); color: var(--text);
  font-family: var(--f-body); font-size: 15px;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.form__field input:focus {
  outline: 0; border-color: var(--azul);
  box-shadow: 0 0 0 3px rgba(90,144,216,.15);
}
.form__check {
  display: flex; align-items: flex-start; gap: 10px;
  margin: 14px 0; font-size: 14px; color: var(--text-mute); cursor: pointer;
}
.form__check input { margin-top: 3px; accent-color: var(--azul); }
.form__check a { color: var(--azul-claro); text-decoration: underline; }
.form__note {
  margin: 16px 0 0; font-size: 12px;
  color: var(--text-dim); text-align: center;
}

/* =========================================================
   BUY CARD
   ========================================================= */
.buy-card {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: clamp(30px, 5vw, 60px);
  align-items: center;
  padding: clamp(30px, 5vw, 60px);
  background: linear-gradient(135deg, var(--surface), var(--surface-2));
  border: 1px solid var(--line-strong);
  border-radius: var(--r-xl);
  box-shadow: var(--sh-2), 0 0 100px rgba(232,98,61,.08);
  transform-style: preserve-3d;
  transition: transform .4s cubic-bezier(.16,1,.3,1);
  position: relative; overflow: hidden;
}
.buy-card::before {
  content: ""; position: absolute;
  top: 0; right: 0; width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(232,98,61,.15), transparent 70%);
  pointer-events: none;
}
@media (max-width: 700px) {
  .buy-card { grid-template-columns: 1fr; text-align: center; }
}
.buy-card__title {
  font-family: var(--f-serif);
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 400; letter-spacing: -0.02em;
  margin: 12px 0 4px;
}
.buy-card__author {
  color: var(--text-mute); font-style: italic;
  font-family: var(--f-serif); margin: 0 0 24px;
}
.buy-card__list {
  list-style: none; padding: 0; margin: 0;
  display: grid; gap: 8px;
}
.buy-card__list li {
  color: var(--text-mute); font-size: 15px;
  padding-left: 24px; position: relative;
}
.buy-card__list li::before {
  content: ""; position: absolute;
  left: 0; top: 10px; width: 8px; height: 8px;
  background: var(--brasa); border-radius: 50%;
  box-shadow: 0 0 8px var(--brasa);
}
.buy-card__list em {
  color: var(--text); font-style: italic; font-family: var(--f-serif);
}
.buy-card__cta { text-align: center; }
.buy-card__price {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: clamp(56px, 8vw, 96px);
  line-height: 1; margin: 0 0 20px;
  background: linear-gradient(135deg, var(--brasa-claro), var(--brasa));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  letter-spacing: -0.04em;
}
.buy-card__price sup {
  font-size: 0.4em; font-weight: 500;
  color: var(--text-mute);
  -webkit-text-fill-color: var(--text-mute);
  vertical-align: super; margin-left: 4px;
}
.buy-card__note {
  margin: 20px 0 0; font-size: 13px;
  color: var(--text-mute); line-height: 1.5;
}
.buy-card__note strong { color: var(--text); }

/* Opciones de compra dinámicas (dentro de .buy-card__cta) */
.buy-options {
  display: flex; flex-direction: column; gap: 10px;
  margin-bottom: 16px;
}
.buy-option {
  display: flex; flex-direction: column;
  padding: 14px 22px;
  background: rgba(10,14,20,0.4);
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  text-align: center;
  transition: all .2s ease;
}
.buy-option:hover {
  border-color: var(--azul);
  color: var(--text);
  background: rgba(90,144,216,.08);
  transform: translateY(-1px);
}
.buy-option--primary {
  background: linear-gradient(135deg, var(--brasa-claro), var(--brasa) 60%, var(--brasa-oscuro));
  border-color: transparent;
  color: white;
  box-shadow: 0 6px 20px rgba(232,98,61,.3);
}
.buy-option--primary:hover {
  color: white;
  box-shadow: 0 10px 30px rgba(232,98,61,.5);
  background: linear-gradient(135deg, var(--brasa-claro), var(--brasa) 60%, var(--brasa-oscuro));
}
.buy-option__label {
  font-family: var(--f-display);
  font-weight: 500; font-size: 15px;
}
.buy-option__note {
  font-size: 11px; opacity: 0.75; margin-top: 2px;
  letter-spacing: 0.03em;
}

/* Estado vacío (ninguna pasarela activa aún) */
.buy-empty {
  padding: 20px; text-align: center;
  border: 1px dashed var(--line-strong);
  border-radius: var(--r-md);
}
.buy-empty__title {
  font-family: var(--f-display);
  font-size: 15px; color: var(--text);
  margin: 0 0 12px;
}
.buy-empty__note {
  color: var(--text-mute); font-size: 14px;
  margin: 0 0 20px; line-height: 1.5;
}

/* =========================================================
   AUTORA
   ========================================================= */
.author {
  display: grid; grid-template-columns: 280px 1fr;
  gap: 40px; align-items: start;
}
@media (max-width: 700px) { .author { grid-template-columns: 1fr; } }
.author__portrait {
  position: relative; margin: 0;
  border-radius: var(--r-lg); overflow: hidden;
  aspect-ratio: 3/4; background: var(--surface);
  border: 1px solid var(--line-strong);
  box-shadow: var(--sh-2);
}
.author__portrait img { width: 100%; height: 100%; object-fit: cover; }
.author__portrait--empty::before {
  content: "assets/images/autora.jpg";
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  color: var(--text-dim); font-family: var(--f-display);
  font-size: 13px; letter-spacing: 0.05em;
  padding: 20px; text-align: center;
  background: repeating-linear-gradient(45deg,
    rgba(90,144,216,0.05) 0px, rgba(90,144,216,0.05) 10px,
    transparent 10px, transparent 20px);
}
.author__portrait figcaption {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 20px;
  background: linear-gradient(0deg, rgba(10,14,20,0.9), transparent);
  font-family: var(--f-serif); font-style: italic;
  color: var(--text);
}
.author__text p { margin-bottom: 20px; }
.author__text em {
  font-family: var(--f-serif); font-style: italic;
  color: var(--text); font-size: 1.02em;
}

/* =========================================================
   RESEÑAS (formato editorial)
   ========================================================= */
.reviews {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 40px;
}
.review {
  margin: 0; padding: 0;
  border-left: 2px solid var(--brasa);
  padding-left: 28px;
}
.review p {
  font-family: var(--f-serif);
  font-size: clamp(19px, 1.7vw, 22px);
  line-height: 1.5; color: var(--text);
  margin: 0 0 16px; font-style: italic;
  font-weight: 400;
}
.review cite {
  font-family: var(--f-display);
  font-size: 12px; letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-mute); font-style: normal;
}

/* =========================================================
   VIDEO
   ========================================================= */
.video-frame {
  position: relative;
  max-width: 900px; margin: 0 auto;
  aspect-ratio: 16/9;
  border-radius: var(--r-lg); overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  box-shadow: var(--sh-2), 0 0 80px rgba(90,144,216,.1);
}
.video-frame video, .video-frame iframe {
  width: 100%; height: 100%; border: 0; display: block;
  position: relative; z-index: 1;
}
.video-frame::before {
  content: "Coloca aquí tu tráiler · assets/images/trailer.mp4";
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  color: var(--text-dim); font-family: var(--f-display);
  font-size: 14px; letter-spacing: 0.05em;
  background:
    repeating-linear-gradient(45deg,
      rgba(90,144,216,0.03) 0px, rgba(90,144,216,0.03) 10px,
      transparent 10px, transparent 20px),
    var(--surface);
  z-index: 0;
}
.video-caption {
  text-align: center; color: var(--text-mute);
  font-size: 15px; margin: 24px auto 0;
  max-width: 700px;
}

/* =========================================================
   SEMINARIO · Página "Próximamente"
   ========================================================= */
.soon-hero {
  padding: clamp(60px, 10vh, 120px) 0 clamp(80px, 12vh, 140px);
  text-align: center;
}
.soon-hero__label {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 20px;
  border: 1px solid var(--cian);
  border-radius: 999px;
  font-family: var(--f-display);
  font-size: 12px; letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cian);
  margin: 0 0 40px;
  background: rgba(77,211,255,0.05);
}
.soon-hero__label .pulse {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--cian);
  box-shadow: 0 0 12px var(--cian);
  animation: pulse 2s ease infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}
.soon-hero__title {
  font-family: var(--f-serif);
  font-weight: 400;
  font-size: clamp(64px, 12vw, 160px);
  line-height: 0.95;
  letter-spacing: -0.03em;
  margin: 0 0 30px;
  color: var(--text);
}
.soon-hero__title em {
  font-style: italic;
  background: linear-gradient(135deg, var(--cian), var(--azul));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.soon-hero__synopsis {
  max-width: 720px; margin: 0 auto 50px;
  font-family: var(--f-serif);
  font-size: clamp(19px, 2.1vw, 24px);
  line-height: 1.6;
  color: var(--text);
  text-align: left;
}
.soon-hero__synopsis p { margin: 0 0 24px; }
.soon-hero__synopsis p:last-child { margin-bottom: 0; }
.soon-hero__synopsis em { color: var(--cian); font-style: italic; }

.soon-hero__actions {
  display: flex; flex-wrap: wrap; gap: 14px;
  justify-content: center;
}

/* Placeholder de portada Seminario */
.soon-poster {
  max-width: 340px;
  margin: 0 auto 60px;
  aspect-ratio: 2/3;
  border: 2px dashed var(--line-strong);
  border-radius: var(--r-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px;
  text-align: center;
  color: var(--text-dim);
  font-family: var(--f-display);
  font-size: 13px;
  letter-spacing: 0.05em;
  background:
    linear-gradient(135deg, rgba(77,211,255,0.03), rgba(90,144,216,0.03)),
    var(--surface);
  position: relative;
  overflow: hidden;
}
.soon-poster img {
  width: 100%; height: 100%;
  object-fit: cover;
  position: absolute; inset: 0;
}
.soon-poster:has(img) { border-style: solid; padding: 0; }

.soon-universe {
  padding: clamp(60px, 10vh, 100px) 0;
  border-top: 1px solid var(--line);
  text-align: center;
}
.soon-universe h2 {
  font-family: var(--f-serif); font-weight: 400;
  font-size: clamp(28px, 3.5vw, 42px);
  margin: 0 0 24px;
}
.soon-universe p {
  max-width: 640px; margin: 0 auto 16px;
  color: var(--text-mute); font-size: 17px; line-height: 1.7;
}

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 60px 0 40px;
  margin-top: 60px;
  background: linear-gradient(180deg, transparent, rgba(19,26,36,0.5));
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 40px;
}
@media (max-width: 700px) {
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-col--brand { grid-column: 1 / -1; }
}
.footer-col h4 {
  font-family: var(--f-display);
  font-size: 12px; letter-spacing: 0.15em;
  text-transform: uppercase; color: var(--text);
  margin: 0 0 16px;
}
.footer-col ul {
  list-style: none; padding: 0; margin: 0;
  display: grid; gap: 10px;
}
.footer-col a {
  color: var(--text-mute); font-size: 14px;
  transition: color .2s ease;
}
.footer-col a:hover { color: var(--azul-claro); }
.footer-tag {
  color: var(--text-mute); font-family: var(--f-serif);
  font-style: italic; margin: 8px 0 4px; font-size: 15px;
}
.footer-mini {
  color: var(--text-dim); font-size: 12px; margin: 12px 0 0;
}

/* =========================================================
   PÁGINAS LEGALES
   ========================================================= */
.legal-page { padding: 60px 0 100px; }
.legal-page h1 {
  font-family: var(--f-serif); font-weight: 400;
  font-size: clamp(36px, 5vw, 56px);
  margin: 0 0 40px; letter-spacing: -0.02em;
}
.legal-page h2 {
  font-family: var(--f-display); font-size: 22px;
  margin: 60px 0 20px; padding-top: 20px;
  border-top: 1px solid var(--line); color: var(--text);
}
.legal-page h2:first-of-type { border-top: 0; padding-top: 0; }
.legal-page h3 {
  font-family: var(--f-display); font-size: 16px;
  margin: 24px 0 12px; color: var(--azul-claro);
}
.legal-page p, .legal-page li {
  color: var(--text-mute); line-height: 1.7; margin: 0 0 16px;
}
.legal-page ul, .legal-page ol { padding-left: 20px; margin: 0 0 20px; }
.legal-page a { color: var(--azul-claro); text-decoration: underline; }
.legal-page code {
  background: var(--surface); padding: 2px 6px;
  border-radius: 4px; font-size: 0.9em; color: var(--brasa-claro);
}
.legal-toc {
  padding: 24px; background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md); margin-bottom: 40px;
}
.legal-toc h2 {
  border: 0 !important; margin: 0 0 16px !important;
  padding: 0 !important; font-size: 14px !important;
  letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--text-mute);
}
.legal-toc ul { list-style: none; padding: 0; margin: 0; }
.legal-toc li { margin-bottom: 8px; }

.back-home {
  display: inline-flex; align-items: center; gap: 8px;
  margin-bottom: 40px;
  color: var(--text-mute);
  font-family: var(--f-display);
  font-size: 14px;
}
.back-home:hover { color: var(--azul-claro); }

/* Bloque de aviso amarillo para placeholders (visible en modo edición) */
.placeholder-warning {
  background: rgba(244,168,64,0.1);
  border: 1px solid rgba(244,168,64,0.3);
  border-radius: var(--r-sm);
  padding: 12px 16px;
  margin: 20px 0;
  color: var(--oro);
  font-size: 13px;
  line-height: 1.5;
}
.placeholder-warning strong { color: var(--oro); }
