html {
  box-sizing: border-box;
  background-color: #fff;
}

*,
*::before,
*::after {
  box-sizing: inherit;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
}

h1,
h2,
h3,
h4,
h5,
h6,
p {
  font-size: inherit;
  font-weight: inherit;
  padding: 0px;
  margin: 0px;
}

/* global START */
:root {
  --animation-duration: 0.3s;
  --color-black: #000;
  --border-color-grey: #efefef;
  --border-color-dark: #303631;
  --background-color--white: #fff;
  --background-color--milk: #F4F3F2;
  --background-color--black: #000;
  --background-color--dark: #303631;
  --background-color--blur: rgba(34, 60, 80, 0.2);
  --btn-backgound-dark: #303631;
  --btn-backgound-white: #fff;
  --btn-backgound-grey: #565860;
  --btn-backgound-active: #4E6352;
  --link-color-active: #4E6352;
  --text-color-white: #fff;
  --text-color-beige: #fefef9;
  --text-color-dark: #303631;
  --text-color-active: #4E6352;
  --text-color-black: #000;
  --section-background-grey: #57585E;
}

body {
  font-family: 'Cocomat';
  background-color: var(--background-color--milk);
}

.container {
  max-width: 1920px;
  height: 100%;
  margin: 0 auto;
  padding: 0 40px;
}

.ff__roboto {
  font-family: 'Roboto';
}

.section {
  position: relative;
  width: 100%;
  margin-bottom: 80px;
}

.section-head {
  margin-bottom: 40px;
}

.section-head__wrap {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 30px;
  margin-bottom: 0px;
}

.section-head__title {
  width: 50%;
}

.section-head__title--center {
  width: 100%;
}

.section-head__description {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 50%;
}

.section-head__title h2 {
  font-size: 44px;
  font-weight: 400;
  line-height: 100%;
  color: var(--text-color-dark);
}

.section-head__title--center h2 {
  text-align: center;
}

.section-head__description p {
  font-size: 28px;
  font-weight: 400;
  line-height: 125%;
  color: var(--text-color-dark);
}

.section-background {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
}

.section-background__content {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-width: 0;
  outline-width: 0;
}

.main-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(37, 31, 26, 0.5);
  opacity: 0.5;
  z-index: 1;
}

.section-background__wrap {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
}

.section--margin-top {
  margin-top: 100px;
}
.section.section--nomargin-bottom {
  margin-bottom: 0;
}

.uppercase,
.uppercase * {
  text-transform: uppercase;
}

.stop-scroll {
  overflow: hidden
}

.link {
  transition: var(--animation-duration);
}
.link:hover {
  transform: scale(1.2);
  /*color: var(--link-color-active);*/
}

.btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin: 0;
  padding: 0;
  border: none;
  outline: none;
  background-color: transparent;
  cursor: pointer;
  font-family: 'Cocomat';
  transition: var(--animation-duration);
}

.btn-black {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: 16px 32px;
  border-radius: 8px;
  background-color: var(--btn-backgound-grey);
  color: var(--text-color-white);
  cursor: pointer;
  text-align: center;
  line-height: 1; /* чтобы не было лишнего воздуха */
}

.btn-black span {
  display: inline-block;
  transform: translateY(2px); /* сдвиг текста вниз */
}



.btn-black:hover {
  background-color: var(--btn-backgound-active);
}

.btn span {
  font-size: 14px;
  font-weight: 500;
  line-height: 100%;
}

@keyframes pulse-slow {
  0%, 100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.04);
  }
}

.animated-communication {
  display: inline-block;
  animation: pulse-slow 6s infinite ease-in-out;
}

.badge {
  display: flex;
  align-items: center;
  gap: 6px;
  width: fit-content;
  padding: 4px 6px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 400;
  line-height: 120%;
  color: var(--text-color-black);
}

.badge span {
  transform: translateY(2px); /* сдвиг вниз */
  display: inline-block;
}

.badge-black {
  color: var(--text-color-white);
  background-color: var(--btn-backgound-grey);
}

.scroll-top {
  position: absolute;
  right: 0;
  bottom: 40px;
}

.scroll-top__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 100%;
  background-color: var(--btn-backgound-grey);
  transition: var(--animation-duration);
}
.scroll-top__btn:hover {
  background-color: var(--btn-backgound-active);
}

.main {
  padding: 30px 0;
}

/* global END */

/* header START */
.header {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  background-color: var(--background-color--milk);
  border-bottom: 1px solid var(--background-color--blur);
  z-index: 100;
}

.header__wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 6px 0;
}

.header__left {}

.header__logo {}

.header__mid {}

.header-nav {}

.header-nav__list {
  display: flex;
  align-items: center;
  gap: 24px;
}

.header-nav__item a {
  position: relative;
  font-size: 18px;
  font-weight: 400;
  line-height: 110%;
  transition: var(--animation-duration);
  border-bottom: 1px solid transparent;
  color: var(--text-color-black);
}
/*.header-nav__item a::after {
  content: '';
  position: absolute;
  display: block;
  bottom: -2px;
  left: 0;
  height: 2px;
  background-color: red;
  width: 0;
  transition: var(--animation-duration);
}*/
/*.header-nav__item a:hover::after {
  width: 100%;
}*/
.header-nav__item a:hover {
  border-bottom: 1px solid var(--text-color-black);
}
.header-nav__item.active a {
  border-bottom: 1px solid var(--text-color-black);
}
.header__right {
  display: flex;
  align-items: center;
  gap: 24px;
}

.header__right a {
  font-size: 20px;
  font-weight: 400;
  line-height: 110%;
}

/* header END */

/* main-banner START*/
.main-banner__content {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  height: 100%;
}

.main-banner__content h1 {
  font-size: 140px;
  font-weight: 400;
  line-height: 90%;
  text-align: center;
  color: var(--text-color-white);
}

.main-banner__text {
  font-size: 24px;
  font-weight: 400;
  line-height: 130%;
  color: var(--text-color-white);
}

.main-banner__text--left {
  text-align: left;
  width: 20%;
}

.main-banner__text--right {
  text-align: right;
  width: 20%;
}

.main-banner__text--bottom {
  position: absolute;
  left: 50%;
  bottom: 72px;
  text-align: center;
  transform: translateX(-50%);
}

.main-banner__text--top {
  position: absolute;
  left: 50%;
  top: 72px;
  text-align: center;
  transform: translateX(-50%);
}

/* main-banner END*/

/* main-info START*/
.main-info {
}
.main-info__wrap {
  display: flex;
  flex-direction: column;
  gap: 130px;
  padding: 90px 0 90px;
}
.main-info__head {
  position: relative;
  display: flex;
  justify-content: center;
  align-items:flex-start;
}
.main-info__description {
  position: absolute;
  top: 50%;
  left: 0;
  font-size: 40px;
  font-weight: 400;
  line-height: 100%;
  max-width: 350px;
  color: var(--text-color-black);
  transform: translateY(-50%);
}
.main-info__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 50px;
  text-align:center;
}
.main-info__content h1 {
  font-size: 110px;
  font-weight: 300;
  line-height: 90%;
  letter-spacing: -1px;
  text-align: center;
  color: var(--text-color-black);
}
.main-info__badges {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
}
.main-info__badges > span {
  display: flex;
  align-items: flex-end; /* Смещает текст вниз */
  justify-content: center;
  padding: 12px 10px 6px; /* Увеличен верхний отступ */
  border-radius: 4px;
  backdrop-filter: blur(36px);
  background: var(--btn-backgound-grey);
  font-size: 19px;
  font-weight: 300;
  line-height: 100%;
  color: var(--text-color-white);
  text-align: center;
}
.main-info__start {
  padding:16px 28px;
  color:#fff;
  border-radius:6px;
  font-size:18px;
  letter-spacing:0.08em;
  text-transform:uppercase;
  background:linear-gradient(135deg, #e6332a, #c62820);
  box-shadow:0 14px 30px rgba(230,51,42,0.25);
}
.main-info__start:hover {
  transform:translateY(-2px);
  box-shadow:0 18px 40px rgba(230,51,42,0.35);
}
.main-info__bottom {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  text-align: center;
  gap: 15px;
}
.main-info__video-circle {
  position: absolute;
  right: 0;
  top: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  overflow: hidden;
  transform: translateY(-50%);
}
.main-info__video-circle video {
  width:100%;
  height:100%;
  object-fit:cover;
}
/* main-info END*/

/* main-contacts START */
.main-contacts {
  padding: 120px 0;
}
.main-contacts__wrap {
  display: flex;
  align-items: center;
  gap: 30px;
}
.main-contacts__left {
  width: 50%;
  display: flex;
}
.main-contacts__video {
  position: relative;
  width: 80%;
  padding-bottom: 80%;
  border-radius: 100%;
  overflow: hidden;
}
.main-contacts__video video {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.main-contacts__right {
  width: 50%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.main-contacts__right h2 {
  margin-bottom: 36px;
  font-size: 44px;
  font-weight: 400;
  line-height: 100%;
  letter-spacing: -2px;
  color: var(--text-color-black);
}
.main-contacts__right p {
  margin-bottom: 57px;
  font-size: 32px;
  font-weight: 400;
  line-height: 125%;
  color: var(--text-color-black);
}
.main-contacts__badges {
  width: 100%;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 25px;
  margin-top: 10px;
  margin-bottom: 20px;
}
.main-contacts__badges span {
  display: inline-block;
  padding: 19px 26px;
  border: 1px solid var(--border-color-dark);
  border-radius: 16px;
  font-size: 24px;
  font-weight: 500;
  line-height: 100%;
  text-align: center;
  white-space: normal;
  color: var(--text-color-black);
}
/* main-contacts END*/

/* modal-form START */
.modal-form {
  position: fixed;
  left: 0;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100vw;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: var(--animation-duration);
  z-index: 100;
  background-color: rgba(255, 255, 255, 0.4);
}

.modal-form.open {
  opacity: 1;
  visibility: visible;
}

.modal-form__wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 0 10px;
  margin-top: auto;
  margin-bottom: auto;
}

/*
.modal-form::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  opacity: 0.5;
} */

.modal-form__form {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  /* gap: 15px; */
  max-width: 526px;
  width: 100%;
  background-color: var(--background-color--white);
  padding: 60px 60px;
  box-shadow: 0px 0px 50px 15px var(--background-color--blur);
  border-radius: 16px;
}

.modal-form__form h2 {
  margin-bottom: 40px;
  font-size: 28px;
  font-weight: 400;
  line-height: 100%;
  color: var(--background-color--dark);
}

.modal-form__label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: 100%;
  margin-bottom: 40px;
}

.modal-form__label span {
  font-size: 14px;
  font-weight: 500;
  line-height: 110%;
  color: var(--text-color-black);
}

.modal-form__label input {
  border: none;
  border-bottom: 1px solid var(--background-color--black);
  font-size: 24px;
  font-weight: 500;
  line-height: 120%;
  color: var(--text-color-black);
  outline: none;
}
.modal-form__label input.empty {
  color: rgba(0,0,0,0.2);
}

.modal-form__label input::placeholder {
  color: var(--text-color-black);
  opacity: 0.2;
}

.modal-form__submit {
  margin-bottom: 16px;
}

.modal-form__policy {
  font-size: 14px;
  font-weight: 500;
  line-height: 110%;
  opacity: 0.3;
}

.modal-form__policy a {
  text-decoration: underline;
}

/* .modal-form__success {
  display: none;
}

.modal-form.success .modal-form__success {
  display: block;
}

.modal-form.success .modal-form__submit {
  display: none;
} */

.modal-form__clsoe {
  position: absolute;
  top: 15px;
  right: 15px;
}
/* modal-form END */


/* map START */

.master-plan {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
}
.master-plan__wrap {
  width: 100%;
}
.master-plan__wrap svg {
  width: 100%;
}
.master-plan__wrap svg path {
  fill: #EFE7E9;
  fill-opacity: 0.56;
  stroke: #ffffff;
  transition: var(--animation-duration);
  cursor: pointer;
}
.master-plan__wrap svg path.hover {
  fill: #00ff62;
}
.master-plan__wrap svg path.booked {
  fill: #EFB215;
}
.master-plan__element {
  position: absolute;
  z-index: 10;
}
.master-plan__element.active {
  z-index: 20;
}
.master-plan__element[data-element-id="1"] {
  top: 27%;
  left: 76%;
}
.master-plan__element[data-element-id="2"] {
  top: 27%;
  left: 64%;
}
.master-plan__element[data-element-id="3"] {
  top: 40%;
  left: 77%;
}
.master-plan__element[data-element-id="4"] {
  top: 38%;
  left: 64%;
}
.master-plan__element[data-element-id="5"] {
  top: 56%;
  left: 79%;
}
.master-plan__element[data-element-id="6"] {
  top: 76%;
  left: 79%;
}
.master-plan__element[data-element-id="7"] {
  top: 49%;
  left: 59%;
}
.master-plan__element[data-element-id="8"] {
  top: 65%;
  left: 57%;
}
.master-plan__element[data-element-id="9"] {
  top: 42%;
  left: 40%;
}
.master-plan__element[data-element-id="10"] {
  top: 55%;
  left: 39%;
}
.master-plan__element[data-element-id="11"] {
  top: 35%;
  left: 26%;
}
.master-plan__element[data-element-id="12"] {
  top: 48%;
  left: 24%;
}
.master-plan__element[data-element-id="13"] {
  top: 29%;
  left: 13%;
}
.master-plan__element[data-element-id="14"] {
  top: 40%;
  left: 10%;
}
.master-plan__element[data-element-id="15"] {
  top: 19%;
  left: 26%;
}
.master-plan__element[data-element-id="16"] {
  top: 20%;
  left: 35%;
}
.master-plan__element[data-element-id="17"] {
  top: 22%;
  left: 42%;
}
.master-plan__element[data-element-id="18"] {
  top: 24%;
  left: 50%;
}
.master-plan__element--wrap {
  position: relative;
}
.master-plan__element--number {
  position: absolute;
  top: 50%;
  left: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background-color: var(--background-color--white);
  border-radius: 100%;
  transform-origin: center center;
  transform: translate(-50%, -50%);
}
.master-plan__element--number span {
  font-family: 'Roboto';
  font-size: 22px;
  font-weight: 500;
  line-height: 100%;
  color: var(--text-color-black);
}
.master-plan__element--content {
  position: absolute;
  top: 50%;
  left: 40px;
  visibility: hidden;
  opacity: 0;
  transform: translateY(-50%);
  transition: var(--animation-duration);
}
.master-plan__element.active .master-plan__element--content {
  visibility: visible;
  opacity: 1;
}
.master-plan__element--right .master-plan__element--content {
  left: unset;
  right: 40px;
}
.master-plan__description {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 230px;
  padding: 12px;
  border-radius: 8px;
  background-color: var(--background-color--white);
  box-shadow: 0px 0px 17px 3px rgba(34, 60, 80, 0.3);
}
.master-plan__description:after {
  content: " ";
  position: absolute;
  top: 50%;
  left: -4px;
  border-top: 8px solid var(--background-color--white);
  border-right: 8px solid transparent;
  border-left: 8px solid transparent;
  transform: translate(-50%, -50%) rotate(90deg);
}
.master-plan__element--right .master-plan__description:after {
  left: unset;
  right: -20px;
  transform: translate(-50%, -50%) rotate(-90deg);
}
.master-plan__description-close {
  display: none;
  position: absolute;
  top: -15px;
  right: -15px;
  width: 30px;
  height: 30px;
  padding: 10px;
  justify-content: center;
  border-radius: 100%;
  background-color: var(--background-color--white);
}
.master-plan__description-image {
  min-width: 218px;
  margin-bottom: 12px;
}
.master-plan__description-image img {
  width: 100%;
}
.master-plan__description-type {
  font-size: 20px;
  font-weight: 500;
  line-height: 100%;
  color: var(--text-color-dark);
}
.master-plan__description-text {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  gap: 6px;
  font-size: 16px;
  font-weight: 400;
  line-height: 125%;
  color: var(--text-color-dark);
}
/* map END */



/* projects START */
.projects {}

.projects__wrap {}

.projects__list {
  display: grid;
  grid-template-columns: repeat(2, calc((100% - 20px) / 2));
  column-gap: 20px;
  row-gap: 100px;
}

.projects-card {
  display: flex;
  flex-direction: column;
}

.projects-card__image {
  width: 100%;
  height: 100%;
  margin-bottom: 20px;
  border-radius: 50px;
  overflow: hidden;
}

.projects-card__image img {
  width: 100%;
}

.projects-card__swiper .swiper-button-prev {
  top: unset;
  left: unset;
  bottom: 16px;
  right: 70px;
  width: 48px;
  height: 48px;
  padding: 12px;
  border-radius: 4px;
  background-color: var(--text-color-white);
  transition: var(--animation-duration);
}

.projects-card__swiper .swiper-button-next {
  top: unset;
  left: unset;
  bottom: 16px;
  right: 16px;
  width: 48px;
  height: 48px;
  padding: 12px;
  border-radius: 4px;
  background-color: var(--text-color-white);
  transition: var(--animation-duration);
}

.projects-card__swiper .swiper-button-prev svg,
.projects-card__swiper .swiper-button-next svg {
  stroke: var(--color-black);
  transition: var(--animation-duration);
}

.projects-card__swiper .swiper-button-prev:hover,
.projects-card__swiper .swiper-button-next:hover {
  background-color: #797676;
}

.projects-card__swiper .swiper-button-prev:hover svg,
.projects-card__swiper .swiper-button-next:hover svg {
  stroke: var(--text-color-white);
}

.projects-card__swiper .swiper-button-next:after,
.projects-card__swiper .swiper-rtl .swiper-button-prev:after {
  content: '';
}

.projects-card__swiper .swiper-button-prev:after,
.projects-card__swiper .swiper-rtl .swiper-button-next:after {
  content: '';
}

.projects-card__type {
  margin-bottom: 10px;
  font-size: 16px;
  font-weight: 500;
  line-height: 100%;
  color: var(--text-color-dark);
}

.projects-card__characteristics {
  display: flex;
  align-items: center;
  gap: 12px;
}

.projects-card__characteristics p {
  font-size: 20px;
  font-weight: 400;
  line-height: 125%;
  color: var(--text-color-dark);
}

/* projects END */


/* main-slider START */
.main-slider {
  background-color: var(--section-background-grey);
}

.main-slider__swiper .swiper-wrapper {
  align-items: stretch;
}

.main-slider__swiper .swiper-slide {
  display: flex;
  flex-direction: column;
  height: auto;
}

.main-slider__swiper .swiper-pagination-fraction {
  display: flex;
  align-items: flex-end;
  gap: 16px;
  font-size: 20px;
  font-weight: 400;
  line-height: 130%;
  color: rgba(255, 255, 255, 0.4);
}

.main-slider__swiper .swiper-pagination-current {
  font-size: 60px;
  font-weight: 400;
  line-height: 80%;
  color: var(--text-color-white);
}

.main-slider__swiper .swiper-pagination-total {
  font-size: 20px;
  font-weight: 400;
  line-height: 130%;
  color: var(--text-color-white);
}

.main-slider__swiper .swiper-button-prev,
.main-slider__swiper .swiper-button-next {
  width: 13px;
}

.main-slider__swiper .swiper-button-next:after,
.main-slider__swiper .swiper-rtl .swiper-button-prev:after {
  content: '';
}

.main-slider__swiper .swiper-button-prev:after,
.main-slider__swiper .swiper-rtl .swiper-button-next:after {
  content: '';
}

.main-slider__wrap {
  padding: 40px 0;
}

.main-slider__description {
  max-width: 420px;
  margin-bottom: 25px;
  font-size: 20px;
  font-weight: 400;
  line-height: 130%;
  color: var(--text-color-white);
}

.main-slider__content {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  padding: 0 30px;
  margin-top: auto;
  margin-bottom: 145px;
}

.main-slider__text span {
  display: inline-block;
  margin-bottom: 6px;
  font-size: 100px;
  font-weight: 400;
  line-height: 80%;
  color: var(--text-color-white);
}

.main-slider__text span.main-slider__text--big {
  font-size: 240px;
}

.main-slider__text p {
  font-size: 20px;
  font-weight: 400;
  line-height: 130%;
  color: var(--text-color-beige);
}

/* main-slider END */



/* main-gallery START */
.main-gallery__swiper .swiper-slide {
  display: flex;
  width: fit-content;
  height: 390px;
}
.main-gallery__swiper .swiper-slide > a {
  width: 100%;
  height: 100%;
}
.main-gallery__swiper .swiper-slide > a > img {
  object-fit: contain;
  width: 100%;
  height: 100%;
}
.main-gallery__swiper .gallery-album {
  position: relative;
  display: flex;
}

.main-gallery__swiper .gallery-album__desc {
  position: absolute;
  bottom: 24px;
  left: 41px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 5px;
}

.main-gallery__swiper .gallery-album__desc h4 {
  font-size: 24px;
  font-weight: 500;
  line-height: 100%;
  color: var(--text-color-beige);
}

.main-gallery__swiper .gallery-album__desc p {
  font-size: 14px;
  font-weight: 400;
  line-height: 125%;
  color: var(--text-color-beige);
}
.main-gallery__swiper .swiper-button-prev,
.main-gallery__swiper .swiper-button-next {
  display: none;
  width: 20px;
}
.main-gallery__swiper .swiper-button-prev svg,
.main-gallery__swiper .swiper-button-next svg {
  stroke: var(--background-color--dark);
}

.main-gallery__swiper .swiper-button-prev:after,
.main-gallery__swiper .swiper-rtl .swiper-button-next:after {
  content: '';
}
.main-gallery__swiper .swiper-button-next:after,
.main-gallery__swiper .swiper-rtl .swiper-button-prev:after {
  content: '';
}
/* main-gallery END */

/* burger-menu START */
.burger-menu__button {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 32px;
  height: 32px;
  padding: 6px 4px;
  border: none;
  background-color: transparent;
  cursor: pointer;
}

.burger-menu__button span {
  display: inline-block;
  width: 100%;
  height: 2px;
  background-color: var(--background-color--black);
  transition: var(--animation-duration);
}

.burger-menu__button.active .burger-menu__button--1 {
  transform: rotateZ(45deg) translate(8px, 5px);
}

.burger-menu__button.active .burger-menu__button--2 {
  opacity: 0;
}

.burger-menu__button.active .burger-menu__button--3 {
  transform: rotateZ(-45deg) translate(8px, -5px);
}

.burger-menu__wrap {
  display: none;
}

.burger-menu__wrap a {
  margin-bottom: 16px;
  font-family: 'Roboto';
  font-size: 16px;
  font-weight: 400;
  line-height: 125%;
  color: var(--text-color-black);
}

.burger-menu__wrap p {
  font-family: 'Roboto';
  margin-bottom: 40px;
  font-size: 16px;
  font-weight: 400;
  line-height: 125%;
  color: var(--text-color-black);
}

.burger-menu__wrap button {
  justify-content: center;
}

/* burger-menu END */

/* construction START */
.construction__wrap {
  display: flex;
  justify-content: center;
  padding-bottom: 100px;
}
.construction__image {
  position: relative;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}
.construction__image img {
  width: 58%;
}

.construction__text {
  position: absolute;
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
}
.construction__text span {
  font-size: 28px;
  font-weight: 500;
  line-height: 100%;
  color: var(--text-color-dark);
}
.construction__text p {
  font-size: 20px;
  font-weight: 400;
  line-height: 110%;
  color: var(--text-color-dark);
}
.construction__text-1 {
  top: 20%;
  left: 0;
  max-width: 15%;
}
.construction__text-2 {
  top: 55%;
  left: 0.4%;
  max-width: 17%;
}
.construction__text-3 {
  top: 75%;
  left: 12.2%;
  max-width: 18%;
}
.construction__text-4 {
  top: 95%;
  left: 29%;
  max-width: 17%;
}
.construction__text-5 {
  top: 92%;
  left: 68%;
  max-width: 31%;
}
.construction__text-6 {
  top: 50.5%;
  left: 79%;
  max-width: 15%;
}
.construction__text-7 {
  top: 3%;
  left: 71%;
  max-width: 25%;
}
.construction__line {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}
.construction__line::before {
  content: '';
  position: absolute;
  height: 1px;
  background-color: #244E85;
  transform-origin: 0 50%;
  clip-path: inset(0 0 0 100%);
}
.construction__line::after {
  content: '';
  position: absolute;
  height: 1px;
  background-color: #244E85;
  transform-origin: 0 50%;
  clip-path: inset(0 100% 0 0);
}
:root {
  --animation-line-duration: 6s;
}
@keyframes moving-line-before {
  0% {
    clip-path: inset(0 0 0 100%);
  }
  25% {
    clip-path: inset(0 0 0 0);
  }
  50% {
    clip-path: inset(0 0 0 0);
  }
  75% {
    clip-path: inset(0 100% 0 0);
  }
}
@keyframes moving-line-after {
  0% {
    clip-path: inset(0 100% 0 0);
  }
  25% {
    clip-path: inset(0 0 0 0);
  }
  50% {
    clip-path: inset(0 0 0 0);
  }
  75% {
    clip-path: inset(0 0 0 100%);
  }
}
/*:root {
  --animation-line-duration: 3s;
}
@keyframes moving-line-before {
  0% {
    clip-path: inset(0 0 0 100%);
  }
  50% {
    clip-path: inset(0 0 0 0);
  }
  100% {
    clip-path: inset(0 100% 0 0);
  }
}
@keyframes moving-line-after {
  0% {
    clip-path: inset(0 100% 0 0);
  }
  50% {
    clip-path: inset(0 0 0 0);
  }
  100% {
    clip-path: inset(0 0 0 100%);
  }
}*/
.construction__line-1::before {
  top: 24%;
  left: 20.5%;
  width: 21%;
  transform: rotate(180deg);
  animation: moving-line-before var(--animation-line-duration) ease-in-out infinite;
}
.construction__line-1::after {
  top: 24%;
  left: 20.5%;
  width: 21%;
  transform: rotate(40deg);
  animation: moving-line-after var(--animation-line-duration) ease-in-out infinite;
  animation-delay: 1.5s;
}
.construction__line-2::before {
  top: 59%;
  left: 15.5%;
  width: 15.5%;
  transform: rotate(180deg);
  animation: moving-line-before var(--animation-line-duration) ease-in-out infinite;
}
.construction__line-2::after {
  top: 59%;
  left: 15.5%;
  width: 8%;
  transform: rotate(21deg);
  animation: moving-line-after var(--animation-line-duration) ease-in-out infinite;
  animation-delay: 1.5s;
}
.construction__line-3::before {
  top: 79%;
  left: 32.5%;
  width: 21%;
  transform: rotate(180deg);
  animation: moving-line-before var(--animation-line-duration) ease-in-out infinite;
}
.construction__line-3::after {
  top: 79%;
  left: 32.5%;
  width: 7%;
  transform: rotate(-26deg);
  animation: moving-line-after var(--animation-line-duration) ease-in-out infinite;
  animation-delay: 1.5s;
}
.construction__line-4::before {
  top: 99%;
  left: 44.5%;
  width: 16%;
  transform: rotate(180deg);
  animation: moving-line-before var(--animation-line-duration) ease-in-out infinite;
}
.construction__line-4::after {
  top: 99%;
  left: 44.5%;
  width: 13%;
  transform: rotate(-70deg);
  animation: moving-line-after var(--animation-line-duration) ease-in-out infinite;
  animation-delay: 1.5s;
}
.construction__line-5::before {
  top: 96%;
  left: 64.5%;
  width: 31%;
  transform: rotate(0);
  animation: moving-line-before var(--animation-line-duration) ease-in-out infinite;
}
.construction__line-5::after {
  top: 96%;
  left: 64.5%;
  width: 13%;
  transform: rotate(-81deg);
  animation: moving-line-after var(--animation-line-duration) ease-in-out infinite;
  animation-delay: 1.5s;
}
.construction__line-6::before {
  top: 55%;
  left: 78.5%;
  width: 16%;
  transform: rotate(0);
  animation: moving-line-before var(--animation-line-duration) ease-in-out infinite;
}
.construction__line-6::after {
  top: 55%;
  left: 78.5%;
  width: 14%;
  transform: rotate(-162deg);
  animation: moving-line-after var(--animation-line-duration) ease-in-out infinite;
  animation-delay: 1.5s;
}
.construction__line-7::before {
  top: 7%;
  left: 70.5%;
  width: 24%;
  transform: rotate(0);
  animation: moving-line-before var(--animation-line-duration) ease-in-out infinite;
}
.construction__line-7::after {
  top: 7%;
  left: 70.5%;
  width: 12%;
  transform: rotate(140deg);
  animation: moving-line-after var(--animation-line-duration) ease-in-out infinite;
  animation-delay: 1.5s;
}

/* construction END */

/* about START */
.about__wrap {
  display: flex;
  flex-direction: column;
  gap: 45px;
  max-width: 910px;
  margin: 0 auto;
}

.about__text {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.about__text p {
  font-size: 24px;
  font-weight: 400;
  line-height: 125%;
  color: var(--text-color-dark);
}

.about__image {
  width: 100%;
}

.about__image img {
  width: 100%;
}

.about-history{
  padding:70px 0 90px;
  background:linear-gradient(180deg,#f8f6f1 0%, #ffffff 38%, #f8f6f1 100%);
  font-family:inherit;
  -webkit-text-size-adjust:100%;
  text-size-adjust:100%;
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
  text-rendering:optimizeLegibility;
}

.about-history__wrap{
  max-width:1280px;
  margin:0 auto;
}

.about-history__head{
  max-width:900px;
  margin:0 auto 48px;
  text-align:center;
}

.about-history__eyebrow{
  display:inline-block;
  margin-bottom:14px;
  padding:8px 16px;
  border-radius:999px;
  background:rgba(108,84,58,.08);
  color:#6c543a;
  font-size:19px;
  line-height:1.1;
  font-weight:700;
  letter-spacing:.09em;
  text-transform:uppercase;
}

.about-history__subtitle{
  max-width:760px;
  margin:0 auto;
  color:#6b6b6b;
  font-size:22px;
  line-height:1.65;
  font-family:inherit;
  font-weight:400;
}

.about-history__grid{
  display:grid;
  grid-template-columns:minmax(0,1.4fr) minmax(320px,.8fr);
  gap:34px;
  align-items:start;
  margin-bottom: 50px;
}

.about-history__content{
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.about-history__card,
.about-history__final{
  display: flex;
  flex-direction: column;
  gap: 12px;
  background:#fff;
  border-radius:26px;
  padding:32px 34px;
  box-shadow:0 18px 45px rgba(24,27,32,.08);
}

.about-history__card--lead{
  background:linear-gradient(135deg,#ffffff 0%, #f6f2ea 100%);
  border:1px solid rgba(108,84,58,.08);
}

.about-history__card p,
.about-history__final p{
  color:#404040;
  font-size:22px;
  line-height:1.85;
  font-family:inherit;
  font-weight:400;
  letter-spacing:0;
  word-break:normal;
  overflow-wrap:break-word;
  hyphens:none;
}

.about-history__name-accent{
  font-weight:500;
  color:#6c543a;
  font-family:inherit;
  border-bottom:1px solid rgba(108,84,58,.22);
  padding-bottom:1px;
  white-space:nowrap;
}

.about-history__quote{
  position:relative;
  padding:28px 32px 28px 84px;
  border-radius:26px;
  background:#2a2a2a;
  box-shadow:0 18px 45px rgba(24,27,32,.12);
  overflow:hidden;
}

.about-history__quote-mark{
  position:absolute;
  left:28px;
  top:16px;
  color:rgba(255,255,255,.18);
  font-size:90px;
  line-height:1;
  font-family:Georgia, serif;
}

.about-history__quote-text{
  position:relative;
  color:#fff;
  font-size:22px;
  line-height:1.6;
  font-weight:500;
  font-family:inherit;
}

.about-history__photo{
  overflow:hidden;
  border-radius:26px;
  box-shadow:0 18px 45px rgba(24,27,32,.12);
  background:#fff;
}

.about-history__photo img{
  display:block;
  width:100%;
  height:auto;
  transition:transform .6s ease;
}

.about-history__photo:hover img{
  transform:scale(1.03);
}

.about-history__photo-row{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:24px;
}

.about-history__aside{
  position:sticky;
  top: 80px;
}

.about-history__photo--large{
  margin-bottom:24px;
}

.about-history__info{
  display:grid;
  gap:16px;
}

.about-history__info-item{
  background:#fff;
  border-radius:22px;
  padding:24px 22px;
  box-shadow:0 18px 45px rgba(24,27,32,.08);
}

.about-history__info-item span{
  display:block;
  margin-bottom:6px;
  color:#1f1f1f;
  font-size:24px;
  line-height:1.2;
  font-weight:700;
}

.about-history__info-item small{
  display:block;
  color:#6b6b6b;
  font-size:19px;
  line-height:1.5;
}

.about-history__final{
  background:linear-gradient(135deg,#6c543a 0%, #8b6a48 100%);
}

.about-history__final p{
  color:#fff;
}

.about-history__photo--mobile{
  display:none;
}

.about-history__slider-block{
  margin-top:12px;
}
.about-history__gallery {
  max-width: 1024px;
  margin: 0 auto;
}
.about-history__swiper {
  display: flex;
  border-radius: 24px;
}
.about-history__swiper .swiper-slide a {
  display: flex;
  align-items: center;
}
.about-history__swiper .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  border-radius: 10px;
  border: none;
  background: rgba(255, 255, 255, .55);
  transition: var(--animation-duration);
  opacity: 1;
}
.about-history__swiper .swiper-pagination-bullet-active {
  width: 30px;
  background: var(--background-color--white);
}
.about-history__swiper .swiper-button-next,
.about-history__swiper .swiper-button-prev {
  width:52px;
  height:52px;
  border:none;
  border-radius:50%;
  background:rgba(0,0,0,.42);
  color:#fff;
  font-size:28px;
  line-height:1;
  transition: var(--animation-duration);
}
.about-history__swiper .swiper-button-next:hover,
.about-history__swiper .swiper-button-prev:hover{
  background:rgba(0,0,0,.72);
}
.about-history__swiper .swiper-button-next:after,
.about-history__swiper .swiper-button-prev:after {
  display: none;
}


/* about END */

/* privacy-policy START */
.privacy-policy__wrap {
  display: flex;
  flex-direction: column;
  gap: 60px;
  max-width: 910px;
  margin: 0 auto;
}

.privacy-policy__block {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.privacy-policy__row {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.privacy-policy__list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-left: 20px;
  list-style: auto;
}

.privacy-policy__title {
  font-size: 24px;
  font-weight: 400;
  line-height: 110%;
  color: #10110B;
}

.privacy-policy__text {
  font-size: 18px;
  font-weight: 400;
  line-height: 125%;
  color: #10110B;
}

/* privacy-policy END */

/* contacts START */
.contacts__wrap {
  display: flex;
  flex-direction: column;
}

.contacts__title {
  /* font-family: 'Roboto'; */
  margin-bottom: 16px;
  font-size: 24px;
  font-weight: 400;
  line-height: 130%;
  color: #10110B;
  text-align: center;
}

.contacts__subtitle {
  /* font-family: 'Roboto'; */
  margin-bottom: 40px;
  font-size: 18px;
  font-weight: 400;
  line-height: 130%;
  color: #10110B;
  text-align: center;
}

/* contacts END */

/* gallery START */

.gallery__swiper .swiper-slide {
  display: flex;
  width: fit-content;
  height: 700px;
}
.gallery__swiper .swiper-slide > a {
  width: 100%;
  height: 100%;
}
.gallery__swiper .swiper-slide > a > img {
  object-fit: contain;
  width: 100%;
  height: 100%;
}
.gallery__swiper .gallery-album {
  position: relative;
  display: flex;
}

.gallery__swiper .gallery-album__desc {
  position: absolute;
  bottom: 24px;
  left: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  transform: translateX(-50%);
}

.gallery__swiper .gallery-album__desc h4 {
  font-size: 24px;
  font-weight: 500;
  line-height: 100%;
  color: var(--text-color-beige);
}

.gallery__swiper .gallery-album__desc p {
  font-size: 14px;
  font-weight: 400;
  line-height: 125%;
  color: var(--text-color-beige);
}

/* gallery END */

/* type START */
.type {
  border-bottom: 1px solid var(--border-color-grey);
}
.type__wrap {
  display: flex;
  gap: 40px;
}

.type__left {
  display: flex;
  flex-direction: column;
  gap: 60px;
  max-width: 425px;
  padding: 40px 0;
  width: 100%;
}

.type-head {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.type-head__title {
  font-size: 44px;
  font-weight: 400;
  line-height: 100%;
  color: var(--text-color-dark);
}

.type-head__description {
  font-size: 18px;
  font-weight: 400;
  line-height: 125%;
  color: var(--text-color-dark);
}

.type-table {
  width: 100%;
}

.type-table__head {}

.type-table__title {
  font-size: 16px;
  font-weight: 500;
  line-height: 125%;
  color: var(--text-color-black);
}

.type-table__body {
  display: flex;
  flex-direction: column;
}

.type-table__row {
  display: flex;
  align-items: center;
  width: 100%;
  padding: 14px 0;
  border-bottom: 1px solid transparent;
}

.type-table__row:not(:last-child) {
  border-color: #f0f0ef;
}

.type-table__name {
  flex-grow: 1;
  font-size: 18px;
  font-weight: 400;
  line-height: 125%;
  color: var(--text-color-dark);
}

.type-table__value {
  font-size: 18px;
  font-weight: 400;
  line-height: 125%;
  color: var(--text-color-dark);
}

.type-center {
  margin-bottom: auto;
}

.type__links {
  display: flex;
  flex-direction: column;
}

.type__link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 0;
  border-bottom: 1px solid transparent;
  font-size: 18px;
  font-weight: 400;
  line-height: 125%;
  color: var(--text-color-dark);
}

.type__link:not(:last-child) {
  border-color: #f0f0ef;
}

.type__right {
  display: flex;
  align-items: center;
  /*flex-grow: 1;*/
  max-width: calc(100% - 425px - 40px);
  width: 100%;
}


/* ===== PREMIUM TYPE SLIDER ===== */

.type-swiper {
  position: relative;
}

/* картинка */
.type__image {
  width: 100%;
  border-radius: 48px;
  overflow: hidden;
  position: relative;
  box-shadow: none;
}

.type__image a,
.type__image img {
  display: block;
  width: 100%;
  height: 100%;
}

.type__image img {
  object-fit: cover;
  transition: transform .7s ease;
}

.type__image:hover img {
  transform: scale(1.03);
}

/* убираем кривые обрезания у swiper */
.type-swiper .swiper-slide {
  border-radius: 0 !important;
  overflow: visible !important;
}

/* нижний отступ */
.type-swiper .swiper-wrapper {
  margin-bottom: 0;
}

/* стрелки — внутрь слайдера */
.type-swiper .swiper-button-prev,
.type-swiper .swiper-button-next {
  width: 52px;
  height: 52px;
  border-radius: 999px;
  background: rgba(35, 37, 45, .58);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.18);
  box-shadow: 0 10px 30px rgba(0,0,0,.16);
  transition: all .25s ease;
  top: 50%;
  transform: translateY(-50%);
  z-index: 6;
  padding: 0;
}

.type-swiper .swiper-button-prev {
  left: 24px;
}

.type-swiper .swiper-button-next {
  right: 24px;
}

.type-swiper .swiper-button-prev:hover,
.type-swiper .swiper-button-next:hover {
  background: rgba(35, 37, 45, .78);
  transform: translateY(-50%) scale(1.06);
}

.type-swiper .swiper-button-prev svg,
.type-swiper .swiper-button-next svg {
  width: 14px;
  height: 14px;
}

.type-swiper .swiper-button-prev path,
.type-swiper .swiper-button-next path {
  stroke: #fff;
}

.type-swiper .swiper-button-next:after,
.type-swiper .swiper-rtl .swiper-button-prev:after,
.type-swiper .swiper-button-prev:after,
.type-swiper .swiper-rtl .swiper-button-next:after {
  content: '';
}

/* компактная плашка пагинации */
.type-swiper .swiper-pagination-fraction {
  width: auto;
  min-width: 88px;
  padding: 8px 18px;
  font-size: 18px;
  font-weight: 400;
  line-height: 1;
  color: #fff;
  background: rgba(35, 37, 45, .58);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 999px;
  box-shadow: 0 10px 30px rgba(0,0,0,.16);

  position: absolute;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  z-index: 6;
}

/* если цифры слишком большие */
.type-swiper .swiper-pagination-current,
.type-swiper .swiper-pagination-total {
  font-size: inherit;
  line-height: inherit;
}

/* адаптив */
@media (max-width: 1024px) {
  .type__image {
    border-radius: 32px;
  }

  .type-swiper .swiper-button-prev,
  .type-swiper .swiper-button-next {
    width: 44px;
    height: 44px;
  }

  .type-swiper .swiper-button-prev {
    left: 16px;
  }

  .type-swiper .swiper-button-next {
    right: 16px;
  }

  .type-swiper .swiper-pagination-fraction {
    bottom: 16px;
    padding: 7px 16px;
    font-size: 16px;
  }
}

@media (max-width: 640px) {
  .type__image {
    border-radius: 24px;
  }

  .type-swiper .swiper-button-prev,
  .type-swiper .swiper-button-next {
    width: 40px;
    height: 40px;
  }

  .type-swiper .swiper-pagination-fraction {
    min-width: 76px;
    font-size: 14px;
    padding: 6px 14px;
  }
}


.type-swiper .swiper-wrapper {
  margin-bottom: 26px;
}
.type-swiper .swiper-button-prev,
.type-swiper .swiper-button-next {
  padding: 10px 0;
  border-radius: 15px;
  width: 28px;
  background-color: var(--btn-backgound-grey);
}

.type-swiper .swiper-button-next:after,
.type-swiper .swiper-rtl .swiper-button-prev:after {
  content: '';
}

.type-swiper .swiper-button-prev:after,
.type-swiper .swiper-rtl .swiper-button-next:after {
  content: '';
}
.type-swiper .swiper-pagination-fraction {
  font-size: 20px;
  font-weight: 400;
  line-height: 130%;
  color: var(--text-color-white);
  background-color: var(--btn-backgound-grey);
}
/* type END */

/* layout START */
.layout {
  border-bottom: 1px solid var(--border-color-grey);
}
.layout__wrap {
  display: grid;
  grid-template-columns: 28% 67%;
  gap: 5%;
  padding-bottom: 40px;
  padding-top: 80px;
}

.layout__wrap h2 {
  font-size: 44px;
  font-weight: 400;
  line-height: 100%;
  color: var(--text-color-dark);
}

.layout-left {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
}

.layout-left__head {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.layout-left__head p {
  font-size: 18px;
  font-weight: 400;
  line-height: 125%;
  color: var(--text-color-dark);
}

.layout-engineer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.layout-engineer__image {
  display: flex;
  align-items: center;
  justify-content: center;
}

.layout-engineer__image image {
  width: 100%;
}

.layout-engineer__info {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
}

.layout-engineer__name {
  font-size: 18px;
  font-weight: 400;
  line-height: 115%;
  color: var(--text-color-dark);
}

.layout-engineer__job {
  font-size: 16px;
  font-weight: 400;
  line-height: 115%;
  color: #acaca2;
}

.layout-engineer__quote {
  font-size: 18px;
  font-weight: 400;
  line-height: 115%;
  text-align: center;
  color: var(--text-color-dark);
}

.layout-right {
  display: flex;
}
.layout-right__left {
  position: relative;
  flex-grow: 1;
}
.layout-right__left a {
  display: flex;
  align-items: center;
  justify-content: center;
}
.layout-right__left a {
  display: flex;
  align-items: center;
  justify-content: center;
}
.layout-right__right {
  display: flex;
  flex-direction: column;
  gap: 30px;
  flex-shrink: 0;
  height: 100%;
  width: 350px;
}
.layout-right__right h2 {
  margin-bottom: auto;
}
.layout__swiper {
  width: 100%;
}
.layout__swiper .swiper-slide {
  display: flex;
  align-items: center;
  gap: 5%;
}
.layout__swiper .swiper-slide img {
  width: 100%;
  object-fit: contain;
  max-height: 700px;
}


.layout__swiper .layout__swiper-prev,
.layout__swiper .layout__swiper-next {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 100%;
  border: 1px solid rgb(229, 229, 223);
  background-color: var(--text-color-white);
  transition: var(--animation-duration);
  cursor: pointer;
  box-sizing: border-box;
}
.layout__swiper .layout__swiper-next {
  right: 10px;
  bottom: 80px;
}
.layout__swiper .layout__swiper-prev {
  right: 10px;
  bottom: 10px;
}
.layout__swiper .layout__swiper-next,
.layout__swiper .layout__swiper-prev {
  background-color: var(--background-color--white);
  transition: var(--animation-duration);
}
.layout__swiper .layout__swiper-next:hover,
.layout__swiper .layout__swiper-prev:hover {
  background-color: #797676;
}
.layout__swiper .layout__swiper-next svg,
.layout__swiper .layout__swiper-prev svg {
  width: 18px;
  height: 18px;
  stroke: var(--color-black);
  transition: var(--animation-duration);
}
.layout__swiper .layout__swiper-next:hover svg,
.layout__swiper .layout__swiper-prev:hover svg {
  stroke: var(--text-color-white);
}

.layout__swiper .swiper-button-prev,
.layout__swiper .swiper-button-next {
  visibility: hidden;
  opacity: 0;
}
/* layout END */

/* footer START */
.footer__wrap {
  position: relative;
  display: flex;
  gap: 20px;
  padding: 120px 0;
}

.footer__left {
  width: calc((100% - 20px) / 2);
}

.footer__left h2 {
  margin-bottom: 40px;
  font-size: 44px;
  font-weight: 400;
  line-height: 100%;
  color: var(--text-color-dark);
}

.footer__right {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: calc((100% - 20px) / 2);
}

.footer__link {
  width: fit-content;
  font-size: 14px;
  font-weight: 400;
  line-height: 125%;
  color: var(--text-color-dark);
}

.footer__link--phone {
  margin-bottom: 20px;
  font-size: 44px;
  line-height: 100%;
}

/* footer END */

.contact-map {
  max-width: 1600px;
  width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
  transition: var(--animation-duration);
}

.contact-map:hover {
  transform: scale(1.02);
}

.layout-right .layout-right__right h2 {
  line-height: 145%;
}


.projects__list-inner {
  grid-template-columns: repeat(3, calc((100% - 20px) / 3));
}

.send_form form {
  pointer-events: none;
  opacity: 0.9!important;
}

.text_center {
  text-align: center;
}

/* main-hero START */
.main-hero {
  background-color: var(--background-color--milk);
  /*background:*/
  /*        radial-gradient(circle at top left, rgba(214,198,170,.18), transparent 28%),*/
  /*        linear-gradient(180deg, #f7f5f1 0%, #f2efe9 100%);*/
}
.main-hero__inner {
  position:relative;
  display: flex;
  gap:50px;
}

.main-hero__content{
  position:relative;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  z-index:2;
}
.main-hero__content--top {
  margin-bottom: 30px;
}
.main-hero__content--bottom {
  display: flex;
  align-items: center;
  margin-bottom: 30px;
}
.main-hero__eyebrow{
  display:inline-flex;
  align-items:center;
  justify-content: center;
  gap:12px;
  margin-bottom:32px;
  color:#7a6a55;
  font-size:13px;
  line-height:1;
  letter-spacing:.22em;
  text-transform:uppercase;
  text-align: center;
}

.main-hero__eyebrow:before,
.main-hero__eyebrow:after{
  content:"";
  width:56px;
  height:1px;
  background:#b9a78b;
  display:block;
}

.main-hero__quote{
  margin:0 0 24px;
  color:#5f564b;
  font-size:20px;
  line-height:1.3;
  letter-spacing:.04em;
  text-transform:uppercase;
}

.main-hero__title{
  margin:0;
  color:#171717;
  font-size: clamp(52px, 5vw, 90px);
  line-height:1;
  font-weight:400;
  letter-spacing:.02em;
  text-transform:uppercase;
}

.main-hero__subtitle{
  margin:24px 0 0;
  max-width:610px;
  color:#4a4a4a;
  font-size:18px;
  line-height:1.65;
}

.main-hero__meta{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
}

.main-hero__badge{
  display:inline-flex;
  align-items:center;
  min-height:48px;
  padding:0 18px;
  border:1px solid rgba(0,0,0,.08);
  border-radius:999px;
  background:rgba(255,255,255,.78);
  backdrop-filter:blur(6px);
  color:#262626;
  font-size:16px;
  line-height:1;
  letter-spacing:.12em;
  text-transform:uppercase;
  box-shadow:0 10px 24px rgba(0,0,0,.05);
}

.main-hero__cta-row{
  display:flex;
  flex-direction: column;
  align-items: flex-start;
  gap:18px;
}

.main-hero__hint{
  color:#6f675e;
  font-size:18px;
  line-height:1.5;
  text-wrap: balance;
}

.main-hero__media{
  position:relative;
  flex-shrink: 0;
  width: 30%;
  z-index:2;
  min-height: 500px;
}

.main-hero__thinker {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  flex-shrink: 0;
  width: 25%;
}
.main-hero__chekhov {
  width: 100%;
  z-index:1;
  pointer-events:none;
  animation:chekhovFloat 6s ease-in-out infinite;
}

.main-hero__chekhov img {
  display:block;
  width:100%;
  height:auto;
  opacity:.11;
}
@keyframes chekhovFloat {
  0%{transform:translate(0px, 0px);}
  50%{transform:translate(0px, -10px);}
  100%{transform:translate(0px, 0px);}
}

.main-hero__chekhov-line {
  position:absolute;
  left: 50%;
  top:0;
  transform:translateX(-50%);
  z-index:2;
  pointer-events:none;
  width:420px;
  height:60px;
}

/* только внешний bubble */
.main-hero__chekhov-line > span{
  position:absolute;
  left:50%;
  top:0;
  transform:translateX(-50%);
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:44px;
  min-width:220px;
  padding:0 18px;
  border:1px solid rgba(18,18,18,.05);
  border-radius:999px;
  background:rgba(255,255,255,.78);
  -webkit-backdrop-filter:blur(18px) saturate(140%);
  backdrop-filter:blur(18px) saturate(140%);
  box-shadow:
          0 10px 30px rgba(15,23,42,.07),
          0 2px 8px rgba(15,23,42,.04),
          inset 0 1px 0 rgba(255,255,255,.75);
  color:#5f564b;
  font-size:15px;
  line-height:1;
  letter-spacing:.08em;
  white-space:nowrap;
  opacity:0;
  transition:opacity .45s ease;
}

.main-hero__chekhov-line > span.active{
  opacity:1;
  animation:softPulse 4s ease-in-out infinite;
}

.main-hero__chekhov-line > span::after{
  content:"";
  position:absolute;
  left:50%;
  bottom:-6px;
  width:14px;
  height:14px;
  transform:translateX(-50%) rotate(45deg);
  background:inherit;
  border-right:1px solid rgba(18,18,18,.05);
  border-bottom:1px solid rgba(18,18,18,.05);
  box-shadow:
          3px 3px 8px rgba(15,23,42,.03),
          inset 0 1px 0 rgba(255,255,255,.35);
  z-index:-1;
}

.main-hero__chekhov-line > span::before{
  content:"";
  position:absolute;
  inset:1px;
  border-radius:999px;
  background:linear-gradient(180deg, rgba(255,255,255,.34) 0%, rgba(255,255,255,0) 55%);
  pointer-events:none;
}

.main-hero__typing{
  display:inline-block;
  min-width:1ch;
}

.main-hero__typing.typing::after{
  content:"";
  display:inline-block;
  width:1px;
  height:1em;
  margin-left:6px;
  vertical-align:-0.12em;
  background:rgba(95,86,75,.75);
  animation:chekhovCaret 1s steps(1) infinite;
}

@keyframes chekhovCaret{
  0%,50%{opacity:1;}
  50.01%,100%{opacity:0;}
}

@keyframes softPulse{
  0%{opacity:1;}
  50%{opacity:.88;}
  100%{opacity:1;}
}

.main-hero__media-card{
  position:absolute;
  inset:0;
  border-radius:34px;
  overflow:hidden;
  background:#ddd;
  box-shadow:0 30px 70px rgba(0,0,0,.14);
}

.main-hero__media-card video{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}

.main-hero__floating{
  position:absolute;
  left:-36px;
  bottom:34px;
  width:220px;
  padding:20px 22px;
  border-radius:22px;
  background:rgba(255,255,255,.92);
  backdrop-filter:blur(10px);
  box-shadow:0 20px 40px rgba(0,0,0,.12);
}

.main-hero__floating-label{
  margin:0 0 8px;
  color:#8a7b66;
  font-size:11px;
  line-height:1.2;
  letter-spacing:.18em;
  text-transform:uppercase;
}

.main-hero__floating-title{
  margin:0;
  color:#181818;
  font-size:24px;
  line-height:1.05;
  text-transform:uppercase;
}

.main-hero__floating-text{
  margin:14px 0 0;
  color:#595959;
  font-size:16px;
  line-height:1.5;
}

.main-hero__bottom{
  margin-top:36px;
  padding-top:24px;
  border-top:1px solid rgba(0,0,0,.08);
  display:grid;
  grid-template-columns:repeat(3, minmax(0, 1fr));
  gap:18px;
}

.main-hero__feature{
  padding:18px 20px;
  border-radius:18px;
  background:rgba(255,255,255,.58);
  box-shadow:0 10px 24px rgba(0,0,0,.04);
}

.main-hero__feature-title{
  margin:0 0 8px;
  color:#1d1d1d;
  font-size:18px;
  line-height:1.2;
  letter-spacing:.18em;
  text-transform:uppercase;
}

.main-hero__feature-text{
  margin:0;
  color:#5d5d5d;
  font-size:18px;
  line-height:1.6;
}

/* ===== PREMIUM CTA FINAL ===== */
.main-hero__start{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:58px;
  min-width:520px;
  padding:0 28px;
  border-radius:14px;
  border:0;
  background:linear-gradient(135deg, #b99363 0%, #9f7d52 100%);
  color:#fff;
  font-size:15px;
  font-weight:600;
  line-height:1;
  letter-spacing:.14em;
  text-transform:uppercase;
  box-shadow:
          0 16px 34px rgba(122, 88, 47, .28),
          0 0 12px rgba(212,175,55,.18);
  text-decoration:none;
  cursor:pointer;
  position:relative;
  overflow:hidden;
  transition:
          transform .18s ease,
          box-shadow .3s ease;
  will-change:transform;
  isolation:isolate;
}

.main-hero__start:hover{
  box-shadow:
          0 20px 40px rgba(122, 88, 47, .32),
          0 0 22px rgba(212,175,55,.25);
}

/* блик, который следует за мышкой */
.main-hero__start::before{
  content:"";
  position:absolute;
  inset:-1px;
  background:
          radial-gradient(
                  220px circle at var(--x, 50%) var(--y, 50%),
                  rgba(255,255,255,.34) 0%,
                  rgba(255,244,214,.18) 22%,
                  rgba(255,255,255,.08) 36%,
                  rgba(255,255,255,0) 60%
          );
  opacity:0;
  transition:opacity .22s ease;
  z-index:0;
  pointer-events:none;
}

/* лёгкий проходящий metallic shine */
.main-hero__start::after{
  content:"";
  position:absolute;
  top:0;
  left:-35%;
  width:28%;
  height:100%;
  background:linear-gradient(
          115deg,
          rgba(255,255,255,0) 0%,
          rgba(255,255,255,.10) 35%,
          rgba(255,255,255,.45) 50%,
          rgba(255,255,255,.10) 65%,
          rgba(255,255,255,0) 100%
  );
  transform:skewX(-18deg);
  filter:blur(2px);
  opacity:0;
  z-index:0;
  pointer-events:none;
  transition:opacity .22s ease;
}

.main-hero__start:hover::before,
.main-hero__start:hover::after{
  opacity:1;
}

.main-hero__start:hover::after{
  animation:mainHeroBtnShine 1.4s ease;
}

@keyframes mainHeroBtnShine{
  0%{ left:-35%; opacity:0; }
  18%{ opacity:.85; }
  100%{ left:115%; opacity:0; }
}

/* тексты внутри кнопки */
.main-hero__start .btn-text{
  position:absolute;
  left:50%;
  top:50%;
  transform:translate(-50%, -50%);
  white-space:nowrap;
  transition:all .42s cubic-bezier(.22,.61,.36,1);
  z-index:1;
  pointer-events:none;
}

.main-hero__start .btn-default{
  opacity:1;
}

.main-hero__start .btn-hover{
  opacity:0;
  transform:translate(-50%, 70%);
  letter-spacing:.16em;
}

.main-hero__start:hover .btn-default{
  opacity:0;
  transform:translate(-50%, -135%);
}

.main-hero__start:hover .btn-hover{
  opacity:1;
  transform:translate(-50%, -50%);
}
/* main-hero END */



@media (max-width: 1599.98px) {
  .header-nav__item a {
    font-size: 16px;
  }
  .main-info__head {
    flex-direction: column-reverse;
    justify-content: normal;
    align-items: center;
    gap: 50px;
    padding-right: 400px;
  }
  .main-info__description {
    position: static;
    text-align: center;
    transform: none;
    max-width: 100%;
  }
  .main-hero__inner {
    flex-wrap: wrap;
  }
  .main-hero__content {
    flex-direction: row;
    flex-wrap: wrap;
    width: 100%;
  }
  .main-hero__eyebrow {
    width: 100%;
  }
  .main-hero__cta-row {
    align-items: center;
    justify-content: space-between;
    flex-direction: row;
    width: 100%;
  }
  .main-hero__hint {
    text-align: center;
  }
  .main-hero__content--top,
  .main-hero__content--bottom {
    width: 50%;
  }
  .main-hero__meta {
    justify-content: center;
  }
  .main-hero__thinker {
    justify-content: center;
    width: calc(35% - 50px);
  }
  .main-hero__media {
    width: 65%;
    flex-grow: 1;
  }
}

@media (max-width: 1399.98px) {
  .layout {
    padding: 40px 0;
  }
  .layout__wrap {
    grid-template-columns: 100%;
    gap: 40px;
  }

  .layout-left,
  .layout-right {
    width: 100%;
  }

  .layout-left {
    flex-direction: row;
  }
  .layout__swiper .swiper-button-prev {
    bottom: 40px;
    right: 120px;
  }

  .layout__swiper .swiper-button-next {
    bottom: 40px;
    right: 40px;
  }

  /* .header__mid, */
  .header__right {
    display: none;
  }

  .header-nav {
    position: fixed;
    left: 0;
    top: 73px;
    height: calc(100vh - 73px);
    overflow-y: auto;
    min-width: 375px;
    padding: 40px 24px;
    background-color: var(--background-color--milk);
    transition: var(--animation-duration);
    transform: translateX(-100%);
  }

  .header-nav.active {
    transform: translateX(0);
  }

  .header-nav__list {
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
    margin-bottom: 40px;
  }

  .header-nav__item a {
    font-size: 24px;
    line-height: 100%;
  }

  .burger-menu__button {
    display: flex;
  }

  .burger-menu__wrap {
    display: flex;
    flex-direction: column;
  }
  .master-plan__element--number {
    width: 50px;
    height: 50px;
  }
  .master-plan__element--number span {
    font-size: 18px;
  }
  .construction__text span {
    font-size: 26px;
  }
  .construction__text p {
    font-size: 18px;
  }
  .construction__text-1 {
    top: 19%;
    max-width: 17%;
  }
  .construction__text-2 {
    top: 53%;
    left: 0.4%;
    max-width: 18%;
  }
  .construction__text-3 {
    top: 72.5%;
    max-width: 19%;
  }
  .construction__text-4 {
    top: 93.2%;
    max-width: 18%;
  }
  .construction__text-5 {
    top: 90%;
    max-width: 31%;
  }
  .construction__text-6 {
    top: 48.5%;
    max-width: 15%;
  }
  .construction__text-7 {
    top: 1.5%;
    max-width: 25%;
  }
}

@media (max-width: 1199.98px) {
  .main-hero__inner {
    gap: 20px;
  }
  .main-hero__content {
    flex-direction: column;
  }
  .main-hero__content--top {
    width: 100%;
  }
  .main-hero__title,
  .main-hero__quote {
    text-align: center;
  }
  .main-hero__content--bottom {
    width: 100%;
    justify-content: center;
  }
  .main-hero__chekhov-line > span{
    font-size:13px;
    min-height:40px;
    min-width:180px;
    padding:0 16px;
  }
  .main-hero__thinker {
    display: none;
  }
  .main-hero__media {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: auto;
  }
  .main-hero__floating {
    position: static;
    width: 100%;
    border-radius: 0 0 22px 22px;
  }
  .main-hero__media-card {
    position: static;
    border-radius: 22px 22px 0 0;
  }

  .section {
    margin-bottom: 60px;
  }

  .section-head__wrap {
    margin-bottom: 32px;
  }

  .section--margin-top {
    margin-top: 80px;
  }

  .container {
    padding: 0 32px;
  }

  .main-info__wrap {
    padding: 60px 0;
  }

  .main-banner__content {
    justify-content: center;
  }

  .main-banner__content {
    gap: 0;
  }

  .main-banner__text--left,
  .main-banner__text--right {
    display: none;
  }
  .main-info__content h1 {
    font-size: 80px;
    letter-spacing: -6px;
  }
  .main-info__head {
    align-items: flex-start;
    padding-right: 0;
  }
  .master-plan__element--number {
    width: 40px;
    height: 40px;
  }
  .master-plan__element--number span {
    font-size: 16px;
  }
  .main-contacts {
    padding: 60px 0;
  }
  .main-contacts__left {
    padding: 0;
  }
  .main-contacts__right h2 {
    margin-bottom: 24px;
    font-size: 32px;
    letter-spacing: -1px;
  }
  .main-contacts__right p {
    margin-bottom: 32px;
    font-size: 20px;
    line-height: 115%;
  }
  .main-contacts__badges {
    gap: 18px;
  }
  .main-contacts__badges span {
    display: inline-block;
    padding: 12px 18px;
    border-radius: 8px;
    font-size: 18px;
  }
  .main-gallery__swiper .swiper-slide {
    height: 500px;
  }
  .gallery__swiper .swiper-slide {
    height: 500px;
  }
  .construction__text {
    gap: 15px;
  }
  .construction__text span {
    font-size: 22px;
  }
  .construction__text p {
    font-size: 16px;
  }

  .about-history__grid{
    grid-template-columns:1fr;
  }

  .about-history__aside{
    position:static;
    display:none;
  }

  .about-history__photo--mobile{
    display:block;
  }
}

@media (max-width: 991.98px) {
  .main-gallery__swiper {
    padding: 0 30px;
  }
  .main-gallery__swiper .swiper-button-prev {
    display: block;
    left: 0;
  }
  .main-gallery__swiper .swiper-button-next {
    display: block;
    right: 0;
  }
  .main-hero__cta-row {
    flex-direction: column;
  }
  .main-hero__start {
    min-width: unset;
    width: 100%;
  }
  .main-hero__quote{
    font-size:18px;
    max-width:none;
  }
  .main-hero__subtitle{
    font-size:18px;
  }
  .section {
    margin-bottom: 40px;
  }

  .section-head__wrap {
    margin-bottom: 24px;
  }

  .section--margin-top {
    margin-top: 60px;
  }

  .container {
    padding: 0 24px;
  }

  .section-head__title h2 {
    font-size: 32px;
  }
  .layout__wrap h2 {
    font-size: 32px;
  }
  .layout-right__right {
    width: 100%;
  }
  .layout-right__left a {
    padding-bottom: 100px;
    background-color: #fff;
  }
  .layout__swiper .layout__swiper-next {
    right: 10px;
    bottom: 10px;
  }
  .layout__swiper .layout__swiper-prev {
    right: 80px;
    bottom: 10px;
  }
  .layout-right__right h2 {
    margin-bottom: 0;
  }
  .type-head__title {
    font-size: 32px;
  }
  .layout__swiper .swiper-slide {
   flex-direction: column;
    align-items: normal;
    gap: 40px;
  }
  .section-head__description p {
    font-size: 22px;
  }

  .main-info__wrap {
    padding: 30px 0;
  }
  .main-info__head {
    flex-direction: column;
    align-items: initial;
  }

  .main-info__description {
  }

  .main-info__video-circle {
    position: static;
    width: 100%;
    height: auto;
    transform: none;
    border-radius: 30px;
  }

  .main-info__start span {
    cursor:pointer;
  }

  .main-banner__content h1 {
    font-size: 80px;
  }

  .main-banner__text--top {
    top: 24px;
  }

  .main-banner__text--bottom {
    bottom: 24px;
  }

  .main-slider__text span {
    font-size: 60px;
  }

  .main-slider__text span.main-slider__text--big {
    font-size: 120px;
  }

  .master-plan__element--content {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }
  .master-plan__description-close {
    display: flex;
  }
  .master-plan__description:after {
    display: none;
  }
  .master-plan__element--number {
    width: 30px;
    height: 30px;
  }
  .master-plan__element--number span {
    font-size: 14px;
  }
  .master-plan__description-type {
    font-size: 14px;
  }
  .master-plan__description-text {
    gap: 6px;
    font-size: 12px;
  }

  .projects__list {
    row-gap: 40px;
  }

  .projects-card__image .swiper-button-prev {
    bottom: 12px;
    right: 50px;
    width: 32px;
    height: 32px;
    padding: 10px;
  }

  .projects-card__image .swiper-button-next {
    bottom: 12px;
    right: 12px;
    width: 32px;
    height: 32px;
    padding: 10px;
  }

  .about__text p {
    font-size: 18px;
  }

  .type__wrap {
    flex-direction: column-reverse;
  }

  .type__left {
    max-width: 100%;
    gap: 40px;
  }
  .type__right {
    max-width: 100%;
  }

  .main-contacts__wrap {
    flex-direction: column-reverse;
    align-items: normal;
    gap: 50px;
  }
  .main-contacts__left {
    width: 100%;
    justify-content: center;
    padding: 0 15%;
  }
  .main-contacts__right {
    width: 100%;
    padding-left: 0;
  }
  .footer__left h2 {
    font-size: 32px;
  }

  .footer__link--phone {
    font-size: 36px;
  }
  .construction__text span {
    font-size: 18px;
  }
  .construction__text p {
    font-size: 12px;
  }
  .layout-left {
    flex-direction: column;
  }
}

@media (max-width: 767.98px) {
  .main-hero__bottom {
    display: flex;
    flex-direction: column;
  }
  .layout__swiper .swiper-button-prev {
    width: 48px;
    height: 48px;
    bottom: 20px;
    right: 80px;
    padding: 14px;
  }

  .layout__swiper .swiper-button-next {
    width: 48px;
    height: 48px;
    bottom: 20px;
    right: 20px;
    padding: 14px;
  }

  .section {
    margin-bottom: 25px;
  }

  .section-head__wrap {
    flex-direction: column;
    gap: 16px;
    margin-bottom: 40px;
  }

  .section-head__title,
  .section-head__description {
    width: 100%;
  }

  .section-head__wrap {
    margin-bottom: 16px;
  }

  .section-head__title h2 {
    font-size: 24px;
  }
  .layout__wrap h2 {
    font-size: 24px;
  }
  .type-head__title {
    font-size: 24px;
  }

  .section-head__description p {
    font-size: 14px;
  }

  .section--margin-top {
    margin-top: 40px;
  }

  .container {
    padding: 0 16px;
  }

  .main-banner__content h1 {
    font-size: 36px;
    line-height: 90%;
  }

  .main-banner__text {
    font-size: 12px;
  }

  .main-info__head {
    gap: 30px;
  }
  .main-info__content {
    gap: 30px;
  }
  .main-info__content h1 {
    font-size: 40px;
    letter-spacing: -2px;
  }
  .main-info__description {
    font-size: 20px;
  }
  .main-info__badges > span {
    padding: 6px 10px;
    font-size: 12px;
    line-height: 110%;
  }

  .main-info__start {
    padding: 10px 12px;
    border-radius: 6px;
    font-size: 12px;
    line-height: 1.5;
    text-wrap: balance;
    letter-spacing: 0.08em;
    box-shadow: 0 14px 30px rgba(230, 51, 42, 0.25);
  }

  .projects__list {
    grid-template-columns: 100%;
    row-gap: 32px;
  }

  .projects-card__image {
    margin-bottom: 16px;
  }

  .projects-card__type {
    margin-bottom: 6px;
    font-size: 14px;
  }

  .projects-card__characteristics p {
    font-size: 12px;
  }

  .main-slider__wrap {
    padding: 24px 0;
  }

  .main-slider__description {
    max-width: 100%;
    margin-bottom: 15px;
    font-size: 16px;
  }

  .main-slider__content {
    flex-direction: column;
    gap: 32px;
    align-items: flex-start;
    padding: 0;
    margin-top: auto;
    margin-bottom: 65px;
  }

  .main-slider__text span,
  .main-slider__text span.main-slider__text--big {
    margin-bottom: 10px;
    font-size: 72px;
    font-weight: 400;
    line-height: 80%;
  }

  .main-slider__text p {
    font-size: 16px;
  }

  .main-slider__swiper .swiper-button-prev {
    top: unset;
    left: unset;
    bottom: 0;
    right: 42px;
    width: 20px;
    padding: 0 4px;
  }

  .main-slider__swiper .swiper-button-next {
    top: unset;
    left: unset;
    bottom: 0;
    right: 10px;
    width: 20px;
    padding: 0 4px;
  }

  .main-slider__swiper .swiper-pagination-fraction {
    gap: 8px;
    font-size: 14px;
    line-height: 130%;
  }

  .main-slider__swiper .swiper-pagination-current {
    font-size: 32px;
    line-height: 80%;
  }

  .main-slider__swiper .swiper-pagination-total {
    font-size: 14px;
    line-height: 130%;
  }

  .main-gallery__wrap {
    flex-direction: column;
    gap: 8px;
  }

  .main-gallery__left {
    width: 100%;
  }

  .main-gallery__right {
    flex-direction: column;
    gap: 8px;
    width: 100%;
  }

  .main-gallery__right .main-gallery__image {
    width: 100%;
  }

  .type__left {
    gap: 24px;
  }
  .main-contacts__left {
    padding: 0;
  }
  .main-contacts__right h2 {
    margin-bottom: 16px;
    font-size: 24px;
    letter-spacing: 0;
  }
  .main-contacts__right p {
    margin-bottom: 20px;
    font-size: 18px;
  }
  .main-contacts__badges {
    gap: 14px;
  }
  .main-contacts__badges span {
    padding: 8px 12px;
    font-size: 14px;
  }
  .modal-form__form {
    padding: 40px 20px;
    border-radius: 12px;
  }
  .footer__wrap {
    flex-direction: column;
    gap: 56px;
    padding: 40px 0;
  }

  .footer__left {
    width: 100%;
  }

  .footer__left h2 {
    margin-bottom: 16px;
    font-size: 24px;
  }

  .footer__right {
    width: 100%;
  }

  .footer__link {
    font-size: 12px;
  }

  .footer__link--phone {
    margin-bottom: 30px;
    font-size: 36px;
  }
  .main-gallery__swiper .swiper-slide {
    height: 300px;
  }
  .gallery__swiper .swiper-slide {
    height: auto;
  }
  .construction {
    display: none;
  }
  .construction__text span {
    font-size: 14px;
  }
  .construction__text p {
    font-size: 10px;
  }
  .construction__text-7 {
    left: unset;
    right: 4%;
    text-align: right;
    align-items: flex-end;
  }

  .about-history{
    padding:48px 0 64px;
  }

  .about-history__head{
    margin-bottom:32px;
  }

  .about-history__eyebrow{
    font-size:14px;
    padding:7px 12px;
    letter-spacing:.06em;
    line-height:1.2;
  }

  .about-history__subtitle{
    font-size:16px;
    line-height:1.6;
    padding:0 6px;
  }

  .about-history__card,
  .about-history__final{
    border-radius:20px;
    padding:22px 18px;
  }

  .about-history__card p,
  .about-history__final p{
    font-size:17px;
    line-height:1.65;
    font-family:inherit;
    font-weight:400;
    letter-spacing:0;
    word-break:normal;
    overflow-wrap:break-word;
    hyphens:none;
  }

  .about-history__name-accent{
    white-space:nowrap;
    font-weight:500;
  }

  .about-history__quote{
    padding:22px 20px 22px 58px;
    border-radius:20px;
  }

  .about-history__quote-mark{
    left:18px;
    top:12px;
    font-size:68px;
  }

  .about-history__quote-text{
    font-size:18px;
    line-height:1.55;
  }

  .about-history__photo-row{
    grid-template-columns:1fr;
    gap:18px;
  }

  .about-history__photo{
    border-radius:20px;
  }

  .about-history__info-item span{
    font-size:20px;
  }
  .about-history__swiper .swiper-button-next,
  .about-history__swiper .swiper-button-prev {
    width: 36px;
    height: 36px;
    font-size: 20px;
  }
}

@media (max-width: 575.98px) {
  .main-hero__title {
    font-size: 38px;
  }
  .header-nav {
    min-width: 100%;
    width: 100vw;
  }
  .main-info__badges {
    flex-direction: column;
    align-items: initial;
    gap: 14px;
  }
  .main-info__badges > span {
  }
  .master-plan__element--number {
    width: 20px;
    height: 20px;
  }
  .master-plan__element--number span {
    font-size: 12px;
  }
  .construction__text span {
    font-size: 10px;
  }
  .construction__text p {
    font-size: 6px;
  }
  .main-hero__badge{
    width:100%;
    justify-content:center;
    text-align:center;
  }

  .main-hero__cta-row{
  }
  .main-hero__hint {
    text-wrap: initial;
  }

  .main-hero__start{
    width:100%;
    justify-content:center;
    text-align:center;
    padding:0 20px;
    line-height:1.2;
  }

  .main-hero__media{
    min-height:280px;
  }

  .main-hero__start .btn-default,
  .main-hero__start .btn-hover{
    font-size:13px;
    max-width:90%;
    text-align:center;
    white-space:normal;
    line-height:1.2;
  }
}

@media (max-width: 475.98px) {
  .construction__text span {
    font-size: 8px;
  }
  .construction__text p {
    font-size: 4px;
  }
}

/* Код из верстки START */


/* Заголовки и подписи плотнее */
.main-contacts__right h2.uppercase {
  margin-top: 0;
  margin-bottom: 4px; /* маленький отступ под цифрой */
  line-height: 1; /* плотнее строка */
}

.main-contacts__right h2.uppercase + p {
  margin-top: 0 !important; /* убираем верхний отступ у подписи */
  margin-bottom: 14px; /* общий нижний отступ между парами */
  line-height: 1.3;
}

/* Бейджи прижаты к левому краю */
.main-contacts__badges {
  display: flex;
  justify-content: flex-start; /* по левому краю */
  align-items: center;
  flex-wrap: wrap; /* переносятся при нехватке места */
  gap: 10px; /* расстояние между бейджами */
  text-align: left;
  margin-top: 10px;
  margin-bottom: 20px;
}

/* Кнопка */
.main-contacts__right .btn {
  margin-top: 10px; /* аккуратный отступ перед кнопкой */
}

.contact-map{
  max-width: 1600px; /* регулируй размер тут */
  width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;

  /* чуть красоты */
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
  transition: transform 0.3s ease;
}

.contact-map:hover{
  transform: scale(1.02);
}

.gallery-mosaic{
  max-width:1200px;
  margin:60px auto 0;
  padding:0 20px 60px;
}

.gallery-mosaic__title{
  font-size:40px;
  line-height:1.1;
  margin:0 0 10px;
  text-align:center;
}

.gallery-mosaic__subtitle{
  text-align:center;
  color:#666;
  margin:0 0 30px;
}

.gallery-mosaic__grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  grid-template-areas:
    "item1 item2 item3 item4"
    "item5 item5 item6 item7"
    "item8 item8 item8 item8";
  gap:14px;
}

.gallery-mosaic__item{
  overflow:hidden;
  border-radius:24px;
  min-height:260px;
  position:relative;
  background:#f3f3f3;
}

.gallery-mosaic__item a{
  display:block;
  width:100%;
  height:100%;
}

.gallery-mosaic__item img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
  transition:transform .8s cubic-bezier(.2,.8,.2,1), filter .4s ease;
  will-change:transform;
}

.gallery-mosaic__item:hover img{
  transform:scale(1.04);
}

.gallery-mosaic__item--1{grid-area:item1;}
.gallery-mosaic__item--2{grid-area:item2;}
.gallery-mosaic__item--3{grid-area:item3;}
.gallery-mosaic__item--4{grid-area:item4;}
.gallery-mosaic__item--5{grid-area:item5; min-height:280px;}
.gallery-mosaic__item--6{grid-area:item6;}
.gallery-mosaic__item--7{grid-area:item7;}
.gallery-mosaic__item--8{grid-area:item8; min-height:320px;}

@media(max-width:1024px){
  .gallery-mosaic__grid{
    grid-template-columns:repeat(2,1fr);
    grid-template-areas:
      "item1 item2"
      "item3 item4"
      "item5 item5"
      "item6 item7"
      "item8 item8";
  }
}

@media(max-width:600px){
  .gallery-mosaic{
    margin-top:40px;
    padding:0 14px 40px;
  }

  .gallery-mosaic__title{
    font-size:30px;
  }

  .gallery-mosaic__subtitle{
    margin-bottom:20px;
  }

  .gallery-mosaic__grid{
    grid-template-columns:1fr;
    grid-template-areas:
      "item1"
      "item2"
      "item3"
      "item4"
      "item5"
      "item6"
      "item7"
      "item8";
    gap:12px;
  }

  .gallery-mosaic__item{
    min-height:220px;
    border-radius:18px;
  }

  .gallery-mosaic__item--5,
  .gallery-mosaic__item--8{
    min-height:240px;
  }
}

/* Apple-style lightbox */
.gallery-viewer{
  position:fixed;
  inset:0;
  z-index:99999;
  display:flex;
  align-items:center;
  justify-content:center;
  opacity:0;
  visibility:hidden;
  pointer-events:none;
  transition:opacity .35s ease, visibility .35s ease;
}

.gallery-viewer.is-open{
  opacity:1;
  visibility:visible;
  pointer-events:auto;
}

.gallery-viewer__backdrop{
  position:absolute;
  inset:0;
  background:rgba(10,10,12,.92);
  backdrop-filter:blur(18px);
  -webkit-backdrop-filter:blur(18px);
}

.gallery-viewer__stage{
  position:relative;
  z-index:2;
  width:min(94vw, 1500px);
  height:min(88vh, 980px);
  display:flex;
  align-items:center;
  justify-content:center;
  padding:40px 90px;
}

.gallery-viewer__img{
  max-width:100%;
  max-height:100%;
  display:block;
  border-radius:18px;
  box-shadow:0 25px 80px rgba(0,0,0,.45);
  transform:scale(.94) translateY(16px);
  opacity:0;
  transition:transform .42s cubic-bezier(.2,.8,.2,1), opacity .35s ease;
  user-select:none;
  -webkit-user-drag:none;
}

.gallery-viewer.is-open .gallery-viewer__img{
  transform:scale(1) translateY(0);
  opacity:1;
}

.gallery-viewer__close,
.gallery-viewer__prev,
.gallery-viewer__next{
  position:absolute;
  z-index:3;
  border:0;
  outline:0;
  cursor:pointer;
  background:rgba(255,255,255,.10);
  color:#fff;
  backdrop-filter:blur(10px);
  -webkit-backdrop-filter:blur(10px);
  transition:background .25s ease, transform .25s ease, opacity .25s ease;
}

.gallery-viewer__close:hover,
.gallery-viewer__prev:hover,
.gallery-viewer__next:hover{
  background:rgba(255,255,255,.18);
}

.gallery-viewer__close{
  top:24px;
  right:24px;
  width:52px;
  height:52px;
  border-radius:50%;
  font-size:28px;
  line-height:52px;
  text-align:center;
}

.gallery-viewer__prev,
.gallery-viewer__next{
  top:50%;
  transform:translateY(-50%);
  width:56px;
  height:56px;
  border-radius:50%;
  font-size:28px;
  line-height:56px;
  text-align:center;
}

.gallery-viewer__prev{
  left:22px;
}

.gallery-viewer__next{
  right:22px;
}

.gallery-viewer__counter{
  position:absolute;
  left:50%;
  bottom:24px;
  transform:translateX(-50%);
  z-index:3;
  padding:10px 16px;
  border-radius:999px;
  background:rgba(255,255,255,.10);
  color:#fff;
  font-size:14px;
  line-height:1;
  letter-spacing:.3px;
  backdrop-filter:blur(10px);
  -webkit-backdrop-filter:blur(10px);
}

body.viewer-open{
  overflow:hidden;
}

@media(max-width:900px){
  .gallery-viewer__stage{
    width:100vw;
    height:100vh;
    padding:28px 20px 70px;
  }

  .gallery-viewer__img{
    border-radius:14px;
  }

  .gallery-viewer__close{
    top:14px;
    right:14px;
    width:46px;
    height:46px;
    line-height:46px;
    font-size:24px;
  }

  .gallery-viewer__prev,
  .gallery-viewer__next{
    width:46px;
    height:46px;
    line-height:46px;
    font-size:24px;
    top:auto;
    bottom:14px;
    transform:none;
  }

  .gallery-viewer__prev{
    left:14px;
  }

  .gallery-viewer__next{
    right:14px;
  }

  .gallery-viewer__counter{
    bottom:18px;
    font-size:13px;
  }
}
/* Код из верстки END */