/* ══════════════════════════════════════════════════════════════
   ARTEMIS - Landing Page Styles
   ══════════════════════════════════════════════════════════════ */

/* ── CSS VARIABLES ── */
:root {
  /* Primary Colors */
  --bg: #03050a;
  --bg-rgb: 3, 5, 10;
  --surface: #070b12;
  --surface-rgb: 7, 11, 18;
  --surface2: #0c1220;
  --surface2-rgb: 12, 18, 32;

  /* Text Colors */
  --text: #e8edf5;
  --text-rgb: 232, 237, 245;
  --muted: rgba(232, 237, 245, 0.65);
  --text-dim: rgba(255, 255, 255, 0.18);
  --text-placeholder: rgba(255, 255, 255, 0.17);

  /* Accent Colors */
  --accent: #2997ff;
  --accent-rgb: 41, 151, 255;
  --accent2: #00e5c3;
  --accent2-rgb: 0, 229, 195;
  --accent3: #ff6b35;
  --accent3-rgb: 255, 107, 53;
  --accent4: #a855f7;
  --accent4-rgb: 168, 85, 247;

  /* UI Colors */
  --border: rgba(41, 151, 255, 0.12);
  --border-light: rgba(41, 151, 255, 0.06);
  --border-medium: rgba(41, 151, 255, 0.18);
  --border-strong: rgba(41, 151, 255, 0.35);

  /* Semantic Colors */
  --success: #28c840;
  --warning: #febc2e;
  --error: #ff5f57;
  --white: #ffffff;

  /* Shadows & Glows */
  --glow-accent: rgba(41, 151, 255, 0.5);
  --glow-accent-soft: rgba(41, 151, 255, 0.2);
  --glow-accent2: rgba(0, 229, 195, 0.5);
  --shadow-dark: rgba(0, 0, 0, 0.6);

  /* Typography */
  --font: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', Oxygen, Ubuntu, Cantarell, sans-serif;
  --font-mono: 'Courier New', monospace;
  --font-serif: Georgia, serif;

  /* Spacing */
  --section-padding: 5vw;
  --section-padding-y: 120px;

  /* Transitions */
  --transition-fast: 0.2s;
  --transition-medium: 0.25s;
  --transition-slow: 0.3s;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);

  /* Border Radius */
  --radius-sm: 2px;
  --radius: 3px;
  --radius-md: 4px;
}

/* ── RESET & BASE ── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  overflow-x: hidden;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
  position: relative;
  width: 100%;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
  touch-action: pan-y;
}

/* Scrollbar */
::-webkit-scrollbar { width: 3px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: rgba(var(--accent-rgb), 0.25); border-radius: var(--radius-sm); }

/* ── ACCESSIBILITY ── */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--accent);
  color: var(--white);
  padding: 8px 16px;
  z-index: 1000;
  text-decoration: none;
  border-radius: 0 0 var(--radius-md) 0;
}
.skip-link:focus { top: 0; }

/* ── LAYOUT UTILITIES ── */
.form-group { width: 100%; }

.page-wrapper {
  width: 100%;
  max-width: 100vw;
  overflow-x: hidden;
  position: relative;
}

/* ── NEURAL BG CANVAS ── */
#neural-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  opacity: 0.3;
}

/* ══════════════════════════════════════
   NAVIGATION
   ══════════════════════════════════════ */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  padding: 0 var(--section-padding);
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  background: rgba(var(--bg-rgb), 0.85);
  border-bottom: 1px solid var(--border);
}

nav::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--accent) 30%, var(--accent2) 60%, transparent 100%);
  opacity: 0.35;
  animation: traceSweep 5s linear infinite;
  background-size: 200% 1px;
}

@keyframes traceSweep {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

.nav-logo {
  font-weight: 900;
  font-size: 16px;
  letter-spacing: -0.3px;
  color: var(--text);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav-logo-mark { display: flex; align-items: center; }
.nav-logo span { color: var(--accent); }

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}
.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.02em;
  transition: color var(--transition-fast);
}
.nav-links a:hover { color: var(--accent2); }

.nav-cta {
  font-size: 13px;
  font-weight: 500;
  color: var(--white) !important;
  background: var(--accent);
  padding: 7px 18px;
  border-radius: var(--radius);
  transition: all var(--transition-fast) !important;
}
.nav-cta:hover { box-shadow: 0 0 20px var(--glow-accent); }

/* Hamburger Menu */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}
.nav-hamburger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--muted);
  border-radius: var(--radius-sm);
  transition: all var(--transition-slow);
}
.nav-hamburger.open span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
  background: var(--accent);
}
.nav-hamburger.open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.nav-hamburger.open span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
  background: var(--accent);
}

.nav-mobile-menu {
  display: none;
  position: fixed;
  top: 52px;
  left: 0;
  right: 0;
  background: rgba(var(--bg-rgb), 0.97);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border);
  z-index: 199;
  padding: 1.5rem 6vw 2rem;
  flex-direction: column;
  gap: 0;
}
.nav-mobile-menu.open { display: flex; }
.nav-mobile-menu a {
  color: var(--muted);
  text-decoration: none;
  font-size: 18px;
  font-weight: 400;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  display: block;
  transition: color var(--transition-fast);
  letter-spacing: 0.01em;
}
.nav-mobile-menu a:last-child {
  border-bottom: none;
  margin-top: 8px;
  color: var(--accent);
  font-weight: 500;
}
.nav-mobile-menu a:hover { color: var(--accent2); }

/* ══════════════════════════════════════
   HERO SECTION
   ══════════════════════════════════════ */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 100px var(--section-padding) 80px;
  position: relative;
  z-index: 1;
  overflow: hidden;
}

/* Corner Brackets */
.hero-corner {
  position: absolute;
  width: 160px;
  height: 160px;
  pointer-events: none;
}
.hero-corner.tl {
  top: 72px;
  left: 4vw;
  border-top: 1px solid rgba(var(--accent-rgb), 0.2);
  border-left: 1px solid rgba(var(--accent-rgb), 0.2);
}
.hero-corner.tr {
  top: 72px;
  right: 4vw;
  border-top: 1px solid rgba(var(--accent2-rgb), 0.2);
  border-right: 1px solid rgba(var(--accent2-rgb), 0.2);
}
.hero-corner.bl {
  bottom: 40px;
  left: 4vw;
  border-bottom: 1px solid rgba(var(--accent2-rgb), 0.2);
  border-left: 1px solid rgba(var(--accent2-rgb), 0.2);
}
.hero-corner.br {
  bottom: 40px;
  right: 4vw;
  border-bottom: 1px solid rgba(var(--accent-rgb), 0.2);
  border-right: 1px solid rgba(var(--accent-rgb), 0.2);
}

/* Corner Dots */
.hero-corner::before {
  content: '';
  position: absolute;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
}
.hero-corner.tl::before { top: -2px; left: -2px; }
.hero-corner.tr::before {
  top: -2px;
  right: -2px;
  background: var(--accent2);
  box-shadow: 0 0 8px var(--accent2);
}
.hero-corner.bl::before {
  bottom: -2px;
  left: -2px;
  background: var(--accent2);
  box-shadow: 0 0 8px var(--accent2);
}
.hero-corner.br::before { bottom: -2px; right: -2px; }

.hero-glow {
  position: absolute;
  width: 700px;
  height: 700px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(var(--accent-rgb), 0.08) 0%, rgba(var(--accent2-rgb), 0.04) 40%, transparent 70%);
  pointer-events: none;
  animation: breathe 8s ease-in-out infinite;
}

@keyframes breathe {
  0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 1; }
  50% { transform: translate(-50%, -50%) scale(1.12); opacity: 0.7; }
}

.hero-eyebrow {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent2);
  margin-bottom: 1.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  opacity: 0;
  animation: fadeUp 0.8s 0.2s forwards;
}
.eyebrow-line {
  width: 28px;
  height: 1px;
  background: var(--accent2);
  opacity: 0.6;
}

.hero-title {
  font-size: clamp(50px, 8vw, 108px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.025em;
  margin-bottom: 1.5rem;
  opacity: 0;
  animation: fadeUp 0.8s 0.35s forwards;
}
.hero-title .grad {
  display: block;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent2) 60%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-title .grad::after {
  content: '';
  display: block;
  height: 1px;
  width: 55%;
  margin: 10px auto 0;
  background: linear-gradient(90deg, transparent, var(--accent), var(--accent2), transparent);
  opacity: 0.4;
}

.hero-sub {
  font-size: clamp(15px, 2vw, 19px);
  color: var(--muted);
  max-width: 520px;
  margin: 0 auto 3rem;
  font-weight: 300;
  line-height: 1.8;
  opacity: 0;
  animation: fadeUp 0.8s 0.5s forwards;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 0.8s 0.65s forwards;
}

.hero-scroll {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  opacity: 0;
  animation: fadeUp 0.8s 1.1s forwards;
}
.hero-scroll span {
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.2);
}
.scroll-line {
  width: 1px;
  height: 36px;
  background: linear-gradient(to bottom, rgba(var(--accent-rgb), 0.6), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0% { transform: scaleY(0); transform-origin: top; opacity: 0; }
  50% { transform: scaleY(1); transform-origin: top; opacity: 1; }
  51% { transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; opacity: 0; }
}

/* ══════════════════════════════════════
   BUTTONS
   ══════════════════════════════════════ */
.btn-primary {
  background: var(--accent);
  color: var(--white);
  border: none;
  padding: 13px 28px;
  border-radius: var(--radius);
  font-family: var(--font);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  transition: all var(--transition-medium);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  position: relative;
  overflow: hidden;
  letter-spacing: 0.01em;
}
.btn-primary::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
  transition: left 0.5s;
}
.btn-primary:hover::after { left: 150%; }
.btn-primary:hover {
  box-shadow: 0 0 28px var(--glow-accent);
  transform: translateY(-1px);
}

.btn-secondary {
  background: transparent;
  color: var(--text);
  border: 1px solid rgba(var(--accent-rgb), 0.3);
  padding: 13px 28px;
  border-radius: var(--radius);
  font-family: var(--font);
  font-size: 14px;
  font-weight: 400;
  cursor: pointer;
  text-decoration: none;
  transition: all var(--transition-medium);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.btn-secondary:hover {
  background: rgba(var(--accent-rgb), 0.06);
  border-color: var(--accent);
  color: var(--accent);
  box-shadow: 0 0 18px rgba(var(--accent-rgb), 0.15);
}

.btn-submit {
  background: var(--accent);
  color: var(--white);
  border: none;
  padding: 15px 32px;
  border-radius: var(--radius);
  font-family: var(--font);
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  width: 100%;
  transition: all var(--transition-medium);
  letter-spacing: 0.02em;
  position: relative;
  overflow: hidden;
}
.btn-submit::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.12), transparent);
  transition: left 0.5s;
}
.btn-submit:hover::after { left: 150%; }
.btn-submit:hover {
  box-shadow: 0 0 28px rgba(var(--accent-rgb), 0.45);
  transform: translateY(-1px);
}

/* ══════════════════════════════════════
   TECH STRIP
   ══════════════════════════════════════ */
.logos-strip {
  padding: 48px var(--section-padding);
  text-align: center;
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: rgba(var(--surface-rgb), 0.7);
}
.logos-strip p {
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 1.5rem;
}
.logos-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.tech-badge {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.06em;
  padding: 5px 12px;
  border-radius: var(--radius);
  border: 1px solid rgba(var(--accent-rgb), 0.14);
  color: rgba(255, 255, 255, 0.32);
  background: rgba(var(--accent-rgb), 0.03);
  transition: all var(--transition-medium);
  position: relative;
}
.tech-badge::before, .tech-badge::after {
  content: '';
  position: absolute;
  width: 4px;
  height: 4px;
  opacity: 0;
  transition: opacity var(--transition-medium);
}
.tech-badge::before {
  top: -1px;
  left: -1px;
  border-top: 1px solid var(--accent);
  border-left: 1px solid var(--accent);
}
.tech-badge::after {
  bottom: -1px;
  right: -1px;
  border-bottom: 1px solid var(--accent2);
  border-right: 1px solid var(--accent2);
}
.tech-badge:hover {
  color: var(--accent);
  border-color: var(--border-strong);
  background: rgba(var(--accent-rgb), 0.06);
  box-shadow: 0 0 14px rgba(var(--accent-rgb), 0.1);
}
.tech-badge:hover::before, .tech-badge:hover::after { opacity: 1; }

/* ══════════════════════════════════════
   CIRCUIT DIVIDERS
   ══════════════════════════════════════ */
.circuit-divider {
  display: flex;
  align-items: center;
  padding: 0 var(--section-padding);
  height: 40px;
  position: relative;
  z-index: 1;
}
.circuit-divider .cline {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border) 20%, var(--border) 80%, transparent);
}
.circuit-divider .cnode {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px var(--accent);
  flex-shrink: 0;
  animation: nodePulse 3s ease-in-out infinite;
}
.circuit-divider .cnode.g {
  background: var(--accent2);
  box-shadow: 0 0 10px var(--accent2);
}
.circuit-divider .ctick {
  width: 1px;
  height: 8px;
  background: var(--border);
  flex-shrink: 0;
  margin: 0 8px;
}
.circuit-divider .clabel {
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-dim);
  padding: 0 14px;
}

@keyframes nodePulse {
  0%, 100% { box-shadow: 0 0 6px var(--accent); }
  50% { box-shadow: 0 0 16px var(--accent), 0 0 30px rgba(var(--accent-rgb), 0.3); }
}

/* ══════════════════════════════════════
   SECTIONS BASE
   ══════════════════════════════════════ */
section {
  padding: var(--section-padding-y) var(--section-padding);
  position: relative;
  z-index: 1;
}

.section-label {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent2);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 10px;
}
.section-label::before {
  content: '';
  width: 20px;
  height: 1px;
  background: var(--accent2);
  display: inline-block;
}

.section-title {
  font-size: clamp(34px, 5vw, 62px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.01em;
  margin-bottom: 1.2rem;
}
.section-sub {
  font-size: 17px;
  color: var(--muted);
  max-width: 480px;
  font-weight: 300;
  line-height: 1.8;
}

/* ══════════════════════════════════════
   SERVICES SECTION
   ══════════════════════════════════════ */
#servicios {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
#servicios::before {
  content: '';
  position: absolute;
  top: 0;
  left: 5vw;
  right: 5vw;
  bottom: 0;
  border-left: 1px solid var(--border-light);
  border-right: 1px solid var(--border-light);
  pointer-events: none;
}

.services-header {
  text-align: center;
  margin-bottom: 5rem;
}
.services-header .section-label { justify-content: center; }
.services-header .section-label::before { display: none; }
.services-header .section-sub { margin: 0 auto; }

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  overflow: hidden;
}

.service-card {
  background: var(--surface);
  padding: 2.2rem;
  position: relative;
  transition: background var(--transition-slow);
  overflow: hidden;
}
.service-card .s-trace {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--sc, var(--accent)), transparent);
  transform: scaleX(0);
  transition: transform 0.4s var(--ease-out);
}
.service-card:hover .s-trace { transform: scaleX(1); }

.service-card::before, .service-card::after {
  content: '';
  position: absolute;
  width: 14px;
  height: 14px;
  opacity: 0;
  transition: opacity var(--transition-slow);
}
.service-card::before {
  top: 10px;
  left: 10px;
  border-top: 1px solid var(--sc, var(--accent));
  border-left: 1px solid var(--sc, var(--accent));
}
.service-card::after {
  bottom: 10px;
  right: 10px;
  border-bottom: 1px solid var(--sc, var(--accent));
  border-right: 1px solid var(--sc, var(--accent));
}
.service-card:hover::before, .service-card:hover::after { opacity: 1; }
.service-card:hover { background: var(--surface2); }

.svc-icon {
  width: 42px;
  height: 42px;
  border-radius: var(--radius);
  border: 1px solid var(--sc, var(--accent));
  background: rgba(var(--accent-rgb), 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  margin-bottom: 1.2rem;
  position: relative;
  transition: box-shadow var(--transition-slow);
}
.svc-icon::after {
  content: '';
  position: absolute;
  top: -3px;
  right: -3px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--sc, var(--accent));
  box-shadow: 0 0 5px var(--sc, var(--accent));
}
.service-card:hover .svc-icon { box-shadow: 0 0 18px var(--glow-accent-soft); }

.service-card h3 {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 0.5rem;
}
.service-card p {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.75;
}
.svc-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--sc, var(--accent));
  margin-top: 1.2rem;
  font-weight: 500;
}
.svc-tag::before {
  content: '';
  width: 12px;
  height: 1px;
  background: var(--sc, var(--accent));
}

/* ══════════════════════════════════════
   FEATURE SPLIT LAYOUT
   ══════════════════════════════════════ */
.feature-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
}
.feature-split.rev { direction: rtl; }
.feature-split.rev > * { direction: ltr; }

/* Neural Visual Box */
.nv-box {
  aspect-ratio: 4/3;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.nv-box::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(var(--accent), var(--accent)) top left/1px 22px no-repeat,
    linear-gradient(var(--accent), var(--accent)) top left/22px 1px no-repeat,
    linear-gradient(var(--accent2), var(--accent2)) top right/1px 22px no-repeat,
    linear-gradient(var(--accent2), var(--accent2)) top right/22px 1px no-repeat,
    linear-gradient(var(--accent2), var(--accent2)) bottom left/1px 22px no-repeat,
    linear-gradient(var(--accent2), var(--accent2)) bottom left/22px 1px no-repeat,
    linear-gradient(var(--accent), var(--accent)) bottom right/1px 22px no-repeat,
    linear-gradient(var(--accent), var(--accent)) bottom right/22px 1px no-repeat;
  opacity: 0.5;
}
.nv-box canvas {
  width: 100%;
  height: 100%;
  display: block;
}

/* Feature Text */
.feature-text ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 2rem;
}
.feature-text li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14.5px;
  color: var(--muted);
  line-height: 1.7;
}
.li-dot {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  margin-top: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.li-dot svg {
  width: 16px;
  height: 16px;
}

/* Background Glows */
.bg-g {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  pointer-events: none;
}
.bg-g.blue {
  background: var(--accent);
  width: 220px;
  height: 220px;
  top: -40px;
  left: -40px;
  opacity: 0.1;
}
.bg-g.green {
  background: var(--accent2);
  width: 220px;
  height: 220px;
  bottom: -40px;
  right: -40px;
  opacity: 0.09;
}
.bg-g.orange {
  background: var(--accent3);
  width: 200px;
  height: 200px;
  top: 40%;
  right: -40px;
  opacity: 0.09;
}
.bg-g.purple {
  background: var(--accent4);
  width: 200px;
  height: 200px;
  top: -30px;
  right: -30px;
  opacity: 0.1;
}

/* ══════════════════════════════════════
   ODOO PANEL
   ══════════════════════════════════════ */
.odoo-panel {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 82%;
  background: #050910;
  border: 1px solid rgba(var(--accent-rgb), 0.2);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: 0 20px 60px var(--shadow-dark);
  z-index: 1;
}
.op-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(var(--accent-rgb), 0.1);
}
.op-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
}
.op-dot.r { background: var(--error); }
.op-dot.y { background: var(--warning); }
.op-dot.g { background: var(--success); }
.op-title {
  font-size: 9px;
  letter-spacing: 0.12em;
  color: var(--text-dim);
  text-transform: uppercase;
  margin: 0 auto;
}

.op-rows {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.op-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 8px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid transparent;
  transition: all var(--transition-slow);
}
.op-row.a1 {
  background: rgba(var(--accent-rgb), 0.07);
  border-color: var(--border-medium);
}
.op-row.a2 {
  background: rgba(var(--accent2-rgb), 0.05);
  border-color: rgba(var(--accent2-rgb), 0.14);
}
.op-led {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  flex-shrink: 0;
}
.op-row.a1 .op-led {
  background: var(--accent);
  box-shadow: 0 0 6px var(--accent);
  animation: blink 3s ease-in-out infinite;
}
.op-row.a2 .op-led {
  background: var(--accent2);
  box-shadow: 0 0 6px var(--accent2);
  animation: blink 3s ease-in-out infinite 1s;
}

@keyframes blink {
  0%, 88%, 100% { opacity: 1; }
  94% { opacity: 0.3; }
}

.op-name {
  font-size: 9px;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.3);
  text-transform: uppercase;
  min-width: 62px;
  text-align: left;
}
.op-bar-wrap {
  flex: 1;
  height: 4px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.05);
  overflow: hidden;
}
.op-fill {
  height: 100%;
  border-radius: var(--radius-sm);
  background: rgba(var(--accent-rgb), 0.4);
  animation: fillPulse 4s ease-in-out infinite;
}
.op-row.a1 .op-fill { background: var(--accent); }
.op-row.a2 .op-fill {
  background: var(--accent2);
  animation-delay: 1.5s;
}

@keyframes fillPulse {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 1; }
}

.op-val {
  font-size: 9px;
  font-family: var(--font-mono);
  color: rgba(255, 255, 255, 0.25);
  min-width: 26px;
  text-align: right;
}
.op-row.a1 .op-val { color: var(--accent); }
.op-row.a2 .op-val { color: var(--accent2); }

/* ══════════════════════════════════════
   AI SECTION
   ══════════════════════════════════════ */
.ai-section {
  background: radial-gradient(ellipse 80% 60% at 50% 50%,
    rgba(var(--accent2-rgb), 0.05) 0%,
    rgba(var(--accent-rgb), 0.04) 40%,
    var(--bg) 70%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

/* Animated Traces */
.ai-tr {
  position: absolute;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, var(--accent2), transparent);
  height: 1px;
  opacity: 0;
  animation: traceAnim 8s ease-in-out infinite;
}
.ai-tr:nth-child(1) { top: 22%; width: 35%; left: 5%; animation-delay: 0s; }
.ai-tr:nth-child(2) { top: 55%; width: 28%; right: 5%; animation-delay: 2.5s; }
.ai-tr:nth-child(3) { top: 75%; width: 22%; left: 18%; animation-delay: 5s; }

.ai-tv {
  position: absolute;
  pointer-events: none;
  background: linear-gradient(180deg, transparent, var(--accent), transparent);
  width: 1px;
  opacity: 0;
  animation: traceAnimV 9s ease-in-out infinite;
}
.ai-tv:nth-child(4) { left: 10%; height: 30%; top: 25%; animation-delay: 1s; }
.ai-tv:nth-child(5) { right: 12%; height: 25%; top: 38%; animation-delay: 4s; }

@keyframes traceAnim {
  0%, 100% { opacity: 0; }
  20%, 80% { opacity: 0.2; }
  50% { opacity: 0.15; }
}
@keyframes traceAnimV {
  0%, 100% { opacity: 0; }
  20%, 80% { opacity: 0.15; }
  50% { opacity: 0.12; }
}

.ai-inner {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
}
.ai-inner .section-label { justify-content: center; }
.ai-inner .section-label::before { display: none; }
.ai-inner .section-sub { margin: 0 auto 2.5rem; }

.ai-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-top: 2.5rem;
}
.chip {
  padding: 7px 15px;
  border-radius: var(--radius);
  font-size: 12px;
  font-weight: 500;
  border: 1px solid;
  transition: all var(--transition-medium);
  cursor: default;
  letter-spacing: 0.02em;
  position: relative;
}
.chip::before {
  content: '';
  position: absolute;
  top: -1px;
  left: -1px;
  width: 5px;
  height: 5px;
  border-top: 1px solid;
  border-left: 1px solid;
  border-color: inherit;
  opacity: 0.7;
}
.chip-b {
  border-color: rgba(var(--accent-rgb), 0.3);
  color: var(--accent);
  background: rgba(var(--accent-rgb), 0.06);
}
.chip-g {
  border-color: rgba(var(--accent2-rgb), 0.3);
  color: var(--accent2);
  background: rgba(var(--accent2-rgb), 0.06);
}
.chip-o {
  border-color: rgba(var(--accent3-rgb), 0.3);
  color: var(--accent3);
  background: rgba(var(--accent3-rgb), 0.06);
}
.chip:hover {
  transform: translateY(-2px);
  filter: brightness(1.3);
  box-shadow: 0 0 14px var(--glow-accent-soft);
}

/* ══════════════════════════════════════
   PROCESS SECTION
   ══════════════════════════════════════ */
#proceso {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.process-header {
  text-align: center;
  margin-bottom: 5rem;
}
.process-header .section-label { justify-content: center; }
.process-header .section-label::before { display: none; }

.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  position: relative;
}
.process-steps::before {
  content: '';
  position: absolute;
  top: 28px;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(90deg, var(--accent) 0%, var(--accent2) 50%, var(--accent) 100%);
  opacity: 0.2;
}

.process-step {
  padding: 2.2rem 1.8rem;
  position: relative;
  z-index: 1;
  border-right: 1px solid var(--border);
  transition: background var(--transition-slow);
}
.process-step:last-child { border-right: none; }
.process-step:hover { background: rgba(var(--accent-rgb), 0.025); }

.step-ind {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 1.3rem;
}
.step-node {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 1px solid var(--accent);
  background: var(--bg);
  position: relative;
  flex-shrink: 0;
}
.step-node::after {
  content: '';
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.6;
  animation: innerPulse 3s ease-in-out infinite;
}

@keyframes innerPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.4); }
}

.step-process-num {
  font-size: 9px;
  letter-spacing: 0.15em;
  color: var(--accent);
  font-weight: 500;
}

.process-step h3 {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 0.5rem;
}
.process-step p {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.75;
}

/* ══════════════════════════════════════
   STATS SECTION
   ══════════════════════════════════════ */
.stats-section {
  padding: 80px var(--section-padding);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  position: relative;
  z-index: 1;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.stat-item {
  padding: 2.5rem 1.5rem;
  text-align: center;
  border-right: 1px solid var(--border);
  position: relative;
}
.stat-item:last-child { border-right: none; }
.stat-item::before {
  content: '';
  position: absolute;
  top: -4px;
  left: 50%;
  transform: translateX(-50%);
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px var(--accent);
  opacity: 0.5;
}
.stat-item:nth-child(2)::before {
  background: var(--accent2);
  box-shadow: 0 0 10px var(--accent2);
}
.stat-item:nth-child(3)::before {
  background: var(--accent3);
  box-shadow: 0 0 10px var(--accent3);
}

.stat-number {
  font-size: 52px;
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 0.4rem;
  background: linear-gradient(135deg, var(--text), rgba(var(--text-rgb), 0.5));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.stat-label {
  font-size: 13px;
  color: var(--muted);
  font-weight: 300;
}

/* ══════════════════════════════════════
   TESTIMONIAL CAROUSEL
   ══════════════════════════════════════ */
.testimonial-section {
  text-align: center;
  padding: 90px var(--section-padding);
  position: relative;
  z-index: 1;
  overflow: hidden;
}
.testi-header { margin-bottom: 3rem; }
.testi-header .section-label { justify-content: center; }
.testi-header .section-label::before { display: none; }

.testi-carousel {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  overflow: hidden;
}
.testi-track {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.testi-card {
  flex: 0 0 100%;
  min-width: 100%;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 3rem 3.5rem;
  position: relative;
  box-sizing: border-box;
}
.testi-card::before {
  content: '';
  position: absolute;
  top: -1px;
  left: -1px;
  width: 18px;
  height: 18px;
  border-top: 2px solid var(--accent);
  border-left: 2px solid var(--accent);
}
.testi-card::after {
  content: '';
  position: absolute;
  bottom: -1px;
  right: -1px;
  width: 18px;
  height: 18px;
  border-bottom: 2px solid var(--accent2);
  border-right: 2px solid var(--accent2);
}

.quote-mark {
  font-size: 72px;
  font-weight: 900;
  color: var(--accent);
  opacity: 0.1;
  line-height: 0.8;
  margin-bottom: 1.5rem;
  font-family: var(--font-serif);
}
.testi-text {
  font-size: 18px;
  font-weight: 300;
  line-height: 1.8;
  color: rgba(var(--text-rgb), 0.85);
  margin-bottom: 2rem;
  font-style: italic;
}
.testi-author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}
.testi-avatar {
  width: 36px;
  height: 36px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 12px;
  color: var(--white);
}
.testi-info { text-align: left; }
.testi-info strong {
  display: block;
  font-size: 13px;
  font-weight: 500;
}
.testi-info span {
  font-size: 12px;
  color: var(--muted);
}

/* Carousel Controls */
.testi-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
  margin-top: 2rem;
}
.testi-btn {
  width: 40px;
  height: 40px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-medium);
}
.testi-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
  box-shadow: 0 0 15px var(--glow-accent-soft);
}
.testi-btn svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
}

.testi-dots {
  display: flex;
  gap: 8px;
}
.testi-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--border);
  cursor: pointer;
  transition: all var(--transition-slow);
  border: none;
  padding: 0;
}
.testi-dot.active {
  background: var(--accent);
  box-shadow: 0 0 10px var(--accent);
}
.testi-dot:hover:not(.active) {
  background: rgba(var(--accent-rgb), 0.4);
}

.testi-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  width: 0%;
  transition: width 0.1s linear;
}
.testi-carousel:hover .testi-progress { opacity: 0.5; }

/* ══════════════════════════════════════
   CONTACT SECTION
   ══════════════════════════════════════ */
#contacto {
  text-align: center;
  padding: 140px var(--section-padding);
  position: relative;
  z-index: 1;
  overflow: hidden;
}
#contacto::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(var(--accent-rgb), 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(var(--accent-rgb), 0.02) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 20%, transparent 70%);
  pointer-events: none;
}
.contact-glow {
  position: absolute;
  width: 600px;
  height: 600px;
  bottom: -200px;
  left: 50%;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(var(--accent-rgb), 0.07) 0%, transparent 60%);
  pointer-events: none;
}
.contact-inner {
  position: relative;
  z-index: 1;
  max-width: 600px;
  margin: 0 auto;
}
.contact-inner .section-title { font-size: clamp(38px, 6vw, 76px); }
.contact-inner .section-label { justify-content: center; }
.contact-inner .section-label::before { display: none; }

.contact-form {
  margin-top: 3.5rem;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.form-input {
  width: 100%;
  padding: 13px 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  font-family: var(--font);
  font-size: 14px;
  outline: none;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}
.form-input::placeholder { color: var(--text-placeholder); }
.form-input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px rgba(var(--accent-rgb), 0.25), 0 0 14px rgba(var(--accent-rgb), 0.1);
}
textarea.form-input {
  resize: vertical;
  min-height: 110px;
}

.form-select {
  width: 100%;
  padding: 13px 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: rgba(255, 255, 255, 0.4);
  font-family: var(--font);
  font-size: 14px;
  outline: none;
  cursor: pointer;
  transition: border-color var(--transition-fast);
}
.form-select:focus { border-color: var(--accent); }
.form-select option { background: var(--surface2); }

/* ══════════════════════════════════════
   FOOTER
   ══════════════════════════════════════ */
footer {
  border-top: 1px solid var(--border);
  padding: 50px var(--section-padding) 40px;
  position: relative;
  z-index: 1;
  background: var(--surface);
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
  margin-bottom: 2.5rem;
}
.footer-logo {
  font-weight: 900;
  font-size: 17px;
  letter-spacing: -0.02em;
}
.footer-logo span { color: var(--accent); }

.footer-links {
  display: flex;
  gap: 1.5rem;
  list-style: none;
  flex-wrap: wrap;
}
.footer-links a {
  font-size: 13px;
  color: var(--muted);
  text-decoration: none;
  transition: color var(--transition-fast);
}
.footer-links a:hover { color: var(--accent2); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-bottom p {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.16);
}

.footer-socials {
  display: flex;
  gap: 7px;
}
.social-btn {
  width: 30px;
  height: 30px;
  border-radius: var(--radius);
  background: rgba(var(--accent-rgb), 0.05);
  border: 1px solid var(--border-medium);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  cursor: pointer;
  transition: all var(--transition-fast);
  text-decoration: none;
  color: var(--muted);
  font-weight: 500;
}
.social-btn:hover {
  background: rgba(var(--accent-rgb), 0.1);
  border-color: var(--accent);
  color: var(--accent);
  box-shadow: 0 0 12px var(--glow-accent-soft);
}

/* ══════════════════════════════════════
   ANIMATIONS & UTILITIES
   ══════════════════════════════════════ */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.d1 { transition-delay: 0.1s; }
.d2 { transition-delay: 0.2s; }
.d3 { transition-delay: 0.3s; }
.d4 { transition-delay: 0.4s; }

/* ══════════════════════════════════════
   RESPONSIVE — TABLET ≤ 960px
   ══════════════════════════════════════ */
@media (max-width: 960px) {
  html, body { overflow-x: hidden; }

  .nav-hamburger { display: flex; }
  .nav-links { display: none; }

  section {
    padding: 80px 6vw;
    max-width: 100vw;
    overflow-x: hidden;
  }
  #servicios, #proceso { padding: 80px 6vw; }

  .hero { padding: 90px 6vw 70px; }
  .hero-corner { width: 100px; height: 100px; }

  .services-grid { grid-template-columns: 1fr 1fr; }

  .feature-split {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .feature-split.rev { direction: ltr; }
  .nv-box {
    aspect-ratio: 16/9;
    max-height: 280px;
    width: 100%;
  }

  .process-steps { grid-template-columns: 1fr 1fr; }
  .process-steps::before { display: none; }
  .process-step {
    border-right: none;
    border-bottom: 1px solid var(--border);
  }

  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat-item { border-bottom: 1px solid var(--border); }
  .stat-item:nth-child(2) { border-right: none; }
  .stat-item:nth-child(3), .stat-item:nth-child(4) { border-bottom: none; }

  .form-row { grid-template-columns: 1fr; }
  .testi-card { padding: 2rem 1.8rem; }
  .testi-carousel { max-width: 100%; }
  #contacto { padding: 100px 6vw; }
}

/* ══════════════════════════════════════
   RESPONSIVE — MOBILE ≤ 600px
   ══════════════════════════════════════ */
@media (max-width: 600px) {
  /* Global overflow prevention */
  html, body {
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
  }

  body { font-size: 15px; }

  /* Ensure sections respect viewport */
  section, .logos-strip, .circuit-divider, .stats-section, .testimonial-section, footer {
    max-width: 100vw;
    overflow-x: hidden;
  }

  section { padding: 60px 5vw; }
  #servicios, #proceso, .ai-section { padding: 60px 5vw; }

  nav { padding: 0 5vw; height: 52px; }
  .nav-logo { font-size: 14px; }
  .nav-logo-mark svg { width: 18px; height: 18px; }

  .hero { padding: 80px 5vw 60px; min-height: 90vh; }
  .hero-corner { width: 70px; height: 70px; }
  .hero-corner.tl, .hero-corner.bl { left: 3vw; }
  .hero-corner.tr, .hero-corner.br { right: 3vw; }
  .hero-eyebrow { font-size: 9px; gap: 8px; }
  .eyebrow-line { width: 18px; }
  .hero-sub { font-size: 15px; margin-bottom: 2.2rem; max-width: 100%; }
  .hero-actions { flex-direction: column; align-items: center; gap: 10px; width: 100%; }
  .btn-primary, .btn-secondary { width: 100%; max-width: 300px; justify-content: center; padding: 13px 20px; }
  .hero-scroll { display: none; }
  .hero-glow { width: 100%; max-width: 400px; height: 400px; }
  .hero-title { word-break: break-word; }

  .logos-strip { padding: 32px 5vw; }
  .logos-row { gap: 7px; justify-content: center; }
  .tech-badge { font-size: 10px; padding: 4px 9px; }

  .circuit-divider { height: 32px; padding: 0 3vw; }
  .ctick { display: none; }
  .clabel { font-size: 9px; padding: 0 10px; }
  .cline { min-width: 0; }

  .services-grid { grid-template-columns: 1fr; }
  .service-card { padding: 1.8rem 1.5rem; }

  .section-title { font-size: clamp(28px, 7vw, 42px) !important; word-break: break-word; }
  .section-sub { font-size: 15px; max-width: 100%; }

  .feature-split { gap: 2rem; }
  .feature-text { max-width: 100%; }
  .feature-text ul { padding-right: 0; }
  .nv-box { aspect-ratio: 4/3; max-height: 220px; width: 100%; }

  .odoo-panel { padding: 14px; width: 88%; }
  .op-name { min-width: 50px; font-size: 8px; }
  .op-val { font-size: 8px; }

  /* AI Section fixes */
  .ai-section { overflow: hidden; }
  .ai-inner { max-width: 100%; padding: 0; }
  #ai-net { max-width: 100% !important; height: 100px; }
  .ai-chips { gap: 6px; max-width: 100%; }
  .chip { font-size: 11px; padding: 6px 11px; }
  .ai-tr, .ai-tv { display: none; }

  .process-steps { grid-template-columns: 1fr; }
  .process-step { padding: 1.6rem 1.4rem; border-right: none; border-bottom: 1px solid var(--border); }
  .process-step:last-child { border-bottom: none; }
  .process-header { margin-bottom: 2.5rem; }

  .stats-section { padding: 50px 5vw; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat-item { padding: 1.8rem 1rem; border-right: 1px solid var(--border); border-bottom: 1px solid var(--border); }
  .stat-item:nth-child(2n) { border-right: none; }
  .stat-item:nth-child(3), .stat-item:nth-child(4) { border-bottom: none; }
  .stat-number { font-size: 38px; }
  .stat-label { font-size: 12px; }

  /* Testimonial fixes */
  .testimonial-section { padding: 60px 5vw; overflow: hidden; }
  .testi-carousel { max-width: 100%; overflow: hidden; }
  .testi-card { padding: 1.8rem 1.4rem; }
  .testi-text { font-size: 16px; }
  .quote-mark { font-size: 52px; margin-bottom: 1rem; }
  .testi-controls { gap: 1rem; margin-top: 1.5rem; }
  .testi-btn { width: 36px; height: 36px; }
  .testi-header { padding: 0; }
  .testi-header .section-title { font-size: clamp(28px, 7vw, 42px); }

  /* Contact fixes */
  #contacto { padding: 80px 5vw; }
  .contact-inner { max-width: 100%; }
  .contact-inner .section-title { font-size: clamp(32px, 9vw, 56px) !important; }
  .contact-form { width: 100%; }
  .form-row { grid-template-columns: 1fr; }
  .form-input, .form-select, .btn-submit { width: 100%; max-width: 100%; }
  .contact-glow { width: 100%; max-width: 350px; }

  footer { padding: 40px 5vw 28px; }
  .footer-inner { flex-direction: column; align-items: flex-start; gap: 1.2rem; margin-bottom: 1.2rem; }
  .footer-links { gap: 1rem; flex-wrap: wrap; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 0.4rem; }

  #neural-bg { opacity: 0.18; }

  /* Hide overflow-causing elements */
  .bg-g { display: none; }
}
