/* ==========================================================================
   PORTAL OFICIAL PAUL GALAGUER — MANUAL DE VIDA: LOS 22 CÓDIGOS
   Estética Luxury Dark Obsidian & Champagne Gold | Apple Wellness
   ========================================================================== */

:root {
  --bg-primary: #07080b;
  --bg-secondary: #0d0f14;
  --bg-card: rgba(18, 21, 28, 0.72);
  --bg-glass: rgba(13, 16, 22, 0.85);
  --border-subtle: rgba(212, 175, 55, 0.15);
  --border-glow: rgba(212, 175, 55, 0.45);
  --gold-primary: #d4af37;
  --gold-light: #f5e29f;
  --gold-dark: #997a15;
  --gold-gradient: linear-gradient(135deg, #f5e29f 0%, #d4af37 50%, #aa8012 100%);
  --gold-glow: 0 0 25px rgba(212, 175, 55, 0.28);
  --text-main: #f0f2f5;
  --text-muted: #9ba3af;
  --text-dim: #64748b;
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-brand: 'Cinzel', serif;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-primary);
  color: var(--text-main);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-primary);
  color: var(--text-main);
  line-height: 1.65;
  overflow-x: hidden;
  position: relative;
}

/* Background Atmosphere */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 50% 15%, rgba(212, 175, 55, 0.04) 0%, transparent 60%),
              radial-gradient(circle at 85% 65%, rgba(45, 62, 80, 0.08) 0%, transparent 50%),
              radial-gradient(circle at 15% 85%, rgba(153, 122, 21, 0.03) 0%, transparent 55%);
  pointer-events: none;
  z-index: 0;
}

/* Typography Helpers */
h1, h2, h3, h4 {
  color: #ffffff;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.font-brand { font-family: var(--font-brand); }
.font-serif { font-family: var(--font-serif); }
.font-sans  { font-family: var(--font-sans); }

.gold-text {
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 28px;
  position: relative;
  z-index: 2;
}

/* ==========================================================================
   HEADER DE NAVEGACIÓN
   ========================================================================== */
.pg-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 80px;
  background: rgba(7, 8, 11, 0.82);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
  z-index: 100;
  transition: var(--transition-smooth);
}

.pg-header.scrolled {
  height: 70px;
  background: rgba(7, 8, 11, 0.94);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.header-container {
  max-width: 1360px;
  height: 100%;
  margin: 0 auto;
  padding: 0 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-monogram {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}

.monogram-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--gold-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.15) 0%, transparent 80%);
  color: var(--gold-light);
  font-family: var(--font-brand);
  font-size: 18px;
  font-weight: 700;
  box-shadow: var(--gold-glow);
}

.monogram-info {
  display: flex;
  flex-direction: column;
}

.monogram-title {
  font-family: var(--font-brand);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: #ffffff;
}

.monogram-sub {
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--gold-primary);
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.nav-link {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.05em;
  transition: var(--transition-smooth);
  position: relative;
}

.nav-link:hover {
  color: var(--gold-light);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.btn-ambient-sound {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text-muted);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.btn-ambient-sound:hover,
.btn-ambient-sound.active {
  background: rgba(212, 175, 55, 0.15);
  border-color: var(--gold-primary);
  color: var(--gold-light);
}

.btn-cta-gold {
  background: var(--gold-gradient);
  color: #07080b;
  padding: 10px 22px;
  border-radius: 30px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: var(--transition-smooth);
  box-shadow: 0 4px 18px rgba(212, 175, 55, 0.25);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-cta-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 26px rgba(212, 175, 55, 0.45);
}

.btn-cta-outline {
  background: rgba(255, 255, 255, 0.03);
  color: #ffffff;
  padding: 10px 22px;
  border-radius: 30px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-decoration: none;
  border: 1px solid rgba(212, 175, 55, 0.4);
  cursor: pointer;
  transition: var(--transition-smooth);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-cta-outline:hover {
  background: rgba(212, 175, 55, 0.1);
  border-color: var(--gold-primary);
  color: var(--gold-light);
}

.mobile-menu-btn {
  display: none;
  background: transparent;
  border: none;
  color: #ffffff;
  cursor: pointer;
}

/* ==========================================================================
   HERO MONUMENTAL
   ========================================================================== */
.pg-hero {
  position: relative;
  min-height: 100vh;
  padding-top: 140px;
  padding-bottom: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

#hero-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 980px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(212, 175, 55, 0.08);
  border: 1px solid var(--border-glow);
  padding: 6px 18px;
  border-radius: 40px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 24px;
  backdrop-filter: blur(8px);
}

.hero-title {
  font-family: var(--font-brand);
  font-size: clamp(38px, 6vw, 68px);
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1.1;
  margin-bottom: 14px;
}

.hero-subtitle {
  font-family: var(--font-serif);
  font-size: clamp(20px, 2.8vw, 32px);
  font-weight: 600;
  font-style: italic;
  color: var(--gold-light);
  margin-bottom: 28px;
}

.hero-hook {
  font-size: clamp(16px, 1.8vw, 19px);
  line-height: 1.8;
  color: #cbd5e1;
  max-width: 820px;
  margin: 0 auto 38px auto;
  font-weight: 400;
}

.hero-hook-em {
  color: #ffffff;
  font-weight: 600;
}

.hero-ctas {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 56px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  padding: 24px 32px;
  backdrop-filter: blur(12px);
  max-width: 900px;
  margin: 0 auto;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.stat-value {
  font-family: var(--font-brand);
  font-size: 32px;
  font-weight: 700;
  color: var(--gold-light);
  line-height: 1;
  margin-bottom: 6px;
}

.stat-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* ==========================================================================
   SECCIONES GENERALES
   ========================================================================== */
.pg-section {
  padding: 110px 0;
  position: relative;
  z-index: 2;
}

.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 64px auto;
}

.section-pill {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-primary);
  margin-bottom: 12px;
  display: block;
}

.section-title {
  font-family: var(--font-brand);
  font-size: clamp(28px, 4vw, 44px);
  letter-spacing: 0.04em;
  line-height: 1.2;
  margin-bottom: 18px;
}

.section-subtitle {
  font-size: 17px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ==========================================================================
   SECCIÓN: EL LIBRO VIVO (LIVING CODEX)
   ========================================================================== */
.living-codex-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.codex-visual {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--border-glow);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
}

.codex-visual img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.6s ease;
}

.codex-visual:hover img {
  transform: scale(1.02);
}

.codex-badge-float {
  position: absolute;
  bottom: 24px;
  left: 24px;
  right: 24px;
  background: rgba(7, 8, 11, 0.88);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  padding: 16px 20px;
  backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  gap: 14px;
}

.codex-info h3 {
  font-family: var(--font-serif);
  font-size: 28px;
  line-height: 1.3;
  margin-bottom: 20px;
}

.codex-p {
  color: #cbd5e1;
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 18px;
}

.codex-pillars {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 28px;
}

.pillar-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  padding: 18px;
  transition: var(--transition-smooth);
}

.pillar-card:hover {
  border-color: var(--border-glow);
  transform: translateY(-3px);
}

.pillar-card h4 {
  font-size: 14px;
  font-weight: 700;
  color: var(--gold-light);
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.pillar-card p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ==========================================================================
   SECCIÓN: BIOGRAFÍA DEL AUTOR (PAUL GALAGUER)
   ========================================================================== */
.author-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 56px;
  align-items: center;
}

.author-photo-wrapper {
  position: relative;
}

.author-photo-card {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--border-glow);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.7);
}

.author-photo-card img {
  width: 100%;
  height: auto;
  display: block;
}

.author-seal {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(7, 8, 11, 0.85);
  border: 1px solid var(--gold-primary);
  border-radius: 50%;
  width: 76px;
  height: 76px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  box-shadow: var(--gold-glow);
  backdrop-filter: blur(8px);
}

.author-seal-text {
  font-family: var(--font-brand);
  font-size: 8px;
  letter-spacing: 0.12em;
  color: var(--gold-light);
  text-transform: uppercase;
}

.author-bio-content h3 {
  font-family: var(--font-brand);
  font-size: clamp(24px, 3.2vw, 36px);
  margin-bottom: 12px;
}

.author-credentials {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.cred-tag {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 4px 14px;
  border-radius: 20px;
  font-size: 12px;
  color: var(--gold-light);
}

.author-quote-editorial {
  border-left: 3px solid var(--gold-primary);
  padding-left: 20px;
  margin: 28px 0;
  font-family: var(--font-serif);
  font-size: 18px;
  font-style: italic;
  color: #f1f5f9;
  line-height: 1.7;
}

.author-paragraphs p {
  color: #cbd5e1;
  font-size: 15px;
  line-height: 1.8;
  margin-bottom: 16px;
}

/* ==========================================================================
   SECCIÓN: SHOWCASE OBRA MAESTRA (USD 150)
   ========================================================================== */
.masterpiece-box {
  background: radial-gradient(circle at 50% 30%, rgba(212, 175, 55, 0.08) 0%, rgba(13, 16, 22, 0.95) 70%);
  border: 1px solid var(--border-glow);
  border-radius: 28px;
  padding: 64px 54px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.masterpiece-visual {
  position: relative;
  text-align: center;
}

.masterpiece-img {
  width: 100%;
  max-width: 480px;
  height: auto;
  border-radius: 20px;
  border: 1px solid var(--border-glow);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.9), 0 0 40px rgba(212, 175, 55, 0.2);
  transition: transform 0.5s ease;
}

.masterpiece-visual:hover .masterpiece-img {
  transform: translateY(-8px) scale(1.02);
}

.price-tag-badge {
  position: absolute;
  bottom: -15px;
  right: 20px;
  background: var(--gold-gradient);
  color: #07080b;
  padding: 12px 24px;
  border-radius: 30px;
  font-family: var(--font-brand);
  font-size: 20px;
  font-weight: 800;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6);
}

.masterpiece-details h3 {
  font-family: var(--font-brand);
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.2;
  margin-bottom: 12px;
}

.edition-features {
  list-style: none;
  margin: 28px 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.edition-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  color: #e2e8f0;
}

.feat-icon {
  color: var(--gold-light);
  margin-top: 2px;
  flex-shrink: 0;
}

.purchase-actions {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 32px;
}

.btn-purchase-primary {
  background: var(--gold-gradient);
  color: #07080b;
  padding: 16px 28px;
  border-radius: 36px;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  text-align: center;
  border: none;
  cursor: pointer;
  transition: var(--transition-smooth);
  box-shadow: 0 10px 30px rgba(212, 175, 55, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.btn-purchase-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 40px rgba(212, 175, 55, 0.55);
}

.purchase-sub-buttons {
  display: flex;
  gap: 14px;
}

.btn-sub-action {
  flex: 1;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #ffffff;
  padding: 12px 18px;
  border-radius: 30px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  transition: var(--transition-smooth);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-sub-action:hover {
  background: rgba(212, 175, 55, 0.12);
  border-color: var(--gold-primary);
  color: var(--gold-light);
}

/* ==========================================================================
   SECCIÓN: CATÁLOGO DE LOS 22 CÓDIGOS
   ========================================================================== */
.catalog-filters {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.filter-btn {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-muted);
  padding: 8px 20px;
  border-radius: 24px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.filter-btn:hover,
.filter-btn.active {
  background: rgba(212, 175, 55, 0.16);
  border-color: var(--gold-primary);
  color: var(--gold-light);
}

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 28px;
}

.book-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  overflow: hidden;
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
  position: relative;
  backdrop-filter: blur(12px);
}

.book-card:hover {
  transform: translateY(-8px);
  border-color: var(--border-glow);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6), 0 0 20px rgba(212, 175, 55, 0.15);
}

.book-card-cover-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 3/4;
  overflow: hidden;
  background: #000000;
}

.book-card-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.book-card:hover .book-card-cover {
  transform: scale(1.05);
}

.book-badge-num {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(7, 8, 11, 0.88);
  border: 1px solid var(--gold-primary);
  padding: 4px 10px;
  border-radius: 20px;
  font-family: var(--font-brand);
  font-size: 11px;
  font-weight: 700;
  color: var(--gold-light);
  backdrop-filter: blur(8px);
}

.book-badge-free {
  position: absolute;
  top: 14px;
  right: 14px;
  background: rgba(16, 185, 129, 0.9);
  color: #ffffff;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.book-card-content {
  padding: 22px 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.book-discipline-tag {
  font-size: 11px;
  font-weight: 700;
  color: var(--gold-primary);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.book-card-title {
  font-family: var(--font-brand);
  font-size: 17px;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.3;
  margin-bottom: 10px;
}

.book-card-synopsis {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 16px;
  flex-grow: 1;
}

.book-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 12px;
  margin-bottom: 16px;
  font-size: 12px;
  color: var(--text-dim);
}

.book-pricing-box {
  display: flex;
  align-items: center;
  gap: 8px;
}

.crossed-price {
  text-decoration: line-through;
  color: #ef4444;
  font-size: 12px;
  font-weight: 600;
}

.free-pill {
  color: #10b981;
  font-weight: 800;
  font-size: 12px;
}

.btn-read-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-subtle);
  color: #ffffff;
  padding: 10px 16px;
  border-radius: 26px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-align: center;
  cursor: pointer;
  transition: var(--transition-smooth);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-read-card:hover {
  background: var(--gold-gradient);
  border-color: var(--gold-primary);
  color: #07080b;
}

/* ==========================================================================
   SECCIÓN: DOLORES HUMANOS & GANCHO PSICOLÓGICO
   ========================================================================== */
.pain-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.pain-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  padding: 32px 24px;
  backdrop-filter: blur(12px);
  position: relative;
  transition: var(--transition-smooth);
}

.pain-card:hover {
  border-color: var(--border-glow);
  transform: translateY(-5px);
}

.pain-number {
  font-family: var(--font-brand);
  font-size: 36px;
  font-weight: 800;
  color: rgba(212, 175, 55, 0.25);
  margin-bottom: 16px;
}

.pain-title {
  font-family: var(--font-serif);
  font-size: 19px;
  color: #ffffff;
  margin-bottom: 12px;
}

.pain-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ==========================================================================
   SECCIÓN: CHECKOUT & CONTACTO DIRECTO
   ========================================================================== */
.checkout-box {
  background: radial-gradient(circle at 50% 50%, rgba(212, 175, 55, 0.06) 0%, rgba(13, 16, 22, 0.98) 70%);
  border: 1px solid var(--border-glow);
  border-radius: 28px;
  padding: 56px 44px;
  max-width: 960px;
  margin: 0 auto;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.8);
}

.checkout-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

.checkout-channels {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.channel-btn {
  padding: 16px 22px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  gap: 16px;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  transition: var(--transition-smooth);
}

.channel-whatsapp {
  background: rgba(37, 211, 102, 0.12);
  border: 1px solid rgba(37, 211, 102, 0.35);
  color: #25d366;
}

.channel-whatsapp:hover {
  background: rgba(37, 211, 102, 0.22);
  border-color: #25d366;
  transform: translateX(4px);
}

.channel-paypal {
  background: rgba(0, 112, 186, 0.12);
  border: 1px solid rgba(0, 112, 186, 0.35);
  color: #38bdf8;
}

.channel-paypal:hover {
  background: rgba(0, 112, 186, 0.22);
  border-color: #38bdf8;
  transform: translateX(4px);
}

.channel-hotmart {
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.35);
  color: #f87171;
}

.channel-hotmart:hover {
  background: rgba(239, 68, 68, 0.22);
  border-color: #f87171;
  transform: translateX(4px);
}

.checkout-info-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  padding: 28px;
}

.checkout-info-card h4 {
  font-family: var(--font-brand);
  font-size: 16px;
  color: var(--gold-light);
  margin-bottom: 14px;
}

.checkout-info-card p {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 12px;
}

.contact-meta-row {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: #e2e8f0;
}

/* ==========================================================================
   FOOTER EDITORIAL
   ========================================================================== */
.pg-footer {
  background: #040507;
  border-top: 1px solid var(--border-subtle);
  padding: 80px 0 40px 0;
  position: relative;
  z-index: 2;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 60px;
}

.footer-brand h4 {
  font-family: var(--font-brand);
  font-size: 18px;
  letter-spacing: 0.12em;
  margin-bottom: 12px;
}

.footer-brand p {
  font-size: 13.5px;
  color: var(--text-dim);
  line-height: 1.7;
  max-width: 320px;
}

.footer-col h5 {
  font-family: var(--font-brand);
  font-size: 13px;
  letter-spacing: 0.1em;
  color: var(--gold-light);
  margin-bottom: 18px;
  text-transform: uppercase;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col a {
  color: var(--text-dim);
  text-decoration: none;
  font-size: 13px;
  transition: var(--transition-smooth);
}

.footer-col a:hover {
  color: var(--gold-light);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 12px;
  color: var(--text-dim);
}

/* ==========================================================================
   MODAL DE LECTURA IN-SITU (OVERLAY ENGINE)
   ========================================================================== */
#reader-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #07080b;
  z-index: 9999;
  display: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

#reader-modal-overlay.active {
  display: block;
  opacity: 1;
}

.reader-modal-bar {
  position: absolute;
  top: 10px;
  right: 18px;
  z-index: 10000;
  display: flex;
  align-items: center;
  gap: 12px;
  pointer-events: none;
}

.btn-close-reader {
  pointer-events: auto;
  background: rgba(7, 8, 11, 0.88);
  border: 1px solid rgba(212, 175, 55, 0.45);
  color: #f5e29f;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.6);
  transition: all 0.3s ease;
}

.btn-close-reader:hover {
  background: rgba(239, 68, 68, 0.25);
  border-color: #ef4444;
  color: #ffffff;
}

.reader-iframe-container {
  width: 100vw;
  height: 100vh;
  position: absolute;
  top: 0;
  left: 0;
}

.reader-iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* ==========================================================================
   MODAL DE CHECKOUT (LIGHTBOX)
   ========================================================================== */
#checkout-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(12px);
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

#checkout-modal.active {
  display: flex;
  opacity: 1;
}

.checkout-modal-content {
  background: #0d0f14;
  border: 1px solid var(--border-glow);
  border-radius: 24px;
  max-width: 580px;
  width: 100%;
  padding: 40px;
  position: relative;
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.9);
}

.modal-close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  background: transparent;
  border: none;
  color: var(--text-dim);
  font-size: 24px;
  cursor: pointer;
  transition: color 0.2s;
}

.modal-close-btn:hover {
  color: #ffffff;
}

/* ==========================================================================
   RESPONSIVE DESIGN (TABLET & MOBILE)
   ========================================================================== */
@media (max-width: 1024px) {
  .masterpiece-box,
  .living-codex-grid,
  .author-grid,
  .checkout-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .pain-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .mobile-menu-btn {
    display: block;
  }

  .pain-grid {
    grid-template-columns: 1fr;
  }

  .hero-stats {
    grid-template-columns: 1fr 1fr;
    padding: 18px 20px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .masterpiece-box {
    padding: 36px 24px;
  }

  .checkout-box {
    padding: 36px 20px;
  }
}


/* ==========================================================================
   ACTUALIZACIÓN V2.5: TOP BAR DE TARJETAS, EXPANSOR DE PORTADAS & VIDEO MODAL
   ========================================================================== */

/* Top bar de tarjeta sin superposición con la portada */
.book-card-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  background: rgba(10, 12, 17, 0.95);
  border-bottom: 1px solid rgba(212, 175, 55, 0.2);
  z-index: 5;
}

.book-card-top-bar .book-badge-num {
  position: static;
  background: rgba(212, 175, 55, 0.12);
  border: 1px solid var(--gold-primary);
  padding: 3px 8px;
  border-radius: 12px;
  font-family: var(--font-brand);
  font-size: 11px;
  font-weight: 700;
  color: var(--gold-light);
}

.book-card-top-bar .book-discipline-pill {
  font-size: 11px;
  font-weight: 700;
  color: var(--gold-light);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.book-card-top-bar .book-badge-free {
  position: static;
  background: rgba(16, 185, 129, 0.85);
  color: #ffffff;
  padding: 3px 8px;
  border-radius: 12px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* Cover Wrap con animación de expansión majestuosa */
.book-card-cover-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 3/4;
  overflow: hidden;
  background: #000000;
  cursor: pointer;
}

.book-card-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), filter 0.6s ease;
}

.book-card:hover .book-card-cover {
  transform: scale(1.08) translateY(-4px);
  filter: brightness(1.08) drop-shadow(0 15px 30px rgba(212, 175, 55, 0.35));
}

.cover-expand-hint {
  position: absolute;
  inset: 0;
  background: rgba(7, 8, 11, 0.65);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  opacity: 0;
  transition: opacity 0.3s ease;
  color: var(--gold-light);
  font-family: var(--font-brand);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  backdrop-filter: blur(4px);
  pointer-events: none;
}

.book-card-cover-wrap:hover .cover-expand-hint {
  opacity: 1;
}

/* Botones dobles de tarjeta (Leer + Tráiler) */
.book-card-buttons {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  margin-top: auto;
}

.btn-video-card {
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid rgba(212, 175, 55, 0.35);
  color: var(--gold-light);
  padding: 10px 14px;
  border-radius: 26px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition-smooth);
}

.btn-video-card:hover {
  background: var(--gold-primary);
  color: #07080b;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
}

/* ==========================================================================
   SECCIÓN DE VIDEO CINEMATOGRÁFICO MAESTRO
   ========================================================================== */
.pg-video-showcase {
  padding: 90px 0;
  position: relative;
  z-index: 2;
  background: radial-gradient(circle at 50% 50%, rgba(212, 175, 55, 0.05) 0%, rgba(7, 8, 11, 0.95) 75%);
}

.video-frame-container {
  max-width: 960px;
  margin: 0 auto;
  position: relative;
  border-radius: 24px;
  padding: 8px;
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.5) 0%, rgba(255, 255, 255, 0.1) 50%, rgba(153, 122, 21, 0.5) 100%);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.9), 0 0 50px rgba(212, 175, 55, 0.2);
}

.video-player-wrap {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  background: #000000;
  aspect-ratio: 16/9;
}

.main-video-player {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.video-controls-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px 24px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, transparent 100%);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* ==========================================================================
   MODAL DE INSPECCIÓN DE PORTADA EN ALTA RESOLUCIÓN (LIGHTBOX COVER)
   ========================================================================== */
#cover-inspector-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  z-index: 10001;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 30px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

#cover-inspector-modal.active {
  display: flex;
  opacity: 1;
}

.cover-inspector-content {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 40px;
  max-width: 900px;
  width: 100%;
  background: #0c0e14;
  border: 1px solid var(--border-glow);
  border-radius: 28px;
  padding: 36px;
  position: relative;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.95), 0 0 40px rgba(212, 175, 55, 0.25);
  animation: coverZoomIn 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes coverZoomIn {
  from { transform: scale(0.9) translateY(20px); opacity: 0; }
  to { transform: scale(1) translateY(0); opacity: 1; }
}

.cover-large-img-wrap {
  width: 340px;
  aspect-ratio: 3/4;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8), 0 0 30px rgba(212, 175, 55, 0.3);
  border: 1px solid var(--border-glow);
}

.cover-large-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.cover-details-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* ==========================================================================
   MODAL DE VIDEO / TRÁILER MULTIMEDIA DE LIBRO
   ========================================================================== */
#book-video-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.92);
  backdrop-filter: blur(16px);
  z-index: 10002;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 30px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

#book-video-modal.active {
  display: flex;
  opacity: 1;
}

.book-video-modal-content {
  max-width: 860px;
  width: 100%;
  background: #0c0e14;
  border: 1px solid var(--border-glow);
  border-radius: 28px;
  padding: 32px;
  position: relative;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.95);
}

@media (max-width: 860px) {
  .cover-inspector-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .cover-large-img-wrap {
    margin: 0 auto;
    width: 240px;
  }
}

/* ==========================================================================
   BOTÓN CONMUTADOR DE TEMA (LIGHT / DARK SWITCHER)
   ========================================================================== */
.btn-theme-toggle {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--gold-light);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.btn-theme-toggle:hover {
  background: rgba(212, 175, 55, 0.18);
  border-color: var(--gold-primary);
  transform: scale(1.06);
  box-shadow: 0 0 15px rgba(212, 175, 55, 0.35);
}

.btn-theme-toggle .theme-icon-sun {
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-theme-toggle .theme-icon-moon {
  display: none;
}

/* Clases de Fondos Alternados Adaptativos */
.pg-section-alt {
  background: rgba(13, 16, 22, 0.5);
}

.pg-section-contrast {
  background: rgba(13, 16, 22, 0.6);
}

/* ==========================================================================
   TEMA CLARO DE LUJO (LUXURY PURE WHITE & IMPERIAL GOLD | APPLE WELLNESS)
   ========================================================================== */
html.theme-light,
body.theme-light {
  --bg-primary: #ffffff;
  --bg-secondary: #fbf9f5;
  --bg-card: rgba(255, 255, 255, 0.94);
  --bg-glass: rgba(255, 255, 255, 0.88);
  --border-subtle: rgba(184, 134, 11, 0.22);
  --border-glow: rgba(184, 134, 11, 0.45);
  --gold-primary: #b8860b;
  --gold-light: #8c6708;
  --gold-dark: #664d05;
  --gold-gradient: linear-gradient(135deg, #c59b27 0%, #b8860b 50%, #8c6708 100%);
  --gold-glow: 0 4px 20px rgba(184, 134, 11, 0.18);
  --text-main: #18191d;
  --text-muted: #525866;
  --text-dim: #717784;
  background-color: #ffffff;
  color: #18191d;
}

body.theme-light::before {
  background: radial-gradient(circle at 50% 12%, rgba(212, 175, 55, 0.09) 0%, transparent 60%),
              radial-gradient(circle at 85% 65%, rgba(245, 238, 228, 0.6) 0%, transparent 50%),
              radial-gradient(circle at 15% 85%, rgba(184, 134, 11, 0.05) 0%, transparent 55%);
}

/* Conmutador en Modo Claro */
body.theme-light .btn-theme-toggle .theme-icon-sun {
  display: none;
}

body.theme-light .btn-theme-toggle .theme-icon-moon {
  display: flex;
  align-items: center;
  justify-content: center;
}

body.theme-light .btn-theme-toggle {
  background: rgba(184, 134, 11, 0.08);
  border: 1px solid rgba(184, 134, 11, 0.35);
  color: #8c6708;
}

body.theme-light .btn-theme-toggle:hover {
  background: rgba(184, 134, 11, 0.2);
  border-color: #b8860b;
  color: #5c4305;
  box-shadow: 0 2px 12px rgba(184, 134, 11, 0.25);
}

/* Tipografía en Modo Claro */
body.theme-light h1,
body.theme-light h2,
body.theme-light h3,
body.theme-light h4 {
  color: #111215;
}

body.theme-light .hero-hook-em,
body.theme-light .section-title,
body.theme-light .monogram-title {
  color: #111215;
}

body.theme-light .monogram-icon {
  background: radial-gradient(circle, rgba(212, 175, 55, 0.2) 0%, #ffffff 80%);
  color: #8c6708;
  border-color: #b8860b;
  box-shadow: 0 2px 10px rgba(184, 134, 11, 0.15);
}

body.theme-light .monogram-sub {
  color: #8c6708;
}

/* Header en Modo Claro */
body.theme-light .pg-header {
  background: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid rgba(184, 134, 11, 0.2);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

body.theme-light .pg-header.scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

body.theme-light .nav-link {
  color: #525866;
}

body.theme-light .nav-link:hover {
  color: #b8860b;
}

/* Secciones Alternadas en Modo Claro */
body.theme-light .pg-section-alt {
  background: #fbf9f5;
  border-top: 1px solid rgba(184, 134, 11, 0.12);
  border-bottom: 1px solid rgba(184, 134, 11, 0.12);
}

body.theme-light .pg-section-contrast {
  background: #f4efe6;
  border-top: 1px solid rgba(184, 134, 11, 0.15);
  border-bottom: 1px solid rgba(184, 134, 11, 0.15);
}

/* Tarjetas y Cajas de Contenido en Modo Claro */
body.theme-light .book-card,
body.theme-light .book-card-v2 {
  background: #ffffff;
  border: 1px solid rgba(184, 134, 11, 0.22);
  box-shadow: 0 10px 30px rgba(184, 134, 11, 0.08), 0 2px 8px rgba(0, 0, 0, 0.04);
}

body.theme-light .book-card:hover,
body.theme-light .book-card-v2:hover {
  border-color: #b8860b;
  box-shadow: 0 20px 45px rgba(184, 134, 11, 0.18), 0 4px 12px rgba(0, 0, 0, 0.06);
}

body.theme-light .book-card-top-bar {
  background: #fbf9f5;
  border-bottom: 1px solid rgba(184, 134, 11, 0.18);
}

body.theme-light .book-card-top-bar .book-badge-num {
  background: rgba(184, 134, 11, 0.1);
  border-color: #b8860b;
  color: #8c6708;
}

body.theme-light .book-card-top-bar .book-discipline-pill {
  color: #8c6708;
}

body.theme-light .book-card-title {
  color: #111215;
}

body.theme-light .book-card-synopsis {
  color: #525866;
}

body.theme-light .book-card-meta {
  border-top: 1px solid rgba(184, 134, 11, 0.15);
  color: #717784;
}

body.theme-light .book-card-cover-wrap {
  background: #fbf9f5;
}

body.theme-light .cover-expand-hint {
  background: rgba(255, 255, 255, 0.88);
  color: #8c6708;
}

body.theme-light .masterpiece-box {
  background: linear-gradient(135deg, #ffffff 0%, #fbf9f5 100%);
  border: 1px solid rgba(184, 134, 11, 0.35);
  box-shadow: 0 20px 60px rgba(184, 134, 11, 0.12), 0 4px 16px rgba(0, 0, 0, 0.04);
}

body.theme-light .checkout-box {
  background: linear-gradient(135deg, #ffffff 0%, #fbf9f5 100%);
  border: 1px solid rgba(184, 134, 11, 0.35);
  box-shadow: 0 20px 60px rgba(184, 134, 11, 0.12), 0 4px 16px rgba(0, 0, 0, 0.04);
}

body.theme-light .pain-card {
  background: #ffffff;
  border: 1px solid rgba(184, 134, 11, 0.2);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
}

body.theme-light .pain-title {
  color: #111215;
}

body.theme-light .feature-card {
  background: #ffffff;
  border: 1px solid rgba(184, 134, 11, 0.2);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
}

body.theme-light .author-photo-card {
  box-shadow: 0 20px 50px rgba(184, 134, 11, 0.18);
  border-color: rgba(184, 134, 11, 0.3);
}

body.theme-light .author-seal {
  background: radial-gradient(circle, #b8860b 0%, #8c6708 100%);
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(184, 134, 11, 0.3);
}

body.theme-light .video-frame-container {
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12), 0 0 30px rgba(184, 134, 11, 0.15);
  border: 1px solid rgba(184, 134, 11, 0.3);
  background: linear-gradient(135deg, rgba(184, 134, 11, 0.3) 0%, rgba(255, 255, 255, 0.8) 50%, rgba(184, 134, 11, 0.3) 100%);
}

/* Botones en Modo Claro */
body.theme-light .btn-cta-outline {
  border-color: #b8860b;
  color: #8c6708;
  background: rgba(184, 134, 11, 0.06);
}

body.theme-light .btn-cta-outline:hover {
  background: rgba(184, 134, 11, 0.15);
  color: #5c4305;
}

body.theme-light .btn-sub-action {
  border-color: rgba(184, 134, 11, 0.3);
  color: #18191d;
  background: #ffffff;
}

body.theme-light .btn-sub-action:hover {
  border-color: #b8860b;
  background: #fbf9f5;
  color: #8c6708;
}

body.theme-light .btn-read-card {
  background: #ffffff;
  border-color: #b8860b;
  color: #8c6708;
}

body.theme-light .btn-read-card:hover {
  background: #b8860b;
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(184, 134, 11, 0.3);
}

body.theme-light .btn-video-card {
  background: rgba(184, 134, 11, 0.08);
  border-color: rgba(184, 134, 11, 0.3);
  color: #8c6708;
}

body.theme-light .btn-video-card:hover {
  background: var(--gold-primary);
  color: #ffffff;
  border-color: #b8860b;
  box-shadow: 0 4px 15px rgba(184, 134, 11, 0.3);
}

body.theme-light .btn-ambient-sound {
  background: rgba(0, 0, 0, 0.04);
  border-color: rgba(0, 0, 0, 0.12);
  color: #525866;
}

body.theme-light .btn-ambient-sound:hover,
body.theme-light .btn-ambient-sound.active {
  background: rgba(184, 134, 11, 0.15);
  border-color: #b8860b;
  color: #8c6708;
}

/* Modals en Modo Claro */
body.theme-light .cover-inspector-content,
body.theme-light .book-video-modal-content,
body.theme-light .checkout-modal-content {
  background: #ffffff;
  border-color: rgba(184, 134, 11, 0.4);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.25), 0 0 30px rgba(184, 134, 11, 0.15);
  color: #18191d;
}

body.theme-light .cover-inspector-content h3,
body.theme-light .book-video-modal-content h3,
body.theme-light .checkout-modal-content h3 {
  color: #111215;
}

body.theme-light .modal-close-btn {
  color: #717784;
  background: rgba(0, 0, 0, 0.05);
}

body.theme-light .modal-close-btn:hover {
  color: #111215;
  background: rgba(0, 0, 0, 0.1);
}

/* Badges, Etiquetas, Filtros y Footer en Modo Claro */
body.theme-light .section-pill {
  background: rgba(184, 134, 11, 0.1);
  border-color: rgba(184, 134, 11, 0.3);
  color: #8c6708;
}

body.theme-light .cred-tag {
  background: rgba(184, 134, 11, 0.08);
  border-color: rgba(184, 134, 11, 0.25);
  color: #525866;
}

body.theme-light .filter-btn {
  background: #ffffff;
  border-color: rgba(184, 134, 11, 0.25);
  color: #525866;
}

body.theme-light .filter-btn:hover {
  border-color: #b8860b;
  color: #8c6708;
}

body.theme-light .filter-btn.active {
  background: linear-gradient(135deg, #c59b27 0%, #b8860b 100%);
  color: #ffffff;
  border-color: #8c6708;
  box-shadow: 0 4px 15px rgba(184, 134, 11, 0.25);
}

body.theme-light .site-footer {
  background: #f4efe6;
  border-top: 1px solid rgba(184, 134, 11, 0.2);
  color: #525866;
}

body.theme-light .footer-title {
  color: #111215;
}

body.theme-light .footer-copy {
  color: #717784;
}

body.theme-light .footer-link {
  color: #525866;
}

body.theme-light .footer-link:hover {
  color: #b8860b;
}

