/* =========================================
   ESTILOS PREMIUM: RASTREO DE FLOTAS (B2B)
   ========================================= */

/* Hero Section */
.flotas-hero {
    background: #0e1828;
    background: linear-gradient(135deg, rgba(14, 24, 40, 0.95) 0%, rgba(0, 114, 206, 0.7) 100%), 
                url('../images/fondo-flotas.jpg') center top / cover no-repeat; 
    min-height: 80vh;
    margin-top: -85px; 
    padding-top: 95px;
}
.glow-hero-flotas {
    position: absolute; bottom: -10%; right: -5%; width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(255, 111, 0, 0.4) 0%, transparent 70%);
    filter: blur(80px); z-index: 0;
}
.max-w-600 { max-width: 600px; }
.transition-hover-up { transition: transform 0.3s ease; }
.transition-hover-up:hover { transform: translateY(-5px); }

/* =========================================
   CARRUSEL DE FLOTAS (GIGANTE / FONDO CLARO)
   ========================================= */
.vehiculos-section { 
    background-color: #f8fafc; /* Gris extra claro (Light) */
    padding-bottom: 4rem !important; 
}

.glow-blue-right-light {
    position: absolute; top: -10%; right: -10%; width: 500px; height: 500px; 
    background: radial-gradient(circle, rgba(0, 114, 206, 0.1) 0%, transparent 70%); /* Glow más sutil para fondo blanco */
    filter: blur(60px); z-index: 0;
}

.swiperFlotas { 
    width: 100%; 
    padding-top: 20px; 
    padding-bottom: 80px !important; 
}

/* El Slide Gigante Panorámico (Adaptado a fondo claro) */
.flota-slide {
    width: 50%; 
    max-width: 80%; 
    min-height: 100px; 
    height: 350PX;
    display: flex;
    flex-direction: column;
    justify-content: center; 
    align-items: center;
    
    border: none !important;
    outline: none !important;
    
 
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05); /* Sombra suave */
    
    padding: 3rem 2rem; 
    transition: all 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.flota-slide img {
    width: 90%;
    max-width: 750px; 
    height: auto;
    max-height: 350px; 
    object-fit: contain !important; 
    flex-shrink: 0; 
    margin-bottom: 2rem; 
    transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
    filter: drop-shadow(0 15px 25px rgba(0,0,0,0.15)); /* Sombra más clara para vehículos */
}

/* Título de la flota - Ahora Oscuro */
.flota-slide h4 {
    margin: 0;
    font-size: 1.8rem;
    color: #1e293b; /* Texto oscuro corporativo */
    z-index: 2;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Efecto imponente cuando el slide está en el centro */
.swiper-slide-active.flota-slide {
    background: #ffffff; 
    transform: scale(1.02); 
    box-shadow: 0 20px 50px rgba(0, 114, 206, 0.15); /* Sombra azulada corporativa */
}

.swiper-slide-active.flota-slide img {
    transform: scale(1.05) translateY(-10px); 
}

/* Paginación (Bullets naranjas y oscuros) */
.swiper-pagination {
    bottom: 10px !important;
}

.swiper-pagination-bullet { 
    background: rgba(0,0,0,0.2) !important; /* Puntos grises sobre fondo blanco */
    opacity: 1 !important; 
    width: 14px !important; 
    height: 14px !important; 
    margin: 0 10px !important; 
    transition: all 0.3s ease;
}

.swiper-pagination-bullet-active { 
    background: #ff6f00 !important; 
    width: 40px !important; 
    border-radius: 10px !important; 
}


/* =========================================
   BENEFICIOS CORPORATIVOS
   ========================================= */
.flota-feature-card {
    background-color: #ffffff; border-radius: 16px; padding: 2.5rem 2rem; height: 100%;
    border: 1px solid #f1f5f9; box-shadow: 0 5px 20px rgba(0,0,0,0.04);
    transition: all 0.4s ease; border-bottom: 4px solid transparent;
}
.flota-feature-card:hover {
    transform: translateY(-10px); box-shadow: 0 15px 35px rgba(0, 114, 206, 0.1);
    border-bottom-color: var(--seypro-orange);
}
.icon-circle {
    width: 70px; height: 70px; border-radius: 50%; display: flex; justify-content: center; align-items: center;
    font-size: 1.8rem; transition: transform 0.4s ease;
}
.bg-light-blue { background-color: rgba(0, 114, 206, 0.1); }
.bg-light-orange { background-color: rgba(255, 111, 0, 0.1); }
.flota-feature-card:hover .icon-circle { transform: rotateY(180deg); }

/* =========================================
   DASHBOARD LAPTOP
   ========================================= */
.dashboard-section { background-color: #0e1828; }
.drop-shadow-3d { filter: drop-shadow(0 25px 40px rgba(0,0,0,0.6)); }
@keyframes floatLaptop { 0% { transform: translateY(0px); } 50% { transform: translateY(-15px); } 100% { transform: translateY(0px); } }
.floating-laptop { animation: floatLaptop 6s ease-in-out infinite; }
.glass-badge {
    background: rgba(255, 255, 255, 0.85); backdrop-filter: blur(10px); border-radius: 16px; padding: 15px 25px;
    display: flex; align-items: center; box-shadow: 0 15px 25px rgba(0,0,0,0.2);
    animation: floatLaptop 6s ease-in-out infinite 1s; z-index: 2;
}
.custom-progress { height: 12px; background-color: rgba(255, 255, 255, 0.1); border-radius: 10px; overflow: hidden; }
.progress-fill { width: 0%; border-radius: 10px; transition: width 2s cubic-bezier(0.25, 0.8, 0.25, 1); }

/* =========================================
   SECCIÓN SPLIT (AZUL Y AUTOPISTA)
   ========================================= */
.split-section { background-color: #0072ce; }
.split-highway-bg {
    background: url('../images/fondo-autopista.jpg') center/cover no-repeat;
    min-height: 500px;
}
.overlay-highway {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(0deg, #0072ce 0%, rgba(0,114,206,0.3) 100%);
}
.highway-feature-item { transition: transform 0.3s ease; }
.highway-feature-item:hover { transform: translateX(10px); }
.highway-icon {
    width: 60px; height: 60px; border-radius: 50%; display: flex; justify-content: center; align-items: center;
    font-size: 1.5rem; flex-shrink: 0;
}

/* =========================================
   SISTEMA SEYPRO ANIMADO (Escena Rastreo)
   ========================================= */
.tracking-container { min-height: 450px; display: flex; align-items: flex-end; justify-content: flex-start; position: relative; padding-bottom: 20px; }
.tracking-phone {
    opacity: 0; position: absolute; right: 0; bottom: 20px; max-height: 420px; z-index: 1 !important;
    filter: drop-shadow(0 15px 30px rgba(0,0,0,0.25)); transform: translateY(50px);
}
.tracking-car {
    opacity: 0; position: relative; width: 120%; max-width: 580px; left: -20px; z-index: 2 !important;
    filter: drop-shadow(0 20px 35px rgba(0,0,0,0.4)); transform: translateX(-150px);
}
.gps-signal-effect {
    position: absolute; top: 15%; left: 40%; transform: translate(-50%, -50%); opacity: 0; z-index: 3 !important;
}
.signal-pin { position: relative; z-index: 4; animation: bouncePin 2s infinite ease-in-out; filter: drop-shadow(0 5px 10px rgba(255, 111, 0, 0.4)); }
.signal-ring { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 80px; height: 80px; border: 3px solid #ff6f00; border-radius: 50%; animation: gpsPulse 2s infinite; }
.signal-ring:nth-child(2) { animation-delay: 1s; }
.is-visible .tracking-car { animation: slideInCar 1s cubic-bezier(0.25, 0.8, 0.25, 1) forwards; }
.is-visible .tracking-phone { animation: fadeInPhone 0.8s cubic-bezier(0.25, 0.8, 0.25, 1) forwards 0.8s; }
.is-visible .gps-signal-effect { animation: fadeInGps 0.5s forwards 1.4s; }

@keyframes slideInCar { to { opacity: 1; transform: translateX(0); } }
@keyframes fadeInPhone { to { opacity: 1; transform: translateY(0); } }
@keyframes fadeInGps { to { opacity: 1; } }
@keyframes bouncePin { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-15px); } }
@keyframes gpsPulse { 0% { transform: translate(-50%, -50%) scale(0.2); opacity: 1; } 100% { transform: translate(-50%, -50%) scale(2.5); opacity: 0; } }

/* =========================================
   TARJETAS GLOW
   ========================================= */
.feature-card-modern {
    background: #ffffff; border-radius: 20px; padding: 2.5rem 1.5rem; height: 100%; border: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05); transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative; z-index: 1;
}
.feature-card-modern::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0; border-radius: 20px;
    box-shadow: 0 25px 45px rgba(0, 114, 206, 0.15); opacity: 0; transition: opacity 0.4s ease; z-index: -1;
}
.feature-card-modern:hover { transform: translateY(-10px) scale(1.02); }
.feature-card-modern:hover::before { opacity: 1; }
.icon-box { font-size: 2.2rem; margin-bottom: 1rem; display: inline-block; }
@keyframes pulse { 0% {transform: scale(1);} 50% {transform: scale(1.1);} 100% {transform: scale(1);} }
@keyframes shake { 0%, 100% {transform: rotate(0deg);} 25% {transform: rotate(10deg);} 75% {transform: rotate(-10deg);} }
@keyframes spin { 100% {transform: rotate(360deg);} }
.feature-card-modern:hover .icon-pulse { animation: pulse 1s infinite; }
.feature-card-modern:hover .icon-shake { animation: shake 0.5s infinite; }
.feature-card-modern:hover .icon-spin { animation: spin 2s linear infinite; }

/* =========================================
   PLANES Y PRECIOS
   ========================================= */
.cart-buzz { animation: zumbidoCart 2.5s infinite cubic-bezier(0.36, 0.07, 0.19, 0.97); transform-origin: bottom center; }
@keyframes zumbidoCart {
    0%, 100% { transform: scale(1) rotate(0deg); }
    10% { transform: scale(1.1) rotate(-12deg); }
    20% { transform: scale(1.1) rotate(12deg); }
    30% { transform: scale(1.1) rotate(-12deg); }
    40% { transform: scale(1.1) rotate(12deg); }
    50% { transform: scale(1) rotate(0deg); }
}
.pricing-card { transition: transform 0.4s ease, box-shadow 0.4s ease; }
.pricing-card:hover { transform: translateY(-12px); box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15) !important; }
.pricing-header { border-radius: 16px 16px 0 0; }
.bg-seypro-dark { background-color: #0e1828 !important; }
.pricing-list li { margin-bottom: 1.2rem; color: #475569; font-size: 0.95rem; }
.pricing-list i { font-size: 1.1rem; margin-right: 10px; }
.ribbon {
    position: absolute; top: 20px; right: -35px; padding: 5px 40px; font-size: 0.75rem; font-weight: bold;
    text-transform: uppercase; transform: rotate(45deg); box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}
.title-divider { width: 80px; height: 4px; border-radius: 2px; }