:root {
  --primary: #f5a623;
  --whatsapp: #25d366;
  --gmail: #ea4335;
  --bg-dark: #050505;
  --glass: rgba(255, 255, 255, 0.03);
  --glass-border: rgba(255, 255, 255, 0.1);
}

body {
  background: var(--bg-dark);
  overflow-x: hidden;
  font-family: 'Inter', 'Segoe UI', sans-serif;
}

/* Efecto de luz de fondo */
.background-glow {
    position: fixed;
    top: 50%;
    left: 50%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(245, 166, 35, 0.1) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    z-index: -1;
    pointer-events: none;
}

/* Navbar Moderna */
.mp-navbar {
    padding: 25px 0;
    background: rgba(0,0,0,0.8);
    backdrop-filter: blur(20px);
}

.mp-logo span { color: var(--primary); }

/* Main Wrapper */
.mp-main-wrapper {
    min-height: 100vh;
    padding-top: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mp-header-text {
    text-align: center;
    margin-bottom: 60px;
}

.subtitle {
    color: var(--primary);
    letter-spacing: 5px;
    font-size: 0.8rem;
    font-weight: 700;
}

.mp-title {
    font-size: clamp(2.5rem, 8vw, 4.5rem);
    font-weight: 900;
    margin: 10px 0;
    line-height: 1;
}

/* Grid de Tarjetas de Cristal */
.mp-grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    max-width: 1100px;
    margin: 0 auto;
    padding: 20px;
}

.mp-glass-card {
    position: relative;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 50px 30px;
    text-decoration: none;
    color: white;
    overflow: hidden;
    transition: all 0.5s ease;
    backdrop-filter: blur(10px);
}

.mp-glass-card:hover {
    transform: translateY(-15px);
    border-color: rgba(255,255,255,0.3);
    background: rgba(255,255,255,0.06);
}

/* Colores Dinámicos al Hover */
.whatsapp:hover { box-shadow: 0 20px 50px rgba(37, 211, 102, 0.15); }
.gmail:hover { box-shadow: 0 20px 50px rgba(234, 67, 53, 0.15); }

.icon-box {
    font-size: 4rem;
    margin-bottom: 25px;
    transition: 0.5s;
}

.whatsapp .icon-box { color: var(--whatsapp); }
.gmail .icon-box { color: var(--gmail); }

.mp-glass-card h3 {
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.action-text {
    margin-top: 25px;
    display: inline-block;
    font-weight: bold;
    font-size: 0.9rem;
    color: var(--primary);
    letter-spacing: 2px;
}

/* Badge de disponibilidad */
.status-badge {
    display: inline-flex;
    align-items: center;
    background: rgba(37, 211, 102, 0.1);
    color: var(--whatsapp);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.dot {
    height: 8px;
    width: 8px;
    background-color: var(--whatsapp);
    border-radius: 50%;
    margin-right: 8px;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.4; }
    100% { opacity: 1; }
}

/* Animaciones de entrada */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}/* Color para la tarjeta de teléfono */
:root { --phone-color: #3498db; }
.phone:hover { box-shadow: 0 20px 50px rgba(52, 152, 219, 0.15); }
.phone .icon-box { color: var(--phone-color); }

/* Sección de datos de contacto visibles */
.mp-contact-info-raw {
    text-align: center;
    margin: 40px auto;
    color: rgba(255,255,255,0.6);
    font-size: 0.9rem;
    line-height: 1.8;
}
.mp-contact-info-raw b { color: var(--primary); }

/* Ocultar badge si no es horario laboral */
.status-badge { display: none; } 
.status-badge.is-open { display: inline-flex; }/* --- SECCIÓN DE DATOS RESALTADA --- */
.mp-contact-info-raw {
    text-align: center;
    margin: 60px auto;
    padding: 30px;
    max-width: 800px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(245, 166, 35, 0.3); /* Color primario sutil */
    border-radius: 20px;
    backdrop-filter: blur(15px);
    box-shadow: 0 0 40px rgba(245, 166, 35, 0.1);
    position: relative;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Animación de entrada extra cuando se activa el reveal */
.mp-contact-info-raw.reveal.active {
    animation: pulseGlow 3s infinite alternate;
}

.mp-contact-info-raw p {
    font-size: 1.2rem !important;
    line-height: 2;
    color: #fff !important;
    margin: 0;
    position: relative;
    z-index: 2;
}

/* Resaltado de iconos y etiquetas */
.mp-contact-info-raw strong {
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    display: inline-block;
    margin-right: 5px;
}

/* Efecto de Brillo Animado en el borde */
@keyframes pulseGlow {
    0% { border-color: rgba(245, 166, 35, 0.2); box-shadow: 0 0 20px rgba(245, 166, 35, 0.05); }
    100% { border-color: rgba(245, 166, 35, 0.6); box-shadow: 0 0 50px rgba(245, 166, 35, 0.2); }
}

/* Hover interactivo */
.mp-contact-info-raw:hover {
    transform: scale(1.03);
    background: rgba(255, 255, 255, 0.07);
    border-color: var(--primary);
}

/* Ajuste para móviles */
@media (max-width: 768px) {
    .mp-contact-info-raw p {
        font-size: 1rem !important;
    }
}/* --- SECCIÓN DE CONTACTO CON LUZ PARPADEANTE --- */
.mp-contact-info-raw {
    text-align: center;
    margin: 60px auto;
    padding: 40px 20px;
    max-width: 850px;
    background: rgba(10, 10, 10, 0.8);
    border: 2px solid rgba(245, 166, 35, 0.2);
    border-radius: 20px;
    backdrop-filter: blur(15px);
    position: relative;
    overflow: hidden;
    /* Animación de pulso constante (luz parpadeante sutil) */
    animation: yellowAlert 2s infinite alternate;
    transition: transform 0.3s ease;
}

/* El "Rayo" que recorre el borde (Luz amarilla moviéndose) */
.mp-contact-info-raw::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(
        transparent, 
        rgba(245, 166, 35, 0.8), 
        transparent 30%
    );
    animation: rotateLight 4s linear infinite;
    z-index: 1;
}

/* Capa interna para que el texto no se tape por el rayo */
.mp-contact-info-raw::after {
    content: "";
    position: absolute;
    inset: 3px; /* Grosor del borde */
    background: #050505;
    border-radius: 17px;
    z-index: 1;
}

.mp-contact-info-raw p {
    position: relative;
    z-index: 2; /* Encima de los efectos de luz */
    font-size: 1.25rem !important;
    font-weight: 500;
    color: #fff;
    letter-spacing: 0.5px;
}

.mp-contact-info-raw b, 
.mp-contact-info-raw strong {
    color: var(--primary);
    text-shadow: 0 0 10px rgba(245, 166, 35, 0.5); /* Brillo en el texto */
}

/* --- ANIMACIONES --- */

/* 1. Rotación del rayo de luz */
@keyframes rotateLight {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* 2. Parpadeo de la caja (Efecto Alerta Amarilla) */
@keyframes yellowAlert {
    0% {
        box-shadow: 0 0 15px rgba(245, 166, 35, 0.1);
        border-color: rgba(245, 166, 35, 0.2);
    }
    50% {
        box-shadow: 0 0 40px rgba(245, 166, 35, 0.4);
        border-color: rgba(245, 166, 35, 0.8);
    }
    100% {
        box-shadow: 0 0 15px rgba(245, 166, 35, 0.1);
        border-color: rgba(245, 166, 35, 0.2);
    }
}

/* Hover para que resalte aún más al tocarlo */
.mp-contact-info-raw:hover {
    transform: scale(1.02);
    cursor: pointer;
}/* --- CONTENEDOR DEL GIF --- */
.mp-gif-container {
    max-width: 600px;
    margin: 40px auto;
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
    border: 1px solid rgba(245, 166, 35, 0.2); /* Borde amarillo sutil */
}

.mp-action-gif {
    width: 100%;
    display: block;
    filter: brightness(0.8) contrast(1.1); /* Ajuste de color para que no brille de más */
}

/* Capa de degradado para suavizar la integración con el fondo */
.gif-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 70%, var(--bg-dark));
    pointer-events: none;
}

/* Animación extra para el GIF */
.mp-gif-container.reveal.active {
    animation: fadeInScale 1s ease-out;
}

@keyframes fadeInScale {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}.mp-gif-card {
    border: 2px solid #f5a623; /* El color exacto de tu logo */
    box-shadow: 0 0 20px rgba(245, 166, 35, 0.3);
}/* --- CAMIÓN Y EXCAVADORA 100% CSS --- */

.contenedor-animacion-mape {
    width: 100%;
    overflow: hidden;
    padding: 60px 0;
    margin-top: 30px;
    position: relative;
}

.pista {
    width: 100%;
    height: 150px;
    position: relative;
    border-bottom: 4px solid rgba(255, 255, 255, 0.1);
}

.vehiculo-css {
    position: absolute;
    bottom: 0;
    width: 380px;
    height: 120px;
    animation: viajeInfinito 10s linear infinite;
}

/* Cuerpo del Camión (Rojo) */
.cabina {
    position: absolute;
    right: 0;
    bottom: 25px;
    width: 70px;
    height: 80px;
    background: #cc0000;
    border-radius: 10px 20px 5px 5px;
}

.ventana {
    position: absolute;
    top: 10px;
    right: 5px;
    width: 40px;
    height: 30px;
    background: #aaddff;
    border-radius: 5px 15px 2px 2px;
}

.chasis-frontal {
    position: absolute;
    right: 70px;
    bottom: 25px;
    width: 40px;
    height: 30px;
    background: #cc0000;
}

/* Remolque */
.remolque {
    position: absolute;
    left: 0;
    bottom: 25px;
    width: 270px;
    height: 15px;
    background: #333;
    border-radius: 2px;
}

/* Excavadora (Amarilla) */
.excavadora-css {
    position: absolute;
    bottom: 15px;
    left: 50px;
    width: 120px;
    height: 60px;
}

.cuerpo-exca {
    width: 100px;
    height: 50px;
    background: #ffcc00;
    border-radius: 5px;
    position: relative;
}

.brazo-exca {
    position: absolute;
    left: -40px;
    top: 10px;
    width: 60px;
    height: 10px;
    background: #ffcc00;
    transform: rotate(-30deg);
}

.pala-exca {
    position: absolute;
    left: -55px;
    top: 35px;
    width: 30px;
    height: 20px;
    background: #222;
    border-radius: 0 0 10px 10px;
}

/* Ruedas y Animación de Giro */
.rueda {
    position: absolute;
    bottom: 5px;
    width: 30px;
    height: 30px;
    background: #111;
    border: 4px dashed #666;
    border-radius: 50%;
    animation: girarRueda 1s linear infinite;
}

.r1 { right: 10px; }
.r2 { right: 80px; }
.r3 { left: 10px; }
.r4 { left: 45px; }
.r5 { left: 80px; }

/* ANIMACIONES */
@keyframes viajeInfinito {
    0% { transform: translateX(-400px); }
    100% { transform: translateX(100vw); }
}

@keyframes girarRueda {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Efecto de rebote sutil */
.vehiculo-css {
    animation: viajeInfinito 10s linear infinite, saltito 0.5s ease-in-out infinite alternate;
}

@keyframes saltito {
    from { margin-bottom: 0px; }
    to { margin-bottom: 3px; }
}/* --- ESTILOS MEJORADOS MAPE LAGUNA --- */

.contenedor-animacion-mape {
    width: 100%;
    overflow: hidden;
    padding: 80px 0;
    position: relative;
}

.pista {
    width: 100%;
    height: 180px;
    position: relative;
    border-bottom: 6px solid #222;
}

.vehiculo-css {
    position: absolute;
    bottom: 0;
    width: 450px;
    height: 150px;
    animation: viajeInfinito 12s linear infinite;
}

/* --- CAMIÓN --- */
.cabina-camion {
    position: absolute;
    right: 0;
    bottom: 30px;
    width: 80px;
    height: 90px;
    background: #b30000;
    border-radius: 8px 25px 5px 5px;
    z-index: 10;
}

.ventana-camion {
    position: absolute;
    top: 10px;
    right: 5px;
    width: 50px;
    height: 35px;
    background: linear-gradient(135deg, #aaddff, #6699ff);
    border-radius: 4px 18px 2px 2px;
}

.chasis-rojo {
    position: absolute;
    right: 80px;
    bottom: 30px;
    width: 50px;
    height: 35px;
    background: #b30000;
}

/* --- REMOLQUE --- */
.remolque-negro {
    position: absolute;
    left: 0;
    bottom: 30px;
    width: 320px;
    height: 12px;
    background: #1a1a1a;
}

/* --- EXCAVADORA (PIEZAS FALTANTES) --- */
.excavadora-completa {
    position: absolute;
    bottom: 12px;
    left: 40px;
    width: 200px;
    height: 100px;
}

.orugas-base {
    position: absolute;
    bottom: 0;
    width: 120px;
    height: 25px;
    background: #333;
    border-radius: 8px;
    border-bottom: 4px solid #111;
}

.cuerpo-superior {
    position: absolute;
    bottom: 25px;
    left: 10px;
    width: 90px;
    height: 50px;
    background: #ffcc00;
    border-radius: 8px 15px 5px 5px;
    box-shadow: inset -10px 0 10px rgba(0,0,0,0.1);
}

.cabina-operador {
    position: absolute;
    top: 5px;
    left: 45px;
    width: 35px;
    height: 30px;
    background: #333;
    border: 2px solid #ffcc00;
    border-radius: 4px;
}

.brazo-principal {
    position: absolute;
    bottom: 45px;
    left: 80px;
    width: 80px;
    height: 15px;
    background: #ffcc00;
    transform-origin: left center;
    transform: rotate(-45deg);
    border-radius: 5px;
}

.brazo-secundario {
    position: absolute;
    right: -50px;
    top: -5px;
    width: 70px;
    height: 12px;
    background: #ffcc00;
    transform: rotate(90deg);
    border-radius: 5px;
}

.cuchara-final {
    position: absolute;
    bottom: -15px;
    right: -10px;
    width: 35px;
    height: 25px;
    background: #222;
    clip-path: polygon(0% 0%, 100% 0%, 85% 100%, 25% 100%, 0% 60%);
}

/* --- RUEDAS CON GIRO --- */
.rueda, .rueda-doble {
    position: absolute;
    bottom: 5px;
    width: 34px;
    height: 34px;
    background: #111;
    border: 3px dashed #555;
    border-radius: 50%;
    animation: girar 1.2s linear infinite;
}

.rueda-doble { width: 38px; height: 38px; border-width: 5px; }

.r1 { right: 5px; }
.r2 { right: 100px; }
.r3 { left: 20px; }
.r4 { left: 65px; }
.r5 { left: 110px; }

/* --- ANIMACIONES --- */
@keyframes viajeInfinito {
    0% { transform: translateX(-500px); }
    100% { transform: translateX(100vw); }
}

@keyframes girar {
    to { transform: rotate(360deg); }
}

/* Vibración del motor */
.vehiculo-css {
    animation: viajeInfinito 12s linear infinite, vibrar 0.2s ease-in-out infinite alternate;
}

@keyframes vibrar {
    from { bottom: 0; }
    to { bottom: 2px; }
}/* Reducción exclusiva de la animación del vehículo */
.contenedor-animacion-mape {
    /* Ajusta este valor (0.5 es la mitad, 0.3 es miniatura) */
    transform: scale(0.4) !important; 
    
    /* Centra la animación y ajusta el origen */
    transform-origin: center center !important;
    
    /* Reduce el espacio que deja el escalado para que no haya huecos blancos */
    margin: -100px auto !important; 
    
    width: 100% !important;
    display: flex !important;
    justify-content: center !important;
    overflow: visible !important;
}

/* Ajuste opcional para los textos que están justo arriba de la animación */
.mp-location-footer {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

.mp-location-footer p {
    font-size: 0.8rem !important; /* Texto de horario más discreto */
}