/* ====================== PAGINA: GLOBAL ====================== */

:root{

    /* Range base: iPhone 16 (~393) -> Desktop (1440) */
    --vw-min: 393;
    --vw-max: 1440;

     --fluid: calc((100vw - (var(--vw-min) * 1px)) / (var(--vw-max) - var(--vw-min)));
   
   

    /* ______________________PADDING______________________ */

    

--pad-x: clamp(20px, 4vw, 42px);
    --layout-pad-y: clamp(24px, calc(24px + (22 * var(--fluid))), 46px);
    --layout-pad-x: clamp(20px, calc(20px + (22 * var(--fluid))), 42px);
    --layout-pad: var(--layout-pad-y) var(--layout-pad-x);



    /* ______________________FONT-FAMILY______________________ */

    --font-Inter: 'Inter', sans-serif;

    
    /* --- TAGLIE BASE (mobile -> desktop) --- */
    --title-medium: clamp(45px, calc(45px + (35 * var(--fluid))), 80px);
   
    --title-small-more: clamp(44px, calc(44px + (6 * var(--fluid))), 50px);
    --title-big: clamp(64px, calc(64px + (116 * var(--fluid))), 120px);
  
    --ls-hero: clamp(0em, 0.02vw, -0.06em);
    
    /* --- TAGLIE BASE (mobile -> desktop) --- */
    --pgh-medium-base: clamp(14px, 1.1vw, 24px);
    
    /* --- TAGLIE FINALI con “premium scaling” dopo 1440 --- */
    
    --pgh-medium: var(--pgh-medium-base);
   
  
    

    /*  ---COLORE --- */
    --color-txt: #242424;
    }



 /* ======================BASIC SETTING=================== */

*{
    box-sizing: border-box;
    padding:0;
    margin:0;
    }
html,body{
    min-height:100%;
    width:100%;
    overflow-x: hidden;
    overflow-y: auto;
    }
body, html{
  margin: 0;
  min-height: 100vh;
  min-height:100vh; 
  min-height:100dvh;
  font-family: var(--font-Inter);
  font-weight: 200;
  
}

body, h1, h2, h3, h4, h5, h6, p, a, li, span, small, strong, em, label, button, input, textarea, select {
  font: inherit;
  color: inherit;
}

h1, h2, h3, h4, h5, h6, p {
  margin: 0;
}

/* =========================== PAGE INTRO TRANSITION ============================ */
.transition_wrap{
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    pointer-events: none;
    background: transparent;
}
.transition_column{
    flex: 1;
    background: #111;
}

/* =========================== PRELOADER ============================ */
.page-preloader{
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #1e1e1e;
    color: #f2f2f2;
    pointer-events: none;
    opacity: 0;
    visibility: hidden;
}
html.preloader-active .page-preloader{
    opacity: 1;
    visibility: visible;
    pointer-events: all;
}
.page-preloader .preloader-count{
    font-size: clamp(36px, 6vw, 96px);
    font-weight: 200;
    letter-spacing: 0.02em;
}
.page-preloader .preloader-line{
    position: absolute;
    left: 8vw;
    right: 8vw;
    bottom: clamp(28px, 7vh, 64px);
    height: 2px;
    background: rgba(255, 255, 255, 0.25);
    overflow: hidden;
}
.page-preloader .preloader-progress{
    position: absolute;
    inset: 0;
    background: #ffffff;
    transform: scaleX(0);
    transform-origin: left;
}
body.is-preloading{
    overflow: hidden;
}
    
    
/* p, h1, h2, h3, a{
    color: var(--color-txt);
    font-weight: 200;
    text-decoration: none;
    letter-spacing: -3%;


    
}
p{
    font-size: var(--pgh-medium);
    line-height: 105%;
} */


/* ===========================PRESET LAYOUT DESIGN=========================== */



/* Layout Grid------------------------------------------- */

.grid-layout{
    position:relative; 
    width:100%;
    min-height:100vh;
    display: flex;
    overflow:hidden;
    z-index: 600000;
    top: 0;
    left: 0;
    gap: 20px;
    position: fixed;
    opacity: 1;
    padding: 0 var(--pad-x);
}
.grid-layout>div{
    background: rgba(225, 4, 4, 0.1);
    flex: 1;
    position: relative;
    overflow: hidden;
}

/* Impostazioni generali area section */

/* Pulsante generale */
.button-general{
    width: auto;
    min-width: clamp(180px, 16vw, 320px);
    min-height: 56px;
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    text-align: center;
    font-family: var(--font-Inter);
    font-size: clamp(16px, 1.2vw, 22px);
    font-weight: 400;
    letter-spacing: -0.04em;
    color: white;
    text-decoration: none;
    text-transform: uppercase;
    background: var(--color-txt);
    border-style: none;
    padding: 8px 16px 8px 16px;
    cursor: pointer;
    border-radius: 4px;
}
.button-general img{
    height: 26px;
    width: auto;
}
.button-general:hover{ 
    background: rgb(1, 8, 213);
    
    /* color: var(--color-txt); */
}

section {
  position: relative;
  min-height: calc(100svh - var(--topbar-h, 56px));  
  height: calc(100vh - var(--topbar-h, 56px));  
  width: 100%;
  display: flex;
  align-items: center; 
  overflow: hidden;           /* contenuti centrati verticalmente di default */
  padding: 84px 42px;
  padding-top: calc(84px + var(--topbar-h, 56px));
  box-sizing: border-box;

  
}

/* Impostzioni Generali Contenitore area section */

.container {
  width: 100%;
  height: 100%;
  padding: 0;
  margin: 0;
  margin: 0 auto;
  display: flex;
  overflow: hidden;

  
}

/* Frecce di scorrimento area section */
    
.arrow-group{
    display: flex;
    }
.arrow-btn{
    height: var(--h);
    width: var(--w);
    border: 1px solid var(--color-txt);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    cursor: pointer;
    transition: transform .06s ease, background .2s ease, box-shadow .2s ease;
    background: none;
    }
.arrow-btn.left{
    border-radius: 31px 0 0 31px;
    border-right: none;
    }
.arrow-btn.right{
    border-radius: 0 31px 31px 0;
    }
.arrow-btn .icon{
    width: 26px;
    height: 26px;
    /* transform: rotate(90deg); */
    display: block;
    }
.arrow-btn:hover{ 
    background: var(--color-txt); 
    color: white;
    }


.arrowDown{
    height: 40px;
    width: 40px;
    border: 1.5px solid var(--color-txt);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    cursor: pointer;
    transform: rotate(90deg);
    transition: transform .06s ease, background .2s ease, box-shadow .2s ease;
    background: none;
    margin-top: 5px;

    }
.arrowDown{
    border-radius: 150px;
    }
.arrowDown .icon{
    width: 26px;
    height: 26px;
    display: block;
    }
.arrowDown:hover{ 
    background: var(--color-txt); 
    color: white;
    }



/* ====================== MENU ORIZZONATALE(FIXED) ===================== */


.topbar{
    position:fixed; 
    width: 100%;
    top:0; 
    left: 0; 
    height:var(--topbar-h);
    background:var(--ui); 
    border-bottom:1px solid var(--color-txt); 
    z-index:70;
    background: white;
    padding: 10px var(--pad-x);
    opacity: 1;
    }
.topbar-inner{ 
    height:100%; 
    display:flex; 
    align-items:center; 
    justify-content:space-between; 
    gap:24px; 
    /* padding:0 24px 0 0; */
    }
.lang{
    margin-left: 0;
}
.brand img{ 
    display:block; 
    height:38px; 
    width:auto; 
    transition: transform 0.2s ease;
    }
.brand:hover img{
    transform: scale(0.98);
}

/* ≠≠≠≠≠≠≠≠≠≠≠≠≠≠Menu principale con gap 30px≠≠≠≠≠≠≠≠≠≠≠≠≠≠ */

.mainnav{ 
    display:flex; 
    align-items:center; 
    gap:30px;
    margin-right: var(--topbar-h); 
    margin-left: auto;
    }
.burger {
    display: none;
    justify-content: center;
    align-items: start;
    padding: 1.2em 1.6em 1.1em 1.6em;
    background: rgba(255, 255, 255, 0);
    border-radius: 0.25em;
    outline: none;
    height: 20px;
    width: 28px;
    border: none;
    transition: all 250ms ease-out;
    cursor: pointer;
    position: relative;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
}
.burger:hover{
    transform: scale(1.05);
}
.burger:before,
.burger:after {
    content: "";
    width: 50px;
    height: 1px;
    position: absolute;
    background: var(--color-txt);
    transition: all 250ms ease-out;
    will-change: transform;
}
.burger:before {
    transform: translateY(-3px);
}
.burger:after {
    transform: translateY(3px);
}
.burger.active:before {
    transform: translateY(0) rotate(45deg) scale(0.8);
}
.burger.active:after {
    transform: translateY(0) rotate(-45deg) scale(0.8);
}
.menu-link-line{
    text-decoration:none; 
    color:var(--color-txt); 
    font-weight:600; 
    font-size:16px; 
    letter-spacing:-2%;
    padding-bottom: 4px;
    }
.menu-link-line::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    height: 2px;
    width: 100%;
    background: #111;
    transform: scaleX(0);           /* linea compressa */
    transform-origin: left;         /* parte da sinistra */
    transition: transform 0.25s ease-out;
    }  

.mainnav .menu-link-line{
    font-weight: 400;
    position: relative;
    display: inline-block;
    border-bottom: soolid 1px var(--color-txt);
}
.mainnav .menu-link-line::after{
    height: 1px;
    bottom: -4px;
    background: currentColor;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.25s ease;
}


.nav-overlay{
    position: fixed;
    top: var(--nav-overlay-y, 0);
    left: var(--nav-overlay-x, 0);
    width: var(--nav-overlay-w, 100vw);
    height: var(--nav-overlay-h, 100vh);
    background: rgba(255, 255, 255, 0.22);
    backdrop-filter: blur(32px) saturate(140%);
    -webkit-backdrop-filter: blur(32px) saturate(140%);
    border: 1px solid rgba(255, 255, 255, 0.35);
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.18);
    display: flex;
    justify-content: center;
    align-items: center;
    clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
    transition: none;
    z-index: 80;
    pointer-events: none;
    border-radius: 0 0 30px 30px;
    overflow: hidden;
}
.topbar{
    z-index: 90;
}
.nav-overlay.is-open{
    pointer-events: auto;
}
.nav-overlay-menu{
    width: 100%;
    height: 100%;
    display: grid;
    /* grid-template-columns: repeat(2, minmax(0, 1fr)); */
    gap: clamp(16px, 4vw, 48px) clamp(24px, 8vw, 120px);
    
    padding: clamp(32px, 0, 84px);
    align-content: center;
    justify-items: center;
    background: #ffffff;
    backdrop-filter: blur(0.1px);
    box-shadow: 0 8px 52px 0 rgba(0, 0, 0, 0.17);
    background-size: 100% 1px;
    background-repeat: repeat-y;
    background-position: 0 0;
}
.nav-overlay-menu .menu-link-line{
    font-size: clamp(36px, 7vw, 120px);
    font-family: var(--font-Inter);
    font-weight: 300;
    letter-spacing: -0.02em;
    color: var(--color-txt);
    text-transform: uppercase;
    text-decoration: none;
    position: relative;
    line-height: 0.95;
    display: block;
    width: 100%;
    text-align: center;
    justify-self: stretch;
    padding: clamp(6px, 1vw, 12px) 0;
    border-bottom: solid 1px var(--color-txt);
}
.nav-overlay-menu .menu-link-line::after{
    display: none;
}

.menu-link-line:hover::after{
    transform: scaleX(1);
    }

    /* ======================UTILITA' E ACCESSIBILITA' FOR LENG=================== */

.sr-only{
    position:absolute;
    width:1px;
    height:1px;
    padding:0;
    margin:-1px;
    overflow:hidden;
    clip:rect(0,0,0,0);
    white-space:nowrap;
    border:0
    }


        /* ≠≠≠≠≠≠≠≠Selettore lingua senza JS (si apre SOTTO)≠≠≠≠≠≠ */

.lang{ 
    width:auto; 
    height: auto;
    display:flex; 
    flex-direction:column; 
    align-items:center; 
    justify-content: start;
    }
.lang-btn{
    list-style:none; 
    cursor:pointer; 
    display:flex; 
    align-items:center; 
    justify-content:center; 
    gap:1px;
    width:31px; 
    height:31px; 
    border:1px solid var(--color-txt); 
    border-radius:2px; 
    background:#252424; 
    user-select:none;
    font-weight:400; 
    font-size:14px;
    margin-left: 6px;
    letter-spacing:-0.03em; /* -3% */
    }
.lang-btn::-webkit-details-marker{
    display:none
    }
.lang[open] .lang-btn{ 
    background:var(--color-txt);
    }
.lang-code{ 
    display:inline-block;
    color:white;
    }

/* ≠≠≠≠≠≠≠≠Frrerccia menulenguage(si apre SOTTO)≠≠≠≠≠≠ */

.caret{ width:4px; 
    height:4px; 
    border-right:1px solid currentColor; 
    border-bottom:1px solid currentColor; 
    transform:rotate(45deg); 
    transition:transform .15s ease; 
    color:white;
}
.lang[open] .caret{ 
    transform:rotate(225deg);
    

}

/* ≠≠≠≠≠≠≠≠≠≠≠≠Pannello lingue dentro la rail, subito sotto il bottone≠≠≠≠≠≠≠≠≠≠≠ */

.lang-panel{
    display:flex; 
    flex-direction:column; 
    gap:6px; 
    width:100%;
    margin-top:3px; 
    padding:4px;
    }
.lang:not([open]) .lang-panel{ 
    display:none 
    }

.lang-item{
    height: 31px;
    width: 31px;
    margin-left: 2px;
    display:flex; 
    align-items:center; 
    justify-content:space-between; 
    gap:4px;
    padding-left: 8px;
    text-decoration:none; 
    color:white; 
    border: solid 1px var(--color-txt);
    border-radius: 4px;
    font-weight:400; 
    font-size:18px; 
    letter-spacing:-0.03em;
    font-family: var(--font-Inter);
    }
.lang-item small{ 
    color:var(--color-txt); 
    font-weight:400; 
    margin-right: 4px;
    }
.lang-item.en{
    padding-left: 1px;
    }
.lang-item.en small{
    font-weight: 300;
    font-size: 16px;

    padding-left: 3px;
    }

.lang-item:hover{ 
    background:#ffffff;
    color:blue;
    }

/* ====================== PAGINA: INDEX ====================== */

/* SECTION: HERO - GLOBAL */


.index.hero{
    padding-top: var(--topbar-h, 51px);
    min-height: 100svh;
    height: 100vh;
    margin-top: 0;
    padding-left: 0;
    padding-right: 0;
    padding-bottom:0;
    --hero-h1-size: var(--title-medium);
    --hero-h1-lh: 90%;
    --hero-p-size: clamp(14px, 1.6vw, 22px);
    --hero-p-lh: 110%;
    --hero-p-ls: clamp(0em, 0.02vw, 0.03em);
    --hero-p-weight: 300;
}
.index.hero .container{
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 100%;
    margin-top: 0;
    overflow: hidden; 
    display: flex;
    flex-direction: column;
    }
.index.hero .payoff{
    position: relative;
    bottom: 0;
    z-index: 1;
    width: 100%;
    height: 100%;
    justify-content: space-between;
    display: flex;
    flex-direction: column;
    }
.index.hero .payoff .title{
    display: flex;
    justify-content: start;
    align-items: start;
    width: 100%;
    padding: clamp(30px, 6vw, 64px) 0 0 clamp(20px, 4vw, 42px);
    }
.index.hero .payoff .paragrafo{
    display: flex;
    flex-direction: column;
    justify-content: end;
    align-items: end;
    width: 100%;
    margin-top: auto;
    padding: 0 42px 100px clamp(64px, 12vw, 160px);
    gap: clamp(12px, 3vh, 28px);
    
    }
.index.hero .payoff .paragrafo > *{
    margin-left: 0;
    padding-left: 0;
    }
.index.hero .paragrafo .box-paragrafo{
    width: 62%;
    display: flex;
    justify-content: start;
    
    }

.index.hero .payoff .paragrafo p{
    color : white;
    font-size: var(--hero-p-size);
    font-weight: var(--hero-p-weight);
    letter-spacing: var(--hero-p-ls);
    line-height: var(--hero-p-lh);
    }
.index.hero .paragrafo .box-button{
    width: 62%;
    display: flex;
    justify-content: start;
    padding: clamp(30px, 3vh, 36px) 0 0 0;
    overflow: hidden;
    
    }
.index.hero .payoff .title h1{
    font-size: var(--hero-h1-size);
    font-weight: 200;
    text-align: start;
    line-height: var(--hero-h1-lh);
    color: var(--color-txt);
    margin: 0;
    padding: 0;
    text-transform: none;
    color: white;
    letter-spacing: var(--ls-hero);
    }
.index.hero .box-media{
    width: 100%;
    height: 100%;
    position: absolute;
    bottom: 0;
    z-index: 0;
    background: var(--color-txt);
    }
.index.hero .video{ 
    width:100%; 
    height:100%;
    object-fit: cover;
    opacity: 0.7;
    }

/* SECTION: HERO - MAX-WIDTH 1493PX */

@media screen and (max-width: 1493px) {
    .index.hero .paragrafo .box-button{
        width: 60%;
        padding: 20px 0 0 0
    }
    .index.hero .paragrafo .box-paragrafo{
        width: 60%;
        padding: 20px 0 0 0;
    }
}

/* SECTION: HERO - MAX-WIDTH 1182PX */

@media screen and (max-width: 1182px) {
    .index.hero .container{
        min-height: 100svh;
    }
      /* .index.hero .box-title{
        height: auto;
        flex: 0 0 auto;
        padding: 30px 20px 10px 20px;
    } */
    .index.hero .payoff{
        height: auto;
        flex: 1;
        justify-content: flex-start;
    }
    .index.hero .payoff .title{
        height: auto;
        padding: 32px 0 0 24px;
    }
    .index.hero .paragrafo .box-button{
        width: 70%;
        padding: 20px 0 0 0;
        justify-content: end;
    }
    .index.hero .payoff .paragrafo .box-paragrafo{
        width: 80%;
        padding: 20px 0 0 0;
        justify-content: end;
        
    }
    .index.hero .payoff .paragrafo .box-paragrafo p{
        text-align: right;
        font-weight: 200;
    }
  
    .index.hero .payoff .paragrafo{
        height: auto;
        margin-top: auto;
        padding: 0 11px 50px 0;
        

    }

}

/* SECTION: HERO - MAX-WIDTH 1025PX */

@media screen and (max-width: 1025px) {
    .index.hero .payoff{
        height: 100%;
        min-height: 100%;
        justify-content: space-between;
        padding: 0 30px 50px 0;
    }
    .index.hero .payoff .title{
        margin: 0;
        padding: 50px 0 0 30px;
    }
    .index.hero{
        --hero-p-size: 20px;
        --hero-p-lh: 120%;
        --hero-p-ls: -1%;
        --hero-p-weight: 300;
    }
    .index.hero .paragrafo .box-paragrafo,
    .index.hero .paragrafo .box-button{
        margin: 0;
        padding: 0;
    }
      .index.hero .payoff .paragrafo{
        margin: 0;
        /* padding: 0 30px 70px 0;
        margin-top: 150px; */
    }
}

/* SECTION: HERO - MAX-WIDTH 750PX */
@media screen and (max-width: 750px) {
    .index.hero{
        --hero-h1-size: clamp(40px, 6vw, 72px);
        --hero-p-size: clamp(16px, 2.2vw, 19.8px);
        --hero-p-lh: 120%;
        --hero-p-ls: -1%;
        --hero-p-weight: 300;
    }
    .index.hero .payoff .title{
        padding: clamp(25px, 6vw, 45px) 0 0 30px;
    }
}




/* SECTION: INDEX GLOBAL - MAX-WIDTH 950PX */ 

@media screen and (max-width: 950px) {
    section.index:not(.progetti-italia):not(.progetti-etiopia):not(.progetti-in-sviluppo):not(.text-space):not(.sezione-testo){
        height: auto;
        min-height: auto;
    }
    section.index:not(.progetti-italia):not(.progetti-etiopia):not(.text-space):not(.sezione-testo) > .container{
        width: 100%;
        height: auto;
        flex-direction: column;
        align-items: stretch;
    }
}

/* SECTION: TEXT SPACE INDEX - GLOBAL */


.index.text-space{
    padding-left: 0;
    padding-right: 0;
    padding-top: 0;
    padding-bottom: 0;
    min-height: calc(100svh - var(--topbar-h, 51px));
    height: calc(100vh - var(--topbar-h, 51px));
    background: white;
    position: relative;
    z-index: 1;
    --ts-h1-size: var(--title-medium);
    --ts-h1-lh: 90%;
    --ts-p-size: clamp(14px, 1.6vw, 22px);
    --ts-p-lh: 110%;
    --ts-p-ls: clamp(0em, 0.02vw, 0.03em);
    --ts-p-weight: 300;
}

.hero-scroll-group{
    display: flex;
    flex-direction: column;
}
.hero-scroll-group .index.text-space{
    padding-top: 0;
    margin-top: 0;
    min-height: calc(100svh - var(--topbar-h, 51px));
    height: calc(100vh - var(--topbar-h, 51px));
}
.index.text-space .container{
    padding: 0 0 0 0;
    display: flex;
    flex-direction: column;
    }
.index.text-space .box-container{
    display: flex;
    width: 100%;
    height: 100%;  
    }
.index.text-space .box-container .box-left{
    width: 42%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: start;
    padding:46px 0 46px 42px;
    }
.index.text-space .box-left h1{
    font-size: var(--ts-h1-size);
    font-weight: 300;
    color: var(--color-txt);
    letter-spacing: -2%;
    line-height: var(--ts-h1-lh);
    }
.index.text-space .box-left .box-button{
    width: 100%;
    display: flex;
    justify-content: end;
    padding-right: 22px;
    padding-bottom: 4px;
    }

/* 404: left-align CTA buttons with title/paragraph */
.index.text-space.error-404 .box-left .box-button{
    justify-content: flex-start;
    padding-right: 0;
}

.index.text-space.error-404 .box-left{
    padding-top: 0;
    padding-bottom: 0;
}

.index.text-space.error-404 .box-left .title{
    margin-top: 56px;
}

.index.text-space.error-404 .box-paragrafo{
    margin-bottom: 46px;
}

.index.text-space.error-404 .box-pp .box-button:last-of-type{
    margin-bottom: 56px;
}
    
.index.text-space .box-container .line{
    height: 100%;
    width: 1px;
    opacity: 0.6;
    background: var(--color-txt);
    transform-origin: top;
}
    
.index.text-space .box-container .box-right{
    width: 60%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: start;
    padding:0 0 46px 0;
    }
.index.text-space .box-right .img-area{
    width: 100%;
    height: auto;
    display: flex;
    justify-content: end;
    align-items: start;    
    overflow: hidden;
    transform-origin: top;
    }
.index.text-space .box-right .img-area img{
    width: 43%;
    height: auto;
    object-fit: cover;
    }
.index.text-space .box-right .paragraph-area{
    width: 100%;
    height: auto;
    display: flex;
    justify-content: start;
    align-items: end;    
    padding: 0 42px 0 22px;
    }
.index.text-space .box-right .paragraph-area p{
    font-size: var(--ts-p-size);
    font-weight: var(--ts-p-weight);
    letter-spacing: var(--ts-p-ls);
    line-height: var(--ts-p-lh);
    color: var(--color-txt);
    }
.index.text-space .box-counter{
    width: 100%;
    height: 35%;
    /* background: white; */
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: none;
    position: relative;
    padding: 0 42px 0 30px;
    
    }
.index.text-space .box-counter::before,
.index.text-space .box-counter::after{
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--color-txt);
    transform: scaleX(var(--line-scale, 1));
    transform-origin: left;
}
.index.text-space .box-counter::before{
    top: 0;
}
.index.text-space .box-counter::after{
    bottom: 0;
}
.index.text-space .box-counter>div{
    display: flex;
    flex: 1;
    }
.index.text-space .area-counter {
    align-items: center;
    justify-content: start;
    }
.index.text-space .label-counter {
    align-items: end;
    justify-content: end;
    
    padding-top: 60px;
    overflow: hidden;
    }
.index.text-space .area-counter h3{
    font-size: 180px;
    font-weight: 300;
    letter-spacing: -3%;
    }
.index.text-space .label-counter p{
    font-size: 50px;
    font-weight: 300;
    letter-spacing: -2%;
    }

/* SECTION: TEXT SPACE INDEX - MAX-WIDTH 1200PX */
@media screen and (max-width: 1200px) {
    .index.text-space{
        --ts-p-lh: 110%;
    }
    .index.text-space:not(.pagina):not(.progetto) .box-right .paragraph-area{
        padding: 0 clamp(20px, 4vw, 32px) 0 22px;
    }
    .index.text-space:not(.pagina):not(.progetto) .box-right .paragraph-area p{
        width: 100%;
        text-wrap: pretty;
        hyphens: auto;
    }
}

/* SECTION: TEXT SPACE INDEX - MAX-WIDTH 1025PX */
@media screen and (max-width: 1025px) {
    .index.text-space .box-counter{
        padding-left: 32px;
        padding-right: 32px;
    }
    .index.text-space .area-counter h3{
        font-size: 153px;
    }
}

/* SECTION: TEXT SPACE INDEX - MAX-WIDTH 955PX */
@media screen and (max-width: 955px) {
    .index.text-space .box-container .box-left{
        padding-left: 30px;
        padding-right: 30px;
    }
}

/* SECTION: TEXT SPACE INDEX - MAX-WIDTH 900PX */
@media screen and (max-width: 900px) {
    .index.text-space .box-left .title{
        margin-top: clamp(12px, 3vw, 30px);
    }
}

/* SECTION: TEXT SPACE INDEX - MAX-WIDTH 757PX */
@media screen and (max-width: 757px) {
    .index.text-space .box-container .box-left{
        padding: 30px;
    }
    .index.text-space .box-container .box-right{
        padding-bottom: 0;
    }
}

/* SECTION: TEXT SPACE INDEX - MAX-WIDTH 750PX */
@media screen and (max-width: 750px) {
    .index.text-space{
        --ts-h1-size: clamp(40px, 6vw, 72px);
        --ts-p-size: clamp(16px, 2.2vw, 19.8px);
        --ts-p-lh: 120%;
        --ts-p-ls: -1%;
        --ts-p-weight: 300;
    }
}

/* SECTION: TEXT SPACE INDEX - MAX-WIDTH 736PX */
@media screen and (max-width: 736px) and (min-width: 617px) {
    .index.text-space .box-counter{
        padding-right: 32px;
    }
    .index.text-space .label-counter{
        margin-left: auto;
        align-items: flex-end;
        justify-content: flex-end;
        text-align: right;
    }
    .index.text-space .label-counter p{
        line-height: 95%;
    }
    .index.text-space:not(.pagina):not(.progetto) .box-right .paragraph-area{
        padding-bottom: 42px;
    }
}

/* SECTION: TEXT SPACE INDEX - MAX-WIDTH 616PX */
@media screen and (max-width: 616px) {
    .index.text-space{
        height: auto;
        min-height: auto;
    }
    .hero-scroll-group .index.text-space{
        height: auto;
        min-height: auto;
    }
    .index.text-space .container{
        flex-direction: column;
    }
    .index.text-space .box-container{
        flex-direction: column;
        order: 2;
        height: auto;
    }
    .index.text-space .box-container .box-left{
        order: 2;
        width: 100%;
        padding: 0 clamp(20px, 4vw, 30px);
        gap: 24px;
    }
    .index.text-space .box-container .box-right{
        order: 4;
        width: 100%;
        padding: 0 30px 32px;
        gap: 24px;
    }
    .index.text-space .box-counter{
        order: 1;
        height: auto;
        padding: 24px 32px;
        align-self: flex-start;
        margin-top: 0;
    }
    .index.text-space .box-left h2{
        order: 2;
        margin-top: clamp(24px, 4vw, 30px);
    }
    .index.text-space .box-left .title{
        order: 2;
    }
    .index.text-space .area-counter h3{
        font-size: clamp(96px, 18vw, 140px);
    }
    .index.text-space .label-counter p{
        font-size: clamp(18px, 4vw, 28px);
    }
    .index.text-space .box-left .box-button{
        order: 3;
        justify-content: flex-start;
        padding-right: 0;
        margin-bottom: clamp(24px, 6vw, 40px);
    }
    .index.text-space:not(.pollica) .box-right .img-area{
        order: 4;
        justify-content: center;
        width: 100%;
    }
    .index.text-space:not(.pollica) .box-right .img-area img{
        width: 100%;
        height: auto;
    }
    .index.text-space:not(.pollica) .box-right .paragraph-area{
        display: block;
        order: 5;
        width: 100%;
        padding: 30px 0 0 0;
    }
    .index.text-space:not(.pollica) .box-right .paragraph-area,
    .index.text-space:not(.pollica) .box-right .paragraph-area p{
        width: 100%;
        max-width: none;
    }
    .index.text-space:not(.pollica) .box-right .paragraph-area p{
        text-align: justify;
        text-justify: inter-word;
    }
    .index.text-space:not(.pollica):not(.due) .box-container .box-left{
        display: contents;
        padding: 0;
        gap: 0;
    }
    .index.text-space:not(.pollica):not(.due) .box-left .title{
        order: 2;
        padding: 0 30px;
        margin: 40px 0;
    }
    .index.text-space:not(.pollica):not(.due) .box-container .box-right{
        order: 3;
    }
    .index.text-space:not(.pollica):not(.due) .box-left .box-button{
        order: 4;
        width: 100%;
        justify-content: flex-start;
        padding: 0 30px;
        margin: 25px 0;
    }
}

/* SECTION: TEXT SPACE INDEX - MAX-WIDTH 430PX */
@media screen and (max-width: 430px) {
    .index.text-space .box-container .line{
        display: none;
    }
    .index.text-space .box-counter::before{
        display: block;
    }
    .index.text-space .box-counter::after{
        display: block;
    }
}



/* INDEX PROGETTI IN SVILUPPO - GLOBAL */


.index.progetti-in-sviluppo{
    min-height: calc(100svh - var(--topbar-h, 51px));
    height: calc(100vh - var(--topbar-h, 51px));
    padding-top: 0;
    padding: 0;
    position: relative;
    z-index: 3;
    overflow: hidden;
    }
.index.progetti-in-sviluppo .container{
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    }
.index.progetti-in-sviluppo .container .box-img{
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center; 
    position: absolute;
    background: var(--color-txt);
    z-index: 0;
    top: 0;
    left: 0;   
    }
.index.progetti-in-sviluppo .container .box-img > img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.8;
    }
.index.progetti-in-sviluppo .container .box-img .payoff{
    width: 100%;
    height: 100%;
    position: absolute;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: end;
    align-items: start;
    padding: 0 42px 282px 42px;
    gap: 30px;
    transform: translateY(15%);
}
.index.progetti-in-sviluppo .container .box-img .payoff h1{
    font-size: var(--title-big); 
    font-weight: 200;
    text-align: start;
    line-height: 80%;
    color: white;
    margin: 0;
    text-transform: none;
    letter-spacing: -4%;
    
    }
.index.progetti-in-sviluppo .container .box-img .payoff p{
    font-size: clamp(16px, 1.8vw, 26px);
    font-weight: 300;
    text-align: start;
    line-height: 100%;
    letter-spacing: 2%;
    color: white;
    margin-top: 10px;
    
    }
.index.progetti-in-sviluppo .container .box-img .payoff .box-button{
    width: 100%;
    overflow: hidden;
    /* padding: 10px 0 0 0; */
    }

/* INDEX PROGETTI IN SVILUPPO - MAX-WIDTH 1025PX */
@media screen and (max-width: 1025px) {
    .index.progetti-in-sviluppo .container .box-img .payoff{
        top: auto;
        bottom: 50px;
        height: auto;
        padding: 0 42px;
        transform: none;
    }
    .index.progetti-in-sviluppo .container .box-img .payoff h1{
        font-size: calc(var(--title-big) * 0.85);
    }
    .index.progetti-in-sviluppo .container .box-img .payoff p{
        font-size: 20px;
        line-height: 120%;
        letter-spacing: -1%;
        font-weight: 300;
    }
}

/* INDEX PROGETTI IN SVILUPPO - MAX-WIDTH 945PX */
@media screen and (max-width: 945px) {
    .index.progetti-in-sviluppo{
        --pis-item-h: clamp(360px, 70vh, 560px);
        min-height: calc(100svh - var(--topbar-h, 56px));
        height: calc(100svh - var(--topbar-h, 56px));
    }
    .index.progetti-in-sviluppo .container{
        position: relative;
        height: 100%;
        min-height: 100%;
    }
    .index.progetti-in-sviluppo .container .box-img{
        position: absolute;
        inset: 0;
        height: 100%;
    }
    .index.progetti-in-sviluppo .container .box-img .payoff{
        top: auto;
        bottom: 50px;
        height: auto;
        padding: 0 clamp(20px, 4vw, 36px);
        transform: none;
    }
    .index.progetti-in-sviluppo .container .box-img .payoff p{
        font-size: clamp(15px, 3vw, 22px);
    }
}

/* SECTION: TEXT SPACE POLLICA - GLOBAL */ 

.index.text-space.pollica{
    height: auto;
    min-height: calc(100svh - var(--topbar-h, 51px));
    --ts-h1-size: clamp(32px, 4.2vw, 64px);
    --pollica-counter-h: clamp(260px, 30vh, 320px);
}
.index.text-space.pollica .container{
    display: flex;
    flex-direction: column;
    height: auto;
    min-height: calc(100svh - var(--topbar-h, 51px));
}
.index.text-space.pollica .box-container{
    height: calc(100svh - var(--topbar-h, 51px) - var(--pollica-counter-h));
    align-items: stretch;
    min-height: calc(100svh - var(--topbar-h, 51px) - var(--pollica-counter-h));
    flex: 1;
}
.index.text-space.pollica .box-container .box-left,
.index.text-space.pollica .box-container .box-right{
    align-self: stretch;
}
.index.text-space.pollica .box-container .box-right{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding-bottom: 0;
    height: 100%;
}
.index.text-space.pollica .box-container .box-left{
    padding: 46px clamp(25px, 4vw, 42px);
}
.index.text-space.pollica .box-container .line{
    height: auto;
    align-self: stretch;
}
.index.text-space.pollica .box-right .img-area img{
    width: auto;
    height: 70%;
    object-fit: cover;
    opacity: 0.9
    }
.index.text-space.pollica .box-right .img-area{
    width: 100%;
    padding-left: 200px;
    height: auto;
    display: flex;
    justify-content: end;
    align-items: start;    
    overflow: hidden;
    transform-origin: top;
    /* border: solid 2px red; */
    }
.index.text-space.pollica .box-right .paragraph-area{
    padding-left: 30px;
    padding-top: 0;
    margin-top: 0;
    padding-bottom: 40px;
    }
.index.text-space.pollica .box-left .title{
    padding: 0;
    }
.index.text-space.pollica .box-left .title h1{
    line-height: 100%;
    }
.index.text-space.pollica .box-counter{
    
    display: flex;
    justify-content: start;
    padding: 42px 42px 42px 42px;
    gap: 62px;
    min-height: var(--pollica-counter-h);
    }
.index.text-space.pollica .area-counter {
    width: 630px;
    height: 230px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex:none;
    }
.index.text-space.pollica .area-counter img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    }
.index.text-space.pollica .label-counter{
    flex:none;
    height: auto;
    width: auto;
    padding: 0;
    margin-top: 130px;
    }
.index.text-space.pollica .label-counter p{
    line-height: 95%;
    font-size: 40px;
    }
.index.text-space.pollica .box-button{
    justify-content: end;
    margin-top: clamp(80px, 12vh, 130px);
    }
.index.text-space.pollica .box-left .box-button{
    padding-right: clamp(10.8px, 1.8vw, 19.8px);
    padding-bottom: clamp(2px, 0.6vw, 4px);
    }
.index.text-space.pollica .row-top{
    border-style: none;
    /* padding-block: clamp(10px, 1.6vw, 20px);
    padding-inline: clamp(16px, 2vw, 28px); */
    cursor: pointer;
    background: transparent;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    position: relative;
    z-index: 2;
    pointer-events: auto;
    }
.index.text-space.pollica .row-top img{
   
    transition: transform 0.2s ease;
    }
.index.text-space.pollica .row-top:hover img{
    transform: scale(0.9);
    }
.index.text-space.pollica .box-button.uno{
    margin-bottom: 0px;
    margin-top: clamp(80px, 14vh, 150px);
    }

/* SECTION: TEXT SPACE POLLICA - MAX-WIDTH 1300PX */

@media screen and (max-width: 1300px) and (min-width: 1026px) {
    .index.text-space.pollica .box-counter{
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        grid-template-rows: auto auto;
        column-gap: 30px;
        row-gap: 16px;
        align-items: start;
        height: auto;
        padding-right: 30px;
    }
    .index.text-space.pollica .area-counter{
        grid-column: 1;
        grid-row: 1 / span 2;
        width: 100%;
        max-width: 100%;
        min-width: 0;
        height: auto;
        justify-content: flex-start;
        align-items: flex-start;
    }
    .index.text-space.pollica .area-counter img{
        width: 100%;
        height: auto;
    }
    .index.text-space.pollica .label-counter{
        grid-column: 2;
        grid-row: 1;
        margin-top: 0;
        align-items: flex-end;
        justify-content: flex-end;
        text-align: right;
        justify-self: end;
    }
    .index.text-space.pollica .box-button.uno{
        grid-column: 2;
        grid-row: 2;
        margin-top: 0;
        align-self: end;
        justify-content: flex-end;
        justify-self: end;
    }
}

/* SECTION: TEXT SPACE POLLICA - MAX-WIDTH 1200PX */
@media screen and (max-width: 1200px) {
    .index.text-space.pollica:not(.pagina):not(.progetto) .box-right .paragraph-area{
        padding-bottom: 46px;
    }
}

/* SECTION: TEXT SPACE POLLICA - MAX-WIDTH 1025PX */
@media screen and (max-width: 1025px) {
    .index.text-space.pollica .title h1 .hide-1025{
        display: none;
    }
    /* Riduce l'immagine del contatore (<=1025px) per bilanciare layout e testo
    .index.text-space.pollica .area-counter img{
        width: 58%;
        height: auto;
        display: block;
    }
    */
    .index.text-space.pollica .area-counter{
        justify-content: flex-start;
        align-items: flex-start;
        align-self: flex-start;
        height: auto;
    }
    .index.text-space.pollica .box-counter{
        height: auto;
        align-items: flex-start;
        display: grid;
        grid-template-columns: auto 1fr;
        grid-template-rows: auto 1fr;
        row-gap: 12px;
        column-gap: 25px;
        --line-scale: 1;
        padding: 32px;
        border-bottom: 1px solid var(--color-txt);
    }
    .index.text-space.pollica .box-counter::before,
    .index.text-space.pollica .box-counter::after{
        z-index: 3;
    }
    .index.text-space.pollica .box-counter::after{
        content: none;
    }
    .index.text-space.pollica .label-counter{
        margin-top: 0;
        padding-top: 0;
        align-items: flex-end;
        justify-content: flex-end;
        grid-column: 2;
        grid-row: 1;
    }
    .index.text-space.pollica .label-counter p{
        text-align: right;
        line-height: 105%;
    }
    .index.text-space.pollica .area-counter{
        grid-column: 1;
        grid-row: 1 / span 2;
    }
    .index.text-space.pollica .box-counter .box-button{
        grid-column: 2;
        grid-row: 2;
        margin-top: 0;
        justify-content: flex-end;
        align-self: end;
    }
    .index.text-space.pollica .box-left .title h1{
        font-size: var(--ts-h1-size);
        line-height: var(--ts-h1-lh);
    }
    .index.text-space.pollica .row-top img{
        transform: scale(0.8);
    }
    .index.text-space.pollica .paragraph-area p{
        font-size: var(--ts-p-size);
        line-height: var(--ts-p-lh);
        letter-spacing: var(--ts-p-ls);
        font-weight: var(--ts-p-weight);
        text-wrap: pretty;
        hyphens: auto;
        overflow-wrap: break-word;
    }
    .index.text-space.pollica .paragraph-area br{
        display: none;
    }
    .index.text-space.pollica .box-right{
        padding-bottom: 26px;
    }
}

/* SECTION: TEXT SPACE POLLICA - MAX-WIDTH 936PX */
@media screen and (max-width: 936px) {
    .index.text-space.pollica .area-counter{
        width: calc(618px * 0.8);
        height: calc(217px * 0.8);
        overflow: hidden;
        align-items: center;
        justify-content: center;
    }
    .index.text-space.pollica .area-counter img{
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }
    .index.text-space.pollica .box-counter{
        display: grid;
        grid-template-columns: auto 1fr;
        grid-template-rows: 1fr auto;
        column-gap: 20px;
        row-gap: 12px;
        align-items: start;
        align-content: start;
        height: auto;
        min-height: 0;
        padding-top: clamp(16px, 3vw, 24px);
        padding-bottom: clamp(16px, 3vw, 24px);
    }
    .index.text-space.pollica .label-counter{
        align-items: flex-start;
        justify-content: flex-start;
        text-align: left;
        grid-column: 2;
        grid-row: 1;
        margin: 0;
    }
    .index.text-space.pollica .label-counter p{
        text-align: left;
    }
    .index.text-space.pollica .box-counter .box-button{
        grid-column: 2;
        grid-row: 2;
        align-self: start;
        margin: 0;
        justify-content: flex-start;
    }
}

/* SECTION: TEXT SPACE POLLICA - MAX-WIDTH 896PX */
@media screen and (max-width: 896px) {
    .index.text-space.pollica .box-counter{
        gap: 20px;
    }
    .index.text-space.pollica .label-counter{
        align-items: flex-start;
        justify-content: flex-start;
        text-align: left;
    }
    .index.text-space.pollica .label-counter p{
        text-align: left;
    }
    .index.text-space.pollica .box-button{
        justify-content: flex-start;
        align-self: start;
    }
}

/* SECTION: TEXT SPACE POLLICA - MAX-WIDTH 836PX */
@media screen and (max-width: 836px) {
    .index.text-space.pollica .box-counter{
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-template-areas:
            "area label"
            "area button";
        column-gap: 20px;
        row-gap: 16px;
        align-items: center;

    }
    .index.text-space.pollica .area-counter{
        grid-area: area;
        width: 100%;
        height: auto;
    }
    .index.text-space.pollica .label-counter{
        grid-area: label;
        margin: 0;
        align-self: start;
        text-align: left;
    }
    .index.text-space.pollica .box-button.uno{
        grid-area: button;
        margin: 0;
        align-self: end;
        justify-content: flex-start;
    }
}

/* SECTION: TEXT SPACE POLLICA - MAX-WIDTH 617PX */
@media screen and (max-width: 617px) {
    .index.text-space.pollica .container{
        display: flex;
        flex-direction: column;
    }
    .index.text-space.pollica .container .box-container{
        display: flex;
        flex-direction: column;
    }
    .index.text-space.pollica .container .box-left{
        display: flex;
        flex-direction: row;
        width: 100%;
        height: auto;
        margin: 0;
        padding: 0;
        gap: 0;
        position: relative;
    }
    .index.text-space.pollica .container .box-left .title{
        padding: 32px 0 52px 32px;
        width: 50%;
        left: 0;
        top: 0;
    }
    .index.text-space.pollica .container .box-left .title h1{
        line-height: 100%;
        font-size: 45px;
    }
    .index.text-space.pollica .container .box-left .box-button{
        margin: 0;
        justify-content: end;
        scale: 0.8;
        position: absolute;
        width: auto;
        top: auto;
        left: auto;
        bottom: 20px;
        right: 20px;
    }
    .index.text-space.pollica .container .box-right{
        display: flex;
        flex-direction: column;
        width: 100%;
        height: auto;
        padding: 0;
    }
    .index.text-space.pollica .container .box-container .img-area{
        width: 100%;
        height: auto;
        padding: 0;
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 0 30px 0 30px;
    }
    .index.text-space.pollica .container .box-container .img-area img{
        object-fit: cover;
        width: 100%;
        height: 100%;
    }
    .index.text-space.pollica .container .box-container .paragraph-area{
        padding: 30px 30px 50px 30px
    }
    .index.text-space.pollica .container .box-container .paragraph-area p{
        font-size: 18px;
    }
    .index.text-space.pollica .container .box-counter{
        display: flex;
        flex-direction: column;
        position: relative;
        padding: 0;
        padding: 50px 30px;
        position: relative;
    }
    .index.text-space.pollica .container .box-counter .area-counter{
        width: 55%;
        height: auto;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    .index.text-space.pollica .container .box-counter .label-counter{
        position: absolute;
        top: auto;
        left: auto;
        right: 6%;
    }
    .index.text-space.pollica .container .box-counter .box-button.uno{
        position: absolute;
        top: auto;
        left: auto;
        bottom: 17%;
        right: auto;
        transform: scale(0.9);
    }
    .index.text-space.pollica .container .box-counter .label-counter p{
        font-size: 30px;
    }
    .index.text-space.pollica .container .box-container{
        order: 1;
    }
}

/* SECTION: TEXT SPACE POLLICA - MAX-WIDTH 616PX */
@media screen and (max-width: 616px) {
    .index.text-space.pollica .box-right{
        padding-bottom: 12px;
    }
    .index.text-space.pollica .box-left .box-button{
        margin-bottom: calc(clamp(24px, 6vw, 40px) - 20px);
    }
}

/* SECTION: TEXT SPACE POLLICA - MAX-WIDTH 538PX */
@media screen and (max-width: 538px) {
    .index.text-space.pollica .box-counter{
        display: none !important;
        height: 0;
        padding: 0 !important;
        margin: 0 !important;
    }
    .index.text-space.pollica .box-counter::before,
    .index.text-space.pollica .box-counter::after{
        display: none !important;
    }
}

/* SECTION: TEXT SPACE POLLICA - MAX-WIDTH 436PX */
@media screen and (max-width: 436px){
    /* .index.text-space.pollica.uno .box-right{
        order: 1;
    }
    .index.text-space.pollica.uno .box-left{
        order: 2;
    } */
     .index.text-space.pollica.uno{
        background: rgb(238, 238, 238);
     }
}




/* INDEX OPERE REALIZZATE - GLOBAL */



.index.opere-realizzate{
    padding: 0;
    min-height: calc(100svh - var(--topbar-h, 56px));
    height: calc(100vh - var(--topbar-h, 56px));
}
.index.opere-realizzate .container{
    width: 100%;
    display: flex;
    flex-direction: column;
    min-height: 100svh;
    }


.index.opere-realizzate .container .box-img{
    width: 100%;
    flex: 1;
    overflow: hidden;
    }

.index.opere-realizzate .container .box-img{order: 2;}
.index.opere-realizzate .container .number-couter{order: 1}

.index.opere-realizzate .container .box-img img{ 
    display: block;
    width:100%; 
    height:100%; 
    object-fit:cover; 
    opacity: 0.9;
    }
.index.opere-realizzate .container .number-couter{
    width: 100%;
    height: clamp(220px, 30vh, 360px);
    position: relative;
    /* bottom: 0; */
    display: flex;
    justify-content:space-between;
    align-items: center;
    background: #ffffff;
    }
.index.opere-realizzate .container .number-couter .line{
    height: 60%;
    width: 1px;
    background: var(--color-txt);
    opacity: 0.6;
}
.index.opere-realizzate .container .number-couter .item{
    display: flex;
    flex-direction: column;
    width: 25%;
    height: 100%;
    justify-content: center;
    align-items: center;
    }
.index.opere-realizzate .container .number-couter .item .number{
    font-size: 130px;
    font-weight: 300;
    letter-spacing: -5%;
    text-align: center;
    line-height: 80%;
    color: var(--color-txt);
    }
.index.opere-realizzate .container .number-couter .label{
    font-size: var(--font-size-description-numberAndbotton);
    font-weight: 200;
    text-align: center;
    color: var(--color-txt);
    margin-top: 10px;
    }




/* INDEX OPERE REALIZZATE - MAX-WIDTH 1300PX */
@media screen and (max-width: 1300px) {
    .index.opere-realizzate .container .number-couter .item .number{
        font-size: clamp(58px, 8.4vw, 115px);
    }
    .index.opere-realizzate .container .number-couter .label{
        font-size: clamp(14px, 2.2vw, 22px);
    }
}

/* INDEX OPERE REALIZZATE - MAX-WIDTH 1025PX */
@media screen and (max-width: 1025px) {
    .index.opere-realizzate .container .number-couter{
        padding-left: 32px;
    }
}

/* INDEX OPERE REALIZZATE - MAX-WIDTH 960PX */
/* INDEX OPERE REALIZZATE - MAX-WIDTH 900PX */
@media screen and (max-width: 900px) {
    .index.opere-realizzate .container .number-couter{
        flex-wrap: wrap;
        height: auto;
        padding: 24px 0;
        padding-left: 32px;
        row-gap: 10px;
    }
    .index.opere-realizzate .container .number-couter .item{
        width: 50%;
    }
    .index.opere-realizzate .container .number-couter .line{
        display: none;
    }
}

/* INDEX OPERE REALIZZATE - MAX-WIDTH 890PX */
@media screen and (max-width: 890px) {
    .index.opere-realizzate .container .box-img img{
        object-position: left center;
    }
    .index.opere-realizzate .container .number-couter .item .number{
        font-size: clamp(60px, 9vw, 110px);
    }
    .index.opere-realizzate .container .number-couter .label{
        font-size: clamp(12px, 2.2vw, 18px);
    }
    .index.opere-realizzate .container .box-img{
        height: calc(100svh - clamp(140px, 22vh, 240px) - 200px);
        margin-top: 200px;
    }
    .index.opere-realizzate .container .number-couter{
        height: clamp(140px, 22vh, 240px);
        padding: 16px 0;
        padding-left: 32px;
        row-gap: 8px;
        position: relative;
    }
}

/* INDEX OPERE REALIZZATE - MAX-WIDTH 430PX */
@media screen and (max-width: 430px) {
    .index.opere-realizzate .container .number-couter .item .number{
        font-size: clamp(66px, 9.9vw, 121px);
    }
    .index.opere-realizzate .container .number-couter{
        padding-left: 0;
    }
}

/* SEZIONE GALLERIA CANTIERE (MODIFICHE PERSOANLIZZATE PAGINA INDEX))  */

.index.pagina-progetto.slide-cantiere .box-title.big{
  
    width: 50%;
    padding: 56px 42px 76px 42px;
    height: auto;
    background: none;
    
}
.index.pagina-progetto.slide-cantiere .box-title.big h1{
    font-size: var(--title-big);
    line-height: 80%;
    background: none;
    color:var(--color-txt)
    
}
.index.pagina-progetto.slide-cantiere .box-title h2{
    font-weight: 350;
    color: var(--color-txt);
    font-size: var(--title-medium);
    letter-spacing: -4%;

}
.index.pagina-progetto.slide-cantiere .box-title img{
    width: 30px;
    height: 30px;
    margin-bottom: 5px;
}

.index.pagina-progetto.slide-cantiere .box-title{
    
    overflow: hidden;
    background: rgb(240, 240, 240);
    
    
}
.index.pagina-progetto.slide-cantiere .container{
    gap: 0;
}
.index.pagina-progetto.slide-cantiere .box-title.uno{
    margin-bottom: 0;
    padding-bottom: 0;
}
.index.pagina-progetto.slide-cantiere .box-media.uno{
    margin: 20px 0;
}

@media screen and (max-width: 1200px){
    .index.pagina-progetto.slide-cantiere .box-title.big{
        width: 100%;
    }
    .index.pagina-progetto.slide-cantiere .box-title.big h1{
        font-size: clamp(51px, calc(51px + (93 * var(--fluid))), 96px);
    }
}

/* INDEX SEZIONE TESTO - GLOBAL */ 

.index.sezione-testo{
    padding: 0;
    min-height: calc(100svh - var(--topbar-h, 56px));
    height: calc(100vh - var(--topbar-h, 56px));
    border-top: none;
    position: relative;
    --line-x: 0;
    
}
.index.sezione-testo::before{
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: var(--color-txt);
    transform: scaleX(var(--line-x, 0));
    transform-origin: left;
    pointer-events: none;
    z-index: 2;
}
.index.sezione-testo .container{
    width: 100%;
    min-height: 100svh;
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    
    }
    
.general-box{
    display: flex;
    flex-direction: column;
    border: solid 1px greenyellow;
}

.index.sezione-testo .box-txt{
    width: 75%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
    padding-right: 42px;
    box-sizing: border-box;
    
    border-right: none;
    position: relative;
    --line-y: 0;
}
.index.sezione-testo .box-txt::after{
    content: "";
    position: absolute;
    top: 0;
    right: 2px;
    width: 1px;
    height: 100%;
    background: var(--color-txt);
    transform: scaleY(var(--line-y, 0));
    transform-origin: top;
    pointer-events: none;
}
.index.sezione-testo .box-txt .splitHeroTxt{
    font-size: clamp(32px, 4.8vw, 52px);
    font-weight: 300;
    text-align: left;
    line-height: 95%;
    color: var(--color-txt);
    margin: 0;
    text-transform: none;
    margin: 56px 42px 0 42px
}
.index.sezione-testo .box-txt .box-button{
    width: 100%;
    margin-bottom: 56px;
    
    border-top: 0 !important;
    padding: 199.6px 0 26px 42px;
    position: relative;
}
.index.sezione-testo .box-txt .box-button::before{
    display: none;
}
    

.index.sezione-testo .txt-img{
    display: flex;
    align-items: flex-end;
    
    width: 30%;
    height: 97%;
    position: relative;
    padding: 0 42px 42px 0;
    box-sizing: border-box;
    
    
}
.index.sezione-testo .areaSmallImg{
    width: 100%;
    padding-bottom: 0;
    height: auto;
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
    border-top: 0 !important;
    height: 33.9%;
    position: relative;
    overflow: hidden;
    
}
.index.sezione-testo .areaSmallImg::before{
    display: none;
}
.index.sezione-testo .areaSmallImg img{
    width: 85%;
    height: 75%;
    object-fit: cover;
    
}







/* INDEX SEZIONE TESTO - MAX-WIDTH 1025PX */
@media screen and (max-width: 1025px) {
    .index.sezione-testo .box-txt .splitHeroTxt{
        font-size: calc(clamp(32px, 4.8vw, 52px) * 0.9);
        line-height: 110%;
    }
    .index.sezione-testo .txt-img{
        height: 97%;
        align-items: flex-end;
        padding: 0;
    }
    .index.sezione-testo .areaSmallImg{
        width: 100%;
        height: 33.9%;
        justify-content: flex-start;
        align-items: flex-end;
    }
    .index.sezione-testo .areaSmallImg img{
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}

/* INDEX SEZIONE TESTO - RANGE 1025PX / 700PX */
@media screen and (max-width: 1025px) and (min-width: 700px) {
    .index.sezione-testo .container{
        --txt-img-w: clamp(240px, 35vw, 380px);
    }
    .index.sezione-testo .box-txt{
        width: calc(100% - var(--txt-img-w));
        flex: 0 0 auto;
        min-width: 0;
    }
    .index.sezione-testo .txt-img{
        width: var(--txt-img-w);
        flex: 0 0 auto;
        box-sizing: border-box;
        padding: 0 30px 30px 0;
    }
    .index.sezione-testo .box-txt .splitHeroTxt{
        font-size: clamp(32px, 4.8vw, 52px);
        line-height: 95%;
    }
    .index.sezione-testo .areaSmallImg{
        justify-content: flex-end;
        align-items: flex-end;
    }
    .index.sezione-testo .areaSmallImg img{
        width: 85%;
        height: 75%;
    }
}

/* INDEX SEZIONE TESTO - MAX-WIDTH 700PX */
@media screen and (max-width: 700px) {
    .index.sezione-testo .txt-img{
        display: none;
    }
    .index.sezione-testo .box-txt{
        width: 100%;
        padding-right: 0;
    }
    .index.sezione-testo .box-txt .box-button{
        display: flex;
        justify-content: flex-end;
        padding-right: 30px;
        margin-bottom: 30px;
    }
}

/* INDEX SEZIONE TESTO - MAX-WIDTH 1005PX */
/* INDEX SEZIONE TESTO - MAX-WIDTH 980PX */
/* INDEX SEZIONE TESTO - MAX-WIDTH 430PX */
@media screen and (max-width: 430px) {
    .index.sezione-testo{
        height: calc(100svh - var(--topbar-h, 56px));
        min-height: calc(100svh - var(--topbar-h, 56px));
        padding-top: 32px;
        padding-bottom: 32px;
        padding-left: 30px;
        padding-right: 30px;
        margin-left: 0;
        margin-right: 0;
        overflow: visible;
    }
    .index.sezione-testo .container{
        min-height: 100%;
        height: 100%;
    }
    .index.sezione-testo .box-txt{
        padding-right: 0;
        width: 100%;
        height: 100%;
    }
    .index.sezione-testo .box-txt .splitHeroTxt{
        margin-left: 0;
        margin-right: 0;
        margin-top: 12px;
    }
    .index.sezione-testo .box-txt .box-button{
        width: 100%;
        padding-top: 0;
        padding-bottom: 8px;
        padding-left: 0;
        padding-right: 0;
        display: flex;
        justify-content: flex-start;
        margin-bottom: 0;
    }
    .index.sezione-testo .box-button .button-general{
        font-size: 12px;
        min-width: 0;
        padding: 8px 12px;
        white-space: nowrap;
    }
    .index.sezione-testo::before{
        display: none;
    }
    .index.sezione-testo .box-txt::after{
        display: none;
    }
    .index.sezione-testo .txt-img{
        display: none;
    }
}


/* INDEX CERTIFICAZIONI - GLOBAL */

/* INDEX CERTIFICAZIONI - MAX-WIDTH 1540PX */
@media screen and (max-width: 1540px) {
    .index.certificazioni .box-img{
        min-height: clamp(360px, 60vh, 760px);
    }
}

/* INDEX CERTIFICAZIONI - MAX-WIDTH 1507PX MIN-WIDTH 969PX */
@media screen and (max-width: 1507px) and (min-width: 969px) {
    .index.certificazioni{
        height: auto;
        min-height: auto;
    }
    .index.certificazioni .container{
        height: auto;
        min-height: auto;
    }
}

/* INDEX CERTIFICAZIONI - MAX-WIDTH 980PX */

/* INDEX CORE BUSINESS - GLOBAL */ 
 
.index.core-business{
    background: #f3f3f3;
    padding-top: 50px;
    --core-arrow-offset: 200px;
    height: auto;
    min-height: auto;
    overflow: visible;
    padding-bottom: clamp(80px, 12vh, 160px);
 }
 .index.core-business .container{
    width: 100%;
    min-height: auto;
    height: auto;
    display: flex;
    flex-direction: column;
    /* padding: var(--layout-pad); */
    overflow: visible;
 }
 .index.core-business .intestazioneNavigazione{
    width: 100%;
    display: flex;
    justify-content: flex-end;
    
 }
 .index.core-business .box-title{
    width: min(50%, 520px);
    margin-left: auto;
    margin-right: 0;
 }
 .index.core-business .box-title h2{
    font-size: clamp(44px, 7vw, 120px);
    font-weight: 300;
    line-height: 90%;
    text-align: right;
    color: var(--color-txt);
    margin: 0;
    margin-right: 0;
    /* margin-right: 42px; */
 }
.index.core-business .box-cards{
    margin-top: clamp(32px, 8vh, 120px);
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 0;
    
}
 .index.core-business .card{
    width: 100%;
    display: flex;
    
    align-items: center;
    /* border-bottom: 1px solid var(--color-txt); */
    /* padding: 22px 0; */
    justify-content: space-between;
 }
.index.core-business .card-txt{
    border-bottom: none;
    padding: 20px 0;
    width: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    border: solid 1px var(--color-txt);
 }
 .index.core-business .card-txt.two{
    border-top: none;
 }


.index.core-business .card-header{
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
}
 .index.core-business .card-txt .box-title{
    margin-left: 42px;
    flex: 1 1 auto;
    min-width: 0;
 }

 .index.core-business .card-txt h3{
    font-size: clamp(28px, 2.2vw, 38px);
    font-weight: 300;
    line-height: 120%;
    color: var(--color-txt);
    margin: 0;
    white-space: normal;
    overflow: visible;
    text-overflow: unset;
 }
.index.core-business .card.arrow-button{
    /* flex: 0 0 auto; */
    display: flex;
    justify-content: flex-end;
    align-items: center;
    margin-left: 0;
    width: auto;
    height: auto;
   
    }
.index.core-business .card.arrow-button .more{
    border-style: none;
    background: transparent;
    margin-right: 42px;
    height: auto;
    padding: 0;
    cursor: pointer;
    color: var(--color-txt);
}
.index.core-business .card.arrow-button .more .plus{
    display: inline-block;
    font-size: 82px;
    line-height: 0.55;
    font-weight: 100;
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
    transform-origin: center;
}
.index.core-business .card.arrow-button .more:hover .plus{
    transform: rotate(45deg);
}
.index.core-business .card-txt.is-open .card.arrow-button .more .plus{
    transform: rotate(45deg);
}
.index.core-business .card-txt .box-panel{
    width: 100%;
    max-height: 0;
    overflow: hidden;
    padding: 0 42px;
    opacity: 0;
    transform: translateY(-6px);
    transition: max-height 0.95s cubic-bezier(0.16, 1, 0.3, 1),
        padding 0.75s cubic-bezier(0.16, 1, 0.3, 1),
        opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1),
        transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
    background: transparent;
    /* border-top: 1px solid var(--color-txt); */
}
.index.core-business .card-txt.is-open .box-panel,
.index.core-business .card-txt:focus-within .box-panel{
    max-height: var(--panel-h, 1200px);
    padding: 16px 42px 24px;
    opacity: 1;
    transform: translateY(0);
}
.index.core-business .card-txt:focus-within .card.arrow-button .more .plus{
    transform: rotate(45deg);
}

.index.core-business .core-panel{
    background: #ffffff;
    border-radius: 18px;
    padding: clamp(16px, 2.2vw, 24px);
    box-shadow: 0 16px 28px rgba(0, 0, 0, 0.08);
}

.index.core-business .core-panel-grid{
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(12px, 2vw, 22px);
}

.index.core-business .core-panel-card{
    background: #f2f2f2;
    border-radius: 14px;
    padding: clamp(14px, 1.8vw, 20px);
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-height: 100%;
}

.index.core-business .core-panel-card h4{
    font-size: clamp(16px, 1.4vw, 20px);
    font-weight: 500;
    line-height: 1.25;
    color: var(--color-txt);
}

.index.core-business .core-panel-card ul{
    margin: 0;
    padding-left: 18px;
    display: grid;
    gap: 6px;
}

.index.core-business .core-panel-card li{
    font-size: clamp(14px, 1.1vw, 18px);
    line-height: 1.35;
    color: var(--color-txt);
}

.index.core-business .core-panel-footer{
    margin-top: clamp(16px, 2.4vw, 28px);
    display: flex;
    justify-content: flex-end;
}

.index.core-business .core-panel-footer .button-general{
    min-width: clamp(140px, 14vw, 220px);
    min-height: 46px;
    font-size: clamp(13px, 1vw, 16px);
    padding: 6px 12px;
    letter-spacing: -0.02em;
}

.index.core-business .core-panel-footer .button-general img{
    height: 20px;
}


/* INDEX CORE BUSINESS - MAX-WIDTH 1507PX MIN-WIDTH 969PX */
@media screen and (max-width: 1507px) and (min-width: 969px) {
    .index.core-business{
        min-height: auto;
    }
    .index.core-business .container{
        min-height: auto;
    }
}

/* INDEX CORE BUSINESS - MAX-WIDTH 1324PX */
@media screen and (max-width: 1324px) {
    .index.core-business{
        --core-arrow-offset: clamp(64px, 12vw, 160px);
    }
    .index.core-business .card.arrow-button{
        width: clamp(120px, 18vw, 260px);
        transform: translateX(0);
    }
    .index.core-business .card-txt h3{
        font-size: clamp(22px, 2.8vw, 34px);
    }
    .index.core-business .core-panel-grid{
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* INDEX CORE BUSINESS - MAX-WIDTH 1025PX */
@media screen and (max-width: 1025px) {
}

/* INDEX CORE BUSINESS - MAX-WIDTH 980PX */
@media screen and (max-width: 980px) {
    .index.core-business .intestazioneNavigazione{
        justify-content: flex-start;
    }
    .index.core-business .box-title{
        width: 100%;
        margin-bottom: 16px;
        margin-right: 0;
    }
    .index.core-business .box-title h2{
        text-align: left;
    }
    .index.core-business .box-cards{
        width: 100%;
        margin-top: 24px;
    }
    .index.core-business .card{
        padding: 0;
    }
    .index.core-business .card.arrow-button{
        margin-left: 16px;
    }
}

/* INDEX CORE BUSINESS - MAX-WIDTH 760PX */
@media screen and (max-width: 760px) {
    .index.core-business .core-panel-grid{
        grid-template-columns: 1fr;
    }
    .index.core-business .card-txt .box-panel{
        padding: 0 24px;
    }
    .index.core-business .card-txt.is-open .box-panel,
    .index.core-business .card-txt:focus-within .box-panel{
        padding: 16px 24px 24px;
    }
}

/* INDEX CORE BUSINESS - MAX-WIDTH 430PX */
@media screen and (max-width: 430px) {
    .index.core-business{
        padding-top: calc(clamp(80px, 12vh, 160px) * 0.7);
        padding-bottom: calc(clamp(80px, 12vh, 160px) * 0.7);
    }
    .index.core-business .card-txt h3{
        font-size: calc(clamp(28px, 2.2vw, 38px) * 0.68);
    }
    .index.core-business .card{
        padding-top: 0;
        padding-bottom: 0;
    }
    .index.core-business .card-txt{
        padding-top: 12px;
        padding-bottom: 12px;
        gap: 10px;
    }
    .index.core-business .card.arrow-button .more .plus{
        font-size: calc(82px * 0.544);
    }
}


/* INDEX CHI SIAMO - GLOBAL */ 

.index.chi-siamo{
    padding: 0;
    min-height: calc(100svh - var(--topbar-h, 56px));
    height: calc(100vh - var(--topbar-h, 56px));
}
.index.chi-siamo .container{
    position: relative;
    width: 100%;
    /* height: calc(100% - 56px); */
    overflow: hidden; 
    display: flex;
    flex-direction: column;
    }

.index.chi-siamo .payoff{
    position: relative;
    bottom: 0;
    z-index: 1;
    width: 100%;
    height: 100%;
    justify-content: space-between;
    display: flex;
    flex-direction: column;
    
}
.index.chi-siamo .payoff .title{
    display: flex;
    justify-content: start;
    align-items: start;
    width: 100%;
    height: 60%;
    padding: clamp(56px, 10vh, 110px) 0 0 clamp(30px, 5vw, 64px);
    }

.index.chi-siamo .payoff .paragrafo{
    display: flex;
    flex-direction: column;
    justify-content: end;
    align-items: end;
    width: 100%;
    height: 40%;
    padding: 42px;
    gap: clamp(12px, 3vh, 28px);
    }
.index.chi-siamo .payoff .paragrafo > *{
    margin-left: 0;
    padding-left: 0;
}
.index.chi-siamo .paragrafo .box-paragrafo{
    width: 72%;
    display: flex;
    justify-content: end;
    padding: 0;
    
    }

.index.chi-siamo .payoff .paragrafo p{
    color : white;
    font-size: clamp(16px, 1.6vw, 24px);
    font-weight: 300;
    letter-spacing: clamp(0em, 0.02vw, 0.03em);
    line-height: 130%;
    }
.index.chi-siamo .paragrafo .box-button{
    width: 72%;
    display: flex;
    justify-content: start;
    margin-bottom: 46px;
    }
.index.chi-siamo .payoff .title h1{
    font-size: var(--title-medium);
    font-weight: 200;
    text-align: start;
    line-height: 90%;
    color: var(--color-txt);
    margin: 0;
    padding: 0;
    text-transform: none;
    color: white;
    letter-spacing: var(--ls-hero);
    }

.index.chi-siamo .box-media{
    width: 100%;
    height: 100%;
    position: absolute;
    bottom: 0;
    z-index: 0;
    background: var(--color-txt);
    }
.index.chi-siamo .video{ 
    width:100%; 
    height:100%;
    object-fit: cover;
    opacity: 0.7;
    }







/* INDEX CHI SIAMO - MAX-WIDTH 1493PX */
@media screen and (max-width: 1493px) {
    .index.chi-siamo .paragrafo .box-button{
        width: 60%;
        padding: 20px 0 0 0
    }
    .index.chi-siamo .paragrafo .box-paragrafo{
        width: 60%;
        padding: 20px 0 0 0;
    }
}

/* INDEX CHI SIAMO - MAX-WIDTH 1198PX */
@media screen and (max-width: 1198px) {
    .index.chi-siamo .payoff .title{
        padding-top: clamp(56px, 8vw, 86px);
    }
}

/* INDEX CHI SIAMO - MAX-WIDTH 1025PX */
@media screen and (max-width: 1025px) {
    .index.chi-siamo .container{
        min-height: 100svh;
    }
    .index.chi-siamo .payoff{
        height: auto;
        flex: 1;
        justify-content: flex-start;
    }
    .index.chi-siamo .payoff .title{
        height: auto;
        padding-left: 32px;
    }
    .index.chi-siamo .paragrafo .box-button{
        width: 70%;
        justify-content: end;
    }
    .index.chi-siamo .payoff .paragrafo .box-paragrafo{
        width: 100%;
        justify-content: end;
    }
     .index.chi-siamo .payoff .paragrafo .box-paragrafo p{
        text-align: right;
        letter-spacing: -2%;
        font-weight: 200;
    }
    .index.chi-siamo .payoff .paragrafo{
        height: auto;
        margin-top: auto;
    }
}

/* INDEX CHI SIAMO - MAX-WIDTH 996PX */
/* INDEX CHI SIAMO - MAX-WIDTH 965PX */
@media screen and (max-width: 965px) {
    .index.chi-siamo{
        min-height: calc(100svh - var(--topbar-h, 56px));
        height: calc(100svh - var(--topbar-h, 56px));
    }
    .index.chi-siamo .container{
        min-height: 100svh;
        height: 100%;
    }
    .index.chi-siamo .payoff{
        min-height: 100%;
    }
    .index.chi-siamo .payoff .paragrafo{
        margin-top: auto;
        justify-content: flex-end;
        align-items: flex-end;
        padding-bottom: clamp(72px, 10vh, 120px);
    }
}

/* INDEX CHI SIAMO - MAX-WIDTH 430PX */
@media screen and (max-width: 430px) {
    .index.chi-siamo .payoff .paragrafo p{
        font-weight: 300;
    }
    .index.chi-siamo .payoff .paragrafo{
        padding-bottom: calc(42px * 0.9);
    }
}


/* INDEX AREA TESTO - GLOBAL */ 

.index.area-testo{
    min-height: calc(100svh - var(--topbar-h, 56px));
    height: calc(100vh - var(--topbar-h, 56px));
    padding: 0;
}
.index.area-testo .container{
    flex-direction: row;
    justify-content:start;
    align-items: start;
    justify-content: space-between;
    width: 100%;
    height: 97%;
    padding: 56px 56px 56px 56px;
    }
.index.area-testo .box-payoff{
    width: 100%;
    display: flex;
    flex-direction:column;
    justify-content: space-between;
    align-items: start;
    height: 100%;
    }
.index.area-testo .box-payoff h1{
    font-size: 70px;
    font-weight: 300;
    text-align: left;
    line-height: 98%;
    color: var(--color-txt);
    letter-spacing: var(--letter-spacing-3);
    margin: 0;
    padding: 0;
    
    }
.index.area-testo .box-payoff-bottom{
    width: 100%;
    display: flex;
    justify-content: end;
}
.index.area-testo .box-payoff h2{
    font-size: 70px;
    font-weight:300;
    text-align: left;
    line-height: 98%;
    color: var(--color-blue);
    margin-top: 150px;
    }



/* INDEX AREA TESTO - MAX-WIDTH 1200PX */
@media screen and (max-width: 1200px) {
    .index.area-testo .container{
        height: 100%;
        padding: clamp(32px, 5vw, 56px);
    }
    .index.area-testo .box-payoff{
        min-height: 100%;
    }
    .index.area-testo .box-payoff h1{
        font-size: clamp(32px, 5.4vw, 63px);
    }
    .index.area-testo .box-payoff h2{
        font-size: clamp(32px, 5.4vw, 63px);
        margin-top: clamp(24px, 8vh, 120px);
    }
}

/* INDEX AREA TESTO - MAX-WIDTH 1025PX */
@media screen and (max-width: 1025px) {
    .index.area-testo .box-payoff h1,
    .index.area-testo .box-payoff h2{
        font-size: calc(clamp(32px, 5.4vw, 63px) * 0.85);
        letter-spacing: -0.04em;
    }
}

/* INDEX AREA TESTO - MAX-WIDTH 950PX */
@media screen and (max-width: 950px) {
    section.index.area-testo{
        height: calc(100svh - var(--topbar-h, 56px)) !important;
        min-height: calc(100svh - var(--topbar-h, 56px)) !important;
    }
    section.index.area-testo .container{
        height: 100% !important;
        min-height: 100% !important;
    }
    section.index.area-testo .box-payoff{
        min-height: 100%;
    }
}

/* INDEX AREA TESTO - MAX-WIDTH 430PX */
@media screen and (max-width: 430px) {
    section.index.area-testo{
        height: calc((100svh - var(--topbar-h, 56px)) * 0.7) !important;
        min-height: calc((100svh - var(--topbar-h, 56px)) * 0.7) !important;
    }
    .index.area-testo .box-payoff-bottom{
        width: 60%;
        margin-left: auto;
    }
    .index.area-testo .box-payoff-bottom h2{
        text-align: right;
    }
}


/* SECTION: TEXT SPACE DUE - GLOBAL */
.index.text-space.due .box-right {
    align-items: end;
    justify-content: end;
    padding: 0;
}
.index.text-space.due .box-container{
border-top: solid 1px var(--color-txt);
}
/* SECTION: TEXT SPACE DUE - MAX-WIDTH 1025PX */
@media screen and (max-width: 1025px) {
    .index.text-space.due .box-counter{
        padding-left: 32px;
        padding-right: 32px;
    }
}

/* SECTION: TEXT SPACE DUE - MAX-WIDTH 600PX */
@media screen and (max-width: 600px) {
    .index.text-space.due .box-left .title{
        margin-top: 56px;
        margin-bottom: 56px;
    }
}

/* SECTION: TEXT SPACE DUE - MAX-WIDTH 430PX */
@media screen and (max-width: 430px) {
    .index.text-space.due .box-container{
        border:none;
    }
    .index.text-space.due .box-right{
        padding-top: 30px;
    }

    .index.text-space.due .box-container .box-right{
        order: 1;
    }
    .index.text-space.due .box-container .box-left{
        order: 2;
    }
}


/* INDEX COLLABORAZIONI - GLOBAL */
.index.collaborazioni{
    background: #ffffff;
    min-height: calc(100svh - var(--topbar-h, 56px));
    height: calc(100vh - var(--topbar-h, 56px));
    padding: 0;
}
.index.collaborazioni .container{
    width: 100%;
    min-height: 100svh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    /* padding: var(--layout-pad); */
}
.index.collaborazioni .box-title{
    width: 100%;
    margin-bottom: clamp(24px, 6vh, 80px);
    padding: var(--layout-pad);
}
.index.collaborazioni .box-title h2{
    font-size: clamp(44px, 7vw, 120px);
    font-weight: 300;
    line-height: 90%;
    color: var(--color-txt);
    margin: 0;
}
.index.collaborazioni .box-item{
    width: 100%;
    display: flex;
    flex-direction: column;
    /* gap: clamp(2px, 4vh, 5px); */
    overflow: hidden;
    margin-bottom: 50px;
}
.index.collaborazioni .box-item .item{
    display: inline-flex;
    align-items: center;
    /* gap: 24px; */
    white-space: nowrap;
    width: max-content;
    will-change: transform;
    
}
.index.collaborazioni .box-item .item span{
    display: inline-flex;
    align-items: center;
    font-size: clamp(28px, 2.4vw, 48px);
    font-weight: 400;
    color: var(--color-txt);
    letter-spacing: -0.01em;
    text-transform: uppercase;
}
.index.collaborazioni .box-item .item span img{
    height: clamp(22px, 1.6vw, 30px);
    width: auto;
    display: block;
    opacity: 0.6;
}
.index.collaborazioni .box-item .item.due span{
    color: #a8a7a7;
}
.index.collaborazioni .box-item .item.quattro span{
    color: #a8a7a7;
}

 

/* INDEX COLLABORAZIONI - MAX-WIDTH 980PX */
/* INDEX COLLABORAZIONI - MAX-WIDTH 430PX */
@media screen and (max-width: 430px){
    .index.collaborazioni .box-item{
        gap: 0;
    }
    .index.collaborazioni .box-title{
        padding-top: 50px;
    }
}


/* INDEX FOOTER - GLOBAL */ 

.index.footerSection{
    padding: 0;
    margin: 0;
}

.index.container.newsletter{
    height: 600px;
    width: 100vw;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 56px 42px 56px 42px;
    /* margin-left: 112px; */
    background: var(--color-txt);
    position: relative;
    z-index: 1001;
    }
.index.title.news.footer h2{
    font-size: 57px;
    color: white;
    font-family: var(--font-Inter);
    font-weight: 200;
    
}
form {
    width: auto;
    height: auto;
    display: flex;
    justify-content: space-between;
  
    padding-right:12px;
    position: relative;
    z-index: 2;
    pointer-events: auto;
    
}
.newsletter-form{
    flex-wrap: wrap;
    row-gap: 24px;
}
.newsletter-form .pulsante{
    order: 1;
}
.newsletter-form textarea{
    width: 100%;
    min-height: 120px;
    color: white;
    padding: 22px;
    background: transparent;
    font-family: var(--font-Inter);
    font-size: 20px;
    letter-spacing: -1px;
    border: solid 1px white;
    border-radius: 5px;
    font-weight: 200;
    line-height: 130%;
    resize: vertical;
    box-sizing: border-box;
    order: 2;
}
.newsletter-form textarea::placeholder{
    color: var(--color-black);
}

.newsletter-form input:hover,
.newsletter-form textarea:hover{
    font-style: italic;
}

.newsletter-form input:hover::placeholder,
.newsletter-form textarea:hover::placeholder{
    color: var(--color-grayDark);
    font-style: italic;
}

.newsletter-form input:focus,
.newsletter-form textarea:focus{
    border: solid 1px white;
    outline: none;
    font-size: 20px;
    line-height: 130%;
    padding: 22px;
}

input {
    width: 20%;
    height: 25px;
    color: white;
    padding: 22px;
    margin-bottom: 0px;
    background: transparent;
    font-family: var(--font-Inter);
    font-size: 20px;
    letter-spacing: -1px;
    border-style: none;
    outline-style: none;
    color: white;
    list-style-position: none;
    line-height: 100%;
    border: solid 1px white;
    border-radius: 5px;
    font-weight: 200;
    pointer-events: auto;
}
.newsletter-message{
    color: white;
    font-family: var(--font-Inter);
    font-weight: 100;
    font-size: 20px;
    font-style: italic;
    margin-bottom: 50px;
}

.newsletter-intro{
    color: white;
    font-family: var(--font-Inter);
    font-weight: 200;
    font-size: clamp(16px, 1.4vw + 12px, 27px);
    font-style: italic;
}

input::placeholder {
    color: var(--color-black);
}

input[type="text"]:hover::-webkit-input-placeholder {
    color: var(--color-grayDark);
    font-style: italic;
}

input[type="email"]:hover::-webkit-input-placeholder {
    color: var(--color-grayDark);
    font-style: italic;
}

input[type="tel"]:hover::-webkit-input-placeholder {
    color: var(--color-grayDark);
    font-style: italic;
}

textarea {
    width: 90%;
    height: 126px;
    border-style: none;
    background: var(--color-white);
    font-family: "InterDisplay-Bold";
    font-size: 30px;
    letter-spacing: -1px;
    padding-left: 5px;
    line-height: 70%;
    padding-top: 4px;
    border: solid 1px black;
    border-radius: 5px;
    margin-top: 20px;
    padding: 10px 0 0 10px
}

textarea::placeholder {
    color: var(--color-black);
}

textarea:focus {
    list-style: none;
    border-style: none;
    outline-style: none;
    border: solid 1px var(--color-black);
    line-height: 70%;
    padding-top: 4px;
    font-size: 25px;
}

.pulsante {
    color:black;
    width: 180px;
    height: 25px;;
    cursor: pointer;
    background: white;
    padding: 22px;
    line-height: 3%;
    border-radius: 4px;
}
.pulsante:hover{
    background: rgb(1, 8, 213);
    color: white;
}
.footerSite{
    width: 100%;
    
    background: rgb(255, 255, 255);
    display: grid;
    grid-template-columns: repeat(5, minmax(160px, 1fr));
    column-gap: clamp(16px, 4vw, 48px);
    row-gap: clamp(20px, 4vw, 36px);
    padding: 50px 42px 50px 42px;
    /* border: solid 1px red; */
}
.column.footer.uno,
.column.footer.due,
.column.footer.tre,
.column.footer.quattro,
.column.footer.cinque{
    grid-row: 1;
}
.column.footer.uno{ grid-column: 1; }
.column.footer.due{ grid-column: 2; }
.column.footer.tre{ grid-column: 3; }
.column.footer.quattro{ grid-column: 4; justify-self: end; }
.column.footer.cinque{ grid-column: 5; text-align: left; justify-self: end; }
.footerSite>div{
    height: 100%;
    width: 100%;
    min-width: 0;
    
    
}
.index.footerSection{
    height: auto;
    min-height: auto;
    padding-top: 0;
    display: block;
    position: relative;
    z-index: 1000;
}
.footer.logo{
    width: 100%;
    height: auto;
    display: flex;
    justify-content: flex-start;
    
}
.footer.logo img{
    width: clamp(170px, 16vw, 250px);
    height: auto;
    object-fit: cover;
    transition: transform 0.2s ease;
    
}
.footer.logo a:hover img{
    transform: scale(1.1);
}
.footer.social {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: auto;
    height: 100px;
    margin-top: 0px;
    /* margin-left: 42px; */
   
    gap: 22px;
}
.social-content{
    display:flex;
    gap:50px;
    margin-top: 40px;
    margin-left: 10px;
    align-items: start;

}
.social-content img{
    width: 35.6px;
    height: 35.6px;
    transition: transform 0.2s ease;
}
.social-content a:hover img{
    transform: scale(0.9);
}

.column.footer.due,
.column.footer.tre{
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.column.footer.quattro h4,
.column.footer.cinque h4{
    margin-top: 10px;
    margin-bottom: 5px;
    color: #3c3c3c;
}
.column.footer.tre{
    
    width: auto;
}

.footerSite a,
.footerSite p{
    text-decoration: none;
    color: var(--color-txt);
    font-weight: 300;
    line-height: 130%;
}
.footerSite a{
    position: relative;
    display: inline-block;
    width: fit-content;
    max-width: 100%;
}
.footerSite .footer.logo a,
.footerSite .social-content a{
    position: static;
}
.footerSite .footer.logo a::after,
.footerSite .social-content a::after{
    content: none;
}
.footerSite a::after{
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 100%;
    height: 1px;
    background: currentColor;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.25s ease;
}
.footerSite a:hover::after{
    transform: scaleX(1);
}
.footerSite h2{
    font-weight: 500;
}
.footerSite h4{
    font-weight: 500;
    color: var(--color-blue);
}
.column.footer.quattro{
    margin-left: 0;
    justify-content: end;
}
.column.footer.cinque{
    margin-left: 0;
    justify-content: end;
    width: auto;
}

.column.footer.tre{
    padding-left: 30px;
}
.column.footer.due{
    padding-left: 100px;
}
/* .footerSite a:hover,
.rail-nav a:hover,
.mainnav a:hover{
    font-weight: 600;
    text-decoration: none;
    letter-spacing: -0.7px;
} */
 .footer.button{
    margin-left: 10px;
    margin-top: 24px;
 }
.column.footer.cinque .footer.button{
    margin-left: 0;
    margin-top: 28px;
}
.footer.button.map-button{
    margin-left: 0;
    margin-top: 0;
    grid-column: 5;
    grid-row: 2;
    justify-self: end;
    align-self: end;
}
.footer.button.company-profile{
    margin-left: 0;
    grid-column: 4;
    grid-row: 2;
    justify-self: end;
    align-self: end;
}
.footer.button .button-general{
    background: var(--color-txt);
    color: #f3f6ff;
    min-width: clamp(180px, 16vw, 320px);
    min-height: 56px;
    padding: 8px 16px;
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    text-decoration: none;
}
.footer.button .button-general::after{
    content: none;
}
.footer.button .button-general:hover{
    background: rgb(1, 8, 213);
    color: white;
}

/* INDEX FOOTER - MAX-WIDTH 1024PX */
@media screen and (max-width: 1024px) {
    .footerSite{
        padding: 40px 30px;
        column-gap: clamp(14px, 3.6vw, 43px);
        grid-template-columns: repeat(3, minmax(160px, 1fr));
    }
    .column.footer.uno{
        display: contents;
    }
    .column.footer.uno .footer.logo{
        width: auto;
        grid-column: 1;
        grid-row: 1;
        margin-left: 40px;
        margin-top: 40px;
        transform: scale(1.3);
    }
    .column.footer.uno .footer.social{
        width: auto;
        margin-top: 0;
        grid-column: 2 / -1;
        grid-row: 1;
        justify-self: end;
    }
    .column.footer.uno .footer.button{
        margin-left: 0;
        margin-top: 0;
        grid-column: 3;
        grid-row: 4;
        align-self: end;
        justify-self: end;
    }
    .column.footer.due{
        grid-column: 1;
        grid-row: 2;
    }
    .column.footer.quattro{
        grid-column: 2;
        grid-row: 2;
    }
    .column.footer.cinque{
        grid-column: 3;
        grid-row: 2;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
        justify-content: start;
    }
    .footer.button.map-button{
        grid-column: 1;
        grid-row: 4;
        justify-self: start;
        align-self: end;
    }
    .column.footer.tre{
        grid-column: 1;
        grid-row: 3;
    }
    .footer.button.company-profile{
        grid-column: 2;
        grid-row: 4;
        justify-self: end;
        align-self: end;
        margin-top: 0;
    }
    .column.footer.due{
        padding-left: 0;
    }
    .column.footer.tre{
        padding-left: 0;
    }
}


/* INDEX FOOTER - MAX-WIDTH 900PX */
@media screen and (max-width: 900px) {
    .index.container.newsletter{
        align-items: flex-end;
        gap: clamp(12px, 3vw, 20px);
        padding-top: clamp(24px, 5vw, 30px);
    }
    .index.container.newsletter .index.title.news.footer{
        align-self: flex-end;
        text-align: right;
        width: clamp(200px, 45vw, 320px);
        margin-top: 0;
    }
    .index.container.newsletter .index.title.news.footer h2{
        font-size: clamp(32px, 9vw, 56px);
        line-height: 90%;
    }
    .index.container.newsletter .newsletter-message{
        align-self: flex-end;
        text-align: right;
        width: clamp(220px, 80vw, 420px);
        margin-bottom: clamp(12px, 3vw, 24px);
    }
    .index.container.newsletter .newsletter-form{
        flex-direction: column;
        align-items: flex-start;
        gap: clamp(14px, 3vw, 22px);
        width: 100%;
        padding-right: 0;
    }
    .index.container.newsletter .newsletter-form input{
        width: clamp(220px, 80vw, 420px);
        text-align: left;
        padding: clamp(12px, 3vw, 18px);
        font-size: clamp(12px, 3.2vw, 16px);
    }
    .index.container.newsletter .newsletter-form textarea{
        width: clamp(220px, 80vw, 420px);
        padding: clamp(12px, 3vw, 18px);
        font-size: clamp(12px, 3.2vw, 16px);
        min-height: clamp(96px, 24vw, 140px);
    }
    .index.container.newsletter .newsletter-form textarea:focus{
        padding: clamp(12px, 3vw, 18px);
        font-size: clamp(12px, 3.2vw, 16px);
        line-height: 130%;
    }
    .index.container.newsletter .newsletter-form .pulsante{
        order: 3;
    }
    .index.container.newsletter .newsletter-form .pulsante{
        width: clamp(140px, 45vw, 220px);
        align-self: flex-start;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        text-align: center;
    }
}

/* INDEX FOOTER - MAX-WIDTH 615PX */
@media screen and (max-width: 615px) {
    .footerSite{
        grid-template-columns: repeat(2, minmax(0, 1fr));
        row-gap: clamp(18px, 4vw, 28px);
    }
    .footerSite h2{
        margin-top: 0;
    }
    .column.footer.uno{
        display: contents;
    }
    .column.footer.uno .footer.logo{
        grid-column: 1;
        grid-row: 1;
        margin: 0;
        transform: none;
        justify-self: start;
    }
    .column.footer.quattro{
        grid-column: 1 / -1;
        grid-row: 2;
        justify-self: start;
        text-align: left;
        width: 100%;
    }
    .column.footer.cinque{
        grid-column: 1 / -1;
        grid-row: 3;
        align-items: flex-start;
        text-align: left;
        justify-content: flex-start;
        justify-self: start;
    }
    .column.footer.uno .footer.social{
        grid-column: 1 / -1;
        grid-row: 8;
        justify-self: end;
    }
    .column.footer.due{
        grid-column: 1;
        grid-row: 5;
        padding-left: 0;
    }
    .column.footer.tre{
        grid-column: 2;
        grid-row: 5;
        padding-left: 0;
    }
    .column.footer.uno .footer.button{
        grid-column: 1 / -1;
        grid-row: 4;
        justify-self: start;
        align-self: start;
        margin-top: 0;
    }
    .footer.button.company-profile{
        grid-column: 1 / -1;
        grid-row: 6;
        justify-self: start;
        align-self: start;
        margin-top: 0;
    }
    .footer.button.map-button{
        grid-column: 1 / -1;
        grid-row: 7;
        justify-self: start;
        align-self: start;
        margin-top: 0;
    }
}

/* INDEX FOOTER - MAX-WIDTH 615PX AND MIN-WIDTH 501PX */
@media screen and (max-width: 615px) and (min-width: 501px) {
    .column.footer.quattro{
        grid-column: 1;
        grid-row: 2;
    }
    .column.footer.cinque{
        grid-column: 2;
        grid-row: 2;
        justify-self: end;
        width: max-content;
        max-width: 100%;
    }
    .column.footer.uno .footer.button{
        grid-row: 3;
    }
    .column.footer.due{
        grid-row: 4;
    }
    .column.footer.tre{
        grid-row: 4;
        display: inline-flex;
        justify-self: start;
        width: max-content;
        max-width: 100%;
        align-items: flex-start;
        text-align: left;
        padding-left: 70px;
    }
    .footer.button.company-profile{
        grid-row: 5;
    }
    .footer.button.map-button{
        grid-row: 6;
    }
    .column.footer.uno .footer.social{
        grid-row: 7;
        justify-self: end;
    }
}

/* INDEX FOOTER - MAX-WIDTH 430PX */
@media screen and (max-width: 430px) {
    .footerSite a,
    .footerSite p{
        font-size: 115%;
    }
}

/* INDEX FOOTER - MAX-WIDTH 870PX */
@media screen and (max-width: 870px) {
    .index.container.newsletter .index.title.news.footer{
        align-self: flex-start;
        text-align: left;
    }
}


/* ====================================================================================================================================
====================================================================================================================================

****************************************************************CHI SIAMO************************************************************** */



/* SECTION: RESPONSIVE GLOBAL */



@media screen and (min-width: 1201px) {
    .mainnav{
        display: flex;
    }
    .burger{
        display: none;
    }
    .lang{
        margin-left: 0;
    }
    .nav-overlay{
        display: none;
    }
}

@media screen and (max-width: 1200px) {
/*     .index.progetti-italia .card{ */
/*         flex: 0 0 90vw; */
/*     } */
/*     .index.progetti-italia .card.pi-text{ */
/*         padding: clamp(16px, 3vw, 28px); */
/*     } */
/*     .index.progetti-italia .pi-eyebrow{ */
/*         font-size: clamp(20px, 2.6vw, 30px); */
/*         line-height: 95%; */
/*     } */
/*     .index.progetti-italia .pi-title h1{ */
/*         font-size: clamp(22px, 2.8vw, 30px); */
/*     } */
/*     .index.progetti-italia .pi-paragrafo p{ */
/*         font-size: clamp(12px, 1.6vw, 16px); */
/*     } */
/*     .index.progetti-italia .pi-letter-big{ */
/*         font-size: clamp(56vh, 70vh, 100vh); */
/*         font-weight: 300; */
/*     } */
/*     .index.progetti-italia .card.pi-image .pi-img{ */
/*         height: 100%; */
/*     } */
}

@media screen and (max-width: 1025px) {
    .button-general{
        gap: 15px;
    }
    .button-general img{
        height: 23px;
    }
}

@media screen and (max-width: 1200px) {
    .mainnav{
        display: none;
    }
    .lang{
        margin-left: 0;
        margin-right: auto;
        order: 1;
    }
    .brand{
        order: 2;
        margin: 0 auto;
    }
    .burger{
        display: inline-flex;
        margin-left: auto;
        order: 3;
    }
}

@media screen and (max-width: 1067px) {
/*     .index.progetti-italia .pi-letters{ */
/*         display: none; */
/*     } */
/*     .index.progetti-italia .card.pi-image.mask-left, */
/*     .index.progetti-italia .card.pi-image.shift-left, */
/*     .index.progetti-italia .card.pi-image.wide.one, */
/*     .index.progetti-etiopia .card.pi-image.mask-left, */
/*     .index.progetti-etiopia .card.pi-image.shift-left, */
/*     .index.progetti-etiopia .card.pi-image.wide.one, */
/*     .index.progetti-etiopia .card.pi-img.six{ */
/*         margin-left: 0; */
/*         clip-path: none; */
/*     } */
}

@media screen and (max-width: 980px) {
/*     .index.progetti-italia .card.pi-text.first{ */
/*         padding-top: clamp(96px, 16vh, 140px); */
/*         padding-left: clamp(24px, 5vw, 64px); */
/*     } */
}

@media screen and (max-width: 980px) {
/*     .index.progetti-italia{ */
/*         overflow-x: auto; */
/*     } */
/*     .index.progetti-italia .progetti-italia-pin{ */
/*         height: auto; */
/*     } */
/*     .index.progetti-italia .progetti-italia-track{ */
/*         padding: 24px 0; */
/*     } */
/*     .index.progetti-italia .card{ */
/*         flex: 0 0 85vw; */
/*         height: 60vh; */
/*     } */
/*     .index.progetti-italia .card.pi-letter{ */
/*         flex-basis: 60vw; */
/*     } */
}

@media screen and (max-width: 980px) {
/*     .index.progetti-etiopia .card.pi-text.first{ */
/*         padding-top: clamp(96px, 16vh, 140px); */
/*         padding-left: clamp(24px, 5vw, 64px); */
/*     } */
}

@media screen and (max-width: 980px) {
/*     .index.progetti-etiopia{ */
/*         overflow-x: auto; */
/*     } */
/*     .index.progetti-etiopia .progetti-italia-pin{ */
/*         height: auto; */
/*     } */
/*     .index.progetti-etiopia .progetti-italia-track{ */
/*         padding: 24px 0; */
/*     } */
/*     .index.progetti-etiopia .card{ */
/*         flex: 0 0 85vw; */
/*         height: 60vh; */
/*     } */
/*     .index.progetti-etiopia .card.pi-letter{ */
/*         flex-basis: 60vw; */
/*     } */
/*     .index.progetti-etiopia .pi-letter-a-2{ */
/*         left: calc(680vw + 150px); */
        
/*     } */
}

/* ====================== PAGINA: CHI SIAMO ====================== */




/* CHI SIAMO HERO - GLOBAL */

.chiSiamo.hero{
    --hero-pad-x: clamp(22px, 6vw, 42px);
    --hero-pad-y: clamp(48px, 9vh, 110px);
    --hero-pad-bottom: clamp(28px, 6vh, 64px);
    --hero-text-max: 680px;
    padding: 0;
    min-height: 100svh;
    height: 100vh;

}
.chiSiamo.hero .container{
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
.chiSiamo.hero .box-img{
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 0;
    background: var(--color-txt);
}
.chiSiamo.hero .box-img img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    opacity: 0.7;
}
.chiSiamo.hero .box-area-txt{
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    /* padding-top: var(--topbar-h, 56px); */
    z-index: 1;
}
.chiSiamo.hero .box-title{
    display: flex;
    justify-content: start;
    align-items: start;
    width: 100%;
    height: 60%;
    padding: var(--hero-pad-y) 0 0 var(--hero-pad-x);
}
.chiSiamo.hero .box-title h1{
    font-size: clamp(48px, 6vw, 80px);
    font-weight: 220;
    text-align: start;
    line-height: 90%;
    color: white;
    margin: 0;
    padding: 0;
    margin-top: 30px;
    text-transform: none;
    letter-spacing: var(--ls-hero);
}
.chiSiamo.hero .box-pp{
    display: flex;
    flex-direction: column;
    align-items: end;
    margin-bottom: 30px;
    
}
.chiSiamo.hero .box-paragrafo{
    width: 60%;
    display: flex;
   
    align-items: flex-end;
    justify-content: end;
    padding: 0 var(--hero-pad-x) var(--hero-pad-bottom) 0;

}
.chiSiamo.hero .box-paragrafo > *{
    margin-left: 0;
    padding-left: 0;
}
.chiSiamo.hero .box-paragrafo p{
    color: var(--color-txt);
    font-size: clamp(20px, 1.4vw, 24px);
    font-weight: 300;
    letter-spacing: clamp(0em, 0.02vw, 0.03em);
    line-height: 115%;
    text-align: left;
    margin: 0;
    color: white;
}
.chiSiamo.hero .box-button{
    width: 60%;
    display: flex;
    justify-content: flex-start;
    padding-bottom: var(--layout-pad-y);


}

/* CHI SIAMO HERO - MAX-WIDTH 1200PX */
@media screen and (max-width: 1200px){
    .chiSiamo.hero .box-paragrafo p{
        font-size: clamp(16px, 2vw, 24px);
    }
}

/* CHI SIAMO HERO - MAX-WIDTH 436PX */
@media screen and (max-width: 436px){
    .chiSiamo.hero .box-title{
        padding-left: 30px;
        padding-right: 30px;
    }
    .chiSiamo.hero .box-paragrafo{
        padding-right: 30px;
    }
    .chiSiamo.hero .box-paragrafo p{
        text-align: right;
        font-weight: 200;
    }
    .chiSiamo.hero .box-button{
        width: 100%;
        justify-content: flex-end;
        padding-right: 30px;
    }
}


/* CHI SIAMO TESTO - GLOBAL */

.chiSiamo.testo{
    --hero-pad-x: clamp(22px, 6vw, 42px);
    --hero-pad-y: clamp(48px, 9vh, 80px);
    --hero-pad-bottom: clamp(28px, 6vh, 64px);
    --hero-text-max: 680px;
   
    }
.chiSiamo.testo .container{
    flex-direction: column;
    width: 100%;    
    }

.chiSiamo.testo .box-title h1{
    color: var(--color-txt);
    font-weight: 300;
    }

.chiSiamo.testo .box-paragrafo{
    display: flex;
    flex-direction: column;
    align-items: end;
    width: 43%;
    gap: 40px;
    padding: 0;
    padding-bottom: 30px;
    justify-content: start;
    align-items: start;
}
.chiSiamo.testo .box-paragrafo p{
    color: var(--color-txt);
    font-size: 22px;
}


.chiSiamo.hero .testo{
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.chiSiamo.testo .box-area-txt{
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    /* padding-top: var(--topbar-h, 56px); */
    z-index: 1;
}
.chiSiamo.testo .box-title{
    display: flex;
    justify-content: start;
    align-items: start;
    width: 100%;
    height: 60%;
    padding: var(--hero-pad-y) var(--hero-pad-x) 0 var(--hero-pad-x);
}
.chiSiamo.testo .box-title h1{
    font-size: clamp(48px, 6vw, 80px);
    font-weight: 300;
    text-align: start;
    line-height: 90%;
    color: var(--color-txt);
    margin: 0;
    padding: 0;
    
    text-transform: none;
    letter-spacing: var(--ls-hero);
}
.chiSiamo.testo .box-pp{
    display: flex;
    flex-direction: column;
    align-items: end;
    margin-bottom: 30px;
    
}
.chiSiamo.testo .box-paragrafo{
    width: 60%;
    display: flex;
   
    align-items: flex-end;
    justify-content: end;
    padding: 0 var(--hero-pad-x) 40px 0;

}
.chiSiamo.testo .box-paragrafo > *{
    margin-left: 0;
    padding-left: 0;
}
.chiSiamo.testo .box-paragrafo p{
    color: var(--color-txt);
    font-size: clamp(20px, 1.4vw, 24px);
    font-weight: 300;
    letter-spacing: clamp(0em, 0.02vw, 0.03em);
    line-height: 115%;
    text-align: left;
    margin: 0;
    color: var(--color-txt);
}
.chiSiamo.testo .box-paragrafo .box-button{
    width: 100%;
    display: flex;
    justify-content: flex-start;


}

/* CHI SIAMO TESTO - MAX-WIDTH 1200PX */
@media screen and (max-width: 1200px) {
    .chiSiamo.testo .box-paragrafo p{
        font-size: clamp(16px, 2vw, 24px);
    }
}

/* CHI SIAMO TESTO - MAX-WIDTH 1025PX */
@media screen and (max-width: 1025px) {
    .chiSiamo.testo .box-area-txt{
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        height: 100%;
        padding-top: 50px;
        padding-bottom: 50px;
    }
    .chiSiamo.testo{
        --hero-pad-bottom: 50px;
    }
    .chiSiamo.testo .box-pp{
        margin-bottom: 0;
    }
    .chiSiamo.testo .box-title{
        padding-top: 0;
    }
    .chiSiamo.testo .box-title h1{
        margin-top: 0;
    }
    .chiSiamo.testo .box-paragrafo{
        padding-bottom: 0;
    }
}

/* CHI SIAMO TESTO - MAX-WIDTH 436PX */
@media screen and (max-width: 436px){
    .chiSiamo.testo .box-paragrafo{
        width: 60%;
        padding-right: 30px;
    }
    .chiSiamo.testo .box-paragrafo p{
        font-size: calc(22px*0.8);
        text-align: right;
    }
    .chiSiamo.testo .box-button{
        transform: translateX(14px);
    }
}

/* CHI SIAMO STORIA - GLOBAL */

 .title.storia{
    width: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    padding: 0 0 56px 0;
    margin-top: 60px;
}
.title.storia h2{
    font-size: clamp(48px, 8vw, 160px);
    font-weight: 300;
    line-height: 90%;
    text-transform: uppercase;
    letter-spacing: -0.02em;
    color: var(--color-txt);
    display: flex;
    gap: 24px;
    white-space: nowrap;
    margin: 0;
}
.title.storia h2 span{
    display: inline-block;
}
.title.storia h2 span img{
    width: clamp(32px, 4vw, 50px);
    height: clamp(32px, 4vw, 50px);
    margin-bottom: clamp(8px, 2vw, 20px);
}


/* CHI SIAMO HISTORY - GLOBAL */


/*  History full screen pinnata  */

.history-scatter {
  position: relative;        /* niente height “strane”, niente sticky */
  background: #f7f7f2;
  padding:0;
}

.history-canvas {
  position: relative;
  width: 100vw;
  height: 100vh;             /* FULL PAGE */
  overflow: hidden;
  background: var(--color-txt);
}
.history-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  transform: translate(-50%, -50%);
  object-fit: cover;          /* riempie senza deformarsi */
  /* filter: grayscale(1) contrast(1.05) opacity(1); */
  z-index: 0;
  opacity: 0.6;
}

/* OVERLAY PER OSCURARE LEGGERMENTE IL VIDEO */

.history-video-overlay {
  position: absolute;
  inset: 0;
  background: transparent;
  z-index: 1;
}

/* Foto assolute nel canvas */

.history-photo {
    width: 800px;
    height: 600px;
  position: absolute;
  margin: 0;
  opacity: 1;
  transform: translate3d(0,0,0) scale(0.95);
  cursor: pointer;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
}

.history-photo img {
  display: block;
  width: 100%;
  height: 100%;
  box-shadow: 0 20px 40px rgba(0,0,0,0.7);
   z-index: 10;
}

/* posizioni di partenza nel canvas */
/* .photo-1 { top: 55%; left: 58%; }
.photo-2 { top: 40%; right: 42%; }
.photo-3 { bottom: 40%; left: 52%; }
.photo-4 { bottom: 45%; right: 58%; } */

/* overlay */
.history-caption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 0.7rem 0.9rem;
  background: linear-gradient(to top, rgba(0,0,0,0.85), transparent);
  font-size: 0.8rem;
  opacity: 0;
  transform: translateY(8px);
  transition: 0.25s ease;
}

.history-photo:hover .history-caption,
.history-photo.is-open .history-caption {
  opacity: 1;
  transform: translateY(0);
}

.history-caption .year {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #e0b15a;
  margin-bottom: 0.15rem;
}

.history-caption .title {
  font-weight: 600;
}

.history-track{
  position: relative;
  height: 100%;
  display: inline-flex;
  align-items: center;
  width: max-content;
  min-width: 100vw;
  z-index: 2;
}
.history-line{
  position: absolute;
  top: 50%;
  left: 0;
  right: auto;
  width: 100%;
  height: 1px;
  z-index: 1;
}
.history-line-base{
  display: none;
}
.history-line-fill{
  position: absolute;
  inset: 0;
  background: #fff;
  opacity: 1;
  display: block;
  transform: scaleX(0);
  transform-origin: left center;
  box-shadow: none;
}
.history-events{
  display: flex;
  align-items: center;
  gap: clamp(140px, 14vw, 240px);
  padding: 0 20vw 0 max(28vw, 260px);
  position: relative;
  z-index: 2;
  width: max-content;
  min-width: 160vw;
}
.history-event:first-child{
  margin-left: 45vw;
}
.history-event{
  position: relative;
  min-width: 320px;
  height: 200px;
  color: var(--color-txt);
}
.history-point{
  position: absolute;
  top: 50%;
  left: 50%;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #fff;
  transform: translate(-50%, -50%) scale(0);
  opacity: 0;
}
.history-label{
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(320px, 28vw);
  height: 160px;
  transform: translateX(-50%);
  opacity: 0;
}
.history-label .year{
  position: absolute;
  left: 50%;
  top: -52px;
  font-size: clamp(18px, 2.4vw, 26px);
  font-weight: 400;
  color: #fff;
  text-shadow: none;
  letter-spacing: 0.02em;
  transform: translateX(-50%) rotate(-18deg);
  transform-origin: center;
  opacity: 1;
}
.history-label .title{
  position: absolute;
  left: 0;
  top: 18px;
  font-size: clamp(14px, 1.6vw, 18px);
  line-height: 1.35;
  font-weight: 200;
  color: #fff;
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid #fff;
  display: inline-block;
  padding: 16px 20px;
  text-shadow: none;
  border-radius: 8px;
  opacity: 1;
}

/* CHI SIAMO HISTORY - MAX-WIDTH 436PX */
@media screen and (max-width: 436px){
    .history-label .title{
        width: 170px;
    }
    .history-label .year{
        width: 97px;
        left: 84%;
    }
}


/* CHI SIAMO ORGANIGRAMMA - GLOBAL */


.chiSiamo.organigramma{
    padding: 0;
}
.chiSiamo.organigramma .container{
  display: flex;
  flex-direction: column;
  }
.polaroid-viewport{
    padding-left: 117px;
    padding-right: 0;
}
.polaroid-container{
  display: flex;
  justify-content: start;
  align-items: center;
  width: 100%;
  height: 100%;
  
 
  gap: 100px;
  
  }
.chiSiamo.organigramma{
    --polaroid-end-gap: 117px;
}
.polaroid-box{
  display: flex;
  flex-direction: column;
  justify-content: start;
  align-items: start;
  width:432.56px;
  height: 464.56px;
  box-shadow: 0 12px 20px rgba(0, 0, 0, 0.20);
  padding:20px 20px 0 20px;
  
  position: relative;
 
  margin-top:42px;
  }
.chiSiamo.organigramma .polaroid-box.cinque,
.chiSiamo.organigramma .polaroid-box.sei{
  display: none;
}
.chiSiamo.organigramma .uno,
.chiSiamo.organigramma .tre,
.chiSiamo.organigramma .cinque
{
    margin-bottom: 200px;
}
 .polaroid-box .box-img{
  width: 391.49px;
  height: 320.31px;
  display: flex;
  justify-content: center;
  align-items: center;
  }
.polaroid-box .box-img img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  }
.polaroid-box .name h1{
    font-size: 24px;
    font-weight: 300;
    color: var(--color-txt);
    margin-top: 10px;
}
.polaroid-box .name h2{
    font-size: 18px;
    font-weight: 400;
    color: rgb(171, 171, 171);
}
.polaroid-box .row-top{
    background: none;
    border-style: none;
    width: 100%;
    height: auto;
    
    display: flex;
    justify-content: end;
    align-items: start;
    position: absolute;
    top: auto;
    left: auto;
    bottom:-20px;
    
}
.polaroid-box .row-top img{
    transform: scale(0.3);
    opacity: 0.3;
    will-change: transform;
}
.polaroid-box .row-top img:hover{
    transform: scale(0.28);
    opacity: 0.8;
}

.chiSiamo.organigramma .titolo-next{
  justify-content: start;
  margin-top:44px;
  margin-left:42px;
} 
.chiSiamo.organigramma .titolo-next h2{
  text-align: start;
  font-size: clamp(52px, 6vw, 109px);
  line-height: 88%;
  font-weight: 300;
  letter-spacing: -2%;
}

/* CHI SIAMO ORGANIGRAMMA - MAX-WIDTH 1025PX */
@media screen and (max-width: 1025px) {
    .polaroid-container{
        gap: calc(100px * 0.8);
    }
    .polaroid-viewport{
        margin-top: 60px;
    }
    .polaroid-box{
        width: calc(432.56px * 0.8);
        height: calc(464.56px * 0.8);
        padding: calc(20px * 0.8) calc(20px * 0.8) 0 calc(20px * 0.8);
        margin-top: calc(42px * 0.8);
    }
    .polaroid-box .box-img{
        width: calc(391.49px * 0.8);
        height: calc(320.31px * 0.8);
    }
    .polaroid-box .row-top{
        width: auto;
        left: auto;
        right: -20px;
        bottom: -30px;
    }
    .polaroid-box .row-top img{
        transform: scale(0.24);
    }
    .polaroid-box .row-top img:hover{
        transform: scale(0.224);
    }
    .polaroid-box .name h1{
        font-size: calc(24px * 0.9);
    }
    .polaroid-box .name h2{
        font-size: calc(18px * 0.9);
    }
}

/* CHI SIAMO ORGANIGRAMMA - MAX-WIDTH 436PX */
@media screen and (max-width: 436px){
    .chiSiamo.organigramma .titolo-next{
        margin-left: 30px;
    }
    .chiSiamo.organigramma .polaroid-box{
        width: calc(432.56px * 0.6);
        height: calc(464.56px * 0.6);
        padding: calc(20px * 0.6) calc(20px * 0.6) 0 calc(20px * 0.6);
        margin-top: calc(42px * 0.6);
    }
    .chiSiamo.organigramma .polaroid-box .box-img{
        width: calc(391.49px * 0.6);
        height: calc(320.31px * 0.6);
    }
    .chiSiamo.organigramma .polaroid-box .name{
        width: 70%;
    }
    .chiSiamo.organigramma .polaroid-box .row-top{
        right: -31px;
    }
    .chiSiamo.organigramma .polaroid-box .name h1{
        font-size: calc(24px * 0.8);
    }
    .chiSiamo.organigramma .polaroid-box .name h2{
        font-size: calc(18px * 0.8);
    }
    .chiSiamo.organigramma .polaroid-viewport{
        padding-left: 39px;
        padding-right: 0;
    }
    .chiSiamo.organigramma{
        --polaroid-end-gap: 42px;
    }
    .chiSiamo.organigramma .polaroid-container{
        gap: calc(100px * 0.5);
        margin-top: 80px;
    }
}

/* CHI SIAMO METODI E PROCESSI - GLOBAL */

.chiSiamo.metodiProcessi{
  position: relative;
  width: 100vw;
  display: block;
  padding: 0;
  height: auto;
  min-height: calc(100vh - var(--topbar-h, 56px));
  padding-bottom: 0;
  align-items: stretch;
  overflow: visible;
}
.chiSiamo.metodiProcessi .container,
.chiSiamo .metodiProcessi.container{
  position: relative;
  width: 100%;
  max-width: none;
  margin: 0;
  display: block;
  overflow: visible;
}
.chiSiamo.metodiProcessi .box-media{
  width: 100%;
  height: calc(100vh - var(--topbar-h, 56px));
  z-index: 0;
  position: relative;
  top: auto;
  overflow: hidden;
}
.chiSiamo.metodiProcessi .container.box-content{
  margin-top: calc(-1 * (100vh - var(--topbar-h, 56px)));
  padding-top: calc(100vh - var(--topbar-h, 56px));
  padding-bottom: 0;
  position: relative;
  z-index: 2;
}
.chiSiamo:not(.metodiProcessi) .box-media{
  position: relative;
  top: auto;
}
.chiSiamo .metodiProcessi-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.chiSiamo .container.box-content{
  width: 100%;
  position: relative;
  z-index: 1;
  
  color: #fff;
  display: flex;
  flex-direction: column;
  margin-top: 0;
  padding-top: calc(100vh - var(--topbar-h, 56px));
}
.chiSiamo .container.box-content .box-content-item{
  display: flex;
  flex-direction: column;
  width: 100%;
}
.chiSiamo .uno .content,
.chiSiamo .tre .content,
.chiSiamo .cinque .content{
  padding: 50px 50px 50px 50px;
  width: fit-content;
  height: fit-content;
  background: var(--color-txt);
  display: flex;
  justify-content: center;
  align-items: start;
  background: rgba(0, 0, 0, 0.65);
  
}
.chiSiamo .uno .content,
.chiSiamo .tre .content,
.chiSiamo .cinque .content{
  padding-bottom: 50px;
  width: 40.5%;
}
.chiSiamo .content h3{
  font-size: clamp(64px, 8vw, 100px);
  font-weight: 300;
  color: white;
  letter-spacing: var(--ls-cinque);
  line-height: 100%;
}
.chiSiamo .uno .content{
  background: rgba(0, 0, 0, 0.65);
}
.box-content-item .content h4{
  font-size: clamp(32px, 3.2vw, 50px);
  color: var(--color-txt);
  font-weight: 300;
  line-height: 100%;
  text-transform: uppercase;
  margin-top: 56px;
}
.box-content-item .content p{
  font-size: clamp(16px, 1.5vw, 20px);
  font-weight: 300;
  line-height: 110%;
  margin-top: 50px;
  margin-bottom: 65px;
  color: var(--color-txt);
  }
.box-content-item.due,
.box-content-item.quattro,
.box-content-item.sei,
.box-content-item.otto{
  display: flex;
  align-items: end;
  opacity:0.5;
  }
.box-content-item.due{
  opacity: 0.6;
}
.box-content-item.due .content p{
  color: var(--color-txt);
}
.box-content-item.sette{
  display: flex;
  align-items: start;
  opacity:0.5;
}
.box-content-item.sette .content{
  width: 40.5%;
  background: whitesmoke;
  padding: 0 36px 56px 56px;
}
.box-content-item.due .content,
.box-content-item.quattro .content,
.box-content-item.sei .content,
.box-content-item.otto .content{
  width: 59.5%;
  background: whitesmoke;
  padding: 0 0 56px 56px;
}
.chiSiamo.metodiProcessi .box-content-item.nove {
  min-height: 0;
  height: 0;
  display: flex;
  align-items: stretch;
}
.chiSiamo.metodiProcessi .box-content-item.nove .content {
  width: 100%;
  padding: 0;
  background: transparent;
}
.mask-overlay {
  position: fixed;
  inset: 0;
  z-index: 5;
  pointer-events: none;
  opacity: 0;
}
.mask-overlay .overlay-bg {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.mask-overlay .overlay-svg {
  width: 100vw;
  height: 100vh;
  display: block;
}

/* CHI SIAMO METODI E PROCESSI - MAX-WIDTH 1025PX */
@media screen and (max-width: 1200px) and (min-width: 1024px) {
    .chiSiamo.metodiProcessi .box-content-item.uno .content h3,
    .chiSiamo.metodiProcessi .box-content-item.tre .content h3,
    .chiSiamo.metodiProcessi .box-content-item.cinque .content h3{
        font-size: calc(clamp(64px, 8vw, 100px) * 0.8);
    }
}

@media screen and (max-width: 1025px) {
    .chiSiamo.metodiProcessi .box-content-item .content h3{
        font-size: calc(clamp(64px, 8vw, 100px) * 0.765);
    }
    .chiSiamo.metodiProcessi .box-content-item:not(.uno):not(.tre):not(.cinque) .content{
        padding-left: 32px;
        padding-right: 32px;
        box-sizing: border-box;
    }
}

/* CHI SIAMO METODI E PROCESSI - MAX-WIDTH 436PX */
@media screen and (max-width: 628px){
    .chiSiamo .uno .content,
    .chiSiamo .tre .content,
    .chiSiamo .cinque .content {
        width: 100%;
        border-radius: 10px;
    }
    .chiSiamo.metodiProcessi .container .box-content{
        padding-left: 30px;
        padding-right: 30px;
        gap: 8px;
    }
    .box-content-item.due .content,
    .box-content-item.quattro .content,
    .box-content-item.sei .content,
    .box-content-item.otto .content{
        width: 100%;
        border-radius: 10px;
    }
    .box-content-item.sette .content {
        width: 100%;
        border-radius: 10px;
    }
}

/* CHI SIAMO OPERE - GLOBAL */

.chiSiamo.opere{
  padding: 42px 0;
  background: #f7f7f2;
  overflow: hidden;
}
.chiSiamo.opere .opere.container{
  padding: 0;
  margin: 0;
  position: relative;
  height: calc(100vh - var(--topbar-h, 56px));
  display: flex;
  flex-direction: column;
}
.chiSiamo.opere .paragrafo-big{
  align-self: flex-start;
  margin-top: 0;
  width: 100%;
  max-width: none;
}
.chiSiamo.opere .paragrafo-big p{
  font-size: clamp(28px, 3.2vw, 45px);
  line-height: 110%;
  margin: 0;
}
.chiSiamo.opere .opere-boxes{
  position: relative;
  --path-w: 200vw;
  --path-h: calc(var(--path-w) * 960 / 3024);
  --path-offset: -0.31;
  --path-gap: clamp(0px, calc(55vh - var(--path-h)), 999px);
  width: var(--path-w);
  height: max(55vh, var(--path-h));
  /* margin-top: 48px; */
  --line-y: 220px;
  --block-gap: 90px;
}
.chiSiamo.opere .opere-vertical-wrap{
  width: 100%;
  height: auto;
  overflow: visible;
}
.chiSiamo.opere .opere-boxes .box.line{
  display: none;
}
.chiSiamo.opere .opere-path{
  position: absolute;
  left: 0;
  top: calc(var(--path-h) * var(--path-offset) + (var(--path-gap) * 0.5));
  width: 100%;
  height: var(--path-h);
}
.chiSiamo.opere .opere-path-vertical{
  display: none;
  position: absolute;
  left: 24px;
  top: 0;
  width: 80px;
  height: 100%;
  pointer-events: none;
}
.chiSiamo.opere .opere-path path,
.chiSiamo.opere .opere-path-vertical path{
  stroke: var(--color-txt);
  stroke-width: 2;
  fill: none;
}
.chiSiamo.opere .opere-path-vertical .opere-line{
  stroke-width: 1;
  vector-effect: non-scaling-stroke;
}
.chiSiamo.opere .opere-path-vertical .opere-line-base{
  display: none;
}
.chiSiamo.opere .opere-path .opere-dot,
.chiSiamo.opere .opere-path-vertical .opere-dot{
  fill: var(--color-txt);
}
.chiSiamo.opere .blocco-testo{
  position: absolute;
  left: calc(var(--path-w) * 0.07);
  bottom: clamp(172.7px, calc(681.9px - 31.83vw), 300px);
  bottom: 500px;
  text-align: left;
}
.chiSiamo.opere .blocco-testo.uno{
  left: calc(var(--path-w) * 0.2441);
  top: clamp(50.4px, calc(-45.65px + 9.84vw), 111.75px);
  transform: none;
}
.chiSiamo.opere .blocco-testo.due{
left: calc(var(--path-w) * 0.35);
bottom: clamp(274.3px, calc(517.9px - 15.23vw), 335.2px);
bottom: 524.4px;
}
.chiSiamo.opere .blocco-testo.tre{
    left: auto;
    top: auto;
    right: calc(var(--path-w) * 0.4);
    bottom: clamp(260.6px, calc(492px - 14.46vw), 318.4px);
    bottom:518.4px;
}
.chiSiamo.opere .blocco-testo.quattro{
  left: auto;
  top: auto;
  right: calc(var(--path-w) * 0.0122);
  bottom: clamp(182.9px, calc(689.54px - 31.67vw), 309.56px);
  bottom:489.56px;
}
.chiSiamo.opere .blocco-testo h5{
  font-size: clamp(10.2px, calc(4.8px + 0.45vw), 12px);
  color: #6A6A6A;
  font-weight: 600;
  margin: 0 0 10px 0;
  text-transform: uppercase;
}
.chiSiamo.opere .blocco-testo h4{
  font-size: clamp(17px, calc(8px + 0.75vw), 20px);
  color: var(--color-txt);
  font-weight: 300;
  margin: 0 0 12px 0;
  line-height: 120%;
}
.chiSiamo.opere .blocco-testo ul{
  margin: 0;
  padding-left: 14px;
  list-style: disc;
  letter-spacing: -3%;
  line-height: 100%;
}
.chiSiamo.opere .blocco-testo li{
  font-size: clamp(13.6px, calc(6.4px + 0.6vw), 16px);
  color: var(--color-txt);
  margin: 0 0 8px 0;
}
.chiSiamo.opere .blocco-testo li::marker{
  color: #000;
}
.chiSiamo.opere .circle{
  display: none;
}

/* CHI SIAMO OPERE - MIN-WIDTH 1201PX (FIXED DESKTOP POSITIONS) */
@media screen and (max-width: 1578px){
    .chiSiamo.opere .blocco-testo{
        left: calc(var(--path-w) * 0.07);
        bottom: clamp(172.7px, calc(681.9px - 31.83vw), 300px);
    }
    .chiSiamo.opere .blocco-testo.uno{
        left: calc(var(--path-w) * 0.2441);
        top: clamp(50.4px, calc(-45.65px + 9.84vw), 111.75px);
    }
    .chiSiamo.opere .blocco-testo.due{
       left: calc(var(--path-w) * 0.35);
        bottom: clamp(274.3px, calc(517.9px - 1.46vw), 480.4px);
    }
    .chiSiamo.opere .blocco-testo.tre{
        right: calc(var(--path-w) * 0.4);
        bottom: clamp(260.6px, calc(492px - 1.46vw), 473.4px);
    }
    .chiSiamo.opere .blocco-testo.quattro{
        right: calc(var(--path-w) * 0.0399);
        bottom: clamp(182.9px, calc(589.54px - 6.67vw), 415.56px);
    }
}

/* CHI SIAMO OPERE - MAX-WIDTH 1200PX */
@media screen and (max-width: 1580px){
    .chiSiamo.opere .blocco-testo{
        left: calc(var(--path-w) * 0.07);
        bottom: clamp(172.7px, calc(681.9px - 16.83vw), 414px);
    }
}
@media screen and (max-width: 1457px){
    .chiSiamo.opere .blocco-testo.due{
        left: calc(var(--path-w) * 0.35);
        bottom: clamp(274.3px, calc(517.9px - 1.46vw), 430.4px);
    }
     .chiSiamo.opere .blocco-testo.tre{
        right: calc(var(--path-w) * 0.41);
        bottom: clamp(274.3px, calc(517.9px - 1.46vw), 415.4px);
    }
}
@media screen and (max-width: 1366px){
    .chiSiamo.opere .blocco-testo{
        left: calc(var(--path-w) * 0.07);
        bottom: clamp(172.7px, calc(681.9px - 22.13vw), 394px);
    }
    .chiSiamo.opere .blocco-testo.due{
        left: calc(var(--path-w) * 0.35);
        bottom: clamp(274.3px, calc(517.9px - 1.46vw), 410.4px);
    }
     .chiSiamo.opere .blocco-testo.tre{
        right: calc(var(--path-w) * 0.41);
        bottom: clamp(274.3px, calc(517.9px - 1.46vw), 395.4px);
    }
    .chiSiamo.opere .blocco-testo.quattro{
        right: calc(var(--path-w) * 0.0699);
        bottom: clamp(182.9px, calc(589.54px - 6.67vw), 385.56px);
    }
}
@media screen and (max-width: 1280px){
    .chiSiamo.opere .blocco-testo{
        left: calc(var(--path-w) * 0.07);
        bottom: clamp(172.7px, calc(681.9px - 22.13vw), 364px);
    }
    .chiSiamo.opere .blocco-testo.due{
        left: calc(var(--path-w) * 0.35);
        bottom: clamp(274.3px, calc(517.9px - 1.46vw), 360.4px);
    }
     .chiSiamo.opere .blocco-testo.tre{
        right: calc(var(--path-w) * 0.37);
        bottom: clamp(274.3px, calc(517.9px - 1.46vw), 345.4px);
    }
    .chiSiamo.opere .blocco-testo.quattro{
        right: calc(var(--path-w) * 0.03);
        bottom: clamp(182.9px, calc(589.54px - 6.67vw), 355.56px);
    }
}
@media screen and (max-width: 1200px){
    .chiSiamo.opere .opere-boxes{
        margin-top: clamp(0px, calc(600px - 50vw), 200px);
    }
    .chiSiamo.opere .blocco-testo{
        bottom: clamp(255px, calc(165px + 13.25vw), 350px);
    }
    .chiSiamo.opere .blocco-testo.due{
        bottom: clamp(284.92px, calc(184.36px + 12.57vw), 335.2px);
    }
    .chiSiamo.opere .blocco-testo.tre{
        bottom: clamp(270.64px, calc(175.12px + 11.94vw), 318.4px);
    }
    .chiSiamo.opere .blocco-testo.quattro{
        bottom: clamp(263.13px, calc(170.26px + 13.61vw), 349.56px);
    }
}

@media screen and (max-width: 1200px) and (min-width: 1000px){
    .chiSiamo.opere .blocco-testo{
        left: clamp(110px, calc(-180px + 29vw), 168px);
    }
    .chiSiamo.opere .blocco-testo.uno{
        top: clamp(40px, calc(-122px + 16.2vw), 72.4px);
    }
    .chiSiamo.opere .blocco-testo.due{
        bottom: clamp(244px, calc(-212.03px + 45.6vw), 335.2px);
    }
    .chiSiamo.opere .blocco-testo.tre{
        right: clamp(720px, calc(-480px + 120vw), 960px);
        bottom: clamp(230.96px, calc(-206.27px + 43.72vw), 318.4px);
    }
}

@media screen and (max-width: 1000px) and (min-width: 900px){
    .chiSiamo.opere .blocco-testo{
        left: clamp(72.02px, calc(-79.88px + 18.99vw), 110px);
    }
    .chiSiamo.opere .blocco-testo.uno{
        top: clamp(22.1px, calc(-49.5px + 6.95vw), 20px);
    }
    .chiSiamo.opere .blocco-testo.due{
        left: clamp(184px, calc(-1880px + 268vw), 700px);
        bottom: clamp(177.61px, calc(-87.93px + 33.19vw), 244px);
    }
    .chiSiamo.opere .blocco-testo.tre{
        right: clamp(540px, calc(-180px + 92vw), 800px);
        bottom: clamp(167.53px, calc(-66.17px + 42.71vw), 200.96px);
    }
}

@media screen and (max-width: 899px){
    .chiSiamo.opere .paragrafo-big{
        margin: 42px 30px 24px;
        width: auto;
    }
    .chiSiamo.opere .opere-vertical-wrap{
        flex: 1;
        height: auto;
        min-height: 0;
        overflow: hidden;
        margin-top: clamp(24px, 4vh, 48px);
    }
    .chiSiamo.opere .opere-boxes{
        width: 100%;
        height: auto;
        margin-top: 0;
        padding: clamp(32px, 6vh, 80px) 24px clamp(160px, 24vh, 320px) 96px;
        display: flex;
        flex-direction: column;
        gap: clamp(80px, 10vh, 160px);
        min-height: calc(100% + clamp(160px, 24vh, 320px));
        justify-content: space-between;
    }
    .chiSiamo.opere .opere-path{
        display: none;
    }
    .chiSiamo.opere .opere-path-vertical{
        display: block;
        z-index: 0;
    }
    .chiSiamo.opere .opere-path-vertical .opere-dot{
        display: none;
    }
    .chiSiamo.opere .blocco-testo,
    .chiSiamo.opere .blocco-testo.uno,
    .chiSiamo.opere .blocco-testo.due,
    .chiSiamo.opere .blocco-testo.tre,
    .chiSiamo.opere .blocco-testo.quattro{
        position: relative;
        z-index: 1;
        left: auto;
        right: auto;
        top: auto;
        bottom: auto;
        width: 100%;
        max-width: none;
    }
}

/* CHI SIAMO OPERE - MAX-WIDTH 436PX */
@media screen and (max-width: 436px){
    .chiSiamo.opere .paragrafo-big{
        padding: 20px;
    }
    .chiSiamo.opere .paragrafo-big p{
        font-size: 24px;
        text-align: center;
    }
    .chiSiamo.opere .blocco-testo h5{
        font-size: 12px;
    }
    .chiSiamo.opere .blocco-testo h4{
        font-size: 20px;
    }
    .chiSiamo.opere .blocco-testo li{
        font-size: 14px;
    }
}

/* CHI SIAMO BLACK TEXT - GLOBAL */


.chiSiamo.black-text{
    background: var(--color-txt);
}
.chiSiamo .box-txt{
    width: 95%;
    height: 95%;
    display: flex;
    justify-content: center;
    align-items: center;
}
.chiSiamo .box-txt h3{
    font-size: var(--title-medium);
    font-weight: 200;
    text-align: center;
    line-height: 90%;
    color:white;
}

/* CHI SIAMO CERTIFICAZIONI - GLOBAL */

.chiSiamo.certificazioni{
    height: auto;
    
   
}
.chiSiamo.certificazioni.stack-cards{
    height: calc(100svh - var(--topbar-h, 56px));
    min-height: calc(100svh - var(--topbar-h, 56px));
    padding: 0;
   
}
.chiSiamo.certificazioni.stack-cards .container{
    position: relative;
    height: 100%;
    display: block !important;
    gap: 0 !important;
    overflow: visible;
}
   
.chiSiamo.certificazioni.stack-cards .cert-stack{
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 40%;
    overflow: hidden;
    border-bottom: solid 1px var(--color-txt);
    padding: 42px 0 42px 0;
}
.chiSiamo.certificazioni.stack-cards .box-img{
    position: absolute;
    left: 0;
    right: 0;
    top: 40%;
    height: 60%;
    background: #eee;
    overflow: hidden;
}
.chiSiamo.certificazioni.stack-cards .box-img img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.chiSiamo.certificazioni .container{
    display: flex;
    flex-direction: column;
    gap: 40px;
    margin-top: 0;
    }
.chiSiamo.certificazioni{
    padding-top: calc((84px + var(--topbar-h, 56px)) * 0.6);
}

.chiSiamo.certificazioni .container .box-certificato{
    display: flex;
    gap: 20px;
    border-bottom: solid 1px var(--color-txt);
    align-items: center;
    padding: 0 0 25px 0;
    
    }
.chiSiamo.certificazioni.stack-cards .cert-stack .box-certificato{
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0 clamp(20px, 4vw, 42px);
    border-bottom: none;
    background: #fff;
    align-items: flex-start;
    justify-content: flex-start;
    /* border: solid 2px rgb(0, 8, 255); */
}

.logo-uno{
    width: 267px;
    height: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 120px;
    }
.chiSiamo.certificazioni .container .box-certificato .box-txt{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: start;
    gap: 6px;
    /* border: solid 2px rgb(0, 255, 0); */
    width: 80%;
    margin-left: 80px;
    
    
}

.chiSiamo.certificazioni .container .box-certificato p{
    font-size: 19px;
    font-weight: 300;
    /* margin-top: 80px; */
}
.chiSiamo.certificazioni .container .box-certificato h5{
    font-size: 30px;
    font-weight: 500;
    /* margin-top: 20px; */
    
}
.chiSiamo.certificazioni .box-button .row-top img{
    transition: transform 0.2s ease;
    transform: scale(1);
}
.chiSiamo.certificazioni .box-button .row-top:hover img{
    transform: scale(0.9);
}

.logo-uno img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* margin-bottom: 52px; */
    }

.logo-due, .logo-tre, .logo-quattro{
    width: 207px;
    height: auto;
    margin-top: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
    /* margin-bottom: 40px; */
    }
.logo-due img, .logo-tre img, .logo-quattro img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    }

.logo-cinque{
    width: 177px;
    margin-top: 100px;
    height: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    

}

.logo-due img, .logo-tre img, .logo-quattro img, .logo-cinque img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    }
 .chiSiamo.certificazioni .box-button{
    width: 10%;
    display: flex;
    justify-content: flex-end;
    /* border: solid 2px palevioletred; */
    align-items: flex-end;
    padding-bottom: 0;
    margin-top: 120px;
    margin-left: 50px;
 }
 .chiSiamo.certificazioni .box-certificato.uno .box-button{
    margin-top: 140px;
 }
  .chiSiamo.certificazioni .box-certificato.due .box-button{
    margin-top: 140px;
 }
.chiSiamo.certificazioni .box-button .row-top{
    width: 75px;
    height: 75px;
    display: flex;
    justify-content: center;    
    align-items: center;
    border-style: none;
    background: none;
    cursor: pointer;
    transition: transform 0.2s ease, opacity 0.2s ease;
}
.chiSiamo.certificazioni .box-button .row-top:hover{
    transform: scale(0.85);
    opacity: 0.9;
}
.box-button .row-top img{
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

/* CHI SIAMO CERTIFICAZIONI - MAX-WIDTH 1025PX */
@media screen and (max-width: 1025px) {
    .chiSiamo.certificazioni.stack-cards .cert-stack{
        height: 25%;
    }
    .chiSiamo.certificazioni.stack-cards .box-img{
        top: 25%;
        height: 75%;
    }
    .chiSiamo.certificazioni.stack-cards .cert-stack .box-certificato{
        align-items: center;
        padding: 0 30px 0 0;
        
    }
    .chiSiamo.certificazioni .container .box-certificato{
        margin: 0;
        padding: 0 20px;
        align-items: center;
        gap: 0;
    }
    .chiSiamo.certificazioni .container .box-certificato *{
        margin: 0;
        padding: 0;
    }
    .chiSiamo.certificazioni .container .box-certificato .box-txt{
        margin-left: 0;
        height: auto;
    }
    .chiSiamo.certificazioni .box-button,
    .chiSiamo.certificazioni .box-certificato.uno .box-button,
    .chiSiamo.certificazioni .box-certificato.due .box-button{
        margin: 0;
        padding: 0;
    }
    .chiSiamo.certificazioni .container .box-certificato p{
        font-size: 17px;
        font-weight: 200;
    }
    .logo-uno{
        width: auto;
        margin: 0;
    }
    .logo-due,
    .logo-tre,
    .logo-quattro{
        width: calc(207px * 0.85);
        margin: 0;
    }
    .logo-cinque{
        width: calc(177px * 0.85);
        margin: 0;
    }
    .logo-uno img,
    .logo-due img,
    .logo-tre img,
    .logo-quattro img,
    .logo-cinque img{
        transform: scale(0.7);
        transform-origin: center;
        justify-content: start;
    }
    .chiSiamo.certificazioni .box-button .row-top{
        width: 88px;
        height: 88px;
    }
    .chiSiamo.certificazioni .box-button .row-top img,
    .chiSiamo.certificazioni .box-button .row-top:hover img{
        transform: scale(0.8);
    }
}

/* CHI SIAMO CERTIFICAZIONI - MAX-WIDTH 800PX */
@media screen and (max-width: 800px) {
    .chiSiamo.certificazioni.stack-cards .container .box-certificato .box-txt{
        display: none;
    }
    .chiSiamo.certificazioni.stack-cards .cert-stack .box-certificato .box-button{
        margin-left: auto;
        width: auto;
    }
}

/* CHI SIAMO CERTIFICAZIONI - MAX-WIDTH 430PX */
@media screen and (max-width: 430px) {
    .chiSiamo.certificazioni.stack-cards{
        --cert-stack-h: 18%;
        padding-left: 0;
        padding-right: 0;
    }
    .chiSiamo.certificazioni.stack-cards .cert-stack{
        height: var(--cert-stack-h);
        padding: 16px 0;
    }
    .chiSiamo.certificazioni.stack-cards .box-img{
        top: var(--cert-stack-h);
        height: calc(100% - var(--cert-stack-h));
    }
    .chiSiamo.certificazioni.stack-cards .cert-stack .box-certificato{
        padding-left: 30px;
        padding-right: 30px;
        align-items: center;
        justify-content: space-between;
        gap: 0;
    }
    .chiSiamo.certificazioni .container .box-certificato{
        padding-left: 0;
        padding-right: 0;
        align-items: center;
        justify-content: space-between;
        gap: 0;
    }
    .chiSiamo.certificazioni .container .box-certificato .box-txt{
        width: auto;
        flex: 1;
        min-width: 0;
        margin: 0 12px;
        visibility: hidden;
    }
    .chiSiamo.certificazioni .box-button{
        width: auto;
        margin-left: auto;
    }
    .chiSiamo.certificazioni.stack-cards .box-button .row-top{
        width: 66px;
        height: 66px;
    }
    .logo-uno,
    .logo-due,
    .logo-tre,
    .logo-quattro,
    .logo-cinque{
        justify-content: flex-start;
    }
    .logo-uno img,
    .logo-due img,
    .logo-tre img,
    .logo-quattro img,
    .logo-cinque img{
        transform: scale(0.6);
    }
    .chiSiamo.certificazioni.stack-cards .logo-uno img{
        transform: scale(0.4);
        transform-origin: left center;
    }
    .chiSiamo.certificazioni.stack-cards .logo-due img,
    .chiSiamo.certificazioni.stack-cards .logo-tre img,
    .chiSiamo.certificazioni.stack-cards .logo-quattro img,
    .chiSiamo.certificazioni.stack-cards .logo-cinque img{
        transform: scale(0.5);
        transform-origin: left center;
    }
}



/* ====================== PAGINA: PROGETTI ====================== */

   .progetti.hero{
    --hero-pad-x: clamp(22px, 6vw, 42px);
    --hero-pad-y: clamp(48px, 9vh, 110px);
    --hero-pad-bottom: clamp(28px, 6vh, 64px);
    --hero-text-max: 680px;
    padding: 0;
    min-height: 100svh;
    height: 100vh;
    position: relative;
    z-index: 1;

}
.progetti.hero .container{
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    display: flex;
    
}
.progetti.hero .box-img{
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 0;
    /* background: var(--color-txt); */
}
.progetti.hero .box-img img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    opacity: 0.7;

}
.progetti.hero .box-img::after{
    content: "";
    position: absolute;
    inset: 0;
    
    
}
.progetti.hero .box-cont-img-small{
    width: min(76vw, 760px);
    height: min(52vw, 420px);
    position: absolute;
    top: 50%;
    left: 55%;
    transform: translate(-50%, -50%);
    z-index: 1;
    pointer-events: none;
    /* isolation: isolate; */
     mix-blend-mode:soft-light ;
     opacity: 0.8;
}

.progetti.hero .box-cont-img-small .box-img-small{
    position: absolute;
    overflow: hidden;
    box-shadow: 0 22px 50px rgba(0, 0, 0, 0.35);
    
    
}
.progetti.hero .box-cont-img-small .box-img-small img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transform: scale(1.02);
    
    opacity: 1;
    
}
.progetti.hero .box-cont-img-small .box-img-small::after{
    content: "";
    position: absolute;
    inset: 0;
    
}
.progetti.hero .box-cont-img-small .box-img-small.uno{
    width: 52%;
    height: 62%;
    left: 22%;
    top: 0;
    z-index: 2;
    opacity: 1;
    
}
.progetti.hero .box-cont-img-small .box-img-small.due{
    width: 46%;
    height: 46%;
    right: 0;
    bottom: 0%;
    z-index: 1;
    opacity: 1;
    
}
.progetti.hero .box-cont-img-small .box-img-small.tre{
    width: 38%;
    height: 50%;
    left: 0;
    bottom: 6%;
    z-index: 3;
    opacity: 1;
    
}


.progetti .box-area-txt{
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    /* top: 0;
    right: 0;
    bottom: 0;
    left: 0; */
    /* padding-top: var(--topbar-h, 56px); */
    z-index:2;
}

.progetti .box-area-txt h1{
    font-size: clamp(72px, 12vw, 160px);
    font-weight: 220;
    text-align: start;
    line-height: 90%;
    color: white;
    margin: 0;
    padding: 0;
    margin-top: 30px;
    text-transform: none;
    letter-spacing: var(--ls-hero);
    text-align: center;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}
.progetti .box-pp{
    display: flex;
    flex-direction: column;
    align-items: end;
    margin-bottom: 30px;
    
}
.progetti .box-paragrafo{
    width: 100%;
    display: flex;
   
    align-items: flex-end;
    justify-content: end;
    padding: 0 var(--hero-pad-x) var(--hero-pad-bottom) var(--hero-pad-x);

}
.progetti .box-paragrafo > *{
    margin-left: 0;
    padding-left: 0;
}
.progetti .box-paragrafo p{
    color: var(--color-txt);
    font-size: clamp(20px, 1.4vw, 24px);
    font-weight: 200;
    letter-spacing: clamp(0em, 0.02vw, 0.03em);
    line-height: 115%;
    text-align: left;
    margin: 0;
    color: white;
}
.progetti .box-button{
    width: 650px;
    display: flex;
    justify-content: flex-start;
}

/* =================================== PROGETTI CENTO ================================== */

.progetti.cento{
    min-height: 100svh;
    height: 100vh;
    padding: 0;
    background: var(--color-txt);
    color: #f4e8e8;
    position: relative;
    z-index: 2;
}
.progetti.cento .container{
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
}
.progetti.cento .box-number{
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -55%);
    text-align: center;
}
.progetti.cento .box-number h2{
    font-size: clamp(140px, 26vw, 520px);
    font-weight: 200;
    letter-spacing: -0.04em;
    line-height: 90%;
    color: inherit;
}
.progetti.cento .box-label{
    position: absolute;
    left: clamp(180px, 25vw, 350px);
    top: clamp(510px, 58vh, 800px);
}
.progetti.cento .box-label p{
    font-size: clamp(28px, 5vw, 90px);
    font-weight: 200;
    line-height: 92%;
    letter-spacing: -0.02em;
    color: inherit;
}
.progetti.cento .box-cta{
    position: absolute;
    z-index:4;
    left: calc(50% + clamp(140px, 14vw, 220px));
    top: calc(50% - clamp(250px, 24vh, 350px));
}
.progetti.cento .button-plus{
    width: clamp(90px, 9vw, 130px);
    height: clamp(50px, 6vw, 72px);
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.6);
    background: rgba(255, 255, 255, 0.05);
    color: #f4e8e8;
    font-size: clamp(26px, 3vw, 40px);
    font-weight: 200;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}
@media screen and (max-width: 1200px) {
.progetti.cento .box-label{
    left: clamp(100px, 19vw, 220px);
    top: clamp(510px, 58vh, 800px);
    }
    .progetti.cento .box-cta{
        left: calc(50% + clamp(160px, 15vw, 220px));
        top: calc(50% - clamp(110px, 38vh, 213px));
    }
}
@media screen and (max-width: 1025px) {
    .progetti.cento .box-number h2{
        font-size: clamp(140px, 36vw, 520px);
    }
    .progetti.cento .box-label{
        left: clamp(100px, 10vw, 200px);
    }
    .progetti.cento .box-label p{
        font-size: clamp(28px, 7vw, 90px);
    }
    .progetti.cento .box-cta{
        left: calc(50% + clamp(160px, 20vw, 220px));
        top: calc(50% - clamp(160px, 22vw, 220px));
    }
    .progetti.cento .button-plus{
        width: clamp(90px, 12vw, 130px);
        height: clamp(50px, 8vw, 72px);
        font-size: clamp(26px, 4vw, 40px);
    }
}
@media screen and (max-width: 630px){
    .progetti.cento .box-cta{
        left: calc(50% + clamp(94px, 20vw, 180px));
        top: calc(50% - clamp(135px, 11vw, 293px));
    }
}
@media screen and (max-width: 445px){
    .progetti.cento .box-cta{
        left: calc(50% + clamp(94px, 20vw, 180px));
        top: calc(50% - clamp(135px, 11vw, 293px));
    }
    .progetti.cento .box-label{
        top:clamp(510px, 57vh, 800px);
    }
}
@media screen and (max-width: 430px){
    .progetti.cento .box-cta{
        left: calc(50% + clamp(74px, 9vw, 140px));
        top: calc(50% - clamp(125px, 11vw, 293px));
    }
}


.progetti.progetti-in-corso{
    width: 100vw;
    height: auto;
    min-height: calc(100svh - var(--topbar-h, 56px));
    align-items: flex-start;
    flex-direction: column;
    overflow: visible;
    padding: 0;
    margin: 0;
    --line-x: 0;
}
.progetti.progetti-in-corso .container{
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    }
.progetti.progetti-in-corso .box-progetti{
    width: 100%;
    height: auto;
    display: flex;   
    align-items: flex-start;
    border-bottom: none;
    position: relative;
    --line-x: 0;
    --line-y: 0;
}
.progetti.progetti-in-corso .box-progetti::after{
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 1px;
    background: var(--color-txt);
    transform: scaleX(var(--line-x, 0));
    transform-origin: left;
    pointer-events: none;
}
.progetti.progetti-in-corso .box-progetti::before{
    content: "";
    position: absolute;
    top: 0;
    left: 40%;
    width: 1px;
    height: 100%;
    background: var(--color-txt);
    transform: scaleY(var(--line-y, 0));
    transform-origin: top;
    pointer-events: none;
    z-index: 2;
}
.progetti.progetti-in-corso .box-progetti > div:first-child{
    width: 40%;
    border-right: none;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
    position: relative;
    min-height: calc(100svh - var(--topbar-h, 56px));
    align-self: stretch;
    z-index: 1;
    overflow: visible;
   
    }
.progetti.progetti-in-corso .box-progetti > div:last-child{
    width: 60%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    position: relative;
    z-index: 0;
}
.progetti.progetti-in-corso .box-progetti .box-left .box-title{
    width: 100%;
    height: auto;
    padding: 42px 0 0 42px;
    
}
.progetti.progetti-in-corso .box-progetti .box-left .box-title h1{
    font-size: 60px;
    font-weight: 300;
    line-height: 95%;
    letter-spacing: -0.02em;
    color: var(--color-txt) ;
}
.progetti.progetti-in-corso .box-progetti .box-left .box-paragrafo{
    width: 100%;
    height: auto;
    margin-top: 320px;
    padding: 0 42px 42px 42px;
    align-self: flex-end;
    text-align: right;
    
}
.progetti.progetti-in-corso .box-progetti .box-left .box-paragrafo p{
    font-size: 20px;
    font-weight: 300;
    line-height: 120%;
    letter-spacing: 0em;
    color: var(--color-txt);
}
.progetti.progetti-in-corso .box-progetti .box-right .box-item{
    width: 100%;
    height: auto;
    display: flex;
    justify-content: start;
    gap: 25px;
    padding:35px 42px 35px 35px;
    border-bottom: none;
    position: relative;
    --line-x: 0;
}
.progetti.progetti-in-corso .box-progetti .box-right .box-item::after{
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 1px;
    background: var(--color-txt);
    transform: scaleX(var(--line-x, 0));
    transform-origin: left;
    pointer-events: none;
}
.progetti.progetti-in-corso .box-progetti .box-right .box-item.uno::before{
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 1px;
    background: var(--color-txt);
    transform: scaleX(var(--line-x, 0));
    transform-origin: left;
    pointer-events: none;
}
.progetti.progetti-in-corso .box-progetti .box-right .box-item:last-child{
    border-bottom: none;
}
.progetti.progetti-in-corso .box-progetti .box-right .box-item:last-child::after{
    display: none;
}

    
.progetti.progetti-in-corso .box-right .box-item .media{
    width: 335px;
    height: 266px;
    display: flex;
    justify-content: center;
    align-items: center;
    
}
.progetti.progetti-in-corso .box-right .box-item .media img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    
    
    }
.progetti.progetti-in-corso .box-right .box-item .content-text{
    display: flex;
    flex-direction: column;
    width: 60%;
    height: auto;
    
    justify-content: space-between;
}
.progetti.progetti-in-corso .box-right .box-item .content-text .box-title h2{
    font-size: 38px;
    font-weight: 300;
    line-height: 98%;
    letter-spacing: 0.04em;
    color: var(--color-txt);
}

.progetti.progetti-in-corso .box-right .box-item .box-button{
    width: auto;
    height: auto;
    
    display: flex;
    align-items: flex-end;
    }
.progetti.progetti-in-corso .box-right .box-item .content-text .box-info p{
    font-size: 16px;
    font-weight: 300;
    line-height: 140%;
    letter-spacing: 0em;
    color: grey;
}
.progetti.progetti-in-corso .box-right .box-item .box-button .row-top{
    width: 65px;
    height: 65px;
    display: flex;
    justify-content: center;    
    align-items: center;
    border-style: none;
    background: none;
    cursor: pointer;
    text-decoration: none;
    transition: transform 0.2s ease, opacity 0.2s ease;
}
.progetti.progetti-in-corso .box-right .box-item .box-button .row-top:hover{
    transform: scale(0.9);
    opacity: 0.6;
}
.progetti.progetti-in-corso .box-right .box-item .box-button .row-top img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media screen and (max-width: 1025px) {
    .progetti.progetti-in-corso .box-right .box-item{
        align-items: stretch;
    }
    .progetti.progetti-in-corso .box-right .box-item .media{
        width: clamp(200px, 26vw, 260px);
        height: auto;
        aspect-ratio: 266 / 335;
        flex: 0 0 auto;
    }
    .progetti.progetti-in-corso .box-right .box-item .content-text{
        width: auto;
        flex: 1 1 auto;
        min-width: 0;
    }
    .progetti.progetti-in-corso .box-right .box-item .content-text .box-info{
        margin-top: auto;
    }
    .progetti.progetti-in-corso .box-progetti .box-left .box-title h1{
        font-size: clamp(35px, 4.7vw, 48px);
        font-weight: 300;
    }
    .progetti.progetti-in-corso .box-right .box-item .content-text .box-title h2{
        font-size: clamp(22px, 3.2vw, 28px);
    }
    .progetti.progetti-in-corso .box-right .box-item .box-button .row-top{
        width: calc(65px * 0.7);
        height: calc(65px * 0.7);
    }
    .progetti.progetti-in-corso .box-right .box-item .content-text .box-info p{
        font-size: calc(16px * 0.85);
    }
    .progetti.progetti-in-corso .box-progetti .box-left .box-paragrafo p{
        font-size: calc(20px * 0.85);
    }
    .progetti.progetti-in-corso .box-progetti .box-left .box-paragrafo{
        text-align: left;
        position: absolute;
        left: 32px;
        right: auto;
        width: calc(100% - 64px);
        bottom: 50px;
        margin-top: 0;
        padding: 0;
        box-sizing: border-box;
    }
    .progetti.progetti-in-corso .box-progetti .box-left .box-title{
        padding-left: 32px;
    }
    .progetti.progetti-in-corso .box-progetti{
        align-items: flex-start;
    }
    .progetti.progetti-in-corso .box-progetti > div:first-child{
        height: calc(100svh - var(--topbar-h, 56px));
    }
}

@media screen and (max-width: 980px) {
    
    .progetti.progetti-in-corso .box-progetti{
        flex-direction: column;
    }
    .progetti.progetti-in-corso .box-progetti::before{
        display: none;
    }
    .progetti.progetti-in-corso .box-progetti > div:first-child,
    .progetti.progetti-in-corso .box-progetti > div:last-child{
        width: 100%;
        min-height: 100svh;
        align-self: stretch;
    }
    .progetti.progetti-in-corso .box-progetti .box-left .box-title{
        width: 60%;
        padding-top:56px;
        padding-left: 30px;
        
    }
    .progetti.progetti-in-corso .box-progetti .box-left .box-title h1{
        letter-spacing: -1%;
        line-height: 100%;
        font-size: clamp(42px, 5.6vw, 58px);
    }
    .progetti.progetti-in-corso .box-progetti .box-left .box-paragrafo{
        width: 40%;
        display: flex;
        justify-content: flex-end;
        position: relative;
        left: auto;
        right: 30px;
        bottom: 50px;
        margin-top: auto;
        align-self: flex-end;
    }
}

@media screen and (max-width: 430px) and (min-width: 390px){
    .progetti.progetti-in-corso .box-progetti .box-left .box-paragrafo p{
        font-size: calc(20px * 0.85 * 0.85);
    }
}

@media screen and (max-width: 550px) {
    .progetti.progetti-in-corso .box-right .box-item{
        display: flex;
        flex-direction: column;
        gap: 16px;
    }
    .progetti.progetti-in-corso .box-right .box-item .box-title h2,
    .progetti.progetti-in-corso .box-right .box-item .content-text .box-title h2{
        font-size: clamp(28px, 6.5vw, 38px);
        line-height: 100%;
        margin-bottom: 20px;
        letter-spacing: -0.02em;
    }
    .progetti.progetti-in-corso .box-right .box-item .media{
        width: 100%;
        max-width: 100%;
        aspect-ratio: 266 / 335;
    }
    .progetti.progetti-in-corso .box-right .box-item .content-text{
        gap: 4px;
        justify-content: flex-start;
        margin-top: -20px;
    }
    .progetti.progetti-in-corso .box-right .box-item .content-text .box-info{
        margin-top: 0;
    }
    .progetti.progetti-in-corso .box-right .box-item .box-button{
        align-self: flex-end;
    }
}









/* ===================================                 =================================
   ================================  PROGETTO POLLICA   ==================================
   ===================================                 ================================= */

    /* --------COVER POLLICA ----------- */


.pagina-progetto.cover{
    position: relative;
    width: 100%;
    display: block;
    padding: 0;
    min-height: 100svh;
    height: 100svh;
    align-items: stretch;
    overflow: hidden;
    /* padding: 0 42px 0 42px; */
    
    }
.pagina-progetto.cover .container{
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    /* max-width: 1400px; */
    margin: 0 auto;
    padding-top: calc(var(--topbar-h, 56px));
    /* gap: 22px; */
    }
.pagina-progetto.cover .box-title{
    width: 100%;
    height: 40%;
    display: flex;
    justify-content: space-between;
    align-items: end;
    padding: 0 42px 0 42px;
    
    
    }
.pagina-progetto.cover .box-title h1{
    margin: 0;
    font-size: clamp(50px, calc(50px + 50 * ((100vw - 800px) / 640)), 100px);
    font-weight: 300;
    letter-spacing: -0.02em;
    color: var(--color-txt);
    line-height: 100%;
    margin-bottom: 42px;
    }

.pagina-progetto.cover .media{
    width: 100%;
    height: 60%;
    overflow: hidden;
    border-radius: 2px;
    padding: 0 42px;
    }
.pagina-progetto.cover .media-track{
    display: flex;
    width: 100%;
    height: 100%;
    gap: 42px;
    will-change: transform;
}
.pagina-progetto.cover .media-slide{
    flex: 0 0 100%;
    height: 100%;
    /* border: solid 2px red; */
  
}
.pagina-progetto.cover .media-slide img{
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    }
.pagina-progetto.cover .box-button-row{
    margin-bottom: 25px;
}


/* ====================== PAGINA: PROGETTO ====================== */
/* SECTION: TEXT SPACE PROGETTO - GLOBAL */

.pagina.progetto.index.text-space{
    --project-left-col: clamp(320px, 42%, 900px);
    --project-right-col: calc(100% - var(--project-left-col));
    padding: 0;
    margin: 0;
    display: flex;
    align-items: start;
    /* border: solid 2px rgb(255, 0, 0); */
    height: 60svh;
    min-height: 0;
}

.pagina.progetto.index.text-space .container{
    height: 100%;
}
.pagina.progetto.text-space .box-container{
    border-bottom: 1px solid var(--color-txt);
    border-top: 1px solid var(--color-txt);
    margin-top: 46px;
}
.pagina.progetto.text-space .box-left{
    padding: 20px 0 0 42px;
}
.pagina.progetto.text-space .box-right{
    padding: 25px 0px 0 12px;
    border-left: 1px solid var(--color-txt);
}
.pagina.progetto.index.text-space .box-container .box-left{
    width: var(--project-left-col);
    flex: 0 0 var(--project-left-col);
}
.pagina.progetto.index.text-space .box-container .box-right{
    width: var(--project-right-col);
    flex: 1 1 var(--project-right-col);
    min-width: 0;
}
.pagina.progetto.index.text-space .box-right{
    align-items: stretch;
}
.pagina.progetto.index.text-space .box-right .paragraph-area{
    padding: 0 clamp(12px, 2.5vw, 42px) 0 clamp(16px, 2vw, 22px);
}
.pagina.progetto.text-space .paragraph-area{
    display: flex;
    justify-content: start;
    /* margin-top: 20px; */
}
.pagina.progetto.text-space .title h1{
    font-size: clamp(48px, calc(48px + 12 * ((100vw - 800px) / 640)), 60px);
}
.pagina.progetto.text-space .paragraph-area p{
    letter-spacing: 0;
    font-size: clamp(17.6px, calc(17.6px + 4.4 * ((100vw - 800px) / 640)), 22px);
    font-weight: 300;
}
.pagina.progetto.index.text-space .paragraph-area,
.pagina.progetto.index.text-space .paragraph-area p{
    display: block;
    width: 100%;
    max-width: none;
    min-width: 0;
}
.pagina.progetto.index.text-space .paragraph-area p{
    text-wrap: normal;
    hyphens: none;
}
.pagina.progetto.index.text-space .paragraph-area br{
    display: none;
}
.pagina.progetto.text-space .box-left .img-area{
    width: 100%;
    height: auto;
    display: flex;
    justify-content: start;
    align-items: start;    
}
.pagina.progetto.text-space .box-left .img-area img{
    width: 63%;
    height: auto;
    object-fit: cover;
}
.pagina.progetto.text-space .box-counter{
    /* border: solid 2px red; */
    border-bottom: none;
    /* padding: 17px 42px 17px 42px; */
    height: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: var(--project-right-col, 58.9%);
    /* background: #589fd9; */
    position: absolute;
    left: auto;
    top:auto;
    right: 0;
    bottom: 0;
    padding: 0;
    /* border-top: solid 1px rgba(0, 0, 0, 0.582); */
}
.pagina.progetto.text-space .box-counter>div{
    flex: 1;
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0;
    padding: 15px 0 15px 0;
    border-right: solid 1px var(--color-txt);
}
.pagina.progetto.text-space .box-counter .label-counter p{
    font-size: 22px;
    text-align: center;
    color: var(--color-txt);
}
.pagina.progetto.text-space .box-counter .label-counter .description{
    font-size:14px;
    color: #6A6A6A;
}
.pagina.progetto.index.text-space .box-counter .label-counter.tre{
    border: none;
}
.pagina.progetto.text-space .box-counter .label-counter.uno,
.pagina.progetto.text-space .box-counter .label-counter.tre{
    align-items: center;
}
.pagina.progetto.text-space .box-counter .label-counter.uno .description,
.pagina.progetto.text-space .box-counter .label-counter.tre .description{
    padding-left: 0;
    padding-right: 0;
}

/* SECTION: TEXT SPACE PROGETTO - MAX-WIDTH 1222PX */
@media screen and (max-width: 1222px) {
    .pagina.progetto.index.text-space{
        --project-left-col: clamp(32%, calc(13.048% + 2.369vw), 42%);
        --project-right-col: calc(100% - var(--project-left-col));
    }
    .pagina.progetto.index.text-space .box-counter{
        width: var(--project-right-col);
    }
}

/* SECTION: TEXT SPACE PROGETTO - MAX-WIDTH 820PX */
@media screen and (max-width: 820px){
    .pagina.progetto.text-space .box-container{
        border-bottom: none;
    }
    .pagina.progetto.text-space .box-counter{
        --line-scale: 0;
    }
    .pagina.progetto.text-space .box-counter > div{
        position: relative;
        border-right: none;
    }
    .pagina.progetto.text-space .box-counter > div:not(:last-child)::after{
        content: "";
        position: absolute;
        top: 0;
        right: 0;
        width: 1px;
        height: 100%;
        background: var(--color-txt);
        transform: scaleY(var(--line-scale, 0));
        transform-origin: top;
    }
}

/* SECTION: TEXT SPACE PROGETTO - MAX-WIDTH 757PX */
@media screen and (max-width: 757px){
    .pagina.progetto.text-space .box-counter{
        width: 100%;
        left: 0;
        right: 0;
        box-sizing: border-box;
    }
    .pagina.progetto.index.text-space .box-container .box-right{
        width: 100%;
    }
    .pagina.progetto.index.text-space{
        height: auto;
        min-height: auto;
        padding-bottom: clamp(31px, 10.12vw, 56px);
    }
    .pagina.progetto.index.text-space .box-container{
        display: flex;
        flex-direction: column;
        margin-top: 0;
        border: none;
        order: 2;
    }
    .pagina.progetto.index.text-space .box-counter{
        position: relative;
        width: 100%;
        margin: 0 0 30px 0;
        padding: 0 30px;
        left: auto;
        right: auto;
        top: auto;
        bottom: auto;
        box-sizing: border-box;
        order: 1;
        
    }
    .pagina.progetto.text-space .box-counter{
        position: relative;
        width: 100%;
    }
    .pagina.progetto.text-space .box-counter{
        align-items: stretch;
    }
    .pagina.progetto.text-space .box-counter > div{
        align-self: stretch;
    }
    .pagina.progetto.index.text-space .title{
        width: 100%;
    }
    .pagina.progetto.text-space .title h1{
        font-size: clamp(28px, 9.796vw, 48px);
        letter-spacing: -2%; 
    }
    .pagina.progetto.index.text-space .title h1{
        white-space: nowrap;
    }
    .pagina.progetto.text-space .box-counter .label-counter p {
        font-size: 16px;
        line-height: 100%;
        order: 2;
    }
    .pagina.progetto.text-space .box-counter .label-counter .description{
        margin-bottom: clamp(6.4px, 1.633vw, 8px);
        order: 1;
    }
    .pagina.progetto.text-space .box-counter .label-counter.due{
        margin-top: 0;
        padding-top: clamp(13.6px, 3.469vw, 17px);
    }
    .pagina.progetto.index.text-space .box-left .title{
        margin-bottom: clamp(16px, 4.082vw, 20px);
    }
    .pagina.progetto.text-space .paragraph-area p{
        font-size: 16px;
        text-align: left;
        text-justify: auto;
        hyphens: none;
        text-wrap: normal;
    }
    .pagina.progetto.index.text-space .paragraph-area p{
        line-height: 100%;
    }
    .pagina.progetto.index.text-space .box-right .paragraph-area p{
        text-align: left;
        text-justify: auto;
        hyphens: none;
        text-wrap: normal;
    }
}

 /* --------SLIDE GALLERY  ----------- */

.pagina-progetto.slide-gallery{
    position: relative;
    width: 100%;
    display: block;
    padding: 0;
    min-height: 100svh;
    height: 100svh;
    align-items: stretch;
    overflow: hidden;
    /* padding: 0 42px 0 42px; */
    /* margin-bottom: 46px; */
    /* border: solid 2px blue; */
    }
.pagina-progetto.slide-gallery .container{
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    /* max-width: 1400px; */
    margin: 0 auto;

    padding-top: 46px;
    /* gap: 22px; */
    }
.pagina-progetto.slide-gallery .media{
    width: 100%;
    height: 60%;
    overflow: hidden;
    border-radius: 2px;
    padding: 0 42px;
    }
.pagina-progetto.slide-gallery .media-track{
    display: flex;
    width: 100%;
    height: 100%;
    gap: 42px;
    will-change: transform;
}
.pagina-progetto.slide-gallery .media-slide{
    flex: 0 0 100%;
    height: 100%;
}
.pagina-progetto.slide-gallery .media img{
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    }
.pagina-progetto.slide-gallery .box-txt-btn{
    position: relative;
    display: flex;
    /* border: solid 1px red; */
    justify-content: space-between;
    height: 52%;
    
    border-top: none;
    margin-top: -1px;
    
    margin-top: 46px;
}

.pagina-progetto.slide-gallery .box-txt-btn::before{
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--color-txt);
    top: 0;
}
.pagina-progetto.slide-gallery .box-txt-btn .box-left{
    width: 60%;
    padding: 42px 42px 0 42px;
}
.pagina-progetto.slide-gallery .box-txt-btn .box-right{
    width: 40%;
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
    padding:42px 42px 0 42px;
    border-left: 1px solid var(--color-txt);
}
.pagina-progetto.slide-gallery .box-txt-btn .box-right .box-button-row{
    margin-left: auto;
}
.pagina-progetto.slide-gallery .box-txt-btn p{
    font-weight: 300;
    font-size: clamp(17.6px, calc(17.6px + 4.4 * ((100vw - 800px) / 640)), 22px);
}
.pagina-progetto.slide-gallery .box-txt-btn .area-txt{
    padding-bottom: 400px;
    /* border: solid 1px red; */
}
.pagina-progetto.slide-gallery .line-bottom{
    width: 100%;
    height: 1px;
    background: #1e1e1e;
    opacity: 0.7;
    margin-top: 42px;
    }
.pagina-progetto.slide-gallery .line-bottom.due{
    margin-top: 0;
}
.pagina-progetto .box-button-row{
    display: flex;
    flex-direction: row;
    gap: 2px;
}
.pagina-progetto .row{
    background: var(--color-txt);
    height: 52px;
    width: 120px;
    border-radius: 4px;
    border-style: none;
    color: white;
    cursor: pointer;
    display: flex;
    justify-content: start;
    align-items: center; 
    padding-left: 10px;
    }
.pagina-progetto .row:hover{
    background: rgb(1, 8, 213);
}
.pagina-progetto .row.right{
    border-radius: 4px;
    justify-content: end;
    padding-right: 10px;
    }
.pagina-progetto .row img {
    scale: 0.5;
    }
.pagina-progetto .row.left img{
    transform: rotate(180deg);
    }

/* -----CANTIERE GALLERY----- */

.pagina-progetto.slide-cantiere{
    position: relative;
    width: 100%;
    display: block;
    padding: 0;
    min-height: 77svh;
    height: auto;
    overflow: hidden;
    }
.slide-cantiere .container{
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 24px;
    min-height: 77svh;
    margin-top: 0;
    padding: 42px 0;
    border-top: solid 1px var(--color-txt);
    border-bottom: solid 1px var(--color-txt);
    }
.slide-cantiere .box-title{
    padding: 0 42px 150px 62px;
}
.slide-cantiere .box-title h1{
    font-size: clamp(48px, calc(48px + 12 * ((100vw - 800px) / 640)), 60px);
    letter-spacing: -3%;
    font-weight: 250;
    margin: 0;
}
.pagina-progetto.slide-cantiere .box-title.uno{
    overflow: hidden;
}
.pagina-progetto.slide-cantiere .box-title.uno h2{
    display: flex;
    gap: 24px;
    white-space: nowrap;
    margin: 0;
    will-change: transform;
    color: rgb(127, 127, 127);
    font-weight: 150;
}
.pagina-progetto.slide-cantiere .box-title.uno img{
    opacity: 0.6;
}

.pagina-progetto.slide-cantiere .box-title.uno h2 span{
    display: inline-block;
}
.slide-cantiere .box-media{
    width: 100%;
    display: flex;
    gap: 16px;
    overflow-x: auto;
    overflow-y: hidden;
    margin-top: auto;
    padding: 0 42px;
    cursor: grab;
    touch-action: pan-y;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}
.pagina-progetto.slide-cantiere .box-media.uno{
    display: block;
    overflow: hidden;
    cursor: grab;
    padding-left: 0;
}
.pagina-progetto.slide-cantiere .box-media.uno .box-media-track{
    display: flex;
    gap: 16px;
    width: max-content;
    will-change: transform;
}
.slide-cantiere .box-bottom{
    display: flex;
    justify-content: flex-end;
    padding: 26px 52px 0 0;
}
.slide-cantiere .box-media::-webkit-scrollbar{
    display: none;
}
.slide-cantiere .box-media.is-dragging{
    cursor: grabbing;
}
.slide-cantiere .box-media img{
    flex: 0 0 auto;
    width: clamp(260px, 40vw, 560px);
    height: clamp(200px, 40vh, 380px);
    object-fit: cover;
    user-select: none;
    -webkit-user-drag: none;
    pointer-events: none;
}
.index.pagina-progetto.slide-cantiere .box-media img{
    width: clamp(182px, 28vw, 392px);
    height: clamp(140px, 28vh, 266px);
}





/* SECTION: TEXT SPACE NEXT PROJECT - GLOBAL */

.pagina.progetto.index.text-space.next-project .box-container{
    display: flex;
    align-items: stretch;
    height: 100%;
    margin-top: 0;
}
.pagina.progetto.index.text-space.next-project .box-left{
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding: clamp(20px, calc(20px + 22 * ((100vw - 800px) / 640)), 42px);
    height:auto;
    position: relative;
}
.pagina.progetto.index.text-space.next-project .box-left .title{
    height: auto;
}
.pagina.progetto.index.text-space.next-project .box-left .title h1{
    font-size: clamp(30px, calc(30px + 30 * ((100vw - 800px) / 640)), 60px);
    font-weight: 110%;
    white-space: normal;
    overflow-wrap: break-word;
    
}
.pagina.progetto.index.text-space.next-project .box-right{
    /* border: solid 1px rgb(43, 0, 255); */
    padding:0;
    margin: 0;
    height: 100%;
    
}
.pagina.progetto.index.text-space.next-project .box-button{
    margin-bottom: 0;
    position: absolute;
    right: 22px;
    bottom: 42px;
}
.pagina.progetto.index.text-space.next-project .img-area{
    /* border: solid 1px red; */
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 42px
}
.pagina.progetto.index.text-space.next-project .img-area img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.pagina.progetto.index.text-space.next-project{
    
    padding-bottom: 0;
    margin-bottom: 0;
    height: auto;
    min-height: 0;
}

/* SECTION: TEXT SPACE NEXT PROJECT - MAX-WIDTH 1265PX */
@media screen and (max-width: 1265px) {
    .pagina.progetto.index.text-space.next-project .box-left{
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        
    }
    .pagina.progetto.index.text-space.next-project .box-button{
        display: flex;
        justify-content: start;
        padding-left: 26px;
        position: relative;
        left: auto;
        top: auto;
        bottom: 0;
        
    }
}

/* SECTION: TEXT SPACE NEXT PROJECT - MAX-WIDTH 1200PX */
@media screen and (max-width: 1200px) {
    .pagina.progetto.index.text-space.next-project .box-button{
        padding-left: 21px;
    }
}

/* SECTION: TEXT SPACE NEXT PROJECT - MAX-WIDTH 904PX */
@media screen and (max-width: 904px) {
    .pagina.progetto.index.text-space.next-project .box-left .title,
    .pagina.progetto.index.text-space.next-project .box-left .title h1{
        margin-top: 0;
        
    }
}

/* SECTION: TEXT SPACE NEXT PROJECT - MAX-WIDTH 757PX */
@media screen and (max-width: 757px){
    .pagina.progetto.index.text-space.next-project .title h1{
        font-size: clamp(28px, 9.796vw, 48px);
        font-weight: 250;
    }
    .pagina.progetto.index.text-space.next-project .img-area{
        padding: clamp(33.6px, 8.571vw, 42px) clamp(24px, 6.122vw, 30px);
    }
    .pagina.progetto.index.text-space.next-project .box-button{
        position: relative;
        right: 0;
        margin: 0;
        margin-top: clamp(32px, 8.163vw, 40px);
    }
}

/* SECTION: TEXT SPACE NEXT PROJECT - MAX-WIDTH 750PX */
@media screen and (max-width: 755px){
    .pagina.progetto.index.text-space.next-project .box-left .title{
        padding-left: 30px;
        width: 50%;
        height: auto;

    }
    .pagina.progetto.index.text-space.next-project .box-left .title h1{
        line-height: 100%;
    }
    .pagina.progetto.index.text-space.next-project .box-left{
        width: 100%;
    }
}


/* ====================== PAGINA: SOSTENIBILITA' ====================== */
    

/* ===== ScrollSmoother base ===== */
#smooth-wrapper{
    overflow: hidden;
    }
#smooth-content{
    overflow: visible;
    position: relative;
    }

.sostenibilità{
    width: 100vw;
    height: auto;
    min-height: calc(100svh - var(--topbar-h, 56px));
    align-items: flex-start;
    flex-direction: column;
    overflow: visible;
    padding: 0;
    margin: 0;
    }
.sostenibilità .container{
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: flex-start;

    }
.sostenibilità .title{
    width: 100%;
    height: auto;
    display: flex;
    justify-content: flex-start;
    padding: 110px 0 0 42px;
    }
.sostenibilità .title h1{
    font-size: calc(80px * 1);
    font-weight: 300;
    line-height: 80%;
    letter-spacing: -0.04em;
    color: var(--color-txt);
    margin: 0;
    }
.sostenibilità .box-button{  
    width: 100%;
    display: flex;
    }
.sostenibilità .box-button img{
    transform: scale(0.9);
}
.sostenibilità .box-button.uno{
    justify-content: flex-end;
    padding-right: 42px;
    margin-top: 130px;
    }
.sostenibilità .box-media{
    width: 100%;
    height: 710px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 95px;
    overflow: hidden;
    }
.sostenibilità .box-media img{
    width: 100%;
    height: 120%;
    object-fit: cover;
    display: block;
    }
.sostenibilità:not(.carriere) .title-uno{
    width: 100%;
    height: auto;
    display: flex;
    justify-content: flex-end;
    padding: 0 42px 0 42px;
    margin-top: 10px;
    }
.sostenibilità .title-uno h2{
    font-size: 60px;
    letter-spacing: -0.03em;
    font-weight: 300;
    line-height: 100%;
    color: var(--color-txt);
    }
.sostenibilità .box-button.due{
    margin-top: 257px;
    padding-left: 42px;
    }
@media screen and (max-width: 436px) {
    .sostenibilità .title{
        padding: 80px 0 0 30px;
    }
    .sostenibilità .title h1{
        line-height: 90%;
        letter-spacing: -1%;
        
    }
    .sostenibilità .title-uno h2{
        line-height: 100%;
        letter-spacing: -1%;
    }
    
}

/* -----------------------sostenibilita due-------------------------- */

.sostenibilità.due .title{
    width: 100%;
    height: auto;
    margin-top: 74px;
    padding: 52px 0 125px 42px;
    position: relative;
    border-top: none;
    border-bottom: none;
    }
.sostenibilità.due .title::before,
.sostenibilità.due .title::after{
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--color-txt);
    transform: scaleX(var(--line-scale, 0));
    transform-origin: left;
}
.sostenibilità.due .title::before{
    top: 0;
}
.sostenibilità.due .title::after{
    bottom: 0;
}
.sostenibilità.due .title h1{
    font-size: 60px;
    font-weight: 300;
    line-height: 90%;
    letter-spacing: -0.03em;
    color: var(--color-txt);
    margin: 0;
    }
.sostenibilità.due .item{
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    padding: 49px 42px;
    gap: 59px;  
    border-bottom: solid 1px var(--color-txt);  
    }
.sostenibilità.due .item > div:last-child {   
    width: 80%;
    height: auto;
    padding-left: 210px;
    }

@media screen and (max-width: 1700px) {
    .sostenibilità.due .item{
        display: grid;
        grid-template-columns: minmax(220px, 26%) 1fr;
        gap: clamp(32px, 4vw, 59px);
        align-items: start;
    }
    .sostenibilità.due .item > div:last-child{
        width: auto;
        padding-left: 0;
    }
}
.sostenibilità.due .item h3{
    font-size: 28px;
    font-weight: 400;
    line-height: 100%;
    letter-spacing: -0.02em;
    color: var(--color-txt);  
    }
.sostenibilità.due .item p{
    font-size: 20px;
    font-weight: 300;
    color: var(--color-txt);   
    }

/* sostenibilita tre  */


.sostenibilità.tre .media{
    width: 100%;
    height: 710px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    }
.sostenibilità.tre .media img{
    width: 100%;
    height: 120%;
    object-fit: cover;
    }
.sostenibilità.tre .title{
    padding: 48px 0 0 42px;
}
.sostenibilità.tre .title h1{
    line-height: 95%;
}
.sostenibilità.tre .box-button{
    width: 100%;
    display: flex;
    justify-content: flex-end;
    margin-top: 95px;  
    margin-right: 42px;
    }
.sostenibilità.tre .box-button .button-general{
    width: 450px;
    margin-bottom: 95px;
    margin-right: 42px;
    }
/* Popup politica ambientale */
.modal-overlay{
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(10, 10, 10, 0.25);
    backdrop-filter: blur(8px);
    z-index: 9999;
    overscroll-behavior: contain;
    }
.modal-overlay.is-open{
    display: flex;
    }
html.modal-open,
body.modal-open{
    overflow: hidden;
}
.modal-panel{
    width: min(720px, 92vw);
    min-height: 320px;
    background: #d8e6ef;
    border-radius: 18px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    position: relative;
    }
.modal-overlay.ambientale-modal{
    padding: 32px;
    box-sizing: border-box;
    }
.modal-overlay.ambientale-modal .modal-panel{
    width: min(860px, 92vw);
    height: min(72vh, 640px);
    max-height: calc(100vh - 120px);
    background: #ffffff;
    border-radius: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 24px 28px;
    margin: 0 auto;
    overflow: hidden;
    }
.modal-overlay.ambientale-modal .modal-body{
    flex: 1;
    width: 100%;
    border-radius: 16px;
    overflow: hidden;
    background: #fff;
    min-height: 0;
    }
.modal-overlay.ambientale-modal .ambientale-doc{
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
    }
.modal-overlay.ambientale-modal .ambientale-actions{
    display: flex;
    justify-content: flex-end;
    }
.modal-overlay.cert-modal .modal-panel{
    width: min(80vw, 1200px);
    height: 80vh;
    min-height: 0;
    background: #f7f2e9;
    border-radius: 30px;
    display: flex;
    flex-direction: column;
    padding: 56px 24px 24px;
}
.modal-overlay.cert-modal .modal-body{
    flex: 1;
    width: 100%;
    border-radius: 20px;
    overflow: hidden;
    background: #fff;
    position: relative;
}
.modal-overlay.cert-modal .cert-pdf{
    width: 100%;
    height: 100%;
    border: 0;
    display: none;
}
.modal-overlay.cert-modal .cert-placeholder{
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: #5a5750;
    background: #fdfaf4;
}
.modal-overlay.map-modal{
    padding: 24px;
    box-sizing: border-box;
}
.modal-overlay.map-modal .modal-panel{
    width: min(1000px, 94vw);
    height: min(70vh, 720px);
    max-height: calc(100vh - 120px);
    background: #ffffff;
    border-radius: 24px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}
.modal-overlay.map-modal .modal-body{
    flex: 1;
    width: 100%;
    border-radius: 18px;
    overflow: hidden;
    background: #fff;
    min-height: 0;
}
.modal-overlay.map-modal .map-iframe{
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}
.modal-overlay.company-profile-modal{
    padding: 24px;
    box-sizing: border-box;
}
.modal-overlay.company-profile-modal .modal-panel{
    width: min(1000px, 94vw);
    height: min(80vh, 760px);
    max-height: calc(100vh - 120px);
    background: #ffffff;
    border-radius: 24px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}
.modal-overlay.company-profile-modal .modal-body{
    flex: 1;
    width: 100%;
    border-radius: 18px;
    overflow: hidden;
    background: #fff;
    min-height: 0;
}
.modal-overlay.company-profile-modal .company-profile-doc{
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}
.modal-overlay.company-profile-modal .company-profile-actions{
    display: flex;
    justify-content: flex-end;
    padding: 16px 20px 20px;
    background: #ffffff;
}
.modal-overlay.organigramma-modal .modal-panel{
    width: min(860px, 92vw);
    height: 80vh;
    max-height: 80vh;
    min-height: 0;
    background: #f7f2e9;
    border-radius: 24px;
    display: flex;
    flex-direction: column;
    padding: 28px 32px;
    overflow: hidden;
}
.modal-overlay.organigramma-modal .modal-body{
    flex: 1;
    width: 100%;
    overflow-y: auto;
    min-height: 0;
    margin-top: 12px;
    padding-right: 6px;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
}
.modal-overlay.organigramma-modal #organigramma-modal-title{
    font-size: clamp(20px, 2.2vw, 28px);
    font-weight: 500;
    margin: 0;
    color: var(--color-txt);
}
.modal-overlay.organigramma-modal .organigramma-cv{
    font-size: clamp(16px, 1.6vw, 18px);
    line-height: 1.55;
    color: var(--color-txt);
}
.modal-overlay.organigramma-modal .organigramma-cv p{
    margin: 0 0 16px 0;
}
.modal-close{
    position: absolute;
    top: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid rgba(0, 0, 0, 0.12);
    background: #ffffff;
    cursor: pointer;
    font-size: 22px;
    line-height: 1;
    color: #1f1f1f;
    z-index: 10;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.18);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    }

@media screen and (max-width: 1025px) {
    .sostenibilità .title h1,
    .sostenibilità.due .title h1,
    .sostenibilità.tre .title h1{
        font-size: calc(60px * 0.9);
    }
    .sostenibilità .title-uno h2{
        font-size: calc(60px * 0.9);
    }
    .sostenibilità .title{
        padding: 110px 32px 0 32px;
    }
    .sostenibilità.tre .title{
        padding: 88px 32px 0 32px;
    }
    .sostenibilità .box-button.uno{
        padding-right: 32px;
        margin-top: 200px;
        margin-bottom: 50px;
    }
    .sostenibilità .box-media{
        margin-top: 0;
    }
    .sostenibilità:not(.carriere) .title-uno{
        padding: 0 32px;
        margin-top: 10px;
        width: 100%;
        margin-left: 0;
        justify-content: flex-start;
        box-sizing: border-box;
    }
    .sostenibilità .box-button.due{
        padding-left: 32px;
    }
    .sostenibilità.tre .box-button .button-general{
        width: calc(450px * 0.8);
    }
    .sostenibilità.carriere .box-button.uno{
        margin-bottom: 50px;
    }
    .sostenibilità.carriere .title-uno h2{
        font-size: calc(60px * 0.765);
    }
    .sostenibilità.carriere .title-uno{
        width: 100%;
        margin-left: 0;
        margin-right: 0;
        padding-left: 32px;
        padding-right: 32px;
    }
    .sostenibilità.carriere.uno .box-left .box-title h3{
        font-size: calc(45px * 0.85);
    }
    .sostenibilità.carriere.due .box-header h2{
        font-size: calc(45px * 0.85);
    }
    .sostenibilità.carriere.due .box-paragrafo{
        padding-left: 20px;
        box-sizing: border-box;
    }
    .sostenibilità.carriere.due .box-paragrafo p{
        font-size: 20px;
        line-height: 120%;
        letter-spacing: -1%;
        font-weight: 300;
        margin-bottom: 50px;
    }
    .sostenibilità.carriere.uno.copia .box-panel-cta .button-general{
        min-width: calc(clamp(180px, 16vw, 320px) * 0.8);
        min-height: calc(56px * 0.8);
        font-size: calc(clamp(16px, 1.2vw, 22px) * 0.8);
        padding: calc(8px * 0.8) calc(16px * 0.8);
        gap: calc(15px * 0.8);
    }
    .sostenibilità.carriere.uno.copia .box-panel-cta .button-general img{
        height: calc(23px * 0.8);
    }
    .sostenibilità.due .item{
        display: grid;
        grid-template-columns: minmax(180px, 28%) 1fr;
        gap: 32px;
        padding: 32px;
    }
    .sostenibilità.due .item > div:last-child{
        width: auto;
        padding-left: 0;
    }
}

/* sostenibilita.html meobile 436 px  */

@media screen and (max-width: 436px) {
    
    .sostenibilità .title h1,
    .sostenibilità .title-uno h2{
        font-size: calc(80px*0.6);
        line-height: 95%;
        letter-spacing: 0.02em;
    }
    .sostenibilità .title-uno{
        width: 100%;
    }
    .sostenibilità .title-uno h2{
        line-height: 100%;
        margin-top: 42px;
    }
    .sostenibilità .box-button.due{
        margin-top: 50px;
    }
    .sostenibilità.due .title{
        padding: 42px 30px 42px 30px;
    }
    .sostenibilità.due .title h1{
        font-size: calc(80px*0.6);
        line-height: 90%;
        letter-spacing: 0.02em;
    }
    .sostenibilità.due .item{
        display: flex;
        flex-direction: column;
        padding: 42px 30px 42px 30px;
    }
    .sostenibilità.due .item .title-item{
        padding-bottom: 32px;
    }
    .sostenibilità.due .item p{
        font-size: calc(20px*0.9);
    }
    .sostenibilità.tre .title{
        padding: 45px 30px 0 30px;
    }
    .sostenibilità.tre .title h1{
        font-size: calc(80px*0.6);
        line-height: 100%;
        letter-spacing: 0.02em;
    }
}

@media screen and (max-width: 426px) and (min-width: 390px) {
    .sostenibilità.tre .box-button{
        justify-content: flex-start;
        margin-right: 0;
        padding-left: 30px;
    }
    .sostenibilità.tre .box-button .button-general{
        width: calc(450px * 0.8 * 0.8);
        min-height: calc(56px * 0.8);
        font-size: calc(clamp(16px, 1.2vw, 22px) * 0.8);
        padding: calc(8px * 0.8) calc(16px * 0.8);
    }
    .sostenibilità.tre .box-button .button-general img{
        height: calc(26px * 0.8);
    }
}

/* carriere.html stack 750px */
@media screen and (max-width: 750px) {
    .sostenibilità.carriere.uno .box-valori{
        display: flex;
        flex-direction: column;
    }
    .sostenibilità.carriere.due .box-valori{
        display: flex;
        flex-direction: column;
    }
    .sostenibilità.carriere.due .box-valori >div {
        flex: none;
    }
    .sostenibilità.carriere .box-header{
        padding-bottom: 42px;
    }
    .sostenibilità.carriere.tre .box-valori .box-right{
        display: none;
    }
    .carriere-vertical-line{
        display: none;
    }
}

/* carriere.html mobile 436px */

@media screen and (max-width: 436px) {
    .sostenibilità.carriere .title-uno h2{
        font-size: calc(80px*0.5);
        line-height: 95%;
        letter-spacing: 0.02em;
    }
    .sostenibilità.carriere.uno .box-left .box-title h3{
        font-size: calc(45px*0.7);
    }
    .sostenibilità.carriere.uno .box-valori{
        display: flex;
        flex-direction: column;
    }
    .sostenibilità.carriere.uno .box-left{
        padding: 30px 0 0 30px
    }
    .sostenibilità.carriere.uno .box-right .box-header{
        padding-left: 30px;
        padding-right: 30px;
        min-height: 100px;
    }
    .carriere.uno .box-right .box h4{
        font-size: calc(28px*0.7);
    }
    .sostenibilità.carriere.due .box-valori{
        display: flex;
        flex-direction: column;
    }
    .sostenibilità.carriere.due .box-valori >div {
        flex:none
    }
    .sostenibilità.carriere.due .box-valori .box-left{
        padding:42px 30px 0 30px;
    }
    .sostenibilità.carriere.due .box-valori .box-right{
        padding:42px 30px 0 30px;
    }
    .sostenibilità.carriere.due .box-valori .box-right h2{
        padding: 0;
        font-size: calc(45px*0.7);
    }
    .sostenibilità.carriere.due .box-valori .box-right .box-paragrafo{
        padding: 0;
        margin-top: 40px;
    }
    .sostenibilità.carriere.due .box-valori .box-right .box-paragrafo p{
        font-size: calc(20px*0.9);
    }
    .sostenibilità.carriere.uno.copia .box-title.uno{
        margin-bottom: 30px;
    }
    .sostenibilità.carriere.uno.copia .box-title.uno h4{
        font-size: calc(35px*0.7);
    }
    .sostenibilità.carriere.tre .box-valori .box-left{
        padding: 42px 30px 42px 30px;
    }
    .sostenibilità.carriere.tre .box-valori .box-left .box-button{
        width: 100%;
        transform: translateX(-1px);
    }
}

/* ===================================                 =================================
    =================================       CARRIERE    ==================================
   ===================================                 ================================= */

/* --------------------------------------CARRIERE ------------------------- */

.sostenibilità.carriere .box-media{
    height: 1155px;
    }
.sostenibilità.carriere .title-uno{
    justify-content: flex-start;
    padding-top: clamp(20px, calc(20px + 36 * ((100vw - 360px) / 1040)), 56px);
    padding-right: clamp(30px, calc(30px + 12 * ((100vw - 360px) / 1040)), 42px);
    padding-left: clamp(30px, calc(30px + 12 * ((100vw - 360px) / 1040)), 42px);
    }
.sostenibilità.carriere .box-button.uno{
    margin-bottom: 95px;
}

/* --------------------------------------CARRIERE UNO------------------------- */

.sostenibilità.carriere.uno{
    min-height: 0;
    }
.sostenibilità.carriere .box-valori{
    width:100%;
    height: auto;
    min-height: 400px;
    display: flex;
    position: relative;
    border-bottom: none;
    border-top: none;
    --line-top-scale: 0;
    --line-bottom-scale: 0;
    }
.sostenibilità.carriere .box-valori::before,
.sostenibilità.carriere .box-valori::after{
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--color-txt);
    transform-origin: left;
}
.sostenibilità.carriere .box-valori::before{
    top: 0;
    transform: scaleX(var(--line-top-scale, 0));
}
.sostenibilità.carriere .box-valori::after{
    bottom: 0;
    transform: scaleX(var(--line-bottom-scale, 0));
}
.sostenibilità.carriere .box-valori >div{
    flex:1;
    }
.carriere .box-left{
    border-right: none;
    padding: 42px;
    }

.carriere-vertical-line{
    position: absolute;
    top: 0;
    height: 0;
    width: 1px;
    background: var(--color-txt);
    transform-origin: top;
    transform: scaleY(0);
    pointer-events: none;
    z-index: 1;
}
.carriere .box-left .box-title h3{
    font-size: 45px;
    font-weight: 300;
    line-height: 100%;
    letter-spacing: -0.03em;
    color: var(--color-txt);
    }
.sostenibilità.carriere .box-button.due{
    margin-bottom: 56px;
}
.carriere.uno .box-right{
    width:100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    }
.carriere.uno .box-right .box{
    position: relative;
    border-bottom: none;
    display: flex;
    flex-direction: column;
    }
.carriere.uno .box-right .box::after{
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 1px;
    background: var(--color-txt);
    transform-origin: left;
    transform: scaleX(var(--line-scale, 0));
}
.carriere.uno .box-right .box:last-child{
    border-bottom: none;
    }
.carriere.uno .box-right .box:last-child::after{
    display: none;
}
.carriere.uno .box-right .box-header{
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 42px;
    min-height: 120px;
    }
.carriere.uno .box-right .box h4{
    font-size: 28px;
    font-weight: 300;
    line-height: 100%;
    letter-spacing: -0.03em;
    color: var(--color-txt);
    }
.carriere.uno .box-right .box-toggle{
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    color: var(--color-txt);
    }
.carriere.uno .box-right .box-toggle .plus{
    display: inline-block;
    font-size: 40px;
    font-weight: 100;
    line-height: 1;
    transition: transform 0.25s ease;
    transform-origin: center;
    }
.carriere.uno .box-right .box.is-open .box-toggle .plus{
    transform: rotate(45deg);
    }
.carriere.uno .box-right .box-panel{
    width: 100%;
    height: 0;
    overflow: hidden;
    background: #ffffff;
    padding: 0 42px;
    transition: height 0.3s ease, padding 0.3s ease;
    overscroll-behavior: contain;
    }
.carriere.uno .box-right .box.is-open .box-panel{
    height: 300px;
    padding: 24px 42px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    }
.carriere.uno .box-panel-cta{
    margin-top: 16px;
    display: flex;
    justify-content: flex-start;
    }

/* --------------------------------------CARRIERE DUE------------------------- */
.sostenibilità.carriere.due{
    min-height: 940px;
    width: 100%;
    }
.sostenibilità.carriere.due .container{
    min-height: inherit;
    }
.sostenibilità.carriere.due .box-valori{
    min-height: inherit;
    height: auto;
    padding: 0;
    margin: 0;
    border-top: none;
    }
.sostenibilità.carriere .box-media{
    height: 48%;
    width: 100%;
    
    padding: 0;
    margin: 0;
    }
.sostenibilità.carriere.due .box-left{
    padding:42px;
}
.sostenibilità.carriere.due .box-right{
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    }
.sostenibilità.carriere.due .box-header h2{
    font-size: 45px;
    font-weight: 300;
    line-height: 100%;
    letter-spacing: -0.03em;
    color: var(--color-txt);
    padding: 42px 0 0 42px;
    }
.sostenibilità.carriere.due .box-paragrafo{
    width: 100%;
    height: auto;
    display: flex;
    justify-content: flex-end;
    padding-right:42px;
    padding-left: 42px;
    }
.sostenibilità.carriere.due .box-paragrafo p{
    font-size: 22px;
    font-weight: 300;
    color: var(--color-txt);
    margin-bottom: 95px;
    }


/* --------------------------------------CARRIERE UNO COPIA------------------------- */


.sostenibilità.carriere.uno.copia .box-valori{
    border-top: none;
    min-height: 0;
}
.sostenibilità.carriere.uno.copia .box-left{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: start;
}
.sostenibilità.carriere.uno.copia .box-valori{
    border-top: none;
    
}
.sostenibilità.carriere.uno.copia .box-left .box-title h4{
    font-size: 35px;
    font-weight: 300;
    line-height: 90%;
    letter-spacing: -0.03em;
    color: var(--color-txt);
}
.carriere.uno.copia .box-panel h4{
    font-size: 30px;
}

.carriere.uno.copia .box-panel .ptre{
    font-weight: 400;
}
.sostenibilità.carriere.uno.copia .box-right .box.is-open .box-panel{
    padding: 24px 42px 48px 42px;
}
.sostenibilità.carriere.uno.copia .box-panel-cta{
    margin-top: 36px;
    margin-bottom: 24px;
}


/* --------------------------------------CARRIERE TRE------------------------- */
.sostenibilità.carriere.tre{
    height: auto;
    min-height: 0;
    padding-bottom: 0;
}
.sostenibilità.carriere.tre .box-valori{
    border-top: none;

    }
.sostenibilità.carriere.tre .box-valori .box-left{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: start;
    margin: 0;
    padding: 42px 42px 42px 42px
    }
.sostenibilità.carriere.tre .box-paragrafo p{
    font-size: 16px;
    font-weight: 300;
    color: grey;
}
.sostenibilità.carriere.tre .box-valori .box-left .box-button{
    margin: 0;
    padding: 0; 
    width: 100%;
    height: auto;
    display: flex;
    justify-content: flex-end;
    transform: translateX(82px);
}
.sostenibilità.carriere.tre .box-valori .box-left .box-button .button-general{
    margin: 0;
}

@media screen and (max-width: 1000px){
    .sostenibilità.carriere.tre .box-valori .box-left .box-button{
        justify-content: flex-start;
        transform: translateX(0);
    }
}


.sostenibilità.carriere.tre .box-valori .box-right .box-media{
    height: 100%;
    width: 100%;
    padding: 0;
}
.sostenibilità.carriere.tre .box-valori .box-right{
    padding: 42px 42px 42px 134px;
    box-sizing: border-box;
    


}
@media screen and (max-width: 1280px) and (min-width: 1026px) {
    .pagina.progetto .box-button .button-general{
        gap: 12px;
    }
}

 /* progetti-realizzati.html mobile 436px */
@media screen and (max-width: 436px){
    
    /* .box-progetti{
        display: flex;
        flex-direction: column;
        
    } */
    .box-progetti .box-left{
        width: 100%;
    }
}

/* SECTION: PROGETTO COVER + SLIDE - MAX-WIDTH 757PX */

@media screen and (max-width: 757px){
    .pagina-progetto.cover .box-title{
        display: flex;
        flex-direction: column;
        align-items: start;
        padding: 42px 30px 0 30px;
    }
    .pagina-progetto.cover .box-title h1{
        font-size: clamp(30px, 10.205vw, 50px);
    }
    .pagina-progetto.cover .box-button-row{
        scale:0.8;
        margin-left: clamp(-20px, -4.082vw, -16px);
    }
    .pagina-progetto.cover .media {
        padding: 0 30px;
    }
    .pagina-progetto.cover .media-slide{
        height: 91%;
        margin-top: clamp(16px, 4.082vw, 20px);
    }
    .pagina-progetto.slide-gallery .container{
        padding-top: 0;
    }
    .pagina-progetto.slide-gallery .media{
        padding: 0 clamp(24px, 6.122vw, 30px);
    }

    .pagina-progetto.slide-gallery .box-txt-btn{
        display: flex;
        flex-direction: column;
        justify-content: start;
        margin-top: 0;
        border: none;
        height: 31%;
        
    }
    .pagina-progetto.slide-gallery .media-track{
        gap: calc(clamp(30px, 8.571vw, 42px) * 0.8);
    }
    .pagina-progetto.slide-gallery .box-txt-btn::before{
        content: none;
        display: none;
    }
    .pagina-progetto.slide-gallery .box-txt-btn .box-left {
        width: 100%;
        padding: clamp(33.6px, 8.571vw, 42px) 0 0 0;
    }
    .pagina-progetto.slide-gallery .box-txt-btn .box-left p{
        font-size: 16px;
        font-weight: 200;
    }
    .pagina-progetto.slide-gallery .box-txt-btn .area-txt{
        width: 100%;
        max-width: none;
        padding-bottom: 0;
    }
    .pagina-progetto.slide-gallery .box-txt-btn .box-right{
        /* border: solid 1px red; */
        height: auto;
        padding: 0;
        width: 100%;
        justify-content: start;
        display: flex;
        padding-left: clamp(24px, 6.122vw, 30px);
        margin-top: clamp(32px, 8.163vw, 40px);

    }
    .pagina-progetto.slide-gallery .box-txt-btn .box-right .box-button-row{
        justify-content: start;
        width: 100%;
        transform: scale(0.8);
        margin-left: clamp(-73px, -10.18vw, -36px)
    }
    .pagina-progetto.slide-gallery .box-txt-btn .box-right{order: 1;}
    .pagina-progetto.slide-gallery .box-txt-btn .box-left{order: 2}

    

    .pagina-progetto.slide-cantiere .box-title{
        padding-bottom: clamp(24px, 6.122vw, 30px);
        padding-left: clamp(19px, 9.12vw, 29px);
    }
    .pagina-progetto.slide-cantiere .box-title h1{
        font-size: clamp(28px, 9.796vw, 48px);
        letter-spacing: -2%;
    }
    .slide-cantiere .box-bottom{
        justify-content: start;
        padding-left: clamp(24px, 10.12vw, 41px);
    }
}

/* SECTION: PROGETTO SLIDE GALLERY - MAX-WIDTH 755PX */
@media screen and (max-width: 755px){
    .pagina-progetto.slide-gallery .box-txt-btn .area-txt{
        padding-left: 30px;
        padding-right: 30px;
    }
}








































    
