/* =============================================================
   EL DOCENTE CONSULTOR · Aula IA Pro
   styles.css — mobile-first
   1. Tokens   2. Reset/base   3. Utilities   4. Buttons
   5. Header   6. Hero   7. Sections   8. Placeholders
   9. Components   10. Footer/Sticky   11. Effects
   12. Responsive   13. Reduced-motion
   ============================================================= */

/* =============================================================
   1. TOKENS
   ============================================================= */
:root {
  /* Brand blues */
  --navy-1: #001044;
  --navy-2: #00134f;
  --navy-3: #00195f;
  --blue-corp: #01167d;
  --blue-bright: #005dfe;
  --grad-main: linear-gradient(135deg, #01167d 0%, #005dfe 100%);

  /* Neutrals */
  --white: #ffffff;
  --bg-soft: #f7f9ff;
  --bg-soft-2: #f4f7fc;
  --ink: #10172a;
  --ink-soft: #4a5169;
  --line: #e3e9f7;

  /* Accent (muy poco uso) */
  --gold: #ffc400;

  /* Text on dark */
  --on-dark: #eaf0ff;
  --on-dark-soft: #a9b7dd;

  /* Layout */
  --container: 1200px;
  --gutter: clamp(20px, 5vw, 40px);
  --radius: 16px;
  --radius-lg: 24px;
  --radius-pill: 999px;

  /* Type */
  --sans: "Quicksand", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;

  /* Easing */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-soft: cubic-bezier(0.25, 0.46, 0.45, 0.94);

  /* Shadows */
  --shadow-sm: 0 4px 16px rgba(1, 22, 125, 0.06);
  --shadow-md: 0 18px 50px rgba(1, 22, 125, 0.10);
  --shadow-blue: 0 30px 80px rgba(0, 93, 254, 0.28);
}

/* =============================================================
   2. RESET & BASE
   ============================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  tab-size: 2;
}

body {
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
  overscroll-behavior-y: none;
}

img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; padding: 0; }
p { text-wrap: pretty; }

h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

::selection { background: var(--blue-bright); color: #fff; }

:focus-visible {
  outline: 2px solid var(--blue-bright);
  outline-offset: 3px;
  border-radius: 6px;
}

/* =============================================================
   3. UTILITIES
   ============================================================= */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.narrow { max-width: 820px; }
.center { text-align: center; }

.skip-link {
  position: fixed; top: -100px; left: 1rem;
  padding: .6rem 1rem;
  background: var(--white); color: var(--blue-corp);
  z-index: 9999; border-radius: 8px; font-weight: 600;
  box-shadow: var(--shadow-md);
}
.skip-link:focus { top: 1rem; }

.eyebrow {
  display: inline-block;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--blue-bright);
  margin-bottom: 18px;
}
.eyebrow.ink { color: var(--blue-corp); }

.hl {
  background: var(--grad-main);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hl-ink { color: var(--blue-bright); }

.lead {
  font-size: clamp(1.02rem, 1.4vw, 1.18rem);
  color: var(--ink-soft);
  margin-top: 16px;
}
.lead.on-dark { color: var(--on-dark-soft); }
.lead strong { color: inherit; font-weight: 700; }
.muted { color: var(--ink-soft); margin-top: 10px; }

.on-dark { color: var(--on-dark); }

/* =============================================================
   4. BUTTONS
   ============================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5em;
  font-weight: 700;
  letter-spacing: .01em;
  text-align: center;
  border-radius: var(--radius-pill);
  transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out), background .35s var(--ease-out);
  will-change: transform;
}
.btn-primary {
  background: var(--grad-main);
  color: #fff;
  padding: 15px 28px;
  box-shadow: 0 12px 30px rgba(0, 93, 254, 0.30);
}
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 44px rgba(0, 93, 254, 0.42);
}
.btn-lg {
  font-size: 1.02rem;
  padding: 17px 34px;
}
.btn-block { width: 100%; }

.btn-header {
  background: var(--grad-main);
  color: #fff;
  padding: 10px 20px;
  font-size: .92rem;
  box-shadow: 0 8px 20px rgba(0, 93, 254, 0.25);
}
.btn-header:hover { transform: translateY(-2px); }

/* =============================================================
   5. HEADER
   ============================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 800;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-block: 12px;
}
.brand-logo { width: 150px; height: auto; }
/* Fallback de texto si el logo aún no existe */
.brand-text {
  font-size: 1.15rem; font-weight: 700; color: var(--blue-corp);
  letter-spacing: -.01em;
}
.footer-brand-text { color: #9fb6ff; }
.footer-logo { width: 150px; }

/* =============================================================
   6. HERO
   ============================================================= */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(120% 90% at 80% -10%, #012a9e 0%, transparent 55%),
    linear-gradient(180deg, var(--navy-3) 0%, var(--navy-1) 100%);
  color: var(--on-dark);
  padding-block: clamp(56px, 10vw, 110px);
}
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: .55;
}
.glow-a { width: 460px; height: 460px; background: #005dfe; top: -120px; right: -80px; }
.glow-b { width: 380px; height: 380px; background: #0140c9; bottom: -140px; left: -100px; opacity: .4; }
.glow-c { width: 520px; height: 520px; background: #0a49d6; top: 50%; left: 50%; transform: translate(-50%,-50%); opacity: .35; }
.grid-lines {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(80% 70% at 50% 30%, #000 0%, transparent 75%);
  -webkit-mask-image: radial-gradient(80% 70% at 50% 30%, #000 0%, transparent 75%);
}
.shape-ring {
  position: absolute;
  width: 320px; height: 320px;
  border: 1px solid rgba(120, 160, 255, 0.25);
  border-radius: 50%;
  top: 20%; right: 8%;
  box-shadow: inset 0 0 60px rgba(0, 93, 254, 0.15);
}

.hero-inner {
  position: relative;
  display: grid;
  gap: 44px;
  align-items: center;
}
.eyebrow { color: #7ea6ff; }
.hero-title {
  font-size: clamp(2.1rem, 6.4vw, 3.7rem);
  letter-spacing: -0.03em;
}
.hero-title .hl {
  background: linear-gradient(120deg, #6ea0ff 0%, #ffffff 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-sub {
  margin-top: 22px;
  max-width: 560px;
  font-size: clamp(1.02rem, 1.6vw, 1.16rem);
  color: var(--on-dark-soft);
}
.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 10px;
  margin-top: 26px;
}
.hero-tags li {
  font-size: .82rem;
  font-weight: 600;
  color: var(--on-dark);
  padding: 6px 13px;
  border: 1px solid rgba(126, 166, 255, 0.28);
  border-radius: var(--radius-pill);
  background: rgba(255,255,255,0.03);
}
.hero-copy .btn-primary { margin-top: 30px; }
.microcopy {
  margin-top: 14px;
  font-size: .86rem;
  color: var(--on-dark-soft);
}

.hero-media { display: flex; justify-content: center; }
.ph-hero-book { max-width: 460px; width: 100%; }

/* =============================================================
   7. SECTIONS (base)
   ============================================================= */
.section { padding-block: clamp(56px, 9vw, 104px); }
.alt-bg { background: var(--bg-soft); }

.section-title {
  font-size: clamp(1.6rem, 4vw, 2.5rem);
  letter-spacing: -0.025em;
}
.section-head { margin-bottom: 44px; }
.section-head.narrow { margin-inline: auto; }

.split {
  display: grid;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}
.split-copy .section-title { margin-bottom: 4px; }

.closer {
  margin-top: 40px;
  font-size: clamp(1.15rem, 2.4vw, 1.5rem);
  font-weight: 600;
  line-height: 1.4;
  text-align: center;
  color: var(--ink);
}
.closer.on-dark { color: var(--on-dark); }
.closer strong { color: var(--blue-bright); font-weight: 700; }

/* 03 · PROBLEMA */
.pain-grid {
  display: grid;
  gap: 18px;
  margin-top: 44px;
}
.pain-card {
  position: relative;
  padding: 26px 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.pain-card .num {
  display: block;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 10px;
}
.pain-card p { font-weight: 600; font-size: 1.05rem; color: var(--ink); }

/* 04 · TRANSFORMACIÓN */
.steps-timeline {
  display: grid;
  gap: 18px;
  margin-block: 48px;
  counter-reset: step;
}
.step {
  position: relative;
  padding: 26px 24px 26px 26px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.step::before {
  content: "";
  position: absolute; left: 0; top: 0; bottom: 0;
  width: 4px; background: var(--grad-main);
}
.step-num {
  font-size: .82rem; font-weight: 700; letter-spacing: .14em;
  color: var(--blue-bright);
}
.step h3 { font-size: 1.14rem; margin-top: 8px; }

/* 05 · PRODUCTO */
.check-list { display: grid; gap: 14px; margin-top: 26px; }
.check-list li {
  position: relative;
  padding-left: 36px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.45;
}
.check-list li::before {
  content: "";
  position: absolute; left: 0; top: 2px;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--grad-main);
  box-shadow: 0 4px 10px rgba(0,93,254,.25);
}
.check-list li::after {
  content: "";
  position: absolute; left: 7px; top: 8px;
  width: 8px; height: 5px;
  border-left: 2px solid #fff; border-bottom: 2px solid #fff;
  transform: rotate(-45deg);
}
.check-list.on-dark li { color: var(--on-dark); }
.check-list.two-col { gap: 12px 24px; }

/* 06 · RESULTADO */
.accent-line {
  font-weight: 700;
  color: var(--blue-bright);
  font-size: clamp(1.2rem, 3vw, 1.7rem);
}
.result-grid {
  display: grid;
  gap: 14px;
  margin-top: 10px;
}
.result-cell {
  display: flex; align-items: center; gap: 14px;
  padding: 20px 22px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-weight: 600;
  box-shadow: var(--shadow-sm);
}
.result-cell .dot {
  flex: none;
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--grad-main);
}

/* 07 · BONO */
.badge {
  display: inline-block;
  font-size: .74rem; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase;
  color: #7a5a00;
  background: var(--gold);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  margin-bottom: 18px;
}
.bono {
  background:
    radial-gradient(100% 80% at 90% 0%, #eef3ff 0%, transparent 60%),
    var(--white);
}
.tag-included {
  margin-top: 26px;
  display: inline-block;
  font-weight: 700;
  color: var(--blue-corp);
  border-top: 2px solid var(--gold);
  padding-top: 12px;
}

/* 08 · ANCLA */
.value-grid {
  display: grid;
  gap: 16px;
  margin-top: 12px;
}
.value-card {
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.value-card h3 { font-size: 1.06rem; }
.price-range {
  display: block;
  margin-top: 10px;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--blue-bright);
}
.disclaimer {
  margin-top: 28px;
  font-size: .88rem;
  color: var(--ink-soft);
  text-align: center;
  max-width: 720px;
  margin-inline: auto;
}
.anchor-close {
  margin-top: 44px;
  text-align: center;
}
.anchor-close > p { color: var(--ink-soft); font-weight: 600; }
.big-price {
  display: block;
  font-size: clamp(3rem, 9vw, 4.6rem);
  font-weight: 700;
  line-height: 1;
  margin: 10px 0 24px;
  background: var(--grad-main);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.big-price em { font-style: normal; font-size: .32em; color: var(--ink-soft); -webkit-text-fill-color: var(--ink-soft); }

/* 09 · OBJECIÓN + dark sections */
.objecion, .cta-final, .oferta {
  position: relative;
  overflow: hidden;
  color: var(--on-dark);
  background:
    radial-gradient(110% 90% at 50% -10%, #012a9e 0%, transparent 55%),
    linear-gradient(180deg, var(--navy-3) 0%, var(--navy-1) 100%);
}
.objecion-bg, .oferta-bg { position: absolute; inset: 0; pointer-events: none; }
.deny-list {
  display: grid;
  gap: 14px;
  margin: 40px 0;
}
.deny-list li {
  position: relative;
  padding: 18px 22px 18px 54px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(126,166,255,0.18);
  border-radius: var(--radius);
  font-weight: 600;
  color: var(--on-dark);
}
.deny-list li::before {
  content: "✕";
  position: absolute; left: 20px; top: 50%; transform: translateY(-50%);
  color: var(--gold); font-weight: 700;
}

/* 10 · PARA QUIÉN */
.fit-cols {
  display: grid;
  gap: 22px;
}
.fit-card {
  padding: 32px 28px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}
.fit-yes {
  background: linear-gradient(180deg, #f2f6ff 0%, #ffffff 100%);
  border-color: #d5e2ff;
}
.fit-no { background: var(--white); }
.fit-card h3 { font-size: 1.3rem; margin-bottom: 20px; }
.fit-list { display: grid; gap: 14px; }
.fit-list li { position: relative; padding-left: 34px; font-weight: 600; color: var(--ink); }
.fit-list.yes li::before {
  content: "✓";
  position: absolute; left: 0; top: 0;
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--grad-main); color: #fff;
  display: grid; place-items: center; font-size: .78rem;
}
.fit-list.no li::before {
  content: "×";
  position: absolute; left: 0; top: -1px;
  width: 22px; height: 22px; border-radius: 50%;
  background: #eef1f7; color: #97a0b8;
  display: grid; place-items: center; font-weight: 700;
}

/* 11 · PREVIEW */
.preview-grid {
  display: grid;
  gap: 18px;
}

/* 12 · PLAN */
.plan-timeline {
  display: grid;
  gap: 18px;
  margin-top: 8px;
}
.plan-week {
  position: relative;
  padding: 26px 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.week-tag {
  display: inline-block;
  font-size: .74rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: #fff; background: var(--grad-main);
  padding: 5px 12px; border-radius: var(--radius-pill);
  margin-bottom: 12px;
}
.plan-week h3 { font-size: 1.16rem; }
.plan-week p { color: var(--ink-soft); margin-top: 6px; }

/* 13 · AUTOR */
.author-split { align-items: center; }
.author-role { color: var(--blue-bright); font-weight: 600; margin-top: 6px; }
.author-copy .lead { margin-top: 18px; }

/* 14 · OFERTA */
.offer-copy .check-list { margin-top: 22px; }
.price-block { margin-top: 28px; }
.price-block .big-price { margin: 0; }
.price-note { display: block; color: var(--on-dark-soft); font-weight: 600; margin-top: 4px; }
.offer-copy .btn-primary { margin-top: 26px; }
.offer-copy .microcopy { margin-top: 12px; }

/* 15 · FAQ */
.faq-list { display: grid; gap: 12px; }
.faq-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 56px 22px 24px;
  position: relative;
  font-weight: 700;
  font-size: 1.04rem;
  color: var(--ink);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  position: absolute; right: 24px; top: 50%; transform: translateY(-50%);
  font-size: 1.5rem; font-weight: 600; color: var(--blue-bright);
  transition: transform .3s var(--ease-out);
}
.faq-item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq-body { padding: 0 24px 24px; }
.faq-body p { color: var(--ink-soft); }

/* 16 · CTA FINAL */
.cta-big {
  font-size: clamp(1.4rem, 4vw, 2.2rem);
  font-weight: 700;
  line-height: 1.25;
  margin-top: 18px;
  color: var(--on-dark);
}
.cta-big.hl-line {
  background: linear-gradient(120deg, #6ea0ff 0%, #ffffff 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.cta-final .lead { margin-inline: auto; max-width: 640px; }
.price-inline {
  margin-top: 30px;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--gold);
}
.cta-final .btn-primary { margin-top: 20px; }

/* =============================================================
   8. PLACEHOLDERS (espacios para imágenes)
   ============================================================= */
.ph {
  position: relative;
  width: 100%;
  border-radius: var(--radius);
  overflow: hidden;
  display: grid;
  place-items: center;
  background:
    linear-gradient(135deg, #eef3ff 0%, #dfe8ff 100%);
  border: 1px dashed #b9caf5;
  isolation: isolate;
}
.ph img {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
}
.ph-contain {
  aspect-ratio: 4 / 5;
  background:
    radial-gradient(120% 100% at 50% 0%, #ffffff 0%, #e7eeff 70%);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-blue);
  padding: 8px;
}
.ph-contain img { object-fit: contain; }
.ph-cover { aspect-ratio: 16 / 10; }
.ph-cover img { object-fit: cover; }
.ph-author { aspect-ratio: 4 / 5; border-radius: var(--radius-lg); }
.ph-author img { border-radius: var(--radius-lg); }
.ph-stack { aspect-ratio: 8 / 7; box-shadow: none; background: rgba(255,255,255,0.04); border-color: rgba(126,166,255,0.3); }

.ph-label {
  position: absolute;
  z-index: 1;
  inset: auto;
  text-align: center;
  font-size: .74rem;
  font-weight: 600;
  color: #7d90bf;
  letter-spacing: .02em;
  line-height: 1.7;
  padding: 12px;
}
.ph-label strong {
  display: block;
  font-size: .82rem;
  color: var(--blue-corp);
  font-weight: 700;
  margin-bottom: 2px;
}
/* Sobre fondo oscuro (stack) */
.ph-stack .ph-label { color: var(--on-dark-soft); }
.ph-stack .ph-label strong { color: #9fb6ff; }

/* =============================================================
   9. REVEAL (animación de entrada)
   ============================================================= */
.reveal {
  opacity: 1;
  transform: none;
}
.animations-ready .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s var(--ease-out), transform .7s var(--ease-out);
}
.animations-ready .reveal.is-visible { opacity: 1; transform: none; }
/* Resiliencia: sin JavaScript el contenido permanece visible. */
.is-ready .reveal:not(.is-visible) { opacity: 1; transform: none; transition-delay: .2s; }

/* =============================================================
   10. FOOTER
   ============================================================= */
.site-footer {
  background: var(--navy-1);
  color: var(--on-dark-soft);
  padding-block: 48px 32px;
}
.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand { display: flex; flex-direction: column; gap: 10px; }
.footer-copy { font-size: .88rem; }
.footer-links { display: flex; flex-wrap: wrap; gap: 10px 24px; }
.footer-links a { font-size: .9rem; font-weight: 600; transition: color .25s var(--ease-out); }
.footer-links a:hover { color: var(--white); }
.footer-note {
  margin-top: 22px;
  font-size: .8rem;
  color: #6b7aa5;
  max-width: 640px;
}

/* =============================================================
   STICKY CTA MÓVIL
   ============================================================= */
.sticky-cta {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 900;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 16px;
  padding-bottom: calc(12px + env(safe-area-inset-bottom, 0));
  background: rgba(255,255,255,0.94);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-top: 1px solid var(--line);
  box-shadow: 0 -8px 30px rgba(1,22,125,0.10);
  transform: translateY(120%);
  transition: transform .4s var(--ease-out);
}
.sticky-cta.is-on { transform: translateY(0); }
.sticky-info { display: flex; flex-direction: column; line-height: 1.2; }
.sticky-info strong { font-size: .92rem; color: var(--ink); }
.sticky-info span { font-size: .84rem; font-weight: 700; color: var(--blue-bright); }
.sticky-cta .btn-primary { padding: 12px 22px; font-size: .92rem; white-space: nowrap; }

/* =============================================================
   11. RESPONSIVE  (mobile-first → tablet → PC)
   ============================================================= */

/* Large phone / small tablet */
@media (min-width: 540px) {
  .pain-grid { grid-template-columns: repeat(3, 1fr); }
  .value-grid { grid-template-columns: repeat(2, 1fr); }
  .result-grid { grid-template-columns: repeat(2, 1fr); }
  .result-cell.wide { grid-column: 1 / -1; }
  .preview-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { flex-direction: row; align-items: center; justify-content: space-between; }
}

/* Tablet portrait */
@media (min-width: 720px) {
  .steps-timeline { grid-template-columns: repeat(2, 1fr); }
  .plan-timeline { grid-template-columns: repeat(2, 1fr); }
  .fit-cols { grid-template-columns: repeat(2, 1fr); }
  .check-list.two-col { grid-template-columns: repeat(2, 1fr); }
  .brand-logo { width: 170px; }
  .sticky-cta { display: none; }  /* solo móvil */
}

/* Tablet landscape / small laptop */
@media (min-width: 960px) {
  .hero-inner { grid-template-columns: 55% 45%; gap: 40px; }
  .hero-copy { max-width: none; }
  .split { grid-template-columns: 1fr 1fr; }
  .split.author-split { grid-template-columns: 42% 58%; }
  .split.offer-split { grid-template-columns: 46% 54%; }
  .steps-timeline { grid-template-columns: repeat(4, 1fr); }
  .plan-timeline { grid-template-columns: repeat(4, 1fr); }
  .value-grid { grid-template-columns: repeat(4, 1fr); }
  .result-grid { grid-template-columns: repeat(3, 1fr); }
  .result-cell.wide { grid-column: auto; }
  .brand-logo { width: 180px; }
}

/* Laptop / desktop */
@media (min-width: 1280px) {
  .section-head.narrow { max-width: 860px; }
  .ph-hero-book { max-width: 500px; }
}

/* =============================================================
   12. REDUCED MOTION
   ============================================================= */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  .glow { animation: none; }
  .btn, .sticky-cta { transition: none; }
}


/* =============================================================
   14. PREMIUM MEDIA + MICROINTERACTIONS
   ============================================================= */
.premium-media {
  position: relative;
  display: grid;
  place-items: center;
  transition: transform .45s var(--ease-out), filter .45s var(--ease-out);
  will-change: transform;
}
.premium-media img {
  display: block;
  max-width: 100%;
  height: auto;
  transition: transform .45s var(--ease-out), filter .45s var(--ease-out);
}
.premium-media:hover {
  transform: translateY(-6px);
}
.premium-media:hover img {
  transform: scale(1.018);
  filter: drop-shadow(0 24px 34px rgba(0, 93, 254, .22));
}

.hero-product-visual {
  width: min(100%, 590px);
  margin-inline: auto;
  padding: 10px;
}
.hero-product-visual img {
  width: 100%;
  object-fit: contain;
  filter: drop-shadow(0 30px 46px rgba(0, 32, 128, .48));
}

.product-photo {
  overflow: hidden;
  border-radius: 28px;
  box-shadow: 0 24px 60px rgba(8, 33, 92, .16);
  background: #eaf0ff;
}
.product-photo img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.bonus-book {
  width: min(100%, 520px);
  margin-inline: auto;
  padding: 18px;
}
.bonus-book img {
  width: 100%;
  object-fit: contain;
  filter: drop-shadow(0 24px 38px rgba(1, 22, 125, .22));
}

.preview-showcase-wrap { text-align: center; }
.preview-head { margin-inline: auto; }
.preview-showcase {
  width: min(100%, 980px);
  margin: 34px auto 0;
  padding: clamp(10px, 2vw, 20px);
}
.preview-showcase img {
  width: 100%;
  object-fit: contain;
  filter: drop-shadow(0 28px 46px rgba(1, 22, 125, .18));
}

.author-visual {
  width: min(100%, 560px);
  margin-inline: auto;
}
.author-visual img {
  width: 100%;
  object-fit: contain;
  filter: drop-shadow(0 22px 36px rgba(0, 93, 254, .16));
}

.offer-product-visual {
  width: min(100%, 600px);
  margin-inline: auto;
  padding: 8px;
}
.offer-product-visual img {
  width: 100%;
  object-fit: contain;
  filter: drop-shadow(0 26px 46px rgba(0, 0, 0, .32));
}

/* Hovers premium, sobrios */
.pain-card,
.step,
.result-cell,
.value-card,
.fit-card,
.plan-week,
.faq-item {
  transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out), border-color .35s var(--ease-out), background .35s var(--ease-out);
}
.pain-card:hover,
.step:hover,
.result-cell:hover,
.value-card:hover,
.fit-card:hover,
.plan-week:hover,
.faq-item:hover {
  transform: translateY(-5px);
  border-color: rgba(0, 93, 254, .28);
  box-shadow: 0 20px 42px rgba(20, 50, 120, .11), 0 0 0 1px rgba(0, 93, 254, .04);
}
.result-cell:hover .dot {
  box-shadow: 0 0 0 7px rgba(0, 93, 254, .08), 0 0 18px rgba(0, 93, 254, .25);
  transform: scale(1.08);
}
.result-cell .dot { transition: transform .3s var(--ease-out), box-shadow .3s var(--ease-out); }
.value-card:hover .price-range { transform: translateX(3px); }
.price-range { transition: transform .3s var(--ease-out); }

/* Botones: efecto de luz suave */
.btn-primary { position: relative; overflow: hidden; isolation: isolate; }
.btn-primary::after {
  content: "";
  position: absolute;
  inset: -40% auto -40% -30%;
  width: 22%;
  transform: skewX(-18deg) translateX(-240%);
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.34), transparent);
  transition: transform .7s var(--ease-out);
  pointer-events: none;
}
.btn-primary:hover::after { transform: skewX(-18deg) translateX(700%); }

@media (max-width: 767px) {
  .hero-product-visual { width: min(92vw, 480px); }
  .bonus-book { width: min(88vw, 430px); }
  .preview-showcase { width: 100%; margin-top: 24px; padding: 0; }
  .author-visual { width: min(88vw, 460px); }
  .offer-product-visual { width: min(92vw, 500px); }
}

@media (prefers-reduced-motion: reduce) {
  .premium-media,
  .premium-media img,
  .pain-card,
  .step,
  .result-cell,
  .value-card,
  .fit-card,
  .plan-week,
  .faq-item,
  .result-cell .dot,
  .price-range,
  .btn-primary::after {
    transition: none !important;
    transform: none !important;
  }
}

/* =============================================================
   15. FINAL POLISH · 2026-08-27
   ============================================================= */
/* Header: logo compacto y equilibrado */
.brand-logo { width: 70px !important; max-height: 70px; object-fit: contain; }
.header-inner { min-height: 82px; padding-block: 6px; }
.footer-logo { width: 54px !important; max-height: 54px; }
.footer-brand { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.footer-copy { margin: 0; }

/* Mockups: +15% de presencia base, preservando el hover suave */
.hero-product-visual { width: min(115%, 680px); transform: scale(1.15); transform-origin: center; }
.offer-product-visual { width: min(115%, 690px); transform: scale(1.15); transform-origin: center; }
.hero-product-visual:hover,
.offer-product-visual:hover { transform: scale(1.15) translateY(-6px); }
.hero-product-visual:hover img,
.offer-product-visual:hover img { transform: scale(1.018); }

/* Glow premium más refinado en recursos visuales */
.premium-media::after {
  content: "";
  position: absolute;
  inset: 12% 8%;
  background: radial-gradient(circle at center, rgba(0,93,254,.15), transparent 68%);
  filter: blur(26px);
  opacity: 0;
  transition: opacity .4s var(--ease-out);
  pointer-events: none;
  z-index: -1;
}
.premium-media:hover::after { opacity: 1; }

/* Footer más sobrio */
.site-footer { padding-top: 42px; }
.footer-inner { gap: 28px; }
.footer-note { margin-top: 24px; padding-top: 20px; }

@media (max-width: 719px) {
  .brand-logo { width: 56px !important; max-height: 56px; }
  .header-inner { min-height: 68px; }
  .footer-logo { width: 44px !important; max-height: 44px; }
  .hero-product-visual,
  .offer-product-visual { width: min(100%, 540px); transform: scale(1.08); }
  .hero-product-visual:hover,
  .offer-product-visual:hover { transform: scale(1.08) translateY(-4px); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-product-visual,
  .offer-product-visual,
  .hero-product-visual:hover,
  .offer-product-visual:hover { transform: none !important; }
}

/* =============================================================
   16. LAUNCH + PROBLEM IMAGE + OFFER FIX · 2026-08-28
   ============================================================= */
.launch-bar {
  background: linear-gradient(90deg, #00134f 0%, #01167d 48%, #005dfe 100%);
  color: #fff;
  font-size: .9rem;
  border-bottom: 1px solid rgba(255,255,255,.12);
}
.launch-bar-inner {
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  text-align: center;
}
.launch-bar a {
  color: #fff;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.launch-separator { opacity: .55; padding-inline: 4px; }
.regular-price { opacity: .88; }
.price-old {
  text-decoration: line-through;
  text-decoration-thickness: 2px;
  opacity: .62;
  margin-left: .25em;
  white-space: nowrap;
}
.price-old-lg { font-size: 1rem; font-weight: 700; align-self: center; }
.price-old-small { font-size: .78em; opacity: .55; }
.launch-price { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.launch-note { margin-top: 2px; margin-bottom: 14px; color: var(--ink-soft); font-size: .92rem; }
.on-dark-price .price-old { color: rgba(255,255,255,.72); }

/* Problema: narrativa + imagen humana */
.problem-top {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, .95fr);
  gap: clamp(38px, 6vw, 78px);
  align-items: center;
}
.problem-copy { max-width: 720px; }
.problem-media {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  box-shadow: 0 24px 70px rgba(1, 22, 125, .14);
  min-height: 420px;
  background: #eef3ff;
}
.problem-media img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
  object-position: 50% 50%;
  display: block;
  transition: transform .55s var(--ease-out), filter .55s var(--ease-out);
}
.problem-media:hover img { transform: scale(1.025); filter: saturate(1.04); }
.problem-pain-grid { margin-top: 52px; }
.problema .closer { max-width: 850px; margin-inline: auto; text-align: center; }

/* Oferta final: grande, pero contenido dentro de su columna */
.offer-media { display: flex; align-items: center; justify-content: flex-start; overflow: visible; }
.offer-product-visual {
  width: min(100%, 610px) !important;
  max-width: 610px;
  transform: translateX(-18px) scale(1) !important;
  transform-origin: center left;
}
.offer-product-visual:hover { transform: translateX(-18px) translateY(-6px) scale(1.018) !important; }
.offer-product-visual:hover img { transform: none !important; }
.offer-copy { position: relative; z-index: 2; }

@media (max-width: 991px) {
  .problem-top { grid-template-columns: 1fr; }
  .problem-copy { max-width: 820px; }
  .problem-media { min-height: 0; max-width: 780px; margin-inline: auto; }
  .problem-media img { min-height: 0; aspect-ratio: 3 / 2; }
  .offer-media { justify-content: center; }
  .offer-product-visual {
    transform: none !important;
    width: min(100%, 560px) !important;
    margin-inline: auto;
  }
  .offer-product-visual:hover { transform: translateY(-4px) scale(1.015) !important; }
}

@media (max-width: 719px) {
  .launch-bar-inner { min-height: 44px; gap: 8px; flex-direction: column; padding-block: 6px; line-height: 1.25; }
  .launch-bar a { display: none; }
  .problem-top { gap: 28px; }
  .problem-media { border-radius: 18px; }
  .problem-pain-grid { margin-top: 32px; }
  .offer-product-visual { width: min(94vw, 500px) !important; }
}

@media (prefers-reduced-motion: reduce) {
  .problem-media img,
  .problem-media:hover img,
  .offer-product-visual,
  .offer-product-visual:hover {
    transition: none !important;
    transform: none !important;
  }
}

/* =============================================================
   17. FINAL CONVERSION POLISH · 2026-08-28
   ============================================================= */
/* Header blanco eliminado: la barra de lanzamiento es la única cabecera. */
.launch-bar {
  position: sticky;
  top: 0;
  z-index: 900;
  box-shadow: 0 8px 24px rgba(0, 16, 68, .16);
}
.launch-bar-inner {
  min-height: 44px;
  justify-content: center;
  gap: 22px;
  white-space: nowrap;
}
.launch-bar a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 7px 16px;
  border: 1px solid rgba(255,255,255,.30);
  border-radius: 999px;
  text-decoration: none;
  background: rgba(255,255,255,.10);
  transition: transform .28s var(--ease-out), background .28s var(--ease-out), box-shadow .28s var(--ease-out);
}
.launch-bar a:hover {
  transform: translateY(-1px);
  background: rgba(255,255,255,.17);
  box-shadow: 0 8px 22px rgba(0,0,0,.13);
}

/* Hero: copy promocional adaptado para una sola línea en móvil. */
.launch-copy-mobile { display: none; }
.launch-microcopy { white-space: nowrap; }

/* Compactar transición entre Problema y Transformación. */
.problema { padding-bottom: clamp(34px, 4vw, 54px) !important; }
.transformacion { padding-top: clamp(34px, 4vw, 54px) !important; }
.problema .closer { margin-bottom: 0 !important; }
.transformacion .section-head { margin-top: 0 !important; }

/* Precio del ancla de valor perfectamente centrado. */
.anchor-close {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.anchor-close .launch-price {
  justify-content: center;
  width: 100%;
}
.anchor-close .big-price,
.anchor-close .price-old { margin-inline: 0; }

/* Objeciones: microinteracción premium. */
.objecion .no-list li,
.objecion .objection-list li,
.objecion li.reveal {
  transition: transform .32s var(--ease-out), border-color .32s var(--ease-out), background .32s var(--ease-out), box-shadow .32s var(--ease-out);
  will-change: transform;
}
.objecion .no-list li:hover,
.objecion .objection-list li:hover,
.objecion li.reveal:hover {
  transform: translate(5px, -4px);
  border-color: rgba(93,166,255,.48);
  background: linear-gradient(90deg, rgba(0,93,254,.13), rgba(255,255,255,.045));
  box-shadow: 0 14px 34px rgba(0,93,254,.14);
}
.objecion .no-list li::before,
.objecion .objection-list li::before,
.objecion li.reveal::before {
  transition: transform .32s var(--ease-out), filter .32s var(--ease-out);
}
.objecion .no-list li:hover::before,
.objecion .objection-list li:hover::before,
.objecion li.reveal:hover::before {
  transform: scale(1.12);
  filter: drop-shadow(0 0 9px rgba(255,196,0,.36));
}

/* Oferta final: precio con contraste alto sobre azul profundo. */
.offer-copy .big-price,
.on-dark-price .big-price,
.offer-copy .big-price strong {
  background: linear-gradient(90deg, #ffffff 0%, #8fc6ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent !important;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 4px 18px rgba(72,151,255,.14));
}
.offer-copy .big-price em,
.on-dark-price .big-price em {
  color: #9dcbff !important;
  -webkit-text-fill-color: #9dcbff;
  background: none;
  font-style: normal;
}
.offer-copy .price-note,
.offer-copy .launch-note { color: rgba(255,255,255,.84) !important; }
.offer-copy .price-old { color: rgba(255,255,255,.65) !important; opacity: 1; }

/* Oferta final: mockup contenido y sin invadir el copy. */
.offer-media { padding-right: clamp(8px, 2vw, 26px); }
.offer-product-visual {
  width: min(100%, 625px) !important;
  max-width: 625px !important;
  transform: translateX(-36px) !important;
}
.offer-product-visual:hover {
  transform: translateX(-36px) translateY(-5px) scale(1.014) !important;
}

@media (max-width: 719px) {
  .launch-bar { font-size: .78rem; }
  .launch-bar-inner {
    min-height: 40px;
    flex-direction: row;
    justify-content: space-between;
    gap: 8px;
    padding-block: 4px;
    text-align: left;
  }
  .launch-bar-inner > span {
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .launch-bar-inner > span strong::before { content: "Lanzamiento "; }
  .launch-bar-inner > span strong { font-size: 0; }
  .launch-bar-inner > span strong::after { content: "$17"; font-size: .78rem; }
  .launch-bar-inner .launch-separator { font-size: 0; padding-inline: 3px; }
  .launch-bar-inner .launch-separator::after { content: "·"; font-size: .78rem; }
  .launch-bar-inner .regular-price { font-size: 0; }
  .launch-bar-inner .regular-price::after { content: "Regular $27"; font-size: .78rem; }
  .launch-bar a {
    display: inline-flex !important;
    flex: 0 0 auto;
    min-height: 30px;
    padding: 5px 10px;
    font-size: .75rem;
    text-decoration: none;
  }
  .launch-copy-desktop { display: none; }
  .launch-copy-mobile { display: inline; }
  .launch-microcopy {
    white-space: nowrap;
    font-size: clamp(.72rem, 3.15vw, .82rem);
    letter-spacing: -.015em;
  }
  .problema { padding-bottom: 28px !important; }
  .transformacion { padding-top: 28px !important; }
  .offer-product-visual,
  .offer-product-visual:hover {
    width: min(88vw, 450px) !important;
    transform: none !important;
    margin-inline: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .launch-bar a,
  .objecion .no-list li,
  .objecion .objection-list li,
  .objecion li.reveal,
  .objecion .no-list li::before,
  .objecion .objection-list li::before,
  .objecion li.reveal::before {
    transition: none !important;
    transform: none !important;
  }
}

/* =============================================================
   REINSTALACIÓN LIMPIA · AJUSTE FINAL OFERTA
   Mockup aproximadamente 11% mayor, alineado dentro de su columna.
   ============================================================= */
@media (min-width: 900px) {
  .offer-media {
    justify-content: center !important;
    padding-right: clamp(12px, 1.6vw, 24px) !important;
  }
  .offer-product-visual {
    width: min(111%, 695px) !important;
    max-width: 695px !important;
    transform: translateX(-22px) !important;
    transform-origin: center center !important;
  }
  .offer-product-visual:hover {
    transform: translateX(-22px) translateY(-5px) scale(1.014) !important;
  }
}

/* =============================================================
   OMEGA HOTMART CTA OVERRIDE
   Conserva el widget oficial de Hotmart, pero los CTA visibles
   mantienen 100% el branding Aula IA Pro.
   ============================================================= */
a.hotmart-fb.hotmart__button-checkout,
a.hotmart-fb.hotmart__button-checkout:link,
a.hotmart-fb.hotmart__button-checkout:visited {
  -webkit-appearance: none !important;
  appearance: none !important;
  background: linear-gradient(135deg, #01167d 0%, #005dfe 100%) !important;
  background-color: #005dfe !important;
  color: #ffffff !important;
  border: 1px solid rgba(255,255,255,.14) !important;
  border-radius: 999px !important;
  box-shadow: 0 12px 30px rgba(0,93,254,.30) !important;
  text-decoration: none !important;
  font-family: 'Quicksand', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
  opacity: 1 !important;
  filter: none !important;
  cursor: pointer !important;
  transition: transform .28s cubic-bezier(.2,.7,.2,1), box-shadow .28s cubic-bezier(.2,.7,.2,1), filter .28s ease !important;
}

a.hotmart-fb.hotmart__button-checkout:hover,
a.hotmart-fb.hotmart__button-checkout:focus-visible {
  background: linear-gradient(135deg, #01167d 0%, #005dfe 100%) !important;
  color: #ffffff !important;
  transform: translateY(-3px) scale(1.012) !important;
  box-shadow: 0 18px 44px rgba(0,93,254,.42), 0 0 0 1px rgba(111,182,255,.15) inset !important;
  filter: brightness(1.04) !important;
}

a.hotmart-fb.hotmart__button-checkout:active {
  transform: translateY(-1px) scale(.995) !important;
}

/* Botón compacto de la barra superior */
.launch-bar a.hotmart-fb.hotmart__button-checkout {
  padding: 9px 20px !important;
  min-height: 42px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: auto !important;
  white-space: nowrap !important;
  font-size: .92rem !important;
  box-shadow: 0 8px 22px rgba(0,93,254,.25) !important;
}

/* CTAs principales */
a.btn.hotmart-fb.hotmart__button-checkout {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}

a.btn-lg.hotmart-fb.hotmart__button-checkout {
  padding: 17px 34px !important;
  min-height: 58px !important;
}

a.btn-block.hotmart-fb.hotmart__button-checkout {
  width: 100% !important;
}

/* Evita que el CSS remoto de Hotmart inserte imagen/botón verde en nuestros CTA */
a.hotmart-fb.hotmart__button-checkout > img {
  display: none !important;
}

@media (max-width: 768px) {
  a.btn.hotmart-fb.hotmart__button-checkout:not(.launch-bar a) {
    width: 100% !important;
  }
  .launch-bar a.hotmart-fb.hotmart__button-checkout {
    padding: 8px 14px !important;
    min-height: 38px !important;
    font-size: .82rem !important;
  }
}


/* =============================================================
   CTA SIZE FIX · 2026-08-28
   Se conservan los mockups originales. Solo se compactan los
   botones Hotmart para una línea, mejor ritmo y aspecto premium.
   ============================================================= */

/* Todos los CTA principales: compactos y una sola línea */
a.btn.hotmart-fb.hotmart__button-checkout:not(.launch-bar a) {
  width: auto !important;
  max-width: 100% !important;
  min-width: 0 !important;
  min-height: 50px !important;
  padding: 13px 26px !important;
  font-size: clamp(.92rem, 1.05vw, 1rem) !important;
  line-height: 1.1 !important;
  white-space: nowrap !important;
  flex-wrap: nowrap !important;
  border-radius: 999px !important;
}

/* Hero: no más botón gigante de ancho casi completo */
.hero-copy > a.btn.hotmart-fb.hotmart__button-checkout {
  width: fit-content !important;
  max-width: min(100%, 360px) !important;
  padding-inline: 28px !important;
}

/* Oferta final: compacto pero con presencia */
.offer-copy a.btn-block.hotmart-fb.hotmart__button-checkout {
  width: fit-content !important;
  min-width: 310px !important;
  max-width: 100% !important;
  padding-inline: 30px !important;
}

/* CTA final */
.cta-final a.btn.hotmart-fb.hotmart__button-checkout {
  width: fit-content !important;
  max-width: 100% !important;
}

@media (max-width: 768px) {
  a.btn.hotmart-fb.hotmart__button-checkout:not(.launch-bar a) {
    width: 100% !important;
    min-height: 48px !important;
    padding: 12px 16px !important;
    font-size: clamp(.82rem, 3.6vw, .94rem) !important;
    white-space: nowrap !important;
    letter-spacing: -.01em !important;
  }

  .hero-copy > a.btn.hotmart-fb.hotmart__button-checkout,
  .offer-copy a.btn-block.hotmart-fb.hotmart__button-checkout,
  .cta-final a.btn.hotmart-fb.hotmart__button-checkout {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
  }
}

@media (max-width: 380px) {
  a.btn.hotmart-fb.hotmart__button-checkout:not(.launch-bar a) {
    font-size: .80rem !important;
    padding-inline: 12px !important;
  }
}

/* =============================================================
   COMPACT CTA SYSTEM · FINAL
   Reduce todos los CTA de la landing, mantiene una sola línea
   y evita botones de ancho excesivo en desktop y mobile.
   ============================================================= */
a.btn.hotmart-fb.hotmart__button-checkout:not(.launch-bar a) {
  width: fit-content !important;
  min-width: 0 !important;
  max-width: 100% !important;
  min-height: 46px !important;
  padding: 11px 22px !important;
  font-size: .92rem !important;
  line-height: 1 !important;
  white-space: nowrap !important;
  border-radius: 999px !important;
}

/* Hero */
.hero-copy > a.btn.hotmart-fb.hotmart__button-checkout {
  width: fit-content !important;
  max-width: 310px !important;
  padding-inline: 24px !important;
}

/* CTA intermedios centrados */
.center > a.btn.hotmart-fb.hotmart__button-checkout {
  width: fit-content !important;
  min-width: 220px !important;
  max-width: 290px !important;
  padding-inline: 24px !important;
}

/* Oferta inmediatamente antes del FAQ */
.offer-copy a.btn-block.hotmart-fb.hotmart__button-checkout {
  width: fit-content !important;
  min-width: 255px !important;
  max-width: 315px !important;
  min-height: 48px !important;
  padding: 11px 24px !important;
  font-size: .94rem !important;
}

/* CTA final */
.cta-final a.btn.hotmart-fb.hotmart__button-checkout {
  width: fit-content !important;
  min-width: 220px !important;
  max-width: 290px !important;
  min-height: 46px !important;
  padding-inline: 22px !important;
}

/* Barra superior: aún más discreta */
.launch-bar a.hotmart-fb.hotmart__button-checkout {
  min-height: 36px !important;
  padding: 7px 15px !important;
  font-size: .82rem !important;
}

@media (max-width: 768px) {
  a.btn.hotmart-fb.hotmart__button-checkout:not(.launch-bar a),
  .hero-copy > a.btn.hotmart-fb.hotmart__button-checkout,
  .center > a.btn.hotmart-fb.hotmart__button-checkout,
  .offer-copy a.btn-block.hotmart-fb.hotmart__button-checkout,
  .cta-final a.btn.hotmart-fb.hotmart__button-checkout {
    width: auto !important;
    min-width: 0 !important;
    max-width: 100% !important;
    min-height: 44px !important;
    padding: 10px 18px !important;
    font-size: .86rem !important;
    white-space: nowrap !important;
  }

  .hero-copy > a.btn.hotmart-fb.hotmart__button-checkout,
  .offer-copy a.btn-block.hotmart-fb.hotmart__button-checkout {
    display: inline-flex !important;
  }
}

@media (max-width: 420px) {
  a.btn.hotmart-fb.hotmart__button-checkout:not(.launch-bar a) {
    font-size: .80rem !important;
    padding: 9px 14px !important;
  }
}

/* =============================================================
   CTA PLUS · 2026-08-28
   Hero largo y fino, CTA extra en producto, mockup oferta mayor.
   ============================================================= */

/* Hero: largo hasta aprox. el final de "Administración", sin aumentar altura */
.hero-copy > a.btn.hotmart-fb.hotmart__button-checkout {
  width: min(100%, 650px) !important;
  max-width: 650px !important;
  min-height: 50px !important;
  padding: 12px 28px !important;
  justify-content: center !important;
  white-space: nowrap !important;
}

/* CTA dentro de la sección El Docente Consultor */
.product-inline-offer {
  margin-top: 26px;
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}
.product-inline-price {
  display: inline-flex;
  align-items: baseline;
  gap: 12px;
  white-space: nowrap;
}
.product-inline-price strong {
  font-size: clamp(1.7rem, 2.5vw, 2.25rem);
  line-height: 1;
  color: #005dfe;
  letter-spacing: -.035em;
}
.product-inline-price strong small {
  font-size: .42em;
  letter-spacing: 0;
  color: #41547d;
}
.product-inline-price .price-old {
  color: #707b91;
  font-weight: 700;
  font-size: .95rem;
}
.product-inline-cta {
  min-height: 48px !important;
  padding: 11px 24px !important;
  font-size: .95rem !important;
  white-space: nowrap !important;
}

/* Oferta inmediatamente antes del FAQ: mockup con más presencia */
@media (min-width: 900px) {
  .split.offer-split { grid-template-columns: 49% 51% !important; }
  .offer-product-visual {
    width: min(118%, 780px) !important;
    max-width: 780px !important;
    transform: translateX(-18px) !important;
  }
  .offer-product-visual:hover {
    transform: translateX(-18px) translateY(-5px) scale(1.014) !important;
  }
}

@media (max-width: 768px) {
  .hero-copy > a.btn.hotmart-fb.hotmart__button-checkout {
    width: 100% !important;
    max-width: 100% !important;
    min-height: 48px !important;
    padding: 11px 14px !important;
    font-size: clamp(.80rem, 3.5vw, .92rem) !important;
    white-space: nowrap !important;
  }
  .product-inline-offer {
    align-items: stretch;
    gap: 12px;
  }
  .product-inline-price {
    width: 100%;
    justify-content: center;
  }
  .product-inline-cta {
    width: 100% !important;
    min-height: 46px !important;
    padding: 10px 14px !important;
    font-size: .88rem !important;
  }
  .offer-product-visual,
  .offer-product-visual:hover {
    width: min(96vw, 520px) !important;
    transform: none !important;
  }
}

/* =============================================================
   MOBILE POLISH · 2026-08-28
   1) CTA producto centrado.
   2) Mockup oferta móvil centrado y ~10% menor.
   3) CTA generales un poco más largos, sin aumentar altura.
   ============================================================= */

/* Botones generales: un poco más de presencia horizontal, misma altura visual */
a.btn.hotmart-fb.hotmart__button-checkout:not(.launch-bar a) {
  min-width: 280px !important;
  max-width: 420px !important;
  padding-inline: 28px !important;
}

/* Hero: conservar el ancho largo y fino aprobado */
.hero-copy > a.btn.hotmart-fb.hotmart__button-checkout {
  width: min(100%, 650px) !important;
  max-width: 650px !important;
}

/* CTA de producto: precio + botón centrados */
.product-inline-offer {
  justify-content: center;
}
.product-inline-cta {
  min-width: 300px !important;
  justify-content: center !important;
}

/* Oferta antes del FAQ: CTA más visible pero no gigante */
.offer-copy a.btn-block.hotmart-fb.hotmart__button-checkout {
  width: min(100%, 410px) !important;
  max-width: 410px !important;
  min-width: 310px !important;
  justify-content: center !important;
}

/* CTA final: más largo de izquierda a derecha, sin engordarlo */
.cta-final a.btn.hotmart-fb.hotmart__button-checkout {
  width: min(100%, 340px) !important;
  max-width: 340px !important;
  min-width: 300px !important;
  justify-content: center !important;
}

@media (max-width: 768px) {
  /* Botón de la sección El Docente Consultor centrado */
  .product-inline-offer {
    width: 100%;
    justify-content: center !important;
    align-items: center !important;
  }
  .product-inline-price {
    width: 100%;
    justify-content: center !important;
  }
  .product-inline-cta {
    width: min(86vw, 330px) !important;
    max-width: 330px !important;
    min-width: 0 !important;
    margin-inline: auto !important;
    padding-inline: 20px !important;
    white-space: nowrap !important;
  }

  /* Oferta móvil: mockup 10% menor, centrado y sin tocar márgenes */
  .offer-media {
    width: 100%;
    padding-inline: 18px !important;
    justify-content: center !important;
    overflow: hidden !important;
  }
  .offer-product-visual,
  .offer-product-visual:hover {
    width: min(86vw, 468px) !important;
    max-width: calc(100vw - 36px) !important;
    margin-inline: auto !important;
    transform: none !important;
  }
  .offer-product-visual img {
    display: block;
    width: 100% !important;
    height: auto !important;
    margin-inline: auto !important;
  }

  /* Botones móviles: más largos, finos y en una sola línea */
  a.btn.hotmart-fb.hotmart__button-checkout:not(.launch-bar a) {
    width: min(86vw, 340px) !important;
    max-width: 340px !important;
    min-width: 0 !important;
    min-height: 44px !important;
    margin-inline: auto !important;
    padding: 10px 20px !important;
    white-space: nowrap !important;
    justify-content: center !important;
  }

  /* El hero sigue siendo más largo que el resto */
  .hero-copy > a.btn.hotmart-fb.hotmart__button-checkout {
    width: 100% !important;
    max-width: 100% !important;
    margin-inline: 0 !important;
  }

  .offer-copy a.btn-block.hotmart-fb.hotmart__button-checkout,
  .cta-final a.btn.hotmart-fb.hotmart__button-checkout {
    width: min(86vw, 340px) !important;
    max-width: 340px !important;
    min-width: 0 !important;
    margin-inline: auto !important;
  }
}

@media (max-width: 390px) {
  a.btn.hotmart-fb.hotmart__button-checkout:not(.launch-bar a),
  .product-inline-cta,
  .offer-copy a.btn-block.hotmart-fb.hotmart__button-checkout,
  .cta-final a.btn.hotmart-fb.hotmart__button-checkout {
    width: calc(100vw - 40px) !important;
    max-width: calc(100vw - 40px) !important;
    font-size: .80rem !important;
    padding-inline: 14px !important;
  }
}

/* =============================================================
   VIDEO EXPLICATIVO · Lite YouTube embed
   Poster local + carga del iframe solo al hacer clic.
   ============================================================= */
.problem-video {
  aspect-ratio: 16 / 9;
  min-height: 0;
  background: #061a59;
}
.problem-video .video-poster {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 0;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  display: block;
  overflow: hidden;
  border-radius: inherit;
  font: inherit;
}
.problem-video .video-poster > img {
  width: 100%;
  height: 100%;
  min-height: 0;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform .45s var(--ease-out), filter .45s var(--ease-out);
}
.problem-video .video-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,16,68,.04), rgba(0,16,68,.26));
  pointer-events: none;
}
.problem-video .video-play {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 78px;
  height: 78px;
  filter: drop-shadow(0 10px 28px rgba(0, 20, 110, .32));
  transition: transform .28s var(--ease-out), filter .28s var(--ease-out);
}
.problem-video .video-play svg { width: 100%; height: 100%; display: block; }
.problem-video .video-play circle {
  fill: rgba(255,255,255,.96);
  stroke: rgba(0,93,254,.95);
  stroke-width: 2;
}
.problem-video .video-play path { fill: #005dfe; }
.problem-video .video-label {
  position: absolute;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  color: #fff;
  background: rgba(1,22,125,.78);
  border: 1px solid rgba(255,255,255,.24);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 8px 14px;
  border-radius: 999px;
  font-size: .88rem;
  font-weight: 700;
  white-space: nowrap;
}
.problem-video:hover .video-poster > img { transform: scale(1.018); filter: saturate(1.04); }
.problem-video:hover .video-play { transform: translate(-50%, -50%) scale(1.07); filter: drop-shadow(0 12px 34px rgba(0,93,254,.42)); }
.problem-video.is-playing { background: #000; }
.problem-video.is-playing .video-poster { display: none; }
.problem-video iframe {
  width: 100%;
  height: 100%;
  min-height: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
  display: block;
  border-radius: inherit;
  background: #000;
}
.video-noscript { color: #fff; }

@media (max-width: 992px) {
  .problem-video { width: 100%; max-width: 780px; }
}
@media (max-width: 576px) {
  .problem-video { border-radius: 18px; }
  .problem-video .video-play { width: 64px; height: 64px; }
  .problem-video .video-label { bottom: 16px; font-size: .8rem; padding: 7px 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .problem-video .video-poster > img,
  .problem-video .video-play { transition: none; }
}
