:root {
    --bs-primary: #1e3a5f;
    /* Azul acero DIPIMEX */
    --bs-secondary: #6c757d;
    /* Gris metálico */
    --bs-dark: #0d1929;
    /* Azul muy oscuro */
    --bs-info: #2c5282;
    /* Azul medio */
    --bs-success: #28a745;
    --bs-warning: #ffc107;
    /* Amarillo para acentos */
}

.float {
    position: fixed;
    height: 60px;
    bottom: 30px;
    right: 15px;
    z-index: 100
}

.bg-gradient-primary {
    background: linear-gradient(135deg, #1e3a5f 0%, #2c5282 100%);
}

.bg-gradient-dark {
    background: linear-gradient(135deg, #0d1929 0%, #1e3a5f 100%);
}

.text-gradient {
    background: linear-gradient(135deg, #2c5282 0%, #1e3a5f 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.shadow-xl {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.btn-gradient {
    background: linear-gradient(135deg, #ffc107 0%, #ffb300 100%);
    border: none;
    color: #1e3a5f;
    font-weight: 600;
}

.btn-gradient:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(255, 193, 7, 0.3);
    color: #1e3a5f;
}

.navbar-brand {
    font-size: 2rem;
    font-weight: 900;
}

.hero-form {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
}

/* --- ESTILOS DEL CARRUSEL DE LOGOS (SIN CONFLICTOS) --- */

.logo-slider {
    overflow: hidden;
    padding: 20px 0;
    background-color: white;
    border-top: 1px solid #e9ecef;
    border-bottom: 1px solid #e9ecef;
    position: relative;
}

.logo-slider::before,
.logo-slider::after {
    content: "";
    position: absolute;
    top: 0;
    width: 100px;
    height: 100%;
    z-index: 2;
}

.logo-slider::before {
    left: 0;
    background: linear-gradient(to left, rgba(255, 255, 255, 0), white);
}

.logo-slider::after {
    right: 0;
    background: linear-gradient(to right, rgba(255, 255, 255, 0), white);
}

.logo-track {
    display: flex;
    width: calc(250px * 18);
    animation: scroll-desktop 30s linear infinite;
}

.logo-track:hover {
    animation-play-state: paused;
}

@keyframes scroll-desktop {
    0%   { transform: translateX(0); }
    100% { transform: translateX(calc(-250px * 9)); }
}

@keyframes scroll-mobile {
    0%   { transform: translateX(0); }
    100% { transform: translateX(calc(-180px * 9)); }
}

/* CAMBIO AQUÍ: Usamos .logo-item en lugar de .slide */
.logo-item {
    height: 80px;
    width: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 15px;
    border-right: 1px solid #e9ecef;
}

/* CAMBIO AQUÍ */
.logo-item img {
    max-width: 150px;
    max-height: 60px;
    width: auto;
    filter: grayscale(100%);
    opacity: 0.8;
    transition: all 0.3s ease;
}

/* CAMBIO AQUÍ */
.logo-item img:hover {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.1);
}


/* --- AJUSTE RESPONSIVO DEL CARRUSEL --- */
@media (max-width: 768px) {
    .logo-track {
        width: calc(180px * 18);
        animation-name: scroll-mobile;
        animation-duration: 25s;
    }
    
    /* CAMBIO AQUÍ */
    .logo-item {
        height: 60px;
        width: 180px;
    }

    /* CAMBIO AQUÍ */
    .logo-item img {
        max-width: 100px;
        max-height: 40px;
    }

    .logo-slider::before,
    .logo-slider::after {
        width: 50px;
    }
}