:root {
  --ink: #111615;
  --graphite: #151b1b;
  --paper: #f2efe8;
  --paper-strong: #fffaf1;
  --sage: #8f9b87;
  --moss: #263a31;
  --copper: #c88c55;
  --mist: rgba(255, 250, 241, 0.72);
  --line: rgba(17, 22, 21, 0.14);
  --line-light: rgba(255, 250, 241, 0.18);
  --shadow: 0 32px 90px rgba(17, 22, 21, 0.3);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 20% 0%, rgba(200, 140, 85, 0.16), transparent 30%),
    linear-gradient(135deg, #eef1ea, #d9e2dc);
  min-height: 100vh;
}

body.menu-open {
  overflow: hidden;
}

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

img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: grid;
  grid-template-columns: minmax(220px, 1fr) auto minmax(160px, 1fr);
  align-items: center;
  gap: 28px;
  padding: 18px 30px;
  color: var(--paper-strong);
  mix-blend-mode: normal;
  background: linear-gradient(180deg, rgba(17, 22, 21, 0.78), rgba(17, 22, 21, 0));
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  justify-self: start;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line-light);
  border-radius: 14px;
  background: rgba(255, 250, 241, 0.08);
  font-weight: 800;
  letter-spacing: 0;
}

.brand strong,
.brand small,
.nav-links a,
.header-phone,
.eyebrow,
.button {
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.brand strong,
.brand small {
  display: block;
}

.brand small {
  margin-top: 2px;
  font-size: 11px;
  opacity: 0.76;
}

.nav-links {
  display: flex;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
}

.nav-links a {
  padding: 10px 12px;
  border: 1px solid transparent;
  border-radius: 999px;
}

.nav-links a:hover {
  border-color: var(--line-light);
  background: rgba(255, 250, 241, 0.08);
}

.header-phone {
  justify-self: end;
  font-size: 12px;
  font-weight: 800;
}

.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid currentColor;
  border-radius: 50%;
  color: inherit;
  background: transparent;
}

.menu-button span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
}

.mobile-menu {
  position: fixed;
  z-index: 19;
  inset: 0;
  padding: 100px 28px;
  background: rgba(21, 25, 22, 0.96);
  color: var(--paper-strong);
}

.mobile-menu a {
  display: block;
  padding: 18px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  font-size: 24px;
}

.scroll-stage {
  position: fixed;
  inset: 0;
  overflow: hidden;
}

.horizontal-track {
  display: flex;
  height: 100vh;
  will-change: transform;
}

.panel {
  position: relative;
  flex: 0 0 100vw;
  min-width: 100vw;
  min-height: 100vh;
  padding: 110px 5vw 58px;
  overflow: hidden;
}

.panel::after {
  content: "";
  position: absolute;
  inset: 22px;
  border: 1px solid rgba(255, 250, 241, 0.08);
  pointer-events: none;
  z-index: 0;
}

.parallax-layer {
  --layer-x: 0px;
  transform: translate3d(var(--layer-x), 0, 0);
  transition: transform 0.08s linear;
  will-change: transform;
}

.motion-media {
  --media-x: 0px;
  --media-y: 0px;
  will-change: transform;
}

.hero-panel {
  color: var(--paper-strong);
  display: grid;
  align-items: end;
}

.hero-image,
.image-wash {
  position: absolute;
  inset: 0;
}

.hero-image {
  width: 128%;
  height: 110%;
  left: -14%;
  top: -5%;
  transform: translate3d(var(--media-x), var(--media-y), 0) scale(1.04);
  transition: transform 0.08s linear;
  filter: saturate(0.76) contrast(1.08) brightness(0.66);
}

.image-wash {
  background:
    linear-gradient(90deg, rgba(17, 22, 21, 0.9), rgba(17, 22, 21, 0.52) 45%, rgba(17, 22, 21, 0.18)),
    linear-gradient(180deg, rgba(17, 22, 21, 0.1), rgba(17, 22, 21, 0.72)),
    radial-gradient(circle at 74% 20%, rgba(200, 140, 85, 0.28), transparent 34%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 880px;
  padding-bottom: 7vh;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--copper);
  font-size: 12px;
  font-weight: 900;
}

h1,
h2 {
  margin: 0;
  max-width: 1000px;
  font-weight: 850;
  letter-spacing: 0;
  line-height: 0.98;
}

h1 {
  font-size: clamp(48px, 7.5vw, 118px);
}

h2 {
  font-size: clamp(38px, 5vw, 82px);
}

.lead,
.section-copy p,
.plan-copy p {
  max-width: 650px;
  font-size: clamp(18px, 1.45vw, 24px);
  line-height: 1.5;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border: 1px solid currentColor;
  border-radius: 14px;
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
}

.button.primary {
  border-color: var(--copper);
  color: #17120d;
  background: linear-gradient(135deg, #ffd39c, var(--copper));
  box-shadow: 0 16px 34px rgba(200, 140, 85, 0.22);
}

.button.ghost {
  color: var(--paper-strong);
  background: rgba(255, 250, 241, 0.08);
  backdrop-filter: blur(14px);
}

.hero-facts {
  position: absolute;
  right: 5vw;
  bottom: 62px;
  display: grid;
  z-index: 2;
  grid-template-columns: repeat(3, 160px);
  gap: 10px;
}

.hero-facts div,
.metric,
.unit-card {
  border: 1px solid var(--line-light);
  background: rgba(255, 250, 241, 0.09);
  backdrop-filter: blur(22px);
}

.hero-facts div {
  padding: 16px;
}

.hero-facts strong,
.hero-facts span {
  display: block;
}

.hero-facts strong {
  font-size: 22px;
}

.hero-facts span {
  margin-top: 6px;
  font-size: 12px;
  opacity: 0.78;
}

.intro-panel,
.plan-panel,
.terms-panel,
.contacts-panel {
  background:
    radial-gradient(circle at 16% 20%, rgba(200, 140, 85, 0.18), transparent 26%),
    linear-gradient(120deg, #f5f1e8, #e4e9e0 58%, #d3ded9);
}

.intro-panel {
  display: grid;
  grid-template-columns: minmax(360px, 0.9fr) minmax(320px, 0.8fr) minmax(480px, 1.2fr);
  gap: 34px;
  align-items: end;
}

.section-copy {
  align-self: center;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(130px, 1fr));
  gap: 12px;
}

.metric {
  min-height: 150px;
  padding: 22px;
  border-color: var(--line);
  background: rgba(255, 250, 241, 0.62);
  border-radius: 24px;
  box-shadow: 0 18px 45px rgba(17, 22, 21, 0.08);
}

.metric strong {
  display: block;
  font-size: clamp(34px, 4vw, 58px);
  line-height: 1;
}

.metric span {
  display: block;
  margin-top: 12px;
  line-height: 1.35;
  color: rgba(21, 25, 22, 0.68);
}

.wide-photo {
  position: relative;
  height: min(72vh, 680px);
  margin: 0;
  overflow: hidden;
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.wide-photo img,
.office-showcase img,
.location-photo img,
.gallery-card img,
.finish-card img {
  filter: saturate(0.76) contrast(1.08) sepia(0.06);
}

.slow-media {
  width: 128%;
  max-width: none;
  height: 110%;
  margin-left: -14%;
  margin-top: -3%;
  transform: translate3d(var(--media-x), var(--media-y), 0) scale(1.06);
  transition: transform 0.08s linear;
}

.plan-media {
  width: 112%;
  height: 100%;
  margin-left: -6%;
  margin-top: 0;
  object-fit: contain;
}

.location-panel {
  display: grid;
  grid-template-columns: minmax(640px, 1.25fr) minmax(360px, 0.75fr);
  gap: 38px;
  align-items: center;
  color: var(--paper-strong);
  background:
    radial-gradient(circle at 8% 18%, rgba(200, 140, 85, 0.2), transparent 30%),
    linear-gradient(135deg, #111615, #24342e 64%, #151b1b);
}

.location-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(21, 25, 22, 0.12), rgba(21, 25, 22, 0.88) 68%),
    radial-gradient(circle at 74% 34%, rgba(184, 121, 69, 0.26), transparent 28%);
  z-index: 1;
}

.location-panel > * {
  position: relative;
  z-index: 2;
}

.location-photo {
  height: min(74vh, 720px);
  margin: 0;
  overflow: hidden;
  border-radius: 32px;
  box-shadow: var(--shadow);
}

.location-copy {
  max-width: 560px;
}

.location-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.location-badges span {
  padding: 11px 13px;
  border: 1px solid var(--line-light);
  border-radius: 999px;
  color: var(--paper-strong);
  background: rgba(255, 250, 241, 0.08);
  backdrop-filter: blur(14px);
}

figcaption {
  position: absolute;
  left: 16px;
  bottom: 16px;
  padding: 9px 12px;
  color: var(--paper-strong);
  border: 1px solid var(--line-light);
  border-radius: 12px;
  background: rgba(17, 22, 21, 0.56);
  backdrop-filter: blur(16px);
  font-size: 12px;
}

.offices-panel {
  display: grid;
  grid-template-columns: 0.72fr 1.25fr 0.72fr;
  gap: 28px;
  align-items: end;
  color: var(--paper-strong);
  background: var(--graphite);
}

.offices-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 12% 15%, rgba(115, 133, 109, 0.32), transparent 28%),
    radial-gradient(circle at 82% 80%, rgba(200, 140, 85, 0.12), transparent 26%),
    linear-gradient(130deg, rgba(21, 27, 27, 0.94), rgba(17, 22, 21, 0.98));
}

.offices-panel > * {
  position: relative;
}

.compact {
  align-self: end;
}

.office-showcase {
  position: relative;
  height: min(68vh, 660px);
  overflow: hidden;
  border-radius: 32px;
  box-shadow: var(--shadow);
}

.office-showcase figure {
  position: absolute;
  inset: 0;
  margin: 0;
  overflow: hidden;
  opacity: 0;
  transform: scale(1.05);
  transition: opacity 0.45s ease, transform 0.8s ease;
}

.office-showcase figure.is-active {
  opacity: 1;
  transform: scale(1);
}

.office-caption {
  position: absolute;
  left: 18px;
  bottom: 18px;
  max-width: min(420px, calc(100% - 36px));
  padding: 12px 14px;
  color: var(--paper-strong);
  border: 1px solid var(--line-light);
  border-radius: 14px;
  background: rgba(21, 25, 22, 0.66);
  backdrop-filter: blur(14px);
  z-index: 2;
}

.office-panel-side {
  display: grid;
  gap: 14px;
  align-self: stretch;
}

.unit-list {
  display: grid;
  gap: 10px;
}

.unit-card {
  width: 100%;
  font: inherit;
  color: inherit;
  text-align: left;
  padding: 18px;
  border: 1px solid var(--line-light);
  border-radius: 18px;
  background: rgba(255, 250, 241, 0.09);
  cursor: pointer;
  transition: border-color 0.25s ease, background 0.25s ease, transform 0.25s ease;
}

.unit-card.is-active {
  border-color: rgba(184, 121, 69, 0.9);
  background: rgba(200, 140, 85, 0.22);
  transform: translateX(-10px);
}

.unit-card strong {
  display: block;
  font-size: 26px;
}

.unit-card span {
  display: block;
  margin-top: 6px;
  color: rgba(255, 249, 239, 0.72);
}

.office-detail {
  min-height: 190px;
  padding: 20px;
  border: 1px solid var(--line-light);
  border-radius: 20px;
  background: rgba(255, 250, 241, 0.08);
  backdrop-filter: blur(20px);
}

.office-detail h3 {
  margin: 0 0 10px;
  font-size: 28px;
}

.office-detail p {
  margin: 0;
  color: rgba(255, 249, 239, 0.76);
  line-height: 1.45;
}

.office-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.office-tags span {
  padding: 8px 10px;
  border: 1px solid var(--line-light);
  border-radius: 999px;
  color: var(--paper-strong);
  background: rgba(255, 250, 241, 0.08);
  font-size: 12px;
}

.finishes-panel {
  display: grid;
  grid-template-columns: minmax(360px, 0.55fr) minmax(760px, 1.45fr);
  gap: 36px;
  align-items: center;
  background:
    radial-gradient(circle at 76% 24%, rgba(200, 140, 85, 0.16), transparent 30%),
    linear-gradient(120deg, #eef1ea, #dfe8e2);
}

.finish-gallery {
  display: flex;
  align-items: stretch;
  gap: 14px;
  overflow: visible;
}

.finish-card {
  position: relative;
  flex: 0 1 190px;
  min-height: 58vh;
  overflow: hidden;
  border-radius: 24px;
  background: var(--graphite);
  box-shadow: 0 20px 56px rgba(21, 25, 22, 0.16);
  transition: flex-basis 0.42s ease, transform 0.42s ease, box-shadow 0.42s ease;
}

.finish-card:nth-child(even) {
  transform: translateY(26px);
}

.finish-card:hover,
.finish-card:focus-within {
  flex-basis: clamp(360px, 28vw, 540px);
  box-shadow: 0 26px 76px rgba(21, 25, 22, 0.24);
}

.finish-card:nth-child(even):hover,
.finish-card:nth-child(even):focus-within {
  transform: translateY(12px);
}

.finish-card:hover img,
.finish-card:focus-within img {
  animation: gallery-look 5.8s ease-in-out infinite alternate;
  filter: saturate(0.88) contrast(1.12) sepia(0.04);
}

.finish-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, transparent 36%, rgba(17, 22, 21, 0.88));
}

.finish-card h3,
.finish-card p {
  position: absolute;
  left: 18px;
  right: 18px;
  z-index: 2;
  margin: 0;
}

.finish-card h3 {
  bottom: 66px;
  color: var(--paper-strong);
  font-size: clamp(22px, 1.8vw, 34px);
  line-height: 1;
}

.finish-card p {
  bottom: 20px;
  color: rgba(255, 249, 239, 0.76);
  font-size: 14px;
  line-height: 1.25;
}

.plan-panel {
  display: grid;
  grid-template-columns: minmax(360px, 0.72fr) minmax(620px, 1.28fr);
  gap: 42px;
  align-items: center;
}

.plan-frame {
  height: min(74vh, 720px);
  margin: 0;
  border-radius: 30px;
  overflow: hidden;
  background: var(--paper-strong);
  box-shadow: var(--shadow);
}

.plan-frame img {
  object-fit: contain;
  padding: 18px;
  filter: saturate(0.7) sepia(0.08);
}

.seo-panel {
  display: grid;
  grid-template-columns: minmax(360px, 0.7fr) minmax(760px, 1.3fr);
  gap: 32px;
  align-items: center;
  background:
    radial-gradient(circle at 74% 14%, rgba(200, 140, 85, 0.18), transparent 28%),
    linear-gradient(130deg, #eef1ea, #dbe5dd 58%, #f6f1e8);
}

.seo-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(140px, 1fr));
  gap: 10px;
}

.seo-card {
  display: grid;
  align-content: start;
  min-height: 132px;
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 250, 241, 0.68);
  box-shadow: 0 18px 45px rgba(17, 22, 21, 0.08);
}

.seo-card strong {
  font-size: clamp(17px, 1.1vw, 22px);
  line-height: 1.12;
}

.seo-card span {
  margin-top: 9px;
  color: rgba(21, 25, 22, 0.72);
  font-size: 13px;
  line-height: 1.3;
}

.infra-panel {
  display: grid;
  grid-template-columns: minmax(320px, 0.58fr) minmax(260px, 0.42fr) minmax(620px, 1.2fr);
  gap: 34px;
  align-items: center;
  background:
    radial-gradient(circle at 82% 20%, rgba(200, 140, 85, 0.18), transparent 28%),
    linear-gradient(120deg, #e9eee7, #dfe8e3);
}

.amenity-strip {
  display: grid;
  gap: 12px;
}

.amenity-card {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 14px;
  align-items: center;
  min-height: 92px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 250, 241, 0.58);
  box-shadow: 0 18px 45px rgba(17, 22, 21, 0.08);
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.amenity-card:hover,
.amenity-card:focus-within {
  transform: translateX(8px);
  border-color: rgba(200, 140, 85, 0.48);
  background: rgba(255, 250, 241, 0.78);
}

.amenity-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  color: #17120d;
  background: linear-gradient(135deg, #ffd39c, var(--copper));
}

.amenity-icon svg {
  width: 28px;
  height: 28px;
  stroke: currentColor;
  stroke-width: 1.8;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.amenity-card strong {
  display: block;
  margin-bottom: 4px;
  font-size: 18px;
}

.amenity-card span {
  color: rgba(17, 22, 21, 0.68);
  line-height: 1.35;
}

.gallery {
  display: flex;
  gap: 12px;
  align-items: stretch;
  overflow: visible;
}

.gallery-card {
  position: relative;
  flex: 0 1 168px;
  min-height: 50vh;
  overflow: hidden;
  border-radius: 22px;
  background: var(--graphite);
  box-shadow: 0 18px 50px rgba(21, 25, 22, 0.16);
  transition: flex-basis 0.42s ease, transform 0.42s ease, box-shadow 0.42s ease;
}

.gallery-card:nth-child(2) {
  transform: translateY(28px);
}

.gallery-card:hover,
.gallery-card:focus-within,
.gallery-card.is-peek {
  flex-basis: clamp(340px, 24vw, 480px);
  box-shadow: 0 24px 70px rgba(21, 25, 22, 0.24);
}

.gallery-card:nth-child(2):hover,
.gallery-card:nth-child(2):focus-within,
.gallery-card:nth-child(2).is-peek {
  transform: translateY(18px);
}

.gallery-card:hover img,
.gallery-card:focus-within img,
.gallery-card.is-peek img {
  animation: gallery-look 5.5s ease-in-out infinite alternate;
  filter: saturate(0.86) contrast(1.12) sepia(0.04);
}

.gallery-card h3 {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 50px;
  margin: 0;
  color: var(--paper-strong);
  font-size: clamp(20px, 1.5vw, 28px);
  z-index: 2;
}

.gallery-card p {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 16px;
  margin: 0;
  color: rgba(255, 249, 239, 0.72);
  font-size: 13px;
  line-height: 1.25;
  z-index: 2;
}

.gallery-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 34%, rgba(17, 22, 21, 0.86));
}

.gallery-card > * {
  z-index: 1;
}

@keyframes gallery-look {
  from {
    transform: translate3d(calc(var(--media-x) - 58px), calc(var(--media-y) - 10px), 0) scale(1.16);
  }

  to {
    transform: translate3d(calc(var(--media-x) + 58px), calc(var(--media-y) + 6px), 0) scale(1.16);
  }
}

.environment-panel {
  display: grid;
  align-content: end;
  color: var(--paper-strong);
  background: var(--graphite);
}

.environment-video {
  position: absolute;
  top: -6%;
  left: 50%;
  width: 132%;
  height: 112%;
  object-fit: cover;
  transform: translate3d(calc(-50% + var(--media-x)), var(--media-y), 0) scale(1.16);
  transform-origin: center;
  transition: transform 0.08s linear;
  filter: saturate(0.84) contrast(1.04) brightness(0.82);
}

.environment-wash {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(17, 22, 21, 0.12), rgba(17, 22, 21, 0.64)),
    linear-gradient(90deg, rgba(17, 22, 21, 0.52), transparent 24%, transparent 76%, rgba(17, 22, 21, 0.46));
}

.environment-copy,
.environment-note {
  position: relative;
  z-index: 2;
}

.environment-copy {
  max-width: 920px;
}

.environment-note {
  justify-self: end;
  align-self: end;
  max-width: 260px;
  padding: 14px 16px;
  border: 1px solid var(--line-light);
  border-radius: 18px;
  background: rgba(17, 22, 21, 0.58);
  backdrop-filter: blur(16px);
}

.environment-note strong,
.environment-note span {
  display: block;
}

.environment-note span {
  margin-top: 4px;
  color: rgba(255, 250, 241, 0.72);
  font-size: 13px;
  line-height: 1.35;
}

.terms-panel {
  display: grid;
  grid-template-columns: minmax(420px, 0.8fr) minmax(560px, 1.2fr);
  gap: 40px;
  align-items: center;
}

.terms-copy p {
  max-width: 680px;
  font-size: clamp(18px, 1.45vw, 24px);
  line-height: 1.5;
}

.terms-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(220px, 1fr));
  gap: 12px;
}

.term-card {
  min-height: 176px;
  padding: 22px;
  border-radius: 24px;
  border: 1px solid var(--line);
  background: rgba(255, 250, 241, 0.68);
  box-shadow: 0 18px 45px rgba(17, 22, 21, 0.08);
}

.term-card strong {
  display: block;
  margin-bottom: 14px;
  font-size: 26px;
}

.term-card span {
  display: block;
  color: rgba(21, 25, 22, 0.7);
  line-height: 1.45;
}

.contacts-panel {
  display: grid;
  grid-template-columns: 1fr minmax(380px, 520px);
  gap: 40px;
  align-items: center;
}

.contact-map {
  position: relative;
  height: min(72vh, 680px);
  overflow: hidden;
  border-radius: 32px;
  background: #1e2523;
  box-shadow: var(--shadow);
}

.yandex-map iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 1px solid rgba(255, 250, 241, 0.14);
  filter: saturate(0.82) contrast(1.02);
}

.map-source {
  position: absolute;
  left: 14px;
  z-index: 2;
  color: #eee;
  font-size: 12px;
}

.map-city {
  top: 10px;
}

.map-service {
  top: 26px;
}

.map-link {
  position: absolute;
  left: 18px;
  bottom: 18px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid var(--line-light);
  border-radius: 14px;
  color: var(--paper-strong);
  background: rgba(17, 22, 21, 0.72);
  backdrop-filter: blur(16px);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.map-link.secondary {
  background: rgba(255, 250, 241, 0.1);
}

.map-river,
.map-road {
  position: absolute;
  border-radius: 999px;
}

.map-river {
  width: 120%;
  height: 120px;
  left: -10%;
  top: 52%;
  background: #536f78;
  transform: rotate(-14deg);
}

.map-road {
  background: repeating-linear-gradient(90deg, rgba(255,255,255,0.66) 0 10px, transparent 10px 18px);
  opacity: 0.7;
}

.road-a {
  width: 96%;
  height: 4px;
  left: 5%;
  top: 42%;
  transform: rotate(18deg);
}

.road-b {
  width: 74%;
  height: 4px;
  left: 28%;
  top: 62%;
  transform: rotate(-36deg);
}

.map-pin {
  position: absolute;
  left: 48%;
  top: 45%;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--copper);
  box-shadow: 0 0 0 12px rgba(184, 121, 69, 0.18);
}

.map-pin span {
  position: absolute;
  left: 34px;
  top: -10px;
  width: 230px;
  padding: 12px;
  color: var(--paper-strong);
  background: rgba(21, 25, 22, 0.74);
}

.contact-block {
  padding: 34px;
  border-radius: 28px;
  background: rgba(255, 250, 241, 0.66);
  border: 1px solid var(--line);
  box-shadow: 0 18px 55px rgba(17, 22, 21, 0.12);
}

.contact-phone {
  display: inline-flex;
  margin-top: 12px;
  color: var(--ink);
  font-size: clamp(24px, 2vw, 34px);
  font-weight: 900;
  text-decoration: none;
}

.js-reveal-phone {
  cursor: pointer;
}

.lead-form {
  display: grid;
  gap: 14px;
  margin-top: 24px;
}

.lead-form label {
  display: grid;
  gap: 8px;
  font-weight: 700;
}

input,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px 12px;
  font: inherit;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.72);
}

textarea {
  resize: vertical;
}

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

.form-legal {
  margin: -2px 0 0;
  color: rgba(17, 22, 21, 0.62);
  font-size: 12px;
  line-height: 1.35;
}

.form-legal a {
  color: inherit;
  text-decoration: underline;
}

.site-legal-links {
  position: fixed;
  z-index: 24;
  right: 22px;
  bottom: 34px;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px 12px;
  max-width: min(720px, calc(100vw - 44px));
  padding: 10px 12px;
  border: 1px solid rgba(255, 250, 241, 0.16);
  border-radius: 14px;
  color: rgba(255, 250, 241, 0.78);
  background: rgba(17, 22, 21, 0.68);
  backdrop-filter: blur(16px);
  font-size: 12px;
}

.site-legal-links a {
  color: inherit;
  text-decoration: none;
}

.site-legal-links a:hover {
  color: var(--paper-strong);
  text-decoration: underline;
}

.site-legal-links .external-link {
  color: #ffd39c;
}

.cookie-notice {
  position: fixed;
  z-index: 26;
  left: 22px;
  bottom: 34px;
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: min(620px, calc(100vw - 44px));
  padding: 12px 14px;
  border: 1px solid rgba(255, 250, 241, 0.18);
  border-radius: 16px;
  color: var(--paper-strong);
  background: rgba(17, 22, 21, 0.82);
  box-shadow: 0 18px 45px rgba(17, 22, 21, 0.22);
  backdrop-filter: blur(18px);
  font-size: 13px;
}

.cookie-notice[hidden] {
  display: none;
}

.cookie-notice a {
  color: #ffd39c;
}

.cookie-notice button {
  width: auto;
  padding: 8px 12px;
  border: 0;
  border-radius: 10px;
  color: #111715;
  background: #ffd39c;
  font-weight: 900;
  cursor: pointer;
}

.legal-page {
  min-height: 100vh;
}

.legal-content {
  width: min(920px, calc(100% - 40px));
  margin: 0 auto;
  padding: 140px 0 80px;
}

.legal-content h1 {
  max-width: 860px;
  margin: 0 0 24px;
  font-size: clamp(42px, 6vw, 88px);
  line-height: 0.92;
}

.legal-content h2 {
  margin: 34px 0 10px;
  font-size: clamp(24px, 2.4vw, 38px);
}

.legal-content p {
  max-width: 820px;
  color: rgba(17, 22, 21, 0.76);
  font-size: clamp(17px, 1.35vw, 22px);
  line-height: 1.5;
}

.scroll-progress {
  position: fixed;
  z-index: 21;
  left: 34px;
  right: 34px;
  bottom: 24px;
  height: 2px;
  background: rgba(255, 255, 255, 0.24);
  mix-blend-mode: difference;
}

.scroll-progress span {
  display: block;
  width: 0;
  height: 100%;
  background: var(--paper-strong);
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: 1fr auto;
    padding: 18px 20px;
    mix-blend-mode: normal;
    background: rgba(21, 25, 22, 0.78);
    backdrop-filter: blur(16px);
  }

  .nav-links,
  .header-phone {
    display: none;
  }

  .menu-button {
    display: block;
  }

  .scroll-stage {
    position: static;
    overflow: visible;
  }

  .horizontal-track {
    display: block;
    height: auto;
    transform: none !important;
  }

  .panel {
    min-height: auto;
    padding: 104px 20px 44px;
  }

  .hero-panel {
    min-height: 100vh;
  }

  .hero-facts,
  .intro-panel,
  .location-panel,
  .offices-panel,
  .finishes-panel,
  .plan-panel,
  .seo-panel,
  .infra-panel,
  .terms-panel,
  .contacts-panel {
    display: grid;
    grid-template-columns: 1fr;
  }

  .parallax-layer,
  .slow-media {
    transform: none !important;
  }

  .hero-facts {
    position: relative;
    right: auto;
    bottom: auto;
    margin-top: 24px;
  }

  .office-showcase,
  .office-panel-side,
  .terms-grid,
  .finish-gallery,
  .amenity-strip,
  .seo-grid,
  .gallery {
    grid-template-columns: 1fr;
  }

  .gallery,
  .terms-grid {
    height: auto;
  }

  .gallery,
  .finish-gallery {
    flex-direction: column;
  }

  .office-showcase {
    height: 56vh;
    min-height: 360px;
  }

  .office-showcase figure,
  .wide-photo,
  .location-photo,
  .plan-frame,
  .contact-map,
  .gallery-card,
  .finish-card {
    height: 56vh;
    min-height: 360px;
  }

  .office-showcase figure {
    position: absolute;
  }

  .gallery-card:nth-child(2) {
    transform: none;
  }

  .finish-card,
  .finish-card:nth-child(even) {
    flex-basis: auto;
    transform: none;
  }

  .scroll-progress {
    display: none;
  }

  .site-legal-links,
  .cookie-notice {
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: 12px;
    max-width: none;
    justify-content: center;
  }

  .cookie-notice {
    flex-wrap: wrap;
    bottom: 82px;
  }
}

.landing-page {
  background: #eef1ea;
}

.landing-page .site-header {
  position: sticky;
  color: var(--paper-strong);
  background: rgba(17, 22, 21, 0.9);
}

.landing-main {
  color: var(--ink);
}

.landing-hero {
  display: grid;
  grid-template-columns: minmax(360px, 0.9fr) minmax(420px, 1.1fr);
  gap: 42px;
  align-items: end;
  min-height: 74vh;
  padding: 92px 6vw 54px;
  background:
    linear-gradient(90deg, rgba(17, 22, 21, 0.86), rgba(17, 22, 21, 0.42)),
    var(--landing-image) center / cover;
  color: var(--paper-strong);
}

.landing-hero h1 {
  max-width: 980px;
  font-size: clamp(42px, 6vw, 96px);
}

.landing-hero .lead {
  color: rgba(255, 250, 241, 0.84);
}

.landing-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(160px, 1fr));
  gap: 12px;
}

.landing-facts div,
.landing-card,
.faq-item {
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 250, 241, 0.72);
  box-shadow: 0 18px 45px rgba(17, 22, 21, 0.08);
}

.landing-facts div {
  padding: 18px;
  color: var(--ink);
}

.landing-facts strong,
.landing-facts span {
  display: block;
}

.landing-facts strong {
  font-size: 30px;
  line-height: 1;
}

.landing-facts span {
  margin-top: 8px;
  color: rgba(21, 25, 22, 0.7);
}

.landing-section {
  padding: 72px 6vw;
}

.landing-section.alt {
  background: linear-gradient(120deg, #f7f2e8, #e3eae3);
}

.landing-section h2 {
  margin-bottom: 24px;
}

.landing-copy {
  max-width: 980px;
  font-size: clamp(18px, 1.35vw, 23px);
  line-height: 1.55;
}

.landing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(220px, 1fr));
  gap: 14px;
  margin-top: 28px;
}

.landing-card,
.faq-item {
  padding: 22px;
}

.landing-card strong,
.faq-item strong {
  display: block;
  margin-bottom: 10px;
  font-size: 24px;
}

.landing-card p,
.faq-item p {
  margin: 0;
  color: rgba(21, 25, 22, 0.72);
  line-height: 1.45;
}

.landing-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.landing-links a {
  padding: 11px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 250, 241, 0.68);
  font-weight: 800;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(260px, 1fr));
  gap: 14px;
}

@media (max-width: 980px) {
  .landing-hero,
  .landing-grid,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .landing-hero {
    padding: 74px 20px 44px;
  }

  .landing-section {
    padding: 52px 20px;
  }
}
