/* ----- Hero ----- */
.hero{
    width: 100%;
    height: 275vh;
    position: relative;
    background: var(--color-light);
}
.hero .img-wrapper{
    width: 66.5%;
    height: 50vh;
    top: 50vh;
    left: auto;
    right: 0;
    position: fixed !important;
    overflow: hidden;
    z-index: 1;
}
.hero .img-wrapper img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.hero .img-wrapper::before{
    content: '';
    width: 100%;
    height: 100%;
    opacity: .24;
    background: var(--color-dark);
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0;
}
.hero .text-mask{
    width: 66.5vw;
    height: 50vh;
    top: 50vh;
    right: 0;
    position: absolute;
    z-index: 2;
}
.hero .text-mask .h0{
    width: 136.6rem;
    max-width: calc(100vw - 6.4rem);
    position: absolute;
    top: -21vh;
    right: 50vw;
    transform: translate(50%, 0);
}
.hero .text-mask .mask{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 2;
}
.hero .text-mask .mask .h0{
    color: var(--color-light);
}
.hero .content{
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  width: 100%;
  height: 100vh;
  padding-bottom: 104px;
}
.hero .content .cf-title,
.hero .content .cf-title_outline{
    font-size: clamp(4rem, 6.75vw, 9.6rem);
    line-height: 0.95;
    color: var(--color-dark);
    font-family: var(--font-heading);
    font-weight: 400;
    padding-right: 30rem;
}
.hero .content .h0,
.hero .content .cf-title_outline{
  margin: 0;
  -webkit-text-stroke: 1px var(--color-light);
}
.hero .content .cf-title_outline,
.hero .content div.h0{
  position: absolute;
  color: transparent;
  z-index: 2;
transform: translate(0, -52px);
}
.hero .content .button{
  margin-top: 6.4rem;
}
/* ----- Intro ----- */
/*.intro{
    min-height: 100vh;
    padding-block: 6.4rem;
}
.intro .img-wrapper{
    position: absolute;
    height: calc(100% - 6.4rem);
    top: 6.4rem;
    overflow: hidden;
    width: 41.5%;
    left: 0;
}
.intro .img-wrapper::before{
  content: '';
  width: 100%;
  height: 100%;
  background: var(--color-dark);
  opacity: .48;
  position: absolute;
}
.intro .img-wrapper img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.intro .text-mask{
    position: absolute;
    height: calc(100% - 6.4rem);
    top: 6.4rem;
    width: 41.5%;
}
.intro .text-mask .h0{
    width: 136.6rem;
    max-width: 108rem;
    position: absolute;
    top: 4.8rem;
    left: calc(50vw + 8rem);
    transform: translate(-50%, 0);
}
.intro .text-mask .mask{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 2;
}
.intro .text-mask .mask .h0{
    color: var(--color-light);
}
.intro .content{
    height: 100%;
    min-height: calc(100vh - 12.8rem);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}
.intro .h0{
    width: calc(100% - 22rem);
    margin: 0;
    margin-left: auto;
    -webkit-text-stroke: 1px var(--color-light);
}
.intro div.h0{
  position: absolute;
  color: transparent;
  z-index: 2;
  transform: translate(22rem, -123%);
  max-width: calc(136.6rem - 22rem);
}
.intro .editable_content{
    width: calc(58.5% - 1.6rem);
    margin-left: auto;
}
.intro .editable_content .grid p{
    text-align: justify;
}*/
/* ----- Apart ----- */
.apart{
    padding: 16rem 3.2rem;
}
.apart ul{
    list-style: none;
    margin: 2rem 0 0;
    border-top: .1rem solid hsla(0 0% 0% / .24);
}
.apart ul li{
    margin: 0;
    padding-block: 1.6rem;
    border-bottom: .1rem solid hsla(0 0% 0% / .24);
    position: relative;
    z-index: 1;
}
.apart ul li:hover{
    z-index: 2;
}
.apart ul li .img-wrapper{
    z-index: -1;
    aspect-ratio: 1 / 1;
    width: 16rem;
    background: var(--color-main);
    opacity: 0;
    transition: var(--animate-medium);
    position: absolute;
    top: 50%;
    left: 2.4rem;
    transform: translate(0 , -50%);
}
.apart ul li:hover .img-wrapper{
    z-index: 1;
    opacity: 1;
}
.apart ul li .img-wrapper img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}
/* ----- Services ----- */
.services{
    position: relative;
    z-index: 1;
    padding: 0;
}
.services::after{
    content: '';
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background: linear-gradient(to bottom, transparent, var(--color-dark));
    opacity: .16;
    z-index: 0;
}
.services .content{
    max-width: 100%;
}
.services .content .flex{
    position: relative;
    gap: 0;
    padding: 0 3.6rem;
    min-height: 72rem;
}
.services .card{
    border-right: 1px solid hsla(67 33% 91% / .44);
    width: 25%;
    flex-grow: 1;
    transition: var(--animate-medium);
    text-decoration: none;
}
.services .card:first-child{
    border-left: 1px solid hsla(67 33% 91% / .44);
}
.services .card:hover{
    width: 50%;
}
.services .card .img-wrapper{
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    opacity: 0;
    z-index: 0;
    transition: var(--animate-medium);
}
.services .card .img-wrapper img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.services .card .img-wrapper::after{
    content: '';
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background: var(--color-dark);
    opacity: .48;
}
.services .card:hover .img-wrapper{
    opacity: 1;
}
.services .card .content-wrapper{
    position: relative;
    width: 100%;
    height: 100%;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 4.8rem 2.4rem 2.4rem;
    backdrop-filter: blur(0px);
}
.services .card:hover .content-wrapper{
    background: hsla(180 20% 4% / .4);
    backdrop-filter: blur(8px);
    justify-content: space-between;
}
.services .card .content-wrapper h3{
    color: var(--color-light);
    font-size: 2.4rem;
    line-height: 1;
    transition: var(--animate-medium);
}
.services .card:hover .content-wrapper h3{
    font-size: 5.6rem;
}
.services .card .content-wrapper h3 a{
    color: var(--color-light);
}
.services .card .content-wrapper .button{
    display: none;
}
.services .card .content-wrapper .content-inner{
    display: flex;
    height: 0;
    opacity: 0;
    overflow: hidden;
    gap: 1.6rem;
    justify-content: space-between;
    align-items: flex-end;
    transition: var(--animate-medium);
}
.services .card:hover .content-wrapper .content-inner{
    height: calc(1.6rem * 1.4 * 7);
    opacity: 1;
}
.services .card .content-wrapper p{
    text-align: justify;
    color: var(--color-light);
    margin: 0 0 0;
    width: 34rem;
    height: 0;
    opacity: 0;
    overflow: hidden;
    transition: var(--animate-medium);
}
.services .card:hover .content-wrapper p{
    margin: auto 0 0;
    height: calc(1.6rem * 1.4 * 7);
    opacity: 1;
}
.services .card .content-wrapper .content-inner a.button{
    color: var(--color-light);
}
.services .card .content-wrapper .content-inner a.button:hover{
    color: var(--color-dark);
}
.services .card .content-wrapper .content-inner a.button::before{
    border-color: var(--color-light);
}
.services .card .content-wrapper .content-inner a.button:hover::before{
    background: var(--color-light);
}
.services .card .content-wrapper .content-inner a.button::after{
    filter: invert(1);
}
.services .card .content-wrapper .content-inner a.button:hover::after{
    filter: invert(0);
}
/* ----- Footer ----- */
footer{
    background: var(--color-dark);
    padding: 1.6rem 3.2rem;
    text-align: center;
    z-index: 1;
    position: relative;
}
footer p{
    color: var(--color-light);
    margin: 0;
    font-size: 1.2rem;
}
.map-holder{
  width: 100%;
  height: 48rem;
  padding: 0;
}
@media screen and (max-width: 1024px){ 
  .services .card:hover .content-wrapper h3 {
    font-size: 4rem;
  }
}
@media screen and (max-width: 460px){ 
  .services .card:hover .content-wrapper h3 {
    font-size: 3.2rem;
  }
}