/* ========== SECCIÓN MARCAS ========== */
.seccion-marcas {
    background: #fff;
    padding: 50px 0;
    overflow: hidden;
}

/* ========== HEADER MARCAS ========== */
.marcas-header {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-bottom: 50px;
}

.linea-azul-marcas {
    flex: 1;
    height: 4px;
    background: linear-gradient(90deg, transparent 0%, #1e3a8a 50%, transparent 100%);
}

.titulo-marcas {
    font-size: 28px;
    font-weight: 800;
    color: #000;
    text-transform: uppercase;
    letter-spacing: 2px;
    white-space: nowrap;
}

/* ========== CARRUSEL WRAPPER ========== */
.marcas-carrusel-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 20px 0;
}

/* ========== CARRUSEL ========== */
.marcas-carrusel {
    display: flex;
    gap: 60px;
    width: max-content;
    will-change: transform;
}

/* ========== MARCA ITEM ========== */
.marca-item {
    flex-shrink: 0;
    width: 180px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border-radius: 10px;
    padding: 20px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.marca-item:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.marca-item img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.marca-item:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

.marca-item a {
    display: block;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ========== EFECTO GRADIENTE EN BORDES ========== */
.marcas-carrusel-wrapper::before,
.marcas-carrusel-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 150px;
    z-index: 10;
    pointer-events: none;
}

.marcas-carrusel-wrapper::before {
    left: 0;
    background: linear-gradient(to right, #fff, transparent);
}

.marcas-carrusel-wrapper::after {
    right: 0;
    background: linear-gradient(to left, #fff, transparent);
}

/* ========== RESPONSIVE ========== */
@media (max-width: 992px) {
    .titulo-marcas {
        font-size: 24px;
    }

    .marca-item {
        width: 150px;
        height: 80px;
    }

    .marcas-carrusel {
        gap: 50px;
    }
}

@media (max-width: 768px) {
    .seccion-marcas {
        padding: 40px 0;
    }

    .titulo-marcas {
        font-size: 20px;
    }

    .marcas-header {
        gap: 20px;
        margin-bottom: 35px;
    }

    .marca-item {
        width: 130px;
        height: 70px;
        padding: 15px;
    }

    .marcas-carrusel {
        gap: 40px;
    }
}

@media (max-width: 480px) {
    .titulo-marcas {
        font-size: 18px;
    }

    .marca-item {
        width: 110px;
        height: 60px;
        padding: 10px;
    }

    .marcas-carrusel {
        gap: 30px;
    }

    .marcas-carrusel-wrapper::before,
    .marcas-carrusel-wrapper::after {
        width: 80px;
    }
}