/* Portal de ORION · paleta: Azul profundo #0B102B, Índigo #4F6BFF, Lavanda #A7B4FF, Dorado #FFC857, Marfil #F6F7FB */
@font-face { font-family: Montserrat; font-weight: 500; font-display: swap; src: url(/fonts/montserrat-latin-500-normal.woff2) format('woff2'); }
@font-face { font-family: Montserrat; font-weight: 600; font-display: swap; src: url(/fonts/montserrat-latin-600-normal.woff2) format('woff2'); }
@font-face { font-family: Montserrat; font-weight: 700; font-display: swap; src: url(/fonts/montserrat-latin-700-normal.woff2) format('woff2'); }
@font-face { font-family: Inter; font-weight: 400; font-display: swap; src: url(/fonts/inter-latin-400-normal.woff2) format('woff2'); }
@font-face { font-family: Inter; font-weight: 500; font-display: swap; src: url(/fonts/inter-latin-500-normal.woff2) format('woff2'); }
@font-face { font-family: Inter; font-weight: 600; font-display: swap; src: url(/fonts/inter-latin-600-normal.woff2) format('woff2'); }

:root {
  --navy: #0B102B; --navy-2: #131A3F; --indigo: #4F6BFF; --indigo-solid: #4863F5; --lav: #A7B4FF; --gold: #FFC857; --ivory: #F6F7FB;
  --ink: #0B102B; --ink-2: #3B4266; --ink-3: #565E85; --line: #DCE0EE;
  --head: Montserrat, Inter, system-ui, sans-serif; --body: Inter, system-ui, sans-serif;
  --ease: cubic-bezier(.2, .8, .2, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body { margin: 0; font-family: var(--body); font-size: 17px; line-height: 1.6; color: var(--ink); background: var(--ivory); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--head); margin: 0; line-height: 1.12; letter-spacing: -.01em; text-wrap: balance; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
.skip { position: fixed; left: 12px; top: 12px; z-index: 50; padding: 10px 14px; background: #fff; color: var(--ink); border-radius: 10px; transform: translateY(-200%); }
.skip:focus { transform: none; }
.wrap { width: min(1120px, 100%); margin: 0 auto; padding-inline: 20px; }

/* Encabezado */
.top { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--navy) 86%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid rgba(167, 180, 255, .12); }
.top-in { display: flex; align-items: center; justify-content: space-between; min-height: 64px; gap: 16px; }
.logo { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: #fff; }
.logo-word { font-family: var(--head); font-weight: 700; letter-spacing: .22em; font-size: 18px; }
.top nav { display: flex; gap: 4px; }
.top nav a { color: #C9D1FF; text-decoration: none; font-size: 15px; font-weight: 500; padding: 10px 12px; border-radius: 10px; }
.top nav a:hover { color: #fff; background: rgba(167, 180, 255, .1); }
@media (max-width: 520px) { .top nav a:not(:first-child) { display: none; } }

/* Portada */
.hero { position: relative; overflow: hidden; background: radial-gradient(90% 80% at 80% 20%, #1D2766 0%, transparent 60%), radial-gradient(60% 60% at 0% 100%, #16205A 0%, transparent 70%), var(--navy); color: #fff; }
.sky { position: absolute; inset: 0; background-image:
  radial-gradient(1.5px 1.5px at 12% 22%, #fff9 50%, transparent 51%), radial-gradient(1px 1px at 28% 68%, #A7B4FFaa 50%, transparent 51%),
  radial-gradient(1.5px 1.5px at 44% 12%, #fff8 50%, transparent 51%), radial-gradient(1px 1px at 63% 82%, #fff7 50%, transparent 51%),
  radial-gradient(2px 2px at 88% 58%, #FFC85799 50%, transparent 51%), radial-gradient(1px 1px at 93% 16%, #fff9 50%, transparent 51%),
  radial-gradient(1.5px 1.5px at 6% 88%, #A7B4FF99 50%, transparent 51%), radial-gradient(1px 1px at 52% 44%, #fff5 50%, transparent 51%); }
.hero-in { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; gap: 40px; padding-block: 72px 88px; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-family: var(--head); font-size: 13px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--lav); margin-bottom: 18px; }
.eyebrow.dark { color: #3450E0; }
.spark { width: 14px; height: 14px; background: var(--gold); clip-path: polygon(50% 0, 60% 40%, 100% 50%, 60% 60%, 50% 100%, 40% 60%, 0 50%, 40% 40%); flex: none; }
.spark.big { width: 44px; height: 44px; }
.hero h1 { font-size: clamp(38px, 6vw, 64px); font-weight: 700; letter-spacing: -.02em; }
.lead { margin-top: 20px; font-size: 19px; color: #C9D1FF; max-width: 34em; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 0 22px; border-radius: 14px; font-weight: 600; font-size: 16px; text-decoration: none; border: 1.5px solid transparent; transition: transform .15s var(--ease), background .15s var(--ease), border-color .15s var(--ease); }
.btn:active { transform: scale(.98); }
.btn svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.btn.primary { background: var(--indigo-solid); color: #fff; box-shadow: 0 10px 30px -10px rgba(79, 107, 255, .8); }
.btn.primary:hover { background: #3C56E0; }
.btn.ghost { color: #fff; border-color: rgba(167, 180, 255, .45); }
.btn.ghost:hover { border-color: var(--lav); background: rgba(167, 180, 255, .08); }
.btn.outline { color: #1F339F; border-color: #B6C0F5; background: #fff; }
.btn.outline:hover { border-color: var(--indigo); }
.hero-art { justify-self: center; width: min(420px, 100%); filter: drop-shadow(0 30px 60px rgba(4, 7, 30, .7)); animation: flota 7s ease-in-out infinite; }
@keyframes flota { 50% { transform: translateY(-10px); } }
@media (max-width: 860px) {
  .hero-in { grid-template-columns: 1fr; padding-block: 48px 56px; text-align: left; }
  .hero-art { width: min(300px, 80%); order: -1; }
}

/* Apps */
.apps { padding-block: 88px 64px; }
.apps h2, .install h2 { font-size: clamp(28px, 4vw, 40px); font-weight: 700; max-width: 22em; }
.app-card { margin-top: 40px; display: grid; grid-template-columns: .95fr 1.05fr; gap: 40px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 28px; padding: clamp(20px, 4vw, 44px); box-shadow: 0 30px 60px -40px rgba(11, 16, 43, .35); }
.app-media { position: relative; border-radius: 22px; padding: 36px 28px 28px; background: radial-gradient(80% 90% at 20% 10%, #1D2766, var(--navy)); min-height: 320px; display: flex; flex-direction: column; gap: 22px; overflow: hidden; }
.app-icon { width: 96px; height: 96px; border-radius: 24px; box-shadow: 0 16px 36px -12px rgba(0, 0, 0, .8); }
.app-shot { background: #131A3F; border: 1px solid #283163; border-radius: 16px; color: #EEF0FB; font-size: 14px; overflow: hidden; }
.shot-bar { display: flex; gap: 6px; padding: 10px 12px; border-bottom: 1px solid #283163; }
.shot-bar span { width: 8px; height: 8px; border-radius: 50%; background: #3B4687; }
.shot-body { padding: 14px; display: grid; gap: 10px; }
.shot-stat b { font-family: var(--head); font-size: 30px; margin-right: 8px; }
.shot-stat small { color: #BCC3E6; }
.shot-stat i { display: block; height: 6px; margin-top: 8px; border-radius: 3px; background: linear-gradient(90deg, #4F6BFF var(--w), #283163 var(--w)); }
.shot-row { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 10px; background: #1A2250; }
.shot-row em { margin-left: auto; font-style: normal; color: #BCC3E6; font-size: 13px; }
.dot { width: 8px; height: 8px; border-radius: 50%; flex: none; }
.dot.ok { background: #6FD49A; } .dot.warn { background: var(--gold); }
.app-head { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.app-head h3 { font-size: 32px; font-weight: 700; }
.tag { font-size: 13px; font-weight: 600; color: #1F339F; background: #EEF1FF; border-radius: 999px; padding: 5px 12px; }
.app-lead { margin-top: 12px; color: var(--ink-2); font-size: 18px; }
.feats { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 12px; }
.feats li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink-2); }
.feats svg { width: 22px; height: 22px; flex: none; margin-top: 1px; fill: none; stroke: #3450E0; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.meta { margin-top: 12px; font-size: 14px; color: var(--ink-3); }
.soon { margin-top: 22px; display: flex; gap: 20px; align-items: center; padding: 24px 28px; border-radius: 22px; border: 1.5px dashed #C3C9E0; color: var(--ink-2); }
.soon h3 { font-size: 20px; color: var(--ink); }
@media (max-width: 860px) { .app-card { grid-template-columns: 1fr; } .app-media { min-height: 0; } }

/* Instalación */
.install { padding-block: 24px 88px; }
.steps { list-style: none; counter-reset: paso; padding: 0; margin: 32px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.steps li { counter-increment: paso; background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 24px; display: grid; gap: 8px; align-content: start; }
.steps li::before { content: counter(paso); width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; font-family: var(--head); font-weight: 700; color: #fff; background: var(--indigo-solid); margin-bottom: 6px; }
.steps b { font-family: var(--head); font-size: 18px; }
.steps span { color: var(--ink-2); font-size: 16px; }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } }

/* Nosotros */
.about { background: var(--navy); color: #fff; padding-block: 88px; }
.about-in { display: grid; grid-template-columns: 1fr 1.2fr; gap: 48px; align-items: start; }
.about h2 { font-size: clamp(28px, 4vw, 40px); font-weight: 700; }
.values { display: grid; gap: 14px; }
.values div { display: grid; gap: 4px; padding: 20px 22px; border-radius: 18px; background: var(--navy-2); border: 1px solid #283163; }
.values b { font-family: var(--head); font-size: 18px; }
.values span { color: #BCC3E6; }
@media (max-width: 860px) { .about-in { grid-template-columns: 1fr; gap: 28px; } }

.foot { background: #070A1E; color: #99A2CF; font-size: 14px; }
.foot-in { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; min-height: 72px; }
.foot a { margin-left: auto; color: #C9D1FF; text-decoration: none; }
.foot a:hover { text-decoration: underline; }
