:root {
  --blue: #1d4ed8;
  --blue-dark: #0f2a6b;
  --blue-soft: #eff5ff;
  --blue-line: #dbe6fb;
  --text: #0f1b33;
  --muted: #5b6b85;
  --white: #ffffff;
  --radius: 14px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

.wrap { max-width: 1100px; margin: 0 auto; padding: 0 20px; }

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 10;
  background: rgba(255, 255, 255, .9);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--blue-line);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.logo { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 1.15rem; color: var(--blue); letter-spacing: -.02em; }
.logo svg { width: 26px; height: 26px; }
.logo.small { font-size: 1rem; }
.nav-links { display: flex; gap: 28px; font-size: .95rem; color: var(--muted); }
.nav-links a:hover { color: var(--blue); }

/* Buttons */
.btn {
  display: inline-block;
  background: var(--blue);
  color: var(--white);
  font-weight: 600;
  padding: 14px 28px;
  border-radius: 999px;
  transition: background .2s, transform .2s;
}
.btn:hover { background: var(--blue-dark); transform: translateY(-1px); }

/* Hero */
.hero {
  position: relative;
  background: var(--blue-soft);
  padding: 110px 0 140px;
  text-align: center;
  overflow: hidden;
}
.eyebrow { color: var(--blue); font-weight: 600; font-size: .9rem; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 18px; }
.hero h1 { font-size: clamp(2.3rem, 6vw, 4rem); line-height: 1.08; letter-spacing: -.035em; color: var(--blue-dark); margin-bottom: 22px; }
.lead { max-width: 560px; margin: 0 auto 36px; color: var(--muted); font-size: 1.1rem; }
.waves { position: absolute; bottom: -1px; left: 0; width: 100%; height: 70px; fill: var(--white); }

/* Sections */
.section { padding: 90px 0; }
.section-alt { background: var(--blue-soft); }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 36px; flex-wrap: wrap; }
.section-head h2 { font-size: 2rem; letter-spacing: -.03em; color: var(--blue-dark); }
.section-head p { color: var(--muted); }

.tag {
  display: inline-block;
  font-size: .75rem; font-weight: 600;
  color: var(--blue);
  background: var(--blue-soft);
  padding: 4px 12px;
  border-radius: 999px;
  letter-spacing: .02em;
}

/* Cover (sin imagen) */
.cover {
  width: 100%; height: 100%;
  display: flex; flex-direction: column; justify-content: center; align-items: center;
  gap: 14px; padding: 32px; text-align: center;
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 100%);
  color: var(--white);
}
.cover svg { width: 56px; fill: var(--white); }
.cover strong { font-size: clamp(1.3rem, 3vw, 2rem); line-height: 1.15; letter-spacing: -.02em; max-width: 14ch; }
.cover span { font-size: .85rem; opacity: .8; letter-spacing: .1em; text-transform: uppercase; }

/* Featured */
.featured {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 56px;
  align-items: center;
}
.featured-media {
  aspect-ratio: 1 / 1;
  width: 100%;
  max-width: 460px;
  justify-self: center;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 30px 60px -30px rgba(29, 78, 216, .45);
}
.featured-media img { width: 100%; height: 100%; object-fit: cover; }
.featured-body h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); line-height: 1.15; letter-spacing: -.03em; color: var(--blue-dark); margin: 16px 0 6px; }
.featured-body > p { color: var(--muted); font-size: 1.05rem; margin-bottom: 18px; }
.featured-body > p.by { color: var(--blue); font-weight: 500; margin-bottom: 10px; }
.featured-body > p.intro { color: var(--text); border-left: 3px solid var(--blue); padding-left: 16px; }
.rating { font-size: .9rem; color: var(--muted); margin-bottom: 20px; }
.stars { color: var(--blue); letter-spacing: 2px; }
.link { color: var(--blue); font-weight: 600; }
.link:hover { text-decoration: underline; }
.checks { list-style: none; margin-bottom: 30px; display: grid; gap: 10px; }
.checks li { position: relative; padding-left: 30px; }
.checks li::before {
  content: "";
  position: absolute; left: 0; top: 4px;
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' stroke='white' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.buy { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.price { font-size: 1.5rem; font-weight: 700; color: var(--blue-dark); }

/* Grid */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px; }
.card {
  display: flex; flex-direction: column;
  background: var(--white);
  border: 1px solid var(--blue-line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .2s, box-shadow .2s;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 20px 40px -24px rgba(29, 78, 216, .4); }
.card-media { aspect-ratio: 16 / 10; overflow: hidden; }
.card-media img { width: 100%; height: 100%; object-fit: cover; }
.card-body { padding: 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.card-body h3 { font-size: 1.15rem; letter-spacing: -.01em; color: var(--blue-dark); }
.card-body p { color: var(--muted); font-size: .95rem; flex: 1; }
.card-foot { display: flex; justify-content: space-between; align-items: center; margin-top: 6px; }
.card-foot .price { font-size: 1.05rem; }
.more { color: var(--blue); font-weight: 600; font-size: .9rem; }

/* Temario */
.modules { list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px 32px; }
.modules li {
  display: flex; align-items: center; gap: 18px;
  background: var(--white);
  border: 1px solid var(--blue-line);
  border-radius: var(--radius);
  padding: 18px 22px;
  font-weight: 500;
}
.modules .num { color: var(--blue); font-weight: 700; font-size: .95rem; min-width: 24px; }

/* Bonos */
.bonuses { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.bonus { border: 1px solid var(--blue-line); border-radius: var(--radius); padding: 26px 22px; }
.bonus .gift {
  display: grid; place-items: center;
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--blue-soft); color: var(--blue); font-weight: 700;
  margin-bottom: 16px;
}
.bonus h3 { font-size: 1rem; line-height: 1.4; color: var(--blue-dark); }

/* Opiniones */
.quotes { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.quote {
  background: var(--white);
  border: 1px solid var(--blue-line);
  border-radius: var(--radius);
  padding: 36px;
  display: flex; flex-direction: column; gap: 16px;
}
.quote blockquote { font-size: 1.05rem; }
.quote figcaption { color: var(--muted); font-size: .9rem; margin-top: auto; }
.quote-purpose { background: var(--blue); border-color: var(--blue); color: var(--white); justify-content: center; }
.quote-purpose blockquote { font-size: clamp(1.4rem, 3vw, 1.9rem); line-height: 1.25; letter-spacing: -.02em; font-weight: 600; }
.quote-purpose figcaption { color: rgba(255, 255, 255, .8); }

/* Para quién */
.narrow { max-width: 820px; }
.forwho { list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px 32px; }
.forwho li { position: relative; padding-left: 30px; font-size: 1.05rem; }
.forwho li::before {
  content: "";
  position: absolute; left: 0; top: 6px;
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' stroke='white' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat;
}

/* Preguntas frecuentes */
.faq { display: grid; gap: 12px; }
.faq details {
  background: var(--white);
  border: 1px solid var(--blue-line);
  border-radius: var(--radius);
  padding: 20px 24px;
}
.faq summary {
  cursor: pointer; list-style: none;
  font-weight: 600; color: var(--blue-dark);
  display: flex; justify-content: space-between; gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--blue); font-size: 1.3rem; line-height: 1; }
.faq details[open] summary::after { content: "−"; }
.faq details p { color: var(--muted); margin-top: 12px; }

/* CTA final */
.cta-band { background: var(--blue-dark); color: var(--white); text-align: center; padding: 90px 0; }
.cta-band h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); letter-spacing: -.03em; margin-bottom: 10px; }
.cta-band p { opacity: .75; margin-bottom: 30px; }
.btn-light { background: var(--white); color: var(--blue-dark); }
.btn-light:hover { background: var(--blue-soft); }

/* Footer */
.footer { border-top: 1px solid var(--blue-line); padding: 28px 0; color: var(--muted); font-size: .9rem; }
.disclosure { margin-top: 14px; font-size: .8rem; opacity: .85; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }

/* Responsive */
@media (max-width: 820px) {
  .featured { grid-template-columns: 1fr; gap: 32px; }
  .modules, .quotes, .forwho { grid-template-columns: 1fr; }
  .bonuses { grid-template-columns: 1fr 1fr; }
  .hero { padding: 80px 0 110px; }
  .section { padding: 64px 0; }
}
@media (max-width: 480px) {
  .wrap { padding: 0 16px; }
  .nav-links { gap: 18px; font-size: .9rem; }
  .btn { width: 100%; text-align: center; }
  .bonuses { grid-template-columns: 1fr; }
  .quote { padding: 26px; }
}
