/* =========================================================
   La Academia IA - estilos.css
   Mobile-first: los estilos base son para celular,
   los @media (min-width) agregan lo de tablet/escritorio.
   Para cambiar colores, editá las variables de :root.
   ========================================================= */

:root {
  --bg: #12141f;
  --bg-alt: #171a28;
  --surface: #1b1e2e;
  --surface-2: #232640;
  --border: rgba(255, 255, 255, 0.09);
  --text: #f1f2f8;
  --muted: #a7abc4;
  --accent: #9333ea;          /* violeta de botones */
  --accent-2: #c084fc;        /* violeta claro para textos e íconos */
  --accent-grad: linear-gradient(135deg, #9333ea 0%, #7c3aed 100%);
  --ok: #34d399;
  --paypal: #ffc439;
  --mp: #009ee3;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  --max: 1120px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*,
*::before,
*::after { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
}

img, svg { max-width: 100%; display: block; }
a { color: var(--accent-2); }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .6em; letter-spacing: -0.01em; }
h1 { font-size: 2rem; }
h2 { font-size: 1.6rem; }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.section { padding: 56px 0; }
.section--alt { background: var(--bg-alt); }
.section__head { max-width: 640px; margin: 0 auto 40px; text-align: center; }
.eyebrow {
  display: inline-block;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--accent-2);
  border: 1px solid rgba(192, 132, 252, .45);
  border-radius: 999px;
  padding: 6px 14px;
  margin-bottom: 1rem;
}
.muted { color: var(--muted); }
.grad-text { color: var(--accent-2); }

.skip {
  position: absolute; left: -999px; top: 8px;
  background: #fff; color: #000; padding: 8px 12px; border-radius: 8px; z-index: 100;
}
.skip:focus { left: 8px; }

:focus-visible { outline: 3px solid var(--accent-2); outline-offset: 3px; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 48px; padding: 12px 22px;
  font: inherit; font-weight: 700; text-decoration: none; text-align: center;
  border: 0; border-radius: 999px; cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, opacity .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--accent); color: #fff; box-shadow: 0 8px 24px rgba(147, 51, 234, .28); }
.btn--ghost { background: transparent; color: var(--text); border: 1px solid var(--border); }
.btn--ghost:hover { background: rgba(255, 255, 255, .06); }
.btn--block { width: 100%; }
.btn--paypal { background: var(--paypal); color: #111; }
.btn--mp { background: var(--mp); color: #fff; }

/* ---------- Header / navegación ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(18, 20, 31, .88);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.header__bar { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.logo { display: inline-flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 800; font-size: 1.05rem; }
.logo svg { width: 34px; height: 34px; }

.nav-toggle { position: absolute; opacity: 0; pointer-events: none; }
.nav-btn {
  display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
  width: 44px; height: 44px; padding: 0 10px; cursor: pointer; border-radius: 10px;
}
.nav-btn span { display: block; height: 2px; background: var(--text); border-radius: 2px; transition: transform .2s, opacity .2s; }
.nav-toggle:checked + .nav-btn span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle:checked + .nav-btn span:nth-child(2) { opacity: 0; }
.nav-toggle:checked + .nav-btn span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.nav-toggle:focus-visible + .nav-btn { outline: 3px solid var(--accent-2); }

.nav {
  display: none;
  position: absolute; left: 0; right: 0; top: 64px;
  background: var(--bg); border-bottom: 1px solid var(--border);
  padding: 12px 20px 20px;
}
.nav-toggle:checked ~ .nav { display: block; }
.nav a { display: block; padding: 14px 4px; color: var(--text); text-decoration: none; font-weight: 600; border-bottom: 1px solid var(--border); }
.nav a.btn { margin-top: 16px; border-bottom: 0; color: #fff; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: 48px 0 56px; }
.hero::before {
  content: ""; position: absolute; inset: -20% -30% auto auto; width: 520px; height: 520px;
  background: radial-gradient(circle, rgba(147, 51, 234, .38), transparent 65%); pointer-events: none;
}
.hero::after {
  content: ""; position: absolute; inset: auto auto -30% -30%; width: 460px; height: 460px;
  background: radial-gradient(circle, rgba(147, 51, 234, .16), transparent 65%); pointer-events: none;
}
.hero__inner { position: relative; z-index: 1; display: grid; gap: 36px; }
.hero h1 { font-size: 2.15rem; }
.hero__lead { font-size: 1.1rem; color: var(--muted); max-width: 560px; }
.hero__cta { display: grid; gap: 12px; margin-top: 24px; }
.hero__badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px; border-radius: 999px; font-size: .88rem;
  background: rgba(255, 255, 255, .06); border: 1px solid var(--border);
}
.badge svg { width: 16px; height: 16px; color: var(--accent-2); }

.hero__card {
  background: radial-gradient(120% 80% at 50% 0%, rgba(147, 51, 234, .28), transparent 60%), var(--surface);
  border: 1px solid var(--border); border-radius: 24px; padding: 22px; box-shadow: var(--shadow);
}
.hero__card .tag { color: var(--accent-2); font-weight: 700; font-size: .85rem; }
.hero__card h2 { font-size: 1.25rem; margin-top: .4rem; }
.hero__meta { display: grid; gap: 10px; margin: 16px 0 20px; font-size: .95rem; color: var(--muted); }
.hero__meta li { display: flex; align-items: center; gap: 10px; }
.hero__meta svg { width: 18px; height: 18px; color: var(--accent-2); flex: none; }
.price { display: flex; align-items: baseline; gap: 8px; margin-bottom: 4px; }
.price strong { font-size: 2.2rem; }
.price span { color: var(--muted); }

/* ---------- Tarjetas ---------- */
.cards { display: grid; gap: 16px; }
.card { padding: 22px 4px; border-top: 1px solid var(--border); }
.card__icon { width: 40px; height: 40px; margin-bottom: 14px; color: var(--text); }
.card__icon svg { width: 34px; height: 34px; }
.card p { color: var(--muted); margin: 0; }

/* ---------- Curso ---------- */
.course { display: grid; gap: 24px; }
.course__box {
  background: radial-gradient(120% 70% at 50% 0%, rgba(147, 51, 234, .24), transparent 60%), var(--surface);
  border: 1px solid var(--border); border-radius: 24px; padding: 24px; box-shadow: var(--shadow);
}
.checklist { display: grid; gap: 10px; margin: 18px 0 0; }
.checklist li { display: flex; gap: 10px; align-items: flex-start; color: var(--muted); }
.checklist svg { width: 20px; height: 20px; color: var(--accent-2); flex: none; margin-top: 3px; }
.pay { display: grid; gap: 12px; margin-top: 20px; }
.pay__note { font-size: .85rem; color: var(--muted); margin: 14px 0 0; }

/* ---------- Instructor ---------- */
.instructor { display: grid; gap: 28px; align-items: center; }
.instructor__photo {
  width: 100%; max-width: 320px; aspect-ratio: 1 / 1; border-radius: 28px;
  background: var(--accent-grad); display: grid; place-items: center;
  font-size: 5rem; font-weight: 800; color: #fff; box-shadow: var(--shadow);
}
.career { display: grid; gap: 10px; margin: 18px 0 22px; }
.career li {
  padding: 12px 14px; border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, .05); border: 1px solid var(--border); font-size: .95rem;
}
.career li strong { display: block; }
.career li span { color: var(--muted); }

/* ---------- Video ---------- */
.videos { display: grid; gap: 16px; }
.video {
  position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden;
  border-radius: var(--radius); background: #000; border: 1px solid var(--border);
}
.video img, .video iframe { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border: 0; }
.video__play {
  position: absolute; inset: 0; display: grid; place-items: center;
  background: linear-gradient(to top, rgba(0, 0, 0, .55), transparent 60%);
}
.video__play span {
  width: 64px; height: 64px; border-radius: 50%; background: rgba(255, 255, 255, .92);
  display: grid; place-items: center; color: #0b1020;
}
.video__play svg { width: 26px; height: 26px; margin-left: 3px; }
.channel-cta {
  display: grid; gap: 14px; justify-items: start;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px;
}

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; max-width: 760px; }
.faq details { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); }
.faq summary {
  cursor: pointer; list-style: none; padding: 16px 18px; font-weight: 700;
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; color: var(--accent-2); line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 18px 16px; margin: 0; color: var(--muted); }

/* ---------- Newsletter ---------- */
.newsletter {
  background: radial-gradient(100% 120% at 50% 0%, rgba(147, 51, 234, .26), transparent 65%), var(--surface);
  border: 1px solid var(--border); border-radius: 24px; padding: 28px 22px;
  display: grid; gap: 20px;
}
.form { display: grid; gap: 12px; }
.form label { font-weight: 600; font-size: .92rem; }
.form input[type="email"], .form input[type="text"] {
  width: 100%; min-height: 50px; padding: 12px 16px; font: inherit; color: var(--text);
  background: rgba(18, 20, 31, .7); border: 1px solid var(--border); border-radius: 12px;
}
.form input::placeholder { color: #7f89ad; }
.form__legal { font-size: .8rem; color: var(--muted); margin: 0; }
.hp { position: absolute; left: -5000px; }

/* ---------- Footer ---------- */
.footer { padding: 40px 0 28px; border-top: 1px solid var(--border); background: #0d0f18; }
.footer__grid { display: grid; gap: 24px; }
.footer h3 { font-size: .95rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.footer ul { display: grid; gap: 8px; }
.footer a { color: var(--text); text-decoration: none; }
.footer a:hover { text-decoration: underline; }
.footer__copy { margin-top: 28px; padding-top: 18px; border-top: 1px solid var(--border); font-size: .85rem; color: var(--muted); }

/* =========================================================
   Tablet en adelante (>= 700px)
   ========================================================= */
@media (min-width: 700px) {
  h1 { font-size: 2.6rem; }
  h2 { font-size: 2rem; }
  .section { padding: 80px 0; }
  .hero h1 { font-size: 2.9rem; }
  .hero__cta { grid-auto-flow: column; grid-auto-columns: max-content; }
  .cards--4 { grid-template-columns: repeat(2, 1fr); }
  .videos { grid-template-columns: repeat(2, 1fr); }
  .pay { grid-template-columns: 1fr 1fr; }
  .newsletter { grid-template-columns: 1fr 1fr; align-items: center; padding: 40px; }
  .footer__grid { grid-template-columns: 2fr 1fr 1fr; }
}

/* =========================================================
   Escritorio (>= 980px)
   ========================================================= */
@media (min-width: 980px) {
  .nav-btn, .nav-toggle { display: none; }
  .nav {
    display: flex; position: static; align-items: center; gap: 4px;
    background: transparent; border: 0; padding: 0;
  }
  .nav a { padding: 8px 14px; border: 0; border-radius: 999px; font-size: .95rem; }
  .nav a:hover { background: rgba(255, 255, 255, .07); }
  .nav a.btn { margin: 0 0 0 10px; padding: 10px 20px; min-height: 44px; }
  .nav a.btn:hover { background: var(--accent-grad); }
  .hero { padding: 88px 0; }
  .hero__inner { grid-template-columns: 1.15fr .85fr; align-items: center; gap: 56px; }
  .cards--4 { grid-template-columns: repeat(4, 1fr); gap: 32px; }
  .course { grid-template-columns: 1.1fr .9fr; align-items: start; gap: 48px; }
  .instructor { grid-template-columns: 340px 1fr; gap: 56px; }
  .videos { grid-template-columns: repeat(3, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .nav-btn span { transition: none; }
}


/* =========================================================
   Identidad visual: marco de cámara, recorrido y tipografía mono
   ========================================================= */
:root { --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace; }

.eyebrow, .hero__card .tag, .step__n { font-family: var(--mono); }
h1, h2 { font-weight: 800; letter-spacing: -0.025em; }

/* textura de cuadrícula en el hero */
.hero {
  background-image:
    linear-gradient(to bottom, transparent 45%, var(--bg) 100%),
    linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
  background-size: 100% 100%, 44px 44px, 44px 44px;
}

.hero__visual { position: relative; }
.hero__frame {
  margin: 0; border-radius: 20px; overflow: hidden;
  border: 1px solid var(--border); box-shadow: var(--shadow); background: #0c0a1c;
}
.hero__frame svg { width: 100%; height: auto; }
.fr-txt { font-family: var(--mono); font-size: 11px; fill: #fff; letter-spacing: .08em; }
.hero__visual .hero__card { position: relative; z-index: 2; margin: -18px 14px 0; }

/* recorrido: línea de tiempo vertical en celular */
.steps { display: grid; gap: 0; max-width: 560px; margin: 0 auto; padding: 0; list-style: none; }
.step {
  position: relative; padding: 0 0 30px 28px; margin-left: 6px;
  border-left: 1px solid rgba(192, 132, 252, .35);
}
.step:last-child { border-left-color: transparent; padding-bottom: 0; }
.step::before {
  content: ""; position: absolute; left: -6px; top: 4px; width: 11px; height: 11px;
  border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(147, 51, 234, .25);
}
.step__n { display: block; font-size: .8rem; letter-spacing: .1em; color: var(--accent-2); margin-bottom: 6px; }
.step h3 { margin-bottom: .35em; }
.step p { color: var(--muted); margin: 0; }

/* foto de instructor (placeholder con marco de cámara) */
.instructor__photo {
  position: relative; color: rgba(192, 132, 252, .7);
  background: radial-gradient(90% 70% at 50% 0%, rgba(147, 51, 234, .35), transparent 70%), var(--surface);
  border: 1px solid var(--border);
}
.instructor__photo svg { position: absolute; inset: 14px; width: calc(100% - 28px); height: calc(100% - 28px); }
.instructor__photo span { font-family: var(--mono); font-size: .8rem; letter-spacing: .12em; font-weight: 600; }

@media (min-width: 700px) {
  .hero__visual .hero__card { margin: -20px 32px 0; }
}

@media (min-width: 980px) {
  .hero__visual .hero__card { margin: -20px 40px 0 -28px; max-width: 420px; }
  .steps { grid-template-columns: repeat(4, 1fr); gap: 28px; max-width: none; }
  .step { margin: 0; padding: 28px 8px 0 0; border-left: 0; border-top: 1px solid rgba(192, 132, 252, .35); }
  .step:last-child { border-top-color: rgba(192, 132, 252, .35); padding-bottom: 0; }
  .step::before { left: 0; top: -6px; }
}


/* =========================================================
   Banner con persona en el inicio
   ========================================================= */
.hero__person { position: relative; isolation: isolate; width: 100%; max-width: 440px; margin: 8px auto 0; }
.hero__person::before {
  content: ""; position: absolute; inset: -12% -14%; z-index: -1; pointer-events: none;
  background: radial-gradient(closest-side, rgba(147, 51, 234, .5), transparent 72%);
}
.hero__photo {
  position: relative; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 28px;
  border: 1px solid var(--border); box-shadow: var(--shadow); color: rgba(192, 132, 252, .85);
  background: radial-gradient(90% 60% at 50% 0%, rgba(147, 51, 234, .4), transparent 70%), var(--surface);
}
.hero__photo .sil { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__photo .photo-label {
  position: absolute; left: 0; right: 0; bottom: 20px; text-align: center;
  font-family: var(--mono); font-size: .78rem; font-weight: 600; letter-spacing: .12em;
}
.hero__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }

.chip {
  position: absolute; z-index: 2; display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 14px; border-radius: 999px; font-size: .85rem; font-weight: 600; color: var(--text);
  background: rgba(18, 20, 31, .86); border: 1px solid var(--border);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); box-shadow: var(--shadow);
}
.chip svg { width: 16px; height: 16px; color: var(--accent-2); }
.chip .dot { width: 8px; height: 8px; border-radius: 50%; background: #f43f5e; box-shadow: 0 0 0 4px rgba(244, 63, 94, .25); }
.chip--a { top: 9%; left: -4px; }
.chip--b { bottom: 12%; right: -4px; }

.method__frame { max-width: 760px; margin: 0 auto 48px; }

.instructor__photo { overflow: hidden; }
.instructor__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }

@media (min-width: 980px) {
  .hero__person { margin: 0 0 0 auto; max-width: 460px; }
  .chip--a { left: -36px; }
  .chip--b { right: -28px; }
}


/* =========================================================
   Videos gratis: botón del menú, tarjetas y página de videos
   ========================================================= */
.btn--free {
  color: var(--text); background: rgba(147, 51, 234, .14);
  border: 1px solid rgba(192, 132, 252, .55);
}
.btn--free svg { width: 16px; height: 16px; color: var(--accent-2); flex: none; }
.nav a.btn--free { color: var(--text); border: 1px solid rgba(192, 132, 252, .55); }
.nav a.btn--free:hover { background: rgba(147, 51, 234, .3); }
.nav a[aria-current="page"].btn--free { background: rgba(147, 51, 234, .3); }

.cta-row { display: grid; gap: 12px; }
.cta-row--center { justify-content: center; }

.vcard[hidden] { display: none; }
.vcard h3 { font-size: .98rem; line-height: 1.35; margin: .75rem 0 0; font-weight: 600; }
.vcard h3 a { color: var(--text); text-decoration: none; }
.vcard h3 a:hover { color: var(--accent-2); text-decoration: underline; }
.video__time {
  position: absolute; right: 8px; bottom: 8px; padding: 2px 7px; border-radius: 6px;
  font-family: var(--mono); font-size: .75rem; font-weight: 600; color: #fff; background: rgba(0, 0, 0, .78);
}
.video:hover .video__play span { transform: scale(1.06); }
.video__play span { transition: transform .15s ease; }

.page-hero { padding: 56px 0 24px; text-align: center; }
.page-hero h1 { font-size: 2.1rem; margin-bottom: .5em; }
.page-hero .hero__lead { margin: 0 auto 24px; }

.vgrid { display: grid; gap: 28px 20px; }
.search { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-bottom: 28px; }
.search[hidden] { display: none; }
.search input {
  flex: 1 1 260px; min-height: 50px; padding: 12px 16px; font: inherit; color: var(--text);
  background: var(--surface); border: 1px solid var(--border); border-radius: 999px;
}
.search input::placeholder { color: #7f89ad; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.channel-cta--end { margin-top: 56px; }

@media (min-width: 700px) {
  .cta-row { grid-auto-flow: column; grid-auto-columns: max-content; }
  .page-hero h1 { font-size: 2.8rem; }
  .vgrid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 980px) {
  .vgrid { grid-template-columns: repeat(3, 1fr); }
  .page-hero { padding: 80px 0 32px; }
}

/* el botón del menú: ícono y texto en una sola línea */
.nav a.btn--free { display: flex; align-items: center; justify-content: center; gap: 8px; }
@media (min-width: 980px) {
  .nav a.btn--free { display: inline-flex; white-space: nowrap; }
}


/* =========================================================
   Más vida: color, movimiento suave y efectos al pasar el mouse
   (todo se apaga con "reducir movimiento")
   ========================================================= */
:root {
  --accent: #9333ea;
  --accent-2: #d29bff;
  --accent-grad: linear-gradient(135deg, #7c3aed 0%, #c026d3 100%);
  --muted: #bcc0d8;
  --border: rgba(255, 255, 255, 0.11);
}

@keyframes fadeUp   { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
@keyframes floatY   { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes glowPulse{ 0%, 100% { opacity: .8; transform: scale(1); } 50% { opacity: 1; transform: scale(1.08); } }
@keyframes drift    { from { transform: translate(0, 0) scale(1); } to { transform: translate(-40px, 30px) scale(1.15); } }
@keyframes shineText{ to { background-position: 200% center; } }
@keyframes ctaRing  {
  0%   { box-shadow: 0 10px 30px rgba(192, 38, 211, .4), 0 0 0 0 rgba(192, 38, 211, .55); }
  70%  { box-shadow: 0 10px 34px rgba(192, 38, 211, .5), 0 0 0 16px rgba(192, 38, 211, 0); }
  100% { box-shadow: 0 10px 30px rgba(192, 38, 211, .4), 0 0 0 0 rgba(192, 38, 211, 0); }
}
@keyframes dotPing  { 0% { box-shadow: 0 0 0 0 rgba(192, 38, 211, .6); } 100% { box-shadow: 0 0 0 12px rgba(192, 38, 211, 0); } }

/* ---------- Fondos con más color ---------- */
.hero::before { background: radial-gradient(circle, rgba(124, 58, 237, .55), transparent 65%); animation: drift 14s ease-in-out infinite alternate; }
.hero::after  { background: radial-gradient(circle, rgba(192, 38, 211, .30), transparent 65%); animation: drift 18s ease-in-out infinite alternate-reverse; }
.hero__person::before { background: radial-gradient(closest-side, rgba(168, 85, 247, .6), rgba(192, 38, 211, .18) 60%, transparent 75%); animation: glowPulse 6s ease-in-out infinite; }

#curso      { background: radial-gradient(50% 60% at 0% 40%, rgba(192, 38, 211, .16), transparent 70%), var(--bg); }
#metodo     { background: radial-gradient(50% 70% at 100% 0%, rgba(124, 58, 237, .24), transparent 70%), var(--bg-alt); }
#instructor { background: radial-gradient(45% 70% at 0% 100%, rgba(124, 58, 237, .24), transparent 70%), radial-gradient(40% 60% at 100% 0%, rgba(192, 38, 211, .14), transparent 70%), var(--bg-alt); }
#canal      { background: radial-gradient(50% 60% at 100% 50%, rgba(124, 58, 237, .18), transparent 70%), var(--bg); }
#preguntas  { background: radial-gradient(45% 70% at 0% 0%, rgba(124, 58, 237, .2), transparent 70%), var(--bg-alt); }

.eyebrow { background: rgba(147, 51, 234, .14); border-color: rgba(210, 155, 255, .55); }
.course__box { border-color: rgba(210, 155, 255, .28); }

.grad-text {
  background: linear-gradient(90deg, #c084fc, #f0abfc, #e879f9, #c084fc);
  background-size: 200% auto;
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  animation: shineText 6s linear infinite;
}

/* ---------- Botones más llamativos ---------- */
.btn {
  position: relative; overflow: hidden;
  transition: transform .2s ease, box-shadow .25s ease, border-color .2s ease, background-color .2s ease, filter .2s ease;
}
.btn:active { transform: translateY(0) scale(.97); }
.btn--primary {
  background: var(--accent-grad);
  box-shadow: 0 10px 30px rgba(192, 38, 211, .4), inset 0 1px 0 rgba(255, 255, 255, .28);
}
.btn--primary::before {
  content: ""; position: absolute; top: 0; left: -80%; width: 50%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .5), transparent);
  transform: skewX(-20deg); transition: left .65s ease; pointer-events: none;
}
.hero__cta .btn { min-height: 54px; padding: 14px 30px; font-size: 1.05rem; }
.hero__cta .btn--primary { animation: ctaRing 2.8s ease-out infinite; }
.btn--paypal { box-shadow: 0 8px 22px rgba(255, 196, 57, .28); }
.btn--mp     { box-shadow: 0 8px 22px rgba(0, 158, 227, .32); }
.btn--ghost  { border-color: rgba(255, 255, 255, .22); }
.btn--free   { box-shadow: 0 0 0 0 rgba(192, 38, 211, 0); }
.pay .btn { min-height: 54px; font-size: 1.02rem; }

/* ---------- Entrada suave del inicio ---------- */
.hero__inner > div:first-child > * { animation: fadeUp .8s cubic-bezier(.2, .7, .2, 1) both; }
.hero__inner > div:first-child > :nth-child(1) { animation-delay: .05s; }
.hero__inner > div:first-child > :nth-child(2) { animation-delay: .15s; }
.hero__inner > div:first-child > :nth-child(3) { animation-delay: .27s; }
.hero__inner > div:first-child > :nth-child(4) { animation-delay: .39s; }
.hero__inner > div:first-child > :nth-child(5) { animation-delay: .51s; }
.hero__person { animation: fadeUp 1s .25s cubic-bezier(.2, .7, .2, 1) both; }
.chip--a { animation: floatY 5s ease-in-out infinite; }
.chip--b { animation: floatY 6s -2s ease-in-out infinite; }
.page-hero .container > * { animation: fadeUp .7s cubic-bezier(.2, .7, .2, 1) both; }
.page-hero .container > :nth-child(2) { animation-delay: .1s; }
.page-hero .container > :nth-child(3) { animation-delay: .2s; }
.page-hero .container > :nth-child(4) { animation-delay: .3s; }

/* ---------- Aparición al hacer scroll (la agrega main.js) ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1); transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Detalles ---------- */
.header { transition: background .3s ease, box-shadow .3s ease; }
.header.is-scrolled { background: rgba(18, 20, 31, .96); box-shadow: 0 10px 30px rgba(0, 0, 0, .4); }
.logo svg { transition: transform .35s cubic-bezier(.3, 1.6, .5, 1); }
.step::before { animation: dotPing 2.4s ease-out infinite; }
.step:nth-child(2)::before { animation-delay: .4s; }
.step:nth-child(3)::before { animation-delay: .8s; }
.step:nth-child(4)::before { animation-delay: 1.2s; }
.card, .step, .career li, .badge, .faq details, .course__box, .hero__photo, .instructor__photo, .video, .vcard h3 a {
  transition: transform .3s cubic-bezier(.2, .7, .2, 1), box-shadow .3s ease, border-color .3s ease, background-color .3s ease, color .2s ease;
}
.video img { transition: transform .5s ease; }
.video__play span { transition: transform .25s ease, background .25s ease, color .25s ease; }
.faq summary::after { transition: transform .3s ease; }
.faq details[open] { border-color: rgba(210, 155, 255, .5); box-shadow: 0 10px 30px rgba(124, 58, 237, .18); }
.faq details[open] summary::after { content: "+"; transform: rotate(45deg); }
.faq details[open] p { animation: fadeUp .4s ease both; }

/* ---------- Efectos al pasar el mouse (solo con mouse) ---------- */
@media (hover: hover) {
  .btn--primary:hover { transform: translateY(-3px) scale(1.03); box-shadow: 0 16px 42px rgba(192, 38, 211, .6), inset 0 1px 0 rgba(255, 255, 255, .3); }
  .btn--primary:hover::before { left: 130%; }
  .hero__cta .btn--primary:hover { animation: none; }
  .btn--ghost:hover { transform: translateY(-3px); border-color: var(--accent-2); background: rgba(147, 51, 234, .2); box-shadow: 0 10px 26px rgba(124, 58, 237, .3); }
  .btn--free:hover  { transform: translateY(-3px); background: rgba(147, 51, 234, .38); border-color: var(--accent-2); box-shadow: 0 10px 26px rgba(192, 38, 211, .4); }
  .btn--paypal:hover { transform: translateY(-3px) scale(1.03); filter: brightness(1.07); box-shadow: 0 14px 32px rgba(255, 196, 57, .5); }
  .btn--mp:hover     { transform: translateY(-3px) scale(1.03); filter: brightness(1.1);  box-shadow: 0 14px 32px rgba(0, 158, 227, .55); }

  .logo:hover svg { transform: rotate(-10deg) scale(1.12); }
  .badge:hover { transform: translateY(-3px); border-color: var(--accent-2); background: rgba(147, 51, 234, .18); }
  .chip:hover  { border-color: var(--accent-2); }
  .hero__person:hover .hero__photo { transform: translateY(-6px) rotate(-.6deg); box-shadow: 0 24px 60px rgba(124, 58, 237, .45); border-color: rgba(210, 155, 255, .5); }
  .instructor__photo:hover { transform: translateY(-6px) rotate(.6deg); box-shadow: 0 24px 60px rgba(124, 58, 237, .45); }
  .career li:hover { transform: translateX(8px); border-color: var(--accent-2); background: rgba(147, 51, 234, .16); }
  .course__box:hover { transform: translateY(-6px); border-color: rgba(210, 155, 255, .6); box-shadow: 0 24px 60px rgba(124, 58, 237, .4); }
  .step:hover h3 { color: var(--accent-2); }
  .step:hover::before { transform: scale(1.35); }
  .faq details:hover { border-color: rgba(210, 155, 255, .5); transform: translateX(5px); }

  .vcard:hover .video { transform: translateY(-6px); border-color: rgba(210, 155, 255, .6); box-shadow: 0 20px 44px rgba(124, 58, 237, .45); }
  .video:hover img { transform: scale(1.08); }
  .video:hover .video__play span { background: var(--accent-grad); color: #fff; transform: scale(1.18); }
  .vcard:hover h3 a { color: var(--accent-2); }

  .footer a:hover { color: var(--accent-2); }
}

@media (min-width: 980px) and (hover: hover) {
  .nav a:not(.btn) { position: relative; }
  .nav a:not(.btn):hover { background: transparent; color: #fff; }
  .nav a:not(.btn)::after {
    content: ""; position: absolute; left: 50%; bottom: 3px; width: 0; height: 2px; border-radius: 2px;
    background: var(--accent-grad); transform: translateX(-50%); transition: width .25s ease;
  }
  .nav a:not(.btn):hover::after { width: 55%; }
}

/* ---------- Reducir movimiento ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* botones de pago: uno debajo del otro, a todo el ancho de la tarjeta */
.course__box .pay { grid-template-columns: 1fr; }

/* Logo real del canal */
.logo__img { width: 36px; height: 36px; border-radius: 10px; object-fit: cover; display: block; box-shadow: 0 0 0 1px rgba(255,255,255,.14), 0 4px 14px rgba(0,0,0,.35); transition: transform .35s cubic-bezier(.3,1.6,.5,1); }
@media (hover:hover) { .logo:hover .logo__img { transform: rotate(-6deg) scale(1.08); } }

/* ---- Cambios noviembre: subtítulo del curso, 2º párrafo del hero, cifras ---- */
.course__sub { color: var(--accent-2); font-weight: 700; font-size: 1.1rem; margin: -4px 0 14px; }
.hero__lead--2 { margin-top: 12px; }
.statsbar { padding: 0 0 8px; }
.stats { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding: 18px 8px; border: 1px solid rgba(255,255,255,.1); border-radius: 20px; background: linear-gradient(180deg, rgba(147,51,234,.14), rgba(147,51,234,.04)); text-align: center; }
.stats strong { display: block; font-size: clamp(1.25rem, 5vw, 2rem); line-height: 1.1; background: linear-gradient(135deg, #d29bff, #f0abfc); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stats span { display: block; margin-top: 4px; font-size: .78rem; color: var(--muted); }
@media (min-width: 700px) { .stats span { font-size: .95rem; } .stats { padding: 26px 16px; } }
.channel-cta { margin-top: 28px; }

.stats { grid-template-columns: repeat(2, 1fr); }

/* ---- Fondo del inicio: circuito (como el logo), muy atenuado ---- */
.hero {
  background-image:
    linear-gradient(to bottom, transparent 45%, var(--bg) 100%),
    url("../img/circuito.svg");
  background-size: 100% 100%, 480px 480px;
}

/* =========================================================
   Secciones claras (probar versiones: .sec-light = blanco, .sec-light-alt = gris-lila suave)
   ========================================================= */
.sec-light, .sec-light-alt {
  --text: #14172b; --muted: #4d5373; --border: rgba(20, 23, 43, .12);
  --surface: #ffffff; --accent-2: #7c3aed;
  color: var(--text);
}
section:is(#inicio,#curso,#instructor,#canal,#metodo,#preguntas,#newsletter).sec-light { background: radial-gradient(50% 60% at 100% 0%, rgba(147, 51, 234, .07), transparent 70%), #ffffff; }
section:is(#inicio,#curso,#instructor,#canal,#metodo,#preguntas,#newsletter).sec-light-alt { background: radial-gradient(50% 60% at 0% 100%, rgba(147, 51, 234, .08), transparent 70%), #f2f3fa; }
.section.sec-light:not([id]) { background: #ffffff; }
.sec-light .eyebrow, .sec-light-alt .eyebrow { background: rgba(147, 51, 234, .08); border-color: rgba(124, 58, 237, .35); color: #6d28d9; }
.sec-light .grad-text, .sec-light-alt .grad-text { background: linear-gradient(135deg, #7c3aed, #c026d3); -webkit-background-clip: text; background-clip: text; color: transparent; }
.sec-light .btn--ghost, .sec-light-alt .btn--ghost { color: var(--text); border-color: rgba(20, 23, 43, .28); }
.sec-light .btn--primary, .sec-light-alt .btn--primary { color: #fff; }
.sec-light .course__box, .sec-light-alt .course__box { background: #ffffff; border-color: rgba(124, 58, 237, .25); box-shadow: 0 18px 50px rgba(60, 40, 120, .12); }
.sec-light .price strong, .sec-light-alt .price strong { color: var(--text); }
.sec-light .hero__meta li svg, .sec-light-alt .hero__meta li svg { color: #7c3aed; }
.sec-light .checklist li, .sec-light-alt .checklist li { color: #2a2e48; }
.sec-light .career li, .sec-light-alt .career li { background: #ffffff; border-color: var(--border); box-shadow: 0 4px 14px rgba(60, 40, 120, .06); }
.sec-light .career li span, .sec-light-alt .career li span { color: var(--muted); }
.sec-light .instructor__photo, .sec-light-alt .instructor__photo { background: radial-gradient(120% 80% at 50% 0%, rgba(147, 51, 234, .18), transparent 60%), #ffffff; border-color: rgba(124, 58, 237, .25); box-shadow: 0 18px 50px rgba(60, 40, 120, .14); color: #7c3aed; }
.sec-light .channel-cta, .sec-light-alt .channel-cta { background: radial-gradient(100% 120% at 50% 0%, rgba(147, 51, 234, .1), transparent 65%), #ffffff; border-color: rgba(124, 58, 237, .25); box-shadow: 0 14px 40px rgba(60, 40, 120, .1); }
.sec-light .vcard h3 a, .sec-light-alt .vcard h3 a { color: var(--text); }
.sec-light .faq details, .sec-light-alt .faq details { background: #ffffff; border-color: var(--border); box-shadow: 0 4px 14px rgba(60, 40, 120, .06); }
.sec-light .faq summary, .sec-light-alt .faq summary { color: var(--text); }
.sec-light .step h3, .sec-light-alt .step h3 { color: var(--text); }
.sec-light .search input, .sec-light-alt .search input { background: #ffffff; color: var(--text); border-color: rgba(20, 23, 43, .2); }
.sec-light .search input::placeholder { color: #7a7f9c; }
.sec-light .photo-label, .sec-light-alt .photo-label, .sec-light .instructor__photo span { color: #7c3aed; }
/* el bloque del newsletter y el marco del método siguen oscuros dentro de una sección clara */
.sec-light .newsletter, .sec-light-alt .newsletter, .sec-light .method__frame, .sec-light-alt .method__frame {
  --text: #f1f2f8; --muted: #bcc0d8; --border: rgba(255, 255, 255, .11); --surface: #1b1e2e; --accent-2: #d29bff;
  color: var(--text);
}
.sec-light .newsletter h2, .sec-light-alt .newsletter h2 { color: #fff; }
.sec-light .newsletter .eyebrow, .sec-light-alt .newsletter .eyebrow { background: rgba(147, 51, 234, .14); border-color: rgba(210, 155, 255, .55); color: var(--accent-2); }
.sec-light .newsletter .btn--primary, .sec-light-alt .newsletter .btn--primary { color: #fff; }

/* ---- Ajustes claro-2 ---- */
/* 1) aire debajo de la banda de cifras */
.statsbar { padding-bottom: 48px; }
@media (min-width: 700px) { .statsbar { padding-bottom: 72px; } }
/* 2) etiqueta "Próximo curso": más grande y con fondo oscuro */
#curso .eyebrow { font-size: 1rem; padding: 11px 24px; background: #2a1458; border-color: #2a1458; color: #fff; letter-spacing: .1em; box-shadow: 0 8px 22px rgba(42, 20, 88, .28); }
@media (min-width: 700px) { #curso .eyebrow { font-size: 1.05rem; padding: 12px 28px; } }
/* 3) canal en violeta claro */
section:is(#canal).sec-violet { background: #d8dce6; }
#canal.sec-violet .eyebrow { background: #fff; border-color: rgba(124, 58, 237, .4); }
#curso .eyebrow { margin-bottom: 20px; }

/* ---- claro-2 final: curso en gris, banner del canal integrado ---- */
section:is(#curso).sec-light { background: #d8dce6; }
.sec-light .channel-cta {
  --text: #f1f2f8; --muted: #c4c8de; --border: rgba(255, 255, 255, .12); --surface: #1b1e2e; --accent-2: #d29bff;
  color: var(--text);
  background: radial-gradient(90% 140% at 0% 0%, rgba(147, 51, 234, .38), transparent 62%), radial-gradient(70% 120% at 100% 100%, rgba(192, 38, 211, .18), transparent 65%), #1b1e2e;
  border-color: rgba(210, 155, 255, .3);
  box-shadow: 0 18px 44px rgba(42, 20, 88, .3);
}
.sec-light .channel-cta h3 { color: #fff; }
.sec-light .channel-cta .btn--ghost { color: #fff; border-color: rgba(255, 255, 255, .32); }

/* ---- caja del precio con el mismo estilo oscuro del banner del canal ---- */
.sec-light .course__box {
  --text: #f1f2f8; --muted: #c4c8de; --border: rgba(255, 255, 255, .12); --surface: #1b1e2e; --accent-2: #d29bff;
  color: var(--text);
  background: radial-gradient(90% 140% at 0% 0%, rgba(147, 51, 234, .38), transparent 62%), radial-gradient(70% 120% at 100% 100%, rgba(192, 38, 211, .18), transparent 65%), #1b1e2e;
  border-color: rgba(210, 155, 255, .3);
  box-shadow: 0 18px 44px rgba(42, 20, 88, .3);
}
.sec-light .course__box .price strong { color: #fff; }
.sec-light .course__box .hero__meta li svg { color: #d29bff; }
.sec-light .course__box .pay__note { color: #c4c8de; }

/* ---- Botones de pago: colores de la marca del sitio + espacio para el logo ---- */
.course__box .btn--paypal, .course__box .btn--mp { display: flex; align-items: center; justify-content: center; gap: 12px; }
.course__box .btn--paypal { background: linear-gradient(135deg, #9333ea 0%, #c026d3 100%); color: #fff; box-shadow: 0 10px 28px rgba(192, 38, 211, .38), inset 0 1px 0 rgba(255, 255, 255, .25); }
.course__box .btn--mp { background: linear-gradient(135deg, #0ea5e9 0%, #22d3ee 100%); color: #04121f; box-shadow: 0 10px 28px rgba(14, 165, 233, .38), inset 0 1px 0 rgba(255, 255, 255, .35); }
.pay__logo { position: relative; flex: none; display: inline-grid; place-items: center; min-width: 34px; height: 30px; padding: 0 8px; border-radius: 9px; background: #fff; box-shadow: 0 2px 6px rgba(0, 0, 0, .18); }
.pay__logo svg { width: 18px; height: 18px; }
.btn--paypal .pay__logo { color: #7c3aed; }
.btn--mp .pay__logo { color: #0284c7; }
.pay__logo img { position: absolute; inset: 0; margin: auto; height: 18px; width: auto; max-width: calc(100% - 12px); background: #fff; border-radius: 6px; }
.pay__logo:has(img) { min-width: 64px; }
@media (hover: hover) { .course__box .btn--paypal:hover { box-shadow: 0 16px 38px rgba(192, 38, 211, .55), inset 0 1px 0 rgba(255, 255, 255, .3); } .course__box .btn--mp:hover { box-shadow: 0 16px 38px rgba(34, 211, 238, .5), inset 0 1px 0 rgba(255, 255, 255, .4); } }
.course__box .pay .btn { white-space: nowrap; padding-left: 14px; padding-right: 14px; font-size: .98rem; gap: 10px; }
.pay__logo, .pay__logo:has(img) { width: 54px; min-width: 54px; padding: 0; }
.pay__logo img { max-width: calc(100% - 10px); }
@media (max-width: 380px) { .course__box .pay .btn { font-size: .9rem; gap: 8px; } .pay__logo, .pay__logo:has(img) { width: 46px; min-width: 46px; } }

/* ---- Botón Mercado Pago en azul más oscuro; logos horizontales ---- */
.course__box .btn--mp { background: linear-gradient(135deg, #1d4ed8 0%, #3b82f6 100%); color: #fff; box-shadow: 0 10px 28px rgba(37, 99, 235, .42), inset 0 1px 0 rgba(255, 255, 255, .28); }
@media (hover: hover) { .course__box .btn--mp:hover { box-shadow: 0 16px 38px rgba(59, 130, 246, .55), inset 0 1px 0 rgba(255, 255, 255, .35); } }
.pay__logo, .pay__logo:has(img) { width: 92px; min-width: 92px; height: 32px; }
.pay__logo img { height: 19px; max-width: calc(100% - 16px); object-fit: contain; }
.pay__logo:has(img) svg { visibility: hidden; }
.course__box .pay .btn { justify-content: flex-start; padding-left: 14px; }
@media (max-width: 380px) { .pay__logo, .pay__logo:has(img) { width: 80px; min-width: 80px; } .course__box .pay .btn { font-size: .88rem; gap: 8px; padding-left: 10px; padding-right: 8px; } }
@media (max-width: 400px) { .pay__logo, .pay__logo:has(img) { width: 72px; min-width: 72px; } .pay__logo img { height: 17px; } .course__box .pay .btn { font-size: .86rem; gap: 8px; padding-left: 10px; padding-right: 6px; } }
@media (max-width: 340px) { .pay__logo, .pay__logo:has(img) { width: 58px; min-width: 58px; } .pay__logo img { height: 14px; } .course__box .pay .btn { font-size: .76rem; gap: 6px; padding-left: 8px; padding-right: 4px; } }


/* ---- Páginas del newsletter (newsletter-gracias.html y newsletter-confirmado.html) ---- */
.thanks { min-height: calc(100vh - 64px - 260px); display: flex; align-items: center; }
.thanks .container { position: relative; z-index: 1; }
.thanks__card {
  max-width: 640px; margin: 0 auto; text-align: center;
  background: radial-gradient(90% 140% at 0% 0%, rgba(147, 51, 234, .38), transparent 62%), radial-gradient(70% 120% at 100% 100%, rgba(192, 38, 211, .18), transparent 65%), #1b1e2e;
  border: 1px solid rgba(210, 155, 255, .3); border-radius: 24px; padding: 32px 22px;
  box-shadow: 0 18px 44px rgba(42, 20, 88, .3), var(--shadow);
}
.thanks__card h1 { font-size: 1.9rem; }
.thanks__lead { color: var(--muted); font-size: 1.05rem; }
.thanks__steps { text-align: left; max-width: 440px; margin: 0 auto 26px; padding-left: 22px; list-style: decimal; display: grid; gap: 8px; }
.thanks .cta-row { justify-content: center; }
@media (min-width: 700px) { .thanks__card { padding: 48px 44px; } .thanks__card h1 { font-size: 2.4rem; } }


/* ---- Página de recursos gratis (recursos/index.html) ---- */
.rgrid { display: grid; gap: 24px; }
.rcard {
  display: flex; flex-direction: column; overflow: hidden;
  background: #ffffff; border: 1px solid rgba(124, 58, 237, .2); border-radius: 20px;
  box-shadow: 0 10px 30px rgba(60, 40, 120, .1);
  transition: transform .3s cubic-bezier(.2, .7, .2, 1), box-shadow .3s ease, border-color .3s ease;
}
.rcard__thumb { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; background: #1b1e2e; }
.rcard__thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.rcard__ph {
  position: absolute; inset: 0; display: grid; place-items: center;
  background: radial-gradient(90% 140% at 0% 0%, rgba(147, 51, 234, .55), transparent 62%), radial-gradient(70% 120% at 100% 100%, rgba(192, 38, 211, .35), transparent 65%), url("../img/circuito.svg") center / 360px, #1b1e2e;
}
.rcard__ph span { font-family: var(--mono); font-weight: 700; font-size: 1.5rem; letter-spacing: .08em; text-transform: uppercase; color: #fff; text-shadow: 0 4px 20px rgba(0,0,0,.5); }
.rcard__body { display: flex; flex-direction: column; gap: 10px; flex: 1; padding: 20px; }
.rcard__tag { align-self: flex-start; font-family: var(--mono); font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #6d28d9; background: rgba(147, 51, 234, .08); border: 1px solid rgba(124, 58, 237, .3); border-radius: 999px; padding: 4px 12px; }
.rcard h3 { margin: 0; font-size: 1.15rem; line-height: 1.3; }
.rcard h3 a { color: #14172b; text-decoration: none; }
.rcard p { margin: 0; color: #4d5373; font-size: .95rem; flex: 1; }
.rcard .btn { margin-top: 6px; color: #fff; }
@media (hover: hover) {
  .rcard:hover { transform: translateY(-6px); border-color: rgba(124, 58, 237, .5); box-shadow: 0 22px 50px rgba(124, 58, 237, .25); }
  .rcard:hover .rcard__thumb img { transform: scale(1.06); }
  .rcard h3 a:hover { color: #7c3aed; }
}
@media (min-width: 700px) { .rgrid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .rgrid { grid-template-columns: repeat(3, 1fr); } }

/* ---- Inicio con video ---- */
.hero__person--video { max-width: 100%; }
.hero__photo--video { aspect-ratio: 16 / 9; border-radius: 22px; background: #0d0f18; }
.hero__photo--video::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(to top, rgba(10, 12, 22, .5), transparent 38%); }
.hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
@media (min-width: 980px) {
  .hero__inner--video { grid-template-columns: .68fr 1.32fr; gap: 40px; }
  .hero__person--video { max-width: 760px; }
}

/* ---- Curso: "Muy pronto" ---- */
.soon { display: inline-flex; align-items: center; gap: 9px; font-family: var(--mono); font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #fff; background: rgba(147, 51, 234, .45); border: 1px solid rgba(210, 155, 255, .5); padding: 7px 14px; border-radius: 999px; margin-bottom: 14px; }
.soon i { width: 8px; height: 8px; border-radius: 50%; background: #d29bff; animation: dotPing 1.8s infinite; }
.soon__title { font-size: 1.5rem; line-height: 1.2; margin: 0 0 10px; color: #fff; }
.soon__text { margin: 0 0 20px; color: #c4c8de; }
.course__box--soon .hero__meta { margin-bottom: 24px; }
.soon__cta { width: 100%; min-height: 54px; }

/* Móvil: el video va justo debajo del título */
@media (max-width: 979px) {
  .hero__inner--video { gap: 0; }
  .hero__inner--video > div:first-child { display: contents; }
  .hero__inner--video > div:first-child > * { order: 3; }
  .hero__inner--video > div:first-child > .eyebrow { order: 1; justify-self: start; }
  .hero__inner--video > div:first-child > h1 { order: 2; }
  .hero__inner--video > .hero__person--video { order: 2; margin: 20px 0 24px; }
  .hero__inner--video > div:first-child > .hero__cta { margin-top: 8px; }
}

.method__video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; background: #0d0f18; border-radius: inherit; }

/* ---- Foto del instructor: formato horizontal, con aire a los costados (foto 829x746) ---- */
.instructor__photo { aspect-ratio: 829 / 746; max-width: 520px; margin: 0 auto; }
.instructor__photo img { object-position: 50% 50%; }
@media (min-width: 980px) {
  .instructor { grid-template-columns: 440px 1fr; gap: 48px; }
  .instructor__photo { max-width: none; margin: 0; }
}
