/**
 * Inicio - Estilos para la página principal
 * AKT Via Motos - www.aktviamotos.com
 */

/* ============================================
   HERO SECTION - DISEÑO MODERNO
   ============================================ */

/* Hero Container */
.hero {
  position: relative;
  width: 100%;
  min-height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, 
    #001a3d 0%,
    #003866 25%,
    #004f9e 50%,
    #8a0409 75%,
    #e20613 100%
  );
  background-size: 400% 400%;
  animation: heroGradient 15s ease infinite;
}

@keyframes heroGradient {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Huellas de frenado (Skid Marks) */
.hero__skid-marks {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
  opacity: 0.8;
  pointer-events: none;
}

.hero__skid-mark {
  position: absolute;
  width: 100%;
  height: 200px;
  opacity: 0;
  animation: skidFadeIn 2s ease-out forwards;
}

.hero__skid-mark--1 {
  top: 15%;
  left: -10%;
  transform: rotate(-5deg);
  animation-delay: 0.5s;
}

.hero__skid-mark--2 {
  top: 45%;
  right: -10%;
  transform: rotate(8deg) scaleX(-1);
  animation-delay: 1.2s;
}

.hero__skid-mark--3 {
  bottom: 20%;
  left: 5%;
  transform: rotate(-3deg);
  animation-delay: 1.8s;
}

@keyframes skidFadeIn {
  0% {
    opacity: 0;
    filter: blur(10px);
    transform: translateY(-20px) rotate(var(--rotate, 0deg));
  }
  50% {
    opacity: 1;
    filter: blur(2px);
  }
  100% {
    opacity: 0.6;
    filter: blur(0px);
    transform: translateY(0) rotate(var(--rotate, 0deg));
  }
}

/* ============================================
   CARRUSEL 3D DE MOTOS
   ============================================ */

.hero__carousel-3d {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 80%;
  perspective: 2000px;
  z-index: 2;
  pointer-events: none;
  opacity: 0.25;
}

.hero__carousel-3d-container {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
}

.hero__carousel-3d-track {
  position: absolute;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  animation: carouselRotate 30s linear infinite;
}

@keyframes carouselRotate {
  from {
    transform: rotateY(0deg);
  }
  to {
    transform: rotateY(360deg);
  }
}

/* Pantallas individuales - Vista desde DENTRO del círculo */
.hero__screen {
  position: absolute;
  width: 450px;
  height: 300px;
  left: 50%;
  top: 50%;
  transform-style: preserve-3d;
  transform: 
    translate(-50%, -50%)
    rotateY(calc(var(--i) * 72deg))
    translateZ(600px)
    rotateY(180deg);
  transition: all 0.5s ease;
}

/* Frame de la pantalla (estilo laptop/monitor) */
.hero__screen-frame {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, 
    rgba(0, 26, 61, 0.95) 0%, 
    rgba(0, 56, 102, 0.95) 100%);
  border-radius: 12px;
  padding: 12px;
  box-shadow: 
    0 20px 60px rgba(0, 0, 0, 0.5),
    0 0 30px rgba(0, 79, 158, 0.3),
    inset 0 0 20px rgba(255, 255, 255, 0.05);
  position: relative;
  overflow: hidden;
  border: 2px solid rgba(255, 215, 0, 0.2);
}

.hero__screen-frame::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, 
    rgba(255, 255, 255, 0.1) 0%, 
    transparent 50%, 
    rgba(0, 0, 0, 0.1) 100%);
  pointer-events: none;
}

.hero__screen-frame::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, 
    transparent 30%, 
    rgba(255, 215, 0, 0.1) 50%, 
    transparent 70%);
  animation: screenGlare 8s linear infinite;
}

@keyframes screenGlare {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

/* Contenido de la pantalla */
.hero__screen-content {
  width: 100%;
  height: 100%;
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  background: #000;
}

.hero__screen-content img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: brightness(0.9) contrast(1.1);
  transition: all 0.5s ease;
}

.hero__screen:hover .hero__screen-content img {
  filter: brightness(1.1) contrast(1.2) saturate(1.2);
  transform: scale(1.05);
}

/* Overlay con información */
.hero__screen-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 16px 20px;
  background: linear-gradient(180deg, 
    transparent 0%, 
    rgba(0, 0, 0, 0.7) 30%, 
    rgba(0, 0, 0, 0.95) 100%);
  transform: translateY(100%);
  transition: transform 0.4s ease;
}

.hero__screen:hover .hero__screen-overlay {
  transform: translateY(0);
}

.hero__screen-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: #ffd700;
  margin: 0 0 0.25rem 0;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
  letter-spacing: 0.02em;
}

.hero__screen-desc {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.8);
}

/* Efecto de reflexión en el "piso" */
.hero__screen::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 50%;
  bottom: -50%;
  left: 0;
  background: linear-gradient(180deg, 
    rgba(0, 79, 158, 0.1) 0%, 
    transparent 100%);
  transform: rotateX(180deg) translateZ(-1px);
  opacity: 0.3;
}

/* Formas geométricas animadas */
.hero__shapes {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
  opacity: 0.4;
}

.hero__shape {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(40px);
  animation: float 20s infinite ease-in-out;
}

.hero__shape--1 {
  width: 300px;
  height: 300px;
  top: 10%;
  left: 5%;
  background: linear-gradient(135deg, 
    rgba(226, 6, 19, 0.15) 0%, 
    rgba(0, 79, 158, 0.15) 100%);
  animation-delay: 0s;
  animation-duration: 25s;
}

.hero__shape--2 {
  width: 400px;
  height: 400px;
  top: 50%;
  right: 10%;
  background: linear-gradient(225deg, 
    rgba(0, 79, 158, 0.15) 0%, 
    rgba(226, 6, 19, 0.15) 100%);
  animation-delay: 2s;
  animation-duration: 30s;
}

.hero__shape--3 {
  width: 250px;
  height: 250px;
  bottom: 15%;
  left: 15%;
  background: linear-gradient(315deg, 
    rgba(226, 6, 19, 0.12) 0%, 
    rgba(255, 255, 255, 0.08) 100%);
  animation-delay: 4s;
  animation-duration: 22s;
}

.hero__shape--4 {
  width: 350px;
  height: 350px;
  top: 25%;
  right: 20%;
  background: linear-gradient(45deg, 
    rgba(0, 79, 158, 0.12) 0%, 
    rgba(255, 255, 255, 0.08) 100%);
  animation-delay: 1s;
  animation-duration: 28s;
  border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
}

.hero__shape--5 {
  width: 200px;
  height: 200px;
  bottom: 25%;
  right: 5%;
  background: rgba(255, 255, 255, 0.1);
  animation-delay: 3s;
  animation-duration: 20s;
  border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
}

@keyframes float {
  0%, 100% {
    transform: translate(0, 0) rotate(0deg) scale(1);
  }
  25% {
    transform: translate(30px, -30px) rotate(90deg) scale(1.05);
  }
  50% {
    transform: translate(-20px, 20px) rotate(180deg) scale(0.95);
  }
  75% {
    transform: translate(40px, 10px) rotate(270deg) scale(1.02);
  }
}

/* Hero Content */
.hero__content {
  position: relative;
  z-index: 10;
  text-align: center;
  color: white;
  max-width: 1100px;
  margin: 0 auto;
  padding: clamp(2rem, 5vw, 4rem) clamp(1rem, 3vw, 2rem);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(20px) saturate(180%);
  border-radius: 32px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 
    0 8px 32px rgba(0, 0, 0, 0.3),
    0 0 0 1px rgba(255, 255, 255, 0.1) inset;
  animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Badge */
.hero__badge {
  display: inline-block;
  padding: 0.5rem 1.5rem;
  background: linear-gradient(135deg, 
    rgba(226, 6, 19, 0.9) 0%, 
    rgba(226, 6, 19, 0.7) 100%);
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 4px 15px rgba(226, 6, 19, 0.4);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 4px 15px rgba(226, 6, 19, 0.4);
  }
  50% {
    transform: scale(1.02);
    box-shadow: 0 6px 20px rgba(226, 6, 19, 0.6);
  }
}

/* Title */
.hero__title {
  font-size: clamp(2.5rem, 7vw, 5rem);
  font-weight: 900;
  margin: 0 0 1.5rem 0;
  line-height: 1.1;
  letter-spacing: -0.02em;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.hero__title-line {
  display: block;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

/* Animación de moto escribiendo */
.hero__title-animated {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  overflow: visible;
}

.hero__title-text {
  display: inline-flex;
  position: relative;
  white-space: nowrap;
}

.hero__title-letter {
  display: inline-block;
  opacity: 0;
  transform: translateY(20px) scale(0.8);
  background: linear-gradient(135deg, 
    #ffffff 0%, 
    #ffd700 50%, 
    #ffffff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: letterReveal 4.5s ease-out infinite;
  animation-delay: calc(var(--i) * 0.15s);
}

@keyframes letterReveal {
  0%, 22% {
    opacity: 0;
    transform: translateY(20px) scale(0.8) rotateX(-90deg);
  }
  25% {
    opacity: 0;
    transform: translateY(20px) scale(0.8) rotateX(-90deg);
  }
  30% {
    transform: translateY(-5px) scale(1.1) rotateX(0deg);
    opacity: 1;
  }
  35%, 80% {
    opacity: 1;
    transform: translateY(0) scale(1) rotateX(0deg);
  }
  85%, 100% {
    opacity: 0;
    transform: translateY(-10px) scale(0.9) rotateX(0deg);
  }
}

/* Espacios visibles */
.hero__title-space {
  min-width: 0.3em;
  display: inline-block;
}

/* Icono de moto animado */
.hero__moto-icon {
  position: absolute;
  left: -60px;
  width: 48px;
  height: 48px;
  color: #ffd700;
  filter: drop-shadow(0 0 12px rgba(255, 215, 0, 0.8));
  opacity: 0;
  animation: motoRide 4.5s cubic-bezier(0.4, 0, 0.2, 1) infinite;
  z-index: 10;
}

@keyframes motoRide {
  0%, 100% {
    left: -60px;
    opacity: 0;
    transform: translateX(-20px) scale(0.8);
  }
  5% {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
  20% {
    left: 0%;
    opacity: 1;
    transform: translateX(0) scale(1);
  }
  75% {
    left: 100%;
    opacity: 1;
    transform: translateX(0) scale(1);
  }
  82% {
    left: calc(100% + 20px);
    opacity: 1;
    transform: translateX(0) scale(1);
  }
  88% {
    left: calc(100% + 60px);
    opacity: 0;
    transform: translateX(20px) scale(0.8);
  }
  89%, 99% {
    left: -80px;
    opacity: 0;
    transform: translateX(-20px) scale(0.8);
  }
}

/* Efecto de estela de la moto */
.hero__moto-icon::after {
  content: '';
  position: absolute;
  right: 100%;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 2px;
  background: linear-gradient(90deg, 
    transparent 0%, 
    rgba(255, 215, 0, 0.6) 50%, 
    rgba(255, 215, 0, 0) 100%);
  animation: trail 0.3s ease-out infinite;
}

@keyframes trail {
  0%, 100% {
    opacity: 0;
    width: 20px;
  }
  50% {
    opacity: 1;
    width: 50px;
  }
}

/* Efecto de ruedas girando */
.hero__moto-icon circle {
  transform-origin: center;
  animation: wheelSpin 0.6s linear infinite;
}

@keyframes wheelSpin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

/* Subtitle */
.hero__subtitle {
  font-size: clamp(1.125rem, 2.5vw, 1.5rem);
  margin: 0 0 2.5rem 0;
  opacity: 0.95;
  font-weight: 400;
  letter-spacing: 0.02em;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.hero__subtitle-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  backdrop-filter: blur(10px);
}

.hero__subtitle-icon svg {
  display: block;
}

/* Actions */
.hero__actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin: 2.5rem 0;
}

.hero__actions .btn {
  min-width: 200px;
  position: relative;
  overflow: visible;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none !important;
}

.hero__actions .btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.3);
  text-decoration: none !important;
  color: #ffffff;
  text-shadow: 0 0 15px rgba(255, 255, 255, 0.6);
}

/* Efecto hover elegante específico para botones del hero */
.hero__actions .btn-primary:hover {
  background: linear-gradient(135deg, #ff0a1a 0%, var(--color-akt-red-dark) 100%);
  filter: brightness(1.15);
}

.hero__actions .btn-secondary:hover {
  background: linear-gradient(135deg, #0056a8 0%, var(--color-akt-blue-dark) 100%);
  filter: brightness(1.15);
}

/* Texto del botón */
.btn__text {
  display: inline-block;
  transition: transform 0.3s ease;
}

/* Iconos de botones - Base */
.btn__icon {
  display: inline-block;
  transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  position: relative;
}

/* Avatar en botón */
.btn__icon--avatar {
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  border: 2px solid rgba(255, 255, 255, 0.3);
  transition: all 0.3s ease;
}

.btn:hover .btn__icon--avatar {
  transform: scale(1.1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  border-color: rgba(255, 255, 255, 0.5);
}

/* Animación automática del icono de flecha */
.btn__icon--arrow {
  animation: arrowBounce 2s ease-in-out infinite;
}

@keyframes arrowBounce {
  0%, 100% {
    transform: translateX(0);
  }
  50% {
    transform: translateX(5px);
  }
}

/* Hover en botón primario - Flecha sale disparada */
.btn-primary:hover .btn__icon--arrow {
  animation: arrowShoot 0.6s ease-out forwards;
}

@keyframes arrowShoot {
  0% {
    transform: translateX(0) scale(1);
    opacity: 1;
  }
  50% {
    transform: translateX(8px) scale(1.2);
    opacity: 1;
  }
  100% {
    transform: translateX(15px) scale(1);
    opacity: 1;
  }
}

/* Animación del path de la flecha */
.btn__icon--arrow .btn__icon-path {
  stroke-dasharray: 40;
  stroke-dashoffset: 40;
  animation: drawArrow 2s ease-in-out infinite;
}

@keyframes drawArrow {
  0%, 100% {
    stroke-dashoffset: 40;
  }
  50% {
    stroke-dashoffset: 0;
  }
}

.btn-primary:hover .btn__icon--arrow .btn__icon-path {
  animation: drawArrowFast 0.4s ease-out forwards;
}

@keyframes drawArrowFast {
  to {
    stroke-dashoffset: 0;
  }
}

/* Animación automática del icono de WhatsApp */
.btn__icon--whatsapp {
  animation: whatsappPulse 2s ease-in-out infinite;
  transform-origin: center;
}

@keyframes whatsappPulse {
  0%, 100% {
    transform: scale(1);
  }
  25% {
    transform: scale(1.1);
  }
  50% {
    transform: scale(1);
  }
  75% {
    transform: scale(1.05);
  }
}

/* Hover en botón secundario - WhatsApp gira y vibra */
.btn-secondary:hover .btn__icon--whatsapp {
  animation: whatsappRing 0.6s ease-in-out infinite;
}

@keyframes whatsappRing {
  0%, 100% {
    transform: rotate(0deg) scale(1);
  }
  10% {
    transform: rotate(-15deg) scale(1.1);
  }
  20% {
    transform: rotate(15deg) scale(1.15);
  }
  30% {
    transform: rotate(-15deg) scale(1.1);
  }
  40% {
    transform: rotate(15deg) scale(1.15);
  }
  50% {
    transform: rotate(-10deg) scale(1.1);
  }
  60% {
    transform: rotate(10deg) scale(1.1);
  }
  70% {
    transform: rotate(-5deg) scale(1.05);
  }
  80% {
    transform: rotate(5deg) scale(1.05);
  }
  90% {
    transform: rotate(0deg) scale(1);
  }
}

/* Efecto de brillo en hover */
.hero__actions .btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, 
    transparent, 
    rgba(255, 255, 255, 0.3), 
    transparent);
  transform: translateY(-50%);
  transition: left 0.5s ease;
  z-index: 1;
  pointer-events: none;
}

.hero__actions .btn:hover::before {
  left: 100%;
}

/* Texto se mueve ligeramente en hover */
.hero__actions .btn:hover .btn__text {
  transform: translateX(-3px);
}

/* Stats */
.hero__stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
  padding-top: 2.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.hero__stat {
  text-align: center;
}

.hero__stat-number {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  margin-bottom: 0.5rem;
  background: linear-gradient(135deg, #ffffff 0%, #ffd700 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

.hero__stat-label {
  font-size: 0.875rem;
  opacity: 0.85;
  font-weight: 500;
  letter-spacing: 0.02em;
}

/* Sections - Modernizadas */
.section {
  padding: var(--space-24, 6rem) 0;
  position: relative;
}

/* Sección de servicios - permitir hover sin recorte */
.servicios-section {
  overflow: visible;
}

.servicios-section .container {
  overflow: visible;
}

.section--gray {
  background: var(--color-gray-50, #FAFAFA);
  position: relative;
}

.section--gray::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, 
    transparent 0%, 
    var(--color-gray-200) 50%, 
    transparent 100%);
}

.section--primary {
  padding: 80px 0;
  background: linear-gradient(135deg, #001a3d 0%, #003e88 100%);
  color: white;
  position: relative;
  overflow: hidden;
}

/* Efectos de fondo animados - Estilo RazonesAKT */
.section--primary::before {
  content: '';
  position: absolute;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(226, 6, 19, 0.1) 0%, transparent 70%);
  border-radius: 50%;
  top: -100px;
  right: -100px;
  animation: float 8s ease-in-out infinite;
  pointer-events: none;
}

.section--primary::after {
  content: '';
  position: absolute;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(0, 79, 158, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  bottom: -80px;
  left: -80px;
  animation: float 10s ease-in-out infinite reverse;
  pointer-events: none;
}

@keyframes float {
  0%, 100% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(30px, 30px) scale(1.1);
  }
}

.section__header {
  text-align: center;
  margin-bottom: var(--space-16, 4rem);
  position: relative;
}

.section__header::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, 
    var(--color-primary) 0%, 
    var(--color-secondary) 100%);
  margin: var(--space-6) auto 0;
  border-radius: var(--border-radius-full);
}

/* Header para sección de servicios - Estilo RazonesAKT */
.section--primary .section__header {
  position: relative;
  z-index: 1;
  margin-bottom: 50px;
  text-align: center;
}

.section__header--white .section__title,
.section--primary .section__title {
  color: white;
  font-size: 42px;
  font-weight: 800;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

/* Título específico de servicios */
.servicios-section__title {
  background: linear-gradient(135deg, #ffffff 0%, #e0f2ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-size: 44px !important;
  text-shadow: none !important;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.2));
}

.section__header--white .section__subtitle,
.section--primary .section__subtitle {
  color: rgba(255, 255, 255, 0.9);
  font-size: 18px;
  font-weight: 500;
  line-height: 1.6;
}

/* Descripción específica de servicios */
.servicios-section__subtitle {
  color: rgba(255, 255, 255, 0.95) !important;
  font-size: 19px !important;
  max-width: 700px;
  margin: 0 auto;
  font-weight: 400;
  letter-spacing: 0.01em;
}

.section__header--white::after {
  background: linear-gradient(90deg, 
    rgba(255,255,255,0.8) 0%, 
    rgba(255,255,255,0.4) 100%);
}

.section__title {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  margin: 0 0 var(--space-4) 0;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.section__subtitle {
  font-size: clamp(1.125rem, 2.5vw, 1.375rem);
  color: #ffffff;
  margin: 0;
  font-weight: 400;
  line-height: 1.6;
}

/* Sección Motos Destacadas - Fondo Oscuro */
.section:has(#motos-destacadas) {
  background: linear-gradient(135deg, 
    #1a1a1a 0%, 
    #2d2d2d 50%,
    #1a1a1a 100%
  );
  position: relative;
  overflow: hidden;
}

.section:has(#motos-destacadas)::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid-dark" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(226,6,19,0.05)" stroke-width="1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grid-dark)" /></svg>');
  opacity: 0.5;
}

.section:has(#motos-destacadas) .section__title {
  color: #ffffff;
  text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.section:has(#motos-destacadas) .section__subtitle {
  color: rgba(255, 255, 255, 0.85);
  text-shadow: 0 1px 5px rgba(0,0,0,0.3);
}

.section:has(#motos-destacadas) .section__header::after {
  background: linear-gradient(90deg, 
    var(--color-primary) 0%, 
    var(--color-secondary) 100%);
  box-shadow: 0 0 20px rgba(226, 6, 19, 0.5);
}

/* Botón CTA de Motos Destacadas */
.motos-destacadas__cta {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 3rem;
  padding-top: 2rem;
  position: relative;
  z-index: 1;
}

.motos-destacadas__cta .btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 2.5rem;
  font-size: 1.1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: 50px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(226, 6, 19, 0.3);
}

.motos-destacadas__cta .btn svg {
  transition: transform 0.3s ease;
}

.motos-destacadas__cta .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(226, 6, 19, 0.5);
}

.motos-destacadas__cta .btn:hover svg {
  transform: translateX(5px);
}

@media (max-width: 768px) {
  .motos-destacadas__cta {
    margin-top: 2rem;
  }
  
  .motos-destacadas__cta .btn {
    padding: 0.875rem 2rem;
    font-size: 1rem;
  }
}

/* Botón CTA de Categorías */
.categorias__cta {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 3rem;
  padding-top: 2rem;
  position: relative;
  z-index: 1;
}

.categorias__cta .btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 2.5rem;
  font-size: 1.1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: 50px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 62, 136, 0.3);
}

.categorias__cta .btn svg {
  transition: transform 0.3s ease;
}

.categorias__cta .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(0, 62, 136, 0.5);
}

.categorias__cta .btn:hover svg {
  transform: translateX(5px);
}

@media (max-width: 768px) {
  .categorias__cta {
    margin-top: 2rem;
  }
  
  .categorias__cta .btn {
    padding: 0.875rem 2rem;
    font-size: 1rem;
  }
}

/* Botón CTA de Financiación */
.financiacion__cta {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 3rem;
  padding-top: 2rem;
  position: relative;
  z-index: 1;
}

.financiacion__cta .btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 2.5rem;
  font-size: 1.1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: 50px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(226, 6, 19, 0.3);
}

.financiacion__cta .btn svg {
  transition: transform 0.3s ease;
}

.financiacion__cta .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(226, 6, 19, 0.5);
}

.financiacion__cta .btn:hover svg {
  transform: translateX(5px);
}

@media (max-width: 768px) {
  .financiacion__cta {
    margin-top: 2rem;
  }
  
  .financiacion__cta .btn {
    padding: 0.875rem 2rem;
    font-size: 1rem;
  }
}

/* Sección Categorías - Colores mejorados */
section.section--gray h2#categorias-title.section__title {
  position: relative;
  display: inline-block;
  color: var(--color-primary, #E20613);
}

/* Intentar aplicar gradiente, pero con fallback visible */
@supports (-webkit-background-clip: text) or (background-clip: text) {
  section.section--gray h2#categorias-title.section__title {
    background: linear-gradient(135deg, 
      var(--color-primary, #E20613) 0%, 
      var(--color-secondary, #004F9E) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
  }
}

section.section--gray h2#categorias-title.section__title::selection {
  -webkit-text-fill-color: var(--color-white);
  background: var(--color-primary);
  color: var(--color-white);
}

.section--gray #categorias-title + .section__subtitle {
  color: var(--color-gray-700, #404040);
  font-weight: 500;
}

/* Sección Testimonios - Mismos estilos que Categorías */
section.section--gray h2#testimonios-title.section__title {
  position: relative;
  display: inline-block;
  color: var(--color-primary, #E20613);
}

/* Intentar aplicar gradiente, pero con fallback visible */
@supports (-webkit-background-clip: text) or (background-clip: text) {
  section.section--gray h2#testimonios-title.section__title {
    background: linear-gradient(135deg, 
      var(--color-primary, #E20613) 0%, 
      var(--color-secondary, #004F9E) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
  }
}

section.section--gray h2#testimonios-title.section__title::selection {
  -webkit-text-fill-color: var(--color-white);
  background: var(--color-primary);
  color: var(--color-white);
}

.section--gray #testimonios-title + .section__subtitle {
  color: var(--color-gray-700, #404040);
  font-weight: 500;
}

.section__footer {
  text-align: center;
  margin-top: var(--space-12, 3rem);
}

/* Grid - Mejorado */
.grid {
  display: grid;
  gap: var(--space-8, 2rem);
}

.grid--2 {
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
}

.grid--3 {
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
}

/* Grid de motos destacadas - 4 columnas en pantallas grandes */
#motos-destacadas.grid--3 {
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
}

@media (min-width: 1200px) {
  #motos-destacadas.grid--3 {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (min-width: 768px) and (max-width: 1199px) {
  #motos-destacadas.grid--3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

.grid--4 {
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
}

@media (min-width: 1280px) {
  .grid {
    gap: var(--space-10, 2.5rem);
  }
}

/* FAQs Container */
.faqs-container {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

/* Skip to content */
.skip-to-content {
  position: absolute;
  top: -100px;
  left: 0;
  background: var(--color-primary);
  color: white;
  padding: var(--space-2) var(--space-4);
  text-decoration: none;
  z-index: 10000;
}

.skip-to-content:focus {
  top: 0;
}

/* ============================================
   RESPONSIVE - HERO
   ============================================ */

@media (max-width: 1200px) {
  .hero__shape--1 {
    width: 250px;
    height: 250px;
  }
  
  .hero__shape--2 {
    width: 350px;
    height: 350px;
  }
  
  .hero__shape--4 {
    width: 300px;
    height: 300px;
  }
}

@media (max-width: 768px) {
  .hero {
    min-height: 100vh;
    padding: 1rem;
  }

  .hero__content {
    padding: 2rem 1.5rem;
    border-radius: 24px;
    width: 100%;
    box-sizing: border-box;
  }

  .hero__badge {
    font-size: 0.75rem;
    padding: 0.4rem 1rem;
    margin-bottom: 1rem;
  }

  .hero__title {
    font-size: clamp(2rem, 8vw, 3rem);
  }

  .hero__subtitle {
    font-size: 1rem;
    margin-bottom: 2rem;
  }

  /* Ajustes para animación de moto en móvil */
  .hero__moto-icon {
    width: 32px;
    height: 32px;
    left: -40px;
    animation: motoRideMobile 4.5s cubic-bezier(0.4, 0, 0.2, 1) infinite;
  }

  .hero__title-text {
    font-size: clamp(2rem, 7vw, 2.5rem);
  }

  .hero__title-letter {
    animation-delay: calc(var(--i) * 0.12s);
  }

  @keyframes motoRideMobile {
    0%, 100% {
      left: -40px;
      opacity: 0;
      transform: translateX(-20px) scale(0.7);
    }
    5% {
      opacity: 1;
      transform: translateX(0) scale(1);
    }
    20% {
      left: 0%;
      opacity: 1;
      transform: translateX(0) scale(1);
    }
    75% {
      left: 100%;
      opacity: 1;
      transform: translateX(0) scale(1);
    }
    82% {
      left: calc(100% + 15px);
      opacity: 1;
      transform: translateX(0) scale(1);
    }
    88% {
      left: calc(100% + 40px);
      opacity: 0;
      transform: translateX(20px) scale(0.7);
    }
    89%, 99% {
      left: -50px;
      opacity: 0;
      transform: translateX(-20px) scale(0.7);
    }
  }
  
  /* Huellas de frenado más sutiles en móvil */
  .hero__skid-marks {
    opacity: 0.4;
  }
  
  .hero__skid-mark {
    height: 150px;
  }

  /* Carrusel 3D adaptado para tablet */
  .hero__carousel-3d {
    opacity: 0.2;
    height: 70%;
  }

  .hero__screen {
    width: 350px;
    height: 230px;
    transform: 
      translate(-50%, -50%)
      rotateY(calc(var(--i) * 72deg))
      translateZ(450px)
      rotateY(180deg);
  }

  .hero__screen-frame {
    padding: 8px;
  }

  .hero__screen-title {
    font-size: 1.1rem;
  }

  .hero__screen-desc {
    font-size: 0.8rem;
  }

  .hero__actions {
    flex-direction: column;
    gap: 0.75rem;
    margin: 2rem 0;
  }

  .hero__actions .btn {
    width: 100%;
    min-width: unset;
  }

  .hero__stats {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-top: 2rem;
    padding-top: 2rem;
  }

  .hero__stat-number {
    font-size: 2rem;
  }

  .hero__stat-label {
    font-size: 0.8125rem;
  }

  /* Reducir el tamaño y número de formas en móvil */
  .hero__shapes {
    opacity: 0.25;
  }

  .hero__shape--1 {
    width: 150px;
    height: 150px;
  }

  .hero__shape--2 {
    width: 200px;
    height: 200px;
  }

  .hero__shape--3 {
    width: 120px;
    height: 120px;
  }

  .hero__shape--4 {
    width: 180px;
    height: 180px;
  }

  .hero__shape--5 {
    width: 100px;
    height: 100px;
  }
}

@media (max-width: 480px) {
  .hero__content {
    padding: 1.5rem 1rem;
  }

  .hero__badge {
    font-size: 0.7rem;
    padding: 0.35rem 0.875rem;
  }

  .hero__title {
    gap: 0.25rem;
    margin-bottom: 1rem;
  }

  .hero__subtitle {
    font-size: 0.9375rem;
    flex-direction: column;
    gap: 0.5rem;
  }

  .hero__subtitle-icon {
    width: 28px;
    height: 28px;
  }

  .hero__stats {
    gap: 1.25rem;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
  }

  .hero__stat-number {
    font-size: 1.75rem;
  }

  .hero__stat-label {
    font-size: 0.75rem;
  }

  /* Animación de moto más rápida en pantallas pequeñas */
  .hero__moto-icon {
    width: 28px;
    height: 28px;
    left: -35px;
    animation: motoRideSmall 4.5s cubic-bezier(0.4, 0, 0.2, 1) infinite;
  }

  .hero__moto-icon::after {
    width: 25px;
  }

  .hero__title-letter {
    animation-delay: calc(var(--i) * 0.1s);
  }

  @keyframes motoRideSmall {
    0%, 100% {
      left: -35px;
      opacity: 0;
      transform: translateX(-15px) scale(0.6);
    }
    5% {
      opacity: 1;
      transform: translateX(0) scale(1);
    }
    20% {
      left: 0%;
      opacity: 1;
      transform: translateX(0) scale(1);
    }
    75% {
      left: 100%;
      opacity: 1;
      transform: translateX(0) scale(1);
    }
    82% {
      left: calc(100% + 10px);
      opacity: 1;
      transform: translateX(0) scale(1);
    }
    88% {
      left: calc(100% + 35px);
      opacity: 0;
      transform: translateX(15px) scale(0.6);
    }
    89%, 99% {
      left: -45px;
      opacity: 0;
      transform: translateX(-15px) scale(0.6);
    }
  }
  
  /* Huellas muy sutiles en pantallas pequeñas */
  .hero__skid-marks {
    opacity: 0.3;
  }
  
  .hero__skid-mark {
    height: 120px;
  }

  /* Carrusel 3D simplificado para móvil pequeño */
  .hero__carousel-3d {
    opacity: 0.15;
    height: 60%;
    perspective: 1200px;
  }

  .hero__screen {
    width: 250px;
    height: 165px;
    transform: 
      translate(-50%, -50%)
      rotateY(calc(var(--i) * 72deg))
      translateZ(350px)
      rotateY(180deg);
  }

  .hero__screen-frame {
    padding: 6px;
    border-radius: 8px;
  }

  .hero__screen-content {
    border-radius: 6px;
  }

  .hero__screen-overlay {
    padding: 10px 12px;
  }

  .hero__screen-title {
    font-size: 0.9rem;
  }

  .hero__screen-desc {
    font-size: 0.7rem;
  }

  .hero__carousel-3d-track {
    animation: carouselRotate 25s linear infinite;
  }
}

/* Responsive - Otras secciones */
@media (max-width: 1024px) {
  .grid--4 {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  }
}

@media (max-width: 768px) {
  .section {
    padding: var(--space-16, 4rem) 0;
  }

  /* Sección de servicios responsive - Estilo RazonesAKT */
  .section--primary {
    padding: 40px 0;
  }

  .section--primary .section__title {
    font-size: 28px;
  }

  .servicios-section__title {
    font-size: 30px !important;
  }

  .section--primary .section__subtitle {
    font-size: 16px;
  }

  .servicios-section__subtitle {
    font-size: 16px !important;
    max-width: 90%;
  }

  .grid--2,
  .grid--3,
  .grid--4 {
    grid-template-columns: 1fr;
  }

  .whatsapp-float {
    width: 56px;
    height: 56px;
    bottom: 16px;
    right: 16px;
  }
}

@media (max-width: 480px) {
  /* Sección de servicios para móviles pequeños */
  .section--primary {
    padding: 30px 0;
  }

  .section--primary .section__title {
    font-size: 24px;
  }

  .servicios-section__title {
    font-size: 26px !important;
  }

  .section--primary .section__subtitle {
    font-size: 15px;
  }

  .servicios-section__subtitle {
    font-size: 15px !important;
    max-width: 95%;
  }
}

/* ============================================
   CATEGORÍAS - ANIMACIONES ADAPTATIVAS
   ============================================ */

/* Contenedor principal de categorías */
.categorias-grid {
  position: relative;
  width: 100%;
  overflow: hidden;
}

/* Controles de categorías (ocultos por defecto) */
.categorias-controls {
  display: none;
}

/* Asegurar contenedor para el scroll en móvil */
@media (max-width: 767px) {
  .section:has(.categorias-grid) .container {
    max-width: 100%;
    padding-left: 0;
    padding-right: 0;
  }
  
  .categorias-grid {
    overflow: visible;
  }
}

/* ============================================
   PANTALLAS GRANDES - GRID 4 TARJETAS CON ROTACIÓN
   ============================================ */
@media (min-width: 768px) {
  .categorias-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: 1fr;
    gap: 20px;
    width: 100%;
    padding: 0;
    overflow: hidden;
    position: relative;
  }

  /* Tarjetas con transiciones suaves */
  .categorias-grid categoria-card {
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 1;
    position: relative;
  }

  /* Hover y Click: Aumentar tamaño y mantener estática */
  .categorias-grid categoria-card:hover,
  .categorias-grid categoria-card.categorias-grid__item--active {
    transform: scale(1.05);
    z-index: 100;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
  }

  /* Pausar animaciones cuando grid está pausado */
  .categorias-grid.categorias-grid--paused categoria-card {
    animation-play-state: paused !important;
  }
}

/* ============================================
   PANTALLAS PEQUEÑAS - CARRUSEL HORIZONTAL
   ============================================ */
@media (max-width: 767px) {
  .categorias-grid {
    display: block;
    position: relative;
    width: 100%;
    height: 450px;
    padding: 20px 0;
  }

  .categorias-grid categoria-card {
    position: absolute;
    width: calc(100% - 40px);
    left: 50%;
    top: 0;
    transform: translateX(-50%);
    opacity: 0;
    animation: slideInOut 3.5s ease-in-out infinite;
    will-change: transform, opacity;
    z-index: 1;
    display: block;
    visibility: visible;
  }

  /* Primera tarjeta visible inmediatamente y con mayor z-index */
  .categorias-grid categoria-card:nth-child(1) { 
    animation-delay: 0s;
    opacity: 1 !important;
    transform: translateX(-50%) !important;
    z-index: 10;
    animation-play-state: running;
    display: block !important;
    visibility: visible !important;
  }
  .categorias-grid categoria-card:nth-child(2) { animation-delay: 3.5s; }
  .categorias-grid categoria-card:nth-child(3) { animation-delay: 7s; }
  .categorias-grid categoria-card:nth-child(4) { animation-delay: 10.5s; }
  .categorias-grid categoria-card:nth-child(5) { animation-delay: 14s; }
  .categorias-grid categoria-card:nth-child(6) { animation-delay: 17.5s; }
  .categorias-grid categoria-card:nth-child(7) { animation-delay: 21s; }
  .categorias-grid categoria-card:nth-child(8) { animation-delay: 24.5s; }
  .categorias-grid categoria-card:nth-child(9) { animation-delay: 28s; }
  .categorias-grid categoria-card:nth-child(10) { animation-delay: 31.5s; }
  .categorias-grid categoria-card:nth-child(11) { animation-delay: 35s; }

  /* Animación: Aparece desde la izquierda y desaparece a la derecha - MÁS RÁPIDA */
  @keyframes slideInOut {
    0% {
      transform: translateX(-150%);
      opacity: 0;
    }
    12% {
      transform: translateX(-50%);
      opacity: 1;
    }
    70% {
      transform: translateX(-50%);
      opacity: 1;
    }
    88% {
      transform: translateX(100%);
      opacity: 0;
    }
    100% {
      transform: translateX(150%);
      opacity: 0;
    }
  }

  /* Pausar animación cuando está activa */
  .categorias-grid.categorias-grid--paused categoria-card {
    animation-play-state: paused;
  }

  /* Aumentar tamaño en click */
  .categorias-grid categoria-card.categorias-grid__item--active {
    transform: translateX(-50%) scale(1.05) !important;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.25);
    z-index: 10;
  }

  /* Ocultar clones en móvil (no son necesarios con este método) */
  .categorias-grid categoria-card[data-clone="true"] {
    display: none;
  }
  
  /* Botones de control para móvil */
  .categorias-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    margin-top: 40px;
    padding-top: 10px;
  }

  .categorias-controls__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #E20613 0%, #a00409 100%);
    color: white;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(226, 6, 19, 0.3);
    transition: all 0.3s ease;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
  }

  .categorias-controls__btn:active {
    transform: scale(0.9);
    box-shadow: 0 2px 8px rgba(226, 6, 19, 0.5);
  }

  .categorias-controls__btn svg {
    width: 24px;
    height: 24px;
  }

  .categorias-controls__btn--paused {
    background: linear-gradient(135deg, #004F9E 0%, #003866 100%);
    box-shadow: 0 4px 12px rgba(0, 79, 158, 0.3);
  }

  .categorias-controls__btn--nav {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, #404040 0%, #2a2a2a 100%);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  }

  .categorias-controls__btn--nav svg {
    width: 20px;
    height: 20px;
  }

  .categorias-controls__btn--nav:active {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  }
}

/* Ajustes para pantallas muy grandes */
@media (min-width: 1400px) {
  .categorias-grid {
    gap: 24px;
  }
}

/* Ajustes para tablets medianas */
@media (min-width: 768px) and (max-width: 1024px) {
  .categorias-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 16px;
  }
}

/* Accesibilidad: Reducir movimiento */
@media (prefers-reduced-motion: reduce) {
  .categorias-grid {
    animation: none !important;
  }

  .categorias-grid categoria-card {
    animation: none !important;
  }
}

@media (max-width: 640px) {
  .section {
    padding: var(--space-12, 3rem) 0;
  }

  .section__header {
    margin-bottom: var(--space-8, 2rem);
  }
}

/* ============================================
   OPTIMIZACIÓN SCROLL - PANTALLAS PEQUEÑAS/TABLETS
   ============================================ */

/* Pausar animaciones durante scroll en móviles/tablets para evitar parpadeo */
@media (max-width: 1024px) {
  /* Clase agregada por JavaScript al hacer scroll */
  body.is-scrolling .hero {
    animation-play-state: paused;
  }
  
  body.is-scrolling .hero__carousel-3d-track {
    animation-play-state: paused;
  }
  
  body.is-scrolling .hero__shape {
    animation-play-state: paused;
  }
  
  body.is-scrolling .hero__badge {
    animation-play-state: paused;
  }
  
  body.is-scrolling .hero__title-letter {
    animation-play-state: paused;
  }
  
  body.is-scrolling .hero__moto-icon {
    animation-play-state: paused;
  }
  
  body.is-scrolling .hero__moto-icon::after {
    animation-play-state: paused;
  }
  
  body.is-scrolling .hero__moto-icon circle {
    animation-play-state: paused;
  }
  
  body.is-scrolling .btn__icon--arrow,
  body.is-scrolling .btn__icon--whatsapp {
    animation-play-state: paused;
  }
  
  body.is-scrolling .btn__icon--arrow .btn__icon-path {
    animation-play-state: paused;
  }
  
  body.is-scrolling .hero__screen-frame::after {
    animation-play-state: paused;
  }
  
  body.is-scrolling .hero__moto-icon::after {
    animation-play-state: paused;
  }
  
  /* Mejorar performance con will-change solo cuando es necesario */
  .hero {
    will-change: auto;
  }
  
  .hero__carousel-3d-track {
    will-change: transform;
  }
  
  .hero__shape {
    will-change: transform;
  }
  
  /* Reducir complejidad de animaciones en tablets */
  @media (min-width: 769px) and (max-width: 1024px) {
    /* Simplificar carrusel 3D */
    .hero__carousel-3d {
      opacity: 0.2;
    }
    
    .hero__carousel-3d-track {
      animation: carouselRotate 40s linear infinite;
    }
    
    /* Reducir número de formas animadas */
    .hero__shape--4,
    .hero__shape--5 {
      display: none;
    }
    
    /* Formas restantes más sutiles */
    .hero__shapes {
      opacity: 0.3;
    }
  }
}

/* Simplificación adicional para móviles */
@media (max-width: 768px) {
  /* Deshabilitar carrusel 3D completamente en móvil para mejor performance */
  .hero__carousel-3d {
    display: none;
  }
  
  /* Formas muy simplificadas */
  .hero__shape--3,
  .hero__shape--4,
  .hero__shape--5 {
    display: none;
  }
  
  /* Animación de gradiente más lenta para reducir repaints */
  .hero {
    animation: heroGradient 25s ease infinite;
  }
  
  /* Deshabilitar efectos complejos */
  .hero__screen-frame::after {
    display: none;
  }
}

/* ============================================
   ACCESIBILIDAD - REDUCED MOTION
   ============================================ */

@media (prefers-reduced-motion: reduce) {
  .hero {
    animation: none;
    background: linear-gradient(135deg, 
      #001a3d 0%,
      #004f9e 50%,
      #e20613 100%);
  }

  .hero__shape {
    animation: none;
  }

  .hero__content {
    animation: none;
    opacity: 1;
    transform: none;
  }

  .hero__badge {
    animation: none;
  }

  /* Deshabilitar huellas de frenado animadas */
  .hero__skid-marks {
    display: none;
  }

  /* Deshabilitar carrusel 3D */
  .hero__carousel-3d {
    display: none;
  }

  /* Deshabilitar animación de moto */
  .hero__moto-icon {
    display: none;
  }

  .hero__moto-icon::after {
    display: none;
  }

  .hero__moto-icon circle {
    animation: none;
  }

  /* Mostrar todas las letras inmediatamente */
  .hero__title-letter {
    opacity: 1;
    transform: none;
    animation: none;
    background: linear-gradient(135deg, 
      #ffffff 0%, 
      #ffd700 100%);
  }

  /* Deshabilitar animaciones de iconos de botones */
  .btn__icon--arrow,
  .btn__icon--whatsapp {
    animation: none !important;
  }

  .btn__icon--arrow .btn__icon-path {
    animation: none;
    stroke-dashoffset: 0;
  }

  .btn-primary:hover .btn__icon--arrow,
  .btn-secondary:hover .btn__icon--whatsapp {
    animation: none !important;
  }

  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
