@font-face {
  font-family: "Inter";
  src: url("inter.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --fondo: #0A0D16;
  --tinta: #F4F6FB;
  --suave: #A5ADC0;
  --tenue: #6F788E;
  --borde: rgba(255, 255, 255, .10);
  --panel: rgba(255, 255, 255, .045);
  --violeta: #8B7CFF;
  --cian: #3CD3E8;
  --ancho: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--fondo);
  color: var(--tinta);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  line-height: 1.55;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 2px solid var(--cian); outline-offset: 3px; border-radius: 8px; }
h1, h2, h3, p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

.fondo { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.luz { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .5; animation: flotar 16s ease-in-out infinite alternate; }
.luz-1 { width: 560px; height: 560px; top: -220px; left: -120px; background: #4B3BFF; }
.luz-2 { width: 480px; height: 480px; top: 80px; right: -160px; background: #0E8FA8; animation-delay: -6s; opacity: .36; }
.rejilla {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 0%, #000 25%, transparent 75%);
  mask-image: radial-gradient(ellipse 90% 70% at 50% 0%, #000 25%, transparent 75%);
}
@keyframes flotar { to { transform: translate(50px, 40px) scale(1.08); } }

.barra {
  width: 100%; max-width: var(--ancho); margin: 0 auto; padding: 22px 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.marca { display: inline-flex; align-items: center; gap: 12px; font-weight: 700; font-size: 17px; letter-spacing: -.01em; }
.marca img { display: block; }
.menu { display: flex; gap: 28px; margin-left: auto; }
.menu a { color: var(--suave); font-size: 14px; font-weight: 500; transition: color .2s; }
.menu a:hover { color: var(--tinta); }

main { flex: 1; width: 100%; max-width: var(--ancho); margin: 0 auto; padding: 0 24px; }

.boton {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 22px; border-radius: 12px;
  background: var(--tinta); color: #0B0F1A; font-weight: 600; font-size: 15px;
  transition: transform .2s, box-shadow .2s, background .2s;
}
.boton:hover { transform: translateY(-2px); box-shadow: 0 12px 34px rgba(139, 124, 255, .35); }
.boton-secundario { background: transparent; color: var(--tinta); border: 1px solid rgba(255,255,255,.22); }
.boton-secundario:hover { background: rgba(255,255,255,.06); box-shadow: none; }
.boton-chico { padding: 9px 16px; font-size: 14px; }

.heroe { padding: clamp(48px, 10vh, 112px) 0 clamp(56px, 10vh, 104px); max-width: 820px; animation: entrar .7s ease-out both; }
.sobretitulo {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 26px;
  padding: 7px 14px; border: 1px solid var(--borde); border-radius: 999px; background: var(--panel);
  color: var(--suave); font-size: 13px; font-weight: 500;
}
.punto { width: 8px; height: 8px; border-radius: 50%; background: var(--cian); box-shadow: 0 0 12px var(--cian); }
.heroe h1 {
  margin-bottom: 24px;
  font-size: clamp(38px, 6.6vw, 66px);
  line-height: 1.06;
  font-weight: 800;
  letter-spacing: -.035em;
}
.heroe h1 em, .seccion h2 em {
  font-style: normal;
  background: linear-gradient(95deg, var(--violeta), var(--cian));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.heroe p { max-width: 640px; color: var(--suave); font-size: clamp(16px, 2.1vw, 19px); }
.acciones { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 34px; }
.chips li { display: inline-flex; align-items: center; gap: 8px; color: var(--suave); font-size: 14px; }
.chips li::before {
  content: "✓"; display: grid; place-items: center; width: 18px; height: 18px; flex: none; border-radius: 50%;
  background: rgba(60, 211, 232, .16); color: var(--cian); font-size: 11px; font-weight: 800;
}

.seccion { padding: clamp(56px, 9vh, 96px) 0; border-top: 1px solid var(--borde); }
.seccion-etiqueta { margin-bottom: 14px; color: var(--cian); font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.seccion h2 { max-width: 760px; font-size: clamp(28px, 4.2vw, 42px); line-height: 1.12; font-weight: 800; letter-spacing: -.028em; }
.seccion-intro { max-width: 680px; margin-top: 18px; color: var(--suave); font-size: 17px; }

.rejilla-beneficios { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 18px; margin-top: 44px; }
.beneficio { padding: 26px; border: 1px solid var(--borde); border-radius: 18px; background: var(--panel); }
.beneficio-icono {
  display: grid; place-items: center; width: 46px; height: 46px; margin-bottom: 20px; border-radius: 12px;
  background: linear-gradient(135deg, rgba(139,124,255,.22), rgba(60,211,232,.18)); color: var(--tinta);
}
.beneficio h3 { margin-bottom: 8px; font-size: 18px; font-weight: 700; }
.beneficio p { color: var(--suave); font-size: 15px; }

.pasos { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 18px; margin-top: 44px; counter-reset: paso; }
.paso { position: relative; padding: 28px 26px; border-radius: 18px; background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.015)); border: 1px solid var(--borde); }
.paso-numero {
  display: grid; place-items: center; width: 38px; height: 38px; margin-bottom: 20px; border-radius: 50%;
  background: var(--tinta); color: #0B0F1A; font-weight: 800; font-size: 16px;
}
.paso h3 { margin-bottom: 8px; font-size: 19px; font-weight: 700; }
.paso p { color: var(--suave); font-size: 15px; }

.rejilla-proyectos { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 20px; margin-top: 44px; }
.tarjeta {
  --acento: var(--violeta);
  position: relative;
  display: flex; flex-direction: column;
  padding: 26px;
  border: 1px solid var(--borde); border-radius: 18px;
  background: var(--panel);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  overflow: hidden;
  transition: transform .25s, border-color .25s, background .25s;
}
.tarjeta::before {
  content: ""; position: absolute; inset: 0 0 auto; height: 2px;
  background: linear-gradient(90deg, var(--acento), transparent 80%);
  opacity: .9;
}
.tarjeta::after {
  content: ""; position: absolute; width: 240px; height: 240px; top: -130px; right: -90px; border-radius: 50%;
  background: var(--acento); filter: blur(70px); opacity: .16; transition: opacity .25s; pointer-events: none;
}
.tarjeta:hover { transform: translateY(-5px); border-color: rgba(255,255,255,.22); background: rgba(255,255,255,.07); }
.tarjeta:hover::after { opacity: .32; }

.tarjeta-cabeza { display: flex; align-items: center; justify-content: space-between; margin-bottom: 22px; }
.icono {
  display: grid; place-items: center; width: 50px; height: 50px; border-radius: 13px;
  background: var(--acento); color: #fff; font-weight: 800; font-size: 21px;
}
.icono img { display: block; }
.etiqueta {
  padding: 4px 11px; border: 1px solid var(--borde); border-radius: 999px;
  color: var(--suave); font-size: 12px; font-weight: 500;
}
.tarjeta-titulo { margin-bottom: 10px; font-size: 21px; font-weight: 700; letter-spacing: -.015em; }
.tarjeta-texto { color: var(--suave); font-size: 15px; }
.puntos { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.puntos li { padding: 5px 11px; border-radius: 8px; background: rgba(255,255,255,.06); color: var(--tinta); font-size: 13px; font-weight: 500; }
.tarjeta-pie { margin-top: auto; padding-top: 22px; }
.entrar {
  position: relative; z-index: 1;
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 22px; padding-top: 18px; width: 100%;
  border-top: 1px solid var(--borde);
  font-size: 15px; font-weight: 600;
}
.entrar svg { transition: transform .2s; }
.entrar:hover svg { transform: translateX(4px); }
.entrar-inactivo { color: var(--tenue); }

.nosotros { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: start; }
.nosotros-texto p { color: var(--suave); font-size: 17px; }
.nosotros-texto p + p { margin-top: 18px; }

.llamado {
  margin: 24px 0 96px; padding: clamp(36px, 6vw, 64px);
  border: 1px solid rgba(139,124,255,.35); border-radius: 26px; text-align: center;
  background: radial-gradient(ellipse at top, rgba(139,124,255,.28), transparent 70%), rgba(255,255,255,.03);
}
.llamado h2 { max-width: 760px; margin: 0 auto 16px; font-size: clamp(26px, 3.8vw, 38px); line-height: 1.15; font-weight: 800; letter-spacing: -.025em; }
.llamado p { margin-bottom: 30px; color: var(--suave); font-size: 17px; }

.pie {
  width: 100%; max-width: var(--ancho); margin: 0 auto; padding: 22px 24px 30px;
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px;
  border-top: 1px solid var(--borde); color: var(--tenue); font-size: 13px;
}
.pie a:hover { color: var(--tinta); }

@keyframes entrar { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

@media (max-width: 760px) {
  .menu { display: none; }
  .nosotros { grid-template-columns: 1fr; gap: 20px; }
  .acciones .boton { width: 100%; }
}

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