/* ==========================================================================
   OBE Informática — Vitrine · Estilos
   Paleta: negro/carbón + dorado (marca OBE) sobre fondo claro.
   ========================================================================== */
:root {
  --gold: #f5b301;
  --gold-600: #d99a00;
  --ink: #16181d;
  --ink-2: #2a2d35;
  --muted: #6b7280;
  --line: #e7e8ec;
  --bg: #f7f8fa;
  --card: #ffffff;
  --ok: #16a34a;
  --err: #dc2626;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(16, 18, 22, 0.04), 0 8px 24px rgba(16, 18, 22, 0.06);
  --shadow-lg: 0 10px 40px rgba(16, 18, 22, 0.12);
  --wrap: 1120px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial,
    sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 0.4em; }
p { margin: 0 0 1em; }
.muted { color: var(--muted); }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; width: 100%; }

/* ---------- Botones ---------- */
.btn {
  --b: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  font-weight: 600;
  font-size: 0.98rem;
  padding: 0.72em 1.25em;
  border-radius: 999px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.06s ease, box-shadow 0.15s ease, background 0.15s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-sm { padding: 0.5em 1em; font-size: 0.9rem; }
.btn-block { display: flex; width: 100%; margin-top: 0.6rem; }
.btn-primary { background: var(--gold); color: var(--ink); border-color: var(--gold); }
.btn-primary:hover { background: var(--gold-600); border-color: var(--gold-600); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-wa { background: #25d366; color: #063e1e; border-color: #25d366; }
.btn-wa:hover { filter: brightness(0.95); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 1rem; height: 140px; }
.brand img { height: 120px; width: auto; }
.nav { margin-left: auto; display: flex; align-items: center; gap: 0.75rem 1.1rem; flex-wrap: wrap; justify-content: flex-end; }
.nav > a { font-weight: 500; color: var(--ink-2); font-size: 0.96rem; }
.nav > a:hover { color: var(--ink); }
.nav > a.active { color: var(--ink); font-weight: 700; }
.nav > a.active::after {
  content: "";
  display: block;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
  margin-top: 2px;
}
.nav-actions { display: flex; align-items: center; gap: 0.6rem; margin-left: 0.4rem; }
.nav-actions .btn-sm { padding: 0.46em 0.9em; font-size: 0.86rem; }
.nav-toggle {
  display: none;
  margin-left: auto;
  background: none;
  border: 0;
  font-size: 1.5rem;
  cursor: pointer;
  line-height: 1;
}

/* ---------- Hero ---------- */
.hero {
  background: radial-gradient(1200px 400px at 80% -10%, #2a2d35 0%, var(--ink) 55%);
  color: #fff;
  overflow: hidden;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 2rem;
  align-items: center;
  padding: 4.5rem 20px 4rem;
}
.pill {
  display: inline-block;
  background: rgba(245, 179, 1, 0.15);
  color: var(--gold);
  border: 1px solid rgba(245, 179, 1, 0.35);
  padding: 0.4em 0.9em;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1.2rem;
}
.hero h1 { font-size: clamp(2rem, 4.5vw, 3.2rem); letter-spacing: -0.02em; }
.hero .hl { color: var(--gold); }
.hero .lead { font-size: 1.1rem; color: #d7d9e0; max-width: 34ch; }
.hero-cta { display: flex; gap: 0.75rem; flex-wrap: wrap; margin: 1.6rem 0 1.4rem; }
.hero-facts {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 1.6rem;
  flex-wrap: wrap;
  color: #b9bcc6;
  font-size: 0.92rem;
}
.hero-facts strong { color: #fff; display: block; font-size: 1.25rem; }
.hero-art {
  position: relative;
  height: 240px;
  display: grid;
  place-items: center;
}
.hero-cap { font-size: 8rem; filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.4)); }
.hero-badge {
  position: absolute;
  top: 20px;
  right: 30px;
  width: 84px;
  height: 84px;
  display: grid;
  place-items: center;
  background: var(--gold);
  color: var(--ink);
  font-weight: 800;
  font-size: 1.6rem;
  border-radius: 22px;
  transform: rotate(-8deg);
  box-shadow: var(--shadow-lg);
}

/* ---------- Secciones ---------- */
.section { padding: 3.5rem 20px; }
.section.narrow { max-width: 720px; }
.section-head, .page-head { margin-bottom: 1.6rem; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; }
.section-head h2, .page-head h1 { font-size: 1.7rem; }
.link-more { color: var(--gold-600); font-weight: 600; }

/* ---------- Grid de cards ---------- */
.grid { display: grid; gap: 1.1rem; }
.cards { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.curso-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: transform 0.12s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}
.curso-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: #dcdde2;
}
/* "Portada" del curso: banda oscura tintada por área, con ícono dorado */
.curso-media {
  position: relative;
  height: 132px;
  display: grid;
  place-items: center;
  color: #fff;
  background:
    radial-gradient(120px 80px at 78% 20%, hsla(var(--hue, 45), 60%, 45%, 0.55), transparent 70%),
    linear-gradient(135deg, hsl(var(--hue, 45), 32%, 20%), var(--ink) 78%);
  overflow: hidden;
}
.curso-media::after {
  content: "";
  position: absolute;
  right: -30px;
  bottom: -40px;
  width: 130px;
  height: 130px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(245, 179, 1, 0.28), transparent 70%);
}
.curso-media-ic {
  font-size: 2.6rem;
  filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.4));
  z-index: 1;
}
.curso-media-area {
  position: absolute;
  left: 14px;
  bottom: 12px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.02em;
  z-index: 1;
}
.tag {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--gold-600);
  background: #fdf6e0;
  padding: 0.3em 0.7em;
  border-radius: 999px;
}
.curso-media-tag {
  position: absolute;
  top: 12px;
  right: 12px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.92);
  z-index: 1;
}
.curso-body { padding: 1.15rem 1.25rem 1.25rem; display: flex; flex-direction: column; flex: 1; }
.curso-card h3 { font-size: 1.08rem; margin-bottom: 0.25rem; }
.card-sub { font-size: 0.82rem; margin: 0 0 0.4rem; }
.card-desc { font-size: 0.88rem; margin: 0 0 0.6rem; line-height: 1.45; }
.card-foot {
  margin-top: auto;
  padding-top: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
}
.card-price { font-weight: 700; color: var(--ink); }
.card-price.consult { color: var(--muted); font-weight: 600; font-size: 0.92rem; }
.card-btn {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--ink);
  background: var(--gold);
  padding: 0.5em 1em;
  border-radius: 999px;
  white-space: nowrap;
  transition: background 0.15s ease, transform 0.12s ease;
}
.curso-card:hover .card-btn { background: var(--gold-600); transform: translateX(2px); }

/* ---------- Strip beneficios ---------- */
.strip { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.strip-inner { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; padding: 2.5rem 20px; }
.strip-item { display: flex; gap: 0.9rem; align-items: flex-start; }
.strip-item span { font-size: 1.8rem; }
.strip-item h3 { font-size: 1.05rem; margin: 0.1rem 0 0.2rem; }
.strip-item p { font-size: 0.9rem; color: var(--muted); margin: 0; }

/* ---------- Toolbar catálogo ---------- */
.toolbar { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.4rem; }
.input {
  width: 100%;
  padding: 0.7em 0.9em;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  font: inherit;
  background: #fff;
  color: var(--ink);
}
.input:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(245, 179, 1, 0.18); }
.toolbar .input { max-width: 360px; }

/* ---------- Detalle de curso ---------- */
.breadcrumb { padding-top: 1.4rem; }
.breadcrumb a { color: var(--muted); font-weight: 500; }
.breadcrumb a:hover { color: var(--ink); }
.curso-detalle {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 2.5rem;
  padding: 1.5rem 20px 4rem;
  align-items: start;
}
.curso-hero { display: flex; gap: 1rem; align-items: center; margin-bottom: 1.4rem; }
.curso-ic {
  font-size: 2.4rem;
  width: 72px;
  height: 72px;
  display: grid;
  place-items: center;
  background: #fbf4df;
  border-radius: 16px;
  flex: none;
}
.curso-hero h1 { font-size: 1.9rem; }
.meta-row { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.chip {
  font-size: 0.82rem;
  background: #fff;
  border: 1px solid var(--line);
  padding: 0.35em 0.75em;
  border-radius: 999px;
  color: var(--ink-2);
}
.curso-block { margin-top: 2rem; }
.curso-block h2 { font-size: 1.3rem; padding-bottom: 0.5rem; border-bottom: 2px solid var(--gold); display: inline-block; }
.prose { color: #33363e; }
.prose p { margin: 0 0 0.9em; }

/* Sticky price card */
.curso-side { position: sticky; top: 156px; }
.price-card {
  background: var(--ink);
  color: #fff;
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow-lg);
}
.price-label { color: var(--gold); font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; }
.price-main { font-size: 1.5rem; font-weight: 800; margin: 0.3rem 0; }
.price-sub { color: #c7c9d2; font-size: 0.92rem; }
.price-note {
  margin: 1rem 0;
  padding: 0.7rem 0.9rem;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  font-size: 0.85rem;
  color: #e6e7ec;
}

/* ---------- Formulario ---------- */
.form.card { padding: 1.75rem; }
.field { margin-bottom: 1.1rem; }
.field label { display: block; font-weight: 600; font-size: 0.9rem; margin-bottom: 0.4rem; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
textarea.input { resize: vertical; }
.fineprint { font-size: 0.82rem; margin: 0.5rem 0 1rem; }
.form-status { margin-top: 1rem; padding: 0.8rem 1rem; border-radius: 10px; font-size: 0.92rem; }
.form-status.err { background: #fef2f2; color: var(--err); border: 1px solid #fecaca; }
.success { text-align: center; padding: 1.5rem 0.5rem; }
.success-ic { font-size: 3rem; }
.success h2 { color: var(--ok); }

/* ---------- Estados ---------- */
.loader { display: grid; place-items: center; gap: 1rem; padding: 5rem 0; }
.spin {
  width: 38px; height: 38px;
  border: 3px solid var(--line);
  border-top-color: var(--gold);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.empty { text-align: center; padding: 3rem 1rem; color: var(--muted); }
.empty.error h2 { color: var(--ink); }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #c7c9d2; margin-top: 2rem; }
.foot-inner { display: grid; grid-template-columns: 1fr 2fr; gap: 2rem; padding: 3rem 20px 2rem; }
.foot-logo { height: 60px; background: #fff; padding: 6px 10px; border-radius: 8px; }
.foot-inner .muted { color: #8b8e99; margin-top: 0.6rem; }
.foot-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.foot-cols h4 { color: #fff; font-size: 0.95rem; margin-bottom: 0.7rem; }
.foot-link { display: block; color: #b9bcc6; font-size: 0.9rem; padding: 0.2rem 0; }
.foot-link:hover { color: var(--gold); }
.foot-copy { border-top: 1px solid rgba(255, 255, 255, 0.08); padding: 1.2rem 20px; font-size: 0.85rem; color: #7c7f8a; }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav {
    position: fixed;
    inset: 92px 0 auto 0;
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.5rem 20px 1rem;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    transform: translateY(-120%);
    transition: transform 0.2s ease;
  }
  body.nav-open .nav { transform: translateY(0); }
  .nav a { padding: 0.75rem 0; border-bottom: 1px solid var(--line); }
  .nav .btn { margin-top: 0.6rem; }
  .hero-inner { grid-template-columns: 1fr; padding: 3rem 20px; }
  .hero-art { display: none; }
  .curso-detalle { grid-template-columns: 1fr; }
  .curso-side { position: static; }
  .foot-inner { grid-template-columns: 1fr; }
  .foot-cols { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .strip-inner { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .section-head:not(.center) { flex-direction: column; align-items: flex-start; gap: 0.3rem; }
}

/* ==========================================================================
   Componentes ampliados (home rica)
   ========================================================================== */

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; transition: none; }
}

/* Eyebrow + section head centrado */
.eyebrow {
  display: inline-block;
  color: var(--gold-600);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.8rem;
  margin-bottom: 0.4rem;
}
.section-head.center { display: block; text-align: center; max-width: 640px; margin: 0 auto 2rem; }
.section-head.center h2 { font-size: 1.8rem; }

/* Hero proof */
.hero-proof { display: flex; align-items: center; gap: 0.6rem; margin-top: 1.6rem; color: #c7c9d2; font-size: 0.92rem; }
.stars { color: var(--gold); letter-spacing: 2px; }

/* Stats band */
.stats { background: var(--ink); color: #fff; }
.stats-inner { display: flex; justify-content: space-around; gap: 1.5rem; padding: 1.8rem 20px; flex-wrap: wrap; }
.stat { text-align: center; }
.stat-num { display: block; font-size: 2.1rem; font-weight: 800; color: var(--gold); font-variant-numeric: tabular-nums; }
.stat-label { color: #c7c9d2; font-size: 0.9rem; }

/* Franja alternada */
.strip-alt { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

/* Features / ¿Por qué OBE? */
.features { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.feature { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; box-shadow: var(--shadow); }
.feature-ic { font-size: 1.8rem; width: 56px; height: 56px; display: grid; place-items: center; background: #fbf4df; border-radius: 14px; margin-bottom: 0.9rem; }
.feature h3 { font-size: 1.1rem; margin-bottom: 0.3rem; }
.feature p { color: var(--muted); margin: 0; font-size: 0.95rem; }

/* Cómo funciona — pasos */
.steps { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.step { text-align: center; padding: 1rem; }
.step-num { width: 48px; height: 48px; display: grid; place-items: center; margin: 0 auto 0.8rem; background: var(--gold); color: var(--ink); font-weight: 800; border-radius: 50%; font-size: 1.2rem; }
.step h3 { font-size: 1.05rem; margin-bottom: 0.25rem; }
.step p { color: var(--muted); font-size: 0.92rem; margin: 0; }

/* FAQ */
.faq { display: flex; flex-direction: column; gap: 0.7rem; }
.faq-item { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; }
.faq-item summary { cursor: pointer; padding: 1rem 1.2rem; font-weight: 600; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; color: var(--gold-600); font-size: 1.4rem; font-weight: 700; line-height: 1; }
.faq-item[open] summary::after { content: "\2013"; }
.faq-body { padding: 0 1.2rem 1rem; color: var(--muted); }
.faq-body p { margin: 0; }

/* Testimonios — carrusel horizontal (se ven ~4; las flechas desplazan) */
.testi-carousel { position: relative; }
.testimonios {
  display: flex;
  gap: 1.2rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 6px 4px 1rem;                 /* aire para sombra */
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;                 /* Firefox */
}
.testimonios::-webkit-scrollbar { display: none; }   /* WebKit */
.testimonios .testimonio {
  flex: 0 0 calc((100% - 3 * 1.2rem) / 4);           /* 4 por pantalla */
  scroll-snap-align: start;
  box-sizing: border-box;
  min-width: 0;
}
.testi-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 2;
  width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--card); color: var(--ink);
  border: 1px solid var(--line); box-shadow: var(--shadow);
  cursor: pointer; transition: background .15s, color .15s;
}
.testi-arrow:hover { background: var(--gold); color: var(--ink); }
.testi-arrow.prev { left: -8px; }
.testi-arrow.next { right: -8px; }
@media (max-width: 1024px) {
  .testimonios .testimonio { flex-basis: calc((100% - 1.2rem) / 2); }  /* 2 por pantalla */
}
@media (max-width: 640px) {
  .testimonios .testimonio { flex-basis: 82%; }        /* 1 + asomo del siguiente */
  .testi-arrow { display: none; }                      /* en móvil se desliza con el dedo */
}
.testimonio { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; box-shadow: var(--shadow); }
.testimonio blockquote { margin: 0.6rem 0 1rem; font-style: italic; color: #33363e; }
.testimonio figcaption { display: flex; align-items: center; gap: 0.7rem; }
.avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--gold); color: var(--ink); display: grid; place-items: center; font-weight: 700; flex: none; }
.testimonio small { color: var(--muted); display: block; }

/* CTA band */
.cta-band { background: radial-gradient(1000px 300px at 20% 0%, #2a2d35 0%, var(--ink) 60%); color: #fff; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding: 3rem 20px; flex-wrap: wrap; }
.cta-inner h2 { font-size: 1.7rem; margin: 0 0 0.3rem; }
.cta-inner p { color: #c7c9d2; margin: 0; max-width: 46ch; }
.cta-actions { display: flex; gap: 0.75rem; flex-wrap: wrap; }
.btn-lg { padding: 0.9em 1.6em; font-size: 1.05rem; }
.btn-white { background: #fff; color: var(--ink); border-color: #fff; }
.btn-white:hover { background: #eee; border-color: #eee; }

/* Botones flotantes */
#floating { position: fixed; right: 18px; bottom: 18px; z-index: 60; display: flex; flex-direction: column; gap: 0.6rem; align-items: center; }
.fab { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; box-shadow: var(--shadow-lg); border: 0; cursor: pointer; transition: transform 0.12s ease; }
.fab:hover { transform: translateY(-2px); }
.fab-wa { background: #25d366; color: #fff; }
.fab-top { background: var(--ink); color: #fff; font-size: 1.4rem; opacity: 0; pointer-events: none; transition: opacity 0.2s ease; }
#floating.show-top .fab-top { opacity: 1; pointer-events: auto; }

@media (max-width: 640px) {
  .cta-inner { flex-direction: column; align-items: flex-start; text-align: left; }
  .stat-num { font-size: 1.8rem; }
  .fab { width: 48px; height: 48px; }
}

/* ==========================================================================
   Rediseño "vitrine rica" (estilo template) — dorado/negro OBE
   ========================================================================== */

/* ---------- Hero: arte (blob + chips) + onda inferior ---------- */
.hero { position: relative; }
.hero-inner { padding-bottom: 5.5rem; }
.hero h1 { max-width: 16ch; }
.hero-art { height: 300px; }
.hero-blob {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 300px;
  height: 300px;
  background: conic-gradient(from 210deg, #f5b301, #d99a00, #8a6a00, #f5b301);
  border-radius: 42% 58% 55% 45% / 48% 42% 58% 52%;
  filter: blur(2px);
  opacity: 0.9;
  animation: blobspin 14s linear infinite;
  box-shadow: 0 30px 80px rgba(245, 179, 1, 0.25);
}
@keyframes blobspin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .hero-blob { animation: none; } }
.hero-cap { position: relative; z-index: 2; font-size: 9rem; }
.hero-badge { z-index: 3; }
.hero-chip {
  position: absolute;
  z-index: 3;
  background: #fff;
  color: var(--ink);
  font-weight: 700;
  font-size: 0.85rem;
  padding: 0.5em 0.9em;
  border-radius: 999px;
  box-shadow: var(--shadow-lg);
}
.hero-chip-1 { top: 30px; left: -6px; transform: rotate(-6deg); }
.hero-chip-2 { bottom: 34px; right: 0; transform: rotate(5deg); }
.hero-wave { position: absolute; left: 0; right: 0; bottom: -1px; line-height: 0; }
.hero-wave svg { width: 100%; height: 90px; display: block; }

/* ---------- Buscador destacado ---------- */
.searchbar-wrap { margin-top: -2.8rem; position: relative; z-index: 5; }
.searchbar {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.5rem 0.5rem 0.5rem 1.1rem;
  box-shadow: var(--shadow-lg);
  max-width: 720px;
  margin: 0 auto;
}
.searchbar-ic { font-size: 1.1rem; opacity: 0.7; }
.searchbar-input {
  flex: 1;
  border: 0;
  outline: none;
  font: inherit;
  background: transparent;
  color: var(--ink);
  padding: 0.55em 0;
  min-width: 0;
}
.searchbar .btn { flex: none; }

/* ---------- Áreas (pills que filtran) ---------- */
.areas-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 0.9rem;
}
.area-pill {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.9rem 1rem;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: transform 0.12s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}
.area-pill:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: #dcdde2; }
.area-ic {
  font-size: 1.5rem;
  width: 50px;
  height: 50px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background:
    radial-gradient(circle at 30% 25%, hsla(var(--hue, 45), 55%, 55%, 0.22), transparent 70%),
    #fbf4df;
}
.area-txt strong { display: block; font-size: 0.98rem; }
.area-txt small { color: var(--muted); font-size: 0.82rem; }

/* ---------- Botón centrado bajo grillas ---------- */
.center-btn { text-align: center; margin-top: 2rem; }

/* ---------- Chips de filtro del catálogo ---------- */
.fchips { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1.2rem; }
.fchip {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink-2);
  background: #fff;
  border: 1px solid var(--line);
  padding: 0.45em 0.9em;
  border-radius: 999px;
  transition: all 0.12s ease;
}
.fchip:hover { border-color: var(--gold); }
.fchip.on { background: var(--ink); color: #fff; border-color: var(--ink); }

/* ---------- ¿Quiénes somos? ---------- */
.qs-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; align-items: center; }
.qs-copy h2 { font-size: 1.8rem; }
.qs-copy .btn { margin-top: 0.6rem; }
.qs-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.7rem; }
.qs-photo {
  aspect-ratio: 4 / 3;
  border-radius: 12px;
  border: 1px dashed #cfd2da;
  background: repeating-linear-gradient(45deg, #f0f1f4, #f0f1f4 10px, #eaebef 10px, #eaebef 20px);
  display: grid;
  place-items: center;
  color: var(--muted);
  text-align: center;
  gap: 0.2rem;
}
.qs-photo span { font-size: 1.6rem; }
.qs-photo small { font-size: 0.72rem; }

/* ---------- Sello "contenido de ejemplo" ---------- */
.ej-badge {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #8a5a00;
  background: #fff3cd;
  border: 1px solid #f5d97a;
  padding: 0.2em 0.6em;
  border-radius: 999px;
  margin-right: 0.5rem;
  vertical-align: middle;
}

/* ---------- Footer: redes + aliados ---------- */
.foot-social { display: flex; gap: 0.5rem; margin-top: 0.9rem; }
.soc {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  font-size: 1.05rem;
  transition: background 0.15s ease;
}
.soc:hover { background: var(--gold); }
.foot-aliados {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1.5rem 20px 0.5rem;
}
.foot-aliados-label { display: block; color: #8b8e99; font-size: 0.85rem; margin-bottom: 0.8rem; }
.aliados-row { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.aliado-chip {
  font-size: 0.82rem;
  color: #c7c9d2;
  background: rgba(255, 255, 255, 0.06);
  border: 1px dashed rgba(255, 255, 255, 0.18);
  padding: 0.55em 1em;
  border-radius: 10px;
}

/* ---------- Detalle: tag sobre título ---------- */
.curso-hero .tag { display: inline-block; margin-bottom: 0.4rem; }

/* ---------- Responsive del rediseño ---------- */
@media (max-width: 860px) {
  .nav { align-items: stretch; }
  .nav-actions { flex-direction: column; align-items: stretch; margin-left: 0; gap: 0.5rem; padding-top: 0.5rem; }
  .nav-actions .btn { width: 100%; }
  .hero-inner { padding-bottom: 4rem; }
  .qs-grid { grid-template-columns: 1fr; gap: 1.5rem; }
}
@media (max-width: 560px) {
  .searchbar { flex-wrap: wrap; border-radius: var(--radius); padding: 0.8rem; }
  .searchbar .btn { width: 100%; }
  .searchbar-input { width: 100%; }
  .hero h1 { max-width: none; }
}

/* ==========================================================================
   Refino clínico — sistema de íconos SVG (reemplaza emoji) + hero/cards
   ========================================================================== */
.ico { display: inline-block; vertical-align: middle; flex: none; }
.btn .ico { margin-top: -1px; }

/* Pill del hero con ícono alineado */
.pill { display: inline-flex; align-items: center; gap: 0.45em; }
.pill-ic { color: var(--gold); }

/* Estrellas SVG */
.stars { display: inline-flex; align-items: center; gap: 2px; color: var(--gold); }
.star-ic { color: var(--gold); }

/* Contenedores de ícono: color dorado sobre tile crema */
.feature-ic, .area-ic, .curso-ic { color: var(--gold-600); }
.feature-ic { display: grid; place-items: center; }

/* --- Hero art: composición de tarjetas (estilo producto) --- */
.hero-art { position: relative; height: 340px; overflow: visible; }
.ha-glow {
  position: absolute;
  left: 50%; top: 50%;
  width: 320px; height: 320px;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(245, 179, 1, 0.3), rgba(245, 179, 1, 0) 65%);
  pointer-events: none;
}
.ha-card {
  position: absolute;
  background: #fff;
  color: var(--ink);
  border-radius: 16px;
  box-shadow: 0 22px 55px rgba(0, 0, 0, 0.35);
}
.ha-course {
  width: 258px;
  left: 50%; top: 50%;
  transform: translate(-52%, -50%);
  padding: 18px;
}
.ha-course-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.ha-ic {
  width: 46px; height: 46px;
  border-radius: 12px;
  display: grid; place-items: center;
  background: rgba(245, 179, 1, 0.15);
  color: var(--gold-600);
}
.ha-tag { font-size: 0.72rem; font-weight: 700; color: var(--gold-600); background: #fdf6e0; padding: 0.3em 0.7em; border-radius: 999px; }
.ha-line { display: block; height: 10px; border-radius: 6px; background: #eceef2; margin-bottom: 8px; }
.ha-line-1 { width: 88%; }
.ha-line-2 { width: 62%; }
.ha-course-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 16px; }
.ha-price { font-size: 0.8rem; font-weight: 700; color: var(--muted); }
.ha-btn { font-size: 0.78rem; font-weight: 700; color: var(--ink); background: var(--gold); padding: 0.42em 0.85em; border-radius: 999px; }
.ha-cert {
  top: 2px; right: -6px;
  display: flex; align-items: center; gap: 10px;
  padding: 12px 14px;
  transform: rotate(3deg);
}
.ha-cert-ic { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; background: rgba(245, 179, 1, 0.15); color: var(--gold-600); }
.ha-cert-txt strong { display: block; font-size: 0.85rem; line-height: 1.1; }
.ha-cert-txt small { color: var(--muted); font-size: 0.72rem; }
.ha-mini {
  left: -8px; bottom: 20px;
  display: flex; align-items: center; gap: 6px;
  padding: 9px 14px;
  font-size: 0.82rem; font-weight: 700;
  border-radius: 999px;
  transform: rotate(-3deg);
}
.ha-mini-ic { color: var(--gold-600); display: inline-flex; }

/* Hero art v2: tarjeta de beneficios */
.ha-benefits {
  width: 300px;
  left: 50%; top: 50%;
  transform: translate(-52%, -50%);
  padding: 20px;
}
.ha-benefits-head { display: flex; align-items: center; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid #eef0f3; margin-bottom: 14px; }
.ha-benefits-title strong { display: block; font-size: 0.98rem; line-height: 1.1; }
.ha-benefits-title small { color: var(--muted); font-size: 0.78rem; }
.ha-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 11px; }
.ha-list li { display: flex; align-items: center; gap: 10px; font-size: 0.9rem; font-weight: 600; color: var(--ink-2); }
.ha-check { width: 26px; height: 26px; flex: none; border-radius: 50%; display: grid; place-items: center; background: rgba(22, 163, 74, 0.12); color: var(--ok); }
.ha-mini-mod {
  left: auto; right: -10px; top: 6px; bottom: auto;
  transform: rotate(3deg);
}
.ha-badge-gs {
  position: absolute;
  left: -12px; bottom: 26px;
  width: 60px; height: 60px;
  display: grid; place-items: center;
  background: var(--gold); color: var(--ink);
  font-weight: 800; font-size: 1.4rem;
  border-radius: 18px;
  box-shadow: var(--shadow-lg);
  transform: rotate(-8deg);
}

/* --- Card de curso: portada limpia (sin borrón) --- */
.curso-media {
  position: relative;
  height: 92px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 16px;
  background: linear-gradient(135deg, #20242c 0%, var(--ink) 100%);
  border-bottom: 2px solid var(--gold);
  overflow: hidden;
}
.curso-media::after {
  content: "";
  position: absolute;
  right: -36px; top: -36px;
  width: 110px; height: 110px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(245, 179, 1, 0.12), transparent 70%);
}
.curso-media-ic {
  width: 52px; height: 52px;
  flex: none;
  border-radius: 12px;
  display: grid; place-items: center;
  background: rgba(245, 179, 1, 0.12);
  border: 1px solid rgba(245, 179, 1, 0.32);
  color: var(--gold);
  z-index: 1;
}
.curso-media-area {
  position: static;
  color: #e9eaef;
  font-weight: 700;
  font-size: 0.9rem;
  z-index: 1;
}
.curso-media-tag {
  position: absolute;
  top: 12px; right: 12px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.92);
  z-index: 1;
}
.card-btn { display: inline-flex; align-items: center; gap: 4px; }

/* Chips de filtro con ícono */
.fchip { display: inline-flex; align-items: center; gap: 6px; }
.fchip-ic { color: var(--gold-600); }
.fchip.on .fchip-ic { color: var(--gold); }

/* Meta chips del detalle */
.chip { display: inline-flex; align-items: center; gap: 5px; }
.chip-ic { color: var(--gold-600); }

/* Detalle: tile del ícono */
.curso-ic { color: var(--gold-600); }

/* Nota de precio con ícono */
.price-card .price-note { display: flex; align-items: center; gap: 8px; }
.pn-ic { color: var(--gold); flex: none; }

/* Buscador destacado: ícono */
.searchbar-ic { color: var(--muted); display: inline-flex; }

/* Footer: enlaces con ícono + redes */
.fl-ic { color: var(--gold-600); vertical-align: -3px; margin-right: 5px; }
.foot-link { display: flex; align-items: flex-start; gap: 0; }
.soc { color: #fff; }
.soc:hover { color: var(--ink); }

/* Éxito del formulario */
.success-ic { display: flex; justify-content: center; color: var(--ok); margin-bottom: 0.4rem; }

/* Menú móvil (ícono) */
.nav-toggle { display: none; }
.nav-toggle .ico { display: block; }
@media (max-width: 860px) {
  .nav-toggle { display: block; }
}

/* Imágenes reales (subidas desde el panel) ------------------------------- */
.curso-media-photo { padding: 0; }
.curso-media-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.curso-media-photo::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.15) 0%, rgba(0, 0, 0, 0.6) 100%);
  z-index: 1;
}
.curso-media-photo .curso-media-area,
.curso-media-photo .curso-media-tag { z-index: 2; }
.qs-photo-real { border: 0; background: none; padding: 0; overflow: hidden; }
.qs-photo-real img { width: 100%; height: 100%; object-fit: cover; }
.aliado-logo { background: #fff; padding: 6px 12px; display: inline-flex; align-items: center; }
.aliado-logo img { height: 26px; width: auto; display: block; }

/* Blindaje anti-scroll horizontal + escala tipográfica en móvil */
html, body { overflow-x: hidden; }
h1, h2, h3 { overflow-wrap: break-word; }
/* Header/logo se achican en móvil (140px sería demasiado alto) */
@media (max-width: 860px) {
  .header-inner { height: 92px; }
  .brand img { height: 72px; }
}
@media (max-width: 560px) {
  .hero h1 { font-size: 1.62rem; line-height: 1.18; letter-spacing: -0.01em; }
  .hero .lead { font-size: 1rem; }
  .section-head h2, .section-head.center h2, .page-head h1, .qs-copy h2 { font-size: 1.45rem; }
  .cta-inner h2 { font-size: 1.4rem; }
  .section { padding: 2.6rem 20px; }
  .hero-proof { font-size: 0.85rem; }
}

/* ==========================================================================
   Animaciones (movimiento con gusto — dorado/negro OBE)
   ========================================================================== */

/* Barra de progreso de scroll (arriba de todo) */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px; width: 100%;
  background: linear-gradient(90deg, var(--gold), var(--gold-600));
  transform: scaleX(0);
  transform-origin: 0 50%;
  z-index: 100;
  will-change: transform;
}

/* Entrada en cascada (stagger) dentro de las grillas */
.cards > .reveal:nth-child(2),
.features > .reveal:nth-child(2),
.steps > .reveal:nth-child(2) { transition-delay: 0.07s; }
.cards > .reveal:nth-child(3),
.features > .reveal:nth-child(3),
.steps > .reveal:nth-child(3) { transition-delay: 0.14s; }
.cards > .reveal:nth-child(4),
.features > .reveal:nth-child(4),
.steps > .reveal:nth-child(4) { transition-delay: 0.21s; }
.cards > .reveal:nth-child(5),
.features > .reveal:nth-child(5) { transition-delay: 0.28s; }
.cards > .reveal:nth-child(6),
.features > .reveal:nth-child(6) { transition-delay: 0.35s; }

/* Hero: flotación + brillo pulsante */
.ha-benefits { animation: floatBenefits 5.5s ease-in-out infinite; }
.ha-mini-mod { animation: floatMini 4.5s ease-in-out infinite; }
.ha-badge-gs { animation: floatBadge 6s ease-in-out infinite; }
.ha-glow { animation: pulseGlow 4.5s ease-in-out infinite; }
@keyframes floatBenefits {
  0%, 100% { transform: translate(-52%, -50%); }
  50% { transform: translate(-52%, -54%); }
}
@keyframes floatMini {
  0%, 100% { transform: rotate(3deg) translateY(0); }
  50% { transform: rotate(3deg) translateY(-7px); }
}
@keyframes floatBadge {
  0%, 100% { transform: rotate(-8deg) translateY(0); }
  50% { transform: rotate(-8deg) translateY(-8px); }
}
@keyframes pulseGlow {
  0%, 100% { opacity: 0.8; transform: translate(-50%, -50%) scale(1); }
  50% { opacity: 1; transform: translate(-50%, -50%) scale(1.09); }
}

/* Estrellas: leve titileo escalonado */
.hero-proof .star-ic { animation: twinkle 3.2s ease-in-out infinite; }
.hero-proof .star-ic:nth-child(2) { animation-delay: 0.25s; }
.hero-proof .star-ic:nth-child(3) { animation-delay: 0.5s; }
.hero-proof .star-ic:nth-child(4) { animation-delay: 0.75s; }
.hero-proof .star-ic:nth-child(5) { animation-delay: 1s; }
@keyframes twinkle { 0%, 100% { opacity: 1; } 50% { opacity: 0.5; } }

/* WhatsApp flotante: pulso que llama la atención */
.fab-wa { animation: waPulse 2.6s ease-in-out infinite; }
@keyframes waPulse {
  0%, 100% { box-shadow: var(--shadow-lg), 0 0 0 0 rgba(37, 211, 102, 0.5); }
  50% { box-shadow: var(--shadow-lg), 0 0 0 12px rgba(37, 211, 102, 0); }
}

/* Botones: brillo que barre en el hover */
.btn-primary, .btn-wa, .btn-white { position: relative; overflow: hidden; }
.btn-primary::after, .btn-wa::after, .btn-white::after {
  content: "";
  position: absolute;
  top: 0; left: -130%;
  width: 55%; height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.5), transparent);
  transform: skewX(-20deg);
  transition: left 0.6s ease;
  pointer-events: none;
}
.btn-primary:hover::after, .btn-wa:hover::after, .btn-white:hover::after { left: 140%; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(1px); }

/* Íconos que reaccionan al hover */
.area-ic, .area-arrow, .feature-ic, .curso-media-ic, .card-arrow { transition: transform 0.2s ease; }
.area-arrow { opacity: 0.55; }
.area-pill:hover .area-ic { transform: scale(1.12) rotate(-5deg); }
.area-pill:hover .area-arrow { transform: translateX(5px); opacity: 1; }
.feature { transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease; }
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: #dcdde2; }
.feature:hover .feature-ic { transform: scale(1.12) rotate(4deg); }
.curso-card:hover .curso-media-ic { transform: scale(1.12) translateY(-2px); }

/* Pasos: número con leve latido al pasar el mouse */
.step-num { transition: transform 0.2s ease; }
.step:hover .step-num { transform: scale(1.1); }

/* FAQ: apertura suave */
.faq-item { transition: border-color 0.15s ease; }
.faq-item[open] { border-color: rgba(245, 179, 1, 0.4); }
.faq-body { animation: faqIn 0.25s ease; }
@keyframes faqIn { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }

/* Respeta a quien prefiere menos movimiento */
@media (prefers-reduced-motion: reduce) {
  .ha-benefits, .ha-mini-mod, .ha-badge-gs, .ha-glow,
  .hero-proof .star-ic, .fab-wa { animation: none !important; }
  .scroll-progress { display: none; }
  .btn-primary::after, .btn-wa::after, .btn-white::after { display: none; }
}

/* ---------- Video demostrativo + portada en el detalle ---------- */
.curso-media-detalle { margin-bottom: 1.6rem; }
.curso-media-detalle .eyebrow { display: block; margin-bottom: 0.5rem; }
.curso-video {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  overflow: hidden;
  background: #000;
  box-shadow: var(--shadow-lg);
}
.curso-video iframe,
.curso-video video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
.curso-video-link { margin: 0.2rem 0 0.4rem; }
.curso-detalle-img {
  width: 100%;
  max-height: 340px;
  object-fit: cover;
  border-radius: var(--radius);
  margin-bottom: 1.6rem;
  box-shadow: var(--shadow);
}

/* ---------- Testimonio con foto del alumno (recibiendo el certificado) ---------- */
.testimonio { overflow: hidden; }
.testimonio-foto {
  margin: -1.5rem -1.5rem 1.2rem;
  height: 200px;
  background: var(--bg);
}
.testimonio-foto img { width: 100%; height: 100%; object-fit: cover; display: block; }
.testimonio small { display: inline-flex; align-items: center; gap: 3px; }
.tst-pin { color: var(--gold-600); }

/* ---------- Enlaces utilitarios del header (grises, apilados) ---------- */
.nav-util {
  display: inline-flex;
  flex-direction: column;
  gap: 0.55rem;
  align-items: stretch;
  margin-left: 0.3rem;
}
.nav-util .btn { width: 100%; }
.btn-xs { padding: 0.45em 1em; font-size: 0.82rem; }
/* "Administración": botón oscuro (bien diferenciado del claro de arriba) */
.btn-dark { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn-dark:hover { background: var(--ink-2); border-color: var(--ink-2); }

/* ==========================================================================
   Cards estilo Grupo Visual: imagen grande + chip de área + hover destaque
   ========================================================================== */
.curso-media {
  position: relative;
  height: 190px;
  display: grid;
  place-items: center;
  padding: 0;
  overflow: hidden;
  background: linear-gradient(135deg, #20242c, var(--ink));
  border-bottom: 0;
}
.curso-media-photo { background: var(--ink); }
.curso-media-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}
.curso-media-photo::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.42) 0%, rgba(0, 0, 0, 0.05) 34%, rgba(0, 0, 0, 0) 60%);
  z-index: 1;
}
.curso-media-photo::after { content: none; }
.curso-media-ic {
  z-index: 1;
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: rgba(245, 179, 1, 0.12);
  border: 1px solid rgba(245, 179, 1, 0.3);
  color: var(--gold);
}
.curso-chip {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  background: var(--ink);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.42em 0.8em;
  border-radius: 8px;
  letter-spacing: 0.02em;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}
.curso-card { transition: transform 0.18s ease, box-shadow 0.2s ease, border-color 0.2s ease; }
.curso-card:hover {
  transform: translateY(-6px);
  border-color: var(--gold);
  box-shadow: 0 16px 44px rgba(245, 179, 1, 0.22);
}
.curso-card:hover .curso-media-img { transform: scale(1.07); }

/* ==========================================================================
   Detalle del curso estilo Grupo Visual: info a la izquierda, video a la derecha
   ========================================================================== */
.curso-top {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 2rem;
  padding: 1.5rem 20px 2rem;
  align-items: start;
}
.curso-info .tag { display: inline-block; margin-bottom: 0.6rem; }
.curso-info h1 { font-size: 1.6rem; margin-bottom: 1.1rem; }
.info-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.info-meta { list-style: none; margin: 0; padding: 1.2rem; display: flex; flex-direction: column; gap: 1rem; }
.info-meta li { display: flex; gap: 0.75rem; align-items: flex-start; }
.info-ic {
  width: 38px; height: 38px; flex: none;
  display: grid; place-items: center;
  border-radius: 10px;
  background: #fbf4df;
  color: var(--gold-600);
}
.info-txt small {
  display: block;
  color: var(--muted);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-weight: 700;
  margin-bottom: 1px;
}
.info-txt strong { font-size: 0.95rem; color: var(--ink); }
.info-price { background: var(--bg); border-top: 1px solid var(--line); padding: 1.3rem; }
.info-price .price-label { color: var(--gold-600); }
.info-price .price-main { color: var(--ink); font-size: 1.5rem; font-weight: 800; margin: 0.3rem 0; }
.info-price .price-sub { color: var(--muted); font-size: 0.92rem; }
.info-price .price-note {
  display: flex; align-items: center; gap: 8px;
  background: #fff; border: 1px solid var(--line); color: var(--ink-2);
  margin: 1rem 0; padding: 0.7rem 0.9rem; border-radius: 10px; font-size: 0.85rem;
}
.curso-media-col .curso-video { box-shadow: var(--shadow-lg); }
.curso-media-img-full { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow-lg); display: block; }
.curso-media-hero {
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  display: grid; place-items: center;
  background: linear-gradient(135deg, #20242c, var(--ink));
  color: var(--gold);
  box-shadow: var(--shadow-lg);
}
.curso-body-full { padding: 0 20px 4rem; }
.curso-body-full .curso-block:first-child { margin-top: 0; }

@media (max-width: 860px) {
  .curso-top { grid-template-columns: 1fr; }
}

/* ---------- Detalle: chip arriba, título alineado con el video, texto debajo del video ---------- */
.curso-detail { padding: 1rem 20px 4rem; }
.curso-detail-tag { display: inline-block; margin-bottom: 0.85rem; }
.curso-grid { display: grid; grid-template-columns: 360px 1fr; gap: 2rem; align-items: start; }
.curso-info h1 { font-size: 1.6rem; margin-bottom: 1.1rem; }
.curso-main-col { min-width: 0; }
/* baja el video unos px para alinearlo con la línea del título */
.curso-main-col > .curso-media-col { margin-top: 0.75rem; margin-bottom: 1.8rem; }
.curso-main-col .curso-block { margin-top: 2rem; }
.curso-main-col .curso-block:first-of-type { margin-top: 0; }
@media (max-width: 860px) {
  .curso-grid { grid-template-columns: 1fr; }
}

/* ---------- Sistema suspendido (control plane) + banner de aviso ---------- */
.suspendido {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 2rem;
  background: radial-gradient(1000px 500px at 50% -10%, #22252d, var(--ink) 60%);
  color: #fff;
}
.suspendido-box {
  max-width: 520px;
  text-align: center;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  padding: 2.5rem 2rem;
}
.suspendido-logo { height: 84px; width: auto; margin: 0 auto 1.4rem; background: #fff; padding: 8px 12px; border-radius: 10px; }
.suspendido h1 { font-size: 1.5rem; margin-bottom: 0.6rem; }
.suspendido p { color: #c7c9d2; margin: 0; line-height: 1.6; }

.aviso-banner {
  position: sticky;
  top: 0;
  z-index: 200;
  background: var(--gold);
  color: var(--ink);
  font-weight: 700;
  font-size: 0.92rem;
  text-align: center;
  padding: 0.7rem 1rem;
}
