/* ==================== ОСНОВНЫЕ СТИЛИ ==================== */
: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, rgba(47, 111, 78, 0.16) 0%, rgba(47, 111, 78, 0.24) 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;
  }
  
/* ==================== HERO SECTION ==================== */
.certificates-hero {
  position: relative;
  /* размеры секции как в serteficate */
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  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);
  overflow: hidden;
}

.eco-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    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.08) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(144, 198, 149, 0.05) 0%, transparent 50%);
    opacity: 0.8;
}

.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.floating-leaf,
.floating-circle,
.floating-square,
.floating-diamond {
    position: absolute;
    background: rgba(74, 124, 89, 0.06);
    animation: float 15s ease-in-out infinite;
}

.floating-leaf {
    width: 60px;
    height: 60px;
    top: 15%;
    right: 10%;
    border-radius: 0 100% 0 100%;
    animation-delay: 0s;
}

.floating-circle {
    width: 40px;
    height: 40px;
    top: 70%;
    right: 20%;
    border-radius: 50%;
    animation-delay: 5s;
}

.floating-square {
    width: 50px;
    height: 50px;
    top: 45%;
    right: 5%;
    border-radius: 12px;
    animation-delay: 10s;
}

.floating-diamond {
    width: 35px;
    height: 35px;
    top: 25%;
    left: 8%;
    border-radius: 8px;
    transform: rotate(45deg);
    animation-delay: 7s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
        opacity: 0.6;
    }
    50% {
        transform: translateY(-30px) rotate(10deg);
        opacity: 1;
    }
}

.hero-content {
    text-align: center;
    position: relative;
    z-index: 2;
}

.hero-icon {
    width: 120px;
    height: 120px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    box-shadow: 0 15px 40px var(--shadow-medium);
    animation: pulse 3s ease-in-out infinite;
}

.hero-icon i {
    font-size: 3.5rem;
    color: white;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 15px 40px var(--shadow-medium);
    }
    50% {
        transform: scale(1.08);
        box-shadow: 0 20px 50px rgba(74, 124, 89, 0.3);
    }
}

.hero-title {
  font-size: 4rem; /* как в serteficate */
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 25px;
  animation: fadeInUp 1s ease-out;
}

.hero-subtitle {
  font-size: 1.3rem; /* как в serteficate */
  color: var(--text-light);
  margin-bottom: 50px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  animation: fadeInUp 1s ease-out 0.2s both;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 60px; /* как в serteficate */
  margin-top: 50px;
}

.stat-item {
    text-align: center;
    background: rgba(255,255,255,0.85);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    padding: 1.2rem 1rem;
    border-radius: 14px;
    border: 1px solid #000;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
    min-width: 150px;
}

.stat-item:hover { transform: none; box-shadow: 0 6px 18px rgba(0,0,0,0.06); }

.stat-number {
    font-size: 2.4rem;
    font-weight: 800;
    color: #2F6F4E;
    margin-bottom: 0.5rem;
}

.stat-label { font-size: 0.9rem; color: #3E5E50; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; }

.stat-item .stat-icon { display: block; margin-bottom: 6px; color: #2F6F4E; font-size: 1rem; }

/* Хайлайты под статистикой */
.hero-highlights { list-style: none; padding: 0; margin: 16px auto 0; display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.highlight-chip { background: rgba(255,255,255,0.85); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); border: 1px solid #000; border-radius: 999px; padding: 8px 12px; font-weight: 600; color: #23352D; font-size: 0.85rem; display: inline-flex; align-items: center; gap: 8px; }
.highlight-chip i { color: #2F6F4E; }

/* ==================== CATALOGS SECTION ==================== */
.certificates-section {
    padding: 100px 0;
    background: white;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
    animation: fadeInUp 0.8s ease-out;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 500px;
    margin: 0 auto;
}

.certificates-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    background: rgba(74, 124, 89, 0.08);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border: 1px solid #000;
    border-radius: 16px;
    padding: 24px;
}

/* ==================== CATALOG CARDS ==================== */
.certificate-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
    position: relative;
    border: 1px solid #000;
    opacity: 1;
    transform: none;
}

.certificate-card.animate-in { opacity: 1; transform: none; }

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

.card-header {
    background: linear-gradient(135deg, rgba(47, 111, 78, 0.22) 0%, rgba(127, 176, 105, 0.18) 100%);
    padding: 1.25rem;
    position: relative;
    text-align: center;
    height: 110px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-icon {
    color: white;
    margin-bottom: 0.5rem;
}

.card-icon i { font-size: 3rem; }

@keyframes iconFloat {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-8px);
    }
}

.card-badge{position:absolute;top:12px;right:12px;background:rgba(47,111,78,0.14);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);padding:.4rem .8rem;border-radius:14px;border:1px solid #000;z-index:2}
.card-badge span{color:#2F6F4E;font-size:.72rem;font-weight:700;text-transform:uppercase;letter-spacing:.8px}

.card-badge-new{position:absolute;top:12px;left:12px;background:linear-gradient(135deg, #4a7c59, #7fb069);padding:.4rem .8rem;border-radius:14px;border:1px solid #000;box-shadow: 0 4px 12px rgba(74, 124, 89, 0.3);z-index:2;animation: badgePulse 2s infinite}
.card-badge-new span{color:#fff;font-size:.72rem;font-weight:800;text-transform:uppercase;letter-spacing:.8px}

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

.new-catalog-card {
    border: 2px solid var(--primary-green) !important;
    box-shadow: 0 12px 30px rgba(74, 124, 89, 0.15) !important;
}

.card-content {
    padding: 2rem;
}

.card-title{font-size:1.25rem;font-weight:700;color:#23352D;margin-bottom:1rem;line-height:1.4}

.card-description{color:#4C6A5C;font-size:.96rem;line-height:1.6;margin-bottom:1.5rem}

.card-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: var(--text-light);
}

.meta-item i{color:#2F6F4E;font-size:.9rem}

.card-actions {
    display: flex;
    gap: 1rem;
    padding: 0 2rem 2rem;
}

/* ==================== BUTTONS ==================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
    text-decoration: none;
    font-family: inherit;
    flex: 1;
}

.eco-btn-primary {
    background: rgba(74, 124, 89, 0.14);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    color: #111;
    border: 1px solid #000;
    box-shadow: none;
}

.eco-btn-primary:hover {
    transform: none;
    box-shadow: none;
    color: #111;
    text-decoration: none;
    background: rgba(74, 124, 89, 0.2);
}

.eco-btn-secondary {
    background: rgba(255,255,255,0.75);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    color: #111;
    border: 1px solid #000;
    box-shadow: none;
}

.eco-btn-secondary:hover {
    background: rgba(255,255,255,0.85);
    color: #111;
    transform: none;
    box-shadow: none;
    text-decoration: none;
}

.btn-text {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
}

.btn-wave {
    position: absolute;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transform: scale(0);
    pointer-events: none;
}

.btn-wave.active {
    animation: wave 0.6s ease-out;
}

@keyframes wave {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

/* Card Overlay Effect */
.card-overlay {
    display: none !important; /* отключить зеленый оверлей полностью */
}

.certificate-card:hover .card-overlay { opacity: 0; display: none !important; }

.overlay-content {
    text-align: center;
    color: white;
    transform: none;
}

.certificate-card:hover .overlay-content { transform: none; }

.overlay-content h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.overlay-content p {
    font-size: 0.9rem;
    opacity: 0.9;
}

/* ==================== PRODUCT FEATURES SECTION ==================== */
.quality-section {
    padding: 100px 0;
    background: var(--gradient-soft);
    position: relative;
    overflow: hidden;
}

.quality-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.quality-text h2 {
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    animation: fadeInLeft 1s ease-out;
}

.quality-text p {
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 2rem;
    animation: fadeInLeft 1s ease-out 0.2s both;
}

/* Список преимуществ — компактные стеклянные карточки */
.quality-features {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    background: rgba(47,111,78,0.08);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    border: 1px solid #000;
    border-radius: 10px;
    box-shadow: none;
}
.feature-item:hover { box-shadow: none; transform: none; }
.feature-item i { color: #2F6F4E; font-size: 1.3rem; min-width: 24px; }
.feature-item span { font-weight: 600; color: #23352D; }

.quality-features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: var(--transition-smooth);
    opacity: 0;
    animation: fadeInLeft 0.8s ease-out forwards;
}

.feature-item:hover {
    transform: translateX(10px);
    box-shadow: 0 8px 25px rgba(74, 124, 89, 0.1);
}

.feature-item i {
    color: var(--primary-green);
    font-size: 1.5rem;
    min-width: 24px;
}

.feature-item span {
    font-weight: 500;
    color: var(--text-dark);
}

.quality-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.certification-badges {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    max-width: 320px;
}

.badge-item {
    background: rgba(255,255,255,0.85);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    padding: 1.4rem 1.2rem;
    border-radius: 14px;
    text-align: center;
    border: 1px solid #000;
    box-shadow: none;
}

.badge-item:hover { transform: none; box-shadow: none; }

.badge-item i {
    font-size: 2rem;
    color: #2F6F4E;
    margin-bottom: 1rem;
    display: block;
}

.badge-item span { font-weight: 800; color: #23352D; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.6px; }

.badge-item:nth-child(3) {
    grid-column: span 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;
}

/* ==================== АНИМАЦИИ ==================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

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

/* ==================== RESPONSIVE DESIGN ==================== */
@media (max-width: 1200px) {
    .eco-footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
    
    .eco-footer-brand {
        grid-column: span 2;
    }
    
    .quality-content {
        gap: 3rem;
    }
    
    .hero-stats {
        gap: 2rem;
    }
}

@media (max-width: 992px) {
    .hero-title {
        font-size: 2.8rem;
    }
    
    .quality-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .certification-badges {
        grid-template-columns: repeat(3, 1fr);
        max-width: 400px;
    }
    
    .badge-item:nth-child(3) {
        grid-column: span 1;
    }
    
    .certificates-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .certificates-hero {
        padding: 100px 0 60px;
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 1.5rem;
        align-items: center;
    }
    
    .stat-item {
        width: 200px;
    }
    
    .certificates-section {
        padding: 80px 0;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .certificates-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .card-actions {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .quality-section {
        padding: 80px 0;
    }
    
    .quality-text h2 {
        font-size: 2.2rem;
    }
    
    .certification-badges {
        grid-template-columns: 1fr 1fr;
    }
    
    .eco-footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .eco-footer-brand {
        grid-column: span 1;
        text-align: center;
    }
    
    .eco-footer-bottom-content {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .eco-footer-links {
        justify-content: center;
        flex-wrap: wrap;
    }
}

@media (max-width: 576px) {
    .hero-icon {
        width: 100px;
        height: 100px;
    }
    
    .hero-icon i {
        font-size: 3rem;
    }
    
    .hero-title {
        font-size: 1.8rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        padding: 0 15px;
    }
    
    .certificates-section {
        padding: 60px 0;
    }
    
    .certificates-grid {
        padding: 0 15px;
    }
    
    .certificate-card {
        border-radius: 16px;
    }
    
    .card-content {
        padding: 1.5rem;
    }
    
    .card-actions {
        padding: 0 1.5rem 1.5rem;
    }
    
    .quality-section {
        padding: 60px 0;
    }
    
    .quality-text h2 {
        font-size: 1.8rem;
    }
    
    .quality-text p {
        font-size: 1rem;
    }
    
    .certification-badges {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .badge-item {
        padding: 1.5rem 1rem;
    }
    
    .eco-footer {
        padding: 60px 0 0;
    }
    
    .eco-footer-content {
        padding-bottom: 50px;
    }
}

/* Плавные переходы для всех интерактивных элементов */
* {
    transition: color 0.3s ease, background-color 0.3s ease, border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}
