/* ORIGENDATA & SOLUTIONS — landing */

:root {
  --navy: #1B2B5E;
  --cyan: #2EC4C6;
  --teal: #127A7C;

  --bg: #FFFFFF;
  --bg-alt: #F5F8FB;
  --surface: #FFFFFF;
  --title: #1B2B5E;
  --text: #45506E;
  --label: #127A7C;
  --border: #E3E9F1;
  --header-bg: rgba(255, 255, 255, .88);

  --btn-bg: #1B2B5E;
  --btn-text: #FFFFFF;
  --btn-hover: #14224C;
  --outline: #1B2B5E;

  --navy-section: #1B2B5E;
  --navy-card: rgba(255, 255, 255, .06);
  --navy-border: rgba(255, 255, 255, .14);

  --logo-ring: #1B2B5E;
  --logo-d: #2EC4C6;

  --orbit-core: #FFFFFF;
  --shadow: 0 1px 2px rgba(27, 43, 94, .04), 0 12px 32px -12px rgba(27, 43, 94, .14);

  --radius: 16px;
  --radius-sm: 12px;
  --max: 1180px;
  --header-h: 76px;

  color-scheme: light;
}

/* Modo oscuro (igual que las variantes oscuras del logo) */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0D1530;
    --bg-alt: #111B3B;
    --surface: #16224A;
    --title: #F2F5FB;
    --text: #AEB8CF;
    --label: #5FD6D8;
    --border: #22305C;
    --header-bg: rgba(13, 21, 48, .86);
    --btn-bg: #2EC4C6;
    --btn-text: #0D1530;
    --btn-hover: #4FD3D5;
    --outline: #F2F5FB;
    --navy-section: #1B2B5E;
    --navy-card: rgba(255, 255, 255, .05);
    --navy-border: rgba(255, 255, 255, .12);
    --logo-ring: #FFFFFF;
    --orbit-core: #16224A;
    --shadow: 0 1px 2px rgba(0, 0, 0, .2), 0 16px 40px -16px rgba(0, 0, 0, .5);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0D1530;
  --bg-alt: #111B3B;
  --surface: #16224A;
  --title: #F2F5FB;
  --text: #AEB8CF;
  --label: #5FD6D8;
  --border: #22305C;
  --header-bg: rgba(13, 21, 48, .86);
  --btn-bg: #2EC4C6;
  --btn-text: #0D1530;
  --btn-hover: #4FD3D5;
  --outline: #F2F5FB;
  --navy-section: #1B2B5E;
  --navy-card: rgba(255, 255, 255, .05);
  --navy-border: rgba(255, 255, 255, .12);
  --logo-ring: #FFFFFF;
  --orbit-core: #16224A;
  --shadow: 0 1px 2px rgba(0, 0, 0, .2), 0 16px 40px -16px rgba(0, 0, 0, .5);
  color-scheme: dark;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 1.0625rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  transition: background-color .3s ease, color .3s ease;
}

h1, h2, h3 { font-family: "Montserrat", system-ui, sans-serif; color: var(--title); margin: 0; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
svg { display: block; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }

.skip {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--btn-bg); color: var(--btn-text);
  padding: 10px 16px; border-radius: var(--radius-sm);
}
.skip:focus { top: 12px; }

:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px; min-height: 50px; padding: 0 26px;
  border-radius: var(--radius-sm); border: 2px solid transparent;
  font-family: "Montserrat", sans-serif; font-weight: 700; font-size: .95rem;
  letter-spacing: .01em; cursor: pointer;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--btn-bg); color: var(--btn-text); }
.btn--primary:hover { background: var(--btn-hover); }
.btn--outline { border-color: var(--outline); color: var(--outline); background: transparent; }
.btn--outline:hover { background: var(--outline); color: var(--bg); }
.btn--sm { min-height: 42px; padding: 0 20px; font-size: .9rem; }

/* ---------- Encabezado ---------- */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--header-h);
  background: var(--header-bg);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s ease, background-color .3s ease;
}
.header.is-scrolled { border-bottom-color: var(--border); }
.header__inner { height: 100%; display: flex; align-items: center; gap: 24px; }

.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand__iso { width: 48px; height: 38px; }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__name {
  font-family: "Montserrat", sans-serif; font-weight: 800;
  font-size: 1.25rem; letter-spacing: .04em; color: var(--title);
}
.brand__sub {
  font-family: "Montserrat", sans-serif; font-weight: 700;
  font-size: .62rem; letter-spacing: .34em; color: var(--label); margin-top: 5px;
}

.nav { display: flex; align-items: center; gap: 32px; margin-left: auto; }
.nav__link {
  font-weight: 500; font-size: .95rem; color: var(--title); position: relative; padding: 6px 0;
}
.nav__link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
  background: var(--cyan); border-radius: 2px; transform: scaleX(0); transform-origin: left;
  transition: transform .25s ease;
}
.nav__link:hover::after { transform: scaleX(1); }

.header__tools { display: flex; align-items: center; gap: 6px; }
.tool {
  width: 42px; height: 42px; display: grid; place-items: center;
  border-radius: 12px; border: 1px solid var(--border); background: transparent;
  color: var(--title); cursor: pointer; font: 700 .8rem "Montserrat", sans-serif; letter-spacing: .06em;
  transition: border-color .2s ease, background-color .2s ease;
}
.tool:hover { border-color: var(--cyan); }
.tool svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.icon-sun { display: none !important; }
:root[data-theme="dark"] .icon-sun { display: block !important; }
:root[data-theme="dark"] .icon-moon { display: none !important; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .icon-sun { display: block !important; }
  :root:not([data-theme="light"]) .icon-moon { display: none !important; }
}

.burger { display: none; gap: 4px; flex-direction: column; align-items: center; justify-content: center; }
.burger span {
  display: block; width: 18px; height: 2px; background: currentColor; border-radius: 2px;
  transition: transform .25s ease, opacity .2s ease;
}
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Secciones ---------- */
.section { padding: 112px 0; }
.section--alt { background: var(--bg-alt); }
.section__head { max-width: 720px; margin-bottom: 56px; }

.eyebrow {
  font-family: "Inter", sans-serif; font-weight: 600; font-size: .78rem;
  text-transform: uppercase; letter-spacing: .16em; color: var(--label);
  margin-bottom: 18px; display: inline-flex; align-items: center; gap: 10px;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--cyan); border-radius: 2px; }

.h2 {
  font-weight: 800; font-size: clamp(1.75rem, 3.2vw, 2.6rem);
  line-height: 1.18; letter-spacing: -.015em;
}
.lead { font-size: clamp(1.05rem, 1.4vw, 1.2rem); line-height: 1.7; }

/* ---------- Hero ---------- */
.hero { padding: calc(var(--header-h) + 88px) 0 112px; }
.hero__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 64px; align-items: center; }
.hero__title {
  font-weight: 800; font-size: clamp(2.1rem, 4.4vw, 3.5rem);
  line-height: 1.1; letter-spacing: -.02em; margin-bottom: 24px;
}
.hero__copy .lead { max-width: 560px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }

.hero__visual { display: flex; justify-content: center; }
.orbit { position: relative; width: min(420px, 100%); aspect-ratio: 1; }
.orbit__ring {
  position: absolute; inset: 0; width: 100%; height: 100%;
  stroke: var(--cyan); opacity: .55;
  animation: spin 60s linear infinite;
}
.orbit__dot {
  position: absolute; inset: 0; animation: spin 18s linear infinite;
}
.orbit__dot::before {
  content: ""; position: absolute; top: calc(2% - 6px); left: calc(50% - 6px);
  width: 12px; height: 12px; border-radius: 50%; background: var(--cyan);
  box-shadow: 0 0 0 6px rgba(46, 196, 198, .16);
}
.orbit__core {
  position: absolute; inset: 13%; border-radius: 50%;
  background: var(--orbit-core); box-shadow: var(--shadow);
  display: grid; place-items: center;
  border: 1px solid var(--border);
}
.orbit__iso { width: 58%; height: 46%; }

@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Propósito ---------- */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: start; }
.prose { display: grid; gap: 22px; font-size: 1.12rem; padding-top: 40px; }
.prose p:first-child { color: var(--title); font-weight: 500; }

/* ---------- Tarjetas ---------- */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 20px; padding: 32px 28px;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.card__icon {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
  background: rgba(46, 196, 198, .12); color: var(--label); margin-bottom: 24px;
}
.card__icon svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.card__title { font-weight: 700; font-size: 1.15rem; margin-bottom: 10px; line-height: 1.3; }
.card p { font-size: .98rem; line-height: 1.65; }

/* ---------- Pasos ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.step { border-top: 3px solid var(--border); padding-top: 28px; position: relative; }
.step::before {
  content: ""; position: absolute; top: -3px; left: 0; width: 56px; height: 3px;
  background: var(--cyan); border-radius: 3px;
  transition: width .5s ease;
}
.step:hover::before { width: 100%; }
.step__num {
  display: block; font-family: "Montserrat", sans-serif; font-weight: 800;
  font-size: 2.4rem; line-height: 1; color: var(--cyan); margin-bottom: 18px;
}
.step__title { font-weight: 700; font-size: 1.15rem; margin-bottom: 10px; }
.step p { font-size: .98rem; line-height: 1.65; }

/* ---------- Misión y visión ---------- */
.section--navy { background: var(--navy-section); color: rgba(255, 255, 255, .78); }
:root[data-theme="dark"] .section--navy { border-block: 1px solid var(--border); }
.section--navy .h2 { color: #FFFFFF; }
.eyebrow--light { color: var(--cyan); }
.mv { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.mv__card {
  background: var(--navy-card); border: 1px solid var(--navy-border);
  border-radius: 20px; padding: 44px 40px;
}
.mv__icon {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
  background: rgba(46, 196, 198, .16); color: var(--cyan); margin-bottom: 24px;
}
.mv__icon svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.mv__title { color: #FFFFFF; font-weight: 800; font-size: 1.5rem; margin-bottom: 14px; }
.mv__card p { font-size: 1.05rem; line-height: 1.75; }

/* ---------- Contacto ---------- */
.contact { max-width: 760px; text-align: center; display: flex; flex-direction: column; align-items: center; }
.contact .eyebrow::after { content: ""; width: 22px; height: 2px; background: var(--cyan); border-radius: 2px; }
.contact__iso { width: 72px; height: 57px; margin-bottom: 28px; }
.contact .h2 { margin-bottom: 18px; }
.contact__place {
  margin-top: 28px; display: inline-flex; align-items: center; gap: 8px;
  color: var(--title); font-weight: 600;
}
.contact__place svg { width: 20px; height: 20px; fill: none; stroke: var(--cyan); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Pie ---------- */
.footer { padding: 40px 0; border-top: 1px solid var(--border); }
.footer__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.brand--footer .brand__iso { width: 40px; height: 32px; }
.brand--footer .brand__name { font-size: 1.05rem; }
.footer__copy { font-size: .9rem; }

/* ---------- Animaciones de entrada ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .orbit__ring, .orbit__dot { animation: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); gap: 40px 32px; }
}

@media (max-width: 900px) {
  :root { --header-h: 68px; }
  .burger { display: flex; }
  .nav {
    position: fixed; top: var(--header-h); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--bg); border-bottom: 1px solid var(--border);
    padding: 8px 24px 24px;
    box-shadow: 0 24px 40px -24px rgba(0, 0, 0, .25);
    transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: transform .25s ease, opacity .25s ease, visibility .25s;
  }
  .nav.is-open { transform: none; opacity: 1; visibility: visible; }
  .nav__link { padding: 16px 0; border-bottom: 1px solid var(--border); font-size: 1.05rem; }
  .nav__link::after { display: none; }
  .nav__cta { margin-top: 20px; min-height: 50px; }
  .header__tools { margin-left: auto; }

  .hero { padding: calc(var(--header-h) + 48px) 0 80px; }
  .hero__grid { grid-template-columns: 1fr; gap: 56px; }
  .hero__visual { order: -1; }
  .orbit { width: min(280px, 78vw); }

  .two-col { grid-template-columns: 1fr; gap: 8px; }
  .prose { padding-top: 16px; }
  .mv { grid-template-columns: 1fr; }
  .section { padding: 80px 0; }
  .section__head { margin-bottom: 40px; }
}

@media (max-width: 600px) {
  .container { padding: 0 16px; }
  .nav { padding: 8px 16px 20px; }
  .brand__iso { width: 40px; height: 32px; }
  .brand__name { font-size: 1.05rem; }
  .brand__sub { font-size: .55rem; letter-spacing: .3em; }
  .tool { width: 40px; height: 40px; }
  .cards, .steps { grid-template-columns: 1fr; }
  .hero__actions .btn { width: 100%; }
  .mv__card { padding: 32px 24px; }
  .footer__inner { flex-direction: column; align-items: flex-start; }
}
