/* Atabah — one stylesheet, following the Najdi door identity. */

:root {
  --gypsum: #F3F5F4;
  --white: #FFFFFF;
  --indigo: #14304A;
  --ink: #0F2233;
  --muted: #55687A;
  --line: #D3DAD8;
  --red: #B4332A;
  --red-dark: #8F251E;
  --saffron: #E3A62F;
  --palm: #1E6B50;
  --sand: #E6DCC8;

  --display: "Reem Kufi", "IBM Plex Sans Arabic", system-ui, sans-serif;
  --text: "IBM Plex Sans Arabic", system-ui, sans-serif;
  --unit-w: 64px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  overflow-x: clip;
  background: var(--gypsum);
  color: var(--ink);
  font-family: var(--text);
  font-size: 1.0625rem;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}

html[lang="en"] body {
  line-height: 1.6;
}

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

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

a {
  color: var(--indigo);
}

h1, h2, h3, p, ul, ol, dl, dd, figure {
  margin: 0;
}

ul, ol {
  padding: 0;
  list-style: none;
}

[hidden] {
  display: none !important;
}

:focus-visible {
  outline: 2px solid var(--saffron);
  outline-offset: 3px;
}

::selection {
  background: var(--saffron);
  color: var(--ink);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  inset-block-start: -100px;
  inset-inline-start: 16px;
  z-index: 200;
  padding: 12px 16px;
  background: var(--white);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 2px;
  text-decoration: none;
}

.skip-link:focus {
  inset-block-start: 12px;
}

#app:focus {
  outline: none;
}

.wrap {
  width: 100%;
  max-width: 1180px;
  margin-inline: auto;
  padding-inline: 24px;
}

.band {
  height: 14px;
  background-image: repeating-linear-gradient(90deg, var(--indigo) 0 22px, transparent 22px 44px);
}

.hero-door-price,
.project-count,
.project-license,
.card-facts,
.meta dd,
.license-grid dd,
.booking-when,
.footer-facts,
.unit-badge-code {
  font-variant-numeric: tabular-nums;
}

/* ---------- header ---------- */

.site-header {
  position: relative;
  z-index: 20;
  background: var(--indigo);
  color: var(--white);
}

body.on-home .site-header {
  position: absolute;
  inset-block-start: 0;
  inset-inline: 0;
  background: transparent;
}

.site-header.is-open {
  background: var(--indigo);
}

body.on-home .site-header.is-open {
  background: var(--indigo);
}

.header-inner {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
  min-height: 76px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: none;
  color: var(--white);
  text-decoration: none;
}

.brand-mark {
  display: block;
  flex: none;
}

.brand-word {
  font-family: var(--display);
  font-size: 1.625rem;
  font-weight: 700;
  line-height: 1;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  flex: 1;
}

.nav-link {
  padding: 8px 2px;
  background: none;
  border: 0;
  color: var(--white);
  font-family: var(--text);
  font-size: 0.9375rem;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
}

.nav-link:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.header-end {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: none;
}

.lang-btn {
  padding: 7px 12px;
  background: transparent;
  border: 1px solid var(--white);
  border-radius: 2px;
  color: var(--white);
  font-family: var(--text);
  font-size: 0.8125rem;
  font-weight: 500;
  line-height: 1.4;
  cursor: pointer;
}

.lang-btn:hover {
  background: var(--white);
  color: var(--indigo);
}

.header-login {
  padding: 8px 0;
  background: none;
  border: 0;
  color: var(--white);
  font-family: var(--text);
  font-size: 0.9375rem;
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 4px;
  cursor: pointer;
}

.user-menu {
  position: relative;
}

.user-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 0;
  background: none;
  border: 0;
  color: var(--white);
  font-family: var(--text);
  font-size: 0.9375rem;
  font-weight: 500;
  cursor: pointer;
}

.user-btn > span:first-child {
  max-width: 10ch;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.caret {
  display: inline-block;
  width: 8px;
  height: 6px;
  background: currentColor;
  clip-path: polygon(0 0, 100% 0, 50% 100%);
}

.user-pop {
  position: absolute;
  inset-block-start: calc(100% + 8px);
  inset-inline-end: 0;
  z-index: 60;
  min-width: 190px;
  padding: 6px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 2px;
  box-shadow: 0 12px 30px rgba(15, 34, 51, 0.18);
}

.pop-link {
  display: block;
  width: 100%;
  padding: 10px 12px;
  background: none;
  border: 0;
  border-radius: 2px;
  color: var(--ink);
  font-family: var(--text);
  font-size: 0.9375rem;
  font-weight: 400;
  text-align: start;
  text-decoration: none;
  cursor: pointer;
}

.pop-link:hover {
  background: var(--gypsum);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 10px;
  background: transparent;
  border: 1px solid var(--white);
  border-radius: 2px;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  height: 2px;
  margin-block: 4px;
  background: var(--white);
}

/* ---------- hero ---------- */

.hero {
  display: flex;
  align-items: flex-end;
  min-height: 88vh;
  padding-block: 120px 72px;
  overflow: hidden;
  background: var(--indigo);
  color: var(--white);
}

.hero-inner {
  width: 100%;
}

.hero-top {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
}

.hero-copy {
  flex: 1 1 420px;
  max-width: 520px;
  min-width: 0;
}

.hero-title {
  margin-block-end: 18px;
  color: var(--white);
  font-family: var(--display);
  font-size: clamp(2.5rem, 6.5vw, 5rem);
  font-weight: 700;
  line-height: 1.15;
}

.hero-title span {
  display: block;
}

html[lang="en"] .hero-title {
  font-size: clamp(2rem, 4.2vw, 3.25rem);
}

html[lang="en"] .hero-title span {
  white-space: nowrap;
}

.hero-sub {
  max-width: 52ch;
  margin-block-end: 28px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.0625rem;
  line-height: 1.8;
}

html[lang="en"] .hero-sub {
  line-height: 1.6;
}

.quick-search {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 8px;
  background: var(--white);
  border-radius: 2px;
  color: var(--ink);
}

.quick-purpose {
  display: flex;
  flex: none;
  height: 48px;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 2px;
}

.quick-btn {
  flex: 1 1 auto;
  padding-inline: 16px;
  background: transparent;
  border: 0;
  color: var(--ink);
  font-family: var(--text);
  font-size: 0.9375rem;
  font-weight: 500;
  cursor: pointer;
}

.quick-btn + .quick-btn {
  border-inline-start: 1px solid var(--line);
}

.quick-btn.is-on {
  background: var(--indigo);
  color: var(--white);
}

.quick-select {
  flex: 1 1 130px;
  min-width: 0;
  height: 48px;
  padding-inline: 10px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 2px;
  color: var(--ink);
  font-size: 0.9375rem;
}

.quick-search .btn {
  min-height: 48px;
  padding-block: 0.6rem;
}

.hero-doors {
  display: flex;
  flex: 0 1 580px;
  align-items: flex-end;
  gap: 20px;
  width: 580px;
  max-width: 100%;
  min-width: 0;
}

.hero-door {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.hero-door--1 {
  flex: 0 1 210px;
}

.hero-door--2 {
  flex: 0 1 180px;
}

.hero-door--3 {
  flex: 0 1 150px;
}

.door-mask {
  display: block;
  width: 100%;
  overflow: hidden;
  border-block-end: 3px solid var(--saffron);
}

.hero-door--1 .door-mask {
  height: 62vh;
}

.hero-door--2 .door-mask {
  height: 50vh;
}

.hero-door--3 .door-mask {
  height: 40vh;
}

.hero-door .door {
  height: 100%;
}

.hero-door-caption {
  position: absolute;
  inset-block-start: calc(100% + 8px);
  inset-inline: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.8125rem;
  line-height: 1.6;
}

.hero-door-price {
  color: var(--white);
  font-weight: 500;
}

.hero-door-caption .sk-line {
  width: 70%;
  height: 12px;
  margin: 2px 0 0;
}

.hero-door .sk-door {
  height: 100%;
}

/* ---------- door frame ---------- */

.door {
  --step: 14px;
  position: relative;
  display: block;
  width: 100%;
  overflow: hidden;
  background: var(--sand);
  clip-path: polygon(
    0 100%,
    0 calc(2 * var(--step)),
    var(--step) calc(2 * var(--step)),
    var(--step) var(--step),
    calc(2 * var(--step)) var(--step),
    calc(2 * var(--step)) 0,
    calc(100% - 2 * var(--step)) 0,
    calc(100% - 2 * var(--step)) var(--step),
    calc(100% - var(--step)) var(--step),
    calc(100% - var(--step)) calc(2 * var(--step)),
    100% calc(2 * var(--step)),
    100% 100%
  );
}

.door img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.hero-door a.door:focus-visible {
  outline-offset: -6px;
}

.door.is-missing img {
  visibility: hidden;
}

.door-fallback {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  opacity: 0;
}

.door-fallback.is-visible,
.door.is-missing .door-fallback {
  opacity: 1;
}

.pyr {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.pyr-row {
  display: flex;
  gap: 4px;
}

.pyr-row i {
  display: block;
  width: 22px;
  height: 22px;
  background: var(--indigo);
  opacity: 0.25;
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
}

@keyframes door-rise {
  from {
    transform: translateY(105%);
  }
  to {
    transform: translateY(0);
  }
}

.hero-doors.is-animated .hero-door .door {
  animation: door-rise 0.6s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

.hero-doors.is-animated .hero-door--2 .door {
  animation-delay: 0.12s;
}

.hero-doors.is-animated .hero-door--3 .door {
  animation-delay: 0.24s;
}

/* ---------- sections ---------- */

.section {
  padding-block-start: 96px;
}

.section:last-child {
  padding-block-end: 96px;
}

.section-head {
  margin-block-end: 28px;
}

.section-title {
  color: var(--indigo);
  font-family: var(--display);
  font-size: 2.25rem;
  font-weight: 600;
  line-height: 1.3;
}

.sub-title {
  margin-block-end: 14px;
  color: var(--indigo);
  font-family: var(--display);
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.5;
}

.tri-row {
  display: flex;
  gap: 6px;
  margin-block-start: 10px;
}

.tri-row i {
  display: block;
  width: 10px;
  height: 10px;
  background: var(--saffron);
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
}

.page {
  padding-block: 32px 96px;
}

.page-title {
  color: var(--indigo);
  font-family: var(--display);
  font-size: 2.25rem;
  font-weight: 600;
  line-height: 1.3;
}

.hero-title,
.page-title,
.section-title,
.sub-title,
.card-title,
.project-name,
.sheet-title,
.booking-title,
.unit-badge-project {
  overflow-wrap: break-word;
}

.backlink {
  display: inline-block;
  margin-block: 8px 24px;
  padding-block-end: 2px;
  border-block-end: 1px solid var(--indigo);
  color: var(--indigo);
  font-size: 0.9375rem;
  font-weight: 500;
  text-decoration: none;
}

.backlink:hover {
  color: var(--red);
  border-block-end-color: var(--red);
}

/* ---------- buttons, tags, inputs ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0.8rem 1.6rem;
  border: 0;
  border-radius: 2px;
  font-family: var(--text);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.3;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}

.btn-red {
  background: var(--red);
  color: var(--white);
}

.btn-red:hover {
  background: var(--red-dark);
}

.btn-outline {
  background: transparent;
  border: 1.5px solid var(--indigo);
  color: var(--indigo);
}

.btn-outline:hover {
  background: var(--indigo);
  color: var(--white);
}

.btn-block {
  width: 100%;
}

.btn-sm {
  min-height: 44px;
  padding: 0.5rem 1rem;
  font-size: 0.9375rem;
}

.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.text-link {
  color: var(--indigo);
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.text-link:hover {
  color: var(--red);
}

.tag {
  display: inline-block;
  padding: 3px 8px;
  border-radius: 2px;
  font-size: 0.8125rem;
  font-weight: 500;
  line-height: 1.6;
}

.tag-rent {
  background: var(--red);
  color: var(--white);
}

.tag-sale {
  background: var(--indigo);
  color: var(--white);
}

.tag-confirmed,
.tag-held {
  background: var(--palm);
  color: var(--white);
}

.tag-cancelled {
  background: var(--sand);
  color: var(--ink);
}

.field {
  min-width: 0;
}

.field-label {
  display: block;
  margin-block-end: 6px;
  color: var(--ink);
  font-size: 0.9375rem;
  font-weight: 500;
  line-height: 1.5;
}

.input {
  width: 100%;
  min-height: 48px;
  padding: 10px 12px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 2px;
  color: var(--ink);
  font-family: var(--text);
  font-size: 0.9375rem;
}

.input::placeholder {
  color: var(--muted);
}

.input:focus-visible {
  border-color: var(--indigo);
}

.textarea {
  min-height: 96px;
  resize: vertical;
  line-height: 1.7;
}

.counter {
  display: block;
  margin-block-start: 4px;
  color: var(--muted);
  font-size: 0.8125rem;
  text-align: end;
  font-variant-numeric: tabular-nums;
}

.form-error {
  margin-block: 8px 12px;
  color: var(--red);
  font-size: 0.9375rem;
  line-height: 1.7;
}

.field-error {
  margin-block-start: 4px;
  color: var(--red);
  font-size: 0.8125rem;
  line-height: 1.6;
}

/* ---------- filters ---------- */

.filters {
  display: grid;
  grid-template-columns: auto 1fr 1fr 1fr 1.4fr;
  gap: 16px;
  align-items: end;
  margin-block-end: 28px;
}

.filter {
  min-width: 0;
}

.filter-purpose .seg {
  min-width: 240px;
}

.seg {
  display: flex;
  height: 48px;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 2px;
}

.seg-btn {
  flex: 1;
  padding-inline: 12px;
  background: transparent;
  border: 0;
  color: var(--ink);
  font-family: var(--text);
  font-size: 0.9375rem;
  font-weight: 500;
  white-space: nowrap;
  cursor: pointer;
}

.seg-btn + .seg-btn {
  border-inline-start: 1px solid var(--line);
}

.seg-btn.is-on {
  background: var(--indigo);
  color: var(--white);
}

/* ---------- listing cards ---------- */

.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

.grid > .empty-state,
.grid > .notice {
  grid-column: 1 / -1;
}

.card {
  display: block;
  border-radius: 2px;
  color: inherit;
  text-decoration: none;
}

.card-shot {
  position: relative;
  display: block;
  border-block-end: 3px solid var(--indigo);
}

.card-door {
  aspect-ratio: 4 / 5;
}

.card-shot .tag {
  position: absolute;
  inset-block-end: 10px;
  inset-inline-start: 10px;
  z-index: 2;
}

.card-body {
  display: block;
  padding-block-start: 12px;
}

.card-title {
  display: block;
  color: var(--ink);
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.5;
}

.card-loc {
  display: block;
  color: var(--muted);
  font-size: 0.9375rem;
}

.card-price {
  display: block;
  margin-block: 6px 8px;
  color: var(--indigo);
  font-family: var(--display);
  font-size: 1.625rem;
  font-weight: 600;
  line-height: 1.4;
  font-variant-numeric: tabular-nums;
}

.card-facts {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  color: var(--muted);
  font-size: 0.9375rem;
}

.card-fact + .card-fact {
  margin-inline-start: 10px;
  padding-inline-start: 10px;
  border-inline-start: 1px solid var(--line);
}

.card:hover .card-shot,
.card:focus-visible .card-shot {
  border-block-end-color: var(--saffron);
}

.card:hover .door img,
.card:focus-visible .door img {
  transform: scale(1.03);
}

/* ---------- empty, notice, skeletons ---------- */

.empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 32px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 2px;
  text-align: center;
}

.empty-state p {
  max-width: 52ch;
  color: var(--ink);
}

.attention {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  max-width: 62ch;
  padding: 32px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 2px;
}

.notice {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px;
  background: var(--white);
  border: 1px solid var(--line);
  border-inline-start: 4px solid var(--red);
  border-radius: 2px;
}

.notice p {
  max-width: 62ch;
  color: var(--ink);
}

.notice-inline {
  margin-block-end: 16px;
}

.notice-compact {
  align-items: flex-start;
  flex-direction: column;
}

.sk {
  display: block;
  background: var(--sand);
  border-radius: 2px;
}

.sk-line {
  width: 80%;
  height: 14px;
  margin-block-end: 10px;
}

.sk-title {
  width: 60%;
  height: 22px;
  margin-block-end: 12px;
}

.sk-short {
  width: 45%;
}

.sk-block {
  width: 100%;
  height: 120px;
  margin-block-start: 16px;
}

.sk-card {
  display: block;
}

.sk-card .sk-door {
  width: 100%;
  aspect-ratio: 4 / 5;
  margin-block-end: 12px;
}

.sk-panel {
  display: grid;
  grid-template-columns: 360px minmax(0, 1fr);
  gap: 24px;
  padding: 16px;
  background: var(--white);
  border: 1px solid var(--line);
}

.sk-panel + .sk-panel {
  margin-block-start: 24px;
}

.sk-panel-shot {
  height: 240px;
}

.sk-panel-lines {
  display: block;
  padding-block-start: 12px;
}

.sk-panel-line,
.sk-panel-block {
  display: block;
  height: 140px;
}

.sk-panel-block {
  height: 360px;
}

.sk-gallery-main {
  height: 460px;
  flex: 0 0 58%;
}

.sk-gallery-second {
  height: 400px;
  flex: 1;
}

.sk-project-photo {
  height: 300px;
}

.sk-facade {
  height: 480px;
}

.sk-row {
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr);
  gap: 20px;
  padding: 16px;
  margin-block-end: 12px;
  background: var(--white);
  border: 1px solid var(--line);
}

.sk-row-shot {
  height: 100px;
}

.sk-row-lines {
  display: block;
  padding-block-start: 8px;
}

.sk-slot {
  min-height: 58px;
}

/* ---------- off-plan panels ---------- */

.projects {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.project-panel {
  display: grid;
  grid-template-columns: 360px minmax(0, 1fr);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 2px;
}

.project-shot {
  display: block;
  padding: 16px;
  border-inline-end: 1px solid var(--line);
}

.project-shot .door {
  height: 240px;
}

.project-body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  padding: 24px;
}

.project-name {
  color: var(--indigo);
  font-family: var(--display);
  font-size: 1.625rem;
  font-weight: 600;
  line-height: 1.4;
}

.project-dev,
.project-meta {
  color: var(--muted);
  font-size: 0.9375rem;
}

.project-avail {
  margin-block-start: 8px;
  font-weight: 500;
}

.project-price {
  color: var(--indigo);
  font-family: var(--display);
  font-size: 1.625rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.project-body .btn {
  margin-block-start: 10px;
}

/* ---------- steps ---------- */

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

.step {
  padding-block-start: 16px;
  border-block-start: 1px solid var(--line);
}

.step-title {
  margin-block-end: 6px;
  color: var(--indigo);
  font-family: var(--display);
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.5;
}

.step-text {
  max-width: 62ch;
  color: var(--muted);
  font-size: 0.9375rem;
}

/* ---------- footer ---------- */

.site-footer {
  padding-block: 48px;
  background: var(--indigo);
  color: var(--white);
}

.footer-inner {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  font-family: var(--display);
  font-size: 1.625rem;
  font-weight: 700;
  text-decoration: none;
}

.footer-facts {
  display: grid;
  gap: 6px;
  margin-block-start: 20px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.9375rem;
}

.footer-pyramid {
  flex: none;
}

.footer-pyramid .pyr {
  gap: 4px;
}

.footer-pyramid .pyr-row i {
  width: 14px;
  height: 14px;
  background: var(--saffron);
  opacity: 1;
}

/* ---------- detail page ---------- */

.gallery {
  display: flex;
  align-items: flex-end;
  gap: 20px;
  border-block-end: 3px solid var(--indigo);
}

.gallery-item {
  display: block;
  min-width: 0;
}

.gallery-main {
  flex: 0 0 58%;
}

.gallery-second {
  flex: 1;
}

.gallery-door {
  height: 460px;
}

.gallery-second .gallery-door {
  height: 400px;
}

.detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 48px;
  align-items: start;
  margin-block-start: 32px;
}

.detail-title {
  margin-block: 12px 6px;
}

.detail-loc {
  color: var(--muted);
}

.detail-price {
  margin-block-start: 6px;
  color: var(--indigo);
  font-family: var(--display);
  font-size: 2.25rem;
  font-weight: 600;
  line-height: 1.4;
  font-variant-numeric: tabular-nums;
}

.meta-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-block: 28px;
  padding-block: 18px;
  border-block: 1px solid var(--line);
}

.meta dt {
  margin-block-end: 2px;
  color: var(--muted);
  font-size: 0.8125rem;
}

.meta dd {
  color: var(--ink);
  font-weight: 500;
}

.prose-block {
  margin-block-start: 32px;
}

.prose-text {
  max-width: 62ch;
  white-space: pre-line;
}

.features {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 24px;
}

.feature {
  position: relative;
  padding-inline-start: 20px;
}

.feature::before {
  content: "";
  position: absolute;
  inset-block-start: 0.65em;
  inset-inline-start: 0;
  width: 9px;
  height: 9px;
  background: var(--saffron);
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
}

.license-block {
  margin-block-start: 32px;
  padding: 20px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 2px;
}

.license-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.booking-aside {
  position: sticky;
  inset-block-start: 24px;
}

.booking-panel {
  padding: 20px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 2px;
}

.panel-title {
  margin-block-end: 16px;
  color: var(--indigo);
  font-family: var(--display);
  font-size: 1.625rem;
  font-weight: 600;
  line-height: 1.35;
}

.panel-hint {
  margin-block: 16px 8px;
  color: var(--ink);
  font-size: 0.9375rem;
  font-weight: 500;
}

.daystrip {
  display: flex;
  gap: 6px;
  padding: 4px 6px 6px;
  overflow-x: auto;
}

.day {
  position: relative;
  display: flex;
  flex-direction: column;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  gap: 1px;
  width: 64px;
  min-height: 84px;
  padding: 6px 4px 12px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 2px;
  color: var(--ink);
  font-family: var(--text);
  font-size: 0.8125rem;
  line-height: 1.4;
  cursor: pointer;
}

.day-week,
.day-month {
  font-size: 0.8125rem;
}

.day-month {
  color: var(--muted);
}

.day-num {
  font-family: var(--display);
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}

.day.is-on {
  background: var(--indigo);
  border-color: var(--indigo);
  color: var(--white);
}

.day.is-on .day-month {
  color: rgba(255, 255, 255, 0.82);
}

.day.is-on::after {
  content: "";
  position: absolute;
  inset-block-end: 4px;
  inset-inline-start: 50%;
  width: 8px;
  height: 8px;
  background: var(--saffron);
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
  transform: translateX(-50%);
}

.slots {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.slot {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  min-height: 58px;
  padding: 6px 4px;
  background: var(--white);
  border: 1px solid var(--indigo);
  border-radius: 2px;
  color: var(--indigo);
  font-family: var(--text);
  font-size: 0.9375rem;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  cursor: pointer;
}

.slot.is-on {
  background: var(--red);
  border-color: var(--red);
  color: var(--white);
}

.slot:disabled {
  background: var(--sand);
  border-color: var(--line);
  color: var(--ink);
  cursor: not-allowed;
}

.slot-time.is-off {
  color: var(--ink);
  text-decoration: line-through;
}

.slot-reason {
  font-size: 0.8125rem;
  font-weight: 400;
}

.booking-form {
  margin-block-start: 20px;
}

.booking-form .field {
  margin-block-end: 0;
}

.booking-form .btn-block {
  margin-block-start: 12px;
}

.panel-body {
  margin-block-end: 8px;
  max-width: 62ch;
}

.panel-links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  margin-block-start: 20px;
}

/* ---------- project / facade ---------- */

.project-head {
  display: grid;
  grid-template-columns: 420px minmax(0, 1fr);
  gap: 36px;
  align-items: end;
  margin-block-end: 0;
}

.project-photo .door {
  height: 300px;
}

.project-dev {
  margin-block-start: 4px;
  color: var(--muted);
}

.project-meta {
  margin-block-start: 8px;
}

.project-license {
  margin-block-start: 6px;
  font-size: 0.9375rem;
}

.project-count {
  margin-block-start: 12px;
  color: var(--indigo);
  font-weight: 500;
}

.facade-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 48px;
  align-items: start;
  margin-block-start: 56px;
}

.facade-block {
  min-width: 0;
}

.facade-scroll {
  padding: 6px 6px 10px;
  overflow-x: auto;
}

.building {
  width: max-content;
  margin-inline: auto;
}

.parapet {
  display: flex;
  align-items: flex-end;
}

.parapet i {
  flex: 1;
  background: var(--white);
  border: 2px solid var(--indigo);
  border-block-end: 0;
  margin-inline-start: -2px;
}

.parapet i:first-child {
  margin-inline-start: 0;
}

.parapet i:nth-child(1) { height: 8px; }
.parapet i:nth-child(2) { height: 16px; }
.parapet i:nth-child(3) { height: 24px; }
.parapet i:nth-child(4) { height: 32px; }
.parapet i:nth-child(5) { height: 24px; }
.parapet i:nth-child(6) { height: 16px; }
.parapet i:nth-child(7) { height: 8px; }

.building-body {
  padding-block: 16px;
  background: var(--white);
  border: 2px solid var(--indigo);
  border-block-end: 0;
}

.floor-row {
  display: grid;
  align-items: center;
  gap: 10px;
  padding-inline: 14px;
}

.floor-row + .floor-row {
  margin-block-start: 10px;
}

.floor-num {
  color: var(--indigo);
  font-family: var(--display);
  font-size: 0.9375rem;
  font-weight: 600;
  text-align: center;
  font-variant-numeric: tabular-nums;
}

.unit {
  position: relative;
  width: 100%;
  height: 76px;
  padding: 0;
  overflow: hidden;
  background: var(--white);
  border: 2px solid var(--indigo);
  border-radius: 2px;
  color: var(--indigo);
  cursor: pointer;
}

.unit-x {
  position: absolute;
  inset: 0;
}

.unit-x::before {
  content: "";
  position: absolute;
  inset-block: 12% 30%;
  inset-inline-start: 50%;
  width: 1px;
  background: var(--indigo);
}

.unit-x::after {
  content: "";
  position: absolute;
  inset-block-start: 38%;
  inset-inline: 10%;
  height: 1px;
  background: var(--indigo);
}

.unit-code {
  position: absolute;
  inset-block-end: 2px;
  inset-inline: 0;
  color: inherit;
  font-family: var(--display);
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1.4;
  text-align: center;
  font-variant-numeric: tabular-nums;
}

.unit-shutters {
  position: absolute;
  inset-block-start: 14px;
  inset-inline: 12px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.unit-shutters i {
  display: block;
  height: 2px;
  background: var(--muted);
}

.unit.is-held,
.unit.is-holding {
  background: var(--sand);
  color: var(--ink);
}

.unit.is-held {
  cursor: not-allowed;
}

.unit.is-held .unit-code {
  color: var(--ink);
  opacity: 0.8;
}

.unit.is-held .unit-shutters,
.unit.is-holding .unit-shutters {
  opacity: 1;
}

.unit.is-held .unit-x,
.unit.is-holding .unit-x {
  display: none;
}

.unit.is-mine {
  background: var(--palm);
  color: var(--white);
}

.unit.is-mine .unit-x::before,
.unit.is-mine .unit-x::after {
  background: var(--white);
}

.unit-tri {
  position: absolute;
  inset-block-start: 10px;
  inset-inline-start: 50%;
  display: none;
  width: 9px;
  height: 9px;
  background: var(--white);
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
  transform: translateX(-50%);
}

.unit.is-mine .unit-tri {
  display: block;
}

.unit.is-selected {
  background: var(--saffron);
  box-shadow: inset 0 0 0 3px var(--ink);
  color: var(--ink);
}

.unit.is-selected .unit-x::before,
.unit.is-selected .unit-x::after {
  background: var(--ink);
}

.unit.is-mine.is-selected {
  background: var(--palm);
  color: var(--white);
  box-shadow: inset 0 0 0 3px var(--ink);
}

.unit.is-mine.is-selected .unit-x::before,
.unit.is-mine.is-selected .unit-x::after {
  background: var(--white);
}

.unit.is-available:not(.is-selected)::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--saffron);
  opacity: 0;
  pointer-events: none;
}

.unit.is-available:not(.is-selected):hover::after,
.unit.is-available:not(.is-selected):focus-visible::after {
  opacity: 0.22;
}

.groundline {
  display: flex;
  justify-content: center;
  border-block-start: 4px solid var(--indigo);
}

.ground-door {
  display: block;
  width: 42px;
  height: 26px;
  background: var(--red);
}

.legend {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 20px;
  margin-block-start: 18px;
}

.legend li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9375rem;
}

.legend-window {
  position: relative;
  flex: none;
  width: 22px;
  height: 26px;
  background: var(--white);
  border: 2px solid var(--indigo);
  border-radius: 2px;
}

.legend-window::before {
  content: "";
  position: absolute;
  inset-block: 4px 6px;
  inset-inline-start: 50%;
  width: 1px;
  background: var(--indigo);
}

.legend-window::after {
  content: "";
  position: absolute;
  inset-block-start: 9px;
  inset-inline: 3px;
  height: 1px;
  background: var(--indigo);
}

.legend-window.is-held {
  background: var(--sand);
}

.legend-window.is-choice {
  background: var(--saffron);
  box-shadow: inset 0 0 0 2px var(--ink);
}

.legend-window.is-yours {
  background: var(--palm);
}

.legend-window.is-yours::before,
.legend-window.is-yours::after {
  background: var(--white);
}

.unit-aside {
  position: sticky;
  inset-block-start: 24px;
}

.unit-sheet {
  min-height: 220px;
  padding: 20px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 2px;
}

.sheet-title {
  color: var(--indigo);
  font-family: var(--display);
  font-size: 1.625rem;
  font-weight: 600;
  line-height: 1.4;
}

.sheet-sub {
  margin-block-start: 2px;
  color: var(--muted);
}

.sheet-price {
  margin-block: 16px;
  color: var(--indigo);
  font-family: var(--display);
  font-size: 1.625rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.sheet-note {
  margin-block-end: 8px;
  color: var(--palm);
  font-weight: 500;
}

.sheet-body {
  margin-block: 12px 20px;
  max-width: 62ch;
}

.sheet-empty {
  color: var(--muted);
}

.meta-grid--sheet {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-block: 12px;
  padding-block: 12px;
}

/* ---------- bookings ---------- */

.bookings-block {
  margin-block-start: 56px;
}

.bookings-block .section-title {
  font-size: 1.625rem;
}

.booking-row {
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr) auto;
  gap: 20px;
  align-items: start;
  padding: 16px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 2px;
}

.booking-row + .booking-row {
  margin-block-start: 12px;
}

.booking-shot {
  width: 140px;
  height: 100px;
}

.booking-body {
  min-width: 0;
}

.booking-title {
  color: var(--ink);
  font-size: 1.0625rem;
  font-weight: 600;
  line-height: 1.6;
}

.booking-loc {
  color: var(--muted);
  font-size: 0.9375rem;
}

.booking-when {
  margin-block-start: 4px;
  color: var(--indigo);
  font-weight: 500;
}

.booking-note {
  max-width: 62ch;
  color: var(--muted);
  font-size: 0.9375rem;
}

.booking-side {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}

.booking-price {
  color: var(--indigo);
  font-family: var(--display);
  font-size: 1.25rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.booking-row.is-cancelled {
  background: var(--gypsum);
}

.booking-row.is-cancelled .booking-title,
.booking-row.is-cancelled .booking-when {
  color: var(--muted);
}

.booking-row.is-cancelled .booking-shot {
  opacity: 0.55;
}

.unit-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: 140px;
  min-height: 100px;
  padding: 8px;
  background: var(--gypsum);
  border: 1px solid var(--line);
  border-radius: 2px;
  text-align: center;
}

.unit-badge-code {
  color: var(--indigo);
  font-family: var(--display);
  font-size: 1.625rem;
  font-weight: 600;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}

.unit-badge-project {
  color: var(--muted);
  font-size: 0.8125rem;
  line-height: 1.4;
}

/* ---------- dialog ---------- */

.dialog {
  width: calc(100% - 32px);
  max-width: 440px;
  max-height: calc(100vh - 32px);
  max-height: calc(100dvh - 32px);
  overflow-y: auto;
  padding: 0;
  background: var(--white);
  border: 0;
  border-radius: 2px;
  color: var(--ink);
  box-shadow: 0 18px 48px rgba(15, 34, 51, 0.28);
}

.dialog::backdrop {
  background: rgba(15, 34, 51, 0.55);
}

.dialog-panel {
  position: relative;
  padding: 28px;
}

.dialog-close {
  position: absolute;
  inset-block-start: 10px;
  inset-inline-end: 10px;
  width: 40px;
  height: 40px;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 2px;
  color: var(--muted);
  font-family: var(--text);
  font-size: 1.625rem;
  line-height: 1;
  cursor: pointer;
}

.dialog-close:hover {
  color: var(--ink);
}

.dialog-title {
  margin-block-end: 8px;
  color: var(--indigo);
  font-family: var(--display);
  font-size: 1.625rem;
  font-weight: 600;
  line-height: 1.4;
}

.dialog-intro {
  margin-block-end: 20px;
  color: var(--muted);
  font-size: 0.9375rem;
}

.dialog-body {
  max-width: 62ch;
  margin-block: 8px 24px;
}

.dialog-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px;
}

.auth-tabs {
  display: flex;
  margin-block-end: 20px;
  border-block-end: 1px solid var(--line);
}

.auth-tab {
  flex: 1;
  padding: 10px;
  background: none;
  border: 0;
  border-block-end: 2px solid transparent;
  border-radius: 0;
  color: var(--muted);
  font-family: var(--text);
  font-size: 0.9375rem;
  font-weight: 500;
  cursor: pointer;
}

.auth-tab.is-on {
  color: var(--indigo);
  border-block-end-color: var(--red);
}

.auth-form .field {
  margin-block-end: 14px;
}

.password-wrap {
  position: relative;
}

.password-wrap .input {
  padding-inline-end: 68px;
}

.pw-toggle {
  position: absolute;
  inset-block-start: 50%;
  inset-inline-end: 8px;
  padding: 4px;
  background: transparent;
  border: 0;
  color: var(--indigo);
  font-family: var(--text);
  font-size: 0.8125rem;
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
  transform: translateY(-50%);
}

.auth-form .btn-block {
  margin-block-start: 8px;
}

/* ---------- toast ---------- */

.toast {
  position: fixed;
  inset-block-end: 24px;
  inset-inline-start: 50%;
  z-index: 120;
  width: max-content;
  max-width: calc(100vw - 32px);
  padding: 12px 18px;
  background: var(--white);
  border: 1px solid var(--indigo);
  border-radius: 2px;
  color: var(--ink);
  font-size: 0.9375rem;
  line-height: 1.6;
  opacity: 0;
  visibility: hidden;
  transform: translateX(-50%);
}

.toast.is-on {
  opacity: 1;
  visibility: visible;
}

/* ---------- responsive ---------- */

@media (max-width: 1179px) and (min-width: 1000px) {
  .hero-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
  }

  .hero-copy {
    flex-basis: 380px;
  }

  html[lang="en"] .hero-copy {
    flex-basis: 460px;
  }

  .hero-top {
    gap: 24px;
  }
}

@media (min-width: 1000px) and (max-width: 1149px) {
  .hero .quick-search {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .hero .quick-purpose {
    grid-column: 1 / -1;
  }

  .hero .quick-select {
    width: 100%;
  }
}

@media (max-width: 999px) {
  .hero {
    align-items: flex-start;
    min-height: 0;
    padding-block: 112px 64px;
  }

  .hero-top {
    flex-direction: column;
    align-items: stretch;
    gap: 40px;
  }

  .hero-copy {
    flex: 0 0 auto;
    max-width: none;
  }

  .hero-doors {
    flex: 0 0 auto;
    justify-content: center;
    width: 100%;
  }

  .hero-door--1 {
    flex: 1.2 1 0;
  }

  .hero-door--2 {
    flex: 1 1 0;
  }

  .hero-door--3 {
    flex: 0.8 1 0;
  }

  .hero-door--1 .door-mask {
    height: 300px;
  }

  .hero-door--2 .door-mask {
    height: 250px;
  }

  .hero-door--3 .door-mask {
    height: 210px;
  }

  .grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .filters {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .filter-purpose {
    grid-column: 1 / -1;
  }

  .filter-purpose .seg {
    max-width: 360px;
  }

  .detail-grid,
  .facade-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }

  .booking-aside,
  .unit-aside {
    position: static;
  }

  .project-head {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }

  .project-photo .door {
    height: 260px;
  }

  .project-panel {
    grid-template-columns: minmax(0, 1fr);
  }

  .project-shot {
    border-inline-end: 0;
    border-block-end: 1px solid var(--line);
  }

  .project-shot .door {
    height: 220px;
  }

  .sk-panel {
    grid-template-columns: minmax(0, 1fr);
  }

  .sk-panel-shot {
    height: 200px;
  }

  .gallery-door {
    height: 400px;
  }

  .gallery-second .gallery-door {
    height: 350px;
  }

  .sk-gallery-main {
    height: 400px;
  }

  .sk-gallery-second {
    height: 350px;
  }
}

@media (max-width: 860px) {
  .header-inner {
    gap: 12px;
    padding-block: 12px;
    min-height: 64px;
  }

  .menu-toggle {
    display: block;
    order: 3;
  }

  .header-end {
    order: 2;
    margin-inline-start: auto;
  }

  .site-nav {
    display: none;
    order: 4;
    flex-basis: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding-block: 6px;
  }

  .site-nav.is-open {
    display: flex;
  }

  .nav-link {
    width: 100%;
    padding: 12px 0;
    border-block-end: 1px solid rgba(255, 255, 255, 0.2);
    text-align: start;
  }

  .site-nav .nav-link:last-child {
    border-block-end: 0;
  }

  .brand {
    order: 1;
  }

  .hero {
    padding-block-start: 104px;
  }
}

@media (max-width: 699px) {
  .wrap {
    padding-inline: 16px;
  }

  .hero {
    padding-block-end: 76px;
  }

  .section {
    padding-block-start: 56px;
  }

  .section:last-child {
    padding-block-end: 56px;
  }

  .page {
    padding-block: 24px 56px;
  }

  .section-title,
  .page-title {
    font-size: 1.625rem;
  }

  .bookings-block .section-title {
    font-size: 1.25rem;
  }

  .hero-title {
    font-size: clamp(2.5rem, 11vw, 3.25rem);
  }

  .hero-doors {
    gap: 10px;
  }

  .hero-door--1 .door-mask {
    height: 220px;
  }

  .hero-door--2 .door-mask {
    height: 180px;
  }

  .hero-door--3 .door-mask {
    height: 150px;
  }

  .hero-door-caption {
    font-size: 0.8125rem;
    line-height: 1.5;
  }

  .quick-search {
    display: grid;
    grid-template-columns: 1fr auto;
  }

  .quick-purpose {
    grid-column: 1 / -1;
  }

  .quick-select {
    width: 100%;
  }

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

  .filters {
    grid-template-columns: minmax(0, 1fr);
  }

  .filter-purpose {
    grid-column: auto;
  }

  .filter-purpose .seg {
    max-width: none;
  }

  .steps {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }

  .meta-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .features {
    grid-template-columns: minmax(0, 1fr);
  }

  .license-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .gallery {
    gap: 12px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
  }

  .gallery-item {
    flex: 0 0 85%;
    scroll-snap-align: start;
  }

  .gallery-main,
  .gallery-second {
    flex-basis: 85%;
  }

  .gallery-door {
    height: 320px;
  }

  .gallery-second .gallery-door {
    height: 300px;
  }

  .detail-price {
    font-size: 1.625rem;
  }

  .booking-panel {
    padding: 16px;
  }

  .slots {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .day {
    width: 58px;
    min-height: 78px;
  }

  .booking-row {
    grid-template-columns: 96px minmax(0, 1fr);
    gap: 12px;
  }

  .booking-shot,
  .unit-badge {
    width: 96px;
    height: 84px;
    min-height: 84px;
  }

  .booking-side {
    grid-column: 1 / -1;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-pyramid {
    align-self: flex-end;
  }

  .sk-gallery-main,
  .sk-gallery-second {
    height: 300px;
    flex: 0 0 85%;
  }

  .sk-row {
    grid-template-columns: 96px minmax(0, 1fr);
  }

  .sk-row-shot {
    height: 84px;
  }

  :root {
    --unit-w: 46px;
  }

  .unit {
    height: 62px;
  }

  .floor-row {
    gap: 8px;
    padding-inline: 10px;
  }

  .building {
    margin-inline: 0;
  }

  .parapet i:nth-child(1),
  .parapet i:nth-child(7) {
    height: 6px;
  }

  .parapet i:nth-child(2),
  .parapet i:nth-child(6) {
    height: 12px;
  }

  .parapet i:nth-child(3),
  .parapet i:nth-child(5) {
    height: 18px;
  }

  .parapet i:nth-child(4) {
    height: 24px;
  }

  .facade-layout {
    margin-block-start: 40px;
  }
}

@media (max-width: 419px) {
  .brand-word {
    font-size: 1.25rem;
  }

  .lang-btn {
    padding: 6px 8px;
  }

  .header-end {
    gap: 8px;
  }

  .header-inner {
    gap: 8px;
  }

  .slots {
    gap: 6px;
  }

  .slot {
    font-size: 0.9375rem;
  }

  .dialog-panel {
    padding: 22px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-delay: 0ms !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }

  .hero-doors.is-animated .hero-door .door {
    animation: none;
    transform: none;
  }
}
