header .logo-dark{
    display: none;
}
header.header-scroll .logo-dark{
    display: block;
}
header.header-scroll .logo-white{
    display: none;
}

/* hero section */
.hero-section-home{
    position: relative;
}
.hero-section-home:before{
    content: '';
    position: absolute;
    top: 0;
    left: 24%;
    width: 30vw;
    height: 30vw;
    background-image: url(../images/home-hero-tree.png);
    background-position: center top;
    background-size: contain;
    background-repeat: no-repeat;
    z-index: 9;
}
.hero-home-slider .swiper-slide{
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #fff;
    opacity: 0;
}
.hero-home-slider .swiper-slide img{
    width: 50%;
}
.nav-hero-slider{
    width: 85px;
    position: absolute;
    left: calc(50% - 85px);
    bottom: 0px;
    height: 100%;
}
.hero-section-home .swiper-pagination{
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 30px;
    bottom: 30px;
    right: 10%;
    left: auto;
    width: 25px;
}
.hero-section-home .text{
    width: calc(50% - 90px);
}
.hero-section-home .text{
    padding: calc(100vw / 48) 0 calc(100vw / 48) calc(100vw / 21.33333333);
}
.hero-section-home .text p.suptitle{
    font-size: calc(100vw / 96);
    font-weight: 800;
    letter-spacing: .15em;
    color: #221D2F;
    margin-bottom: calc(100vw / 80);
    margin-top: 70px;
}
.hero-section-home .text h2{
    font-size: calc(100vw / 16);
    font-weight: 500;
    color: #221D2F;
    line-height: .9;
    margin-bottom: calc(100vw / 30);
}
.hero-section-home .text p.subtitle{
    font-size: calc(100vw / 80);
    font-weight: 500;
    color: #221D2F;
    margin-bottom: calc(100vw / 40);
}
.slider-buttons{
    display: flex;
    align-items: center;
    gap: calc(100vw / 64);
}
.title-with-icon{
    display: flex;
    align-items: center;
}
.content-hero-section-home-new p.citygas{
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  display: inline-block;
  background: #32B3E2;
  padding: 5px 10px;
  margin-bottom: 15px;
}

@media screen and (max-width: 991px){
    .hero-section-home .text{
        padding: calc(100vw / 48) calc(100vw / 21.33333333);
    }
    .nav-hero-slider{
        display: none;
    }
    .hero-section-home:before{
        background-image: url(../images/home-hero-tree-tablet.png);
        right: 0;
        left: auto;
        top: 50%;
        width: 38vw;
        height: 60vw;
    }
    .hero-home-slider .swiper-slide{
        flex-wrap: wrap;
    }
    .hero-home-slider .swiper-slide img,
    .hero-section-home .text{
        width: 100%;
    }
    .hero-home-slider .swiper-slide img{
        order: 1;
    }
    .hero-section-home .text{
        order: 2;
    }
    .hero-section-home .text p.suptitle{
        font-size: 16px;
        margin-top: 30px;
    }
    .hero-section-home .text h2{
        font-size: calc(100vw / 11.25);
    }
    .hero-section-home .text p.subtitle{
        font-size: 18px;
    }
}
@media screen and (max-width: 767px){
    .hero-section-home .text p.suptitle,
    .hero-section-home .text p.subtitle{
        font-size: 16px;
    }
    .hero-section-home .text{
        text-align: center;
        padding-bottom: 30px;
    }
    .hero-section-home .text h2{
        margin: 20px 0;
    }
    .hero-section-home .text p.subtitle{
        margin-bottom: 20px;
    }
    .slider-buttons{
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }
    .slider-buttons a{
        width: 100%;
        text-align: center;
        justify-content: center;
    }
}
@media screen and (max-width: 479px){
    .hero-section-home:before{
        top: 35%;
    }
    .hero-section-home .text h2{
        font-size: 60px;
        text-align: center;
    }
    .hero-section-home .text p.suptitle,
    .hero-section-home .text p.subtitle{
        text-align: center;
        font-size: 14px;
    }
}
/* -- hero section */

/* hero-section-home-new */
.hero-section-home-new{
    min-height: 100vh;
    position: relative;
    background-image: url(/wp-content/uploads/2025/09/image-hero-ovillage-new.jpg);
    background-position: right center;
    background-size: cover;
    display: flex;
    align-items: center;
}
.hero-section-home-new:after{
    content: '';
    position: absolute;
    z-index: 1;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(99.32deg, rgba(0, 0, 0, 0.4) 48.99%, rgba(34, 29, 47, 0) 81.6%);
}
.content-hero-section-home-new{
    position: relative;
    z-index: 9;
    padding: 100px calc(100vw / 21.33333333);
}
.content-hero-section-home-new h1{
    color: #fff;
    font-size: calc(100vw / 12.8);
    font-weight: 500;
    position: relative;
    margin-left: -10px;
}
.content-hero-section-home-new p{
    color: #fff;
    font-size: 18px;
    font-weight: 500;
}
.content-hero-section-home-new p.subtitle{
    text-transform: uppercase;
    font-size: 20px;
    letter-spacing: .15em;
}
.content-hero-section-home-new .description{
    max-width: 740px;
    margin: 30px 0 40px;
}
.content-hero-section-home-new .description p{
    margin-bottom: 26px;
}
.content-hero-section-home-new .description p:last-of-type{
    margin-bottom: 0;
}
.content-hero-section-home-new .wrapper-button{
    display: flex;
    align-items: center;
    gap: 30px;
}
.images-oselya{
    position: absolute;
    bottom: 60px;
    right: calc(100vw / 21.33333333);
    z-index: 8;
    width: 280px;
    text-align: center;
}
.images-oselya svg{
    width: 176px;
}
.images-oselya a{
    display: block;
    text-align: center;
}
.hero-bottom-arrow{
    position: absolute;
    top: 0;
    height: 80vh;
    left: 0;
    width: 100%;
    z-index: 8;
    padding: 40px 20px;
    text-align: left;
    display: flex;
    align-items: flex-end;
    /* animation-duration: 3s;
    animation-name: slidein;
    animation-iteration-count: infinite; */
}
.hero-bottom-arrow svg{
    position: absolute;
    animation-duration: 3s;
    animation-name: slidein;
    animation-iteration-count: infinite;
}
@keyframes slidein {
  0% {
    bottom: 20px;
  }

  50% {
    bottom: -20px;
  }

  100% {
    bottom: 20px;
  }
}
.safe-room-icon{
    animation-duration: 5s;
    animation-name: animate-safe-rooms;
    animation-iteration-count: infinite;
}
@keyframes animate-safe-rooms {
  0% {
    transform: rotate(0deg);
  }

  10% {
    transform: rotate(20deg);
  }

  20% {
    transform: rotate(-20deg);
  }

  30% {
    transform: rotate(20deg);
  }

  70% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(0deg);
  }
}
.hero-section-home-new:before {
    content: '';
    position: absolute;
    top: 0;
    left: 24%;
    width: 30vw;
    height: 30vw;
    background-image: url(../images/home-hero-tree.png);
    background-position: center top;
    background-size: contain;
    background-repeat: no-repeat;
    z-index: 9;
}


@media screen and (max-width: 1440px){
    .content-hero-section-home-new p.subtitle{
        font-size: 18px;
    }
    .content-hero-section-home-new p{
        font-size: 16px;
    }
    .content-hero-section-home-new .description p{
        margin-bottom: 12px;
    }
    .content-hero-section-home-new .description p:last-of-type{
        margin-bottom: 0;
    }
}
@media screen and (max-width: 1199px){
    .content-hero-section-home-new p.subtitle{
        font-size: 16px;
    }
    .content-hero-section-home-new p{
        font-size: 14px;
    }
    .content-hero-section-home-new .description p{
        margin-bottom: 10px;
    }
    .content-hero-section-home-new .description p:last-of-type{
        margin-bottom: 0;
    }
    .content-hero-section-home-new .description{
        max-width: 580px;
        margin: 15px 0 20px;
    }
    .images-oselya{
        max-width: 200px;
    }
}
@media screen and (max-width: 991px){
    .content-hero-section-home-new .wrapper-button{
        flex-direction: column;
        align-items: flex-start;
    }
    .content-hero-section-home-new h1{
        font-size: 70px;
        margin-left: -5px;
    }
}
@media screen and (max-width: 599px){
    .hero-section-home-new{
        flex-direction: column;
        padding-bottom: 80px;
    }
    .content-hero-section-home-new{
        padding-bottom: 20px;
    }
    .content-hero-section-home-new .wrapper-button{
        align-items: center;
    }
    .images-oselya{
        position: relative;
        bottom: 0;
        right: 0;
        margin: 30px 0;
        width: 100%;
        max-width: 100%;
    }
    .images-oselya img{
        max-width: 280px;
    }
    .content-hero-section-home-new h1{
        font-size: 60px;
    }
}

/* -- hero-section-home-new */


/* all-buildings */
.all-buildings{
    position: relative;
    background-image: url(../images/bg_all_building.jpg);
    background-position: center bottom;
    background-size: cover;
    padding: calc(100vw / 13) calc(100vw / 21.33333333) calc(100vw / 2) calc(100vw / 21.33333333);
}
.all-buildings:before{
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: calc(100vw / 2.5);
    background: linear-gradient(180deg, #FFFFFF 28.14%, rgba(255, 255, 255, 0) 105.14%);
    z-index: 0;
}

.all-buildings .title-section{
    text-align: center;
    position: relative;
    z-index: 9;
}
.all-buildings .title-section .suptitle{
    color: #32B3E2;
    font-size: calc(100vw / 120);
    font-weight: 700;
    border-bottom: calc(100vw / 640) solid #32B3E2;
    display: inline-block;
    letter-spacing: .3em;
    text-align: center;
    margin-bottom: calc(100vw / 80);
}
.all-buildings .title-section .description{
    max-width: calc(100vw / 2.341463415);
    margin: auto;
}
.all-buildings .title-section .description p{
    font-size: calc(100vw / 87.27272727);
}
.all-buildings-slider{
    position: relative;
    z-index: 9;
    text-align: center;
    display: flex;
    align-items: center;
}
.slider-all-building{
    padding: 40px 0;
    width: calc(100% - 180px);
}
.all-buildings .wrapper-button{
    position: relative;
    z-index: 9;
    text-align: center;
}
.item-buildings-slider{
  position: relative;
}
.item-buildings-slider:before{
  content: '';
  position: absolute;
  position: absolute;
  width: calc(100vw / 5.217391304);
  height: calc(100vw / 5.217391304);
  background: rgba(152, 200, 222, .5);
  border-radius: calc(100vw / 21.81818182);
  z-index: -1;
  left: calc((100% - 100vw / 5.217391304) / 2);
  bottom: -10px;
}

.all-buildings-benefits{
    display: flex;
    position: relative;
    z-index: 9;
    /* margin: 40px 0; */
    padding: 90px 0;
    /* background-image: url(https://ovillas.com.ua/wp-content/uploads/2025/09/line-bg-benefits-all-building.svg); */
    background-position: center;
    background-size: 100%;
    background-repeat: no-repeat;
}
.all-buildings-benefits .item{
    width: 25%;
    text-align: center;
}
.all-buildings-benefits .item p.value{
    font-size: 50px;
    line-height: 36px;
    text-align: center;
    font-weight: 100;
    color: #32B3E2;
    margin-bottom: 15px;
}
.all-buildings-benefits .item p.value span{
    font-size: 100px;
    line-height: 75px;
    display: block;
}
.all-buildings-benefits .item p.label{
    font-size: 20px;
    color: #518EB4;
    line-height: 1.4;
}
.big-tree-all{
    position: absolute;
    left: 0;
    width: 10%;
    top: 50px;
}
.branch-one{
    position: absolute;
    right: 0;
    top: 150px;
    transform: rotate(180deg);
    width: 20%;
}
@media screen and (max-width: 1920px){
    .slider-all-building{
        width: calc(100% - 100vw / 27.82608696);
    }
}
@media screen and (max-width: 1200px){
    .all-buildings-benefits .item p.value{
        font-size: 28px;
        line-height: 10px;
    }
    .all-buildings-benefits .item p.value span{
        font-size: 60px;
        line-height: 60px;
    }
    .all-buildings-benefits .item p.label{
        font-size: 15px;
    }
}
@media screen and (max-width: 991px){
    .all-buildings{
        padding-left: 0;
        padding-right: 0;
        padding-bottom: 70vh;
    }
    .all-buildings .title-section .suptitle{
        font-size: 16px;
        border-bottom: 3px solid #32B3E2;
    }
    .all-buildings .title-section h2{
        font-size: calc(100vw / 15);
        margin-bottom: 20px;
    }
    .all-buildings .title-section .description p{
        font-size: 18px;
    }
    .all-buildings .title-section .description{
        max-width: 585px;
    }
    .slider-all-building{
        width: 100%;
        padding: 40px 0 100px;
    }
    .all-buildings-slider .button-prev,
    .all-buildings-slider .button-next{
        position: absolute;
        bottom: 30px;
        z-index: 99;
    }
    .all-buildings-slider .button-next{
        left: calc(50% + 20px);
        right: auto;
    }
    .all-buildings-slider .button-prev{
        right: calc(50% + 20px);
        left: auto;
    }
    .item-buildings-slider:before{
      width: 25vw;
      height: 25vw;
      left: calc((100% - 25vw)/2);
      border-radius: 73px;
    }
    .branch-one{
        top: 70px;
    }
}
@media screen and (max-width: 767px){
    .all-buildings .title-section{
        padding-left: 15px;
        padding-right: 15px;
    }
    .all-buildings .title-section .description p{
        font-size: 16px;
    }
    .all-buildings .title-section .suptitle{
        font-size: 14px;
    }
    .item-buildings-slider:before{
      width: 70vw;
      height: 70vw;
      left: calc((100% - 70vw)/2);
      border-radius: 56px;
    }
    .big-tree-all{
        display: none;
    }
    .all-buildings-benefits{
        flex-wrap: wrap;
        gap: 30px;
    }
    .all-buildings-benefits .item{
        width: calc((100% - 30px) / 2);
    }
    .all-buildings{
        padding-bottom: 35vh;
        background-size: contain;
        background-repeat: no-repeat;
        background-position: center bottom;
    }
    .all-buildings:before{
        top: auto;
        bottom: 25vh;
    }
}
@media screen and (max-width: 479px){
    .all-buildings .title-section h2{
        font-size: 40px;
    }
    .all-buildings .title-section .description p{
        font-size: 14px;
    }
    .branch-one{
        display: none;
    }
    .all-buildings-benefits{
        padding: 30px 0;
        gap: 10px;
    }
    .all-buildings-benefits .item {
        width: calc((100% - 10px) / 2);
    }


}
/* -- all-buildings */

/* territory */
.territory{
    padding: calc(100vw / 48) 0 calc(100vw / 48) calc(100vw / 21.33333333);
    display: flex;
    position: relative;
}
.territory .text{
    width: 45%;
    display: flex;
    flex-direction: column;
    gap: 24px;
    justify-content: center;
    align-items: flex-start;
}
.territory .text p{
    font-size: calc(100vw / 87.27272727);
    max-width: 91%;
    margin-bottom: 10px;
}
.territory .image{
    width: 55%;
    padding: calc(100vw / 21.33333333) calc(100vw / 21.33333333) 0 calc(100vw / 21.33333333);
    background: #fff;
    border-radius: 50px 0 0 0;
    margin-top: calc(-100vw / 8);
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    position: relative;
}
.territory .image:before{
  content: '';
  position: absolute;
  top: calc((100vw / 8) - (100vw / 48) - 50px);
  width: 50px;
  height: 50px;
  background-image: url(../images/border-radius.svg);
  background-size: 50px;
  background-position: center;
  z-index: 9;
  left: -50px;
}
.territory .image img{
    aspect-ratio: 422 / 251;
    object-fit: cover;
    width: calc((100% - 30px) / 2);
    border-radius: 50px;
}
.territory .image img:first-child{
    aspect-ratio: 870 / 508;
    width: 100%;
}
@media screen and (max-width: 1440px){
  .territory .image img{
    border-radius: 30px;
  }
  .territory .image{
      gap: 10px;
  }
  .territory .image img{
      width: calc((100% - 10px) / 2);
  }
}
@media screen and (max-width: 991px){
    .territory{
        flex-wrap: wrap;
        padding: calc(100vw / 48) calc(100vw / 21.33333333) calc(100vw / 48) calc(100vw / 21.33333333);
    }
    .territory .text,
    .territory .image{
        width: 100%;
    }
    .territory .image{
        padding: 30px 0;
        margin-top: 0;
        border: 0;
        background: none;
    }
    .territory .text{
        align-items: center;
        padding: 30px 0;
    }
    .territory .text h2{
        text-align: center;
        font-size: calc(100vw / 15);
    }
    .territory .text p{
        font-size: 18px;
        text-align: center;
        margin: auto;
    }
    .territory .image img{
        border-radius: 30px;
    }
}
@media screen and (max-width: 767px){
    .territory .text p{
        font-size: 16px;
    }

}
@media screen and (max-width: 479px){
    .territory .text h2{
        font-size: 40px;
    }
    .territory .text p{
        font-size: 14px;
    }
}
/* -- territory */

/* pool */
.pool{
    /* min-height: 130vh; */
    position: relative;
    padding-top: calc(100vw / 48);
    background-image: url(../images/image-slider-pool.jpg);
    background-position: center bottom;
    background-size: 100% auto;
    background-repeat: no-repeat;
    margin-bottom: 50px;
    padding-bottom: calc(100vw / 1.57635468 - 100vw / 4.4);
    /* overflow: hidden; */
}
.pool:before{
    content: '';
    position: absolute;
    bottom: calc(100vw / 1.57635468 - 100vw / 4.4);
    left: 0;
    width: 100%;
    height: calc(100vw / 4.4);
    background: linear-gradient(180deg, #FFFFFF 40%, rgba(255, 255, 255, 0) 100%);
    z-index: 2;
}
.pool:after{
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50vh;
    background-image: url(../images/pool-bg.svg);
    background-position: center;
    background-size: cover;
    /* background-repeat: no-repeat; */
    z-index: 2;
}
.pool .pool-slider{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 0;
}
.pool .pool-slider .swiper-slide{
    height: 100vh;
    background-position: center;
    background-size: cover;
}
.pool .pool-description{
    position: relative;
    z-index: 9;
    text-align: center;
    max-width: calc(100vw / 1.7);
    margin: auto;
}
.pool .pool-description p{
    font-size: calc(100vw / 87.27272727);
    margin-bottom: 10px;
}
.pool .items{
    display: flex;
    width: 100%;
    gap: calc(100vw / 160);
    max-width: calc(100vw / 3);
    margin: calc(100vw / 32) auto 0;
}
.pool .items .item{
    width: calc(100% - 30px);
    text-align: left;
    padding-left: calc(100vw / 160);
}
.pool .items .item p{
    font-size: calc(100vw / 106.6);
}
.pool .pool-tree{
    position: absolute;
    z-index: 8;
    left: 0;
    top: -60px;
    width: calc(100vw / 3.8);
}
@media screen and (max-width: 991px){
    .pool{
      padding-bottom: calc(100vw / 1.57635468 - 100vw / 10);
    }
    .pool:before{
      bottom: calc(100vw / 1.57635468 - 100vw / 4.4);
      height: calc(100vw / 4.4);
    }
    .pool h2{
        font-size: calc(100vw / 15);
        margin-bottom: 20px;
    }
    .pool .pool-description{
        max-width: 600px;
        padding: 0 16px;
    }
    .pool .pool-description p{
        font-size: 18px;
    }
    .pool .pool-tree{
        display: none;
    }
    .pool .items{
        max-width: 100%;
        justify-content: space-between;
    }
    .pool .items .item{
        width: auto;
    }
    .pool .items .item p{
        font-size: 18px;
    }
    /* .pool:before{
      height: 70vh;
      background: linear-gradient(180deg, #FFFFFF 70%, rgba(255, 255, 255, 0) 100%);
    } */
}
@media screen and (max-width: 767px){
    .pool .pool-description p{
        font-size: 16px;
    }
}
@media screen and (max-width: 600px){
    .pool .items{
        justify-content: center;
        flex-wrap: wrap;
        gap: 20px;
    }
    .pool .items .item{
        width: 40%;
        padding-left: 20px;
    }
}
@media screen and (max-width: 479px){
    /* .pool {
        min-height: 140vh;
    } */
    .pool h2{
        font-size: 40px;
    }
    .pool .pool-description p{
        font-size: 14px;
    }
    .pool .items .item p{
        font-size: 14px;
    }
}
/* -- pool */

/* leisure-time */
.leisure-time {
    padding: calc(100vw / 48) calc(100vw / 21.33333333);
    margin-top: 50px;
}
.leisure-time .title-section{
    display: flex;
    gap: 50px;
    margin-bottom: 50px;
}
.leisure-time .title-section h2{
    width: calc(30vw - 100px);
}
.leisure-time .title-section .description{
    width: 35vw;
}
.leisure-time .title-section p{
    font-size: calc(100vw / 87.27272727);
    margin-bottom: 10px;
}
.leisure-time .items{
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    width: 35vw;
}
.leisure-time .items .item{
    width: calc((100% - 20px) / 2);
}
.leisure-time .slider-leisure-time img{
    border-radius: 50px;
}
.leisure-time .swiper-slide{
    width: calc(((100% - 28px) / 2 - 28px) / 2);
    height: calc(100vw / 3.14);
    background-size: cover;
    background-position: center;
    border-radius: 50px;
}
.leisure-time .swiper-slide:first-child,
.leisure-time .swiper-slide:nth-child(3n+1){
    width: calc((100% - 28px) / 2);
}
.nav-slider-leisure-time{
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 40px;
}
@media screen and (max-width: 991px){
    .leisure-time{
        margin-top: 0;
    }
    .leisure-time .title-section{
        flex-wrap: wrap;
        gap: 24px;
    }
    .leisure-time .title-section > *,
    .leisure-time .title-section h2,
    .leisure-time .title-section .description{
        width: 100%;
    }
    .leisure-time .title-section h2{
        font-size: calc(100vw / 15);
        text-align: center;
    }
    .leisure-time .title-section .description p{
        font-size: 18px;
        text-align: center;
        margin-bottom: 15px;
    }
    .leisure-time .items{
        justify-content: space-between;
    }
    .leisure-time .items .item{
        width: auto;
    }
    .leisure-time .title-section p{
        font-size: 18px;
    }
    .leisure-time .swiper-slide{
        border-radius: 30px;
    }
    .leisure-time .swiper-slide,
    .leisure-time .swiper-slide:first-child, .leisure-time .swiper-slide:nth-child(3n+1){
        width: 100%;
        height: calc(100vw / 1.7);
    }
}
@media screen and (max-width: 767px){
    .leisure-time .title-section p,
    .leisure-time .title-section .description p{
        font-size: 16px;
    }
}
@media screen and (max-width: 600px){
    .leisure-time .items{
        justify-content: center;
    }
    .leisure-time .items .item{
        width: 40%;
        padding-left: 20px;
    }
    .leisure-time .title-section p{
        font-size: 14px;
    }
}
@media screen and (max-width: 479px){
    .leisure-time .title-section h2{
        font-size: 40px;
    }
    .leisure-time .title-section p, .leisure-time .title-section .description p{
        font-size: 14px;
    }
}
/* -- leisure-time */
