/* ===================================================================
   AGROELÍAS - ARQUITECTURA DE 3 SISTEMAS MODULARES
   Responsive, Zero-Horizontal-Overflow & Neutral Portada
   =================================================================== */

:root {
  --bg-primary: #06080a;
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;

  /* Theme Emerald (Sistema 01) */
  --emerald-500: #10b981;
  --emerald-400: #34d399;
  --emerald-600: #059669;
  --emerald-glow: rgba(16, 185, 129, 0.25);

  /* Theme Amber/Gold (Sistema 02) */
  --amber-500: #f59e0b;
  --amber-400: #fbbf24;
  --amber-600: #d97706;
  --amber-glow: rgba(245, 158, 11, 0.25);

  /* Theme Purple/AI (Sistema 03) */
  --purple-500: #8b5cf6;
  --purple-400: #a78bfa;
  --purple-600: #7c3aed;
  --purple-glow: rgba(139, 92, 246, 0.25);

  --cyan-400: #22d3ee;

  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  --container-max: 1140px;
  --nav-height: 68px;
  --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  max-width: 100%;
}

body {
  font-family: var(--font-body);
  line-height: 1.55;
  background: var(--bg-primary);
  overflow-x: hidden;
  width: 100%;
  max-width: 100vw;
  touch-action: pan-y;
  position: relative;
}

/* Scroll Progress Bar */
.scroll-progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 3px;
  background: linear-gradient(90deg, #94a3b8, var(--emerald-400), var(--amber-400), var(--purple-400));
  z-index: 1100;
  box-shadow: 0 0 10px rgba(148, 163, 184, 0.6);
}

.container {
  width: 90%;
  max-width: var(--container-max);
  margin: 0 auto;
  position: relative;
  z-index: 2;
  box-sizing: border-box;
}

/* ===================================================================
   TOP NAVIGATION
   =================================================================== */
.top-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--nav-height);
  background: rgba(6, 8, 10, 0.9);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  z-index: 1000;
  display: flex;
  align-items: center;
  transition: var(--transition);
}

.top-nav.scrolled {
  background: rgba(6, 8, 10, 0.98);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.7);
}

.nav-container {
  width: 92%;
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand-title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.25rem;
  color: #ffffff;
  letter-spacing: -0.01em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-item {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.84rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 6px;
  transition: var(--transition);
}

.nav-item:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.06);
}

.nav-item.active {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

/* ===================================================================
   STICKY ROADMAP HUD
   =================================================================== */
.phase-roadmap-hud {
  position: fixed;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(10, 14, 18, 0.92);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  padding: 14px 12px;
  z-index: 900;
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 165px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6);
}

.hud-header {
  display: flex;
  align-items: center;
  gap: 6px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 6px;
}

.hud-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #cbd5e1;
}

.hud-dot.pulsing {
  animation: pulse-dot 1.8s infinite;
}

@keyframes pulse-dot {
  0%, 100% { transform: scale(1); opacity: 0.8; }
  50% { transform: scale(1.4); opacity: 1; }
}

.hud-title {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}

.roadmap-track {
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: relative;
  padding-left: 12px;
}

.roadmap-line {
  position: absolute;
  left: 15px;
  top: 4px;
  bottom: 4px;
  width: 2px;
  background: rgba(255, 255, 255, 0.08);
}

.roadmap-node {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  font-size: 0.74rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: var(--transition);
}

.node-bullet {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #202b33;
  transition: var(--transition);
}

.bullet-emerald { background: #13392a; }
.bullet-amber { background: #3b280b; }
.bullet-purple { background: #311547; }

.roadmap-node:hover {
  color: #ffffff;
}

.roadmap-node.active {
  color: #ffffff;
  font-weight: 700;
}

.roadmap-node.active .node-bullet {
  transform: scale(1.4);
  box-shadow: 0 0 10px currentColor;
}

.roadmap-node.active .bullet-emerald { background: var(--emerald-400); color: var(--emerald-400); }
.roadmap-node.active .bullet-amber { background: var(--amber-400); color: var(--amber-400); }
.roadmap-node.active .bullet-purple { background: var(--purple-400); color: var(--purple-400); }

.hud-phase-indicator {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 6px;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  color: var(--text-secondary);
}

/* ===================================================================
   HERO SECTION (PORTADA TOTALMENTE NEUTRA)
   =================================================================== */
.hero-section.hero-neutral {
  padding-top: calc(var(--nav-height) + 60px);
  padding-bottom: 85px;
  min-height: 75vh;
  display: flex;
  align-items: center;
  background: radial-gradient(circle at 50% 15%, #181d24 0%, #0d1014 50%, #06080a 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
  overflow: hidden;
  width: 100%;
}

.hero-compact {
  max-width: 920px;
}

.ambient-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0.35;
}

/* Neutral Ambient Glows (Zero Green) */
.ambient-glow {
  position: absolute;
  pointer-events: none;
  filter: blur(120px);
  border-radius: 50%;
  z-index: 0;
}

.glow-neutral-1 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(148, 163, 184, 0.08) 0%, transparent 70%);
  top: -80px;
  right: -80px;
}

.glow-neutral-2 {
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, rgba(71, 85, 105, 0.1) 0%, transparent 70%);
  top: 40%;
  left: -120px;
}

.hero-dossier-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 20px;
}

.pill-neutral {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.16);
  padding: 4px 12px;
  border-radius: 20px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  color: #e2e8f0;
}

.dot-neutral {
  width: 6px;
  height: 6px;
  background: #cbd5e1;
  border-radius: 50%;
  box-shadow: 0 0 6px rgba(255, 255, 255, 0.5);
}

.dossier-tags {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.dossier-tags strong {
  color: #ffffff;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.1rem, 6vw, 3.4rem);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: #ffffff;
  margin-bottom: 18px;
  overflow-wrap: break-word;
  word-break: break-word;
}

.hero-lead {
  font-size: clamp(1rem, 3vw, 1.2rem);
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 30px;
}

/* Gradient Platinum Text (Neutral) */
.gradient-text.platinum {
  background: linear-gradient(135deg, #ffffff 40%, #cbd5e1 75%, #94a3b8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.gradient-text.emerald {
  background: linear-gradient(135deg, #ffffff 10%, var(--emerald-400) 90%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.gradient-text.amber {
  background: linear-gradient(135deg, #ffffff 10%, var(--amber-400) 90%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.gradient-text.purple {
  background: linear-gradient(135deg, #ffffff 10%, var(--purple-400) 90%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 14px;
}

.btn-hero-neutral {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: linear-gradient(135deg, #334155, #1e293b);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: 10px;
  text-decoration: none;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.5);
  transition: var(--transition);
}

.btn-hero-neutral:hover {
  transform: translateY(-2px);
  background: linear-gradient(135deg, #475569, #334155);
  border-color: rgba(255, 255, 255, 0.35);
}

/* ===================================================================
   SECTIONS: 3 DISTINCT BACKGROUND COLORS
   =================================================================== */
.section {
  padding: 90px 0;
  position: relative;
  overflow: hidden;
  width: 100%;
  scroll-margin-top: calc(var(--nav-height) + 10px);
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.7rem, 5vw, 2.3rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 12px;
  color: #ffffff;
  overflow-wrap: break-word;
  word-break: break-word;
}

.section-subtitle {
  font-size: clamp(0.95rem, 3vw, 1.05rem);
  color: var(--text-secondary);
  max-width: 840px;
  margin-bottom: 36px;
  line-height: 1.6;
}

.phase-badge-wrapper {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 4px 14px;
  border-radius: 20px;
  margin-bottom: 16px;
}

.phase-number-tag {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 800;
}

.phase-road-indicator {
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* -------------------------------------------------------------
   THEME 1: SISTEMA 01 - PRODUCCIÓN (ESMERALDA / BOSQUE OSCURO)
   ------------------------------------------------------------- */
.theme-emerald-section {
  background: radial-gradient(ellipse at 50% 15%, #08291c 0%, #041710 50%, #020b07 100%);
  border-top: 1px solid rgba(16, 185, 129, 0.3);
  border-bottom: 1px solid rgba(16, 185, 129, 0.2);
}

.badge-emerald {
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.35);
  color: var(--emerald-400);
}

.emerald-card {
  background: rgba(6, 26, 18, 0.75);
  border: 1px solid rgba(16, 185, 129, 0.25);
}

.emerald-card:hover {
  border-color: var(--emerald-400);
  box-shadow: 0 10px 25px rgba(16, 185, 129, 0.2);
  transform: translateY(-3px);
}

/* -------------------------------------------------------------
   THEME 2: SISTEMA 02 - FINANZAS (DORADO / ÁMBAR OSCURO)
   ------------------------------------------------------------- */
.theme-amber-section {
  background: radial-gradient(ellipse at 50% 15%, #2a1804 0%, #170d02 50%, #0d0701 100%);
  border-top: 1px solid rgba(245, 158, 11, 0.3);
  border-bottom: 1px solid rgba(245, 158, 11, 0.2);
}

.badge-amber {
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid rgba(245, 158, 11, 0.35);
  color: var(--amber-400);
}

.amber-card {
  background: rgba(32, 18, 3, 0.75);
  border: 1px solid rgba(245, 158, 11, 0.25);
}

.amber-card:hover {
  border-color: var(--amber-400);
  box-shadow: 0 10px 25px rgba(245, 158, 11, 0.2);
  transform: translateY(-3px);
}

.highlight-card-amber {
  border-color: rgba(245, 158, 11, 0.5);
  background: linear-gradient(150deg, rgba(40, 22, 3, 0.9), rgba(22, 12, 2, 0.9));
}

/* -------------------------------------------------------------
   THEME 3: SISTEMA 03 - RRHH & IA (PÚRPURA / VIOLETA OSCURO)
   ------------------------------------------------------------- */
.theme-purple-section {
  background: radial-gradient(ellipse at 50% 15%, #260a3f 0%, #130421 50%, #090112 100%);
  border-top: 1px solid rgba(139, 92, 246, 0.3);
  border-bottom: 1px solid rgba(139, 92, 246, 0.2);
}

.badge-purple {
  background: rgba(139, 92, 246, 0.15);
  border: 1px solid rgba(139, 92, 246, 0.35);
  color: var(--purple-400);
}

.purple-card {
  background: rgba(26, 8, 44, 0.75);
  border: 1px solid rgba(139, 92, 246, 0.25);
}

.purple-card:hover {
  border-color: var(--purple-400);
  box-shadow: 0 10px 25px rgba(139, 92, 246, 0.2);
  transform: translateY(-3px);
}

.purple-border {
  border: 1px solid rgba(139, 92, 246, 0.35);
  background: rgba(16, 5, 28, 0.9);
}

.highlight-card-purple {
  border-color: rgba(139, 92, 246, 0.5);
  background: linear-gradient(150deg, rgba(40, 12, 66, 0.9), rgba(18, 5, 30, 0.9));
}

.txt-purple-bright { color: #c084fc; }
.txt-emerald { color: var(--emerald-400); }

/* ===================================================================
   CONCISE CARDS & GRIDS
   =================================================================== */
.concise-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  width: 100%;
}

.concise-card {
  padding: 22px;
  border-radius: 14px;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
}

.c-card-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.c-card-icon {
  font-size: 1.3rem;
  flex-shrink: 0;
}

.c-card-header h4 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.25;
}

.concise-card p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.micro-badge {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 3px;
  background: rgba(16, 185, 129, 0.2);
  color: var(--emerald-400);
  display: inline-block;
  margin-bottom: 2px;
}

.micro-badge.amber { background: rgba(245, 158, 11, 0.2); color: var(--amber-400); }
.micro-badge.purple { background: rgba(139, 92, 246, 0.2); color: var(--purple-400); }

/* ===================================================================
   AI COMPACT TERMINAL (SISTEMA 03)
   =================================================================== */
.ai-compact-terminal {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6);
  margin-top: 28px;
  width: 100%;
  box-sizing: border-box;
}

.term-top-bar {
  background: rgba(10, 3, 20, 0.95);
  padding: 10px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  flex-wrap: wrap;
  gap: 8px;
}

.term-lights {
  display: flex;
  align-items: center;
  gap: 6px;
}

.t-light { width: 8px; height: 8px; border-radius: 50%; }
.t-light.r { background: #ef4444; }
.t-light.y { background: #f59e0b; }
.t-light.g { background: #10b981; }

.t-label {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--text-secondary);
  margin-left: 8px;
}

.t-live-pill {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: #ef4444;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.t-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ef4444;
  animation: pulse-dot 1s infinite;
}

.term-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 18px;
  gap: 18px;
  width: 100%;
  box-sizing: border-box;
}

.cctv-column-compact {
  background: #030106;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  height: 230px;
  overflow: hidden;
}

.cctv-mini-header {
  background: rgba(0, 0, 0, 0.6);
  padding: 6px 10px;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  color: var(--purple-400);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 4px;
}

.cctv-canvas-compact {
  flex-grow: 1;
  position: relative;
  background: radial-gradient(circle at 50% 50%, #150624 0%, #030106 80%);
  background-image: linear-gradient(rgba(139, 92, 246, 0.05) 1px, transparent 1px);
  background-size: 20px 20px;
  overflow: hidden;
}

.ai-box-cctv {
  position: absolute;
  border: 1px solid var(--purple-400);
  font-family: var(--font-mono);
  font-size: 0.58rem;
  font-weight: 700;
  padding: 3px 6px;
  color: #ffffff;
  white-space: nowrap;
}

.ai-box-cctv.truck {
  top: 35%;
  left: 6%;
  width: 52%;
  height: 45%;
  background: rgba(6, 182, 212, 0.15);
  border-color: var(--cyan-400);
}

.ai-box-cctv.person {
  top: 30%;
  left: 64%;
  width: 30%;
  height: 50%;
  background: rgba(139, 92, 246, 0.2);
  border-color: var(--purple-400);
}

.cctv-mini-footer {
  padding: 5px 10px;
  font-size: 0.65rem;
  color: var(--text-muted);
  background: rgba(0, 0, 0, 0.6);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.radio-column-compact {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: rgba(8, 2, 14, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 16px;
  box-sizing: border-box;
}

.radio-top-action {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
  flex-wrap: wrap;
  gap: 6px;
}

.chan-tag {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--purple-400);
}

.btn-compact-radio {
  padding: 6px 12px;
  background: rgba(139, 92, 246, 0.2);
  border: 1px solid rgba(139, 92, 246, 0.4);
  color: var(--purple-400);
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
}

.btn-compact-radio:hover {
  background: var(--purple-500);
  color: #ffffff;
}

.waveform-compact {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 36px;
  background: rgba(0, 0, 0, 0.4);
  border-radius: 6px;
  padding: 6px 14px;
  margin-bottom: 10px;
  overflow: hidden;
}

.wb {
  width: 3px;
  height: 25%;
  background: var(--purple-400);
  border-radius: 2px;
}

.waveform-compact.animating .wb {
  animation: wave-bounce 0.8s infinite alternate ease-in-out;
}

.waveform-compact.animating .wb:nth-child(2) { animation-delay: 0.1s; }
.waveform-compact.animating .wb:nth-child(3) { animation-delay: 0.2s; }
.waveform-compact.animating .wb:nth-child(4) { animation-delay: 0.15s; }
.waveform-compact.animating .wb:nth-child(5) { animation-delay: 0.25s; }
.waveform-compact.animating .wb:nth-child(6) { animation-delay: 0.05s; }
.waveform-compact.animating .wb:nth-child(7) { animation-delay: 0.18s; }
.waveform-compact.animating .wb:nth-child(8) { animation-delay: 0.28s; }
.waveform-compact.animating .wb:nth-child(9) { animation-delay: 0.12s; }

@keyframes wave-bounce {
  0% { height: 15%; }
  100% { height: 95%; }
}

.transcript-display-compact {
  background: #020005;
  border-radius: 6px;
  padding: 10px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: #c084fc;
  min-height: 65px;
  line-height: 1.4;
  margin-bottom: 8px;
  overflow-wrap: break-word;
  word-break: break-word;
}

.cursor-blink { animation: flash 1s infinite; }
@keyframes flash { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }

.transcript-tags-compact {
  display: flex;
  justify-content: space-between;
  font-size: 0.72rem;
  color: var(--text-muted);
  flex-wrap: wrap;
  gap: 4px;
}


/* ===================================================================
   RESPONSIVE DESIGN (ZERO OVERFLOW ON ALL DEVICES)
   =================================================================== */
@media (max-width: 1024px) {
  .phase-roadmap-hud { display: none !important; }
}

@media (max-width: 860px) {
  .section { padding: 60px 0; }
  .hero-section.hero-neutral { padding-top: calc(var(--nav-height) + 30px); padding-bottom: 60px; min-height: auto; }
  .container { width: 92%; }
  .concise-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .term-columns {
    grid-template-columns: 1fr;
    padding: 14px;
    gap: 14px;
  }
  .nav-links { display: none; }
}

@media (max-width: 480px) {
  .container { width: 94%; }
  .hero-title { font-size: 1.85rem; }
  .hero-lead { font-size: 0.95rem; }
  .section-title { font-size: 1.45rem; }
  .section-subtitle { font-size: 0.9rem; margin-bottom: 24px; }
  .dossier-tags { font-size: 0.76rem; gap: 4px; }
  .tag-divider { display: none; }
  .tag-meta { background: rgba(255, 255, 255, 0.05); padding: 3px 8px; border-radius: 4px; display: inline-block; }
  .cctv-column-compact { height: 190px; }
  .ai-box-cctv.truck { font-size: 0.5rem; width: 56%; }
  .ai-box-cctv.person { font-size: 0.5rem; width: 34%; }
  .btn-compact-radio { font-size: 0.68rem; padding: 5px 8px; }
  .btn-hero-neutral { width: 100%; justify-content: center; }
  .brand-title { font-size: 1.15rem; }
  .concise-card { padding: 18px; }
  .c-card-header h4 { font-size: 1rem; }
  .concise-card p { font-size: 0.84rem; }
}

/* ===================================================================
   PRINT STYLESHEET
   =================================================================== */
@media print {
  body {
    background: #ffffff !important;
    color: #111827 !important;
    font-size: 10.5pt;
  }
  .top-nav, .phase-roadmap-hud, .ambient-canvas, .scroll-progress-bar,
  .ai-compact-terminal, .btn-hero-neutral {
    display: none !important;
  }
  .concise-card {
    background: #ffffff !important;
    border: 1px solid #d1d5db !important;
    color: #111827 !important;
    page-break-inside: avoid;
    margin-bottom: 12px;
  }
  .section-title, .hero-title, h4, strong {
    color: #0f172a !important;
  }
  .gradient-text {
    -webkit-text-fill-color: #0f172a !important;
    color: #0f172a !important;
  }
}
