/* =========================================================
   TUPOLEV PLAZA — design concept
   ========================================================= */

:root {
  --ink: #101318;
  --ink-2: #171b22;
  --ink-3: #1e232b;
  --paper: #f5f1e9;
  --paper-2: #ece5d8;
  --gold: #b68a4e;
  --gold-2: #d3ab72;
  --text: #1b1e24;
  --muted: #6d6a63;
  --line: rgba(20, 23, 28, 0.14);
  --line-light: rgba(255, 255, 255, 0.14);
  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --sans: "Inter", -apple-system, "Segoe UI", sans-serif;
  --container: 1280px;
  --pad: clamp(20px, 4vw, 56px);
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--pad);
}

/* ---------- type ---------- */

.h2 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(34px, 4.2vw, 62px);
  line-height: 1.04;
  letter-spacing: -0.015em;
  text-wrap: balance;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 26px;
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
}

.eyebrow::before {
  content: "";
  width: 42px;
  height: 1px;
  background: currentColor;
  opacity: 0.7;
}

.lead {
  font-size: clamp(18px, 1.5vw, 21px);
  line-height: 1.55;
  color: var(--text);
  margin: 0 0 22px;
}

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 17px 30px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border: 1px solid transparent;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
  white-space: nowrap;
}

.btn--gold {
  background: var(--gold);
  color: #14161a;
}

.btn--gold:hover { background: var(--gold-2); }

.btn--ghost {
  border-color: rgba(255, 255, 255, 0.42);
  color: #fff;
}

.btn--ghost:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.btn--sm { padding: 13px 22px; font-size: 11.5px; }

.btn--line {
  border-color: var(--line);
  color: var(--text);
}

.btn--line:hover { border-color: var(--ink); }

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

.hdr {
  position: fixed;
  inset: 0 0 auto;
  z-index: 60;
  transition: background 0.35s ease, box-shadow 0.35s ease, backdrop-filter 0.35s ease;
}

.hdr.is-scrolled {
  background: rgba(14, 17, 22, 0.92);
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06);
}

.hdr__inner {
  display: flex;
  align-items: center;
  gap: 26px;
  height: 86px;
  color: #fff;
}

.logo {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}

.logo__mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  font-family: var(--serif);
  font-size: 19px;
  letter-spacing: 0.04em;
  color: var(--gold-2);
}

.logo__text { display: flex; flex-direction: column; gap: 2px; }

.logo__title {
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.26em;
}

.logo__sub {
  font-size: 9.5px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}

.nav {
  display: flex;
  gap: 24px;
  margin-left: auto;
  font-size: 12.5px;
  letter-spacing: 0.05em;
}

.nav a {
  position: relative;
  padding: 6px 0;
  white-space: nowrap;
  color: rgba(255, 255, 255, 0.78);
  transition: color 0.2s ease;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  background: var(--gold-2);
  transition: width 0.25s ease;
}

.nav a:hover { color: #fff; }
.nav a:hover::after { width: 100%; }

.hdr__actions {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-left: 8px;
}

.login-btn {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 50%;
  color: #fff;
  transition: border-color 0.25s ease, color 0.25s ease, background 0.25s ease;
}

.login-btn:hover {
  border-color: var(--gold-2);
  color: var(--gold-2);
  background: rgba(255, 255, 255, 0.05);
}

.hdr__phone {
  font-size: 13.5px;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.9);
  white-space: nowrap;
}

.hdr__phone:hover { color: var(--gold-2); }

.burger {
  display: none;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.34);
  color: #fff;
}

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

.hero {
  position: relative;
  min-height: min(920px, 100vh);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: #fff;
  overflow: hidden;
}

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

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 55%;
  transform: scale(1.02);
}

.hero__overlay {
  background:
    linear-gradient(180deg, rgba(10, 12, 16, 0.72) 0%, rgba(10, 12, 16, 0.18) 34%, rgba(10, 12, 16, 0.12) 58%, rgba(10, 12, 16, 0.86) 100%),
    linear-gradient(90deg, rgba(10, 12, 16, 0.9) 0%, rgba(10, 12, 16, 0.58) 44%, rgba(10, 12, 16, 0.08) 74%);
}

.hero__content {
  position: relative;
  z-index: 2;
  padding-top: 180px;
  padding-bottom: 60px;
  max-width: calc(var(--container) + 2 * var(--pad));
}

.hero__title {
  margin: 0 0 26px;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(58px, 9.2vw, 148px);
  line-height: 0.88;
  letter-spacing: -0.03em;
}

.hero__lead {
  max-width: 520px;
  margin: 0 0 40px;
  font-size: clamp(15px, 1.2vw, 17.5px);
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.85);
  text-shadow: 0 1px 18px rgba(0, 0, 0, 0.45);
}

.hero .eyebrow { text-shadow: 0 1px 14px rgba(0, 0, 0, 0.55); }

.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; }

.hero__facts {
  position: relative;
  z-index: 2;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(10, 12, 16, 0.28);
  backdrop-filter: blur(6px);
}

.hero__facts-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding-top: 26px;
  padding-bottom: 26px;
}

.fact { display: flex; flex-direction: column; gap: 4px; }

.fact__num {
  font-family: var(--sans);
  font-weight: 500;
  font-size: clamp(22px, 2vw, 28px);
  line-height: 1.1;
  letter-spacing: 0.01em;
  color: #fff;
  font-variant-numeric: tabular-nums lining-nums;
}

.fact__lbl {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}

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

.section { padding: clamp(72px, 9vw, 130px) 0; }

/* about */

.about__grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(40px, 6vw, 96px);
}

.about__head { position: sticky; top: 120px; align-self: start; }

.about__note {
  margin: 26px 0 0;
  font-size: 14px;
  line-height: 1.7;
  color: var(--muted);
  max-width: 300px;
}

.about__body p { color: #34373d; }

.about__media {
  margin: 34px 0 44px;
}

.about__frame { position: relative; }

.about__frame img { width: 100%; height: clamp(260px, 32vw, 420px); object-fit: cover; }

.about__frame::after {
  content: "";
  position: absolute;
  inset: 16px -16px -16px 16px;
  border: 1px solid var(--gold);
  z-index: -1;
}

.about__media figcaption {
  margin-top: 14px;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.stat {
  background: var(--paper);
  padding: 22px 10px 20px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.stat b {
  font-family: var(--sans);
  font-weight: 500;
  font-size: clamp(22px, 2vw, 28px);
  line-height: 1.1;
  letter-spacing: 0.01em;
  font-variant-numeric: tabular-nums lining-nums;
}

.stat span {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

/* architecture */

.arch {
  background: var(--ink);
  color: #fff;
}

.arch__head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(30px, 5vw, 80px);
  align-items: end;
  margin-bottom: clamp(40px, 5vw, 64px);
}

.arch__text {
  margin: 0;
  font-size: 15.5px;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.62);
  max-width: 460px;
  justify-self: end;
}

.arch__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(14px, 2vw, 26px);
}

.arch__grid figure { margin: 0; }

.arch__grid img {
  width: 100%;
  height: clamp(300px, 40vw, 520px);
  object-fit: cover;
  filter: saturate(0.92);
}

.arch__grid figure:last-child img { object-position: center 60%; }

.arch__grid figcaption {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 18px 0 0;
  border-top: 1px solid var(--line-light);
  margin-top: 18px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
}

.arch__grid figcaption span {
  font-family: var(--serif);
  font-size: 21px;
  color: #fff;
}

/* advantages */

.adv { background: var(--paper-2); }

.adv__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
  margin-bottom: clamp(38px, 4vw, 60px);
}

.adv__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(20, 23, 28, 0.14);
  border: 1px solid rgba(20, 23, 28, 0.14);
}

.card {
  background: var(--paper-2);
  padding: clamp(26px, 2.6vw, 38px);
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: background 0.3s ease;
}

.card:hover { background: var(--paper); }

.card__ico {
  width: 34px;
  height: 34px;
  color: var(--gold);
  margin-bottom: 6px;
}

.card h3 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 600;
  font-size: 24px;
  line-height: 1.15;
}

.card p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.65;
  color: #4a4d53;
}

/* offices */

.offices__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
  margin-bottom: clamp(38px, 4vw, 56px);
}

.offices__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 2vw, 26px);
}

.plan {
  border: 1px solid var(--line);
  padding: clamp(26px, 3vw, 40px);
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-height: 300px;
  transition: border-color 0.3s ease, transform 0.3s ease;
}

.plan:hover { border-color: var(--gold); transform: translateY(-3px); }

.plan__tag {
  font-size: 10.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
}

.plan h3 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 600;
  font-size: 30px;
  line-height: 1.1;
}

.plan p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.65;
  color: #4a4d53;
}

.plan__more {
  margin-top: auto;
  font-size: 11.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.plan__more::after {
  content: "→";
  transition: transform 0.25s ease;
}

.plan:hover .plan__more::after { transform: translateX(5px); }

.offices__note {
  margin: 30px 0 0;
  font-size: 13.5px;
  color: var(--muted);
}

/* location */

.loc {
  background: var(--ink-2);
  color: #fff;
}

.loc__grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(36px, 5vw, 80px);
  align-items: center;
}

.loc__addr {
  margin: 30px 0 34px;
  font-family: var(--serif);
  font-size: clamp(22px, 2.1vw, 30px);
  line-height: 1.3;
  color: #fff;
}

.loc__addr small {
  display: block;
  margin-top: 10px;
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
}

.transport { display: flex; flex-direction: column; gap: 0; }

.transport__row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  padding: 15px 0;
  border-top: 1px solid var(--line-light);
  font-size: 14.5px;
}

.transport__row:last-child { border-bottom: 1px solid var(--line-light); }

.transport__row span:last-child { color: rgba(255, 255, 255, 0.55); white-space: nowrap; }

.map {
  position: relative;
  aspect-ratio: 4 / 3.2;
  border: 1px solid rgba(255, 255, 255, 0.12);
  overflow: hidden;
  background: #12161c;
}

.map__canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: #10141a;
}

.map__canvas::after {
  content: "Загружаем карту";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.34);
}

.map__canvas.leaflet-container::after { content: none; }

/* Leaflet, themed to the block */
.map .map__canvas { font-family: var(--sans); }
.map .leaflet-tile-pane {
  filter: invert(1) hue-rotate(185deg) brightness(0.92) contrast(0.88) saturate(0.45) grayscale(0.35);
}
.map .map__canvas .leaflet-control-zoom { border: 1px solid rgba(255, 255, 255, 0.16) !important; box-shadow: none; }
.map .map__canvas .leaflet-control-zoom a {
  background: rgba(16, 19, 24, 0.94);
  color: #e9e4da;
  border-color: rgba(255, 255, 255, 0.12);
  width: 32px;
  height: 32px;
  line-height: 31px;
  font-size: 18px;
}
.map .map__canvas .leaflet-control-zoom a:hover { background: #1e232c; color: #fff; }
.map .map__canvas .leaflet-control-zoom a.leaflet-disabled { color: rgba(255, 255, 255, 0.25); }
.map .map__canvas .leaflet-control-attribution {
  background: rgba(11, 14, 18, 0.74);
  color: rgba(255, 255, 255, 0.42);
  font-size: 10px;
  padding: 2px 8px;
}
.map .map__canvas .leaflet-control-attribution a { color: rgba(255, 255, 255, 0.62); }
.map .map__canvas .leaflet-popup-content-wrapper {
  background: #14171d;
  color: #e9e4da;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 0;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.5);
}
.map .map__canvas .leaflet-popup-tip { background: #14171d; box-shadow: none; }
.map .map__canvas .leaflet-popup-content { margin: 14px 16px; font-size: 12.5px; line-height: 1.55; }
.map .map__canvas .leaflet-popup-content b {
  display: block;
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 600;
  letter-spacing: 0.01em;
  margin-bottom: 4px;
  color: #fff;
}
.map .map__canvas .leaflet-popup-content a { color: var(--gold-2); border-bottom: 1px solid rgba(211, 171, 114, 0.4); }
.map .map__canvas a.leaflet-popup-close-button { color: rgba(255, 255, 255, 0.55); }
.map .map__canvas .leaflet-attribution-flag {
  display: none !important;
  background: none !important;
}
.map .map__canvas .tp-marker svg { display: block; filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.55)); }

.map__pin { position: absolute; inset: 0; display: grid; place-items: center; pointer-events: none; }

.map__card {
  position: absolute;
  left: 18px;
  bottom: 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: rgba(12, 15, 20, 0.86);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(6px);
  font-size: 12.5px;
  letter-spacing: 0.04em;
}

.map__card b { color: var(--gold-2); font-weight: 500; }

.map__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 14px;
  font-size: 12px;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.45);
}

.map__foot a {
  color: var(--gold-2);
  border-bottom: 1px solid rgba(211, 171, 114, 0.4);
  padding-bottom: 2px;
}

/* contacts */

.contact__grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(40px, 6vw, 90px);
}

.contact__info { display: flex; flex-direction: column; gap: 22px; margin-top: 34px; }

.contact__item { display: flex; flex-direction: column; gap: 4px; }

.contact__item span {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.contact__item a,
.contact__item p {
  margin: 0;
  font-size: 18px;
  line-height: 1.45;
}

.contact__item a:hover { color: var(--gold); }

.form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  padding: clamp(26px, 3vw, 44px);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.55);
}

.field { display: flex; flex-direction: column; gap: 8px; }
.field--full { grid-column: 1 / -1; }

.field label {
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.field input,
.field textarea,
.field select {
  font: inherit;
  font-size: 15px;
  padding: 12px 2px;
  border: 0;
  border-bottom: 1px solid rgba(20, 23, 28, 0.24);
  background: transparent;
  color: var(--text);
  border-radius: 0;
  outline: none;
  transition: border-color 0.2s ease;
}

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

.field textarea { resize: vertical; min-height: 72px; }

.form__foot {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 8px;
}

.form__policy {
  font-size: 11.5px;
  line-height: 1.5;
  color: var(--muted);
  max-width: 300px;
}

.form__policy a { text-decoration: underline; text-underline-offset: 3px; }

/* footer */

.ftr {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.55);
  padding: 46px 0 34px;
  font-size: 12.5px;
}

.ftr__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}

.ftr__links { display: flex; gap: 26px; }
.ftr a:hover { color: var(--gold-2); }

/* ---------- modal ---------- */

.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal.is-open { opacity: 1; visibility: visible; }

.modal__bg {
  position: absolute;
  inset: 0;
  background: rgba(8, 10, 14, 0.72);
  backdrop-filter: blur(8px);
}

.modal__card {
  position: relative;
  width: min(440px, 100%);
  background: var(--paper);
  padding: clamp(30px, 4vw, 46px);
  transform: translateY(14px);
  transition: transform 0.35s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.modal.is-open .modal__card { transform: none; }

.modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  color: var(--text);
}

.modal__close:hover { border-color: var(--gold); color: var(--gold); }

.modal__title {
  margin: 0 0 6px;
  font-family: var(--serif);
  font-weight: 500;
  font-size: 34px;
  line-height: 1.05;
}

.modal__sub {
  margin: 0 0 26px;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.modal .field { margin-bottom: 18px; }

.modal__btn { width: 100%; margin-top: 6px; }

.modal__hint {
  margin: 18px 0 0;
  font-size: 12px;
  line-height: 1.6;
  color: var(--muted);
}

.modal__error {
  margin: 0 0 16px;
  padding: 10px 13px;
  background: rgba(138, 59, 52, 0.08);
  color: #8a3b34;
  font-size: 12.5px;
  line-height: 1.45;
}

.modal__error[hidden] { display: none; }

/* ---------- mobile menu ---------- */

.mmenu {
  position: fixed;
  inset: 0;
  z-index: 70;
  background: var(--ink);
  color: #fff;
  padding: 22px var(--pad) 40px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  transform: translateY(-100%);
  transition: transform 0.4s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.mmenu.is-open { transform: none; }

.mmenu__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 32px;
}

.mmenu a {
  font-family: var(--serif);
  font-size: 30px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mmenu__foot { margin-top: auto; display: flex; flex-direction: column; gap: 10px; font-size: 13px; color: rgba(255, 255, 255, 0.6); }

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

@media (max-width: 1080px) {
  .nav { gap: 18px; }
  .hdr__phone { display: none; }
  .about__grid { grid-template-columns: 1fr; }
  .about__head { position: static; }
  .about__note { display: none; }
  .adv__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
  .nav { display: none; }
  .burger { display: grid; }
  .hdr__actions .btn { display: none; }
  .hdr__inner { height: 72px; }
  .arch__head,
  .loc__grid,
  .contact__grid { grid-template-columns: 1fr; }
  .arch__text { justify-self: start; }
  .offices__head,
  .adv__head { flex-direction: column; align-items: flex-start; gap: 22px; }
  .ftr__inner { flex-direction: column; align-items: flex-start; gap: 16px; }
  .ftr__links { flex-wrap: wrap; gap: 12px 22px; }
  .arch__grid { grid-template-columns: 1fr; }
  .arch__grid img { height: 340px; }
  .offices__grid { grid-template-columns: 1fr; }
  .hero { min-height: min(720px, 92svh); }
  .hero__content { padding-top: 150px; padding-bottom: 56px; }
  .hero__facts-inner { grid-template-columns: repeat(2, 1fr); gap: 18px 24px; }
  .form__foot { flex-direction: column; align-items: stretch; }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .hero { min-height: min(680px, 92svh); }
  .hero__media img { object-position: 62% center; }
  .hero__title { font-size: clamp(52px, 15vw, 76px); }
  .hero__lead { font-size: 15px; max-width: 100%; }
  .hero__cta { flex-direction: column; align-items: stretch; }
  .btn { padding: 16px 22px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .adv__grid { grid-template-columns: 1fr; }
  .form { grid-template-columns: 1fr; }
  .section { padding: 64px 0; }
  .about__media::after { inset: 10px -10px -10px 10px; }
  .logos { gap: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
