/* ============================================================
   ARESDEN IT — Styles
   JJ WEBS · 2026
   ============================================================ */

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

:root {
  /* Backgrounds */
  --bg-primary:   #0A0A0F;
  --bg-secondary: #0D1B2A;
  --bg-surface:   #141820;
  --bg-border:    #1E2A3A;

  /* Brand */
  --brand-blue:     #0066FF;
  --brand-cyan:     #00C8FF;
  --brand-gradient: linear-gradient(135deg, #0066FF 0%, #00C8FF 100%);

  /* Text */
  --text-primary:   #FFFFFF;
  --text-secondary: #E8EDF2;
  --text-muted:     #6B7A8D;

  /* Status */
  --status-success: #00E676;
  --status-error:   #FF3B5C;

  /* Shadows */
  --shadow-blue: 0 0 30px rgba(0,102,255,0.2);
  --shadow-cyan: 0 0 20px rgba(0,200,255,0.15);
  --glow-blue:   0 0 60px rgba(0,102,255,0.4);

  /* Typography */
  --font-display: 'Syne', sans-serif;
  --font-body:    'DM Sans', sans-serif;
  --font-mono:    'JetBrains Mono', monospace;

  /* Type scale */
  --text-xs:   0.75rem;
  --text-sm:   0.875rem;
  --text-base: 1rem;
  --text-lg:   1.125rem;
  --text-xl:   1.25rem;
  --text-2xl:  1.5rem;
  --text-3xl:  1.875rem;
  --text-4xl:  2.25rem;
  --text-5xl:  3rem;
  --text-hero: 4.5rem;

  /* Spacing */
  --space-1:  0.25rem;
  --space-2:  0.5rem;
  --space-3:  0.75rem;
  --space-4:  1rem;
  --space-6:  1.5rem;
  --space-8:  2rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-24: 6rem;

  /* Radius */
  --radius-sm:   4px;
  --radius-md:   8px;
  --radius-lg:   12px;
  --radius-xl:   16px;
  --radius-full: 9999px;

  /* Layout */
  --container-max:    1200px;
  --container-pad:    1.5rem;
  --container-pad-lg: 2rem;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Scanlines overlay */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background: repeating-linear-gradient(
    0deg,
    transparent, transparent 2px,
    rgba(0,200,255,0.012) 2px, rgba(0,200,255,0.012) 4px
  );
  pointer-events: none;
  z-index: 998;
}

a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-pad-lg);
  padding-left: calc(var(--container-pad-lg) + 60px); /* offset nav dock */
  box-sizing: border-box;
}

/* Section offset for fixed statusbar + body padding */
section { position: relative; overflow: hidden; }

/* Separador gradient entre secciones */
section + section::before {
  content: '';
  position: absolute;
  top: 0; left: 10%; right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0,200,255,0.2) 30%, rgba(0,102,255,0.3) 50%, rgba(0,200,255,0.2) 70%, transparent);
  pointer-events: none;
  z-index: 10;
}

/* ============================================================
   KEYFRAMES
   ============================================================ */

@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.3; }
}

@keyframes flicker {
  0%, 91%, 94%, 97%, 100% { opacity: 0.9; }
  92%, 95%, 98%            { opacity: 0.15; }
}

@keyframes rgbpulse {
  0%   { box-shadow: 0 0 6px 2px rgba(0,102,255,0.8); }
  33%  { box-shadow: 0 0 6px 2px rgba(0,200,255,0.8); }
  66%  { box-shadow: 0 0 6px 2px rgba(0,230,118,0.8); }
  100% { box-shadow: 0 0 6px 2px rgba(0,102,255,0.8); }
}

@keyframes ledblink {
  0%, 100% { opacity: 1;   transform: scale(1);   }
  50%       { opacity: 0.2; transform: scale(0.7); }
}

@keyframes blink-cursor {
  0%, 100% { border-color: var(--brand-cyan); }
  50%       { border-color: transparent; }
}

@keyframes bar-grow {
  from { width: 0; }
  to   { width: 87%; }
}

@keyframes float-hud {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-6px); }
}

@keyframes spin-slow {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

@keyframes bubble-in {
  0%   { opacity: 0; transform: translateY(6px) scale(0.9); }
  20%  { opacity: 1; transform: translateY(0) scale(1); }
  80%  { opacity: 1; }
  100% { opacity: 0; }
}

@keyframes grid-shift {
  from { background-position: 0 0; }
  to   { background-position: 40px 40px; }
}

/* ============================================================
   STATUS BAR
   ============================================================ */

.statusbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 32px;
  background: rgba(10,10,15,0.97);
  border-bottom: 1px solid var(--bg-border);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-8);
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--text-muted);
  z-index: 500;
  letter-spacing: 0.05em;
}

.statusbar-item { display: flex; align-items: center; gap: 6px; }

.statusbar-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--status-success);
  animation: pulse-dot 2s ease-in-out infinite;
}

.statusbar-val { color: var(--brand-cyan); }

/* ============================================================
   NAV DOCK
   ============================================================ */

.nav-dock {
  position: fixed;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(14,24,32,0.97);
  border: 1px solid var(--bg-border);
  border-left: none;
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
  backdrop-filter: blur(10px);
  z-index: 400;
  padding: var(--space-3) 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.nav-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-3) 0 var(--space-3);
  border-bottom: 1px solid var(--bg-border);
  margin-bottom: var(--space-2);
  cursor: pointer;
}

.nav-logo svg {
  filter: drop-shadow(0 0 5px rgba(0,200,255,0.35));
  transition: filter 0.2s;
}

.nav-logo:hover svg {
  filter: drop-shadow(0 0 10px rgba(0,200,255,0.7));
}

.nav-dock-item {
  position: relative;
  width: 48px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text-muted);
  transition: all 0.2s;
  border-left: 2px solid transparent;
}

.nav-dock-item:hover,
.nav-dock-item.active {
  color: var(--brand-cyan);
  background: rgba(0,200,255,0.06);
  border-left-color: var(--brand-cyan);
}

.nav-dock-item svg { width: 18px; height: 18px; stroke: currentColor; }

.nav-tooltip {
  position: absolute;
  left: calc(100% + 10px);
  background: var(--bg-surface);
  border: 1px solid var(--bg-border);
  border-radius: var(--radius-md);
  padding: 4px 10px;
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--text-secondary);
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transform: translateX(-4px);
  transition: all 0.2s;
}

.nav-dock-item:hover .nav-tooltip {
  opacity: 1;
  transform: translateX(0);
}

/* ============================================================
   PIXEL CHARACTER
   ============================================================ */

#pixel-char {
  position: fixed;
  bottom: 4px;
  left: 100px;
  z-index: 300;
  transition: left 0.8s cubic-bezier(.4,0,.2,1);
  image-rendering: pixelated;
  display: none; /* oculto temporalmente — descomentar para activar */
}

#pixel-char canvas {
  image-rendering: pixelated;
  display: block;
}

.speech-bubble {
  position: absolute;
  bottom: calc(100% + 6px);
  left: 50%;
  transform: translateX(-50%);
  background: var(--bg-surface);
  border: 1px solid rgba(0,200,255,0.4);
  border-radius: var(--radius-md);
  padding: 4px 10px;
  font-family: var(--font-mono);
  font-size: 9px;
  color: var(--brand-cyan);
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
}

.speech-bubble::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 4px solid transparent;
  border-top-color: rgba(0,200,255,0.4);
}

.speech-bubble.show {
  animation: bubble-in 2.5s ease forwards;
}

/* ============================================================
   BUTTONS
   ============================================================ */

.btn-primary {
  background: var(--brand-gradient);
  color: #fff;
  padding: 0.75rem 2rem;
  border-radius: var(--radius-full);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  border: none;
  cursor: pointer;
  transition: all 0.3s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--glow-blue);
}

.btn-secondary {
  background: transparent;
  color: var(--brand-cyan);
  padding: 0.75rem 2rem;
  border-radius: var(--radius-full);
  border: 1px solid rgba(0,200,255,0.4);
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 15px;
  cursor: pointer;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.btn-secondary:hover { background: rgba(0,200,255,0.08); }

.btn-whatsapp {
  background: rgba(0,230,118,0.1);
  border: 1px solid rgba(0,230,118,0.3);
  color: var(--status-success);
  padding: 0.875rem 2rem;
  border-radius: var(--radius-full);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
}
.btn-whatsapp:hover { background: rgba(0,230,118,0.18); }
.btn-whatsapp svg { width: 20px; height: 20px; }

/* ============================================================
   DECORATIVE ELEMENTS
   ============================================================ */

.led {
  width: 6px; height: 6px;
  border-radius: 50%;
  animation: ledblink 2s infinite;
  position: absolute;
}
.led-blue  { background: var(--brand-blue);     box-shadow: 0 0 6px var(--brand-blue); }
.led-cyan  { background: var(--brand-cyan);     box-shadow: 0 0 6px var(--brand-cyan); }
.led-green { background: var(--status-success); box-shadow: 0 0 6px var(--status-success); }

.rgb-cable {
  border-radius: 999px;
  animation: rgbpulse 3s infinite;
  position: absolute;
}
.rgb-cable-h { height: 2px; }
.rgb-cable-v { width: 2px; }

.screen-flicker {
  background: rgba(14,24,32,0.85);
  border: 1px solid rgba(0,200,255,0.3);
  border-radius: var(--radius-md);
  font-family: var(--font-mono);
  font-size: 9px;
  color: var(--brand-cyan);
  animation: flicker 5s infinite;
  padding: 10px 12px;
  position: absolute;
  pointer-events: none;
}

.circuit-canvas {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

/* Section label */
.section-label {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: var(--brand-cyan);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: var(--space-3);
}

.section-title {
  font-family: var(--font-display);
  font-size: var(--text-4xl);
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.1;
  margin-bottom: var(--space-4);
}

.section-sub {
  font-size: var(--text-lg);
  color: var(--text-muted);
  max-width: 520px;
}

/* ============================================================
   HERO
   ============================================================ */

#hero {
  min-height: 100vh;
  padding-top: 32px; /* statusbar */
  padding-bottom: var(--space-16);
  background: var(--bg-primary);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

/* Radial gradient accent */
#hero::after {
  content: '';
  position: absolute;
  right: -10%;
  top: 10%;
  width: 60vw;
  height: 80vh;
  background: radial-gradient(ellipse at center, rgba(0,102,255,0.07) 0%, transparent 70%);
  pointer-events: none;
}

/* Grid pattern */
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0,200,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,200,255,0.04) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr minmax(0, 300px);
  gap: clamp(var(--space-12), 6vw, var(--space-24));
  align-items: center;
  padding: var(--space-12) 0;
}

/* Evitar que las celdas del grid se desborden */
.hero-inner > * { min-width: 0; }

/* Hero left */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0,200,255,0.08);
  border: 1px solid rgba(0,200,255,0.2);
  border-radius: var(--radius-full);
  padding: 5px 14px;
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--brand-cyan);
  letter-spacing: 0.1em;
  margin-bottom: var(--space-6);
}

.hero-badge-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--status-success);
  animation: pulse-dot 2s infinite;
}

.hero-h1 {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 5.5vw, 4rem);
  font-weight: 800;
  line-height: 1.0;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-4);
  white-space: nowrap;
}

.hero-h1 .gradient-text {
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: var(--space-4);
  white-space: nowrap;
}

.hero-typewriter {
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  color: var(--text-muted);
  margin-bottom: var(--space-8);
  min-height: 22px;
}

.typewriter-cursor {
  display: inline-block;
  border-right: 2px solid var(--brand-cyan);
  animation: blink-cursor 0.8s infinite;
  margin-left: 1px;
}

.hero-ctas {
  display: flex;
  gap: var(--space-4);
  flex-wrap: wrap;
}

/* Hero floating decorations */
.hero-led-1 { top: 20%; right: 35%; animation-delay: 0s; }
.hero-led-2 { top: 60%; right: 25%; animation-delay: 0.7s; }
.hero-led-3 { top: 40%; right: 15%; animation-delay: 1.4s; }

/* Ping screen (top-right decoration) */
.ping-screen {
  top: 80px;
  right: 20px;
  z-index: 3;
  line-height: 1.8;
}

.ping-screen .screen-val { color: var(--status-success); }

/* ============================================================
   HUD PANEL
   ============================================================ */

.hud-panel {
  background: rgba(14,24,32,0.85);
  border: 1px solid var(--bg-border);
  border-radius: var(--radius-xl);
  backdrop-filter: blur(10px);
  padding: 24px;
  font-family: var(--font-mono);
  font-size: 11px;
  animation: float-hud 4s ease-in-out infinite;
  width: 100%;
  box-sizing: border-box;
}

.hud-header {
  font-size: 10px;
  color: var(--brand-cyan);
  letter-spacing: 0.1em;
  border-bottom: 1px solid var(--bg-border);
  padding-bottom: 10px;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.hud-dot { color: var(--status-success); animation: pulse-dot 2s infinite; }

.hud-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 0;
  border-bottom: 1px solid rgba(30,42,58,0.5);
  color: var(--text-muted);
}
.hud-row:last-of-type { border-bottom: none; }
.hud-row-key { color: var(--text-muted); }
.hud-row-val { color: var(--status-success); font-weight: 500; }
.hud-row-val.blue { color: var(--brand-cyan); }

.hud-bar-wrap {
  margin-top: 14px;
  border-top: 1px solid var(--bg-border);
  padding-top: 12px;
}
.hud-bar-label {
  display: flex;
  justify-content: space-between;
  color: var(--text-muted);
  font-size: 9px;
  margin-bottom: 6px;
}
.hud-bar-label span { color: var(--brand-cyan); }
.hud-bar-bg {
  height: 4px;
  background: var(--bg-border);
  border-radius: 999px;
  overflow: hidden;
}
.hud-bar-fill {
  height: 100%;
  background: var(--brand-gradient);
  border-radius: 999px;
  width: 0;
  transition: width 2s ease;
}

/* ============================================================
   SERVICIOS
   ============================================================ */

#servicios {
  background: var(--bg-primary);
  padding: var(--space-24) 0;
}

.services-header {
  margin-bottom: var(--space-12);
  position: relative;
  z-index: 2;
}

/* Monitor terminal */
.monitor-terminal {
  top: 20px;
  right: 20px;
  z-index: 2;
  min-width: 180px;
  line-height: 2;
}

.monitor-terminal .term-line { display: block; }
.monitor-terminal .term-line.hidden { opacity: 0; }

/* Service grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1px;
  background: var(--bg-border);
  border: 1px solid var(--bg-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  z-index: 2;
}

.service-card {
  background: var(--bg-surface);
  padding: 28px;
  transition: all 0.3s;
  cursor: default;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0,102,255,0.08), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}

.service-card:hover::before { opacity: 1; }
.service-card:hover {
  background: #151e2a;
  transform: translateY(-2px);
}

.svc-num {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--brand-cyan);
  letter-spacing: 0.1em;
  margin-bottom: var(--space-3);
}

.svc-icon {
  color: var(--brand-cyan);
  margin-bottom: var(--space-3);
  width: 26px; height: 26px;
}
.svc-icon svg { width: 26px; height: 26px; stroke: currentColor; }

.svc-name {
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: var(--space-2);
}

.svc-desc {
  font-size: var(--text-sm);
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: var(--space-4);
}

.svc-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 9px;
  color: var(--brand-blue);
  background: rgba(0,102,255,0.1);
  border: 1px solid rgba(0,102,255,0.2);
  border-radius: var(--radius-full);
  padding: 2px 10px;
  letter-spacing: 0.08em;
}

/* RGB cables in servicios */
.svc-cables { position: absolute; top: 0; right: 80px; z-index: 1; pointer-events: none; }
.svc-cable-1 { width: 120px; top: 10px; right: 40px; animation-delay: 0s; }
.svc-cable-2 { width: 80px;  top: 30px; right: 20px; animation-delay: 1s; }
.svc-cable-3 { width: 160px; top: 50px; right: 60px; animation-delay: 2s; }

/* ============================================================
   PROCESO
   ============================================================ */

#proceso {
  background: var(--bg-secondary);
  padding: var(--space-24) 0;
}

.proceso-header {
  margin-bottom: var(--space-12);
  position: relative;
  z-index: 2;
}

.process-track {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: var(--space-4);
}

/* Connecting line */
.process-track::before {
  content: '';
  position: absolute;
  top: 28px;
  left: 56px;
  right: 56px;
  height: 2px;
  background: var(--brand-gradient);
  z-index: 0;
}

.process-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  flex: 1;
  position: relative;
  z-index: 1;
}

.process-node {
  width: 56px; height: 56px;
  border-radius: 50%;
  border: 2px solid var(--brand-blue);
  background: var(--bg-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-cyan);
  margin-bottom: var(--space-4);
  position: relative;
}

.process-node svg { width: 22px; height: 22px; stroke: currentColor; }
.process-node.final { border-color: var(--status-success); color: var(--status-success); }

.process-step-title {
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: 600;
  margin-bottom: var(--space-2);
}

.process-step-desc {
  font-size: var(--text-sm);
  color: var(--text-muted);
  max-width: 160px;
  line-height: 1.5;
}

/* Proceso decorations */
.proceso-screen {
  top: 20px;
  right: 20px;
  z-index: 2;
}

.proceso-leds { position: absolute; top: 20px; left: 20px; display: flex; gap: 10px; }
.proceso-leds .led { position: static; }

/* ============================================================
   NOSOTROS / STATS
   ============================================================ */

#nosotros {
  background: var(--bg-primary);
  padding: var(--space-24) 0;
}

.nosotros-header {
  margin-bottom: var(--space-12);
  position: relative;
  z-index: 2;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--bg-border);
  border: 1px solid var(--bg-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  z-index: 2;
}

.stat-cell {
  background: var(--bg-surface);
  padding: 40px 32px;
  text-align: center;
}

.stat-num {
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 800;
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: var(--space-2);
}

.stat-label {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--text-muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* Vertical cables */
.v-cables { position: absolute; top: 0; right: 60px; pointer-events: none; z-index: 1; }
.v-cable-1 { height: 120px; top: 0; right: 20px; animation-delay: 0s; }
.v-cable-2 { height: 80px;  top: 0; right: 40px; animation-delay: 1s; }
.v-cable-3 { height: 160px; top: 0; right: 60px; animation-delay: 2s; }

/* ============================================================
   CONTACTO
   ============================================================ */

#contacto {
  background: var(--bg-secondary);
  padding: var(--space-24) 0;
}

.contacto-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
  position: relative;
  z-index: 2;
}

.contacto-header { margin-bottom: var(--space-8); }

.contacto-desc {
  color: var(--text-muted);
  margin-bottom: var(--space-8);
  line-height: 1.7;
}

.contacto-info {
  margin-top: var(--space-8);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.contacto-info-item {
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  color: var(--text-muted);
}

.contacto-info-item .prefix { color: var(--brand-blue); }

/* Contact form */
.contact-form {
  background: var(--bg-surface);
  border: 1px solid var(--bg-border);
  border-radius: 20px;
  padding: 40px;
}

.form-group { margin-bottom: var(--space-6); }

.form-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--brand-cyan);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: var(--space-2);
}

.form-input,
.form-textarea {
  width: 100%;
  background: var(--bg-secondary);
  border: 1px solid var(--bg-border);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 14px;
  outline: none;
  transition: border-color 0.2s;
}

.form-input:focus,
.form-textarea:focus { border-color: var(--brand-blue); }

.form-textarea { resize: vertical; min-height: 100px; }

.form-submit {
  width: 100%;
  background: var(--brand-gradient);
  color: #fff;
  border: none;
  border-radius: var(--radius-full);
  padding: 14px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  transition: all 0.3s;
}
.form-submit:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: var(--glow-blue);
}
.form-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.form-input.invalid,
.form-textarea.invalid {
  border-color: #ff5252;
  box-shadow: 0 0 0 2px rgba(255, 82, 82, 0.2);
}

.form-msg {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  text-align: center;
  padding: 10px 0 0;
  min-height: 20px;
  transition: opacity 0.3s;
}
.form-msg.success { color: #00e676; }
.form-msg.error   { color: #ff5252; }

/* ============================================================
   WHATSAPP FLOTANTE
   ============================================================ */

.wa-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 900;
  width: 56px;
  height: 56px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.45);
  transition: transform 0.2s, box-shadow 0.2s;
  text-decoration: none;
}
.wa-float:hover {
  transform: scale(1.1) translateY(-2px);
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.65);
}

/* Contacto status screen */
.contacto-screen {
  bottom: 20px;
  right: 20px;
  z-index: 2;
  line-height: 2;
}

/* ============================================================
   FOOTER
   ============================================================ */

footer {
  background: var(--bg-primary);
  border-top: 1px solid var(--bg-border);
  padding: var(--space-8) 0;
}

.footer-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: var(--space-4);
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-logo svg {
  flex-shrink: 0;
  filter: drop-shadow(0 0 5px rgba(0,200,255,0.3));
}

.footer-wordmark {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--text-primary);
}

.footer-wordmark-it {
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.footer-tagline {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: var(--text-muted);
  text-align: center;
  letter-spacing: 0.05em;
}

.footer-copy {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: var(--text-muted);
  text-align: right;
}

/* ============================================================
   FAQ
   ============================================================ */

#faq {
  padding: var(--space-24) 0;
  position: relative;
}

.faq-header {
  margin-bottom: var(--space-12);
}

.faq-list {
  max-width: 760px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--bg-border);
}
.faq-item:first-child {
  border-top: 1px solid var(--bg-border);
}

.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding: var(--space-5) 0;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-primary);
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  text-align: left;
  transition: color 0.2s;
}

.faq-q:hover,
.faq-q[aria-expanded="true"] {
  color: var(--brand-cyan);
}

.faq-icon {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  stroke: currentColor;
  transition: transform 0.3s ease;
}

.faq-item.open .faq-icon {
  transform: rotate(180deg);
}

.faq-a {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.35s ease;
}

.faq-item.open .faq-a {
  max-height: 200px;
}

.faq-a p {
  padding-bottom: var(--space-5);
  color: var(--text-muted);
  font-size: var(--text-sm);
  line-height: 1.7;
}

/* ============================================================
   RESPONSIVE — 960px (solo hero, para viewports intermedios)
   ============================================================ */

@media (max-width: 1250px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }
  .hero-h1 { white-space: normal; }
  .hero-subtitle { white-space: normal; }
  .hud-panel { max-width: 460px; }
  .ping-screen { display: none; }
}

/* ============================================================
   RESPONSIVE — 768px
   ============================================================ */

@media (max-width: 768px) {

  /* Container — reset padding izquierdo (nav dock va abajo, no a la izquierda) */
  .container {
    padding-left: var(--container-pad);
    padding-right: var(--container-pad);
  }

  /* Statusbar */
  .statusbar { gap: var(--space-4); font-size: 9px; }
  .statusbar-item:nth-child(3),
  .statusbar-item:nth-child(4) { display: none; }

  /* Nav dock → bottom tab bar */
  .nav-dock {
    top: auto;
    bottom: 0;
    left: 0; right: 0;
    transform: none;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    border-left: 1px solid var(--bg-border);
    border-bottom: none;
    flex-direction: row;
    justify-content: space-around;
    padding: var(--space-2) 0;
  }
  .nav-dock-item { width: auto; height: 44px; flex: 1; border-left: none; border-top: 2px solid transparent; }
  .nav-dock-item:hover, .nav-dock-item.active { border-left-color: transparent; border-top-color: var(--brand-cyan); }
  .nav-tooltip { display: none; }

  /* Hero */
  #hero { padding-bottom: 80px; }
  .hero-inner {
    grid-template-columns: 1fr;
    padding: var(--space-8) 0;
    gap: var(--space-8);
  }
  .hero-h1 { white-space: normal; font-size: clamp(2.4rem, 10vw, 3.5rem); }
  .hero-subtitle { white-space: normal; font-size: 1.1rem; }
  .hud-panel { font-size: 10px; }
  .ping-screen { display: none; }
  .hero-led-1, .hero-led-2, .hero-led-3 { display: none; }

  /* Services */
  .services-grid { grid-template-columns: 1fr; }
  .monitor-terminal { display: none; }
  .svc-cables { display: none; }

  /* Process track */
  .process-track {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-8);
  }
  .process-track::before { display: none; }
  .process-step { flex-direction: row; text-align: left; gap: var(--space-4); }
  .process-node { margin-bottom: 0; flex-shrink: 0; }
  .process-step-desc { max-width: none; }

  /* Stats */
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-num { font-size: 2.5rem; }
  .v-cables { display: none; }

  /* Contact */
  .contacto-grid { grid-template-columns: 1fr; gap: var(--space-8); }
  .contact-form { padding: 24px; }
  .contacto-screen { display: none; }

  /* Section separators */
  section + section::before { left: 5%; right: 5%; }

  /* Section titles */
  .section-title { font-size: var(--text-3xl); }

  /* Footer */
  .footer-inner { grid-template-columns: 1fr; text-align: center; gap: var(--space-2); }
  .footer-copy { text-align: center; }

  /* Pixel char — hidden */
  #pixel-char { display: none; }

  /* Bottom padding for tab bar */
  footer { padding-bottom: calc(var(--space-8) + 56px); }
}
