/* === RESET & VARIABLES === */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
:root {
  --forest: #1B4332;
  --forest-deep: #0F2B1F;
  --forest-light: #2D6A4F;
  --gold: #D4A574;
  --gold-light: #E8C9A0;
  --gold-dark: #B8895A;
  --cream: #FAF8F5;
  --white: #FFFFFF;
  --gray-50: #F7F7F5;
  --gray-100: #EDEDEB;
  --gray-200: #D4D4D0;
  --gray-400: #9C9C97;
  --gray-600: #6B6B66;
  --gray-800: #3A3A37;
  --gray-900: #1D1D1B;
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Manrope', system-ui, sans-serif;
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);
}
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: var(--font-body); color: var(--gray-900); background: var(--cream); overflow-x: hidden; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
button { border: none; cursor: pointer; font-family: var(--font-body); }
input, select, textarea { font-family: var(--font-body); }
ul { list-style: none; }

/* === UTILITY === */
.container { max-width: 1280px; margin: 0 auto; padding: 0 40px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }

/* === REVEAL ANIMATIONS === */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity 0.9s var(--ease-out-expo), transform 0.9s var(--ease-out-expo); }
.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; }

/* === SECTION TITLES === */
.section-label {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.section-label::before {
  content: '';
  width: 40px;
  height: 1px;
  background: var(--gold);
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 500;
  line-height: 1.15;
  color: var(--forest-deep);
  margin-bottom: 20px;
}
.section-subtitle {
  font-size: 1.05rem;
  color: var(--gray-600);
  line-height: 1.6;
  max-width: 560px;
  font-weight: 400;
}

/* === BUTTONS === */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 36px;
  background: var(--gold);
  color: var(--forest-deep);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  border-radius: 0;
  position: relative;
  overflow: hidden;
  transition: all 0.4s var(--ease-out-expo);
}
.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gold-dark);
  transform: translateY(101%);
  transition: transform 0.4s var(--ease-out-expo);
}
.btn-primary:hover::before { transform: translateY(0); }
.btn-primary span { position: relative; z-index: 1; }
.btn-primary svg { position: relative; z-index: 1; transition: transform 0.3s var(--ease-out-expo); }
.btn-primary:hover svg { transform: translateX(4px); }

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  background: transparent;
  color: var(--forest);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  border: 1.5px solid var(--forest);
  transition: all 0.4s var(--ease-out-expo);
}
.btn-outline:hover {
  background: var(--forest);
  color: var(--white);
}
.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 0;
  background: transparent;
  color: var(--gold-dark);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  border-bottom: 1.5px solid var(--gold);
  transition: all 0.3s var(--ease-out-expo);
}
.btn-ghost:hover { gap: 14px; color: var(--forest); border-color: var(--forest); }

/* ========================================
   SECTION 1: HEADER (Bootstrap 5.3 style)
   ======================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1030;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem 1rem;
  transition: background 0.35s ease, box-shadow 0.35s ease, padding 0.35s ease;
}
.navbar > .container {
  display: flex;
  flex-wrap: inherit;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}
.navbar.scrolled {
  background: rgba(27,67,50,0.97);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 2px 16px rgba(0,0,0,0.15);
  padding: 0.25rem 1rem;
}

/* Navbar Brand */
.navbar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0.3125rem 0;
  white-space: nowrap;
  flex-shrink: 0;
}
.navbar-brand .logo-icon {
  width: 36px;
  height: 36px;
  background: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.navbar-brand .logo-icon svg { width: 20px; height: 20px; }
.navbar-brand .logo-text {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 600;
  color: var(--white);
  letter-spacing: -0.01em;
  line-height: 1.15;
}
.navbar-brand .logo-sub {
  font-size: 0.62rem;
  font-weight: 400;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  display: block;
  margin-top: -1px;
}

/* Navbar Toggler (hamburger) */
.navbar-toggler {
  display: none;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 4px;
  cursor: pointer;
  position: relative;
  transition: border-color 0.25s ease;
}
.navbar-toggler:hover { border-color: rgba(255,255,255,0.35); }
.navbar-toggler:focus { outline: none; box-shadow: 0 0 0 3px rgba(212,165,116,0.25); }
.navbar-toggler-icon {
  display: block;
  width: 22px;
  height: 16px;
  position: relative;
}
.navbar-toggler-icon span {
  display: block;
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--white);
  border-radius: 1px;
  transition: transform 0.3s var(--ease-out-expo), opacity 0.2s ease;
}
.navbar-toggler-icon span:nth-child(1) { top: 0; }
.navbar-toggler-icon span:nth-child(2) { top: 7px; }
.navbar-toggler-icon span:nth-child(3) { top: 14px; }
.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon span:nth-child(2) {
  opacity: 0;
}
.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Navbar Collapse */
.navbar-collapse {
  display: flex;
  align-items: center;
  flex-grow: 1;
  justify-content: flex-end;
}

/* Navbar Nav */
.navbar-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.nav-item { position: relative; }
.nav-link {
  display: block;
  padding: 0.5rem 0.85rem;
  color: rgba(255,255,255,0.7);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: color 0.2s ease, background 0.2s ease;
  border-radius: 4px;
  white-space: nowrap;
}
.nav-link:hover,
.nav-link:focus {
  color: var(--white);
  background: rgba(255,255,255,0.06);
}
.nav-link.active {
  color: var(--gold);
}

/* Navbar extras: phone + CTA */
.navbar-extras {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-left: 24px;
}
.navbar-phone {
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: color 0.2s ease;
  white-space: nowrap;
}
.navbar-phone:hover { color: var(--gold); }
.navbar-cta {
  padding: 9px 22px;
  background: var(--gold);
  color: var(--forest-deep);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-radius: 4px;
  white-space: nowrap;
  transition: background 0.2s ease, transform 0.2s ease;
}
.navbar-cta:hover { background: var(--gold-light); transform: translateY(-1px); }

/* ---- Responsive collapse (< 992px) ---- */
@media (max-width: 991.98px) {
  .navbar-toggler { display: flex; }
  .navbar-collapse {
    display: none;
    flex-basis: 100%;
    flex-direction: column;
    align-items: stretch;
    padding: 16px 0 8px;
  }
  .navbar-collapse.show { display: flex; }
  .navbar-nav {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    width: 100%;
  }
  .nav-link {
    padding: 12px 16px;
    font-size: 0.9rem;
    border-radius: 6px;
  }
  .nav-link:hover,
  .nav-link:focus { background: rgba(255,255,255,0.08); }
  .navbar-extras {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    margin-left: 0;
    margin-top: 12px;
    padding-top: 16px;
    border-top: 1px solid rgba(255,255,255,0.1);
  }
  .navbar-phone {
    padding: 8px 16px;
    font-size: 0.95rem;
  }
  .navbar-cta {
    text-align: center;
    padding: 14px 22px;
    font-size: 0.85rem;
    border-radius: 6px;
  }
}
@media (min-width: 992px) {
  .navbar { padding: 0 2.5rem; }
  .navbar.scrolled { padding: 0 2.5rem; }
}

/* ========================================
   SECTION 2: HERO
   ======================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  padding-bottom: 80px;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 70% 30%, rgba(45,106,79,0.4) 0%, transparent 60%),
    radial-gradient(ellipse at 30% 70%, rgba(212,165,116,0.15) 0%, transparent 50%),
    linear-gradient(165deg, #0F2B1F 0%, #1B4332 35%, #2D6A4F 70%, #1B4332 100%);
  z-index: 0;
}
.hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(90deg, transparent, transparent 119px, rgba(255,255,255,0.02) 119px, rgba(255,255,255,0.02) 120px),
    repeating-linear-gradient(0deg, transparent, transparent 119px, rgba(255,255,255,0.02) 119px, rgba(255,255,255,0.02) 120px);
}
.hero-bg::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 200px;
  background: linear-gradient(to top, var(--cream), transparent);
  z-index: 1;
}
.hero-house {
  position: absolute;
  top: 50%;
  right: 5%;
  transform: translateY(-55%);
  width: 500px;
  height: 380px;
  opacity: 0.12;
  z-index: 0;
}
.hero-house-shape {
  width: 100%;
  height: 100%;
  position: relative;
}
.hero-house-shape::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 10%;
  width: 80%;
  height: 60%;
  border: 2px solid var(--gold);
  opacity: 0.4;
}
.hero-house-shape::after {
  content: '';
  position: absolute;
  bottom: 60%;
  left: 5%;
  width: 90%;
  height: 0;
  border-left: 45% solid transparent;
  border-right: 45% solid transparent;
  border-bottom: 80px solid rgba(212,165,116,0.3);
}
.hero .container {
  position: relative;
  z-index: 2;
  width: 100%;
}
.hero-content {
  max-width: 700px;
}
.hero-urgency {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  background: rgba(212,165,116,0.15);
  border: 1px solid rgba(212,165,116,0.3);
  color: var(--gold-light);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 32px;
  animation: pulse-border 2s ease-in-out infinite;
}
@keyframes pulse-border {
  0%, 100% { border-color: rgba(212,165,116,0.3); }
  50% { border-color: rgba(212,165,116,0.7); }
}
.hero-urgency svg { width: 14px; height: 14px; }
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 6vw, 4.5rem);
  font-weight: 500;
  line-height: 1.05;
  color: var(--white);
  margin-bottom: 24px;
}
.hero-title em {
  font-style: normal;
  color: var(--gold);
}
.hero-usp {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 36px;
}
.hero-usp li {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.75);
  font-size: 0.9rem;
  font-weight: 400;
}
.hero-usp li svg {
  width: 16px;
  height: 16px;
  color: var(--gold);
  flex-shrink: 0;
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 64px;
}
.hero-stats {
  display: flex;
  gap: 48px;
  padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.hero-stat-number {
  font-family: var(--font-display);
  font-size: 2.8rem;
  font-weight: 600;
  color: var(--gold);
  line-height: 1;
}
.hero-stat-label {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
  margin-top: 6px;
  font-weight: 400;
}

/* ========================================
   SECTION 3: ADVANTAGES
   ======================================== */
.advantages {
  padding: 120px 0;
  background: var(--cream);
  position: relative;
}
.advantages-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--gray-200);
  margin-top: 60px;
}
.advantage-card {
  background: var(--cream);
  padding: 48px 36px;
  position: relative;
  transition: all 0.4s var(--ease-out-expo);
}
.advantage-card:hover {
  background: var(--white);
}
.advantage-card:hover .advantage-icon {
  background: var(--forest);
}
.advantage-card:hover .advantage-icon svg {
  color: var(--gold);
}
.advantage-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gray-100);
  margin-bottom: 24px;
  transition: all 0.4s var(--ease-out-expo);
}
.advantage-icon svg { width: 24px; height: 24px; color: var(--forest); transition: color 0.4s; }
.advantage-title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--forest-deep);
  margin-bottom: 10px;
}
.advantage-text {
  font-size: 0.88rem;
  color: var(--gray-600);
  line-height: 1.6;
}

/* ========================================
   SECTION 4: PROJECTS
   ======================================== */
.projects {
  padding: 120px 0;
  background: var(--white);
}
.projects-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 48px;
  flex-wrap: wrap;
  gap: 24px;
}
.projects-filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.filter-btn {
  padding: 10px 22px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  background: var(--gray-50);
  color: var(--gray-600);
  border: 1px solid var(--gray-100);
  transition: all 0.3s var(--ease-out-expo);
}
.filter-btn:hover, .filter-btn.active {
  background: var(--forest);
  color: var(--white);
  border-color: var(--forest);
}
.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.project-card {
  position: relative;
  overflow: hidden;
  transition: all 0.5s var(--ease-out-expo);
  border: 1px solid var(--gray-100);
}
.project-card:hover { transform: translateY(-4px); box-shadow: 0 20px 60px rgba(0,0,0,0.08); }
.project-image {
  height: 240px;
  position: relative;
  overflow: hidden;
}
.project-image-bg {
  width: 100%;
  height: 100%;
  transition: transform 0.6s var(--ease-out-expo);
}
.project-card:hover .project-image-bg { transform: scale(1.05); }
.project-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  padding: 6px 14px;
  background: var(--forest);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.project-info { padding: 28px; }
.project-name {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--forest-deep);
  margin-bottom: 12px;
}
.project-meta {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.project-meta span {
  font-size: 0.8rem;
  color: var(--gray-600);
  display: flex;
  align-items: center;
  gap: 6px;
}
.project-meta svg { width: 14px; height: 14px; color: var(--gold-dark); }
.project-price {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--forest);
  margin-bottom: 4px;
}
.project-price-label {
  font-size: 0.75rem;
  color: var(--gray-400);
  margin-bottom: 20px;
}
.project-cta {
  width: 100%;
  padding: 14px;
  background: var(--gray-50);
  color: var(--forest);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-align: center;
  transition: all 0.3s var(--ease-out-expo);
  border: 1px solid var(--gray-100);
}
.project-cta:hover {
  background: var(--forest);
  color: var(--white);
  border-color: var(--forest);
}
.projects-more {
  text-align: center;
  margin-top: 48px;
}

/* ========================================
   SECTION 5: CUSTOM DESIGN
   ======================================== */
.custom-design {
  padding: 100px 0;
  background: var(--forest-deep);
  position: relative;
  overflow: hidden;
}
.custom-design::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212,165,116,0.08) 0%, transparent 70%);
}
.custom-design-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.custom-design-visual {
  position: relative;
  height: 400px;
}
.custom-design-box {
  position: absolute;
  border: 1px solid rgba(212,165,116,0.2);
}
.custom-design-box:nth-child(1) { top: 0; left: 10%; width: 70%; height: 80%; background: rgba(212,165,116,0.05); }
.custom-design-box:nth-child(2) { top: 15%; left: 25%; width: 65%; height: 75%; background: rgba(45,106,79,0.1); border-color: rgba(45,106,79,0.2); }
.custom-design-box:nth-child(3) {
  top: 30%;
  left: 40%;
  width: 50%;
  height: 50%;
  background: linear-gradient(135deg, rgba(212,165,116,0.12), rgba(45,106,79,0.08));
  display: flex;
  align-items: center;
  justify-content: center;
  border-color: var(--gold);
}
.custom-design-box:nth-child(3)::after {
  content: 'ВАШ ПРОЕКТ';
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--gold);
  letter-spacing: 0.15em;
}
.custom-design-text h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 500;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 20px;
}
.custom-design-text h2 em {
  font-style: normal;
  color: var(--gold);
}
.custom-design-text p {
  font-size: 1rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.7;
  margin-bottom: 36px;
}
.custom-design-features {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 40px;
}
.custom-design-features li {
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255,255,255,0.75);
  font-size: 0.9rem;
}
.custom-design-features svg { width: 18px; height: 18px; color: var(--gold); flex-shrink: 0; }

/* ========================================
   SECTION 6: STEPS
   ======================================== */
.steps {
  padding: 120px 0;
  background: var(--gray-50);
}
.steps-track {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  margin-top: 60px;
  position: relative;
}
.steps-track::before {
  content: '';
  position: absolute;
  top: 36px;
  left: 36px;
  right: 36px;
  height: 2px;
  background: var(--gray-200);
  z-index: 0;
}
.step-item {
  text-align: center;
  padding: 0 16px;
  position: relative;
}
.step-number {
  width: 72px;
  height: 72px;
  margin: 0 auto 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
  border: 2px solid var(--gray-200);
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--forest);
  position: relative;
  z-index: 1;
  transition: all 0.4s var(--ease-out-expo);
}
.step-item:hover .step-number {
  background: var(--forest);
  border-color: var(--forest);
  color: var(--gold);
}
.step-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--forest-deep);
  margin-bottom: 8px;
}
.step-desc {
  font-size: 0.82rem;
  color: var(--gray-600);
  line-height: 1.5;
  margin-bottom: 12px;
}
.step-time {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--gold-dark);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* ========================================
   SECTION 7: TECHNOLOGY
   ======================================== */
.technology {
  padding: 120px 0;
  background: var(--white);
}
.tech-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 60px;
}
.tech-card {
  padding: 40px;
  border: 1px solid var(--gray-100);
  position: relative;
  overflow: hidden;
  transition: all 0.4s var(--ease-out-expo);
}
.tech-card:hover {
  border-color: var(--forest-light);
  box-shadow: 0 12px 40px rgba(27,67,50,0.06);
}
.tech-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 0;
  background: var(--gold);
  transition: height 0.4s var(--ease-out-expo);
}
.tech-card:hover::before { height: 100%; }
.tech-card-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--forest);
  margin-bottom: 20px;
}
.tech-card-icon svg { width: 22px; height: 22px; color: var(--gold); }
.tech-card h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--forest-deep);
  margin-bottom: 12px;
}
.tech-card p {
  font-size: 0.88rem;
  color: var(--gray-600);
  line-height: 1.65;
}
.tech-badges {
  display: flex;
  gap: 12px;
  margin-top: 20px;
  flex-wrap: wrap;
}
.tech-badge {
  padding: 6px 14px;
  background: var(--gray-50);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--forest);
  letter-spacing: 0.02em;
}
.tech-highlight {
  grid-column: 1 / -1;
  display: flex;
  gap: 40px;
  justify-content: center;
  padding: 48px;
  background: linear-gradient(135deg, var(--forest-deep), var(--forest));
  margin-top: 24px;
}
.tech-highlight-item {
  text-align: center;
}
.tech-highlight-value {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--gold);
}
.tech-highlight-label {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.6);
  margin-top: 4px;
}

/* ========================================
   SECTION 8: CASES
   ======================================== */
.cases {
  padding: 120px 0;
  background: var(--cream);
}
.cases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 60px;
}
.case-card {
  border: 1px solid var(--gray-100);
  background: var(--white);
  overflow: hidden;
  transition: all 0.4s var(--ease-out-expo);
}
.case-card:hover { transform: translateY(-4px); box-shadow: 0 16px 48px rgba(0,0,0,0.06); }
.case-image {
  height: 220px;
  position: relative;
}
.case-body { padding: 32px; }
.case-task {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 12px;
}
.case-title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--forest-deep);
  margin-bottom: 12px;
}
.case-result {
  font-size: 0.88rem;
  color: var(--gray-600);
  line-height: 1.6;
  margin-bottom: 20px;
}
.case-quote {
  padding: 16px 20px;
  border-left: 3px solid var(--gold);
  background: var(--gray-50);
  font-size: 0.85rem;
  color: var(--gray-800);
  font-style: italic;
  line-height: 1.5;
}
.case-author {
  margin-top: 8px;
  font-style: normal;
  font-weight: 600;
  font-size: 0.78rem;
  color: var(--gray-600);
}

/* ========================================
   SECTION 9: REVIEWS
   ======================================== */
.reviews {
  padding: 120px 0;
  background: var(--white);
  overflow: hidden;
}
.reviews-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 48px;
  flex-wrap: wrap;
  gap: 24px;
}
.reviews-rating {
  display: flex;
  align-items: center;
  gap: 12px;
}
.reviews-rating-score {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--forest);
}
.reviews-rating-text {
  font-size: 0.8rem;
  color: var(--gray-600);
  line-height: 1.3;
}
.reviews-stars { color: var(--gold); font-size: 1rem; }
.reviews-slider {
  display: flex;
  gap: 24px;
  transition: transform 0.6s var(--ease-out-expo);
}
.review-card {
  min-width: calc(33.333% - 16px);
  padding: 40px;
  border: 1px solid var(--gray-100);
  background: var(--gray-50);
  flex-shrink: 0;
  transition: all 0.3s var(--ease-out-expo);
  max-width: 360px;
}
.review-card:hover { background: var(--white); box-shadow: 0 8px 32px rgba(0,0,0,0.04); }
.review-stars {
  color: var(--gold);
  font-size: 0.85rem;
  margin-bottom: 16px;
  letter-spacing: 2px;
}
.review-text {
  font-size: 0.92rem;
  color: var(--gray-800);
  line-height: 1.7;
  margin-bottom: 24px;
  font-style: italic;
}
.review-author {
  display: flex;
  align-items: center;
  gap: 14px;
}
.review-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--white);
}
.review-name {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--forest-deep);
}
.review-city {
  font-size: 0.78rem;
  color: var(--gray-400);
  margin-top: 2px;
}
.reviews-controls {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 40px;
}
.reviews-controls button {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  transition: all 0.3s var(--ease-out-expo);
}
.reviews-controls button:hover {
  background: var(--forest);
  border-color: var(--forest);
  color: var(--white);
}
.reviews-controls svg { width: 18px; height: 18px; }

/* ========================================
   SECTION 10: FAQ
   ======================================== */
.faq {
  padding: 120px 0;
  background: var(--gray-50);
}
.faq-inner {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  margin-top: 0;
}
.faq-list {
  display: flex;
  flex-direction: column;
}
.faq-item {
  border-bottom: 1px solid var(--gray-200);
}
.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
  background: transparent;
  text-align: left;
  font-size: 1rem;
  font-weight: 600;
  color: var(--forest-deep);
  transition: color 0.3s;
  gap: 16px;
}
.faq-question:hover { color: var(--forest-light); }
.faq-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  position: relative;
}
.faq-icon::before, .faq-icon::after {
  content: '';
  position: absolute;
  background: var(--forest);
  transition: transform 0.3s var(--ease-out-expo);
}
.faq-icon::before {
  width: 14px;
  height: 1.5px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.faq-icon::after {
  width: 1.5px;
  height: 14px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.faq-item.active .faq-icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease-out-expo), padding 0.4s var(--ease-out-expo);
}
.faq-item.active .faq-answer {
  max-height: 300px;
}
.faq-answer p {
  padding-bottom: 24px;
  font-size: 0.9rem;
  color: var(--gray-600);
  line-height: 1.7;
}

/* ========================================
   SECTION 11: CALCULATOR
   ======================================== */
.calculator {
  padding: 120px 0;
  background: var(--white);
}
.calc-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: start;
  margin-top: 60px;
}
.calc-form {
  padding: 48px;
  border: 1px solid var(--gray-100);
  background: var(--gray-50);
}
.calc-field { margin-bottom: 32px; }
.calc-label {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 12px;
}
.calc-label span {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--forest-deep);
}
.calc-label em {
  font-style: normal;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--forest);
  font-family: var(--font-display);
}
.calc-slider {
  width: 100%;
  -webkit-appearance: none;
  appearance: none;
  height: 4px;
  background: var(--gray-200);
  outline: none;
  border-radius: 0;
}
.calc-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  background: var(--forest);
  border: 3px solid var(--white);
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  cursor: pointer;
  transition: transform 0.2s;
}
.calc-slider::-webkit-slider-thumb:hover { transform: scale(1.2); }
.calc-options {
  display: flex;
  gap: 8px;
}
.calc-option {
  flex: 1;
  padding: 12px;
  text-align: center;
  font-size: 0.82rem;
  font-weight: 600;
  background: var(--white);
  border: 1.5px solid var(--gray-200);
  color: var(--gray-600);
  transition: all 0.3s var(--ease-out-expo);
  cursor: pointer;
}
.calc-option:hover { border-color: var(--forest-light); color: var(--forest); }
.calc-option.active {
  background: var(--forest);
  border-color: var(--forest);
  color: var(--white);
}
.calc-result {
  padding: 48px;
  background: linear-gradient(135deg, var(--forest-deep), var(--forest));
  text-align: center;
  color: var(--white);
}
.calc-result-label {
  font-size: 0.78rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 12px;
}
.calc-result-price {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 8px;
}
.calc-result-note {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.5);
  margin-bottom: 32px;
}
.calc-result .btn-primary { width: 100%; justify-content: center; }

/* ========================================
   SECTION 12: LEAD FORM
   ======================================== */
.lead-form {
  padding: 100px 0;
  background: var(--forest-deep);
  position: relative;
  overflow: hidden;
}
.lead-form::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(212,165,116,0.1) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 50%, rgba(45,106,79,0.2) 0%, transparent 50%);
}
.lead-form-inner {
  position: relative;
  z-index: 1;
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
}
.lead-form-inner h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 500;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 12px;
}
.lead-form-inner h2 em {
  font-style: normal;
  color: var(--gold);
}
.lead-form-sub {
  font-size: 1rem;
  color: rgba(255,255,255,0.5);
  margin-bottom: 40px;
}
.lead-form-fields {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
}
.lead-form-fields input {
  flex: 1;
  padding: 16px 20px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  color: var(--white);
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.3s;
}
.lead-form-fields input::placeholder { color: rgba(255,255,255,0.35); }
.lead-form-fields input:focus { border-color: var(--gold); }
.lead-form-fields button {
  padding: 16px 36px;
  background: var(--gold);
  color: var(--forest-deep);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  white-space: nowrap;
  transition: all 0.3s var(--ease-out-expo);
}
.lead-form-fields button:hover { background: var(--gold-light); }
.lead-form-consent {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.4);
}
.lead-form-consent input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: var(--gold);
}
.lead-form-response {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.5);
  margin-top: 24px;
}
.lead-form-urgency {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  background: rgba(212,165,116,0.12);
  border: 1px solid rgba(212,165,116,0.25);
  color: var(--gold-light);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 32px;
  animation: pulse-border 2s ease-in-out infinite;
}

/* ========================================
   SECTION 13: CONTACTS
   ======================================== */
.contacts {
  padding: 120px 0 80px;
  background: var(--cream);
}
.contacts-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 60px;
  margin-top: 60px;
}
.contacts-info { display: flex; flex-direction: column; gap: 32px; }
.contact-item { display: flex; gap: 16px; }
.contact-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--forest);
  flex-shrink: 0;
}
.contact-icon svg { width: 18px; height: 18px; color: var(--gold); }
.contact-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gray-400);
  margin-bottom: 4px;
}
.contact-value {
  font-size: 1rem;
  color: var(--forest-deep);
  font-weight: 500;
}
.contact-value a { transition: color 0.3s; }
.contact-value a:hover { color: var(--gold-dark); }
.contacts-social {
  display: flex;
  gap: 12px;
  margin-top: 12px;
}
.social-link {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--gray-200);
  transition: all 0.3s var(--ease-out-expo);
}
.social-link:hover {
  background: var(--forest);
  border-color: var(--forest);
  color: var(--white);
}
.social-link svg { width: 18px; height: 18px; }
.contacts-map {
  height: 400px;
  background:
    linear-gradient(135deg, var(--gray-100), var(--gray-50)),
    repeating-linear-gradient(0deg, transparent, transparent 19px, var(--gray-200) 19px, var(--gray-200) 20px),
    repeating-linear-gradient(90deg, transparent, transparent 19px, var(--gray-200) 19px, var(--gray-200) 20px);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--gray-200);
}
.map-placeholder {
  text-align: center;
}
.map-pin {
  width: 48px;
  height: 48px;
  background: var(--forest);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
}
.map-pin svg { transform: rotate(45deg); width: 20px; height: 20px; color: var(--gold); }
.map-text { font-size: 0.85rem; color: var(--gray-600); }

/* ========================================
   SECTION 14: FOOTER
   ======================================== */
.footer {
  background: var(--forest-deep);
  padding: 60px 0 32px;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand .logo-text { font-size: 1.3rem; }
.footer-desc {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.4);
  line-height: 1.6;
  margin-top: 16px;
  max-width: 280px;
}
.footer-col h4 {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  margin-bottom: 20px;
}
.footer-col a {
  display: block;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
  padding: 6px 0;
  transition: color 0.3s;
}
.footer-col a:hover { color: var(--gold); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 32px;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-copy {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.3);
}
.footer-legal a {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.3);
  transition: color 0.3s;
}
.footer-legal a:hover { color: var(--gold); }

/* ========================================
   MODAL
   ======================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15,43,31,0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s var(--ease-out-expo);
}
.modal-overlay.open { opacity: 1; pointer-events: all; }
.modal {
  background: var(--white);
  max-width: 480px;
  width: 100%;
  padding: 48px;
  position: relative;
  transform: translateY(24px);
  transition: transform 0.4s var(--ease-out-expo);
}
.modal-overlay.open .modal { transform: translateY(0); }
.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gray-50);
  transition: background 0.3s;
}
.modal-close:hover { background: var(--gray-100); }
.modal-close svg { width: 16px; height: 16px; }
.modal h3 {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--forest-deep);
  margin-bottom: 8px;
}
.modal p {
  font-size: 0.88rem;
  color: var(--gray-600);
  margin-bottom: 28px;
}
.modal-field { margin-bottom: 16px; }
.modal-field input, .modal-field textarea, .modal-field select {
  width: 100%;
  padding: 14px 16px;
  border: 1.5px solid var(--gray-200);
  background: var(--white);
  font-size: 0.9rem;
  color: var(--gray-900);
  outline: none;
  transition: border-color 0.3s;
}
.modal-field input:focus, .modal-field textarea:focus, .modal-field select:focus {
  border-color: var(--forest);
}
.modal-field input.error, .modal-field textarea.error {
  border-color: #D64045;
}
.modal-field .error-msg {
  font-size: 0.75rem;
  color: #D64045;
  margin-top: 4px;
  display: none;
}
.modal-field input.error + .error-msg { display: block; }
.modal-consent {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 24px;
  font-size: 0.78rem;
  color: var(--gray-600);
}
.modal-consent input { margin-top: 2px; accent-color: var(--forest); }
.modal .btn-primary { width: 100%; justify-content: center; }
.modal-success {
  display: none;
  text-align: center;
  padding: 24px 0;
}
.modal-success svg { width: 56px; height: 56px; color: var(--forest); margin-bottom: 16px; }
.modal-success h3 { margin-bottom: 8px; }

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 1024px) {
  .container { padding: 0 24px; }
  .advantages-grid { grid-template-columns: repeat(2, 1fr); }
  .projects-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-track { grid-template-columns: repeat(3, 1fr); gap: 24px; }
  .steps-track::before { display: none; }
  .step-item:nth-child(4), .step-item:nth-child(5) { grid-column: auto; }
  .custom-design-inner { grid-template-columns: 1fr; gap: 40px; }
  .custom-design-visual { height: 260px; }
  .faq-inner { grid-template-columns: 1fr; gap: 40px; }
  .calc-inner { grid-template-columns: 1fr; }
  .contacts-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: repeat(2, 1fr); }
  .tech-highlight { flex-wrap: wrap; gap: 24px; }
  .review-card { min-width: calc(50% - 12px); }
}
@media (max-width: 768px) {
  .container { padding: 0 20px; }
  .hero { padding-bottom: 60px; min-height: 100svh; }
  .hero-stats { gap: 24px; flex-wrap: wrap; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .advantages-grid { grid-template-columns: 1fr; }
  .projects-grid { grid-template-columns: 1fr; }
  .cases-grid { grid-template-columns: 1fr; }
  .steps-track { grid-template-columns: 1fr; }
  .tech-grid { grid-template-columns: 1fr; }
  .lead-form-fields { flex-direction: column; }
  .footer-top { grid-template-columns: 1fr; gap: 32px; }
  .review-card { min-width: calc(100% - 0px); }
  .projects-header { flex-direction: column; align-items: flex-start; }
  .reviews-header { flex-direction: column; align-items: flex-start; }
  section { padding: 80px 0; }
  .advantages, .projects, .steps, .technology, .cases, .reviews, .faq, .calculator, .contacts { padding: 80px 0; }
  .lead-form { padding: 64px 0; }
  .custom-design { padding: 64px 0; }
}
@media (max-width: 480px) {
  .hero-stat-number { font-size: 2rem; }
  .hero-usp { flex-direction: column; }
  .calc-options { flex-direction: column; }
  .projects-filters { flex-wrap: wrap; }
  .filter-btn { flex: 1; text-align: center; min-width: calc(50% - 4px); }
}