/* ==================== ОСНОВНЫЕ СТИЛИ ==================== */
:root {
    /* Эко-палитра цветов */
    --primary-green: #4a7c59;
    --light-green: #7fb069;
    --accent-green: #90c695;
    --soft-beige: #f8f6f0;
    --cream-white: #fefefe;
    --warm-grey: #e8e6e0;
    --text-dark: #2c3e2d;
    --text-light: #6b7c6e;
    --shadow-light: rgba(74, 124, 89, 0.1);
    --shadow-medium: rgba(74, 124, 89, 0.2);
    --gradient-primary: linear-gradient(135deg, #4a7c59 0%, #7fb069 100%);
    --gradient-soft: linear-gradient(135deg, #f8f6f0 0%, #fefefe 100%);
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Alegreya', serif;
    background: var(--cream-white);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

/* ==================== BOOTSTRAP НАВИГАЦИЯ ==================== */

/* Основной navbar: стеклянный как на главной */
.navbar.ecodom-navbar {
  background: rgba(255, 255, 255, 0.75) !important;
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-top: none;
  border-radius: 0 0 28px 28px;
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.08),
    0 2px 8px rgba(0, 0, 0, 0.04),
    inset 0 1px 0 rgba(255, 255, 255, 0.4);
  padding: 1rem 0;
  position: fixed;
    top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 32px);
  max-width: 1400px;
    z-index: 1030;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  margin-top: 8px;
  min-height: auto;
}

.navbar.ecodom-navbar.scrolled {
  background: rgba(255, 255, 255, 0.85) !important;
  backdrop-filter: blur(25px) saturate(200%);
  -webkit-backdrop-filter: blur(25px) saturate(200%);
  box-shadow:
    0 12px 40px rgba(0, 0, 0, 0.12),
    0 4px 12px rgba(0, 0, 0, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.5);
  border-color: rgba(255, 255, 255, 0.25);
  margin-top: 4px;
  border-radius: 0 0 32px 32px;
}

/* Доп. стеклянный слой */
.navbar.ecodom-navbar::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(180deg,
    rgba(255, 255, 255, 0.1) 0%,
    rgba(255, 255, 255, 0.05) 50%,
    rgba(255, 255, 255, 0) 100%);
  border-radius: 0 0 28px 28px;
  pointer-events: none;
}

.navbar.ecodom-navbar.scrolled::before {
  background: linear-gradient(180deg,
    rgba(255, 255, 255, 0.15) 0%,
    rgba(255, 255, 255, 0.08) 50%,
    rgba(255, 255, 255, 0.02) 100%);
  border-radius: 0 0 32px 32px;
}

/* Container настройки (как на главной) */
.navbar .container-fluid {
  padding: 0 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

/* Адаптивные настройки контейнера */
@media (max-width: 991.98px) {
  .navbar .container-fluid { padding: 0 1.5rem; }
}
@media (max-width: 767.98px) {
  .navbar .container-fluid { padding: 0 1rem; }
}
@media (max-width: 575.98px) {
  .navbar .container-fluid { padding: 0 0.8rem; }
}

/* Простой логотип EcoDom */
.navbar-brand {
    display: flex;
    align-items: center;
    text-decoration: none !important;
    padding: 0;
    margin-right: 2rem;
}

.navbar-brand:hover {
    text-decoration: none !important;
}

.logo-container {
    display: flex;
    align-items: center;
}

/* Анимация логотипа как на главной */
.logo-svg .svg-elem-1 {
  stroke-dashoffset: 672.049560546875px;
  stroke-dasharray: 672.049560546875px;
  fill: var(--primary-green);
  stroke: var(--primary-green);
  stroke-width: 2;
  transition: stroke-dashoffset 1s cubic-bezier(0.47, 0, 0.745, 0.715) 0s,
              fill 0.7s cubic-bezier(0.47, 0, 0.745, 0.715) 0.8s;
}
.navbar-brand:hover .logo-svg .svg-elem-1 {
  stroke-dashoffset: 0;
  fill: var(--light-green);
  stroke: var(--light-green);
}
.logo-svg .svg-elem-2 {
  stroke-dashoffset: 248.2175750732422px;
  stroke-dasharray: 248.2175750732422px;
  fill: var(--text-dark);
  stroke: var(--text-dark);
  stroke-width: 2;
  transition: stroke-dashoffset 1s cubic-bezier(0.47, 0, 0.745, 0.715) 0.12s,
              fill 0.7s cubic-bezier(0.47, 0, 0.745, 0.715) 0.9s;
}
.navbar-brand:hover .logo-svg .svg-elem-2 {
  stroke-dashoffset: 0;
  fill: var(--text-light);
  stroke: var(--text-light);
}

.company-name {
    font-family: 'Alegreya', serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-green);
    margin: 0;
    transition: color 0.3s ease;
}

.navbar-brand:hover .company-name {
    color: var(--light-green);
}

/* Navbar Toggle Button */
.navbar-toggler {
    border: none;
    padding: 0.25rem 0.5rem;
    background: var(--gradient-primary);
    border-radius: 8px;
    box-shadow: 0 2px 8px var(--shadow-light);
}

.navbar-toggler:focus {
    box-shadow: 0 2px 8px var(--shadow-light);
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
    width: 20px;
    height: 20px;
}

/* Navbar Collapse */
.navbar-collapse {
    flex-grow: 1;
    justify-content: center;
}

/* Navbar Nav */
.navbar-nav {
    align-items: center;
    gap: 0.25rem;
}

.navbar-nav .nav-item {
    margin: 0;
}

/* Кнопки навигации (стеклянные как на главной) */
.navbar-nav .nav-link {
  color: rgba(0, 0, 0, 0.8) !important;
  font-weight: 600;
  font-size: 0.85rem;
  padding: 0.6rem 1rem !important;
  border-radius: 12px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none !important;
    display: flex;
    align-items: center;
    white-space: nowrap;
    position: relative;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(10px);
  margin: 0 0.2rem;
}

/* Эффект при наведении */
.navbar-nav .nav-link:hover,
.navbar-nav .nav-link:focus {
  color: rgba(74, 124, 89, 0.9) !important;
  transform: translateY(-2px);
    text-decoration: none !important;
  background: rgba(255, 255, 255, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(15px);
  box-shadow:
    0 4px 16px rgba(0, 0, 0, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

/* Анимация иконок */
.navbar-nav .nav-link i {
    margin-right: 0.4rem;
    font-size: 0.75rem;
    transition: all 0.3s ease;
}

.navbar-nav .nav-link:hover i {
    transform: scale(1.1);
    color: var(--light-green);
}

/* Тонкая пульсация для каталога */
.navbar-nav .nav-link[href*="catalog"] {
    animation: subtlePulse 4s ease-in-out infinite;
}

@keyframes subtlePulse {
    0%, 100% {
        background: transparent;
    }
    50% {
        background: rgba(127, 176, 105, 0.05);
    }
}

/* Right side items */
.navbar-nav.ms-auto {
    flex-direction: row;
    gap: 1rem;
}

/* Дополнительные Bootstrap переопределения */
.navbar-expand-lg .navbar-nav .nav-link {
  padding-right: 0.8rem;
  padding-left: 0.8rem;
}

.navbar-light .navbar-nav .nav-link {
  color: var(--text-dark);
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link:focus {
  color: var(--primary-green);
}

.navbar-light .navbar-toggler {
  border-color: transparent;
}

/* Фиксация z-index для корректной работы */
.navbar {
  z-index: 1030;
}

/* ==================== Glass Nav Overrides (as on Index) ==================== */
.navbar.ecodom-navbar {
  background: rgba(255, 255, 255, 0.72) !important;
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}
.navbar.ecodom-navbar.scrolled {
  background: rgba(255, 255, 255, 0.82) !important;
  border-color: rgba(0, 0, 0, 0.12);
}

.navbar-nav .nav-link {
  background: rgba(255, 255, 255, 0.35) !important;
  border: 1px solid rgba(0, 0, 0, 0.2) !important;
  color: rgba(0, 0, 0, 0.85) !important;
  box-shadow: none !important;
  animation: none !important;
  transform: none !important;
}
.navbar-nav .nav-link:hover,
.navbar-nav .nav-link:focus {
  background: rgba(255, 255, 255, 0.45) !important;
  color: rgba(0, 0, 0, 0.85) !important;
  transform: none !important;
}
.navbar-nav .nav-link i {
  transition: none !important;
}
.navbar-nav .nav-link:hover i {
  transform: none !important;
  color: inherit !important;
}
.navbar-nav .nav-link[href*="catalog"] {
  animation: none !important;
}

/* ==================== ПЕРЕКЛЮЧАТЕЛЬ ЯЗЫКОВ ==================== */
.language-switcher {
  display: flex;
  align-items: center;
    margin-right: 0.5rem;
}

.lang-toggle {
  position: relative;
  display: inline-block;
}

.lang-checkbox {
  display: none;
}

.lang-label {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 20px;
  padding: 3px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  box-shadow: 
    0 2px 8px rgba(0, 0, 0, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  width: 95px;
  height: 36px;
}

.lang-label:hover {
  background: rgba(255, 255, 255, 0.3);
  border-color: rgba(255, 255, 255, 0.4);
  box-shadow: 
    0 4px 16px rgba(0, 0, 0, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(15px);
  transform: translateY(-1px);
}

.lang-option {
  font-size: 0.8rem;
  font-weight: 600;
  color: #6c757d;
  padding: 8px 12px;
  border-radius: 16px;
  transition: all 0.3s ease;
  position: relative;
  z-index: 2;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  flex: 1;
  text-align: center;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lang-option.active {
  color: white;
  font-weight: 800;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.lang-slider {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 43px;
  height: 30px;
  background: linear-gradient(135deg, #4a7c59 0%, #7fb069 100%);
  border-radius: 16px;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 
    0 2px 8px rgba(74, 124, 89, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  z-index: 1;
}

.lang-checkbox:checked + .lang-label .lang-slider {
  transform: translateX(43px);
  background: linear-gradient(135deg, #7fb069 0%, #90c695 100%);
}

.lang-checkbox:checked + .lang-label .lang-ru {
  color: #6c757d;
  font-weight: 600;
  text-shadow: none;
}

.lang-checkbox:checked + .lang-label .lang-en {
  color: white;
  font-weight: 700;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.lang-checkbox:not(:checked) + .lang-label .lang-ru {
  color: white;
  font-weight: 700;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.lang-checkbox:not(:checked) + .lang-label .lang-en {
  color: #6c757d;
  font-weight: 600;
  text-shadow: none;
}

/* ==================== HERO SECTION ==================== */
.hero-section {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    /* Матовый зелёный фон как на contact/delivery */
    background: rgba(74, 124, 89, 0.08);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.6);
    color: var(--text-dark);
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 25% 25%, rgba(74, 124, 89, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(127, 176, 105, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(144, 198, 149, 0.02) 0%, transparent 80%);
    opacity: 0.8;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--text-dark);
    padding-top: 80px;
    margin: 0 auto;
    max-width: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Переопределение Bootstrap стилей для колонки */
.col-lg-8.hero-content {
    margin-left: auto;
    margin-right: auto;
    flex: 0 0 auto;
    width: 100%;
    max-width: 100%;
}

@media (min-width: 992px) {
    .col-lg-8.hero-content {
        flex: 0 0 auto;
        width: 66.66666667%;
        max-width: 66.66666667%;
    }
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    background: #ffffff !important;
    border: 1px solid #000 !important;
    box-shadow: none;
    color: #2F6F4E !important;
    border-radius: 50px;
    padding: 0.8rem 1.5rem;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 2rem;
}

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

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-dark);
    text-align: center;
    /* Subtle green outline + layered shadows for premium look */
    -webkit-text-stroke: 1px rgba(47, 111, 78, 0.30);
    text-shadow:
        0 1px 0 #ffffff,
        0 2px 8px rgba(74, 124, 89, 0.18),
        0 10px 28px rgba(74, 124, 89, 0.12);
    letter-spacing: 0.5px;
}

.hero-title::after {
    display: none;
}

.gradient-text {
    color: var(--text-dark) !important;
    font-weight: 700;
    -webkit-text-fill-color: var(--text-dark) !important;
    background: none !important;
    background-clip: initial !important;
    -webkit-background-clip: initial !important;
}

.hero-description {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    color: #2F6F4E !important;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.hero-stats {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
    width: 100%;
    max-width: 100%;
}

.stat-item {
    text-align: center;
    padding: 1.5rem;
    background: #ffffff;
    border: 1px solid #000;
    border-radius: 14px;
    min-width: 140px;
    transition: var(--transition-smooth);
    animation: none !important;
}

.stat-item:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: #2F6F4E !important;
    margin-bottom: 0.5rem;
    display: block;
}

.stat-label {
    font-size: 1rem;
    color: #2F6F4E !important;
    font-weight: 700;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
    width: 100%;
    max-width: 100%;
}

.btn {
    border-radius: 12px;
    font-weight: 600;
    padding: 0.8rem 2rem;
    text-decoration: none;
    transition: none !important;
    border: 1px solid #000;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    position: relative;
    overflow: hidden;
    min-height: 48px;
    box-sizing: border-box;
    font-size: 1rem;
    box-shadow: none;
}

.btn-primary {
    background: #fff;
    color: #2F6F4E;
    border: 1px solid #000;
    min-width: 220px;
}

.btn-primary:hover {
    background: #fff;
    transform: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
    color: #2F6F4E;
    border-color: #000;
}

.btn-outline-primary {
    background: #fff;
    color: #2F6F4E;
    border: 1px solid #000;
    min-width: 220px;
}

.btn-outline-primary:hover {
    background: #fff;
    border-color: #000;
    transform: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
    color: #2F6F4E;
}

/* ==================== АНИМАЦИИ ==================== */
@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Анимационные классы */
.animate-slide-up {
    animation: fadeInUp 0.8s ease-out;
}

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }
.delay-4 { animation-delay: 0.8s; }

.slide-in-left {
    animation: slideInLeft 0.8s ease-out;
}

.slide-in-right {
    animation: slideInRight 0.8s ease-out;
}

.slide-in-title {
    animation: scaleIn 0.8s ease-out;
}

.slide-in-subtitle {
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.pulse-animation {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

/* STAGGER ANIMATIONS */
.stagger-animation {
    transform: translateY(50px);
    opacity: 0;
    transition: all 0.8s ease-out;
}

.stagger-animation.animate-in {
    transform: translateY(0);
    opacity: 1;
}

/* Wave Effect для кнопок */
.wave-effect {
    position: relative;
    overflow: hidden;
}

.ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: scale(0);
    animation: ripple-animation 0.6s linear;
    pointer-events: none;
}

@keyframes ripple-animation {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

/* ==================== SECTION STYLES ==================== */
.section-title {
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 700;
    color: #2F6F4E;
    margin-bottom: 1rem;
    position: relative;
    text-align: center;
    background: #ffffff;
    border: none;
    border-radius: 10px;
    padding: 15px 20px;
    display: inline-block;
    opacity: 1;
    transform: none;
    transition: none !important;
}

.section-title::after {
    display: none;
}

.section-subtitle {
    font-size: 1.2rem;
    color: #2F6F4E;
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
    font-weight: 600;
    opacity: 1;
    transform: none;
}

/* ==================== PROJECTS SECTION ==================== */
.projects-section {
    background: var(--eco-white);
    position: relative;
    padding: 6rem 0;
}

.projects-section::before {
    display: none;
}

.project-card {
    background: #fff;
    border: 1px solid #000;
    border-radius: 25px;
    padding: 3rem 2rem;
    margin-bottom: 4rem;
    box-shadow: none;
    transition: none !important;
    position: relative;
    overflow: hidden;
    opacity: 1;
    transform: none;
}

.project-card::before {
    display: none;
}

.project-card:hover {
    transform: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
    border-color: #000;
}

.project-image {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: none;
    border: 1px solid rgba(0, 0, 0, 0.1);
    cursor: pointer;
}

.project-image img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: none !important;
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: none !important;
}

.project-image:hover .project-overlay {
    opacity: 1;
}

.project-image:hover img {
    transform: none;
}

.view-btn {
    background: #fff;
    border: 1px solid #000;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #2F6F4E;
    font-size: 1.2rem;
    cursor: pointer;
    transition: none !important;
    box-shadow: none;
}

.view-btn:hover {
    background: #fff;
    transform: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
    border-color: #000;
    color: #2F6F4E;
}

.project-content {
    padding: 2rem 0;
}

.project-badge {
    display: inline-block;
    background: linear-gradient(135deg, rgba(47, 111, 78, 0.25) 0%, rgba(127, 176, 105, 0.2) 100%);
    color: #2F6F4E;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 1rem;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.project-content h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #2F6F4E;
    margin-bottom: 1rem;
}

.project-location {
    color: #2F6F4E;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    font-weight: 600;
}

.project-location i {
    color: #2F6F4E;
}

.project-description {
    color: #2F6F4E;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.project-features {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

.feature-tag {
    background: #fff;
    border: 1px solid #000;
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    color: #2F6F4E;
    font-weight: 600;
    transition: none !important;
}

.feature-tag:hover {
    transform: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
    border-color: #000;
}

/* ==================== МОДАЛЬНЫЕ ОКНА ==================== */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.modal-content {
    background: #fff;
    border: 1px solid #000;
    border-radius: 25px;
    max-width: 1200px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: none;
    animation: none !important;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 2rem 1rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.modal-header h2 {
    color: #2F6F4E;
    margin: 0;
    font-size: 1.8rem;
    font-weight: 700;
}

.close {
    background: #fff;
    border: 1px solid #000;
    font-size: 2rem;
    color: #2F6F4E;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: none !important;
    box-shadow: none;
}

.close:hover {
    background: #fff;
    color: #2F6F4E;
    border-color: #000;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
    transform: none;
}

.modal-body {
    padding: 2rem;
}

.project-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.gallery-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    border: 1px solid rgba(0, 0, 0, 0.1);
    transition: none !important;
}

.gallery-item:hover {
    transform: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
    border-color: #000;
}

.gallery-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: none !important;
}

.project-details h4 {
    color: #2F6F4E;
    margin-bottom: 1rem;
    font-size: 1.4rem;
    font-weight: 700;
}

.project-details p {
    color: #2F6F4E;
    line-height: 1.6;
    margin-bottom: 1rem;
    font-weight: 600;
}

.specs {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.spec-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.8rem;
    background: #fff;
    border: 1px solid #000;
    border-radius: 12px;
    transition: none !important;
}

.spec-item:hover {
    transform: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
    border-color: #000;
}

.spec-item i {
    color: #2F6F4E;
    font-size: 1.1rem;
    width: 20px;
}

.spec-item span {
    color: #2F6F4E;
    font-weight: 600;
}

/* ==================== ЛАЙТБОКС ==================== */
.lightbox {
    display: none;
    position: fixed;
    z-index: 3000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.9);
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.lightbox-image {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 20px 80px rgba(0, 0, 0, 0.5);
}

.close-lightbox {
    position: absolute;
    top: 2rem;
    right: 2rem;
    color: white;
    font-size: 2rem;
    background: rgba(0, 0, 0, 0.5);
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.close-lightbox:hover {
    background: rgba(255, 255, 255, 0.2);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    width: 100%;
    padding: 0 2rem;
    pointer-events: none;
}

.lightbox-prev,
.lightbox-next {
    background: rgba(0, 0, 0, 0.5);
    border: none;
    color: white;
    font-size: 1.5rem;
    padding: 1rem;
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition-smooth);
    pointer-events: all;
}

.lightbox-prev:hover,
.lightbox-next:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* ==================== ЭКО-ФУТЕР ==================== */
.eco-footer {
  background: linear-gradient(135deg, 
    rgba(74, 124, 89, 0.15) 0%, 
    rgba(127, 176, 105, 0.12) 50%, 
    rgba(144, 198, 149, 0.1) 100%);
  backdrop-filter: blur(25px) saturate(180%);
  -webkit-backdrop-filter: blur(25px) saturate(180%);
  border-top: 1px solid rgba(74, 124, 89, 0.2);
  color: var(--text-dark);
    position: relative;
    overflow: hidden;
    padding: 80px 0 0;
  box-shadow: 
    0 -8px 32px rgba(74, 124, 89, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.eco-footer-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.eco-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 25% 25%, rgba(127, 176, 105, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(144, 198, 149, 0.08) 0%, transparent 50%);
    opacity: 0.7;
}

.eco-leaves {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath d='M20,20 Q30,10 40,20 Q30,30 20,20' fill='%23ffffff' opacity='0.03'/%3E%3Cpath d='M60,60 Q70,50 80,60 Q70,70 60,60' fill='%23ffffff' opacity='0.02'/%3E%3C/svg%3E");
    background-size: 150px 150px;
    opacity: 0.5;
}

.eco-footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 50px;
    padding: 0 20px 60px;
    position: relative;
    z-index: 2;
}

.eco-footer-brand {
    grid-column: span 1;
}

.eco-footer-logo {
    margin-bottom: 20px;
}

.eco-footer-logo img {
    height: 60px;
    width: auto;
    filter: brightness(1.1);
    transition: all 0.3s ease;
}

.eco-footer-logo img:hover {
    transform: scale(1.05);
    filter: brightness(1.2);
}

.eco-footer-brand h3 {
    font-size: 1.8rem;
    font-weight: 700;
  color: #4a7c59;
    margin-bottom: 15px;
}

.eco-mission {
    font-size: 1rem;
    line-height: 1.6;
  color: var(--text-dark);
    margin-bottom: 25px;
}

.eco-certifications {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.eco-cert {
    background: linear-gradient(135deg, #7fb069, #90c695);
    color: #2c3e2d;
    padding: 6px 14px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(127, 176, 105, 0.3);
}

.eco-footer-section h4 {
    font-size: 1.2rem;
    font-weight: 600;
  color: #4a7c59;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.eco-footer-section h4 i {
    font-size: 1.1rem;
}

/* Локации */
.eco-locations {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.eco-location {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 15px;
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
    border-radius: 12px;
  color: var(--text-dark);
    text-decoration: none;
    transition: all 0.3s ease;
  border: 1px solid rgba(74, 124, 89, 0.15);
  box-shadow: 0 2px 8px rgba(74, 124, 89, 0.05);
}

.eco-location:hover {
  background: rgba(255, 255, 255, 0.8);
  color: var(--text-dark);
    text-decoration: none;
    transform: translateX(5px);
  border-color: rgba(74, 124, 89, 0.3);
  box-shadow: 0 4px 12px rgba(74, 124, 89, 0.1);
}

.eco-location i {
  color: #4a7c59;
    font-size: 1.1rem;
    width: 20px;
    text-align: center;
}

/* Контакты */
.eco-contacts {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.eco-contact {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 15px;
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 12px;
  color: var(--text-dark);
  text-decoration: none;
  transition: all 0.3s ease;
  border: 1px solid rgba(74, 124, 89, 0.15);
  box-shadow: 0 2px 8px rgba(74, 124, 89, 0.05);
}

.eco-contact:hover {
  background: rgba(255, 255, 255, 0.8);
  color: var(--text-dark);
  text-decoration: none;
  transform: translateX(5px);
  border-color: rgba(74, 124, 89, 0.3);
  box-shadow: 0 4px 12px rgba(74, 124, 89, 0.1);
}

.eco-contact i {
  color: #4a7c59;
  font-size: 1.1rem;
  width: 20px;
  text-align: center;
}

/* Социальные сети */
.eco-social {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-bottom: 25px;
}

.eco-social-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 15px;
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 12px;
  color: var(--text-dark);
  text-decoration: none;
  transition: all 0.3s ease;
  border: 1px solid rgba(74, 124, 89, 0.15);
  box-shadow: 0 2px 8px rgba(74, 124, 89, 0.05);
}

.eco-social-link:hover {
  background: rgba(255, 255, 255, 0.8);
  color: var(--text-dark);
  text-decoration: none;
  transform: translateX(5px);
  border-color: rgba(74, 124, 89, 0.3);
  box-shadow: 0 4px 12px rgba(74, 124, 89, 0.1);
}

.eco-social-link i {
  color: #4a7c59;
    font-size: 1.3rem;
  width: 20px;
  text-align: center;
  flex-shrink: 0;
}

.eco-social-icon-image {
  display: block;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  border-radius: 4px;
  object-fit: contain;
}

.eco-promise {
    margin-top: 25px;
}

.eco-promise-item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    font-size: 0.9rem;
  color: var(--text-dark);
}

.eco-promise-item i {
  color: #4a7c59;
    font-size: 1rem;
}

.eco-footer-bottom {
  background: rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border-top: 1px solid rgba(74, 124, 89, 0.2);
    padding: 25px 0;
    position: relative;
    z-index: 2;
}

.eco-footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.eco-footer-bottom p {
    margin: 0;
    color: var(--text-dark);
    font-size: 0.9rem;
    opacity: 0.8;
}

.eco-footer-links {
    display: flex;
    gap: 25px;
}

.eco-footer-links a {
    color: var(--text-dark);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    opacity: 0.8;
}

.eco-footer-links a:hover {
  color: #4a7c59;
    text-decoration: none;
  opacity: 1;
}

/* ==================== RESPONSIVE DESIGN ==================== */
@media (max-width: 768px) {
    .hero-stats {
        flex-direction: column;
        gap: 1rem;
    }
    
    .stat-item {
        min-width: auto;
        width: 100%;
        max-width: 200px;
        margin: 0 auto;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }
    
    .btn {
        text-align: center;
        justify-content: center;
    }
    
    .project-card {
        padding: 2rem 1rem;
        margin-bottom: 2rem;
    }
    
    .project-image img {
        height: 250px;
    }
    
    .project-features {
        gap: 0.3rem;
    }
    
    .feature-tag {
        font-size: 0.7rem;
        padding: 0.3rem 0.6rem;
    }
    
    .modal-content {
        max-width: 95%;
        margin: 1rem;
    }
    
    .modal-header,
    .modal-body {
        padding: 1rem;
    }
    
    .project-gallery {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }
    
    .eco-footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
    
    .eco-footer-bottom-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .eco-footer-links {
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .hero-content {
        padding-top: 100px;
        text-align: center;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .navbar-nav .nav-link {
        font-size: 0.8rem;
        padding: 0.4rem 0.6rem !important;
    }
    
    .project-gallery {
        grid-template-columns: 1fr;
    }
    
    .gallery-item img {
        height: 250px;
    }
    
    .specs {
        gap: 0.5rem;
    }
    
    .spec-item {
        padding: 0.6rem;
        font-size: 0.9rem;
    }
}

/* ==================== PRINT STYLES ==================== */
@media print {
    .navbar,
    .hero-section,
    .eco-footer {
        display: none;
    }
    
    .project-card {
        box-shadow: none;
        border: 1px solid #ddd;
        break-inside: avoid;
        margin-bottom: 2rem;
    }
    
    .modal {
        display: none !important;
    }
}
