/* ============================================================
   OLOWS — Silvers (+50) · estilos de página
   Acento NARANJA, tono cálido y claro. Carga después de brand.css.
   ============================================================ */

body {
  background: #fffdf9;
}
.nav.scrolled {
  background: color-mix(in srgb, #fffdf9 84%, transparent) !important;
}
/* Con el menú mobile abierto el header debe ser opaco (anula el fondo
   semi-transparente de arriba para que no se transparente el contenido). */
.nav.nav__menu-open {
  background: #fffdf9 !important;
}
.eyebrow {
  color: var(--orange-600);
}
.eyebrow::before {
  background: var(--orange);
}

/* ===== Hero ===== */
.hero-sv {
  position: relative;
  overflow: hidden;
  background: radial-gradient(120% 90% at 80% -10%, #fff3e0 0%, #fffdf9 55%);
  /* Palabra resaltada del h1 en naranja de marca. */
  --accent-text: var(--orange);
}
/* Constelación de marca (assets/net.js). Base en brand.css; acá sólo el
   recorte: se desvanece hacia los bordes para no competir con el texto. */
.hero-sv .net {
  -webkit-mask-image: radial-gradient(125% 125% at 80% 18%, #000 30%, transparent 90%);
  mask-image: radial-gradient(125% 125% at 80% 18%, #000 30%, transparent 90%);
}
.hero-sv__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(30px, 5vw, 70px);
  align-items: center;
  padding-block: clamp(40px, 6vw, 84px) clamp(60px, 8vw, 108px);
  /* Sobre el canvas (.net, z-index 0): el contenido queda por encima incluso
     cuando .reveal.in resetea el transform (que disolvía su contexto de apilado). */
  position: relative;
  z-index: 1;
}
.hero-sv h1 {
  font-size: clamp(2.6rem, 5.4vw, 4.8rem);
  font-weight: 800;
  margin-top: 18px;
}
.hero-sv .lead {
  max-width: 34ch;
  margin-top: 22px;
}
.hero-cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 34px;
  align-items: center;
}

/* Hero visual: foto + tarjetas flotantes */
.hero-visual {
  position: relative;
}
.float-card {
  position: absolute;
  background: #fff;
  border-radius: var(--r-md);
  box-shadow: var(--sh-2);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid var(--line);
  animation: floaty 5s ease-in-out infinite;
}
/* fc1 — mini gráfico de barras que "sube" (Ingresos pasivos) */
.fc-chart {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  width: 42px;
  height: 42px;
  padding: 8px 7px;
  border-radius: 12px;
  background: color-mix(in srgb, var(--orange) 13%, #fff);
  flex: none;
}
.fc-chart i {
  flex: 1;
  height: var(--h);
  border-radius: 2px;
  background: linear-gradient(180deg, #ffc06b, var(--orange-600));
  transform-origin: bottom;
}
/* Alturas en reposo por barra (sin estilos inline, CSP-friendly). */
.fc-chart i:nth-child(1) {
  --h: 36%;
}
.fc-chart i:nth-child(2) {
  --h: 55%;
}
.fc-chart i:nth-child(3) {
  --h: 74%;
}
.fc-chart i:nth-child(4) {
  --h: 100%;
}
@media (prefers-reduced-motion: no-preference) {
  .fc-chart i {
    animation: fcRise 0.9s cubic-bezier(0.2, 0.8, 0.2, 1) backwards;
  }
  .fc-chart i:nth-child(2) {
    animation-delay: 0.08s;
  }
  .fc-chart i:nth-child(3) {
    animation-delay: 0.16s;
  }
  .fc-chart i:nth-child(4) {
    animation-delay: 0.24s;
  }
}
@keyframes fcRise {
  from {
    transform: scaleY(0.2);
  }
  to {
    transform: scaleY(1);
  }
}

/* fc2 — cápsula de curso con play (Tu curso, online) */
.fc-cap {
  position: relative;
  width: 40px;
  height: 42px;
  border-radius: 9px;
  flex: none;
  overflow: hidden;
  background: linear-gradient(150deg, #5268f2, #273c63);
  box-shadow: var(--sh-1);
}
.fc-cap::before {
  content: '';
  position: absolute;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  right: -18px;
  top: -20px;
  background: radial-gradient(circle at 35% 35%, rgba(255, 255, 255, 0.32), transparent 70%);
}
.fc-cap__play {
  position: absolute;
  left: 52%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 6px 0 6px 10px;
  border-color: transparent transparent transparent #fff;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.25));
}
.float-card b {
  font-family: var(--font-head);
  font-size: 1.05rem;
  display: block;
  line-height: 1.1;
}
.float-card span {
  font-size: 0.74rem;
  color: var(--ink-soft);
}
.float-card.fc1 {
  top: 14%;
  left: -26px;
  animation-delay: 0s;
}
.float-card.fc2 {
  bottom: 12%;
  right: -24px;
  animation-delay: 1.2s;
}
@keyframes floaty {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-12px);
  }
}

/* Steps numerados */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(18px, 2.5vw, 32px);
  counter-reset: s;
  margin-top: 58px;
}
.step {
  position: relative;
  padding-top: 18px;
}
.step__n {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 3.2rem;
  line-height: 1;
  color: color-mix(in srgb, var(--orange) 40%, #fff);
  letter-spacing: -0.04em;
}
.step h3 {
  font-size: 1.25rem;
  margin: 12px 0 8px;
}
.step p {
  color: var(--ink-soft);
}
.step::before {
  content: '';
  position: absolute;
  top: 30px;
  right: -16px;
  width: 32px;
  height: 2px;
  background: repeating-linear-gradient(90deg, var(--orange) 0 6px, transparent 6px 12px);
}
.step:last-child::before {
  display: none;
}

/* ===== Cómo funciona — zig-zag: filas que alternan de lado a lado ===== */
.zig {
  display: flex;
  flex-direction: column;
  gap: clamp(16px, 1.8vw, 22px);
  max-width: 940px;
  margin: 54px auto 0;
}
.zrow {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(20px, 2.6vw, 32px);
  align-items: center;
  width: min(780px, 100%);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(22px, 2.4vw, 30px) clamp(26px, 3vw, 38px);
  box-shadow: var(--sh-1);
  transition:
    box-shadow 0.3s,
    border-color 0.3s;
}
.zrow:hover {
  box-shadow: var(--sh-2);
  border-color: color-mix(in srgb, var(--orange) 30%, var(--line));
}
/* Fila par (02): alineada a la derecha, con el contenido espejado. */
.zrow--r {
  margin-left: auto;
  grid-template-columns: 1fr auto;
}
.zrow--r .zlead {
  order: 2;
}
.zrow--r .ztext {
  text-align: right;
}
.zrow--r .zd {
  margin-left: auto;
}
.zlead {
  display: flex;
  align-items: center;
  gap: 18px;
  flex: none;
}
.zico {
  width: 58px;
  height: 58px;
  flex: none;
  display: grid;
  place-items: center;
  color: var(--orange);
  background: color-mix(in srgb, var(--orange) 12%, #fff);
  border-radius: 16px;
}
.zico svg {
  width: 26px;
  height: 26px;
}
.znum {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 2.1rem;
  line-height: 1;
  color: color-mix(in srgb, var(--orange) 42%, #9aa4be);
}
.zrow h3 {
  font-size: 1.26rem;
  margin: 0 0 6px;
}
.zsub {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--orange-600);
  margin: 0 0 8px;
}
.zrow p.zd {
  color: var(--ink-soft);
  font-size: 0.97rem;
  margin: 0;
  line-height: 1.55;
  max-width: 48ch;
}
@media (prefers-reduced-motion: no-preference) {
  .reveal--left,
  .reveal--right {
    transition:
      opacity 0.5s ease-out,
      transform 0.9s cubic-bezier(0.25, 1, 0.5, 1);
  }
  .reveal--left {
    transform: translateX(-120px);
  }
  .reveal--right {
    transform: translateX(120px);
  }
}
@media (max-width: 820px) {
  .zig {
    margin-top: 40px;
  }
  .zrow,
  .zrow--r {
    width: 100%;
    grid-template-columns: auto 1fr;
  }
  .zrow--r .zlead {
    order: 0;
  }
  .zrow--r .ztext {
    text-align: left;
  }
  .zrow--r .zd {
    margin-left: 0;
  }
}

/* Banda oscura visión */
.vision-section {
  padding-block: clamp(20px, 4vw, 40px);
}
.vision {
  background: linear-gradient(155deg, #2c4470, var(--blue-dark) 60%, #1b2c4a);
  color: #fff;
  border-radius: var(--r-xl);
  padding: clamp(36px, 5vw, 68px);
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.vision.brand-mark::before {
  --mark-size: 360px;
  top: -70px;
  right: -60px;
}
.vision .eyebrow {
  color: #ffce8a;
}
.vision h2 {
  color: #fff;
}
.vision .h2 {
  margin-top: 16px;
  max-width: 18ch;
}
.vision .lead {
  color: rgba(255, 255, 255, 0.82);
  margin-top: 16px;
  max-width: 60ch;
}
.vision .stat__lbl {
  color: rgba(255, 255, 255, 0.7);
}
.vision-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 8px;
}
.vision-stats .stat__num {
  color: var(--orange);
}

/* ===== Lo que ganás — campus grande + riel de cards ===== */
.lqg {
  display: grid;
  grid-template-columns: 1.9fr 1fr;
  gap: 18px;
  margin-top: 52px;
}
.lqg__campus {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: #0e1830;
  min-height: 540px;
  border: 1px solid var(--line);
  box-shadow: var(--sh-1);
}
.lqg__campus > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 26%;
  z-index: 0;
  transition: transform 0.9s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.lqg__campus:hover > img {
  transform: scale(1.045);
}
.lqg__campus::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, transparent 62%, rgba(12, 20, 40, 0.32));
  pointer-events: none;
}
.lqg-fx {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  overflow: hidden;
  box-shadow:
    inset 24px 0 38px -18px rgba(8, 14, 30, 0.6),
    inset -24px 0 38px -18px rgba(8, 14, 30, 0.6);
  transition: box-shadow 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.lqg__campus:hover .lqg-fx {
  box-shadow:
    inset 10px 0 28px -22px rgba(8, 14, 30, 0.3),
    inset -10px 0 28px -22px rgba(8, 14, 30, 0.3);
}
.lqg-fx::after {
  content: '';
  position: absolute;
  top: -30%;
  height: 160%;
  left: -65%;
  width: 34%;
  transform: skewX(-12deg);
  opacity: 0;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.32), transparent);
}
.lqg__campus:hover .lqg-fx::after {
  animation: lqgSheen 1.05s ease forwards;
}
@keyframes lqgSheen {
  0% {
    left: -65%;
    opacity: 0;
  }
  12% {
    opacity: 1;
  }
  100% {
    left: 135%;
    opacity: 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  .lqg__campus:hover > img {
    transform: none;
  }
  .lqg-fx::after {
    display: none;
  }
}
.lqg-live {
  position: absolute;
  z-index: 3;
  left: 18px;
  top: 18px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(14, 23, 48, 0.66);
  backdrop-filter: blur(6px);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  padding: 7px 14px 7px 11px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.76rem;
  box-shadow: 0 12px 28px -12px rgba(0, 0, 0, 0.5);
}
.lqg-live i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--orange);
  flex: none;
}
@media (prefers-reduced-motion: no-preference) {
  .lqg-live i {
    animation: liveDot 2s ease-out infinite;
  }
}
@keyframes liveDot {
  0% {
    box-shadow: 0 0 0 0 color-mix(in srgb, var(--orange) 55%, transparent);
  }
  70%,
  100% {
    box-shadow: 0 0 0 9px rgba(245, 166, 35, 0);
  }
}
.lqg-cap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 3;
  display: flex;
  align-items: flex-end;
  gap: 13px;
  padding: 74px 28px 26px;
  background: linear-gradient(180deg, transparent, rgba(8, 14, 30, 0.5) 52%, rgba(8, 14, 30, 0.9));
  color: #fff;
  pointer-events: none;
}
.lqg-cap__dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  flex: none;
  margin-bottom: 8px;
  background: var(--orange);
  box-shadow: 0 0 16px 2px rgba(245, 166, 35, 0.55);
}
@media (prefers-reduced-motion: no-preference) {
  .lqg-cap__dot {
    animation: lqgPulse 2s ease-out infinite;
  }
}
@keyframes lqgPulse {
  0% {
    box-shadow:
      0 0 0 0 rgba(245, 166, 35, 0.55),
      0 0 16px 2px rgba(245, 166, 35, 0.5);
  }
  70%,
  100% {
    box-shadow:
      0 0 0 13px rgba(245, 166, 35, 0),
      0 0 16px 2px rgba(245, 166, 35, 0.45);
  }
}
.lqg-cap__txt b {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.24rem;
  display: block;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: #fff;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.4);
}
.lqg-cap__txt span {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.82);
  display: block;
  margin-top: 4px;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.35);
}
.lqg__rail {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.lqg-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 20px 22px;
  box-shadow: var(--sh-1);
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 7px;
}
.lqg-card .bi {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: var(--blue);
  background: color-mix(in srgb, var(--blue) 12%, #fff);
  margin-bottom: 3px;
}
.lqg-card .bi svg {
  width: 21px;
  height: 21px;
}
.lqg-card b {
  font-family: var(--font-head);
  font-size: 1.06rem;
}
.lqg-card p {
  color: var(--ink-soft);
  font-size: 0.9rem;
  line-height: 1.45;
}
.lqg-card--lead {
  background: linear-gradient(165deg, #fff4e2, #fffdf9);
  border-color: color-mix(in srgb, var(--orange) 22%, var(--line));
}
.lqg-card--lead .k {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 0.76rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--orange-600);
}
.lqg-card--lead b {
  font-size: 1.24rem;
  margin-top: 4px;
}
.lqg-card--lead .btn {
  margin-top: 12px;
  align-self: flex-start;
}
.lqg-card--tech {
  background: linear-gradient(160deg, #2c4470, var(--blue-dark) 62%, #1b2c4a);
  border-color: transparent;
}
.lqg-card--tech b {
  color: #fff;
}
.lqg-card--tech p {
  color: rgba(255, 255, 255, 0.8);
}
.lqg-card--tech .bi {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}
@media (max-width: 900px) {
  .lqg {
    grid-template-columns: 1fr;
  }
  .lqg__campus {
    min-height: 360px;
  }
}

/* Stack de avatares de la comunidad. */
.avstack {
  display: flex;
  align-items: center;
}
.avstack img {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
  border: 2.5px solid #fff;
  margin-left: -12px;
  box-shadow: var(--sh-1);
}
.avstack img:first-child {
  margin-left: 0;
}
.avstack .more {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  margin-left: -12px;
  background: color-mix(in srgb, var(--orange) 16%, #fff);
  color: var(--orange-600);
  border: 2.5px solid #fff;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.82rem;
}

/* CTA */
.cta-warm {
  background: linear-gradient(150deg, #ffb84d, var(--orange) 55%, #e0930f);
  color: #fff;
  border-radius: var(--r-xl);
  padding: clamp(36px, 5vw, 72px);
  position: relative;
  overflow: hidden;
  text-align: center;
}
.cta-warm.brand-mark::before {
  --mark-size: 340px;
  --mark-opacity: 0.1;
  top: -40px;
  right: -40px;
}
.cta-warm .eyebrow {
  color: #fff;
  justify-content: center;
  opacity: 0.9;
}
.cta-warm h2 {
  color: #fff;
  max-width: 18ch;
  margin-inline: auto;
}
.cta-warm .h2 {
  margin-top: 14px;
}
.cta-warm .lead {
  color: rgba(255, 255, 255, 0.92);
  max-width: 52ch;
  margin: 18px auto 0;
}
.cta-warm__note {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.85rem;
  margin-top: 18px;
}
.cta-form {
  display: flex;
  gap: 12px;
  max-width: 540px;
  margin: 34px auto 0;
  flex-wrap: wrap;
}
.cta-form .btn {
  justify-content: center;
}
.cta-form input {
  flex: 1;
  min-width: 200px;
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 1em 1.3em;
  border-radius: 999px;
  border: 0;
  background: rgba(255, 255, 255, 0.96);
  color: var(--ink);
  outline: none;
  box-shadow: var(--sh-2);
}
.cta-form .hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}
.cta-form .cf-turnstile {
  flex-basis: 100%;
  display: flex;
  justify-content: center;
}
.cta-form__status {
  flex-basis: 100%;
  margin: 0;
  font-size: 0.85rem;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.92);
}
.cta-form__status--error {
  color: #4a1500;
  font-weight: 600;
}

.section-soft {
  background: linear-gradient(180deg, #fff7ec, #fffdf9);
  /* Sobre fondo claro, el resaltado usa el naranja oscuro para mejor contraste. */
  --accent-text: var(--orange-600);
}

@media (max-width: 880px) {
  .hero-sv__grid {
    grid-template-columns: 1fr;
  }
  .hero-visual {
    max-width: 420px;
    margin-inline: auto;
  }
  .steps,
  .vision-stats {
    grid-template-columns: 1fr;
  }
  .step::before {
    display: none;
  }
  /* Las tarjetas flotantes salían de la foto y se recortaban contra el
     borde del viewport: en mobile se apilan estáticas debajo, full-width. */
  .hero-visual .float-card {
    position: static;
    inset: auto;
    margin-top: 14px;
    animation: none;
  }
  .hero-sv {
    background: radial-gradient(80% 40% at 100% -10%, #fff3e0 0%, #fffdf9 50%);
  }
}
