:root {
  --color-brand-orange: #f37920;
  --color-brand-blue: #0a416e;
  --color-brand-blue-dark: #072a48;
  --color-slate-dark: #0f172a;
  --color-slate-body: #334155;
  --color-bg-light: #ffffff;
  --color-bg-subtle: #f8fafc;
  --color-border: #e2e8f0;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--color-slate-body);
  background-color: var(--color-bg-light);
  overflow-x: hidden;
}

/* Tipografía corporativa estilizada tipo Eurostile */
.font-eurostile {
  font-family: "Eurostile", "Arial Black", "Montserrat", sans-serif;
  letter-spacing: 0.05em;
}

/* Barra de aviso SimCodec */
.simcodec-banner {
  background: #0f172a;
  color: #f8fafc;
  font-size: 0.8125rem;
  letter-spacing: 0.025em;
  padding: 0.5rem 1rem;
  text-align: center;
  position: relative;
  z-index: 100;
  border-bottom: 2px solid var(--color-brand-orange);
}

.simcodec-banner strong {
  color: var(--color-brand-orange);
}

/* Escenario de Transporte al Scroll */
.transport-scroll-container {
  position: relative;
  height: 280vh;
  background: #f8fafc;
}

.transport-sticky-viewport {
  position: sticky;
  top: 0;
  height: 100vh;
  width: 100%;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: linear-gradient(180deg, #f1f5f9 0%, #e2e8f0 70%, #cbd5e1 100%);
  user-select: none;
}

/* Carretera en Perspectiva */
.highway-stage {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

/* Paisaje de fondo: montañas sobrias */
.scenery-mountains {
  position: absolute;
  bottom: 35%;
  width: 200%;
  height: 140px;
  background-repeat: repeat-x;
  opacity: 0.45;
  transform: translate3d(0, 0, 0);
  pointer-events: none;
}

/* Asfalto y Carretera */
.highway-road {
  position: relative;
  height: 38%;
  background: linear-gradient(180deg, #334155 0%, #1e293b 40%, #0f172a 100%);
  box-shadow: inset 0 8px 16px rgba(0,0,0,0.3);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.road-stripe-yellow {
  position: absolute;
  top: 50%;
  left: 0;
  width: 200%;
  height: 6px;
  background: repeating-linear-gradient(90deg, #f59e0b 0, #f59e0b 50px, transparent 50px, transparent 90px);
  transform: translateY(-50%);
  opacity: 0.9;
}

.road-stripe-white {
  position: absolute;
  top: 22%;
  left: 0;
  width: 200%;
  height: 3px;
  background: repeating-linear-gradient(90deg, #ffffff 0, #ffffff 30px, transparent 30px, transparent 70px);
  opacity: 0.6;
}

.road-shoulder-top {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 8px;
  background: #64748b;
  border-bottom: 2px solid #ffffff;
}

.road-shoulder-bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 14px;
  background: #475569;
  border-top: 3px solid #f8fafc;
}

/* Camión Moderno Farletza */
.truck-unit-wrap {
  position: absolute;
  bottom: 12%;
  left: 0;
  width: 580px;
  height: 190px;
  z-index: 20;
  transform: translate3d(0, 0, 0);
  transition: transform 0.08s ease-out;
  pointer-events: none;
}

/* Ruedas que rotan al scroll */
.truck-wheel {
  transform-origin: center center;
  transition: transform 0.05s linear;
}

/* Telemetría y Panel Superior */
.hud-glass-panel {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(226, 232, 240, 0.8);
  box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.08);
}

/* Puntos de control logístico */
.waypoint-badge {
  transition: all 0.3s ease;
}
.waypoint-badge.active {
  background: #0a416e;
  color: #ffffff;
  border-color: #f37920;
  box-shadow: 0 4px 12px rgba(243, 121, 32, 0.25);
  transform: translateY(-2px);
}

/* Transiciones sobrias corporativas */
.corporate-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  transition: all 0.25s ease;
}
.corporate-card:hover {
  border-color: #cbd5e1;
  box-shadow: 0 12px 24px -8px rgba(10, 65, 110, 0.12);
  transform: translateY(-3px);
}

/* Sombras suaves y sobrias */
.shadow-corporate {
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.05), 0 1px 2px -1px rgba(0, 0, 0, 0.05);
}

/* Animaciones suaves */
@keyframes pulseSubtle {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.85; transform: scale(0.98); }
}

.animate-pulse-subtle {
  animation: pulseSubtle 3s infinite ease-in-out;
}
