@charset "UTF-8";
/* Reset and base styles  */
@import url("https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400..900;1,400..900&family=Raleway:ital,wght@0,100..900;1,100..900&family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&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;
}

/*$dark: #242b33;*/
/*$footer-bg: #2d343c;*/
/*$footer-bg: #0258ba;*/
/*
    font-family: "Roboto", serif;
    font-optical-sizing: auto;
    font-weight: 100;
    font-style: normal;
    font-variation-settings: "wdth" 100;

    font-family: "Raleway", serif;
    font-optical-sizing: auto;
    font-weight: <weight>;
    font-style: normal;

    font-family: "Playfair Display", serif;
    font-optical-sizing: "auto";
    font-style: "normal";
*/
body {
  font-family: "Raleway", serif;
  background-color: #002754;
  color: #fff;
  font-size: 16px;
}

a {
  color: #fff;
  transition: color 0.2s ease-in;
}
a:hover {
  color: #dec17f;
}

.container {
  margin: 0 auto;
  padding-left: 15px;
  padding-right: 15px;
  max-width: 1140px;
  /*border: 2px solid rgb(25, 0, 255);*/
}
.container--sm {
  max-width: 840px;
}

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

/*==================== Main ============================*/
.visually-hidden {
  height: 1px;
  overflow: hidden;
  width: 1px;
  position: absolute;
  clip: rect(1px 1px 1px 1px);
  clip: rect(1px, 1px, 1px, 1px);
  -webkit-clip-path: inset(50%);
          clip-path: inset(50%);
  white-space: nowrap;
}

.none {
  display: none !important;
}

.title-2 {
  font-size: 36px;
  font-family: "Playfair Display", serif;
  color: #dec17f;
  font-weight: 700;
  letter-spacing: 0.2rem;
  font-size: clamp(22px, 4vw, 36px);
}
@media screen and (max-width: 959px) {
  .title-2 {
    font-size: 22px;
  }
}

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

.site-name {
  font-size: 24px;
}

.header {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 840px;
  height: 100vh;
  /*height: auto;*/
  /*background: linear-gradient(
      180deg,
      #242b33 11.98%,
      rgba(45, 52, 60, 0.38) 51.04%,
      #242b33 92.19%
    ),
    url("../img/header/header-bg.jpg");*/
  /**/
  background: linear-gradient(180deg, #002754 1.98%, rgba(45, 52, 60, 0.38) 30%, #002754 92.19%), url("../img/header/header-bg.jpg");
  /*background: url("../img/header/header-bg.jpg");*/
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
  padding-top: 10px;
  padding-bottom: 105px;
}
@media screen and (max-width: 959px) {
  .header {
    min-height: unset;
    row-gap: 50px;
  }
}

.logo {
  display: block;
  min-width: 70px;
  max-width: 100px;
  width: 10%;
  padding: 5px 15px;
  border-radius: 15px;
  background-color: #fff;
  /*height: 40px;*/
}

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

.header__body {
  margin-top: 35%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/*Mobil B*/
.header__top-row--mobile {
  position: fixed;
  background-color: #002754;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 99;
  display: flex;
  flex-direction: column;
  justify-content: start;
  align-items: center;
  row-gap: 50px;
  padding-top: 40px;
  padding-bottom: 40px;
}
.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 {
  z-index: 11;
  position: fixed;
  right: 30px;
  top: 40px;
}

.header__nav {
  /*
    @media screen and (max-width:$tablet) {
        display: none;
    }
   */
}
@media screen and (max-width: 959px) {
  .header__nav {
    display: none;
  }
}

.header__nav-btn {
  display: none;
  /*
      @media screen and (max-width:$tablet) {
          display: block;
      }
  */
}
@media screen and (max-width: 959px) {
  .header__nav-btn {
    display: block;
  }
}

/*Mobil E*/
.header_title {
  position: relative;
  text-align: center;
  /*font-size: 48px;*/
  font-size: clamp(25px, 4vw, 48px);
  font-family: "Playfair Display", serif;
  color: #dec17f;
  font-weight: 700;
  letter-spacing: 0.2rem;
  text-shadow: 1px 1px 2px #000;
  padding: 10px 15px;
  /*padding-bottom: 121px;
  height: 27vh;*/
  z-index: 0;
}
.header_title::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 100%;
  background-color: rgba(45, 99, 160, 0.59);
  z-index: -1;
  border-radius: 15px;
  /*box-shadow: 1px 1px 1px 2px rgba(0, 31, 67, 0.18);*/
}
@media screen and (max-width: 959px) {
  .header_title {
    /* font-size: 30px;*/
    /* padding-bottom: 100px;*/
  }
}

/*mouse*/
.header__title-icon {
  width: 40px;
  color: #fff;
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translate(-50%, 0%);
}

.header__footer {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}
@media screen and (max-width: 959px) {
  .header__footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    row-gap: 30px;
  }
}

.nav {
  font-size: 16px;
  letter-spacing: 0.05em;
}

.nav__list {
  display: flex;
  justify-content: space-between;
  /*align-items: center;*/
  -moz-column-gap: 40px;
       column-gap: 40px;
}

.nav-link {
  padding: 10px 0px;
  font-size: 16px;
  font-weight: bold;
  letter-spacing: 0.1rem;
  transition: borader-bottom 0.6s ease-in-out;
}
@media screen and (max-width: 959px) {
  .nav-link {
    font-size: 24px;
    padding: 10px 10px;
  }
}

.nav-link:hover {
  cursor: pointer;
  border-bottom: 2px solid #dec17f;
}

.info {
  position: relative;
  font-size: 18px;
  padding-left: 35px;
  /*border: 2px solid rgb(1, 234, 255);*/
  /*1:05*/
}
.info::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 21px;
  height: 21px;
  transform: translate(0%, -50%);
  /* background-image: url(./../img/header/phone.svg); 3:36*/
  background-repeat: no-repeat;
  background-size: cover;
  background-color: #fff;
  background-position: center;
}
.info--map::before {
  background-image: url(./../img/header/address.svg);
}
.info--tel::before {
  background-image: url(./../../img/header/phone.svg);
  /*background-color: rgba(45, 99, 160, 0.59);*/
}
.info--tel::before, .info--map::before {
  padding: 10px;
  margin-left: -5px;
  background-color: #fff;
  border-radius: 5px;
}
.info--map:hover::before, .info--tel:hover::before {
  background-color: #dec17f;
}
@media screen and (max-width: 959px) {
  .info {
    font-size: 14px;
  }
  .info--map, .info--tel {
    padding-left: 25px;
    font-size: clamp(20px, 4vw, 30px);
  }
}

.info--tel:focus,
.info--tel:hover {
  text-decoration: underline;
  text-underline-offset: 5px;
}

.benefits {
  position: relative;
  padding: 120px 0;
  overflow: hidden;
}
.benefits::after {
  content: "II";
  left: calc(50% + 555px);
  transform: translate(-50%, 0%);
  position: absolute;
  top: 0;
  line-height: 1.15;
  opacity: 0.02;
  font-size: 400px;
  font-family: "Playfair Display", serif;
}

.benefits_row {
  display: flex;
  justify-content: space-between;
  -moz-column-gap: 70px;
       column-gap: 70px;
}
@media screen and (max-width: 959px) {
  .benefits_row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
    gap: 40px 30px;
  }
}

.benefits__item {
  text-align: center;
}

.benefits__item-img {
  margin-bottom: 53px;
  -o-object-fit: cover;
     object-fit: cover;
  width: 80px;
  color: aliceblue;
}
@media screen and (max-width: 959px) {
  .benefits__item-img {
    width: 60px;
    margin-bottom: 20px;
  }
}

.benefits__item-text {
  font-size: 20px;
  line-height: 1.35;
  font-family: "Roboto", serif;
  font-weight: 300;
}
@media screen and (max-width: 959px) {
  .benefits__item-text {
    font-size: 16px;
  }
}

.appartments {
  position: relative;
  padding-bottom: 100px;
}
.appartments::before {
  content: "III";
  position: absolute;
  top: 0;
  right: calc(50% + 555px);
  transform: translate(50%, 0%);
  line-height: 1.15;
  opacity: 0.02;
  font-size: 400px;
  font-family: "Playfair Display", serif;
}

.appartments__title {
  margin-bottom: 88px;
}
@media screen and (max-width: 959px) {
  .appartments__title {
    margin-bottom: 44px;
  }
}

.appartments__cards {
  /*background-color: aqua;*/
  min-width: 280px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  /*grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));  4:08*/
  gap: 30px;
}
@media screen and (max-width: 959px) {
  .appartments__cards {
    grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  }
}

/*1:53*/
.card {
  overflow: hidden;
  position: relative;
  /* display: inline-block;*/
  display: block;
  /*width: 300px;*/
}
.card::before {
  position: absolute;
  z-index: 6;
  content: "";
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  /*background-color: rgba(86, 86, 86, .5);*/
  background: linear-gradient(180deg, rgba(36, 43, 51, 0) 0%, #242b33);
}
.card::after {
  opacity: 0;
  position: absolute;
  z-index: 7;
  content: "";
  left: 10px;
  top: 10px;
  right: 10px;
  bottom: 10px;
  border: 3px double rgba(255, 253, 251, 0.3);
  transition: opacity 0.2s ease-in;
}
.card:hover {
  color: #fff;
}
.card:hover::after {
  opacity: 1;
}

.card__img {
  position: relative;
  -o-object-fit: cover;
     object-fit: cover;
  z-index: 5;
  /* transition: transform .2s ease-in-out;*/
  transition: all 0.2s ease-in-out;
}

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

.card__title {
  position: absolute;
  z-index: 8;
  left: 50px;
  right: 20px;
  bottom: 40px;
  font-size: 24px;
}
@media screen and (max-width: 959px) {
  .card__title {
    font-size: 20px;
    left: 30px;
    bottom: 30px;
  }
}

.cta {
  padding: 180px 0;
  background: linear-gradient(180deg, #002754 10.42%, rgba(36, 43, 51, 0) 50.52%, #002754 90.1%), linear-gradient(0deg, rgba(36, 43, 51, 0.8), rgba(36, 43, 51, 0.8)), url(./../img/cta/777\ feetBack-bg.jpeg), #c4c4c4;
  background-repeat: no-repeat;
  background-position: center;
}
@media screen and (max-width: 959px) {
  .cta {
    padding: 60px 0;
  }
}

.cta__title {
  margin-bottom: 17px;
}

.cta__wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}
@media screen and (max-width: 959px) {
  .cta__wrapper {
    grid-template-columns: 1fr;
  }
}

.cta__text {
  line-height: 1.5;
}
.cta__text p + p {
  margin-top: 1em;
}
@media screen and (max-width: 959px) {
  .cta__text {
    font-size: 14px;
  }
}

.cta__form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 35px 30px;
}
@media screen and (max-width: 959px) {
  .cta__form {
    grid-template-columns: 1fr;
  }
}

/*
@include mediaTablet {
       grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
   }
   */
/*.form{}*/
.form__input {
  height: 50px;
  padding: 12px;
  text-align: center;
  background-color: rgba(255, 255, 255, 0.2);
  color: #fff;
  font-size: 14px;
  transition: all 0.2s ease-in;
}
.form__input::-moz-placeholder {
  color: #bebebe;
}
.form__input:-ms-input-placeholder {
  color: #bebebe;
}
.form__input::placeholder {
  color: #bebebe;
}
.form__input:focus {
  background-color: rgba(255, 255, 255, 0.25);
}

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

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

.video {
  overflow: hidden;
  position: relative;
  text-align: center;
}
.video::after {
  content: "IV";
  position: absolute;
  top: 0;
  left: calc(50% + 555px);
  transform: translate(-50%, 0%);
  line-height: 1.15;
  opacity: 0.02;
  font-size: 400px;
  font-family: "Playfair Display", serif;
}

.video__link {
  position: relative;
  display: inline-block;
}
.video__link::before {
  position: absolute;
  content: "";
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  /*background: linear-gradient(0deg,rgba(36, 43, 51, 0.8), rgba(36, 43, 51, 0.8));*/
  background: rgba(36, 43, 51, 0.8);
  transition: background-color 0.2s ease-in;
}
.video__link:hover::before {
  background: rgba(36, 43, 51, 0.2);
}

.video__icon {
  height: 80px;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  transition: all 0.2s ease-in;
}
@media screen and (max-width: 959px) {
  .video__icon {
    height: 60px;
  }
}

.video__link:hover .video__icon {
  transform: translate(-50%, -50%) scale(1.2);
  filter: saturate(1.5);
}

.video__img {
  width: 720px;
}

.section-map {
  position: relative;
  padding: 180px 0;
}
.section-map::before {
  content: "IV";
  position: absolute;
  top: 180px;
  right: calc(50% + 555px);
  transform: translate(50%, 0%);
  line-height: 1.15;
  opacity: 0.02;
  font-size: 400px;
  font-family: "Playfair Display", serif;
  z-index: -1;
}
@media screen and (max-width: 959px) {
  .section-map {
    padding: 90px 0;
  }
}

.section-map__title {
  margin-bottom: 88px;
}
@media screen and (max-width: 959px) {
  .section-map__title {
    margin-bottom: 44px;
  }
}

/*
.section-map__map {
}
*/
.map {
  background-color: #626262;
  height: 358px;
}

/*
.balloon {
  width: 200px;
  font-weight: 700;
  text-align: center;

}

.balloon__contacts{
  font-weight: 700;
  font-size: 12pt;
}

.balloon__address {}
*/
.feedback {
  padding-bottom: 180px;
}
@media screen and (max-width: 959px) {
  .feedback {
    padding-bottom: 90px;
  }
}

.feedback__title {
  margin-bottom: 38px;
}
@media screen and (max-width: 959px) {
  .feedback__title {
    margin-bottom: 19px;
  }
}

.feedback__form {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  align-items: center;
}
@media screen and (max-width: 959px) {
  .feedback__form {
    grid-template-columns: repeat(1, 1fr);
  }
}

.footer {
  background-color: #183a62;
  padding-top: 72px;
  padding-bottom: 91px;
  font-size: 14px;
  letter-spacing: 0.05em;
}
@media screen and (max-width: 959px) {
  .footer {
    padding-top: 36px;
    padding-bottom: 25px;
  }
}

.footer__grid {
  display: grid;
  /*grid-template-columns: repeat(4, 1fr);*/
  grid-template-columns: 1fr 3fr;
  gap: 30px;
}
@media screen and (max-width: 959px) {
  .footer__grid {
    text-align: center;
    grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  }
}

.footer__logo {
  margin-top: -12px;
  margin-left: auto;
  margin-right: auto;
  /*border: 4px solid rgb(246, 255, 255);*/
}

.footer__logo-img {
  display: block;
  min-width: 100px;
  max-width: 250px;
  width: 15%;
  padding: 5px 15px;
  border-radius: 15px;
  background-color: #fff;
  margin: 0px auto;
}

.footer__logo img {
  -o-object-fit: cover;
     object-fit: cover;
}

.footer-nav__list {
  display: grid;
  gap: 15px;
}

.footer__address {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  font-size: clamp(18px, 4vw, 20px);
  /*
  &::before{
    position: absolute;

    content: "";
    height: 120%;
    width: 50%;
    border: 2px solid $white;
    border-radius: 15px;
    box-shadow: 10px 10px 10px 5px $dark ;
  }
  */
}

/*4:32*/
.nav-icon-btn {
  --time: .1s;
  --width:30px;
  --height:30px;
  --line-height: 1px;
  --line-margin:2px;
  --color: #fff;
  height: var(--height);
  width: var(--width);
  display: flex;
  justify-content: center;
  align-items: center;
}
.header__nav-btn {
  background-color: rgba(255, 255, 255, 0.25);
  padding: 5px 15px;
  border-radius: 15px;
}

/*
.header__nav-btn{}
.nav-icon-btn{}
*/
.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: 0px;
  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);
}

.section-map {
  height: auto;
}

[class*=copyrights-pane] {
  /*display: none !important;*/
  opacity: 0;
  transition: opasity 0.3s ease-in;
}

.map:hover [class*=copyrights-pane] {
  opacity: 1;
}

[class*=gototech] {
  display: none !important;
}

/*
[class*="ground-pane"] {
  filter: grayscale(1) sepia(10%);
}  5:03
*/
/*=====================*/
[class*=balloon__layout],
[class*=balloon__content] {
  background-color: #242b33 !important;
  color: aliceblue;
}

[class*=balloon__tail] ::after {
  background-color: #242b33 !important;
}

[class*=balloon__layout_panel] {
  background-color: #242b33 !important;
}

[class*=balloon__layout] {
  background-color: #242b33 !important;
}

[class*=balloon__layout],
[class*=balloon__content] a {
  color: #dec17f;
  border-radius: 5px;
  text-align: center;
}

[class*=balloon__close-button] {
  margin-top: 5px;
  margin-right: 5px;
  width: 20px;
  height: 20px;
  background-color: #fff;
  border-radius: 50%;
  z-index: 5;
}

/*
body{
    position: relative;
    height: 100%;
    font-size: 18px;
    line-height: 180%;
    background-color: aqua;
}
body.lock{
    overflow: hidden;
}
.title {
    color: green;
    margin-top: 40px;
}
a{
    color: red;
    font-weight: 700;
}
a:hover{
    color:black;
}

.header{
    position: fixed;
    left: 0;
    top: 0;
    right: 0;
}
*/
.popup-link {
  /*background-color: rgba(136, 255, 0, 0.56);*/
  display: block;
  text-align: center;
  font-size: large;
  text-decoration: none;
}

.popup {
  position: fixed;
  top: 5px;
  left: 5px;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  overflow-y: auto;
  overflow-x: hidden;
  /*======= =====*/
  opacity: 0;
  visibility: hidden;
  /*---anime---*/
  transition: all 0.9s ease 0s;
  z-index: 10;
}

/*.popup:target {*/
.popup.open {
  opacity: 1;
  visibility: visible;
}

/*.popup:target .popup__content{*/
.popup.open .popup__content {
  /*transform: translate(0px, 0px);*/
  transform: perspective(600px) translate(0px, 0px) rotateX(0deg);
  opacity: 1;
}

.popup__area {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
}

.popup__body {
  /*
  min-height: 60vh;
  max-height: 80vh;
  */
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px 10px;
}

.popup__content {
  background-color: rgba(255, 255, 255, 0.99);
  color: black;
  /*max-width: 800px;*/
  padding: 30px;
  position: relative;
  /*---anime---*/
  transition: all 0.9s ease 0s;
  opacity: 0;
  /*transform: translate(0px, -100%);*/
  transform: perspective(600px) translate(0px, -100%) rotateX(45deg);
}

.popup__content_image {
  padding: 0;
  /*overflow: hidden;*/
}

.popup__image .image {
  /*max-width: 90vw;*/
  max-width: 100%;
  vertical-align: top;
  /*object-fit: contain;*/
  -o-object-fit: cover;
     object-fit: cover;
  touch-action: manipulation;
}

.popup__close {
  position: absolute;
  display: table;
  top: 4px;
  right: 4px;
  font-size: 40px;
  color: rgba(220, 220, 220, 0.9);
  width: 30px;
  height: 30px;
  margin: 0;
  padding: 0;
  line-height: 22px;
  vertical-align: middle;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  background-color: #002754;
  /*background-color: rgba(113, 115, 250, 0.994)
  /*background-color: transparent;*/
}

.popup__close:hover {
  background-color: aliceblue;
  color: blue;
  border: 1px solid rgba(0, 0, 255, 0.9);
  outline: 2px solid #fff;
}

.popup__title {
  font-size: 40px;
  margin-bottom: 5px;
  display: none;
}

.popup__text {
  text-align: center;
}

.wrap__image {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 5px;
}

.productsFoto {
  position: relative;
}
.productsFoto::before {
  content: "III";
  position: absolute;
  top: 0;
  right: calc(50% + 555px);
  transform: translate(50%, 0%);
  line-height: 1.15;
  opacity: 0.02;
  font-size: 400px;
  font-family: "Playfair Display", serif;
}

.productsFoto__title {
  margin-bottom: 18px;
  font-weight: 900;
}
@media screen and (max-width: 959px) {
  .productsFoto__title {
    margin-bottom: 44px;
  }
}

/*
.productsFoto__cards--Old {  
  min-width: 280px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
         /*grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));  4:08*/
/*gap: 30px;
  @include mediaTablet {
    grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  }
}
*/
.productsFoto__cards {
  width: 100%;
}

.productsFoto__cards .title__row {
  text-align: center;
  padding-top: 30px;
  padding-bottom: 15px;
  font-size: 28px;
  font-size: clamp(18px, 4vw, 30px);
  font-weight: 700;
  color: #dec17f;
  font-family: "Playfair Display", serif;
  letter-spacing: 3px;
}

.productsFoto__row {
  min-width: 280px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}
@media screen and (max-width: 959px) {
  .productsFoto__row {
    grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  }
}

.card_p {
  overflow: hidden;
  position: relative;
  /* display: inline-block;*/
  display: block;
  /*width: 300px;*/
}
.card_p::before {
  position: absolute;
  z-index: 6;
  content: "";
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  border: 3px double rgba(255, 253, 251, 0.3);
  /*background-color: rgba(86, 86, 86, .5);*/
  /*background: linear-gradient(180deg, rgba(36, 43, 51, 0) 0%, #242b33);*/
  /*background: linear-gradient(180deg, rgba(36, 43, 51, 0) 0%, #242bff);*/
  /*background: linear-gradient(180deg, rgba(39, 133, 241, 0.1) 0%, #01057c);*/
}
.card_p::after {
  opacity: 0;
  position: absolute;
  z-index: 7;
  content: "";
  left: 10px;
  top: 10px;
  right: 10px;
  bottom: 10px;
  /*border: 3px double rgba(255, 253, 251, 0.3);*/
  transition: opacity 0.2s ease-in;
}
.card_p:hover {
  color: #fff;
}
.card_p:hover::after {
  opacity: 1;
}

.card_p__img {
  position: relative;
  /*height: 360px;*/
  width: 90%;
  height: auto;
  -o-object-fit: cover;
     object-fit: cover;
  z-index: 5;
  /* transition: transform .2s ease-in-out;*/
  transition: all 0.2s ease-in-out;
}

.card_p:hover .card_p__img {
  transform: scale(1.1);
  filter: contrast(110%) brightness(1.2) saturate(1.2);
}

.card_p:touch .card_p__img {
  transform: scale(1.1);
  filter: contrast(110%) brightness(1.2) saturate(1.2);
}

.card_p__title {
  /* position: absolute;
    left: 50px;
    right: 20px;
    bottom: 40px;
   */
  position: relative;
  z-index: 8;
  text-align: center;
  font-size: 24px;
  padding-top: 20px;
  height: 60px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
@media screen and (max-width: 959px) {
  .card_p__title {
    font-size: 20px;
    /*
    top: 2px;
    bottom: 30px;
    */
  }
}

.card_p--price {
  font-size: 20px;
  z-index: 8;
  position: relative;
  color: aliceblue;
}

.btn-up {
  /* фиксированное позиционирование */
  position: fixed;
  /* цвет фона */
  /*background-color: #2d5ca8;*/
  outline: 3px double #fff;
  /* расстояние от правого края окна браузера */
  right: 20px;
  /* расстояние от нижнего края окна браузера */
  bottom: 0;
  /* скругление верхнего левого угла */
  border-top-left-radius: 8px;
  /* скругление верхнего правого угла */
  border-top-right-radius: 8px;
  /* вид курсора */
  cursor: pointer;
  /* отображение элемента как flex */
  display: flex;
  /* выравниваем элементы внутри элемента по центру вдоль поперечной оси */
  align-items: center;
  /* выравниваем элементы внутри элемента по центру вдоль главной оси */
  justify-content: center;
  /* ширина элемента */
  width: 60px;
  /* высота элемента */
  height: 50px;
  z-index: 50;
}

.btn-up::before {
  content: "";
  width: 40px;
  height: 40px;
  background: transparent no-repeat center center;
  background-size: 100% 100%;
  /* background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23fff' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M7.646 4.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1-.708.708L8 5.707l-5.646 5.647a.5.5 0 0 1-.708-.708l6-6z'/%3E%3C/svg%3E");*/
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23fff' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M7.646 4.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1-.708.708L8 5.707l-5.646 5.647a.5.5 0 0 1-.708-.708l6-6z'/%3E%3C/svg%3E");
  /*background-color: #2d5ca8;*/
}

.btn-up_hide {
  display: none;
}

@media (hover: hover) and (pointer: fine) {
  .btn-up:hover {
    background-color: #4444ff; /* цвет заднего фона при наведении */
    outline: 3px solid #fff;
  }
}/*# sourceMappingURL=main.css.map */