.clientes-section {
    margin-top: 40px;
    padding: 60px 20px;
    background-color: #f9f9f9;
    text-align: center;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    border-radius: 12px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.07);
    font-family: 'Roboto', sans-serif;
}

.clientes-section h2 {
    font-size: 2.8em;
    margin-bottom: 40px;
    color: #004687;
    font-weight: 700;
    letter-spacing: 0.05em;
    position: relative;
}

/* Línea decorativa debajo del título */
.clientes-section h2::after {
    content: "";
    display: block;
    width: 60px;
    height: 4px;
    background-color: #004687;
    margin: 10px auto 0;
    border-radius: 2px;
}

.clientes-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 35px;
    align-items: center;
}

.cliente-item {
    background: white;
    border-radius: 12px;
    padding: 15px 10px 25px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.cliente-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 25px rgba(0,0,0,0.15);
}

.cliente-item img {
    max-width: 110px;
    max-height: 110px;
    object-fit: contain;
    margin-bottom: 12px;
    transition: transform 0.4s ease;
}

.cliente-item:hover img {
    transform: scale(1.1);
}

.cliente-item p {
    font-size: 1.25em;
    color: #004687;
    margin: 0;
    font-weight: 600;
    text-transform: uppercase;
}

/* Responsividad */

@media (max-width: 1024px) {
    .clientes-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .clientes-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
}

@media (max-width: 480px) {
    .clientes-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .clientes-section h2 {
        font-size: 2em;
        margin-bottom: 25px;
    }

    .cliente-item img {
        max-width: 90px;
        max-height: 90px;
    }

    .cliente-item p {
        font-size: 1.1em;
    }
}
