:root {
  --cream: #F5F0E8;
  --ink: #1A1612;
  --rust: #C4441C;
  --gold: #D4A843;
  --muted: #7A7268;
  --border: #E2D9C8;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  background: var(--cream);
  color: var(--ink);
  font-family: 'DM Sans', sans-serif;
  font-weight: 300;
  line-height: 1.6;
  overflow-x: hidden;
}

/* ─────────────── NAV ─────────────── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.2rem 4rem;
  background: rgba(245,240,232,0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.nav-link {
  font-size: 0.8rem; font-weight: 600; letter-spacing: 0.08em;
  text-transform: uppercase; text-decoration: none;
  color: white;
  background: var(--rust);
  padding: 0.6rem 1.35rem;
  border: 2px solid var(--rust);
  transition: background 0.22s, color 0.22s, transform 0.18s, box-shadow 0.22s;
  animation: nav-pulse 2.8s ease-in-out infinite;
}
.nav-link:hover {
  background: transparent;
  color: var(--rust);
  transform: translateY(-1px);
  box-shadow: 0 4px 18px rgba(196,68,28,0.35);
  animation: none;
}
@keyframes nav-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(196,68,28,0.45); }
  50%       { box-shadow: 0 0 0 7px rgba(196,68,28,0); }
}

nav img {
  width: 150px;
  object-fit: contain;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.nav-icon {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  text-decoration: none;
  border: 1px solid rgba(26,22,18,0.12);
  border-radius: 999px;
  background: rgba(255,255,255,0.45);
  opacity: 0.78;
  transition: transform 0.2s ease, opacity 0.2s ease, color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.nav-icon:hover {
  opacity: 1;
  color: var(--rust);
  border-color: rgba(196,68,28,0.35);
  background: rgba(255,255,255,0.75);
  transform: translateY(-1px);
}

/* ─────────────── HERO ─────────────── */
.hero {
  min-height: 100vh;
  display: none; grid-template-columns: 1fr 1fr;
  align-items: center;
  padding: 8rem 4rem 4rem; gap: 4rem; position: relative;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 80% at 70% 50%, rgba(212,168,67,0.08) 0%, transparent 70%);
  pointer-events: none;
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 0.75rem; font-weight: 500; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--rust); margin-bottom: 1.2rem;
}
.hero-eyebrow::before { content: ''; display: block; width: 28px; height: 1px; background: var(--rust); }
.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.8rem, 5vw, 4.5rem);
  line-height: 1.08; font-weight: 700;
  letter-spacing: -0.03em; margin-bottom: 1.5rem;
}
.hero h1 em { font-style: italic; color: var(--rust); }
.hero-sub { font-size: 1.05rem; color: var(--muted); max-width: 440px; margin-bottom: 2.5rem; }
.btn-primary {
  display: inline-flex; align-items: center; gap: 1rem;
  background: linear-gradient(135deg, var(--rust) 0%, #E05528 100%);
  color: white;
  padding: 1.1rem 2.2rem; font-size: 0.9rem; font-weight: 600;
  text-decoration: none; letter-spacing: 0.02em;
  transition: transform 0.2s, box-shadow 0.25s, background 0.25s;
  cursor: pointer; border: none;
  box-shadow: 0 4px 24px rgba(196,68,28,0.38);
  position: relative; overflow: hidden;
}
.btn-primary::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.12) 0%, transparent 60%);
  pointer-events: none;
}
.btn-primary-text {
  display: flex; flex-direction: column; gap: 0.15rem;
}
.btn-primary-label {
  font-size: 1rem; font-weight: 700; line-height: 1.1;
}
.btn-primary-sub {
  font-size: 0.72rem; font-weight: 400; opacity: 0.82;
  letter-spacing: 0.04em; text-transform: uppercase;
}
.btn-arrow {
  flex-shrink: 0;
  transition: transform 0.22s ease;
}
.btn-primary:hover {
  background: linear-gradient(135deg, #E05528 0%, var(--rust) 100%);
  transform: translateY(-3px);
  box-shadow: 0 10px 36px rgba(196,68,28,0.5);
}
.btn-primary:hover .btn-arrow { transform: translateX(5px); }

.hero-visual { position: relative; display: flex; justify-content: center; align-items: center; }

/* ── Hotmart / platform badge above hero text ── */
.hero-platform-badge {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5rem;
  margin-bottom: 1.4rem;
}
.hero-hotmart-img {
  width: 250px;
  display: block;
  object-fit: contain;
}
.hero-bestseller-label {
  font-size: 1.2rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  display: flex;
  align-items: center;
  gap: 0.3rem;
  padding-left: 0.1rem;
}

/* ── Book showcase ── */
.hero-book-showcase {
  position: relative;
  width: 450px;
  transform: rotate(-2deg);
  animation: book-float 6s ease-in-out infinite;
  transition: transform 0.4s ease;
}
.hero-book-showcase:hover { transform: rotate(0deg) scale(1.02); animation-play-state: paused;}

@keyframes book-float {
  0%, 100% { transform: rotate(-2deg) translateY(0px); }
  50%       { transform: rotate(-2.5deg) translateY(-7px); }
}

/* Ambient glow behind the book */
.hero-book-showcase::before {
  content: '';
  position: absolute;
  inset: -32px;
  background: radial-gradient(ellipse at 50% 60%,
    rgba(212,168,67,0.22) 0%,
    rgba(196,68,28,0.10) 45%,
    transparent 70%);
  border-radius: 50%;
  z-index: 0;
  pointer-events: none;
}

/* Sheen — light streak across the cover */
.hero-book-showcase::after {
  content: '';
  position: absolute;
  top: -10%; left: -30%;
  width: 55%; height: 130%;
  background: linear-gradient(105deg,
    transparent 0%,
    rgba(255,255,255,0.06) 48%,
    rgba(255,255,255,0.11) 50%,
    rgba(255,255,255,0.06) 52%,
    transparent 100%);
  z-index: 2;
  pointer-events: none;
  border-radius: 2px;
  animation: sheen 7s ease-in-out infinite 2s;
  will-change: left, opacity;
}
@keyframes sheen {
  0%   { left: -30%; opacity: 0; }
  8%   { opacity: 1; }
  32%  { left: 110%; opacity: 1; }
  33%  { opacity: 0; left: 110%; }
  100% { opacity: 0; left: 110%; }
}

.hero-book-img {
  width: 100%;
  display: block;
  border-radius: 3px;
  position: relative; z-index: 1;
  box-shadow:
    inset 10px 0 20px rgba(0,0,0,0.3),
    0 24px 56px rgba(0,0,0,0.28),
    0 4px 12px rgba(0,0,0,0.14);
}

/* Placeholder shown when image fails to load */
.hero-book-placeholder {
  display: none;
  width: 100%;
  aspect-ratio: 2/3;
  background: linear-gradient(135deg, #2C3E50, #4CA1AF);
  border-radius: 3px;
  position: relative; z-index: 1;
  align-items: center; justify-content: center;
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem; font-style: italic;
  color: rgba(255,255,255,0.85);
  text-align: center; padding: 1.5rem;
  text-shadow: 0 2px 8px rgba(0,0,0,0.3);
  box-shadow: inset 10px 0 20px rgba(0,0,0,0.3), 0 24px 56px rgba(0,0,0,0.28);
}

/* Floating "Nuevo" tag — rendered by JS from data-label */
.float-tag {
  position: absolute; background: var(--gold); color: var(--ink);
  font-size: 0.7rem; font-weight: 500; letter-spacing: 0.06em;
  text-transform: uppercase; padding: 0.35rem 0.8rem;
  top: -14px; right: -14px; z-index: 2;
  animation: floatY 3s ease-in-out infinite;
}
/* Discount badge — rendered by JS from data-discount */
.hero-discount-badge {
  position: absolute;
  bottom: -25px;
  left: -58px;
  z-index: 2;

  border: #F5F0E8 solid 4px;

  width: 150px;
  height: 150px;

  background: var(--rust);
  color: white;

  border-radius: 50%;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  text-transform: uppercase;

  animation: floatY 3s ease-in-out infinite 1.5s;

  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.discount-number {
  font-size: 1.8rem;
  font-weight: 700;
  line-height: 1;
}

.discount-text {
  font-size: 1.8rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  margin-top: 2px;
  line-height: 1;
}
@keyframes floatY { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* ─────────────── BENEFITS ─────────────── */
.benefits { padding: 6rem 4rem; border-top: 1px solid var(--border); }
.section-label {
  font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--rust); font-weight: 500; margin-bottom: 0.8rem;
}
.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 700; line-height: 1.2;
  letter-spacing: -0.02em; margin-bottom: 3.5rem; max-width: 520px;
}
.benefits-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px,1fr)); gap: 2.5rem; }
.benefit-item { padding-top: 1.5rem; border-top: 2px solid var(--border); transition: border-color 0.3s; }
.benefit-item:hover { border-color: var(--rust); }
.benefit-icon { font-size: 1.8rem; margin-bottom: 1rem; }
.benefit-item h3 { font-family: 'Playfair Display', serif; font-size: 1.1rem; margin-bottom: 0.6rem; }
.benefit-item p { font-size: 0.9rem; color: var(--muted); line-height: 1.7; }

/* ─────────────── CATALOG ─────────────── */
.catalog { padding: 6rem 4rem; background: var(--ink); color: var(--cream); margin-top: 90px; }
.catalog .section-label { color: var(--gold); }
.catalog .section-title { color: var(--cream); }
.books-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 2rem; }

/* ─────────────── EBOOK CARD ─────────────── */
.ebook-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  overflow: hidden; cursor: pointer;
  transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
}
.ebook-card:hover { transform: translateY(-6px); border-color: var(--gold); box-shadow: 0 24px 48px rgba(0,0,0,0.3); }

.ebook-cover {
  height: auto; position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  background: #111;
  max-height: 357px;
}
.ebook-cover img {
  width: 357px; height: auto; object-fit: contain;
  display: block; transition: transform 0.4s ease;
}
.ebook-card:hover .ebook-cover img { transform: scale(1.04); }
.ebook-cover-fallback {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Playfair Display', serif; font-size: 1.3rem; font-style: italic;
  color: rgba(255,255,255,0.9); text-align: center; padding: 1.5rem;
  text-shadow: 0 2px 12px rgba(0,0,0,0.4);
}
.ebook-cover-overlay {
  position: absolute; inset: 0; background: rgba(0,0,0,0.10); transition: background 0.3s;
}
.ebook-card:hover .ebook-cover-overlay { background: rgba(0,0,0,0.22); }

/* ── Discount badge on card cover (top-left) ── */
.ebook-cover-discount {
  position: absolute; top: 10px; left: 10px; z-index: 3;
  background: var(--rust); color: #fff;
  font-size: 0.68rem; font-weight: 700; letter-spacing: 0.07em;
  text-transform: uppercase; padding: 0.3rem 0.65rem;
  line-height: 1.4;
  box-shadow: 0 2px 8px rgba(0,0,0,0.35);
  pointer-events: none;
}

.ebook-cover-hint {
  position: absolute; bottom: 10px; right: 10px; z-index: 2;
  background: var(--gold); color: var(--ink);
  font-size: 0.68rem; font-weight: 500; letter-spacing: 0.06em;
  text-transform: uppercase; padding: 0.3rem 0.7rem;
  opacity: 0; transform: translateY(4px);
  transition: opacity 0.25s, transform 0.25s;
}
.ebook-card:hover .ebook-cover-hint { opacity: 1; transform: translateY(0); }

.ebook-body { padding: 1.4rem; }
.ebook-category { font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold); font-weight: 500; margin-bottom: 0.4rem; }
.ebook-title { font-family: 'Playfair Display', serif; font-size: 1.05rem; line-height: 1.3; margin-bottom: 0.45rem; color: var(--cream); }
.ebook-desc { font-size: 0.82rem; color: rgba(245,240,232,0.5); line-height: 1.6; margin-bottom: 1.2rem; }
.ebook-footer { display: flex; align-items: center; justify-content: space-between; border-top: 1px solid rgba(255,255,255,0.08); padding-top: 1rem; gap: 0.5rem; }
.ebook-price-block { display: flex; flex-direction: column; justify-content: center; }
.ebook-price { font-size: 1.2rem; font-weight: 500; color: var(--gold); white-space: nowrap; }
.ebook-price-original { font-size: 0.8rem; color: rgba(245,240,232,0.35); text-decoration: line-through; display: block; line-height: 1.2; }
.ebook-discount-badge {
  display: inline-block; background: var(--rust); color: white;
  font-size: 0.65rem; font-weight: 500; letter-spacing: 0.06em;
  text-transform: uppercase; padding: 0.2rem 0.5rem; margin-left: 0.3rem;
  vertical-align: middle;
}
.btn-details {
  background: transparent; color: rgba(245,240,232,0.6);
  border: 1px solid rgba(255,255,255,0.15);
  padding: 0.48rem 0.9rem; font-size: 0.75rem; font-weight: 500; cursor: pointer;
  transition: all 0.2s; white-space: nowrap;
}
.btn-details:hover { border-color: var(--gold); color: var(--gold); }
.btn-buy {
  display: inline-flex; align-items: center; gap: 0.4rem;
  background: var(--rust); color: white;
  padding: 0.5rem 1rem; font-size: 0.78rem; font-weight: 500; letter-spacing: 0.03em;
  text-decoration: none; border: none; cursor: pointer;
  transition: background 0.2s, transform 0.15s; white-space: nowrap;
}
.btn-buy:hover { background: #E05020; transform: scale(1.04); }

/* ─────────────── TOPICS ─────────────── */
.topics { padding: 6rem 4rem; border-top: 1px solid var(--border); }
.topics-flex { display: flex; gap: 5rem; align-items: flex-start; flex-wrap: wrap; }
.topics-text { flex: 1; min-width: 280px; }
.topics-tags { flex: 1; min-width: 280px; }
.tag-cloud { display: flex; flex-wrap: wrap; gap: 0.7rem; }
.tag { padding: 0.5rem 1.1rem; border: 1px solid var(--border); font-size: 0.82rem; color: var(--muted); transition: all 0.2s; cursor: default; }
.tag:hover { border-color: var(--rust); color: var(--rust); background: rgba(196,68,28,0.04); }

/* ─────────────── FOOTER ─────────────── */
footer {
  padding: 2.5rem 4rem; border-top: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem;
}
footer p { font-size: 0.8rem; color: var(--muted); }

.footer-social {
  display: flex; gap: 0.75rem; align-items: center;
}

.social-btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.5rem 1.1rem;
  font-size: 0.78rem; font-weight: 500; letter-spacing: 0.04em;
  text-decoration: none; border: 1.5px solid transparent;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s, color 0.2s;
  white-space: nowrap;
}
.social-btn:hover { transform: translateY(-2px); }

.social-btn--facebook {
  background: #1877F2; color: #fff; border-color: #1877F2;
}
.social-btn--facebook:hover {
  background: transparent; color: #1877F2;
  box-shadow: 0 4px 16px rgba(24,119,242,0.3);
}

.social-btn--instagram {
  background: linear-gradient(135deg, #833AB4, #FD1D1D, #FCAF45);
  color: #fff; border-color: transparent;
}
.social-btn--instagram:hover {
  background: transparent;
  color: #C13584;
  border-color: #C13584;
  box-shadow: 0 4px 16px rgba(193,53,132,0.3);
}

@media (max-width: 768px) {
  .footer-social { width: 100%; justify-content: center; }
}

/* ═══════════════════════════════════════════
   MODAL — página de detalle del libro
═══════════════════════════════════════════ */
.modal-backdrop {
  position: fixed; inset: 0; z-index: 300;
  background: rgba(26,22,18,0.75);
  backdrop-filter: blur(4px);
  opacity: 0; pointer-events: none; transition: opacity 0.35s;
}
.modal-backdrop.open { opacity: 1; pointer-events: all; }

.modal {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 301;
  width: min(760px, 100vw);
  background: var(--cream); overflow-y: auto;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(.22,.68,0,1.2);
  display: flex; flex-direction: column;
}
.modal.open { transform: translateX(0); }

.modal-close {
  position: sticky; top: 0; z-index: 10;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem 1.8rem;
  background: rgba(245,240,232,0.95); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.modal-close-back {
  display: flex; align-items: center; gap: 0.5rem;
  font-size: 0.8rem; font-weight: 500; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--muted); cursor: pointer;
  background: none; border: none; transition: color 0.2s;
}
.modal-close-back:hover { color: var(--rust); }
.modal-close-back svg { width: 16px; height: 16px; }
.modal-close-category { font-size: 0.7rem; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--rust); }

.modal-hero { width: 100%; max-height: 420px; overflow: hidden; position: relative; }
.modal-hero img { width: 100%; height: 100%; object-fit: cover; display: block; max-height: 420px; }
.modal-hero-fallback {
  width: 100%; height: 320px;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Playfair Display', serif; font-size: 1.8rem; font-style: italic;
  color: rgba(255,255,255,0.9); text-align: center; padding: 2rem;
  text-shadow: 0 2px 20px rgba(0,0,0,0.4);
}

.modal-content { padding: 2.5rem 2.5rem 4rem; flex: 1; }
.modal-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 700; line-height: 1.15; letter-spacing: -0.02em; margin-bottom: 1rem;
}
.modal-short-desc { font-size: 1rem; color: var(--muted); margin-bottom: 2rem; line-height: 1.7; }

.modal-buy-bar {
  display: flex; align-items: center; gap: 1.2rem; flex-wrap: wrap;
  padding: 1.2rem 1.5rem; background: var(--ink); color: var(--cream); margin-bottom: 2.5rem;
}
.modal-buy-price { font-size: 1.6rem; font-weight: 500; color: var(--gold); flex: 1; }
.modal-buy-price-original { font-size: 0.9rem; color: rgba(245,240,232,0.4); text-decoration: line-through; display: block; line-height: 1; margin-bottom: 0.2rem; }
.modal-buy-discount-badge {
  display: inline-block; background: var(--rust); color: white;
  font-size: 0.72rem; font-weight: 500; letter-spacing: 0.06em;
  text-transform: uppercase; padding: 0.25rem 0.6rem; margin-left: 0.5rem;
  vertical-align: middle;
}
.modal-buy-btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: var(--rust); color: white;
  padding: 0.85rem 2rem; font-size: 0.9rem; font-weight: 500;
  text-decoration: none; border: none; cursor: pointer;
  transition: background 0.2s; letter-spacing: 0.02em;
}
.modal-buy-btn:hover { background: #E05020; }

.modal-gallery { margin-bottom: 2.5rem; }
.modal-gallery-title { font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--rust); font-weight: 500; margin-bottom: 1rem; }
.modal-gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 0.75rem; }
.modal-gallery-grid img { width: 100%; aspect-ratio: 4/3; object-fit: cover; cursor: pointer; transition: opacity 0.2s; border: 2px solid transparent; }
.modal-gallery-grid img:hover { opacity: 0.85; border-color: var(--gold); }

.lightbox {
  position: fixed; inset: 0; z-index: 400;
  background: rgba(0,0,0,0.93);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none; transition: opacity 0.25s;
}
.lightbox.open { opacity: 1; pointer-events: all; }

.lightbox-img-wrap {
  position: relative;
  display: flex; align-items: center; justify-content: center;
  width: 100%; height: 100%;
  padding: 3.5rem 1rem 4rem;
}
.lightbox-img-wrap img {
  max-width: 100%; max-height: 100%; object-fit: contain;
  transition: opacity 0.18s ease;
  display: block;
}
.lightbox-img-wrap img.fading { opacity: 0; }

.lightbox-close {
  position: absolute; top: 1.2rem; right: 1.5rem;
  background: none; border: none; color: white; font-size: 2rem;
  cursor: pointer; line-height: 1; opacity: 0.6; transition: opacity 0.2s;
  z-index: 10;
}
.lightbox-close:hover { opacity: 1; }

.lightbox-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 44px; height: 44px;
  border-radius: 50%; border: 1.5px solid rgba(255,255,255,0.3);
  background: rgba(0,0,0,0.45);
  color: white; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s, border-color 0.2s, transform 0.15s;
  z-index: 10;
  backdrop-filter: blur(4px);
}
.lightbox-prev { left: 1.2rem; }
.lightbox-next { right: 1.2rem; }
.lightbox-nav:hover {
  background: rgba(255,255,255,0.18);
  border-color: rgba(255,255,255,0.7);
  transform: translateY(-50%) scale(1.1);
}
.lightbox-nav:disabled { opacity: 0.2; cursor: default; }
.lightbox-nav:disabled:hover { transform: translateY(-50%) scale(1); background: rgba(0,0,0,0.45); border-color: rgba(255,255,255,0.3); }

.lightbox-counter {
  position: absolute; bottom: 1rem; left: 50%; transform: translateX(-50%);
  font-size: 0.78rem; color: rgba(255,255,255,0.5);
  letter-spacing: 0.1em; font-weight: 400;
  pointer-events: none; white-space: nowrap;
}

/* thumbnail strip */
.lightbox-thumbs {
  position: absolute; bottom: 3.2rem; left: 50%; transform: translateX(-50%);
  display: flex; gap: 0.4rem;
}
.lightbox-thumb {
  width: 36px; height: 36px; object-fit: cover;
  border: 2px solid transparent; opacity: 0.5;
  cursor: pointer; transition: opacity 0.2s, border-color 0.2s;
}
.lightbox-thumb.active, .lightbox-thumb:hover { opacity: 1; border-color: var(--gold); }

.modal-sections { display: flex; flex-direction: column; gap: 2rem; }
.modal-section { border-top: 1px solid var(--border); padding-top: 1.5rem; }
.modal-section-title { font-family: 'Playfair Display', serif; font-size: 1.1rem; font-weight: 700; margin-bottom: 0.8rem; }
.modal-section p { font-size: 0.9rem; color: var(--muted); line-height: 1.75; }
.modal-section ul { list-style: none; padding: 0; }
.modal-section ul li { font-size: 0.9rem; color: var(--muted); line-height: 1.7; padding-left: 1.2rem; position: relative; }
.modal-section ul li::before { content: '✦'; position: absolute; left: 0; font-size: 0.6rem; color: var(--rust); top: 0.35em; }

.modal-meta { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 2rem; }
.modal-meta-pill { padding: 0.35rem 0.9rem; border: 1px solid var(--border); font-size: 0.75rem; color: var(--muted); }
.modal-meta-pill strong { color: var(--ink); font-weight: 500; }

/* ─────────────── RESPONSIVE ─────────────── */
@media (max-width: 768px) {
  nav { padding: 1rem 1.5rem; justify-content: flex-start; }
  .hero { text-align: center; }
  .hero-sub { max-width: 100%; }
  .hero-visual { display: none; }
  .catalog, .topics { padding: 4rem 1.5rem; }
  footer { padding: 2rem 1.5rem; }
  .topics-flex { gap: 2rem; }
  .modal-content { padding: 1.8rem 1.5rem 4rem; }
  .modal-buy-bar { flex-direction: column; align-items: flex-start; }
  .lightbox-nav { width: 36px; height: 36px; }
  .lightbox-prev { left: 0.6rem; }
  .lightbox-next { right: 0.6rem; }
  .books-grid { display: flex; flex-direction: column; gap: 2rem; align-items: center; }
}

/* ─────────────── TESTIMONIALS ─────────────── */
.testimonials {
  padding: 6rem 0;
  border-top: 1px solid var(--border);
  overflow: hidden;
}
.testimonials .section-label,
.testimonials .section-title {
  padding: 0 4rem;
}

/* Marquee track wrapper */
.testimonials-marquee {
  position: relative;
  width: 100%;
  overflow: hidden;
  /* Soft fade edges */
  mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
}

/* The scrolling strip — contains two copies of the cards */
.testimonials-grid {
  display: flex;
  gap: 1.8rem;
  width: max-content;
  animation: marquee-scroll 38s linear infinite;
  padding: 0.5rem 0 1.5rem; /* breathing room for hover shadow */
}

/* Pause on hover */
.testimonials-marquee:hover .testimonials-grid {
  animation-play-state: paused;
}

@keyframes marquee-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.testimonial-card {
  background: var(--card-bg, #FDFAF4);
  border: 1px solid var(--border);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  /* Fixed width so cards are consistent */
  width: 320px;
  flex-shrink: 0;
  transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s;
  /* Remove reveal animation from marquee cards — they're always visible */
  opacity: 1 !important;
  transform: none !important;
}
.testimonial-card:hover {
  border-color: var(--gold);
  box-shadow: 0 8px 32px rgba(0,0,0,0.10);
  transform: translateY(-4px) !important;
}

.testimonial-stars {
  color: var(--gold);
  font-size: 0.95rem;
  letter-spacing: 0.1em;
}

.testimonial-text {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  font-style: italic;
  line-height: 1.75;
  color: var(--ink);
  flex: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

.testimonial-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.78rem; font-weight: 500; letter-spacing: 0.04em;
  color: white;
  flex-shrink: 0;
}

.testimonial-name {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--ink);
}
.testimonial-role {
  font-size: 0.78rem;
  color: var(--muted);
  margin-top: 0.1rem;
}

@media (max-width: 768px) {
  .testimonials { padding: 4rem 0; }
  .testimonials .section-label,
  .testimonials .section-title { padding: 0 1.5rem; }
  .testimonial-card { width: 270px; }
}

/* ─────────────── REVEAL ─────────────── */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible { opacity: 1; transform: none; }
/* ═══════════════════════════════════════════
   REDISEÑO MODERNO — HOME + LANDING
   Mantiene textos, datos e imágenes existentes
═══════════════════════════════════════════ */
:root {
  --surface: rgba(255,255,255,0.72);
  --surface-strong: #fffaf2;
  --shadow-soft: 0 24px 80px rgba(26, 22, 18, 0.12);
  --shadow-card: 0 18px 44px rgba(0, 0, 0, 0.18);
  --radius-lg: 28px;
  --radius-md: 18px;
}

body {
  background:
    radial-gradient(circle at 10% 0%, rgba(212,168,67,0.22), transparent 30%),
    radial-gradient(circle at 90% 12%, rgba(196,68,28,0.16), transparent 28%),
    linear-gradient(180deg, #fffaf2 0%, var(--cream) 42%, #efe4d2 100%);
}

nav {
  width: min(1180px, calc(100% - 2rem));
  left: 50%;
  right: auto;
  top: 1rem;
  transform: translateX(-50%);
  border: 1px solid rgba(226,217,200,0.9);
  border-radius: 999px;
  padding: 0.75rem 1rem 0.75rem 1.35rem;
  background: rgba(255,250,242,0.84);
  box-shadow: 0 14px 38px rgba(26,22,18,0.08);
}

.nav-link,
.btn-primary,
.btn-buy,
.btn-details,
.modal-buy-btn,
.landing-buy-btn {
  border-radius: 999px;
}

.hero {
  display: grid;
  min-height: 100vh;
  padding: 8.5rem max(1.5rem, calc((100vw - 1180px) / 2)) 5rem;
  gap: clamp(2rem, 5vw, 5rem);
  overflow: hidden;
  margin-top: 80px;
}

.hero::before {
  background:
    radial-gradient(circle at 72% 42%, rgba(212,168,67,0.28) 0%, transparent 34%),
    radial-gradient(circle at 25% 25%, rgba(196,68,28,0.12) 0%, transparent 30%);
}

.hero > div:first-child {
  position: relative;
  z-index: 1;
}

.hero h1 {
  font-size: clamp(3.25rem, 7vw, 6.6rem);
  max-width: 680px;
}

.hero-sub {
  font-size: clamp(1rem, 1.6vw, 1.22rem);
  max-width: 560px;
}

.hero-platform-badge {
  flex-direction: row;
  align-items: center;
  flex-wrap: wrap;
  padding: 0.7rem 0.9rem;
  width: fit-content;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255,255,255,0.6);
  box-shadow: 0 10px 26px rgba(26,22,18,0.06);
}

.hero-hotmart-img { width: 150px; }
.hero-bestseller-label { font-size: 0.75rem; }

.hero-book-showcase {
  width: min(430px, 80vw);
  border-radius: var(--radius-lg);
  padding: 0.75rem;
  background: rgba(255,255,255,0.5);
  box-shadow: var(--shadow-soft);
}

.hero-book-img,
.hero-book-placeholder {
  border-radius: 22px;
}

.catalog {
  position: relative;
  padding: 6rem max(1.5rem, calc((100vw - 1180px) / 2));
  margin-top: 0;
  background:
    radial-gradient(circle at 12% 0%, rgba(212,168,67,0.18), transparent 30%),
    linear-gradient(135deg, #17120f 0%, #271913 55%, #111 100%);
}

.catalog .section-title {
  font-size: clamp(2.3rem, 4.3vw, 4.4rem);
  max-width: 760px;
  margin-bottom: 0.8rem;
}

.books-grid {
  margin-top: 2.7rem;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
}

.ebook-card {
  border-radius: 28px;
  background: rgba(255,255,255,0.075);
  border-color: rgba(255,255,255,0.13);
  box-shadow: 0 12px 34px rgba(0,0,0,0.18);
}

.ebook-card:hover {
  transform: translateY(-10px) scale(1.01);
  box-shadow: 0 30px 70px rgba(0,0,0,0.34);
}

.ebook-cover {
  margin: 0.85rem;
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(255,255,255,0.08), rgba(0,0,0,0.35));
}

.ebook-cover img {
  width: 100%;
  max-width: 357px;
}

.ebook-body { padding: 1rem 1.35rem 1.45rem; }
.ebook-title { font-size: 1.22rem; }
.ebook-desc { color: rgba(245,240,232,0.66); }
.ebook-footer { align-items: flex-end; }
.btn-details { text-decoration: none; display: inline-flex; align-items: center; }

.testimonials,
.topics {
  padding: 6rem max(1.5rem, calc((100vw - 1180px) / 2));
}

.testimonials {
  background: linear-gradient(180deg, var(--cream), #fffaf2);
}

.testimonial-card,
.tag,
.modal,
.landing-panel,
.landing-cover-card,
.landing-price-card,
.landing-final-cta {
  border-radius: var(--radius-md);
}

.tag {
  background: rgba(255,255,255,0.66);
  box-shadow: 0 8px 24px rgba(26,22,18,0.05);
}

footer {
  background: #17120f;
  color: var(--cream);
  border-top: none;
  padding: 2.5rem max(1.5rem, calc((100vw - 1180px) / 2));
}

/* Landing individual */
.book-landing-page {
  background:
    radial-gradient(circle at 80% 0%, rgba(212,168,67,0.22), transparent 32%),
    linear-gradient(180deg, #fffaf2 0%, var(--cream) 56%, #17120f 56%, #17120f 100%);
}

.landing-wrap {
  padding: 8.5rem max(1.5rem, calc((100vw - 1180px) / 2)) 5rem;
  margin-top: 80px;
}

.landing-hero-section {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(280px, 0.72fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
  min-height: 72vh;
}

.landing-back {
  display: inline-flex;
  color: var(--rust);
  text-decoration: none;
  font-weight: 700;
  margin-bottom: 1.4rem;
}

.landing-category {
  color: var(--rust);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 0.85rem;
}

.landing-hero-copy h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.6rem, 6vw, 5.6rem);
  line-height: 1.04;
  letter-spacing: -0.045em;
  max-width: 820px;
  margin-bottom: 1.2rem;
}

.landing-desc {
  font-size: clamp(1rem, 1.5vw, 1.22rem);
  color: var(--muted);
  max-width: 680px;
  margin-bottom: 1.6rem;
}

.landing-price-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  max-width: 680px;
  padding: 1.1rem;
  background: rgba(255,255,255,0.76);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
}

.landing-original-price {
  display: block;
  color: var(--muted);
  text-decoration: line-through;
  font-size: 0.95rem;
}

.landing-price {
  color: var(--rust);
  font-size: 2rem;
  font-weight: 800;
}

.landing-discount {
  margin-left: 0.7rem;
  background: var(--ink);
  color: var(--cream);
  border-radius: 999px;
  padding: 0.3rem 0.7rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.landing-buy-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--rust), #e45a2c);
  color: white;
  padding: 0.9rem 1.5rem;
  text-decoration: none;
  font-weight: 800;
  box-shadow: 0 12px 30px rgba(196,68,28,0.28);
}

.landing-meta-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  max-width: 680px;
  margin-top: 1rem;
}

.landing-meta-row span {
  padding: 0.8rem 0.9rem;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.52);
  border-radius: 16px;
  color: var(--muted);
  font-size: 0.85rem;
}

.landing-meta-row strong {
  display: block;
  color: var(--ink);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.09em;
}

.landing-hero-art {
  display: flex;
  justify-content: center;
}

.landing-cover-card {
  width: min(390px, 86vw);
  padding: 1rem;
  background: rgba(255,255,255,0.7);
  box-shadow: var(--shadow-soft);
  transform: rotate(1.5deg);
}

.landing-cover-img {
  width: 100%;
  display: block;
  border-radius: 20px;
  box-shadow: var(--shadow-card);
}

.landing-cover-fallback {
  min-height: 460px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-align: center;
  padding: 2rem;
  border-radius: 20px;
  font-family: 'Playfair Display', serif;
}

.landing-content-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin: 3rem 0;
}

.landing-panel {
  padding: 1.6rem;
  background: var(--surface-strong);
  border: 1px solid var(--border);
  box-shadow: 0 16px 42px rgba(26,22,18,0.08);
}

.landing-panel p:not(.section-label) {
  color: var(--muted);
}

.landing-learn,
.landing-gallery,
.landing-final-cta {
  margin-top: 3rem;
}

.landing-learn {
  background: var(--surface-strong);
  border: 1px solid var(--border);
  border-radius: 30px;
  padding: 2.2rem;
  box-shadow: 0 16px 42px rgba(26,22,18,0.08);
  overflow: hidden;
}

.landing-learn .section-title {
  color: var(--ink);
  margin-bottom: 1.6rem;
}

.landing-learn-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 0.85rem;
}

.landing-learn-item {
  background: rgba(245,240,232,0.58);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 1rem;
  color: var(--ink);
  box-shadow: none;
}

.landing-learn-item::before {
  content: '✦';
  color: var(--rust);
  margin-right: 0.45rem;
}

.landing-gallery .section-label {
  color: var(--rust);
}

.landing-gallery .section-title {
  color: var(--ink);
}

.landing-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
}

.landing-gallery-grid img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 22px;
  cursor: pointer;
  box-shadow: 0 16px 38px rgba(26,22,18,0.12);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.landing-gallery-grid img:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 54px rgba(26,22,18,0.18);
}

.landing-gallery .section-title {
  color: var(--rust);
}

.landing-final-cta {
  text-align: center;
  padding: 3rem 1.5rem;
  background: linear-gradient(135deg, #1a1612, #321d14);
  color: var(--cream);
  box-shadow: var(--shadow-card);
}

.landing-final-cta p {
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
  font-weight: 700;
}

.landing-final-cta h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 4vw, 3.2rem);
  margin: 0.7rem auto 1.4rem;
  max-width: 760px;
}

@media (max-width: 900px) {
  nav {
    width: calc(100% - 1rem);
    top: 0.5rem;
  }
  .hero,
  .landing-hero-section {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-platform-badge,
  .btn-primary,
  .landing-price-card,
  .landing-meta-row,
  .landing-desc,
  .landing-hero-copy h1 {
    margin-left: auto;
    margin-right: auto;
  }
  .landing-meta-row,
  .landing-content-grid {
    grid-template-columns: 1fr;
  }
  .landing-price-card {
    justify-content: center;
  }
  .hero-visual {
    display: flex;
  }
}

@media (max-width: 768px) {
  nav { justify-content: space-between; }
  nav img { width: 118px; }
  .nav-link { padding: 0.55rem 0.85rem; font-size: 0.68rem; }
  .hero { padding-top: 7.6rem; }
  .hero h1 { font-size: clamp(2.75rem, 15vw, 4.2rem); }
  .books-grid { align-items: stretch; }
  .ebook-card { width: 100%; }
  footer { text-align: center; justify-content: center; }
}


@media (max-width: 768px) {
  .landing-learn {
    padding: 1.4rem;
    border-radius: 24px;
  }
}


/* ─────────────── PROMO BANNER EN LANDING DE LIBRO ─────────────── */
.book-promo-banner {
  width: min(680px, 100%);
  margin: -0.35rem 0 1.45rem;
  border-radius: 24px;
  background: rgba(255,255,255,0.72);
  box-shadow: 0 14px 34px rgba(26,22,18,0.08);
}

.book-promo-banner img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 18px;
}

.book-promo-banner--empty {
  min-height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  border-style: dashed;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.76rem;
}

/* ─────────────── TESTIMONIOS EN LANDING DE LIBRO ─────────────── */
.book-testimonials {
  margin-top: 3rem;
  padding: 2.2rem;
  border: 1px solid var(--border);
  border-radius: 30px;
  background: var(--surface-strong);
  box-shadow: 0 16px 42px rgba(26,22,18,0.08);
}

.book-testimonials .section-title {
  color: var(--ink);
  margin-bottom: 1.6rem;
}

.book-testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1rem;
}

.book-testimonials .testimonial-card {
  min-width: 0;
  width: 100%;
  height: auto;
  background: rgba(245,240,232,0.58);
  border: 1px solid var(--border);
  box-shadow: none;
}

@media (max-width: 900px) {
  .book-promo-banner {
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 768px) {
  .book-testimonials {
    padding: 1.4rem;
    border-radius: 24px;
  }

  .book-promo-banner img {
    aspect-ratio: 16 / 7;
  }
}

/* ─────────────── URGENCIA + SOCIAL EN LANDING ─────────────── */
.landing-urgency-timer {
  width: min(680px, 100%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin: 0 0 0.85rem;
  padding: 0.8rem 1rem;
  background: linear-gradient(135deg, var(--ink), #351b12);
  color: var(--cream);
  border-radius: 18px;
  box-shadow: 0 14px 34px rgba(26,22,18,0.14);
}

.landing-urgency-label {
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--gold);
}

.landing-countdown {
  min-width: 112px;
  text-align: center;
  font-size: 1.15rem;
  letter-spacing: 0.08em;
  color: white;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 999px;
  padding: 0.35rem 0.75rem;
}

.book-promo-banner {
  position: relative;
  overflow: hidden;
  padding: 0.45rem;
}

.book-promo-socials {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  display: flex;
  gap: 0.55rem;
  flex-wrap: wrap;
  justify-content: flex-end;
  z-index: 2;
}

.book-promo-social {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.58rem 0.9rem;
  border-radius: 999px;
  color: white;
  text-decoration: none;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  border: 1px solid rgba(255,255,255,0.25);
  box-shadow: 0 10px 26px rgba(0,0,0,0.22);
  backdrop-filter: blur(8px);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.book-promo-social:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(0,0,0,0.28);
}

.book-promo-social--instagram {
  background: linear-gradient(135deg, #833AB4, #FD1D1D, #FCAF45);
}

.book-promo-social--linkedin {
  background: #0A66C2;
}

.landing-mid-cta {
  margin-top: 2rem;
  padding: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
  background: rgba(255,255,255,0.78);
  border: 1px solid var(--border);
  border-radius: 26px;
  box-shadow: 0 16px 42px rgba(26,22,18,0.08);
}

.landing-mid-cta h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.55rem, 3vw, 2.35rem);
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin: 0.15rem 0 0.35rem;
}

.landing-mid-cta p:not(.section-label) {
  color: var(--muted);
  max-width: 560px;
}

.landing-mid-cta .landing-buy-btn {
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .landing-urgency-timer,
  .landing-mid-cta {
    flex-direction: column;
    text-align: center;
  }

  .landing-countdown {
    width: 100%;
  }
}

@media (max-width: 520px) {
  nav { padding: 0.9rem 1rem; }
  nav img { width: 118px; }
  .nav-right { gap: 0.45rem; }
  .nav-icon { width: 30px; height: 30px; }
  .nav-link { padding: 0.5rem 0.7rem; font-size: 0.68rem; }
}


/* ═══════════════════════════════════════════
   URGENCIA DE COMPRA / CTA OPTIMIZADO
═══════════════════════════════════════════ */
.modal-buy-bar--urgent,
.landing-price-card--urgent {
  position: relative;
  overflow: hidden;
  border: 2px solid rgba(196,68,28,0.35);
}

.modal-buy-bar--urgent::before,
.landing-price-card--urgent::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 0%, rgba(255,255,255,0.16) 45%, transparent 65%);
  transform: translateX(-120%);
  animation: offerSheen 4s ease-in-out infinite;
  pointer-events: none;
}

@keyframes offerSheen {
  0%, 45% { transform: translateX(-120%); }
  70%, 100% { transform: translateX(120%); }
}

.modal-offer-kicker,
.landing-offer-kicker {
  display: block;
  color: var(--rust);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.25rem;
}

.modal-buy-bar .modal-offer-kicker {
  color: var(--gold);
}

.modal-current-price {
  display: inline-block;
  font-size: 1.9rem;
  font-weight: 900;
  color: var(--gold);
  line-height: 1;
}

.modal-buy-note,
.landing-buy-note {
  margin-top: 0.45rem;
  font-size: 0.74rem;
  font-weight: 700;
  line-height: 1.45;
}

.modal-buy-note { color: rgba(245,240,232,0.78); }
.landing-buy-note { color: var(--muted); }

.modal-buy-discount-badge,
.landing-discount {
  background: linear-gradient(135deg, #ff3c00, #ff8a00);
  color: #fff;
  box-shadow: 0 8px 20px rgba(255,60,0,0.28);
  animation: discountPulse 1.7s ease-in-out infinite;
}

@keyframes discountPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.06); }
}

.modal-buy-btn,
.landing-buy-btn {
  background: linear-gradient(135deg, #ff3c00, #ff6a00) !important;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  box-shadow: 0 12px 30px rgba(255,60,0,0.34);
  animation: ctaPulse 2s ease-in-out infinite;
}

.modal-buy-btn:hover,
.landing-buy-btn:hover {
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 16px 38px rgba(255,60,0,0.48);
}

@keyframes ctaPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.035); }
}

.landing-urgency-timer {
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: 0 16px 38px rgba(26,22,18,0.18), 0 0 0 3px rgba(196,68,28,0.08);
}

.landing-countdown {
  background: #ff3c00;
  color: #fff;
  border-color: rgba(255,255,255,0.22);
  box-shadow: 0 8px 22px rgba(255,60,0,0.28);
}

.landing-sticky-cta {
  position: fixed;
  left: 50%;
  bottom: 1rem;
  z-index: 250;
  transform: translateX(-50%);
  width: min(94vw, 680px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 0.85rem;
  background: rgba(26,22,18,0.96);
  color: var(--cream);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 999px;
  box-shadow: 0 18px 42px rgba(0,0,0,0.3);
  backdrop-filter: blur(12px);
}

.landing-sticky-cta span {
  display: block;
  color: var(--gold);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  line-height: 1;
}

.landing-sticky-cta strong {
  font-size: 1.25rem;
  color: #fff;
  line-height: 1.1;
}

.landing-sticky-cta em {
  margin-left: 0.4rem;
  color: #ff9f1c;
  font-style: normal;
  font-size: 0.72rem;
  font-weight: 900;
}

.landing-sticky-cta a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0.65rem 1.2rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #ff3c00, #ff6a00);
  color: #fff;
  text-decoration: none;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}

@media (max-width: 640px) {
  body.book-landing-page { padding-bottom: 82px; }
  .landing-price-card--urgent { align-items: stretch; }
  .landing-price-card--urgent .landing-buy-btn { width: 100%; }
  .landing-sticky-cta {
    width: calc(100% - 1rem);
    bottom: 0.5rem;
    border-radius: 22px;
  }
  .landing-sticky-cta a { padding-inline: 0.9rem; }
}

/* ═══════════════════════════════════════════
   LANDING DE VENTA — OPTIMIZACIÓN CONVERSIÓN
═══════════════════════════════════════════ */
.landing-hero-section--conversion {
  align-items: start;
  min-height: auto;
}

.landing-top-row {
  max-width: 680px;
  margin-bottom: 1.15rem;
}

.landing-desc--strong {
  color: #4f463d;
  font-weight: 500;
}

.landing-outcome-list {
  display: grid;
  gap: 0.7rem;
  max-width: 680px;
  margin: 0 0 1.25rem;
}

.landing-outcome-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.82rem 0.95rem;
  background: rgba(255,255,255,0.72);
  border: 1px solid rgba(196,68,28,0.16);
  border-radius: 18px;
  box-shadow: 0 10px 26px rgba(26,22,18,0.045);
}

.landing-outcome-item span {
  flex: 0 0 auto;
  width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(196,68,28,0.12);
  color: var(--rust);
  font-weight: 900;
  line-height: 1;
}

.landing-outcome-item p {
  color: var(--ink);
  font-weight: 650;
  line-height: 1.42;
  margin: 0;
}

.landing-checkout-trust {
  max-width: 680px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
  margin-top: 0.9rem;
}

.landing-checkout-trust > div {
  padding: 0.85rem;
  background: rgba(255,255,255,0.56);
  border: 1px solid var(--border);
  border-radius: 16px;
}

.landing-checkout-trust strong {
  display: block;
  font-size: 0.78rem;
  font-weight: 900;
  color: var(--ink);
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin-bottom: 0.2rem;
}

.landing-checkout-trust span {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.4;
}

.landing-refund-section {
  position: relative;
  margin: clamp(2.5rem, 6vw, 5rem) 0;
  padding: clamp(1.6rem, 4vw, 3rem);
  display: grid;
  grid-template-columns: 0.85fr 2fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
  background: linear-gradient(135deg, rgba(26,22,18,0.96), rgba(42,33,27,0.96));
  color: var(--cream);
  border-radius: 32px;
  overflow: hidden;
  box-shadow: 0 28px 70px rgba(26,22,18,0.16);
}

.landing-refund-section::before {
  content: '';
  position: absolute;
  inset: -40% auto auto -18%;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(212,168,67,0.28), transparent 68%);
  pointer-events: none;
}

.landing-refund-badge {
  position: relative;
  z-index: 1;
  width: min(260px, 100%);
  aspect-ratio: 1;
  margin: 0 auto;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1.2rem;
  background: var(--rust);
  color: #fff;
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 5vw, 3.15rem);
  font-weight: 700;
  line-height: 0.95;
  box-shadow: inset 0 0 0 8px rgba(255,255,255,0.12), 0 22px 48px rgba(0,0,0,0.24);
  transform: rotate(-4deg);
}

.landing-refund-content {
  position: relative;
  z-index: 1;
}

.landing-refund-content .section-label {
  color: var(--gold);
}

.landing-refund-content h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
  margin-bottom: 0.9rem;
}

.landing-refund-content > p:not(.section-label):not(.landing-refund-small) {
  max-width: 680px;
  color: rgba(245,240,232,0.78);
  font-size: 1rem;
  margin-bottom: 1.4rem;
}

.landing-refund-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
  margin-top: 1.2rem;
}

.landing-refund-grid article {
  padding: 1rem;
  background: rgba(255,255,255,0.075);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 20px;
}

.landing-refund-grid strong {
  display: block;
  color: #fff;
  font-size: 0.9rem;
  font-weight: 900;
  margin-bottom: 0.35rem;
}

.landing-refund-grid span {
  display: block;
  color: rgba(245,240,232,0.68);
  font-size: 0.82rem;
  line-height: 1.45;
}

.landing-refund-small {
  margin-top: 1rem;
  color: rgba(245,240,232,0.58);
  font-size: 0.78rem;
  line-height: 1.55;
}

.book-promo-banner--hero {
  margin-top: 1rem;
}

.book-promo-banner--hero img {
  border-radius: 24px;
}

.landing-content-grid--conversion {
  margin-top: clamp(2.5rem, 6vw, 5rem);
}

.landing-panel--highlight {
  border-color: rgba(196,68,28,0.28);
  background: rgba(255,255,255,0.82);
}

.landing-back--bottom {
  margin: 1rem 0 0;
  justify-content: center;
  opacity: 0.72;
}

.landing-final-cta .landing-back--bottom {
  color: rgba(245,240,232,0.72);
}

@media (max-width: 900px) {
  .landing-checkout-trust {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .landing-wrap {
    padding-top: 6.4rem;
  }

  .landing-hero-section--conversion {
    gap: 1.35rem;
  }

  .landing-hero-art {
    order: 2;
  }

  .landing-hero-copy {
    order: 1;
  }

  .landing-hero-copy h1 {
    font-size: clamp(2.25rem, 11vw, 3.8rem);
    margin-bottom: 0.85rem;
  }

  .landing-desc--strong {
    margin-bottom: 1rem;
  }

  .landing-outcome-item {
    padding: 0.72rem 0.78rem;
  }

  .landing-outcome-item p {
    font-size: 0.92rem;
  }

  .landing-price-card {
    padding: 1rem;
  }

  .landing-price {
    font-size: 1.7rem;
  }

  .landing-buy-note {
    font-size: 0.72rem;
  }

  .landing-meta-row {
    grid-template-columns: 1fr;
  }

  .book-promo-banner--hero {
    margin-top: 0.8rem;
  }
}


/* Ajuste: portada limpia sin promo banner y orden móvil optimizado */
.landing-hero-art {
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.landing-cover-card {
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  transform: none !important;
  overflow: visible !important;
}

.landing-cover-img,
.landing-cover-fallback {
  border-radius: 0 !important;
  box-shadow: none !important;
}

.book-promo-banner,
.book-promo-banner--hero {
  display: none !important;
}

.landing-mobile-title {
  display: none;
}

@media (max-width: 768px) {
  .landing-hero-section--conversion {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }

  .landing-hero-art {
    order: 1 !important;
    width: 100%;
  }

  .landing-hero-copy {
    order: 2 !important;
    display: flex;
    flex-direction: column;
    width: 100%;
  }

  .landing-hero-copy > .landing-category,
  .landing-hero-copy > h1 {
    display: none;
  }

  .landing-mobile-title {
    display: block;
    width: min(680px, 100%);
    margin: 0 auto;
  }

  .landing-mobile-title h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 10vw, 3.4rem);
    line-height: 1.05;
    letter-spacing: -0.045em;
    margin: 0.45rem auto 0;
    color: var(--ink);
  }

  .landing-hero-copy .landing-desc--strong {
    order: 1;
  }

  .landing-outcome-list {
    order: 2;
  }

  .landing-price-card {
    order: 3;
  }

  .landing-checkout-trust {
    order: 4;
  }

  .landing-meta-row {
    order: 5;
  }

  .landing-top-row {
    order: 6;
    margin-top: 0.85rem;
    margin-bottom: 0;
  }

  .landing-cover-card {
    width: min(390px, 92vw);
  }
}


@media (max-width: 1100px) {
  .landing-checkout-trust,
  .landing-refund-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .landing-refund-section {
    grid-template-columns: 1fr;
    text-align: center;
    border-radius: 26px;
    padding: 1.35rem;
  }

  .landing-refund-badge {
    width: min(190px, 72vw);
    transform: rotate(-2deg);
  }

  .landing-refund-grid {
    grid-template-columns: 1fr;
    text-align: left;
  }
}

/* ═══════════════════════════════════════════
   CONVERSION MOCK ADDITIONS — Antes/Después, previews y objeciones
═══════════════════════════════════════════ */
.landing-transformation,
.landing-product-preview,
.landing-objections {
  margin: 3.5rem 0;
}

.landing-transformation {
  background: #fff;
  border: 1px solid var(--border);
  padding: clamp(1.5rem, 4vw, 3rem);
  box-shadow: 0 20px 60px rgba(26,22,18,0.06);
}

.landing-transformation-head {
  max-width: 760px;
  margin-bottom: 2rem;
}

.landing-transformation-head h2,
.landing-product-preview h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin-bottom: 0.8rem;
}

.landing-transformation-head p,
.landing-product-preview-copy p {
  color: var(--muted);
  font-size: 1rem;
  max-width: 680px;
}

.landing-compare-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: stretch;
  gap: 1rem;
}

.landing-compare-card {
  border: 1px solid rgba(26,22,18,0.1);
  padding: 1.5rem;
  background: rgba(245,240,232,0.65);
}

.landing-compare-card--after {
  background: linear-gradient(135deg, rgba(196,68,28,0.08), rgba(212,168,67,0.14));
  border-color: rgba(196,68,28,0.25);
}

.landing-compare-label {
  display: inline-flex;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--rust);
  margin-bottom: 0.7rem;
}

.landing-compare-card h3 {
  font-size: 1.15rem;
  margin-bottom: 1rem;
}

.landing-compare-card ul {
  list-style: none;
  display: grid;
  gap: 0.8rem;
}

.landing-compare-card li {
  color: var(--muted);
  padding-left: 1.5rem;
  position: relative;
}

.landing-compare-card--before li::before {
  content: '×';
  position: absolute;
  left: 0;
  color: #9b2c2c;
  font-weight: 700;
}

.landing-compare-card--after li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--rust);
  font-weight: 700;
}

.landing-compare-arrow {
  align-self: center;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--rust);
  color: #fff;
  font-size: 1.4rem;
  font-weight: 700;
  box-shadow: 0 12px 28px rgba(196,68,28,0.25);
}

.landing-product-preview {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 2rem;
  align-items: center;
  background: var(--ink);
  color: var(--cream);
  padding: clamp(1.5rem, 4vw, 3rem);
  overflow: hidden;
  position: relative;
}

.landing-product-preview::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 85% 15%, rgba(212,168,67,0.18), transparent 42%);
  pointer-events: none;
}

.landing-product-preview > * { position: relative; z-index: 1; }
.landing-product-preview .section-label { color: var(--gold); }
.landing-product-preview-copy p { color: rgba(245,240,232,0.72); }

.landing-preview-checks {
  display: grid;
  gap: 0.65rem;
  margin-top: 1.3rem;
}

.landing-preview-checks span {
  display: block;
  padding: 0.75rem 0.9rem;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  color: rgba(245,240,232,0.9);
}

.landing-preview-stack {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
}

.landing-preview-stack img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border: 1px solid rgba(255,255,255,0.14);
  box-shadow: 0 18px 42px rgba(0,0,0,0.28);
  background: rgba(255,255,255,0.04);
  cursor: zoom-in;
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.landing-preview-stack img:hover {
  border-color: var(--gold);
  box-shadow: 0 24px 52px rgba(0,0,0,0.38);
}

.landing-preview-stack img:nth-child(2),
.landing-preview-stack img:nth-child(4) {
  transform: translateY(1.2rem);
}

.landing-objections {
  background: #fff;
  border: 1px solid var(--border);
  padding: clamp(1.5rem, 4vw, 3rem);
}

.landing-objections .section-title {
  margin-bottom: 2rem;
}

.landing-objections-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.landing-objections-grid article {
  padding: 1.3rem;
  background: rgba(245,240,232,0.7);
  border: 1px solid rgba(26,22,18,0.08);
}

.landing-objections-grid h3 {
  font-size: 1rem;
  margin-bottom: 0.45rem;
  color: var(--ink);
}

.landing-objections-grid p {
  color: var(--muted);
  font-size: 0.92rem;
}

.landing-final-cta--strong .landing-final-subtitle {
  display: block;
  max-width: 680px;
  margin: -1rem auto 1.5rem;
  color: rgba(245,240,232,0.72);
}

@media (max-width: 900px) {
  .landing-compare-grid,
  .landing-product-preview,
  .landing-objections-grid {
    grid-template-columns: 1fr;
  }

  .landing-compare-arrow {
    transform: rotate(90deg);
    margin: 0.2rem auto;
  }

  .landing-preview-stack img:nth-child(2),
  .landing-preview-stack img:nth-child(4) {
    transform: none;
  }

  .landing-mobile-title h1 {
    display: none;
  }
}

@media (max-width: 560px) {
  .landing-preview-stack {
    grid-template-columns: 1fr;
  }
}


/* ─────────────────────────────
   SCROLL TRUST HINT
───────────────────────────── */
.scroll-trust-hint {
  margin: 1.35rem 0 1.8rem;
  max-width: 680px;
  text-align: center;
  padding: 1rem 1.25rem 0.85rem;
  border: 1px solid rgba(212,168,67,0.32);
  background: linear-gradient(135deg, rgba(212,168,67,0.12), rgba(255,255,255,0.06));
  border-radius: 16px;
  box-shadow: 0 14px 34px rgba(26,22,18,0.08);
}

.scroll-trust-hint span {
  display: block;
  font-size: 1rem;
  font-weight: 800;
  color: var(--gold);
  letter-spacing: 0.01em;
}

.scroll-trust-hint small {
  display: block;
  margin-top: 0.35rem;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.55;
}

.scroll-arrow {
  margin-top: 0.35rem;
  font-size: 1.75rem;
  line-height: 1;
  color: var(--gold);
  animation: bounceArrow 1.45s ease-in-out infinite;
}

@keyframes bounceArrow {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(8px); }
}

@media (max-width: 768px) {
  .scroll-trust-hint {
    margin: 1.1rem 0 1.5rem;
    padding: 0.95rem 1rem 0.8rem;
  }

  .scroll-trust-hint span {
    font-size: 0.96rem;
  }

  .scroll-trust-hint small {
    font-size: 0.82rem;
  }
}

/* ═══════════════════════════════════════════
   REDISEÑO LANDING LIBRO — CONVERSIÓN
   Datos importantes arriba + CTA más visible
═══════════════════════════════════════════ */
.book-landing-page {
  background:
    radial-gradient(circle at 78% 6%, rgba(212,168,67,0.24), transparent 30%),
    radial-gradient(circle at 7% 12%, rgba(196,68,28,0.14), transparent 28%),
    linear-gradient(180deg, #fffaf2 0%, var(--cream) 58%, #17120f 58%, #17120f 100%);
}

.landing-wrap--redesign {
  padding-top: 7.4rem;
}

.landing-hero-section--redesign {
  grid-template-columns: minmax(0, 1.04fr) minmax(300px, 0.76fr);
  align-items: center;
  gap: clamp(1.7rem, 4vw, 4.2rem);
  padding: clamp(1.1rem, 2vw, 1.8rem);
  background: rgba(255,255,255,0.52);
  border: 1px solid rgba(226,217,200,0.95);
  border-radius: 34px;
  box-shadow: 0 28px 90px rgba(26,22,18,0.10);
  position: relative;
  overflow: hidden;
}

.landing-hero-section--redesign::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.66), transparent 46%);
  pointer-events: none;
}

.landing-hero-section--redesign > * {
  position: relative;
  z-index: 1;
}

.landing-back--top {
  margin-bottom: 0.9rem;
  color: rgba(26,22,18,0.62);
  font-size: 0.84rem;
}

.landing-proof-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  width: fit-content;
  max-width: 100%;
  padding: 0.45rem 0.78rem;
  margin-bottom: 0.85rem;
  border-radius: 999px;
  background: rgba(212,168,67,0.18);
  border: 1px solid rgba(212,168,67,0.42);
  color: #7a5512;
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1.25;
}

.landing-hero-section--redesign .landing-category {
  margin-bottom: 0.55rem;
}

.landing-hero-section--redesign .landing-hero-copy h1 {
  font-size: clamp(2.25rem, 5.2vw, 4.85rem);
  max-width: 780px;
  margin-bottom: 0.9rem;
}

.landing-hero-section--redesign .landing-desc {
  max-width: 720px;
  margin-bottom: 1.05rem;
}

.landing-outcome-list--top {
  grid-template-columns: 1fr;
  gap: 0.55rem;
  margin-bottom: 1rem;
}

.landing-outcome-list--top .landing-outcome-item {
  padding: 0.72rem 0.82rem;
  background: rgba(255,255,255,0.82);
  border-color: rgba(196,68,28,0.18);
}

.landing-price-card--top {
  max-width: 740px;
  padding: 1rem;
  background: #18120f;
  color: var(--cream);
  border: 1px solid rgba(212,168,67,0.38);
  border-radius: 24px;
  box-shadow: 0 18px 50px rgba(26,22,18,0.16);
}

.landing-price-card--top .landing-offer-kicker {
  color: var(--gold);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 900;
}

.landing-price-line {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-wrap: wrap;
  margin: 0.2rem 0;
}

.landing-price-card--top .landing-original-price {
  color: rgba(245,240,232,0.52);
}

.landing-price-card--top .landing-price {
  color: var(--gold);
  font-size: clamp(1.8rem, 3vw, 2.35rem);
  line-height: 1;
}

.landing-price-card--top .landing-discount {
  background: var(--rust);
  color: #fff;
}

.landing-price-card--top .landing-buy-note {
  color: rgba(245,240,232,0.72);
  font-size: 0.84rem;
}

.landing-buy-btn--hero {
  min-height: 56px;
  padding-inline: 1.5rem;
  border-radius: 16px;
  box-shadow: 0 12px 30px rgba(196,68,28,0.34);
  text-align: center;
  justify-content: center;
}

.landing-price-card--top .landing-urgency-timer {
  width: 100%;
  margin: 0.6rem 0 0;
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.16);
  color: var(--cream);
}

.landing-value-stack {
  max-width: 740px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.65rem;
  margin-top: 0.85rem;
}

.landing-value-stack > div {
  padding: 0.8rem 0.75rem;
  border-radius: 17px;
  background: rgba(255,255,255,0.72);
  border: 1px solid rgba(226,217,200,0.9);
}

.landing-value-stack strong {
  display: block;
  font-size: 0.76rem;
  font-weight: 950;
  color: var(--ink);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.16rem;
}

.landing-value-stack span {
  display: block;
  color: var(--muted);
  font-size: 0.76rem;
  line-height: 1.35;
}

.landing-hero-art--redesign {
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.95rem;
}

.landing-cover-card--redesign {
  position: relative;
  max-width: 390px;
  margin: 0 auto;
  padding: 0.8rem;
  background: linear-gradient(135deg, #211914, #47301f);
  border-radius: 28px;
  box-shadow: 0 28px 70px rgba(26,22,18,0.25);
}

.landing-cover-card--redesign .landing-cover-img {
  border-radius: 20px;
}

.landing-cover-offer-badge {
  position: absolute;
  top: 1.15rem;
  left: 1.15rem;
  z-index: 4;
  background: var(--rust);
  color: #fff;
  padding: 0.42rem 0.72rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.07em;
  box-shadow: 0 10px 22px rgba(0,0,0,0.22);
}

.landing-quick-includes {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
  max-width: 390px;
  margin: 0 auto;
  width: 100%;
}

.landing-quick-includes > div {
  padding: 0.78rem 0.85rem;
  border-radius: 18px;
  background: rgba(255,255,255,0.8);
  border: 1px solid var(--border);
}

.landing-quick-includes span {
  display: block;
  color: var(--rust);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 900;
  margin-bottom: 0.15rem;
}

.landing-quick-includes strong {
  display: block;
  color: var(--ink);
  font-size: 0.9rem;
  line-height: 1.25;
}

.landing-above-fold-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin: 1.1rem 0 3rem;
}

.landing-above-fold-summary article {
  padding: 1.25rem;
  background: rgba(255,255,255,0.72);
  border: 1px solid var(--border);
  border-radius: 24px;
  box-shadow: 0 14px 36px rgba(26,22,18,0.055);
}

.landing-above-fold-summary span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  background: rgba(196,68,28,0.12);
  color: var(--rust);
  font-weight: 950;
  margin-bottom: 0.75rem;
}

.landing-above-fold-summary h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  line-height: 1.2;
  margin-bottom: 0.35rem;
}

.landing-above-fold-summary p {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.55;
}

@media (max-width: 980px) {
  .landing-hero-section--redesign {
    grid-template-columns: 1fr;
  }

  .landing-hero-art--redesign {
    order: -1;
  }

  .landing-cover-card--redesign {
    max-width: 320px;
  }

  .landing-value-stack,
  .landing-above-fold-summary {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .landing-wrap--redesign {
    padding-top: 6rem;
  }

  .landing-hero-section--redesign {
    padding: 1rem;
    border-radius: 24px;
  }

  .landing-proof-pill {
    font-size: 0.72rem;
  }

  .landing-price-card--top,
  .landing-buy-btn--hero {
    width: 100%;
  }

  .landing-value-stack,
  .landing-above-fold-summary,
  .landing-quick-includes {
    grid-template-columns: 1fr;
  }

  .landing-cover-card--redesign {
    max-width: 250px;
  }
}

/* ═══════════════════════════════════════════
   CONVERSION PATCH — problema principal arriba del fold
═══════════════════════════════════════════ */
.landing-problem-section {
  margin: 3.5rem 0;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(280px, 1fr);
  gap: clamp(1.2rem, 4vw, 2.4rem);
  align-items: stretch;
  padding: clamp(1.6rem, 4vw, 3rem);
  background: linear-gradient(135deg, rgba(26,22,18,0.96), rgba(48,39,32,0.96));
  color: var(--cream);
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 22px 70px rgba(26,22,18,0.16);
}

.landing-problem-copy .section-label { color: var(--gold); }

.landing-problem-copy h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 3.1rem);
  line-height: 1.08;
  letter-spacing: -0.035em;
  margin-bottom: 1rem;
}

.landing-problem-copy p {
  color: rgba(245,240,232,0.72);
  font-size: 1rem;
  max-width: 680px;
}

.landing-problem-card {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  padding: clamp(1.25rem, 3vw, 2rem);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.35rem;
}

.landing-problem-card ul {
  list-style: none;
  display: grid;
  gap: 0.95rem;
}

.landing-problem-card li {
  position: relative;
  padding-left: 1.8rem;
  color: rgba(245,240,232,0.82);
  line-height: 1.6;
}

.landing-problem-card li::before {
  content: '✕';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--rust);
  font-weight: 800;
}

.landing-problem-card strong {
  display: block;
  background: rgba(212,168,67,0.16);
  border: 1px solid rgba(212,168,67,0.28);
  color: #fff;
  padding: 1rem;
  line-height: 1.45;
}

@media (max-width: 900px) {
  .landing-problem-section {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .landing-problem-section {
    margin: 2.25rem 0;
    padding: 1.25rem;
  }

  .landing-problem-copy h2 {
    font-size: 1.85rem;
  }
}


/* ═══════════════════════════════════════════
   TRUST + SOCIAL PROOF PATCH
═══════════════════════════════════════════ */
.landing-top-trust-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.7rem;
  margin: 1rem 0 2.6rem;
}

.landing-top-trust-strip span {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 48px;
  padding: 0.72rem 0.85rem;
  border-radius: 999px;
  background: rgba(255,255,255,0.82);
  border: 1px solid rgba(226,217,200,0.95);
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 850;
  box-shadow: 0 12px 28px rgba(26,22,18,0.055);
}

.landing-author-section {
  margin: 3.5rem 0;
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 1.4rem;
  align-items: center;
  padding: clamp(1.4rem, 4vw, 2.4rem);
  border-radius: 28px;
  background: rgba(255,255,255,0.78);
  border: 1px solid var(--border);
  box-shadow: 0 18px 50px rgba(26,22,18,0.07);
}

.landing-author-avatar {
  width: 104px;
  height: 104px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--rust), #e46b35);
  color: white;
  font-size: 1.45rem;
  font-weight: 950;
  letter-spacing: 0.06em;
  box-shadow: 0 16px 34px rgba(196,68,28,0.25);
}



.landing-author-avatar img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  border-radius: 50%;
}
.landing-author-section h2,
.landing-message-proof h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  line-height: 1.12;
  letter-spacing: -0.025em;
  margin-bottom: 0.8rem;
}

.landing-author-section p,
.landing-message-proof-head p {
  color: var(--muted);
  max-width: 780px;
}

.landing-author-points {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1rem;
}

.landing-author-points span {
  padding: 0.45rem 0.7rem;
  border-radius: 999px;
  background: rgba(196,68,28,0.09);
  color: var(--rust);
  font-size: 0.78rem;
  font-weight: 850;
}

.landing-message-proof {
  margin: 3.5rem 0;
  padding: clamp(1.5rem, 4vw, 2.8rem);
  border-radius: 30px;
  background: linear-gradient(135deg, rgba(26,22,18,0.96), rgba(53,40,31,0.96));
  color: var(--cream);
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 22px 70px rgba(26,22,18,0.16);
}

.landing-message-proof .section-label { color: var(--gold); }
.landing-message-proof-head p { color: rgba(245,240,232,0.68); }

.landing-message-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.4rem;
}

.landing-message-card {
  border-radius: 24px;
  padding: 1rem;
  background: #f4efe7;
  color: var(--ink);
  box-shadow: 0 16px 42px rgba(0,0,0,0.20);
  transform: rotate(-0.6deg);
}

.landing-message-card:nth-child(2) { transform: rotate(0.6deg); }
.landing-message-card:nth-child(3) { transform: rotate(-0.2deg); }

.landing-message-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.8rem;
}

.landing-message-top span {
  font-weight: 950;
}

.landing-message-top small,
.landing-message-meta {
  color: var(--muted);
  font-size: 0.72rem;
}

.landing-message-bubble {
  padding: 0.95rem 1rem;
  border-radius: 20px 20px 20px 6px;
  background: white;
  border: 1px solid rgba(226,217,200,0.9);
  font-size: 0.95rem;
  line-height: 1.55;
  font-weight: 500;
}

.landing-message-meta {
  margin-top: 0.75rem;
  font-weight: 700;
}

@media (max-width: 900px) {
  .landing-top-trust-strip,
  .landing-message-grid {
    grid-template-columns: 1fr 1fr;
  }
  .landing-author-section {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .landing-top-trust-strip,
  .landing-message-grid {
    grid-template-columns: 1fr;
  }
  .landing-top-trust-strip span { border-radius: 18px; }
  .landing-author-avatar { width: 88px; height: 88px; }
  .landing-message-card,
  .landing-message-card:nth-child(2),
  .landing-message-card:nth-child(3) { transform: none; }
}

/* ─────────────── AUTHOR SECTION ENHANCEMENTS ─────────────── */
.landing-author-name {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  margin: -0.25rem 0 0.8rem;
}

.landing-author-name strong {
  color: var(--ink);
  font-size: 1rem;
  font-weight: 950;
}

.landing-author-name span {
  color: var(--rust);
  font-size: 0.8rem;
  font-weight: 850;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}


/* ─────────────── AUTHOR QUOTE ─────────────── */
.landing-author-quote {
  margin: 1.4rem 0 1.2rem;
  padding: 1.2rem 1.25rem 1.15rem;
  background: rgba(255,255,255,0.68);
  border-left: 4px solid var(--rust);
  border-radius: 0 18px 18px 0;
  position: relative;
  box-shadow: 0 14px 34px rgba(26,22,18,0.06);
}

.landing-author-quote-mark {
  position: absolute;
  top: -0.45rem;
  left: 0.75rem;
  font-family: 'Playfair Display', serif;
  font-size: 4rem;
  line-height: 1;
  color: rgba(196,68,28,0.16);
  pointer-events: none;
}

.landing-author-quote p {
  position: relative;
  margin: 0;
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: clamp(1.02rem, 2vw, 1.2rem);
  line-height: 1.55;
  color: var(--ink);
}

.landing-author-quote cite {
  display: block;
  margin-top: 0.8rem;
  font-style: normal;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--rust);
}

/* ─────────────── CLICKABLE PRODUCT PREVIEW ─────────────── */
.landing-preview-image-btn {
  border: 0;
  padding: 0;
  background: transparent;
  cursor: zoom-in;
  position: relative;
  display: block;
  width: 100%;
  text-align: left;
}

.landing-preview-image-btn img {
  display: block;
  width: 100%;
}

.landing-preview-image-btn span {
  position: absolute;
  left: 0.75rem;
  bottom: 0.75rem;
  z-index: 3;
  background: rgba(26,22,18,0.82);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding: 0.35rem 0.65rem;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.landing-preview-image-btn:hover span,
.landing-preview-image-btn:focus-visible span {
  opacity: 1;
  transform: translateY(0);
}

.landing-preview-image-btn:focus-visible {
  outline: 3px solid rgba(196,68,28,0.35);
  outline-offset: 4px;
}

/* ─────────────── MENSAJES / SCREENSHOTS CLICKEABLES ─────────────── */
.landing-message-proof--screenshots {
  position: relative;
}

.landing-message-grid--screenshots {
  align-items: stretch;
}

.landing-message-screenshot {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.04);
  border-radius: 24px;
  overflow: hidden;
  cursor: zoom-in;
  box-shadow: 0 18px 46px rgba(0,0,0,0.24);
  transform: rotate(-0.6deg);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.landing-message-screenshot:nth-child(2) { transform: rotate(0.6deg); }
.landing-message-screenshot:nth-child(3) { transform: rotate(-0.2deg); }

.landing-message-screenshot:hover {
  transform: translateY(-5px) scale(1.02);
  border-color: rgba(212,168,67,0.55);
  box-shadow: 0 26px 64px rgba(0,0,0,0.34);
}

.landing-message-screenshot img {
  width: 100%;
  display: block;
  aspect-ratio: 9 / 16;
  object-fit: cover;
}

.landing-message-zoom-hint {
  position: absolute;
  right: 12px;
  bottom: 12px;
  z-index: 2;
  background: rgba(26,22,18,0.82);
  color: #fff;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.22s ease, transform 0.22s ease;
}

.landing-message-screenshot:hover .landing-message-zoom-hint {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 640px) {
  .landing-message-screenshot,
  .landing-message-screenshot:nth-child(2),
  .landing-message-screenshot:nth-child(3) {
    transform: none;
  }

  .landing-message-screenshot:hover {
    transform: translateY(-3px);
  }

  .landing-message-zoom-hint {
    opacity: 1;
  }
}


/* ─── FIX: screenshots generales de clientes en landing ─── */
.landing-message-proof--screenshots .landing-message-card {
  display: none !important;
}

.landing-message-proof--screenshots .landing-message-grid--screenshots {
  align-items: stretch;
}

.landing-message-proof--screenshots .landing-message-screenshot {
  min-height: 100%;
}
