/* Reset and base styles  */
@import url("https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700&family=Raleway:wght@400;700&family=Roboto:wght@300&display=swap");
* {
  padding: 0px;
  margin: 0px;
  border: none;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

/* Links */
a,
a:link,
a:visited {
  text-decoration: none;
}

a:hover {
  text-decoration: none;
}

/* Common */
aside,
nav,
footer,
header,
section,
main {
  display: block;
}

h1,
h2,
h3,
h4,
h5,
h6,
p {
  font-size: inherit;
  font-weight: inherit;
}

ul,
ul li {
  list-style: none;
}

img {
  vertical-align: top;
}

img,
svg {
  max-width: 100%;
  height: auto;
}

address {
  font-style: normal;
}

/* Form */
input,
textarea,
button,
select {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  background-color: transparent;
}

input::-ms-clear {
  display: none;
}

button,
input[type=submit] {
  display: inline-block;
  box-shadow: none;
  background-color: transparent;
  background: none;
  cursor: pointer;
}

input:focus,
input:active,
button:focus,
button:active {
  outline: none;
}

button::-moz-focus-inner {
  padding: 0;
  border: 0;
}

label {
  cursor: pointer;
}

legend {
  display: block;
}

body {
  font-family: "Raleway", sans-serif;
  background-color: #242b33;
  color: #fff;
  overflow-x: hidden;
}

a {
  color: #fff;
  transition: color 0.2s ease-in;
}
a:hover {
  color: #d4c17f;
}
@media (hover: hover) and (pointer: fine) {
  a:hover {
    color: #d4c17f;
  }
}
@media (hover: none) and (pointer: coarse) {
  a:active {
    opacity: 0.5;
  }
}

.container {
  margin: 0 auto;
  padding: 0 15px;
  max-width: 1140px;
}
.container--sm {
  max-width: 840px;
}

.text-right {
  text-align: right;
}

.title-2 {
  font-size: 36px;
  font-family: "Playfair Display";
  color: #d4c17f;
  font-weight: 700;
}
@media screen and (max-width: 959px) {
  .title-2 {
    font-size: 28px;
  }
}

.no-scroll {
  overflow-y: hidden;
}

.none {
  display: none !important;
}

.header {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding-top: 30px;
  padding-bottom: 74px;
  min-height: 840px;
  background: linear-gradient(180deg, #242b33 11.98%, rgba(45, 52, 60, 0.38) 51.04%, #242b33 92.19%), url("../../../images/header/header-bg.jpg") no-repeat;
}

.header__top-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header__nav-btn {
  display: none;
}

.header__top-row--mobile {
  position: fixed;
  z-index: 10;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #242b33;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  row-gap: 60px;
  padding: 40px 0;
}
.header__top-row--mobile .header__nav {
  display: block;
}
.header__top-row--mobile .nav__list {
  flex-direction: column;
  align-items: center;
  row-gap: 30px;
}
.header__top-row--mobile .header__nav-btn {
  position: fixed;
  top: 60px;
  right: 50px;
}

.header__title {
  position: relative;
  padding-bottom: 121px;
  text-align: center;
  color: #d4c17f;
  font-family: "Playfair Display";
  font-size: 48px;
  font-weight: 700;
}

.header__title-icon {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translate(-50%, 0%);
}

.header__footer {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

@media screen and (max-width: 959px) {
  .header {
    min-height: unset;
    row-gap: 50px;
  }
  .header__nav-btn {
    display: block;
  }
  .header__nav {
    display: none;
  }
  .header__title {
    font-size: 32px;
    padding-bottom: 100px;
  }
  .header__footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    row-gap: 30px;
  }
}
.nav {
  font-size: 14px;
}

.nav__list {
  display: flex;
  -moz-column-gap: 40px;
       column-gap: 40px;
}

.info {
  font-size: 18px;
  position: relative;
}
.info--map, .info--tel {
  padding-left: 35px;
}
.info--map::before, .info--tel::before {
  content: "";
  position: absolute;
  left: 0px;
  top: 0px;
  width: 21px;
  height: 21px;
  background-repeat: no-repeat;
}
.info--map::before {
  background-image: url("./../../images/header/map.svg");
}
.info--tel::before {
  background-image: url("./../../images/header/phone.svg");
}

@media screen and (max-width: 959px) {
  .info {
    font-size: 18px;
  }
  .info--map, .info--tel {
    padding-left: 26px;
    height: 18px;
    display: flex;
    align-items: center;
  }
}
.benefits {
  padding: 120px 0;
}

.benefits__row {
  display: flex;
  -moz-column-gap: 70px;
       column-gap: 70px;
}

.benefits__item {
  text-align: center;
}

.benefits__item-img {
  margin-bottom: 53px;
}

.benefits__item-text {
  font-size: 20px;
  line-height: 1.35;
  font-family: "Roboto", sans-serif;
  font-weight: 300;
}

@media screen and (max-width: 959px) {
  .benefits {
    padding: 60px 0;
  }
  .benefits__row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
    gap: 40px 30px;
  }
  .benefits__item-img {
    width: 60px;
    height: 60px;
    margin-bottom: 20px;
  }
  .benefits__item-text {
    font-size: 16px;
  }
}
.apartments__title {
  margin-bottom: 88px;
}

.apartments__cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

@media screen and (max-width: 959px) {
  .apartments__title {
    margin-bottom: 44px;
  }
  .apartments__cards {
    grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
    justify-items: center;
  }
}
.card {
  position: relative;
  display: inline-block;
  color: #fff;
  overflow: hidden;
  z-index: 0;
}
.card::before {
  content: "";
  position: absolute;
  left: 0px;
  top: 0px;
  width: 100%;
  height: 100%;
  z-index: 6;
  background: linear-gradient(180deg, rgba(36, 43, 51, 0) 0%, #242b33 100%);
}
.card::after {
  opacity: 0;
  content: "";
  position: absolute;
  left: 15px;
  top: 15px;
  right: 15px;
  bottom: 15px;
  z-index: 7;
  border: 3px double rgba(255, 255, 255, 0.4);
  transition: opacity 0.2s ease-in;
}
.card:hover::after {
  opacity: 1;
}
.card:hover {
  color: #fff;
}

.card__img {
  position: relative;
  transition: 0.2s ease-in;
  z-index: 5;
}

.card:hover .card__img {
  transform: scale(1.1);
  filter: contrast(120%) brightness(1.2) saturate(1.2);
}

.card__title {
  position: absolute;
  z-index: 10;
  left: 50px;
  bottom: 44px;
  font-size: 24px;
}

.card__box {
  position: relative;
}

@media screen and (max-width: 959px) {
  .card__title {
    font-size: 20px;
    left: 30px;
    bottom: 30px;
  }
}
.cta {
  padding: 180px 0;
  background: linear-gradient(180deg, #242b33 10.42%, rgba(36, 43, 51, 0) 50.52%, #242b33 90.1%), linear-gradient(0deg, rgba(36, 43, 51, 0.9) 0%, rgba(36, 43, 51, 0.9) 100%), url("../../../images/cta/bg.jpg") no-repeat;
}

.cta__title {
  margin-bottom: 17px;
}

.cta__wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.cta__text {
  line-height: 1.5;
}

.cta__form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 35px 30px;
}

.ctaQuestion__form {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 35px 30px;
}

.ctaQuestion__title {
  margin-bottom: 40px;
}

@media screen and (max-width: 959px) {
  .cta {
    padding: 60px 0;
  }
  .cta__wrapper {
    grid-template-columns: 1fr;
  }
  .cta__text {
    font-size: 14px;
  }
  .cta__form {
    grid-template-columns: 1fr;
  }
}
.form__input {
  height: 50px;
  padding: 12px;
  text-align: center;
  background-color: rgba(255, 255, 255, 0.2);
  color: #fff;
  font-size: 14px;
  transition: 0.2s ease-in;
}
.form__input::-moz-placeholder {
  color: #bebebe;
}
.form__input::placeholder {
  color: #bebebe;
}
.form__input:focus {
  background-color: rgba(255, 255, 255, 0.3);
}

.form__privacy {
  font-size: 13px;
  color: #e7e7e7;
  text-align: center;
  line-height: 1.23;
}
@media screen and (max-width: 959px) {
  .form__privacy--bottom {
    grid-row: 4;
  }
}

.form__btn {
  height: 50px;
  padding: 12px;
  text-align: center;
  color: #fff;
  font-weight: 700;
  background-color: #d4c17f;
  font-size: 16px;
  transition: 0.2s ease-in;
}
.form__btn:hover {
  background-color: #e5ca6e;
}

@media screen and (max-width: 959px) {
  .ctaQuestion__form {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(4, 1fr);
  }
  .form__privacy {
    grid-row-start: 4;
  }
}
.video__row {
  padding: 60px 195px 90px;
}

.video__box {
  position: relative;
  min-width: 720px;
  min-height: 650px;
  box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25), 0 4px 4px 0 rgba(0, 0, 0, 0.25);
  background-color: rgba(36, 43, 51, 0.8);
  background-image: url("../../../images/videoSection/videoImg.png");
  background-size: cover;
  background-repeat: no-repeat;
}

.video__box::after {
  content: url("data:image/svg+xml,%3Csvg width='101' height='100' viewBox='0 0 101 100' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M50.4297 0C22.8159 0 0.429749 22.3857 0.429749 50C0.429749 77.6143 22.8159 100 50.4297 100C78.0436 100 100.43 77.6143 100.43 50C100.43 22.3857 78.0436 0 50.4297 0ZM67.711 52.6504L42.711 68.2754C42.2051 68.5912 41.6299 68.75 41.0547 68.75C40.5337 68.75 40.0118 68.6203 39.5395 68.3578C38.5462 67.807 37.9297 66.7617 37.9297 65.625V34.375C37.9297 33.2383 38.5462 32.193 39.5395 31.6422C40.5329 31.0883 41.7475 31.1219 42.711 31.7246L67.711 47.3496C68.6243 47.9219 69.1797 48.9229 69.1797 50C69.1797 51.0771 68.6243 52.0783 67.711 52.6504Z' fill='%23D4C17F' /%3E%3C/svg%3E");
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100px;
  height: 100px;
  transform: translate(-50%, -50%);
  transition: transform 0.3s ease;
}

.video__box:hover::after {
  animation: pulse 1.5s infinite ease-in-out;
}

@keyframes pulse {
  0% {
    transform: translate(-50%, -50%) scale(1);
  }
  50% {
    transform: translate(-50%, -50%) scale(1.1);
  }
  100% {
    transform: translate(-50%, -50%) scale(1);
  }
}
@media screen and (max-width: 959px) {
  .video__box {
    min-width: 720px;
    min-height: 650px;
  }
  .video__row {
    padding: 20px 0;
  }
}
@media screen and (max-width: 768px) {
  .video__box {
    min-width: 300px;
    min-height: 350px;
  }
}
.footer {
  padding: 70px 0 60px;
  background: #2d343c;
}
.footer__container {
  display: flex;
  justify-content: space-between;
}
.footer__accentText {
  font-weight: 700;
  color: #d4c17f;
}

.footer-links {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 15px;
}
.footer-links__item {
  font-size: 14px;
}

.social-block {
  padding: 20px 0;
}
.social-block .social-menu {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 22px;
}

.social-menu__item {
  transition: all 1s;
}
.social-menu__item:hover {
  transform: scale(1.4);
}

.social-menu__link img {
  width: 35px;
  height: 20px;
}

@media screen and (max-width: 959px) {
  .footer {
    padding: 70px 0 0;
  }
  .footer__container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: 1fr 1fr;
    gap: 15px;
    justify-content: center;
    justify-items: center;
  }
  .footer__logoCol {
    grid-area: 2/2;
  }
}
@media screen and (max-width: 768px) {
  .footer__container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: 1fr 1fr;
    gap: 10px;
    row-gap: 30px;
  }
  .footer__logoCol {
    display: none;
  }
  .footer__contactsCol {
    grid-column-start: 1;
    grid-column-end: 3;
  }
}
/* Nav Icon */
.nav-icon-btn {
  --time: 0.1s;
  --width: 40px;
  --height: 30px;
  --line-height: 1px;
  --line-margin: 2;
  --color: #fff;
  height: var(--height);
  width: var(--width);
  display: flex;
  justify-content: center;
  align-items: center;
}

.nav-icon {
  position: relative;
  width: var(--width);
  height: var(--line-height);
  background-color: var(--color);
}

.nav-icon::before,
.nav-icon::after {
  content: "";
  display: block;
  position: absolute;
  left: 0;
  width: var(--width);
  height: var(--line-height);
  background-color: var(--color);
  transition: transform var(--time) ease-in, top var(--time) linear var(--time);
}

.nav-icon::before {
  top: calc(var(--line-height) * -8);
}

.nav-icon::after {
  top: calc(var(--line-height) * 8);
}

.nav-icon.nav-icon--active {
  background-color: transparent;
}

.nav-icon.nav-icon--active::before,
.nav-icon.nav-icon--active::after {
  top: 0;
  transition: top var(--time) linear, transform var(--time) ease-in var(--time);
}

.nav-icon.nav-icon--active::before {
  transform: rotate(45deg);
}

.nav-icon.nav-icon--active::after {
  transform: rotate(-45deg);
}/*# sourceMappingURL=main.css.map */