﻿:root {
    --toyo-red-vibrant: #e31919;
    --toyo-navy: #0f172a;
}

/* Tipografía exacta basada en el logotipo corporativo */
.font-mt-brand {
    font-family: 'Arial Black', 'Impact', sans-serif !important;
    font-style: italic !important;
    font-weight: 900 !important;
    letter-spacing: -1.5px !important;
    text-transform: uppercase !important;
    color: #ffffff !important;
    text-shadow: 0 3px 8px rgba(0, 0, 0, 0.9);
}

.font-mt-sub {
    font-family: 'Century Gothic', 'Futura', 'Segoe UI', sans-serif !important;
    font-weight: 300 !important;
    letter-spacing: 2px !important;
    text-transform: uppercase !important;
    color: #f1f5f9 !important;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.9);
}

.hero-text-shadow {
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.9);
}

.hero-download-bar {
    background: rgba(15, 23, 42, 0.6) !important;
    backdrop-filter: blur(8px);
    border-top: 1px solid rgba(255, 255, 255, 0.3) !important;
    border-radius: 12px;
}

.hover-opacity {
    transition: opacity 0.3s ease;
}

    .hover-opacity:hover {
        opacity: 0.85;
    }

.card-organic {
    border-radius: 24px !important;
    border: none !important;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

    .card-organic:hover {
        transform: translateY(-8px);
        box-shadow: 0 20px 40px rgba(15, 23, 42, 0.12) !important;
    }

.btn, .form-control, .form-select {
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
    border-radius: 12px !important;
}

    .form-control:focus, .form-select:focus {
        border-color: var(--toyo-red-vibrant) !important;
        box-shadow: 0 0 0 4px rgba(227, 25, 25, 0.2) !important;
    }

/* Fondo rojo bajito para la sección de contacto */
.bg-contacto-rojo {
    background: linear-gradient(135deg, #fef2f2 0%, #ffe4e6 100%) !important;
    border: 1px solid #fca5a5 !important;
}

.floating-metrics {
    border-radius: 30px !important;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
}

/* ESTILOS PESTAÑAS Y TARJETAS INTERACTIVAS DE SERVICIOS */
.services-nav-pills .nav-link {
    color: var(--toyo-navy);
    background: #ffffff;
    border: 2px solid #e2e8f0;
    border-radius: 50px;
    padding: 12px 24px;
    font-weight: 600;
    transition: all 0.3s ease;
}

    .services-nav-pills .nav-link:hover {
        border-color: var(--toyo-red-vibrant);
        color: var(--toyo-red-vibrant);
        transform: translateY(-2px);
    }

    .services-nav-pills .nav-link.active {
        background: var(--toyo-navy) !important;
        color: #ffffff !important;
        border-color: var(--toyo-navy) !important;
        box-shadow: 0 10px 20px rgba(15, 23, 42, 0.2);
    }

.service-showcase-card {
    background: #ffffff;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(15, 23, 42, 0.08);
    transition: all 0.4s ease;
}

.service-img-container {
    height: 100% !important;
    min-height: 420px;
    position: relative;
    overflow: hidden;
    background-color: #0f172a;
}

    .service-img-container img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
        transition: transform 0.8s ease;
    }

.service-showcase-card:hover .service-img-container img {
    transform: scale(1.05);
}

/* TARJETAS COMPACTAS DE PILARES Y AJUSTE DE IMÁGENES */
.pillar-slider-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 12px;
    border: 1px solid #e2e8f0;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    height: 100%;
    display: flex;
    flex-direction: column;
}

    .pillar-slider-card:hover {
        border-color: var(--toyo-red-vibrant) !important;
        box-shadow: 0 8px 20px rgba(227, 25, 25, 0.12) !important;
        transform: translateY(-3px);
    }

.pillar-img-banner {
    width: 100%;
    height: 160px;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    margin-bottom: 12px;
    background-color: #0f172a;
    flex-shrink: 0;
}

    .pillar-img-banner img {
        width: 100%;
        height: 100%;
        object-fit: cover !important;
        object-position: center;
        transition: transform 0.4s ease;
    }

.pillar-slider-card:hover .pillar-img-banner img {
    transform: scale(1.08);
}

.swiper-slide {
    height: auto !important;
}

/* CARRUSEL INFINITO DE MARCAS Y ALIADOS */
.client-logo-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 20px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
}

    .client-logo-card:hover {
        border-color: var(--toyo-red-vibrant);
        transform: translateY(-3px);
        box-shadow: 0 10px 20px rgba(227, 25, 25, 0.15);
    }

    .client-logo-card img {
        max-height: 100%;
        max-width: 100%;
        object-fit: contain;
    }

.swiperClientes .swiper-wrapper {
    transition-timing-function: linear !important;
}

/* HERO CON EFECTO DE MOVIMIENTO Y FILTRO ROJIZO IDÉNTICO A TOYO */
@keyframes mtRoadMove {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.hero-mt-moving {
    background-color: #0f172a;
    background-image: linear-gradient(180deg, rgba(227, 25, 25, 0.35) 0%, rgba(15, 23, 42, 0.65) 100%), url('/img/mt/portada.jpg');
    background-size: 130% auto;
    background-repeat: no-repeat;
    background-position: 0% 50%;
    animation: mtRoadMove 20s ease-in-out infinite alternate;
}

@media (max-width: 992px) {
    .hero-mt-moving {
        background-size: cover;
        background-position: center;
    }
}

/* BOTONES NAVEGACIÓN SEDES CON ESTILO TOYO (ROJO ACTIVO) */
#pills-tab-mt .nav-link {
    color: #475569;
    background-color: #ffffff;
    border: 1px solid #cbd5e1;
}

    #pills-tab-mt .nav-link.active {
        color: #ffffff !important;
        background-color: var(--toyo-red-vibrant) !important;
        border-color: var(--toyo-red-vibrant) !important;
        box-shadow: 0 4px 12px rgba(227, 25, 25, 0.25);
    }

/* MISIÓN Y VISIÓN CORPORATIVA */
.mission-vision-navy-card {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 1.25rem;
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 15px 35px -10px rgba(15, 23, 42, 0.3);
}

    .mission-vision-navy-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 4px;
        background: linear-gradient(90deg, #e31919, #ff4d4d);
        opacity: 0.9;
    }

    .mission-vision-navy-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 25px 50px -12px rgba(227, 25, 25, 0.25);
        border-color: rgba(227, 25, 25, 0.4);
    }

.icon-box-navy {
    width: 55px;
    height: 55px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 1rem;
    background: rgba(227, 25, 25, 0.15);
    color: #ff4d4d;
    transition: all 0.3s ease;
}

.mission-vision-navy-card:hover .icon-box-navy {
    transform: scale(1.1) rotate(5deg);
    background: rgba(227, 25, 25, 0.25);
}

/* BOTÓN FLOTANTE WHATSAPP */
.whatsapp-float-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: #ffffff;
    width: 60px;
    height: 60px;
    border-radius: 50px;
    text-align: center;
    font-size: 32px;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    text-decoration: none;
}

    .whatsapp-float-btn:hover {
        background-color: #20ba5a;
        color: #ffffff;
        transform: translateY(-5px) scale(1.05);
        box-shadow: 0 10px 25px rgba(37, 211, 102, 0.6);
    }

/* BOTÓN FLOTANTE WAZE */
.waze-float-btn {
    position: fixed;
    bottom: 100px;
    right: 30px;
    background-color: #33ccff;
    color: #ffffff;
    width: 60px;
    height: 60px;
    border-radius: 50px;
    text-align: center;
    font-size: 26px;
    box-shadow: 0 6px 20px rgba(51, 204, 255, 0.4);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    text-decoration: none;
}

    .waze-float-btn:hover {
        background-color: #2bb3e0;
        color: #ffffff;
        transform: translateY(-5px) scale(1.05);
        box-shadow: 0 10px 25px rgba(51, 204, 255, 0.6);
    }

