/* ============================================================
   CAPACITAMOS.IA — Sistema de diseño v2 (Abril 2026)
   ============================================================ */

:root {
  --navy: #0B1929;
  --navy-mid: #162840;
  --navy-light: #1E3A52;
  --amber: #dc6600;
  --amber-glow: #F07A1A;
  --teal: #0585a6;
  --teal-glow: #0AA3C9;
  --white: #F5F0E8;
  --gray: rgba(245, 240, 232, 0.45);
  --border: rgba(255, 255, 255, 0.08);

  --light-bg: #F5F0E8;
  --light-text: #1E3A52;
  --light-h: #0B1929;
  --light-border: rgba(11, 25, 41, 0.08);

  --ff-serif: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --ff-sans: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --container: 1200px;
  --radius: 12px;
  --radius-sm: 10px;

  --t-fast: 0.2s ease;
  --t-med: 0.25s ease;
}

/* ---------- RESET ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--ff-sans);
  font-weight: 400;
  font-size: 15px;
  line-height: 1.6;
  color: var(--white);
  background: var(--navy);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
button { font: inherit; cursor: pointer; border: 0; background: transparent; color: inherit; }

/* ---------- TYPO ---------- */
h1, h2, h3 { font-family: var(--ff-serif); font-weight: 700; line-height: 1.15; margin: 0; }
h1 { font-size: clamp(36px, 5vw, 56px); }
h2 { font-size: clamp(28px, 3.4vw, 40px); letter-spacing: -0.01em; }
h3 { font-family: var(--ff-sans); font-weight: 500; font-size: 17px; margin: 0; line-height: 1.35; }

em { font-style: normal; color: var(--amber); font-family: inherit; font-weight: 700; }
strong { font-weight: 700; }

p { margin: 0 0 0.9em; }

/* ---------- LAYOUT ---------- */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
  width: 100%;
}

.section {
  position: relative;
  padding: 80px 0;
}

/* Secciones oscuras con dot-grid ámbar sutil */
.section--dark {
  background: var(--navy);
  color: var(--white);
}
.section--dark::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(220, 102, 0, 0.06) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
}
.section--dark > * { position: relative; z-index: 1; }

/* Divisor decorativo entre secciones oscuras */
.section--dark + .section--dark { border-top: 1px solid transparent; }
.section--dark + .section--dark::after,
.section--light + .section--dark {}
.section--dark + .section--light::before { display: none; }

/* Línea decorativa 1px entre secciones (amber → transparent) */
.section--light {
  background: var(--light-bg);
  color: var(--light-text);
}
.section--light h2, .section--light h3 { color: var(--light-h); }
.section--light em { color: var(--amber); }
.section--light .section__sub { color: rgba(30, 58, 82, 0.75); }

.section__head { max-width: 820px; margin: 0 auto 56px; text-align: center; }
.section__head h2 em { font-style: normal; }
.section__sub { margin-top: 16px; font-size: 16px; color: rgba(245, 240, 232, 0.75); }
.section--light .section__sub { color: rgba(30, 58, 82, 0.72); }

/* ---------- NAV ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(11, 25, 41, 0.85);
  border-bottom: 1px solid var(--border);
  transition: backdrop-filter var(--t-fast), background var(--t-fast);
}
.nav.nav--scrolled {
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  background: rgba(11, 25, 41, 0.7);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.nav__logo { height: 42px; width: auto; }
.nav__links {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 14px;
}
.nav__links a { color: var(--white); transition: color var(--t-fast); }
.nav__links a:hover { color: var(--amber); }
.nav__cta { color: var(--amber) !important; }

.nav__toggle { display: none; width: 40px; height: 40px; flex-direction: column; gap: 5px; padding: 0; justify-content: center; align-items: center; }
.nav__toggle span { display: block; width: 22px; height: 2px; background: var(--white); transition: transform var(--t-fast), opacity var(--t-fast); }
.nav--open .nav__toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav--open .nav__toggle span:nth-child(2) { opacity: 0; }
.nav--open .nav__toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  font-family: var(--ff-sans);
  font-weight: 500;
  font-size: 15px;
  border-radius: 10px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all var(--t-fast);
  white-space: nowrap;
  line-height: 1;
}
.btn--sm { padding: 10px 18px; font-size: 13px; }
.btn--xl { padding: 18px 40px; font-size: 16px; }

.btn--primary {
  background: var(--amber);
  color: var(--navy);
  border-color: var(--amber);
}
.btn--primary:hover {
  background: linear-gradient(90deg, var(--amber), var(--amber-glow));
  box-shadow: 0 4px 20px rgba(220, 102, 0, 0.35);
}
.btn--primary:active { transform: scale(0.97); }

.btn--outline {
  background: transparent;
  color: var(--amber);
  border-color: rgba(220, 102, 0, 0.5);
}
.btn--outline:hover {
  border-color: var(--amber);
  background: rgba(220, 102, 0, 0.08);
}

.btn--ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(245, 240, 232, 0.3);
}
.btn--ghost:hover {
  border-color: var(--amber);
  color: var(--amber);
}

.btn--teal {
  background: var(--teal);
  color: var(--white);
  border-color: var(--teal);
}
.btn--teal:hover {
  background: linear-gradient(90deg, var(--teal), var(--teal-glow));
  box-shadow: 0 4px 20px rgba(5, 133, 166, 0.35);
}
.btn--teal:active { transform: scale(0.97); }

/* ---------- PILLS ---------- */
.pill {
  display: inline-block;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid transparent;
}
.pill--amber {
  color: var(--amber);
  background: rgba(220, 102, 0, 0.1);
  border-color: rgba(220, 102, 0, 0.25);
}
.pill--teal {
  color: var(--teal);
  background: rgba(5, 133, 166, 0.1);
  border-color: rgba(5, 133, 166, 0.25);
}

/* ---------- CARDS ---------- */
.card {
  background: var(--navy-mid);
  border: 0.5px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: all var(--t-med);
  position: relative;
}
.card:hover {
  border-color: rgba(220, 102, 0, 0.3);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  transform: translateY(-3px);
}
.card h3 { margin-bottom: 8px; color: var(--white); }
.card p { color: rgba(245, 240, 232, 0.78); margin: 0; }

.card--light {
  background: #FFFFFF;
  border: 1px solid var(--light-border);
}
.card--light h3 { color: var(--light-h); }
.card--light p { color: var(--light-text); }
.card--light:hover {
  border-color: rgba(220, 102, 0, 0.45);
  box-shadow: 0 8px 32px rgba(11, 25, 41, 0.08);
}
.card__icon { font-size: 28px; margin-bottom: 14px; }

.card--mirror { border-left: 2px solid var(--amber); }
.card--mirror .quote { font-family: var(--ff-serif); font-style: normal; font-size: 17px; color: var(--white); line-height: 1.45; margin-bottom: 14px; }
.card--mirror .profile { font-size: 12px; color: var(--gray); text-transform: uppercase; letter-spacing: 0.5px; margin: 0; }

/* ---------- GRIDS ---------- */
.grid { display: grid; gap: 20px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }

/* ============================================================
   NAV – styles that need to apply globally above
   ============================================================ */

/* ============================================================
   S1 · HERO
   ============================================================ */
.hero {
  position: relative;
  overflow: hidden;
  padding: 0;
}
.hero__bg {
  position: absolute;
  inset: 0;
  background-image: url("./public/images/hero.jpg");
  background-size: cover;
  background-position: center;
  z-index: 0;
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background: rgba(11, 25, 41, 0.35);
  z-index: 1;
}
.hero__gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(11, 25, 41, 0.85) 40%, rgba(11, 25, 41, 0.2) 100%);
  z-index: 2;
}
.hero__inner {
  position: relative;
  z-index: 3;
  display: block;
  padding-top: 112px;
  padding-bottom: 128px;
  min-height: 560px;
}
.hero__copy { max-width: 720px; }
.hero__title {
  margin-top: 22px;
  margin-bottom: 24px;
  color: var(--white);
}
.hero__title em {
  display: inline-block;
  font-style: normal;
  background: linear-gradient(90deg, var(--amber), var(--amber-glow));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.text-gradient {
  background: linear-gradient(90deg, var(--amber), var(--amber-glow));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero__subtitle {
  font-size: 17px;
  line-height: 1.6;
  color: rgba(245, 240, 232, 0.85);
  margin-bottom: 32px;
  max-width: 520px;
}
.hero__ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* Stats bar */
.stats-bar {
  position: relative;
  z-index: 3;
  background: rgba(11, 25, 41, 0.6);
  border-top: 0.5px solid var(--border);
  border-bottom: 0.5px solid var(--border);
}
.stats-bar__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding-top: 24px;
  padding-bottom: 24px;
  gap: 0;
}
.stats-bar__item {
  padding: 8px 24px;
  border-right: 1px solid var(--border);
}
.stats-bar__item:last-child { border-right: 0; }
.stats-bar__value {
  font-family: var(--ff-serif);
  font-weight: 700;
  font-size: 22px;
  color: var(--amber);
  margin-bottom: 4px;
  line-height: 1.1;
}
.stats-bar__label {
  font-size: 12px;
  color: rgba(245, 240, 232, 0.6);
  line-height: 1.4;
}

/* ============================================================
   S3 Espejo — uses .card--mirror above
   ============================================================ */

/* ============================================================
   S4 · RUTA
   ============================================================ */
.route {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 28px;
  align-items: stretch;
  margin-bottom: 48px;
}
.route__step {
  background: #FFFFFF;
  border: 1px solid var(--light-border);
  border-radius: var(--radius);
  padding: 32px;
  transition: all var(--t-med);
}
.route__step:hover {
  border-color: rgba(220, 102, 0, 0.45);
  box-shadow: 0 8px 32px rgba(11, 25, 41, 0.08);
  transform: translateY(-3px);
}
.route__step h3 {
  font-family: var(--ff-serif);
  font-size: 22px;
  font-weight: 700;
  color: var(--light-h);
  margin: 8px 0 16px;
}
.step-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--amber);
  background: rgba(220, 102, 0, 0.1);
  border: 1px solid rgba(220, 102, 0, 0.25);
  padding: 5px 10px;
  border-radius: 999px;
}
.step-tag--teal {
  color: var(--teal);
  background: rgba(5, 133, 166, 0.1);
  border-color: rgba(5, 133, 166, 0.3);
}
.price {
  font-family: var(--ff-serif);
  font-weight: 700;
  font-size: 32px;
  color: var(--amber);
  line-height: 1;
  margin-bottom: 18px;
}
.price span {
  font-family: var(--ff-sans);
  font-size: 13px;
  font-weight: 500;
  color: rgba(30, 58, 82, 0.6);
  letter-spacing: 0.5px;
}
.price--teal { color: var(--teal); }
.price--big { font-size: 40px; margin: 20px 0 28px; }
.price [data-precio],
.pricing-block__price [data-precio],
.hero-detail__price [data-precio],
.membership-block__price [data-precio] {
  font: inherit;
  color: inherit;
  margin: 0;
  padding: 0;
}

.bullets li {
  padding: 8px 0;
  padding-left: 22px;
  position: relative;
  font-size: 15px;
  color: var(--light-text);
  border-bottom: 1px solid rgba(11, 25, 41, 0.06);
}
.bullets li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--amber);
  font-weight: 700;
}
.bullets li:last-child { border-bottom: 0; }
.bullets--priced li {
  padding: 0;
  padding-left: 0;
  border-bottom: 1px solid rgba(11, 25, 41, 0.06);
}
.bullets--priced li::before { content: none; }
.bullets--priced li:last-child { border-bottom: 0; }
.bullets--priced a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0 12px 22px;
  position: relative;
  color: var(--light-text);
  transition: color var(--t-fast);
}
.bullets--priced a::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--amber);
  font-weight: 700;
}
.bullets--priced a span {
  color: var(--amber);
  font-weight: 700;
  font-size: 16px;
  transition: color var(--t-fast);
}
.bullets--priced a:hover { color: var(--amber); }
.bullets--priced a:hover strong { color: var(--amber); }
.route__note {
  margin-top: 18px;
  font-size: 13px;
  color: rgba(30, 58, 82, 0.65);
}
.route__cta { margin-top: 14px; }

.route__arrow {
  font-family: var(--ff-serif);
  font-size: 34px;
  font-weight: 700;
  color: var(--amber);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 10px;
}

.route__divider {
  text-align: center;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--amber);
  font-weight: 500;
  padding: 30px 0;
  position: relative;
}
.route__divider::before,
.route__divider::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 22%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(220, 102, 0, 0.6), transparent);
}
.route__divider::before { left: 8%; }
.route__divider::after { right: 8%; }
.route__divider span {
  display: block;
  font-size: 11px;
  color: rgba(30, 58, 82, 0.5);
  margin-top: 4px;
  font-weight: 400;
}

.route__forks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.route__fork {
  background: #FFFFFF;
  border-radius: var(--radius);
  padding: 32px;
  border: 1px solid var(--light-border);
  transition: all var(--t-med);
}
.route__fork h3 {
  font-family: var(--ff-serif);
  font-size: 22px;
  font-weight: 700;
  color: var(--light-h);
  margin: 10px 0 14px;
}
.route__fork--a { border-left: 2px solid var(--amber); }
.route__fork--b {
  border-left: 2px solid var(--teal);
  background: linear-gradient(180deg, rgba(5, 133, 166, 0.05), rgba(5, 133, 166, 0.01));
}
.route__fork:hover { transform: translateY(-3px); box-shadow: 0 8px 32px rgba(11, 25, 41, 0.08); }

/* ============================================================
   S5 · NEXUS
   ============================================================ */
.section--nexus {
  border-top: 1px solid var(--teal);
  background:
    linear-gradient(180deg, rgba(5, 133, 166, 0.03), transparent 30%),
    var(--navy);
}
.nexus {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.nexus__copy h2 { margin: 18px 0 16px; }
.nexus__copy em { color: var(--teal); }

.builds {
  background: var(--navy-mid);
  border: 0.5px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 28px;
}
.builds li {
  padding: 18px 22px;
  border-bottom: 1px solid var(--border);
  border-left: 2px solid var(--teal);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.builds li:last-child { border-bottom: 0; }
.builds li strong {
  color: var(--white);
  font-family: var(--ff-sans);
  font-weight: 500;
  font-size: 15px;
}
.builds li span {
  color: var(--gray);
  font-size: 13px;
  text-align: right;
}

.quote-block {
  background: var(--navy-mid);
  padding: 24px 28px;
  border-radius: var(--radius);
  margin: 0;
  font-family: var(--ff-serif);
  font-style: normal;
  color: rgba(245, 240, 232, 0.9);
  font-size: 16px;
  line-height: 1.5;
}
.quote-block--teal { border-left: 2px solid var(--teal); }
.quote-block footer {
  font-family: var(--ff-sans);
  font-style: normal;
  font-size: 12px;
  color: var(--gray);
  margin-top: 14px;
  letter-spacing: 0.5px;
}

/* ============================================================
   S6 · COMPARATIVA
   ============================================================ */
.compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.compare__col {
  background: #FFFFFF;
  border-radius: var(--radius);
  padding: 28px 30px;
  border: 1px solid var(--light-border);
}
.compare__title {
  font-family: var(--ff-sans);
  font-weight: 500;
  font-size: 17px;
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--light-border);
}
.compare__title--bad { color: #B04A3A; }
.compare__title--good { color: #2F8F6F; }
.compare__list li {
  padding: 12px 0 12px 16px;
  border-bottom: 1px solid rgba(11, 25, 41, 0.05);
  font-size: 15px;
  color: var(--light-text);
}
.compare__list li:last-child { border-bottom: 0; }
.compare__list--bad li { border-left: 2px solid rgba(176, 74, 58, 0.35); margin-bottom: 6px; }
.compare__list--good li { border-left: 2px solid var(--teal); margin-bottom: 6px; }

/* ============================================================
   S7 · DIFERENCIADORES
   ============================================================ */
.diffs .diff { overflow: hidden; }
.diff__num {
  position: absolute;
  top: 8px;
  right: 14px;
  font-family: var(--ff-serif);
  font-weight: 700;
  font-size: 96px;
  color: rgba(220, 102, 0, 0.15);
  line-height: 1;
  pointer-events: none;
}

/* ============================================================
   S8 · METODOLOGÍA
   ============================================================ */
.phases .phase h3 {
  font-family: var(--ff-serif);
  font-size: 20px;
  font-weight: 700;
  color: var(--light-h);
  margin: 10px 0 8px;
}
.phase__num {
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--amber);
}

/* ============================================================
   S9 · TESTIMONIOS
   ============================================================ */
.testimonials .testimonial { transition: all var(--t-med); }
.testimonials .testimonial:hover { border-top: 2px solid var(--amber); padding-top: 26px; }
.testimonial__result {
  font-family: var(--ff-serif);
  font-weight: 700;
  font-size: 32px;
  color: var(--amber);
  margin-bottom: 14px;
  line-height: 1.1;
}
.testimonial__result--sm { font-size: 22px; }
.testimonial .quote {
  font-family: var(--ff-serif);
  font-style: normal;
  font-size: 16px;
  color: rgba(245, 240, 232, 0.9);
  line-height: 1.45;
  margin-bottom: 14px;
}
.testimonial .profile {
  font-size: 12px;
  color: var(--gray);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin: 0;
}

/* ============================================================
   S10 · VISIÓN
   ============================================================ */
.vision__inner {
  text-align: center;
  max-width: 760px;
}
.vision h2 { margin-bottom: 32px; }
.vision__quote {
  font-family: var(--ff-serif);
  font-style: normal;
  font-size: 18px;
  line-height: 1.6;
  color: var(--light-text);
  max-width: 680px;
  margin: 0 auto;
}

/* ============================================================
   S11 · FAQ
   ============================================================ */
.faq {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.faq__item {
  background: var(--navy-mid);
  border: 0.5px solid var(--border);
  border-radius: var(--radius);
  padding: 4px 24px;
  transition: border-color var(--t-fast);
}
.faq__item[open] { border-color: rgba(220, 102, 0, 0.3); }
.faq__item summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 32px 18px 0;
  font-weight: 500;
  font-size: 15px;
  color: var(--white);
  position: relative;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "+";
  font-family: var(--ff-serif);
  font-weight: 700;
  font-size: 22px;
  color: var(--amber);
  transition: transform var(--t-fast);
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  line-height: 1;
}
.faq__item[open] summary::after { content: "−"; }
.faq__item p {
  padding: 0 0 20px;
  font-size: 14px;
  color: rgba(245, 240, 232, 0.75);
  line-height: 1.55;
}

/* ============================================================
   S12 · CTA FINAL
   ============================================================ */
.cta-final {
  background: linear-gradient(180deg, var(--navy), #050C15);
  text-align: center;
  padding: 100px 0 110px;
  position: relative;
}
.cta-final::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(220, 102, 0, 0.05) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
}
.cta-final__inner { position: relative; z-index: 1; max-width: 720px; }
.cta-final h2 { color: var(--white); }
.cta-final__sub { margin: 20px auto 44px; max-width: 600px; }
.cta-final__btn {
  padding: 18px 40px !important;
  font-size: 16px !important;
  box-shadow: 0 6px 24px rgba(220, 102, 0, 0.3);
}
.cta-final__btn:hover {
  box-shadow: 0 0 40px rgba(220, 102, 0, 0.4);
}
.cta-final__note {
  margin-top: 22px;
  font-size: 12px;
  letter-spacing: 0.5px;
  color: rgba(245, 240, 232, 0.5);
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--navy);
  border-top: 1px solid var(--border);
  padding: 44px 0;
}
.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.footer__brand img { height: 42px; width: auto; }
.footer__links { display: flex; gap: 24px; font-size: 14px; }
.footer__links a { color: rgba(245, 240, 232, 0.75); transition: color var(--t-fast); }
.footer__links a:hover { color: var(--amber); }
.footer__copy { font-size: 12px; color: var(--gray); margin: 0; }

/* ============================================================
   RESPONSIVE
   ============================================================ */

/* Tablet */
@media (max-width: 1024px) {
  .hero__inner { padding-top: 88px; padding-bottom: 96px; }

  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .nexus { grid-template-columns: 1fr; gap: 40px; }

  .route { grid-template-columns: 1fr; }
  .route__arrow { transform: rotate(90deg); padding: 8px 0; }
  .route__forks { grid-template-columns: 1fr; }

  .faq { grid-template-columns: 1fr; }
}

/* Mobile */
@media (max-width: 768px) {
  .container { padding: 0 20px; }
  .section { padding: 60px 0; }
  .section__head { margin-bottom: 40px; }

  h1 { font-size: 36px; }
  h2 { font-size: 28px; }

  .nav__links {
    position: fixed;
    top: 68px;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: calc(100vh - 68px);
    background-color: #0B1929 !important;
    z-index: 1000;
    border-top: 1px solid var(--border);
    flex-direction: column;
    align-items: stretch;
    padding: 24px 24px 40px;
    gap: 0;
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform var(--t-med);
  }
  .nav--open .nav__links { transform: translateX(0); }
  body.nav-locked { overflow: hidden; }
  .nav__links a {
    padding: 16px 0;
    border-bottom: 1px solid var(--border);
    font-size: 17px;
  }
  .nav__links a:last-child { border-bottom: 0; margin-top: 16px; text-align: center; }
  .nav__toggle { display: flex; }

  .hero__ctas { flex-direction: column; align-items: stretch; }
  .hero__ctas .btn { width: 100%; }
  .hero__inner { padding-top: 72px; padding-bottom: 80px; }

  .stats-bar__grid { grid-template-columns: repeat(2, 1fr); gap: 0; }
  .stats-bar__item { padding: 16px 14px; border-bottom: 1px solid var(--border); }
  .stats-bar__item:nth-child(1), .stats-bar__item:nth-child(2) { border-bottom: 1px solid var(--border); }
  .stats-bar__item:nth-child(2n) { border-right: 0; }
  .stats-bar__value { font-size: 18px; }

  .grid--3 { grid-template-columns: 1fr; }

  .compare { grid-template-columns: 1fr; }
  .builds li { flex-direction: column; align-items: flex-start; gap: 4px; }
  .builds li span { text-align: left; }

  .footer__inner { flex-direction: column; text-align: center; }
}

/* ============================================================
   DETAIL PAGES — patrones compartidos entre landings de detalle
   (Paso 1 Cimientos · IA Generativa · Excel · Word · Presentaciones)
   ============================================================ */

/* Hero de detalle: layout en 1 columna alineado a la izquierda,
   mismo tratamiento de imagen/overlay/gradient que el hero de la home */
.hero-detail { position: relative; overflow: hidden; padding: 0; }
.hero-detail__inner {
  position: relative;
  z-index: 3;
  padding-top: 112px;
  padding-bottom: 112px;
  max-width: 820px;
}
.hero-detail__inner .hero__title {
  margin-top: 22px;
  margin-bottom: 22px;
  color: var(--white);
}
.hero-detail__price {
  font-size: 15px;
  color: rgba(245, 240, 232, 0.82);
  margin: 24px 0 28px;
  letter-spacing: 0.2px;
}
.hero-detail__price strong {
  font-size: 22px;
  color: var(--amber);
  font-weight: 700;
  margin-right: 6px;
}

/* Mini stats en hero de detalle */
.mini-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 56px;
  padding-top: 32px;
  border-top: 0.5px solid var(--border);
}
.mini-stat__value {
  font-size: 36px;
  font-weight: 700;
  color: var(--amber);
  line-height: 1;
  margin-bottom: 10px;
}
.mini-stat__label {
  font-size: 13px;
  color: rgba(245, 240, 232, 0.72);
  line-height: 1.45;
}

/* Cards numeradas (logros / unidades) — número grande de fondo */
.numbered-grid .numbered { overflow: hidden; }
.numbered__num {
  position: absolute;
  top: 8px;
  right: 18px;
  font-weight: 700;
  font-size: 86px;
  color: rgba(220, 102, 0, 0.15);
  line-height: 1;
  pointer-events: none;
  letter-spacing: -0.02em;
}
.section--light .numbered__num { color: rgba(220, 102, 0, 0.18); }

/* Pricing block (S7 paso de detalle) */
.pricing-block {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}
.pricing-block__price {
  font-weight: 700;
  font-size: 64px;
  color: var(--amber);
  line-height: 1;
  margin: 8px 0 12px;
}
.pricing-block__price span {
  font-size: 18px;
  color: rgba(245, 240, 232, 0.6);
  font-weight: 500;
  margin-left: 6px;
}
.pricing-block__price-meta {
  font-size: 14px;
  color: rgba(245, 240, 232, 0.7);
  margin-bottom: 40px;
}

/* Lista de beneficios con check ámbar */
.benefits {
  text-align: left;
  display: grid;
  gap: 14px;
  margin: 0 0 40px;
}
.benefits li {
  background: var(--navy-mid);
  border: 0.5px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 22px 18px 56px;
  position: relative;
  font-size: 14.5px;
  line-height: 1.55;
  color: rgba(245, 240, 232, 0.85);
  transition: border-color var(--t-fast);
}
.benefits li:hover { border-color: rgba(220, 102, 0, 0.3); }
.benefits li::before {
  content: "✓";
  position: absolute;
  left: 22px;
  top: 16px;
  font-weight: 700;
  color: var(--amber);
  font-size: 18px;
  line-height: 1;
}
.benefits li strong { color: var(--white); display: block; margin-bottom: 4px; }

.pricing-block__ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
}

/* Testimonio destacado (S6 paso de detalle) */
.featured-testimonial {
  max-width: 820px;
  margin: 0 auto;
  background: #FFFFFF;
  border: 1px solid var(--light-border);
  border-left: 3px solid var(--amber);
  border-radius: var(--radius);
  padding: 36px 40px;
  box-shadow: 0 4px 24px rgba(11, 25, 41, 0.06);
}
.featured-testimonial__badge {
  display: inline-block;
  background: rgba(220, 102, 0, 0.1);
  color: var(--amber);
  border: 1px solid rgba(220, 102, 0, 0.25);
  border-radius: 999px;
  font-weight: 700;
  font-size: 14px;
  padding: 6px 14px;
  margin-bottom: 16px;
}
.featured-testimonial__lede {
  font-size: 18px;
  color: var(--light-h);
  font-weight: 500;
  margin-bottom: 18px;
}
.featured-testimonial__quote {
  margin: 0 0 22px;
  font-size: 16px;
  line-height: 1.6;
  color: var(--light-text);
}
.featured-testimonial__footer {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-top: 18px;
  border-top: 1px solid var(--light-border);
}
.featured-testimonial__author {
  font-weight: 600;
  color: var(--light-h);
  font-size: 14px;
  letter-spacing: 0.3px;
}
.featured-testimonial__meta {
  font-size: 12px;
  color: rgba(30, 58, 82, 0.6);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.completion-stat {
  text-align: center;
  margin: 32px auto 0;
  max-width: 640px;
  font-size: 14px;
  color: rgba(30, 58, 82, 0.78);
}
.completion-stat strong { color: var(--amber); font-weight: 700; }

/* Card de sesión gratuita (S8) */
.session-card {
  max-width: 720px;
  margin: 0 auto;
  background: #FFFFFF;
  border: 1px solid var(--light-border);
  border-radius: 16px;
  padding: 44px 48px;
  text-align: center;
  box-shadow: 0 4px 24px rgba(11, 25, 41, 0.06);
}
.session-card .pill { margin-bottom: 18px; }
.session-card h3 {
  font-size: 24px;
  font-weight: 700;
  color: var(--light-h);
  margin: 0 0 14px;
  font-family: var(--ff-sans);
}
.session-card p {
  font-size: 15px;
  color: var(--light-text);
  margin-bottom: 26px;
  line-height: 1.6;
}

/* Checkmarks horizontales (S10 CTA final) */
.checkmarks {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 22px 28px;
  margin: 28px 0 36px;
  padding: 0;
}
.checkmarks li {
  font-size: 13px;
  color: rgba(245, 240, 232, 0.78);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  letter-spacing: 0.3px;
}
.checkmarks li::before {
  content: "✓";
  color: var(--amber);
  font-weight: 700;
  font-size: 15px;
}

.cta-final__back {
  display: inline-block;
  margin-top: 22px;
  color: rgba(245, 240, 232, 0.7) !important;
  border-color: rgba(245, 240, 232, 0.2) !important;
}
.cta-final__back:hover {
  color: var(--amber) !important;
  border-color: var(--amber) !important;
}

/* Responsive — landings de detalle */
@media (max-width: 1024px) {
  .hero-detail__inner { padding-top: 88px; padding-bottom: 88px; }
  .mini-stats { grid-template-columns: repeat(3, 1fr); gap: 18px; }
  .mini-stat__value { font-size: 28px; }
}

@media (max-width: 768px) {
  .hero-detail__inner { padding-top: 72px; padding-bottom: 72px; }
  .mini-stats { grid-template-columns: 1fr; gap: 20px; padding-top: 24px; margin-top: 36px; }
  .mini-stat__value { font-size: 30px; }

  .pricing-block__price { font-size: 52px; }
  .pricing-block__ctas { flex-direction: column; align-items: stretch; }
  .pricing-block__ctas .btn { width: 100%; }

  .featured-testimonial { padding: 28px 24px; }
  .featured-testimonial__lede { font-size: 16px; }

  .session-card { padding: 32px 24px; }
  .session-card h3 { font-size: 20px; }

  .checkmarks { gap: 12px 18px; }
}

/* ============================================================
   HERO BACKGROUND OVERRIDES — imagen específica por landing
   ============================================================ */
.hero-detail--cimientos .hero__bg {
  background-image: url("./public/images/hero-paso-1-cimientos.jpg");
}
.hero-detail--excel .hero__bg {
  background-image: url("./public/images/hero-paso-2-excel-con-ia.jpg");
}
.hero-detail--ia-generativa .hero__bg {
  background-image: url("./public/images/hero-paso-2-ia-generativa.jpg");
}
.hero-detail--word .hero__bg {
  background-image: url("./public/images/hero-paso-2-word-con-ia.jpg");
}
.hero-detail--presentaciones .hero__bg {
  background-image: url("./public/images/hero-paso-2-presentaciones-con-ia.jpg");
}
.hero-detail--nexus .hero__bg {
  background-image: url("./public/images/hero-nexus.jpg");
}

/* ============================================================
   TOOLKIT — sub-bloque de herramientas (usado en IA Generativa S5)
   ============================================================ */
.toolkit {
  margin-top: 56px;
  background: rgba(255, 255, 255, 0.02);
  border: 0.5px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 40px;
}
.toolkit__title {
  font-size: 18px;
  font-weight: 600;
  color: var(--white);
  margin: 0 0 24px;
  text-align: center;
}
.toolkit__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}
.toolkit__group {
  padding: 14px 0;
}
.toolkit__cat {
  display: block;
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--amber);
  margin-bottom: 8px;
}
.toolkit__group p {
  font-size: 13px;
  color: rgba(245, 240, 232, 0.78);
  line-height: 1.55;
  margin: 0;
}

@media (max-width: 1024px) {
  .toolkit__grid { grid-template-columns: repeat(2, 1fr); gap: 18px; }
}
@media (max-width: 768px) {
  .toolkit { padding: 24px 22px; }
  .toolkit__grid { grid-template-columns: 1fr; gap: 14px; }
}

/* ============================================================
   NEXUS LANDING — patrones específicos (acento teal)
   ============================================================ */

/* Sección S4 conceptual "no es un curso, es una fábrica" */
.concept-grid .card {
  background: var(--navy-mid);
  border-left: 2px solid var(--teal);
}
.concept-grid .card h3 {
  color: var(--white);
  font-weight: 600;
  margin-bottom: 12px;
}

/* Acento teal en H2 (palabras "Nexus IA") */
.t-teal { color: var(--teal); }

/* Sección S6 — Vitrina con apertura destacada */
.vitrine-lede {
  max-width: 820px;
  margin: 0 auto 28px;
  padding: 22px 28px;
  background: rgba(5, 133, 166, 0.08);
  border-left: 3px solid var(--teal);
  border-radius: var(--radius);
  font-size: 16px;
  line-height: 1.6;
  color: rgba(245, 240, 232, 0.92);
}
.vitrine-close {
  max-width: 820px;
  margin: 36px auto 0;
  padding: 22px 28px;
  background: rgba(5, 133, 166, 0.05);
  border-left: 3px solid var(--teal);
  border-radius: var(--radius);
  font-size: 15px;
  line-height: 1.6;
  color: rgba(245, 240, 232, 0.85);
}

/* Vitrina cards con borde izquierdo teal permanente */
.vitrine-grid .card {
  border-left: 2px solid var(--teal);
}
.vitrine-grid .card h3 {
  color: var(--white);
  margin-bottom: 10px;
}

/* Sub-bloque membresía dentro del pricing block */
.membership-block {
  margin: 0 auto 36px;
  max-width: 580px;
  padding: 24px 28px;
  background: rgba(5, 133, 166, 0.08);
  border: 1px solid rgba(5, 133, 166, 0.25);
  border-radius: var(--radius);
  text-align: left;
}
.membership-block__divider {
  display: block;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 14px;
  text-align: center;
}
.membership-block__price {
  font-size: 22px;
  font-weight: 700;
  color: var(--teal);
  margin-bottom: 14px;
  text-align: center;
}
.membership-block__price span {
  font-size: 13px;
  color: rgba(245, 240, 232, 0.7);
  font-weight: 500;
  margin-left: 4px;
}
.membership-block ul {
  display: grid;
  gap: 8px;
  margin: 0 0 14px;
}
.membership-block li {
  position: relative;
  padding-left: 22px;
  font-size: 13.5px;
  color: rgba(245, 240, 232, 0.85);
  line-height: 1.5;
}
.membership-block li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--teal);
  font-weight: 700;
}
.membership-block__note {
  font-size: 12.5px;
  color: rgba(245, 240, 232, 0.65);
  margin: 0;
  text-align: center;
  line-height: 1.5;
}

/* ============================================================
   LEGAL PAGES — políticas y términos (texto largo, lectura cómoda)
   ============================================================ */
.legal-page {
  background: var(--light-bg);
  color: var(--light-text);
  padding: 80px 0 96px;
}
.legal-page__inner {
  max-width: 760px;
  margin: 0 auto;
}
.legal-page__back {
  display: inline-block;
  margin-bottom: 32px;
  font-size: 13px;
  font-weight: 500;
  color: var(--amber);
  letter-spacing: 0.3px;
  transition: color var(--t-fast);
}
.legal-page__back:hover { color: var(--amber-glow); text-decoration: underline; }
.legal-page h1 {
  color: var(--light-h);
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1.2;
  margin-bottom: 12px;
}
.legal-page__updated {
  font-size: 13px;
  color: rgba(30, 58, 82, 0.6);
  margin: 0 0 36px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--light-border);
  letter-spacing: 0.3px;
}
.legal-page h2 {
  color: var(--light-h);
  font-size: 22px;
  font-weight: 700;
  margin: 44px 0 16px;
  line-height: 1.3;
}
.legal-page h3 {
  color: var(--light-h);
  font-size: 17px;
  font-weight: 600;
  font-family: var(--ff-sans);
  margin: 28px 0 12px;
  line-height: 1.35;
}
.legal-page p {
  font-size: 15px;
  line-height: 1.75;
  color: var(--light-text);
  margin: 0 0 16px;
}
.legal-page ul, .legal-page ol {
  padding-left: 24px;
  margin: 0 0 20px;
}
.legal-page ul li, .legal-page ol li {
  font-size: 15px;
  line-height: 1.7;
  color: var(--light-text);
  margin-bottom: 12px;
}
.legal-page ul li { list-style: disc; }
.legal-page ol li { list-style: decimal; }
.legal-page ul li::marker, .legal-page ol li::marker { color: var(--amber); }
.legal-page strong { color: var(--light-h); font-weight: 700; }
.legal-page a { color: var(--amber); transition: color var(--t-fast); }
.legal-page a:hover { color: var(--amber-glow); text-decoration: underline; }
.legal-page hr {
  border: 0;
  border-top: 1px solid var(--light-border);
  margin: 32px 0;
}

@media (max-width: 768px) {
  .legal-page { padding: 56px 0 72px; }
  .legal-page h2 { font-size: 20px; margin-top: 36px; }
  .legal-page h3 { font-size: 16px; }
  .legal-page p, .legal-page li { font-size: 14.5px; }
}

/* ============================================================
   FOOTER LEGAL — sub-bloque inferior con links de políticas
   ============================================================ */
.footer__legal {
  margin-top: 24px;
  padding-top: 22px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px 12px;
  font-size: 12px;
  letter-spacing: 0.3px;
}
.footer__legal a {
  color: rgba(245, 240, 232, 0.55);
  transition: color var(--t-fast);
}
.footer__legal a:hover { color: var(--amber); }
.footer__legal span { color: rgba(245, 240, 232, 0.25); }

/* Reduce motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    transition: none !important;
    animation: none !important;
  }
  html { scroll-behavior: auto; }
}
