/* xl - DESKTOP STYLES */ 
/* ============================================
   FOOTER — footer.css
   Mobilitza't Argentona
   ============================================ */

.site-footer {
    background: #fff;
    border-top: 1px solid var(--color-border);
    padding: 3.5rem 0 0;
    margin-top: 0;
}

/* ——— TOP ——— */
.footer-top {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1.5fr;
    gap: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid var(--color-border);
}

/* Logo */

.footer-logo img{
	width:200px;
	height:auto;
	padding-bottom:15px;
	
}
.footer-logo .logo-text {
    font-family: var(--font-headings);
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--color-dark);
    text-decoration: none;
    letter-spacing: -0.5px;
    display: inline-block;
    margin-bottom: 0.75rem;
}

.footer-tagline {
    font-size: 0.875rem;
    color: var(--color-muted);
    line-height: 1.6;
    max-width: 240px;
}

/* Títols de columna */
.footer-nav__title {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--color-dark);
    margin-bottom: 1rem;
}

/* Nav links */
.footer-nav ul,
.footer-contact ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.footer-nav ul li a {
    font-size: 0.9rem;
    color: var(--color-muted);
    text-decoration: none;
    transition: color 0.18s ease;
}

.footer-nav ul li a:hover {
    color: var(--color-dark);
}

/* Contacte */
.footer-contact ul li {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    font-size: 0.875rem;
    color: var(--color-muted);
    line-height: 1.5;
}

.footer-contact ul li svg {
    flex-shrink: 0;
    margin-top: 2px;
    color: var(--color-muted);
}

.footer-contact ul li a {
    color: var(--color-muted);
    text-decoration: none;
    transition: color 0.18s ease;
}

.footer-contact ul li a:hover {
    color: var(--color-dark);
}

/* Xarxes socials */
.footer-social {
    display: flex;
    gap: 0.5rem;
    margin-top: 1.25rem;
}

.footer-social a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--color-border);
    border-radius: 0.75rem;
    color: var(--color-dark);
    transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.footer-social a:hover {
    background: var(--color-dark);
    border-color: var(--color-dark);
    color: #fff;
}

/* ——— BOTTOM ——— */
/* Logos Kit Digital */
.footer-funding {
    padding: 1.5rem 0;
    border-bottom: 1px solid var(--color-border);
    text-align: center;
}

.footer-funding img {
    display: block;
    width: 100%;
    max-width: 720px;
    height: auto;
    margin: 0 auto;
    opacity: 0.85;
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 0;
    gap: 1rem;
    flex-wrap: wrap;
}

.footer-copy {
    font-size: 0.8rem;
    color: var(--color-muted);
}

.footer-copy a {
    color: var(--color-dark);
    font-weight: 600;
    text-decoration: none;
}

.footer-copy a:hover { text-decoration: underline; }

.footer-legal {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    flex-wrap: wrap;
}

.footer-legal a {
    font-size: 0.8rem;
    color: var(--color-muted);
    text-decoration: none;
    transition: color 0.18s ease;
}

.footer-legal a:hover { color: var(--color-dark); }

/* ——— RESPONSIVE ——— */
@media (max-width: 900px) {
    .footer-top {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }

    .footer-logo {
        grid-column: 1 / 3;
    }
}

/* Tauleta i mòbil: peu centrat */
@media (max-width: 1024px) {
    .footer-bottom {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 0.75rem;
    }

    /* «Desenvolupament i disseny web» en una línia a part */
    .footer-sep { display: none; }
    .footer-dev { display: block; margin-top: 0.25rem; }

    .footer-legal { justify-content: center; }
}

@media (max-width: 600px) {
    .site-footer { padding: 2.5rem 0 0; }

    .footer-top {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-logo { grid-column: auto; }

    .footer-bottom {
        /* Espai perquè els botons flotants (WhatsApp + amunt) no tapin els enllaços */
        padding-bottom: 8.5rem;
    }

    .footer-legal { gap: 0.75rem; }
}

