/* =========================================================
   METRO PARK v4 — Premium Leasing Landing
   ========================================================= */

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

:root {
  --bg:         #0a0a0a;
  --bg-2:       #111111;
  --bg-3:       #171717;
  --surface:    #1c1c1c;
  --border:     rgba(255,255,255,0.07);
  /* Глобальный текст — тёплый светло-серый, не белый */
  --text:       #d4cfc8;
  --text-h:     #c8c2ba;   /* заголовки */
  --text-2:     #9a948c;
  --text-3:     #5e5a55;
  --accent:     #c4a882;
  --accent-dim: #8b7155;
  --accent-bg:  rgba(196,168,130,0.08);
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans:  'Inter', system-ui, -apple-system, sans-serif;
  --ease-out:   cubic-bezier(0.16, 1, 0.3, 1);
  --radius:     2px;
  --header-h:   68px;
}

html { scroll-behavior: smooth; font-size: 16px; max-width: 100%;
  overflow-x: hidden;}
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden; 
  max-width: 100%;
}
img { display: block; width: 100%; height: 100%; object-fit: cover; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--accent-dim); border-radius: 2px; }

/* ----- PRELOADER ----- */
#preloader {
  position: fixed; inset: 0; z-index: 9999;
  background: var(--bg);
  display: flex; align-items: center; justify-content: center;
  transition: opacity 0.6s var(--ease-out), visibility 0.6s;
}
#preloader.hidden {
  opacity: 0; visibility: hidden; pointer-events: none;
}
.preloader-logo {
  display: flex; flex-direction: column; align-items: center; gap: 20px;
}
.preloader-logo-svg {
  width: 120px; height: auto;
  animation: preloaderSpin 2s linear infinite;
  transform-origin: center center;
}
.preloader-logo-svg path,
.preloader-logo-svg polygon { fill: var(--accent); }
.preloader-label {
  font-size: 10px; font-weight: 500; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--accent); opacity: 0.6;
  animation: preloaderPulse 1.8s ease-in-out infinite;
}
@keyframes preloaderSpin {
  0%   { transform: rotateY(0deg); }
  100% { transform: rotateY(360deg); }
}
@keyframes preloaderPulse {
  0%,100% { opacity: 0.4; }
  50%      { opacity: 0.9; }
}

/* ----- TYPOGRAPHY ----- */
.section-label {
  display: inline-block;
  font-size: 11px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 18px;
}
.section-label.light { color: rgba(196,168,130,0.65); }
.section-title {
  font-family: var(--font-serif);
  font-size: clamp(26px, 3.5vw, 42px);
  font-weight: 500; line-height: 1.15;
  color: var(--text-h); margin-bottom: 24px;
  letter-spacing: -0.01em;
}

/* ----- BUTTONS ----- */
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 32px;
  background: var(--accent); color: #0a0a0a;
  font-size: 13px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase;
  border-radius: var(--radius); transition: background 0.25s, transform 0.2s;
}
.btn-primary:hover { background: #d4b892; transform: translateY(-1px); }
.btn-primary.large { padding: 18px 42px; font-size: 14px; }
.btn-ghost {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 32px; background: transparent; color: var(--text);
  font-size: 13px; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase;
  border: 1px solid rgba(212,207,200,0.22); border-radius: var(--radius);
  transition: border-color 0.25s, color 0.25s;
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }

/* ----- COOKIE BANNER ----- */
.cookie-banner {
  position: fixed; bottom: 24px; left: 24px; right: 24px; max-width: 480px;
  background: var(--surface); border: 1px solid var(--border); border-radius: 4px;
  padding: 16px 20px; display: flex; align-items: center; gap: 16px;
  z-index: 9999; font-size: 13px; color: var(--text-2);
  box-shadow: 0 8px 32px rgba(0,0,0,0.5);
  animation: slideUp 0.4s var(--ease-out) forwards;
}
.cookie-banner a { color: var(--accent); }
.cookie-btn {
  flex-shrink: 0; padding: 8px 18px; background: var(--accent); color: #0a0a0a;
  font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  border-radius: var(--radius); transition: background 0.2s;
}
.cookie-btn:hover { background: #d4b892; }
.cookie-banner.hidden { display: none; }

/* ----- HEADER ----- */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: var(--header-h);
  transition: background 0.4s, backdrop-filter 0.4s, border-color 0.4s;
}
.header.scrolled {
  background: rgba(10, 10, 10, 0.712);
  border-bottom: 1px solid rgba(0, 0, 0, 0);
}

.header-inner {
  max-width: 1440px; margin: 0 auto; padding: 0 36px;
  height: 100%; display: flex; align-items: center; gap: 32px;
  padding-top: 6px;
}

/* Logo + tagline */
.header-logo-wrap {
  flex-shrink: 0; display: flex; align-items: flex-end; gap: 12px;
  text-decoration: none; transition: opacity 0.2s;
}
.header-logo-wrap:hover { opacity: 0.85; }
.header-logo-svg {
  width: 100px; height: auto; flex-shrink: 0;
}
.header-logo-svg path, .header-logo-svg polygon { fill: var(--accent); }
.header-tagline {
  font-size: 10px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--accent); white-space: nowrap;
  /* v4: поднять на 10px — было padding-bottom:3px, теперь padding-bottom:13px */
  padding-bottom: 13px;
  line-height: 1;
}

.header-nav { display: flex; gap: 28px; margin-left: auto;}
.nav-link {
  font-size: 13px; font-weight: 400; letter-spacing: 0.03em;
  color: var(--text-2); transition: color 0.2s; position: relative;
}
.nav-link::after {
  content: ''; position: absolute; bottom: -3px; left: 0; right: 0; height: 1px;
  background: var(--accent); transform: scaleX(0); transform-origin: left;
  transition: transform 0.25s var(--ease-out);
}
.nav-link:hover, .nav-link.active { color: var(--text); }
.nav-link:hover::after, .nav-link.active::after { transform: scaleX(1); }

.btn-header {
  flex-shrink: 0; padding: 9px 20px;
  background: transparent; color: var(--accent);
  font-size: 12px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
  border: 1px solid var(--accent); border-radius: var(--radius);
  transition: background 0.2s, color 0.2s;
}
.btn-header:hover { background: var(--accent); color: #0a0a0a; }

.burger {
  display: none; flex-direction: column; gap: 6px;
  width: 32px; height: 32px; margin-left: auto;  margin-right: 40px;
  justify-content: center;
}
.burger span { display: block; height: 3px; background: #ffffff; border-radius: 2px; padding-right: 40px;}
.burger.open span:nth-child(1) { opacity: 0; }
.burger.open span:nth-child(2) { transform: translateY(5px) rotate(45deg); }
.burger.open span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

.mobile-nav {
  display: none; flex-direction: column;
  position: fixed; top: var(--header-h); left: 0; right: 0; bottom: 0;
  background: rgba(10, 10, 10, 0.664); backdrop-filter: blur(20px);
  padding: 40px; gap: 8px; z-index: 9999;
  opacity: 0; pointer-events: none; transition: opacity 0.3s;
}
.mobile-nav.open {opacity: 1; pointer-events: all; }
.mobile-nav-link {
  font-size: 22px; font-family: var(--font-serif); font-weight: 400;
  color: var(--text-2); padding: 12px 0; border-bottom: 1px solid var(--border);
  transition: color 0.2s;
}
.mobile-nav-link:hover { color: var(--text); }
.btn-mobile-cta {
  margin-top: 24px; padding: 16px 32px; background: var(--accent); color: #0a0a0a;
  font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  text-align: center; border-radius: var(--radius);
}

/* ----- HERO ----- */
.hero {
  position: relative; width: 100%; height: 100vh; min-height: 600px;
  display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.hero-video {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; z-index: 0;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom,
    rgba(10, 10, 10, 0.651) 0%, rgba(10, 10, 10, 0.603) 40%,
    rgba(10, 10, 10, 0.61) 70%, rgba(10, 10, 10, 0.904) 100%);
  z-index: 1;
}
.hero-status {
  position: absolute; top: calc(var(--header-h) + 24px); left: 50%; transform: translateX(-50%);
  display: flex; align-items: center; gap: 10px;
  font-size: 11px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase;
  color: rgba(212,207,200,0.55); z-index: 3;
}
.status-dot {
  width: 6px; height: 6px; border-radius: 50%; background: var(--accent);
  box-shadow: 0 0 0 3px rgba(196,168,130,0.2); animation: pulse 2.5s infinite;
}
@keyframes pulse {
  0%,100% { box-shadow: 0 0 0 3px rgba(196,168,130,0.2); }
  50%      { box-shadow: 0 0 0 6px rgba(196,168,130,0); }
}
.hero-content { position: relative; z-index: 2; text-align: center; padding: 0 20px; max-width: 860px; }
.hero-label { font-size: 11px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent); margin-bottom: 24px; }
.hero-title {
  font-family: var(--font-serif); font-size: clamp(36px, 6.5vw, 76px);
  font-weight: 500; line-height: 1.08; letter-spacing: -0.02em;
  color: #c8c2ba; margin-bottom: 24px;
}
.hero-sub { font-size: clamp(14px, 1.5vw, 17px); color: rgba(212,207,200,0.55); line-height: 1.7; margin-bottom: 44px; }
.hero-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.hero-scroll {
  position: absolute; bottom: 36px; left: 50%; transform: translateX(-50%);
  z-index: 3; color: rgba(212,207,200,0.3); transition: color 0.2s;
  animation: bounce 2s infinite;
}
.hero-scroll:hover { color: var(--accent); }
.hero-scroll svg { width: 22px; height: 22px; }
@keyframes bounce {
  0%,100% { transform: translateX(-50%) translateY(0); }
  50%      { transform: translateX(-50%) translateY(6px); }
}

/* ----- SECTIONS ----- */
.section { padding: 112px 40px; }

/* ----- ABOUT LOCATION ----- */
.about-location { background: var(--bg); }
.about-location-inner {
  max-width: 1320px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center;
}
.about-text { padding-right: 16px; }
.about-body { font-size: 15px; line-height: 1.78; color: var(--text-2); margin-bottom: 18px; }

/* Stats — один ряд, цифра и единица не переносятся */
.about-stats {
  display: flex; align-items: center; gap: 28px;
  margin-top: 44px; padding-top: 36px; border-top: 1px solid var(--border);
}
.stat { text-align: left; }
.stat-row { display: flex; align-items: baseline; white-space: nowrap; }
.stat-num {
  font-family: var(--font-serif); font-size: clamp(26px, 2.8vw, 36px);
  font-weight: 500; color: var(--text-h); line-height: 1;
}
.stat-unit { font-size: 16px; color: var(--accent); line-height: 1; }
.stat-label { display: block; font-size: 11px; color: var(--text-3); margin-top: 6px; letter-spacing: 0.04em; }
.stat-divider { width: 1px; height: 52px; background: var(--border); flex-shrink: 0; }

/* image +5% via scale, soft edge via mask */
.about-image {
  position: relative; border-radius: 2px; overflow: hidden; aspect-ratio: 4/3;
}
.about-image img {
  transform: scale(1.05); transition: transform 0.8s var(--ease-out);
  -webkit-mask-image: radial-gradient(ellipse 90% 90% at 50% 50%, black 60%, transparent 100%);
  mask-image: radial-gradient(ellipse 90% 90% at 50% 50%, black 60%, transparent 100%);
}
.about-image:hover img { transform: scale(1.08); }
.about-image-caption {
  position: absolute; bottom: 16px; left: 16px;
  font-size: 11px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase;
  color: rgba(212,207,200,0.45); background: rgba(10,10,10,0.55); padding: 6px 12px; border-radius: 2px;
}

/* ----- TRIGGERS STRIP (v4: CSS Grid 4→3→2→1) ----- */
.triggers-strip {
  background: var(--bg-2);
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
}

/*
  Логика сетки 4→3→2→1 без auto-fit/auto-fill и без JS:
  - Широкий: 4 в ряд
  - 1100px:  3 карточки + 4-я центрирована отдельной строкой
  - 768px:   2+2
  - 480px:   1 колонка
*/
.triggers-inner {
  max-width: 100%;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: auto;
}

/* 4-я карточка занимает полную ширину на 3-колоночной сетке → выравниваем по центру */
.trigger {
  padding: 48px 36px;
  display: flex; flex-direction: column; align-items: center; gap: 20px; text-align: center;
  border-right: 1px solid var(--border);
  position: relative; overflow: hidden;
  transition: background 0.35s;
}
.trigger:last-child { border-right: none; }

/* Hover effect: accent sweep from bottom */
.trigger::before {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0; height: 0;
  background: linear-gradient(to top, rgba(196,168,130,0.06) 0%, transparent 100%);
  transition: height 0.4s var(--ease-out);
}
.trigger:hover::before { height: 100%; }
.trigger:hover { background: rgba(196,168,130,0.03); }
.trigger:hover .trigger-num-circle {
  background: var(--accent); color: #0a0a0a;
  border-color: var(--accent); transform: scale(1.08);
}

.trigger-num-circle {
  width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid var(--accent-dim);
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 600; letter-spacing: 0.06em;
  color: var(--accent); flex-shrink: 0;
  transition: background 0.3s, color 0.3s, border-color 0.3s, transform 0.3s;
}
.trigger-body strong {
  display: block; font-size: 14px; font-weight: 600; color: var(--text-h); margin-bottom: 8px; line-height: 1.3;
}
.trigger-body span { font-size: 13px; color: var(--text-2); line-height: 1.65; }

/* ----- ABOUT INTERIOR ----- */
.about-interior { background: var(--bg); padding-bottom: 128px; }
.about-interior-inner {
  max-width: 1320px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center;
}
.about-int-image {
  position: relative; border-radius: 2px; overflow: hidden; aspect-ratio: 4/3;
}
.about-int-image img {
  transform: scale(1.05); transition: transform 0.8s var(--ease-out);
  -webkit-mask-image: radial-gradient(ellipse 90% 90% at 50% 50%, black 60%, transparent 100%);
  mask-image: radial-gradient(ellipse 90% 90% at 50% 50%, black 60%, transparent 100%);
}
.about-int-image:hover img { transform: scale(1.08); }
.about-int-text { padding-left: 16px; }

.floor-concept { margin-top: 36px; display: flex; flex-direction: column; gap: 1px; }
.floor-item {
  display: flex; gap: 20px; align-items: flex-start;
  padding: 14px 0; border-bottom: 1px solid var(--border);
}
.floor-item:first-child { border-top: 1px solid var(--border); }
.floor-tag {
  flex-shrink: 0; font-size: 11px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--accent); min-width: 96px; padding-top: 2px;
}
.floor-desc { font-size: 14px; color: var(--text-2); line-height: 1.6; }

/* ----- FLOORS ----- */
.floors { background: var(--bg-2); }
.floors-inner { max-width: 1320px; margin: 0 auto; }
.floors-header { margin-bottom: 52px; max-width: 640px; }
.floors-sub { font-size: 15px; color: var(--text-2); line-height: 1.72; }

.floor-tabs {
  display: flex; gap: 2px; flex-wrap: wrap;
  margin-bottom: 28px; border-bottom: 1px solid var(--border); padding-bottom: 0;
}
.floor-tab {
  padding: 11px 22px; font-size: 13px; font-weight: 500; letter-spacing: 0.04em;
  color: var(--text-3); border-bottom: 2px solid transparent; margin-bottom: -1px;
  transition: color 0.2s, border-color 0.2s;
}
.floor-tab:hover { color: var(--text-2); }
.floor-tab.active { color: var(--accent); border-bottom-color: var(--accent); }

.floor-viewer {
  display: grid; grid-template-columns: 1fr 300px; gap: 40px; align-items: start;
}

/* v4: тёмный фон под фото, контейнер по высоте фото без полос */
.floor-plan-wrap {
  overflow: hidden;
  /* Нет aspect-ratio — контейнер тянется по реальной высоте изображения */
  position: relative; cursor: zoom-in;
  display: flex; align-items: center; justify-content: center;
  line-height: 0;
  -webkit-mask-image:
    linear-gradient(to right,
      transparent 0%,
      black 15%,
      black 85%,
      transparent 100%),
    linear-gradient(to bottom,
      transparent 0%,
      black 8%,
      black 95%,
      transparent 100%);
  mask-image:
    linear-gradient(to right,
      transparent 0%,
      black 20%,
      black 80%,
      transparent 100%),
    linear-gradient(to bottom,
      transparent 0%,
      black 5%,
      black 95%,
      transparent 100%);

  -webkit-mask-composite: source-in;
  mask-composite: intersect;

}
.floor-plan-wrap img {
  /* Картинка занимает всю ширину, высота — естественная (без сжатия/растяжения) */
  width: 100%; height: auto;
  display: block;
  object-fit: unset;
  transition: opacity 0.25s;
}
.floor-plan-wrap img.fading { opacity: 0; }

/* Подсказка "Раскрыть" */
.floor-zoom-hint {
  position: absolute; bottom: 40px; right: 152px;
  font-size: 11px; font-weight: 500; letter-spacing: 0.08em;
  color: rgba(196,168,130,0.7);
  background: rgba(10,10,10,0.6);
  padding: 4px 9px; border-radius: 2px;
  pointer-events: none;
  transition: opacity 0.2s;
}
.floor-plan-wrap:hover .floor-zoom-hint { opacity: 0; }

.floor-info {
  display: flex; flex-direction: column; gap: 14px;
  position: sticky; top: calc(var(--header-h) + 24px);
}
.floor-details {
  background: var(--surface); border: 1px solid var(--border); border-radius: 2px; padding: 22px;
}
.floor-button {
  display: flex; flex-direction: column; gap: 14px;
  position: sticky; top: calc(var(--header-h) + 24px);
}
.floor-details h4 {
  font-family: var(--font-serif); font-size: 18px; font-weight: 500; margin-bottom: 14px; color: var(--text-h);
}
.floor-area { font-size: 26px; font-family: var(--font-serif); color: var(--accent); margin-bottom: 2px; }
.floor-area-label { font-size: 11px; color: var(--text-3); margin-bottom: 18px; }
.floor-spaces { display: flex; flex-direction: column; gap: 8px; margin-top: 14px; }
.floor-space-item { display: flex; justify-content: space-between; align-items: center; font-size: 13px; }
.floor-space-name { color: var(--text-2); }
.floor-space-sq { color: var(--text-h); font-weight: 500; }

.btn-floor-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;

  padding: 13px 22px;
  background: var(--accent);
  color: #0a0a0a;

  font-size: 12px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: center;

  border-radius: var(--radius);
  transition: background 0.2s;
  min-height: 48px;
}
.btn-floor-cta:hover { background: #d4b892; }
.btn-floor-pdf {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 22px; background: transparent; color: var(--text-2);
  font-family: var(--font-sans); font-size: 12px; font-weight: 500;
  letter-spacing: 0.06em; text-transform: uppercase;
  border: 1px solid var(--border); border-radius: var(--radius);
  transition: border-color 0.2s, color 0.2s;
}
.btn-floor-pdf:hover { border-color: var(--accent-dim); color: var(--text); }
.btn-floor-pdf svg { width: 15px; height: 15px; flex-shrink: 0; }

/* ----- FULLSCREEN FLOOR PLAN ----- */
.floor-fullscreen {
  display: none;
  position: fixed; inset: 0; z-index: 10000;
  background: rgba(5,5,5,0.97);
  align-items: center; justify-content: center;
  padding: 20px;
}
.floor-fullscreen.active {
  display: flex;
}
.floor-fullscreen img {
  max-width: 100%; max-height: 100%;
  object-fit: contain;
  width: auto; height: auto;
  border-radius: 2px;
}
.floor-fs-close {
  position: absolute; top: 20px; right: 24px;
  font-size: 32px; line-height: 1; color: var(--text-2);
  background: none; border: none; cursor: pointer;
  transition: color 0.2s; z-index: 1;
  font-weight: 300; padding: 4px 8px;
}
.floor-fs-close:hover { color: var(--accent); }

/* ----- TENANTS VIDEO ----- */
.tenants-hero {
  position: relative; min-height: 100vh; max-width: 100vw;
  display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.tenants-video {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 100%; height: 100%;
  object-fit: cover; z-index: 0;
  object-position: center center;
  min-width: 100%; min-height: 100%;
}
/* Осветлённый overlay — убираем лишнее затемнение */
.tenants-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(10,10,10,0.55), rgba(10,10,10,0.65));
  z-index: 1;
}
.tenants-content {
  position: relative; z-index: 2; text-align: center; padding: 60px 20px; max-width: 800px;
}
.tenants-title {
  font-family: var(--font-serif); font-size: clamp(30px, 5vw, 60px);
  font-weight: 500; line-height: 1.1; color: #c8c2ba; margin-bottom: 26px; letter-spacing: -0.01em;
}
.tenants-sub { font-size: clamp(14px, 1.4vw, 16px); color: rgba(212,207,200,0.55); line-height: 1.75; margin-bottom: 42px; }

/* ----- LEASING ADVANTAGES ----- */
.leasing-adv { background: var(--bg); }
.leasing-adv-inner { max-width: 1320px; margin: 0 auto; }
.leasing-adv-inner > .reveal { margin-bottom: 56px; }

.adv-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.adv-item {
  background: var(--bg-2); padding: 44px 40px;
  border: 1px solid var(--border); border-radius: 2px;
  position: relative; overflow: hidden;
  transition: background 0.35s;
}
.adv-item::after {
  content: '';
  position: absolute; left: 0; top: 0; bottom: 0; width: 0;
  background: linear-gradient(to right, rgba(196,168,130,0.07), transparent);
  transition: width 0.4s var(--ease-out);
}
.adv-item:hover { background: #161412; }
.adv-item:hover::after { width: 100%; }
.adv-item:hover .adv-icon svg { stroke: var(--accent); transform: scale(1.15) rotate(-4deg); }

.adv-icon {
  margin-bottom: 20px;
}
.adv-icon svg {
  width: 28px; height: 28px; stroke: var(--accent-dim);
  transition: stroke 0.3s, transform 0.35s var(--ease-out);
}
.adv-item h3 {
  font-family: var(--font-serif); font-size: 19px; font-weight: 500;
  color: var(--text-h); margin-bottom: 12px; position: relative; z-index: 1;
}
.adv-item p { font-size: 14px; color: var(--text-2); line-height: 1.75; position: relative; z-index: 1; }

/* ----- APPLICATION FORM ----- */
.application { background: var(--bg-2); }
.application-inner { max-width: 900px; margin: 0 auto; }
.application-header { margin-bottom: 52px; }
.application-sub { font-size: 15px; color: var(--text-2); line-height: 1.72; }

.leasing-form { display: flex; flex-direction: column; gap: 22px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-field { display: flex; flex-direction: column; gap: 7px; position: relative; }
.form-field.full { grid-column: 1 / -1; }

.form-field label {
  font-size: 11px; font-weight: 500; letter-spacing: 0.07em;
  text-transform: uppercase; color: var(--text-3);
}
.req { color: var(--accent); }

.form-field input, .form-field select, .form-field textarea {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 12px 15px;
  font-family: var(--font-sans);
  font-size: 14px;
  color: var(--text);
  outline: none;
  transition: border-color 0.2s;
  width: 100%;
}

.form-field input:-webkit-autofill,
.form-field input:-webkit-autofill:hover,
.form-field input:-webkit-autofill:focus,
.form-field textarea:-webkit-autofill,
.form-field textarea:-webkit-autofill:hover,
.form-field textarea:-webkit-autofill:focus,
.form-field select:-webkit-autofill,
.form-field select:-webkit-autofill:hover,
.form-field select:-webkit-autofill:focus {
  -webkit-box-shadow: 0 0 0 1000px var(--surface) inset !important;
  box-shadow: 0 0 0 1000px var(--surface) inset !important;
  -webkit-text-fill-color: var(--text) !important;
  caret-color: var(--text);
  border: 1px solid var(--border) !important;
  transition: background-color 5000s ease-in-out 0s;
}
.form-field input::placeholder, .form-field textarea::placeholder { color: var(--text-3); }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { border-color: var(--accent-dim); }
.form-field input.error, .form-field select.error { border-color: #a03030; }
.form-field textarea { resize: vertical; min-height: 110px; }
.form-field select { appearance: none; -webkit-appearance: none; cursor: pointer; }
.select-wrap { position: relative; }
.select-arrow {
  position: absolute; right: 13px; top: 50%; transform: translateY(-50%);
  width: 12px; height: 8px; pointer-events: none; color: var(--text-3);
}

/* Area field */
.form-field--area .area-row { display: flex; align-items: center; gap: 10px; }
.form-field--area .area-row input { flex: 1; }
.area-sep { color: var(--text-3); font-size: 14px; flex-shrink: 0; }

.field-error { font-size: 11px; color: #c0503a; min-height: 15px; }

.form-footer { display: flex; flex-direction: column; gap: 18px; margin-top: 6px; }
.checkbox-wrap { display: flex; align-items: flex-start; gap: 11px; cursor: pointer; }
.checkbox-wrap input { position: absolute; opacity: 0; width: 0; height: 0; }
.checkbox-box {
  flex-shrink: 0; width: 17px; height: 17px;
  background: var(--surface); border: 1px solid var(--border); border-radius: 2px;
  margin-top: 2px; display: flex; align-items: center; justify-content: center;
  transition: border-color 0.2s, background 0.2s; position: relative;
}
.checkbox-box::after {
  content: ''; width: 9px; height: 5px;
  border-left: 2px solid #0a0a0a; border-bottom: 2px solid #0a0a0a;
  transform: rotate(-45deg) translateY(-1px); opacity: 0; transition: opacity 0.15s;
}
.checkbox-wrap input:checked + .checkbox-box { background: var(--accent); border-color: var(--accent); }
.checkbox-wrap input:checked + .checkbox-box::after { opacity: 1; }
.checkbox-label { font-size: 13px; color: var(--text-2); line-height: 1.6; }
.policy-link { color: var(--accent); border-bottom: 1px solid transparent; transition: border-color 0.2s; }
.policy-link:hover { border-bottom-color: var(--accent); }

.btn-submit {
  align-self: flex-start; padding: 15px 42px;
  background: var(--accent); color: #0a0a0a;
  font-family: var(--font-sans); font-size: 13px; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase; border-radius: var(--radius);
  transition: background 0.2s, opacity 0.2s; display: flex; align-items: center; gap: 10px;
}
.btn-submit:hover { background: #d4b892; }
.btn-submit:disabled { opacity: 0.6; cursor: not-allowed; }
.btn-loader svg { width: 17px; height: 17px; animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.form-success {
  /* Скрыт по умолчанию — не занимает место в DOM */
  display: none;
  flex-direction: column; align-items: center;
  text-align: center; gap: 14px; padding: 52px 36px;
  background: var(--surface); border: 1px solid var(--border); border-radius: 4px;
}
.form-success svg { width: 52px; height: 52px; }
.form-success h3 { font-family: var(--font-serif); font-size: 22px; color: var(--text-h); }
.form-success p { font-size: 14px; color: var(--text-2); line-height: 1.6; }

.form-error-global {
  padding: 14px 18px; background: rgba(160,48,48,0.1);
  border: 1px solid rgba(160,48,48,0.25); border-radius: 2px;
  font-size: 13px; color: #c08070; line-height: 1.6;
}
.form-error-global a { color: var(--accent); }

/* ----- CONTACTS ----- */
.contacts { background: var(--bg); }
.contacts-inner {
  max-width: 1320px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
  gap: 64px;
  align-items: start;
}
.contact-block { margin-bottom: 36px; }
.contact-item {
  display: flex; flex-direction: column; gap: 3px;
  padding: 16px 0; border-bottom: 1px solid var(--border);
}
.contact-item:first-child { border-top: 1px solid var(--border); }
.contact-label { font-size: 10px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-3); }
.contact-value { font-size: 15px; color: var(--text-h); }
.contact-link { transition: color 0.2s; }
.contact-link:hover { color: var(--accent); }

.contact-legal { padding: 20px 0; border-bottom: 1px solid var(--border); margin-bottom: 28px; }
.legal-name { font-size: 14px; font-weight: 600; color: var(--text-h); margin-bottom: 5px; }
.legal-addr { font-size: 12px; color: var(--text-3); line-height: 1.6; }

.social-row { display: flex; gap: 10px; }
.social-icon {
  width: 38px; height: 38px; display: flex; align-items: center; justify-content: center;
  background: var(--surface); border: 1px solid var(--border); border-radius: 2px;
  color: var(--text-3); transition: color 0.2s, border-color 0.2s, background 0.2s;
}
.social-icon:hover { color: var(--accent); border-color: var(--accent-dim); background: var(--accent-bg); }
.social-icon svg { width: 17px; height: 17px; }

.contacts-map {
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
  position: relative;
}

/* только карта в рамке */
.yandex-map {
  position: relative;
  width: 100%;
  min-height: 420px;
  max-width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 3%;
  overflow: hidden;
  border: 1px solid var(--border);
}

/* затемнение ТОЛЬКО над картой */
.yandex-map::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 10, 0.459);
  pointer-events: none;
  z-index: 1;
}

/* кнопки под картой — вне оверлея */
.map-nav-btns {
  position: relative;
  z-index: 2; /* на всякий случай выше карты+оверлея */
  display: flex; gap: 10px; margin-top: 14px; flex-wrap: wrap;
}
.map-nav-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 18px;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  font-size: 12px; font-weight: 500; letter-spacing: 0.04em;
  color: var(--text-2); transition: border-color 0.2s, color 0.2s, background 0.2s;
  text-decoration: none;
}
.map-nav-btn svg { flex-shrink: 0; stroke: var(--accent-dim); transition: stroke 0.2s;}
/* v4: hover — всегда цвет акцента (одинаково для Яндекс и Google) */
.map-nav-btn:hover { border-color: var(--accent); color: var(--accent); }
.map-nav-btn:hover svg { stroke: var(--accent); }

/* ----- FOOTER ----- */
.footer {
  background: var(--bg-2); border-top: 1px solid var(--border);
  padding: 44px 40px 28px;
}
.footer-inner { max-width: 1320px; margin: 0 auto; }
.footer-top {
  padding-bottom: 28px; margin-bottom: 20px; border-bottom: 1px solid var(--border);
}
.footer-logo-wrap { display: flex; align-items: flex-end; gap: 14px; width: fit-content; }
.footer-logo-svg { width: 100px; height: auto; }
.footer-logo-svg path, .footer-logo-svg polygon { fill: var(--text-3); }
.footer-tagline { font-size: 11px; color: var(--text-3); letter-spacing: 0.08em; padding-bottom: 2px; }

.footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; }
.footer-legal { display: flex; gap: 20px; align-items: center; font-size: 12px; color: var(--text-3); flex-wrap: wrap; }
.footer-policy { transition: color 0.2s; }
.footer-policy:hover { color: var(--accent); }
.footer-contact { display: flex; gap: 18px; font-size: 12px; color: var(--text-3); }
.footer-contact a:hover { color: var(--accent); }

/* ----- STICKY CTA ----- */
.sticky-cta {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 800;
  transform: translateY(100%); transition: transform 0.4s var(--ease-out); display: none;
}
.sticky-cta.visible { transform: translateY(0); }
.sticky-cta-btn {
  display: block; width: 100%; padding: 17px;
  background: var(--accent); color: #0a0a0a;
  font-size: 13px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; text-align: center;
}

/* ----- REVEAL ----- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out); }
.reveal.reveal-right { transform: translateX(36px); }
.reveal.reveal-left  { transform: translateX(-36px); }
.reveal.in-view { opacity: 1; transform: none; }

.triggers-inner .trigger:nth-child(1) { transition-delay: 0s; }
.triggers-inner .trigger:nth-child(2) { transition-delay: 0.08s; }
.triggers-inner .trigger:nth-child(3) { transition-delay: 0.16s; }
.triggers-inner .trigger:nth-child(4) { transition-delay: 0.24s; }
.adv-grid .adv-item:nth-child(1) { transition-delay: 0s; }
.adv-grid .adv-item:nth-child(2) { transition-delay: 0.08s; }
.adv-grid .adv-item:nth-child(3) { transition-delay: 0.14s; }
.adv-grid .adv-item:nth-child(4) { transition-delay: 0.2s; }

@keyframes slideUp { from { transform: translateY(20px); opacity: 0; } to { transform: none; opacity: 1; } }

/* ========= RESPONSIVE ========= */

/* --- Планшет широкий: 1280px --- */
@media (max-width: 1280px) {
  .about-location-inner, .about-interior-inner { gap: 56px; }
  .contacts-inner { gap: 48px; }
  .floor-viewer { grid-template-columns: 1fr 260px; gap: 28px; }
}

/* --- Лаптоп: 1100px --- */
@media (max-width: 1100px) {
  .about-location-inner, .about-interior-inner { grid-template-columns: 1fr; gap: 44px; }
  .about-text { padding-right: 0; }
  .about-int-text { padding-left: 0; }
  .about-int-image { order: -1; }
  .contacts-inner { grid-template-columns: 1fr; gap: 44px; }
  .yandex-map { aspect-ratio: 16/9; min-height: 320px; }
  .floor-viewer { grid-template-columns: 1fr; }
  .floor-info { position: static; flex-direction: row; flex-wrap: wrap; gap: 14px; }
  .floor-details { flex: 1 1 280px; }
  .btn-floor-cta, .btn-floor-pdf { flex: 1 1 60px; text-align: center; justify-content: center;}
  .map-nav-btns { flex-direction: row; }

  /* Triggers v4: при 1100px → 3 колонки + 4-я карточка центрирована */
  .triggers-inner {
    grid-template-columns: repeat(3, 1fr);
  }
  /* 4-я карточка растягивается на весь ряд и выравнивается по центру */
  .triggers-inner .trigger:nth-child(4) {
    grid-column: 1 / -1;
    max-width: 33.333%;
    margin: 0 auto;
    border-right: none;
    border-top: 1px solid var(--border);
  }
  /* Убрать правую границу у 3-й карточки */
  .triggers-inner .trigger:nth-child(3) {
    border-right: none;
  }
  /* Нижняя граница под первым рядом */
  .triggers-inner .trigger:nth-child(1),
  .triggers-inner .trigger:nth-child(2),
  .triggers-inner .trigger:nth-child(3) {
    border-bottom: 1px solid var(--border);
  }
}

/* --- Планшет: 900px --- */
@media (max-width: 900px) {
  :root { --header-h: 58px; }
  .section { padding: 72px 28px; }
  .header-inner { padding: 0 22px 0 22px; }
  .header-nav, .btn-header { display: none; }
  .header-tagline { display: none; }
  .header-logo-svg { width: 84px; }
  .burger { display: flex; }
  .mobile-nav { display: flex; }

  /* Triggers v4: 2×2 на планшете */
  .triggers-inner {
    grid-template-columns: repeat(2, 1fr);
  }
  .triggers-inner .trigger:nth-child(4) {
    grid-column: auto;
    max-width: 100%;
    margin: 0;
    border-top: none;
  }
  .trigger { padding: 32px 22px; }
  .trigger:nth-child(1) { border-right: 1px solid var(--border); border-bottom: 1px solid var(--border); }
  .trigger:nth-child(2) { border-right: none; border-bottom: 1px solid var(--border); }
  .trigger:nth-child(3) { border-right: 1px solid var(--border); border-bottom: none; }
  .trigger:nth-child(4) { border-right: none; border-bottom: none; }

  .adv-grid { grid-template-columns: 1fr; gap: 10px; }
  .adv-item { padding: 32px 28px; }
  .form-row { grid-template-columns: 1fr; }
  .footer { padding: 40px 28px 24px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 12px; }
  .about-stats { flex-wrap: wrap; gap: 18px; }
  .stat-divider { display: none; }

  .form-field--area .area-row { flex-direction: row; }
  .btn-submit { width: 100%; justify-content: center; }

  .map-nav-btns { flex-direction: column; }
  .map-nav-btn { justify-content: center; }
}

/* --- Мобильный: 640px --- */
@media (max-width: 640px) {
  .section { padding: 56px 18px; }

  /* Хедер */
  .header-inner { padding: 0 18px; padding-top: 4px; }
  .header-logo-svg { width: 78px; }

  /* Геро */
  .hero-title { font-size: clamp(28px, 8.5vw, 46px); }
  .hero-sub { font-size: 14px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn-primary, .hero-actions .btn-ghost { text-align: center; justify-content: center; }

  /* Triggers: 1 колонка */
  .triggers-inner { grid-template-columns: 1fr; }
  .triggers-inner .trigger:nth-child(4) {
    grid-column: auto;
    max-width: 100%;
    margin: 0;
    border-top: none;
  }
  .trigger { border-right: none !important; border-bottom: 1px solid var(--border) !important; padding: 28px 20px; }
  .trigger:last-child { border-bottom: none !important; }
  .trigger { flex-direction: row; text-align: left; gap: 16px; align-items: flex-start; }
  .trigger-num-circle { flex-shrink: 0; margin-top: 2px; }

  /* Планы этажей */
  .floor-tabs { gap: 0; overflow-x: auto; flex-wrap: nowrap; -webkit-overflow-scrolling: touch; }
  .floor-tab { padding: 9px 6px; font-size: 12px; white-space: nowrap; flex-shrink: 0; }
  /* .floor-plan-wrap: автовысота по фото — aspect-ratio не нужен */
  .floor-info { flex-direction: column; }
  .btn-floor-cta, .btn-floor-pdf { width: 100%; text-align: center; justify-content: center; }

  /* Тенанты */
  .tenants-title { font-size: clamp(24px, 7.5vw, 40px); }
  .tenants-content { padding: 48px 18px; }

  /* Преимущества */
  .adv-grid { gap: 8px; }
  .adv-item { padding: 28px 22px; }

  /* Форма */
  .area-row { gap: 8px; }
  .checkbox-label { font-size: 12px; }
  .form-success { padding: 40px 24px; }

  /* Контакты */
  .contact-block { margin-bottom: 24px; }
  .map-nav-btns { gap: 8px; }
  .map-nav-btn { font-size: 11px; padding: 10px 14px; }

  /* Футер */
  .footer { padding: 36px 18px 80px; }
  .footer-top { flex-direction: column; align-items: flex-start; gap: 14px; }
  .footer-legal { flex-direction: column; gap: 7px; }
  .footer-contact { flex-direction: column; gap: 5px; }

  /* Sticky CTA */
  .sticky-cta { display: block; }

  /* Cookie */
  .cookie-banner { left: 12px; right: 12px; bottom: 12px; flex-direction: column; }

  /* Stats */
  .about-stats { padding-top: 24px; margin-top: 28px; gap: 16px; }
  .stat-num { font-size: clamp(22px, 6vw, 30px); }
}

/* --- Маленькие телефоны: 375px --- */
@media (max-width: 375px) {
  :root { --header-h: 52px; }
  .section { padding: 44px 14px; }
  .header-inner { padding: 0 14px; padding-top: 4px; }
  .header-logo-svg { width: 70px; }
  .hero-title { font-size: clamp(24px, 8vw, 38px); }
  .floor-tab { padding: 10px 3px; font-size: 11px; }
  .adv-item { padding: 24px 18px; }
  .map-nav-btn { font-size: 10.5px; padding: 9px 12px; }
}
