/* Bogas Training, web del producto. Familia Bogas (superficies casi negras) con el
   acento rosa de Training (BRAND-COLORS.md: #e0678f / #ec8aa8 / #c4536f). */
:root {
  --bg: #121014;
  --bg-2: #18151a;
  --line: #2b262d;
  --line-2: #3a3340;
  --ink: #f4eff2;
  --ink-2: #cfc6cc;
  --muted: #a89fa7;
  --accent: #e0678f;
  --accent-hi: #ec8aa8;
  --accent-lo: #c4536f;
  --on-accent: #1d0b12;
  --radius: 12px;
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --max: 1120px;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 17px; line-height: 1.55; -webkit-font-smoothing: antialiased;
}
a { color: var(--accent-hi); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
:focus-visible { outline: 2px solid var(--accent-hi); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { margin: 0; line-height: 1.12; letter-spacing: -0.02em; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* nav */
.nav { position: sticky; top: 0; z-index: 20; background: color-mix(in oklab, var(--bg) 88%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 700; letter-spacing: -0.01em; }
.brand:hover { text-decoration: none; }
.brand svg { width: 26px; height: 26px; display: block; }
.brand span b { color: var(--accent-hi); font-weight: 700; }
.nav nav { display: flex; align-items: center; gap: 22px; font-size: 15px; }
.nav nav a { color: var(--ink-2); }
.nav nav a:hover { color: var(--ink); text-decoration: none; }
.nav .lang { color: var(--muted); font-size: 13px; letter-spacing: 0.04em; }
@media (max-width: 720px) { .nav nav .hide-m { display: none; } }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 18px; border-radius: 999px; font-weight: 600; font-size: 15px; border: 1px solid transparent; transition: transform 160ms var(--ease-out), background-color 160ms var(--ease-out), border-color 160ms var(--ease-out); cursor: pointer; }
.btn:hover { text-decoration: none; }
.btn:active { transform: scale(0.97); }
.btn-primary { background: var(--accent); color: var(--on-accent); }
.btn-primary:hover { background: var(--accent-hi); }
.btn-ghost { color: var(--ink); border-color: var(--line-2); }
.btn-ghost:hover { border-color: var(--ink-2); }

/* hero */
.hero { padding: 96px 0 72px; border-bottom: 1px solid var(--line); }
.hero h1 { font-size: clamp(2.4rem, 6vw, 4.4rem); font-weight: 700; max-width: 16ch; }
.hero h1 em { font-style: normal; color: var(--accent-hi); }
.hero .sub { margin-top: 22px; max-width: 58ch; font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--ink-2); }
.hero .cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero .note { margin-top: 20px; color: var(--muted); font-size: 14px; }
@media (max-width: 720px) { .hero { padding: 64px 0 52px; } }

/* sections */
.section { padding: 80px 0; border-bottom: 1px solid var(--line); }
.section h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); font-weight: 700; max-width: 22ch; }
.section .lead { margin-top: 14px; max-width: 60ch; color: var(--ink-2); font-size: 1.08rem; }
@media (max-width: 720px) { .section { padding: 56px 0; } }

/* lista de capacidades: filas con linea, titulo a la izquierda, texto a la derecha */
.rows { margin-top: 44px; border-top: 1px solid var(--line); }
.row { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 24px 48px; padding: 30px 0; border-bottom: 1px solid var(--line); }
.row h3 { font-size: 1.35rem; font-weight: 650; }
.row h3 small { display: block; margin-top: 6px; font-size: 0.9rem; font-weight: 500; color: var(--accent-hi); letter-spacing: 0; }
.row p { color: var(--ink-2); max-width: 60ch; }
.row ul { margin: 14px 0 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.row li { font-size: 13.5px; color: var(--ink-2); border: 1px solid var(--line-2); border-radius: 999px; padding: 5px 11px; }
@media (max-width: 720px) { .row { grid-template-columns: 1fr; gap: 12px; padding: 24px 0; } }

/* pasos (es una secuencia de verdad, por eso llevan numero) */
.steps { margin-top: 44px; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.step { padding: 28px 26px 30px; background: var(--bg-2); border-right: 1px solid var(--line); }
.step:last-child { border-right: 0; }
.step .n { font-variant-numeric: tabular-nums; font-size: 13px; color: var(--accent-hi); font-weight: 600; }
.step h3 { margin-top: 10px; font-size: 1.25rem; font-weight: 650; }
.step p { margin-top: 10px; color: var(--ink-2); }
@media (max-width: 860px) { .step { border-right: 0; border-bottom: 1px solid var(--line); } .step:last-child { border-bottom: 0; } }

/* bloque de confianza (cuentas de Meta) */
.trust { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px 64px; align-items: start; }
.trust ul { margin: 22px 0 0; padding: 0; list-style: none; display: grid; gap: 14px; }
.trust li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; color: var(--ink-2); }
.trust li svg { width: 20px; height: 20px; margin-top: 3px; color: var(--accent-hi); flex: none; }
.trust .aside { border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 26px; background: var(--bg-2); }
.trust .aside h3 { font-size: 1.05rem; font-weight: 650; }
.trust .aside p { margin-top: 10px; color: var(--ink-2); font-size: 15px; }
.trust .aside p + p { margin-top: 12px; }
@media (max-width: 860px) { .trust { grid-template-columns: 1fr; } }

/* cierre */
.final { padding: 96px 0; text-align: left; }
.final h2 { font-size: clamp(1.9rem, 4vw, 3rem); }
.final .cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* footer */
footer { padding: 36px 0 48px; color: var(--muted); font-size: 14px; border-top: 1px solid var(--line); }
footer .cols { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 18px 32px; }
footer nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }
footer nav a { color: var(--ink-2); }
footer .legal { margin-top: 18px; }

/* entrada suave, solo transform/opacity y respetando reduced motion */
@media (prefers-reduced-motion: no-preference) {
  .hero > .wrap > * { animation: rise 520ms var(--ease-out) both; }
  .hero > .wrap > *:nth-child(2) { animation-delay: 60ms; }
  .hero > .wrap > *:nth-child(3) { animation-delay: 120ms; }
  .hero > .wrap > *:nth-child(4) { animation-delay: 180ms; }
  @keyframes rise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
}
