 *,
 *::before,
 *::after { 
     box-sizing: border-box;
 }
 html {
     padding: 0;
margin: 0;
scroll-behavior: smooth; }

body{
    margin: 0;
    font-family: "Cormorant Garamond", serif;
}

h1,
h2,
h3,
h4,
h5,
h6{
    font-family: "Cormorant Garamond", serif;
}

.header{
    background-color: white;
    border-bottom: 0;
    width: 100%;
    height: 163px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 16px;
    padding: 0 clamp(20px, 5vw, 72px);
    position: relative;
}

.header::after{
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 1px;
    background-color: #89888882;
    clip-path: polygon(0 100%, 5% 0, 95% 0, 100% 100%);
    pointer-events: none;
}

header{
    position: relative;
    z-index: 20;
    overflow-x: clip;
}

.logo-header{
    display: block;
    width: auto;
    height: 205px;
    max-width: min(60vw, 340px);
    margin-left: -51px;
}

.logo-link{
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
}

.associazione{
    display: flex;
    min-width: 0;
    flex: 1 1 auto;
    flex-direction: column;
    gap: 3px;
    font-size: 1.1rem;
    color: #202020;
    text-align: left;
    line-height: 1.1;
    margin-left: -55px;
}

.associazione small{
    font-weight: 400;
    line-height: 1.1;
}

.header-actions{
    display: flex;
    align-items: center;
    flex: 0 0 auto;
    gap: 86px;
    margin-left: auto;
}

.header-socials{
    display: flex;
    align-items: center;
    gap: 20px;
}

.header-social-slot{
    display: grid;
    width: 40px;
    height: 40px;
    place-items: center;
    font: 600 0.65rem Arial, sans-serif;
}

.header-social-slot img{
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.nav-item{
    position: relative;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    border-bottom: 1px solid #ededed;
}

.nav-link{
    flex: 1;
    padding: 14px 4px;
    color: #202020;
    font-size: 1rem;
    font-weight: 300;
    text-decoration: none;
    transition: color 160ms ease;
}

.icon-rubrica{
    display: inline-block;
    width: 60px;
    height: 24px;
    margin-right: 8px;
}

.nav-link:hover,
.nav-link:focus-visible{
    color: #89888882;
}

.nav-link:focus-visible,
.dropdown-toggle:focus-visible,
.nav-dropdown a:focus-visible,
.nav-toggle:focus-visible{
    outline: 3px solid #202020;
    outline-offset: 4px;
}

.nav-toggle{
    display: flex;
    width: 46px;
    height: 46px;
    flex: 0 0 46px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    margin-left: 0;
    border: 0;
    border-radius: 8px;
    background: #fff;
    cursor: pointer;
}

.nav-toggle span{
    width: 21px;
    height: 2px;
    border-radius: 2px;
    background: #202020;
    transition: transform 220ms ease, opacity 160ms ease;
}

.nav-toggle img{
    display: none;
    width: 26px;
    height: 29px;
    object-fit: contain;
}

.menu-open .nav-toggle span:first-child{
    transform: translateY(7px) rotate(45deg);
}

.menu-open .nav-toggle span:nth-child(2){
    opacity: 0;
}

.menu-open .nav-toggle span:nth-of-type(3){
    transform: translateY(-7px) rotate(-45deg);
}

.site-nav{
    position: absolute;
    top: 100%;
    right: clamp(20px, 5vw, 72px);
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    width: min(360px, calc(100vw - 32px));
    max-height: calc(100dvh - 140px);
    overflow-y: auto;
    margin: 0;
    padding: 8px 20px 20px;
    border: 1px solid #e6e6e6;
    border-top: 0;
    border-radius: 0 0 16px 16px;
    background: #fff;
    box-shadow: 0 16px 30px rgba(0, 0, 0, 0.16);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-10px) scale(0.98);
    transform-origin: top right;
    transition: opacity 220ms ease, transform 220ms ease, visibility 0s linear 220ms;
    z-index: 21;
}

.menu-open .site-nav{
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0) scale(1);
    transition-delay: 0s;
}

.dropdown-toggle{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 44px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #202020;
    cursor: pointer;
}

.nav-link.dropdown-toggle{
    width: auto;
    justify-content: space-between;
    border: 0;
    background: transparent;
    font-family: inherit;
    text-align: left;
    cursor: pointer;
}

.dropdown-toggle::after{
    content: "";
    width: 7px;
    height: 7px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: translateY(-2px) rotate(45deg);
}

.dropdown-toggle[aria-expanded="true"]::after{
    transform: translateY(2px) rotate(225deg);
}

.nav-dropdown{
    position: static;
    flex-basis: 100%;
    min-width: 0;
    min-height: 60px;
    margin: 0 0 12px;
    padding: 8px;
    list-style: none;
    background: #fff;
    border: 1px solid #e6e6e6;
    border-top: 3px solid #46464697;
    border-radius: 0 0 10px 10px;
    box-shadow: none;
}

.nav-dropdown[hidden]{
    display: none;
}

.nav-dropdown a,
.nav-dropdown li > span{
    display: block;
    padding: 12px 14px;
    border-radius: 5px;
    color: #202020;
    font-size: 1rem;
    text-decoration: none;
}

.nav-dropdown a:hover,
.nav-dropdown a:focus-visible{
    background: #89888882;
}

.nav-call{
    display: block;
    padding: 14px 4px;
    border-bottom: 1px solid #ededed;
    color: #a13737c5;
    text-decoration: none;
}

@media (max-width: 960px){
    .header{
        height: 84px;
        gap: 8px;
        padding: 0 12px;
    }

    .logo-link{
        width: 72px;
        justify-content: center;
    }

    .logo-header{
        height: 68px;
        max-width: 135px;
        margin-left: 10px;
    }

    .associazione{
        align-items: center;
        flex: 1 1 auto;
        font-size: clamp(0.72rem, 2.5vw, 0.95rem);
        text-align: center;
        white-space: nowrap;
        margin-left: 10px;
    }

    .associazione small{
        font-size: 0.7rem   ;
    }

    .header-social-slot{
        width: 36px;
        height: 36px;
    }

    .nav-toggle{
        width: 42px;
        height: 42px;
        flex-basis: 42px;
    }

    .site-nav{
        right: 12px;
        width: min(360px, calc(100vw - 24px));
    }
}

@media (max-width: 600px){
    .header-social-slot{
        width: 26px;
        height: 26px;
    }

    .nav-toggle-adaptive span{
        display: none;
    }

    .nav-toggle-adaptive img{
        display: block;
    }

    .header{
        height: 80px;
        gap: 6px;
        padding: 0 22px;
    }

    .logo-header{
        height: 96px;
        max-width: 147px;
    }

    .logo-link{
        width: 68px;
    }

    .associazione{
        font-size: clamp(0.68rem, 3vw, 0.82rem);
        line-height: 1;
        white-space: normal;
    }

    .header-actions{
        gap: 4px;
    }

    .site-nav{
        position: fixed;
        top: 80px;
        right: 0;
        width: min(320px, calc(100vw - 32px));
        border-top: 1px solid #e6e6e6;
        border-right: 0;
        border-radius: 16px 0 0 16px;
        box-shadow: -10px 14px 28px rgba(0, 0, 0, 0.16);
        transform: translateX(100%);
        transition: opacity 260ms ease, transform 320ms cubic-bezier(0.22, 1, 0.36, 1), visibility 0s linear 320ms;
    }

    .menu-open .site-nav{
        transform: translateX(0);
    }

    .nav-toggle{
        position: fixed;
        top: 93px;
        right: -1px;
        width: 40px;
        height: 44px;
        flex-basis: auto;
        border: 1px solid #e6e6e6;
        border-right: 0;
        border-radius: 12px 0 0 12px;
        box-shadow: -6px 6px 14px rgba(0, 0, 0, 0.12);
        z-index: 22;
        transition: transform 320ms cubic-bezier(0.22, 1, 0.36, 1);
    }

    .menu-open .nav-toggle{
        transform: translateX(calc(-1 * min(320px, 100vw - 32px)));
    }


    .vuoto-visite,
    .vuoto-corsi,
    .vuoto-viaggi,
    .vuoto-statuto{
        border: 1px solid #d6d6d6;
    }
}

@media (max-width: 380px){
    .header-social-slot{
        width: 22px;
        height: 22px;
    }

    .header-socials{
        gap: 2px;
    }

    

    .nav-toggle{
        width: 38px;
        height: 38px;
        flex-basis: 38px;
    }
}

.hero{
    position: fixed;
    top: 105px;
    left: 0;
    width: 100%;
    height: calc(100vh - 105px);
    overflow: hidden;
    z-index: 0;
    background-color: #fff;
}

.hero img{
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.statuto-hero{
    position: relative;
    top: auto;
    left: auto;
    width: 100%;
    height: auto;
    overflow: visible;
    padding-top: 28px;
    background: #fff;
}

.statuto-hero img{
    width: min(calc(100% - 6px), 960px);
    height: auto;
    margin: 0 auto;
    object-fit: contain;
    border-radius: 30px;
}

.statuto-page{
    position: relative;
    z-index: 1;
    width: min(calc(100% - 32px), 900px);
    margin: 28px auto 64px;
}

.statuto-content{
    position: relative;
    padding: clamp(24px, 4vw, 40px);
    background: rgba(255, 255, 255, 0.96);
}

.statuto-content::before{
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 1px;
    background-color: #89888882;
    clip-path: polygon(0 100%, 1.5% 0, 98.5% 0, 100% 100%);
    pointer-events: none;
}

.statuto-content h1{
    margin: 0 0 24px;
    text-align: center;
    font-size: clamp(2.2rem, 4vw, 3rem);
    line-height: 1.1;
}

.statuto-content h2,
.statuto-content h3{
    margin: 28px 0 12px;
    font-size: clamp(1.7rem, 2vw, 1.4rem);
    line-height: 1.2;
    text-align: center;
    border: 1px solid black;
    border-radius: 8px;
    padding: 8px;
    
}

.statuto-content.no-boxes{
    border: 0;
    border-radius: 0;
}

.statuto-content.no-boxes::before{
    clip-path: polygon(0 100%, 10% 0, 90% 0, 100% 100%);
}

.statuto-content.no-boxes h2,
.statuto-content.no-boxes h3{
    border: 0;
    padding: 0;
}

.statuto-copy{
    color: #202020;
    font-family: "Cormorant Garamond", serif;
    font-size: 1.2rem;
    line-height: 1.75;
    overflow-wrap: anywhere;
    text-align:left;
}

/* Pagina Pontormo */
.pontormo-hero{
    position: relative;
    top: auto;
    left: auto;
    width: 100%;
    height: auto;
    overflow: visible;
    padding-top: 28px;
    background: #fff;
}

.pontormo-hero img{
    width: min(calc(100% - 32px), 960px);
    height: auto;
    margin: 0 auto;
    object-fit: contain;
    border-radius: 30px;
}

.pontormo-page{
    position: relative;
    z-index: 1;
    width: min(calc(100% - 32px), 900px);
    margin: 28px auto 64px;
}

.pontormo-content{
    position: relative;
    padding: clamp(24px, 4vw, 40px);
    background: rgba(255, 255, 255, 0.96);
}

.pontormo-content::before{
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 1px;
    background-color: #89888882;
    clip-path: polygon(0 100%, 10% 0, 90.0% 0, 100% 100%);
    pointer-events: none;
}

.pontormo-content h1{
    margin: 0 0 24px;
    text-align: center;
    font-size: clamp(2.2rem, 4vw, 3rem);
    line-height: 1.1;
}

.pontormo-content h2,
.pontormo-content h3{
    margin: 28px 0 12px;
    font-size: clamp(1.2rem, 2vw, 1.4rem);
    line-height: 1.2;
    text-align: center;
}

.pontormo-copy{
    color: #202020;
    font-family: "Cormorant Garamond", serif;
    font-size: 1.2rem;
    line-height: 1.75;
    overflow-wrap: anywhere;
    text-align: center;
}

.soci-copy{
    line-height: 1.5;
}

.soci-copy p{
    margin: 0 0 0.35em;
    text-align: justify;
    text-align-last: left;
    text-justify: inter-word;
    -webkit-hyphens: auto;
    hyphens: auto;
    overflow-wrap: normal;
}

.hero-scrollable{
    position: relative;
    top: auto;
    left: auto;
    display: flex;
    flex-direction: column;
    height: auto;
    min-height: 0;
    overflow: visible;
}

.hero-scrollable img{
    position: static;
    order: 0;
    width: 100%;
    height: auto;
    min-height: 0;
    object-fit: contain;
}

.hero-text{
    position: absolute;
    top: 28px;
    left: 50%;
    transform: translateX(-50%);
    margin: 0;
    width: min(960px, calc(100% - 32px));
    color: #ffffff;
    text-align: center;
    font-family: "Cormorant Garamond", serif;
    font-size: 2rem;
    font-weight: 300;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
    padding: 18px 26px;
    background: rgba(90, 90, 90, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.75);
    border-radius: 20px;
}

/* Variante card chiara (stesso stile delle card del sito) */
.hero-text-card{
    color: #202020;
    text-shadow: none;
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.75);
    border-top: 5px solid #898888;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.28);
    backdrop-filter: blur(8px);
}

.hero-overlay{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.hero-scrollable .hero-overlay{
    position: relative;
    order: -1;
    height: auto;
    min-height: 0;
    padding: clamp(32px, 5vw, 64px) 16px;
}

.hero-scrollable .hero-text{
    position: relative;
    top: auto;
    left: auto;
    width: min(960px, calc(100% - 32px));
    margin: 0;
    padding: 0;
    transform: none;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    color: #202020;
    text-shadow: none;
}

.hero-title{
    display: block;
    margin-bottom: 12px;
    font-size: clamp(2.2rem, 4.5vw, 3.4rem);
    font-weight: 600;
    line-height: 1.1;
    color: #111111;
    margin-left: -10px;
}

@media (max-width: 960px){
    .hero-title{
        font-size: clamp(1.7rem, 7vw, 2.2rem);
    }
}

/* Linea sotto il testo hero, come quella dell'header */

.hero-scrollable .hero-photo{
    width: 98%;
    height: auto;
    object-fit: contain;
    display: block;
    margin: 0 auto; 
    border-radius: 30px;

}

.visite-section{
    position: relative;
    height: calc(100svh - 105px);
}

.hero-scroll-spacer{
    height: 0;
}

/* Freccia invito allo scroll */
.scroll-cue{
    position: fixed;
    bottom: 58px;
    left: 50%;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    padding: 0;
    text-decoration: none;
    cursor: pointer;
    border-radius: 50%;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(3px);
    transition: background-color 300ms ease, border-color 300ms ease;
    animation: scroll-cue-float 2.4s ease-in-out infinite;
}

.scroll-cue span{
    --cue-stroke: 2px;
    --cue-tip: 5px;
    width: 16px;
    height: 16px;
    margin-top: 0px;
    border-right: var(--cue-stroke) solid #e0e0e0;
    border-bottom: var(--cue-stroke) solid #e0e0e0;
    clip-path: polygon(100% 0, 100% 100%, 0 100%, var(--cue-tip) calc(100% - var(--cue-stroke)), calc(100% - var(--cue-stroke)) calc(100% - var(--cue-stroke)), calc(100% - var(--cue-stroke)) var(--cue-tip));
    transform: rotate(45deg);
    transition: transform 300ms ease;
}

.scroll-cue span + span{
    margin-top: -7px;
    opacity: 0.5;
    border-color: #454545;
}

.scroll-cue:not(.is-up) span{
    width: 16px;
    height: 16px;
}

.scroll-cue:not(.is-up) span + span{
    opacity: 0.7;
}

.scroll-cue.is-up{
    background: rgba(255, 255, 255, 0.6);
    border-color: rgba(32, 32, 32, 0.35);
}

.scroll-cue.is-up span{
    transform: rotate(225deg);
    border-color: #666666;
}

@keyframes scroll-cue-float{
    0%, 100% { transform: translate(-50%, 0); }
    50% { transform: translate(-50%, 10px); }
}

@media (max-width: 768px) {
    .scroll-cue{
        left: 83%;
        bottom: 33%;
        width: 40px;
        height: 40px;
    }

    .scroll-cue span,
    .scroll-cue:not(.is-up) span{
        --cue-stroke: 1.5px;
        --cue-tip: 4px;
        width: 12px;
        height: 12px;
    }

    .scroll-cue span + span{
        margin-top: -5px;
    }
}

.visite-card{
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 1;
    width: min(440px, calc(100% - 32px));
    padding: 32px 28px;
    transform: translate(-50%, -50%);
    border: 1px solid rgba(255, 255, 255, 0.75);
    border-top: 5px solid #89888882;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.28);
    color: #202020;
    text-align: center;
    backdrop-filter: blur(8px);
}

.visite-card h2{
    margin: 0;
    font-size: clamp(1.5rem, 4vw, 2rem);
    line-height: 1.2;
}

.visite-card p{
    margin: 12px 0 0;
    color: #580274;
    font-size: 1.1rem;
    font-weight: 600;
}

.visite-toggle{
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-top: 20px;
    padding: 10px 16px;
    border: 0;
    border-radius: 999px;
    background: #89888882;
    color: #202020;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}

.visite-toggle:focus-visible{
    outline: 3px solid #202020;
    outline-offset: 4px;
}

.visite-arrow{
    width: 10px;
    height: 10px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: translateY(-2px) rotate(45deg);
    animation: visite-arrow-bounce 1s ease-in-out infinite;
    transition: transform 180ms ease;
}

.visite-toggle[aria-expanded="true"] .visite-arrow{
    transform: translateY(2px) rotate(225deg);
    animation: none;
}

.visite-dropdown{
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px solid rgba(32, 32, 32, 0.18);
}

.visite-dropdown p{
    margin: 0;
    color: #202020;
    font-size: 1rem;
    font-weight: 400;
}

@keyframes visite-arrow-bounce{
    0%, 100%{ transform: translateY(-2px) rotate(45deg); }
    50%{ transform: translateY(3px) rotate(45deg); }
}

.prenotazione{
    font-size: large;
}


.location{
    position: relative;
    z-index: 1;
    margin-top: 120px;
    background-color: transparent;
    transition: background-color 600ms ease;
}

.location.is-visible{
    background-color: rgba(137, 137, 137, 0.505);
}

.transition.is-visibile{
    background-color: rgb(163, 163, 163);
}

#location-title,
#le-nostre-attivita,
#footer{
    scroll-margin-top: 150px;
}

#location-title{
    color: white;
    text-align: center;
}

.location-address{
    color: white;
    font-size: 1.2rem;
    text-align: center;
    margin-bottom: 16px;
}
.location-map{
    display: block;
    width: 100%;
    height: 450px;
    border: 0 ;
    border-radius: 8px;
    background-color: #f0f0f0;
}

.contenitore-principale{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin: 40px auto 0;
    position: relative;
    width: min(calc(100% - 32px), 1200px);
    padding-bottom: 30px;
}

.activities-title{
    width: 100%;
    margin: 0 0 8px;
    color: #202020;
    text-align: center;
    font-size: clamp(calc(1.8rem + 3px), calc(3.5vw + 3px), calc(2.6rem + 3px));
    font-weight: 500;
    letter-spacing: 0.01em;
    line-height: 1.1;
    font-family: "Cormorant Garamond", serif;
}

.activities-card-link{
    display: block;
    color: inherit;
    text-decoration: none;
    transition: transform 160ms ease;
}

.activities-card-link:hover{
    transform: translateY(-2px);
}

.activities-card-link:focus-visible{
    outline: 3px solid #202020;
    outline-offset: 4px;
}

.activities-card-link .service-label{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.section-link-arrow{
    display: inline-flex;
    position: absolute;
    top: 50%;
    left: 100%;
    margin-top: -14px;
    width: 17px;
    height: 17px;
    flex: 0 0 17px;
    margin-left: 20px;
    color: currentColor;
    transition: transform 180ms ease;
}

.section-link-arrow svg{
    display: block;
    width: 100%;
    height: 100%;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.activities-card-link:hover .section-link-arrow,
.activities-card-link:focus-visible .section-link-arrow,
.visite-cta-button:hover .section-link-arrow,
.visite-cta-button:focus-visible .section-link-arrow{
    transform: translate(2px, -2px);
}



.vuoto{
    z-index: 1;
    width: min(100%, 720px);
    background-color: rgba(255, 255, 255, 0.831);
    text-align: center;
    font-size: calc(2rem - 5px);
    font-weight: 300;
    line-height: 1.5;
    flex: none;
    padding: 0;
    color: rgb(0, 0, 0);
    border-radius: 30px;
    overflow: hidden;
}
@media (max-width: 600px){
.vuoto{
    font-size: calc(1.3rem - 2px);
}
}



    @media (max-width: 960px){
        .activities-card-link:focus,
        .activities-card-link:focus-visible{
            outline: none;
        }
    }

.service-label-box{
    display: block;
    width: 100%;
    padding: 5px 43px;
    border: 0;
    background: transparent;
    color: inherit;
    font: inherit;
    text-align: center;
    justify-content: center;
    
}



.service-label-box{
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.2s ease;
    -webkit-tap-highlight-color: transparent;
}

.service-label-box:hover .service-label::after,
.service-label-box:focus-visible .service-label::after,
.service-label-box:active .service-label::after{
    opacity: 1;
}

.service-label{
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
}

.service-label::after{
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 1px;
    background: #89888882;
    clip-path: polygon(0 100%, 10% 0, 90% 0, 100% 100%);
    opacity: 0;
    transition: opacity 0.2s ease;
    pointer-events: none;
}

.vuoto img{
    display: block;
    width: 96px;
    height: 96px;
    object-fit: contain;
    margin: 0 auto 12px;
}

/* footer */
.footer{
    position: relative;
    z-index: 1;
    background-color: rgb(255, 255, 255);
    color: #000000;
    font-size: larger;
    justify-items: center;
    padding: 28px 5px 32px;
    
}

.footer{
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    color: #000000;
    background-color: rgb(255, 255, 255);   
    position: relative; 

}

.footer::before{
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    z-index: 2;
    height: 1px;
    background: #89888882;
    clip-path: polygon(0 0, 10% 100%, 90% 100%, 100% 0);
    pointer-events: none;
}

.footer::after{
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.footer-inner{
    width: min(100%, 900px);
    margin-inline: auto;
    padding: 01px;
    overflow-wrap: anywhere;
    text-align: center;
    font-size: large; 
}

.footer-inner p{
    margin: 0 0 31px;
}

.footer-inner .footer-info{
    margin: 0 0 8px;
    text-wrap: balance;
}


.footer-inner p:last-child{
    margin-bottom: 0;
}

@media (max-width: 600px){
    .footer-inner{
        font-size: medium;
    }
    
}

img[shinystat]{
    display: block;
    margin: 0 auto;
    width: 60px;
    height: 60px;
    object-fit: contain;
    pointer-events: none;

}
/* footer end */

@media (max-width: 960px){
    .dropdown-toggle{ width: 44px; }
}

@media (max-width: 960px){
    .associazione{
        min-width: 0;
        flex: 1 1 auto;
        font-size: 0.95rem;
    }

    .hero-scrollable{
        position: relative;
        top: auto;
        left: auto;
        height: auto;
        min-height: 0;
    }

    .hero-scrollable img{
        position: static;
        inset: auto;
        height: auto;
        min-height: 0;
    }

    .hero-scrollable .hero-overlay{
        position: relative;
        min-height: 0;
        height: auto;
        padding: 24px 16px;
    }

    .hero-scrollable .hero-text{
        position: relative;
        top: auto;
        left: auto;
        transform: none;
        width: 100%;
        font-size: clamp(1.05rem, 4.4vw, 1.3rem);
        line-height: 1.4;
    }

    .hero-text .br-desktop{
        display: none;
    }

    .hero-scroll-spacer{
        height: 0;
    }

    .contenitore-principale{
        gap: 12px;
    }

    .service-label-box{
        padding: 4px 43px;
    }
}

@media (min-width: 601px) and (max-width: 1199px){
    .header{
        height: 96px;
        gap: 12px;
        padding: 0 24px;
    }

    .logo-link{
        width: 96px;
        justify-content: center;
    }

    .logo-header{
        height: 111px;
        max-width: 205px;
    }

    .associazione{
        align-items: flex-start;
        font-size: 1rem;
        text-align: left;
        margin-left: 10px;
    }

    .header-social-slot{
        width: 40px;
        height: 40px;
    }

    .nav-toggle{
        width: 44px;
        height: 44px;
        flex-basis: 44px;
    }

    .site-nav{
        right: 24px;
        width: min(360px, calc(100vw - 48px));
        max-height: calc(100dvh - 106px);
    }
}

@media (prefers-reduced-motion: reduce){
    *,
    *::before,
    *::after{
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }

    .visite-arrow{
        animation: none;
    }
}
    /* footer*/
  .specifiche{
    font-size: medium;

  }


  

 
.simone{
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 6px;
    text-align: center;
    font-size: 14px;
    color: #666;
    padding-top: 5%;
}

.simone-brand{
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.simone-brand img{
    display: block;
    width: auto;
    height: 28px;
}

.contatti{
    text-align: center;
    font-size: 20px;
    color: #494949;
}