:root {
  --azul-marino: #231911; /* original */
  --azul-marino-light: #2b2218; /* un poco más claro, para Contact */
  --azul-marino-dark: #14100d;  /* un poco más oscuro, para Footer */
  --blanco: #fefefe;
  --verde: #fe810d;
}

*, *::before, *::after {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
}

body {
  font-family: 'Roboto', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Animaciones compartidas */
.moto-container-rtl {
  position: fixed;
  bottom: 8%;
  right: 0;
  z-index: 1000;
  animation: moverMotoRTL 10s linear forwards;
  transform: scaleX(-1); /* Voltea horizontalmente la moto */
}

.moto-animada-rtl {
  width: 120px;
  position: relative;
  z-index: 2;
  animation: balanceo 0.8s ease-in-out infinite alternate;
}

.polvo-estela-rtl {
  position: absolute;
  width: 300px;
  height: 60px;
  background: radial-gradient(ellipse at center, 
  rgba(150, 100, 50, 0.7) 0%, 
 rgba(150, 100, 50, 0) 70%);
  filter: blur(7px);
  bottom: -10px;
  right: -150px;
  z-index: 1;
  animation: 
  estirarPolvoRTL 10s linear forwards,
  desvanecerPolvo 2s infinite alternate;
}

/* Animaciones RTL */
@keyframes moverMotoRTL {
  0% { 
    transform: translateX(100px) scaleX(-1); 
  }
  50% {
    transform: translateX(-50vw) translateY(-20px) scaleX(-1);
  }
  100% { 
    transform: translateX(calc(-100vw - 100px)) scaleX(-1);
  }
}

@keyframes estirarPolvoRTL {
  0% { width: 50px; opacity: 0; right: -50px; }
  20% { width: 300px; opacity: 0.7; right: -150px; }
  100% { width: 100px; opacity: 0; right: 50px; }
}

/* Balanceo (igual que antes) */
@keyframes balanceo {
  0% { transform: rotate(-5deg) scaleX(-1); }
  100% { transform: rotate(5deg) scaleX(-1); }
}

@keyframes moverMotoRTL {
  0% { 
    transform: translateX(100px) scaleX(-1); 
  }
  50% {
    transform: translateX(-50vw) translateY(-20px) scaleX(-1);
  }
  100% { 
    transform: translateX(calc(-100vw - 100px)) translateY(0) scaleX(-1);
  }
}