/* ============================================================        CSS CUSTOM PROPERTIES ��� DESIGN TOKENS        ============================================================ */
:root {
  --gold-light: #e8c97a;
  --gold: #c9a94b;
  --gold-dark: #8b6914;
  --parchment: #f5ecd7;
  --parchment-2: #ede0c4;
  --ink: #0d0b08;
  --ink-2: #1a1710;
  --charcoal: #2a2620;
  --smoke: #3d3830;
  --cream: #faf6ee;
  --text-body: #2c2820;
  --text-muted: #6b6050;
  --border: rgba(201, 169, 75, 0.3);
  --border-strong: rgba(201, 169, 75, 0.7);
  --glow: rgba(201, 169, 75, 0.15);
  --ff-title: "Cinzel", serif;
  --ff-display: "Cormorant Garamond", serif;
  --ff-body: "Lato", sans-serif;
  --transition: cubic-bezier(0.4, 0, 0.2, 1);
}

/* ============================================================
   ACCESIBILIDAD Y PREFERENCIAS
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

/* ============================================================        RESET & BASE        ============================================================ */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
  font-size: 16px;
}
body {
  font-family: var(--ff-body);
  background: var(--ink);
  color: var(--parchment);
  overflow-x: hidden;
  cursor: default;
}
img {
  max-width: 100%;
  display: block;
}
a {
  text-decoration: none;
  color: inherit;
} /* ============================================================        UTILITY CLASSES        ============================================================ */
.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 1.5rem;
}
.nav .container {
  max-width: 1400px;
}
.section-tag {
  font-family: var(--ff-body);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}
.divider {
  width: 60px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  margin: 1.5rem auto;
}
.reveal {
  opacity: 1;
  transform: translateY(0);
  transition:
    opacity 0.8s var(--transition),
    transform 0.8s var(--transition);
}
.js-loaded .reveal {
  opacity: 0;
  transform: translateY(28px);
}
.js-loaded .reveal.visible {
  opacity: 1;
  transform: translateY(0);
} /* ============================================================        STICKY NAV        ============================================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1rem 0;
  transition:
    background 0.4s,
    backdrop-filter 0.4s,
    box-shadow 0.4s;
}
.nav.scrolled {
  background: rgba(13, 11, 8, 0.92);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--border);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  column-gap: 1rem;
}
.nav-logo {
  font-family: var(--ff-title);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  color: var(--gold-light);
  text-transform: uppercase;
}
.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}
.nav-links a {
  font-family: var(--ff-body);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--parchment-2);
  transition: color 0.2s;
}
.nav-links a:hover {
  color: var(--gold-light);
}
.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1.25rem;
  border: 1px solid var(--gold);
  font-family: var(--ff-body);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-light);
  transition: all 0.3s;
  cursor: pointer;
  background: transparent;
}
.nav-cta:hover {
  background: var(--gold);
  color: var(--ink);
}
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  margin-right: 0.75rem;
}
.nav-hamburger span {
  display: block;
  width: 24px;
  height: 1px;
  background: var(--gold-light);
  transition: all 0.3s;
}
/* El nav tiene su propio ancho máximo (ver ".nav .container" abajo),
   más generoso que el del resto del sitio (1140px), porque en español
   "Adaptación audiovisual" y "Comprar ahora" no entran en una sola
   línea junto al resto de los links + selector de idioma + CTA dentro
   de ese ancho. Aun con ese margen extra, por debajo de este breakpoint
   no alcanza el espacio y el nav pasa a modo hamburguesa. */
@media (max-width: 1400px) {
  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(13, 11, 8, 0.97);
    padding: 1.5rem;
    gap: 1.2rem;
    border-bottom: 1px solid rgba(201, 169, 75, 0.2);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }
  .nav-links.mobile-open {
    display: flex;
    max-height: 500px;
  }
  .nav-hamburger {
    display: flex;
  }
  .lang-switch {
    order: -1;
    margin-right: auto;
    margin-left: 1rem;
  }
}
/* Por debajo de este ancho "Comprar ahora" (más largo que "Buy now")
   sumado al logo y al selector de idioma puede no entrar en una sola
   línea y empuja la hamburguesa contra el borde de pantalla (o la
   saca del viewport, que tiene overflow-x: hidden). Se compacta todo
   el cluster para que siempre quede aire de sobra a ambos lados. */
@media (max-width: 600px) {
  .nav-inner {
    column-gap: 0.5rem;
  }
  .nav-logo {
    font-size: 0.62rem;
    letter-spacing: 0.1em;
  }
  .nav-cta {
    padding: 0.4rem 0.85rem;
    font-size: 0.62rem;
    letter-spacing: 0.1em;
  }
  .lang-switch {
    margin-left: 0.5rem;
  }
} /* ============================================================        HERO        ============================================================ */
.hero {
  min-height: 100vh;
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
  padding: 7rem 0 4rem;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      ellipse 80% 60% at 50% 100%,
      rgba(201, 169, 75, 0.12) 0%,
      transparent 70%
    ),
    radial-gradient(
      ellipse 60% 80% at 10% 50%,
      rgba(139, 105, 20, 0.08) 0%,
      transparent 60%
    ),
    linear-gradient(180deg, #0d0b08 0%, #1a1710 50%, #0d0b08 100%);
} /* Ornamental corner decorations */
.hero-bg::before,
.hero-bg::after {
  content: "";
  position: absolute;
  width: 300px;
  height: 300px;
  border: 1px solid rgba(201, 169, 75, 0.1);
  pointer-events: none;
}
.hero-bg::before {
  top: 6rem;
  left: 2rem;
  border-radius: 0;
  transform: rotate(45deg);
}
.hero-bg::after {
  bottom: 2rem;
  right: 2rem;
  border-radius: 0;
  transform: rotate(45deg);
} /* Grain overlay */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 1;
}
.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.hero-text {
}
.hero-pretitle {
  font-family: var(--ff-body);
  font-size: 0.65rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}
.hero-pretitle::before {
  content: "";
  display: inline-block;
  width: 32px;
  height: 1px;
  background: var(--gold);
}
.hero-title {
  font-family: var(--ff-title);
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  font-weight: 700;
  line-height: 1.05;
  color: var(--parchment);
  margin-bottom: 1rem;
  letter-spacing: 0.02em;
}
.hero-title em {
  font-style: italic;
  color: var(--gold-light);
  font-family: var(--ff-display);
  font-size: 1.1em;
  display: block;
}
.hero-subtitle-main {
  font-family: var(--ff-display);
  font-size: clamp(1rem, 2vw, 1.35rem);
  font-weight: 300;
  font-style: italic;
  color: var(--parchment-2);
  margin-bottom: 2rem;
  line-height: 1.5;
  opacity: 0.85;
}
.hero-tagline {
  font-family: var(--ff-body);
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 2.5rem;
  max-width: 480px;
}
.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.9rem 2rem;
  background: linear-gradient(
    135deg,
    var(--gold) 0%,
    var(--gold-light) 50%,
    var(--gold) 100%
  );
  background-size: 200% 100%;
  color: var(--ink);
  font-family: var(--ff-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition:
    background-position 0.4s,
    transform 0.2s,
    box-shadow 0.3s;
  box-shadow: 0 4px 20px rgba(201, 169, 75, 0.3);
}
.btn-primary:hover {
  background-position: right center;
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(201, 169, 75, 0.45);
}
.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.9rem 2rem;
  background: transparent;
  color: var(--gold-light);
  font-family: var(--ff-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  border: 1px solid var(--border-strong);
  cursor: pointer;
  transition: all 0.3s;
}
.btn-secondary:hover {
  background: rgba(201, 169, 75, 0.08);
  border-color: var(--gold-light);
}
.hero-book {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}
.hero-book-wrap {
  position: relative;
  filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.7))
    drop-shadow(0 0 40px rgba(201, 169, 75, 0.2));
  animation: float 6s ease-in-out infinite;
  max-width: 320px;
}
@keyframes float {
  0%,
  100% {
    transform: translateY(0px) rotate(-1deg);
  }
  50% {
    transform: translateY(-14px) rotate(1deg);
  }
}
.hero-book-wrap img {
  border-radius: 2px;
  width: 100%;
}
.hero-book-glow {
  position: absolute;
  bottom: -30px;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 60px;
  background: radial-gradient(
    ellipse,
    rgba(201, 169, 75, 0.4) 0%,
    transparent 70%
  );
  filter: blur(16px);
  animation: float 6s ease-in-out infinite;
}
.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-muted);
  font-family: var(--ff-body);
  font-size: 0.6rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  animation: fadeInUp 1s 1.5s both;
}
.hero-scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(180deg, var(--gold) 0%, transparent 100%);
  animation: scrollLine 2s ease-in-out infinite;
}
@keyframes scrollLine {
  0%,
  100% {
    opacity: 0.3;
    height: 40px;
  }
  50% {
    opacity: 1;
    height: 60px;
  }
}
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translate(-50%, 16px);
  }
  to {
    opacity: 1;
    transform: translate(-50%, 0);
  }
} /* ============================================================        STATS BAR        ============================================================ */
.stats-bar {
  padding: 2rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: rgba(201, 169, 75, 0.03);
}
.stats-inner {
  display: flex;
  justify-content: center;
  gap: 4rem;
  flex-wrap: wrap;
}
.stat {
  text-align: center;
}
.stat-number {
  font-family: var(--ff-title);
  font-size: 1.8rem;
  color: var(--gold-light);
  line-height: 1;
}
.stat-label {
  font-family: var(--ff-body);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 0.3rem;
} /* ============================================================        SINOPSIS        ============================================================ */
.synopsis {
  padding: 7rem 0;
  position: relative;
  background: linear-gradient(
    180deg,
    var(--ink) 0%,
    var(--ink-2) 50%,
    var(--ink) 100%
  );
}
.synopsis-inner {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 5rem;
  align-items: start;
}
.synopsis-label {
  position: sticky;
  top: 7rem;
}
.synopsis-label-line {
  width: 1px;
  height: 80px;
  background: linear-gradient(180deg, var(--gold) 0%, transparent 100%);
  margin-bottom: 1rem;
}
.synopsis-number {
  font-family: var(--ff-title);
  font-size: 4rem;
  color: rgba(201, 169, 75, 0.1);
  line-height: 1;
}
.synopsis-text h2 {
  font-family: var(--ff-title);
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 600;
  color: var(--parchment);
  margin-bottom: 1.5rem;
  line-height: 1.2;
}
.synopsis-text p {
  font-family: var(--ff-display);
  font-size: 1.2rem;
  line-height: 1.85;
  color: var(--parchment-2);
  opacity: 0.88;
  margin-bottom: 1.5rem;
  font-weight: 300;
}
.synopsis-text p strong {
  color: var(--gold-light);
  font-weight: 600;
}
.synopsis-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  border: 1px solid var(--border);
  font-family: var(--ff-body);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-right: 0.5rem;
  margin-top: 1rem;
} /* ============================================================        POR QU+� LEER        ============================================================ */
.why {
  padding: 7rem 0;
  position: relative;
  background: var(--ink-2);
}
.why::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse 70% 50% at 50% 0%,
    rgba(201, 169, 75, 0.06) 0%,
    transparent 70%
  );
}
.why-header {
  text-align: center;
  margin-bottom: 4rem;
}
.why-header h2 {
  font-family: var(--ff-title);
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  color: var(--parchment);
  margin-bottom: 1rem;
}
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.why-card {
  padding: 2.5rem 2rem;
  border: 1px solid var(--border);
  background: rgba(13, 11, 8, 0.6);
  position: relative;
  overflow: hidden;
  transition:
    border-color 0.3s,
    transform 0.3s,
    box-shadow 0.3s;
  cursor: default;
}
.why-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}
.why-card:hover {
  border-color: var(--border-strong);
  transform: translateY(-4px);
  box-shadow:
    0 16px 40px rgba(0, 0, 0, 0.4),
    0 0 0 0 rgba(201, 169, 75, 0);
}
.why-card:hover::before {
  opacity: 1;
}
.why-icon {
  font-size: 2rem;
  margin-bottom: 1.2rem;
  display: block;
}
.why-card h3 {
  font-family: var(--ff-title);
  font-size: 1rem;
  font-weight: 600;
  color: var(--gold-light);
  margin-bottom: 0.8rem;
  letter-spacing: 0.05em;
}
.why-card p {
  font-family: var(--ff-body);
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--text-muted);
}
.why-card-number {
  position: absolute;
  bottom: 1rem;
  right: 1.5rem;
  font-family: var(--ff-title);
  font-size: 3rem;
  color: rgba(201, 169, 75, 0.06);
  line-height: 1;
} /* ============================================================        FRAGMENTO        ============================================================ */
.excerpt {
  padding: 7rem 0;
  background: var(--ink);
  position: relative;
  overflow: hidden;
}
.excerpt::before {
  content: '"';
  position: absolute;
  top: 2rem;
  left: 2rem;
  font-family: var(--ff-display);
  font-size: 20rem;
  color: rgba(201, 169, 75, 0.04);
  line-height: 1;
  pointer-events: none;
}
.excerpt-inner {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
}
.excerpt-inner blockquote {
  font-family: var(--ff-display);
  font-size: clamp(1.15rem, 2.5vw, 1.55rem);
  font-style: italic;
  line-height: 1.85;
  color: var(--parchment);
  font-weight: 300;
  margin-bottom: 2rem;
}
.excerpt-inner blockquote em {
  color: var(--gold-light);
  font-style: normal;
}
.excerpt-source {
  font-family: var(--ff-body);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
} /* ============================================================        AUTORA        ============================================================ */
.author {
  padding: 7rem 0;
  background: linear-gradient(180deg, var(--ink-2) 0%, var(--ink) 100%);
}
.author-inner {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 5rem;
  align-items: center;
}
.author-photo-wrap {
  position: relative;
}
.author-photo-frame {
  position: relative;
  display: inline-block;
}
.author-photo-frame::before {
  content: "";
  position: absolute;
  top: -12px;
  left: -12px;
  right: 12px;
  bottom: 12px;
  border: 1px solid var(--border-strong);
  z-index: 0;
}
.author-photo-frame::after {
  content: "";
  position: absolute;
  top: 12px;
  left: 12px;
  right: -12px;
  bottom: -12px;
  border: 1px solid var(--border);
  z-index: 0;
}
.author-photo {
  width: 100%;
  max-width: 320px;
  object-fit: cover;
  aspect-ratio: 3/4;
  position: relative;
  z-index: 1;
  filter: sepia(20%) contrast(1.05);
  background: var(--charcoal);
  display: flex;
  align-items: center;
  justify-content: center;
}
.author-photo-placeholder {
  width: 100%;
  max-width: 280px;
  aspect-ratio: 3/4;
  background: linear-gradient(135deg, var(--charcoal) 0%, var(--smoke) 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  position: relative;
  z-index: 1;
  border: 1px solid var(--border);
}
.author-photo-placeholder span {
  font-family: var(--ff-title);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
}
.author-photo-icon {
  font-size: 3rem;
  opacity: 0.3;
}
.author-text h2 {
  font-family: var(--ff-title);
  font-size: clamp(1.6rem, 2.5vw, 2.4rem);
  color: var(--parchment);
  margin-bottom: 0.5rem;
}
.author-text .author-name-gold {
  color: var(--gold-light);
}
.author-text .author-title-label {
  font-family: var(--ff-body);
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 2rem;
  display: block;
}
.author-text p {
  font-family: var(--ff-display);
  font-size: 1.1rem;
  line-height: 1.85;
  color: var(--parchment-2);
  opacity: 0.88;
  margin-bottom: 1.2rem;
  font-weight: 300;
}
.author-socials {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}
.author-social-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 1rem;
  border: 1px solid var(--border);
  font-family: var(--ff-body);
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold-light);
  transition: all 0.3s;
}
.author-social-link:hover {
  background: var(--glow);
  border-color: var(--gold);
} /* ============================================================        TESTIMONIOS        ============================================================ */
.testimonials {
  padding: 7rem 0;
  background: var(--ink-2);
  position: relative;
}
.testimonials-header {
  text-align: center;
  margin-bottom: 4rem;
}
.testimonials-header h2 {
  font-family: var(--ff-title);
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  color: var(--parchment);
  margin-bottom: 1rem;
}
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.testimonial-card {
  padding: 2rem;
  border: 1px solid var(--border);
  background: rgba(13, 11, 8, 0.5);
  position: relative;
}
.testimonial-stars {
  color: var(--gold);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
}
.testimonial-text {
  font-family: var(--ff-display);
  font-size: 1.05rem;
  font-style: italic;
  line-height: 1.7;
  color: var(--parchment-2);
  margin-bottom: 1.5rem;
  font-weight: 300;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.testimonial-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-dark), var(--gold));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--ff-title);
  font-size: 0.9rem;
  color: var(--ink);
  font-weight: 700;
  flex-shrink: 0;
}
.testimonial-name {
  font-family: var(--ff-body);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--gold-light);
}
.testimonial-role {
  font-family: var(--ff-body);
  font-size: 0.7rem;
  color: var(--text-muted);
} /* ============================================================        BOOK TRAILER        ============================================================ */
.trailer {
  padding: 7rem 0;
  background: var(--ink);
  position: relative;
  overflow: hidden;
}
.trailer::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse 70% 60% at 50% 50%,
    rgba(201, 169, 75, 0.07) 0%,
    transparent 70%
  );
  pointer-events: none;
}
.trailer-header {
  text-align: center;
  margin-bottom: 3.5rem;
}
.trailer-header h2 {
  font-family: var(--ff-title);
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  color: var(--parchment);
  margin-bottom: 0.75rem;
}
.trailer-header p {
  font-family: var(--ff-display);
  font-size: 1.1rem;
  font-style: italic;
  color: var(--text-muted);
  font-weight: 300;
}
.trailer-frame-wrap {
  position: relative;
  max-width: 860px;
  margin: 0 auto;
} /* Decorative gold border frame */
.trailer-frame-wrap::before {
  content: "";
  position: absolute;
  top: -10px;
  left: -10px;
  right: -10px;
  bottom: -10px;
  border: 1px solid var(--border);
  pointer-events: none;
  z-index: 1;
}
.trailer-frame-wrap::after {
  content: "";
  position: absolute;
  top: -20px;
  left: -20px;
  right: -20px;
  bottom: -20px;
  border: 1px solid rgba(201, 169, 75, 0.12);
  pointer-events: none;
} /* Corner ornaments */
.trailer-corner {
  position: absolute;
  width: 20px;
  height: 20px;
  border-color: var(--gold);
  border-style: solid;
  z-index: 2;
}
.trailer-corner.tl {
  top: -2px;
  left: -2px;
  border-width: 2px 0 0 2px;
}
.trailer-corner.tr {
  top: -2px;
  right: -2px;
  border-width: 2px 2px 0 0;
}
.trailer-corner.bl {
  bottom: -2px;
  left: -2px;
  border-width: 0 0 2px 2px;
}
.trailer-corner.br {
  bottom: -2px;
  right: -2px;
  border-width: 0 2px 2px 0;
}
.trailer-iframe-container {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 */
  height: 0;
  overflow: hidden;
  background: var(--ink-2);
}
.trailer-iframe-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
} /* Glow under video */
.trailer-glow {
  position: absolute;
  bottom: -40px;
  left: 50%;
  transform: translateX(-50%);
  width: 70%;
  height: 80px;
  background: radial-gradient(
    ellipse,
    rgba(201, 169, 75, 0.25) 0%,
    transparent 70%
  );
  filter: blur(20px);
  pointer-events: none;
} /* ============================================================        DONDE COMPRAR        ============================================================ */
.buy-section {
  padding: 7rem 0;
  background: var(--ink-2);
  position: relative;
  overflow: hidden;
}
.buy-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse 80% 50% at 50% 0%,
    rgba(201, 169, 75, 0.06) 0%,
    transparent 70%
  );
}
.buy-header {
  text-align: center;
  margin-bottom: 1rem;
}
.buy-header h2 {
  font-family: var(--ff-title);
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  color: var(--parchment);
  margin-bottom: 0.75rem;
}
.buy-header p {
  font-family: var(--ff-display);
  font-size: 1.1rem;
  font-style: italic;
  color: var(--text-muted);
  font-weight: 300;
}
.buy-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 3rem;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
} /* Last row: 2 centered items */
.buy-grid .buy-card:nth-child(4),
.buy-grid .buy-card:nth-child(5) {
  grid-column: auto;
}
.buy-grid-row2 {
  display: flex;
  justify-content: center;
  gap: 1.25rem;
  margin-top: 1.25rem;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}
.buy-grid-row2 .buy-card {
  flex: 0 0 calc(33.333% - 0.84rem);
}
.buy-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 2rem 1.5rem;
  border: 1px solid var(--border);
  background: rgba(13, 11, 8, 0.55);
  text-align: center;
  cursor: pointer;
  transition: all 0.35s var(--transition);
  position: relative;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
}
.buy-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0;
  transition: opacity 0.35s;
}
.buy-card:hover {
  border-color: var(--border-strong);
  background: rgba(201, 169, 75, 0.06);
  transform: translateY(-5px);
  box-shadow:
    0 16px 40px rgba(0, 0, 0, 0.4),
    0 0 30px rgba(201, 169, 75, 0.08);
}
.buy-card:hover::before {
  opacity: 1;
}
.buy-card-icon {
  font-size: 2.2rem;
  line-height: 1;
  display: block;
}
.buy-card-name {
  font-family: var(--ff-title);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--gold-light);
}
.buy-card-type {
  font-family: var(--ff-body);
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: -0.25rem;
}
.buy-card-arrow {
  font-size: 0.7rem;
  color: var(--gold);
  opacity: 0;
  transform: translateX(-6px);
  transition: all 0.3s;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-family: var(--ff-body);
}
.buy-card:hover .buy-card-arrow {
  opacity: 1;
  transform: translateX(0);
}
.buy-note {
  text-align: center;
  margin-top: 2.5rem;
  font-family: var(--ff-display);
  font-size: 0.95rem;
  font-style: italic;
  color: var(--text-muted);
}
.buy-note strong {
  color: var(--gold);
  font-style: normal;
}
@media (max-width: 700px) {
  .buy-grid {
    grid-template-columns: 1fr 1fr;
  }
  .buy-grid-row2 {
    flex-wrap: wrap;
  }
  .buy-grid-row2 .buy-card {
    flex: 1 1 calc(50% - 0.84rem);
  }
}
@media (max-width: 480px) {
  .buy-grid {
    grid-template-columns: 1fr;
  }
  .buy-grid-row2 .buy-card {
    flex: 1 1 100%;
  }
} /* ============================================================        CTA FINAL        ============================================================ */
.cta-section {
  padding: 8rem 0;
  position: relative;
  overflow: hidden;
  background: var(--ink);
  text-align: center;
}
.cta-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      ellipse 80% 70% at 50% 50%,
      rgba(201, 169, 75, 0.1) 0%,
      transparent 70%
    ),
    radial-gradient(
      ellipse 40% 40% at 20% 80%,
      rgba(139, 105, 20, 0.08) 0%,
      transparent 60%
    ),
    radial-gradient(
      ellipse 40% 40% at 80% 20%,
      rgba(139, 105, 20, 0.08) 0%,
      transparent 60%
    );
}
.cta-ornament {
  position: absolute;
  width: 600px;
  height: 600px;
  border: 1px solid rgba(201, 169, 75, 0.05);
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.cta-ornament-2 {
  position: absolute;
  width: 400px;
  height: 400px;
  border: 1px solid rgba(201, 169, 75, 0.08);
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.cta-inner {
  position: relative;
  z-index: 1;
  max-width: 640px;
  margin: 0 auto;
}
.cta-inner h2 {
  font-family: var(--ff-title);
  font-size: clamp(2rem, 4vw, 3.5rem);
  color: var(--parchment);
  margin-bottom: 1rem;
  line-height: 1.1;
}
.cta-inner h2 em {
  color: var(--gold-light);
  font-style: italic;
  font-family: var(--ff-display);
}
.cta-inner p {
  font-family: var(--ff-display);
  font-size: 1.15rem;
  color: var(--parchment-2);
  opacity: 0.8;
  margin-bottom: 2.5rem;
  font-weight: 300;
  font-style: italic;
}
.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}
.btn-primary-lg {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1.1rem 2.5rem;
  background: linear-gradient(
    135deg,
    var(--gold-dark),
    var(--gold),
    var(--gold-light)
  );
  background-size: 200% 100%;
  color: var(--ink);
  font-family: var(--ff-body);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: all 0.4s;
  box-shadow: 0 8px 32px rgba(201, 169, 75, 0.4);
}
.btn-primary-lg:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 48px rgba(201, 169, 75, 0.55);
  background-position: right center;
}
.btn-ghost-lg {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1.1rem 2.5rem;
  background: transparent;
  color: var(--gold-light);
  font-family: var(--ff-body);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  border: 1px solid var(--border-strong);
  cursor: pointer;
  transition: all 0.3s;
}
.btn-ghost-lg:hover {
  background: rgba(201, 169, 75, 0.1);
  border-color: var(--gold-light);
}
.cta-note {
  margin-top: 2rem;
  font-family: var(--ff-body);
  font-size: 0.7rem;
  color: var(--text-muted);
  letter-spacing: 0.1em;
} /* ============================================================        FLOATING CTA        ============================================================ */
.floating-cta {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 90;
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.4s,
    transform 0.4s;
  pointer-events: none;
}
.floating-cta.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
}
.floating-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.85rem 1.5rem;
  background: var(--gold);
  color: var(--ink);
  font-family: var(--ff-body);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.4),
    0 0 0 1px rgba(201, 169, 75, 0.3);
  transition: all 0.3s;
}
.floating-cta-btn:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
} /* ============================================================        FOOTER        ============================================================ */
footer {
  padding: 4rem 0 2rem;
  background: rgba(10, 8, 5, 0.95);
  border-top: 1px solid var(--border);
}
.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
.footer-brand h3 {
  font-family: var(--ff-title);
  font-size: 0.9rem;
  letter-spacing: 0.15em;
  color: var(--gold-light);
  margin-bottom: 0.75rem;
}
.footer-brand p {
  font-family: var(--ff-body);
  font-size: 0.85rem;
  line-height: 1.7;
  color: var(--text-muted);
  max-width: 300px;
}
.footer-social {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.5rem;
}
.social-icon {
  width: 36px;
  height: 36px;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 0.75rem;
  transition: all 0.3s;
  cursor: pointer;
}
.social-icon:hover {
  border-color: var(--gold);
  color: var(--gold-light);
}
.footer-col h4 {
  font-family: var(--ff-body);
  font-size: 0.65rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.2rem;
}
.footer-col ul {
  list-style: none;
}
.footer-col ul li {
  margin-bottom: 0.6rem;
}
.footer-col ul li a {
  font-family: var(--ff-body);
  font-size: 0.85rem;
  color: var(--text-muted);
  transition: color 0.2s;
}
.footer-col ul li a:hover {
  color: var(--gold-light);
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}
.footer-bottom p {
  font-family: var(--ff-body);
  font-size: 0.75rem;
  color: var(--text-muted);
}
.footer-publisher {
  font-family: var(--ff-body);
  font-size: 0.7rem;
  color: var(--text-muted);
  letter-spacing: 0.1em;
} /* ============================================================        RESPONSIVE        ============================================================ */
@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-book {
    order: -1;
  }
  .hero-book-wrap {
    max-width: 220px;
  }
  .hero-pretitle {
    justify-content: center;
  }
  .hero-tagline {
    margin: 0 auto 2.5rem;
  }
  .hero-actions {
    justify-content: center;
  }
  .synopsis-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .synopsis-label {
    position: static;
    display: flex;
    align-items: center;
    gap: 1.5rem;
  }
  .synopsis-label-line {
    height: 1px;
    width: 80px;
    margin: 0;
  }
  .synopsis-number {
    font-size: 2.5rem;
  }
  .why-grid {
    grid-template-columns: 1fr;
  }
  .author-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .author-photo-placeholder {
    margin: 0 auto;
  }
  .author-socials {
    justify-content: center;
  }
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}
@media (max-width: 600px) {
  .stats-inner {
    gap: 2rem;
  }
  .btn-primary-lg,
  .btn-ghost-lg {
    width: 100%;
    justify-content: center;
  }
} /* Entrance animations */
@keyframes heroTitle {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.hero-pretitle {
  animation: heroTitle 0.8s 0.2s both;
}
.hero-title {
  animation: heroTitle 0.8s 0.4s both;
}
.hero-subtitle-main {
  animation: heroTitle 0.8s 0.55s both;
}
.hero-tagline {
  animation: heroTitle 0.8s 0.7s both;
}
.hero-actions {
  animation: heroTitle 0.8s 0.85s both;
}
.hero-book {
  animation: heroTitle 1s 0.5s both;
}

/* ============================================================
   UTILITIES
   ============================================================ */
.delay-50  { transition-delay: 0.05s; }
.delay-100 { transition-delay: 0.1s; }
.delay-150 { transition-delay: 0.15s; }
.delay-200 { transition-delay: 0.2s; }
.delay-250 { transition-delay: 0.25s; }
.delay-300 { transition-delay: 0.3s; }

.stat-bordered {
  border-left:  1px solid rgba(201,169,75,0.2);
  border-right: 1px solid rgba(201,169,75,0.2);
  padding: 0 4rem;
}

.excerpt-tag,
.trailer-section-tag,
.cta-section-tag,
.buy-section-tag {
  text-align: center;
}
.excerpt-tag { margin-bottom: 2rem; }

.excerpt-action { margin-top: 2rem; }

.trailer-subtitle {
  font-family: var(--ff-display);
  font-size: 1.1rem;
  font-style: italic;
  color: var(--text-muted);
  font-weight: 300;
}

.synopsis-badges { margin-top: 1rem; }

.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;
}

.book-fallback {
  width: 280px; height: 420px;
  background: linear-gradient(160deg, var(--ink-2) 0%, var(--charcoal) 50%, var(--ink-2) 100%);
  border: 1px solid rgba(201,169,75,0.4);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 1rem; padding: 2rem; text-align: center;
}
.book-fallback-title {
  font-family: var(--ff-title);
  font-size: 1.1rem; color: var(--gold-light); line-height: 1.4;
}
.book-fallback-line {
  width: 40px; height: 1px; background: var(--gold);
}
.book-fallback-sub {
  font-family: var(--ff-body);
  font-size: 0.6rem; letter-spacing: .2em; color: var(--text-muted);
}
.book-fallback-author {
  font-family: var(--ff-body);
  font-size: 0.65rem; color: var(--gold); margin-top: 1rem;
}

.author-fallback {
  width: 280px; height: 420px;
  background: linear-gradient(160deg, var(--ink-2) 0%, var(--charcoal) 50%, var(--ink-2) 100%);
  border: 1px solid rgba(201,169,75,0.4);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 1rem; padding: 2rem; text-align: center;
}
.author-fallback-name {
  font-family: var(--ff-title);
  font-size: 1.2rem; color: var(--gold-light); line-height: 1.4;
}

.social-icon { display: flex; align-items: center; justify-content: center; }
a.social-icon { text-decoration: none; }

a.nav-logo { text-decoration: none; }
a.nav-logo:hover { color: var(--gold-light); }

button.nav-hamburger {
  background: transparent;
  border: none;
  padding: 4px;
}

/* ============================================================
   SECCIÓN CONTACTO
   ============================================================ */
.contact-section {
  padding: 7rem 0;
  background: var(--ink);
  position: relative;
  overflow: hidden;
}

.contact-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse 70% 60% at 50% 50%,
    rgba(201,169,75,0.07) 0%,
    transparent 70%
  );
  pointer-events: none;
}

.contact-header {
  text-align: center;
  margin-bottom: 3.5rem;
}
.contact-header h2 {
  font-family: var(--ff-title);
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  color: var(--parchment);
  margin-bottom: 0.75rem;
}
.contact-subtitle {
  font-family: var(--ff-display);
  font-size: 1.1rem;
  font-style: italic;
  color: var(--text-muted);
  font-weight: 300;
}

.contact-frame {
  max-width: 680px;
  margin: 0 auto;
  position: relative;
  border: 1px solid rgba(201,169,75,0.2);
  background: rgba(26,23,16,0.8);
  padding: 2.5rem 3rem;
  border-radius: 1rem;
  box-shadow:
    0 0 0 1px rgba(201,169,75,0.06),
    0 8px 32px rgba(0,0,0,0.5),
    0 2px 8px rgba(0,0,0,0.3);
  backdrop-filter: blur(4px);
}
.contact-frame::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: 1rem;
  background: linear-gradient(135deg, rgba(201,169,75,0.12) 0%, transparent 50%, rgba(201,169,75,0.06) 100%);
  pointer-events: none;
  z-index: 0;
}
.contact-form { position: relative; z-index: 1; }

.contact-corner {
  position: absolute;
  width: 20px;
  height: 20px;
  border-color: var(--gold);
  border-style: solid;
  z-index: 1;
}
.contact-corner.tl { top: -2px;    left: -2px;   border-width: 2px 0 0 2px; }
.contact-corner.tr { top: -2px;    right: -2px;  border-width: 2px 2px 0 0; }
.contact-corner.bl { bottom: -2px; left: -2px;   border-width: 0 0 2px 2px; }
.contact-corner.br { bottom: -2px; right: -2px;  border-width: 0 2px 2px 0; }

.contact-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px; height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.contact-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.contact-field {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  margin-bottom: 1.25rem;
  position: relative;
}
.contact-field label {
  font-family: var(--ff-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--parchment-2);
}
.contact-required {
  color: var(--gold);
  opacity: 0.8;
}

.contact-field input,
.contact-field textarea {
  background: rgba(13,11,8,0.7);
  border: 1.5px solid rgba(201,169,75,0.22);
  border-radius: 0.5rem;
  color: var(--parchment);
  font-family: var(--ff-display);
  font-size: 1rem;
  font-weight: 300;
  padding: 0.7rem 1rem;
  width: 100%;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease;
}
.contact-field input:hover,
.contact-field textarea:hover {
  background: rgba(42,38,32,0.8);
  border-color: rgba(201,169,75,0.45);
}
.contact-field input::placeholder,
.contact-field textarea::placeholder {
  font-family: var(--ff-display);
  font-style: italic;
  color: #a09080;
  opacity: 1;
}
.contact-field input:focus,
.contact-field textarea:focus {
  outline: none;
  background: rgba(42,38,32,0.9);
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201,169,75,0.14);
}
.contact-field textarea {
  resize: vertical;
  min-height: 140px;
  line-height: 1.7;
}

.contact-char-count {
  font-family: var(--ff-body);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  text-align: right;
  opacity: 0.7;
}

.contact-actions {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 1rem;
  margin-top: 0.5rem;
}
.contact-submit {
  width: 100%;
  justify-content: center;
  padding-top: 0.85rem;
  padding-bottom: 0.85rem;
  font-size: 1rem;
  letter-spacing: 0.06em;
}
.contact-submit:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none !important;
  box-shadow: none !important;
}

.contact-status {
  font-family: var(--ff-body);
  font-size: 0.85rem;
  min-height: 1.2rem;
  letter-spacing: 0.03em;
  position: relative;
  overflow: visible;
}
.contact-status--error { color: #e07070; }

@keyframes statusReveal {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}
.contact-status--success {
  animation: statusReveal 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  color: var(--gold-light);
  text-shadow: 0 0 18px rgba(201,169,75,0.55), 0 0 6px rgba(201,169,75,0.3);
}

@keyframes sparkleRise {
  0%   { opacity: 1; transform: translateY(0) scale(1); }
  70%  { opacity: 0.6; }
  100% { opacity: 0; transform: translateY(-52px) scale(0.35); }
}
.contact-sparkle {
  position: absolute;
  top: 0;
  pointer-events: none;
  user-select: none;
  animation: sparkleRise var(--dur, 1s) var(--delay, 0s) ease-out forwards;
  color: var(--gold);
  line-height: 1;
}

@media (max-width: 640px) {
  .contact-row   { grid-template-columns: 1fr; }
  .contact-frame { padding: 2rem 1.5rem; }
}

/* ============================================================
   AGRADECIMIENTO CONTACTO
   ============================================================ */
.contact-thankyou {
  text-align: center;
  margin-top: 2rem;
  font-family: var(--ff-display);
  font-size: 1.1rem;
  font-style: italic;
  font-weight: 300;
  color: var(--text-muted);
}

/* ============================================================
   FLOATING CTA — margen respecto a los bordes
   ============================================================ */
.floating-cta {
  bottom: 3rem;
  right: 3rem;
}

/* ============================================================
   AUTORA — ajustes de feedback
   ============================================================ */
.author-name-single {
  color: var(--parchment);
}
.author-photo-placeholder {
  overflow: hidden;
}
.author-photo-icon img {
  filter: contrast(1.2) brightness(1.05);
  transform: scale(1.1);
}
.author-social-link--muted {
  font-size: 0.6rem;
  padding: 0.3rem 0.8rem;
  color: var(--text-muted);
  opacity: 0.75;
}
.author-social-link--muted:hover {
  opacity: 1;
}

/* ============================================================
   BUY CARDS — logos oficiales de cada tienda
   ============================================================ */
.buy-card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  max-width: 140px;
  padding: 0.5rem 1rem;
  background: var(--parchment);
  border-radius: 6px;
}
.buy-card-icon img {
  max-height: 100%;
  max-width: 100%;
  width: auto;
  display: block;
}

/* ============================================================
   ADAPTACIÓN AUDIOVISUAL / FILM & TV PITCH
   ============================================================ */
.film-tv {
  padding: 7rem 0;
  background: var(--ink-2);
  position: relative;
}
.film-tv::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse 70% 50% at 50% 0%,
    rgba(201, 169, 75, 0.06) 0%,
    transparent 70%
  );
}
.film-tv-header {
  position: relative;
  text-align: center;
  max-width: 720px;
  margin: 0 auto 3.5rem;
}
.film-tv-header h2 {
  font-family: var(--ff-title);
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  color: var(--parchment);
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.film-tv-logline {
  font-family: var(--ff-display);
  font-size: 1.05rem;
  font-style: italic;
  line-height: 1.7;
  color: var(--parchment-2);
  opacity: 0.85;
  font-weight: 300;
}
.film-tv-trailer {
  position: relative;
  max-width: 780px;
  margin: 0 auto 3rem;
}
.film-tv-block-label {
  font-family: var(--ff-body);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
  text-align: center;
}
.film-tv-iframe-container {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  background: var(--ink);
  border: 1px solid var(--border);
}
.film-tv-iframe-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}
.film-tv-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 900px;
  margin: 0 auto;
}
.film-tv-card {
  padding: 2rem 1.5rem;
  border: 1px solid var(--border);
  background: rgba(13, 11, 8, 0.6);
  text-align: center;
}
.film-tv-icon {
  font-size: 1.6rem;
  display: block;
  margin-bottom: 0.9rem;
}
.film-tv-card h3 {
  font-family: var(--ff-title);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--gold-light);
  margin-bottom: 0.6rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.film-tv-card p {
  font-family: var(--ff-body);
  font-size: 0.85rem;
  line-height: 1.6;
  color: var(--text-muted);
}
.film-tv-contact {
  position: relative;
  text-align: center;
  margin-top: 3rem;
  font-family: var(--ff-body);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}
.film-tv-contact a {
  color: var(--gold-light);
  border-bottom: 1px solid var(--border-strong);
  padding-bottom: 2px;
  transition: color 0.2s;
}
.film-tv-contact a:hover {
  color: var(--gold);
}
@media (max-width: 700px) {
  .film-tv-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   SELECTOR DE IDIOMA / LANGUAGE SWITCH
   ============================================================ */
.lang-switch {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-family: var(--ff-body);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
}
.lang-switch-link {
  color: var(--parchment-2);
  text-decoration: none;
  transition: color 0.2s;
}
.lang-switch-link:hover {
  color: var(--gold-light);
}
.lang-switch-link.is-active {
  color: var(--gold-light);
  font-weight: 700;
}
.lang-switch-sep {
  color: var(--border-strong);
}
