@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400&family=Jost:wght@200;300;400;500;600&display=swap');

:root {
  /* Base (darker) */
  --bg-primary: #07090c;   /* near-black graphite */
  --bg-secondary: #020c16; /* deep navy */
  --bg-card: #0c1018;      /* cards */

  /* Accent (ivory) */
  --accent: #f4ecd8;       /* слоновая кость */
  --accent-light: #fff6e4;
  --accent-dark: #b8ae97;
  --accent-rgb: 244, 236, 216;

  /* Legacy names used across the stylesheet */
  --gold: var(--accent);
  --gold-light: var(--accent-light);
  --gold-dark: var(--accent-dark);

  --olive: var(--accent);
  --olive-light: var(--accent-light);
  --olive-dark: var(--accent-dark);

  /* Typography */
  --text-primary: #dbe2ec;
  --text-secondary: #a8b3c3;
  --text-muted: #6e788a;

  /* UI */
  --border: rgba(219, 226, 236, 0.07);
  --border-hover: rgba(var(--accent-rgb), 0.45);
  --shadow-gold: 0 0 70px rgba(var(--accent-rgb), 0.14);
  --shadow-olive: 0 0 70px rgba(var(--accent-rgb), 0.10);

  --radius-sm: 10px;
  --radius: 14px;

  --header-h: 70px;
}

header {
  padding-top: 8px; /* подбери 6–14px */
}

@media (max-width: 768px) {
  header {
    padding-top: 15px;
  }
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Jost', sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}



/* ─── ANTI-COPY ─────────────────────────────── */
/* Запрет выделения/копирования текста (кроме полей формы) */
body {
  -webkit-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
}

input, textarea, select, button {
  -webkit-user-select: text;
  user-select: text;
}
/* ─── SCROLLBAR ─────────────────────────────── */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--bg-primary); }
::-webkit-scrollbar-thumb { background: var(--gold-dark); border-radius: 2px; }

/* ─── TYPOGRAPHY ─────────────────────────────── */
h1, h2, h3, h4 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  line-height: 1.15;
}

.display-serif {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  color: var(--gold);
}

/* ─── UTILITIES ─────────────────────────────── */
.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 40px;
}

.section {
  padding: 120px 0;
}

.section-label {
  font-family: 'Jost', sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.section-label::before {
  content: '';
  width: 40px;
  height: 1px;
  background: var(--gold);
  display: block;
}

.section-title {
  font-size: clamp(36px, 4vw, 60px);
  font-weight: 300;
  margin-bottom: 24px;
  color: var(--text-primary);
}

.section-title span {
  font-style: italic;
  color: var(--gold);
}

.section-desc {
  font-size: 17px;
  color: var(--text-secondary);
  font-weight: 300;
  max-width: 600px;
  line-height: 1.8;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 40px;
  font-family: 'Jost', sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  border: none;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  position: relative;
  overflow: hidden;

  border-radius: var(--radius-sm);
}

.btn-gold {
  background: var(--gold);
  color: var(--bg-primary);
}

.btn-gold::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gold-light);
  transform: translateX(-100%);
  transition: transform 0.4s ease;
}

.btn-gold:hover::before { transform: translateX(0); }
.btn-gold:hover { box-shadow: 0 8px 40px rgba(var(--accent-rgb), 0.35); }
.btn-gold span { position: relative; z-index: 1; }
.btn-gold svg { position: relative; z-index: 1; transition: transform 0.3s; }
.btn-gold:hover svg { transform: translateX(4px); }

.btn-outline {
  background: transparent;
  color: var(--gold);
  border: 1px solid var(--gold);
  border-radius: var(--radius-sm);
}

.btn-outline:hover {
  background: rgba(var(--accent-rgb), 0.08);
}
/* ─── HEADER / NAV ─────────────────────────────── */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  height: var(--header-h);
  transition: background 0.5s, box-shadow 0.5s;
}

.header .container {
  max-width: 1440px;
  padding: 0 32px;
}

@media (max-width: 1280px) {
  .header .container { padding: 0 24px; }
}

.header.scrolled {
  /* dark navy surface over graphite */
  background: rgba(2, 12, 22, 0.92);
  backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 var(--border);
}

.nav {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 28px;
  min-width: 0;
  flex-wrap: nowrap;
}

.logo {
  display: flex;
  flex-direction: column;
  text-decoration: none;
}

.company-name {
  white-space: nowrap;
  display: inline-block;
}


.logo-main {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(14px, 2.2vw, 22px);
  font-weight: 600;
  letter-spacing: clamp(0.6px, 0.3vw, 2px);
  text-transform: uppercase;
  color: var(--text-primary);
  white-space: nowrap;
}


.logo-main span { color: var(--gold); }

.logo-sub {
  font-size: 9px;
  letter-spacing: 3.5px;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 300;
}

.nav-links {
  display: flex;
  align-items: center;
  list-style: none;
  flex: 1 1 auto;
  min-width: 0;
  justify-content: center;
  gap: clamp(18px, 2.2vw, 40px);
  flex-wrap: nowrap;
}

.nav-links a {
  white-space: nowrap;
  font-size: 11px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.3s;
  position: relative;
  padding-bottom: 4px;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width 0.3s;
}

.nav-links a:hover { color: var(--gold); }
.nav-links a:hover::after { width: 100%; }
.nav-links a.active { color: var(--gold); }
.nav-links a.active::after { width: 100%; }

.nav-cta {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
  white-space: nowrap;
}

.nav-phone {
  white-space: nowrap;
  font-size: 13px;
  font-weight: 400;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.3s;
}

.nav-phone:hover { color: var(--gold); }

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}

.burger span {
  width: 28px;
  height: 1.5px;
  background: var(--text-primary);
  transition: all 0.35s;
  display: block;
}

.burger.open span:nth-child(1) { transform: rotate(45deg) translate(4px, 4px); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: rotate(-45deg) translate(4px, -4px); }

/* Mobile nav */
.mobile-nav {
  position: fixed;
  inset: 0;
  background: var(--bg-primary);
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 40px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s;
}

.mobile-nav.open { opacity: 1; pointer-events: all; }

.mobile-nav a {
  font-family: 'Cormorant Garamond', serif;
  font-size: 36px;
  font-weight: 300;
  color: var(--text-primary);
  text-decoration: none;
  letter-spacing: 2px;
  transition: color 0.3s;
}

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

/* ─── HERO ─────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  /* По дефолту — сильнее затемнение, дальше увеличивается при скролле (см. main.js) */
  --hero-overlay-min: 0.5;
  --hero-overlay-max: 0.8;
  --hero-overlay: var(--hero-overlay-min);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(7, 9, 12, 0.72) 0%, rgba(2, 12, 22, 0.88) 100%),
    url('../img/city.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transform: translateY(0) scale(1.02);
  will-change: transform;
  pointer-events: none;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 1);
  opacity: var(--hero-overlay);
  /* JS обновляет opacity каждый кадр (через RAF) — поэтому transition не нужен */
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(var(--accent-rgb), 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(var(--accent-rgb), 0.03) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 40%, transparent 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 10px 20px;
  border: 1px solid var(--border);
  background: rgba(var(--accent-rgb), 0.04);
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 48px;
  opacity: 0;
  animation: fadeUp 0.8s 0.2s forwards;
}

.hero-badge::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--gold);
  border-radius: 50%;
}

.hero-title {
  font-size: clamp(48px, 7vw, 100px);
  font-weight: 300;
  line-height: 1.05;
  margin-bottom: 32px;
  opacity: 0;
  animation: fadeUp 0.9s 0.4s forwards;
}

.hero-title .line-2 {
  font-style: italic;
  color: var(--gold);
}

.hero-desc {
  font-size: 18px;
  color: var(--text-secondary);
  font-weight: 300;
  line-height: 1.8;
  max-width: 520px;
  margin-bottom: 56px;
  opacity: 0;
  animation: fadeUp 0.9s 0.6s forwards;
}

.hero-actions {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 0.9s 0.8s forwards;
}

.hero-scroll {
  position: absolute;
  bottom: 48px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  opacity: 0;
  animation: fadeUp 0.9s 1.2s forwards;
}

.hero-scroll span {
  font-size: 9px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--text-muted);
  writing-mode: vertical-lr;
}

.scroll-line {
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: scrollPulse 2s infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(0.6) translateY(0); }
  50% { opacity: 1; transform: scaleY(1) translateY(4px); }
}

.hero-stats {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 2px;
  opacity: 0;
  animation: fadeLeft 0.9s 1s forwards;
}

.stat-item {
  padding: 28px 32px;
  border-left: 1px solid var(--border);
  min-width: 200px;
}

.stat-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 52px;
  font-weight: 300;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 6px;
}

.stat-label {
  font-size: 11px;
  letter-spacing: 1.5px;
  color: var(--text-muted);
  font-weight: 300;
  text-transform: uppercase;
}

/* ─── MARQUEE ─────────────────────────────── */
.marquee-wrap {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  padding: 20px 0;
  background: var(--bg-secondary);
}

.marquee-track {
  display: flex;
  gap: 0;
  animation: marquee 30s linear infinite;
  width: max-content;
}

.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 32px;
  padding: 0 40px;
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--text-muted);
  white-space: nowrap;
}

.marquee-item::after {
  content: '◆';
  font-size: 6px;
  color: var(--gold);
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ─── ABOUT ─────────────────────────────── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
  align-items: center;
}

.about-visual {
  position: relative;
}

.about-img-box {
  width: 100%;
  aspect-ratio: 4/5;
  background: var(--bg-card);
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.about-img-box::before {
  content: '';
  position: absolute;
  inset: 0;
  background: 
    linear-gradient(135deg, rgba(var(--accent-rgb), 0.08) 0%, transparent 50%),
    radial-gradient(ellipse at 30% 70%, rgba(var(--accent-rgb), 0.06) 0%, transparent 60%);
}

.about-img-inner {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.building-svg {
  width: 70%;
  opacity: 0.15;
  color: var(--gold);
}

.about-accent {
  position: absolute;
  bottom: -24px;
  right: -24px;
  width: 200px;
  height: 200px;
  border: 1px solid var(--border);
  background: var(--bg-secondary);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.about-accent-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 64px;
  font-weight: 300;
  color: var(--gold);
  line-height: 1;
}

.about-accent-text {
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted);
  text-align: center;
  max-width: 100px;
}

.about-points {
  margin-top: 48px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.about-point {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 20px;
  border: 1px solid transparent;
  transition: border-color 0.3s, background 0.3s;
}

.about-point:hover {
  border-color: var(--border);
  background: rgba(var(--accent-rgb), 0.02);
}

.about-point-icon {
  width: 36px;
  height: 36px;
  min-width: 36px;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-point-icon svg { color: var(--gold); }

.about-point h4 {
  font-family: 'Jost', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: 6px;
  letter-spacing: 0.5px;
}

.about-point p {
  font-size: 13px;
  color: var(--text-secondary);
  font-weight: 300;
  line-height: 1.7;
}

/* ─── SERVICES ─────────────────────────────── */
.services { background: var(--bg-secondary); }

.services-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 72px;
  gap: 40px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
}

.service-card {
  background: var(--bg-secondary);
  padding: 48px 40px;
  position: relative;
  transition: background 0.4s;
  overflow: hidden;
  text-decoration: none;
  display: block;
}

.service-card::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), transparent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.service-card:hover { background: var(--bg-card); }
.service-card:hover::before { transform: scaleX(1); }

.service-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 32px;
  letter-spacing: 2px;
}

.service-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 24px;
  color: var(--gold);
  transition: transform 0.4s;
}

.service-card:hover .service-icon { transform: scale(1.1); }

.service-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 26px;
  font-weight: 400;
  color: var(--text-primary);
  margin-bottom: 16px;
  line-height: 1.2;
}

.service-desc {
  font-size: 14px;
  color: var(--text-secondary);
  font-weight: 300;
  line-height: 1.75;
}

.service-arrow {
  margin-top: 32px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 0;
  transform: translateX(-10px);
  transition: opacity 0.3s, transform 0.3s;
}

.service-card:hover .service-arrow {
  opacity: 1;
  transform: translateX(0);
}

/* ─── PROCESS ─────────────────────────────── */
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 80px;
  position: relative;
}

.process-steps::before {
  content: '';
  position: absolute;
  top: 60px;
  left: 12%;
  right: 12%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), var(--border), var(--border), transparent);
}

.process-step {
  padding: 0 24px;
  text-align: center;
  position: relative;
}

.step-num {
  width: 48px;
  height: 48px;
  border: 1px solid var(--border);
  background: var(--bg-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Cormorant Garamond', serif;
  font-size: 18px;
  color: var(--gold);
  margin: 0 auto 32px;
  position: relative;
  z-index: 1;
  transition: background 0.3s, border-color 0.3s;
}

.process-step:hover .step-num {
  background: rgba(var(--accent-rgb), 0.1);
  border-color: var(--gold);
}

.step-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  font-weight: 400;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.step-desc {
  font-size: 13px;
  color: var(--text-secondary);
  font-weight: 300;
  line-height: 1.7;
}

/* ─── METRICS ─────────────────────────────── */
.metrics {
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 80px 0;
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.metric-item {
  text-align: center;
  padding: 40px;
  border-right: 1px solid var(--border);
  transition: background 0.3s;
}

.metric-item:last-child { border-right: none; }
.metric-item:hover { background: rgba(var(--accent-rgb), 0.02); }

.metric-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 72px;
  font-weight: 300;
  color: var(--gold);
  line-height: 1;
  display: block;
}

.metric-suffix {
  font-family: 'Cormorant Garamond', serif;
  font-size: 40px;
  color: var(--gold-dark);
}

.metric-label {
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 12px;
  font-weight: 300;
}

/* ─── TESTIMONIALS ─────────────────────────────── */
.testimonials { background: var(--bg-secondary); }

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 72px;
}

.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 40px;
  transition: border-color 0.3s, transform 0.3s;
}

.testimonial-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
}

.testimonial-quote {
  font-family: 'Cormorant Garamond', serif;
  font-size: 72px;
  color: var(--gold);
  line-height: 0.8;
  margin-bottom: 20px;
  opacity: 0.4;
}

.testimonial-text {
  font-size: 15px;
  color: var(--text-secondary);
  font-weight: 300;
  line-height: 1.8;
  font-style: italic;
  margin-bottom: 32px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 16px;
}

.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-dark), var(--gold));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Cormorant Garamond', serif;
  font-size: 18px;
  color: var(--bg-primary);
}

.author-name {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-primary);
}

.author-role {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 300;
}

/* ─── CTA BAND ─────────────────────────────── */
.cta-band {
  background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

.cta-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 50% 50%, rgba(var(--accent-rgb), 0.06) 0%, transparent 70%);
}

.cta-inner {
  position: relative;
  text-align: center;
}

.cta-inner .section-title { margin: 0 auto 20px; }
.cta-inner .section-desc { margin: 0 auto 48px; text-align: center; }

.cta-actions {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ─── CONTACT ─────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 100px;
  align-items: start;
}

.contact-info-items {
  display: flex;
  flex-direction: column;
  gap: 32px;
  margin-top: 48px;
}

.contact-info-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.info-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
}

.info-label {
  font-size: 10px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.info-value {
  font-size: 16px;
  color: var(--text-primary);
  font-weight: 300;
  text-decoration: none;
  transition: color 0.3s;
}

.info-value:hover { color: var(--gold); }

/* ─── FORM ─────────────────────────────── */
.form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-size: 10px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--text-muted);
}

.form-group input,
.form-group textarea,
.form-group select {
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-primary);
  padding: 16px 20px;
  font-family: 'Jost', sans-serif;
  font-size: 14px;
  font-weight: 300;
  outline: none;
  transition: border-color 0.3s;
  appearance: none;
}

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

.form-group textarea {
  height: 140px;
  resize: vertical;
}

.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%232dd4bf' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 20px center;
  padding-right: 48px;
}

.form-note {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 300;
}

.form-success {
  display: none;
  padding: 24px;
  border: 1px solid var(--gold);
  background: rgba(var(--accent-rgb), 0.05);
  text-align: center;
  color: var(--gold);
  font-size: 14px;
}


/* ─── RADIUS ─────────────────────────────── */
input, textarea, select {
  border-radius: var(--radius-sm);
}

.card, .service-card, .case-card, .testimonial-card, .property-card,
.contact-form, .metric-item, .faq-item, .service-toc, .contact-map,
.pricing-card, .step-card, .feature-card {
  border-radius: var(--radius);
}

.service-card, .case-card, .testimonial-card, .property-card, .contact-form {
  overflow: hidden;
}

/* ─── FOOTER ─────────────────────────────── */
.footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  padding: 80px 0 40px;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 60px;
  padding-bottom: 60px;
  border-bottom: 1px solid var(--border);
}

.footer-brand p {
  font-size: 14px;
  color: var(--text-muted);
  font-weight: 300;
  line-height: 1.8;
  margin-top: 20px;
  max-width: 280px;
}

.footer-col h4 {
  font-family: 'Jost', sans-serif;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  font-size: 14px;
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 300;
  transition: color 0.3s;
}

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

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

.footer-copy {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 300;
}

.footer-seo-links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-seo-links a {
  font-size: 12px;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.3s;
}

.footer-seo-links a:hover { color: var(--gold); }

/* ─── PAGE HERO (inner pages) ─────────────────────────────── */
.page-hero {
  padding: calc(var(--header-h) + 80px) 0 80px;
  background: 
    radial-gradient(ellipse 60% 80% at 80% 50%, rgba(var(--accent-rgb), 0.04) 0%, transparent 60%),
    var(--bg-primary);
  border-bottom: 1px solid var(--border);
}

/* ─── ANIMATIONS ─────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeLeft {
  from { opacity: 0; transform: translate(30px, -50%); }
  to { opacity: 1; transform: translate(0, -50%); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }

/* ─── RESPONSIVE ─────────────────────────────── */

@media (max-width: 1180px) and (min-width: 769px) {
  .nav { gap: 18px; flex-wrap: nowrap; }
  .logo-main { font-size: 18px; letter-spacing: 1.2px; }
  .logo-sub { letter-spacing: 3px; }
  .nav-links { gap: 22px; }
  .nav-links a { font-size: 10px; letter-spacing: 2px; }
  .nav-phone { font-size: 12px; }
  .btn { padding: 14px 28px; }
}

@media (max-width: 1100px) {
  .hero-stats { display: none; }
  .about-grid { grid-template-columns: 1fr; gap: 60px; }
  .about-visual { max-width: 480px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .process-steps { grid-template-columns: repeat(2, 1fr); gap: 48px; }
  .process-steps::before { display: none; }
  .metrics-grid { grid-template-columns: repeat(2, 1fr); }
  .metric-item { border-right: none; border-bottom: 1px solid var(--border); }
  .contact-grid { grid-template-columns: 1fr; gap: 60px; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .container { padding: 0 24px; }
  .section { padding: 80px 0; }
  /* Mobile header: keep burger at the right edge */
  .nav { justify-content: space-between; }
  .nav-links, .nav-cta { display: none; }
  .burger { display: flex; margin-left: auto; }
  .services-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 40px; }
  .services-header { flex-direction: column; align-items: flex-start; }
  .process-steps { grid-template-columns: 1fr; }
  .metrics-grid { grid-template-columns: 1fr 1fr; }
  .hero-actions { flex-direction: column; }
  .btn { width: 100%; justify-content: center; }
}

@media (max-width: 480px) {
  /* logo fit */
  .logo-main { letter-spacing: 0.5px; }

  .metrics-grid { grid-template-columns: 1fr; }
  .metric-item { border-right: none; }
}

/* ─── COOKIE BANNER ─────────────────────────────── */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  padding: 24px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  z-index: 2000;
  transform: translateY(100%);
  transition: transform 0.5s 1s;
  flex-wrap: wrap;
}

.cookie-banner.show { transform: translateY(0); }

.cookie-text {
  font-size: 13px;
  color: var(--text-secondary);
  font-weight: 300;
  max-width: 600px;
}

.cookie-actions {
  display: flex;
  gap: 16px;
  flex-shrink: 0;
}

/* BACK TO TOP */
.back-to-top {
  position: fixed;
  bottom: 40px;
  right: 40px;
  width: 48px;
  height: 48px;
  background: var(--gold);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.3s;
  z-index: 500;
  color: var(--bg-primary);
}

.back-to-top.show {
  opacity: 1;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--gold-light);
  transform: translateY(-4px);
}

/* ─── SERVICE PAGE ─────────────────────────────── */
.service-toc { display: none; }

.service-detail {
  padding: 80px 0;
}

.service-detail-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 80px;
  align-items: start;
}

.service-sidebar {
  position: sticky;
  top: calc(var(--header-h) + 24px);
}

.service-sidebar-nav {
  list-style: none;
  display: flex;
  flex-direction: column;
}

.service-sidebar-nav a {
  display: block;
  padding: 16px 24px;
  font-size: 13px;
  color: var(--text-secondary);
  text-decoration: none;
  border-left: 1px solid var(--border);
  transition: all 0.3s;
  font-weight: 300;
}

.service-sidebar-nav a:hover,
.service-sidebar-nav a.active {
  color: var(--gold);
  border-left-color: var(--gold);
  background: rgba(var(--accent-rgb), 0.04);
}

.service-content-block {
  margin-bottom: 64px;
  scroll-margin-top: calc(var(--header-h) + 32px);
}

.service-content-block h2 {
  font-size: 36px;
  margin-bottom: 20px;
  font-weight: 300;
}

.service-content-block p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.85;
  margin-bottom: 16px;
  font-weight: 300;
}

.service-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 24px;
}

.service-list li {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  font-size: 14px;
  color: var(--text-secondary);
  font-weight: 300;
  line-height: 1.6;
}

.service-list li::before {
  content: '—';
  color: var(--gold);
  flex-shrink: 0;
  margin-top: 1px;
}


/* ─── MOBILE UX TUNING (Контакты + Услуги) ─────────────────────────────── */
@media (max-width: 768px) {
  html, body { overflow-x: hidden; }

  /* Против случайного горизонтального скролла */
  img, svg, video, iframe { max-width: 100%; height: auto; }
  .container > * { max-width: 100%; }

  /* Заголовки в hero на мобильных (inline размеры не ломаем на ПК) */
  .page-hero .section-title { font-size: clamp(30px, 9vw, 44px) !important; }
  .page-hero .section-desc { font-size: 15px; line-height: 1.75; }

  /* BURGER: удобнее тапать */
  .burger {
    padding: 10px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: rgba(var(--accent-rgb), 0.04);
  }
  .burger span { width: 24px; }

  /* MOBILE NAV: вместо огромных ссылок по центру — удобная панель */
  .mobile-nav {
    padding: calc(var(--header-h) + 16px) 18px 18px;
    align-items: stretch;
    justify-content: flex-start;
    gap: 12px;
  }
  .mobile-nav a {
    font-family: 'Jost', sans-serif;
    font-size: 16px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 14px 16px;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: var(--bg-card);
  }
  .mobile-nav a:hover { color: var(--gold); border-color: var(--border-hover); }
  .mobile-nav a.active {
    color: var(--gold);
    border-color: rgba(var(--accent-rgb), 0.55);
    background: rgba(var(--accent-rgb), 0.06);
  }
  .mobile-nav a.mobile-nav-phone {
    font-size: 14px;
    letter-spacing: 1px;
    text-transform: none;
  }

  /* CONTACT PAGE */
  .contact-grid { gap: 36px; }
  .contact-info-items { margin-top: 24px; gap: 14px; }
  .contact-info-item {
    background: var(--bg-card);
    border: 1px solid var(--border);
    padding: 16px;
    border-radius: 16px;
    gap: 14px;
  }
  .contact-info-item > div { min-width: 0; }
  .info-value { font-size: 15px; overflow-wrap: anywhere; word-break: break-word; }

  .contact-form-card { padding: 28px 18px !important; }
  .contact-form-card .section-title { font-size: 28px !important; }
  .contact-form-card p { margin-bottom: 24px !important; }

  .form-group input,
  .form-group textarea,
  .form-group select { font-size: 16px; padding: 14px 16px; }
  .form-group select { background-position: right 16px center; padding-right: 44px; }

  /* FAQ на мобильных — карточками */
  .faq-list { margin-top: 24px; gap: 12px; }
  .faq-item {
    border: 1px solid var(--border);
    border-radius: 16px;
    background: var(--bg-card);
    margin: 0;
  }
  .faq-question { padding: 16px 16px; font-size: 15px; line-height: 1.4; }
  .faq-answer p { padding: 0 16px 16px; font-size: 14px; }
  .faq-item.open .faq-answer { max-height: 720px; }

  /* SERVICES PAGE */
  .service-detail { padding: 48px 0; }
  .service-detail-grid { grid-template-columns: 1fr; gap: 28px; }
  .service-sidebar { display: none; }

  /* Mobile TOC */
  .service-toc { display: block; background: var(--bg-card); border: 1px solid var(--border); border-radius: 16px; padding: 14px 16px; }
  .service-toc summary {
    cursor: pointer;
    font-size: 12px;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--gold);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    list-style: none;
  }
  .service-toc summary::-webkit-details-marker { display: none; }
  .service-toc summary::after {
    content: '+';
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border);
    border-radius: 10px;
    color: var(--text-primary);
    background: rgba(var(--accent-rgb), 0.04);
  }
  .service-toc[open] summary::after { content: '×'; }
  .service-toc-links {
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
  .service-toc-links a {
    text-decoration: none;
    color: var(--text-primary);
    font-size: 14px;
    font-weight: 300;
    padding: 12px 12px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: rgba(var(--accent-rgb), 0.03);
  }
  .service-toc-links a:active { transform: scale(0.99); }
  .service-toc-links a:hover { color: var(--gold); border-color: var(--border-hover); }

  /* Карточки услуг */
  .service-content-block {
    background: var(--bg-card);
    border: 1px solid var(--border);
    padding: 20px 18px;
    border-radius: 18px;
    margin-bottom: 18px;
  }
  .service-content-block > .section-label {
    display: inline-flex;
    padding: 6px 10px;
    border: 1px solid var(--border);
    background: rgba(var(--accent-rgb), 0.04);
    border-radius: 999px;
    font-size: 10px;
    letter-spacing: 3px;
    margin-bottom: 14px;
  }
  .service-content-block > .section-label::before { display: none; }
  .service-content-block h2 { font-size: 24px; margin-bottom: 12px; line-height: 1.2; }
  .service-content-block p { font-size: 15px; margin-bottom: 10px; }
  .service-list { margin-top: 16px; gap: 10px; }
  .service-list li { font-size: 14px; gap: 12px; }
}

@media (max-width: 480px) {
  .container { padding: 0 18px; }
  .service-content-block { padding: 18px 16px; }
  .service-content-block h2 { font-size: 22px; }
  .mobile-nav a { font-size: 15px; padding: 13px 14px; }
}

/* ─── PROPERTIES (Объекты недвижимости) ─────────────────────────────── */
.properties-intro {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
  margin-bottom: 56px;
}
.properties-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.property-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: border-color 0.3s, transform 0.3s;
}
.property-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
}
.property-photo {
  aspect-ratio: 4 / 3;
  background: linear-gradient(135deg, rgba(var(--accent-rgb), 0.10), transparent);
  position: relative;
  overflow: hidden;
}
.property-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(1.05);
}
.property-body { padding: 26px 26px 28px; }
.property-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 14px;
}
.property-tag {
  font-size: 10px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid var(--border);
  background: rgba(var(--accent-rgb), 0.06);
  padding: 6px 10px;
  border-radius: 999px;
}

.property-tag--active { }

.property-tag--type {
  color: var(--text-secondary);
  border-color: rgba(219, 226, 236, 0.10);
  background: rgba(219, 226, 236, 0.03);
}

.property-tag--done {
  color: var(--text-secondary);
  border-color: rgba(219, 226, 236, 0.10);
  background: rgba(219, 226, 236, 0.03);
}

.properties-divider {
  height: 1px;
  background: var(--border);
  margin: 72px 0;
}

/* visually hidden (for Netlify honeypot) */
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.property-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 26px;
  font-weight: 400;
  margin-bottom: 10px;
  line-height: 1.15;
}
.property-desc {
  font-size: 14px;
  color: var(--text-secondary);
  font-weight: 300;
  line-height: 1.75;
  margin-bottom: 18px;
}
.property-address {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 300;
  line-height: 1.6;
  margin-bottom: 18px;
}
.property-address svg { width: 18px; height: 18px; color: var(--gold); flex-shrink: 0; margin-top: 1px; }
.property-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-size: 11px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid var(--gold);
  padding: 12px 18px;
  border-radius: 14px;
  transition: background 0.25s, transform 0.25s;
}
.property-cta:hover { background: rgba(var(--accent-rgb), 0.08); }
.property-cta:active { transform: scale(0.99); }

/* ─── RESPONSIVE: PROPERTIES ─────────────────────────────── */
@media (max-width: 1100px) {
  .properties-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .properties-intro { flex-direction: column; align-items: flex-start; margin-bottom: 28px; }
  .properties-grid { grid-template-columns: 1fr; }
  .property-body { padding: 18px 18px 20px; }
  .property-title { font-size: 22px; }
}

/* ─── MOBILE OVERFLOW SAFETY ─────────────────────────────── */
@media (max-width: 768px) {
  html, body { overflow-x: hidden; max-width: 100%; }
  .logo-main.company-name { max-width: 220px; white-space: normal; line-height: 1.1; }
}
@media (max-width: 420px) {
  .logo-main.company-name { max-width: 190px; }
}



/* ─── PROPERTIES SHOWCASE (TWO-LEVEL MALL REVEAL) ───────────────────────── */
.property-showcase {
  position: relative;
  padding: 30px 0 0;
  background:
    radial-gradient(ellipse 68% 54% at 50% 12%, rgba(var(--accent-rgb), 0.16) 0%, transparent 64%),
    linear-gradient(180deg, rgba(2, 12, 22, 0.96) 0%, rgba(7, 9, 12, 0) 100%);
}

.property-showcase-scroll {
  --showcase-progress: 0;
  --showcase-open-1: 0;
  --showcase-open-2: 0;
  --showcase-open-3: 0;
  --showcase-rotate: 0;
  position: relative;
  height: 360vh;
}

.property-showcase-stage {
  position: sticky;
  top: calc(var(--header-h) + 12px);
  min-height: calc(100vh - var(--header-h) - 24px);
  display: flex;
  align-items: center;
  overflow: hidden;
}

.property-showcase-inner {
  position: relative;
  width: 100%;
  min-height: min(980px, calc(100vh - var(--header-h) - 30px));
  border: 1px solid rgba(var(--accent-rgb), 0.1);
  border-radius: 36px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.022) 0%, rgba(255,255,255,0.008) 100%),
    radial-gradient(ellipse 62% 54% at 54% 46%, rgba(var(--accent-rgb), 0.14) 0%, transparent 74%),
    rgba(12, 16, 24, 0.86);
  backdrop-filter: blur(24px);
  box-shadow: 0 44px 120px rgba(0, 0, 0, 0.38), inset 0 1px 0 rgba(255,255,255,0.04);
  overflow: hidden;
}

.property-showcase-inner::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(var(--accent-rgb), 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(var(--accent-rgb), 0.05) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(circle at 54% 45%, black 30%, transparent 84%);
  opacity: calc(0.12 + var(--showcase-progress) * 0.24);
  pointer-events: none;
}

.property-showcase-inner::after {
  content: '';
  position: absolute;
  inset: auto -12% -34% -12%;
  height: 56%;
  background: radial-gradient(ellipse at center, rgba(var(--accent-rgb), 0.18) 0%, transparent 66%);
  filter: blur(42px);
  opacity: calc(0.24 + var(--showcase-progress) * 0.4);
  pointer-events: none;
}

.property-showcase-copy {
  position: absolute;
  left: clamp(20px, 3vw, 42px);
  top: clamp(20px, 3vw, 34px);
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 16px;
  border-radius: 999px;
  border: 1px solid rgba(var(--accent-rgb), 0.18);
  background: rgba(8, 11, 16, 0.58);
  backdrop-filter: blur(18px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.2);
  opacity: calc(0.72 + var(--showcase-progress) * 0.28);
  transform: translateY(calc((1 - var(--showcase-progress)) * 14px));
}

.property-showcase-minimal {
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  white-space: nowrap;
}

.property-showcase-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 2.2px;
  font-size: 11px;
  color: var(--text-primary);
  white-space: nowrap;
}

.property-showcase-link::after {
  content: '↘';
  font-size: 14px;
  color: var(--gold);
}

.property-model-wrap {
  position: absolute;
  inset: 0;
  perspective: 3000px;
  transform-style: preserve-3d;
}

.property-model,
.property-model * {
  transform-style: preserve-3d;
}

.property-model {
  position: absolute;
  left: 50%;
  top: 55%;
  width: min(70vw, 900px);
  height: min(45vw, 600px);
  /* Базовый наклон изометрии */
  transform:
    translate3d(-50%, -50%, 0)
    rotateX(60deg)
    rotateZ(calc(-35deg + var(--showcase-rotate) * 70deg))
    scale(calc(0.85 + var(--showcase-progress) * 0.15));
}

.property-model-plinth {
  position: absolute;
  inset: -20px;
  border-radius: 40px;
  background: rgba(12, 16, 24, 0.4);
  border: 1px solid rgba(244, 236, 216, 0.1);
  box-shadow: 0 50px 100px rgba(0,0,0,0.5);
  transform: translateZ(-30px);
}

.property-model-level {
  position: absolute;
  inset: 0;
  transition: transform 0.1s linear;
}

/* Высота этажей при скролле */
.property-model-level--1 {
  transform: translateZ(0px);
}
.property-model-level--2 {
  transform: translateZ(calc(40px + var(--showcase-open-1) * 120px));
}
.property-model-level--3 {
  transform: translateZ(calc(80px + var(--showcase-open-1) * 120px + var(--showcase-open-2) * 160px));
}

.property-floor-slab {
  position: absolute;
  inset: 0;
  border-radius: 24px;
  background: rgba(18, 24, 34, 0.85);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(244, 236, 216, 0.2);
  box-shadow: inset 0 0 20px rgba(255,255,255,0.02), 0 20px 40px rgba(0,0,0,0.3);
}

.property-floor-plan {
  position: absolute;
  inset: 0;
  border-radius: 24px;
  overflow: hidden;
}

.property-floor-title {
  position: absolute;
  left: 0;
  top: -45px;
  padding: 8px 16px;
  border-radius: 8px;
  background: rgba(var(--accent-rgb), 0.1);
  border: 1px solid var(--gold);
  color: var(--gold);
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  transform: rotateX(-90deg) translateY(-20px);
  transform-origin: bottom center;
  opacity: calc(0.2 + var(--showcase-open-1) * 1);
}

/* --- ЗОНИРОВАНИЕ --- */
.zone, .atrium {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  text-align: center;
  transition: background 0.3s, border 0.3s;
}

.zone span, .atrium span {
  font-size: 10px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #fff;
  font-weight: 500;
  text-shadow: 0 2px 4px rgba(0,0,0,0.8);
  padding: 4px;
}

.atrium {
  border: 2px dashed rgba(255,255,255,0.2);
  background: rgba(0,0,0,0.3);
}

/* Цвета по категориям якорных арендаторов */
.zone-anchor { 
  background: rgba(46, 204, 113, 0.25); /* Зеленый - Гипермаркет */
  border: 1px solid rgba(46, 204, 113, 0.6);
  box-shadow: inset 0 0 20px rgba(46, 204, 113, 0.2);
}
.zone-electronics { 
  background: rgba(241, 196, 15, 0.25); /* Желтый - Техника */
  border: 1px solid rgba(241, 196, 15, 0.6);
}
.zone-fashion { 
  background: rgba(52, 152, 219, 0.25); /* Синий - Одежда/Обувь */
  border: 1px solid rgba(52, 152, 219, 0.6);
}
.zone-food { 
  background: rgba(231, 76, 60, 0.25); /* Красный - Еда */
  border: 1px solid rgba(231, 76, 60, 0.6);
}
.zone-entertainment { 
  background: rgba(155, 89, 182, 0.25); /* Фиолетовый - Развлечения */
  border: 1px solid rgba(155, 89, 182, 0.6);
}
.zone-home { 
  background: rgba(26, 188, 156, 0.25); /* Бирюзовый - Товары для дома */
  border: 1px solid rgba(26, 188, 156, 0.6);
}
.zone-services { 
  background: rgba(149, 165, 166, 0.25); /* Серый - Услуги */
  border: 1px solid rgba(149, 165, 166, 0.6);
}

.zone:hover {
  filter: brightness(1.5);
  box-shadow: 0 0 20px currentColor;
}

/* --- ПОТОКИ (TRAFFIC FLOWS) --- */
.flow-line {
  position: absolute;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0.6;
}
.flow-horizontal {
  height: 2px;
  transform: translateY(-50%);
  background-size: 200% 100%;
  animation: flowAnimX 3s linear infinite;
}
.flow-vertical {
  width: 2px;
  transform: translateX(-50%);
  background: linear-gradient(180deg, transparent, var(--gold), transparent);
  background-size: 100% 200%;
  animation: flowAnimY 3s linear infinite;
}

@keyframes flowAnimX {
  0% { background-position: 100% 0; }
  100% { background-position: -100% 0; }
}
@keyframes flowAnimY {
  0% { background-position: 0 100%; }
  100% { background-position: 0 -100%; }
}

.entrance-marker {
  position: absolute;
  background: var(--gold);
  color: var(--bg-primary);
  font-size: 9px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 4px;
  text-transform: uppercase;
}

@media (max-width: 1180px) {
  .property-showcase-scroll { height: 320vh; }

  .property-showcase-copy {
    padding: 12px 14px;
    gap: 14px;
  }

  .property-model {
    width: min(86vw, 820px);
    height: min(54vw, 520px);
  }
}

@media (max-width: 768px) {
  .property-showcase { padding-top: 18px; }
  .property-showcase-scroll { height: 230vh; }

  .property-showcase-stage {
    top: calc(var(--header-h) + 8px);
    min-height: calc(100vh - var(--header-h) - 12px);
  }

  .property-showcase-inner {
    min-height: calc(100vh - var(--header-h) - 16px);
    border-radius: 24px;
  }

  .property-showcase-copy {
    left: 14px;
    right: 14px;
    top: 14px;
    justify-content: space-between;
    flex-wrap: wrap;
    border-radius: 18px;
  }

  .property-showcase-minimal,
  .property-showcase-link {
    white-space: normal;
  }

  .property-model {
    width: min(118vw, 620px);
    height: min(74vw, 390px);
    transform:
      translate3d(-50%, -50%, 0)
      rotateX(55deg)
      rotateZ(calc(-12deg + var(--showcase-rotate) * 30deg))
      scale(calc(0.9 + var(--showcase-progress) * 0.18));
  }

  .property-floor-title {
    top: -28px;
    padding: 6px 10px;
    font-size: 8px;
    letter-spacing: 2px;
  }
}


/* ─── APRIL 2026 UPDATE ─────────────────────────────── */
@media (max-width: 768px) {
  :root {
    --bg-primary: #0d1219;
    --bg-secondary: #08111b;
    --bg-card: #121925;
  }

  body {
    background: linear-gradient(180deg, var(--bg-primary) 0%, #101722 100%);
  }

  .hero-badge--mobile-hidden {
    display: none !important;
  }

  .contact-grid {
    align-items: stretch;
  }

  .contact-grid > .reveal {
    width: 100%;
  }

  .contact-info-items,
  .contact-form-card,
  .faq-list {
    width: 100%;
  }

  .contact-info-item,
  .contact-form-card,
  .faq-item {
    box-sizing: border-box;
    width: 100%;
  }
}

/* Контакты — аккуратное выравнивание карточек и блоков */
.contact-grid > .reveal,
.contact-grid .contact-form-card {
  min-width: 0;
}

.contact-info-item {
  width: 100%;
  justify-content: flex-start;
}

.contact-info-item > div:last-child {
  flex: 1 1 auto;
  min-width: 0;
}

.contact-form-card {
  width: 100%;
}

/* Оптимизация 3D-сцены объектов */
.property-showcase-scroll {
  height: 300vh;
}

.property-showcase-inner {
  min-height: min(860px, calc(100vh - var(--header-h) - 30px));
}

.property-model {
  width: min(64vw, 760px);
  height: min(39vw, 470px);
  will-change: transform;
}

.property-model-shadow,
.property-model-glow {
  pointer-events: none;
}

.property-model-level {
  will-change: transform;
}

.property-model-level--2 {
  transform: translateZ(calc(34px + var(--showcase-open-1) * 150px + var(--showcase-open-2) * 24px));
}

.property-model-level--3 {
  display: none;
}

.property-floor-plan {
  contain: layout paint;
}

@media (max-width: 1180px) {
  .property-showcase-scroll {
    height: 260vh;
  }

  .property-model {
    width: min(78vw, 700px);
    height: min(46vw, 430px);
  }
}

@media (max-width: 768px) {
  .property-showcase-scroll {
    height: 185vh;
  }

  .property-showcase-stage {
    min-height: calc(100svh - var(--header-h) - 12px);
  }

  .property-showcase-inner {
    min-height: calc(100svh - var(--header-h) - 16px);
    padding-top: 68px;
  }

  .property-model-wrap {
    inset: 10px 0 0;
  }

  .property-model {
    left: 50%;
    top: 57%;
    width: min(96vw, 480px);
    height: min(58vw, 280px);
    transform: translate3d(-50%, -50%, 0) rotateX(56deg) rotateZ(calc(-14deg + var(--showcase-rotate) * 22deg)) scale(calc(0.88 + var(--showcase-progress) * 0.12));
  }

  .property-model-plinth {
    inset: -10px;
    border-radius: 24px;
  }

  .property-floor-title {
    top: -24px;
    font-size: 7px;
    letter-spacing: 1.2px;
  }

  .zone span,
  .atrium span {
    font-size: 8px;
    letter-spacing: 1px;
    line-height: 1.15;
  }

  .flow-line,
  .entrance-marker {
    display: none;
  }
}

@media (max-width: 480px) {
  .property-showcase-scroll {
    height: 170vh;
  }

  .property-showcase-copy {
    gap: 10px;
    padding: 12px;
  }

  .property-model {
    width: min(98vw, 420px);
    height: min(62vw, 250px);
  }

  .zone span,
  .atrium span {
    font-size: 7px;
  }
}
