@font-face {
  font-family: "Gilroy";
  src: url("../fonts/Gilroy-Regular.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Gilroy";
  src: url("../fonts/Gilroy-Medium.woff") format("woff");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Gilroy";
  src: url("../fonts/Gilroy-SemiBold.woff") format("woff");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Gilroy";
  src: url("../fonts/Gilroy-Bold.woff") format("woff");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Gilroy";
  src: url("../fonts/Gilroy-ExtraBold.woff") format("woff");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* Design base: 1920px — fluid scale for 1600 / 1440 / etc. */
:root {
  --color-white: #ffffff;
  --color-white-70: rgba(255, 255, 255, 0.7);
  --color-white-50: rgba(255, 255, 255, 0.5);
  --color-text-dark: #1a1a1a;
  --color-text-muted: #8a8a8a;
  --color-spec-label: #a4a4a4;
  --font: "Gilroy", sans-serif;
  --lh: 1.1;

  --fs-16: calc(16 / 1920 * 100vw);
  --fs-18: calc(18 / 1920 * 100vw);
  --fs-20: calc(20 / 1920 * 100vw);
  --fs-24: calc(24 / 1920 * 100vw);
  --fs-25: calc(25 / 1920 * 100vw);
  --fs-32: calc(32 / 1920 * 100vw);
  --fs-35: calc(35 / 1920 * 100vw);
  --fs-40: calc(40 / 1920 * 100vw);
  --fs-60: calc(60 / 1920 * 100vw);
  --fs-80: calc(80 / 1920 * 100vw);
  --fs-120: calc(120 / 1920 * 100vw);
  --color-plans-hover: rgba(49, 66, 223, 0.1);
  --color-ink: #111111;
  --color-bg: #141927;
  --pad-x: calc(220 / 1920 * 100vw);
  --logo-w: calc(109 / 1920 * 100vw);
  --logo-h: calc(38 / 1920 * 100vw);
  --pin-size: calc(24 / 1920 * 100vw);
  --header-gap: calc(32 / 1920 * 100vw);
  --phone-pad-top: calc(60 / 1920 * 100vw);
  --phone-pad-side: calc(20 / 1920 * 100vw);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  color: var(--color-white);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  display: block;
}

/* ========== HERO ========== */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background: url("../assets/hero-balcony.webp") center center / cover no-repeat;
  z-index: 0;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(
      180deg,
      rgba(0, 0, 0, 0.42) 0%,
      rgba(0, 0, 0, 0.28) 35%,
      rgba(0, 0, 0, 0.12) 70%,
      rgba(0, 0, 0, 0) 100%
    );
  pointer-events: none;
}

.hero__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  margin: 0 auto;
  padding: 0 var(--pad-x) calc(48 / 1920 * 100vw);
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100dvh;
}

/* ========== HEADER ========== */
.header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--header-gap);
  padding-top: 0;
}

.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  margin-top: var(--phone-pad-top);
  line-height: 0;
}

.logo__img {
  width: var(--logo-w);
  height: var(--logo-h);
  display: block;
  object-fit: contain;
}

.header__bar {
  display: flex;
  align-items: flex-start;
  gap: var(--header-gap);
  margin-left: auto;
  flex-shrink: 1;
  min-width: 0;
}

.nav {
  display: flex;
  /* vertically center with logo */
  margin-top: calc(
    var(--phone-pad-top) + (var(--logo-h) - var(--fs-18) * var(--lh)) / 2
  );
}

.nav__list {
  display: flex;
  align-items: center;
  gap: var(--header-gap);
}

.nav__list a {
  font-size: var(--fs-18);
  font-weight: 400;
  line-height: var(--lh);
  transition: opacity 0.2s ease;
  white-space: nowrap;
}

.nav__list a:hover {
  opacity: 0.75;
}

.phone-card {
  display: flex;
  align-items: center;
  gap: calc(16 / 1920 * 100vw);
  background: var(--color-white);
  color: var(--color-text-dark);
  border-radius: 0 0 10px 10px;
  padding: var(--phone-pad-top) var(--phone-pad-side) var(--phone-pad-side);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.18);
}

.phone-card__info {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.phone-card__label {
  font-size: var(--fs-18);
  font-weight: 400;
  line-height: var(--lh);
  color: var(--color-text-muted);
}

.phone-card__number {
  font-size: var(--fs-18);
  font-weight: 700;
  line-height: var(--lh);
  color: var(--color-text-dark);
  white-space: nowrap;
}

.phone-card__messengers {
  display: flex;
  align-items: center;
  gap: calc(8 / 1920 * 100vw);
  margin-left: auto;
}

.messenger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.messenger img {
  width: calc(35 / 1920 * 100vw);
  height: calc(35 / 1920 * 100vw);
  display: block;
}

.messenger:hover {
  transform: scale(1.06);
  opacity: 0.88;
}

.lang {
  display: flex;
  align-items: center;
  gap: calc(6 / 1920 * 100vw);
  margin-top: calc(
    var(--phone-pad-top) + (var(--logo-h) - var(--fs-18) * var(--lh)) / 2
  );
  font-size: var(--fs-18);
  font-weight: 400;
  line-height: var(--lh);
  white-space: nowrap;
}

.lang__item {
  opacity: 0.55;
  transition: opacity 0.2s ease;
}

.lang__item:hover,
.lang__item--active {
  opacity: 1;
}

.lang__sep {
  opacity: 0.45;
}

.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  margin-top: 16px;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
}

.burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  border-radius: 1px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.burger.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.burger.is-open span:nth-child(2) {
  opacity: 0;
}

.burger.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ========== HERO CONTENT ========== */
.hero__content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-top: calc(40 / 1920 * 100vw);
  padding-bottom: calc(8 / 1920 * 100vw);
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: calc(8 / 1920 * 100vw);
  margin-bottom: auto;
  padding-top: calc(48 / 1920 * 100vw);
  font-size: var(--fs-20);
  font-weight: 400;
  line-height: var(--lh);
}

.breadcrumbs a {
  color: var(--color-white-70);
  transition: color 0.2s ease;
}

.breadcrumbs a:hover {
  color: var(--color-white);
}

.breadcrumbs__sep {
  color: var(--color-white-50);
}

.breadcrumbs__current {
  color: var(--color-white);
}

.hero__main {
  width: 100%;
  margin-top: calc(32 / 1920 * 100vw);
}

.hero__location {
  display: inline-flex;
  align-items: center;
  gap: calc(8 / 1920 * 100vw);
  font-size: var(--fs-20);
  font-weight: 700;
  line-height: var(--lh);
  margin-bottom: calc(14 / 1920 * 100vw);
}

.hero__pin {
  width: var(--pin-size);
  height: var(--pin-size);
  flex-shrink: 0;
  object-fit: contain;
}

.hero__title {
  font-size: var(--fs-120);
  font-weight: 600;
  line-height: var(--lh);
  margin-bottom: calc(18 / 1920 * 100vw);
}

.hero__subtitle {
  max-width: calc(720 / 1920 * 100vw);
  font-size: var(--fs-35);
  font-weight: 400;
  line-height: var(--lh);
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: calc(50 / 1920 * 100vw);
}

.hero__bottom {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: calc(40 / 1920 * 100vw);
}

.hero__specs {
  display: flex;
  gap: calc(56 / 1920 * 100vw);
}

.spec {
  display: flex;
  flex-direction: column;
  gap: calc(8 / 1920 * 100vw);
}

.spec__label {
  font-size: var(--fs-20);
  font-weight: 400;
  line-height: var(--lh);
  color: var(--color-spec-label);
  text-transform: none;
}

.spec__value {
  font-size: var(--fs-35);
  font-weight: 700;
  line-height: var(--lh);
}

/* ========== BUTTONS ========== */
.hero__actions {
  display: flex;
  flex-direction: column;
  gap: calc(12 / 1920 * 100vw);
  flex-shrink: 0;
  width: calc(380 / 1920 * 100vw);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: auto;
  padding: calc(20 / 1920 * 100vw) calc(24 / 1920 * 100vw);
  border-radius: 10px;
  font-family: inherit;
  font-size: var(--fs-25);
  font-weight: 700;
  line-height: var(--lh);
  text-align: center;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, filter 0.2s ease;
}

.btn--primary {
  color: var(--color-white);
  background: linear-gradient(95.1deg, #3142df 9.67%, #1a2479 93.16%);
  border: none;
  box-shadow: 0 10px 28px rgba(49, 66, 223, 0.35);
}

.btn--primary:hover {
  transform: translateY(-1px);
  filter: brightness(1.06);
  box-shadow: 0 14px 32px rgba(49, 66, 223, 0.45);
}

.btn--outline {
  color: var(--color-white);
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 1);
}

.btn--outline:hover {
  background: rgba(0, 0, 0, 0.65);
}

/* ========== FACTS (block 2) ========== */
.facts {
  background: var(--color-bg);
  padding: calc(100 / 1920 * 100vw) 0;
}

.facts__inner {
  width: 100%;
  padding: 0 var(--pad-x);
  display: grid;
  grid-template-columns: 1fr max-content;
  gap: calc(56 / 1920 * 100vw);
  align-items: stretch;
}

.facts__stats {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 100%;
}

.facts__stat {
  display: flex;
  flex-direction: column;
  gap: calc(8 / 1920 * 100vw);
  padding: calc(22 / 1920 * 100vw) 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.facts__stat:first-child {
  padding-top: 0;
}

.facts__stat:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.facts__label {
  font-size: var(--fs-20);
  font-weight: 400;
  line-height: var(--lh);
  color: var(--color-spec-label);
}

.facts__value {
  font-size: var(--fs-40);
  font-weight: 700;
  line-height: var(--lh);
  color: var(--color-white);
}

.facts__grid {
  /* widths @1920: infra 397 | beach 397 / plane 292 | own 292 / sofa 397 */
  --g-397: calc(397 / 1920 * 100vw);
  --g-292: calc(292 / 1920 * 100vw);
  --g-105: calc(105 / 1920 * 100vw); /* 397 - 292 */
  --g-h: calc(324 / 1920 * 100vw);
  display: grid;
  grid-template-columns: var(--g-397) var(--g-292) var(--g-105) var(--g-292);
  grid-template-rows: var(--g-h) var(--g-h);
  gap: 5px;
  width: max-content;
  max-width: 100%;
  justify-self: end;
}

.fcard {
  position: relative;
  overflow: hidden;
  border-radius: 0;
  min-height: 0;
  width: 100%;
  height: 100%;
}

.fcard--infra {
  grid-column: 1;
  grid-row: 1 / 3;
}

.fcard--beach {
  grid-column: 2 / 4; /* 292 + 105 = 397 */
  grid-row: 1;
}

.fcard--own {
  grid-column: 4; /* 292 */
  grid-row: 1;
}

.fcard--plane {
  grid-column: 2; /* 292 */
  grid-row: 2;
}

.fcard--sofa {
  grid-column: 3 / 5; /* 105 + 292 = 397 */
  grid-row: 2;
}

.fcard__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.fcard__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.55) 0%,
    rgba(0, 0, 0, 0.15) 45%,
    rgba(0, 0, 0, 0.35) 100%
  );
  pointer-events: none;
  opacity: 1;
  transition: opacity 0.35s ease;
}

.fcard__overlay--bottom {
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.15) 0%,
    rgba(0, 0, 0, 0.25) 40%,
    rgba(0, 0, 0, 0.75) 100%
  );
}

.fcard:hover .fcard__overlay {
  opacity: 0;
}

.fcard__body {
  position: relative;
  z-index: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
  padding: calc(22 / 1920 * 100vw) calc(24 / 1920 * 100vw);
}

.fcard__body--bottom {
  justify-content: flex-end;
  align-items: center;
  text-align: center;
}

.fcard__body--bottom .fcard__text {
  max-width: 18em;
}

.fcard__body--center {
  align-items: center;
  text-align: center;
}

.fcard__label {
  font-size: var(--fs-20);
  font-weight: 400;
  line-height: var(--lh);
  color: var(--color-white);
  margin-bottom: calc(6 / 1920 * 100vw);
}

.fcard__label--muted {
  color: var(--color-spec-label);
}

.fcard__text {
  font-size: var(--fs-25);
  font-weight: 400;
  line-height: var(--lh);
  color: var(--color-white);
  max-width: 22em;
}

.fcard__big {
  font-size: var(--fs-60);
  font-weight: 700;
  line-height: var(--lh);
  color: var(--color-white);
}

.fcard__accent {
  font-size: var(--fs-25);
  font-weight: 700;
  line-height: var(--lh);
  color: var(--color-white);
}

/* ========== Amenities slider ========== */
.amenities {
  position: relative;
  margin-top: calc(107 / 1920 * 100vw);
  width: 100%;
  overflow: hidden;
}

.amenities__viewport {
  overflow: hidden;
  width: 100%;
}

.amenities__track {
  display: flex;
  width: max-content;
  will-change: transform;
}

.amenities__list {
  display: flex;
  align-items: flex-start;
  gap: calc(28 / 1920 * 100vw);
  padding-right: calc(28 / 1920 * 100vw);
  flex-shrink: 0;
}

.amenities__item {
  flex: 0 0 auto;
  width: calc(200 / 1920 * 100vw);
  margin: 0;
  text-align: center;
}

.amenities__item img {
  width: 100%;
  height: calc(200 / 1920 * 100vw);
  object-fit: cover;
  border-radius: calc(14 / 1920 * 100vw);
  display: block;
}

.amenities__item figcaption {
  margin-top: calc(14 / 1920 * 100vw);
  font-size: var(--fs-20);
  font-weight: 400;
  line-height: var(--lh);
  color: var(--color-white);
}

.amenities__fade {
  position: absolute;
  top: 0;
  bottom: 0;
  width: calc(220 / 1920 * 100vw);
  z-index: 2;
  pointer-events: none;
}

.amenities__fade--left {
  left: 0;
  background: linear-gradient(
    90deg,
    var(--color-bg) 0%,
    rgba(20, 25, 39, 0.85) 40%,
    rgba(20, 25, 39, 0) 100%
  );
}

.amenities__fade--right {
  right: 0;
  background: linear-gradient(
    270deg,
    var(--color-bg) 0%,
    rgba(20, 25, 39, 0.85) 40%,
    rgba(20, 25, 39, 0) 100%
  );
}

/* ========== PLANS (block 3) ========== */
.plans {
  position: relative;
  background: var(--color-bg);
  padding: calc(100 / 1920 * 100vw) 0 calc(120 / 1920 * 100vw);
  overflow: hidden;
}

.plans__inner {
  width: 100%;
  padding: 0 var(--pad-x);
}

.plans__header {
  text-align: center;
  margin-bottom: calc(56 / 1920 * 100vw);
}

.plans__title {
  font-size: var(--fs-60);
  font-weight: 600;
  line-height: var(--lh);
  color: var(--color-white);
  margin-bottom: calc(12 / 1920 * 100vw);
}

.plans__subtitle {
  font-size: var(--fs-20);
  font-weight: 400;
  line-height: var(--lh);
  color: var(--color-spec-label);
}

.plans__content {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: calc(60 / 1920 * 100vw);
}

.plans__list {
  display: flex;
  flex-direction: column;
  width: calc(729 / 1920 * 100vw);
  height: calc(360 / 1920 * 100vw);
  flex-shrink: 0;
  background: #f6f0f0;
  border-radius: 0;
  overflow: hidden;
}

.plans__row {
  display: grid;
  grid-template-columns: 1.15fr 1fr auto;
  align-items: center;
  gap: calc(24 / 1920 * 100vw);
  width: 100%;
  padding: calc(20 / 1920 * 100vw) calc(30 / 1920 * 100vw);
  border: none;
  background: transparent;
  text-align: left;
  font-family: inherit;
  color: var(--color-ink);
  cursor: pointer;
  transition: background-color 0.2s ease;
  flex: 1;
}

.plans__row:hover,
.plans__row.is-active {
  background: var(--color-plans-hover);
}

.plans__type {
  font-size: var(--fs-25);
  font-weight: 400;
  line-height: var(--lh);
  color: var(--color-ink);
}

.plans__price {
  display: flex;
  flex-direction: column;
  gap: calc(4 / 1920 * 100vw);
}

.plans__price-main {
  font-size: var(--fs-24);
  font-weight: 700;
  line-height: var(--lh);
  color: var(--color-ink);
}

.plans__price-m2 {
  font-size: var(--fs-20);
  font-weight: 400;
  line-height: var(--lh);
  color: rgba(17, 17, 17, 0.5);
}

.plans__area {
  font-size: var(--fs-25);
  font-weight: 400;
  line-height: var(--lh);
  color: var(--color-ink);
  white-space: nowrap;
  justify-self: end;
}

.plans__preview {
  background: #fff;
  border-radius: 0;
  width: calc(397 / 1920 * 100vw);
  height: calc(360 / 1920 * 100vw);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 0;
  flex-shrink: 0;
}

.plans__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ========== ABOUT (block 4) ========== */
.about {
  background: var(--color-bg);
  padding: calc(100 / 1920 * 100vw) 0;
}

.about__inner {
  width: 100%;
  padding: 0 var(--pad-x);
}

.about__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: calc(24 / 1920 * 100vw);
  margin-bottom: calc(60 / 1920 * 100vw);
}

.about__title {
  font-size: var(--fs-60);
  font-weight: 600;
  line-height: var(--lh);
  color: var(--color-white);
}

.about__btn {
  width: auto;
  min-width: calc(280 / 1920 * 100vw);
  height: auto;
  padding: calc(16 / 1920 * 100vw) calc(28 / 1920 * 100vw);
  font-size: var(--fs-20);
  font-weight: 700;
  line-height: var(--lh);
  border-radius: 10px;
  flex-shrink: 0;
}

.about__cards {
  display: flex;
  align-items: stretch;
  gap: calc(8 / 1920 * 100vw);
  height: calc(560 / 1920 * 100vw);
}

.about__card {
  position: relative;
  flex: 1 1 0;
  min-width: 0;
  overflow: hidden;
  cursor: pointer;
  transition: flex 0.45s ease;
}

.about__card.is-active {
  flex: 3.4 1 0;
}

.about__cards:hover .about__card {
  flex: 1 1 0;
}

.about__cards:hover .about__card:hover {
  flex: 3.4 1 0;
}

.about__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.about__dim {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  transition: opacity 0.35s ease;
  pointer-events: none;
  z-index: 1;
}

.about__card.is-active .about__dim {
  opacity: 0;
}

.about__cards:hover .about__card .about__dim {
  opacity: 1;
}

.about__cards:hover .about__card:hover .about__dim {
  opacity: 0;
}

.about__label {
  position: absolute;
  left: calc(10 / 1920 * 100vw);
  right: auto;
  bottom: calc(10 / 1920 * 100vw);
  z-index: 2;
  display: flex;
  justify-content: center;
  align-items: center;
  width: calc(260 / 1920 * 100vw);
  max-width: calc(100% - 20 / 1920 * 100vw);
  background: rgba(20, 25, 39, 0.5);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  padding: calc(10 / 1920 * 100vw) calc(12 / 1920 * 100vw);
  pointer-events: none;
  box-sizing: border-box;
}

.about__label span {
  display: block;
  width: 100%;
  color: var(--color-white);
  font-size: var(--fs-25);
  font-weight: 700;
  line-height: var(--lh);
  border-radius: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-align: center;
}

/* ========== PAYMENT SCHEDULE ========== */
.pay {
  background: var(--color-bg);
  padding: calc(80 / 1920 * 100vw) 0;
}

.pay__inner {
  width: 100%;
  padding: 0 var(--pad-x);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: calc(60 / 1920 * 100vw);
  align-items: center;
}

.pay__title {
  font-size: var(--fs-60);
  font-weight: 600;
  line-height: var(--lh);
  color: var(--color-white);
  margin-bottom: calc(20 / 1920 * 100vw);
}

.pay__subtitle {
  font-size: var(--fs-25);
  font-weight: 400;
  line-height: var(--lh);
  color: var(--color-white);
  max-width: 18em;
}

.pay__panel {
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 5px;
  padding: calc(36 / 1920 * 100vw) calc(40 / 1920 * 100vw) calc(12 / 1920 * 100vw);
  background: rgba(20, 25, 48, 1);
}

.pay__tabs {
  display: flex;
  flex-wrap: wrap;
  gap: calc(10 / 1920 * 100vw);
  margin-bottom: calc(28 / 1920 * 100vw);
}

.pay__tab {
  border: none;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--color-white);
  font-family: inherit;
  font-size: var(--fs-25);
  font-weight: 700;
  line-height: var(--lh);
  padding: calc(10 / 1920 * 100vw) calc(25 / 1920 * 100vw);
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.pay__tab.is-active {
  background: #fff;
  color: #1e1e1e;
}

.pay__tab:not(.is-active):hover {
  background: rgba(255, 255, 255, 0.1);
}

.pay__reserve {
  font-size: var(--fs-25);
  font-weight: 700;
  line-height: var(--lh);
  color: var(--color-white);
  padding-bottom: calc(22 / 1920 * 100vw);
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  margin-bottom: 0;
}

.pay__list {
  list-style: none;
}

.pay__row {
  display: grid;
  grid-template-columns: 1.4fr 0.5fr 0.7fr;
  gap: calc(16 / 1920 * 100vw);
  align-items: center;
  padding: calc(22 / 1920 * 100vw) 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  font-size: var(--fs-25);
  font-weight: 400;
  line-height: var(--lh);
  color: var(--color-white);
}

.pay__row:last-child {
  border-bottom: none;
}

.pay__desc {
  text-align: left;
}

.pay__pct {
  text-align: center;
}

.pay__sum {
  text-align: right;
  white-space: nowrap;
}

/* ========== MAP BLOCK ========== */
.map-block {
  background: var(--color-bg);
  padding: calc(80 / 1920 * 100vw) 0 calc(100 / 1920 * 100vw);
}

.map-block__inner {
  width: 100%;
  padding: 0 var(--pad-x);
}

.map-block__header {
  text-align: center;
  margin-bottom: calc(40 / 1920 * 100vw);
}

.map-block__title {
  font-size: var(--fs-60);
  font-weight: 600;
  line-height: var(--lh);
  color: var(--color-white);
  margin-bottom: calc(12 / 1920 * 100vw);
}

.map-block__subtitle {
  font-size: var(--fs-35);
  font-weight: 400;
  line-height: var(--lh);
  color: var(--color-white);
}

.map-block__frame {
  width: 100%;
  height: calc(560 / 1920 * 100vw);
  overflow: hidden;
  border-radius: 0;
  background: #0b0f1a;
}

.map-block__canvas {
  width: 100%;
  height: 100%;
  background: #0b0f1a;
}

.map-block__canvas .leaflet-control-attribution {
  background: rgba(20, 25, 39, 0.7) !important;
  color: rgba(255, 255, 255, 0.45);
  font-size: 10px;
}

.map-block__canvas .leaflet-control-attribution a {
  color: rgba(255, 255, 255, 0.55);
}

.map-block__canvas .leaflet-control-zoom a {
  background: rgba(20, 25, 39, 0.9);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.15);
  width: 34px;
  height: 34px;
  line-height: 34px;
}

.map-block__canvas .leaflet-bar {
  border: none;
  box-shadow: none;
}

.map-pin-icon {
  background: transparent;
  border: none;
}

/* ========== NEARBY ========== */
.nearby {
  background: var(--color-bg);
  padding: 0 0 calc(100 / 1920 * 100vw);
}

.nearby__inner {
  width: 100%;
  padding: 0 var(--pad-x);
}

.nearby__title {
  font-size: var(--fs-60);
  font-weight: 600;
  line-height: var(--lh);
  color: var(--color-white);
  margin-bottom: calc(40 / 1920 * 100vw);
}

.nearby__grid {
  display: flex;
  flex-direction: column;
  gap: calc(5 / 1920 * 100vw);
  width: calc(1480 / 1920 * 100vw);
  max-width: 100%;
}

.nearby__row {
  display: grid;
  gap: calc(5 / 1920 * 100vw);
  width: 100%;
}

.nearby__row--4 {
  grid-template-columns: repeat(4, calc(366 / 1920 * 100vw));
}

.nearby__row--3 {
  grid-template-columns: repeat(3, calc(490 / 1920 * 100vw));
}

.nearby__card {
  position: relative;
  width: 100%;
  height: calc(232 / 1920 * 100vw);
  overflow: hidden;
  border-radius: 0;
}

.nearby__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.nearby__card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.05) 40%,
    rgba(0, 0, 0, 0.55) 100%
  );
  pointer-events: none;
  z-index: 1;
}

.nearby__badge {
  position: absolute;
  top: calc(14 / 1920 * 100vw);
  left: calc(14 / 1920 * 100vw);
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: calc(6 / 1920 * 100vw);
  background: #fff;
  color: #1e1e1e;
  border-radius: 5px;
  padding: calc(5 / 1920 * 100vw) calc(10 / 1920 * 100vw);
  font-size: var(--fs-16);
  font-weight: 600;
  line-height: var(--lh);
}

.nearby__badge img {
  width: calc(15 / 1920 * 100vw);
  height: auto;
  display: block;
  flex-shrink: 0;
}

.nearby__badge img[src*="car"] {
  width: calc(18 / 1920 * 100vw);
}

.nearby__name {
  position: absolute;
  left: calc(16 / 1920 * 100vw);
  right: calc(16 / 1920 * 100vw);
  bottom: calc(16 / 1920 * 100vw);
  z-index: 2;
  margin: 0;
  font-size: var(--fs-20);
  font-weight: 400;
  line-height: var(--lh);
  color: var(--color-white);
}

/* ========== DEVELOPER ========== */
.developer {
  background: var(--color-bg);
  padding: calc(80 / 1920 * 100vw) 0 calc(100 / 1920 * 100vw);
}

.developer__inner {
  width: 100%;
  padding: 0 var(--pad-x);
}

.developer__top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: calc(60 / 1920 * 100vw);
  align-items: start;
  margin-bottom: calc(48 / 1920 * 100vw);
}

.developer__title {
  font-size: var(--fs-60);
  font-weight: 600;
  line-height: var(--lh);
  color: var(--color-white);
  margin-bottom: calc(12 / 1920 * 100vw);
}

.developer__brand {
  font-size: var(--fs-20);
  font-weight: 400;
  line-height: var(--lh);
  color: var(--color-white);
}

.developer__texts {
  display: flex;
  flex-direction: column;
  gap: calc(20 / 1920 * 100vw);
}

.developer__texts p {
  font-size: var(--fs-20);
  font-weight: 400;
  line-height: var(--lh);
  color: var(--color-spec-label);
  margin: 0;
}

.developer__stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: calc(20 / 1920 * 100vw);
}

.developer__card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: calc(24 / 1920 * 100vw);
  min-height: calc(160 / 1920 * 100vw);
  padding: calc(20 / 1920 * 100vw);
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: linear-gradient(
    205.26deg,
    rgba(20, 25, 39, 0.5) 13.82%,
    rgba(9, 11, 26, 0.15) 81.76%
  );
  border-radius: 5px;
  text-align: center;
}

.developer__card-label {
  font-size: var(--fs-25);
  font-weight: 400;
  line-height: var(--lh);
  color: var(--color-white);
  margin: 0;
  text-align: center;
}

.developer__card-value {
  font-size: var(--fs-40);
  font-weight: 600;
  line-height: var(--lh);
  color: var(--color-white);
  margin: 0;
  text-align: center;
}

/* ========== FAQ ========== */
.faq {
  background: var(--color-bg);
  padding: calc(80 / 1920 * 100vw) 0 calc(100 / 1920 * 100vw);
}

.faq__inner {
  width: 100%;
  padding: 0 var(--pad-x);
}

.faq__title {
  font-size: var(--fs-60);
  font-weight: 600;
  line-height: var(--lh);
  color: var(--color-white);
  margin-bottom: calc(40 / 1920 * 100vw);
}

.faq__list {
  border-top: 1px solid #a4a4a4;
}

.faq__item {
  border-bottom: 1px solid #a4a4a4;
}

.faq__question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: calc(30 / 1920 * 100vw);
  padding: calc(28 / 1920 * 100vw) 0;
  border: none;
  background: transparent;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
  color: var(--color-white);
}

.faq__question span {
  font-size: var(--fs-32);
  font-weight: 500;
  line-height: var(--lh);
}

.faq__icons {
  position: relative;
  width: calc(50 / 1920 * 100vw);
  height: calc(50 / 1920 * 100vw);
  flex-shrink: 0;
}

.faq__icon {
  width: 100%;
  height: 100%;
  display: block;
}

.faq__icon--close {
  display: none;
}

.faq__item.is-open .faq__icon--plus {
  display: none;
}

.faq__item.is-open .faq__icon--close {
  display: block;
}

.faq__answer {
  padding: 0 0 calc(28 / 1920 * 100vw);
  padding-right: calc(80 / 1920 * 100vw);
}

.faq__answer[hidden] {
  display: none;
}

.faq__answer p {
  margin: 0;
  font-size: var(--fs-20);
  font-weight: 400;
  line-height: var(--lh);
  color: var(--color-spec-label);
}

/* ========== SIMILAR COMPLEXES ========== */
.similar {
  background: var(--color-bg);
  padding: calc(80 / 1920 * 100vw) 0 calc(100 / 1920 * 100vw);
  overflow: hidden;
}

.similar__inner {
  width: 100%;
  padding: 0;
}

.similar__head {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: calc(20 / 1920 * 100vw) calc(28 / 1920 * 100vw);
  margin-bottom: calc(48 / 1920 * 100vw);
  padding: 0 var(--pad-x);
}

.similar__title {
  font-size: var(--fs-80);
  font-weight: 600;
  line-height: 1;
  margin: 0;
  background: linear-gradient(90deg, #ffffff 0%, #a8a8a8 48.44%, #ffffff 95.54%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.similar__sub {
  font-size: var(--fs-35);
  font-weight: 400;
  line-height: var(--lh);
  color: var(--color-white);
  margin: 0;
}

.similar__viewport {
  overflow: hidden;
  width: 100%;
  margin-bottom: calc(36 / 1920 * 100vw);
  padding-left: var(--pad-x);
  padding-right: 0;
  box-sizing: border-box;
  touch-action: pan-y;
  cursor: grab;
}

.similar__viewport:active {
  cursor: grabbing;
}

.similar__track {
  display: flex;
  gap: calc(20 / 1920 * 100vw);
  transition: transform 0.4s ease;
  will-change: transform;
}

.similar__card {
  flex: 0 0 calc(448 / 1920 * 100vw);
  width: calc(448 / 1920 * 100vw);
  border-radius: 5px;
  overflow: hidden;
  background: rgba(20, 25, 48, 1);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.similar__media {
  position: relative;
  overflow: hidden;
}

.similar__img {
  width: 100%;
  height: calc(232 / 1920 * 100vw);
  object-fit: cover;
  display: block;
}

.similar__name {
  position: absolute;
  left: calc(20 / 1920 * 100vw);
  right: calc(20 / 1920 * 100vw);
  bottom: calc(16 / 1920 * 100vw);
  margin: 0;
  font-size: var(--fs-35);
  font-weight: 700;
  line-height: 1.1;
  color: var(--color-white);
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.45);
  z-index: 1;
}

.similar__body {
  padding: calc(18 / 1920 * 100vw) calc(20 / 1920 * 100vw) calc(20 / 1920 * 100vw);
}

.similar__price-label {
  margin: 0 0 calc(4 / 1920 * 100vw);
  font-size: var(--fs-20);
  font-weight: 400;
  line-height: var(--lh);
  color: var(--color-spec-label);
}

.similar__price {
  margin: 0 0 calc(8 / 1920 * 100vw);
  font-size: var(--fs-35);
  font-weight: 600;
  line-height: var(--lh);
  color: var(--color-white);
}

.similar__ready {
  display: flex;
  flex-direction: column;
  gap: calc(4 / 1920 * 100vw);
  margin: 0 0 calc(18 / 1920 * 100vw);
  font-size: var(--fs-20);
  line-height: var(--lh);
}

.similar__ready-label {
  font-weight: 400;
  color: var(--color-spec-label);
}

.similar__ready-value {
  font-weight: 600;
  color: var(--color-white);
}

.similar__link {
  font-size: var(--fs-20);
  font-weight: 700;
  line-height: var(--lh);
  color: var(--color-white);
  transition: opacity 0.2s ease;
}

.similar__link:hover {
  opacity: 0.75;
}

.similar__nav {
  display: flex;
  justify-content: center;
  gap: calc(12 / 1920 * 100vw);
  padding: 0 var(--pad-x);
}

.similar__arrow {
  width: calc(50 / 1920 * 100vw);
  height: calc(50 / 1920 * 100vw);
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  line-height: 0;
}

.similar__arrow img {
  width: 100%;
  height: 100%;
  display: block;
}

.similar__arrow--prev.is-active img {
  transform: scaleX(-1);
}

.similar__arrow--next:not(.is-active) img {
  transform: scaleX(-1);
}

.similar__arrow:disabled {
  cursor: default;
}

/* ========== FOOTER ========== */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.footer {
  position: relative;
  overflow: hidden;
  background: #141927;
  color: var(--color-white);
}

.footer__bg {
  position: absolute;
  inset: 0;
  background: url("../assets/footer-bg.webp") center / cover no-repeat;
  z-index: 0;
}

.footer__gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(6.13deg, rgba(49, 66, 223, 0.4) 2.54%, rgba(20, 25, 39, 0) 77.7%);
  z-index: 1;
  pointer-events: none;
}

.footer__inner {
  position: relative;
  z-index: 2;
  padding: calc(100 / 1920 * 100vw) var(--pad-x) 0;
}

.footer__cta {
  max-width: calc(720 / 1920 * 100vw);
  margin: 0 auto;
  text-align: center;
}

.footer__title {
  margin: 0 0 calc(20 / 1920 * 100vw);
  font-size: var(--fs-60);
  font-weight: 600;
  line-height: 1.1;
  color: var(--color-white);
}

.footer__subtitle {
  margin: 0 0 calc(40 / 1920 * 100vw);
  font-size: var(--fs-32);
  font-weight: 400;
  line-height: 1.1;
  color: #b8b8b8;
}

.footer__form {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: calc(16 / 1920 * 100vw);
  width: 100%;
  max-width: calc(560 / 1920 * 100vw);
  margin: 0 auto;
}

.footer__input {
  width: 100%;
  height: calc(64 / 1920 * 100vw);
  padding: 0 calc(24 / 1920 * 100vw);
  border: none;
  border-radius: 10px;
  background: var(--color-white);
  color: #111111;
  font-family: inherit;
  font-size: var(--fs-20);
  font-weight: 400;
  line-height: 1.1;
  outline: none;
}

.footer__input::placeholder {
  color: #8a8a8a;
}

.footer__phone {
  display: flex;
  align-items: center;
  gap: calc(10 / 1920 * 100vw);
  height: calc(64 / 1920 * 100vw);
  padding: 0 calc(16 / 1920 * 100vw) 0 calc(18 / 1920 * 100vw);
  border-radius: 10px;
  background: var(--color-white);
  color: #111111;
}

.footer__flag {
  flex-shrink: 0;
  width: calc(28 / 1920 * 100vw);
  height: calc(20 / 1920 * 100vw);
  border-radius: 2px;
  background: linear-gradient(
    to bottom,
    #a51931 0 16.66%,
    #f4f5f8 16.66% 33.33%,
    #2d2a4a 33.33% 66.66%,
    #f4f5f8 66.66% 83.33%,
    #a51931 83.33% 100%
  );
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.08);
}

.footer__code {
  flex-shrink: 0;
  font-size: var(--fs-20);
  font-weight: 500;
  line-height: 1.1;
  color: #111111;
}

.footer__input--phone {
  height: 100%;
  padding: 0;
  background: transparent;
  border-radius: 0;
}

.footer__submit {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: calc(16 / 1920 * 100vw);
  width: 100%;
  min-height: calc(72 / 1920 * 100vw);
  padding: calc(16 / 1920 * 100vw) calc(16 / 1920 * 100vw) calc(16 / 1920 * 100vw) calc(28 / 1920 * 100vw);
  border: none;
  border-radius: 10px;
  background: #3142df;
  color: var(--color-white);
  font-family: inherit;
  font-size: var(--fs-32);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: filter 0.2s ease, transform 0.2s ease;
}

.footer__submit:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
}

.footer__submit img {
  width: calc(40 / 1920 * 100vw);
  height: calc(40 / 1920 * 100vw);
  flex-shrink: 0;
  display: block;
}

.footer__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: calc(24 / 1920 * 100vw);
  margin-top: calc(80 / 1920 * 100vw);
}

.footer__nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: calc(28 / 1920 * 100vw);
  font-size: var(--fs-18);
  font-weight: 400;
  line-height: 1.1;
}

.footer__nav a {
  transition: opacity 0.2s ease;
}

.footer__nav a:hover {
  opacity: 0.7;
}

.footer__socials {
  display: flex;
  align-items: center;
  gap: calc(12 / 1920 * 100vw);
  margin: 0;
  padding: 0;
}

.footer__social {
  display: block;
  width: calc(48 / 1920 * 100vw);
  height: calc(48 / 1920 * 100vw);
  line-height: 0;
  transition: opacity 0.2s ease;
}

.footer__social:hover {
  opacity: 0.75;
}

.footer__social img {
  width: 100%;
  height: 100%;
  display: block;
}

.footer__brand {
  position: relative;
  z-index: 2;
  width: 100%;
  margin-top: calc(40 / 1920 * 100vw);
  line-height: 0;
}

.footer__hors {
  display: block;
  width: 100%;
  height: auto;
  max-width: none;
}

.footer__bottom {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: calc(20 / 1920 * 100vw);
  padding: calc(18 / 1920 * 100vw) var(--pad-x) calc(28 / 1920 * 100vw);
  font-size: var(--fs-20);
  font-weight: 400;
  line-height: 1.1;
}

.footer__copy {
  margin: 0;
}

.footer__policy {
  transition: opacity 0.2s ease;
}

.footer__policy:hover {
  opacity: 0.7;
}

/* ========== CTA PRESENTATION ========== */
.cta {
  background: var(--color-bg);
  padding: calc(40 / 1920 * 100vw) 0 calc(100 / 1920 * 100vw);
}

.cta__shell {
  width: 100%;
  padding: 0 var(--pad-x);
  display: flex;
  justify-content: center;
}

.cta__card {
  position: relative;
  width: calc(1480 / 1920 * 100vw);
  height: calc(661 / 1920 * 100vw);
  max-width: 100%;
  border-radius: 20px;
  padding: 2px;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.6) 0%,
    rgba(97, 97, 97, 0.6) 100%
  );
  overflow: hidden;
  box-sizing: border-box;
}

.cta__bg {
  position: absolute;
  inset: 2px;
  border-radius: 18px;
  background: url("../assets/cta-presentation.webp") center center / cover no-repeat;
  z-index: 0;
}

.cta__content {
  position: relative;
  z-index: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-radius: 18px;
  padding: calc(72 / 1920 * 100vw) calc(80 / 1920 * 100vw);
  max-width: calc(720 / 1920 * 100vw);
}

.cta__title {
  font-size: var(--fs-80);
  font-weight: 600;
  line-height: 1;
  margin-bottom: calc(24 / 1920 * 100vw);
  background: linear-gradient(90deg, #ffffff 0%, #a8a8a8 48.44%, #ffffff 95.54%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.cta__text {
  font-size: var(--fs-35);
  font-weight: 400;
  line-height: var(--lh);
  color: var(--color-white);
  margin-bottom: calc(40 / 1920 * 100vw);
  max-width: 18em;
}

.cta__btn {
  width: auto;
  min-width: calc(280 / 1920 * 100vw);
  height: auto;
  padding: calc(16 / 1920 * 100vw) calc(28 / 1920 * 100vw);
  font-size: var(--fs-20);
  font-weight: 700;
  line-height: var(--lh);
  border-radius: 10px;
}

/* ========== LEAD / PRESENTATION POPUP ========== */
body.is-locked {
  overflow: hidden;
}

.lead-popup {
  position: fixed;
  inset: 0;
  z-index: 1100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: calc(40 / 1920 * 100vw) var(--pad-x);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.lead-popup.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.lead-popup[hidden] {
  display: flex !important;
}

.lead-popup__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 12, 24, 0.55);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.lead-popup__dialog {
  position: relative;
  z-index: 1;
  width: min(100%, calc(1480 / 1920 * 100vw));
}

.lead-popup__card {
  position: relative;
  width: 100%;
  min-height: calc(700 / 1920 * 100vw);
  border-radius: 20px;
  padding: 2px;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.6) 0%,
    rgba(97, 97, 97, 0.6) 100%
  );
  overflow: hidden;
  box-sizing: border-box;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
}

.lead-popup__bg {
  position: absolute;
  inset: 2px;
  border-radius: 18px;
  background:
    url("../assets/popup-presentation.webp") right center / cover no-repeat,
    #0f121c;
  z-index: 0;
}

.lead-popup__close {
  position: absolute;
  top: calc(24 / 1920 * 100vw);
  right: calc(24 / 1920 * 100vw);
  width: calc(50 / 1920 * 100vw);
  height: calc(50 / 1920 * 100vw);
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  line-height: 0;
  z-index: 2;
}

.lead-popup__close img {
  width: 100%;
  height: 100%;
  display: block;
}

.lead-popup__content {
  position: relative;
  z-index: 1;
  max-width: calc(880 / 1920 * 100vw);
  padding: calc(72 / 1920 * 100vw) calc(80 / 1920 * 100vw);
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-radius: 18px;
  min-height: calc(700 / 1920 * 100vw);
}

.lead-popup__title {
  margin: 0 0 calc(24 / 1920 * 100vw);
  font-size: var(--fs-80);
  font-weight: 600;
  line-height: 1;
  background: linear-gradient(90deg, #ffffff 0%, #a8a8a8 48.44%, #ffffff 95.54%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  overflow: visible;
  width: max-content;
  max-width: 100%;
}

.lead-popup__text {
  margin: 0 0 calc(36 / 1920 * 100vw);
  font-size: var(--fs-32);
  font-weight: 400;
  line-height: 1.1;
  color: #b8b8b8;
  max-width: 18em;
}

.lead-popup__form {
  display: flex;
  flex-direction: column;
  gap: calc(16 / 1920 * 100vw);
  width: 100%;
  max-width: calc(560 / 1920 * 100vw);
}

.lead-popup__input {
  width: 100%;
  height: calc(64 / 1920 * 100vw);
  padding: 0 calc(24 / 1920 * 100vw);
  border: none;
  border-radius: 10px;
  background: var(--color-white);
  color: #111111;
  font-family: inherit;
  font-size: var(--fs-20);
  font-weight: 400;
  line-height: 1.1;
  outline: none;
}

.lead-popup__input::placeholder {
  color: #8a8a8a;
}

.lead-popup__phone {
  display: flex;
  align-items: center;
  gap: calc(10 / 1920 * 100vw);
  height: calc(64 / 1920 * 100vw);
  padding: 0 calc(16 / 1920 * 100vw) 0 calc(18 / 1920 * 100vw);
  border-radius: 10px;
  background: var(--color-white);
  color: #111111;
}

.lead-popup__flag {
  flex-shrink: 0;
  width: calc(28 / 1920 * 100vw);
  height: calc(20 / 1920 * 100vw);
  border-radius: 2px;
  background: linear-gradient(
    to bottom,
    #a51931 0 16.66%,
    #f4f5f8 16.66% 33.33%,
    #2d2a4a 33.33% 66.66%,
    #f4f5f8 66.66% 83.33%,
    #a51931 83.33% 100%
  );
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.08);
}

.lead-popup__code {
  flex-shrink: 0;
  font-size: var(--fs-20);
  font-weight: 500;
  line-height: 1.1;
  color: #111111;
}

.lead-popup__input--phone {
  height: 100%;
  padding: 0;
  background: transparent;
  border-radius: 0;
}

.lead-popup__submit {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: calc(16 / 1920 * 100vw);
  width: 100%;
  min-height: calc(72 / 1920 * 100vw);
  padding: calc(16 / 1920 * 100vw) calc(16 / 1920 * 100vw) calc(16 / 1920 * 100vw) calc(28 / 1920 * 100vw);
  border: none;
  border-radius: 10px;
  background: #3142df;
  color: var(--color-white);
  font-family: inherit;
  font-size: var(--fs-32);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: filter 0.2s ease, transform 0.2s ease;
}

.lead-popup__submit:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
}

.lead-popup__submit img {
  width: calc(40 / 1920 * 100vw);
  height: calc(40 / 1920 * 100vw);
  flex-shrink: 0;
  display: block;
}

/* ========== ABOUT POPUP ========== */
.popup {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: stretch;
  justify-content: center;
  background: var(--color-bg);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.popup.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.popup[hidden] {
  display: flex !important;
}

.popup__backdrop {
  position: absolute;
  inset: 0;
  background: transparent;
}

.popup__dialog {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  padding: calc(40 / 1920 * 100vw) var(--pad-x) calc(60 / 1920 * 100vw);
  display: flex;
  flex-direction: column;
  overflow: auto;
}

.popup__close {
  position: absolute;
  top: calc(40 / 1920 * 100vw);
  right: var(--pad-x);
  width: calc(50 / 1920 * 100vw);
  height: calc(50 / 1920 * 100vw);
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  line-height: 0;
  z-index: 2;
}

.popup__close img {
  width: 100%;
  height: 100%;
  display: block;
}

.popup__tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: calc(8 / 1920 * 100vw);
  margin: calc(20 / 1920 * 100vw) auto calc(72 / 1920 * 100vw);
  max-width: calc(1100 / 1920 * 100vw);
}

.popup__tab {
  border: none;
  border-radius: 0;
  background: rgba(164, 164, 164, 0.12);
  color: rgba(255, 255, 255, 0.55);
  font-family: inherit;
  font-size: var(--fs-25);
  font-weight: 700;
  line-height: var(--lh);
  padding: calc(14 / 1920 * 100vw) calc(28 / 1920 * 100vw);
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.popup__tab.is-active {
  background: #fff;
  color: #111;
}

.popup__tab:not(.is-active):hover {
  color: rgba(255, 255, 255, 0.85);
}

.popup__body {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: calc(60 / 1920 * 100vw);
  align-items: center;
  min-height: 0;
}

.popup__info {
  max-width: calc(620 / 1920 * 100vw);
}

.popup__title {
  font-size: var(--fs-60);
  font-weight: 600;
  line-height: var(--lh);
  color: var(--color-white);
  margin-bottom: calc(24 / 1920 * 100vw);
}

.popup__text {
  font-size: var(--fs-25);
  font-weight: 400;
  line-height: var(--lh);
  color: var(--color-white);
}

.popup__media {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: calc(20 / 1920 * 100vw);
  min-width: 0;
}

.popup__image-wrap {
  width: 100%;
  aspect-ratio: 16 / 11;
  background: #fff;
  overflow: hidden;
}

.popup__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.popup__nav {
  display: flex;
  gap: calc(12 / 1920 * 100vw);
}

.popup__arrow {
  width: calc(50 / 1920 * 100vw);
  height: calc(50 / 1920 * 100vw);
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  line-height: 0;
}

.popup__arrow img {
  width: 100%;
  height: 100%;
  display: block;
}

.popup__arrow--prev.is-active img {
  transform: scaleX(-1);
}

.popup__arrow--next:not(.is-active) img {
  transform: scaleX(-1);
}

.popup__arrow:disabled {
  cursor: default;
}

/* Cap growth above 1920 */
@media (min-width: 1921px) {
  :root {
    --fs-16: 16px;
    --fs-18: 18px;
    --fs-20: 20px;
    --fs-24: 24px;
    --fs-25: 25px;
    --fs-32: 32px;
    --fs-35: 35px;
    --fs-40: 40px;
    --fs-60: 60px;
    --fs-80: 80px;
    --fs-120: 120px;
    --pad-x: 220px;
    --logo-w: 109px;
    --logo-h: 38px;
    --pin-size: 24px;
    --header-gap: 32px;
    --phone-pad-top: 60px;
    --phone-pad-side: 20px;
  }

  .hero__inner {
    padding-bottom: 48px;
  }

  .phone-card {
    gap: 16px;
    border-radius: 0 0 10px 10px;
  }

  .phone-card__messengers {
    gap: 8px;
  }

  .messenger img {
    width: 35px;
    height: 35px;
  }

  .lang {
    gap: 6px;
  }

  .hero__content {
    padding-top: 40px;
    padding-bottom: 8px;
  }

  .breadcrumbs {
    gap: 8px;
    padding-top: 48px;
  }

  .hero__main {
    margin-top: 32px;
  }

  .hero__location {
    gap: 8px;
    margin-bottom: 14px;
  }

  .hero__title {
    margin-bottom: 18px;
  }

  .hero__subtitle {
    max-width: 720px;
    margin-bottom: 50px;
  }

  .hero__bottom {
    gap: 40px;
  }

  .hero__specs {
    gap: 56px;
  }

  .spec {
    gap: 8px;
  }

  .hero__actions {
    gap: 12px;
    width: 380px;
  }

  .btn {
    padding: 20px 24px;
  }

  .facts {
    padding: 100px 0;
  }

  .facts__inner {
    grid-template-columns: 1fr max-content;
    gap: 56px;
  }

  .facts__stat {
    gap: 8px;
    padding: 22px 0;
  }

  .facts__grid {
    --g-397: 397px;
    --g-292: 292px;
    --g-105: 105px;
    --g-h: 324px;
    gap: 5px;
  }

  .fcard {
    border-radius: 0;
  }

  .fcard__body {
    padding: 22px 24px;
  }

  .fcard__label {
    margin-bottom: 6px;
  }

  .amenities {
    margin-top: 107px;
  }

  .amenities__list {
    gap: 28px;
    padding-right: 28px;
  }

  .amenities__item {
    width: 200px;
  }

  .amenities__item img {
    height: 200px;
    border-radius: 14px;
  }

  .amenities__item figcaption {
    margin-top: 14px;
  }

  .amenities__fade {
    width: 220px;
  }

  .plans {
    padding: 100px 0 120px;
  }

  .plans__header {
    margin-bottom: 56px;
  }

  .plans__title {
    margin-bottom: 12px;
  }

  .plans__content {
    gap: 60px;
  }

  .plans__list {
    width: 729px;
    height: 360px;
    border-radius: 0;
  }

  .plans__row {
    gap: 24px;
    padding: 20px 30px;
  }

  .plans__preview {
    width: 397px;
    height: 360px;
  }

  .about {
    padding: 100px 0;
  }

  .about__head {
    margin-bottom: 60px;
  }

  .about__btn {
    min-width: 280px;
    padding: 16px 28px;
  }

  .about__cards {
    gap: 8px;
    height: 560px;
  }

  .about__label {
    left: 10px;
    bottom: 10px;
    width: 260px;
    max-width: calc(100% - 20px);
    padding: 10px 12px;
  }

  .pay {
    padding: 80px 0;
  }

  .pay__inner {
    gap: 60px;
  }

  .pay__title {
    margin-bottom: 20px;
  }

  .pay__panel {
    border-radius: 5px;
    padding: 36px 40px 12px;
  }

  .pay__tabs {
    gap: 10px;
    margin-bottom: 28px;
  }

  .pay__tab {
    border-radius: 5px;
    padding: 10px 25px;
  }

  .pay__reserve {
    padding-bottom: 22px;
  }

  .pay__row {
    gap: 16px;
    padding: 22px 0;
  }

  .map-block {
    padding: 80px 0 100px;
  }

  .map-block__header {
    margin-bottom: 40px;
  }

  .map-block__title {
    margin-bottom: 12px;
  }

  .map-block__frame {
    height: 560px;
  }

  .nearby {
    padding: 0 0 100px;
  }

  .nearby__title {
    margin-bottom: 40px;
  }

  .nearby__grid {
    gap: 5px;
    width: 1480px;
  }

  .nearby__row {
    gap: 5px;
  }

  .nearby__row--4 {
    grid-template-columns: repeat(4, 366px);
  }

  .nearby__row--3 {
    grid-template-columns: repeat(3, 490px);
  }

  .nearby__card {
    height: 232px;
  }

  .nearby__badge {
    top: 14px;
    left: 14px;
    gap: 6px;
    padding: 5px 10px;
  }

  .nearby__badge img {
    width: 15px;
  }

  .nearby__badge img[src*="car"] {
    width: 18px;
  }

  .nearby__name {
    left: 16px;
    right: 16px;
    bottom: 16px;
  }

  .developer {
    padding: 80px 0 100px;
  }

  .developer__top {
    gap: 60px;
    margin-bottom: 48px;
  }

  .developer__title {
    margin-bottom: 12px;
  }

  .developer__texts {
    gap: 20px;
  }

  .developer__stats {
    gap: 20px;
  }

  .developer__card {
    gap: 24px;
    min-height: 160px;
    padding: 20px;
  }

  .faq {
    padding: 80px 0 100px;
  }

  .faq__title {
    margin-bottom: 40px;
  }

  .faq__question {
    gap: 30px;
    padding: 28px 0;
  }

  .faq__icons {
    width: 50px;
    height: 50px;
  }

  .faq__answer {
    padding: 0 80px 28px 0;
  }

  .similar {
    padding: 80px 0 100px;
  }

  .similar__head {
    gap: 20px 28px;
    margin-bottom: 48px;
  }

  .similar__viewport {
    margin-bottom: 36px;
  }

  .similar__track {
    gap: 20px;
  }

  .similar__card {
    flex-basis: 448px;
    width: 448px;
  }

  .similar__img {
    height: 232px;
  }

  .similar__name {
    left: 20px;
    right: 20px;
    bottom: 16px;
  }

  .similar__body {
    padding: 18px 20px 20px;
  }

  .similar__price-label {
    margin-bottom: 4px;
  }

  .similar__price {
    margin-bottom: 8px;
  }

  .similar__ready {
    margin-bottom: 18px;
  }

  .similar__nav {
    gap: 12px;
  }

  .similar__arrow {
    width: 50px;
    height: 50px;
  }

  .footer__inner {
    padding-top: 100px;
  }

  .footer__cta {
    max-width: 720px;
  }

  .footer__title {
    margin-bottom: 20px;
  }

  .footer__subtitle {
    margin-bottom: 40px;
  }

  .footer__form {
    max-width: 560px;
    gap: 16px;
  }

  .footer__input {
    height: 64px;
    padding: 0 24px;
  }

  .footer__phone {
    height: 64px;
    gap: 10px;
    padding: 0 16px 0 18px;
  }

  .footer__flag {
    width: 28px;
    height: 20px;
  }

  .footer__submit {
    min-height: 72px;
    gap: 16px;
    padding: 16px 16px 16px 28px;
  }

  .footer__submit img {
    width: 40px;
    height: 40px;
  }

  .footer__bar {
    margin-top: 80px;
    gap: 24px;
  }

  .footer__nav {
    gap: 28px;
  }

  .footer__socials {
    gap: 12px;
  }

  .footer__social {
    width: 48px;
    height: 48px;
  }

  .footer__brand {
    margin-top: 40px;
  }

  .footer__bottom {
    gap: 20px;
    padding: 18px 220px 28px;
  }

  .cta {
    padding: 40px 0 100px;
  }

  .cta__card {
    width: 1480px;
    height: 661px;
  }

  .cta__content {
    padding: 72px 80px;
    max-width: 720px;
  }

  .cta__title {
    margin-bottom: 24px;
  }

  .cta__text {
    margin-bottom: 40px;
  }

  .cta__btn {
    min-width: 280px;
    padding: 16px 28px;
  }

  .lead-popup {
    padding: 40px 220px;
  }

  .lead-popup__dialog {
    width: 1480px;
  }

  .lead-popup__card,
  .lead-popup__content {
    min-height: 700px;
  }

  .lead-popup__close {
    top: 24px;
    right: 24px;
    width: 50px;
    height: 50px;
  }

  .lead-popup__content {
    max-width: 880px;
    padding: 72px 80px;
  }

  .lead-popup__title {
    margin-bottom: 24px;
  }

  .lead-popup__text {
    margin-bottom: 36px;
  }

  .lead-popup__form {
    max-width: 560px;
    gap: 16px;
  }

  .lead-popup__input,
  .lead-popup__phone {
    height: 64px;
  }

  .lead-popup__input {
    padding: 0 24px;
  }

  .lead-popup__phone {
    gap: 10px;
    padding: 0 16px 0 18px;
  }

  .lead-popup__flag {
    width: 28px;
    height: 20px;
  }

  .lead-popup__submit {
    min-height: 72px;
    gap: 16px;
    padding: 16px 16px 16px 28px;
  }

  .lead-popup__submit img {
    width: 40px;
    height: 40px;
  }

  .popup__dialog {
    padding: 40px 220px 60px;
  }

  .popup__close {
    top: 40px;
    right: 220px;
    width: 50px;
    height: 50px;
  }

  .popup__tabs {
    gap: 8px;
    margin: 20px auto 72px;
    max-width: 1100px;
  }

  .popup__tab {
    padding: 14px 28px;
  }

  .popup__body {
    gap: 60px;
  }

  .popup__info {
    max-width: 620px;
  }

  .popup__title {
    margin-bottom: 24px;
  }

  .popup__media {
    gap: 20px;
  }

  .popup__nav {
    gap: 12px;
  }

  .popup__arrow {
    width: 50px;
    height: 50px;
  }
}

/* ========== TABLET / MOBILE floors ========== */
@media (max-width: 1200px) {
  .facts__inner {
    grid-template-columns: 1fr;
    gap: calc(40 / 1920 * 100vw);
  }

  .facts__stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 16px;
    row-gap: 0;
    border-top: none;
  }

  .facts__stat {
    align-items: center;
    text-align: center;
    gap: calc(8 / 1920 * 100vw);
    padding: calc(22 / 1920 * 100vw) calc(8 / 1920 * 100vw);
    border: none;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
  }

  .facts__stat:first-child {
    padding-top: calc(22 / 1920 * 100vw);
  }

  .facts__stat:nth-child(5) {
    grid-column: 1 / -1;
    border-right: none;
    margin-top: 0;
  }

  .facts__stat:last-child {
    padding-bottom: calc(22 / 1920 * 100vw);
    border-bottom: none;
  }

  .facts__grid {
    width: 100%;
    justify-self: stretch;
  }
}

@media (max-width: 1100px) {
  .hero__actions {
    width: calc(380 / 1920 * 100vw);
  }
}

@media (max-width: 960px) {
  :root {
    --fs-16: 14px;
    --fs-18: 16px;
    --fs-20: 16px;
    --fs-24: 18px;
    --fs-25: 18px;
    --fs-32: 22px;
    --fs-35: 20px;
    --fs-40: 28px;
    --fs-60: 40px;
    --fs-80: 48px;
    --fs-120: 56px;
    --pad-x: 20px;
    --logo-w: 96px;
    --logo-h: 33px;
    --pin-size: 20px;
    --header-gap: 16px;
    --phone-pad-top: 24px;
    --phone-pad-side: 16px;
  }

  .hero__inner {
    padding-bottom: 36px;
  }

  .header__bar {
    gap: var(--header-gap);
  }

  .nav {
    position: fixed;
    inset: 0;
    z-index: 100;
    margin-top: 0;
    background: rgba(10, 10, 16, 0.96);
    padding: 100px 32px 40px;
    justify-content: flex-start;
    align-items: flex-start;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.25s ease, visibility 0.25s ease;
  }

  .nav.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .nav__list {
    flex-direction: column;
    align-items: flex-start;
    gap: 22px;
  }

  .nav__list a {
    font-size: 22px;
    font-weight: 600;
  }

  .burger {
    display: flex;
    position: relative;
    z-index: 110;
  }

  .lang {
    display: none;
  }

  .hero__bottom {
    flex-direction: column;
    align-items: stretch;
    gap: 28px;
  }

  .hero__actions {
    width: fit-content;
    max-width: none;
    gap: 10px;
    align-self: flex-start;
  }

  .hero__actions .btn {
    width: auto;
    padding-left: 20px;
    padding-right: 20px;
  }

  .hero__subtitle {
    max-width: none;
  }

  .btn {
    padding: 16px 20px;
  }

  .facts {
    padding: 64px 0;
  }

  .facts__inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .facts__stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 16px;
    row-gap: 0;
    border-top: none;
  }

  .facts__stat {
    align-items: center;
    text-align: center;
    gap: 8px;
    padding: 22px 8px;
    border: none;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
  }

  .facts__stat:first-child {
    padding-top: 22px;
  }

  .facts__stat:nth-child(5) {
    grid-column: 1 / -1;
    border-right: none;
  }

  .facts__stat:last-child {
    padding-bottom: 22px;
    border-bottom: none;
  }

  .facts__grid {
    --g-397: unset;
    --g-292: unset;
    --g-105: unset;
    --g-h: unset;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
    width: 100%;
    gap: 5px;
  }

  .fcard--infra {
    grid-column: 1 / -1;
    grid-row: auto;
    min-height: 360px;
  }

  .fcard--beach,
  .fcard--own,
  .fcard--plane,
  .fcard--sofa {
    grid-column: auto;
    grid-row: auto;
    min-height: 220px;
  }

  .fcard__body {
    padding: 18px 20px;
    align-items: flex-start;
    text-align: left;
    justify-content: flex-start;
  }

  .fcard__body--bottom,
  .fcard__body--center {
    align-items: flex-start;
    text-align: left;
    justify-content: flex-start;
  }

  .fcard__body--bottom .fcard__text {
    max-width: none;
  }

  .plans__header {
    margin-bottom: 28px;
  }

  .plans__title {
    font-size: 24px;
    margin-bottom: 10px;
  }

  .plans__subtitle {
    font-size: 14px;
    max-width: 22em;
    margin: 0 auto;
  }

  .plans__content {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
  }

  .plans__list {
    width: 100%;
    height: auto;
    min-height: 0;
    background: #fff;
  }

  .plans__preview {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 0.9;
    align-self: stretch;
    background: #fff;
  }

  .plans__row {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr) auto;
    gap: 8px;
    padding: 14px 12px;
    flex: none;
  }

  .plans__type {
    font-size: 13px;
  }

  .plans__price {
    gap: 2px;
  }

  .plans__price-main {
    font-size: 13px;
  }

  .plans__price-m2 {
    font-size: 11px;
  }

  .plans__area {
    font-size: 13px;
    justify-self: end;
  }

  .about__head {
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
    margin-bottom: 24px;
  }

  .about__btn {
    width: 100%;
    min-width: 0;
  }

  .about__cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    height: auto;
    align-items: stretch;
  }

  .about__card,
  .about__card.is-active,
  .about__cards:hover .about__card,
  .about__cards:hover .about__card:hover {
    flex: none;
    width: 100%;
    height: auto;
    min-height: 0;
    aspect-ratio: 1 / 1.05;
  }

  .about__card.is-active,
  .about__card.is-open {
    height: auto;
  }

  .about__label {
    left: 8px;
    right: 8px;
    bottom: 8px;
    width: auto;
    max-width: none;
    padding: 8px 10px;
  }

  .about__label span {
    font-size: 14px;
    white-space: normal;
  }

  .about__dim {
    opacity: 0.35;
  }

  .about__card.is-active .about__dim,
  .about__cards:hover .about__card .about__dim,
  .about__cards:hover .about__card:hover .about__dim {
    opacity: 0.35;
  }

  .popup__dialog {
    padding: 24px 20px 40px;
  }

  .popup__close {
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
  }

  .popup__tabs {
    justify-content: flex-start;
    margin: 56px 0 32px;
    max-width: none;
    overflow-x: auto;
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
  }

  .popup__tab {
    flex-shrink: 0;
    padding: 12px 18px;
    font-size: 16px;
  }

  .popup__body {
    grid-template-columns: 1fr;
    gap: 28px;
    align-items: start;
  }

  .popup__info {
    max-width: none;
  }

  .popup__media {
    align-items: stretch;
  }

  .popup__nav {
    justify-content: flex-end;
  }

  .popup__arrow {
    width: 44px;
    height: 44px;
  }

  .pay__inner {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .pay__intro {
    text-align: center;
  }

  .pay__title {
    text-align: center;
    margin-bottom: 12px;
  }

  .pay__subtitle {
    max-width: none;
    margin: 0 auto;
    text-align: center;
    font-size: 14px;
    line-height: 1.3;
    color: rgba(255, 255, 255, 0.9);
  }

  .pay__panel {
    padding: 18px 14px 6px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    background: rgba(20, 25, 48, 1);
  }

  .pay__tabs {
    display: flex;
    flex-wrap: nowrap;
    gap: 6px;
    margin-bottom: 18px;
  }

  .pay__tab {
    flex: 1 1 0;
    min-width: 0;
    padding: 10px 4px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: transparent;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.15;
    text-align: center;
    white-space: nowrap;
  }

  .pay__tab.is-active {
    background: #fff;
    color: #141927;
    border-color: #fff;
  }

  .pay__reserve {
    font-size: 16px;
    font-weight: 700;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  }

  .pay__row {
    grid-template-columns: minmax(0, 1.6fr) auto auto;
    gap: 10px;
    padding: 14px 0;
    font-size: 13px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  }

  .pay__row:last-child {
    border-bottom: none;
  }

  .pay__pct {
    min-width: 2.5em;
  }

  .pay__sum {
    min-width: 4.5em;
  }

  .map-block__frame {
    height: 320px;
  }

  .nearby__grid {
    width: 100%;
    gap: 5px;
  }

  .nearby__title {
    text-align: center;
    margin-bottom: 24px;
  }

  .nearby__row {
    gap: 5px;
  }

  .nearby__row--4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .nearby__row--3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .nearby__card {
    height: 140px;
  }

  .nearby__row--3 .nearby__card:first-child {
    grid-column: 1 / -1;
    height: 150px;
  }

  .nearby__badge {
    top: 10px;
    left: 10px;
    gap: 4px;
    padding: 4px 8px;
    font-size: 12px;
  }

  .nearby__badge img {
    width: 12px;
  }

  .nearby__badge img[src*="car"] {
    width: 14px;
  }

  .nearby__name {
    left: 10px;
    right: 10px;
    bottom: 10px;
    font-size: 12px;
  }

  .developer__top {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 28px;
    text-align: center;
  }

  .developer__heading {
    text-align: center;
  }

  .developer__title {
    font-size: 24px;
    line-height: 1.15;
    margin-bottom: 10px;
  }

  .developer__brand {
    font-size: 16px;
  }

  .developer__texts {
    gap: 14px;
    text-align: center;
  }

  .developer__texts p {
    font-size: 14px;
    line-height: 1.35;
  }

  .developer__stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .developer__card {
    min-height: 120px;
    padding: 18px 12px;
    gap: 16px;
    border-radius: 8px;
  }

  .developer__card-label {
    font-size: 13px;
  }

  .developer__card-value {
    font-size: 20px;
  }

  .faq__question {
    gap: 20px;
    padding: 20px 0;
  }

  .faq__icons {
    width: 40px;
    height: 40px;
  }

  .faq__answer {
    padding-right: 0;
  }

  .similar {
    padding: 64px 0 80px;
  }

  .similar__head {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 24px;
  }

  .similar__title {
    font-size: 24px;
    line-height: 1.15;
  }

  .similar__sub {
    font-size: 12px;
    font-weight: 400;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #a4a4a4;
  }

  .similar__viewport {
    margin-bottom: 24px;
    padding-left: var(--pad-x);
  }

  .similar__track {
    gap: 12px;
  }

  .similar__card {
    flex: 0 0 calc(100vw - var(--pad-x) - 40px);
    width: calc(100vw - var(--pad-x) - 40px);
    max-width: none;
    border-radius: 10px;
  }

  .similar__img {
    height: 180px;
  }

  .similar__name {
    left: 14px;
    right: 14px;
    bottom: 12px;
    font-size: 18px;
  }

  .similar__body {
    padding: 14px 14px 16px;
  }

  .similar__price-label {
    margin-bottom: 2px;
    font-size: 13px;
  }

  .similar__price {
    margin-bottom: 10px;
    font-size: 20px;
  }

  .similar__ready {
    gap: 2px;
    margin-bottom: 14px;
    font-size: 13px;
  }

  .similar__link {
    font-size: 14px;
  }

  .similar__nav {
    gap: 10px;
  }

  .similar__arrow {
    width: 44px;
    height: 44px;
  }

  .cta__card {
    width: 100%;
    height: auto;
    min-height: 580px;
  }

  .cta__bg {
    background-image: url("../assets/cta-presentation-mob.webp");
    background-position: center center;
    background-size: cover;
  }

  .cta__content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    justify-content: flex-start;
    padding: 36px 24px 28px;
    max-width: none;
    min-height: 580px;
    height: auto;
  }

  .cta__title {
    font-size: 24px;
    line-height: 1.15;
    margin-bottom: 12px;
    max-width: 16em;
  }

  .cta__text {
    font-size: 16px;
    line-height: 1.25;
    margin-bottom: 0;
    max-width: none;
    color: var(--color-white);
  }

  .cta__btn {
    width: 100%;
    min-width: 0;
    margin-top: auto;
    padding: 14px 20px;
    font-size: 16px;
  }

  .lead-popup {
    padding: 16px;
    align-items: center;
    overflow: auto;
  }

  .lead-popup__dialog {
    width: 100%;
    max-width: 420px;
    margin: auto;
  }

  .lead-popup__card {
    min-height: 640px;
  }

  .lead-popup__bg {
    background:
      url("../assets/cta-presentation-mob.webp") center center / cover no-repeat,
      #0f121c;
  }

  .lead-popup__close {
    top: 12px;
    left: 50%;
    right: auto;
    width: 40px;
    height: 40px;
    transform: translateX(-50%);
  }

  .lead-popup__content {
    max-width: none;
    min-height: 640px;
    height: 100%;
    padding: 64px 20px 28px;
    align-items: center;
    text-align: center;
    justify-content: flex-start;
  }

  .lead-popup__title {
    font-size: 24px;
    line-height: 1.15;
    margin-bottom: 12px;
    width: auto;
    max-width: 14em;
  }

  .lead-popup__text {
    font-size: 14px;
    line-height: 1.3;
    margin-bottom: 0;
    max-width: none;
    color: rgba(255, 255, 255, 0.9);
  }

  .lead-popup__form {
    max-width: none;
    width: 100%;
    gap: 12px;
    margin-top: auto;
  }

  .lead-popup__input,
  .lead-popup__phone {
    height: 52px;
  }

  .lead-popup__input {
    text-align: left;
  }

  .lead-popup__submit {
    min-height: 56px;
    font-size: 16px;
    padding: 12px 12px 12px 20px;
  }

  .lead-popup__submit img {
    width: 36px;
    height: 36px;
  }

  .amenities {
    margin-top: 64px;
  }

  .amenities__item {
    width: 140px;
  }

  .amenities__item img {
    height: 140px;
    border-radius: 12px;
  }

  .amenities__fade {
    width: 64px;
  }

  .footer__inner {
    padding-top: 64px;
  }

  .footer__cta {
    max-width: 100%;
  }

  .footer__title {
    font-size: 28px;
    margin-bottom: 12px;
  }

  .footer__subtitle {
    font-size: 14px;
    line-height: 1.3;
    margin-bottom: 28px;
  }

  .footer__form {
    max-width: 100%;
    gap: 12px;
  }

  .footer__input,
  .footer__phone {
    height: 52px;
  }

  .footer__submit {
    min-height: 56px;
    font-size: 16px;
    padding: 12px 12px 12px 20px;
  }

  .footer__submit img {
    width: 36px;
    height: 36px;
  }

  .footer__bar {
    flex-direction: column;
    align-items: flex-end;
    margin-top: 36px;
    gap: 0;
  }

  .footer__nav {
    display: none;
  }

  .footer__socials {
    gap: 10px;
  }

  .footer__social {
    width: 40px;
    height: 40px;
  }

  .footer__brand {
    margin-top: 24px;
    height: calc(90 / 375 * 100vw);
    max-height: 110px;
    overflow: hidden;
    line-height: 0;
  }

  .footer__hors {
    width: 100%;
    height: auto;
    display: block;
  }

  .footer__bottom {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 8px;
    padding-top: 16px;
    padding-bottom: 24px;
    font-size: 12px;
  }

@media (max-width: 640px) {
  :root {
    --fs-16: 13px;
    --fs-18: 15px;
    --fs-20: 15px;
    --fs-24: 16px;
    --fs-25: 16px;
    --fs-32: 18px;
    --fs-35: 18px;
    --fs-40: 24px;
    --fs-60: 36px;
    --fs-80: 40px;
    --fs-120: 48px;
    --pad-x: 16px;
    --logo-w: 90px;
  }

  .nearby__row--4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .nearby__row--3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .nearby__row--3 .nearby__card:first-child {
    grid-column: 1 / -1;
    height: 140px;
  }

  .nearby__card {
    height: 130px;
  }

  .developer__stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .developer__card {
    min-height: 110px;
    padding: 16px 10px;
  }

  .developer__card-label {
    font-size: 12px;
  }

  .developer__card-value {
    font-size: 18px;
  }

  .phone-card {
    display: none;
  }

  .footer__title {
    font-size: 24px;
    margin-bottom: 12px;
  }

  .footer__subtitle {
    margin-bottom: 24px;
  }

  .footer__submit {
    font-size: 15px;
  }

  .footer__brand {
    height: 80px;
    max-height: 80px;
  }

  .logo {
    margin-top: 18px;
  }

  .burger {
    margin-top: 12px;
  }

  .hero__specs {
    gap: 32px;
  }

  .hero__actions {
    width: fit-content;
    max-width: none;
    gap: 10px;
    align-self: flex-start;
  }

  .hero__actions .btn {
    width: auto;
    padding-left: 20px;
    padding-right: 20px;
  }

  .facts__label {
    font-size: 13px;
  }

  .facts__value {
    font-size: 22px;
  }

  .facts__grid {
    grid-template-columns: 1fr;
    gap: 5px;
  }

  .fcard--infra {
    min-height: 300px;
  }

  .fcard--beach,
  .fcard--own,
  .fcard--plane,
  .fcard--sofa {
    min-height: 200px;
  }
}
