:root {
  --ink: #0a0a0b;
  --panel: #111113;
  --line: #2b2b2e;
  --muted: #9b9ba3;
  --paper: #f2f0e9;
  --accent: #8da2ff;
}

html {
  background: var(--ink);
}

body {
  background: var(--ink);
  color: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 15px;
  letter-spacing: -0.01em;
}

@keyframes hero-rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes hero-visual {
  from {
    opacity: 0;
    transform: translateX(22px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.reveal {
  filter: none;
  transform: translateY(22px);
  transition: opacity 650ms cubic-bezier(0.22, 1, 0.36, 1),
              transform 650ms cubic-bezier(0.22, 1, 0.36, 1) !important;
}

.reveal.in {
  filter: none;
  transform: translateY(0);
}

#productos .mt-10.grid > .reveal:nth-child(even),
#planes .mt-10.grid > .reveal:nth-child(even) {
  transition-delay: 90ms !important;
}

body > div:first-child {
  background: var(--paper);
  border: 0;
  color: var(--ink);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

body > div:first-child a {
  color: var(--ink) !important;
  font-weight: 650;
  white-space: nowrap;
}

@keyframes ticker-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.top-ticker {
  min-width: 0;
  max-width: 720px;
  overflow: hidden;
  color: var(--ink);
  font-size: 0.7rem;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  mask-image: linear-gradient(to right, transparent, black 4%, black 96%, transparent);
}

.top-ticker-track {
  display: flex;
  width: max-content;
  animation: ticker-scroll 26s linear infinite;
  will-change: transform;
}

.top-ticker:hover .top-ticker-track {
  animation-play-state: paused;
}

.top-ticker-group {
  display: inline-flex;
  align-items: center;
  gap: 1.25rem;
  padding-right: 3rem;
}

.top-ticker-group i {
  width: 7px;
  height: 7px;
  flex: 0 0 auto;
  border-radius: 999px;
  background: #315efb;
  box-shadow: 0 0 0 4px rgba(49, 94, 251, 0.12);
}

.top-ticker-group b {
  color: #73737a;
  font-weight: 500;
}

nav {
  background: rgba(10, 10, 11, 0.94) !important;
  border-color: var(--line) !important;
}

nav a {
  letter-spacing: -0.01em;
}

section {
  border-top: 1px solid var(--line);
}

#inicio {
  border-top: 0;
  min-height: calc(100vh - 100px);
  display: flex;
  align-items: center;
}

#inicio > .absolute,
section > .absolute.-z-10 {
  display: none;
}

h1,
h2,
h3 {
  letter-spacing: -0.045em;
}

h1 {
  max-width: 760px;
  font-size: clamp(3rem, 5.3vw, 5.25rem) !important;
  line-height: 0.98 !important;
  font-weight: 600 !important;
}

h2 {
  font-size: clamp(2.2rem, 4vw, 4rem) !important;
  line-height: 1 !important;
  font-weight: 550 !important;
}

h3 {
  font-weight: 550 !important;
}

.text-slate-200,
.text-slate-300 {
  color: #d5d5d8 !important;
}

.text-slate-400,
.text-slate-500 {
  color: var(--muted) !important;
}

.text-indigo-300,
.text-indigo-400 {
  color: var(--accent) !important;
}

.border-slate-700,
.border-slate-800,
.border-slate-900,
.border-indigo-700 {
  border-color: var(--line) !important;
}

.bg-white\/5,
.bg-indigo-600\/10,
.bg-black\/30,
.bg-gradient-to-b,
.bg-gradient-to-br {
  background: transparent !important;
}

.bg-indigo-600 {
  background: var(--paper) !important;
  color: var(--ink) !important;
}

.hover\:bg-indigo-700:hover {
  background: white !important;
}

.rounded-xl,
.rounded-2xl,
.rounded-3xl {
  border-radius: 5px !important;
}

#inicio .inline-flex.rounded-full {
  border: 0;
  padding-left: 0;
  background: transparent;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.72rem;
}

#inicio .inline-flex.rounded-full span:first-child,
body > div:first-child .animate-pulse {
  animation: none;
  background: currentColor;
}

#inicio .grid.lg\:grid-cols-2 {
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  gap: 5rem;
}

#inicio .grid.lg\:grid-cols-2 > div:first-child > * {
  opacity: 0;
  animation: hero-rise 700ms cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

#inicio .grid.lg\:grid-cols-2 > div:first-child > *:nth-child(1) { animation-delay: 80ms; }
#inicio .grid.lg\:grid-cols-2 > div:first-child > *:nth-child(2) { animation-delay: 150ms; }
#inicio .grid.lg\:grid-cols-2 > div:first-child > *:nth-child(3) { animation-delay: 220ms; }
#inicio .grid.lg\:grid-cols-2 > div:first-child > *:nth-child(4) { animation-delay: 290ms; }
#inicio .grid.lg\:grid-cols-2 > div:first-child > *:nth-child(5) { animation-delay: 360ms; }

#inicio .grid.lg\:grid-cols-2 > div:last-child {
  opacity: 0;
  animation: hero-visual 850ms 260ms cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

#inicio .relative > .border.overflow-hidden {
  background: var(--panel) !important;
  border-radius: 5px !important;
}

#inicio img[alt*="Dashboard"] {
  filter: grayscale(1) contrast(1.08);
  opacity: 0.78;
}

@keyframes tech-dash {
  to { stroke-dashoffset: -52; }
}

@keyframes tech-core-pulse {
  0%, 100% { transform: scale(1); opacity: 0.88; }
  50% { transform: scale(1.035); opacity: 1; }
}

@keyframes tech-node-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

@keyframes data-ping {
  0%, 100% { opacity: 0.25; transform: scale(0.7); }
  50% { opacity: 1; transform: scale(1.6); }
}

.tech-visual {
  position: relative;
  background: #0d0d10 !important;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.34);
}

.tech-visual::after {
  content: "";
  position: absolute;
  inset: 42px 0 42px;
  pointer-events: none;
  background: linear-gradient(105deg, transparent 35%, rgba(141, 162, 255, 0.06) 49%, transparent 63%);
  transform: translateX(-100%);
  animation: tech-scan 6s ease-in-out infinite;
}

@keyframes tech-scan {
  0%, 25% { transform: translateX(-100%); }
  70%, 100% { transform: translateX(100%); }
}

.tech-visual-header,
.tech-visual-footer {
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0 1rem;
  color: #a5a5ad;
  border-bottom: 1px solid var(--line);
  font: 600 0.62rem/1 ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: 0.08em;
}

.tech-status {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: #d6d6da;
}

.tech-status i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #6fe3a3;
  box-shadow: 0 0 10px rgba(111, 227, 163, 0.8);
}

.tech-diagram {
  display: block;
  width: 100%;
  color: #f2f0e9;
}

.tech-lines {
  animation: tech-dash 3.2s linear infinite;
}

.tech-core {
  transform-box: fill-box;
  transform-origin: center;
  animation: tech-core-pulse 3.5s ease-in-out infinite;
}

.tech-node {
  color: #d9d9de;
  stroke: currentColor;
  stroke-width: 1.4;
  transform-box: fill-box;
  transform-origin: center;
  animation: tech-node-float 4s ease-in-out infinite;
}

.tech-node-2 { animation-delay: -1s; }
.tech-node-3 { animation-delay: -2s; }
.tech-node-4 { animation-delay: -3s; }

.tech-node text {
  fill: #9fa0aa;
  stroke: none;
  font: 600 11px/1 ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: 0.04em;
}

.data-pulse {
  transform-box: fill-box;
  transform-origin: center;
  animation: data-ping 2.4s ease-in-out infinite;
}

.data-pulse-2 { animation-delay: -0.6s; }
.data-pulse-3 { animation-delay: -1.2s; }
.data-pulse-4 { animation-delay: -1.8s; }

.tech-visual-footer {
  min-height: 48px;
  justify-content: center;
  border-top: 1px solid var(--line);
  border-bottom: 0;
  color: #e1e1e5;
}

.tech-visual-footer i {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--accent);
}

#inicio .absolute.-bottom-6 {
  background: var(--paper) !important;
  color: var(--ink);
  border: 0;
  border-radius: 3px !important;
}

#inicio .absolute.-bottom-6 p {
  color: var(--ink) !important;
}

#inicio .mt-8.grid {
  counter-reset: principles;
}

#inicio .mt-8.grid > div {
  min-height: 130px;
  background: transparent !important;
  border-width: 1px 0 0;
  border-radius: 0 !important;
  padding-left: 0;
}

#servicios .mt-10.grid {
  counter-reset: services;
}

#servicios .mt-10.grid > div {
  counter-increment: services;
  min-height: 210px;
  border-width: 1px 0 0;
  border-radius: 0 !important;
  padding: 1.5rem 1.5rem 1.5rem 0;
}

#servicios .mt-10.grid > div::before {
  content: "0" counter(services);
  display: block;
  margin-bottom: 2.6rem;
  color: var(--muted);
  font: 500 0.72rem/1 ui-monospace, SFMono-Regular, Menlo, monospace;
}

#productos .mt-10.grid > div {
  background: var(--panel) !important;
  border: 1px solid var(--line) !important;
  border-radius: 5px !important;
  padding: clamp(1.5rem, 3vw, 2.5rem);
  transition: transform 280ms ease, border-color 280ms ease, background-color 280ms ease;
}

#productos .mt-10.grid > div:hover {
  transform: translateY(-5px);
  border-color: #52525a !important;
  background: #151518 !important;
}

#productos .mt-10.grid > div:nth-child(3),
#productos .mt-10.grid > div:nth-child(4) {
  background: #0d0d0f !important;
}

#productos span.rounded-full {
  background: transparent !important;
  color: var(--accent) !important;
  padding: 0;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

#productos h3 {
  font-size: clamp(2rem, 3vw, 3rem) !important;
}

#planes .mt-10.grid > div,
#proceso .mt-10.grid > div,
#testimonios .mt-10.grid > div {
  border-width: 1px 0 0;
  border-radius: 0 !important;
  background: transparent !important;
  padding-left: 0;
}

#planes .mt-10.grid > div:nth-child(2) .rounded-full {
  background: transparent !important;
  color: var(--accent) !important;
  padding-left: 0;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

#tecnologia .mt-14.grid > div {
  min-height: 270px;
  padding: 2rem 1.5rem 2rem 0;
  background: transparent !important;
  border-width: 1px 0 0 !important;
  border-radius: 0 !important;
  transition: border-color 260ms ease, transform 260ms ease !important;
}

#tecnologia .mt-14.grid > div:hover {
  border-color: var(--accent) !important;
  transform: translateY(-4px);
}

.capability-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  color: var(--accent);
  background: rgba(141, 162, 255, 0.08);
  border: 1px solid rgba(141, 162, 255, 0.24);
  border-radius: 3px;
}

.capability-icon svg {
  width: 26px;
  height: 26px;
}

details,
#contacto .border.rounded-2xl {
  background: transparent !important;
  border-radius: 0 !important;
  border-width: 1px 0 0 !important;
}

input,
select,
textarea {
  border-radius: 2px !important;
  background: #0f0f11 !important;
}

a,
button {
  transition-duration: 220ms !important;
}

a svg {
  transition: transform 220ms ease;
}

a:hover svg {
  transform: translateX(4px);
}

footer {
  background: var(--paper);
  color: var(--ink);
}

footer .text-white,
footer a,
footer p {
  color: var(--ink) !important;
}

footer img {
  filter: invert(1);
}

@media (max-width: 1023px) {
  #inicio {
    min-height: auto;
  }

  #inicio .grid.lg\:grid-cols-2 {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  #nav-links {
    background: rgba(10, 10, 11, 0.98) !important;
  }
}

@media (max-width: 640px) {
  h1 {
    font-size: 2.8rem !important;
  }

  h2 {
    font-size: 2.25rem !important;
  }

  section {
    scroll-margin-top: 4rem;
  }

  body > div:first-child > div {
    gap: 1rem;
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .top-ticker {
    max-width: 58%;
    font-size: 0.62rem;
  }

  body > div:first-child a {
    font-size: 0.62rem;
  }

  #inicio .mx-auto {
    padding-top: 4rem;
  }

  .tech-visual-footer {
    gap: 0.45rem;
    padding: 0 0.6rem;
    font-size: 0.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  #inicio .grid.lg\:grid-cols-2 > div:first-child > *,
  #inicio .grid.lg\:grid-cols-2 > div:last-child {
    opacity: 1;
    animation: none;
    transform: none;
  }

  #productos .mt-10.grid > div:hover,
  a:hover svg {
    transform: none;
  }

  .top-ticker-track {
    animation: none;
  }

  .top-ticker-group[aria-hidden="true"] {
    display: none;
  }

  .tech-lines,
  .tech-core,
  .tech-node,
  .data-pulse,
  .tech-visual::after {
    animation: none;
  }
}

/* Tema corporativo claro: blanco, azul marino y azul Bitlogit */
:root {
  --ink: #101b33;
  --panel: #ffffff;
  --line: #dce3ed;
  --muted: #5e697b;
  --paper: #f5f7fb;
  --accent: #315efb;
}

html,
body {
  background: #ffffff;
  color: var(--ink);
}

body > div:first-child {
  background: #eef3ff;
  color: var(--ink);
  border-bottom: 1px solid #dbe4ff;
}

nav {
  background: rgba(255, 255, 255, 0.94) !important;
  border-color: var(--line) !important;
  box-shadow: 0 8px 30px rgba(16, 27, 51, 0.05);
}

nav a,
nav button {
  color: var(--ink);
}

nav img,
footer img {
  filter: brightness(0) saturate(100%) invert(12%) sepia(20%) saturate(1674%) hue-rotate(184deg) brightness(91%) contrast(95%);
}

section,
footer {
  background: #ffffff;
  border-color: var(--line) !important;
}

h1,
h2,
h3,
.text-white {
  color: var(--ink) !important;
}

.text-slate-100,
.text-slate-200,
.text-slate-300 {
  color: #344056 !important;
}

.text-slate-400,
.text-slate-500 {
  color: var(--muted) !important;
}

.text-indigo-300,
.text-indigo-400 {
  color: var(--accent) !important;
}

.border-slate-700,
.border-slate-800,
.border-slate-900,
.border-indigo-700 {
  border-color: var(--line) !important;
}

.bg-white\/5,
.bg-indigo-600\/10,
.bg-black\/30,
.bg-gradient-to-b,
.bg-gradient-to-br {
  background: #ffffff !important;
}

.bg-indigo-600 {
  background: var(--accent) !important;
  color: #ffffff !important;
  border-color: var(--accent) !important;
}

.hover\:bg-indigo-700:hover {
  background: #2449ce !important;
  color: #ffffff !important;
}

#inicio .inline-flex.rounded-full {
  color: var(--accent);
}

#inicio .mt-8.grid > div,
#servicios .mt-10.grid > div,
#planes .mt-10.grid > div,
#proceso .mt-10.grid > div,
#testimonios .mt-10.grid > div,
#tecnologia .mt-14.grid > div {
  background: #ffffff !important;
  border-color: var(--line) !important;
}

#productos .mt-10.grid > div,
#productos .mt-10.grid > div:nth-child(3),
#productos .mt-10.grid > div:nth-child(4) {
  background: #ffffff !important;
  border-color: var(--line) !important;
  box-shadow: 0 18px 55px rgba(16, 27, 51, 0.07);
}

#productos .mt-10.grid > div:hover {
  background: #f8faff !important;
  border-color: #9eb1ff !important;
  box-shadow: 0 24px 65px rgba(49, 94, 251, 0.12);
}

#productos .bg-black\/30 {
  background: #f7f9fd !important;
}

#productos span.rounded-full,
#planes .mt-10.grid > div:nth-child(2) .rounded-full {
  color: var(--accent) !important;
}

#planes .mt-10.grid > div:nth-child(2) {
  background: #f7f9ff !important;
}

.capability-icon {
  background: #eef3ff;
  border-color: #cad6ff;
  color: var(--accent);
}

details,
#contacto .border.rounded-2xl {
  background: #ffffff !important;
  border-color: var(--line) !important;
}

details[open] {
  background: #f8faff !important;
}

input,
select,
textarea {
  color: var(--ink) !important;
  background: #ffffff !important;
  border-color: #cfd7e4 !important;
}

input::placeholder,
textarea::placeholder {
  color: #7a8495;
}

footer {
  color: var(--ink);
  border-top: 1px solid var(--line);
}

footer .text-white,
footer a,
footer p {
  color: var(--ink) !important;
}

#inicio .relative > .tech-visual.border.overflow-hidden {
  background: #101b33 !important;
  border-color: #253755 !important;
  box-shadow: 0 35px 90px rgba(16, 27, 51, 0.2);
}

.tech-visual .tech-visual-header,
.tech-visual .tech-visual-footer {
  color: #dce4f5;
  border-color: #2b3b59;
}

.tech-visual .tech-status {
  color: #ffffff;
}

@media (max-width: 1023px) {
  #nav-links {
    background: rgba(255, 255, 255, 0.98) !important;
    color: var(--ink);
  }

  #close-menu {
    background: var(--ink) !important;
    color: #ffffff !important;
  }
}
