/* ==========================================================================
   Biblioteca de Astronomía y Ciencia — venta de un solo producto, tono urgente/persuasivo
   Tema: cielo nocturno — navy profundo, dorado y teal
   Mismo esqueleto/clases que ../styles.css (Biblioteca de Fantasia) -- solo
   cambia la paleta de variables + algunos glows hardcodeados a rgba(gold).
   ========================================================================== */

:root{
  --bg: #050a07;
  --bg-soft: #0a120d;
  --surface: #101f16;
  --surface-2: #172c1f;
  --line: rgba(200,255,220,.09);
  --line-strong: rgba(200,255,220,.2);

  --ink: #eafff0;
  --ink-dim: #bfe4cc;
  --muted: #6fa883;

  --gold: #2fae63;
  --gold-bright: #58d98f;
  --gold-ink: #00180a;

  --violet: #d4af37;
  --violet-bright: #f0cf6c;

  --urgent: #ff8a3d;

  --shadow-lg: 0 30px 70px -20px rgba(0,0,0,.65);
  --shadow-md: 0 16px 34px -16px rgba(0,0,0,.6);

  --font-display: 'Cinzel', ui-serif, Georgia, serif;
  --font-body: 'Karla', ui-sans-serif, system-ui, sans-serif;

  --radius-lg: 22px;
  --radius-md: 14px;
}

*, *::before, *::after{ box-sizing: border-box; }
html{
  scroll-behavior: smooth;
  overflow-x: hidden;
  width: 100%;
}
body{
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  width: 100%;
}
h1, h2, h3{ font-family: var(--font-display); color: var(--ink); margin: 0; letter-spacing: .01em; }
p{ margin: 0; }
a{ color: inherit; text-decoration: none; }
::selection{ background: var(--gold); color: var(--ink); }

.grain{
  position: fixed; inset: 0; z-index: 999; pointer-events: none;
  opacity: .07; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* -------------------------------------------------------------------- */
/* Buttons                                                               */
/* -------------------------------------------------------------------- */
.btn{
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: .9em 1.7em;
  border-radius: 999px;
  font-weight: 800;
  font-size: .95rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .25s cubic-bezier(.2,.8,.2,1), box-shadow .25s, background .25s, border-color .25s;
  white-space: nowrap;
}
.btn:hover{ transform: translateY(-2px); }
.btn-primary{
  background: linear-gradient(180deg, var(--gold-bright), var(--gold));
  color: var(--ink);
  box-shadow: 0 14px 30px -10px rgba(233,189,92,.55);
  animation: pulse-btn 2.6s ease-in-out infinite;
}
.btn-primary:hover{ box-shadow: 0 18px 38px -10px rgba(233,189,92,.75); }
@keyframes pulse-btn{
  0%, 100%{ box-shadow: 0 14px 30px -10px rgba(233,189,92,.55); }
  50%{ box-shadow: 0 14px 40px -6px rgba(233,189,92,.85); }
}
.btn-lg{ padding: 1.05em 2.2em; font-size: 1.05rem; }
.btn-ghost{
  background: rgba(255,255,255,.04);
  color: var(--ink);
  border-color: var(--line-strong);
}
.btn-ghost:hover{ border-color: var(--violet-bright); color: var(--violet-bright); }

/* -------------------------------------------------------------------- */
/* Header                                                                */
/* -------------------------------------------------------------------- */
.site-header{
  position: sticky; top: 0; z-index: 60;
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px clamp(20px, 5vw, 64px);
  background: rgba(11,7,7,.84);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.brand{ display: flex; align-items: center; gap: 12px; }
.brand-mark{
  display: grid; place-items: center;
  width: 38px; height: 38px;
  border-radius: 10px;
  background: linear-gradient(160deg, var(--surface-2), var(--surface));
  border: 1px solid var(--line-strong);
  color: var(--gold-bright);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
}
.brand-text{ display: flex; flex-direction: column; line-height: 1.1; }
.brand-name{ font-family: var(--font-display); font-weight: 600; font-size: 1.02rem; }
.brand-sub{ font-size: .66rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.nav-back{
  font-size: .82rem; color: var(--ink-dim); border: 1px solid var(--line-strong);
  padding: 8px 16px; border-radius: 999px; transition: border-color .2s, color .2s;
}
.nav-back:hover{ border-color: var(--gold); color: var(--gold-bright); }
.nav-libraries{ position: relative; }
.nav-libraries summary{
  list-style: none; cursor: pointer; user-select: none;
  display: inline-flex; align-items: center; gap: 6px;
  font-size: .82rem; color: var(--ink-dim); border: 1px solid var(--line-strong);
  padding: 8px 16px; border-radius: 999px; transition: border-color .2s, color .2s;
}
.nav-libraries summary::-webkit-details-marker{ display: none; }
.nav-libraries summary:hover,
.nav-libraries[open] summary{ border-color: var(--gold); color: var(--gold-bright); }
.nav-libraries-menu{
  position: absolute; top: calc(100% + 8px); right: 0; z-index: 80;
  display: flex; flex-direction: column; min-width: 230px;
  background: var(--surface); border: 1px solid var(--line-strong);
  border-radius: 14px; padding: 8px; box-shadow: var(--shadow-md);
}
.nav-libraries-menu a{
  display: flex; align-items: center;
  padding: 10px 14px; border-radius: 8px; font-size: .86rem; font-weight: 600; color: var(--ink);
  transition: background .15s, color .15s, transform .15s;
}
.nav-libraries-menu a:hover{ background: var(--surface-2); color: var(--gold-bright); transform: translateX(2px); }
.nav-dot{ display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin-right: 10px; flex-shrink: 0; box-shadow: 0 0 8px 1px currentColor; }
.nav-dot-fantasia{ background: #9b5cff; color: #9b5cff; }
.nav-dot-terror{ background: #ff3b52; color: #ff3b52; }
.nav-dot-cf{ background: #7fd8ff; color: #7fd8ff; }
.nav-dot-astro{ background: #3fb8ad; color: #3fb8ad; }
.nav-dot-politica{ background: #1e6fd9; color: #1e6fd9; }
.nav-dot-filosofia{ background: #c99a4a; color: #c99a4a; }
.nav-dot-novelas{ background: #be123c; color: #be123c; }
.nav-dot-total{ background: #f0b429; color: #f0b429; }
.footer-brand .brand-sub a.fc-total{ color: #f0b429; }
.nav-dot-crimen{ background: #5a7fa6; color: #5a7fa6; }
.footer-brand .brand-sub a.fc-crimen{ color: #5a7fa6; }
.nav-dot-emprendimiento{ background: #ff8c42; color: #ff8c42; }
.footer-brand .brand-sub a.fc-emprendimiento{ color: #ff8c42; }
.nav-dot-ia{ background: #5b5fef; color: #5b5fef; }
.footer-brand .brand-sub a.fc-ia{ color: #5b5fef; }
.nav-dot-inversion{ background: #2fae63; color: #2fae63; }
.footer-brand .brand-sub a.fc-inversion{ color: #2fae63; }
.nav-dot-seduccion{ background: #b0308a; color: #b0308a; }
.footer-brand .brand-sub a.fc-seduccion{ color: #b0308a; }

/* -------------------------------------------------------------------- */
/* Hero                                                                  */
/* -------------------------------------------------------------------- */
.hero{
  position: relative; overflow: hidden;
  padding: clamp(56px, 9vw, 110px) clamp(20px, 5vw, 64px) clamp(50px, 7vw, 90px);
}
.hero-atmosphere{ position: absolute; inset: -10%; z-index: 0; pointer-events: none; }
.blob{ position: absolute; border-radius: 50%; filter: blur(90px); opacity: .34; animation: drift 16s ease-in-out infinite; }
.blob-violet{ width: 480px; height: 480px; background: var(--gold); top: -140px; left: -100px; }
.blob-gold{ width: 380px; height: 380px; background: var(--violet); bottom: -160px; right: -80px; animation-delay: -8s; }
@keyframes drift{
  0%, 100%{ transform: translate(0,0) scale(1); }
  50%{ transform: translate(26px,-20px) scale(1.08); }
}
.hero-inner{ position: relative; z-index: 1; max-width: 780px; margin: 0 auto; text-align: center; }

/* -------------------------------------------------------------------- */
/* Covers band — carrusel horizontal interactivo de portadas            */
/* -------------------------------------------------------------------- */
.covers-band{ padding: clamp(10px, 3vw, 20px) 0 clamp(50px, 7vw, 80px); }
.covers-carousel{
  position: relative;
  max-width: 1320px; margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 64px);
}
.covers-track{
  display: flex; gap: 14px;
  overflow-x: auto; scroll-snap-type: x proximity;
  padding: 6px clamp(20px, 5vw, 64px) 18px;
  margin: 0 clamp(-64px, -5vw, -20px);
  scrollbar-width: none;
}
.covers-track::-webkit-scrollbar{ display: none; }
.covers-track img{
  flex: 0 0 auto; scroll-snap-align: start;
  width: clamp(108px, 13vw, 150px); height: auto;
  border-radius: 8px; border: 1px solid var(--line-strong);
  box-shadow: 0 12px 24px -14px rgba(0,0,0,.75);
  transition: transform .25s, border-color .25s;
}
.covers-track img:hover{ transform: translateY(-6px); border-color: var(--gold); }
.covers-fade{
  position: absolute; top: 0; bottom: 18px; width: clamp(24px, 6vw, 90px);
  z-index: 2; pointer-events: none;
}
.covers-fade-left{ left: 0; background: linear-gradient(90deg, var(--bg), transparent); }
.covers-fade-right{ right: 0; background: linear-gradient(-90deg, var(--bg), transparent); }

.covers-arrow{
  position: absolute; top: 50%; transform: translateY(-70%); z-index: 3;
  width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--surface); border: 1px solid var(--line-strong);
  color: var(--ink); font-size: 1.4rem; line-height: 1; cursor: pointer;
  box-shadow: var(--shadow-md);
  transition: border-color .2s, color .2s, background .2s, transform .2s;
}
.covers-arrow:hover{ border-color: var(--gold); color: var(--gold-bright); background: var(--surface-2); }
.covers-arrow:active{ transform: translateY(-70%) scale(.92); }
.covers-arrow-prev{ left: -6px; }
.covers-arrow-next{ right: -6px; }

@media (max-width: 640px){
  .covers-arrow{ width: 38px; height: 38px; font-size: 1.2rem; }
  .covers-arrow-prev{ left: 2px; }
  .covers-arrow-next{ right: 2px; }
}

/* -------------------------------------------------------------------- */
/* Proof band — capturas reales de la carpeta de Drive                  */
/* -------------------------------------------------------------------- */
.proof-band{ padding: clamp(40px, 6vw, 70px) 0 clamp(56px, 8vw, 90px); }
.proof-track img{
  width: clamp(240px, 34vw, 380px);
  border-radius: 10px; border: 1px solid var(--line-strong);
}
.proof-track img:hover{ border-color: var(--violet-bright); }

@media (max-width: 640px){
  .proof-track img{ width: min(82vw, 340px); }
}

.badge-urgent{
  display: inline-flex; align-items: center; gap: .5em;
  background: rgba(255,122,89,.14); border: 1px solid rgba(255,122,89,.4);
  color: var(--urgent); font-weight: 700; font-size: .8rem;
  padding: .5em 1.1em; border-radius: 999px; margin-bottom: 22px;
}
.hero-title{
  font-size: clamp(2.2rem, 5.4vw, 3.6rem);
  line-height: 1.08;
  margin-bottom: 20px;
}
.hero-sub{
  color: var(--ink-dim); font-size: 1.05rem; max-width: 62ch; margin: 0 auto 32px;
}
.hero-sub strong{ color: var(--gold-bright); }

.price-block{
  display: inline-flex; flex-direction: column; align-items: center;
  background: var(--surface); border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg); padding: 22px 40px; margin-bottom: 28px;
  box-shadow: var(--shadow-md);
}
.price-old{ font-size: .95rem; color: var(--muted); }
.price-old span{ text-decoration: line-through; }
.price-new{ font-family: var(--font-display); font-size: clamp(2.4rem, 6vw, 3.4rem); font-weight: 700; color: var(--gold-bright); line-height: 1.1; }
.price-currency{ font-size: 1rem; font-weight: 400; color: var(--muted); }
.price-note{ font-size: .78rem; color: var(--ink-dim); margin-top: 4px; }

.hero-actions{ display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; margin-bottom: 40px; }

.hero-stats{ display: flex; gap: clamp(24px, 5vw, 52px); justify-content: center; flex-wrap: wrap; }
.hero-stats > div{ display: flex; flex-direction: column; }
.hero-stats span{ font-family: var(--font-display); font-size: 1.7rem; color: var(--gold-bright); font-weight: 700; }
.hero-stats small{ color: var(--muted); font-size: .72rem; letter-spacing: .04em; text-transform: uppercase; margin-top: 2px; }

/* -------------------------------------------------------------------- */
/* Trust strip                                                          */
/* -------------------------------------------------------------------- */
.trust-strip{
  display: flex; flex-wrap: wrap; justify-content: center; gap: 0;
  background: var(--bg-soft); border-block: 1px solid var(--line);
}
.trust-item{
  padding: 16px 28px; font-size: .82rem; color: var(--ink-dim);
  border-right: 1px solid var(--line);
}
.trust-item:last-child{ border-right: none; }

/* -------------------------------------------------------------------- */
/* Sections generic                                                     */
/* -------------------------------------------------------------------- */
.section-head{ max-width: 640px; margin: 0 auto 40px; text-align: center; padding: 0 20px; }
.section-head h2{ font-size: clamp(1.7rem, 3.2vw, 2.3rem); margin-top: 8px; }
.eyebrow{ font-size: .76rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-bright); font-weight: 700; }
.section-sub{ color: var(--ink-dim); margin-top: 12px; font-size: .96rem; }
.testimonial-disclaimer{ font-size: .78rem; opacity: .7; font-style: italic; }

/* -------------------------------------------------------------------- */
/* Includes                                                              */
/* -------------------------------------------------------------------- */
.includes{ padding: clamp(56px, 8vw, 90px) clamp(20px, 5vw, 64px); max-width: 1200px; margin: 0 auto; }
.includes-grid{ display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.include-card{
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 30px 26px; text-align: center;
  transition: transform .3s, border-color .3s;
}
.include-card:hover{ transform: translateY(-4px); border-color: var(--violet); }
.include-main{ border-color: var(--gold); background: linear-gradient(160deg, var(--surface-2), var(--surface)); }
.include-icon{ font-size: 2.4rem; display: block; margin-bottom: 14px; }
.include-card h3{ font-size: 1.1rem; margin-bottom: 10px; }
.include-card h3 span{ color: var(--gold-bright); }
.include-card p{ color: var(--ink-dim); font-size: .88rem; }

/* -------------------------------------------------------------------- */
/* Sagas mosaico (autores/colecciones)                                  */
/* -------------------------------------------------------------------- */
/* -------------------------------------------------------------------- */
/* Carpetas por tema -- orden real de la biblioteca, no inventado        */
/* -------------------------------------------------------------------- */
.folders-band{ padding: clamp(40px, 6vw, 70px) clamp(20px, 5vw, 64px); max-width: 820px; margin: 0 auto; }
.folders-list{ display: flex; flex-direction: column; gap: 12px; }
.folder-item{
  display: flex; gap: 18px; align-items: flex-start;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-md); padding: 16px 22px;
  transition: border-color .2s, transform .2s;
}
.folder-item:hover{ border-color: var(--gold); transform: translateX(4px); }
.folder-num{
  flex-shrink: 0; width: 42px; height: 42px; border-radius: 10px;
  background: var(--surface-2); border: 1px solid var(--line-strong);
  display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 700; color: var(--gold-bright); font-size: .92rem;
}
.folder-body h3{ font-size: 1rem; margin-bottom: 4px; font-family: var(--font-body); font-weight: 700; }
.folder-body h3 small{ color: var(--muted); font-weight: 400; font-size: .76rem; margin-left: 8px; }
.folder-body p{ color: var(--ink-dim); font-size: .86rem; }

.sagas-band{ padding: clamp(40px, 6vw, 70px) clamp(20px, 5vw, 64px); max-width: 1200px; margin: 0 auto; }
.sagas-grid{ display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.saga-chip{
  background: var(--surface); border: 1px solid var(--line-strong);
  border-radius: 999px; padding: 10px 18px; font-size: .86rem;
  display: inline-flex; align-items: center; gap: 8px;
  transition: border-color .2s, transform .2s, background .2s;
}
.saga-chip:hover{ border-color: var(--gold); transform: translateY(-2px); background: var(--surface-2); }
.saga-chip b{ color: var(--gold-bright); font-weight: 700; }
.saga-chip-more{ border-style: dashed; border-color: var(--gold); color: var(--gold-bright); font-weight: 700; background: none; }
.saga-chip-more:hover{ background: var(--surface-2); }
.titles-more-label{ text-align: center; color: var(--muted); font-size: .86rem; margin: 28px 0 16px; }
.titles-grid{ max-width: 980px; margin: 0 auto; }
.catalog-more{ text-align: center; color: var(--ink-dim); font-size: .88rem; margin-top: 24px; }
.catalog-more a{ color: var(--gold-bright); font-weight: 700; }
.catalog-download{ margin-top: 10px; }
.catalog-download a{ display: inline-flex; align-items: center; gap: 6px; }

/* -------------------------------------------------------------------- */
/* CTA outer / final                                                    */
/* -------------------------------------------------------------------- */
.cta-outer{
  position: relative; padding: clamp(60px, 8vw, 100px) clamp(20px, 5vw, 64px); overflow: hidden;
}
.cta-atmosphere{
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: radial-gradient(60% 90% at 50% 50%, rgba(233,189,92,.16), transparent 70%);
}
.cta-band{
  position: relative; z-index: 1; max-width: 720px; margin: 0 auto; text-align: center;
  background: linear-gradient(160deg, var(--surface-2), var(--surface));
  border: 1px solid var(--gold); border-radius: var(--radius-lg);
  padding: clamp(36px, 6vw, 56px); box-shadow: var(--shadow-lg);
}
.cta-band h2{ font-size: clamp(1.5rem, 3vw, 2rem); margin-bottom: 14px; }
.cta-band p{ color: var(--ink-dim); margin-bottom: 24px; }
.cta-sub{ margin-top: 14px !important; font-size: .78rem; color: var(--muted); }

.cta-final{
  text-align: center; padding: clamp(60px, 8vw, 100px) clamp(20px, 5vw, 64px); max-width: 100%; margin: 0 auto;
}
.cta-final > *{ max-width: 680px; margin-left: auto; margin-right: auto; }
.cta-final h2{ font-size: clamp(1.8rem, 3.4vw, 2.4rem); margin-bottom: 12px; }
.cta-final p{ color: var(--ink-dim); margin-bottom: 26px; }

/* -------------------------------------------------------------------- */
/* Testimonials                                                         */
/* -------------------------------------------------------------------- */
.testimonials{ padding: clamp(56px, 8vw, 90px) clamp(20px, 5vw, 64px); max-width: 1200px; margin: 0 auto; }
.testimonials-grid{ display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 16px; }
.t-card{ background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-md); padding: 22px; }
.t-stars{ color: var(--gold-bright); font-size: .85rem; margin-bottom: 10px; }
.t-text{ font-size: .87rem; color: var(--ink-dim); line-height: 1.6; margin-bottom: 16px; }
.t-author{ display: flex; align-items: center; gap: 10px; }
.t-avatar{
  width: 32px; height: 32px; border-radius: 50%; flex-shrink: 0;
  background: linear-gradient(135deg, var(--violet), var(--gold));
  display: grid; place-items: center; font-weight: 700; color: var(--ink); font-size: .85rem;
}
.t-name{ font-size: .82rem; font-weight: 700; }
.t-role{ font-size: .72rem; color: var(--muted); }

/* -------------------------------------------------------------------- */
/* FAQ                                                                   */
/* -------------------------------------------------------------------- */
.faq{ padding: clamp(56px, 8vw, 90px) clamp(20px, 5vw, 64px); max-width: 760px; margin: 0 auto; }
.faq-list{ display: flex; flex-direction: column; gap: 10px; }
.faq-item{
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-md); padding: 6px 20px;
}
.faq-item summary{
  padding: 14px 0; cursor: pointer; font-weight: 700; font-size: .95rem;
  list-style: none; display: flex; justify-content: space-between; align-items: center;
}
.faq-item summary::-webkit-details-marker{ display: none; }
.faq-item summary::after{ content: "+"; color: var(--gold-bright); font-size: 1.3rem; font-weight: 400; }
.faq-item[open] summary::after{ content: "–"; }
.faq-item p{ color: var(--ink-dim); font-size: .88rem; padding-bottom: 16px; }

/* -------------------------------------------------------------------- */
/* Footer                                                                */
/* -------------------------------------------------------------------- */
.site-footer{
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px;
  padding: 30px clamp(20px, 5vw, 64px) 90px;
  border-top: 1px solid var(--line);
  max-width: 1200px; margin: 0 auto;
}
.footer-brand{ display: flex; align-items: center; gap: 14px; }
.footer-brand .brand-sub{ text-transform: none; letter-spacing: 0; font-size: .78rem; }
.footer-brand .brand-sub a{ color: var(--gold-bright); text-decoration: underline; text-underline-offset: 2px; }
.footer-brand .brand-sub a.fc-fantasia{ color: #9b5cff; }
.footer-brand .brand-sub a.fc-terror{ color: #ff3b52; }
.footer-brand .brand-sub a.fc-cf{ color: #7fd8ff; }
.footer-brand .brand-sub a.fc-astro{ color: #3fb8ad; }
.footer-brand .brand-sub a.fc-politica{ color: #1e6fd9; }
.footer-brand .brand-sub a.fc-filosofia{ color: #c99a4a; }
.footer-brand .brand-sub a.fc-novelas{ color: #be123c; }
.footer-contact{
  font-size: .85rem; color: var(--ink-dim); border: 1px solid var(--line-strong);
  padding: 8px 16px; border-radius: 999px; transition: border-color .2s, color .2s;
}
.footer-contact:hover{ border-color: var(--gold); color: var(--gold-bright); }

/* -------------------------------------------------------------------- */
/* Floating CTA                                                         */
/* -------------------------------------------------------------------- */
.floating-cta{
  position: fixed; right: 20px; bottom: 20px; z-index: 70;
  opacity: 0; pointer-events: none;
  display: flex; align-items: center; gap: 6px;
  background: linear-gradient(180deg, var(--gold-bright), var(--gold));
  color: var(--ink); font-weight: 800; font-size: .92rem;
  padding: 14px 22px; border-radius: 999px;
  box-shadow: 0 14px 30px -10px rgba(233,189,92,.6);
  animation: pulse-btn 2.6s ease-in-out infinite;
  transition: transform .2s, opacity .25s;
}
.floating-cta.is-visible{ opacity: 1; pointer-events: auto; }
.floating-cta:hover{ transform: scale(1.06); }

@media (max-width: 480px){
  .floating-cta{ padding: 12px 18px; font-size: .85rem; }
}

/* Resguardo: si algun boton (.btn) termina con texto mas largo de lo que
   cabe en una linea en celular, que se parta en dos en vez de quedar
   invisible fuera del viewport (nowrap + pill ancho > pantalla). */
@media (max-width: 480px){
  .btn{ white-space: normal; text-align: center; }
}

/* -------------------------------------------------------------------- */
/* Lightbox — ver portada/captura en grande                            */
/* -------------------------------------------------------------------- */
.covers-track img{ cursor: zoom-in; }

.lightbox{
  position: fixed; inset: 0; z-index: 1000;
  display: flex; align-items: center; justify-content: center;
  padding: clamp(24px, 6vw, 64px);
  background: rgba(3,6,14,.92); backdrop-filter: blur(4px);
  cursor: zoom-out;
  animation: lightbox-in .18s ease;
}
.lightbox[hidden]{ display: none; }
@keyframes lightbox-in{ from{ opacity: 0; } to{ opacity: 1; } }
.lightbox img{
  max-width: min(92vw, 1100px); max-height: 88vh;
  width: auto; height: auto; object-fit: contain;
  border-radius: 12px; border: 1px solid var(--line-strong);
  box-shadow: var(--shadow-lg);
  cursor: zoom-in;
  touch-action: none;
  transition: transform .18s ease-out;
}
.lightbox img.is-zoomed{ cursor: grab; transition: none; }
.lightbox-close{
  position: absolute; top: clamp(14px, 3vw, 26px); right: clamp(14px, 3vw, 26px);
  width: 42px; height: 42px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--surface); border: 1px solid var(--line-strong);
  color: var(--ink); font-size: 1.1rem; cursor: pointer;
  transition: border-color .2s, color .2s, background .2s, transform .2s;
}
.lightbox-close:hover{ border-color: var(--gold); color: var(--gold-bright); background: var(--surface-2); transform: scale(1.06); }

@media (prefers-reduced-motion: reduce){
  *{ animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

.hero{
  background-image: linear-gradient(180deg, rgba(5,10,7,.82), rgba(5,10,7,.94)), url('data/fondos-web/hero-bg.jpg');
  background-size: cover;
  background-position: center 30%;
}
.cta-outer{
  background-image: linear-gradient(180deg, rgba(5,10,7,.85), rgba(5,10,7,.93)), url('data/fondos-web/cta-bg.jpg');
  background-size: cover;
  background-position: center;
}
.cta-final{
  max-width: 100%;
  background-image: linear-gradient(180deg, rgba(5,10,7,.85), rgba(5,10,7,.93)), url('data/fondos-web/final-bg.jpg');
  background-size: cover;
  background-position: center;
}
.cta-final > *{ max-width: 680px; margin-left: auto; margin-right: auto; }
