/*!
Theme Name: medspa
Theme URI: http://underscores.me/
Author: Underscores.me
Author URI: http://underscores.me/
Description: Description
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: medspa
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready
This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.
medspa is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.
Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/
/* Указываем box sizing */
*,
*::before,
*::after {
  box-sizing: border-box;
}

/** {*/
/*  outline: 1px solid red;*/
/*}*/
/* Убираем внутренние отступы */
ul[class],
ol[class] {
  padding: 0;
}

/* Убираем внешние отступы */
body,
h1,
h2,
h3,
h4,
p,
ul[class],
ol[class],
li,
figure,
figcaption,
blockquote,
dl,
dd {
  margin: 0;
}

/* Выставляем основные настройки по-умолчанию для body */
body {
    font-family: 'Manrope', sans-serif;
  min-height: 100vh;
  scroll-behavior: smooth;
  text-rendering: optimizeSpeed;
  line-height: 1.5;
  background-color: #ededed;
}

/* Удаляем стандартную стилизацию для всех ul и il, у которых есть атрибут class*/
ul[class],
ol[class] {
  list-style: none;
}

/* Элементы a, у которых нет класса, сбрасываем до дефолтных стилей */
a:not([class]) {
  text-decoration-skip-ink: auto;
}

/* Упрощаем работу с изображениями */
img {
  max-width: 100%;
  display: block;
}

/* Указываем понятную периодичность в потоке данных у article*/
article>*+* {
  /*   margin-top: 1em; */
}

/* Наследуем шрифты для инпутов и кнопок */
input,
button,
textarea,
select {
  font: inherit;
}

input {
  border: none;
  background: none;
  padding: 0;
  margin: 0;
  font: inherit;
  color: inherit;
  outline: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  box-sizing: border-box;
}

/* Удаляем все анимации и переходы для людей, которые предпочитай их не использовать */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

:root {
  --container: 1352px;
}

a {
  text-decoration: none;
}

.container {
  max-width: var(--container);
  width: 100%;
  margin-inline: auto;
}

nav {
  margin-inline: auto;
}

/* .hamburger {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  order: 1;
 
}
 */
.top_menu {
  display: flex;
}

header {}

.header_wrap {
  display: flex;
  align-items: center;
  backdrop-filter: blur(9px);
  height: 80px;
  border-radius: 8px;
  border-bottom-width: 1px;
  padding: 20px;
  position: relative;
    z-index: 2;
  /*! position: fixed; */
}

.button_top {
  /* background-color: #7F227D; */
  font-family: 'Manrope';
  font-weight: 500;
  font-style: Medium;
  font-size: 16px;
  line-height: 24px;
  letter-spacing: 0%;
  cursor: pointer;
  color: #fff;
  gap: 8px;
  border-radius: 32px;
  padding-top: 12px;
  padding-right: 24px;
  padding-bottom: 12px;
  padding-left: 24px;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  background-image: linear-gradient(360deg,
      #3c1c3b -10.96%,
      #683067 33.7%,
      #a24aa0 173.12%);
  transition: 0.5s;
}

.button_top:hover {
  background-image: linear-gradient(180deg,
      #3c1c3b -10.96%,
      #683067 33.7%,
      #a24aa0 173.12%);
}

.button_top img {
  /*  width: 18.8px;
height: 17.3px; */
  /* transform: rotate(45deg); */
}

.banner {
  position: relative;
  width: 100%;
  aspect-ratio: 1.68;
  max-height: 900px;
  padding-top: 40px;
  display: grid;
    background-position: center;
    background-size: cover;
    background-position: center;
}

.banner_fon {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(179.74deg,
      rgba(36, 36, 36, 0.8) -116.55%,
      rgba(38, 34, 38, 0.8) 106.13%),
    url(img/top_baner.jpg);
  background-position: center, center;
  background-size: cover, cover;
  z-index: 1;
  /* background-blend-mode: screen; */
}

.top_menu a {
  font-family: 'Manrope';
  font-weight: 400;
  font-style: Regular;
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: 0%;
  color: #fff;
  gap: 8px;
  padding: 8px 16px;
  transition: 0.3s;
  /* outline: 1px solid red; */
}

.top_menu a.active {
  border-bottom: 1px solid #fff;
}

.banner_text_block {
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 25px;
    position: relative;
    z-index: 2;
}

.banner_login {
    font-family: 'Manrope';
  font-weight: 400;
  font-style: Regular;
  font-size: 80px;
  line-height: 1.2;
  letter-spacing: 0%;
  text-align: center;
  text-transform: capitalize;
  color: #fefff5;
}

.banner_text {
  font-family: 'Manrope';
  font-weight: 500;
  font-style: Medium;
  font-size: 18px;
  line-height: 28px;
  letter-spacing: 0%;
  text-align: center;
}

.banner_text span {
  font-weight: 600;
  font-style: SemiBold;
}

section.cat {
  min-height: 600px;
  padding-block: 50px;
  isolation: isolate;
}

.card_wrap {
  display: grid;
  /* grid-template-columns: repeat(auto-fit, minmax(326px, 1fr)); */
  width: 100%;
  grid-template-columns: repeat(4, minmax(326px, 1fr));
  grid-column-gap: clamp(10px, 2vw, 25px);
  grid-row-gap: 20px;
  justify-content: center;
  justify-items: center;
}

.card {
  position: relative;
  max-width: 40vw;
  cursor: pointer;
  /* aspect-ratio: 0.66;*/
  overflow: hidden;
  transition: 0.1s;
}

.card__content {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 60px;
  padding: 0 0;
  /*   box-shadow: 0px 4px 4px 0px #9F6879; */
  box-shadow: 0px 4px 4px 0px #00000040;
  background-image: linear-gradient(360deg,
      rgba(60, 28, 59, 0.7) -10.96%,
      rgba(104, 48, 103, 0.7) 33.7%,
      rgba(162, 74, 160, 0.7) 173.12%);
  transition: 1s;
  display: flex;
  flex-direction: column;
  border-radius: 10px 10px 0 0;
}

.card__content h2 {
  font-family: "Manrope";
  font-weight: 400;
  font-style: Regular;
  font-size: 36px;
  line-height: 1.5;
  letter-spacing: 0%;
  vertical-align: middle;
  color: #fff;
  text-align: center;
  margin-bottom: auto;
}

.card__thumb img {
  border-radius: 10px 10px 0 0;
}

.card .card__content p {
  display: none;
  padding: 15px 10px;
    font-family: "Manrope";
  font-weight: 400;
  font-style: Regular;
  font-size: 32px;
  color: #fff;
  line-height: 1;
  letter-spacing: 0%;
  text-align: center;
  vertical-align: middle;
  /* background-color: #FFFFFF; */
  border: 1px solid #8f8f8f;
  box-shadow: 0px 4px 4px 0px #00000080;
  width: calc(100% - 50px);
  margin-inline: auto;
  background: linear-gradient(90deg,
      rgba(0, 0, 0, 0.49) 0%,
      rgba(0, 0, 0, 0.51) 100%);
  margin-bottom: 40px;
  text-wrap: balance;
}

.card:hover>.card__content p {
  display: block;
}

.card:hover>.card__content {
  height: 80%;
}

.card:hover>.card__content h2 {
  color: #000000;
  background-color: #fff;
  background-image: linear-gradient(90deg,
      rgba(255, 255, 255, 1) 0%,
      rgba(255, 255, 255, 1) 100%);
}

.card_link {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 41.528663635253906;
  height: 40;
  border-radius: 16px;
  background-image: linear-gradient(360deg,
      #3c1c3b -10.96%,
      #683067 33.7%,
      #a24aa0 173.12%);
  padding: 10px;
  display: flex;
  align-items: center;
}

.middle_banner {
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  /*! min-height: 80vh; */
  padding-block: 100px 50px;
}

.middle_banner_content {
  width: 50%;
  /*! outline: 1px solid red; */
}

.middle_banner_wrap {
  /* display: grid;
  justify-items: center; */
}

.middle_banner_content .subtitle {
    font-family: "Manrope";
  font-weight: 400;
  font-style: Regular;
  font-size: 16px;
  line-height: 124%;
  letter-spacing: 0%;
  vertical-align: middle;
  text-shadow: 0 4px 4px #000;
  color: #fff;
}

.middle_banner_content h2 {
    font-family: "Manrope";
  font-weight: 400;
  font-style: Regular;
  font-size: 56px;
  line-height: 124%;
  letter-spacing: 0%;
  vertical-align: middle;
  text-shadow: 0 4px 4px #000;
  color: #fff;
  text-wrap: balance;
}

.middle_banner_block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-gap: 30px;
  margin-top: 30px;
}

.item {
  background-image: linear-gradient(360deg,
      rgba(60, 28, 59, 0.5) -10.96%,
      rgba(104, 48, 103, 0.5) 33.7%,
      rgba(162, 74, 160, 0.5) 173.12%);
  padding: 20px;
}

.item_wrap {
  display: flex;
  flex-direction: column;
}

.item_wrap img {
  width: 60px;
}

.item_wrap h4 {
  font-family: 'Manrope';
  font-weight: 500;
  font-style: Medium;
  font-size: 24px;
  line-height: 32px;
  letter-spacing: -1px;
  color: #ffffff;
  text-shadow: 0px 4px 2px #00000080;
  margin-bottom: 7px;
}

.item_wrap span {
  font-family: 'Manrope';
  font-weight: 400;
  font-style: Regular;
  font-size: 16px;
  line-height: 24px;
  letter-spacing: -0.4px;
  color: #ffffff;
  text-shadow: 0px 4px 2px #00000080;
  text-wrap: balance;
}

section.foto {
  padding-block: 50px;
}

.foto_item {
  width: 390px;
}

.foto_wrap {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-row-gap: 40px;
  justify-items: center;
}

section.review {
  padding-block: 50px;
}

.review_wrap {}

.review_wrap h2 {
    font-family: "Manrope";
  font-weight: 400;
  font-style: Regular;
  font-size: 56px;
  line-height: 124%;
  letter-spacing: 0%;
  text-align: center;
  vertical-align: middle;
  text-transform: capitalize;
}

.review_block {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-column-gap: 15px;
  justify-items: center;
  margin-top: 50px;
}

.review_item {
  background-color: #e9e9e9;
  display: flex;
  flex-direction: column;
  padding: 40px 30px;
  row-gap: 10px;
}

.review_foto {
  width: 72px;
  /*! margin-inline: auto; */
}

a.fio {
    font-family: "Manrope";
  font-weight: 400;
  font-style: Regular;
  font-size: 20px;
  line-height: 34px;
  letter-spacing: -0.5px;
  text-align: center;
  text-decoration: underline;
  text-decoration-style: solid;
  text-decoration-offset: 0%;
  text-decoration-thickness: 0%;
  text-decoration-skip-ink: auto;
  color: #000;
}

.rating {
  width: 122px;
  /*! margin-inline: auto; */
  margin-top: 5px;
}

.review_text {
    font-family: "Manrope";
  font-weight: 400;
  font-style: Regular;
  font-size: 20px;
  line-height: 30px;
  letter-spacing: -0.5px;
  /*! text-align: center; */
}

.review_block_wrap {
  display: flex;
  align-items: center;
  gap: 15px;
}

.review_block_wrap .fio {
    font-family: "Manrope";
  font-weight: 400;
  font-style: Regular;
  font-size: 22px;
  line-height: 34px;
  letter-spacing: -0.5px;
  text-decoration: none;
}

a.more {
    font-family: "Manrope";
  font-weight: 400;
  font-style: Regular;
  font-size: 20px;
  line-height: 24px;
  letter-spacing: 0%;
  text-align: center;
  display: flex;
  width: 140px;
  height: 60px;
  background-image: linear-gradient(360deg,
      #3c1c3b -10.96%,
      #683067 33.7%,
      #a24aa0 173.12%);
  color: #fff;
  margin: 20px auto 0 auto;
  align-items: center;
  justify-content: center;
}

.mail_wrap {
  display: flex;
  gap: 50px;
  flex-wrap: wrap;
}

.mail_foto {
  flex: 0 0 895px;
  /* flex: 0 0 min(100%,895px);  */
}

.mail_foto img {
  object-fit: cover;
}

.mail_block {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  row-gap: 50px;
  align-items: center;
}

.mail_block h3 {
    font-family: "Manrope";
  font-weight: 400;
  font-style: Regular;
  font-size: 32px;
  line-height: 120%;
  letter-spacing: 0%;
  text-align: center;
  vertical-align: middle;
  text-transform: capitalize;
  text-wrap: balance;
}

.mail_title {
  font-family: 'Manrope';
  font-weight: 400;
  font-style: Regular;
  font-size: 20px;
  line-height: 32px;
  letter-spacing: -0.4px;
  text-align: center;
  margin-top: 25px;
}

.form_book {
  width: 360px;
  height: 381px;
  background-image: linear-gradient(360deg,
      rgba(60, 28, 59, 0.8) -10.96%,
      rgba(104, 48, 103, 0.8) 33.7%,
      rgba(162, 74, 160, 0.8) 173.12%);
  box-shadow: 0px 4px 4px 0px #00000099;
  padding: 20px 15px 5px;
  max-width: 90%;
  margin-inline: auto;
}

.form_book_wrap {
  display: flex;
  flex-direction: column;
  column-gap: 15px;
  justify-content: space-between;
  height: 100%;
}

.mail_form input {
  background-color: #956a94;
  padding: 10px 10px;
  box-shadow: 0px 4px 4px 0px #00000099;
  border-style: none;
  outline: none;
    font-family: "Manrope";
  font-weight: 400;
  font-style: Regular;
  font-size: Body/Size Medium;
  color: #fff;
  line-height: 100%;
  letter-spacing: 0%;
  box-shadow: 0px 4px 4px 0px #00000099;
}

.mail_form textarea {
  background-color: #956a94;
  padding: 5px;
  box-shadow: 0px 4px 4px 0px #00000099;
  border-style: none;
  outline: none;
  padding: 5px 10px;
    font-family: "Manrope";
  font-weight: 400;
  font-style: Regular;
  font-size: Body/Size Medium;
  color: #fff;
  line-height: 100%;
  letter-spacing: 0%;
  box-shadow: 0px 4px 4px 0px #00000099;
  min-height: 95px;
}

.mail_form input::placeholder {
    font-family: "Manrope";
  font-weight: 400;
  font-style: Regular;
  font-size: Body/Size Medium;
  color: #fff;
  line-height: 100%;
  letter-spacing: 0%;
  text-shadow: 0px 4px 4px 0px #00000099;
}

.mail_form .form_btn {
  width: 100%;
  height: 48px;
  box-shadow: 0px 4px 4px 0px #00000099;
  background-image: linear-gradient(180deg,
      rgba(29, 6, 29, 0.8) 0%,
      rgba(127, 34, 125, 0.8) 100%);
  font-family: 'Manrope';
  font-weight: 500;
  font-style: Medium;
  font-size: 16px;
  line-height: 24px;
  letter-spacing: 0%;
  cursor: pointer;
}

.form_social {
  display: flex;
  justify-content: space-between;
}

.form_social>a {
  flex-shrink: 0;
}

.collage {
  padding: 50px 0;
}

.collage_wrap {
  display: flex;
  flex-direction: column;
  /*! overflow-x: hidden; */
  overflow: hidden;
}

.collage h2 {
    font-family: "Manrope";
  font-weight: 400;
  font-style: Regular;
  font-size: 56px;
  line-height: 124%;
  letter-spacing: 0%;
  text-align: center;
  vertical-align: middle;
}

.collage_text {
  font-family: 'Manrope';
  font-weight: 500;
  font-style: Medium;
  font-size: 37px;
  line-height: 160%;
  letter-spacing: 0%;
  text-align: center;
  vertical-align: middle;
  margin-block: 30px;
}

.collage-container {
  display: flex;
  justify-content: center;
  margin-top: 50px;
  /* Выравнивание по горизонтали */
  align-items: center;
  /* Выравнивание по вертикали */
  /*! flex-wrap: wrap; */
  /* Перенос на новую строку */
  position: relative;
  /*   width: 100%; */
  /* height: 400px; */
  /* Пример высоты */
  /* background-color: #f0f0f0; */
  /* Для наглядности */
  margin-bottom: 250px;
  /*! flex-direction: column; */
  max-width: 100%;
  overflow-x: hidden;
}

.collage-item {
  /* Можно использовать absolute для точного размещения */
  /* position: absolute; */
  position: relative;
  width: 426px;
  /* Пример размера */
  /* height: 200px; */
  /* margin: 15px; */
  box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.3);
  /* Легкая тень */
  transition: transform 0.3s ease;
  border-radius: 20px;
  /* Плавный эффект при наведении */
}

/* Углы наклона для каждого изображения */
.collage-item:nth-child(1) {
  transform: rotate(3.85deg);
  /* z-index: 3; */
  /* Верхний слой */
  width: 426px;
  height: 618px;
  opacity: 1;
  left: 0px;
  border-radius: 20px;
}

.collage-item:nth-child(2) {
  transform: rotate(-16.37deg);
  /* z-index: 2; */
  width: 408px;
  height: 514px;
  opacity: 1;
  top: 200px;
  left: 0px;
}

.collage-item:nth-child(3) {
  transform: rotate(4.6deg);
  width: 432px;
  height: 627px;
  opacity: 1;
  border-width: 1px;
  /* z-index: 1; */
  /* Нижний слой */
}

.collage-item:nth-child(4) {
  transform: rotate(-4.49deg);
  width: 425px;
  height: 580px;
  opacity: 1;
  border-radius: 20px;
  top: 200px;
  left: 0;
  /* z-index: 1; */
  /* Нижний слой */
}

.collage-item:nth-child(5) {
  transform: rotate(7.65deg);
  width: 471px;
  height: 591px;
  opacity: 1;
  left: 0;
  /* z-index: 1; */
  /* Нижний слой */
}

/* Эффект при наведении (опционально) */
.collage-item:hover {
  /* transform: scale(1.1) rotate(0deg);
   z-index: 10; */
  /* Выведение вперед */
}

.text_digit {
  font-family: 'Manrope';
  font-weight: 500;
  font-style: Medium;
  font-size: 128px;
  line-height: 100px;
  letter-spacing: 0.4px;
  vertical-align: middle;
  background-image: linear-gradient(180deg,
      rgba(29, 6, 29, 0.8) 0%,
      rgba(127, 34, 125, 0.8) 100%);
  color: transparent;
  background-clip: text;
  -webkit-background-clip: text;
  min-height: 100px;
  width: 90%;
  margin-inline: auto;
  display: flex;
  justify-content: space-between;
}

/* faq */
section.faq {
  margin-block: 50px;
}

.faq_wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 20px;
  align-items: flex-start;
}

.faq-section {}

.faq h2 {
    font-family: "Manrope";
  font-weight: 400;
  font-style: Regular;
  font-size: 56px;
  line-height: 124%;
  letter-spacing: 0%;
  vertical-align: middle;
  text-transform: capitalize;
  max-width: 50%;
  text-wrap: balance;
  margin-bottom: 50px;
  color: #040404cc;
  text-shadow: 0px 4px 4px #00000099;
}

.faq-section details {
  border: 1px solid #ddd;
  border-radius: 5px;
  margin-bottom: 10px;
  background-color: #f9f9f9;
  cursor: pointer;
}

.faq-section summary {
  padding: 15px 20px;
  font-weight: bold;
  list-style: none;
  /* Убираем стандартный маркер */
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: 'Manrope';
  font-weight: 500;
  font-style: Medium;
  font-size: 24px;
  line-height: 124%;
  letter-spacing: 0%;
  vertical-align: middle;
}

/* Скрываем сам ответ по умолчанию */
.faq-section details p {
  padding: 0 20px 15px 20px;
  margin: 0;
  display: none;
  /* Прячем */
  color: #555;
  font-family: 'Manrope';
  font-weight: 400;
  font-style: Regular;
  font-size: 16px;
  line-height: 124%;
  letter-spacing: 0%;
  vertical-align: middle;
}

/* Показываем ответ при раскрытии */
.faq-section details[open] p {
  display: block;
  /* Показываем, когда <details> открыт */
}

/* Стили для иконки +/-, можно сделать анимацию */
.faq-section summary .icon {
  font-size: 1.2em;
  transition: transform 0.3s ease;
}

.faq-section details[open] summary .icon {
  transform: rotate(45deg);
  /* Поворачиваем + в x */
}

section.map {
  padding-block: 50px;
  padding-inline: 30px;
}

section.map h2 {
    font-family: "Manrope";
  font-weight: 400;
  font-style: Regular;
  font-size: 56px;
  line-height: 124%;
  letter-spacing: 0%;
  text-align: center;
  vertical-align: middle;
  text-shadow: 0px 4px 4px #00000080;
  margin-bottom: 100px;
}

.map_wrap {
  display: flex;
  gap: 100px;
}

.map_wrap>div {}

.map_container {
  flex: 0 0 calc(55% - 50px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
}

.img_map {
  grid-column: 1 / -1;
  grid-row: 1 / -1;
  object-fit: cover;
  width: 100%;
  height: 100%;
  min-height: 0;
}

img[class*="img_metka"] {
  width: 42px;
}

.img_metka1 {
  grid-column: 2 / 3;
  grid-row: 1 / 2;
  align-self: flex-end;
  margin-left: 7vw;
  margin-bottom: 13vh;
}

.img_metka2 {
  grid-column: 1 / 2;
  grid-row: 2 / 3;
  justify-self: center;
  /*! margin-bottom: 1vw; */
}

.img_metka3 {
  grid-column: 2 / 3;
  grid-row: 2 / 3;
  justify-self: center;
  align-self: center;
  margin-bottom: 15vh;
  margin-left: 5vw;
}

.map_text {
  flex: 0 0 calc(45% - 50px);
}

.map_text_block {
  display: flex;
  flex-direction: column;
  padding: 20px;
  row-gap: 20px;
  border-bottom: 1px solid #24242433;
  text-shadow: 0px 4px 4px #00000080;
}

.map_text_block:not(:last-child) {
  margin-bottom: 40px;
}

.map_text_title {
    font-family: "Manrope";
  font-weight: 400;
  font-style: Regular;
  font-size: 24px;
  line-height: 28px;
  letter-spacing: 0px;
  vertical-align: middle;
}

.map_text_discript {
  font-family: 'Manrope';
  font-weight: 500;
  font-style: Medium;
  font-size: 18px;
  line-height: 28px;
  letter-spacing: 0px;
  vertical-align: middle;
}

.map_text_btn {}

.map_text_btn .button_top {
  max-width: 158px;
}

.block_winwow {
  width: 285px;
  height: 132px;
  gap: 10px;
  background-color: #faf4fe;
  display: flex;
  flex-direction: column;
  padding: 15px;
  grid-column: 1/2;
  grid-row: 1/2;
  align-self: flex-end;
  justify-self: center;
  margin-bottom: 2vh;
  position: relative;
}

.block_winwow:before {
  content: "";
  width: 0;
  height: 0;
  position: absolute;
  /* right: 100%;  */
  bottom: -20px;
  border-left: 15px solid transparent;
  border-right: 15px solid transparent;
  border-top: 20px solid #faf4fe;
  left: calc(50% - 10px);
}

.icon_close {
  position: absolute;
  top: 5px;
  right: 15px;
  transform: rotate(45deg);
  font-weight: bold;
  font-size: 30px;
  cursor: pointer;
}

.block_winwow .title_win {
    font-family: "Manrope";
  font-weight: 400;
  font-style: Regular;
  font-size: 20px;
  line-height: 28px;
  letter-spacing: 0px;
  vertical-align: middle;
  color: #242424;
  margin: 0;
}

.block_winwow p,
.block_winwow a {
  font-family: 'Manrope';
  font-weight: 400;
  font-style: Regular;
  font-size: 14px;
  line-height: 28px;
  letter-spacing: 0px;
  color: #242424;
}

footer {
  background-color: #242424;
}

.footer_top {
  padding-block: 50px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.footer_middle {
  display: flex;
  width: 100%;
  padding: 50px 0 250px;
  column-gap: 100px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.footer_middle h3 {
  margin-bottom: 30px;
}

.footer_middle .contact_links {
  display: flex;
  width: 100%;
  column-gap: 15px;
  margin-bottom: 40px;
}

.footer_bottom {
  display: flex;
  justify-content: space-between;
  /*! gap: 200px; */
  padding-block: 25px;
}

.footer_left_middle {
  /*! flex: 0 0 calc(50% - 100px); */
  flex: 1
}

.footer_right_middle {
  flex: 0 0 calc(50% - 100px);
}

.footer_bottom_left {
    font-family: "Manrope";
  font-weight: 400;
  font-style: Regular;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.5);
  line-height: 24px;
  letter-spacing: 0px;
}

.footer_bottom_right {
  font-family: 'Manrope';
  font-weight: 400;
  font-style: Regular;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.5);
  line-height: 24px;
  letter-spacing: 0px;
  display: flex;
  gap: 20px;
}

.footer_left_middle_title {
    font-family: "Manrope";
  font-weight: 400;
  font-style: Regular;
  font-size: 40px;
  color: #fff;
  line-height: 120%;
  letter-spacing: 0%;
  vertical-align: middle;
}

.contact_link {
  font-family: 'Manrope';
  font-weight: 400;
  font-style: Regular;
  font-size: 14px;
  color: #fff;
  line-height: 24px;
  letter-spacing: 0px;
  display: flex;
  align-items: center;
  column-gap: 10px;
}

.subscribe_wrap {
  display: flex;
  flex-direction: column;
}

.subscribe_wrap .button_top {
  text-transform: uppercase;
}

.footer_right_middle_title {
    font-family: "Manrope";
  font-weight: 400;
  font-style: Regular;
  font-size: 40px;
  color: #fff;
  line-height: 120%;
  letter-spacing: 0%;
  vertical-align: middle;
}

.service_menu_wrap {
  display: grid;
  grid-template-columns: max-content max-content max-content;
  column-gap: 40px;
}

.service_menu_wrap ul {
  display: flex;
  flex-direction: column;
  row-gap: 20px;
}

.service_menu_wrap ul li a {
  font-family: 'Manrope';
  font-weight: 500;
  font-style: Medium;
  font-size: 16px;
  color: rgba(255, 255, 255, 0.5);
  line-height: 24px;
  letter-spacing: 0px;
  transition: 0.5s;
}

.service_menu_wrap ul li a:hover {
  color: #fff;
  text-decoration: underline;
  text-decoration-style: solid;
  text-decoration-offset: 25%;
  text-decoration-thickness: 3%;
}

.form_subscr {}

input.email_subscr {
  border-bottom: 1px solid rgba(255, 255, 255, 0.5);
  font-family: 'Manrope';
  font-weight: 400;
  font-style: Regular;
  font-size: 16px;
  leading-trim: NONE;
  line-height: 120%;
  letter-spacing: 0%;
  vertical-align: middle;
  color: rgba(255, 255, 255, 0.5);
  padding: 5px 5px 5px 2px;
  margin-bottom: 25px;
}

.service_col1 {}

.service_col2 {}

.service_col3 {}

.hamburger {
  display: none;
}

@media screen and (max-width: 1400px) {
  :root {
    --container: 1200px;
  }

  .card_wrap {
    /* grid-template-columns:repeat(2,  minmax(40%, 1fr)); */
    grid-template-columns: repeat(auto-fit, minmax(45%, 1fr));
  }

  .mail_wrap {
    flex-direction: column;
  }

  .mail_foto {
    flex: 0 0 100%;
    max-width: 100%;
    overflow-x: hidden;
  }
   

  .service_menu_wrap {
    grid-template-columns: max-content;
    row-gap: 20px;
  }
}

@media screen and (max-width: 1200px) {
  :root {
    --container: calc(100% - 40px);
  }

  .foto_wrap {
    grid-template-columns: 1fr 1fr;
    grid-row-gap: 30px;
  }

  .foto_item {
    width: calc(100% - 15px);
  }

  .text_digit {
    /* font-size: 128px; */
    font-size: calc(50px + 28 * ((100vw - 360px) / (1200 - 360)));
    line-height: 1;
    letter-spacing: 0.2px;
    vertical-align: middle;
    min-height: 80px;
    width: 90%;
  }
}

@media screen and (max-width: 991px) {
  :root {
    /* --container: 850px; */
  }

  .footer_middle {
    flex-direction: column;
    width: 100%;
    row-gap: 50px;
    padding-bottom: 100px;
  }

  .subscribe_wrap .button_top {
    max-width: 500px;
    margin-inline: auto;
  }

  .banner_login {
    font-size: calc(40px + 40 * ((100vw - 360px) / (991 - 360)));
    line-height: 1.2;
  }

  .middle_banner_content h2 {
    font-size: calc(36px + 20 * ((100vw - 360px) / (991 - 360)));
    line-height: 124%;
  }

  .review_wrap h2 {
    font-size: calc(36px + 20 * ((100vw - 360px) / (991 - 360)));
  }

  section.map h2 {
    font-size: calc(36px + 20 * ((100vw - 360px) / (991 - 360)));
    line-height: 124%;
    letter-spacing: 0%;
    margin-bottom: 50px;
  }

  .review_block {
    grid-template-columns: 1fr;
  }

  .banner {
    padding-top: 0;
    padding-bottom: 50px;
  }

  .middle_banner_content {
    width: 100%;
  }

  .faq h2 {
    /* font-size: 56px; */
    font-size: calc(36px + 20 * ((100vw - 360px) / (991 - 360)));
    line-height: 124%;
    max-width: none;
    text-align: center;
  }

  .faq-section summary {
    padding: 10px 15px;
    /* font-size: 24px; */
    font-size: calc(18px + 6 * ((100vw - 360px) / (991 - 360)));
  }

  .map_wrap {
    flex-direction: column;
  }
}

@media screen and (max-width: 768px) {
  :root {
    /* --container: calc(100% - 10px); */
  }

  .hamburger {
    display: block;
    z-index: 1001;
    position: relative;
    border: none;
    background-color: transparent;
    width: 40px;
    height: 26px;
    cursor: pointer;
  }

  .hamburger::before,
  .hamburger::after {
    content: '';
    left: 0;
    position: absolute;
    display: block;
    width: 100%;
    height: 4px;
    border-radius: 10px;
    background: #fff;
  }

  .hamburger::before {
    top: 0;
    box-shadow: 0 11px 0 #fff;
    transition: box-shadow .3s .15s, top .3s .15s, transform .3s;
  }

  .hamburger::after {
    bottom: 0;
    transition: bottom .3s .15s, transform .3s;
  }

  .hamburger.active::before {
    top: 11px;
    transform: rotate(45deg);
    box-shadow: 0 6px 0 rgba(0, 0, 0, 0);
    transition: box-shadow .15s, top .3s, transform .3s .15s;
  }

  .hamburger.active::after {
    bottom: 11px;
    transform: rotate(-45deg);
    transition: bottom .3s, transform .3s .15s;
  }

  .nav {
    position: absolute;
    top: 88px;
    right: 0;
    width: auto;
    /*! height: 100vh; */
    background: #f8f8f8;
    transition: right 0.3s;
    z-index: 1000;
    display: none;
  }

  .nav .top_menu {
    flex-direction: column;
    gap: 15px;
    padding: 20px 20px 20px;
  }

  .header_right {
    margin-inline: auto;
    display: flex;
  }

  .nav .top_menu a {
    color: #000;
  }

  .nav.active {
    /*     top:88px; */
  }

  .top_menu a.active {
    border-bottom: 1px solid #000;
  }

  .nav a {
    padding: 10px;
  }

  .card__content h2 {
    font-size: calc(30px + 6 * ((100vw - 360px) / (768 - 360)));
    line-height: 1.3;
  }

  .card .card__content p {
    font-size: calc(25px + 7 * ((100vw - 360px) / (768 - 360)));
  }

  .collage h2 {
    font-size: calc(45px + 11 * ((100vw - 360px) / (768 - 360)));
  }

  .collage_text {
    /* font-size: 37px; */
    font-size: calc(28px + 10 * ((100vw - 360px) / (768 - 360)));
  }

  .faq_wrap {
    grid-template-columns: 1fr;
    gap: 10px 20px;
  }

  .footer_middle .contact_links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    row-gap: 20px;
  }

  .collage-container {
    flex-wrap: wrap;
    row-gap: 20px;
  }

  .collage-container .collage-item {
    transform: none !important;
    width: auto !important;
    top: 0 !important;
    max-width: 90%;
  }
}

@media screen and (max-width: 600px) {
  .card_wrap {
    grid-template-columns: 1fr;
    grid-row-gap: 20px;
  }

  .card {
    max-width: min(380px, 90vw);
  }

  .middle_banner_block {
    grid-template-columns: 1fr;
  }

  .foto_wrap {
    grid-template-columns: 1fr;
  }

  .text_digit {
    /* font-size: 128px; */
    font-size: calc(30px + 25 * ((100vw - 360px) / (600 - 360)));
    line-height: 1;
  }
}

@media screen and (max-width: 480px) {
    .form_book {
        width: 300px;

        max-width: 90%;

    }



    .footer_middle .contact_links {
    grid-template-columns: 1fr;
  }

  .footer_bottom_left {
    font-size: 12px;
  }

  .footer_bottom_right {
    font-size: 12px;
    gap: 10px;
  }

  .hamburger {
    width: 30px;
  }

  .logo {
    width: 80px;
  }

  .header_wrap {
    padding-inline: 0;
  }

  .map_container img[class*="img_metka"] {
    margin-left: 0;
  }
}
