.site-footer {
    --footer-bg: #e9ece8;
    --footer-ink: #171719;
    --footer-muted: #737873;
    --footer-line: #cfd4cf;
    --footer-accent: #6100fe;

    padding:
        24px
        clamp(20px, 2vw, 34px)
        24px;

    background: #ffffff;
    color: var(--footer-ink);
}

.site-footer__inner {
    max-width: 1440px;
    margin-inline: auto;

    padding:
        clamp(48px, 5vw, 76px)
        clamp(28px, 3vw, 48px)
        28px;

    border-radius: 14px;

    background: var(--footer-bg);
}

.site-footer__top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;

    gap: 40px;

    padding-bottom: 55px;

    border-bottom:
        1px solid var(--footer-line);
}

.site-footer__title {
    margin: 0;

    font-family:
        "Instrument Sans",
        sans-serif;

    font-size: clamp(
        54px,
        6vw,
        92px
    );

    font-weight: 500;

    line-height: .95;
    letter-spacing: -.075em;

    color: var(--footer-ink);
}

.site-footer__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding:
        17px
        24px;

    background: var(--footer-accent);

    color: #ffffff;

    text-decoration: none;
    text-transform: uppercase;

    font-family:
        "IBM Plex Mono",
        monospace;

    font-size: 11px;
    font-weight: 600;

    letter-spacing: .04em;

    transition:
        transform .35s ease,
        background-color .3s ease;
}

.site-footer__cta:hover {
    transform: translateY(-2px);
    background: #5011d0;
}


/* GRID */

.site-footer__grid {
    display: grid;

    grid-template-columns:
        1.1fr
        .8fr
        1.2fr
        .7fr;

    gap: clamp(
        35px,
        5vw,
        80px
    );

    padding:
        42px
        0
        58px;
}

.site-footer__column {
    display: flex;
    flex-direction: column;

    gap: 12px;
}

.site-footer__label {
    margin: 0 0 8px;

    font-family:
        "IBM Plex Mono",
        monospace;

    font-size: 10px;
    font-weight: 600;

    letter-spacing: .05em;

    text-transform: uppercase;

    color: var(--footer-muted);
}

.site-footer__text {
    font-size: 15px;
    color: var(--footer-ink);
}

.site-footer__link,
.site-footer__nav a,
.site-footer__social a {
    font-family:
        "IBM Plex Mono",
        monospace;

    font-size: 12px;

    text-decoration: none;

    color: var(--footer-ink);

    transition:
        color .25s ease;
}

.site-footer__link:hover,
.site-footer__nav a:hover,
.site-footer__social a:hover {
    color: var(--footer-accent);
}

.site-footer__nav,
.site-footer__social {
    display: flex;
    flex-direction: column;

    gap: 14px;
}


/* MAP BOX */

.site-footer__map {
    position: relative;

    min-height: 150px;

    padding: 20px;

    border:
        1px solid var(--footer-line);

    display: flex;
    align-items: flex-end;

    overflow: hidden;

    background:
        linear-gradient(
            135deg,
            rgba(97, 0, 254, .06),
            rgba(255, 255, 255, .3)
        );
}

.site-footer__map::before {
    content: "";

    position: absolute;

    inset: 0;

    background-image:
        linear-gradient(
            var(--footer-line) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            var(--footer-line) 1px,
            transparent 1px
        );

    background-size:
        26px 26px;

    opacity: .3;
}

.site-footer__map-dot {
    position: absolute;

    top: 45%;
    left: 56%;

    width: 9px;
    height: 9px;

    background: var(--footer-accent);

    border-radius: 50%;

    box-shadow:
        0 0 0 7px
        rgba(97, 0, 254, .12);
}

.site-footer__map-copy {
    position: relative;
    z-index: 1;

    display: flex;
    flex-direction: column;

    gap: 4px;
}

.site-footer__map-copy strong {
    font-size: 18px;
}

.site-footer__map-copy span {
    font-size: 12px;
    color: var(--footer-muted);
}

.site-footer__cities {
    margin-top: 10px;

    font-size: 11px;
    line-height: 1.5;

    color: var(--footer-muted);
}


/* BOTTOM */

.site-footer__bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;

    gap: 30px;

    padding-top: 22px;

    border-top:
        1px solid var(--footer-line);

    font-family:
        "IBM Plex Mono",
        monospace;

    font-size: 10px;

    color: var(--footer-muted);
}

.site-footer__legal {
    display: flex;
    gap: 24px;
}

.site-footer__legal a {
    color: var(--footer-muted);
    text-decoration: none;
}

.site-footer__legal a:hover {
    color: var(--footer-accent);
}


/* TABLET */

@media (max-width: 950px) {

    .site-footer__grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

}


/* MOBILE */

@media (max-width: 650px) {

    .site-footer {
        padding:
            14px;
    }

    .site-footer__inner {
        padding:
            34px
            22px
            22px;
    }

    .site-footer__top {
        flex-direction: column;
        align-items: flex-start;
    }

    .site-footer__title {
        font-size: clamp(
            46px,
            13vw,
            62px
        );
    }

    .site-footer__cta {
        width: 100%;
    }

    .site-footer__grid {
        grid-template-columns: 1fr;
        gap: 34px;
    }

    .site-footer__bottom {
        flex-direction: column;
        align-items: flex-start;
    }

}

/* =========================================================
   FOOTER — SICILY MAP
   ========================================================= */

.site-footer__map {
    position: relative;

    min-height: 170px;

    padding: 18px;

    border:
        1px solid var(--footer-line);

    overflow: hidden;

    background:
        rgba(255, 255, 255, .22);
}

.site-footer__map-graphic {
    position: absolute;

    inset: 8px 10px 6px 10px;

    display: flex;
    align-items: center;
    justify-content: center;
}

.site-footer__map-graphic svg {
    width: 100%;
    height: 100%;

    overflow: visible;
}

.site-footer__sicily {
    fill:
        rgba(23, 23, 25, .035);

    stroke:
        rgba(23, 23, 25, .22);

    stroke-width: 1.5;

    vector-effect:
        non-scaling-stroke;
}

.site-footer__map-pin-ring {
    fill:
        rgba(97, 0, 254, .12);

    stroke:
        rgba(97, 0, 254, .28);

    stroke-width: 1;
}

.site-footer__map-pin {
    fill:
        var(--footer-accent);
}

.site-footer__map-copy {
    position: absolute;

    left: 18px;
    bottom: 16px;

    z-index: 2;

    display: flex;
    flex-direction: column;

    gap: 3px;
}

.site-footer__map-copy strong {
    font-size: 16px;
    font-weight: 600;

    color: var(--footer-ink);
}

.site-footer__map-copy span {
    font-size: 11px;
    line-height: 1.4;

    color: var(--footer-muted);
}

/* =========================================================
   FOOTER
   ========================================================= */

.site-footer {
    background: #0d0d0d;
    color: #fff;
    padding: 80px 0 0;
}

.site-footer .lm-container {
    width: min(1200px, calc(100% - 40px));
    margin: 0 auto;
}


/* MAIN GRID */

.site-footer__main {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
    gap: 60px;
    padding-bottom: 60px;
}


/* BRAND */

.site-footer__logo {
    display: inline-block;

    color: #fff;
    text-decoration: none;

    font-size: 28px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.5px;

    margin-bottom: 22px;
}

.site-footer__description {
    max-width: 340px;

    margin: 0 0 20px;

    color: rgba(255, 255, 255, 0.65);

    font-size: 15px;
    line-height: 1.7;
}

.site-footer__area {
    margin: 0;

    color: rgba(255, 255, 255, 0.45);

    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}


/* TITOLI */

.site-footer__title {
    margin: 0 0 22px;

    color: #fff;

    font-size: 14px;
    font-weight: 600;

    text-transform: uppercase;
    letter-spacing: 1.2px;
}


/* NAV */

.site-footer__nav {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
}

.site-footer__nav a,
.site-footer__contacts a {
    color: rgba(255, 255, 255, 0.65);

    text-decoration: none;

    font-size: 15px;

    transition:
        color 0.2s ease,
        transform 0.2s ease;
}

.site-footer__nav a:hover,
.site-footer__contacts a:hover {
    color: #fff;
}


/* CONTATTI */

.site-footer__contacts {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
}

.site-footer__contacts p {
    margin: 8px 0 0;

    color: rgba(255, 255, 255, 0.55);

    font-size: 14px;
    line-height: 1.7;
}


/* INDIRIZZI */

.site-footer__addresses {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.site-footer__addresses address {
    margin: 0;

    color: rgba(255, 255, 255, 0.6);

    font-size: 14px;
    line-height: 1.7;

    font-style: normal;
}

.site-footer__addresses strong {
    color: #fff;
    font-weight: 500;
}


/* MAPPA */

.site-footer__map {
    width: 100%;
    overflow: hidden;

    border-radius: 4px;

    background: #1b1b1b;
}

.site-footer__map iframe {
    display: block;
    width: 100%;
    min-height: 360px;

    filter: grayscale(100%);
    transition: filter 0.35s ease;
}

.site-footer__map:hover iframe {
    filter: grayscale(0%);
}


/* BOTTOM */

.site-footer__bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;

    margin-top: 45px;
    padding: 25px 0;

    border-top: 1px solid rgba(255, 255, 255, 0.1);

    color: rgba(255, 255, 255, 0.4);

    font-size: 12px;
}

.site-footer__legal {
    display: flex;
    align-items: center;
    gap: 20px;
}

.site-footer__legal a {
    color: inherit;
    text-decoration: none;

    transition: color 0.2s ease;
}

.site-footer__legal a:hover {
    color: #fff;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1000px) {

    .site-footer {
        padding-top: 60px;
    }

    .site-footer__main {
        grid-template-columns: 1fr 1fr;
        gap: 50px 40px;
    }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 650px) {

    .site-footer {
        padding-top: 50px;
    }

    .site-footer .lm-container {
        width: min(100% - 30px, 1200px);
    }

    .site-footer__main {
        grid-template-columns: 1fr;
        gap: 40px;

        padding-bottom: 45px;
    }

    .site-footer__description {
        max-width: none;
    }

    .site-footer__map iframe {
        height: 300px;
        min-height: 300px;
    }

    .site-footer__bottom {
        flex-direction: column;
        align-items: flex-start;

        margin-top: 35px;
    }

    .site-footer__legal {
        flex-wrap: wrap;
        gap: 10px 18px;
    }

}