/* NEXOBEAT — generated imagery + dimensional interface layer */

body::before {
  opacity: .11;
}

/* Contain decorative perspective layers without creating a scroll container. */
main {
  overflow-x: clip;
}

.nav-wrap.scrolled {
  background: rgba(5, 7, 8, .7);
  -webkit-backdrop-filter: blur(22px) saturate(125%);
  backdrop-filter: blur(22px) saturate(125%);
  box-shadow: 0 14px 44px rgba(0, 0, 0, .22);
}

.hero {
  position: relative;
  isolation: isolate;
}

.hero::before {
  content: "";
  position: absolute;
  z-index: -2;
  top: -84px;
  bottom: 0;
  left: 50%;
  width: 100vw;
  transform: translateX(-50%);
  pointer-events: none;
  background:
    linear-gradient(90deg, #050708 0%, rgba(5, 7, 8, .96) 29%, rgba(5, 7, 8, .7) 52%, rgba(5, 7, 8, .22) 100%),
    linear-gradient(180deg, rgba(5, 7, 8, .14) 48%, #050708 100%),
    url("./vectra-ai-neural-field.webp") right center / cover no-repeat;
}

.hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  top: -84px;
  bottom: 0;
  left: 50%;
  width: 100vw;
  transform: translateX(-50%);
  pointer-events: none;
  opacity: .28;
  mix-blend-mode: screen;
  background:
    linear-gradient(112deg, transparent 0 56%, rgba(53, 222, 255, .08) 56.15%, transparent 56.35%),
    linear-gradient(112deg, transparent 0 68%, rgba(99, 255, 176, .075) 68.1%, transparent 68.28%),
    repeating-linear-gradient(90deg, transparent 0 118px, rgba(53, 222, 255, .04) 119px 120px);
  -webkit-mask-image: linear-gradient(90deg, transparent 8%, #000 48%, #000 100%);
  mask-image: linear-gradient(90deg, transparent 8%, #000 48%, #000 100%);
  animation: nexobeat-field-drift 18s linear infinite alternate;
}

.hero h1 {
  text-wrap: balance;
  text-shadow: 0 12px 46px rgba(0, 0, 0, .52);
}

.hero h1 .signal {
  -webkit-text-stroke-color: rgba(237, 245, 244, .76);
  text-shadow: 0 0 34px rgba(53, 222, 255, .08);
}

.proof {
  box-shadow: 0 22px 54px rgba(0, 0, 0, .2);
}

.proof > div {
  background: rgba(5, 7, 8, .62);
  -webkit-backdrop-filter: blur(15px) saturate(120%);
  backdrop-filter: blur(15px) saturate(120%);
}

.visual {
  filter: drop-shadow(0 0 30px rgba(53, 222, 255, .1));
}

.visual::before {
  opacity: .74;
}

.visual::after {
  height: 2px;
  opacity: .76;
}

.orbit {
  border-color: rgba(53, 222, 255, .26);
  box-shadow: inset 0 0 34px rgba(53, 222, 255, .025);
}

.core {
  background: radial-gradient(circle at 50% 45%, rgba(99, 255, 176, .16), rgba(5, 7, 8, .7) 66%);
  -webkit-backdrop-filter: blur(9px);
  backdrop-filter: blur(9px);
  box-shadow: inset 0 0 60px rgba(99, 255, 176, .065), 0 0 82px rgba(53, 222, 255, .13);
}

.signal-label {
  color: #a6b4b3;
  background: rgba(5, 7, 8, .63);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, .2), inset 0 1px rgba(255, 255, 255, .03);
}

.trust-strip {
  position: relative;
  background: rgba(8, 13, 15, .76);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  box-shadow: 0 -18px 55px rgba(0, 0, 0, .28);
}

.outcome {
  isolation: isolate;
  box-shadow: inset 0 1px rgba(255, 255, 255, .018);
}

.outcome::before {
  position: absolute;
  z-index: -1;
  right: 14px;
  bottom: -34px;
  color: rgba(237, 245, 244, .035);
  font: 760 8rem/1 var(--mono);
  letter-spacing: -.1em;
}

.outcome:nth-child(1)::before { content: "01"; }
.outcome:nth-child(2)::before { content: "02"; }
.outcome:nth-child(3)::before { content: "03"; }

#services {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-top-color: rgba(188, 236, 233, .2);
}

#services::before {
  content: "";
  position: absolute;
  z-index: -2;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(5, 7, 8, .97) 0%, rgba(5, 7, 8, .7) 48%, rgba(5, 7, 8, .75) 76%, rgba(5, 7, 8, .93) 100%),
    linear-gradient(180deg, #050708 0%, transparent 18%, transparent 72%, #050708 100%),
    url("./vectra-ai-topology.webp") center / cover no-repeat;
  opacity: .9;
}

#services::after {
  content: "INTELLIGENCE / INFRASTRUCTURE";
  position: absolute;
  z-index: -1;
  top: 94px;
  right: max(24px, calc((100vw - 1180px) / 2));
  color: rgba(189, 232, 230, .22);
  font: .68rem/1 var(--mono);
  letter-spacing: .2em;
  writing-mode: vertical-rl;
}

.service {
  background: linear-gradient(145deg, rgba(11, 16, 19, .79), rgba(5, 7, 8, .46));
  -webkit-backdrop-filter: blur(17px) saturate(116%);
  backdrop-filter: blur(17px) saturate(116%);
  box-shadow: inset 0 1px rgba(255, 255, 255, .026), 0 22px 52px rgba(0, 0, 0, .15);
}

.service:hover {
  transform: translateY(-3px);
  border-color: rgba(53, 222, 255, .42);
  box-shadow: inset 0 1px rgba(255, 255, 255, .04), 0 26px 64px rgba(0, 0, 0, .22), 0 0 34px rgba(53, 222, 255, .04);
}

.service > * {
  position: relative;
  z-index: 1;
}

.service::after {
  position: absolute;
  z-index: 0;
  right: 22px;
  bottom: -46px;
  color: rgba(237, 245, 244, .038);
  font: 760 10rem/1 var(--mono);
  letter-spacing: -.12em;
  pointer-events: none;
}

.service:nth-child(1)::after { content: "01"; }
.service:nth-child(2)::after { content: "02"; }
.service:nth-child(3)::after { content: "03"; }

#solutions {
  position: relative;
  isolation: isolate;
}

#solutions::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 84px;
  right: -16vw;
  width: 48vw;
  height: 48vw;
  max-width: 680px;
  max-height: 680px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(53, 222, 255, .075), rgba(99, 255, 176, .022) 42%, transparent 70%);
  filter: blur(4px);
  pointer-events: none;
}

.solutions-shell {
  position: relative;
  background: rgba(7, 12, 14, .57);
  -webkit-backdrop-filter: blur(22px) saturate(122%);
  backdrop-filter: blur(22px) saturate(122%);
  box-shadow: 0 34px 90px rgba(0, 0, 0, .34), inset 0 1px rgba(255, 255, 255, .035);
}

.solutions-shell::before {
  content: "SYSTEM / SCENARIO MATRIX";
  position: absolute;
  top: -29px;
  right: 0;
  color: rgba(145, 160, 159, .72);
  font: .66rem/1 var(--mono);
  letter-spacing: .15em;
}

.solution-tab {
  position: relative;
}

.solution-tab::before {
  content: "";
  position: absolute;
  left: -18px;
  top: 15px;
  bottom: 15px;
  width: 2px;
  background: linear-gradient(var(--cyan), var(--green));
  box-shadow: 0 0 13px rgba(99, 255, 176, .48);
  opacity: 0;
  transform: scaleY(.2);
  transition: opacity .25s ease, transform .35s var(--ease);
}

.solution-tab[aria-selected="true"]::before {
  opacity: 1;
  transform: scaleY(1);
}

.solution-panel::before {
  width: 68%;
  height: 100%;
  top: 0;
  right: 0;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  opacity: .14;
  mix-blend-mode: screen;
  background: url("./vectra-ai-topology.webp") 72% center / cover no-repeat;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 40%);
  mask-image: linear-gradient(90deg, transparent, #000 40%);
}

.solution-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .2;
  background-image: radial-gradient(rgba(53, 222, 255, .35) .7px, transparent .8px);
  background-size: 22px 22px;
  -webkit-mask-image: linear-gradient(90deg, transparent 35%, #000);
  mask-image: linear-gradient(90deg, transparent 35%, #000);
}

.panel-card {
  position: relative;
  z-index: 1;
  background: linear-gradient(145deg, rgba(5, 7, 8, .62), rgba(11, 16, 19, .42));
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: inset 0 1px rgba(255, 255, 255, .025);
}

.panel-card small::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 9px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 11px var(--green);
  vertical-align: 1px;
}

#method {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

#method::before {
  content: "";
  position: absolute;
  z-index: -1;
  left: -12%;
  right: -12%;
  bottom: -48%;
  height: 82%;
  pointer-events: none;
  opacity: .16;
  transform: perspective(760px) rotateX(62deg) scale(1.28);
  transform-origin: center bottom;
  background-image:
    linear-gradient(rgba(53, 222, 255, .22) 1px, transparent 1px),
    linear-gradient(90deg, rgba(99, 255, 176, .18) 1px, transparent 1px);
  background-size: 58px 58px;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 42%, transparent 96%);
  mask-image: linear-gradient(to bottom, transparent 0%, #000 42%, transparent 96%);
}

.process::before {
  height: 2px;
  box-shadow: 0 0 18px rgba(53, 222, 255, .22);
}

.step-node {
  background: radial-gradient(circle, rgba(53, 222, 255, .07), rgba(5, 7, 8, .92) 66%);
  box-shadow: 0 0 36px rgba(53, 222, 255, .075), inset 0 0 24px rgba(99, 255, 176, .025);
}

.step-node::before {
  content: "";
  position: absolute;
  inset: -7px;
  border: 1px solid rgba(53, 222, 255, .11);
  border-radius: 50%;
}

.metrics {
  box-shadow: 0 28px 80px rgba(0, 0, 0, .2);
}

.metric {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.metric::before {
  content: "";
  position: absolute;
  z-index: -1;
  left: 34px;
  right: 34px;
  bottom: 28px;
  height: 38px;
  opacity: .18;
  background:
    linear-gradient(170deg, transparent 0 14%, var(--cyan) 15% 16%, transparent 17% 31%, var(--green) 32% 33%, transparent 34% 55%, var(--cyan) 56% 57%, transparent 58%),
    repeating-linear-gradient(90deg, var(--line-strong) 0 1px, transparent 1px 13px);
  -webkit-mask-image: linear-gradient(90deg, #000, transparent 86%);
  mask-image: linear-gradient(90deg, #000, transparent 86%);
}

.cta-section {
  background:
    linear-gradient(90deg, rgba(53, 222, 255, .075), transparent 46%),
    linear-gradient(120deg, rgba(53, 222, 255, .045), rgba(99, 255, 176, .055));
  box-shadow: inset 0 1px rgba(255, 255, 255, .02);
}

.cta-section::after {
  content: "";
  position: absolute;
  left: -12%;
  top: 23%;
  width: 54%;
  height: 1px;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, var(--cyan), var(--green), transparent);
  box-shadow: 0 0 20px rgba(53, 222, 255, .38);
  transform: rotate(-6deg);
  opacity: .45;
}

@keyframes nexobeat-field-drift {
  from { background-position: 0 0, 0 0, 0 0; }
  to { background-position: 0 0, 0 0, 46px 0; }
}

@media (max-width: 980px) {
  .hero::before {
    background:
      linear-gradient(90deg, #050708 0%, rgba(5, 7, 8, .92) 36%, rgba(5, 7, 8, .42) 100%),
      linear-gradient(180deg, rgba(5, 7, 8, .2) 48%, #050708 100%),
      url("./vectra-ai-neural-field.webp") 65% center / cover no-repeat;
  }

  #services::before {
    background-position: center, center, 64% center;
  }
}

@media (max-width: 760px) {
  .hero h1 {
    font-size: clamp(2.7rem, 13vw, 4.1rem);
    letter-spacing: -.068em;
  }

  html[lang="en"] .hero h1 {
    font-size: clamp(2.55rem, 12vw, 3.75rem);
    letter-spacing: -.052em;
  }

  .hero::before {
    top: -72px;
    bottom: 42%;
    background:
      linear-gradient(180deg, rgba(5, 7, 8, .32) 0%, rgba(5, 7, 8, .58) 35%, #050708 93%),
      linear-gradient(90deg, rgba(5, 7, 8, .68), rgba(5, 7, 8, .2)),
      url("./vectra-ai-neural-field.webp") 68% 12% / auto 66% no-repeat;
  }

  .hero::after {
    top: -72px;
    opacity: .18;
  }

  .hero-copy {
    padding-top: 8px;
  }

  .proof > div {
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
  }

  #services::before {
    opacity: .54;
    background:
      linear-gradient(180deg, #050708 0%, rgba(5, 7, 8, .74) 30%, rgba(5, 7, 8, .76) 70%, #050708 100%),
      url("./vectra-ai-topology.webp") 68% center / auto 100% no-repeat;
  }

  #services::after,
  .solutions-shell::before {
    display: none;
  }

  .service {
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
  }

  .service::after {
    font-size: 7rem;
  }

  .solution-panel::before {
    width: 100%;
    opacity: .09;
  }

  #method::before {
    bottom: -22%;
    height: 60%;
    opacity: .1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero::after {
    animation: none;
  }

  .visual {
    transform: none !important;
  }
}

.legal-strip {
  padding: 62px 0;
  border-top: 1px solid var(--line);
  background: linear-gradient(125deg, rgba(53, 222, 255, .025), rgba(99, 255, 176, .045));
}

.legal-strip__heading {
  margin-bottom: 28px;
}

.legal-strip__heading .kicker {
  margin-bottom: 16px;
}

.legal-strip__heading h2 {
  margin: 0;
  font-size: clamp(1.8rem, 3vw, 2.7rem);
  line-height: 1.2;
  letter-spacing: -.035em;
}

.legal-strip__heading p:last-child {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: .9rem;
}

.legal-strip__links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.legal-strip__links a {
  min-height: 166px;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 14px;
  padding: 25px 40px 25px 24px;
  border: 1px solid rgba(99, 255, 176, .28);
  background: rgba(5, 7, 8, .58);
  transition: background .22s ease, border-color .22s ease;
}

.legal-strip__links a:hover {
  border-color: var(--green);
  background: rgba(99, 255, 176, .07);
}

.legal-strip__index {
  color: var(--green);
  font: .65rem/1.2 var(--mono);
  letter-spacing: .1em;
}

.legal-strip__links strong {
  font-size: 1rem;
  line-height: 1.5;
}

.legal-strip__links a > span:last-of-type {
  color: #a8b8b5;
  font-size: .8rem;
  line-height: 1.6;
}

.legal-strip__links i {
  position: absolute;
  top: 25px;
  right: 20px;
  color: var(--green);
  font-size: 1.2rem;
  font-style: normal;
}

.cta-inner p.contact-status {
  padding-left: 14px;
  border-left: 2px solid rgba(99, 255, 176, .45);
  font-size: .82rem;
  line-height: 1.7;
  color: var(--muted);
}

.footer-brand,
.footer-meta {
  min-width: 0;
}

.footer-brand p.footer-company {
  max-width: 100%;
  color: #c9d6d4;
  font: .79rem/1.8 var(--mono);
  letter-spacing: .025em;
  overflow-wrap: anywhere;
}

.footer-meta {
  overflow-wrap: anywhere;
}

.footer-legal {
  margin-top: 30px;
  padding-top: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 30px;
  border-top: 1px solid var(--line);
}

.footer-legal a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: #c9d6d4;
  font-size: .86rem;
  text-decoration: underline;
  text-underline-offset: 5px;
  text-decoration-color: rgba(99, 255, 176, .45);
}

.footer-legal a:hover {
  color: var(--green);
  text-decoration-color: var(--green);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-actions .lang-toggle {
  width: 164px;
  margin: 0;
  padding-inline: 10px 22px;
  font: .75rem/1.2 var(--font);
  letter-spacing: 0;
  color-scheme: dark;
  border-radius: 2px;
}

.lang-toggle option {
  color: var(--text);
  background: var(--surface);
}

html[lang="es-MX"] .hero h1 {
  max-width: 850px;
  letter-spacing: -.06em;
}

html[lang="es-MX"] .section-heading h2,
html[lang="es-MX"] .principles h2 {
  letter-spacing: -.048em;
}

html[lang="es-MX"] #services::after {
  content: "INTELIGENCIA / INFRAESTRUCTURA";
}

html[lang="es-MX"] .solutions-shell::before {
  content: "SISTEMA / MATRIZ DE CASOS DE USO";
}

@media (min-width: 761px) and (max-width: 1040px) {
  .menu-toggle {
    display: grid;
  }

  .nav-links {
    position: absolute;
    top: 84px;
    left: -20px;
    right: -20px;
    display: grid;
    gap: 0;
    padding: 16px;
    border-bottom: 1px solid var(--line);
    background: rgba(5, 7, 8, .97);
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: .24s ease;
  }

  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav-links a {
    min-height: 50px;
    display: flex;
    align-items: center;
    padding: 0 12px;
    border-bottom: 1px solid var(--line);
  }

  .nav-links a::after {
    display: none;
  }

  .nav-cta {
    margin-top: 12px;
    justify-content: center;
  }
}

@media (max-width: 760px) {
  .nav {
    gap: 8px;
  }

  .nav > .brand {
    gap: 8px;
    font-size: .87rem;
  }

  .nav > .brand .brand-mark {
    flex: 0 0 28px;
    width: 28px;
    height: 28px;
  }

  .nav-actions {
    gap: 6px;
  }

  .nav-actions .lang-toggle {
    width: 128px;
    min-width: 0;
    padding-inline: 7px 15px;
    font-size: .64rem;
  }

  .nav-actions .menu-toggle {
    width: 38px;
    height: 42px;
  }

  html[lang="es-MX"] .hero h1 {
    font-size: clamp(2.45rem, 11.6vw, 3.75rem);
    letter-spacing: -.052em;
  }

  .legal-strip {
    padding: 48px 0;
  }

  .legal-strip__links {
    grid-template-columns: 1fr;
  }

  .legal-strip__links a {
    min-height: 142px;
  }

  .footer-legal {
    gap: 4px 22px;
  }

  .ai-intro__top {
    gap: 10px;
  }

  .ai-intro__brand {
    min-width: 0;
    gap: 8px;
    font-size: .6rem;
    line-height: 1.4;
    letter-spacing: .06em;
  }

  .ai-intro__brand i {
    flex: 0 0 8px;
  }

  .ai-intro__skip {
    min-width: 96px;
    flex: 0 0 auto;
    padding-inline: 10px;
    font-size: .67rem;
  }
}
