/* ===== FONT ===== */
@font-face {
  font-family: 'Micra';
  src: url('fonts/Micra.woff2') format('woff2'),
       url('fonts/Micra.woff') format('woff'),
       url('fonts/Micra.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

/* ===== RESET & BASE ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: #1a1a1a;
  background: #fff;
  line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; border: none; font-family: inherit; }
ul { list-style: none; }

/* ===== COLORS ===== */
:root {
  --red: #C8102E;
  --red-hover: #A00D24;
  --dark: #141414;
  --dark-card: #1e1e1e;
  --light: #f7f5f2;
  --light-card: #fff;
  --text-dark: #1a1a1a;
  --text-light: #f0ece6;
  --text-muted: #888;
  --accent-warm: #e8ddd0;
}

/* ===== UTILITY ===== */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section-dark { background: var(--dark); color: var(--text-light); }
.section-light { background: var(--light); color: var(--text-dark); }
.section-white { background: #fff; color: var(--text-dark); }

.btn-primary {
  display: inline-block;
  background: var(--red);
  color: #fff;
  padding: 16px 40px;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  border-radius: 4px;
  transition: background 0.3s, transform 0.2s;
}
.btn-primary:hover { background: var(--red-hover); transform: translateY(-1px); }
.btn-outline {
  display: inline-block;
  border: 1px solid rgba(255,255,255,0.4);
  color: #fff;
  padding: 14px 32px;
  font-size: 0.9rem;
  font-weight: 500;
  border-radius: 4px;
  transition: all 0.3s;
}
.btn-outline:hover { border-color: #fff; background: rgba(255,255,255,0.08); }

.section-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 12px;
}
.section-title {
  font-family: 'Micra', 'Inter', sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 20px;
}
.section-subtitle {
  font-size: 1.1rem;
  line-height: 1.7;
  opacity: 0.8;
  max-width: 640px;
}

/* ===== HEADER (fixed) ===== */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 16px 0;
  transition: background 0.4s, padding 0.4s, box-shadow 0.4s;
}
.header.scrolled {
  background: rgba(20,20,20,0.95);
  backdrop-filter: blur(12px);
  padding: 10px 0;
  box-shadow: 0 2px 20px rgba(0,0,0,0.3);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.header-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}
.header-logo-icon {
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
}
.header-logo-icon img { width: 100%; height: 100%; object-fit: contain; }
.header-logo-text {
  font-family: 'Micra', 'Inter', sans-serif;
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.05em;
  white-space: nowrap;
}
.header-logo-text span { color: var(--red); }
.header-nav { display: flex; gap: 16px; }
.header-nav a {
  font-family: 'Micra', 'Inter', sans-serif;
  color: rgba(255,255,255,0.7);
  font-size: 0.72rem;
  font-weight: 500;
  transition: color 0.3s;
  letter-spacing: 0.01em;
  white-space: nowrap;
}
.header-nav a:hover { color: #fff; }
.header-right { display: flex; align-items: center; gap: 14px; }
.header-phone {
  color: #fff;
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.header-cta {
  background: var(--red);
  color: #fff;
  padding: 8px 16px;
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: 4px;
  transition: background 0.3s;
  white-space: nowrap;
}
.header-cta:hover { background: var(--red-hover); }
.burger { display: none; flex-direction: column; gap: 5px; background: none; padding: 4px; }
.burger span { width: 24px; height: 2px; background: #fff; border-radius: 2px; transition: 0.3s; }

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: auto;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: url('IMG_7206 2.jpg') 30% center/cover no-repeat;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(10,10,10,0.92) 0%,
    rgba(10,10,10,0.7) 40%,
    rgba(10,10,10,0.2) 70%,
    rgba(10,10,10,0.1) 100%
  );
}
.hero-content {
  position: relative;
  z-index: 2;
  padding-top: 160px;
  padding-bottom: 60px;
  text-align: left;
}
.hero-badge {
  display: inline-block;
  background: rgba(200,16,46,0.15);
  border: 1px solid rgba(200,16,46,0.5);
  color: #fff;
  padding: 8px 18px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: 2px;
  margin-bottom: 32px;
  backdrop-filter: blur(4px);
}
.hero h1 {
  font-family: 'Micra', 'Inter', sans-serif;
  font-size: 2.4rem;
  font-weight: 800;
  line-height: 1.2;
  color: #fff;
  margin-bottom: 24px;
  max-width: 540px;
  text-align: left;
}
.hero h1 em {
  font-style: normal;
  color: var(--red);
}
.hero-sub {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.7;
  max-width: 630px;
  margin-bottom: 44px;
  text-align: left;
}
.hero-deadline {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 10px 0;
  white-space: nowrap;
}
.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
}
.hero-features {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  z-index: 2;
  background: rgba(20,20,20,0.65);
  backdrop-filter: blur(12px);
  border-top: 1px solid rgba(255,255,255,0.08);
}
.hero-features-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.hero-feature {
  padding: 22px 24px;
  border-right: 1px solid rgba(255,255,255,0.08);
  text-align: center;
}
.hero-feature:last-child { border-right: none; }
.hero-feature-val {
  font-size: 1.3rem;
  margin-bottom: 6px;
}
.hero-feature-label {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.65);
  font-weight: 500;
  letter-spacing: 0.01em;
  line-height: 1.3;
}

/* ===== SECTION: CONCEPT ===== */
.concept { padding: 72px 0; }
.concept-header { text-align: center; margin-bottom: 64px; }
.concept-header .section-subtitle { margin: 0 auto; }
.concept-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.concept-card {
  border-radius: 14px;
  padding: 28px 24px;
  min-height: 240px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  position: relative;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  transition: transform 0.3s, box-shadow 0.3s;
}
.concept-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.78) 0%, rgba(0,0,0,0.18) 100%);
  border-radius: 14px;
  transition: background 0.3s;
}
.concept-card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,0,0,0.25); }
.concept-card:hover::before { background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.3) 100%); }
.concept-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 8px;
  line-height: 1.3;
  color: #fff;
  position: relative;
  z-index: 1;
}
.concept-card p {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.8);
  line-height: 1.55;
  position: relative;
  z-index: 1;
}
.concept-note {
  text-align: center;
  margin-top: 48px;
  font-size: 1.05rem;
  color: #888;
  font-style: italic;
  padding: 24px 32px;
  border-left: 3px solid var(--red);
  display: inline-block;
  background: rgba(200,16,46,0.03);
  border-radius: 0 6px 6px 0;
}
.concept-origin {
  margin-top: 64px;
  background: #fff;
  border: 1px solid #eee;
  border-radius: 12px;
  padding: 48px 40px;
  position: relative;
  overflow: hidden;
}
.concept-origin::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 4px; height: 100%;
  background: linear-gradient(to bottom, var(--red), #ff6b4a);
}
.concept-origin-label {
  font-family: 'Micra', 'Inter', sans-serif;
  font-size: 2.2rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 24px;
}
.concept-origin-intro {
  font-size: 1.1rem;
  color: #444;
  margin-bottom: 28px;
  line-height: 1.6;
}
.concept-origin-meanings {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 28px;
}
.concept-origin-item {
  border-radius: 14px;
  min-height: 220px;
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  position: relative;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.85);
  line-height: 1.55;
  transition: transform 0.3s, box-shadow 0.3s;
}
.concept-origin-item::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.15) 100%);
  border-radius: 14px;
}
.concept-origin-item:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,0,0,0.25); }
.concept-origin-item div { position: relative; z-index: 1; }
.concept-origin-item strong {
  color: #fff;
  display: block;
  font-size: 1.05rem;
  margin-bottom: 4px;
}
.concept-origin-icon {
  display: none;
}
.concept-origin-footer {
  font-size: 1rem;
  color: #888;
  font-style: italic;
  line-height: 1.7;
  padding-top: 20px;
  border-top: 1px solid #eee;
}

/* ===== SECTION: YARD ===== */
.yard {
  padding: 72px 0;
  position: relative;
  overflow: hidden;
}
.yard-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.yard-image {
  border-radius: 8px;
  overflow: hidden;
  position: relative;
}
.yard-image img { width: 100%; display: block; border-radius: 8px; }
.yard-text .section-title { color: #fff; }
.yard-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 32px 0 40px;
}
.yard-feat {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.yard-feat-icon {
  flex-shrink: 0;
  width: 32px; height: 32px;
  background: rgba(200,16,46,0.15);
  border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px;
  color: var(--red);
}
.yard-feat-text {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.4;
}
.yard-feat-text strong {
  color: #fff;
  display: block;
  font-size: 0.95rem;
  margin-bottom: 2px;
}

/* ===== SECTION: SPACES (Подъезды + Паркинг) ===== */
.spaces { padding: 72px 0; }
.spaces-header { text-align: center; margin-bottom: 56px; }
.spaces-tabs {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 48px;
}
.spaces-tab {
  padding: 12px 28px;
  font-size: 0.9rem;
  font-weight: 600;
  background: transparent;
  color: #888;
  border: 1px solid #ddd;
  border-radius: 4px;
  transition: all 0.3s;
}
.spaces-tab.active { background: var(--red); color: #fff; border-color: var(--red); }
.spaces-tab:hover:not(.active) { border-color: #999; color: #444; }
.spaces-content { display: none; }
.spaces-content.active { display: block; }
.slider-container {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
}
.slider-track {
  display: flex;
  transition: transform 0.5s ease;
}
.slider-slide {
  min-width: 100%;
  position: relative;
}
.slider-slide img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.slider-caption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 20px 28px;
  background: linear-gradient(transparent, rgba(0,0,0,0.7));
  color: #fff;
  font-size: 0.95rem;
  font-weight: 500;
}
.slider-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px; height: 44px;
  background: rgba(255,255,255,0.9);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
  color: #333;
  z-index: 5;
  transition: background 0.3s;
  box-shadow: 0 2px 12px rgba(0,0,0,0.15);
}
.slider-nav:hover { background: #fff; }
.slider-prev { left: 16px; }
.slider-next { right: 16px; }
.slider-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
}
.slider-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: #ddd;
  border: none;
  transition: background 0.3s;
}
.slider-dot.active { background: var(--red); }
.spaces-content .slider-caption { display: none; }
.spaces-desc {
  max-width: 600px;
  margin: 24px auto 0;
  text-align: center;
  font-size: 0.95rem;
  color: #666;
  line-height: 1.7;
}

/* ===== SECTION: ENGINEERING & SAFETY ===== */
.engineering { padding: 72px 0; text-align: center; }
.engineering .section-title { color: #fff; }
.engineering .section-label { color: var(--red); }
.engineering-subtitle {
  text-align: center;
  color: rgba(255,255,255,0.6);
  font-size: 1.05rem;
  max-width: 680px;
  margin: -20px auto 50px;
  line-height: 1.7;
}
.eng-group-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--red);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 28px;
  text-align: center;
}
.eng-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 20px;
}
.eng-grid-hidden {
  display: none;
  margin-bottom: 0;
}
.eng-grid-hidden.open {
  display: grid;
}
.eng-toggle {
  background: none;
  border: 1px solid rgba(255,255,255,0.3);
  color: #fff;
  padding: 12px 32px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  border-radius: 8px;
  transition: all 0.3s;
  letter-spacing: 0.03em;
}
.eng-toggle:hover {
  border-color: var(--red);
  color: var(--red);
}
.eng-toggle-arrow {
  display: inline-block;
  font-size: 0.7rem;
  margin-left: 8px;
  transition: transform 0.3s;
}
.eng-toggle.active .eng-toggle-arrow {
  transform: rotate(180deg);
}
.eng-card {
  border-radius: 14px;
  padding: 24px 20px;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  position: relative;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  transition: transform 0.3s, box-shadow 0.3s;
}
.eng-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.82) 0%, rgba(0,0,0,0.2) 100%);
  border-radius: 14px;
  transition: background 0.3s;
}
.eng-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.35);
}
.eng-card:hover::before { background: linear-gradient(to top, rgba(0,0,0,0.88) 0%, rgba(0,0,0,0.35) 100%); }
.eng-card h4 {
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
  position: relative;
  z-index: 1;
}
.eng-card p {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.8);
  line-height: 1.6;
  position: relative;
  z-index: 1;
}
.eng-icon { display: none; }

/* ===== SECTION: APARTMENTS ===== */
.apartments { padding: 72px 0; }
.apartments-header { text-align: center; margin-bottom: 40px; }
.apartments-header .section-subtitle { margin: 0 auto; }
.apartments-price {
  font-size: 1.25rem;
  color: var(--red);
  margin-bottom: 12px;
  font-weight: 400;
  letter-spacing: 0.01em;
}
.apartments-price strong {
  font-weight: 700;
  font-size: 1.4rem;
}
.apt-tabs {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}
.apt-tab {
  padding: 12px 24px;
  font-size: 0.9rem;
  font-weight: 600;
  background: transparent;
  color: #888;
  border: 1px solid #ddd;
  border-radius: 4px;
  transition: all 0.3s;
}
.apt-tab.active { background: var(--red); color: #fff; border-color: var(--red); }
.apt-tab:hover:not(.active) { border-color: #999; color: #444; }
.apt-content { display: none; margin-bottom: 48px; }
.apt-content.active { display: block; }
.apt-info {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}
.apt-badge {
  display: inline-block;
  padding: 6px 16px;
  background: var(--dark);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: 4px;
  letter-spacing: 0.03em;
}
.apt-area {
  display: inline-flex;
  align-items: center;
  padding: 6px 16px;
  background: rgba(200,16,46,0.08);
  color: var(--red);
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: 4px;
}
.apt-desc {
  max-width: 600px;
  margin: 20px auto 0;
  text-align: center;
  font-size: 0.95rem;
  color: #666;
  line-height: 1.7;
}
/* Apartment slides: full image + blurred backdrop for non-16:10 images */
.apt-content .slider-slide {
  aspect-ratio: 16/10;
  overflow: hidden;
  background-color: var(--light);
  background-size: cover;
  background-position: center;
}
.apt-content .slider-slide::before {
  content: '';
  position: absolute;
  inset: -30px;
  background-image: inherit;
  background-size: cover;
  background-position: center;
  filter: blur(30px) saturate(1.2) brightness(0.7);
  z-index: 0;
}
.apt-content .slider-slide img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  z-index: 1;
}
.apt-content .slider-caption {
  display: none;
}
.apt-points {
  list-style: none;
  padding: 0;
  margin: 0 0 48px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.apt-points li {
  position: relative;
  padding: 24px 24px 24px 40px;
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-dark);
  background: #fff;
  border: 1px solid #eee;
  border-radius: 12px;
}
.apt-points li::before {
  content: '';
  position: absolute;
  left: 18px;
  top: 30px;
  width: 8px;
  height: 8px;
  background: var(--red);
  border-radius: 50%;
}
.apartments-cta { text-align: center; }

/* ===== SECTION: TRUST ===== */
.trust { padding: 72px 0; }
.trust-header { text-align: center; margin-bottom: 64px; }
.trust-header .section-title { color: #fff; }
.trust-header .section-subtitle { margin: 0 auto; color: rgba(255,255,255,0.6); }
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 56px;
}
.trust-card {
  background: var(--dark-card);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px;
  padding: 36px 24px;
  text-align: center;
  transition: border-color 0.3s, transform 0.3s;
  position: relative;
  overflow: hidden;
}
.trust-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: var(--red);
  opacity: 0;
  transition: opacity 0.3s;
}
.trust-card:hover { border-color: rgba(200,16,46,0.3); transform: translateY(-3px); }
.trust-card:hover::after { opacity: 1; }
.trust-card-icon {
  width: 56px; height: 56px;
  background: rgba(200,16,46,0.12);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
  font-size: 26px;
}
.trust-card h3 { font-size: 1rem; font-weight: 700; color: #fff; margin-bottom: 8px; }
.trust-card p { font-size: 0.85rem; color: rgba(255,255,255,0.55); line-height: 1.6; }
.trust-banks {
  text-align: center;
  padding: 40px 0;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.trust-banks-label { font-size: 0.8rem; color: rgba(255,255,255,0.4); letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 20px; }
.trust-banks-logos {
  display: flex;
  justify-content: center;
  gap: 40px;
  align-items: center;
}
.bank-logo {
  height: 36px;
  width: auto;
  opacity: 0.7;
  transition: opacity 0.3s;
  filter: brightness(0) invert(1);
}
.bank-logo:hover { opacity: 1; }
.placeholder-box {
  background: rgba(255,255,255,0.06);
  border: 1px dashed rgba(255,255,255,0.15);
  border-radius: 6px;
  padding: 16px 28px;
  color: rgba(255,255,255,0.35);
  font-size: 0.8rem;
  text-align: center;
}
.placeholder-box-light {
  background: rgba(0,0,0,0.04);
  border: 1px dashed rgba(0,0,0,0.15);
  color: rgba(0,0,0,0.35);
}

/* ===== SCROLL REVEAL ANIMATION ===== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  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; }
.trust-cta { text-align: center; margin-top: 48px; }

/* ===== SECTION: INFRASTRUCTURE ===== */
.infra { padding: 72px 0; background: var(--light); }
.infra-header { text-align: center; margin-bottom: 24px; }
.infra-header .section-title { color: var(--text-dark); }
.infra-subtitle {
  text-align: center;
  color: rgba(0,0,0,0.5);
  font-size: 1.05rem;
  max-width: 640px;
  margin: -8px auto 40px;
  line-height: 1.7;
}

/* POI carousel */
.infra-poi-row {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  padding-bottom: 16px;
  margin-bottom: 32px;
  scrollbar-width: thin;
  scrollbar-color: rgba(0,0,0,0.15) transparent;
}
.infra-poi-row::-webkit-scrollbar { height: 6px; }
.infra-poi-row::-webkit-scrollbar-thumb { background: rgba(0,0,0,0.15); border-radius: 3px; }
.infra-poi-card {
  min-width: 200px;
  max-width: 200px;
  background: #fff;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 12px;
  padding: 18px 16px;
  cursor: pointer;
  transition: border-color 0.3s, box-shadow 0.3s;
  flex-shrink: 0;
}
.infra-poi-card:hover {
  border-color: var(--red);
  box-shadow: 0 4px 16px rgba(200,16,46,0.1);
}
.infra-poi-icon { font-size: 1.3rem; margin-bottom: 8px; }
.infra-poi-name { font-weight: 600; font-size: 0.9rem; color: var(--text-dark); margin-bottom: 4px; line-height: 1.3; }
.infra-poi-time { color: var(--text-muted); font-size: 0.8rem; }

/* Main layout: sidebar + map */
.infra-main {
  display: grid;
  grid-template-columns: 240px 1fr;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(0,0,0,0.08);
  background: #fff;
  box-shadow: 0 4px 24px rgba(0,0,0,0.06);
}

/* Sidebar */
.infra-sidebar { padding: 8px 0; border-right: 1px solid rgba(0,0,0,0.06); }
.infra-cat {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 24px;
  cursor: pointer;
  font-size: 0.9rem;
  color: var(--text-dark);
  transition: background 0.2s, color 0.2s;
  border: none;
  background: none;
  width: 100%;
  text-align: left;
  font-family: inherit;
}
.infra-cat:hover { background: rgba(0,0,0,0.03); }
.infra-cat.active {
  font-weight: 700;
  color: var(--red);
  background: rgba(200,16,46,0.05);
  border-right: 3px solid var(--red);
}
.infra-cat-icon { width: 22px; text-align: center; font-size: 1.1rem; flex-shrink: 0; }
.infra-cat-count {
  margin-left: auto;
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 400;
}

/* Mobile category pills (hidden on desktop) */
.infra-cats-mobile { display: none; }

/* Map container */
.infra-map-wrap { position: relative; }
.infra-map {
  width: 100%;
  height: 520px;
  background: #e8e8e8;
}

/* Map fallback */
.infra-map-fallback {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  padding: 40px;
  text-align: center;
  color: var(--text-muted);
}
.infra-map-fallback-icon { font-size: 3rem; margin-bottom: 16px; }
.infra-map-fallback h3 { font-size: 1.1rem; color: var(--text-dark); margin-bottom: 8px; }
.infra-map-fallback p { font-size: 0.85rem; max-width: 360px; line-height: 1.6; }

/* Map popup */
.infra-popup {
  position: absolute;
  background: #fff;
  border-radius: 12px;
  padding: 16px 20px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.18);
  z-index: 10;
  min-width: 200px;
  pointer-events: auto;
  transform: translate(-50%, -100%);
  margin-top: -12px;
}
.infra-popup::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 0; height: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-top: 8px solid #fff;
}
.infra-popup-close {
  position: absolute;
  top: 8px; right: 12px;
  background: none;
  border: none;
  font-size: 1.2rem;
  color: var(--text-muted);
  cursor: pointer;
}
.infra-popup-name { font-weight: 700; font-size: 0.95rem; margin-bottom: 4px; color: var(--text-dark); padding-right: 20px; }
.infra-popup-cat { font-size: 0.8rem; color: var(--text-muted); margin-bottom: 4px; }
.infra-popup-time { font-size: 0.85rem; color: var(--red); font-weight: 600; }

/* ===== SECTION: REVIEWS ===== */
.reviews-section { padding: 72px 0; background: var(--dark); color: var(--text-light); }
.reviews-header { display: flex; align-items: center; gap: 16px; margin-bottom: 40px; flex-wrap: wrap; }
.reviews-rating { display: flex; align-items: baseline; gap: 10px; }
.reviews-rating-num { font-size: 2.8rem; font-weight: 700; color: #fff; line-height: 1; }
.reviews-rating-stars { display: flex; gap: 2px; color: #FFD54F; font-size: 1.2rem; }
.reviews-rating-count { font-size: 0.9rem; color: rgba(255,255,255,0.5); }
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 32px;
}
.review-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  padding: 28px;
  transition: background 0.3s;
}
.review-card:hover { background: rgba(255,255,255,0.1); }
.review-card-top { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.review-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 1.1rem;
  flex-shrink: 0;
}
.review-meta { flex: 1; }
.review-name { font-weight: 600; font-size: 1rem; color: #fff; }
.review-date { font-size: 0.8rem; color: rgba(255,255,255,0.4); margin-top: 2px; }
.review-stars { color: #FFD54F; font-size: 0.85rem; letter-spacing: 2px; margin-bottom: 10px; }
.review-text { font-size: 0.95rem; line-height: 1.65; color: rgba(255,255,255,0.75); }
.reviews-footer { text-align: center; }
.reviews-yandex-link {
  display: inline-flex; align-items: center; gap: 8px;
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  font-size: 0.85rem;
  transition: color 0.3s;
}
.reviews-yandex-link:hover { color: #fff; }
.reviews-yandex-link svg { width: 18px; height: 18px; }
@media (max-width: 768px) {
  .reviews-grid { grid-template-columns: 1fr; gap: 16px; }
  .review-card { padding: 22px; }
  .reviews-rating-num { font-size: 2.2rem; }
}

/* ===== SECTION: CONTACT ===== */
.contact { padding: 72px 0; }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}
.contact-form-wrap {
  background: var(--dark-card);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  padding: 48px 40px;
}
.contact-form-wrap h2 {
  font-size: 1.8rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
}
.contact-form-wrap .form-sub {
  color: rgba(255,255,255,0.5);
  font-size: 0.9rem;
  margin-bottom: 32px;
}
.form-group { margin-bottom: 20px; }
.form-group input {
  width: 100%;
  padding: 16px 20px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 6px;
  color: #fff;
  font-size: 1rem;
  font-family: inherit;
  transition: border-color 0.3s;
}
.form-group input::placeholder { color: rgba(255,255,255,0.35); }
.form-group input:focus { outline: none; border-color: var(--red); }
.form-submit {
  width: 100%;
  padding: 18px;
  background: var(--red);
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 6px;
  transition: background 0.3s;
  margin-top: 8px;
}
.form-submit:hover { background: var(--red-hover); }
.form-note {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.3);
  margin-top: 16px;
  line-height: 1.5;
}

/* ===== POPUP FORM ===== */
.popup-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(4px);
  align-items: center;
  justify-content: center;
}
.popup-overlay.open {
  display: flex;
}
.popup-body {
  position: relative;
  width: 90%;
  max-width: 460px;
  background: #1a1a1a;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px;
  padding: 48px 36px 36px;
  animation: popupIn 0.3s ease;
}
@keyframes popupIn {
  from { opacity: 0; transform: translateY(30px) scale(0.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.popup-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  color: #fff;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s;
  border: none;
}
.popup-close:hover { background: rgba(255,255,255,0.15); }
.popup-body h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
}
.popup-body .form-sub {
  color: rgba(255,255,255,0.5);
  font-size: 0.9rem;
  margin-bottom: 28px;
}
.contact-info h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 24px;
}
.contact-details { margin-bottom: 32px; }
.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 20px;
}
.contact-detail-icon {
  flex-shrink: 0;
  width: 40px; height: 40px;
  background: rgba(200,16,46,0.12);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
}
.contact-detail-text .label {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
  margin-bottom: 2px;
}
.contact-detail-text .value {
  font-size: 1rem;
  color: #fff;
  font-weight: 500;
}
.contact-map {
  width: 100%;
  height: 280px;
  border-radius: 12px;
  overflow: hidden;
  margin-top: 20px;
}

/* ===== FOOTER ===== */
.footer {
  background: #1a1a1a;
  padding: 40px 0;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.footer-copy { font-size: 0.85rem; color: rgba(255,255,255,0.4); margin-bottom: 20px; }
.footer-disclaimer { font-size: 0.82rem; color: rgba(255,255,255,0.35); line-height: 1.7; margin-bottom: 20px; max-width: 800px; }
.footer-decl-link { color: rgba(255,255,255,0.45); text-decoration: none; transition: color 0.3s; }
.footer-decl-link:hover { color: #fff; }

/* ===== MODAL ===== */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(6px);
  display: none;
  align-items: center;
  justify-content: center;
}
.modal-overlay.open { display: flex; }
.modal {
  background: var(--dark);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px;
  padding: 48px 40px;
  max-width: 440px;
  width: 90%;
  position: relative;
}
.modal-close {
  position: absolute;
  top: 16px; right: 16px;
  background: none;
  color: rgba(255,255,255,0.4);
  font-size: 24px;
  padding: 4px;
  transition: color 0.3s;
}
.modal-close:hover { color: #fff; }
.modal h2 { font-size: 1.5rem; font-weight: 700; color: #fff; margin-bottom: 8px; }
.modal .form-sub { color: rgba(255,255,255,0.5); font-size: 0.9rem; margin-bottom: 28px; }

/* ===== MOBILE NAV ===== */
.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 9998;
  background: rgba(10,10,10,0.98);
  backdrop-filter: blur(12px);
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  color: #fff;
  font-size: 1.3rem;
  font-weight: 600;
  padding: 8px 0;
}
.mobile-nav-close {
  position: absolute;
  top: 20px; right: 24px;
  background: none;
  color: #fff;
  font-size: 28px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .hero h1 { font-size: 2.8rem; max-width: 500px; }
  .hero-content { padding-top: 140px; padding-bottom: 50px; }
  .section-title { font-size: 2rem; }
  .concept-grid { grid-template-columns: repeat(2, 1fr); }
  .yard-grid { grid-template-columns: 1fr; gap: 40px; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .apt-points { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .infra-main { grid-template-columns: 200px 1fr; }
}

@media (max-width: 768px) {
  .header-nav { display: none; }
  .header-phone { display: none; }
  .burger { display: flex; }

  .header { background: rgba(20,20,20,0.85); backdrop-filter: blur(8px); }
  .hero { min-height: 100svh; }
  .hero-bg { background-image: url('frame18-mobile.jpg'); }
  .hero-content { padding-top: 90px; padding-bottom: 20px; display: flex; flex-direction: column; min-height: 100svh; }
  .hero-badge { margin-bottom: 0; }
  .hero h1 { font-size: 1.4rem; max-width: 100%; margin-top: auto; }
  .hero-sub { font-size: 0.8rem; max-width: 100%; margin-bottom: 12px; }
  .hero-overlay {
    background: linear-gradient(
      to bottom,
      rgba(10,10,10,0.88) 0%,
      rgba(10,10,10,0.6) 50%,
      rgba(10,10,10,0.75) 100%
    ) !important;
  }
  .hero-features-inner { grid-template-columns: repeat(2, 1fr); }
  .hero-feature { padding: 16px 14px; }
  .hero-feature-val { font-size: 1.1rem; }

  .section-title { font-size: 1.7rem; }
  .concept-grid { grid-template-columns: 1fr; }
  .concept-origin { padding: 32px 24px; }
  .concept-origin-meanings { grid-template-columns: 1fr; gap: 16px; }
  .concept-origin-item { min-height: 180px; }

  .yard-features { grid-template-columns: 1fr; }

  .eng-grid { grid-template-columns: 1fr; gap: 14px; }
  .eng-card { padding: 24px 20px; min-height: 180px; }
  .concept-card { min-height: 200px; }

  .apt-tabs { gap: 6px; }
  .apt-tab { padding: 10px 16px; font-size: 0.8rem; }
  .apt-points { grid-template-columns: 1fr; gap: 12px; }

  .trust-grid { grid-template-columns: 1fr; }
  .trust-banks-logos { flex-wrap: wrap; gap: 20px; }

  .infra-main { grid-template-columns: 1fr; }
  .infra-sidebar { display: none; }
  .infra-cats-mobile {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 0 0 16px;
    margin-bottom: 0;
    scrollbar-width: none;
  }
  .infra-cats-mobile::-webkit-scrollbar { display: none; }
  .infra-cat-pill {
    flex-shrink: 0;
    padding: 10px 18px;
    border-radius: 100px;
    border: 1px solid rgba(0,0,0,0.12);
    background: #fff;
    font-size: 0.8rem;
    font-weight: 500;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.2s;
    font-family: inherit;
    color: var(--text-dark);
  }
  .infra-cat-pill:hover { border-color: var(--red); }
  .infra-cat-pill.active {
    background: var(--red);
    color: #fff;
    border-color: var(--red);
    font-weight: 600;
  }
  .infra-map { height: 400px; }
  .infra-poi-card { min-width: 170px; max-width: 170px; padding: 14px 12px; }

  .contact-form-wrap { padding: 32px 24px; }

  .footer-disclaimer { font-size: 0.78rem; }

  .btn-primary { width: 100%; text-align: center; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 1.3rem; }
  .hero-features-inner { grid-template-columns: 1fr 1fr; }
  .hero-badge { margin-bottom: 12px; }
}

/* ===== THANK YOU PAGE ===== */
.thank-you-overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(10,10,10,0.92);
  backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s;
}
.thank-you-overlay.open {
  opacity: 1;
  pointer-events: all;
}
.thank-you-card {
  background: #1e1e1e;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  padding: 60px 48px;
  max-width: 520px;
  width: 90%;
  text-align: center;
  position: relative;
  transform: translateY(24px);
  transition: transform 0.4s;
  box-shadow: 0 32px 80px rgba(0,0,0,0.5);
}
.thank-you-overlay.open .thank-you-card {
  transform: translateY(0);
}
.thank-you-close {
  position: absolute;
  top: 16px; right: 20px;
  background: none;
  border: none;
  color: rgba(255,255,255,0.4);
  font-size: 1.5rem;
  cursor: pointer;
  line-height: 1;
  transition: color 0.2s;
}
.thank-you-close:hover { color: #fff; }
.thank-you-icon {
  width: 72px; height: 72px;
  background: rgba(200,16,46,0.12);
  border: 2px solid var(--red);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 28px;
  font-size: 2rem;
}
.thank-you-card h2 {
  font-family: 'Micra', 'Inter', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 16px;
  line-height: 1.2;
}
.thank-you-card .ty-name {
  color: var(--red);
}
.thank-you-card p {
  font-size: 1rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.7;
  margin-bottom: 32px;
}
.thank-you-details {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 36px;
}
.ty-detail {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255,255,255,0.04);
  border-radius: 8px;
  padding: 14px 16px;
  text-align: left;
}
.ty-detail-icon {
  font-size: 1.3rem;
  flex-shrink: 0;
}
.ty-detail-text {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.4;
}
.ty-detail-text strong {
  color: #fff;
  display: block;
  font-size: 0.85rem;
  margin-bottom: 2px;
}
.thank-you-btn {
  display: inline-block;
  background: var(--red);
  color: #fff;
  padding: 14px 36px;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 4px;
  cursor: pointer;
  border: none;
  font-family: inherit;
  transition: background 0.3s, transform 0.2s;
  width: 100%;
}
.thank-you-btn:hover {
  background: var(--red-hover);
  transform: translateY(-1px);
}
