/* Landing "OVO Academy" (home pública) — estilo propio, independiente de la
   plataforma (tokens.css/app.css NO se usan aquí). Mismo lenguaje visual que
   las landings de curso (wrap, section, eyebrow, card, btn-cta) pero con
   acento NEUTRO: esta página es de la marca, no de un curso. El color solo
   aparece en las cards de programa (--card-acc por tarjeta). */
:root {
  --acc: #0f172a;
  --acc-soft: #f1f5f9;
  --acc-2: #1e293b;
  --s-50: #f8fafc; --s-100: #f1f5f9; --s-200: #e2e8f0; --s-300: #cbd5e1;
  --s-400: #94a3b8; --s-500: #64748b; --s-600: #475569; --s-700: #334155;
  --s-800: #1e293b; --s-900: #0f172a;
  --max-w: 1080px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  color: var(--s-800);
  background: #fff;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
h1, h2, h3 { color: var(--s-900); letter-spacing: -0.02em; line-height: 1.15; margin: 0 0 0.75rem; }
h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); font-weight: 800; }
h3 { font-size: 1.25rem; font-weight: 700; }
p { margin: 0 0 1rem; color: var(--s-700); }

.wrap { max-width: var(--max-w); margin: 0 auto; padding: 0 1.5rem; }
.section { padding: 5rem 0; }
.section.alt { background: var(--s-50); }
.section-head { max-width: 760px; margin-bottom: 2.5rem; }
.section-head p { font-size: 1.05rem; color: var(--s-600); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--s-600); font-weight: 700; background: var(--acc-soft);
  padding: 0.4rem 0.85rem; border-radius: 999px; margin-bottom: 1rem;
}
.eyebrow .dot { width: 6px; height: 6px; border-radius: 999px; background: var(--acc); }

.hl {
  color: var(--s-900); background: var(--acc-soft);
  padding: 0 0.4rem 0.15rem; border-radius: 0.6rem;
  display: inline-block; transform: rotate(-1.5deg);
}

.card {
  background: #fff; border: 1px solid var(--s-200); border-radius: 18px;
  padding: 1.75rem; box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 16px 36px rgba(15, 23, 42, 0.10); }

/* CTA */
.btn-cta {
  display: inline-flex; align-items: center; gap: 0.6rem;
  background: var(--acc); color: #fff; text-decoration: none;
  font-weight: 700; font-size: 1.05rem;
  padding: 1rem 2rem; border-radius: 999px;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.25);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.btn-cta:hover {
  background: var(--acc-2); transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.32);
}
.btn-cta.outline {
  background: transparent; color: var(--s-800);
  border: 1.5px solid var(--s-300); box-shadow: none;
}
.btn-cta.outline:hover {
  background: var(--s-50); border-color: var(--s-400); box-shadow: none;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .card, .btn-cta { transition: none; }
  .card:hover, .btn-cta:hover { transform: none; }
}

.section[id] { scroll-margin-top: 5rem; }

/* ─── Header ───────────────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(255, 255, 255, 0.9); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--s-200);
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 0.9rem; padding-bottom: 0.9rem;
}
.site-brand { display: flex; align-items: center; gap: 0.6rem; text-decoration: none; }
.site-brand img { height: 26px; }
.site-brand span { font-weight: 800; color: var(--s-900); font-size: 1rem; }
.site-header .btn-cta { padding: 0.6rem 1.35rem; font-size: 0.9rem; }

/* ─── Hero ─────────────────────────────────────────────────── */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(circle at 15% 0%, rgba(15, 23, 42, 0.06) 0%, transparent 45%),
    radial-gradient(circle at 100% 100%, rgba(15, 23, 42, 0.05) 0%, transparent 50%),
    linear-gradient(135deg, #fff 0%, var(--s-50) 100%);
}
.hero .wrap {
  max-width: 760px; text-align: center;
  padding-top: 5rem; padding-bottom: 4.5rem;
}
.hero h1 { font-size: clamp(2.25rem, 5vw, 3.5rem); font-weight: 800; margin-bottom: 1rem; }
.hero-sub {
  font-size: clamp(1.05rem, 2vw, 1.2rem); color: var(--s-600); font-weight: 500;
  max-width: 620px; margin: 0 auto 2.25rem;
}
.hero-ctas { display: flex; align-items: center; justify-content: center; gap: 1rem; flex-wrap: wrap; }
@media (max-width: 760px) {
  .hero .wrap { padding-top: 3rem; padding-bottom: 3rem; }
  .section { padding: 3.5rem 0; }
}

/* ─── Programas ────────────────────────────────────────────── */
.programas-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.programa-card {
  overflow: hidden; padding: 0; display: flex; flex-direction: column;
}
.programa-thumb { aspect-ratio: 16 / 9; overflow: hidden; }
.programa-thumb img { width: 100%; height: 100%; object-fit: cover; }
.programa-thumb-fallback {
  aspect-ratio: 16 / 9; display: flex; align-items: center; justify-content: center;
  background: var(--card-acc);
}
.programa-thumb-fallback img {
  height: 32px; width: auto; opacity: 0.9;
  filter: brightness(0) invert(1);
}
.programa-body { padding: 1.5rem; display: flex; flex-direction: column; flex: 1; }
.programa-body h3 { color: var(--card-acc); }
.programa-body p { font-size: 0.95rem; color: var(--s-600); flex: 1; }
.programa-link {
  display: inline-flex; align-items: center; gap: 0.4rem;
  color: var(--card-acc); font-weight: 700; text-decoration: none; font-size: 0.92rem;
}
.programa-link:hover { text-decoration: underline; }
.programas-vacio { color: var(--s-500); text-align: center; }
@media (max-width: 760px) {
  .programas-grid { grid-template-columns: 1fr; }
}

/* ─── Cómo funciona ────────────────────────────────────────── */
.pasos-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.paso-card .paso-num {
  font-size: 0.8rem; font-weight: 800; color: var(--s-500);
  letter-spacing: 0.15em; margin-bottom: 0.5rem;
}
.paso-card p { margin: 0; font-size: 0.92rem; color: var(--s-600); }
@media (max-width: 760px) {
  .pasos-grid { grid-template-columns: 1fr; }
}

/* ─── Quiénes somos ────────────────────────────────────────── */
.quienes p { max-width: 720px; }

/* ─── CTA final ────────────────────────────────────────────── */
.cta-final { text-align: center;
  background:
    radial-gradient(circle at 12% 0%, rgba(15, 23, 42, 0.05) 0%, transparent 45%),
    linear-gradient(135deg, #fff 0%, var(--s-50) 100%);
}
.cta-final p { max-width: 480px; margin: 0 auto 2rem; }
.cta-final-secundario {
  display: block; margin-top: 1.25rem; font-size: 0.9rem;
  color: var(--s-500); text-decoration: underline; text-underline-offset: 2px;
}
