/* =========================================================
   Innovación TI — Sinergia con Tecnología
   Design tokens
   ========================================================= */
:root {
  --navy-950: #070C18;
  --navy-900: #0B1220;
  --navy-800: #111A2E;
  --navy-700: #1E293B;
  --slate-600: #475569;
  --slate-500: #64748B;
  --slate-300: #CBD5E1;
  --slate-200: #E2E8F0;
  --slate-100: #F1F5F9;
  --slate-50:  #F8FAFC;
  --white: #FFFFFF;

  --orange-300: #FDBA74;
  --orange-400: #FB923C;
  --orange-500: #F97316;
  --orange-600: #EA580C;
  --orange-700: #C2410C;

  --color-bg: var(--slate-50);
  --color-fg: #0F172A;
  --color-muted: var(--slate-600);
  --color-card: var(--white);
  --color-border: var(--slate-200);
  --color-accent: var(--orange-500);
  --color-accent-text: var(--orange-700);   /* orange text on light: 5.2:1 */
  --color-on-accent: #0F172A;               /* navy text on orange: 7:1 */
  --ring: var(--orange-500);

  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-display: "Orbitron", var(--font);

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, .06), 0 1px 3px rgba(15, 23, 42, .08);
  --shadow: 0 10px 30px -12px rgba(15, 23, 42, .18);
  --shadow-orange: 0 12px 32px -10px rgba(249, 115, 22, .55);

  --container: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --section-y: clamp(72px, 10vw, 128px);

  --ease-out: cubic-bezier(.22, 1, .36, 1);
}

/* =========================================================
   Base
   ========================================================= */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-fg);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { line-height: 1.15; margin: 0; letter-spacing: -0.02em; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }

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

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--orange-500); color: var(--color-on-accent);
  padding: 10px 16px; border-radius: var(--radius-sm); font-weight: 700;
  transition: top .2s var(--ease-out);
}
.skip-link:focus { top: 16px; }

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

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .8125rem; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--color-accent-text);
}
.eyebrow::before {
  content: ""; width: 28px; height: 2px; border-radius: 2px;
  background: currentColor;
}

.section { padding: var(--section-y) 0; }
.section-head { max-width: 720px; margin-bottom: clamp(40px, 6vw, 64px); }
.section-head h2 {
  font-size: clamp(2rem, 4.2vw, 3rem);
  font-weight: 800;
  margin-top: 14px;
}
.section-head p {
  margin-top: 18px;
  font-size: 1.125rem;
  color: var(--color-muted);
}
.text-accent { color: var(--orange-500); }

/* =========================================================
   Buttons
   ========================================================= */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 24px;
  border-radius: 999px; border: 2px solid transparent;
  font: 700 1rem/1 var(--font);
  cursor: pointer;
  transition: transform .2s var(--ease-out), box-shadow .2s var(--ease-out),
              background-color .2s ease, color .2s ease, border-color .2s ease;
}
.btn svg { width: 18px; height: 18px; transition: transform .2s var(--ease-out); }
.btn:hover svg { transform: translateX(3px); }
.btn-primary {
  background: var(--orange-500); color: var(--color-on-accent);
  box-shadow: var(--shadow-orange);
}
.btn-primary:hover { background: var(--orange-400); transform: translateY(-2px); }
.btn-primary:active { transform: translateY(0); }
.btn-ghost {
  background: transparent; color: var(--white);
  border-color: rgba(255, 255, 255, .28);
}
.btn-ghost:hover { border-color: var(--white); background: rgba(255, 255, 255, .06); }
.btn-sm { min-height: 44px; padding: 10px 20px; font-size: .9375rem; }

/* =========================================================
   Header
   ========================================================= */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  transition: background-color .3s ease, box-shadow .3s ease, backdrop-filter .3s ease;
}
.site-header.is-scrolled {
  background: rgba(7, 12, 24, .82);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .06);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  height: 76px;
}
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--white); }
.brand img { width: 38px; height: 38px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name {
  font-family: var(--font-display);
  font-weight: 700; font-size: 1.0625rem; letter-spacing: .12em;
}
.brand-name span { color: var(--orange-500); }
.brand-tag { font-size: .6875rem; letter-spacing: .2em; color: var(--slate-300); }

.nav-links {
  display: flex; align-items: center; gap: 4px;
  list-style: none; margin: 0; padding: 0;
}
.nav-links a:not(.btn) {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px;
  color: var(--slate-300); font-weight: 600; font-size: .9375rem;
  border-radius: 999px;
  transition: color .2s ease, background-color .2s ease;
}
.nav-links a:not(.btn):hover { color: var(--white); background: rgba(255, 255, 255, .06); }
.nav-links .btn { margin-left: 10px; }

.nav-toggle {
  display: none;
  width: 44px; height: 44px; border-radius: 12px;
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12);
  color: var(--white); cursor: pointer;
  align-items: center; justify-content: center;
}
.nav-toggle svg { width: 22px; height: 22px; }

@media (max-width: 880px) {
  .nav-toggle { display: inline-flex; }
  .nav-links {
    position: absolute; top: 76px; left: var(--gutter); right: var(--gutter);
    flex-direction: column; align-items: stretch; gap: 4px;
    padding: 12px;
    background: var(--navy-800);
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: var(--radius);
    box-shadow: 0 24px 48px -16px rgba(0, 0, 0, .6);
    opacity: 0; transform: translateY(-8px); pointer-events: none; visibility: hidden;
    transition: opacity .2s ease, transform .2s var(--ease-out), visibility .2s;
  }
  .nav-links.is-open { opacity: 1; transform: none; pointer-events: auto; visibility: visible; }
  .nav-links a:not(.btn) { border-radius: var(--radius-sm); padding: 0 16px; }
  .nav-links .btn { margin: 8px 0 0; }
}

/* =========================================================
   Hero
   ========================================================= */
.hero {
  position: relative;
  min-height: 100vh; min-height: 100svh;
  display: flex; align-items: center;
  padding: 120px 0 80px;
  color: var(--white);
  background:
    radial-gradient(900px 600px at 78% 40%, rgba(249, 115, 22, .20), transparent 60%),
    radial-gradient(700px 500px at 0% 100%, rgba(234, 88, 12, .10), transparent 60%),
    linear-gradient(180deg, var(--navy-950) 0%, var(--navy-900) 100%);
  overflow: hidden;
  isolation: isolate;
}
.hero::before {               /* subtle tech grid */
  content: ""; position: absolute; inset: 0; z-index: -1;
  background-image:
    linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 70% at 60% 45%, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 60% 45%, #000 30%, transparent 80%);
}
.hero-grid {
  display: grid; grid-template-columns: 1.05fr .95fr;
  align-items: center; gap: clamp(32px, 5vw, 72px);
}
.hero .eyebrow { color: var(--orange-400); }
.hero h1 {
  margin-top: 20px;
  font-size: clamp(2.375rem, 4.6vw, 3.75rem);
  font-weight: 800;
  letter-spacing: -0.035em;
}
.hero h1 .grad {
  background: linear-gradient(90deg, var(--orange-300), var(--orange-500) 55%, var(--orange-600));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-lead {
  margin-top: 24px; max-width: 580px;
  font-size: clamp(1.0625rem, 1.6vw, 1.25rem);
  color: var(--slate-300);
}
.hero-lead strong { color: var(--white); font-weight: 700; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }

.hero-pills {
  display: flex; flex-wrap: wrap; gap: 10px 22px;
  margin: 44px 0 0; padding: 0; list-style: none;
}
.hero-pills li {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .9375rem; font-weight: 600; color: var(--slate-300);
}
.hero-pills svg { width: 18px; height: 18px; color: var(--orange-500); flex: none; }

/* Hero visual: AI integration hub */
.hub {
  position: relative; width: 100%; max-width: 540px; margin-inline: auto;
  aspect-ratio: 1;
}
.hub-svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.hub-ring { fill: none; stroke: rgba(255, 255, 255, .10); stroke-width: 1; }
.hub-ring--dash { stroke: rgba(249, 115, 22, .35); stroke-dasharray: 2 8; }
.hub-line { stroke: rgba(249, 115, 22, .45); stroke-width: 1.5; fill: none; }
.hub-flow {
  stroke: var(--orange-400); stroke-width: 2.5; fill: none; stroke-linecap: round;
  stroke-dasharray: 10 190; animation: flow 3.2s linear infinite;
}
.hub-flow:nth-of-type(2n) { animation-delay: -1.1s; }
.hub-flow:nth-of-type(3n) { animation-delay: -2.2s; }
@keyframes flow { to { stroke-dashoffset: -200; } }

.hub-core {
  position: absolute; left: 50%; top: 50%;
  width: 34%; height: 34%;
  transform: translate(-50%, -50%);
  display: grid; place-items: center;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 40%, rgba(30, 41, 59, .95), rgba(7, 12, 24, .95));
  border: 1px solid rgba(249, 115, 22, .45);
  box-shadow: 0 0 0 10px rgba(249, 115, 22, .06), 0 0 80px rgba(249, 115, 22, .35);
}
.hub-core img { width: 58%; height: auto; animation: spin 24s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.hub-core::after {
  content: ""; position: absolute; inset: -10px; border-radius: 50%;
  border: 1px solid rgba(249, 115, 22, .5);
  animation: pulse 2.8s var(--ease-out) infinite;
}
@keyframes pulse {
  from { transform: scale(1); opacity: .8; }
  to   { transform: scale(1.45); opacity: 0; }
}

.hub-node {
  position: absolute;
  transform: translate(-50%, -50%);
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 14px 9px 10px;
  border-radius: 999px;
  background: rgba(17, 26, 46, .88);
  border: 1px solid rgba(255, 255, 255, .12);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  font-size: .8125rem; font-weight: 700; color: var(--white);
  white-space: nowrap;
  box-shadow: 0 10px 24px -12px rgba(0, 0, 0, .7);
  animation: float 6s ease-in-out infinite;
}
.hub-node .ico {
  width: 28px; height: 28px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(249, 115, 22, .16); color: var(--orange-400);
}
.hub-node svg { width: 16px; height: 16px; }
.hub-node:nth-child(odd) { animation-delay: -3s; }
@keyframes float {
  0%, 100% { margin-top: 0; }
  50% { margin-top: -8px; }
}

.scroll-cue {
  position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%);
  width: 26px; height: 42px; border-radius: 14px;
  border: 2px solid rgba(255, 255, 255, .3);
}
.scroll-cue::after {
  content: ""; position: absolute; left: 50%; top: 8px;
  width: 4px; height: 8px; margin-left: -2px; border-radius: 2px;
  background: var(--orange-500);
  animation: cue 1.8s ease-in-out infinite;
}
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

@media (max-width: 980px) {
  .hero { min-height: auto; padding-top: 128px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hub { max-width: 440px; margin-top: 16px; }
  .scroll-cue { display: none; }
}
@media (max-width: 520px) {
  .hub-node { font-size: .75rem; padding: 7px 11px 7px 7px; }
  .hub-node .ico { width: 24px; height: 24px; }
  .hero-cta .btn { flex: 1 1 100%; }
}

/* =========================================================
   Value pillars
   ========================================================= */
.pillars { position: relative; margin-top: -56px; z-index: 2; }
.pillars-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: 0 30px 60px -30px rgba(15, 23, 42, .35);
  overflow: hidden;
}
.pillar { padding: clamp(28px, 3.5vw, 40px); position: relative; }
.pillar + .pillar { border-left: 1px solid var(--color-border); }
.pillar-icon {
  width: 56px; height: 56px; border-radius: 16px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--orange-400), var(--orange-600));
  color: var(--white);
  box-shadow: var(--shadow-orange);
}
.pillar-icon svg { width: 26px; height: 26px; }
.pillar h3 { margin-top: 22px; font-size: 1.375rem; font-weight: 800; }
.pillar p { margin-top: 10px; color: var(--color-muted); }

@media (max-width: 860px) {
  .pillars { margin-top: -32px; }
  .pillars-grid { grid-template-columns: 1fr; }
  .pillar + .pillar { border-left: 0; border-top: 1px solid var(--color-border); }
}

/* =========================================================
   About / statement
   ========================================================= */
.about-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 88px);
  align-items: center;
}
.about-quote {
  font-size: clamp(1.5rem, 2.8vw, 2.125rem);
  font-weight: 700; line-height: 1.35; letter-spacing: -0.015em;
  margin-top: 18px;
}
.about-quote mark {
  background: linear-gradient(transparent 62%, rgba(249, 115, 22, .28) 62%);
  color: inherit; padding: 0 2px;
}
.about-copy p { color: var(--color-muted); font-size: 1.0625rem; }
.about-copy p + p { margin-top: 16px; }
.checklist { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 14px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; font-weight: 600; }
.checklist svg {
  width: 22px; height: 22px; flex: none; margin-top: 1px;
  color: var(--orange-600);
}
@media (max-width: 860px) { .about-grid { grid-template-columns: 1fr; } }

/* =========================================================
   Solutions
   ========================================================= */
.solutions { background: var(--white); border-block: 1px solid var(--color-border); }
.cards {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
.card {
  position: relative;
  padding: 32px;
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  transition: transform .25s var(--ease-out), box-shadow .25s var(--ease-out), border-color .25s ease;
  overflow: hidden;
}
.card::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 3px;
  background: linear-gradient(90deg, var(--orange-400), var(--orange-600));
  transform: scaleX(0); transform-origin: left;
  transition: transform .35s var(--ease-out);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.card:hover::before { transform: scaleX(1); }
.card-icon {
  width: 48px; height: 48px; border-radius: 14px;
  display: grid; place-items: center;
  background: #FFF4EC; color: var(--orange-600);
  transition: background-color .25s ease, color .25s ease;
}
.card:hover .card-icon { background: var(--orange-500); color: var(--white); }
.card-icon svg { width: 24px; height: 24px; }
.card h3 { margin-top: 20px; font-size: 1.1875rem; font-weight: 800; }
.card p { margin-top: 10px; color: var(--color-muted); font-size: .96875rem; }

@media (max-width: 980px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .cards { grid-template-columns: 1fr; } .card { padding: 26px; } }

/* =========================================================
   Process
   ========================================================= */
.steps {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
  counter-reset: step;
  position: relative;
}
.steps::before {
  content: ""; position: absolute; top: 27px; left: 28px; right: 28px; height: 2px;
  background: repeating-linear-gradient(90deg, var(--orange-300) 0 8px, transparent 8px 16px);
}
.step { position: relative; counter-increment: step; }
.step-num {
  position: relative;
  width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--navy-900); color: var(--white);
  font-family: var(--font-display); font-weight: 700; font-size: 1.0625rem;
  border: 4px solid var(--color-bg);
  box-shadow: 0 0 0 2px var(--orange-500);
}
.step-num::before { content: "0" counter(step); }
.step h3 { margin-top: 22px; font-size: 1.1875rem; font-weight: 800; }
.step p { margin-top: 8px; color: var(--color-muted); font-size: .96875rem; }

@media (max-width: 900px) {
  .steps { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .steps::before { display: none; }
}
@media (max-width: 560px) {
  .steps { grid-template-columns: 1fr; }
  .step { display: grid; grid-template-columns: 56px 1fr; column-gap: 18px; }
  .step h3 { margin-top: 4px; }
  .step p { grid-column: 2; }
}

/* =========================================================
   CTA
   ========================================================= */
.cta { padding: 0 0 var(--section-y); }
.cta-box {
  position: relative; overflow: hidden; isolation: isolate;
  padding: clamp(40px, 7vw, 80px);
  border-radius: 28px;
  color: var(--white);
  background:
    radial-gradient(600px 360px at 100% 0%, rgba(249, 115, 22, .35), transparent 60%),
    radial-gradient(500px 300px at 0% 100%, rgba(234, 88, 12, .18), transparent 60%),
    var(--navy-900);
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: center;
}
.cta-box::after {
  content: ""; position: absolute; z-index: -1;
  right: -60px; bottom: -80px; width: 360px; height: 360px;
  background: url("../img/logo_icon.png") center / contain no-repeat;
  opacity: .08;
}
.cta-box h2 { font-size: clamp(1.875rem, 4vw, 2.75rem); font-weight: 800; }
.cta-box p { margin-top: 16px; color: var(--slate-300); font-size: 1.125rem; max-width: 560px; }
.cta-actions { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.cta-contact {
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 44px;
  color: var(--slate-300); font-weight: 600;
  transition: color .2s ease;
}
.cta-contact:hover { color: var(--white); }
.cta-contact svg { width: 20px; height: 20px; color: var(--orange-400); }
@media (max-width: 860px) { .cta-box { grid-template-columns: 1fr; } }

/* =========================================================
   Footer
   ========================================================= */
.site-footer {
  background: var(--white);
  border-top: 1px solid var(--color-border);
  padding: 48px 0 32px;
}
.footer-top {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px;
}
.footer-logo img { width: 240px; height: auto; }
.footer-links { display: flex; flex-wrap: wrap; gap: 4px; list-style: none; margin: 0; padding: 0; }
.footer-links a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px;
  color: var(--color-muted); font-weight: 600; font-size: .9375rem;
  transition: color .2s ease;
}
.footer-links a:hover { color: var(--color-accent-text); }
.footer-bottom {
  margin-top: 28px; padding-top: 24px;
  border-top: 1px solid var(--color-border);
  color: var(--slate-500); font-size: .875rem;
}

/* =========================================================
   Reveal on scroll
   ========================================================= */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease-out), transform .7s var(--ease-out); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .08s; }
.reveal[data-delay="2"] { transition-delay: .16s; }
.reveal[data-delay="3"] { transition-delay: .24s; }
.reveal[data-delay="4"] { transition-delay: .32s; }
.reveal[data-delay="5"] { transition-delay: .40s; }
.no-js .reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  .hub-flow { display: none; }
}
