html {
  scroll-behavior: auto;
}

body {
  overscroll-behavior: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}


/* ---- section ---- */


/* =========================================================
   HEADER
========================================================= */

#ff-header {
    --ff-white: #fefeff;
    --ff-muted: rgba(254, 254, 255, .72);
    --ff-yellow: #f4cd2a;

    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    z-index: 2147483647 !important;
    background: transparent !important;
    font-family: "Inter", sans-serif;
}

#ff-header *,
#ff-header *::before,
#ff-header *::after {
    box-sizing: border-box;
}

/* =========================================================
   INNER
========================================================= */

.ff-header-inner {
    width: 100%;
    height: 88px;
    margin: 0;
    padding: 0 clamp(40px, 6vw, 110px);
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

/* =========================================================
   BLOCCO SINISTRO
========================================================= */

.ff-header-left {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: auto;
    max-width: 1500px;
}

/* =========================================================
   BRAND SOLO TESTO
========================================================= */

.ff-header-brand {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
    color: var(--ff-white);
    text-decoration: none;
}

.ff-header-brand-copy {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.ff-header-brand-name {
    color: var(--ff-white);
    font-size: 17px;
    font-weight: 600;
    line-height: 1;
    letter-spacing: -.035em;
    white-space: nowrap;
}

/* =========================================================
   NAV DESKTOP
========================================================= */

.ff-header-nav {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 20px;
    flex-shrink: 0;
    margin-left: clamp(100px, 8vw, 165px);
}

/* =========================================================
   VOCI MENU
========================================================= */

.ff-header-nav a {
    position: relative;
    padding: 29px 0;
    font-family: "Inter", sans-serif;
    font-size: clamp(16px, 1vw, 19px);
    font-weight: 400;
    line-height: 1.7;
    color: var(--ff-white);
    text-decoration: none;
    text-transform: uppercase;
    white-space: nowrap;
    transition: opacity .22s ease;
}

/* =========================================================
   UNDERLINE
========================================================= */

.ff-header-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 22px;
    width: 100%;
    height: 1px;
    background: var(--ff-white);
    transform: scaleX(0);
    transform-origin: right center;
    transition: transform .28s cubic-bezier(.22, 1, .36, 1);
}

.ff-header-nav a:hover {
    opacity: .72;
}

.ff-header-nav a:hover::after {
    transform: scaleX(1);
    transform-origin: left center;
}

/* =========================================================
   BURGER
========================================================= */

.ff-header-burger {
    display: none;
    width: 46px;
    height: 46px;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
    align-items: center;
    justify-content: center;
}

.ff-header-burger-lines {
    position: relative;
    display: block;
    width: 25px;
    height: 16px;
}

.ff-header-burger-lines span {
    position: absolute;
    left: 0;
    width: 100%;
    height: 1.5px;
    background: var(--ff-white);
    transition:
        transform .35s cubic-bezier(.22, 1, .36, 1),
        top .35s cubic-bezier(.22, 1, .36, 1),
        opacity .2s ease;
}

.ff-header-burger-lines span:nth-child(1) {
    top: 1px;
}

.ff-header-burger-lines span:nth-child(2) {
    top: 7px;
}

.ff-header-burger-lines span:nth-child(3) {
    top: 13px;
}

/* =========================================================
   BURGER APERTO
========================================================= */

#ff-header.is-open
.ff-header-burger-lines span:nth-child(1) {
    top: 7px;
    transform: rotate(45deg);
}

#ff-header.is-open
.ff-header-burger-lines span:nth-child(2) {
    opacity: 0;
}

#ff-header.is-open
.ff-header-burger-lines span:nth-child(3) {
    top: 7px;
    transform: rotate(-45deg);
}

/* =========================================================
   MOBILE DRAWER
========================================================= */

.ff-header-mobile {
    display: none;
}

/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1100px) {

    .ff-header-inner {
        height: 80px;
        padding: 0 45px;
    }

    .ff-header-nav {
        margin-left: 62px;
        gap: 18px;
    }

    .ff-header-nav a {
        font-size: 16px;
    }

}

/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 900px) {

    .ff-header-inner {
        height: 72px;
        padding: 0 24px;
        justify-content: space-between;
    }

    .ff-header-left {
        width: 100%;
        max-width: none;
        justify-content: space-between;
    }

    .ff-header-nav {
        display: none;
    }

    .ff-header-burger {
        display: flex;
        flex-shrink: 0;
    }

    .ff-header-brand-name {
        font-size: 16px;
    }

    /* =====================================================
       DRAWER
    ====================================================== */

    .ff-header-mobile {
        position: fixed;
        top: 0;
        left: 0;
        z-index: -1;
        width: 100%;
        height: 100dvh;
        padding: 110px 24px 30px;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        background: #fefeff;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-16px);
        transition:
            opacity .32s ease,
            visibility .32s ease,
            transform .42s cubic-bezier(.22, 1, .36, 1);
        pointer-events: none;
        overflow-y: auto;
    }

    #ff-header.is-open
    .ff-header-mobile {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        pointer-events: auto;
    }

    /* =====================================================
       HEADER QUANDO MENU APERTO
    ====================================================== */

    #ff-header.is-open
    .ff-header-brand-name {
        color: #0b141d;
    }

    #ff-header.is-open
    .ff-header-burger-lines span {
        background: #0b141d;
    }

    /* =====================================================
       MENU MOBILE
    ====================================================== */

    .ff-header-mobile-nav {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
    }

    .ff-header-mobile-nav a {
        width: 100%;
        padding: 19px 0;
        border-bottom: 1px solid rgba(11, 20, 29, .08);
        color: #0b141d;
        text-decoration: none;
        text-transform: uppercase;
        font-family: "Inter", sans-serif;
        font-size: clamp(28px, 7vw, 38px);
        font-weight: 400;
        line-height: 1.2;
        letter-spacing: -.035em;
    }

    /* =====================================================
       INFO MOBILE
    ====================================================== */

    .ff-header-mobile-bottom {
        padding-top: 40px;
    }

    .ff-header-mobile-contact {
        margin: 0;
        color: rgba(11, 20, 29, .58);
        font-size: 13px;
        line-height: 1.6;
    }

}

/* =========================================================
   MOBILE PICCOLO
========================================================= */

@media (max-width: 480px) {

    .ff-header-inner {
        height: 68px;
        padding: 0 20px;
    }

    .ff-header-mobile {
        padding: 100px 20px 24px;
    }

    .ff-header-brand-name {
        font-size: 14px;
    }

    .ff-header-mobile-nav a {
        padding: 17px 0;
        font-size: 30px;
    }

}

/* ---- section ---- */



/* =========================================================
   RESET
========================================================= */

html,
body {

    width: 100%;

    margin: 0;

    padding: 0;

    overflow-x: hidden;

}


/* =========================================================
   FIORESE FRANCO — HERO CONTATTI
========================================================= */

.ff-contact-hero {

    position: relative;

    width: 100vw;

    margin-left:
        calc(50% - 50vw);

    margin-right:
        calc(50% - 50vw);

    padding: 0;

    box-sizing: border-box;

    overflow: hidden;

    background: #fefeff;

}


.ff-contact-hero *,
.ff-contact-hero *::before,
.ff-contact-hero *::after {

    box-sizing: border-box;

}


/* =========================================================
   WRAPPER
   ALTEZZA FISSA
========================================================= */

.ff-contact-hero__wrapper {

    position: relative;

    width: 100%;

    height: 430px;

    min-height: 430px;

    max-height: 430px;

    overflow: hidden;

}


/* =========================================================
   FOTO
========================================================= */

.ff-contact-hero__media {

    position: absolute;

    inset: 0;

    width: 100%;

    height: 100%;

    overflow: hidden;

}


.ff-contact-hero__media img {

    position: absolute;

    z-index: 0;

    top: -240px;

    left: 0;

    display: block;

    width: 100%;

    height:
        calc(100% + 240px);

    max-width: none;

    object-fit: cover;

    object-position:
        center 42%;

}


/* =========================================================
   OSCURAMENTO
========================================================= */

.ff-contact-hero__media::after {

    content: "";

    position: absolute;

    inset: 0;

    z-index: 1;

    background:
        linear-gradient(
            90deg,

            rgba(11, 20, 29, .76) 0%,
            rgba(11, 20, 29, .70) 22%,
            rgba(11, 20, 29, .53) 42%,
            rgba(11, 20, 29, .31) 62%,
            rgba(11, 20, 29, .18) 82%,
            rgba(11, 20, 29, .14) 100%
        );

    pointer-events: none;

}


/* =========================================================
   MOBILE REALE
   NON SI ATTIVA SEMPLICEMENTE FACENDO ZOOM DA PC
========================================================= */

@media
(max-width: 800px)
and (hover: none)
and (pointer: coarse) {

    .ff-contact-hero__wrapper {

        height: 300px;

        min-height: 300px;

        max-height: 300px;

    }


    .ff-contact-hero__media img {

        top: -140px;

        height:
            calc(100% + 140px);

        object-position:
            center center;

    }


    .ff-contact-hero__media::after {

        background:
            linear-gradient(
                180deg,

                rgba(11, 20, 29, .30) 0%,
                rgba(11, 20, 29, .44) 38%,
                rgba(11, 20, 29, .73) 100%
            );

    }

}


/* =========================================================
   MOBILE PICCOLO REALE
========================================================= */

@media
(max-width: 480px)
and (hover: none)
and (pointer: coarse) {

    .ff-contact-hero__wrapper {

        height: 250px;

        min-height: 250px;

        max-height: 250px;

    }

}

/* ---- section ---- */


/* =========================================================
   FIORESE FRANCO — CONTATTI + MAPPA
========================================================= */

.ff-contact-map-section {
    --ff-bg: #f6f7f8;
    --ff-white: #fefeff;
    --ff-dark: #0b141d;
    --ff-muted: rgba(11, 20, 29, .66);
    --ff-blue: #4e85c6;
    --ff-blue-dark: #1B5593;
    --ff-yellow: #f4cd2a;
    --ff-border: rgba(11, 20, 29, .10);

    width: 100%;
    margin: 0;
    padding: 90px clamp(40px, 6vw, 110px);
    box-sizing: border-box;
    background: var(--ff-bg);
}

.ff-contact-map-section *,
.ff-contact-map-section *::before,
.ff-contact-map-section *::after {
    box-sizing: border-box;
}

/* =========================================================
   CONTAINER
========================================================= */

.ff-contact-map-container {
    width: 100%;
    margin: 0;
    padding: 0;
}

/* =========================================================
   PARTE SUPERIORE
========================================================= */

.ff-contact-map-top {
    width: 100%;
    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        minmax(420px, .82fr);

    gap: clamp(70px, 8vw, 150px);
    align-items: start;
}

/* =========================================================
   COLONNA SINISTRA
========================================================= */

.ff-contact-map-content {
    width: 100%;
    max-width: 760px;

    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

/* =========================================================
   H2
========================================================= */

.ff-contact-map-title {
    width: 100%;
    max-width: 720px;
    margin: 0;

    font-family: "Inter", sans-serif;
    font-size: clamp(38px, 3.3vw, 62px);
    font-weight: 500;
    line-height: 1.02;
    letter-spacing: -0.045em;
    color: var(--ff-dark);
}

/* =========================================================
   INTRO
========================================================= */

.ff-contact-map-text {
    width: 100%;
    max-width: 620px;
    margin: 26px 0 0;

    font-family: "Inter", sans-serif;
    font-size: clamp(16px, 1vw, 19px);
    font-weight: 400;
    line-height: 1.7;
    color: var(--ff-muted);
}

/* =========================================================
   CTA
========================================================= */

.ff-contact-map-actions {
    width: 100%;
    margin-top: 34px;

    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
}

/* =========================================================
   BOTTONE PRINCIPALE
========================================================= */

.ff-contact-map-button {
    min-height: 56px;
    padding: 0 24px;

    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 20px;

    border: 1px solid var(--ff-yellow);
    border-radius: 0;

    background: var(--ff-yellow);
    color: var(--ff-dark);
    text-decoration: none;

    font-family: "Inter", sans-serif;
    font-size: 14px;
    font-weight: 500;
    line-height: 1;

    transition:
        background-color .2s ease,
        border-color .2s ease;
}

.ff-contact-map-button:hover {
    background: var(--ff-white);
    border-color: var(--ff-white);
}

/* =========================================================
   BOTTONE SECONDARIO
========================================================= */

.ff-contact-map-button--secondary {
    background: transparent;
    border-color: rgba(11, 20, 29, .20);
}

.ff-contact-map-button--secondary:hover {
    background: var(--ff-white);
    border-color: var(--ff-white);
}

/* =========================================================
   ICONE BOTTONI
========================================================= */

.ff-contact-map-button svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;

    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* =========================================================
   COLONNA DESTRA — CONTATTI
========================================================= */

.ff-contact-map-details {
    width: 100%;
    margin: 0;
    border-top: 1px solid var(--ff-border);
}

.ff-contact-map-row {
    width: 100%;
    min-height: 70px;
    padding: 16px 0;

    display: grid;
    grid-template-columns: 120px minmax(0, 1fr);
    gap: 24px;
    align-items: center;

    border-bottom: 1px solid var(--ff-border);
}

/* =========================================================
   LABEL
========================================================= */

.ff-contact-map-label {
    margin: 0;

    font-family: "Inter", sans-serif;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.4;
    color: var(--ff-muted);
}

/* =========================================================
   VALORE
========================================================= */

.ff-contact-map-value {
    margin: 0;

    font-family: "Inter", sans-serif;
    font-size: clamp(16px, 1.15vw, 19px);
    font-weight: 500;
    line-height: 1.45;
    color: var(--ff-dark);
}

.ff-contact-map-value a {
    color: inherit;
    text-decoration: none;
}

/* =========================================================
   FOCUS
========================================================= */

.ff-contact-map-button:focus-visible,
.ff-contact-map-value a:focus-visible {
    outline: 2px solid var(--ff-blue);
    outline-offset: 4px;
}

/* =========================================================
   MAPPA — GRANDE E ORIZZONTALE
========================================================= */

.ff-contact-map-visual {
    position: relative;
    width: 100%;
    height: clamp(360px, 25vw, 440px);
    margin-top: 90px;

    background: #e5e8eb;
    overflow: hidden;
}

/* =========================================================
   MAPPA GOOGLE
========================================================= */

.ff-contact-map-visual iframe {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;
    display: block;
    border: 0;
}

/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1100px) {

    .ff-contact-map-section {
        padding: 80px 45px;
    }

    .ff-contact-map-top {
        grid-template-columns:
            minmax(0, 1fr)
            minmax(360px, .82fr);

        gap: 50px;
    }

    .ff-contact-map-title {
        font-size: clamp(34px, 4.2vw, 50px);
    }

    .ff-contact-map-text {
        font-size: 16px;
        line-height: 1.65;
    }

    .ff-contact-map-row {
        grid-template-columns: 100px minmax(0, 1fr);
        gap: 18px;
    }

    .ff-contact-map-visual {
        height: 380px;
        margin-top: 80px;
    }
}

/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 800px) {

    .ff-contact-map-section {
        padding: 70px 24px;
    }

    .ff-contact-map-top {
        grid-template-columns: 1fr;
        gap: 42px;
    }

    .ff-contact-map-content {
        max-width: 650px;
    }

    .ff-contact-map-title {
        font-size: clamp(36px, 9vw, 50px);
        line-height: 1.04;
    }

    .ff-contact-map-text {
        max-width: 580px;
        margin-top: 22px;
        font-size: 16px;
        line-height: 1.65;
    }

    .ff-contact-map-actions {
        margin-top: 28px;
    }

    .ff-contact-map-details {
        width: 100%;
    }

    .ff-contact-map-row {
        min-height: 68px;
        grid-template-columns: 90px minmax(0, 1fr);
        gap: 14px;
    }

    .ff-contact-map-visual {
        height: 340px;
        margin-top: 70px;
    }
}

/* =========================================================
   MOBILE PICCOLO
========================================================= */

@media (max-width: 480px) {

    .ff-contact-map-section {
        padding: 60px 20px;
    }

    .ff-contact-map-title {
        font-size: 34px;
        line-height: 1.05;
    }

    .ff-contact-map-text {
        font-size: 15px;
        line-height: 1.6;
    }

    .ff-contact-map-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .ff-contact-map-button {
        width: 100%;
        justify-content: space-between;
    }

    .ff-contact-map-row {
        padding: 15px 0;
        grid-template-columns: 1fr;
        gap: 5px;
    }

    .ff-contact-map-visual {
        height: 300px;
        margin-top: 60px;
    }
}

/* ---- section ---- */


/* =========================================================
   ROOT
========================================================= */

:root {
    --ff-footer-h: 420px;
}

/* =========================================================
   WRAPPER ORIGINALE
========================================================= */

#ff-footer-section {
    position: relative;
    width: 100%;
    min-height: 0 !important;
    margin: 0;
    padding: 0;
}

/* =========================================================
   LIVELLI DEL SITO
========================================================= */

.ff-footer-site-layer {
    z-index: 1;
}

.ff-footer-static-layer {
    position: relative;
}

/* =========================================================
   LAYER FISSO SOTTO IL SITO
========================================================= */

#ff-footer-layer {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}

/* =========================================================
   FOOTER FISSO
========================================================= */

#ff-fixed-footer {
    --ff-bg: #fefeff;
    --ff-dark: #0b141d;
    --ff-muted: rgba(11, 20, 29, .62);
    --ff-light-muted: rgba(11, 20, 29, .48);
    --ff-border: rgba(11, 20, 29, .10);
    --ff-blue: #4e85c6;
    --ff-yellow: #f4cd2a;

    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;

    width: 100%;

    min-height: clamp(390px, 48vh, 540px);

    box-sizing: border-box;

    padding:
        72px
        clamp(40px, 6vw, 110px)
        34px;

    background: var(--ff-bg);
    color: var(--ff-dark);

    font-family: "Inter", sans-serif;

    pointer-events: auto;
    overflow: hidden;
}

#ff-fixed-footer *,
#ff-fixed-footer *::before,
#ff-fixed-footer *::after {
    box-sizing: border-box;
}

/* =========================================================
   ANIMAZIONE APPARIZIONE
========================================================= */

.ff-reveal {
    opacity: 0;
    transform: translateY(32px);

    transition:
        opacity .85s cubic-bezier(.22, 1, .36, 1),
        transform .85s cubic-bezier(.22, 1, .36, 1);

    will-change: opacity, transform;
}

.ff-reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.ff-delay-1 {
    transition-delay: .05s;
}

.ff-delay-2 {
    transition-delay: .12s;
}

.ff-delay-3 {
    transition-delay: .20s;
}

.ff-delay-4 {
    transition-delay: .28s;
}

/* =========================================================
   PARTE SUPERIORE
========================================================= */

.ff-footer-top {
    width: 100%;
    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        minmax(320px, .42fr);

    gap: clamp(70px, 10vw, 180px);

    align-items: start;
}

/* =========================================================
   COLONNA SINISTRA
========================================================= */

.ff-footer-main {
    min-width: 0;
}

/* =========================================================
   BRAND
========================================================= */

.ff-footer-brand {
    display: inline-flex;
    align-items: center;
    color: inherit;
    text-decoration: none;
}

.ff-footer-brand-text {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.ff-footer-brand-title {
    margin: 0;
    color: var(--ff-dark);
    font-size: 28px;
    font-weight: 600;
    line-height: .95;
    letter-spacing: -0.055em;
}

/* =========================================================
   DESCRIZIONE
========================================================= */

.ff-footer-description {
    width: 100%;
    max-width: 570px;
    margin: 34px 0 0;

    color: var(--ff-muted);
    font-size: clamp(16px, 1vw, 18px);
    font-weight: 400;
    line-height: 1.68;
}

/* =========================================================
   NAV
========================================================= */

.ff-footer-nav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;

    gap: 18px 42px;

    margin-top: 42px;
}

.ff-footer-nav a {
    position: relative;
    margin: 0;
    padding: 0 0 2px;

    color: var(--ff-dark);
    font-size: 15px;
    font-weight: 500;
    line-height: 1.2;
    text-decoration: none;

    background-image:
        linear-gradient(
            currentColor,
            currentColor
        );

    background-position: 0 100%;
    background-repeat: no-repeat;
    background-size: 0 1px;

    transition:
        color .22s ease,
        background-size .22s ease;
}

.ff-footer-nav a:hover {
    color: var(--ff-blue);
    background-size: 100% 1px;
}

/* =========================================================
   COLONNA DESTRA
========================================================= */

.ff-footer-info {
    width: 100%;
    max-width: 430px;
    justify-self: end;
}

.ff-footer-info-block {
    width: 100%;
}

.ff-footer-info-block +
.ff-footer-info-block {
    margin-top: 30px;
}

.ff-footer-info-title {
    margin: 0 0 14px;
    color: var(--ff-dark);
    font-size: 15px;
    font-weight: 600;
    line-height: 1.4;
}

.ff-footer-info-text {
    margin: 0;
    color: var(--ff-muted);
    font-size: 15px;
    font-weight: 400;
    line-height: 1.75;
}

.ff-footer-info-text a {
    color: inherit;
    text-decoration: none;
    transition: color .2s ease;
}

.ff-footer-info-text a:hover {
    color: var(--ff-blue);
}

/* =========================================================
   DIVISORE
========================================================= */

.ff-footer-divider {
    width: 100%;
    height: 1px;
    margin: 48px 0 0;
    background: var(--ff-border);
}

/* =========================================================
   PARTE LEGALE
========================================================= */

.ff-footer-bottom {
    width: 100%;
    padding-top: 28px;
}

.ff-footer-legal {
    width: 100%;
    margin: 0;
    color: var(--ff-light-muted);
    font-size: 13px;
    font-weight: 400;
    line-height: 1.8;
}

.ff-footer-legal strong {
    color: rgba(11, 20, 29, .72);
    font-weight: 600;
}

/* =========================================================
   COPYRIGHT
========================================================= */

.ff-footer-copyright {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 12px 30px;
    margin-top: 18px;

    color: rgba(11, 20, 29, .45);
    font-size: 12px;
    line-height: 1.6;
}

.ff-footer-copyright p {
    margin: 0;
}

/* =========================================================
   COPYRIGHT + CREDITO SITO
========================================================= */

.ff-footer-copyright-main {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px 14px;
}

.ff-footer-credit {
    color: rgba(11, 20, 29, .45);
    text-decoration: none;
    transition: color .2s ease;
}

.ff-footer-credit:hover {
    color: var(--ff-blue);
}

.ff-footer-credit:focus-visible {
    outline: 2px solid var(--ff-blue);
    outline-offset: 3px;
}

/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1100px) {

    #ff-fixed-footer {
        padding: 65px 45px 30px;
    }

    .ff-footer-top {
        grid-template-columns:
            minmax(0, 1fr)
            minmax(280px, .5fr);
        gap: 60px;
    }

    .ff-footer-nav {
        gap: 18px 28px;
    }

}

/* =========================================================
   MOBILE
   FOOTER REVEAL DISATTIVATO
========================================================= */

@media (max-width: 800px) {

    #ff-footer-layer {
        display: none;
    }

    #ff-fixed-footer {
        position: relative;

        left: auto;
        right: auto;
        bottom: auto;

        width: 100%;
        min-height: 0;

        padding: 55px 24px 28px;

        overflow: visible;
    }

    .ff-footer-top {
        grid-template-columns: 1fr;
        gap: 46px;
    }

    .ff-footer-info {
        max-width: none;
        justify-self: start;
    }

    .ff-footer-description {
        max-width: 600px;
        margin-top: 28px;
        font-size: 16px;
    }

    .ff-footer-nav {
        margin-top: 34px;
        gap: 16px 24px;
    }

    .ff-footer-divider {
        margin-top: 42px;
    }

    .ff-footer-copyright {
        flex-direction: column;
    }

    .ff-footer-copyright-main {
        gap: 4px 10px;
    }

}

/* =========================================================
   MOBILE PICCOLO
========================================================= */

@media (max-width: 480px) {

    #ff-fixed-footer {
        min-height: 0;
        padding: 48px 20px 26px;
    }

    .ff-footer-brand-title {
        font-size: 23px;
    }

    .ff-footer-description {
        margin-top: 24px;
        font-size: 15px;
        line-height: 1.65;
    }

    .ff-footer-nav {
        display: grid;
        grid-template-columns:
            repeat(2, max-content);
        gap: 18px 30px;
    }

    .ff-footer-nav a {
        font-size: 14px;
    }

    .ff-footer-info-title {
        font-size: 14px;
    }

    .ff-footer-info-text {
        font-size: 14px;
    }

    .ff-footer-divider {
        margin-top: 38px;
    }

    .ff-footer-legal {
        font-size: 12px;
        line-height: 1.72;
    }

    .ff-footer-copyright {
        font-size: 11px;
    }

    .ff-footer-copyright-main {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }

}

/* =========================================================
   ACCESSIBILITÀ
========================================================= */

@media (prefers-reduced-motion: reduce) {

    .ff-reveal {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }

}

/* =========================================================
   SISTEMA TIPOGRAFICO MOBILE
   Override finali: nessun effetto sulla versione desktop
========================================================= */

@media (max-width: 800px) {

    :root {
        --ff-mobile-heading: #0b141d;
        --ff-mobile-body: #4f5b66;
        --ff-mobile-muted: #68737d;
    }

    body {
        overflow-x: hidden;
        color: var(--ff-mobile-heading);
        -webkit-text-size-adjust: 100%;
        text-size-adjust: 100%;
    }

    .ff-header-brand-name {
        font-size: clamp(14px, 3.8vw, 16px);
        line-height: 1.1;
    }

    .ff-contact-map-title {
        font-size: clamp(28px, 7.7vw, 32px);
        line-height: 1.1;
        letter-spacing: -0.04em;
        color: var(--ff-mobile-heading);
    }

    .ff-contact-map-text {
        font-size: 16px;
        line-height: 1.65;
        letter-spacing: -0.01em;
        color: var(--ff-mobile-body);
    }

    .ff-contact-map-button {
        min-height: 56px;
        font-size: 14px;
        line-height: 1;
        letter-spacing: 0;
    }

    .ff-contact-map-label {
        font-size: 13px;
        line-height: 1.4;
        color: var(--ff-mobile-muted);
    }

    .ff-contact-map-value,
    .ff-contact-map-value a {
        font-size: 17px;
        line-height: 1.45;
        color: var(--ff-mobile-heading);
    }

    .ff-reveal {
        opacity: 1 !important;
        transform: none !important;
    }

    .ff-footer-brand-title {
        font-size: 22px;
        line-height: 1.15;
        color: var(--ff-mobile-heading);
    }

    .ff-footer-description {
        font-size: 15px;
        line-height: 1.65;
        color: var(--ff-mobile-body);
    }

    .ff-footer-nav a {
        font-size: 14px;
        line-height: 1.3;
        color: var(--ff-mobile-heading);
    }

    .ff-footer-info-title {
        font-size: 14px;
        line-height: 1.4;
        color: var(--ff-mobile-heading);
    }

    .ff-footer-info-text {
        font-size: 14px;
        line-height: 1.7;
        color: var(--ff-mobile-body);
    }

    .ff-footer-legal,
    .ff-footer-copyright,
    .ff-footer-credit {
        color: var(--ff-mobile-muted);
    }
}

@media (max-width: 380px) {

    .ff-contact-map-section {
        padding-left: 18px;
        padding-right: 18px;
    }

    .ff-contact-map-title {
        font-size: 28px;
    }
}
