/* ==========================================================
   MOTUS ANIMI FAD — Footer
   ========================================================== */

/* ── LINEA ACCENT TOP ── */
.mafad-footer-accent {
    height: 4px;
    background: linear-gradient(90deg, #1d9b93, #c1146e);
}

/* ── FOOTER PRINCIPALE ── */
.mafad-footer {
    font-family: 'Roboto', sans-serif;
    background-color: rgba(29, 155, 147, 0.06);
    position: relative;
}

/* Pattern decorativo sottile */
.mafad-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(29, 155, 147, 0.04) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(193, 20, 110, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

.mafad-footer-main {
    padding: 60px 0 40px;
    position: relative;
    z-index: 1;
}

.mafad-footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
    gap: 40px;
}

/* ── COLONNA BRAND ── */
.mafad-footer-brand {
    padding-right: 20px;
}

.mafad-footer-logo {
    margin-bottom: 16px;
}

.mafad-footer-logo img {
    max-height: 48px;
    width: auto;
}

.mafad-footer-site-name {
    margin: 0 0 16px 0;
    font-size: 22px;
    font-weight: 700;
}

.mafad-footer-site-name a {
    color: #1d9b93;
    text-decoration: none;
}

.mafad-footer-description {
    font-size: 14px;
    line-height: 1.65;
    color: #555555;
    margin: 0 0 20px 0;
}

/* ── SOCIAL ICONS ── */
.mafad-footer-social {
    display: flex;
    gap: 10px;
}

.mafad-social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background-color: rgba(29, 155, 147, 0.1);
    color: #1d9b93;
    text-decoration: none;
    transition: all 0.3s ease;
}

.mafad-social-link:hover {
    background-color: #1d9b93;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(29, 155, 147, 0.3);
}

.mafad-social-link svg {
    transition: transform 0.3s ease;
}

.mafad-social-link:hover svg {
    transform: scale(1.1);
}

/* ── TITOLI COLONNE ── */
.mafad-footer-heading {
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: #222222;
    margin: 0 0 20px 0;
    padding-bottom: 12px;
    position: relative;
}

.mafad-footer-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background-color: #1d9b93;
    border-radius: 2px;
}

/* ── MENU LINK ── */
.mafad-footer-menu {
    list-style: none;
    margin: 0;
    padding: 0;
}

.mafad-footer-menu li {
    margin-bottom: 10px;
}

.mafad-footer-menu li a {
    font-size: 14px;
    color: #555555;
    text-decoration: none;
    transition: color 0.2s ease, padding-left 0.2s ease;
    position: relative;
    padding-left: 0;
}

.mafad-footer-menu li a:hover {
    color: #1d9b93;
    padding-left: 6px;
}

/* Freccia hover */
.mafad-footer-menu li a::before {
    content: '›';
    position: absolute;
    left: -12px;
    opacity: 0;
    color: #1d9b93;
    font-size: 16px;
    font-weight: 700;
    transition: opacity 0.2s ease, left 0.2s ease;
}

.mafad-footer-menu li a:hover::before {
    opacity: 1;
    left: -6px;
}

/* ── CONTATTI ── */
.mafad-footer-contact-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.mafad-footer-contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 14px;
    font-size: 14px;
    color: #555555;
    line-height: 1.5;
}

.mafad-contact-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    min-width: 32px;
    border-radius: 8px;
    background-color: rgba(29, 155, 147, 0.1);
    color: #1d9b93;
    font-size: 14px;
}

.mafad-footer-contact-list a {
    color: #555555;
    text-decoration: none;
    transition: color 0.2s ease;
}

.mafad-footer-contact-list a:hover {
    color: #1d9b93;
}

/* ── FOOTER BOTTOM ── */
.mafad-footer-bottom {
    background-color: rgba(29, 155, 147, 0.08);
    border-top: 1px solid rgba(29, 155, 147, 0.1);
    padding: 20px 0;
    position: relative;
    z-index: 1;
}

.mafad-footer-bottom .mafad-footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.mafad-footer-copyright {
    font-size: 13px;
    color: #888888;
    margin: 0;
}

.mafad-footer-credits {
    font-size: 13px;
    color: #1d9b93;
    font-weight: 600;
    margin: 0;
}


/* ==========================================================
   RESPONSIVE
   ========================================================== */

@media (max-width: 1024px) {
    .mafad-footer-inner {
        grid-template-columns: 1fr 1fr;
        gap: 36px;
    }

    .mafad-footer-brand {
        grid-column: 1 / -1;
        padding-right: 0;
        text-align: center;
    }

    .mafad-footer-social {
        justify-content: center;
    }

    .mafad-footer-description {
        max-width: 500px;
        margin-left: auto;
        margin-right: auto;
    }

    .mafad-footer-heading::after {
        left: 0;
    }
}

@media (max-width: 600px) {
    .mafad-footer-inner {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }

    .mafad-footer-main {
        padding: 40px 0 30px;
    }

    .mafad-footer-heading::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .mafad-footer-menu li a::before {
        display: none;
    }

    .mafad-footer-menu li a:hover {
        padding-left: 0;
    }

    .mafad-footer-contact-list {
        display: inline-flex;
        flex-direction: column;
        align-items: flex-start;
    }

    .mafad-footer-bottom .mafad-footer-inner {
        flex-direction: column;
        text-align: center;
        gap: 8px;
    }
}