@import url("https://fonts.googleapis.com/css2?family=Source+Sans+3:ital,wght@0,200..900;1,200..900&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Merriweather:ital,wght@0,300;0,400;0,700;0,900;1,300;1,400;1,700;1,900&display=swap");

:root {
  --main-color: #1a3b40;
  --accent-color: #ffbf00;
  --primary-bg-color: #f0dfc5;
  --secondary-bg-color: #f7f7f7;
  --light-font-color: #f7f7f7;
  --dark-font-color: #333333;
  --font-title: "Merriweather", serif;
}

*::selection {
  background-color: var(--accent-color);
  color: white;
}

body {
  font-family: "Source Sans 3", sans-serif;
  color: var(--dark-font-color);
  background-color: var(--light-font-color);

}
body.custom-background {
  background-color: var(--secondary-bg-color) !important;
}
a {
  color: cornflowerblue;
  text-decoration: none;
}
a:hover {
  color: var(--accent-color) !important;
  text-decoration: none;
}

.container {
  max-width: 1660px;
  padding: 0 clamp(40px, 4vw, 70px);
}
section {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: start;
  flex-direction: column;
  /*margin-bottom: 100px;*/
  margin-bottom: 60px;
}
.section-title {
  font-family: var(--font-title);
  font-size: 65px;
  font-weight: 700;
  line-height: 100px;
  color: var(--dark-font-color);
  margin-bottom: 40px;
}
.section-subtitle{
  font-family: var(--font-title);
  font-size: 45px;
  font-weight: 700;
  line-height: 70px;
  color: var(--dark-font-color);
  margin-bottom: 30px;
}
.section-title--accent {
  display: inline;
  top: -150px;
  position: absolute;
  padding: 150px 80px 20px 50px;
  background-color: var(--accent-color);
}
.button {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 15px 50px;
  color: var(--main-color);
  background-color: var(--accent-color);
  border-radius: 40px;
  font-size: 24px;
  line-height: 40px;
  font-weight: 400;
  text-align: center;
  border: none;
  outline: none;
  transition: all .3s;
}
.button:hover {
  background-color: #f0dfc5;
  color: var(--main-color) !important;
}
.button--mini {
  padding: 10px 25px;
}
.button--hover-gray:hover {
  background-color: var(--primary-bg-color);
}
.button--outlined {
  color: var(--accent-color);
  background-color: transparent;
  border: 1px solid var(--accent-color);
}
.button--outlined:hover {
  background-color: var(--accent-color);
  color: var(--dark-font-color);
}
.button span {
  margin-right: 1rem;
}
.ts-1{
  font-size: 65px;
  line-height: 100px;
}
.ts-2, .post-content h2, .post-content h2{
  font-size: clamp(35px, 2.5vw, 45px);
  line-height: clamp(55px, 3.75vw, 70px);
}
.ts-3{
  font-size: 26px;
  line-height: 32px;

}
.ts-4{
  font-size: 20px;
  line-height: 30px;
}
#return-to-top {
  z-index: 5;
}
.title-font {
  font-weight: 700;
  font-family: var(--font-title);
}

.post-content h2, .post-content h1 {
  font-weight: 700;
  font-family: var(--font-title);
}

.post-content h3 {
  font-family: var(--font-title);
}

.post-content h2:not(:first-child), .post-content h3:not(:first-child) {
  margin-top: 2rem;
}

.post-content a {
  color: cornflowerblue;
}

.map {
  margin-bottom: 50px;
}

.section-map .map {
  height: 700px;
  margin-bottom: 0px;
}

.pagination {
  margin-top: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
}

.pagination .page-numbers {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  font-size: 20px;
  line-height: 20px;
  color: var(--light-font-color);
  background-color: var(--main-color);
  border-radius: 100%;
}

.pagination .page-numbers.current {
  background-color: var(--accent-color);
}

.headerbox {
  z-index: 5;
  position: sticky;
  top: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  width: 100%;
  padding: 0;
  border-bottom: 1.5px solid rgba(51, 51, 51, 0.15);
}
.headerbox__bg {
  height: 75px;
  width: 100%;
  background-color: var(--light-font-color);
}
.headerbox__container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
  width: 100%;
}
.logo {
  display: flex;
  justify-content: center;
}
img.custom-logo {
  width: 300px !important;
}
.nav-menu .menu {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  padding: 0;
  margin: 0;
  list-style: none;
}
.nav-menu .menu > .menu-item{
  padding-top: 25px;
  padding-bottom: 25px;
}
.nav-menu .menu > .menu-item:hover {
  cursor: pointer;
}
.nav-menu .menu-item a {
  color: var(--dark-font-color);
}
.nav-menu .menu > .menu-item:hover > a {
  color: var(--accent-color);
}
#menu-language-switcher {
  margin-bottom: 0;
  padding-left: 1em;
  list-style: none;
}
.img_wrapper {
  width: 100%;
}
.nav-menu .menu-item .sub-menu {
  z-index: -1;
  position: absolute;
  top: -400px;
  display: block;
  transition: all .3s;
}
.nav-menu .menu-item .sub-menu__container {
  list-style: none;
}
.nav-menu .menu-item:hover .sub-menu {
  top: 75px;
}
.nav-menu .menu-item-has-children .menu-item__button {
  display: none;
}
.nav-menu .menu-item-has-children::before {
  z-index: -1;
  content: '';
  position: absolute;
  top: -400px;
  left: 0;
  width: 100%;
  height: 420px;
  border-bottom: 1.5px solid rgba(51, 51, 51, 0.15);
  background-color: #fff;
  transition: all .3s;
}
.nav-menu .menu-item-has-children:hover::before {
  top: 75px;
}
.nav-menu .sub-menu .menu-item {
  padding: 6px 0;
}
.nav-menu .sub-menu .menu-item:first-child {
  padding-top: 20px;
}
.nav-menu .menu-item-projects .sub-menu{
  left: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}
.nav-menu .menu-item-projects .sub-menu__container{
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  max-width: 1660px;
  width: 100%;
  padding-top: 35px;
}
.menu-item-project {
  padding: 0 !important;
  max-width: 350px;
  height: 280px;
  width: 100%;
}
.menu-item-project a{
  z-index: 1;
  position: relative;
  display: flex;
  justify-content: start;
  align-items: end;
  height: 100%;
  width: 100%;
  padding: 25px 30px;
  border-radius: 30px;
  overflow: hidden;
}
.menu-item-project__img {
  z-index: -1;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.menu-item-project__shadow{
  z-index: -1;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(34, 34, 34, 0) 54.43%, rgba(34, 34, 34, 0.7) 76.21%);
}
.menu-item-project span {
  color: var(--light-font-color);
  font-family: var(--font-title);
  font-weight: 700;
  text-transform: uppercase;
}
.menu-item-project a:hover span {
  color: var(--acent-color);
}
.localize-menu {
  position: relative;
}
.localize-menu__button {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  background: none;
  border-radius: 0;
  border: 0;
  font-size: 20px;
  line-height: 30px;
  font-weight: 600;
}
.localize-menu__button img {
  width: 26px;
  height: 20px;
}
.localize-menu__button svg{
  transition: all .3s;
}
.localize-menu--active .localize-menu__button svg{
  transform: rotateX(180deg);
}
#menu-language-switcher {
  z-index: 1;
  position: absolute;
  left: 0px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 95px;
  padding: 10px 15px;
  background-color: var(--light-font-color);
  border-radius: 22px;
  box-shadow: 0px 2px 5px 2px #33333326;
  opacity: 0%;
  transition: all .3s;
  pointer-events: none;
}
.localize-menu--active #menu-language-switcher {
  opacity: 100%;
  pointer-events: initial;
}
#menu-language-switcher a {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  font-size: 20px;
  line-height: 30px;
  color: var(--dark-font-color);
}
#menu-language-switcher a.current_language {
  font-weight: 600;
}
#menu-language-switcher a img {
  width: 26px;
  height: 20px;
  margin-right: 10px;
}
.sidenav__button {
  display: none;
}
.navigation {
  background-color: var(--secondary-bg-color);
  z-index: -5;
  width: 100%;
  transition: all .3s;
}
.navigation--hidden {
  display: none;
}
.navigation__container {
  display: flex;
  justify-content: start;
  align-items: center;
  gap: 15px;
  margin-bottom: 0;
  overflow-x: auto;
  padding-bottom: 15px !important;
  width: 100%;
  list-style: none;
}
.navigation__title {
  text-transform: uppercase;
  margin: 0;
  margin-right: 1rem;
  font-weight: 600;
}

.hero__container {
  z-index: 1;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: end;
  align-items: start;
  height: calc(100vh - 100px);
  padding: 0 0 60px;
  overflow: hidden;
}
.category .hero__container,
.single-page .hero__container {
  height: 50vh;
}
.hero__title {
  font-family: var(--font-title);
  color: var(--light-font-color);
  font-weight: 700;
}
.hero__subtitle {
  color: var(--light-font-color);
}
.hero__img {
  z-index: -1;
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  width: 100%;
  object-fit: cover;
}
.hero__shadow {
  z-index: -1;
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  width: 100%;
  background: linear-gradient(
    180deg,
    rgba(34, 34, 34, 0) 53.07%,
    rgba(34, 34, 34, 0.6) 66.92%
  );
}
.category .hero__shadow,
.single-page .hero__shadow {
  background: linear-gradient(
    180deg,
    rgba(34, 34, 34, 0) 40.07%,
    rgba(34, 34, 34, 0.6) 60.92%
  );
}
.info-section__container {
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.info-section__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50px;
}
.info-section__container .ts-1{
  font-family: var(--font-title);
  font-weight: 700;
}
.info-card__list {
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  gap: 40px;
}
.info-card{
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  width: calc(50% - 20px);
  padding: 40px 40px;
  background: #FFFFFF;
  border-radius: 60px;
  border: 1px solid rgba(26, 59, 64, 0.3);
  text-align: center;
  color: var(--main);
}

.page-project .projects-list, .page-about .projects-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
.page-project .project__card, .page-about .project__card {
  width: 100%;
}
.project {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
  margin-bottom: 40px;
}
.project:nth-child(2n){
  flex-direction: row-reverse;
}
.project__card {
  z-index: 1;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: end;
  height: 596px;
  width: calc(50% - 20px);
  padding: 30px 50px 40px;
  overflow: hidden;
  border-radius: 50px;
}
.s-badge {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 8px 40px;
  border-radius: 25px;
}
a.s-badge {
  transition: all .3s;
  color: var(--dark-font-color) !important;
}
a.s-badge:hover {
  background-color: #f0dfc5;
}
.s-badge p {
  margin: 0;
  color: var(--dark-font-color);
  font-size: 26px;
  line-height: 40px;
  text-align: center;
}
.s-badge--accent{
  background-color: var(--accent-color);
}
.s-badge--sale{
  position: absolute;
  top: 30px;
  left: 50px;
  background-color: #98FB98;
}
.s-badge--sold {
  position: absolute;
  top: 30px;
  left: 50px;
  background-color: #FFEBCD;
}
.s-badge--data {
  background-color: #ADD8E6;
}
.project__title {
  width: 100%;
  color: var(--light-font-color);
  font-family: var(--font-title);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .125rem;
}
.project__card-info-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
}
.project__card-info {
  display: flex;
  flex-direction: column;
  color: var(--light-font-color);
}
.project__card-info p {
  margin-bottom: 0;
}
.project__price {
  width: 100%;
  color: var(--light-font-color);
  font-family: var(--font-title);
}
.project__card .button {
  width: 100%;
}
.anim-container{
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .3s;
  overflow: hidden;
}
.project__card:hover .anim-container,
.service:hover .anim-container{
  grid-template-rows: 1fr;
}
@media (pointer: coarse) or (max-width: 1024px) {
  .anim-container{
    grid-template-rows: 1fr;
  }
}
.anim-inner{
  min-height: 0;
  visibility: hidden;
  transition: visibility .3s;
}
.project__card:hover .anim-inner,
.service:hover .anim-inner {
  visibility: visible;
}
@media (pointer: coarse) or (max-width: 1024px) {
  .anim-inner{
    visibility: visible;
  }
}
.project__img{
  z-index: -1;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.project__shadow {
  z-index: -1;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(34, 34, 34, 0) 8.66%, rgba(34, 34, 34, 0.7) 55.9%);
}
.project__disc {
  width: calc(50% - 20px);
  font-weight: 400;
}

.section-map {
  width: 100%;
}

.advantages__item{
  display: grid;
  align-items: center;
  grid-template-areas: 'B B B B B A A A A A A A';
  grid-template-columns: repeat(12, 1fr);
  gap: 40px;
  margin-bottom: 40px;
}
.advantages__item:first-child{
  margin-top: 70px;
}
.advantages__item:nth-child(2n){
  grid-template-areas: 'A A A A A A A B B B B B';
}
.advantages__text{
  grid-area: B;
  width: 100%;
  color: var(--dark-font-color);
}
.advantages__img{
  grid-area: A;
  height: 400px;
  width: 100%;
  border-radius: 50px;
  object-fit: cover;
}

.service-list{
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: 40px;
}
.service{
  position: relative;
  display: flex;
  justify-content: end;
  align-items: start;
  flex-direction: column;
  padding: 40px;
  width: 100%;
  /*height: 470px;*/
  aspect-ratio: 1/1;
}
.service__img-container {
  z-index: -1;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 60px;
  overflow: hidden;
  transition: all .3s;
}
.service__img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1);
  transition: all .3s;
}
.service:hover .service__img {
  transform: scale(1.1);
}
@media (pointer: coarse) or (max-width: 1024px) {
  .service__img {
    transform: scale(1.1);
  }
}
.service__shadow {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 38.95%, rgba(0, 0, 0, 0.8) 100%);
}
.service__title {
  color: var(--light-font-color);
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 24px;
  line-height: 30px;
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}
.service__text {
  margin: 0;
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  color: var(--light-font-color);
  opacity: 0%;
  transition: all .3s;
}
.service:hover .service__text {
  opacity: 100%;
}
@media (pointer: coarse) or (max-width: 1024px) {
  .service .service__text {
    opacity: 100%;
  }
}

.form-container {
  max-width: 600px;
}
.breadcrumbs {
  margin-bottom: 30px !important;
}
.breadcrumbs p {
  margin-bottom: 0;
}
.breadcrumbs a {
  color: var(--dark-font-color);
}
.project-hero, .hero{
  margin-bottom: 30px !important;
}
.project-hero__container {
  z-index: 1;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: end;
  align-items: start;
  height: calc(100vh - 100px - 35px);
  padding: 0 0 80px;
  overflow: hidden;
}
.project-hero__title {
  font-family: var(--font-title);
  color: var(--light-font-color);
  font-weight: 700;
  margin-bottom: 24px;
}
.project-hero__specs {
  display: grid;
  grid-template-columns: auto auto auto;
  grid-template-rows: auto auto;
  align-items: center;
  column-gap: 70px;
  row-gap: 40px;
  padding: 0;
  list-style: none;
}
.project-hero__spec {
  font-weight: 400;
  color: var(--light-font-color);
}
.project-hero__spec a {
  color: var(--light-font-color);
}
.project-hero__spec span {
  font-family: var(--font-title);
  font-size: 32px;
  font-weight: 900;
  line-height: 48px;
}
.project-hero__spec--soldout {
  color: var(--accent-color);
}
.project-hero__img {
  z-index: -1;
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  width: 100%;
  object-fit: cover;
}
.project-hero__shadow {
  z-index: -1;
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  width: 100%;
  background: #1B1F218C;
}
.project-hero__swiper {
  display: none;
}

.about-project__container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
.about-project__img-container {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: 1fr;
  height: 640px;
  width: 100%;
  overflow: hidden;
}
.about-project__img {
  z-index: -1;
  grid-column: 1;
  grid-row: 1;
  height: 100%;
  width: 100%;
  object-fit: cover;
  border-radius: 50px;
}
.about-project__shadow{
  z-index: -1;
  grid-column: 1;
  grid-row: 1;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(34, 34, 34, 0) 60.5%, rgba(34, 34, 34, 0.7) 80.42%);
  border-radius: 50px;
}
.about-project__info-container {
  grid-column: 1;
  grid-row: 1;
  align-self: end;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 0;
  padding: 50px;
  list-style: none;
}
.page-villa .about-project__info-container {
  grid-template-columns: 1fr 1fr 1fr;
}
.about-project__info {
  color: var(--light-font-color);
}
.about-project__info span {
  font-family: var(--font-title);
  font-weight: 900;
}
.about-project__link-container {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  justify-content: start;
  align-items: start;
}
.about-project__disc h2{
  font-weight: 700;
  font-family: var(--font-title);
}

.about-project__disc h3 {
  font-family: var(--font-title);
}

.about-project__disc p + h3 {
  margin-top: 1.5rem;
}

.grid-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  width: 100%;
  overflow-x: clip;
  background-color: var(--dark-font-color);
}
.grid-gallery:not(:last-child){
  margin-bottom: 20px;
}

.grid-item {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 400px;
}
.grid-item--hidden{
  display: none;
}
.grid-item:hover {
  z-index: 2;
}
.grid-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background: #0000004D;
  transition: all .3s;
}
.grid-item:hover::before {
  top: -15px;
  left: -15px;
  height: calc(100% + 30px);
  width: calc(100% + 30px);
  border-radius: 25px;
  background: rgba(0, 0, 0, 0);
}
.grid-item img {
  max-width: none;
  height: 100%;
  width: 100%;
  object-fit: cover;
  transition: all .3s;
}
.grid-item:hover img {
  height: calc(100% + 30px);
  width: calc(100% + 30px);
  border-radius: 25px;
  box-shadow: 1px 1px 10px 0px #1A3B4040;
}

.villas-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
.villa__card {
  position: relative;
  display: block;
  width: 100%;
  /*height: 800px;*/
  padding: 20px;
  border-radius: 60px;
  border: 1px solid #3333334D;
  background-color: var(--secondary-bg-color);
  transition: all .3s;
}
.villa__card:hover{
  background-color: #fff;
}
.villa__card .s-badge {
  top: 40px;
  left: 40px;
}
.villa__card-anim-container {
  display: grid;
}
.villa__img {
  height: 380px;
  width: 100%;
  object-fit: cover;
  border-radius: 40px;
  margin-bottom: 20px;
}
.villa__title, .villa__format, .villa__card-info, .villa__price {
  color: var(--dark-font-color);
  margin-left: 1rem;
}
.villa__title, .villa__price {
  font-weight: 700;
  font-family: var(--font-title);
}

.project-map__container {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
@media (min-width: 901px) {
  .project-map__container .container {
    padding-left: 0;
  }
}

.project-map__container .map {
  height: 700px;
  width: 100%;
  overflow: hidden;
}

.villa-desc__title {
  font-family: var(--font-title);
  font-size: 700;
}

.show-all {
  display: flex;
  justify-content: center;
  align-items: center;
}

#footer {
  background-color: var(--main-color);
}
footer .container {
  padding-top: 50px;
  padding-bottom: 50px;
  display: flex;
  flex-direction: column;
  justify-content: start;
  align-items: stretch;
}
.footer__top {
  display: flex;
  justify-content: start;
  align-items: end;
  gap: 1em;
  padding: 20px;
  margin-bottom: 40px;
  border-bottom: 1px solid var(--accent-color);
}
.footer__slogan {
  margin-bottom: 0;
  color: var(--accent-color);
  line-height: 1em;
}
.footer__middle{
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 20px;
}
.footer__info {
  display: flex;
  flex-direction: column;
  justify-content: start;
  align-items: start;
  gap: 10px;
}
footer #menu-footer-menu {
  display: flex;
  justify-content: end;
  gap: 50px;
}
footer #menu-footer-menu a {
  text-decoration: none;
}
footer #menu-footer-menu > li > a {
  font-size: 18px;
  font-weight: 600;
}

footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
footer a, footer li,footer p {
  color: var(--light-font-color);
  text-decoration: none;
}
footer li li a {
  color: #f7f7f7cc;
}
footer .menu-item-has-children:first-child li {
  text-transform: uppercase;
}

.footer__contacts {
  display: flex;
  gap: 10px;
  align-items: center;
}
.footer__links {
  display: flex;
  gap: 10px;
}
.footer__copy{
  color: #f7f7f7cc;
}

.modal-content {
  border-radius: 30px;
}
.modal-header {
  padding: 30px 30px 1rem;
}

.modal-body {
  padding: 1rem 30px 30px;
}

.return-to-header {
  z-index: 5;
  position: fixed;
  bottom: 50px;
  right: 50px;
}

.return-to-header a {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 50px;
  height: 50px;
  border-radius: 100%;
  background-color: rgba(0,0,0,0.3);
}

.wpcf7-form p {
  display: flex;
  flex-direction: column;
  justify-content: start;
  align-items: start;
  gap: 1rem;
  margin: 0;
}

.wpcf7-form .wpcf7-spinner {
  display: none;
}

.wpcf7-form a {
  color: cornflowerblue;
}

.wpcf7-list-item {
  margin: 0 !important;
}

.wpcf7-form label,
.wpcf7-form label .wpcf7-form-control-wrap,
.wpcf7-form label input[type="text"],
.wpcf7-form label input[type="tel"] {
  display: block;
  width: 100%;
}

.wpcf7-form label input[type="text"],
.wpcf7-form label input[type="tel"] {
  padding: 10px 15px;
  border-radius: 25px;
  border: 1px solid var(--dark-font-color);
}

.wpcf7-form label input[type="tel"] {
  padding: 10px 15px 10px 52px;
}

.iti {
  width: 100%;
}

.wpcf7-form label .wpcf7-not-valid {
  border: 1px solid #dc3232;
}

.wpcf7-form .button {
  width: 100%;
}

.wpcf7-response-output {
  margin: 1rem 0 0 !important;
  padding: 0 0 !important;
  border: none !important;
  color: #25b528 !important;
}

.wpcf7-form.invalid .wpcf7-response-output {
  color: #dc3232 !important;
}

@media screen and (max-width: 1440px) {
  section {
    margin-bottom: 60px;
  }

  .ts-1{
    font-size: 50px;
    line-height: 75px;
  }
  .ts-2, .post-content h2, .post-content h3{
    font-size: clamp(28px, 2.6vw, 35px);
    line-height: clamp(42px, 4vw, 55px);
  }
  .ts-3{
    font-size: 24px;
    line-height: 36px;
  }
  .ts-4{
    font-size: 20px;
    line-height: 30px;
  }

  .service__title {
    font-size: 20px;
    line-height: 26px;
  }

  .section-title {
    margin-bottom: 1.5rem;
  }
  .section-subtitle{
    margin-bottom: 1.5rem;
  }
  
  img.custom-logo {
    width: 250px !important;
  }

  .hero__container, .project-hero__container {
    padding: 0 0 30px;
  }

  .project__card{
    height: 528px;
    padding: 30px clamp(30px, 3vw, 50px) 40px;
  }
  .s-badge {
    padding: 5px 35px;
  }
  .s-badge p, .s-badge {
    font-size: clamp(16px, 1.56vw, 24px);
    line-height: clamp(24px, 2.34vw, 36px);
  }
  .s-badge--sale, .s-badge--sold {
    top: 30px;
    left: clamp(30px, 3vw, 50px);
  }

  .section-map .map {
    height: 600px;
  }

  .advantages__img{
    height: 300px;
  }

  .service-list{
    grid-template-columns: 1fr 1fr 1fr;
    gap: 40px; 
  }
  .service__img-container {
    width: 100%;
    height: 100%;
    border-radius: 50px;
  }

  .villa__card {
    height: 750px;
  }
}

@media screen and (max-width: 1024px) {
  .container {
    padding: 0 40px;
  }

  .ts-1{
    font-size: 45px;
    line-height: 70px;
  }
  .ts-2, .post-content h2, .post-content h3{
    font-size: 28px;
    line-height: 40px;
  }
  .ts-3{
    font-size: 20px;
    line-height: 30px;
  }
  .ts-4{
    font-size: 16px;
    line-height: 24px;
  }

  img.custom-logo {
    width: 200px !important;
  }

  .hero__container, .project-hero__container {
    padding: 50px 0;
  }

  .project__card{
    height: 450px;
    padding: 30px;
  }
  .s-badge {
    padding: 5px 30px;
  }
  .s-badge p, .s-badge {
    font-size: 16px;
    line-height: 24px;
  }
  .s-badge--sale, .s-badge--sold {
    top: 30px;
    left: 30px;
  }

  .section-map .map {
    height: 500px;
  }

  .advantages__img{
    height: 200px;
  }

  .service-list{
    grid-template-columns: 1fr 1fr;
    gap: 28px; 
  }
  .service__title {
    left: 30px;
    bottom: 30px;
  }
  .service__img-container {
    border-radius: 40px;
  }

  .villa__card {
    height: 700px;
  }
}

@media (max-width: 900px) {
  section {
    margin-bottom: 40px;
  }
  .container {
    padding: 0 30px;
  }
  .button {
    padding: 8px 25px;
  }
  .section-subtitle {
    max-width: 100%;
  }

  .ts-1{
    font-size: 32px;
    line-height: 48px;
  }
  .ts-2, .post-content h2{
    margin-bottom: .5rem;
    font-size: 25px;
    line-height: 30px;
  }
  .post-content h3 {
    font-size: 20px;
    line-height: 25px;
  }
  .ts-4{
    font-size: 14px;
    line-height: 21px;
  }

  .logo {
    width: 175px !important;
  }
  .headerbox__bg{
    height: 50px;
    background-color: var(--secondary-bg-color);
    /* border-bottom: 1px #33333326 solid; */
  }
  .headerbox__buttons{
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
  }
  .localize-menu__button img{
    display: none;
  }
  .sidenav__button {
    position: relative;
    display: block;
    height: 24px;
    width: 24px;
    background: none;
    border: none;
  }
  .sidenav__button span{
    position: absolute;
    left: 3px;
    width: 18px;
    border-radius: 1px;
    border: 1px solid var(--dark-font-color);
    transition: all .3s;
  }
  .sidenav__button span:nth-child(1){
    top: 6px;
  }
  .sidenav__button--close span:nth-child(1){
    top: 12px;
    transform: rotate(45deg);
  }
  .sidenav__button span:nth-child(2){
    top: 12px;
  }
  .sidenav__button--close span:nth-child(2){
    opacity: 0%;
  }
  .sidenav__button span:nth-child(3){
    top: 18px;
  }
  .sidenav__button--close span:nth-child(3){
    top: 12px;
    transform: rotate(-45deg);
  }
  .nav-menu{
    z-index: -1;
    position: absolute;
    top: -1000px;
    left: 0;
    max-height: calc(100vh - 50px);
    width: 100%;
    overflow-y: auto;
    transition: all .3s;
  }
  .nav-menu--active {
    top: 50px ;
  }
  .nav-menu .menu {
    flex-direction: column;
    gap: 0;
  }
  .nav-menu .menu > .menu-item {
    padding: 0;
    background-color: #fff;
    border-top: 1px #33333326 solid;
    border-bottom: 1px #33333326 solid;
  }
  .nav-menu .sub-menu .menu-item:first-child{
    padding-top: 6px;
  }
  .nav-menu .menu > .menu-item > a{
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 12px 30px;
  }
  .nav-menu .menu-item--active > a {
    color: var(--accent-color);
  }
  .nav-menu .menu-item-has-children {
    position: relative;
  }
  .nav-menu .menu-item-has-children .menu-item__button{
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    top: 0;
    right: 0;
    height: 45px;
    width: 85px;
    transition: all .3s;
  }
  .nav-menu .menu-item--active .menu-item__button {
    transform: rotateX(180deg);
  }
  .nav-menu .menu-item--active .menu-item__button path,
  .nav-menu .menu-item:hover .menu-item__button path {
    stroke: var(--accent-color);
  }
  .nav-menu .menu-item-has-children::before {
    content: none;
  }
  .nav-menu .menu-item-has-children .sub-menu {
    z-index: 1;
    position: relative;
    top: 0;
    display: grid;
    grid-template-rows: 0fr;
    overflow: hidden;
    max-width: 100%;
    padding: 0 30px;
    transition: all .3s;
  }
  .nav-menu .menu-item:hover .sub-menu {
    top: 0;
  }
  .nav-menu .menu-item--active .sub-menu {
    padding: 12px 30px;
    grid-template-rows: 1fr;
  }
  .nav-menu .menu-item:not(.menu-item-projects) .sub-menu {
    padding-top: 0;
  }
  .nav-menu .menu-item-projects .sub-menu{
    border-top: 0px #33333326 solid;
  }
  .nav-menu .menu-item-projects.menu-item--active .sub-menu{
    border-top-width: 2px;
  }
  .nav-menu .menu-item-has-children .sub-menu__container {
    padding: 0;
    min-height: 0;
    list-style: none;
    visibility: hidden;
    transition: all .3s;
  }
  .nav-menu .menu-item--active .sub-menu__container {
    visibility: visible;
  }
  .nav-menu .menu-item-projects .sub-menu__container {
    gap: 24px;
    overflow-x: scroll;
  }
  .nav-menu .menu-item-projects.menu-item--active .sub-menu__container {
    padding: 0 0 12px;
  }
  .nav-menu .menu-item:not(.menu-item-projects) li a {
    font-size: 14px;
    line-height: 20px;
  }
  .menu-item-project, .menu-item-project > a {
    height: 176px;
    width: 216px;
  }
  .navigation {
    width: 100%;
  }
  .navigation__container {
    justify-content: start;
    width: 100%;
    padding: 0 30px 15px;
    border-radius: 0;
  }
  .navigation__container li:first-child {
    display: none;
  }
  .navigation__container a {
    white-space: nowrap
  }

  .hero .container {
    padding: 0;
  }
  .hero__container{
    height: 340px;
    padding: 27px;
    border-radius: 0;
  }

  .swiper-info-card {
    position: relative;
    overflow: hidden;
  }
  .info-card__list {
    gap: 0;
  }
  .info-card{
    padding: 30px;
  }
  .swiper-pagination {
    z-index: 1;
    bottom: 0px !important;
  }
  .swiper-pagination-bullets{
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .swiper-pagination-bullet{
    height: 6px;
    width: 6px;
  }
  .swiper-pagination-bullet-active {
    height: 8px;
    width: 8px;
    background: var(--dark-font-color);
    opacity: 50%;
  }

  .projects-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 40px;
  }
  .project__card {
    height: 550px;
    width: 100%;
    padding: 25px;
    border-radius: 35px;
  }
  .info-section__img {
    border-radius: 35px;
  }
  .s-badge--sale,
  .s-badge--sold {
    top: 20px;
    left: 25px;
  }
  .project__disc {
    display: none;
  }
  .about-project__link-container {
    display: flex;
    flex-wrap: wrap;
  }

  .section-map .map{
    height: 400px;
  }

  .advantages__item, .advantages__item:nth-child(2n){
    grid-template-areas: none;
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
    margin-bottom: 24px;
  }
  .advantages__item:first-child {
    margin-top: 30px;
  }
  .advantages__img {
    grid-area: auto;
    height: clamp(150px, 50vw, 200px);
    border-radius: 35px;
  }
  .advantages__text {
    grid-area: auto;
  }

  .service-list{
    gap: 24px; 
  }
  .service{
    padding: 25px;
  }
  .service__title {
    left: 25px;
    bottom: 25px;
  }
  .service__img-container {
    border-radius: 30px;
  }


  .villas-container {
    grid-template-columns: 1fr 1fr;
  }

  .about-project__container, .project-map__container {
    grid-template-columns: 1fr;
  }

  footer .container {
    flex-direction: column;
  }
  .footer__info-container {
    width: 100%;
    align-items: center;
    margin-bottom: 50px;
  }
  .footer__info-container li {
    text-align: center;
  }

  .hidden-mobile {
    display: none !important;
  }

  .project-hero__specs {
    grid-template-columns: 1fr;
    grid-template-rows: none;
    column-gap: 0;
    row-gap: 10px;
    width: 100%;
  }

  .grid-gallery {
    grid-template-columns: 1fr 1fr;
  }
  .grid-item {
    height: 200px;
  }

  .villa__card {
    height: 550px;
  }
  .villa__img {
    height: 250px;
  }

  .villa__card .s-badge--sale, .villa__card .s-badge--sold {
    top: 40px;
    left: 40px;
  }

  .about-project__img-container {
    height: 500px;
  }
  .about-project__info-container {
    padding: 25px;
  }
}

@media (max-width: 768px) {
  .ts-3 {
    font-size: 16px;
    line-height: 25px;
  }
  .button {
    padding: 5px 15px;
  }
  .info-card {
    padding: 20px;
    border-radius: 40px
  }
  .info-section__container {
    grid-template-columns: 1fr;
  }
  .projects-list {
    grid-template-columns: 1fr !important;
  }
  .villas-container {
    grid-template-columns: 1fr;
  }
  .about-project__container {
    gap: 25px;
  }
  .about-project__img-container {
    grid-template-rows: 2fr 1fr;
    height: auto;
  }
  .about-project__img {
    grid-row: span 1;
    height: auto;
    align-self: stretch;
  }
  .about-project__shadow {
    display: none;
  }
  .about-project__info-container {
    grid-row: 2;
    align-self: center;
    padding: 25px 0 0;
  }
  .page-villa .about-project__info-container {
   grid-template-columns: 1fr 1fr; 
  }
  .about-project__info {
    color: var(--dark-font-color);
  }
  .return-to-header {
    bottom: 15px;
    right: 15px;
  }
  .footer__top, .footer__middle, .footer__info, footer .main-menu, footer .mobile_nav, footer .mobile_nav li {
    display: flex;
    flex-direction: column;
    justify-content: start;
    align-items: center;
    text-align: center;
  }
  .footer__top p, .footer__info p, .footer__bottom p {
    text-align: center;
  }
}
@media (max-width: 576px) {
  .info-section__img {
    border-radius: 30px;
  }
  .project__card {
    height: calc(100vw - 60px);
    padding: 20px;
    border-radius: 30px;
  }
  .project__card-info {
    flex-direction: row;
    gap: 1em;
  }
  .service-list {
    grid-template-columns: 1fr;
  }
}
/* HHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHh */


.toggle-nav i {
  background-color: var(--accent-color);
  color: var(--dark-font-color);
}
.toggle-nav i:hover {
  color: var(--light-font-color);
}

.link {
  display: inline-block;
  color: var(--dark-font-color);
  background-color: var(--accent-color);
  border-radius: 5px;
  text-transform: uppercase;
  line-height: 14px;
  font-size: 14px;
  padding: 15px 30px;
  font-weight: 700;
  text-decoration: none;
}
.link:hover {
  color: var(--light-font-color) !important;
  text-decoration: none;
}

.about {
  padding-bottom: 0;
}
.about__container {
  padding-top: 125px;
  display: flex;
}
.about__text {
  width: 65%;
  padding-left: 100px;
  font-size: 20px;
  color: var(--dark-font-color);
}
.about__slogan {
  margin-top: -20px;
  width: 35%;
  font-size: 32px;
  border-top: 1px solid var(--accent-color);
  color: var(--accent-color);
}


.contact {
  padding-bottom: 0;
}
.contact__container{
  display: flex;
  justify-content: start;
  gap: 30px;
  flex-wrap: wrap;
  align-items: start;
}
.contact__container .form-container{
  max-width: none;
  margin: 0;
}
.contact__text {
  color: var(--dark-font-color);
  font-size: 20px;
  line-height: 1.5;
}
.contact__text a {
  color: cornflowerblue;
}


.external-div .box-image img {
  opacity: 0.8;
}
.hero-project-text {
  background-color: var(--main-color);
  opacity: 90%;
  padding: 40px 100px 40px 40px;
  position: absolute;
  right: 0;
  bottom: 0;
  text-align: left;
}
.hero-project-text h1 {
  color: var(--accent-color);
}
.hero-project-text li {
  color: var(--light-font-color);
}

.villas-list {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 100px;
  margin-left: -20px;
  margin-right: -20px;
}
.villa-item {
  height: 100%;
  width: 50%;
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: start;
}
.villa-item__content {
  padding: 36px 40px 0;
}
.villa-item__img {
  max-height: 300px;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.villa-item__title,
.villa-item__title a {
  display: inline-block;
  text-decoration: none;
  font-weight: 600;
  font-size: 32px;
  line-height: 1.35;
  color: var(--dark-font-color);
}

.sidenav {
  background-color: var(--main-color);
}

.swiper-slide {
  /*padding-bottom: 40px;*/
}

.swiper-slide img {
  width: 100%;
  height: 500px;
  object-fit: cover;
}

@media (width > 1000px) {
  .main-navigation {
    display: flex;
    flex-direction: row-reverse;
  }
}

@media (width <= 768px) {
  .service,
  .project,
  .villa-item {
    width: 100%;
  }
  .villa-item__content,
  .project__content {
    padding: 20px 0 0;
  }
  .about__container {
    flex-direction: column-reverse;
  }
  .about__text {
    width: 100%;
    padding-left: 0;
  }
  .about__slogan {
    width: 100%;
  }
  footer .container {
    flex-direction: column;
  }
  footer .main-menu {
    width: 100%;
  }
  footer #menu-footer-menu {
    flex-direction: column;
    gap: 20px;
  }
  footer #menu-footer-menu .menu-item {
    min-width: 280px;
  }
  footer .custom-logo-link~ul{
    margin-bottom: 40px;
  }
  .swiper-slide img {
    height: 300px;
  }

  iframe {
    max-width: 100%;
  }
}

.swiper-button-next, .swiper-button-prev {
    color: var(--accent-color);
}

.swiper-pagination-bullet-active {
    background: var(--accent-color);
}