/* ============================================================
   ESTILS FOOTER
   Peu de pàgina, contactes i responsive
   ============================================================ */

   .main-footer {
    background-color: #555c61;
    color: #ffffff;
    padding: 25px 0 40px 0;
    font-size: 15px;
    font-weight: 400;
    letter-spacing: 0.4px;
}

.footer-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.main-footer,
.footer-container,
.footer-col {
    text-align: left;
}

.footer-col h3 {
    font-size: 17px;
    font-weight: 500;
    letter-spacing: 0.4px;
    text-transform: lowercase;
    margin-bottom: 10px;
    padding-bottom: 6px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.4);
    color: #ffffff;
}

/* ============================================================
   BULLETS PERSONALITZATS
   ============================================================ */

.footer-col ul {
    list-style: none;
    padding-left: 0;
    margin: 0 0 15px 0;
}

.footer-col ul li {
    position: relative;
    padding-left: 12px;
    margin-bottom: 8px;
    transition: color 0.25s ease;
}

.footer-col ul li::before {
    content: "•";
    position: absolute;
    left: 0;
    top: 6px;
    color: #ffffff;
    font-size: 16px;
    line-height: 1;
    transition: color 0.25s ease, transform 0.25s ease;
}

.footer-col ul li:hover::before {
    color: #ffcc00;
    transform: translateX(3px);
}

/* Enllaços */
.footer-col a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.25s ease;
}

.footer-col a:hover {
    color: #ffcc00;
}

/* Subcategories */
.footer-subcat {
    display: block;
    margin-top: 18px;
    margin-bottom: 6px;
    color: #ffffff;
    font-size: 13px;
    text-transform: uppercase;
    font-weight: bold;
}

.footer-col h3 + .footer-subcat {
    margin-top: 5px;
}

/* ============================================================
   CONTACTE
   ============================================================ */

.footer-contact-links {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-top: 12px;
}

.footer-contact-links a {
    display: flex;
    align-items: center;
    gap: 7px;
    margin: 2px 0;
    transition: color 0.25s ease;
}

.footer-col.contacte p,
.footer-col.contacte a {
    line-height: 1.25;
    letter-spacing: 0.4px;
}

.footer-col.contacte p {
    margin: 5px 0;
}

.footer-icon {
    width: 16px;
    height: 16px;
    margin-right: 4px;
    transition: filter 0.25s ease, transform 0.25s ease;
}

.footer-contact-links a:hover img.footer-icon {
    filter: brightness(0) saturate(100%) invert(78%) sepia(72%) saturate(900%) hue-rotate(1deg) brightness(95%) contrast(105%);
    transform: translateX(2px);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 1100px) {
    .footer-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
        max-width: 800px;
    }
}

@media (max-width: 768px) {
    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-col h3 {
        display: inline-block;
        margin-bottom: 15px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    }
}
