/* --- VARIABLES GLOBALES --- */
:root {
  --azul-arias: #0000ff;      /* Azul puro solicitado */
  --azul-hover: #0000cc;      
  --azul-brillante: #3333ff;  
  --gris-claro: #f8f9fa;
  --blanco: #ffffff;
  --verde-whatsapp: #b1c1b7;
}

body {
  font-family: 'Raleway', sans-serif;
  color: #333;
  margin: 0;
  padding: 0;
}

body.nosotros-page {
  background-color: var(--gris-claro);
}






/* --- CARRUSEL FADE (CORREGIDO PARA 4 IMÁGENES) --- */
.fade-carousel {
  position: relative;
  width: 100%;
  height: 600px;
  overflow: hidden;
  background-color: #000;
}

.carousel-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0; 
  /* 16 segundos total: 4s por cada una de las 4 fotos */
  animation: fadeAnimation 16s infinite; 
}

.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Tiempos de retraso (Delays) calculados para 4 imágenes */
.slide-1 { animation-delay: 0s; }
.slide-2 { animation-delay: 4s; }
.slide-3 { animation-delay: 8s; }
.slide-4 { animation-delay: 12s; }

/* Animación del Fade ajustada al 25% por imagen */
@keyframes fadeAnimation {
  0% { opacity: 0; }
  5% { opacity: 1; }   /* Aparece rápido */
  25% { opacity: 1; }  /* Se mantiene visible (100% / 4 fotos = 25%) */
  30% { opacity: 0; }  /* Se desvanece */
  100% { opacity: 0; }
}

/* --- Indicadores (Dots) --- */
.carousel-indicators {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 15px;
  z-index: 10;
}

.dot {
  width: 12px;
  height: 12px;
  background-color: rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  animation: dotAnimation 16s infinite;
}

.dot-1 { animation-delay: 0s; }
.dot-2 { animation-delay: 4s; }
.dot-3 { animation-delay: 8s; }
.dot-4 { animation-delay: 12s; }

@keyframes dotAnimation {
  0%, 25% { 
    background-color: #fff; 
    transform: scale(1.2); 
  }
  30%, 100% { 
    background-color: rgba(255, 255, 255, 0.3); 
    transform: scale(1); 
  }
}














/* --- FORMAS DE PAGO --- */
.formas-pago-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--azul-arias);
  text-transform: uppercase;
  letter-spacing: 1px;
  text-align: center;
}

.pago-card {
  background-color: #fff;
  border-radius: 15px;
  padding: 25px 15px;
  box-shadow: 0 6px 20px rgba(0, 0, 255, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: var(--azul-arias);
  text-align: center;
}

.pago-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(0, 0, 255, 0.2);
}

.pago-icon {
  font-size: 2.5rem;
  margin-bottom: 10px;
  color: var(--azul-arias);
}

.pago-label {
  font-size: 1rem;
  font-weight: 600;
  margin: 0;
}

/* --- SECCIÓN NOSOTROS --- */
.nosotros-section .titulo-principal {
  color: var(--azul-arias);
  font-weight: 800;
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

.nosotros-section .subtitulo {
  font-size: 1.2rem;
  color: #666;
  letter-spacing: 1px;
}

.texto-descripcion {
  line-height: 1.8;
  font-size: 1.05rem;
  margin-bottom: 1.2rem;
}

.img-container {
  overflow: hidden;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.nosotros-section img {
  transition: transform 0.5s ease;
  display: block;
  width: 100%;
}

.nosotros-section img:hover {
  transform: scale(1.05);
}

/* Botones Personalizados */
.btn-primary-custom {
  background-color: var(--azul-arias);
  color: #fff;
  border-radius: 50px;
  font-weight: 600;
  border: none;
  padding: 14px 30px;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
}

.btn-primary-custom:hover {
  background-color: var(--azul-brillante);
  transform: translateY(-3px);
  box-shadow: 0 8px 15px rgba(0, 0, 255, 0.3);
  color: white;
}

/* Banner motivacional */
.banner-nosotros {
  background: linear-gradient(135deg, var(--azul-arias) 0%, var(--azul-brillante) 100%);
  border-radius: 30px;
  text-align: center;
  box-shadow: 0 15px 35px rgba(0, 0, 255, 0.2);
  color: white;
  padding: 40px;
  margin-top: 30px;
}
:root {
  --azul-puro: #0000ff;
  --azul-dark: #0000cc; /* Un tono más oscuro para el degradado */
  --blanco: #ffffff;
  --text-muted: #f0f0f0;
}

/* --- MISIÓN Y VISIÓN - CORREGIDO (SEPARADO) --- */
.mision-vision {
  padding: 80px 20px;
  font-family: 'Segoe UI', sans-serif;
}

.mision-vision .container {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px; /* ← ESTO ES LO QUE LOS SEPARA */
}

.mision-vision .card {
  background: linear-gradient(145deg, var(--azul-puro), var(--azul-dark));
  border-radius: 20px;
  padding: 60px 40px;
  transition: all 0.4s ease;
  box-shadow: 0 15px 35px rgba(0, 0, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.1);
  margin: 0; /* Elimina márgenes extra */
}

.mision-vision .card:hover {
  transform: translateY(-8px); /* Reduje un poco el movimiento */
  box-shadow: 0 25px 50px rgba(0, 0, 255, 0.4);
}

.mision-vision h2 {
  color: var(--blanco);
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
}

/* Línea decorativa */
.mision-vision h2::after {
  content: '';
  display: block;
  width: 50px;
  height: 4px;
  background: #ffffff;
  margin-top: 10px;
  border-radius: 2px;
}

.mision-vision p {
  color: var(--text-muted);
  line-height: 1.8;
  font-size: 1.1rem;
  margin: 0;
}

/* Responsive */
@media (max-width: 768px) {
  .mision-vision {
    padding: 50px 15px;
  }
  
  .mision-vision .container {
    gap: 25px; /* Un poco menos en móvil */
  }
  
  .mision-vision .card {
    padding: 40px 25px;
  }
}
/* --- RESPONSIVE GENERAL --- */
@media (max-width: 768px) {
  .fade-carousel {
    height: 40vh;
    min-height: 250px;
  }
}

/* --- SECCIÓN IMPACTO --- */
#impact-section {
  padding: 60px 0;

}

/* Título principal */
.text-rojo-vino {
  color: #0000ff; /* Color vino elegante */
  position: relative;
  display: inline-block;
  margin-bottom: 50px;
}

.text-rojo-vino::after {
  content: '';
  width: 60%;
  height: 3px;
  background: #0000ff; /* Azul para conectar con los números */
  position: absolute;
  bottom: -10px;
  left: 20%;
  border-radius: 2px;
}

/* Efecto al pasar el mouse sobre la columna */
#impact-section .col-md-4:hover .counter {
  transform: scale(1.1);
}

/* Etiquetas (Años, Ventas, etc) */
#impact-section .lead {
  font-weight: 600;
  color: #0000ff;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 1rem;
  margin-top: 10px;
}

/* Separadores visuales sutiles entre columnas (solo en escritorio) */
@media (min-width: 768px) {
  #impact-section .col-md-4:not(:last-child) {
    border-right: 1px solid #eee;
  }
}

/* Ajustes para móviles */
@media (max-width: 767px) {
  #impact-section .col-md-4 {
    margin-bottom: 40px;
  }
  .display-4 {
    font-size: 3rem;
  }
}

@media print {
    /* Ocultar todo lo que no sea el carrito al imprimir */
    nav, .btn, .card-checkout, h2, .text-muted, .col-lg-4 {
        display: none !important;
    }
    .col-lg-8 {
        width: 100% !important;
    }
    .card {
        border: none !important;
        box-shadow: none !important;
    }
    body::before {
        content: "REFACCIONARIA DE MOTOTAXI ARIAS - TICKET DE PEDIDO";
        display: block;
        text-align: center;
        font-weight: bold;
        font-size: 20px;
        margin-bottom: 20px;
    }
}

