:root{
    --color-bg:#fefdfd;
    --color-text:black;
    --color-white:#ffffff;
    --border-width:2px;
    --border-style:solid;
    --radius-small:6px;
    --radius-medium:10px;
    --radius-large:12px;
    --shadow-light:0 4px 10px rgba(0,0,0,0.1);
}


.hero-image img{
    width:100%;
    border-radius:var(--radius-large);
    box-shadow:var(--shadow-light);
}
.title-with-underline{
    display:inline-block;
    text-align:center;
    position:relative;
}
.title-with-underline h2{
    margin-bottom:8px;
}
.title-underline{
    display:block;
    margin:0 auto;
    width:260px;
}
.section-app{
    padding:80px 33px;
    text-align:center;
}
.app-options{
    margin-top:40px;
    display:flex;
    justify-content:center;
    gap:40px;
}
.app-card{
    background:var(--primary-color);
    border:var(--border-width) var(--border-style) var(--primary-color);
    border-radius:var(--radius-large);
    width:180px;
    text-align:center;
}
.app-card img{
    width:122px;
    margin-bottom:16px;
}
.app-card p{
    font-size:22px;
    font-weight:600;
    color:var(--color-white);
}
.section-newsletter{
    background-color:var(--primary-color);
    color:var(--color-bg);
    padding:37px 83px;
    text-align:center;
}
.section-newsletter h2{
    color:var(--color-bg);
}
.section-grow{
    padding:37px 83px;
    text-align:center;
}
.section-grow a{
    color:var(--primary-color);
    font-weight:600;
    text-decoration:underline;
}

.decorazione-verde{
    position:absolute;
    top:9%;
    right:3%;
    width:120px;
    height:auto;
}
.decorazione-azzurra{
    position:absolute;
    top:8%;
    left:3%;
    width:120px;
    height:auto;
}
.section-newsletter,.section-grow{
    position:relative;
    overflow:hidden;
}
.servizi-hero{
    display:flex;
    justify-content:space-between;
    align-items:center;
    background:url("/assets/servizi/Background_carta_e_bianco.png") no-repeat center center / cover;
    width:100%;
    min-height:100vh;
    padding:0;
    margin:0;
}
.servizi-hero .left-col{
    padding-left:3rem;
    padding-top:3rem;
    max-width:50%;
}
.servizi-hero .left-col *{
    margin:0.25rem;
}
.servizi-hero .right-col{
    display:flex;
    justify-content:center;
    align-items:center;
    max-width:50%;
}
.servizi-hero .right-col img{
    width:100%;
    height:auto;
    object-fit:contain;
}
@media (max-width: 768px){
    .servizi-hero{
        flex-direction:column;
        aspect-ratio:auto;
        text-align:center;
        background:url("/assets/servizi/Background_carta.png") no-repeat center center / cover;
    }
    .servizi-hero .left-col{
        max-width:100%;
        padding:1rem;
    }
    .servizi-hero .right-col{
        max-width:100%;
    }
    .servizi-hero .right-col img{
        content:url("/assets/servizi/Immagine_servizi.png");
        margin-right: 16%;
    }

    
}
@media (max-width: 1066px){
    .servizi-hero{
        display:flex;
        flex-direction:column;
        justify-content:center;
        align-items:center;
        text-align:center;
        background:url("/assets/servizi/Background_carta.png") no-repeat center center / cover;
        min-height:auto;
    }
    .servizi-hero .left-col{
        max-width:100%;
    }
    .servizi-hero .right-col{
        max-width:80%;
    }
    .servizi-hero .right-col img{
        content:url("/assets/servizi/Servizi_accorpata.png");
        width: 73%;
    }
}
@media (max-width: 782px){
    .app-options{
        margin-top:40px;
        display:flex;
        gap:40px;
        flex-direction:row;
        flex-wrap:wrap;
        align-items:center;
    }
    .decorazione-azzurra{
        display:none;
    }
    .decorazione-verde{
        display:none;
    }

}




@media (max-width: 1066px) {
    .hero-container {
        background: 
            url(/assets/homepage/cerchio-bianco-mobile.png) no-repeat center bottom / 100% auto,
            url(/assets/homepage/sfondo_carta.png) no-repeat center center / 100% 100%;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding-bottom: 1rem;
    }
}



@media (max-width: 362px){
.title-underline {

    width: 78px !important;
}
}


@media screen and (min-width: 769px) and (max-width: 1066px) {
    .servizi-hero .right-col img {
      
        margin-right: 10%;
    }
}
