@font-face {
  font-family: "Poppins";
  src: url("../images/45-Poppins-Light_1_1.woff") format("woff");
  font-weight: 300;
}

@font-face {
  font-family: "Poppins";
  src: url("../images/46-Poppins-Regular_1_1.woff") format("woff");
  font-weight: 400;
}

@font-face {
  font-family: "Poppins";
  src: url("../images/47-Poppins-Medium_1.woff") format("woff");
  font-weight: 500;
}

:root {
  --color-bg: #f2ede6;
  --color-text: #4a4a4a;
  --color-green: #2f4f4f;
  --color-gold: #bfa177;
  --color-line: rgba(74, 74, 74, 0.25);
  --gutter: 16px;
  --header-gutter: 32px;
  --container: min(1856px, calc(100vw - (var(--gutter) * 2)));
  --header-height: 72px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: "Poppins", Arial, sans-serif;
  font-weight: 300;
  overflow-x: hidden;
}

body.is-locked {
  overflow: hidden;
}

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

.header {
  position: fixed;
  z-index: 50;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  display: flex;
  align-items: center;
  padding: 0 max(var(--header-gutter), calc((100vw - var(--container)) / 2));
  background: rgba(0, 0, 0, 0.4);
  color: #fff;
}

.header__logo {
  width: 235px;
  font-family: Georgia, serif;
  font-size: 25px;
  line-height: 1.12;
  letter-spacing: 2px;
  font-weight: 700;
}

.header__logo span {
  display: block;
}

.header__nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 55px;
  flex: 1;
}

.header__link,
.header__lang,
.header__callback {
  color: #fff;
  font-size: 14px;
  line-height: 1.55;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 18px;
}

.header__lang {
  display: flex;
  align-items: center;
  gap: 8px;
}

.header__callback {
  padding: 15px;
  border: 1px solid #fff;
  border-radius: 10px;
  background: transparent;
  text-transform: none;
}

.header__burger {
  display: none;
  width: 28px;
  height: 28px;
  border: 0;
  background: transparent;
  padding: 0;
}

.header__burger span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 7px 0 0 auto;
  background: #fff;
}

.header__burger::before,
.header__burger::after {
  content: none;
}

.mobile-menu {
  position: fixed;
  z-index: 80;
  inset: 0;
  display: none;
  flex-direction: column;
  gap: 22px;
  padding: 20px 24px 36px;
  background: var(--color-green);
  color: #fff;
  min-height: 100vh;
  overflow-y: auto;
}

.mobile-menu.is-open {
  display: flex;
}

.mobile-menu__top {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}

.mobile-menu__lang {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-right: auto;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.mobile-menu__callback {
  width: 132px;
  height: 44px;
  border: 1px solid #fff;
  border-radius: 10px;
  color: #fff;
  background: transparent;
  font-size: 12px;
  font-weight: 500;
}

.mobile-menu__close {
  width: 44px;
  height: 44px;
  border: 0;
  color: #fff;
  background: transparent;
  font-size: 42px;
  line-height: 1;
}

.mobile-menu__link {
  font-size: 18px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.flag {
  width: 24px;
  height: 16px;
  display: inline-block;
  border: 1px solid rgba(0, 0, 0, 0.12);
  background: linear-gradient(#fff 0 33%, #1f63b8 33% 66%, #e3332f 66%);
}

.hero {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: flex-end;
  padding: 0 max(var(--gutter), calc((100vw - var(--container)) / 4)) 18px;
  color: #fff;
  background: linear-gradient(rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.1)), url("../images/01-Hero.png") center top / cover no-repeat;
}

.hero__content {
  position: absolute;
  left: max(var(--gutter), calc((100vw - var(--container)) / 4));
  right: max(var(--gutter), calc((100vw - var(--container)) / 4));
  bottom: 190px;
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 95px;
  align-items: start;
}

.hero__title {
  margin: 0;
  font-family: "Open Sans", Arial, sans-serif;
  font-size: 80px;
  line-height: 1.3;
  font-weight: 400;
  letter-spacing: 3px;
}

.hero__lead {
  margin: 0;
  font-size: 30px;
  line-height: 1.5;
  font-weight: 400;
}

.hero__stats {
  width: 100%;
  min-height: 105px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: center;
  border-radius: 10px;
  background: var(--color-green);
}

.hero__stat {
  padding: 25px 0;
  text-align: center;
}

.hero__stat strong,
.hero__stat span {
  display: block;
}

.hero__stat strong {
  font-size: 25px;
  line-height: 1.5;
  font-weight: 400;
}

.hero__stat span {
  font-size: 22px;
  line-height: 1.5;
  font-weight: 400;
}

.section {
  padding: 58px max(var(--gutter), calc((100vw - var(--container)) / 4));
}

.section--concept {
  padding-bottom: 58px;
}

.section__grid {
  display: grid;
  gap: 96px;
}

.section__grid--concept {
  grid-template-columns: 1fr 0.96fr;
  align-items: start;
}

.section__title {
  margin: 0 0 24px;
  color: var(--color-text);
  font-family: "Open Sans", Arial, sans-serif;
  font-size: 48px;
  line-height: 1.3;
  font-weight: 400;
}

.section__text {
  margin: 0;
  font-size: 18px;
  line-height: 1.5;
  font-weight: 300;
}

.section__actions {
  display: flex;
  gap: 16px;
  margin-top: 91px;
}

.section__image {
  width: 100%;
  height: 500px;
  border-radius: 14px;
  object-fit: cover;
}

.button {
  min-height: 59px;
  min-width: 250px;
  padding: 0 28px;
  border: 1px solid var(--color-gold);
  border-radius: 10px;
  color: #fff;
  background: var(--color-gold);
  font-size: 16px;
  line-height: 1.1;
  font-weight: 500;
}

.button--outline {
  color: var(--color-gold);
  background: transparent;
}

.button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}

.sell {
  min-height: 755px;
  padding: 15px max(var(--gutter), calc((100vw - var(--container)) / 4));
  display: flex;
  align-items: stretch;
  background: url("../images/12-custom.png") center / cover no-repeat;
}

.sell__card {
  width: 40%;
  min-width: 550px;
  min-height: 0;
  margin: 15px 0;
  padding: 28px 56px 22px;
  display: grid;
  align-content: center;
  border-radius: 10px;
  background: rgba(242, 237, 230, 0.86);
  backdrop-filter: blur(7px);
  text-align: center;
}

.sell__title {
  margin: 0 0 28px;
  color: var(--color-text);
  font-family: "Open Sans", Arial, sans-serif;
  font-size: 29px;
  line-height: 1.22;
  font-weight: 400;
  text-transform: uppercase;
}

.sell__text {
  width: 365px;
  margin: 0 auto 24px;
  font-size: 14px;
  line-height: 1.35;
}

.form {
  display: grid;
  gap: 21px;
}

.form__input,
.form__phone input {
  width: 100%;
  min-width: 0;
  border: 0;
  border-bottom: 1px solid currentColor;
  border-radius: 0;
  padding: 0 0 13px;
  color: currentColor;
  background: transparent;
  outline: 0;
  font-size: 16px;
  line-height: 1.3;
}

.form__input::placeholder,
.form__phone input::placeholder {
  color: currentColor;
  opacity: 0.65;
}

.form__phone {
  display: flex;
  align-items: center;
  gap: 9px;
  border-bottom: 1px solid currentColor;
  padding-bottom: 13px;
  color: currentColor;
}

.form__phone input {
  border-bottom: 0;
  padding: 0;
}

.form__button {
  width: 100%;
  margin-top: 14px;
}

.form__field {
  display: block;
}

.form__error {
  display: block;
  min-height: 16px;
  margin-top: 4px;
  color: #e05252;
  font-size: 11px;
  line-height: 1.3;
}

.form__field--invalid .form__input,
.form__field--invalid .form__phone {
  border-bottom-color: #e05252;
}

.form__field--valid .form__input,
.form__field--valid .form__phone {
  border-bottom-color: #5cb85c;
}

.form__consent-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 11px;
  line-height: 1.4;
  cursor: pointer;
  opacity: 0.8;
}

.form__checkbox {
  flex-shrink: 0;
  margin: 2px 0 0;
  accent-color: var(--color-gold);
  cursor: pointer;
}

.form__note {
  margin: 0;
  text-align: center;
  font-size: 11px;
  line-height: 1.35;
}

.form--dark {
  color: #fff;
}

.form--light {
  color: var(--color-text);
}

.amenities {
  padding-top: 55px;
  padding-bottom: 56px;
}

.amenities__list {
  width: 50%;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 400px));
  gap: 44px;
  margin-top: 46px;
}

.amenities__item {
  width: 100%;
}

.amenities__image {
  width: 100%;
  height: auto;
  border-radius: 8px;
  object-fit: cover;
}

.amenities__name {
  margin: 25px 0 0;
  color: var(--color-text);
  font-size: 22px;
  line-height: 1.3;
  font-weight: 400;
}

.catalogue {
  width: var(--container);
  min-height: 480px;
  margin: 0 auto 58px;
  padding: 68px 60px;
  display: grid;
  grid-template-columns: 0.44fr 0.56fr;
  align-items: center;
  border-radius: 14px;
  color: #fff;
  background: var(--color-green);
}

.catalogue__title {
  margin: 0 0 28px;
  font-family: "Open Sans", Arial, sans-serif;
  font-size: 42px;
  line-height: 1.2;
  font-weight: 600;
}

.catalogue__tabs {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  margin: 0 0 34px;
  padding: 0;
  list-style: none;
  font-size: 14px;
  line-height: 1.25;
  text-align: center;
}

.catalogue__image {
  width: 100%;
  justify-self: end;
  filter: drop-shadow(0 22px 22px rgba(0, 0, 0, 0.35));
}

.catalogue__image-mobile {
  display: none;
}

.layouts {
  padding-top: 0;
  padding-bottom: 52px;
}

.layouts__tabs {
  width: auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 0 100px 60px;
  border-bottom: 0;
}

.layouts__tab {
  height: 44px;
  border: 0;
  color: #8c8c8c;
  background: transparent;
  font-size: 20px;
}

.layouts__tab--active {
  border-bottom: 1px solid currentColor;
  color: var(--color-gold);
}

.layouts__body {
  display: grid;
  grid-template-columns: 56px 0.42fr 56px 0.48fr;
  gap: 17px;
  align-items: center;
}

.layouts__arrow {
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 50%;
  color: #fff;
  background: var(--color-gold);
  font-size: 36px;
  line-height: 1;
}

.layouts__visual {
  width: 100%;
  height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 30px;
  background: #fff;
}

.layouts__image {
  max-width: 360px;
  max-height: 285px;
  object-fit: contain;
}

.layouts__info {
  align-self: stretch;
}

.layouts__name {
  margin: 0 0 36px;
  font-size: 35px;
  line-height: 1.3;
  font-weight: 400;
}

.layouts__specs {
  margin: 0;
}

.layouts__specs div {
  min-height: 56px;
  margin: 10px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--color-line);
  font-size: 24px;
}

.layouts__specs dt {
  color: rgba(74, 74, 74, 0.55);
}

.layouts__specs dd {
  margin: 0;
}

.layouts__actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 58px;
}

.layouts__actions .button {
  min-width: 0;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.roi {
  width: var(--container);
  min-height: 375px;
  margin: 0 auto 56px;
  padding: 55px 55px 42px;
  border-radius: 14px;
  color: #fff;
  background: var(--color-green);
}

.roi__title {
  margin: 0 0 45px;
  font-family: "Open Sans", Arial, sans-serif;
  font-size: 60px;
  line-height: 1.3;
  font-weight: 400;
}

.roi__table {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  column-gap: 0;
  row-gap: 25px;
  border-bottom: 1px solid #fff;
  padding-bottom: 30px;
  font-size: 30px;
}

.roi__badge {
  width: 98px;
  padding: 8px 0;
  border-radius: 8px;
  background: var(--color-gold);
  text-align: center;
  font-size: 31px;
  line-height: 1;
  font-weight: 400;
}

.roi__button {
  display: block;
  width: 430px;
  margin: 40px auto 0;
}

.photos {
  padding-top: 0;
  padding-right: 0;
  overflow: hidden;
}

.photos__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-right: calc((100vw - var(--container)) / 2);
  margin-bottom: 22px;
}

.photos__controls {
  display: flex;
  gap: 48px;
}

.photos__arrow {
  border: 0;
  background: transparent;
  color: #111;
  font-size: 30px;
}

.photos__track {
  display: flex;
  gap: 20px;
  transition: transform 0.45s ease;
  will-change: transform;
}

.photos__viewport {
  width: 100%;
  overflow: hidden;
}

.photos__image {
  height: 496px;
  border-radius: 12px;
  object-fit: cover;
  flex: 0 0 calc((var(--container) - 20px) / 1.5);
  width: calc((var(--container) - 20px) / 1.5);
}

.location {
  display: grid;
  grid-template-columns: 0.42fr 0.5fr;
  gap: 8%;
  padding-top: 25px;
  padding-bottom: 56px;
}

.location__list {
  margin: 60px 0 0;
}

.location__list div,
.location__list {
  display: grid;
}

.location__list {
  grid-template-columns: 1fr auto;
}

.location__list dt,
.location__list dd {
  margin: 0;
  padding: 15px 0;
  border-bottom: 1px solid var(--color-line);
  font-size: 24px;
}

.location__list dd {
  text-align: right;
}

.location__map {
  width: 100%;
  height: 100%;
  min-height: 458px;
  border: 0;
}

.expert {
  width: var(--container);
  min-height: 485px;
  margin: 0 auto 55px;
  padding: 66px 55px;
  display: grid;
  grid-template-columns: 1fr 0.43fr;
  gap: 7%;
  align-items: center;
  border-radius: 14px;
  color: #fff;
  background: linear-gradient(rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.45)), url("../images/35-photo.png") center / cover no-repeat;
}

.expert__title {
  margin: 0 0 28px;
  font-family: "Open Sans", Arial, sans-serif;
  font-size: 62px;
  line-height: 1.18;
  font-weight: 700;
}

.expert__subtitle {
  width: 100%;
  margin: 0;
  font-size: 24px;
  line-height: 1.25;
}

.expert__card {
  padding: 48px 64px 28px;
  border-radius: 10px;
  background: rgba(242, 237, 230, 0.86);
  backdrop-filter: blur(7px);
}

.expert__person {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-bottom: 22px;
}

.expert__avatar {
  width: 86px;
  height: 86px;
  border-radius: 50%;
  object-fit: cover;
}

.expert__person strong {
  display: block;
  font-size: 24px;
  line-height: 1.25;
  font-weight: 400;
}

.expert__person span {
  display: block;
  color: rgba(74, 74, 74, 0.65);
  font-size: 17px;
}

.developer {
  display: grid;
  grid-template-columns: 0.5fr 0.5fr;
  gap: 7%;
  padding-top: 0;
  padding-bottom: 52px;
}

.developer__image {
  width: 100%;
  height: auto;
  border-radius: 8px;
  object-fit: cover;
}

.developer__button {
  margin-top: 170px;
}

.developer__stats {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-bottom: 100px;
  color: var(--color-green);
}

.developer__stats div {
  display: grid;
  gap: 8px;
}

.developer__stats div:nth-child(2) {
  text-align: center;
}

.developer__stats div:nth-child(3) {
  text-align: right;
}

.developer__stats strong {
  font-size: 70px;
  line-height: 1.06;
  font-weight: 400;
}

.developer__stats span {
  color: var(--color-text);
  font-size: 16px;
}

.contacts {
  width: var(--container);
  margin: 0 auto;
  padding-bottom: 45px;
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 8%;
}

.contacts__title {
  margin: 0 0 24px;
  font-family: "Open Sans", Arial, sans-serif;
  font-size: 60px;
  line-height: 1.15;
  font-weight: 700;
}

.contacts__text {
  margin: 0 0 110px;
  font-size: 24px;
  line-height: 1.4;
}

.contacts__meta {
  display: grid;
  grid-template-columns: 350px 1fr;
  gap: 50px;
  font-size: 20px;
  line-height: 1.7;
  font-weight: 500;
}

.contacts__form {
  padding: 54px 40px 45px;
  border-radius: 10px;
  background: var(--color-green);
}

.contacts__form-title {
  margin: 0 0 52px;
  font-family: "Open Sans", Arial, sans-serif;
  font-size: 42px;
  line-height: 1.2;
  font-weight: 600;
}

.modal,
.lightbox {
  position: fixed;
  z-index: 100;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 32px;
  background: rgba(0, 0, 0, 0.45);
}

.modal.is-open,
.lightbox.is-open {
  display: flex;
}

.modal__panel {
  position: relative;
  width: 100%;
  border-radius: 14px;
  color: #fff;
  background: var(--color-green);
}

.modal__panel--callback {
  max-width: 1000px;
  min-height: 860px;
  padding: 70px 90px 40px;
  text-align: center;
}

.modal__panel--wide {
  max-width: 1820px;
  min-height: 860px;
  padding: 110px 96px 80px;
}

.modal__close,
.lightbox__close {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 70px;
  height: 70px;
  border: 0;
  border-radius: 50%;
  color: #fff;
  background: rgba(255, 255, 255, 0.17);
  font-size: 58px;
  line-height: 1;
}

.modal__title {
  margin: 0 auto 26px;
  font-family: "Open Sans", Arial, sans-serif;
  font-size: 66px;
  line-height: 1.15;
  font-weight: 600;
}

.modal__title--left {
  margin: 0 0 92px;
  text-align: left;
  font-size: 58px;
}

.modal__lead {
  width: 670px;
  margin: 0 auto 54px;
  font-size: 32px;
  line-height: 1.3;
  font-weight: 500;
}

.modal__card {
  width: 680px;
  margin: 0 auto 42px;
  padding: 48px 38px 50px;
  border-radius: 14px;
  background: rgba(242, 237, 230, 0.83);
  text-align: left;
}

.modal__online {
  margin-left: auto;
  padding: 4px 24px;
  border: 1px solid var(--color-green);
  border-radius: 16px;
  color: var(--color-green) !important;
  font-size: 14px !important;
}

.modal__note {
  width: 660px;
  margin: 0 auto;
  color: rgba(255, 255, 255, 0.6);
  font-size: 17px;
  line-height: 1.5;
}

.modal__content {
  display: grid;
  grid-template-columns: 680px 1fr;
  gap: 110px;
  align-items: center;
}

.modal__media {
  width: 100%;
  min-height: 610px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.08);
}

.modal__book {
  width: min(920px, 100%);
  max-height: 650px;
  object-fit: contain;
  justify-self: center;
}

.modal__paper {
  width: 620px;
  max-height: 620px;
  object-fit: contain;
  justify-self: center;
}

.lightbox__image {
  max-width: 92vw;
  max-height: 86vh;
  border-radius: 10px;
}

.lightbox__close {
  z-index: 2;
}

.toast {
  position: fixed;
  z-index: 120;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: 8px;
  color: #fff;
  background: var(--color-green);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.22);
  font-size: 15px;
}

.toast--error {
  background: #c0392b;
}

@media (min-width: 1440px) {
  :root {
    --container: min(1856px, calc(100vw - (var(--gutter) * 2)));
  }

  .hero__content {
    grid-template-columns: 1fr 1.05fr;
    gap: 95px;
  }

  .section__grid--concept {
    grid-template-columns: 1fr 0.96fr;
    align-items: stretch;
    gap: 128px;
  }

  .section__image {
    width: 100%;
    height: 609px;
  }

  .section__grid--concept .section__image {
    height: 100%;
    min-height: 609px;
  }

  .section__text {
    font-size: 24px;
  }

  .section__actions {
    margin-top: 120px;
  }

  .button {
    min-width: 333px;
    min-height: 79px;
    font-size: 21px;
  }

  .catalogue {
    grid-template-columns: 0.44fr 0.56fr;
    gap: 50px;
    padding: 36px 78px;
    align-items: stretch;
  }

  .catalogue__form {
    display: grid;
    grid-template-rows: auto auto 1fr;
    align-content: space-between;
  }

  .catalogue__title {
    margin-bottom: 46px;
    font-size: 65px;
    line-height: 1.08;
  }

  .catalogue__tabs {
    margin-bottom: 84px;
    font-size: 17px;
  }

  .catalogue__image {
    width: 100%;
  }

  .layouts__body {
    grid-template-columns: 70px 0.42fr 70px 0.48fr;
    gap: 22px;
  }

  .layouts__visual {
    width: 100%;
    height: 400px;
  }

  .layouts__image {
    max-width: 480px;
    max-height: 380px;
  }

  .location {
    grid-template-columns: 0.42fr 0.5fr;
    gap: 8%;
  }

  .location__map {
    width: 100%;
    height: 100%;
    min-height: 610px;
  }
}

@media (max-width: 1439px) {
  :root {
    --gutter: 40px;
    --container: min(1200px, calc(100vw - (var(--gutter) * 2)));
  }

  .header__nav {
    gap: 42px;
  }

  .hero {
    min-height: 100vh;
  }

  .hero__content {
    grid-template-columns: 535px 560px;
    gap: 35px;
    bottom: 170px;
  }

  .hero__title {
    font-size: 62px;
  }

  .hero__lead {
    font-size: 24px;
    line-height: 1.4;
  }

  .section__grid--concept {
    grid-template-columns: 560px 540px;
    gap: 70px;
  }

  .catalogue,
  .roi,
  .expert,
  .contacts {
    width: var(--container);
  }

  .catalogue {
    grid-template-columns: 480px 610px;
  }

  .catalogue__image {
    width: 620px;
  }
}

@media (max-width: 900px) {
  :root {
    --container: calc(100vw - 24px);
    --header-height: 70px;
  }

  .header {
    height: 70px;
    width: 100%;
    padding: 0 18px;
    justify-content: space-between;
    background: rgba(0, 0, 0, 0.4);
  }

  .header__logo {
    width: auto;
    font-size: 15px;
    letter-spacing: 1.6px;
  }

  .header__nav,
  .header__callback,
  .header__lang {
    display: none;
  }

  .header__burger {
    display: block;
    flex: 0 0 28px;
    width: 28px;
    min-width: 28px;
    height: 28px;
    position: relative;
    top: auto;
    right: auto;
    z-index: 90;
    background:
      linear-gradient(#fff, #fff) right 8px / 22px 2px no-repeat,
      linear-gradient(#fff, #fff) right 17px / 22px 2px no-repeat;
  }

  .header__burger span {
    display: none;
    position: absolute;
    left: 3px;
    right: auto;
    width: 22px;
    height: 2px;
    margin: 0;
    background: #fff;
  }

  .header__burger span:first-child {
    top: 8px;
  }

  .header__burger span:last-child {
    top: 17px;
  }

  .header__burger::before,
  .header__burger::after {
    content: none;
  }

  .header__actions {
    display: flex;
    flex: 0 0 28px;
    width: 28px;
    min-width: 28px;
    height: 28px;
    align-items: center;
    justify-content: flex-end;
    margin-left: auto;
    gap: 0;
  }

  .header__burger[aria-expanded="true"] {
    z-index: 40;
  }

  .hero {
    width: 100%;
    max-width: 100%;
    min-height: 100vh;
    flex-direction: column;
    justify-content: flex-end;
    align-items: stretch;
    padding: 0 11px 32px;
    background-image: linear-gradient(rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.08)), url("../images/02-Frame_1000003226.webp");
    background-position: center top;
    overflow: hidden;
  }

  .hero__content {
    position: static;
    display: block;
    margin-bottom: 7px;
    width: calc(100vw - 22px);
    max-width: calc(100vw - 22px);
    min-width: 0;
  }

  .hero__title {
    width: 220px;
    margin-bottom: 11px;
    font-size: 24px;
    line-height: 1.1;
    letter-spacing: 0;
  }

  .hero__lead {
    font-size: 14px;
    line-height: 1.35;
    font-weight: 500;
    width: calc(100vw - 22px);
    max-width: calc(100vw - 22px);
    overflow-wrap: break-word;
  }

  .hero__stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    min-height: 177px;
    margin-top: 10px;
    width: calc(100vw - 22px);
    max-width: calc(100vw - 22px);
    overflow: hidden;
  }

  .hero__stat {
    min-width: 0;
    padding: 0 4px;
  }

  .hero__stat strong {
    font-size: 16px;
    line-height: 1.25;
    white-space: normal;
    overflow-wrap: anywhere;
  }

  .hero__stat span {
    font-size: 11px;
  }

  .section {
    padding: 58px 12px;
  }

  .section--concept {
    padding-top: 78px;
    padding-bottom: 47px;
  }

  .section__grid--concept {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }

  .section__title {
    margin-bottom: 13px;
    font-size: 32px;
    line-height: 1.08;
  }

  .section__text,
  .section__text--narrow {
    width: auto;
    font-size: 13px;
    line-height: 1.45;
  }

  .section__image {
    width: 100%;
    height: 178px;
    border-radius: 8px;
  }

  .section__actions {
    display: grid;
    gap: 12px;
    margin-top: 128px;
  }

  .button {
    min-width: 0;
    width: 100%;
    min-height: 49px;
    font-size: 13px;
    border-radius: 8px;
  }

  .sell {
    min-height: 520px;
    padding: 30px 11px;
    align-items: flex-start;
    background-position: center;
  }

  .sell__card {
    width: 100%;
    min-width: 0;
    min-height: 0;
    margin-top: 20px;
    padding: 27px 15px 21px;
  }

  .sell__title {
    font-size: 18px;
  }

  .sell__text {
    width: auto;
    font-size: 11px;
  }

  .form {
    gap: 18px;
  }

  .form__input,
  .form__phone input,
  .form__phone {
    font-size: 13px;
  }

  .form__note {
    font-size: 10px;
  }

  .amenities {
    padding-top: 68px;
    padding-bottom: 40px;
    overflow: hidden;
  }

  .amenities__list {
    width: 100%;
    display: flex;
    overflow-x: auto;
    gap: 12px;
    margin-top: 28px;
    padding-bottom: 12px;
  }

  .amenities__item {
    width: 169px;
    flex: 0 0 169px;
  }

  .amenities__image {
    width: 169px;
    height: 220px;
  }

  .amenities__name {
    font-size: 14px;
  }

  .catalogue {
    width: calc(100vw - 24px);
    margin-bottom: 54px;
    padding: 26px 16px;
    display: flex;
    flex-direction: column;
    min-height: 0;
    border-radius: 6px;
  }

  .catalogue__title {
    font-size: 32px;
  }

  .catalogue > .catalogue__image {
    display: none;
  }

  .catalogue__image-mobile {
    display: block;
    width: 100%;
    margin: 4px 0 25px;
    order: 2;
    filter: drop-shadow(0 14px 14px rgba(0, 0, 0, 0.28));
  }

  .catalogue__form {
    display: flex;
    flex-direction: column;
    order: 1;
  }

  .catalogue__tabs {
    order: 2;
    justify-content: flex-start;
    gap: 14px;
    margin-bottom: 26px;
    font-size: 10px;
  }

  .catalogue .form {
    order: 3;
  }

  .layouts {
    padding-bottom: 55px;
  }

  .layouts__tabs {
    width: 100%;
    overflow-x: auto;
    margin: 28px 0 35px;
  }

  .layouts__tab {
    min-width: 96px;
    font-size: 12px;
  }

  .layouts__body {
    grid-template-columns: 28px 1fr 28px;
    gap: 4px;
  }

  .layouts__visual {
    width: 100%;
    height: 178px;
    border-radius: 16px;
  }

  .layouts__image {
    max-width: 178px;
    max-height: 165px;
  }

  .layouts__arrow {
    width: 28px;
    height: 28px;
    font-size: 22px;
  }

  .layouts__info {
    grid-column: 1 / -1;
    margin-top: 26px;
  }

  .layouts__name {
    margin-bottom: 16px;
  }

  .layouts__specs div {
    min-height: 35px;
    margin: 0;
    font-size: 11px;
  }

  .layouts__actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 20px;
  }

  .roi {
    width: calc(100vw - 24px);
    min-height: 0;
    margin-bottom: 58px;
    padding: 28px 16px 30px;
    border-radius: 6px;
  }

  .roi__title {
    width: auto;
    min-height: 0;
    margin-bottom: 26px;
    font-size: 28px;
    line-height: 1.18;
    font-weight: 600;
  }

  .roi__table {
    grid-template-columns: 1fr 1fr;
    column-gap: 18px;
    row-gap: 14px;
    padding: 18px 0 22px;
    border-top: 1px solid rgba(255, 255, 255, 0.55);
    font-size: 13px;
    line-height: 1.25;
  }

  .roi__table div:nth-child(1),
  .roi__table div:nth-child(4),
  .roi__table strong:nth-child(5),
  .roi__table strong:nth-child(8) {
    display: none;
  }

  .roi__badge {
    width: auto;
    min-width: 58px;
    justify-self: start;
    padding: 8px 12px;
    font-size: 22px;
  }

  .roi__button {
    width: 100%;
    margin-top: 24px;
  }

  .photos {
    padding-bottom: 49px;
  }

  .photos__head {
    padding-right: 0;
    display: block;
  }

  .photos__controls {
    display: none;
  }

  .photos__track {
    gap: 12px;
    width: 100%;
  }

  .photos__image,
  .photos__image:first-child,
  .photos__image:not(:first-child) {
    width: 100%;
    height: 166px;
    flex: 0 0 100%;
  }

  .location {
    display: block;
    padding-top: 20px;
    padding-bottom: 58px;
  }

  .location__list {
    margin-top: 38px;
  }

  .location__list dt,
  .location__list dd {
    min-height: 45px;
    padding: 0;
    font-size: 12px;
  }

  .location__map {
    width: 100%;
    height: 260px;
    margin-top: 48px;
  }

  .expert {
    width: calc(100vw - 24px);
    min-height: 0;
    margin-bottom: 62px;
    padding: 31px 12px 18px;
    display: block;
    text-align: center;
  }

  .expert__title {
    font-size: 25px;
    line-height: 1.15;
  }

  .expert__subtitle {
    width: auto;
    margin-bottom: 27px;
    font-size: 14px;
  }

  .expert__card {
    padding: 25px 14px 16px;
    text-align: left;
  }

  .expert__avatar {
    width: 62px;
    height: 62px;
  }

  .expert__person strong {
    font-size: 17px;
  }

  .expert__person span {
    font-size: 12px;
  }

  .developer {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding-top: 0;
    padding-bottom: 62px;
  }

  .developer__image {
    width: 100%;
    height: 180px;
    order: -1;
  }

  .developer__button {
    margin-top: 12px;
  }

  .developer__stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    column-gap: 8px;
    row-gap: 0;
    margin-top: 20px;
    margin-bottom: 0;
  }

  .developer__stats div:nth-child(2) {
    grid-column: auto;
    grid-row: auto;
  }

  .developer__stats div:nth-child(3) {
    text-align: right;
  }

  .developer__stats strong {
    font-size: clamp(22px, 7vw, 30px);
  }

  .developer__stats span {
    font-size: 10px;
    line-height: 1.2;
  }

  .contacts {
    width: calc(100vw - 24px);
    display: flex;
    flex-direction: column;
    gap: 22px;
    padding-bottom: 44px;
  }

  .contacts__title {
    width: auto;
    font-size: 31px;
  }

  .contacts__text {
    margin-bottom: 24px;
    text-align: center;
    font-size: 12px;
  }

  .contacts__meta {
    order: 2;
    grid-template-columns: 1fr;
    gap: 14px;
    font-size: 14px;
  }

  .contacts__form {
    padding: 29px 16px;
    border-radius: 6px;
  }

  .contacts__form-title {
    margin-bottom: 34px;
    text-align: center;
    font-size: 24px;
  }

  .modal {
    padding: 12px;
    align-items: flex-start;
    overflow-y: auto;
  }

  .modal__panel--callback,
  .modal__panel--wide {
    min-height: 0;
    padding: 56px 14px 28px;
    border-radius: 10px;
  }

  .modal__close,
  .lightbox__close {
    width: 44px;
    height: 44px;
    top: 12px;
    right: 12px;
    font-size: 36px;
  }

  .modal__title,
  .modal__title--left {
    margin-bottom: 18px;
    text-align: center;
    font-size: 30px;
  }

  .modal__lead {
    width: auto;
    margin-bottom: 24px;
    font-size: 17px;
  }

  .modal__card {
    width: 100%;
    padding: 24px 14px;
  }

  .modal__note {
    width: auto;
    font-size: 12px;
  }

  .modal__content {
    display: block;
  }

  .modal__book,
  .modal__paper {
    width: 100%;
    margin-top: 26px;
  }

  .modal__media {
    min-height: 220px;
    margin-top: 24px;
    border-radius: 14px;
  }
}

@media (max-width: 520px) {
  :root {
    --container: min(calc(100vw - 24px), 388px);
  }

  .header__burger {
    position: fixed;
    top: 21px;
    left: min(calc(100vw - 43px), 369px);
    right: auto;
  }

  .hero__content {
    width: min(calc(100vw - 22px), 390px);
    max-width: min(calc(100vw - 22px), 390px);
  }

  .hero__lead,
  .hero__stats {
    width: min(calc(100vw - 22px), 390px);
    max-width: min(calc(100vw - 22px), 390px);
  }
}
