/* ══════════════════════════════════════════════
   MWING STYLES – Premium Corporate One-Page
   ══════════════════════════════════════════════ */

/* ─── CSS VARIABLES ─── */
:root {
  --bg-dark:       hsl(228, 35%, 6%);
  --bg-card:       hsl(228, 30%, 9%);
  --bg-card-hover: hsl(228, 28%, 12%);
  --bg-input:      hsl(228, 28%, 11%);

  --blue-deep:     hsl(225, 80%, 20%);
  --blue-mid:      hsl(220, 75%, 42%);
  --blue-light:    hsl(215, 85%, 58%);
  --purple-mid:    hsl(262, 70%, 52%);
  --purple-deep:   hsl(270, 60%, 32%);
  --accent-cyan:   hsl(195, 100%, 60%);

  --grad-main:     linear-gradient(135deg, var(--blue-mid), var(--purple-mid));
  --grad-subtle:   linear-gradient(135deg, hsl(220,75%,42%,0.15), hsl(262,70%,52%,0.15));
  --grad-glow:     linear-gradient(135deg, hsl(220,75%,42%,0.3), hsl(262,70%,52%,0.3));
  --grad-hero:     linear-gradient(160deg, hsl(228,40%,8%) 0%, hsl(240,38%,10%) 50%, hsl(255,35%,12%) 100%);

  --text-primary:  hsl(220, 30%, 96%);
  --text-secondary:hsl(220, 20%, 70%);
  --text-muted:    hsl(220, 15%, 48%);

  --border:        hsl(230, 30%, 18%);
  --border-bright: hsl(230, 50%, 28%);

  --radius-sm:     8px;
  --radius-md:     14px;
  --radius-lg:     22px;
  --radius-xl:     32px;

  --shadow-card:   0 4px 30px rgba(0,0,80,0.35);
  --shadow-glow:   0 0 40px rgba(100,80,255,0.2);
  --shadow-btn:    0 4px 24px rgba(80,120,255,0.4);

  --transition:    0.35s cubic-bezier(0.4,0,0.2,1);
  --transition-fast: 0.2s ease;

  --nav-height: 72px;
}

/* ─── RESET & BASE ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--bg-dark);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, select, textarea { font-family: inherit; }
::selection { background: hsl(262,70%,52%,0.4); }

/* ─── SCROLLBAR ─── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-dark); }
::-webkit-scrollbar-thumb { background: var(--grad-main); border-radius: 3px; }

/* ─── UTILITY ─── */
.gradient-text {
  background: var(--grad-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.section-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}
.section-header {
  text-align: center;
  margin-bottom: 4rem;
}
.section-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--blue-light);
  background: hsl(215,85%,58%,0.1);
  border: 1px solid hsl(215,85%,58%,0.25);
  padding: 0.35rem 1rem;
  border-radius: 100px;
  margin-bottom: 1.25rem;
}
.section-title {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.2;
  color: var(--text-primary);
  margin-bottom: 1.25rem;
}
.section-desc {
  max-width: 640px;
  margin: 0 auto;
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.7;
}

/* ─── BUTTONS ─── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.85rem 2rem;
  background: var(--grad-main);
  color: white;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 100px;
  box-shadow: var(--shadow-btn);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.15), transparent);
  opacity: 0;
  transition: var(--transition);
}
.btn-primary:hover::before { opacity: 1; }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 32px rgba(80,120,255,0.55); }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.85rem 1.75rem;
  background: transparent;
  color: var(--text-primary);
  font-weight: 500;
  font-size: 0.95rem;
  border-radius: 100px;
  border: 1px solid var(--border-bright);
  transition: var(--transition);
}
.btn-ghost:hover {
  background: hsl(230,30%,18%,0.8);
  border-color: var(--blue-light);
  color: var(--blue-light);
  transform: translateY(-2px);
}
.btn-icon { width: 18px; height: 18px; transition: transform var(--transition); }
.btn-primary:hover .btn-icon { transform: translateX(3px); }

/* ─── ANIMATIONS ─── */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes pulse-ring {
  0%   { transform: scale(1); opacity: 0.6; }
  50%  { transform: scale(1.08); opacity: 0.2; }
  100% { transform: scale(1); opacity: 0.6; }
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-14px); }
}
@keyframes orbit1 {
  from { transform: rotate(0deg) translateX(130px) rotate(0deg); }
  to   { transform: rotate(360deg) translateX(130px) rotate(-360deg); }
}
@keyframes orbit2 {
  from { transform: rotate(90deg) translateX(130px) rotate(-90deg); }
  to   { transform: rotate(450deg) translateX(130px) rotate(-450deg); }
}
@keyframes orbit3 {
  from { transform: rotate(180deg) translateX(130px) rotate(-180deg); }
  to   { transform: rotate(540deg) translateX(130px) rotate(-540deg); }
}
@keyframes orbit4 {
  from { transform: rotate(270deg) translateX(130px) rotate(-270deg); }
  to   { transform: rotate(630deg) translateX(130px) rotate(-630deg); }
}
@keyframes orb-drift-1 {
  0%,100% { transform: translate(0,0); }
  33%     { transform: translate(80px,-60px); }
  66%     { transform: translate(-40px,80px); }
}
@keyframes orb-drift-2 {
  0%,100% { transform: translate(0,0); }
  33%     { transform: translate(-70px,50px); }
  66%     { transform: translate(90px,-40px); }
}
@keyframes orb-drift-3 {
  0%,100% { transform: translate(0,0); }
  33%     { transform: translate(40px,70px); }
  66%     { transform: translate(-60px,-50px); }
}
@keyframes scroll-bounce {
  0%,100% { transform: translateY(0) translateX(-50%); opacity: 1; }
  50%      { transform: translateY(8px) translateX(-50%); opacity: 0.5; }
}
@keyframes slide-brands {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@keyframes badge-pulse {
  0%,100% { box-shadow: 0 0 0 0 hsl(215,85%,58%,0.4); }
  50%      { box-shadow: 0 0 0 6px hsl(215,85%,58%,0); }
}
@keyframes counter-spin {
  from { transform: rotateX(20deg); }
  to   { transform: rotateX(0deg); }
}

/* ─── [data-animate] ─── */
[data-animate] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
[data-animate].visible {
  opacity: 1;
  transform: translateY(0);
}
[data-delay="100"] { transition-delay: 0.1s; }
[data-delay="200"] { transition-delay: 0.2s; }
[data-delay="300"] { transition-delay: 0.3s; }
[data-delay="400"] { transition-delay: 0.4s; }
[data-delay="500"] { transition-delay: 0.5s; }

/* ══════════════════════════════════════════════
   NAVBAR
══════════════════════════════════════════════ */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0 2rem;
  height: var(--nav-height);
  transition: background var(--transition), box-shadow var(--transition);
  background: transparent;
}
#navbar.scrolled {
  background: hsl(228,38%,7%,0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 var(--border), 0 4px 40px rgba(0,0,0,0.4);
}
.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.nav-logo { display: flex; align-items: center; }
.logo-img  { height: 44px; width: auto; object-fit: contain; }
#logo-dark-nav { display: none; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.nav-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  padding: 0.45rem 0.85rem;
  border-radius: var(--radius-sm);
  transition: var(--transition-fast);
}
.nav-link:hover { color: var(--text-primary); background: hsl(230,30%,15%,0.6); }
.nav-cta-btn {
  margin-left: 0.75rem;
  padding: 0.5rem 1.25rem;
  background: var(--grad-main);
  color: white;
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: 100px;
  transition: var(--transition);
  box-shadow: var(--shadow-btn);
}
.nav-cta-btn:hover { transform: translateY(-2px); box-shadow: 0 6px 28px rgba(80,120,255,0.5); }
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: var(--transition);
}

/* ══════════════════════════════════════════════
   HERO
══════════════════════════════════════════════ */
#hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 4rem;
  padding: calc(var(--nav-height) + 4rem) 2rem 4rem;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
}

/* Decorative background elements */
.hero-grid {
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(hsl(230,40%,18%,0.3) 1px, transparent 1px),
    linear-gradient(90deg, hsl(230,40%,18%,0.3) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  z-index: -1;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 0%, transparent 80%);
}
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background: var(--grad-hero);
  z-index: -2;
}

.orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  z-index: -1;
}
.orb-1 {
  width: 600px; height: 600px;
  background: hsl(225,75%,38%,0.18);
  top: -15%; left: -10%;
  animation: orb-drift-1 20s ease-in-out infinite;
}
.orb-2 {
  width: 500px; height: 500px;
  background: hsl(270,65%,45%,0.15);
  bottom: 0%; right: -10%;
  animation: orb-drift-2 25s ease-in-out infinite;
}
.orb-3 {
  width: 400px; height: 400px;
  background: hsl(195,90%,50%,0.06);
  top: 40%; left: 40%;
  animation: orb-drift-3 18s ease-in-out infinite;
}

#particles-canvas {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
}

.hero-content { z-index: 1; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--blue-light);
  background: hsl(215,85%,58%,0.08);
  border: 1px solid hsl(215,85%,58%,0.2);
  padding: 0.4rem 1rem;
  border-radius: 100px;
  margin-bottom: 2rem;
  animation: fadeInUp 0.8s ease both;
}
.badge-dot {
  width: 8px; height: 8px;
  background: var(--blue-light);
  border-radius: 50%;
  animation: badge-pulse 2s ease infinite;
}
.hero-title {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(2.8rem, 6vw, 5rem);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
}
.title-line {
  display: block;
  animation: fadeInUp 0.8s ease both;
}
.title-line:nth-child(1) { animation-delay: 0.1s; }
.title-line:nth-child(2) { animation-delay: 0.2s; }
.title-line:nth-child(3) { animation-delay: 0.3s; }
.hero-subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.75;
  max-width: 520px;
  margin-bottom: 2.5rem;
  animation: fadeInUp 0.8s 0.4s ease both;
}
.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
  animation: fadeInUp 0.8s 0.5s ease both;
}
.hero-stats {
  display: flex;
  align-items: center;
  gap: 2rem;
  animation: fadeInUp 0.8s 0.6s ease both;
}
.stat-item { display: flex; flex-direction: column; gap: 0.2rem; }
.stat-number {
  font-family: 'Outfit', sans-serif;
  font-size: 1.8rem;
  font-weight: 800;
  background: var(--grad-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.stat-label { font-size: 0.75rem; color: var(--text-muted); font-weight: 500; }
.stat-divider { width: 1px; height: 42px; background: var(--border); }

/* Hero Visual */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  animation: fadeInUp 0.9s 0.3s ease both;
}
.shield-container {
  position: relative;
  width: 320px;
  height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.shield-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid;
  animation: pulse-ring 3s ease-in-out infinite;
}
.ring-1 {
  width: 220px; height: 220px;
  border-color: hsl(220,75%,42%,0.5);
  animation-delay: 0s;
}
.ring-2 {
  width: 280px; height: 280px;
  border-color: hsl(262,70%,52%,0.3);
  animation-delay: 1s;
}
.ring-3 {
  width: 320px; height: 320px;
  border-color: hsl(220,75%,42%,0.15);
  animation-delay: 2s;
}
.shield-core {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 2px solid var(--border-bright);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  box-shadow: 0 0 60px hsl(240,70%,35%,0.4), inset 0 1px 0 hsl(230,50%,30%,0.3);
  animation: float 5s ease-in-out infinite;
  overflow: hidden;
}
.hero-logo-img {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 50%;
}
.orbit-item {
  position: absolute;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--border-bright);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue-light);
  box-shadow: 0 0 16px hsl(220,75%,42%,0.3);
}
.orbit-item-1 { animation: orbit1 8s linear infinite; }
.orbit-item-2 { animation: orbit2 8s linear infinite; }
.orbit-item-3 { animation: orbit3 8s linear infinite; }
.orbit-item-4 { animation: orbit4 8s linear infinite; }

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-muted);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  animation: scroll-bounce 2s ease infinite;
  grid-column: 1 / -1;
}
.scroll-dot {
  width: 28px;
  height: 44px;
  border: 2px solid var(--border-bright);
  border-radius: 14px;
  position: relative;
}
.scroll-dot::after {
  content: '';
  position: absolute;
  width: 4px;
  height: 8px;
  background: var(--blue-light);
  border-radius: 2px;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  animation: scroll-bounce 2s ease infinite;
}

/* ══════════════════════════════════════════════
   SERVICIOS
══════════════════════════════════════════════ */
#servicios {
  padding: 7rem 0;
  background: hsl(228,35%,5.5%);
  position: relative;
}
#servicios::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-bright), transparent);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.service-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  overflow: hidden;
  transition: var(--transition);
  cursor: default;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--grad-main);
  opacity: 0;
  transition: var(--transition);
}
.service-card:hover {
  border-color: hsl(230,50%,30%);
  background: var(--bg-card-hover);
  transform: translateY(-6px);
  box-shadow: var(--shadow-card), var(--shadow-glow);
}
.service-card:hover::before { opacity: 1; }

.card-glow {
  position: absolute;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: var(--grad-glow);
  top: -80px;
  right: -60px;
  filter: blur(60px);
  opacity: 0;
  transition: opacity var(--transition);
}
.service-card:hover .card-glow { opacity: 1; }

.card-icon-wrap {
  display: flex;
  align-items: flex-start;
}
.card-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: var(--grad-subtle);
  border: 1px solid hsl(230,50%,30%,0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue-light);
  transition: var(--transition);
}
.card-icon svg { width: 24px; height: 24px; }
.service-card:hover .card-icon {
  background: var(--grad-main);
  color: white;
  border-color: transparent;
  box-shadow: 0 4px 20px rgba(80,120,255,0.4);
}

.card-title {
  font-family: 'Outfit', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}
.card-desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.65;
}
.card-features {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 0.5rem;
}
.card-features li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  color: var(--text-secondary);
}
.card-features li svg {
  width: 14px; height: 14px;
  color: var(--blue-light);
  flex-shrink: 0;
}

.card-footer {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}
.card-tag {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  background: hsl(230,30%,16%);
  padding: 0.25rem 0.6rem;
  border-radius: 100px;
}
.card-tag-highlight {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue-light);
  background: hsl(215,85%,58%,0.12);
  border: 1px solid hsl(215,85%,58%,0.25);
  padding: 0.25rem 0.6rem;
  border-radius: 100px;
}

/* Highlighted cards */
.card-highlight {
  border-color: hsl(230,50%,25%);
  background: linear-gradient(145deg, hsl(228,32%,11%), hsl(240,30%,10%));
}
.card-highlight:hover {
  border-color: hsl(262,70%,52%,0.5);
  box-shadow: var(--shadow-card), 0 0 40px hsl(262,70%,52%,0.15);
}

/* ══════════════════════════════════════════════
   DIFERENCIAL
══════════════════════════════════════════════ */
#diferencial {
  padding: 7rem 0;
  position: relative;
}
#diferencial::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-bright), transparent);
}

.diferencial-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.diferencial-desc {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 2.5rem;
}
.diferencial-points {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.d-point {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
}
.d-point-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: var(--grad-subtle);
  border: 1px solid hsl(230,50%,30%,0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue-light);
  flex-shrink: 0;
  transition: var(--transition);
}
.d-point-icon svg { width: 20px; height: 20px; }
.d-point:hover .d-point-icon {
  background: var(--grad-main);
  color: white;
  border-color: transparent;
  box-shadow: 0 4px 20px rgba(80,120,255,0.3);
}
.d-point-text h4 {
  font-family: 'Outfit', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.3rem;
}
.d-point-text p {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Tech Card Stack */
.diferencial-visual { position: relative; }
.tech-card-stack {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  position: relative;
}
.tech-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  transition: var(--transition);
}
.tech-card:hover {
  border-color: var(--border-bright);
  transform: translateX(4px);
}

/* Code card */
.tc-1 { font-family: 'Courier New', monospace; }
.tc-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border);
}
.tc-dots { display: flex; gap: 5px; }
.tc-dots span {
  width: 10px; height: 10px; border-radius: 50%;
}
.tc-dots span:nth-child(1) { background: hsl(355,70%,55%); }
.tc-dots span:nth-child(2) { background: hsl(40,85%,55%); }
.tc-dots span:nth-child(3) { background: hsl(140,60%,50%); }
.tc-label { font-size: 0.78rem; color: var(--text-muted); font-family: 'Inter', sans-serif; }
.tc-code {
  font-size: 0.8rem;
  line-height: 1.8;
  color: var(--text-secondary);
}
.code-comment { color: var(--text-muted); font-style: italic; }
.code-keyword { color: hsl(200,95%,65%); }
.code-fn { color: hsl(50,90%,70%); }

/* Live metrics card */
.tc-status {
  margin-left: auto;
  font-size: 0.7rem;
  font-weight: 700;
  color: hsl(140,60%,55%);
  letter-spacing: 0.05em;
}
.tc-metrics { display: flex; flex-direction: column; gap: 0.75rem; }
.metric { display: flex; justify-content: space-between; align-items: center; }
.metric-label { font-size: 0.8rem; color: var(--text-secondary); }
.metric-value {
  font-family: 'Outfit', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  background: var(--grad-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.metric-bar {
  height: 4px;
  background: hsl(230,30%,18%);
  border-radius: 2px;
  overflow: hidden;
}
.metric-fill {
  height: 100%;
  background: var(--grad-main);
  border-radius: 2px;
  transition: width 1s ease;
}

/* Certification card */
.tc-3 {
  display: flex;
  align-items: center;
  gap: 1rem;
  border-color: hsl(262,70%,52%,0.3);
  background: linear-gradient(135deg, hsl(262,70%,52%,0.08), var(--bg-card));
}
.tc-big-icon {
  width: 36px; height: 36px;
  color: hsl(262,70%,65%);
  flex-shrink: 0;
}
.tc-3 p { font-size: 0.85rem; color: var(--text-secondary); }

/* ══════════════════════════════════════════════
   TECNOLOGÍA
══════════════════════════════════════════════ */
#tecnologia {
  padding: 7rem 0;
  position: relative;
  background: hsl(228,35%,5.5%);
  overflow: hidden;
}
#tecnologia::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-bright), transparent);
}
.tech-bg-pattern {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 20% 50%, hsl(220,75%,42%,0.06) 0%, transparent 50%),
                    radial-gradient(circle at 80% 50%, hsl(262,70%,52%,0.06) 0%, transparent 50%);
  pointer-events: none;
}

.tech-pillars {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-bottom: 4rem;
}
.pillar {
  text-align: center;
  padding: 2rem 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.pillar::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--grad-glow);
  opacity: 0;
  transition: var(--transition);
}
.pillar:hover {
  border-color: var(--border-bright);
  transform: translateY(-5px);
  box-shadow: var(--shadow-card);
}
.pillar:hover::after { opacity: 1; }
.pillar-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: var(--grad-main);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  margin: 0 auto 1.25rem;
  box-shadow: 0 4px 20px rgba(80,120,255,0.35);
  position: relative;
  z-index: 1;
  transition: var(--transition);
}
.pillar-icon svg { width: 24px; height: 24px; }
.pillar:hover .pillar-icon { transform: scale(1.1); box-shadow: 0 6px 28px rgba(80,120,255,0.5); }
.pillar h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
  color: var(--text-primary);
  position: relative;
  z-index: 1;
}
.pillar p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.6;
  position: relative;
  z-index: 1;
}

/* Brands */
.brands-strip {
  text-align: center;
  padding-top: 2rem;
}
.brands-label {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}
.brands-track {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, black 15%, black 85%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, black 15%, black 85%, transparent);
}
.brands-scroll {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  width: max-content;
  animation: slide-brands 20s linear infinite;
}
.brand-name {
  font-family: 'Outfit', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  transition: var(--transition);
  white-space: nowrap;
}
.brand-name:hover { color: var(--blue-light); }
.brand-sep { color: hsl(230,30%,28%); font-size: 1.2rem; }

/* ══════════════════════════════════════════════
   CONTACTO
══════════════════════════════════════════════ */
#contacto {
  padding: 7rem 0;
  position: relative;
}
#contacto::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-bright), transparent);
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}
.contact-desc {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 2.5rem;
}
.contact-items {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.contact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.contact-item-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: var(--grad-subtle);
  border: 1px solid hsl(230,50%,30%,0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue-light);
  flex-shrink: 0;
}
.contact-item-icon svg { width: 18px; height: 18px; }
.contact-item-label {
  display: block;
  font-size: 0.73rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.15rem;
}
.contact-item-value {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-primary);
  transition: var(--transition-fast);
}
a.contact-item-value:hover { color: var(--blue-light); }

/* Form */
.contact-form-wrap { position: relative; }
.contact-form {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.form-group { display: flex; flex-direction: column; gap: 0.5rem; }
.form-group label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-secondary);
  letter-spacing: 0.02em;
}
.input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}
.input-icon {
  position: absolute;
  left: 1rem;
  width: 16px;
  height: 16px;
  color: var(--text-muted);
  pointer-events: none;
}
.input-wrap input,
.input-wrap select,
.input-wrap textarea {
  width: 100%;
  background: var(--bg-input);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-size: 0.9rem;
  padding: 0.75rem 1rem 0.75rem 2.75rem;
  transition: var(--transition-fast);
  outline: none;
  appearance: none;
}
.input-wrap textarea {
  resize: vertical;
  min-height: 110px;
  padding-top: 0.85rem;
  align-self: stretch;
}
.input-wrap input::placeholder,
.input-wrap textarea::placeholder {
  color: var(--text-muted);
}
.input-wrap input:focus,
.input-wrap select:focus,
.input-wrap textarea:focus {
  border-color: hsl(220,75%,55%,0.7);
  background: hsl(228,32%,13%);
  box-shadow: 0 0 0 3px hsl(220,75%,42%,0.15);
}
.select-wrap { position: relative; }
.select-arrow {
  position: absolute;
  right: 1rem;
  width: 16px;
  height: 16px;
  color: var(--text-muted);
  pointer-events: none;
}
.input-wrap select option { background: hsl(228,35%,10%); }

.btn-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  width: 100%;
  padding: 0.9rem;
  background: var(--grad-main);
  color: white;
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: var(--radius-md);
  transition: var(--transition);
  box-shadow: var(--shadow-btn);
  margin-top: 0.5rem;
}
.btn-submit:hover { transform: translateY(-2px); box-shadow: 0 8px 32px rgba(80,120,255,0.55); }
.btn-submit svg { width: 18px; height: 18px; }

.form-note {
  font-size: 0.78rem;
  color: var(--text-muted);
  text-align: center;
}

/* Form success */
.form-success {
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  text-align: center;
  background: var(--bg-card);
  border: 1px solid hsl(140,60%,40%,0.3);
  border-radius: var(--radius-xl);
  padding: 3rem;
}
.form-success.show { display: flex; }
.success-icon { width: 64px; height: 64px; color: hsl(140,60%,55%); }
.form-success h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
}
.form-success p { color: var(--text-secondary); }

/* ══════════════════════════════════════════════
   FOOTER
══════════════════════════════════════════════ */
#footer {
  background: hsl(228,40%,4.5%);
  border-top: 1px solid var(--border);
  padding: 4rem 2rem 1.5rem;
}
.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 4rem;
  max-width: 1200px;
  margin: 0 auto;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--border);
}
.footer-logo { height: 50px; width: auto; margin-bottom: 1rem; }
.footer-tagline {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.75;
  max-width: 340px;
  margin-bottom: 1.5rem;
}
.footer-social { display: flex; gap: 0.75rem; }
.social-btn {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  background: var(--bg-card);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: var(--transition-fast);
}
.social-btn svg { width: 16px; height: 16px; }
.social-btn:hover { background: var(--grad-main); color: white; border-color: transparent; }
.footer-links-title {
  font-family: 'Outfit', sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: 1.25rem;
}
.footer-links-group ul {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
.footer-links-group a {
  font-size: 0.88rem;
  color: var(--text-muted);
  transition: var(--transition-fast);
}
.footer-links-group a:hover { color: var(--blue-light); padding-left: 4px; }
.footer-bottom {
  max-width: 1200px;
  margin: 1.5rem auto 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-size: 0.8rem;
  color: var(--text-muted);
}
.footer-bottom-right { color: hsl(230,25%,40%); }

/* ══════════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .tech-pillars   { grid-template-columns: repeat(2, 1fr); }
  .diferencial-layout { grid-template-columns: 1fr; gap: 3rem; }
  .contact-layout { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  #hero {
    grid-template-columns: 1fr;
    text-align: center;
    padding-top: calc(var(--nav-height) + 3rem);
  }
  .hero-visual { display: none; }
  .hero-actions { justify-content: center; }
  .hero-stats  { justify-content: center; }
  .hero-badge  { justify-content: center; }
  .scroll-indicator { display: none; }

  .services-grid { grid-template-columns: 1fr; }
  .tech-pillars  { grid-template-columns: 1fr 1fr; }
  .footer-top {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .footer-bottom { flex-direction: column; text-align: center; }

  .nav-links {
    position: fixed;
    top: var(--nav-height);
    left: 0; right: 0;
    background: hsl(228,38%,7%,0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 1.5rem 2rem;
    border-top: 1px solid var(--border);
    transform: translateY(-120%);
    opacity: 0;
    transition: transform var(--transition), opacity var(--transition);
    z-index: 999;
    pointer-events: none;
  }
  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }
  .hamburger { display: flex; }
  .nav-cta-btn { margin-left: 0; width: 100%; text-align: center; }
  .contact-form { padding: 1.75rem; }
}

@media (max-width: 480px) {
  .tech-pillars { grid-template-columns: 1fr; }
  .hero-stats   { flex-direction: column; align-items: center; gap: 1rem; }
  .stat-divider { width: 40px; height: 1px; }
  .section-container { padding: 0 1.25rem; }
}
