/*
Theme Name: Криуша
Theme URI: https://kriusha.ru
Author: URSA
Author URI: https://ursa.agency
Description: Тема для коттеджного посёлка Криуша.
Version: 1.2.20
*/

/* Fonts ------------------------------ */

@font-face {
  font-family: "Noah";
  src: url(fonts/Noah-Regular.ttf) format('truetype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "Prata";
  src: url(fonts/Prata-Regular.ttf) format('truetype');
  font-weight: normal;
  font-style: normal;
}

/* Global ------------------------------ */

body {
  position: relative;
  font-family: Noah, Arial, sans-serif;
  font-size: 1.25em;
  line-height: 1.5;
  color: #111;
}

button {
  margin: 0;
  padding: 0;
  font: inherit;
  border: none;
  background-color: transparent;
  cursor: pointer;
}

.button {
  position: relative;
  display: inline-block;
  padding: 0.75em 2.5em;
  font: inherit;
  text-decoration: none;
  background: linear-gradient(45deg, #956E48 0%, #CB9C6E 100%);
  border: none;
  cursor: pointer;
}

.button.light {
  border: 1px solid rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.1);
}

.button:not(.light):hover {
  background: linear-gradient(225deg, #956E48 0%, #CB9C6E 100%);
}

.button::after {
  content: "";
  position: absolute;
  top: 1px;
  right: 1px;
  bottom: 1px;
  left: 1px;
  display: block;
  border-width: 1px;
  border-style: solid;
  pointer-events: none;
}

.button.light::after {
  border: 1px solid rgba(255, 255, 255, 0.9);
}

h1,
h2,
h3,
h4,
.title {
  font-family: Prata, Arial, sans-serif;
}

h1,
h2 {
  margin-bottom: 0.39em;
  font-size: 3.2em;
  line-height: 1.35;
}

h2,
.modal .modal-title {
  display: inline-block;
  background: linear-gradient(45deg, #956E48 0%, #CB9C6E 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

h3 {
  font-size: 1.6em;
}

h4 {
  font-size: 1.25em;
  margin-bottom: 0.25em;
}

a {
  text-decoration: none;
  transition: color 0.25s;
}

a:hover {
  text-decoration: underline;
}

svg {
  flex-shrink: 0;
}

article > *:first-child {
  margin-top: 0;
}

article > * {
  margin-bottom: 1em;
}

article > *:last-child {
  margin-bottom: 0;
}

article h2,
article h3 {
  display: block;
  background: transparent;
  -webkit-background-clip: border-box;
  background-clip: border-box;
  -webkit-text-fill-color: currentcolor;
}

article h2 {
  margin: 1.5em 0 1em;
  font-size: 1.25em;
}

article h3 {
  font-size: 1.25em;
}

/* Grid ------------------------------ */

.wrap {
  width: 100%;
}

main .wrap {
  min-height: 100vh;
}

.wrap.grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
}


/* -------------------------------------------------------------------------------- */
/*	Site Header
/* -------------------------------------------------------------------------------- */


header {
  position: absolute;
  z-index: 100;
  width: 100%;
}

header .header-wrap {
  display: grid;
  grid-template-columns: repeat(3, auto);
  padding: 2em 6em 0;
}

header .logo {
  width: 3.2em;
  height: 3.2em;
}

header a {
  color: #fff;
  text-decoration: none;
}

header .navigation {
  display: flex;
  justify-content: center;
  align-items: center;
}

header .navigation h3 {
  display: none;
}

header .menu {
  display: flex;
}

header .menu li {
  margin-right: 2.5em;
}

header .menu li:nth-last-child(1),
header .menu li:nth-last-child(2),
header .menu li:nth-last-child(3){
  margin-right: 0;
}

header .menu li:nth-last-child(1),
header .menu li:nth-last-child(2) {
  display: none;
}

header .phone-wrap {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

header .phone-wrap .vk,
header .phone-wrap .vk svg {
  width: 1.25em;
  height: auto;
}

header .phone-wrap .vk {
  margin-right: 1.5em;
  line-height: 1;
}

header .phone-wrap .vk svg {
  fill: #FFFFFF;
}

header .phone {
  font-family: Prata, Arial, sans-serif;
  font-size: 1.1em;
}

header #menu-btn {
  display: none;
}


/* -------------------------------------------------------------------------------- */
/*	Site Footer
/* -------------------------------------------------------------------------------- */


.copyright {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 100%;
  padding-bottom: 1.55em;
  font-size: 0.8em;
  text-align: center;
}

.copyright a {
  opacity: 0.9;
  transition: opacity 0.25s;
}

.copyright a:hover {
  opacity: 1;
}


/* -------------------------------------------------------------------------------- */
/*	Main Content
/* -------------------------------------------------------------------------------- */


/* Banner ------------------------------ */

main .wrap-banner {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

main .wrap-banner::before,
main .wrap-banner::after {
  content: "";
  position: absolute;
  z-index: 45;
  left: 0;
  display: block;
  pointer-events: none;
}

main .wrap-banner::before {
  width: 100%;
  top: 0;
  height: 7.5em;
  background: linear-gradient(180deg, rgba(179, 135, 92, 0.5) 0%, rgba(179, 135, 92, 0.0001) 100%);
}

main .wrap-banner::after {
  bottom: 0;
  width: 50%;
  height: 18.5em;
  background: radial-gradient(100% 50% at 0% 100%, rgba(47, 47, 49, 0.5) 0%, rgba(47, 47, 49, 0.0001) 100%);
}

main .wrap-banner .banner {
  position: absolute;
  z-index: 10;
  width: 100%;
  height: 100vh;
  -o-object-fit: cover;
     object-fit: cover;
  -o-object-position: center center;
     object-position: center center;
}

main .wrap-banner .text-content {
  position: absolute;
  z-index: 50;
  bottom: 0;
  left: 0;
  padding: 0 0 3.75em 6em;
  color: #fff;
}

main .wrap-banner .text-content .text-wrap {
  max-width: 28em;
}

main .wrap-banner .text-content .button {
  display: none;
}

/* Banner map Points ------------------------------ */

main .pointers {
  position: absolute;
  z-index: 20;
  width: 100%;
  height: 100vh;
  -o-object-fit: cover;
     object-fit: cover;
  -o-object-position: center center;
     object-position: center center;
}

.pointers .pointer-group {
  cursor: pointer;
}

.pointers .pointer-group .pointer {
  border-radius: 50%;
  stroke-opacity: 0.9;
  stroke-width: 2px;
  fill-opacity: 0.1;
  transition: fill-opacity 0.25s;
}

.pointers .pointer-group circle,
.pointers .pointer-group .plus {
  transition: fill 0.25s;
}

.pointers .pointer-group:hover .pointer,
.pointers .pointer-group.active .pointer {
  fill-opacity: 0.9;
}

.pointers .pointer-group .animation,
.pointers .pointer-group:hover .animation {
  fill-opacity: 0.5;
}

.pointers .pointer-group .plus {
  font-size: 2.5em;
  opacity: 0.9;
  transition: transform 0.25s;
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
}

.pointers .pointer-group.active .plus {
  transform: rotate(45deg) translate(-1px, 1px);
}

/* Banner Map Tooltip ------------------------------ */

.tooltip {
  position: absolute;
  z-index: 200;
  width: 18em;
  padding: 0.75em 1.25em 1em 1.25em;
  background-color: rgba(255, 255, 255, 0.95);
  border-radius: 15px;
  visibility: hidden;
  opacity: 0;
  transition: visibility 0.25s, opacity 0.25s;
}

.tooltip.active {
  visibility: visible;
  opacity: 1;
}

.tooltip .title {
  font-size: 1.1em;
  margin-bottom: 0.225em;
}

.tooltip .custom-pulsation {
  position: absolute;
  z-index: -1;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 15px;
  opacity: 0.5;
  -webkit-animation: pulsation 2s infinite;
          animation: pulsation 2s infinite;
}

@-webkit-keyframes pulsation {
  100% {
    transform: scale(1.05, 1.1);
    opacity: 0;
  }
}

@keyframes pulsation {
  100% {
    transform: scale(1.05, 1.1);
    opacity: 0;
  }
}

/* Modal Map Genplan ------------------------------ */

#modal-map-genplan {
  position: fixed;
  z-index: 300;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  display: none;
  overflow-y: scroll;
  background-color: #000;
}

#modal-map-genplan .img-genplan,
#modal-map-genplan .pointers {
  display: block;
  width: 1920px;
  height: auto;
}

#modal-map-genplan .pointers {
  position: absolute;
  z-index: 310;
  top: 0;
  left: 0;
}

.btn-close {
  position: fixed;
  z-index: 320;
  top: 0;
  left: 0;
  padding: 20px;
  font-size: 32px;
  line-height: 1;
  color: #fff;
  font-weight: 700;
}

/* About ------------------------------ */

.wrap-about {
  padding: 3.2em 0;
}

.wrap-about .col-img {
  position: relative;
  grid-column: span 3;
  overflow: hidden;
}

.wrap-about .col-img .wrap-img {
  height: 100%;
  background: url("media/osterman.jpg") no-repeat -250px center / auto 100vh;
  background-attachment: fixed;
  transition: transform 0.5s ease-out;
}

.wrap-about .col-img .wrap-img:hover {
  transition: transform 5s ease-out;
}

.wrap-about .col-img .wrap-figure {
  position: absolute;
  z-index: 10;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: url("media/bg-about-figure.svg") no-repeat center right / cover;
  pointer-events: none;
  transform: scale(1.01);
}

.wrap-about .col-img:hover .wrap-img {
  transform: scale(1.075);
}

.wrap-about .col-content {
  grid-column: 5 / span 6;
  display: flex;
  align-items: center;
}

.wrap-about .col-content p {
  margin-bottom: 1.25em;
}

.wrap-about .col-content .advantages {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(3, 1fr);
  grid-gap: 1.25em 1.75em;
}

.wrap-about .col-content .advantages .advantage {
  position: relative;
  padding-left: 4.25em;
}

.wrap-about .col-content .advantages .advantage .sign {
  position: absolute;
  top: 35%;
  left: 2%;
  width: 90px;
  font-family: Prata, Arial, sans-serif;
  text-align: right;
  line-height: 1;
  transform: rotate(-90deg);
}

.wrap-about .col-content .advantages .advantage .text-wrap h3 {
  margin-bottom: 0.156em;
}

.wrap-about .col-content .advantages .wrap-button {
  display: flex;
  justify-content: center;
  align-items: center;
}

.wrap-about .col-content .showcase {
  display: flex;
  align-items: center;
  margin-top: 1.25em;
  column-gap: 1.25em;
  padding: .75em;
  border: 3px double rgba(188, 187, 182, .25);
}

.wrap-about .col-content .showcase .video-wrap {
  position: relative;
  height: 105px;
}

.wrap-about .col-content .showcase .video-wrap .video-preview {
  height: 100%;
  aspect-ratio: 16/9;
}

.wrap-about .col-content .showcase .video-wrap .play-wrap {
  position: absolute;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  opacity: .75;
  transition: opacity ease-in-out 250ms, transform ease-in-out 250ms;
}

.wrap-about .col-content .showcase:hover .video-wrap .play-wrap {
  opacity: 1;
}

.wrap-about .col-content .showcase .video-wrap .play-wrap:hover {
  cursor: pointer;
  transform: scale(1.25);
}

.wrap-about .col-content .showcase .video-wrap .play-wrap .video-play {
  position: relative;
  flex-shrink: 0;
  flex-grow: 0;
  width: 48px;
  height: 48px;
  filter: drop-shadow(0 0 1em rgba(0, 0, 0, .15));
}

.wrap-about .col-content .partners {
  display: flex;
  align-items: center;
  column-gap: 2.5em;
  margin-top: 2em;
  margin-left: 2.5em;
}

.wrap-about .col-content .partners .partner {
  display: block;
  flex-shrink: 0;
  opacity: .9;
}

.wrap-about .col-content .partners .partner:hover {
  opacity: 1;
}

.wrap-about .col-content .partners .partner svg {
  height: 48px;
}

/* Plan ------------------------------ */

main .wrap-plan {
  height: auto;
  background-color: #F8F7F2;
  padding: 3.2em 0;
}

main .wrap-plan .content {
  max-width: 84%;
  margin: 0 auto;
}

.wrap-plan .gallery-stages {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  column-gap: 1.25em;
  row-gap: 2.5em;
  margin-bottom: 2.4em;
}

.wrap-plan .gallery-stages .gallery-card .gallery-preview {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
  margin-bottom: .75em;
}

.wrap-plan .gallery-stages .gallery-card .gallery-frame {
  position: relative;
}

.wrap-plan .gallery-stages .gallery-card .gallery-frame::before,
.wrap-plan .gallery-stages .gallery-card .gallery-frame::after {
  position: absolute;
  content: "";
  display: block;
  width: 3em;
  height: 1.5em;
  border-width: 0;
  border-color: #b3875c;
  border-style: solid;
}

.wrap-plan .gallery-stages .gallery-card .gallery-frame::before{
  left: -0.25em;
  top: -0.25em;
  border-left-width: 1px;
  border-top-width: 1px;
}
.wrap-plan .gallery-stages .gallery-card .gallery-frame::after{
  right: -0.25em;
  bottom: -0.25em;
  border-right-width: 1px;
  border-bottom-width: 1px;
}

.wrap-plan .gallery-stages .gallery-card .gallery-preview img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  transition: transform ease-in-out 500ms;
}

.wrap-plan .gallery-stages .gallery-card .gallery-preview:hover img {
  cursor: pointer;
  transform: scale(1.1);
  filter: contrast(1.1);
}

.wrap-plan .gallery-stages .gallery-card .gallery-date {
  display: block;
  font-size: .85em;
  margin-bottom: .15em;
}

.wrap-plan .col-plan {
  display: flex;
  justify-content: center;
  align-items: center;
}

.wrap-plan .col-plan .tab-caption-wrap button {
  font-family: Prata, Arial, sans-serif;
}

.wrap-plan .col-plan ul:not(:last-child) {
  margin-bottom: 1.25em;
}

.wrap-plan .col-plan ul li {
  position: relative;
  padding-left: 1em;
}

.wrap-plan .col-plan ul.list-docs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: 2.2em;
  row-gap: .15em;
}

.wrap-plan .col-plan ul.list-docs li {
  padding-left: 1.3em;
}

.wrap-plan .col-plan ul li::before {
  content: "";
  position: absolute;
  top: calc(50% - 0.3125em / 2);
  left: 0;
  display: block;
  width: 0.3125em;
  height: 0.3125em;
  border-radius: 50%;
}

.wrap-plan .col-plan ul.list-docs li::before {
  content: "—";
  position: absolute;
  top: 0;
  left: 0;
  width: auto;
  height: auto;
  background: transparent;
}

/* News ------------------------------ */

main .wrap-news {
  height: auto;
  padding: 3.2em 0;
}

main .wrap-news .content {
  max-width: 84%;
  margin: 0 auto;
}

.wrap-news .news {
  margin-bottom: 2em;
}

.wrap-news .news .news-card {
  margin-left: 0.75em;
  position: relative;
  padding-left: 2em;
  padding-bottom: 1em;
  border-left-width: 0.25em;
  border-left-style: solid;
}

.wrap-news .news .news-card:last-child {
  padding-bottom: 0;
  border-color: transparent;
}

.wrap-news .news .news-card::before {
  position: absolute;
  display: block;
  content: '';
  width: 1.25em;
  height: 1.25em;
  left: -1em;
  top: -0.05em;
  border-radius: 1em;
  border-width: 0.25em;
  border-style: solid;
  background-color: #FFFFFF;
}

.wrap-news .news .news-card p {
  margin-bottom: .15em;
}

.wrap-news .news .news-card .news-date {
  font-size: .85em;
}

.wrap-news .content button {
  margin-left: 3em;
}

/* Lots ------------------------------ */

main .wrap-lots {
  height: auto;
}

main #lots {
  position: relative;
  height: auto;
  min-height: auto;
  overflow: hidden;
  background-color: #F8F7F2;
}

.wrap-lots {
  position: relative;
}

.wrap-lots .img-lots {
  display: block;
  width: 100%;
  height: auto;
}

.wrap-lots .svg-map-layer {
  position: absolute;
  z-index: 20;
  top: 0;
  left: 0;
  display: none;
  width: auto;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
  -o-object-position: center center;
  object-position: center center;
}

.wrap-lots .svg-map-layer.layer-active {
  display: block;
}

.wrap-lots .svg-lots .svg-lots-wrap path:not(.sold):not(.reserve) {
  cursor: pointer;
}

.wrap-lots .svg-lots .svg-lots-wrap path {
  transition: opacity 0.25s;
  fill: color-mix(in srgb, currentColor 50%, transparent);
  stroke: color-mix(in srgb, currentColor 50%, black);
  stroke-width: 2px;
  stroke-dasharray: 8, 4;
}

.wrap-lots .svg-lots .svg-lots-wrap path:not(.sold):not(.reserve):hover,
.wrap-lots .svg-lots .svg-lots-wrap path.active {
  fill: color-mix(in srgb, currentColor 65%, transparent);
  stroke: color-mix(in srgb, currentColor 65%, black);
  mix-blend-mode: overlay;
}

#lots .wrap-lots-info {
  position: absolute;
  z-index: 25;
  left: 50%;
  margin-right: -50%;
  padding: 0.25em;
  font-size: 0.9em;
  border-radius: 10em;
  transform: translateX(-50%);
  box-shadow: 0 0 10px 10px rgba(47, 47, 49, 0.25);
  -ms-overflow-style: none;
  scrollbar-width: none;
}

#lots .wrap-lots-info::-webkit-scrollbar {
  display: none;
}

#lots .buttons-layer {
  top: 0.5em;
}

#lots .buttons-layer .button {
  padding: 0.5em 2.5em;
  border-radius: 10em;
}

#lots .buttons-layer .button::after {
  border-radius: 10em;
}

#lots .buttons-layer .button.button-active:hover {
  background: linear-gradient(45deg, #956E48 0%, #CB9C6E 100%);
}

#lots .buttons-layer .button:not(.button-active) {
  color: inherit;
  background: transparent;
}

#lots .conventional-signs .conventional-signs-el.conventional-signs-el-active {
  display: flex;
  align-items: center;
}

#lots .conventional-signs .conventional-signs-el {
  display: none;
}

#lots .compass {
  position: absolute;
  left: 2.4em;
  bottom: 2.4em;
  z-index: 100;
}

/* Contacts ------------------------------ */

.wrap-contacts .col {
  grid-column: span 6;
}

.wrap-contacts .col-content {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.tabs {
  margin-bottom: 3.75em;
}

.wrap-contacts .tabs {
  margin-bottom: 1.875em;
}

.tabs .tab-caption-wrap {
  position: relative;
  display: flex;
  align-items: center;
  margin-bottom: 2.65em;
  font-family: Prata, Arial, sans-serif;
  font-size: 0.95em;
}

.tabs .tab-caption-wrap.disabled {
  cursor: wait;
}

.tabs .tab-caption-wrap.disabled .tab-caption {
  pointer-events: none;
}

.tabs .tab-caption-wrap .tab-caption {
  transition: color 0.25s;
}

.tabs .tab-caption-wrap .tab-caption:not(:last-child) {
  margin-right: 1.85em;
}

.tabs .tab-caption-wrap .tab-caption-line {
  position: absolute;
  left: 0;
  bottom: -0.5em;
  height: 2px;
  border-radius: 0 0 100px 100px;
  transition: left 0.5s, width 0.5s;
}

.tabs .tab-content {
  display: none;
}

.tabs .tab-content:first-child {
  display: block;
}

.wrap-contacts .contact-w-icon {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 1.875em;
}

.wrap-contacts .social {
  display: flex;
  justify-content: center;
  align-items: center;
  column-gap: .5em;
  width: 100%;
  margin-bottom: 0.9375em;
}

.wrap-contacts .social .vk {
  margin-bottom: 0;
}

.wrap-contacts .contact-w-icon svg {
  width: 1.25em;
  height: 1.25em;
  margin-right: 0.625em;
}

.wrap-contacts .col-content .contact:not(:last-child) {
  margin-bottom: 0.25em;
}

.wrap-contacts .col-content .contact.with-icon {
  display: flex;
  align-items: center;
}

.wrap-contacts .col-content .contact .marker {
  flex-shrink: 0;
  width: 0.95em;
  height: 1.2em;
  margin-right: 0.5em;
}

.wrap-contacts .lot-booking {
  text-align: center;
}

.wrap-contacts .lot-booking p {
  max-width: 18em;
  margin: 0 auto 1.25em;
}

.wrap-contacts #map {
  width: 100%;
  height: 100%;
}

/* Modal windows ------------------------------ */

.modals-wrap {
  position: fixed;
  z-index: 300;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  display: none;
  justify-content: center;
  align-items: center;
  background-color: rgba(179, 135, 92, 0.5);
  cursor: pointer;
}

.modal {
  position: relative;
  display: none;
  z-index: 310;
  width: 24em;
  margin-bottom: 0;
  padding: 2.5em 3em;
  overflow: hidden;
  text-align: center;
  cursor: auto;
}

.modal .modal-title {
  margin-bottom: 0.47em;
}

.modal form {
  margin-top: 0.75em;
}

.modal .input-wrap {
  position: relative;
  display: inline-block;
  margin: 0 0 0.5em;
}

.modal .input-wrap .warning {
  position: absolute;
  z-index: 10;
  bottom: 0.6em;
  left: 0;
  width: 1.1em;
  height: 1em;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s;
}

.modal .input-wrap.invalid .warning {
  opacity: 1;
}

.modal input {
  width: 12em;
  margin: 0;
  padding: 0.5em 1.7em;
  font: inherit;
  text-align: center;
  border: none;
  border-bottom: 1px solid rgba(188, 187, 182, 0.5);
  transition: color 0.25s, border-color 0.25s;
}

input::-webkit-contacts-auto-fill-button {
  visibility: hidden;
  display: none !important;
  pointer-events: none;
  position: absolute;
  right: 0;
}

.modal .privacy-text {
  margin: 0.94em 0 1.56em;
  font-size: 0.8em;
}

#modal-success {
  padding: 3.75em 3em;
}

.modal .icon {
  width: 6.4em;
  height: 6.4em;
}

#modal-success .icon {
  display: block;
  margin: 0 auto 0.5em;
}

.modal .wrap-sending {
  position: absolute;
  z-index: 215;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  background-color: rgba(255, 255, 255, 0.9);
  transition: opacity 0.25s, visibility 0.25s;
  cursor: wait;
}

.modal .wrap-sending .icon-sending-wrap {
  -webkit-animation: iconRotate 1.5s infinite;
          animation: iconRotate 1.5s infinite;
}

@-webkit-keyframes iconRotate {
  25% {
    transform: rotate3d(0, 1, 0, 360deg);
  }

  100% {
    transform: rotate3d(0, 1, 0, 360deg);
  }
}

@keyframes iconRotate {
  25% {
    transform: rotate3d(0, 1, 0, 360deg);
  }

  100% {
    transform: rotate3d(0, 1, 0, 360deg);
  }
}

.modal.sending .wrap-sending {
  opacity: 1;
  visibility: visible;
}

#modal-privacy-policy {
  width: 48em;
  height: 80vh;
}

#modal-privacy-policy .modal-title {
  margin-bottom: 1em;
}

#modal-privacy-policy .modal-content {
  height: calc(100% - 4em);
  overflow-y: scroll;
  text-align: left;
}

#modal-lot {
  max-height: 90vh;
  width: 30em;
  text-align: left;
  overflow-y: auto;
}

#modal-lot .grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-gap: 1.25em 4.75em;
}

#modal-lot .lot-meta .value {
  font-family: Prata, Arial, sans-serif;
  font-size: 1.1em;
}

#modal-lot .button {
  width: 100%;
  margin-top: 1.56em;
  padding: 0.75em 2em;
}

#modal-showcase {
  width: 75%;
  aspect-ratio: 16/9;
  padding: 0;
}

#modal-showcase .video-showcase {
  width: 100%;
  aspect-ratio: 16/9;
}

#modal-gallery {
  width: 80%;
  padding: 0;
}

#modal-gallery #gallery-wrap {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  max-height: 90vh;
  cursor: pointer;
}

#modal-gallery #gallery-wrap .gallery-photo {
  width: 100%;
  max-height: 90vh;
  object-fit: cover;
}

#modal-gallery #gallery-wrap .gallery-navigation {
  position: absolute;
  width: 3.5em;
  left: .5em;
  bottom: 0;
  text-align: center;
  letter-spacing: -0.1em;
  font-family: Prata, Arial, sans-serif;
  text-shadow: 0 0 1em rgba(0, 0, 0, .75);
}

#modal-gallery #gallery-wrap .gallery-navigation .current {
  font-size: 2em;
}

#modal-gallery #gallery-wrap .gallery-navigation .separator {
  font-size: .75em;
}

#modal-gallery #gallery-wrap .gallery-navigation .total {
  font-size: 1em;
}

#modal-temporary-notice .notice-content:not(:first-child) {
  margin-top: 1.875em;
  padding-top: 1.875em;
  border-top-width: 1px;
  border-top-style: solid;
  border-color: #eeeeee;
}

/* Notification ------------------------------ */

.notification .content-wrap,
.notification .content {
  display: flex;
  align-items: center;
}

.notification {
  position: fixed;
  z-index: 200;
  bottom: -100px;
  left: 50%;
  padding: 1.125em 0.94em 1.125em 3.125em;
  opacity: 0;
  font-size: 0.8em;
  background-color: rgba(47, 47, 49, 0.95);
  border-radius: 2px;
  box-shadow: 0 25px 50px 50px rgba(47, 47, 49, 0.25);
  transform: translateX(-50%);
  transition: bottom 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.4s;
}

.notification.active {
  bottom: 1.56em;
  opacity: 1;
}

.notification .content {
  margin-right: 3.125em;
}

.notification .content svg {
  width: 14px;
  height: 14px;
  margin-right: 0.625em;
}

.notification .content span {
  white-space: nowrap;
}

.notification .close {
  line-height: 1;
}

.notification .close svg {
  width: 10px;
  height: 10px;
}


/* -------------------------------------------------------------------------------- */
/*	Media Queries
/* -------------------------------------------------------------------------------- */

@media only screen and (min-width: 2560px) {
  body {
    font-size: 1.5em;
  }
}


@media only screen and (min-width: 1920px) and (max-width: 2559px) {
  body {
    font-size: 1.375em;
  }
}

@media only screen and (max-width: 1399px) {
  body {
    font-size: 1.25em;
  }
}

@media only screen and (max-width: 1359px) {
  body {
    font-size: 1.1em;
  }
}

@media only screen and (max-width: 1279px) {
  body {
    font-size: 0.95em;
  }
}

/* Medium ------------------------------ */

@media only screen and (max-width: 1023px) {

  h1,
  h2 {
    margin-bottom: 0.5em;
  }

  header,
  main .wrap-banner .text-content,
  .wrap .col-content {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    padding: 2.5em 0;
  }

  header .header-wrap,
  main .wrap-banner .text-content .text-wrap,
  .wrap .col-content > div {
    grid-column: 2 / span 10;
  }

  .wrap.grid {
    display: block;
  }


  /* -------------------------------------------------------------------------------- */
  /*	Site Header
  /* -------------------------------------------------------------------------------- */


  header .header-wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0;
  }

  header .navigation {
    position: fixed;
    z-index: 200;
    top: 0;
    right: 0;
    display: block;
    height: 100vh;
    padding: 2.5em 2em;
    opacity: 0;
    visibility: hidden;
    background: linear-gradient(to right bottom, #956E48 0%, #CB9C6E 100%);
    transition: opacity 0.1s, visibility 0.1s;
  }

  body.menu-active header .navigation {
    opacity: 1;
    visibility: visible;
    z-index: 200;
  }

  header .navigation h3 {
    display: block;
    margin-bottom: 1em;
  }

  header .menu {
    display: block;
  }

  header .menu li {
    margin-right: 0;
    margin-bottom: 1em;
  }

  header .menu li:nth-last-child(1),
  header .menu li:nth-last-child(2) {
    display: block;
  }

  header .menu li:last-child {
    margin-bottom: 0;
  }

  header .menu a {
    text-shadow: none;
  }

  header #menu-btn {
    position: relative;
    display: block;
    width: 25px;
    height: 30px;
  }

  header #menu-btn div {
    position: absolute;
    width: 100%;
    height: 2px;
    background-color: #111;
    transition: transform 0.25s, top 0.25s, bottom 0.25s;
    cursor: pointer;
  }

  header #menu-btn .part-1 {
    top: 10px;
  }

  header #menu-btn .part-2 {
    bottom: 10px;
  }

  body.menu-active,
  body.genplan-active {
    overflow: hidden;
  }

  header .phone-wrap .vk {
    display: none;
  }


  /* -------------------------------------------------------------------------------- */
  /*	Site Footer
  /* -------------------------------------------------------------------------------- */


  .copyright {
    position: static;
    padding-bottom: 0;
    margin-top: 2.5em;
  }


  /* -------------------------------------------------------------------------------- */
  /*	Main Content
  /* -------------------------------------------------------------------------------- */


  body {
    font-size: 1em;
  }

  main .wrap {
    height: auto;
  }

  main .wrap-banner .text-content {
    padding-bottom: 2.5em;
    padding-left: 0;
  }

  main .wrap-banner .text-content .text-wrap {
    max-width: none;
    text-align: center;
  }

  main .wrap-banner .pointers {
    display: none;
  }

  main .wrap-banner::after {
    width: 100%;
    height: 50%;
    background: linear-gradient(rgba(47, 47, 49, 0) 0%, rgba(47, 47, 49, 0.5) 100%);
  }

  main .wrap-banner .text-content .button {
    display: inline-block;
    margin-top: 2em;
  }

  /* About ------------------------------ */

  .wrap-about {
    position: relative;
    overflow: hidden;
  }

  .wrap-about .col-img {
    display: none;
  }

  .wrap-about .col-content p {
    margin-bottom: 1.56em;
  }

  .wrap-about .col-content .advantages {
    grid-template-columns: repeat(1, 1fr);
    grid-gap: 1.56em 1.75em;
  }

  .wrap-about .col-content .advantages .advantage {
    padding-left: 3em;
  }

  .wrap-about .col-content .advantages .advantage .sign {
    top: 2.5em;
    left: -1.25em;
  }

  .wrap-about .col-content .advantages .wrap-button {
    display: block;
    margin-top: 1.56em;
    margin-bottom: 0.625em;
  }

  .wrap-about::before {
    content: "Криуша";
    position: absolute;
    z-index: -1;
    bottom: -2%;
    left: calc(100% + 0.6em);
    display: inline;
    font-family: Prata, Arial, sans-serif;
    font-size: 7em;
    color: #F8F7F2;
    transform-origin: left bottom;
    transform: rotate(-90deg);
  }

  /* Gallery ------------------------------ */

  main .wrap-plan {
    padding: 0;
  }

  .wrap-plan .gallery-stages {
    grid-template-columns: repeat(1, minmax(0, 1fr));
    row-gap: 2.2em;
  }

  .wrap-plan .col-plan ul.list-docs {
    grid-template-columns: repeat(1, minmax(0, 1fr));
  }

  .wrap-plan .col-plan {
    padding: 2.5em 0;
  }

  /* Lots ------------------------------ */

  .wrap-lots {
    min-height: 350px;
    max-height: 75vh;
    overflow: scroll;
    overscroll-behavior: none;
  }

  .wrap-lots .img-lots,
  .wrap-lots .svg-map-layer {
    max-width: none;
    width: 1700px;
    height: auto;
  }

  #lots > a {
    font-size: 18px;
  }

  /* Contacts ------------------------------ */

  .wrap.grid.wrap-contacts {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
  }

  .wrap-contacts .col-content .wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
  }

  .wrap-contacts .col-content .wrapper h2 {
    width: 100%;
    text-align: center;
  }

  .wrap-contacts .col-content .tabs {
    margin-bottom: 3.125em;
  }

  .wrap-contacts .contact-w-icon {
    max-height: 1.5em;
  }

  .wrap-contacts #map {
    grid-row: 2 / 3;
    height: 75vh;
  }

  /* Modal windows ------------------------------ */

  #modal-privacy-policy {
    width: 90%;
  }

  #modal-privacy-policy .modal-title {
    display: block;
    word-wrap: break-word;
  }

  #modal-privacy-policy .modal-content {
    height: calc(100% - 8.75em);
  }
}

/* Small ------------------------------ */

@media only screen and (max-width: 767px) {
  .wrap-about {
    padding: 0;
  }

  .wrap-about .col-content .showcase {
    flex-direction: column;
    align-items: flex-start;
    width: 88%;
    margin-left: 0;
    column-gap: 0;
    row-gap: 1em;
    padding: 1em 1.25em;
  }

  .wrap-about .col-content .showcase .video-wrap {
    width: 100%;
    height: unset;
    aspect-ratio: 16/9;
  }

  .wrap-about .col-content .showcase .video-wrap .video-preview {
    width: 100%;
    height: unset;
  }

  .wrap-about .col-content .showcase .video-wrap .play-wrap:hover {
    transform: scale(1.15);
  }

  .wrap-about .col-content .showcase .video-wrap .play-wrap .video-play {
    width: 56px;
    height: 56px;
  }

  .wrap-about .col-content .partners {
    flex-wrap: wrap;
    column-gap: 1.2em;
    row-gap: 0.6em;
    margin-top: 1.75em;
    margin-left: 0;
  }

  .wrap-news .news .news-card {
    margin-left: 0.875em;
    padding-left: 1.75em;
  }

  .wrap-news .news .news-card::before {
    width: 1em;
    height: 1em;
    left: -0.875em;
  }

  .wrap-news .content button {
    margin-left: 2.875em;
  }

  /* Modals ------------------------------ */

  .modal,
  #modal-lot {
    width: 90%;
  }

  #modal-lot .grid {
    grid-template-columns: repeat(1, 1fr);
    grid-gap: 0.625em 0;
  }

  #modal-showcase {
    width: 90%;
  }

  #modal-gallery {
    width: 96%;
  }

  #modal-gallery #gallery-wrap,
  #modal-gallery #gallery-wrap .gallery-photo {
    max-height: 75vh;
  }

  /* Lots ------------------------------ */

  #lots .wrap-lots-info {
    left: 50%;
    transform: translateX(-50%);
  }

  #lots .buttons-layer {
    top: 0.75em;
  }

  #lots .buttons-layer .button {
    flex-grow: 1;
    padding: 0.25em 1em;
  }

  #lots .conventional-signs {
    bottom: 0.75em;
  }

  #lots .compass {
    width: 4.2em;
    left: 0.75em;
    bottom: 3em;
  }
}

/* Extra Small ------------------------------ */

@media only screen and (min-width: 320px) and (max-width: 359px) {
  body {
    font-size: 15px;
  }
}
