/* ──────────────────────────────────────────────────────────────────────
 *  StudiaHub Course Page — shortcode [studiahub_course_page]
 *
 *  Hoja única para múltiples tenants. Los colores (--shub-accent,
 *  --shub-secondary, --shub-cta-grad, --shub-hero-grad) y la tipografía
 *  (--shub-font) se inyectan inline en el wrapper desde el branding del
 *  payload — lo que ves acá son SOLO los defaults de fallback.
 *
 *  Si tenés que cambiar colores fijos en el plugin, casi siempre la
 *  respuesta es: el tenant debería setearlo en /admin/settings, no
 *  hardcodear acá.
 * ────────────────────────────────────────────────────────────────────── */

.slc-coursepage {
    /* Brand defaults — se sobreescriben inline desde branding del LMS */
    --shub-accent: #7950F2;
    --shub-accent-dark: #5F3DC4;
    --shub-accent-soft: rgba(121, 80, 242, 0.10);
    --shub-accent-rgb: 121, 80, 242;
    --shub-secondary: #845EF7;
    --shub-secondary-rgb: 132, 94, 247;
    --shub-cta-grad: linear-gradient(135deg, #7950F2 0%, #5F3DC4 100%);
    --shub-hero-grad: linear-gradient(135deg, rgba(121,80,242,0.06) 0%, rgba(132,94,247,0.10) 60%, rgba(121,80,242,0.04) 100%);
    --shub-avatar-grad: linear-gradient(135deg, #845EF7, #5C7CFA);

    /* Neutrales (no dependen del tenant) */
    --shub-text-title: #0F172A;
    --shub-text-body: #475569;
    --shub-text-muted: #64748B;
    --shub-bg-app: #FFFFFF;
    --shub-bg-soft: #F8FAFC;
    --shub-border: #E2E8F0;
    --shub-border-subtle: #EDF2F7;

    /* Layout tokens */
    --shub-radius: 14px;
    --shub-radius-lg: 18px;
    --shub-radius-pill: 999px;
    --shub-gap: 16px;
    --shub-section-y: clamp(64px, 8vw, 96px);
    --shub-wrap: 1200px;
    --shub-wrap-narrow: 920px;
    --shub-title-gap: 40px; /* aire entre h2 y su contenido */

    font-family: var(--e-global-typography-text-font-family, var(--shub-font, inherit)) !important;
    color: var(--shub-text-body);
    line-height: 1.65;
    width: 100%;
    /* El article es la boundary: un block theme (Twenty Twenty-*) mete el
     * article como hijo directo de .is-layout-constrained y le clava el
     * content-size (~645px) + margin-inline:auto, aplastando TODO el landing
     * a una columna centrada angosta. Rompemos ese content-size acá. La hoja
     * del plugin carga DESPUÉS de los global-styles del theme, así que esta
     * regla (misma specificity 0,1,0) gana por orden — sin !important. En
     * Hello Elementor no hay .is-layout-constrained, así que es no-op. El
     * ancho real del contenido lo sigue comandando .slc-cp__wrap (1200px). */
    max-width: none;
    margin-inline: 0;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
.slc-coursepage *, .slc-coursepage *::before, .slc-coursepage *::after { box-sizing: border-box; }
/* Reset agresivo: WP themes y Elementor inyectan margins/line-heights raros
 * sobre h1/h2/h3/p/ul que se cuelan via cascade.
 * Usamos :where() para specificity 0 — así cualquier regla con clase propia
 * (.slc-cp__hero-title etc) la sobreescribe sin pelear con specificity. */
:where(.slc-coursepage) h1,
:where(.slc-coursepage) h2,
:where(.slc-coursepage) h3,
:where(.slc-coursepage) h4,
:where(.slc-coursepage) h5,
:where(.slc-coursepage) h6,
:where(.slc-coursepage) p,
:where(.slc-coursepage) ul,
:where(.slc-coursepage) ol,
:where(.slc-coursepage) li {
    margin: 0;
    padding: 0;
}
/* Headings con line-height tight propio — sino heredan 1.65 del body y los
 * títulos de varias líneas quedan con MUCHO aire interno. */
:where(.slc-coursepage) h1,
:where(.slc-coursepage) h2,
:where(.slc-coursepage) h3,
:where(.slc-coursepage) h4,
:where(.slc-coursepage) h5,
:where(.slc-coursepage) h6 { line-height: 1.15; }
:where(.slc-coursepage) ul,
:where(.slc-coursepage) ol { list-style: none; }
.slc-coursepage a { text-decoration: none; }
/* Default text-align del wrapper para que ningún hijo herede left/center del theme */
.slc-coursepage { text-align: left; }

/* ── Immunity al content-size del block theme ────────────────────────────
 * Un block theme opinado (Twenty Twenty-*) mete los elementos de contenido
 * bajo .is-layout-constrained y les clava el content-size (~645px), que
 * descuadra el hero. Ya lo rompimos en el root (.slc-coursepage); esto es
 * belt-and-suspenders sobre los elementos de contenido, NO sobre los wrappers
 * de layout (.slc-cp__wrap declara su propio max-width y no está en la lista,
 * así que sobrevive intacto).
 *
 * Especificidad 0,1,0 (viene del .slc-coursepage) → le gana al :where() de
 * bajo peso del theme, pero empata-pierde con los componentes del landing (que
 * declaran su propio max-width y vienen después). No-op en Hello Elementor. */
.slc-coursepage :where(h1, h2, h3, h4, h5, h6, p, ul, ol, li, figure, blockquote, dl, dd, a) {
    max-width: none;
}
.slc-coursepage :where(img, svg, video) { max-width: 100%; }

/* ── TIPOGRAFÍA: cuerpo = Text de Elementor, títulos = Accent de Elementor ──
 * (mismo criterio que coursepitch) La landing hereda la tipografía global del
 * sitio. Títulos (h1–h6) con la Accent font + su peso; fallback a la font del
 * LMS / tema. !important para ganarle al theme-style del tema. */
.slc-coursepage h1, .slc-coursepage h2, .slc-coursepage h3,
.slc-coursepage h4, .slc-coursepage h5, .slc-coursepage h6 {
    font-family: var(--e-global-typography-accent-font-family, var(--shub-font, inherit)) !important;
    font-weight: var(--e-global-typography-accent-font-weight, 700) !important;
}

.slc-cp__wrap { max-width: var(--shub-wrap); margin: 0 auto; padding: 0 32px; width: 100%; }
.slc-cp__wrap--narrow { max-width: var(--shub-wrap-narrow); }
.slc-cp__section { padding: var(--shub-section-y) 0; background: var(--shub-bg-app); }
.slc-cp__section--soft { background: var(--shub-bg-soft); }

/* Titulares — más aire abajo (var(--shub-title-gap)) y mejor jerarquía */
.slc-cp__h2 {
    font-size: clamp(26px, 3.2vw, 36px);
    font-weight: 800;
    color: var(--shub-text-title);
    letter-spacing: -0.025em;
    margin-bottom: var(--shub-title-gap);
    line-height: 1.15;
}
.slc-cp__lead {
    color: var(--shub-text-muted);
    font-size: 17px;
    /* Subimos el lead pegado al h2 — el contenido real respira abajo */
    margin-top: calc(var(--shub-title-gap) * -1 + 8px);
    margin-bottom: var(--shub-title-gap);
    max-width: 680px;
}

/* ── HERO ── */
.slc-cp__hero {
    background: var(--shub-hero-grad);
    padding: clamp(56px, 8vw, 104px) 0;
    position: relative;
    overflow: hidden;
}
.slc-cp__hero::before {
    /* Spotlight sutil con el color primario */
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 60%;
    height: 140%;
    background: radial-gradient(ellipse at center, rgba(var(--shub-accent-rgb), 0.08), transparent 70%);
    pointer-events: none;
}
.slc-cp__hero-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.95fr;
    gap: clamp(40px, 5vw, 72px);
    align-items: center;
    position: relative;
    z-index: 1;
}
.slc-cp__hero-badges { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 28px; }
.slc-cp__badge {
    display: inline-block;
    background: var(--shub-accent);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    padding: 7px 14px;
    border-radius: var(--shub-radius-pill);
}
.slc-cp__badge--soft {
    background: rgba(var(--shub-accent-rgb), 0.12);
    color: var(--shub-accent-dark);
    text-transform: none;
    letter-spacing: 0;
    font-weight: 600;
}
.slc-cp__hero-title {
    font-size: clamp(32px, 5.4vw, 54px);
    font-weight: 800;
    color: var(--shub-text-title);
    line-height: 1.1;
    letter-spacing: -0.03em;
    /* Aire extra arriba/abajo: title respira contra badges + subtitle */
    margin: 0 0 18px;
    max-width: 17ch;
}
.slc-cp__hero-subtitle {
    font-size: clamp(17px, 1.7vw, 21px);
    color: var(--shub-text-body);
    max-width: 56ch;
    /* Subtitle pegado un poco al title (es complemento) + bastante aire al proof/meta */
    margin: 0 0 32px;
    line-height: 1.55;
}
.slc-cp__hero-proof { display: flex; align-items: center; gap: 8px; color: var(--shub-text-title); font-size: 15px; margin: 0 0 28px; }
.slc-cp__stars { display: inline-flex; color: #FAB005; }
.slc-cp__proof-sep { color: var(--shub-text-muted); }
.slc-cp__hero-meta { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; }
.slc-cp__meta-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.85);
    backdrop-filter: blur(6px);
    color: var(--shub-text-body);
    font-size: 13px;
    font-weight: 500;
    padding: 9px 14px;
    border-radius: var(--shub-radius-pill);
    border: 1px solid rgba(var(--shub-accent-rgb), 0.08);
}
.slc-cp__meta-icon { display: inline-flex; color: var(--shub-accent); }

/* Hero card (precio + trailer) */
.slc-cp__hero-card {
    background: #fff;
    border: 1px solid var(--shub-border);
    border-radius: var(--shub-radius-lg);
    overflow: hidden;
    box-shadow: 0 24px 60px -24px rgba(15,23,42,0.22), 0 0 0 1px rgba(var(--shub-accent-rgb), 0.04);
}
.slc-cp__video { position: relative; padding-bottom: 56.25%; height: 0; background: #000; }
.slc-cp__video iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: 0; }
.slc-cp__price-block { padding: 28px; }
.slc-cp__price-row { display: flex; align-items: center; gap: 12px; margin-bottom: 6px; }
.slc-cp__price-old { color: var(--shub-text-muted); text-decoration: line-through; font-size: 18px; }
.slc-cp__price-off { background: #FFE3E3; color: #C92A2A; font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: var(--shub-radius-pill); }
.slc-cp__price-now { font-size: 40px; font-weight: 800; color: var(--shub-text-title); line-height: 1; letter-spacing: -0.025em; }
.slc-cp__price-inst { color: var(--shub-text-muted); font-size: 14px; margin-top: 8px; margin-bottom: 22px; }
.slc-cp__cta {
    display: block;
    text-align: center;
    background: var(--shub-cta-grad);
    color: var(--shub-on-cta, #fff);
    font-weight: 700;
    font-size: 16px;
    padding: 16px 24px;
    border-radius: 12px;
    box-shadow: 0 10px 26px -8px rgba(var(--shub-accent-rgb), 0.55);
    transition: transform 150ms ease, box-shadow 150ms ease;
}
.slc-cp__cta:hover { transform: translateY(-2px); box-shadow: 0 16px 34px -10px rgba(var(--shub-accent-rgb), 0.6); }
.slc-cp__cta--lg { font-size: 17px; padding: 18px 44px; display: inline-block; }
.slc-cp__urgency { display: flex; align-items: center; gap: 8px; color: #E8590C; font-size: 13px; font-weight: 600; margin-top: 14px; }
.slc-cp__urgency--center { justify-content: center; margin-top: 16px; }
.slc-cp__urgency-dot { width: 8px; height: 8px; border-radius: 50%; background: #FD7E14; box-shadow: 0 0 0 0 rgba(253,126,20,0.5); animation: slc-cp-pulse 1.8s infinite; }
@keyframes slc-cp-pulse { 0% { box-shadow: 0 0 0 0 rgba(253,126,20,0.5); } 70% { box-shadow: 0 0 0 8px rgba(253,126,20,0); } 100% { box-shadow: 0 0 0 0 rgba(253,126,20,0); } }
.slc-cp__guarantee-mini { display: flex; align-items: center; gap: 8px; color: var(--shub-text-muted); font-size: 13px; margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--shub-border); }
.slc-cp__guarantee-mini svg { color: #12B886; flex-shrink: 0; }

/* ── BARRA SOCIAL PROOF ── */
.slc-cp__bar { background: var(--shub-text-title); padding: 36px 0; }
.slc-cp__bar-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.slc-cp__bar-item { padding: 8px 4px; }
.slc-cp__bar-num { font-size: 30px; font-weight: 800; color: #fff; line-height: 1; letter-spacing: -0.015em; }
.slc-cp__bar-label { font-size: 13px; color: #94A3B8; margin-top: 8px; }

/* ── CHECKS / OUTCOMES (alineado a la izquierda, no centrado) ── */
.slc-cp__checks { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 28px; }
.slc-cp__check { display: flex; align-items: flex-start; gap: 14px; font-size: 16px; color: var(--shub-text-body); }
.slc-cp__check-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 9px;
    background: rgba(18,184,134,0.12);
    color: #12B886;
    flex-shrink: 0;
    margin-top: 1px;
}

/* ── MINICARDS (audiencia / incluye) ── */
.slc-cp__cards3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.slc-cp__minicard {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    background: #fff;
    border: 1px solid var(--shub-border);
    border-radius: var(--shub-radius);
    padding: 22px;
    font-size: 15px;
    color: var(--shub-text-body);
    transition: border-color 150ms ease, transform 150ms ease;
}
.slc-cp__minicard:hover { border-color: rgba(var(--shub-accent-rgb), 0.3); transform: translateY(-2px); }
.slc-cp__minicard-icon { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 10px; background: var(--shub-accent-soft); color: var(--shub-accent); flex-shrink: 0; }

/* ── OUTLINE / TEMARIO ── */
.slc-cp__outline-meta { display: flex; align-items: center; gap: 8px; color: var(--shub-text-muted); font-size: 14px; margin-top: calc(var(--shub-title-gap) * -1 + 8px); margin-bottom: var(--shub-title-gap); }
.slc-cp__dot { opacity: 0.5; }
.slc-cp__modules { display: flex; flex-direction: column; gap: 12px; }
.slc-cp__module { background: #fff; border: 1px solid var(--shub-border); border-radius: var(--shub-radius); overflow: hidden; transition: border-color 150ms; }
.slc-cp__module[open] { border-color: rgba(var(--shub-accent-rgb), 0.3); box-shadow: 0 2px 8px -4px rgba(15,23,42,0.06); }
.slc-cp__summary { list-style: none; display: flex; align-items: center; gap: 14px; padding: 18px 22px; cursor: pointer; user-select: none; }
.slc-cp__summary::-webkit-details-marker { display: none; }
.slc-cp__chevron { width: 10px; height: 10px; border-right: 2px solid var(--shub-text-muted); border-bottom: 2px solid var(--shub-text-muted); transform: rotate(-45deg); transition: transform 200ms; flex-shrink: 0; margin-top: -2px; }
details[open] > .slc-cp__summary .slc-cp__chevron,
details[open] > .slc-cp__faq-q .slc-cp__chevron { transform: rotate(45deg); margin-top: 0; margin-bottom: -2px; border-color: var(--shub-accent); }
.slc-cp__module-title { flex: 1; font-size: 16px; font-weight: 600; color: var(--shub-text-title); margin: 0; line-height: inherit; }
.slc-cp__module-badge { background: #F1F5F9; color: #475569; font-size: 11px; font-weight: 600; padding: 4px 10px; border-radius: 10px; white-space: nowrap; }
.slc-cp__module-badge--time { background: var(--shub-accent-soft); color: var(--shub-accent); }
.slc-cp__lessons { border-top: 1px solid var(--shub-border-subtle); padding-bottom: 10px; }
.slc-cp__lesson { display: flex; align-items: center; gap: 12px; padding: 13px 22px 13px 48px; font-size: 15px; color: var(--shub-text-body); }
.slc-cp__lesson + .slc-cp__lesson { border-top: 1px solid var(--shub-border-subtle); }
.slc-cp__lesson-icon { display: inline-flex; color: var(--shub-text-muted); flex-shrink: 0; }
.slc-cp__lesson-title { flex: 1; }
.slc-cp__lesson-dur { font-size: 13px; color: var(--shub-text-muted); }

/* ── INSTRUCTOR (asymmetric: foto izq + bio derecha, no centrado) ── */
.slc-cp__instructor {
    display: grid;
    grid-template-columns: 140px 1fr;
    gap: 32px;
    align-items: start;
    background: #fff;
    border: 1px solid var(--shub-border);
    border-radius: var(--shub-radius-lg);
    padding: 32px;
}
.slc-cp__instructor + .slc-cp__instructor { margin-top: 18px; }
.slc-cp__instructor-photo {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    overflow: hidden;
    background: var(--shub-avatar-grad);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px -12px rgba(var(--shub-accent-rgb), 0.5);
}
.slc-cp__instructor-photo img { width: 100%; height: 100%; object-fit: cover; }
.slc-cp__instructor-initial { font-size: 52px; font-weight: 700; color: #fff; }
.slc-cp__instructor-body { padding-top: 4px; }
.slc-cp__instructor-name { font-size: 22px; font-weight: 700; color: var(--shub-text-title); }
.slc-cp__instructor-role { font-size: 14px; color: var(--shub-accent); font-weight: 600; margin: 4px 0 14px; }
.slc-cp__instructor-bio { font-size: 15.5px; color: var(--shub-text-body); line-height: 1.7; }

/* ── PROSE (descripción general y programa detallado, alineada a la izquierda) ── */
.slc-cp__prose { font-size: 16px; color: var(--shub-text-body); line-height: 1.75; }
.slc-cp__prose p { margin-bottom: 18px; }
.slc-cp__prose p:last-child { margin-bottom: 0; }
/* El reset global (línea ~64-79) quita marcadores e indentación de las listas.
 * Los restauramos dentro del prose para que los bullets/numeración del editor
 * rico se vean en la landing igual que en el preview del admin. */
.slc-cp__prose ul,
.slc-cp__prose ol { margin: 0 0 18px; padding-left: 24px; }
.slc-cp__prose ul { list-style: disc; }
.slc-cp__prose ol { list-style: decimal; }
.slc-cp__prose li { margin-bottom: 8px; }
.slc-cp__prose ul:last-child,
.slc-cp__prose ol:last-child,
.slc-cp__prose li:last-child { margin-bottom: 0; }

/* ── BONOS ── */
.slc-cp__bonuses { display: flex; flex-direction: column; gap: 14px; }
.slc-cp__bonus {
    display: flex;
    align-items: center;
    gap: 20px;
    background: #fff;
    border: 1px solid var(--shub-border);
    border-radius: var(--shub-radius);
    padding: 22px 24px;
    transition: border-color 150ms ease;
}
.slc-cp__bonus:hover { border-color: rgba(var(--shub-accent-rgb), 0.25); }
.slc-cp__bonus-icon { display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px; border-radius: 14px; background: rgba(250,176,5,0.14); color: #F08C00; flex-shrink: 0; }
.slc-cp__bonus-body { flex: 1; }
.slc-cp__bonus-title { font-size: 17px; font-weight: 700; color: var(--shub-text-title); }
.slc-cp__bonus-desc { font-size: 14.5px; color: var(--shub-text-muted); margin-top: 4px; line-height: 1.55; }
.slc-cp__bonus-value { background: rgba(18,184,134,0.12); color: #0CA678; font-size: 13px; font-weight: 700; padding: 7px 14px; border-radius: var(--shub-radius-pill); white-space: nowrap; }

/* ── TESTIMONIOS ── */
.slc-cp__testimonial {
    display: flex;
    flex-direction: column;
    gap: 14px;
    background: #fff;
    border: 1px solid var(--shub-border);
    border-radius: var(--shub-radius);
    padding: 26px;
    height: 100%;
}
.slc-cp__testimonial-text { font-size: 15px; color: var(--shub-text-body); flex: 1; line-height: 1.65; }
.slc-cp__testimonial-author { display: flex; align-items: center; gap: 12px; }
.slc-cp__avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--shub-avatar-grad);
    color: #fff;
    font-weight: 700;
    font-size: 16px;
    flex-shrink: 0;
    overflow: hidden;
}
.slc-cp__avatar--img { object-fit: cover; padding: 0; background: #F1F5F9; }
.slc-cp__testimonial-name { font-weight: 600; color: var(--shub-text-title); font-size: 15px; }
.slc-cp__reviews-summary {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: calc(var(--shub-title-gap) * -1 + 8px);
    margin-bottom: var(--shub-title-gap);
    padding: 16px 22px;
    background: #fff;
    border: 1px solid var(--shub-border);
    border-radius: var(--shub-radius);
    width: fit-content;
}
.slc-cp__reviews-avg { font-size: 26px; font-weight: 800; color: var(--shub-text-title); line-height: 1; }
.slc-cp__reviews-count { color: var(--shub-text-body); font-size: 14px; }

/* ── GARANTÍA ── */
.slc-cp__guarantee {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 28px;
    align-items: center;
    background: linear-gradient(135deg, rgba(18,184,134,0.06), rgba(32,201,151,0.10));
    border: 1px solid rgba(18,184,134,0.25);
    border-radius: var(--shub-radius-lg);
    padding: 32px 36px;
}
.slc-cp__guarantee-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: #fff;
    color: #12B886;
    flex-shrink: 0;
    box-shadow: 0 6px 18px -4px rgba(18,184,134,0.4);
}
.slc-cp__guarantee-title { font-size: 22px; font-weight: 700; color: var(--shub-text-title); margin-bottom: 8px; }
.slc-cp__guarantee-text { font-size: 15.5px; color: var(--shub-text-body); line-height: 1.65; }

/* ── FAQ (alineada a izquierda) ── */
.slc-cp__faq { display: flex; flex-direction: column; gap: 10px; }
.slc-cp__faq-item { background: #fff; border: 1px solid var(--shub-border); border-radius: var(--shub-radius); overflow: hidden; }
.slc-cp__faq-item[open] { border-color: rgba(var(--shub-accent-rgb), 0.3); }
.slc-cp__faq-q { list-style: none; display: flex; align-items: center; gap: 14px; padding: 20px 22px; cursor: pointer; user-select: none; font-size: 16px; font-weight: 600; color: var(--shub-text-title); }
.slc-cp__faq-q::-webkit-details-marker { display: none; }
.slc-cp__faq-a { padding: 0 22px 20px 50px; font-size: 15px; color: var(--shub-text-body); line-height: 1.65; }
/* Contenido HTML del FAQ (faq[].a viene del LMS con formato): restauramos el
   estilo de listas/párrafos que el reset general (:where) deja sin viñetas. */
.slc-cp__faq-a p { margin: 0 0 12px; }
.slc-cp__faq-a p:last-child { margin-bottom: 0; }
.slc-cp__faq-a ul, .slc-cp__faq-a ol { margin: 0 0 12px; padding-left: 1.4em; }
.slc-cp__faq-a ul { list-style: disc; }
.slc-cp__faq-a ol { list-style: decimal; }
.slc-cp__faq-a li { margin: 0 0 6px; }
.slc-cp__faq-a li:last-child { margin-bottom: 0; }
.slc-cp__faq-a a { color: var(--shub-accent); text-decoration: underline; }
.slc-cp__faq-a strong, .slc-cp__faq-a b { font-weight: 700; }

/* ── REQUISITOS ── */
.slc-cp__reqs { display: flex; flex-direction: column; gap: 14px; }
.slc-cp__reqs li { display: flex; align-items: flex-start; gap: 14px; font-size: 16px; color: var(--shub-text-body); }
.slc-cp__req-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--shub-accent); flex-shrink: 0; margin-top: 10px; }

/* ── CTA FINAL ── */
.slc-cp__final {
    background: var(--shub-cta-grad);
    padding: clamp(64px, 9vw, 112px) 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.slc-cp__final::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 30% 20%, rgba(255,255,255,0.12), transparent 50%);
    pointer-events: none;
}
.slc-cp__final-inner { color: #fff; position: relative; z-index: 1; }
.slc-cp__final-title { font-size: clamp(30px, 4.4vw, 44px); font-weight: 800; color: #fff; letter-spacing: -0.025em; margin-bottom: 16px; }
.slc-cp__final-sub { font-size: 18px; color: rgba(255,255,255,0.88); max-width: 580px; margin: 0 auto 32px; line-height: 1.55; }
.slc-cp__final-price { display: flex; align-items: baseline; justify-content: center; gap: 14px; margin-bottom: 28px; }
.slc-cp__price-old--lg { font-size: 22px; color: rgba(255,255,255,0.6); }
.slc-cp__final-now { font-size: clamp(38px, 5.4vw, 48px); font-weight: 800; color: #fff; line-height: 1; letter-spacing: -0.025em; }
.slc-cp__final .slc-cp__cta--lg { background: #fff; color: var(--shub-accent-dark); box-shadow: 0 12px 36px -10px rgba(0,0,0,0.35); }
.slc-cp__final .slc-cp__cta--lg:hover { box-shadow: 0 18px 44px -10px rgba(0,0,0,0.4); }
.slc-cp__final .slc-cp__urgency { color: #FFE066; }
.slc-cp__final .slc-cp__urgency-dot { background: #FFE066; }
.slc-cp__final-trust { font-size: 14px; color: rgba(255,255,255,0.78); margin-top: 20px; }

/* ── FACADE PATTERN — trailer iframe lazy-load on click ── */
.slc-coursepage .slc-cp__trailer-facade {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background-color: #000;
    background-size: cover;
    background-position: center;
    cursor: pointer;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease;
}
.slc-coursepage .slc-cp__trailer-facade:hover,
.slc-coursepage .slc-cp__trailer-facade:focus-visible {
    transform: scale(1.01);
    outline: 2px solid var(--shub-accent);
    outline-offset: 2px;
}
.slc-coursepage .slc-cp__trailer-play { background: none; border: 0; padding: 0; cursor: pointer; }
.slc-coursepage .slc-cp__trailer-facade--active { cursor: default; }

/* ── RESPONSIVE ── */
@media (max-width: 960px) {
    .slc-cp__hero-grid { grid-template-columns: 1fr; gap: 40px; }
    .slc-cp__cards3 { grid-template-columns: 1fr 1fr; }
    .slc-cp__bar-grid { grid-template-columns: repeat(2, 1fr); gap: 28px 16px; }
    .slc-cp__wrap { padding: 0 24px; }
}
@media (max-width: 640px) {
    .slc-coursepage { --shub-title-gap: 28px; }
    .slc-cp__wrap { padding: 0 18px; }
    .slc-cp__section { padding: 56px 0; }
    .slc-cp__checks { grid-template-columns: 1fr; }
    .slc-cp__cards3 { grid-template-columns: 1fr; }
    .slc-cp__instructor {
        grid-template-columns: 1fr;
        gap: 20px;
        text-align: center;
        padding: 28px 22px;
    }
    .slc-cp__instructor-photo { margin: 0 auto; width: 120px; height: 120px; }
    .slc-cp__instructor-body { padding-top: 0; }
    .slc-cp__bonus { flex-wrap: wrap; }
    .slc-cp__bonus-value { margin-left: 72px; }
    .slc-cp__guarantee { grid-template-columns: 1fr; text-align: center; padding: 28px 22px; }
    .slc-cp__guarantee-badge { margin: 0 auto; }
    .slc-cp__summary, .slc-cp__faq-q { padding: 16px 18px; gap: 12px; }
    .slc-cp__lesson { padding: 13px 18px 13px 42px; }
    .slc-cp__faq-a { padding: 0 18px 18px 44px; }
}

/* ── DEFENSIVE LAYER: overrides contra Elementor / theme injections ─────
 * Algunos themes y Elementor inyectan `.elementor-widget-container p { margin-bottom: 20px; }`
 * o `text-align` que se cuelan por especificidad. Estas reglas re-aseguran
 * la jerarquía propia del shortcode SIN romper landings que NO usan Elementor.
 * Solo aplicamos !important donde realmente competimos. */
.elementor-widget .slc-coursepage .slc-cp__hero-title,
.elementor-widget .slc-coursepage .slc-cp__hero-subtitle,
.elementor-widget .slc-coursepage .slc-cp__hero-badges,
.elementor-widget .slc-coursepage .slc-cp__hero-proof,
.elementor-widget .slc-coursepage .slc-cp__hero-meta { text-align: left; }
.elementor-widget .slc-coursepage .slc-cp__hero-title { margin: 0 0 18px; }
.elementor-widget .slc-coursepage .slc-cp__hero-subtitle { margin: 0 0 32px; }
.elementor-widget .slc-coursepage .slc-cp__hero-badges { margin: 0 0 28px; }
.elementor-widget .slc-coursepage .slc-cp__hero-proof { margin: 0 0 28px; }
.elementor-widget .slc-coursepage p { margin: 0; }
.elementor-widget .slc-coursepage .slc-cp__prose p { margin-bottom: 18px; }
.elementor-widget .slc-coursepage .slc-cp__prose p:last-child { margin-bottom: 0; }

/* ─────────────────────────────────────────────────────────────────────────
 * HERO GIGANTE (modifier --big)
 *
 * Preservado de V2 para que diseño itere encima. Se renderiza DEBAJO del
 * hero asymmetric — los dos coexisten en la landing V1. Todas las clases
 * tienen prefijo `herobig` para no colisionar con el asymmetric.
 * ───────────────────────────────────────────────────────────────────────── */
.slc-cp__hero--big .slc-cp__herobig-inner {
    position: relative;
    z-index: 1;
    text-align: center;
}
.slc-cp__hero--big .slc-cp__hero-badges {
    /* Centramos los badges del hero gigante (en el asymmetric van a la izquierda) */
    justify-content: center;
}

.slc-cp__herobig-title {
    font-size: clamp(36px, 6.4vw, 64px);
    font-weight: 900;
    color: var(--shub-text-title);
    line-height: 1.02;
    letter-spacing: -0.035em;
    margin: 0 auto 22px;
    max-width: 20ch;
}
.slc-cp__herobig-subtitle {
    font-size: clamp(18px, 2vw, 22px);
    color: var(--shub-text-body);
    max-width: 64ch;
    margin: 0 auto 28px;
    line-height: 1.5;
}
.slc-cp__herobig-proof {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--shub-text-title);
    font-size: 15px;
    margin-bottom: 36px;
    padding: 10px 18px;
    background: rgba(255,255,255,0.7);
    backdrop-filter: blur(8px);
    border: 1px solid var(--shub-border);
    border-radius: var(--shub-radius-pill);
}

.slc-cp__herobig-trailer {
    max-width: 880px;
    margin: 0 auto 44px;
    border-radius: var(--shub-radius-lg);
    overflow: hidden;
    box-shadow: 0 30px 80px -28px rgba(15,23,42,0.4), 0 0 0 1px rgba(var(--shub-accent-rgb), 0.08);
}
.slc-cp__herobig-thumb {
    width: 100%;
    display: block;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.slc-cp__herobig-cta { margin-bottom: 36px; }
.slc-cp__herobig-price-row {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 12px;
}
.slc-cp__herobig-price-now {
    font-size: clamp(36px, 4.6vw, 52px);
    font-weight: 800;
    color: var(--shub-text-title);
    line-height: 1;
    letter-spacing: -0.025em;
    margin-bottom: 8px;
}
.slc-cp__herobig-price-inst {
    color: var(--shub-text-muted);
    font-size: 14px;
    margin-bottom: 22px;
}
/* CTA variant xl para el herobig (un toque más grande que --lg). */
.slc-cp__cta--xl {
    font-size: 18px;
    padding: 20px 44px;
    min-width: 280px;
    display: inline-block;
}

.slc-cp__herobig-meta {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

/* Defensive layer contra Elementor (mismo patrón que el resto del archivo). */
.elementor-widget .slc-coursepage .slc-cp__hero--big .slc-cp__herobig-inner { text-align: center; }
.elementor-widget .slc-coursepage .slc-cp__hero--big .slc-cp__hero-badges { justify-content: center; margin: 0 0 28px; }
.elementor-widget .slc-coursepage .slc-cp__herobig-title { margin: 0 auto 22px; }
.elementor-widget .slc-coursepage .slc-cp__herobig-subtitle { margin: 0 auto 28px; }
.elementor-widget .slc-coursepage .slc-cp__herobig-proof { margin: 0 auto 36px; }
.elementor-widget .slc-coursepage .slc-cp__herobig-trailer { margin: 0 auto 44px; }
.elementor-widget .slc-coursepage .slc-cp__herobig-meta { justify-content: center; margin: 0; padding: 0; }

/* ── DEFENSIVE LAYER: color/fondo de los CTA contra Elementor ───────────
 * Los botones de compra/inscripción son <a>. Elementor aplica el color de
 * link de su kit global (`.elementor-kit-XXX a`, specificity 0,1,1) que le
 * gana al `.slc-cp__cta` pelado (0,1,0): el botón sale con el color de
 * Elementor en vez del branding del tenant. Re-forzamos color y fondo
 * scopeados bajo `.slc-coursepage` (que SIEMPRE envuelve al botón, esté o no
 * dentro de un widget de Elementor) + !important — es el caso crítico donde
 * de verdad competimos. La variante invertida va con mayor specificity para
 * ganar de forma determinista. */
.slc-coursepage .slc-cp__cta {
    background: var(--shub-cta-grad) !important;
    color: var(--shub-on-cta, #fff) !important;
}
/* CTA final: botón claro sobre la band de color (invertido). */
.slc-coursepage .slc-cp__final .slc-cp__cta--lg {
    background: #fff !important;
    color: var(--shub-accent-dark) !important;
}
