:root {
  --yellow: #ffdf4f;
  --blue: #375073;
  --blue-soft: #6897d9;
  --ice: #dbeaff;
  --shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  background: #ffffff;
  color: var(--blue);
  font-family: "Nunito", Arial, sans-serif;
  font-weight: 500;
}

button,
a {
  font: inherit;
}

body.modal-open {
  overflow: hidden;
}

body.modal-open .screen {
  overflow: hidden;
}

.sr-only {
  height: 1px;
  margin: -1px;
  overflow: hidden;
  position: absolute;
  width: 1px;
  clip: rect(0, 0, 0, 0);
}

sup {
  font-size: 0.645em;
  line-height: 0;
  vertical-align: super;
}

.app {
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
}

.screen {
  align-items: center;
  background: #ffffff;
  display: none;
  justify-content: flex-start;
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
  position: relative;
}

.screen-building {
  background: var(--ice);
}

.screen-building {
  align-items: flex-start;
  height: 100vh;
  height: 100svh;
  justify-content: center;
  min-height: 0;
  overflow-x: auto;
  overflow-y: auto;
  scroll-behavior: smooth;
}

.screen.is-active {
  display: flex;
}

.stage {
  --scale: 1;
  aspect-ratio: 1680 / 1160;
  background: var(--ice);
  flex: 0 0 auto;
  height: min(100vh, 69.0476vw);
  height: min(100svh, 69.0476vw);
  overflow: hidden;
  position: relative;
  width: min(100vw, 144.8276vh);
  width: min(100vw, 144.8276svh);
}

.screen-home .stage {
  aspect-ratio: auto;
  height: 100vh;
  height: 100svh;
  width: 100vw;
}

.screen-password .stage {
  aspect-ratio: auto;
  height: 100vh;
  height: 100svh;
  width: 100vw;
}

.screen-building .stage {
  aspect-ratio: auto;
  height: 9632px;
  margin: 0 auto;
  min-width: 1680px;
  width: 1680px;
}

.screen-building-c .stage {
  height: 7115px;
}

.top-bar {
  background: var(--yellow);
  height: calc(80px * var(--scale));
  left: 0;
  position: absolute;
  top: 0;
  width: 100%;
  z-index: 6;
}

.screen-home .top-bar {
  height: 80px;
  position: fixed;
  width: 100vw;
  z-index: 20;
}

.screen-password .top-bar {
  height: 80px;
}

footer {
  align-items: center;
  background: var(--blue);
  bottom: 0;
  color: var(--ice);
  display: flex;
  font-size: calc(22px * var(--scale));
  gap: 18px;
  height: calc(80px * var(--scale));
  justify-content: center;
  left: 0;
  line-height: 1;
  position: absolute;
  width: 100%;
  z-index: 6;
}

.privacy-link {
  background: transparent;
  border: 0;
  color: var(--ice);
  cursor: pointer;
  font: inherit;
  padding: 0;
  text-decoration: underline;
  text-underline-offset: 3px;
  transform-origin: center;
  transition: transform 160ms ease;
}

.privacy-link:hover,
.privacy-link:focus-visible {
  transform: scale(1.1);
}

.screen-home footer {
  font-size: 11px;
  height: 80px;
}

.screen-password footer {
  font-size: 11px;
  height: 80px;
}

.screen-building footer {
  font-size: 11px;
  height: 80px;
}

.screen-building-c footer {
  bottom: 7px;
}

.screen-building .top-bar {
  height: 80px;
  left: 0;
  position: fixed;
  top: 0;
  width: 100vw;
  z-index: 20;
}

.screen-building .brand-card {
  border-radius: 0 0 35px 35px;
  height: 150px;
  left: 50%;
  padding-top: 32px;
  position: fixed;
  top: 0;
  transform: translateX(-50%);
  width: 383px;
  z-index: 21;
}

.screen-building .brand-card img {
  height: 81px;
  width: 196.428px;
}

.brand-card {
  align-items: flex-start;
  background: linear-gradient(107deg, #375073 5%, #6897d9 98%);
  border: 0;
  border-radius: 0 0 calc(35px * var(--scale)) calc(35px * var(--scale));
  cursor: pointer;
  display: flex;
  height: calc(150px * var(--scale));
  justify-content: center;
  left: 50%;
  padding-left: 0;
  padding-right: 0;
  padding-bottom: 0;
  padding-top: calc(32px * var(--scale));
  position: absolute;
  top: 0;
  transform: translateX(-50%);
  transform-origin: center top;
  transition: transform 160ms ease;
  width: calc(383px * var(--scale));
  z-index: 8;
}

.brand-card:hover,
.brand-card:focus-visible {
  transform: translateX(-50%) scale(1.1);
}

.brand-card:focus-visible {
  outline: calc(3px * var(--scale)) solid var(--yellow);
  outline-offset: calc(4px * var(--scale));
}

.screen-home .brand-card {
  border-radius: 0 0 35px 35px;
  height: 150px;
  left: 50vw;
  padding-top: 32px;
  position: fixed;
  top: 0;
  transform: translateX(-50%);
  width: 383px;
  z-index: 21;
}

.screen-password .brand-card {
  border-radius: 0 0 35px 35px;
  height: 150px;
  left: 50vw;
  padding-top: 32px;
  transform: translateX(-50%);
  width: 383px;
}

.screen-home .brand-card img {
  height: 81px;
  width: 196.428px;
}

.screen-password .brand-card img {
  height: 81px;
  width: 196.428px;
}

.brand-card img {
  display: block;
  height: calc(81px * var(--scale));
  width: calc(196.428px * var(--scale));
}

.hero-scene {
  bottom: calc(80px * var(--scale));
  left: 0;
  overflow: hidden;
  position: absolute;
  top: calc(80px * var(--scale));
  width: calc(1680px * var(--scale));
}

.hero-photo {
  display: block;
  max-width: none;
  position: absolute;
}

.screen-home .hero-scene {
  bottom: 80px;
  height: auto;
  top: 80px;
  width: 100%;
}

.password-scene {
  bottom: 80px;
  left: 0;
  overflow: hidden;
  position: absolute;
  top: 80px;
  width: 100%;
}

.password-photo {
  display: block;
  height: 100%;
  object-fit: cover;
  object-position: center;
  width: 100%;
}

.password-overlay {
  background: rgba(55, 80, 115, 0.75);
  inset: 0;
  position: absolute;
}

.password-form {
  align-items: center;
  display: grid;
  gap: 10px;
  grid-template-columns: 383px 60px;
  left: calc(50% - 191.5px);
  position: absolute;
  top: 48%;
  transform: translateY(-50%);
  z-index: 3;
}

.password-form input {
  background: #ffffff;
  border: 0;
  border-radius: 50px;
  color: var(--blue);
  font-size: 24px;
  font-weight: 700;
  height: 60px;
  line-height: 60px;
  outline: none;
  padding: 0 28px;
  width: 383px;
}

.password-form button {
  align-items: center;
  background: var(--yellow);
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  height: 60px;
  justify-content: center;
  padding: 0;
  transform-origin: center;
  transition: transform 160ms ease;
  width: 60px;
}

.password-form button:hover,
.password-form button:focus-visible {
  transform: scale(1.1);
}

.password-form button span {
  border-right: 5px solid var(--blue);
  border-top: 5px solid var(--blue);
  display: block;
  height: 18px;
  transform: translateX(-2px) rotate(45deg);
  width: 18px;
}

.password-form p {
  color: #ffffff;
  font-size: 24px;
  font-weight: 500;
  grid-column: 1 / 2;
  justify-self: center;
  line-height: 28px;
  margin: 0;
  text-align: center;
  text-shadow: var(--shadow);
  width: 672px;
}

.password-form.is-invalid input {
  color: var(--blue);
}

.screen-home .stage::after {
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 58%, rgba(0, 0, 0, 0.32) 100%);
  content: "";
  height: calc(1000px * var(--scale));
  left: 0;
  pointer-events: none;
  position: absolute;
  top: calc(80px * var(--scale));
  width: 100%;
  z-index: 1;
}

.screen-home .stage::after {
  bottom: 80px;
  height: auto;
  top: 80px;
}

.pin {
  background: transparent;
  border: 0;
  color: var(--blue);
  cursor: pointer;
  display: block;
  font-size: calc(24px * var(--scale));
  font-weight: 800;
  height: clamp(72px, calc(125px * var(--scale)), 132px);
  letter-spacing: 0;
  line-height: calc(58px * var(--scale));
  padding: 0;
  position: absolute;
  transform-origin: center bottom;
  transition: transform 160ms ease;
  width: clamp(53px, calc(92px * var(--scale)), 97px);
  z-index: 4;
}

.pin:hover,
.pin:focus-visible {
  transform: scale(1.1);
}

.pin-shape {
  height: 100%;
  left: 0;
  position: absolute;
  top: 0;
  width: 100%;
}

.pin-dot {
  height: 50.4%;
  left: 16.3%;
  position: absolute;
  top: 11.2%;
  width: 68.5%;
}

.pin span {
  display: block;
  left: 16.3%;
  position: absolute;
  text-align: center;
  top: 12.8%;
  width: 68.5%;
}

.pin-ab {
  left: var(--pin-left, calc(530px * var(--scale)));
  top: var(--pin-top, calc(384px * var(--scale)));
}

.pin-c {
  left: var(--pin-left, calc(1064.8px * var(--scale)));
  top: var(--pin-top, calc(384px * var(--scale)));
}

.home-copy {
  color: #ffffff;
  left: calc(508px * var(--scale));
  position: absolute;
  text-align: center;
  text-shadow: var(--shadow);
  top: calc(786px * var(--scale));
  width: calc(662px * var(--scale));
  z-index: 4;
}

.screen-home .home-copy {
  left: 50%;
  top: auto;
  bottom: clamp(148px, calc(206px * var(--scale)), 226px);
  transform: translateX(-50%);
  width: min(662px, 86vw);
}

.screen-home .home-copy h1 {
  font-size: clamp(32px, calc(48px * var(--scale)), 56px);
  line-height: 1;
}

.screen-home .home-copy h1 span {
  display: block;
}

.screen-home .home-copy p {
  font-size: clamp(17px, calc(24px * var(--scale)), 26px);
  line-height: 1.17;
}

.home-copy h1 {
  font-size: calc(48px * var(--scale));
  font-weight: 700;
  line-height: calc(48px * var(--scale));
  margin: 0 0 calc(18px * var(--scale));
}

.home-copy h1 span {
  color: var(--yellow);
}

.home-copy p,
.building-copy {
  font-size: calc(24px * var(--scale));
  line-height: calc(28px * var(--scale));
  margin: 0;
}

.block-switch {
  align-items: center;
  display: flex;
  gap: calc(12px * var(--scale));
  left: 50%;
  position: absolute;
  top: calc(214px * var(--scale));
  transform: translateX(-50%);
  z-index: 3;
}

.block-switch span {
  color: var(--blue-soft);
  font-size: calc(48px * var(--scale));
  line-height: calc(58px * var(--scale));
  margin-right: calc(8px * var(--scale));
  width: calc(99px * var(--scale));
}

.block-switch button {
  align-items: center;
  background: #ffffff;
  border: 0;
  border-radius: 999px;
  color: var(--blue-soft);
  cursor: pointer;
  display: flex;
  font-size: calc(24px * var(--scale));
  font-weight: 800;
  height: calc(63px * var(--scale));
  justify-content: center;
  min-width: calc(63px * var(--scale));
  padding: 0 calc(14px * var(--scale));
  transition: transform 160ms ease;
  transform-origin: center;
}

.block-switch button:hover,
.block-switch button:focus-visible {
  transform: scale(1.1);
}

.block-switch .active {
  background: var(--blue);
  color: var(--yellow);
}

.apartment-hotspot {
  background: transparent;
  border: 0;
  height: calc(723px * var(--scale));
  left: calc(190px * var(--scale));
  padding: 0;
  position: absolute;
  top: calc(277px * var(--scale));
  width: calc(1297px * var(--scale));
}

.apartment-hotspot .plan {
  display: block;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.apartment-overlay {
  inset: 0;
  position: absolute;
  z-index: 2;
}

.apartment-zone {
  cursor: pointer;
  fill: rgba(255, 223, 79, 0);
  outline: none;
  stroke: rgba(55, 80, 115, 0);
  stroke-width: 3;
  transition: fill 160ms ease, stroke 160ms ease;
}

.apartment-zone:hover,
.apartment-zone:focus-visible {
  fill: rgba(255, 223, 79, 0.5);
  stroke: rgba(55, 80, 115, 0.5);
}

.apartment-label {
  dominant-baseline: middle;
  fill: var(--blue);
  font-family: "Nunito", Arial, sans-serif;
  font-size: 48px;
  font-weight: 800;
  opacity: 0;
  pointer-events: none;
  text-anchor: middle;
  transition: opacity 160ms ease;
}

.apartment-zone:hover + .apartment-label,
.apartment-zone:focus-visible + .apartment-label {
  opacity: 1;
}

.building-copy {
  color: var(--blue);
  left: calc(504px * var(--scale));
  position: absolute;
  text-align: center;
  top: calc(875px * var(--scale));
  width: calc(672px * var(--scale));
}

.apartment-detail {
  height: calc(650px * var(--scale));
  left: 0;
  outline: none;
  position: absolute;
  scroll-margin-top: calc(34px * var(--scale));
  top: calc(var(--top) * var(--scale));
  width: 100%;
}

.apartment-detail:focus-visible h2 {
  text-decoration: underline;
  text-decoration-thickness: calc(3px * var(--scale));
  text-underline-offset: calc(8px * var(--scale));
}

.detail-plan {
  height: calc(var(--h) * var(--scale));
  left: calc(var(--x) * var(--scale));
  object-fit: contain;
  position: absolute;
  top: calc(var(--y) * var(--scale));
  width: calc(var(--w) * var(--scale));
}

.apartment-detail h2 {
  color: #ffffff;
  font-size: calc(48px * var(--scale));
  font-weight: 500;
  line-height: calc(58px * var(--scale));
  left: calc(878px * var(--scale));
  margin: 0;
  position: absolute;
  top: 0;
}

.apartment-number {
  font-weight: 800;
}

.detail-specs,
.detail-rooms {
  margin: 0;
}

.detail-specs {
  left: calc(868px * var(--scale));
  position: absolute;
  top: calc(81px * var(--scale));
  width: calc(424px * var(--scale));
}

.screen-building-c .apartment-detail h2 {
  left: calc(875px * var(--scale));
}

.screen-building-c .detail-specs {
  left: calc(865px * var(--scale));
}

.screen-building-c .detail-price,
.screen-building-c .apartment-detail a,
.screen-building-c .interest-button {
  left: calc(876px * var(--scale));
}

.screen-building-c .detail-back {
  left: calc(1127px * var(--scale));
}

.screen-building-c .detail-rooms {
  left: calc(391px * var(--scale));
}

.detail-specs div,
.detail-rooms div {
  display: grid;
}

.detail-specs div {
  align-items: baseline;
  border-bottom: calc(2px * var(--scale)) solid #ffffff;
  grid-template-columns: calc(250px * var(--scale)) 1fr;
  min-height: calc(40px * var(--scale));
}

.detail-specs dt,
.detail-specs dd {
  color: #375073;
  font-size: calc(24px * var(--scale));
  line-height: calc(40px * var(--scale));
  margin: 0;
  white-space: nowrap;
}

.detail-specs dt {
  font-weight: 500;
  padding-left: calc(11px * var(--scale));
}

.detail-specs dd {
  font-weight: 800;
}

.detail-price {
  color: #6897d9;
  display: block;
  font-size: calc(48px * var(--scale));
  font-weight: 500;
  line-height: calc(58px * var(--scale));
  left: calc(879px * var(--scale));
  position: absolute;
  top: calc(308px * var(--scale));
  white-space: nowrap;
}

.price-prefix {
  font-weight: 500;
}

.price-number {
  font-weight: 800;
}

.price-vat {
  font-size: calc(24px * var(--scale));
  font-weight: 500;
}

.apartment-detail a,
.interest-button {
  align-items: center;
  appearance: none;
  background: var(--yellow);
  border: 0;
  border-radius: calc(50px * var(--scale));
  color: var(--blue);
  cursor: pointer;
  display: inline-flex;
  font-size: calc(22px * var(--scale));
  font-weight: 700;
  height: calc(60px * var(--scale));
  justify-content: center;
  left: calc(879px * var(--scale));
  padding: 0;
  position: absolute;
  text-decoration: none;
  top: calc(400px * var(--scale));
  transform-origin: center;
  transition: transform 160ms ease;
  width: calc(242px * var(--scale));
}

.apartment-detail a:hover,
.apartment-detail a:focus-visible,
.interest-button:hover,
.interest-button:focus-visible {
  transform: scale(1.1);
}

.contact-modal[hidden] {
  display: none;
}

.contact-modal {
  align-items: flex-start;
  background: rgba(55, 80, 115, 0.5);
  display: flex;
  inset: 0;
  justify-content: center;
  overflow-x: hidden;
  overflow-y: auto;
  padding: 70px 32px;
  position: fixed;
  -webkit-overflow-scrolling: touch;
  z-index: 100;
}

.contact-modal__overlay {
  background: transparent;
  bottom: auto;
  left: 0;
  min-height: 100%;
  position: absolute;
  right: 0;
  top: 0;
}

.contact-form {
  background: var(--ice);
  border-radius: 13px;
  color: var(--blue);
  display: flex;
  flex-direction: column;
  gap: 15px;
  max-height: none;
  overflow: visible;
  padding: 84px 100px 82px;
  position: relative;
  width: min(1000px, calc(100vw - 64px));
  z-index: 1;
}

.contact-form h2 {
  font-size: 48px;
  font-weight: 700;
  line-height: 52px;
  margin: 0 0 41px -100px;
  text-align: center;
  width: calc(100% + 200px);
}

.contact-form h2 span {
  display: block;
  white-space: nowrap;
}

.contact-form__close {
  background: #ffffff;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  height: 63px;
  position: absolute;
  right: 14px;
  top: 14px;
  transform-origin: center;
  transition: transform 160ms ease;
  width: 63px;
}

.contact-form__close:hover,
.contact-form__close:focus-visible {
  transform: scale(1.1);
}

.contact-form__close::before,
.contact-form__close::after {
  background: var(--blue);
  border-radius: 2px;
  content: "";
  height: 4px;
  left: 17px;
  position: absolute;
  top: 30px;
  width: 30px;
}

.contact-form__close::before {
  transform: rotate(45deg);
}

.contact-form__close::after {
  transform: rotate(-45deg);
}

.contact-field {
  display: block;
  position: relative;
}

.contact-field span {
  height: 1px;
  margin: -1px;
  overflow: hidden;
  position: absolute;
  width: 1px;
  clip: rect(0, 0, 0, 0);
}

.contact-field input,
.contact-field textarea {
  background: #ffffff;
  border: 1px solid var(--blue-soft);
  border-radius: 3px;
  color: var(--blue);
  display: block;
  font: inherit;
  font-size: 24px;
  font-weight: 500;
  line-height: 40px;
  outline: none;
  padding: 14px 18px;
  width: 100%;
}

.contact-field input::placeholder,
.contact-field textarea::placeholder {
  color: var(--blue);
  opacity: 1;
}

.contact-field input {
  height: 70px;
}

.contact-field textarea {
  height: 150px;
  resize: vertical;
}

.contact-field input:focus,
.contact-field textarea:focus {
  border-color: var(--blue);
}

.contact-consent {
  align-items: center;
  cursor: pointer;
  display: flex;
  gap: 10px;
  margin-top: -3px;
}

.contact-consent input {
  height: 1px;
  opacity: 0;
  position: absolute;
  width: 1px;
}

.contact-consent__mark {
  background: #ffffff;
  border: 1px solid var(--blue-soft);
  border-radius: 50%;
  flex: 0 0 auto;
  height: 25px;
  position: relative;
  width: 25px;
}

.contact-consent input:checked + .contact-consent__mark::after {
  background: var(--blue);
  border-radius: 50%;
  content: "";
  height: 17px;
  left: 3px;
  position: absolute;
  top: 3px;
  width: 17px;
}

.contact-consent input:focus-visible + .contact-consent__mark {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
}

.contact-consent span:last-child {
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
}

.contact-consent a {
  color: var(--blue);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.contact-submit {
  align-self: center;
  background: var(--blue);
  border: 0;
  border-radius: 50px;
  color: var(--yellow);
  cursor: pointer;
  display: flex;
  flex: 0 0 60px;
  font-size: 22px;
  font-weight: 700;
  height: 60px;
  justify-content: center;
  align-items: center;
  margin-top: 46px;
  padding: 0;
  transform-origin: center;
  transition: transform 160ms ease;
  width: 242px;
}

.contact-submit:hover,
.contact-submit:focus-visible {
  transform: scale(1.1);
}

.contact-status {
  color: var(--blue);
  font-size: 16px;
  line-height: 22px;
  margin: 0;
  min-height: 22px;
  text-align: center;
}

.contact-form.was-validated .contact-field input:invalid,
.contact-form.was-validated .contact-field textarea:invalid {
  border-color: #b74242;
  border-width: 2px;
}

.contact-form.was-validated .contact-consent input:invalid + .contact-consent__mark {
  border-color: #b74242;
  border-width: 2px;
}

.privacy-modal[hidden] {
  display: none;
}

.privacy-modal {
  align-items: flex-start;
  background: rgba(55, 80, 115, 0.5);
  display: flex;
  inset: 0;
  justify-content: center;
  overflow-x: hidden;
  overflow-y: auto;
  padding: 70px 32px;
  position: fixed;
  -webkit-overflow-scrolling: touch;
  z-index: 110;
}

.privacy-modal__overlay {
  background: transparent;
  bottom: auto;
  left: 0;
  min-height: 100%;
  position: absolute;
  right: 0;
  top: 0;
}

.privacy-panel {
  background: var(--ice);
  border-radius: 13px;
  color: var(--blue);
  max-height: none;
  overflow: visible;
  padding: 72px 84px 68px;
  position: relative;
  width: min(1000px, calc(100vw - 64px));
  z-index: 1;
}

.privacy-panel__close {
  background: #ffffff;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  height: 54px;
  position: absolute;
  right: 14px;
  top: 14px;
  transform-origin: center;
  transition: transform 160ms ease;
  width: 54px;
}

.privacy-panel__close:hover,
.privacy-panel__close:focus-visible {
  transform: scale(1.1);
}

.privacy-panel__close::before,
.privacy-panel__close::after {
  background: var(--blue);
  border-radius: 2px;
  content: "";
  height: 4px;
  left: 14px;
  position: absolute;
  top: 25px;
  width: 28px;
}

.privacy-panel__close::before {
  transform: rotate(45deg);
}

.privacy-panel__close::after {
  transform: rotate(-45deg);
}

.privacy-panel h2 {
  font-size: 42px;
  font-weight: 800;
  line-height: 48px;
  margin: 0 0 30px;
  text-align: center;
}

.privacy-panel h3 {
  font-size: 22px;
  font-weight: 800;
  line-height: 28px;
  margin: 28px 0 8px;
}

.privacy-panel p {
  font-size: 18px;
  font-weight: 500;
  line-height: 28px;
  margin: 0;
}

.privacy-panel a {
  color: var(--blue);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.detail-back {
  align-items: center;
  background: #ffffff;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  height: calc(60px * var(--scale));
  justify-content: center;
  left: calc(1130px * var(--scale));
  padding: 0;
  position: absolute;
  top: calc(400px * var(--scale));
  transform-origin: center;
  transition: transform 160ms ease;
  width: calc(60px * var(--scale));
}

.detail-back:hover,
.detail-back:focus-visible {
  transform: scale(1.1);
}

.detail-back span {
  border-left: calc(4px * var(--scale)) solid #375073;
  border-top: calc(4px * var(--scale)) solid #375073;
  display: block;
  height: calc(19px * var(--scale));
  transform: translateY(calc(5px * var(--scale))) rotate(45deg);
  width: calc(19px * var(--scale));
}

.detail-rooms {
  left: calc(394px * var(--scale));
  position: absolute;
  top: calc(454px * var(--scale));
  width: calc(352px * var(--scale));
}

.detail-rooms div {
  border-bottom: 0;
  display: block;
  min-height: calc(20px * var(--scale));
  position: relative;
}

.detail-rooms div::after {
  border-bottom: calc(1px * var(--scale)) solid #6897d9;
  bottom: 0;
  content: "";
  left: calc(1px * var(--scale));
  position: absolute;
  width: calc(280px * var(--scale));
}

.detail-rooms dt,
.detail-rooms dd {
  color: #375073;
  font-size: calc(14px * var(--scale));
  font-weight: 500;
  line-height: calc(20px * var(--scale));
  margin: 0;
  position: absolute;
  top: 0;
}

.detail-rooms dt {
  left: 0;
  white-space: nowrap;
  width: calc(210px * var(--scale));
}

.detail-rooms dd {
  left: calc(140px * var(--scale));
  text-align: right;
  width: calc(142px * var(--scale));
}

@media (max-aspect-ratio: 1680 / 1160) and (min-width: 481px) {
  .screen-building {
    align-items: flex-start;
  }
}

@media (max-width: 480px) {
  .screen {
    align-items: flex-start;
    overflow-x: hidden;
    overflow-y: auto;
  }

  .stage {
    height: calc(100vw * 1160 / 1680);
    min-height: calc(100vw * 1160 / 1680);
    width: 100vw;
  }

  .screen-building .stage {
    height: calc(9632px * var(--scale));
    min-height: calc(9632px * var(--scale));
  }

  .screen-home .stage {
    height: 940px;
    min-height: 940px;
    width: 100vw;
  }

  .screen-home .pin {
    font-size: 18px;
    line-height: 1;
  }

  .screen-home .pin span {
    top: 18%;
  }

  .contact-modal {
    align-items: flex-start;
    padding: 24px;
  }

  .contact-form {
    border-radius: 10px;
    gap: 12px;
    max-height: none;
    overflow: visible;
    padding: 56px 24px 34px;
    width: 100%;
  }

  .contact-form h2 {
    font-size: 28px;
    line-height: 32px;
    margin-left: 0;
    margin-bottom: 25px;
    width: 100%;
  }

  .contact-form h2 span {
    white-space: normal;
  }

  .contact-form__close {
    height: 44px;
    right: 8px;
    top: 8px;
    width: 44px;
  }

  .contact-form__close::before,
  .contact-form__close::after {
    left: 11px;
    top: 21px;
    width: 24px;
  }

  .contact-field input {
    height: 58px;
  }

  .contact-field textarea {
    height: 120px;
  }

  .contact-field input,
  .contact-field textarea {
    font-size: 18px;
    line-height: 28px;
    padding: 12px 14px;
  }

  .contact-consent span:last-child {
    font-size: 13px;
    line-height: 18px;
  }

  .contact-submit {
    height: 56px;
    margin-top: 24px;
  }

  .privacy-modal {
    align-items: flex-start;
    padding: 24px;
  }

  .privacy-panel {
    border-radius: 10px;
    max-height: none;
    overflow: visible;
    padding: 58px 24px 34px;
    width: 100%;
  }

  .privacy-panel__close {
    height: 44px;
    right: 8px;
    top: 8px;
    width: 44px;
  }

  .privacy-panel__close::before,
  .privacy-panel__close::after {
    left: 11px;
    top: 21px;
    width: 24px;
  }

  .privacy-panel h2 {
    font-size: 30px;
    line-height: 36px;
    margin-bottom: 24px;
  }

  .privacy-panel h3 {
    font-size: 20px;
    line-height: 26px;
    margin-top: 24px;
  }

  .privacy-panel p {
    font-size: 16px;
    line-height: 24px;
  }
}

@media (max-width: 560px) {
  .password-form {
    gap: 10px;
    grid-template-columns: minmax(0, 1fr) 56px;
    left: 0;
    padding: 0 20px;
    transform: translateY(-50%);
    width: 100%;
  }

  .password-form input {
    height: 56px;
    width: 100%;
  }

  .password-form button {
    height: 56px;
    width: 56px;
  }

  .password-form p {
    font-size: 20px;
    grid-column: 1 / -1;
    line-height: 26px;
    width: auto;
  }
}

@media (max-width: 900px) {
  .screen-home .top-bar,
  .screen-password .top-bar {
    height: 56px;
  }

  .screen-home .brand-card,
  .screen-password .brand-card {
    border-radius: 0 0 24.5px 24.5px;
    height: 105px;
    padding-top: 22px;
    width: min(268px, calc(100vw - 40px));
  }

  .screen-home .brand-card img,
  .screen-password .brand-card img {
    height: 56.7px;
    width: 137.5px;
  }

  .screen-home .home-copy {
    width: min(662px, calc(100vw - 100px));
  }

  .screen-home .hero-scene,
  .password-scene {
    top: 56px;
  }

  .screen-home .stage::after {
    top: 56px;
  }

  .screen-building {
    overflow-x: hidden;
  }

  .screen-building .stage {
    display: block;
    height: auto;
    min-height: 100svh;
    min-width: 0;
    overflow: visible;
    padding: 0 50px;
    width: 100%;
  }

  .screen-building .top-bar {
    height: 56px;
    left: 0;
    width: 100vw;
  }

  .screen-building .brand-card {
    border-radius: 0 0 24.5px 24.5px;
    height: 105px;
    left: 50%;
    padding-top: 22px;
    transform: translateX(-50%);
    width: min(268px, calc(100vw - 40px));
  }

  .screen-building .brand-card img {
    height: 56.7px;
    width: 137.5px;
  }

  .block-switch {
    gap: 12px;
    justify-content: center;
    left: auto;
    margin: 140px auto 18px;
    position: relative;
    top: auto;
    transform: none;
  }

  .block-switch span {
    font-size: 42px;
    line-height: 52px;
    margin-right: 4px;
    width: auto;
  }

  .block-switch button {
    font-size: 22px;
    height: 56px;
    min-width: 56px;
    padding: 0 14px;
  }

  .apartment-hotspot {
    height: auto;
    left: auto;
    margin: 0 auto;
    position: relative;
    top: auto;
    width: min(100%, 1297px);
  }

  .apartment-hotspot::before {
    content: "";
    display: block;
    padding-top: 55.744%;
  }

  .apartment-hotspot .plan,
  .apartment-overlay {
    inset: 0;
    position: absolute;
  }

  .building-copy {
    font-size: 20px;
    left: auto;
    line-height: 26px;
    margin: 28px auto 72px;
    padding: 0;
    position: relative;
    top: auto;
    width: min(672px, 100%);
  }

  .apartment-detail {
    --detail-gutter: 50px;
    --detail-width: calc(100vw - (var(--detail-gutter) * 2));
    --cta-gap: 10px;
    --back-size: 60px;
    --cta-width: min(242px, calc(var(--detail-width) - var(--back-size) - var(--cta-gap)));
    display: grid;
    column-gap: 0;
    row-gap: 20px;
    grid-template-columns: minmax(0, 1fr) var(--cta-width) var(--cta-gap) var(--back-size) minmax(0, 1fr);
    height: auto;
    left: auto;
    margin: 0 auto 72px;
    max-width: 720px;
    min-width: 0;
    position: relative;
    scroll-margin-top: 24px;
    top: auto;
    width: 100%;
  }

  .detail-plan,
  .apartment-detail h2,
  .detail-specs,
  .detail-price,
  .detail-rooms {
    grid-column: 1 / -1;
    left: auto;
    position: relative;
    top: auto;
  }

  .apartment-detail a,
  .interest-button,
  .detail-back {
    left: auto;
    position: relative;
    top: auto;
  }

  .screen-building-c .apartment-detail h2,
  .screen-building-c .detail-specs,
  .screen-building-c .detail-price,
  .screen-building-c .apartment-detail a,
  .screen-building-c .interest-button,
  .screen-building-c .detail-back,
  .screen-building-c .detail-rooms {
    left: auto;
  }

  .detail-plan {
    height: auto;
    justify-self: center;
    max-width: 100%;
    order: 5;
    width: min(var(--w), 100%);
  }

  .apartment-detail h2 {
    font-size: 42px;
    line-height: 52px;
    order: 1;
  }

  .detail-specs {
    min-width: 0;
    order: 2;
    width: 100%;
  }

  .detail-specs div {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .detail-specs dt,
  .detail-specs dd {
    font-size: 24px;
    line-height: 40px;
  }

  .detail-specs dt {
    padding-left: 0;
  }

  .detail-price {
    font-size: clamp(28px, 7.5vw, 36px);
    line-height: 44px;
    min-width: 0;
    order: 3;
    white-space: normal;
  }

  .price-vat {
    font-size: clamp(16px, 4.5vw, 20px);
  }

  .apartment-detail a,
  .interest-button {
    font-size: 22px;
    grid-column: 2 / 3;
    height: 60px;
    justify-self: stretch;
    order: 4;
    transform: none;
    width: 100%;
  }

  .detail-back {
    grid-column: 4 / 5;
    grid-row: auto;
    height: 60px;
    justify-self: stretch;
    margin-left: 0;
    margin-top: 0;
    order: 4;
    transform: none;
    width: 60px;
  }

  .detail-back span {
    border-left-width: 4px;
    border-top-width: 4px;
    height: 18px;
    transform: translateY(5px) rotate(45deg);
    width: 18px;
  }

  .detail-rooms {
    min-width: 0;
    margin-top: 0;
    order: 6;
    width: 100%;
  }

  .detail-rooms div {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .detail-rooms dt,
  .detail-rooms dd {
    font-size: 16px;
    line-height: 24px;
    position: static;
    width: auto;
  }

  .detail-rooms dt {
    padding-right: 12px;
    white-space: normal;
  }

  .detail-rooms div::after {
    left: 0;
    width: 100%;
  }

  .screen-building footer {
    bottom: auto;
    font-size: 11px;
    height: 80px;
    left: -50px;
    position: relative;
    width: calc(100% + 100px);
  }
}

@media (max-width: 390px) {
  .screen-home .home-copy {
    width: calc(100vw - 56px);
  }

  .screen-building .stage {
    padding-left: 28px;
    padding-right: 28px;
  }

  .apartment-detail {
    --detail-gutter: 28px;
  }

  .detail-specs dt,
  .detail-specs dd {
    font-size: 20px;
    line-height: 34px;
  }

  .detail-price {
    line-height: 38px;
  }

  .screen-building footer {
    left: -28px;
    width: calc(100% + 56px);
  }
}
