/*Common*/ 
#sector {
    position: relative;
    overflow: hidden;
}
#sector .ellipse {
    position: absolute;
    width: 547px;
    height: 547px;
    background: var(--color-green);
    filter: blur(500px);
    right: -250px;
    bottom: 300px;
    z-index: -1;
}
#sector.service-page .ellipse {
    display: none;
}

.hero {
    width: 100%;
    margin: 0 auto;
    position: relative; 
    overflow-y: visible;
}
.hero .gradient {
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
    opacity: 0.4;
    background: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, 0) 100%);
}
.service-page .hero .gradient,
#about-us .hero .gradient {
    opacity: 0.7;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)), linear-gradient(180deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0) 100%);
}
.hero img {
    width: 100%;
    min-height: 500px;
    max-height: 600px;
    object-fit: cover;
}
.hero img.blur {
    position: absolute;
    filter: blur(40px);
    top: 0px;
    left: 0;
    z-index: -1;
}
.hero .max-width {
    margin: auto;
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
}
.hero h1 {
    font-weight: 800;
    font-size: 19px;
    line-height: 22px;
    text-transform: uppercase;
    color: var(--color-green);
}
.hero h2 {
    font-weight: 200;
    font-size: 55px;
    line-height: 65px;
    color: var(--color-white);
    margin-top: 24px;
}
.hero .scroll-down {
    position: absolute;
    left: 45%;
    bottom: 0;
    height: 60px;
    font-weight: 700;
    font-size: 15px;
    line-height: 25px;
    color: var(--color-white);
    padding-left: 10px;
    border-left: 2px solid var(--color-white);
}
.paragraph {
    margin-top: 66px;
    margin-bottom: 66px;
}
.service-page .paragraph {
    margin-bottom: 0;
}
.paragraph p {
    font-weight: 400;
    font-size: 16px;
    line-height: 30px;
    color: var(--color-black);
    margin: 0;
}
.paragraph .contacts-wrapper {
    height: 100%;
    padding-left: 72px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-left: 1px solid var(--color-light-grey);
}
.paragraph .contacts-wrapper h3,
.contacts-mobile .contacts-wrapper h3 {
    font-weight: 700;
    font-size: 21px;
    line-height: 45px;
    color: var(--color-dark-grey);
}
.paragraph .contacts-wrapper .contacts,
.contacts-mobile .contacts-wrapper .contacts {
    font-weight: 400;
    font-size: 15px;
    line-height: 141%;
    color: var(--color-dark-grey);
}
.paragraph .contacts-wrapper .contacts .city,
.contacts-mobile .contacts-wrapper .contacts .city {
    font-weight: 600;
}
.paragraph .contacts-wrapper .contacts a,
.contacts-mobile .contacts-wrapper .contacts a {
    display: block;
    color: var(--color-dark-grey);
}
.paragraph .contacts-wrapper .contacts .email,
.contacts-mobile .contacts-wrapper .contacts .email {
    color: var(--color-green);
    margin-top: 20px;
}
.hero-sector-services {
    margin-top: 102px;
    margin-bottom: 102px;
}
.hero-sector-services .center-vertical,
.hero-services-services .center-vertical {
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.hero-sector-services h2,
.hero-services-services h2 {
    font-weight: 200;
    font-size: 35px;
    line-height: 45px;
    color: var(--color-black);
    margin-bottom: 16px;
}
.hero-sector-services ul,
.hero-services-services ul {
    list-style: inherit;
    padding-left: 20px;
}
.hero-sector-services ul li,
.hero-services-services ul li {
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 22px;
    color: var(--color-black);
    margin-top: 14px;
}
.hero-sector-services ul li::marker,
.hero-services-services ul li::marker {
    color: var(--color-light-grey-5);
}
.hero-sector-services img {
    width: 100%;
}
#sector .related-wrapper {
    background: var(--color-white-3);
    padding: 97px 0;
}
#sector.service-page .related-wrapper {
    background: transparent;
}
#sector .suggested-properties h2 {
    font-weight: 200;
    font-size: 35px;
    line-height: 35px;
    color: var(--color-black);
    margin-bottom: 56px;
}
.service-page .banner.type-a {
    margin-top: 66px;
}

/*Servizi*/
.hero-services-services-wrapper {
    background-position: left bottom;
    background-size: contain;
    background-repeat: no-repeat;
    padding: 110px 0 80px 0;
    position: relative;
}
.hero-services-services-wrapper .gradient {
    position: absolute;
    width: 100%;
    height: 100px;
    top: 0;
    background: linear-gradient(180deg, var(--color-white) 0%, rgba(255, 255, 255, 0) 100%);
}
.hero-services-services-wrapper img {
    width: 100%;
}

@media screen and (max-width: 1220px) {
    .hero h2 {
        font-size: 48px;
        line-height: 55px;
    }
}

@media screen and (max-width: 1199px) {
    .hero-sector-services {
        position: inherit;
        flex-direction: column;
        margin: 80px 0 64px 0;
    }
    .hero-sector-services img,
    .hero-services-services img {
        display: flex;
        max-width: 100%;
        margin-top: 56px;
    }
    .hero-sector-services .overlay {
        position: inherit;
        max-width: 90%;
        padding: 3.813rem 3.188rem;
        box-shadow: 0px 0px 89px rgb(0 0 0 / 20%);
        margin-top: -30%;
    }
    .hero-sector-services .overlay h2 {
        font-size: 30px;
        line-height: 34px;
    }
    .hero-sector-services .overlay ul li {
        font-size: 15px;
        line-height: 20px;
    }
    .hero-services-services .content {
        margin-left: 10%;
    }
    .hero-services-services .images-wrapper img {
        max-width: 350px;
        width: 100%;
    }
}

/* TABLET */
@media screen and (max-width: 991px) {
    .hero h2 {
        font-size: 42px;
        line-height: 50px;
    }
    .paragraph p {
        padding-right: 40px;
    }
    .paragraph .contacts-wrapper {
        padding-left: 40px;
    }
}

/* MOBILE */
@media screen and (max-width: 767px) {
    .hero {
        width: 100%;
        height: 600px;
    }
    .hero h2,
    #about-us .hero .max-width h2 {
        font-size: 38px;
        line-height: 40px;
    }
    .hero img {
        width: 100%;
        height: 600px;
        object-fit: cover;
    }
    .hero .max-width {
        top: 32%;
    }
    .hero .scroll-down {
        left: 50%;
        transform: translateX(-50%);
    }

    .paragraph {
        margin-top: 43px;
    }
    .paragraph h2 {
        max-width: 100%;
        margin-top: 30px; 
        margin-bottom: 50px;
        margin-right: 15%;
        font-size: 25px;
        line-height: 34px;
    }
    #about-us .paragraph h2 {
        margin-right: 0;
        max-width: 100% !important;
    }

    .paragraph p {
        font-size: 16px;
        line-height: 30px;
        padding-right: 0;
    }
    .contacts-mobile .contacts-wrapper {
        margin-bottom: 64px;
        padding-left: 0;
        border-left: none;
    }
    #about-us .contacts-mobile .contacts-wrapper {
        margin-top: 64px;
    }

    #sector .suggested-properties {
        margin-bottom: 50px;
    }
    #sector .suggested-properties h2 {
        margin-bottom: 28px;
    }
    #sector .suggested-properties .properties-grid {
        flex-wrap: nowrap;
        overflow: scroll;
        padding: 25px 13.75px;
        margin-left: -25px;
        margin-right: -25px;
    }
    #sector .suggested-properties .properties-grid > div {
        width: 90%;
    }
    #sector .suggested-properties .properties-grid .gallery .image {
        height: 55vw;
    }
    #sector .suggested-properties .properties-grid .property-info {
        height: calc(100% - 55vw);
    }
    #sector .ellipse {
        bottom: 30%;
    }

    .hero-services-services-wrapper {
        padding-top: 90px;
        padding-bottom: 0px;
        background: none !important;
    }
    .hero-services-services {
        margin-bottom: 64px !important;
    }
    .hero-services-services .content {
        margin-left: 0;
        margin-top: 90px;
    }
    .hero-services-services .images-wrapper img {
        max-width: 80%;
        height: 330px;
        object-fit: cover;
    }
    #sector.service-page .ellipse {
        display: block;
    }
    .hero-services-services-wrapper .gradient {
        display: none;
    }

    #sector .related-wrapper {
        padding: 48px 0;
    }
    #sector.service-page .related-wrapper {
        padding-top: 0;
    }
    #sector.sector-page .banner.type-b {
        margin-top: 48px;
    }
}
/*Sectors*/
