.section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 1rem;
}

/* Contenidor 2 columnes. */

.two-columns {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2.5rem;
}

/*Columnes*/

.col-text {
    flex: 1;
}

.col-image img {
    width: 100%;
    max-width: 420px;
    border-radius: 10px;
    display: block;
}

/* Secció 1 i 3 → imatge esquerra */
.section-left .two-columns {
    flex-direction: row;
}

/* Secció 2 → imatge dreta */
.section-right .two-columns {
    flex-direction: row-reverse;
}

/* responsive. */

@media (max-width: 768px) {
    .two-columns {
        flex-direction: column !important;
        text-align: center;
    }

    .col-image img {
        max-width: 100%;
    }
}

/* Layout general */
.section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 1rem;
}

/* Contenidor 2 columnes (el teu) */
.wc-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2.5rem;
}

/* Text */
.wc-text {
    flex: 1;
}

/* Imatge */
.wc-image img {
    width: 100%;
    max-width: 420px;
    border-radius: 10px;
    display: block;
}

/* Responsive */
@media (max-width: 768px) {
    .wc-container {
        flex-direction: column;
        text-align: center;
    }

    .wc-image img {
        max-width: 100%;
    }
}


/* Botó llegir més. */

.wc-button {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.8rem 1.4rem;
    background-color: #0077ff; /* blau electric */
    color: #111;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.25s ease;
}

/* Hover modern i coherent amb les targetes */
.wc-button:hover {
    transform: translateY(-3px);
    background-color: #2fc27d;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}


/* SECCIÓ 2 — COM TREBALLEM */
#how-we-work {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 1rem;
}

.hww-columns {
    display: flex;
    align-items: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.hww-left {
    flex: 1 1 40%;
}

.hww-left img {
    width: 100%;
    border-radius: 12px;
    display: block;
}

.hww-right {
    flex: 1 1 55%;
}

.hww-right h2 {
    margin-bottom: 1.5rem;
}

.hww-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.hww-list li {
    margin-bottom: 1rem;
    padding-left: 1.2rem;
    position: relative;
    line-height: 1.5;
}

.hww-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--accent-color, #0077ff);
    font-size: 1.2rem;
}

/* RESPONSIVE */
@media (max-width: 900px) {
    .hww-columns {
        flex-direction: column;
        text-align: center;
    }

    .hww-right {
        text-align: left;
    }
}

/* Secció 3: Testimonis */

/* CARRUSEL DE LOGOS */
.carousel-container {
    overflow: hidden;
    width: 100%;
    padding: 2rem 0;
}

.carousel-track {
    display: flex;
    gap: 2rem;
    align-items: center;
    animation: scroll 20s linear infinite;
}

.carousel-track img {
    height: 60px;
    width: auto;
    object-fit: contain;
    /* filter: grayscale(100%);  Aixó fa que el scroll sigui en b/n*/    
    opacity: 0.8;
    transition: opacity 0.3s ease, filter 0.3s ease;
}

.carousel-track img:hover {
    filter: grayscale(0%);
    opacity: 1;
}

@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* .carousel-container:hover .carousel-track {
    animation-play-state: paused;
} */
