:root {
  --color-ink: #111816;
  --color-ink-soft: #59625e;
  --color-paper: #f8f5ef;
  --color-cream: #eee7db;
  --color-line: #d7cdbd;
  --color-green: #173c31;
  --color-blue: #5f8793;
  --color-sky: #b9d0d5;
  --color-brass: #b79a6c;
  --color-charcoal: #10231d;
  --shadow-soft: 0 28px 70px rgba(12, 18, 16, 0.18);
  --max-width: 1220px;
  --header-height: 82px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--color-paper);
  color: var(--color-ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  letter-spacing: 0;
}

body.nav-open,
body.lightbox-open {
  overflow: hidden;
}

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

a {
  color: inherit;
}

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

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  transform: translateY(-140%);
  background: var(--color-ink);
  color: #fff;
  padding: 10px 14px;
  border-radius: 4px;
  text-decoration: none;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  min-height: var(--header-height);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 32px;
  padding: 16px 40px;
  color: rgba(255, 255, 255, 0.92);
  background: rgba(7, 17, 15, 0.24);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(16px);
  transition: background 180ms ease, border-color 180ms ease, box-shadow 180ms ease, color 180ms ease;
}

.site-header.is-scrolled {
  color: var(--color-ink);
  background: rgba(248, 245, 239, 0.96);
  border-bottom-color: rgba(215, 205, 189, 0.84);
  box-shadow: 0 18px 44px rgba(12, 18, 16, 0.08);
}

.brand {
  display: inline-flex;
  align-items: center;
  width: 112px;
  text-decoration: none;
}

.brand img,
.site-footer img {
  width: 100%;
  height: auto;
}

.site-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
  color: inherit;
  font-size: 0.9rem;
  font-weight: 900;
  text-transform: uppercase;
}

.site-nav a,
.header-phone,
.text-link {
  text-decoration: none;
}

.site-nav a {
  position: relative;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8px;
  height: 1px;
  background: var(--color-brass);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  transform: scaleX(1);
}

.header-phone {
  justify-self: end;
  color: inherit;
  font-size: 0.95rem;
  font-weight: 900;
  white-space: nowrap;
}

.nav-toggle {
  display: none;
}

.hero {
  position: relative;
  min-height: 86svh;
  overflow: hidden;
  display: grid;
  align-items: end;
  padding: calc(var(--header-height) + 92px) 40px 64px;
  background: var(--color-charcoal);
}

.hero__media,
.hero__overlay {
  position: absolute;
  inset: 0;
}

.hero__media {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.86) contrast(1.05);
}

.hero__overlay {
  background:
    linear-gradient(90deg, rgba(5, 13, 12, 0.62) 0%, rgba(5, 13, 12, 0.34) 38%, rgba(5, 13, 12, 0.08) 100%),
    linear-gradient(0deg, rgba(5, 13, 12, 0.42) 0%, rgba(5, 13, 12, 0.02) 58%);
}

.hero__content {
  position: relative;
  z-index: 1;
  width: min(100%, var(--max-width));
  min-width: 0;
  margin: 0 auto;
  color: #fff;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--color-brass);
  font-size: 0.74rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0;
}

.eyebrow--dark {
  color: var(--color-green);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  line-height: 1.05;
  letter-spacing: 0;
  overflow-wrap: break-word;
}

h1 {
  max-width: 760px;
  margin-bottom: 22px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 5.9rem;
  font-weight: 400;
}

h2 {
  margin-bottom: 24px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 3.5rem;
  font-weight: 400;
}

h3 {
  margin-bottom: 12px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.38rem;
  font-weight: 400;
}

.hero__lead {
  max-width: 680px;
  margin-bottom: 18px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2rem;
  line-height: 1.18;
  overflow-wrap: break-word;
}

.hero__copy {
  max-width: 560px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.02rem;
  overflow-wrap: break-word;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 34px 0 22px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 13px 22px;
  border: 1px solid transparent;
  border-radius: 3px;
  color: var(--color-ink);
  font-size: 0.78rem;
  font-weight: 900;
  line-height: 1.15;
  text-decoration: none;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, color 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.button--primary {
  background: var(--color-brass);
  color: #07110f;
}

.button--light {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.34);
  color: #fff;
}

.button--outline {
  background: transparent;
  border-color: var(--color-brass);
  color: var(--color-green);
}

.hero__facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  width: min(100%, 980px);
  margin: 16px 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
}

.hero__facts div {
  padding: 18px 20px 18px 0;
  border-right: 1px solid rgba(255, 255, 255, 0.14);
}

.hero__facts div + div {
  padding-left: 20px;
}

.hero__facts dt {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.hero__facts dd {
  margin: 4px 0 0;
  font-size: 1rem;
  font-weight: 700;
  overflow-wrap: break-word;
}

.section {
  padding: 128px 40px;
}

.section--compact {
  padding-top: 56px;
}

.intro.section {
  padding-top: 82px;
}

.section--muted {
  background: var(--color-cream);
}

.section--dark {
  background: var(--color-charcoal);
  color: #fff;
}

.section__inner {
  width: min(100%, var(--max-width));
  margin: 0 auto;
}

.section__header {
  max-width: 760px;
  margin-bottom: 48px;
}

.section__header--split {
  max-width: none;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) auto;
  align-items: end;
  gap: 34px;
}

.section p {
  color: var(--color-ink-soft);
}

.section--dark p,
.section--image p {
  color: rgba(255, 255, 255, 0.78);
}

.intro__grid,
.architecture__grid,
.plans__grid,
.quality__grid,
.location__grid,
.contact__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 84px;
  align-items: center;
}

.intro__image,
.architecture__media,
.plan-viewer,
.apartment-preview,
.location__panel,
.lead-form,
.contact-card {
  border-radius: 4px;
}

.intro__image,
.architecture__media {
  overflow: hidden;
  box-shadow: 0 1px 0 rgba(17, 24, 22, 0.08);
}

.intro__image img,
.architecture__media img {
  width: 100%;
  height: auto;
  object-fit: contain;
  filter: saturate(0.9);
}

.benefit-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--color-line);
  border-left: 1px solid var(--color-line);
}

.benefit {
  min-height: 300px;
  padding: 34px 30px;
  border-right: 1px solid var(--color-line);
  border-bottom: 1px solid var(--color-line);
  background: rgba(255, 255, 255, 0.22);
}

.benefit__number {
  display: block;
  margin-bottom: 66px;
  color: var(--color-brass);
  font-size: 0.78rem;
  font-weight: 900;
}

.benefit p {
  margin-bottom: 0;
}

.check-list {
  display: grid;
  gap: 12px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 28px;
  color: rgba(255, 255, 255, 0.84);
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-brass);
}

.text-link {
  color: var(--color-green);
  font-weight: 900;
  border-bottom: 1px solid var(--color-brass);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  grid-auto-rows: 210px;
  gap: 16px;
}

.gallery-block {
  display: grid;
  gap: 22px;
}

.gallery-block + .gallery-block {
  margin-top: 72px;
}

.gallery-block__header {
  display: grid;
  grid-template-columns: minmax(0, 0.42fr) minmax(0, 0.58fr);
  gap: 28px;
  align-items: end;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--color-line);
}

.gallery-block__header h3 {
  margin-bottom: 0;
}

.gallery-block__header p {
  margin-bottom: 0;
}

.gallery-item {
  position: relative;
  min-width: 0;
  overflow: hidden;
  padding: 0;
  border: 0;
  border-radius: 4px;
  background: var(--color-cream);
  cursor: zoom-in;
}

.gallery-item--large {
  grid-column: span 3;
  grid-row: span 2;
}

.gallery-item:not(.gallery-item--large) {
  grid-column: span 3;
}

.gallery-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(5, 13, 12, 0.56) 0%, rgba(5, 13, 12, 0) 56%);
  pointer-events: none;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.9);
  transition: transform 420ms ease, filter 420ms ease;
}

.gallery-item:hover img,
.gallery-item:focus-visible img {
  transform: scale(1.035);
  filter: saturate(1);
}

.gallery-item span {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  z-index: 1;
  display: inline-flex;
  width: fit-content;
  max-width: calc(100% - 36px);
  padding: 8px 0;
  color: #fff;
  font-size: 0.86rem;
  font-weight: 900;
  text-align: left;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.56);
  text-transform: uppercase;
}

.plan-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 32px 0 20px;
}

.plan-tab {
  min-height: 44px;
  padding: 9px 15px;
  border: 1px solid var(--color-line);
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.44);
  color: var(--color-ink-soft);
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
  cursor: pointer;
}

.plan-tab.is-active {
  background: var(--color-green);
  border-color: var(--color-green);
  color: #fff;
}

.plan-note {
  display: grid;
  gap: 4px;
  padding-left: 16px;
  border-left: 2px solid var(--color-brass);
}

.plan-note strong {
  font-size: 1.05rem;
}

.plan-note span {
  color: var(--color-ink-soft);
}

.room-filter {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 28px;
}

.room-filter span {
  width: 100%;
  color: var(--color-green);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.room-filter__button {
  min-height: 42px;
  padding: 9px 16px;
  border: 1px solid var(--color-line);
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.44);
  color: var(--color-ink-soft);
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
  cursor: pointer;
}

.room-filter__button.is-active {
  border-color: var(--color-brass);
  background: var(--color-brass);
  color: var(--color-charcoal);
}

.plans__visuals {
  display: grid;
  gap: 18px;
}

.plan-viewer {
  overflow: auto;
  background: #fff;
  border: 1px solid var(--color-line);
  box-shadow: 0 24px 70px rgba(12, 18, 16, 0.14);
}

.plan-viewer img {
  width: 100%;
  min-width: 650px;
  height: auto;
}

.apartment-picker {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--color-line);
}

.apartment-picker__label {
  margin-bottom: 12px;
  color: var(--color-green);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.apartment-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.apartment-chip {
  min-height: 40px;
  padding: 8px 12px;
  border: 1px solid var(--color-line);
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.42);
  color: var(--color-ink);
  font-size: 0.82rem;
  font-weight: 900;
  cursor: pointer;
}

.apartment-chip.is-active {
  border-color: var(--color-brass);
  background: var(--color-brass);
  color: var(--color-charcoal);
}

.apartment-output {
  margin: 14px 0 0;
  font-size: 0.95rem;
}

.apartment-preview {
  display: grid;
  gap: 16px;
  padding: 24px;
  border: 1px solid var(--color-line);
  background: rgba(255, 255, 255, 0.44);
}

.apartment-preview__label {
  margin-bottom: 8px;
  color: var(--color-green);
  font-size: 0.74rem;
  font-weight: 900;
  text-transform: uppercase;
}

.apartment-preview h3 {
  margin-bottom: 8px;
  font-size: 1.5rem;
}

.apartment-preview p {
  margin-bottom: 0;
}

.apartment-preview img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  border: 1px solid var(--color-line);
  background: #fff;
}

.quality__grid {
  grid-template-columns: 1fr;
  gap: 42px;
  align-items: start;
}

.quality__content {
  max-width: 920px;
}

.quality__statement {
  margin-bottom: 0;
  font-size: 1.08rem;
}

.quality__statement strong {
  display: block;
  margin-top: 16px;
  color: var(--color-green);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.75rem;
  font-weight: 400;
  line-height: 1.15;
}

.quality-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.quality-list article {
  min-height: 150px;
  padding: 24px 26px;
  border: 1px solid var(--color-line);
  border-radius: 4px;
  background: rgba(238, 231, 219, 0.72);
}

.quality-card--full {
  grid-column: 1 / -1;
  min-height: 172px;
}

.quality-list h3 {
  margin-bottom: 18px;
  font-size: 1.12rem;
  font-weight: 700;
}

.quality-list p {
  margin-bottom: 0;
  font-size: 1rem;
  line-height: 1.32;
}

.section--image {
  position: relative;
  min-height: 720px;
  display: grid;
  align-items: end;
  overflow: hidden;
  padding-top: 160px;
  background: var(--color-charcoal);
  color: #fff;
}

.section--image > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.82;
  filter: saturate(0.88) contrast(1.02);
}

.section--image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(5, 16, 16, 0.86) 0%, rgba(5, 16, 16, 0.12) 68%);
}

.lifestyle__content {
  position: relative;
  z-index: 1;
  max-width: 780px;
}

.location__panel {
  padding: 34px;
  border: 1px solid var(--color-line);
  background: rgba(255, 255, 255, 0.34);
}

.map-frame {
  overflow: hidden;
  margin-bottom: 28px;
  border: 1px solid var(--color-line);
  border-radius: 4px;
  background: var(--color-cream);
}

.map-frame iframe {
  display: block;
  width: 100%;
  height: 320px;
  border: 0;
}

.location__panel dl {
  display: grid;
  gap: 22px;
  margin: 0 0 30px;
}

.location__panel dt {
  color: var(--color-green);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.location__panel dd {
  margin: 4px 0 0;
  color: var(--color-ink-soft);
}

.contact__grid {
  align-items: start;
}

.contact-card {
  display: grid;
  gap: 10px;
  margin-top: 34px;
  padding: 26px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.contact-card a {
  color: #fff;
  font-weight: 900;
  text-decoration: none;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 10px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.social-links a {
  color: var(--color-brass);
}

.developer-card {
  display: grid;
  gap: 6px;
  margin-top: 18px;
  padding: 24px 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  color: rgba(255, 255, 255, 0.78);
}

.developer-card__label {
  margin-bottom: 4px;
  color: var(--color-brass);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.developer-card strong {
  color: #fff;
  font-size: 1.05rem;
}

.developer-card a {
  color: #fff;
  font-weight: 800;
  text-decoration: none;
}

.lead-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding: 34px;
  background: var(--color-paper);
  color: var(--color-ink);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.26);
}

.form-row {
  display: grid;
  gap: 8px;
}

.form-row--full {
  grid-column: 1 / -1;
}

label {
  color: var(--color-ink-soft);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--color-line);
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.56);
  color: var(--color-ink);
  padding: 13px 14px;
  outline: none;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

textarea {
  resize: vertical;
}

.consent-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--color-ink-soft);
  font-size: 0.86rem;
  font-weight: 700;
  line-height: 1.45;
  text-transform: none;
}

.consent-row input {
  width: 18px;
  min-width: 18px;
  height: 18px;
  margin-top: 2px;
  padding: 0;
}

.consent-row a {
  color: var(--color-green);
  font-weight: 900;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--color-brass);
  box-shadow: 0 0 0 3px rgba(183, 154, 108, 0.18);
}

.form-status {
  min-height: 24px;
  margin: 0;
  color: var(--color-ink-soft);
  font-weight: 900;
}

.form-status.is-error {
  color: #a43624;
}

.form-status.is-success {
  color: var(--color-green);
}

.form-field-error {
  grid-column: 1 / -1;
  margin: -8px 0 4px;
  color: #a43624;
  font-size: 0.86rem;
  font-weight: 800;
}

.lead-form [aria-invalid="true"] {
  border-color: #a43624;
}

.lead-form button[disabled],
.lead-form button.is-busy {
  cursor: wait;
  opacity: 0.72;
}

.cuza1-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.site-footer {
  padding: 34px 40px;
  background: #06100e;
  color: rgba(255, 255, 255, 0.72);
}

.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.footer__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px 18px;
}

.site-footer img {
  width: 104px;
  padding: 4px;
  border-radius: 3px;
  background: #fff;
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  color: #fff;
  font-weight: 900;
  text-decoration: none;
}

.legal-page {
  background: var(--color-paper);
}

.legal-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 40px;
  border-bottom: 1px solid var(--color-line);
  background: rgba(248, 245, 239, 0.96);
}

.legal-top .brand {
  width: 118px;
}

.legal-main {
  width: min(100% - 80px, 980px);
  margin: 0 auto;
  padding: 82px 0 112px;
}

.legal-main h1 {
  max-width: 860px;
  color: var(--color-green);
  font-size: 4.1rem;
}

.legal-content {
  display: grid;
  gap: 18px;
  margin-top: 42px;
  padding-top: 42px;
  border-top: 1px solid var(--color-line);
}

.legal-content h2 {
  margin: 28px 0 0;
  color: var(--color-green);
  font-size: 1.72rem;
}

.legal-content p,
.legal-content li {
  color: var(--color-ink-soft);
}

.legal-content ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 22px;
}

.legal-content a {
  color: var(--color-green);
  font-weight: 900;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 28px;
  background: rgba(4, 10, 10, 0.9);
}

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

.lightbox__figure {
  width: min(100%, 1120px);
  margin: 0;
  color: #fff;
}

.lightbox__figure img {
  width: 100%;
  max-height: 78svh;
  object-fit: contain;
  border-radius: 4px;
}

.lightbox__figure figcaption {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin-top: 12px;
  font-weight: 900;
}

.lightbox__close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
}

.lightbox__nav {
  position: absolute;
  top: 50%;
  z-index: 1;
  width: 52px;
  height: 72px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 2.7rem;
  line-height: 1;
  cursor: pointer;
  transform: translateY(-50%);
}

.lightbox__nav--prev {
  left: 22px;
}

.lightbox__nav--next {
  right: 22px;
}

.lightbox__nav:hover,
.lightbox__nav:focus-visible,
.lightbox__close:hover,
.lightbox__close:focus-visible {
  background: rgba(255, 255, 255, 0.18);
}

[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 520ms ease, transform 520ms ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (min-width: 1400px) {
  h1 {
    font-size: 6.7rem;
  }

  h2 {
    font-size: 3.9rem;
  }
}

@media (max-width: 1020px) {
  .site-header {
    grid-template-columns: auto auto 1fr;
    gap: 16px;
    padding: 12px 20px;
  }

  .nav-toggle {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    justify-self: start;
    min-height: 42px;
    padding: 8px 11px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 3px;
    background: rgba(255, 255, 255, 0.08);
    color: inherit;
    font-weight: 900;
    cursor: pointer;
  }

  .site-header.is-scrolled .nav-toggle {
    border-color: var(--color-line);
    background: rgba(255, 255, 255, 0.56);
  }

  .nav-toggle__bars,
  .nav-toggle__bars::before,
  .nav-toggle__bars::after {
    display: block;
    width: 18px;
    height: 2px;
    background: currentColor;
    border-radius: 999px;
  }

  .nav-toggle__bars {
    position: relative;
  }

  .nav-toggle__bars::before,
  .nav-toggle__bars::after {
    content: "";
    position: absolute;
    left: 0;
  }

  .nav-toggle__bars::before {
    top: -6px;
  }

  .nav-toggle__bars::after {
    top: 6px;
  }

  .site-nav {
    position: fixed;
    top: var(--header-height);
    left: 16px;
    right: 16px;
    display: none;
    grid-auto-flow: row;
    justify-content: stretch;
    gap: 0;
    padding: 10px;
    border: 1px solid var(--color-line);
    border-radius: 4px;
    background: var(--color-paper);
    color: var(--color-ink);
    box-shadow: var(--shadow-soft);
  }

  body.nav-open .site-nav {
    display: grid;
  }

  .site-nav a {
    padding: 13px 12px;
    border-radius: 3px;
  }

  .site-nav a:hover,
  .site-nav a:focus-visible {
    background: var(--color-cream);
  }

  .site-nav a::after {
    display: none;
  }

  .header-phone {
    grid-column: 3;
  }

  h1 {
    font-size: 4.2rem;
  }

  h2 {
    font-size: 2.75rem;
  }

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

  .intro__grid,
  .architecture__grid,
  .plans__grid,
  .quality__grid,
  .location__grid,
  .contact__grid {
    grid-template-columns: 1fr;
    gap: 54px;
  }

  .architecture__media {
    order: 2;
  }

  .architecture__content {
    order: 1;
  }

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

  .gallery-item,
  .gallery-item--large,
  .gallery-item:not(.gallery-item--large) {
    grid-column: auto;
  }

  .lightbox {
    padding-inline: 86px;
  }
}

@media (max-width: 720px) {
  :root {
    --header-height: 68px;
  }

  .site-header {
    grid-template-columns: auto auto;
    justify-content: space-between;
    padding: 10px 16px;
  }

  .nav-toggle {
    position: absolute;
    top: 50%;
    left: 130px;
    right: auto;
    color: var(--color-ink);
    background: rgba(255, 255, 255, 0.86);
    border-color: rgba(255, 255, 255, 0.72);
    transform: translateY(-50%);
  }

  .brand {
    width: 98px;
  }

  .nav-toggle__label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
  }

  .header-phone {
    display: none;
  }

  .hero {
    min-height: 82svh;
    padding: calc(var(--header-height) + 56px) 18px 34px;
  }

  .hero__overlay {
    background:
      linear-gradient(90deg, rgba(5, 13, 12, 0.68) 0%, rgba(5, 13, 12, 0.48) 58%, rgba(5, 13, 12, 0.16) 100%),
      linear-gradient(0deg, rgba(5, 13, 12, 0.48) 0%, rgba(5, 13, 12, 0.04) 52%);
  }

  h1 {
    max-width: 100%;
    font-size: 2.7rem;
  }

  h2 {
    font-size: 2.05rem;
  }

  .hero__lead {
    max-width: 100%;
    font-size: 1.36rem;
  }

  .hero__copy {
    max-width: 100%;
  }

  .hero__actions,
  .button {
    width: 100%;
  }

  .hero__facts {
    grid-template-columns: 1fr 1fr;
  }

  .hero__facts div {
    padding: 13px 10px 13px 0;
  }

  .hero__facts div + div {
    padding-left: 13px;
  }

  .hero__facts dd {
    font-size: 0.9rem;
  }

  .section {
    padding: 72px 18px;
  }

  .intro.section {
    padding-top: 48px;
  }

  .section--compact {
    padding-top: 28px;
  }

  .section__header--split {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .gallery-block__header {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .benefit-grid,
  .quality-list,
  .lead-form {
    grid-template-columns: 1fr;
  }

  .benefit {
    min-height: auto;
  }

  .benefit__number {
    margin-bottom: 18px;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 260px;
  }

  .gallery-item--large {
    grid-row: auto;
  }

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

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

  .room-filter span {
    grid-column: 1 / -1;
  }

  .plan-tab {
    padding-inline: 10px;
  }

  .plan-viewer img {
    min-width: 760px;
  }

  .quality-list article {
    min-height: auto;
  }

  .quality-card--full {
    grid-column: 1 / -1;
  }

  .quality__statement strong {
    font-size: 1.42rem;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .lightbox {
    padding: 74px 18px 24px;
  }

  .lightbox__figure figcaption {
    display: grid;
    gap: 4px;
  }

  .lightbox__nav {
    top: auto;
    bottom: 18px;
    width: 48px;
    height: 48px;
    font-size: 2rem;
    transform: none;
  }

  .lightbox__nav--prev {
    left: 18px;
  }

  .lightbox__nav--next {
    right: 18px;
  }

  .section--image {
    min-height: 560px;
    padding-top: 120px;
  }

  .lead-form {
    padding: 22px;
  }

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

  .footer__links {
    justify-content: flex-start;
  }

  .legal-top {
    padding: 18px;
  }

  .legal-main {
    width: min(100% - 36px, 980px);
    padding: 56px 0 78px;
  }

  .legal-main h1 {
    font-size: 2.35rem;
  }

  .legal-content h2 {
    font-size: 1.42rem;
  }
}

@media (max-width: 600px) {
  .hero__content,
  .section__inner {
    width: min(100%, 354px);
    margin-left: 0;
    margin-right: 0;
  }

  h1 {
    font-size: 2.42rem;
  }

  h2 {
    font-size: 1.9rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
