/* =====================================================================
   ai-capability-model.css · Página /ai-capability-model
   Reutiliza los tokens y componentes globales de styles.css
   (nav, btn, hero__aurora, eyebrow, section, wrap, mono, pull, link,
   form, contact, footer). Aquí sólo van los componentes propios:
   hero de programa, tarjetas de problema, los 4 dominios, la línea de
   fases, la banda de resultados y las integraciones.
   ===================================================================== */

/* "IA-Thon" nunca debe partirse en dos líneas por el guion */
.acm-nb { white-space: nowrap; }

/* ---------- HERO ---------- */
.acm-hero {
  position: relative;
  background: var(--primary-deep);
  color: #fff;
  overflow: hidden;
  padding: clamp(120px, 16vh, 200px) 0 clamp(64px, 9vh, 104px);
}
.acm-hero__inner { position: relative; z-index: 2; max-width: 940px; }
.acm-hero__title {
  font-family: 'Inter Tight', sans-serif;
  font-weight: 800;
  font-size: clamp(42px, 7vw, 84px);
  line-height: 1.02;
  letter-spacing: -0.03em;
  margin: 18px 0 0;
}
.acm-hero__title .w { display: inline-block; margin-right: .24em; }
.acm-accent { color: var(--accent); }
.acm-hero__sub {
  margin: 24px 0 0;
  max-width: 62ch;
  font-size: clamp(16px, 1.6vw, 20px);
  line-height: 1.55;
  color: rgba(255,255,255,.78);
}
.acm-hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.acm-hero .btn--ghost { color: #fff; border-color: rgba(255,255,255,.4); }
.acm-hero .btn--ghost:hover { background: #fff; color: var(--primary-deep); }

.acm-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(24px, 4vw, 56px);
  margin-top: clamp(40px, 6vw, 64px);
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,.14);
}
.acm-hero__metaItem { display: flex; flex-direction: column; gap: 4px; max-width: 22ch; }
.acm-hero__metaItem .mono {
  font-family: 'Inter Tight', sans-serif;
  font-weight: 700;
  font-size: clamp(26px, 3vw, 38px);
  letter-spacing: -0.03em;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
}
.acm-hero__metaItem span:last-child { font-size: 14px; color: rgba(255,255,255,.66); line-height: 1.4; }

/* ---------- 01 · EL PROBLEMA ---------- */
.acm-problem { background: var(--surface); }
.acm-facts {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.acm-fact {
  padding: 34px 30px 30px;
  border: 1px solid var(--divider);
  border-radius: var(--radius);
  background: var(--surface);
  transition: border-color var(--t-mid) var(--ease), transform var(--t-mid) var(--ease);
}
.acm-fact:hover { border-color: var(--accent); transform: translateY(-3px); }
.acm-fact__num {
  display: block;
  font-family: 'Inter Tight', sans-serif;
  font-weight: 700;
  font-size: clamp(46px, 5vw, 64px);
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
  margin-bottom: 18px;
}
.acm-fact__num--word { font-size: clamp(26px, 2.6vw, 34px); letter-spacing: -0.02em; line-height: 1.15; }
.acm-fact p { margin: 0; color: var(--ink-soft); font-size: 15.5px; line-height: 1.55; }
.acm-fact strong { color: var(--ink); font-weight: 600; }
@media (max-width: 960px) { .acm-facts { grid-template-columns: 1fr; gap: 18px; } }

/* ---------- 02 · EL MODELO (4 dominios) ---------- */
.acm-model { background: var(--surface-alt); }
.acm-domains {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.acm-domain {
  position: relative;
  padding: 36px 32px 32px;
  background: var(--surface);
  border: 1px solid var(--divider);
  border-radius: var(--radius);
  transition: border-color var(--t-mid) var(--ease), box-shadow var(--t-mid) var(--ease);
}
.acm-domain:hover { border-color: var(--accent); box-shadow: 0 14px 40px rgba(106,0,250,.10); }
.acm-domain__head { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.acm-domain__num {
  flex: none;
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--accent);
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 14px;
  font-weight: 500;
}
.acm-domain h3 {
  font-family: 'Inter Tight', sans-serif;
  font-size: 21px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0;
  line-height: 1.2;
}
.acm-domain__tag {
  display: block;
  font-size: 12.5px;
  color: var(--ink-soft);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 3px;
  font-weight: 500;
}
.acm-domain p { margin: 0 0 18px; color: var(--ink-soft); font-size: 15.5px; line-height: 1.6; }
.acm-domain ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-size: 14.5px;
  color: var(--ink);
}
.acm-domain ul li { position: relative; padding-left: 16px; line-height: 1.45; }
.acm-domain ul li::before {
  content: '';
  position: absolute; left: 0; top: .62em;
  width: 9px; height: 1px; background: var(--accent);
}
@media (max-width: 880px) { .acm-domains { grid-template-columns: 1fr; } }

/* ---------- 03 · CÓMO FUNCIONA (fases) ---------- */
.acm-how { background: var(--surface); }
.acm-phases {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--divider);
}
.acm-phase {
  position: relative;
  padding: 34px 26px 28px 0;
  padding-right: clamp(16px, 2vw, 32px);
}
.acm-phase::before {
  content: '';
  position: absolute;
  top: -1px; left: 0;
  width: 100%;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t-slow) var(--ease);
}
.acm-phase.is-in::before { transform: scaleX(1); }
.acm-phase__k { display: flex; align-items: baseline; gap: 10px; margin-bottom: 14px; }
.acm-phase__num {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 13px;
  color: var(--accent);
  font-weight: 500;
}
.acm-phase__when { font-size: 12.5px; color: var(--ink-soft); letter-spacing: 0.04em; text-transform: uppercase; }
.acm-phase h3 {
  font-family: 'Inter Tight', sans-serif;
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 10px;
  line-height: 1.22;
}
.acm-phase p { margin: 0; font-size: 14.5px; color: var(--ink-soft); line-height: 1.55; }
@media (max-width: 980px) { .acm-phases { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .acm-phases { grid-template-columns: 1fr; } }

/* ---------- 04 · RESULTADOS ---------- */
.acm-results {
  background: var(--primary-deep);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.acm-results .section__title { color: #fff; }
.acm-results .eyebrow { color: rgba(255,255,255,.6); }
.acm-results .section__lead { color: rgba(255,255,255,.7); }
.acm-results__kicker {
  font-size: 12.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 26px;
}
.acm-stats {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--radius);
  overflow: hidden;
}
.acm-stat { background: var(--primary-deep); padding: 34px 26px 30px; }
.acm-stat__v {
  display: block;
  font-family: 'Inter Tight', sans-serif;
  font-weight: 700;
  font-size: clamp(40px, 4.4vw, 58px);
  line-height: 1;
  letter-spacing: -0.04em;
  color: #fff;
  font-variant-numeric: tabular-nums;
}
.acm-stat--muted .acm-stat__v { color: rgba(255,255,255,.42); }
.acm-stat small { display: block; margin-top: 14px; font-size: 14px; color: rgba(255,255,255,.68); line-height: 1.45; }
.acm-results__note {
  margin: 30px 0 0;
  font-size: 14.5px;
  color: rgba(255,255,255,.6);
  max-width: 72ch;
  line-height: 1.6;
}
@media (max-width: 980px) { .acm-stats { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .acm-stats { grid-template-columns: 1fr; } }

/* ---------- 05 · SE INTEGRA CON ---------- */
.acm-integra { background: var(--surface-alt); }
.acm-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--divider);
  border: 1px solid var(--divider);
  border-radius: var(--radius);
  overflow: hidden;
}
.acm-link {
  background: var(--surface);
  padding: 32px 30px;
  transition: background var(--t-mid) var(--ease);
}
.acm-link:hover { background: var(--surface); }
.acm-link h3 {
  font-family: 'Inter Tight', sans-serif;
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 8px;
}
.acm-link p { margin: 0 0 16px; font-size: 15px; color: var(--ink-soft); line-height: 1.55; max-width: 46ch; }
@media (max-width: 760px) { .acm-links { grid-template-columns: 1fr; } }

/* ---------- CIERRE ---------- */
.acm-close { background: var(--primary); }

/* ---------- NOTA LEGAL (marcas de terceros) ---------- */
.acm-legal {
  margin: 48px 0 0;
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,.08);
  color: rgba(255,255,255,.45);
  font-size: 12px;
  line-height: 1.6;
  max-width: 92ch;
}
