:root{
    --blue: #2b3756;
}
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
img{
    width: auto;
    height: auto;
}
h1,h2,h3{
    font-family:"cofo-sans-variable";
    font-style: normal;
    font-synthesis: none;
    font-variation-settings: "slnt" 0;
}
h2{
    color: var(--blue);
    font-size: 60px;
    font-weight: 500;
}
h3{
    font-weight: 100;
}
b{
    font-weight: 500;
}
p{
    line-height: 27px;
}
p.i{
    font-style:italic;
    font-weight:200;
}
a,
.link {
    color: var(--blue);
    text-decoration: none;
    position: relative;
    cursor: pointer;
}
a:not(.no_u)::after,
a:not(.no_u)::before,
.link::after,
.link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    height: 2px;
    z-index: 1;
    background-color: var(--blue);
}
a:not(.no_u)::after,
.link::after {
    width: 100%;
    opacity: .4;
}
a:not(.no_u)::before,
.link::before {
    z-index: 4;
    opacity: 1;
    width: 0;
    transition: 400ms ease;
}
a:not(.no_u):hover::before,
.link:hover::before {
    width: 100%;
}
img.cover{
    width: 100%;
    height: 100%;
    object-fit: cover;
}
img.scale_down{
    width: 100%;
    height: 100%;
    object-fit: scale-down;
}
.w_def{
    width: 95%;
    margin: auto;
}
body{
    font-family:"literata-variable";
    font-weight: 300;
    font-style: normal;
    font-synthesis: none;
    font-variation-settings: "slnt" 0;
    font-size: 18px;
    color: #3c3c3b;
}


/******** SWIPER ********/
/* Mostra subito il contenitore */
.swiper { visibility: visible; }

/* Prima dell'init, mostra SOLO la prima slide */
.swiper:not(.swiper-initialized) .swiper-wrapper {
  /* evita comportamenti strani */
}
.swiper:not(.swiper-initialized) .swiper-slide {
  display: none;
}
.swiper:not(.swiper-initialized) .swiper-slide:first-child {
  display: block;
}
.swiper-slide img {
    transform: scale(1);
    transition: transform 2.6s ease-in-out;
}

.swiper-slide.swiper-slide-active img {
    transform: scale(1.05); /* Zoom in effect */
}
/******** END SWIPER ********/

/******** HEADER **********/
.header{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 8000;
    background-color: white;
    transition: 400ms ease;
}
.header .flex{
    display: flex;
    justify-content: space-between;
}
.header .wrap_logos{
    display: flex;
    gap: 30px;
}
.header .wrap_logos img{
    height: 75px;
    cursor: pointer;
    transition: 400ms ease;
}
.header .wrap_logos > div{
    width: 1px;
    height: 100%;
    background-color: var(--blue);
}
.header ul{
    display: flex;
    align-items: center;
    gap: 30px;
    color: var(--blue);
    list-style-type: none;
    font-weight: 500;
}
.header ul li{
    cursor: pointer;
}
.header.resized{
    position: fixed;
    padding: 10px 0;
}
.header.resized .wrap_logos img{
    height: 45px;
}
/******** END HEADER **********/
.cols2{
    display: flex;
}
button{
    padding: 15px;
    font-family:"cofo-sans-variable";
    font-style: normal;
    font-synthesis: none;
    font-variation-settings: "slnt" 0;
    font-weight: 500;
    font-size: inherit;
    background-color: transparent;
    color: inherit;
    border: 2px solid #3c3c3b;
    box-shadow: unset;
    letter-spacing: 1px;
    margin-top: 50px;
    position: relative;
    z-index: 5;
    cursor: pointer;
    transition: 400ms ease;
}
button::after{
    content: '';
    position: absolute;
    z-index: -1;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background-color: #3c3c3b;
    transform-origin: left;
    transition: 400ms ease;
}
button:hover{
    color: white;
}
button:hover::after{
    width: 100%;
}
button.white{
    border: 2px solid white;
}
button.white::after{
    background-color: white;
}
button.white:hover{
    color: #3c3c3b;
}
.wrap_img_logo.img_left{
    display: grid;
    grid-template-columns: auto 1fr;
}
.wrap_img_logo.img_right{
    display: grid;
    grid-template-columns: 1fr auto;
}
@media screen and (max-width: 1400px){
    .only_large_desktop{
        display: none;
    }
    .wrap_img_logo{
        grid-template-columns: 1fr !important;
    }
}
.wrap_img_logo p, p.cofo{
    font-family:"cofo-sans-variable";
    font-style: normal;
    font-synthesis: none;
    font-variation-settings: "slnt" 0;
}
.wrap_img_logo p b{
    font-size: 25px;
    font-weight: 500;
}
.grid_photos{
    display: grid;
    column-gap: 2.5vw;
    row-gap: calc(2.5vw - 32px);
    margin-top: 2.5vw;
}
.cols2_text{
    display: flex;
}
.cols2_text > div{
    width: 100%;
    max-width: 600px;
}
.cols2_text p{
    text-align: justify;
    hyphens: auto;
}
.grid_profiles{
    display: grid;
    text-align: center;
    max-width: 1600px;
    margin: auto;
}
.grid_profiles .profile{
    width: 100%;
}
.grid_profiles .name{
    margin-top: 20px;
    margin-bottom: 30px;
}
#map {
    width: 100%;
    height: 100%;
}



/******* SCROLL V1 ************/
.hero-scroll{
    position: absolute;
    left: 50%;
    bottom: 38px; /* regola questa distanza */
    transform: translateX(-50%);
    z-index: 20;
}

.scroll-indicator{
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    opacity: 0.9;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.scroll-indicator:hover{
    opacity: 1;
    transform: translateY(2px);
}

.scroll-mouse{
    width: 28px;
    height: 46px;
    border: 1.5px solid rgba(255,255,255,0.85);
    border-radius: 20px;
    display: flex;
    justify-content: center;
    padding-top: 8px;
    box-sizing: border-box;
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    background: rgba(255,255,255,0.04);
}

.scroll-wheel{
    width: 3px;
    height: 9px;
    border-radius: 3px;
    background: rgba(255,255,255,0.95);
    animation: wheelMove 1.8s ease-in-out infinite;
}

.scroll-arrow svg{
    width: 18px;
    height: 18px;
    display: block;
}

.scroll-arrow path{
    fill: none;
    stroke: rgba(255,255,255,0.9);
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
    animation: arrowMove 1.8s ease-in-out infinite;
}

@keyframes wheelMove{
    0%{
        transform: translateY(0);
        opacity: 0;
    }
    20%{
        opacity: 1;
    }
    60%{
        transform: translateY(10px);
        opacity: 1;
    }
    100%{
        transform: translateY(10px);
        opacity: 0;
    }
}

@keyframes arrowMove{
    0%, 100%{
        transform: translateY(0);
        opacity: 0.7;
    }
    50%{
        transform: translateY(6px);
        opacity: 1;
    }
}

/* facoltativo: leggermente più in alto su mobile */
@media (max-width: 768px){
    .hero-scroll{
        bottom: 24px;
    }

    .scroll-mouse{
        width: 24px;
        height: 40px;
    }
}
/******* END SCROLL V1 ************/





