/* ===== EcoDom Contact Page Styles ===== */

/* Базовые переменные и стили */
: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);
  
  /* Совместимость со старыми переменными */
  --eco-primary: #4a7c59;
  --eco-primary-light: #7fb069;
  --eco-secondary: #90c695;
  --eco-accent: #228b22;
  --eco-light: #f8f6f0;
  --eco-white: #fefefe;
  --eco-gray: #6b7c6e;
  --eco-dark: #2c3e2d;
  --eco-gradient: linear-gradient(135deg, #4a7c59 0%, #7fb069 50%, #90c695 100%);
  --eco-shadow: 0 4px 20px rgba(74, 124, 89, 0.1);
  --eco-shadow-hover: 0 8px 30px rgba(74, 124, 89, 0.15);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --border-radius: 12px;
  --font-family: 'Alegreya', serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-family);
  line-height: 1.6;
  color: var(--text-dark);
  background: var(--cream-white);
  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 ===== */
.contact-hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  /* Матовый зелёный фон как на serteficate */
  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-pattern {
  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;
}

.floating-elements {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}

.floating-contact {
  position: absolute;
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, rgba(74, 124, 89, 0.1), rgba(127, 176, 105, 0.05));
  border-radius: 20px;
  border: 2px solid rgba(74, 124, 89, 0.15);
  animation: floating 6s ease-in-out infinite;
}

.floating-contact::before {
  content: '📞';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 2rem;
}

.contact-1 {
  top: 10%;
  left: 10%;
  animation-delay: 0s;
}

.contact-2 {
  top: 20%;
  right: 15%;
  animation-delay: 2s;
}

.contact-3 {
  bottom: 30%;
  left: 15%;
  animation-delay: 4s;
}

@keyframes floating {
  0%, 100% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-20px) rotate(5deg);
  }
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.15);
  padding: 0.5rem 1rem;
  border-radius: 30px;
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--text-dark);
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--text-dark);
}

.hero-subtitle {
  font-size: 1.3rem;
  margin-bottom: 2rem;
  color: #2F6F4E !important;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 2rem;
  max-width: 500px;
  margin: 0 auto;
}

.contact-hero .hero-stat {
  background: #ffffff;
  border: 1px solid #000;
  border-radius: 14px;
  padding: 12px 18px;
  text-align: center;
}

.contact-hero .stat-number {
  background: none !important;
  -webkit-background-clip: initial !important;
  background-clip: initial !important;
  -webkit-text-fill-color: #2F6F4E !important;
  color: #2F6F4E !important;
  font-weight: 800;
  font-size: 2.5rem;
  display: block;
  margin-bottom: 0.5rem;
}

.contact-hero .stat-label {
  color: #2F6F4E !important;
  font-weight: 700;
  font-size: 1rem;
}

/* ==================== HERO — OUTLINED CONCEPT (more presentable) ==================== */
.contact-hero .hero-title {
  /* 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;
}

/* Убрать подчеркивание под заголовком */
.contact-hero .hero-title::after { display: none; }

.contact-hero .hero-badge {
  background: #ffffff !important;
  border: 1px solid #000 !important;
  box-shadow: none;
  color: #2F6F4E !important;
}

.contact-hero .hero-badge i { display: none !important; }

/* ===== MAIN CONTACT SECTION ===== */
.contact-main {
  padding: 6rem 0;
  background: var(--eco-white);
}

.contact-form-card,
.contact-info-card {
  background: #fff;
  border: 1px solid #000;
  border-radius: 25px;
  padding: 2.5rem;
  height: 100%;
  margin-bottom: 2rem;
  backdrop-filter: blur(10px);
  box-shadow: none;
  transition: none !important;
  opacity: 1;
  transform: none;
}

.contact-form-card.animate-in,
.contact-info-card.animate-in {
  opacity: 1;
  transform: none;
}

.contact-form-card:hover,
.contact-info-card:hover {
  transform: none;
  border-color: #000;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.form-header {
  margin-bottom: 2rem;
  text-align: center;
}

.form-header h3 {
  color: #2F6F4E;
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
  background: #ffffff;
  border: none;
  border-radius: 10px;
  padding: 10px 12px;
}

.form-header p {
  color: #2F6F4E;
  font-size: 1rem;
  font-weight: 600;
}

/* ===== FORM STYLES ===== */
.eco-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  color: #2F6F4E;
  margin-bottom: 0.5rem;
  font-size: 1rem;
}

.form-group input,
.form-group textarea {
  padding: 0.75rem 1rem;
  border: 1px solid #000;
  border-radius: 12px;
  font-family: var(--font-family);
  font-size: 1rem;
  transition: none !important;
  background: #fff;
  color: var(--text-dark);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #000;
  box-shadow: none;
  background: #fff;
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.submit-btn {
  background: #fff;
  color: #2F6F4E;
  border: 1px solid #000;
  padding: 1rem 2rem;
  border-radius: 12px;
  font-family: var(--font-family);
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  transition: none !important;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  box-shadow: none;
}

.submit-btn:hover {
  transform: none;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
  background: #fff;
  color: #2F6F4E;
  border-color: #000;
}

/* ===== CONTACT INFO STYLES ===== */
.contact-info-card h3 {
  color: #2F6F4E;
  font-size: 1.8rem;
  margin-bottom: 2rem;
  text-align: center;
  background: #ffffff;
  border: none;
  border-radius: 10px;
  padding: 10px 12px;
}

.contact-section {
  margin-bottom: 2rem;
}

.contact-section h4 {
  color: #2F6F4E;
  font-size: 1.2rem;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
}

.contact-items {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* Email адреса на одной линии */
.contact-section .contact-items {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* Специальный класс для секции с email */
.contact-section.email-section .contact-items {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

@media (max-width: 768px) {
  .contact-section.email-section .contact-items {
    grid-template-columns: 1fr;
  }
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 12px;
  text-decoration: none;
  transition: none !important;
}

.contact-item:hover {
  background: rgba(255, 255, 255, 0.8);
  border-color: rgba(0, 0, 0, 0.2);
  transform: none;
}

.contact-icon {
  width: 40px;
  height: 40px;
  background: rgba(74, 124, 89, 0.1);
  color: #2F6F4E;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  transition: none !important;
}

.contact-item:hover .contact-icon {
  background: rgba(74, 124, 89, 0.15);
  border-color: rgba(0, 0, 0, 0.2);
  transform: none;
}

.contact-details {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.contact-value {
  font-weight: 600;
  color: var(--eco-primary);
  font-size: 1.1rem;
}

.contact-label {
  font-size: 0.9rem;
  color: var(--eco-gray);
}

.contact-item:hover .contact-value {
  color: var(--eco-primary);
}

.contact-item:hover .contact-label {
  color: var(--eco-gray);
}

/* ===== SOCIAL LINKS ===== */
.social-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1rem;
}

.social-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 700;
  transition: none !important;
  background: #fff;
  border: 1px solid #000;
  color: #2F6F4E;
}

.social-link.instagram {
  background: #fff;
  color: #2F6F4E;
}

.social-link.telegram {
  background: #fff;
  color: #2F6F4E;
}

.social-link:hover {
  transform: none;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
  background: #fff;
  border-color: #000;
  color: #2F6F4E;
}

/* ===== OFFICES SECTION ===== */
.offices-section {
  padding: 6rem 0;
  background: var(--eco-white);
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
  opacity: 1;
  transform: none;
  transition: none !important;
}

.section-header.animate-in {
  opacity: 1;
  transform: none;
}

.section-header h2 {
  font-size: 2.5rem;
  color: #2F6F4E;
  margin-bottom: 1rem;
  font-weight: 700;
  background: #ffffff;
  border: none;
  border-radius: 10px;
  padding: 15px 20px;
  display: inline-block;
}

.section-subtitle {
  font-size: 1.2rem;
  color: #2F6F4E;
  max-width: 600px;
  margin: 0 auto;
  font-weight: 600;
}

.offices-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3rem;
  max-width: 1200px;
  margin: 0 auto;
}

@media (max-width: 992px) {
  .offices-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

.office-card {
  background: #fff;
  border: 1px solid #000;
  border-radius: 30px;
  overflow: hidden;
  transition: all 0.3s ease;
  opacity: 1;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.office-card.animate-in {
  opacity: 1;
}

.office-card:hover {
  box-shadow: 0 12px 40px rgba(47, 111, 78, 0.15);
  border-color: #2F6F4E;
}

.office-header {
  background: linear-gradient(135deg, rgba(47, 111, 78, 0.25) 0%, rgba(127, 176, 105, 0.2) 100%);
  color: #2F6F4E;
  padding: 2.5rem 2rem;
  text-align: center;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  position: relative;
}

.office-icon {
  width: 80px;
  height: 80px;
  background: #fff;
  border: 2px solid #2F6F4E;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  color: #2F6F4E;
  box-shadow: 0 4px 15px rgba(47, 111, 78, 0.15);
  transition: all 0.3s ease;
}

.office-card:hover .office-icon {
  box-shadow: 0 6px 20px rgba(47, 111, 78, 0.25);
}

.office-icon i {
  font-size: 36px;
  color: #2F6F4E;
}

.office-city {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: #2F6F4E;
  letter-spacing: -0.5px;
}

.office-type {
  font-size: 0.95rem;
  color: #2F6F4E;
  font-weight: 600;
  background: #fff;
  border: 1px solid #000;
  border-radius: 12px;
  padding: 8px 18px;
  display: inline-block;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.office-content {
  padding: 2rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.office-address {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 2rem;
  font-weight: 500;
  color: var(--text-dark);
  font-size: 1.05rem;
  line-height: 1.6;
  min-height: 60px;
}

.office-address i {
  font-size: 22px;
  color: #2F6F4E;
  margin-top: 2px;
  flex-shrink: 0;
}

.office-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-bottom: 2rem;
  min-height: 120px;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: var(--text-dark);
  background: rgba(47, 111, 78, 0.04);
  border: 1px solid rgba(47, 111, 78, 0.1);
  border-radius: 12px;
  padding: 1rem 0.75rem;
  transition: all 0.3s ease;
  text-align: center;
}

.feature-item:hover {
  background: rgba(47, 111, 78, 0.08);
  border-color: rgba(47, 111, 78, 0.2);
  transform: translateY(-2px);
}

.feature-item i {
  font-size: 24px;
  color: #2F6F4E;
}

.feature-item span {
  font-weight: 500;
}

.office-btn i {
  font-size: 18px;
}

.office-hours {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 500;
  color: var(--text-dark);
  margin-bottom: 1.5rem;
  font-size: 1rem;
  padding: 0.75rem;
  background: rgba(47, 111, 78, 0.04);
  border-radius: 10px;
  min-height: 50px;
}

.office-hours i {
  font-size: 22px;
  color: #2F6F4E;
}

.office-actions {
  padding: 0 2rem 2rem;
  margin-top: auto;
}

.office-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  width: 100%;
  height: 56px;
  padding: 0.75rem 1.5rem;
  background: linear-gradient(135deg, #2F6F4E 0%, #3d8a5f 100%);
  color: #fff;
  text-decoration: none;
  border-radius: 14px;
  font-weight: 700;
  transition: all 0.3s ease;
  border: 1px solid #2F6F4E;
  font-size: 1.05rem;
  white-space: nowrap;
  box-sizing: border-box;
  box-shadow: 0 4px 15px rgba(47, 111, 78, 0.2);
}

.office-btn:hover {
  background: linear-gradient(135deg, #3d8a5f 0%, #2F6F4E 100%);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(47, 111, 78, 0.3);
  border-color: #2F6F4E;
}

/* ===== CTA SECTION ===== */
.contact-cta {
  position: relative;
  padding: 100px 0;
  background: rgba(74, 124, 89, 0.08);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-top: 1px solid rgba(0, 0, 0, 0.6);
  border-bottom: 1px solid rgba(0, 0, 0, 0.6);
  overflow: hidden;
}

.contact-cta::before,
.contact-cta::after {
  display: none;
}

.cta-content {
  position: relative;
  z-index: 2;
  text-align: center;
  margin-bottom: 50px;
  opacity: 1;
  transform: none;
  transition: none !important;
}

.cta-content.animate-in {
  opacity: 1;
  transform: none;
}

.cta-content h3 {
  font-size: 3rem;
  font-weight: 700;
  color: #2F6F4E;
  margin-bottom: 20px;
  position: relative;
  background: #ffffff;
  border: 1px solid #000;
  border-radius: 10px;
  padding: 15px 20px;
  display: inline-block;
}

.cta-content h3::after {
  display: none;
}

.cta-content p {
  font-size: 1.4rem;
  color: #2F6F4E;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
  font-weight: 600;
}

.cta-actions {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
  opacity: 1;
  transform: none;
  transition: none !important;
}

.cta-actions.animate-in {
  opacity: 1;
  transform: none;
}

.cta-actions::before,
.cta-actions::after {
  display: none;
}

.cta-btn {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 35px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1rem;
  transition: none !important;
  overflow: visible;
  min-width: 200px;
  justify-content: center;
  box-shadow: none;
  background: #fff;
  color: #2F6F4E;
  border: 1px solid #000;
}

.cta-btn::before {
  display: none;
}

.cta-btn.primary {
  background: #fff;
  color: #2F6F4E;
  border: 1px solid #000;
}

.cta-btn.primary::after {
  display: none;
}

.cta-btn.primary:hover {
  transform: none;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
  color: #2F6F4E;
  text-decoration: none;
  background: #fff;
  border-color: #000;
}

.cta-btn.secondary {
  background: #fff;
  color: #2F6F4E;
  border: 1px solid #000;
}

.cta-btn.secondary:hover {
  background: #fff;
  border-color: #000;
  transform: none;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
  color: #2F6F4E;
  text-decoration: none;
}

.cta-btn i {
  font-size: 1.2rem;
  transition: none !important;
}

.cta-btn:hover i {
  transform: none;
}

.cta-btn.primary:hover i {
  color: #2F6F4E;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .contact-cta {
    padding: 60px 0;
  }
  
  .cta-content h3 {
    font-size: 2.2rem;
  }
  
  .cta-content p {
    font-size: 1.2rem;
  }
  
  .cta-actions {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }
  
  .cta-btn {
    min-width: 280px;
    padding: 16px 30px;
  }
}

/* ===== ANIMATIONS ===== */
@keyframes slideInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes float {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-20px);
  }
}

@keyframes floatRandom {
  0%, 100% {
    transform: translateY(0px) rotate(0deg);
  }
  25% {
    transform: translateY(-15px) rotate(90deg);
  }
  50% {
    transform: translateY(-30px) rotate(180deg);
  }
  75% {
    transform: translateY(-10px) rotate(270deg);
  }
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-subtitle {
    font-size: 1.1rem;
  }
  
  .hero-stats {
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
  }
  
  .stat-number {
    font-size: 2rem;
  }
  
  .contact-form-card,
  .contact-info-card {
    padding: 1.5rem;
  }
  
  .offices-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .office-header {
    padding: 2rem 1.5rem;
  }
  
  .office-icon {
    width: 70px;
    height: 70px;
  }
  
  .office-icon i {
    font-size: 32px;
  }
  
  .office-city {
    font-size: 1.75rem;
  }
  
  .office-content {
    padding: 1.5rem;
  }
  
  .office-features {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .office-actions {
    padding: 0 1.5rem 1.5rem;
  }
  
  .cta-actions {
    flex-direction: column;
    align-items: center;
  }
  
  .eco-footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .eco-footer-bottom-content {
    flex-direction: column;
    text-align: center;
  }
  
  .navbar-nav .nav-link {
    font-size: 0.9rem;
    padding: 0.5rem 1rem !important;
  }
}

@media (max-width: 576px) {
  .contact-main,
  .offices-section {
    padding: 3rem 0;
  }
  
  .hero-stats {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .section-header h2 {
    font-size: 2rem;
  }
  
  .office-header {
    padding: 1.5rem 1rem;
  }
  
  .office-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 1rem;
  }
  
  .office-icon i {
    font-size: 28px;
  }
  
  .office-city {
    font-size: 1.5rem;
  }
  
  .office-type {
    font-size: 0.85rem;
    padding: 6px 14px;
  }
  
  .office-content {
    padding: 1.25rem;
  }
  
  .office-address {
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
  }
  
  .office-btn {
    height: 50px;
    font-size: 1rem;
  }
  
  .cta-content h3 {
    font-size: 1.8rem;
  }
  
  .eco-footer {
    padding: 40px 0 0;
  }
  
  .eco-footer-content {
    gap: 30px;
  }
  
  .eco-footer-section {
    padding: 20px;
  }
}

/* ==================== ЭКО-ФУТЕР ==================== */
.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;
}

/* ==================== КРАСИВЫЕ УВЕДОМЛЕНИЯ ==================== */
.notification-container {
  position: fixed;
  top: 30px;
  right: 30px;
  z-index: 10000;
  pointer-events: none;
}

.notification {
  background: linear-gradient(135deg, #ffffff 0%, #f8f6f0 100%);
  border-radius: 15px;
  box-shadow: 
    0 10px 40px rgba(74, 124, 89, 0.15),
    0 4px 20px rgba(0, 0, 0, 0.1);
  border: 2px solid transparent;
  border-image: linear-gradient(135deg, #90c695, #7fb069) 1;
  padding: 20px 25px;
  margin-bottom: 15px;
  min-width: 350px;
  max-width: 450px;
  pointer-events: auto;
  position: relative;
  overflow: hidden;
  transform: translateX(500px);
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.notification.show {
  transform: translateX(0);
  opacity: 1;
}

.notification.hide {
  transform: translateX(500px);
  opacity: 0;
}

/* Анимированный фон */
.notification::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(144, 198, 149, 0.1), transparent);
  animation: notificationShine 2s ease-in-out infinite;
}

@keyframes notificationShine {
  0% { left: -100%; }
  50% { left: 100%; }
  100% { left: 100%; }
}

.notification-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 10px;
}

.notification-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  position: relative;
  animation: notificationIconPulse 2s ease-in-out infinite;
}

@keyframes notificationIconPulse {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(144, 198, 149, 0.7);
  }
  50% {
    transform: scale(1.05);
    box-shadow: 0 0 0 10px rgba(144, 198, 149, 0);
  }
}

.notification.success .notification-icon {
  background: linear-gradient(135deg, #7fb069, #90c695);
  color: white;
}

.notification.error .notification-icon {
  background: linear-gradient(135deg, #e74c3c, #ff6b6b);
  color: white;
}

.notification-content {
  flex: 1;
}

.notification-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--primary-green);
  margin-bottom: 5px;
  position: relative;
}

.notification.success .notification-title {
  color: #4a7c59;
}

.notification.error .notification-title {
  color: #c0392b;
}

.notification-message {
  font-size: 0.95rem;
  color: var(--text-dark);
  line-height: 1.4;
  opacity: 0.8;
}

.notification-close {
  position: absolute;
  top: 15px;
  right: 15px;
  background: none;
  border: none;
  font-size: 1.2rem;
  color: var(--text-light);
  cursor: pointer;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  z-index: 2;
}

.notification-close:hover {
  background: rgba(74, 124, 89, 0.1);
  color: var(--primary-green);
  transform: scale(1.1);
}

/* Прогресс-бар */
.notification-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 4px;
  background: linear-gradient(90deg, #7fb069, #90c695);
  border-radius: 0 0 15px 15px;
  animation: notificationProgress 4s linear;
}

@keyframes notificationProgress {
  0% { width: 100%; }
  100% { width: 0%; }
}

/* Частицы успеха */
.success-particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: hidden;
  border-radius: 15px;
}

.success-particle {
  position: absolute;
  width: 6px;
  height: 6px;
  background: #90c695;
  border-radius: 50%;
  animation: successParticle 2s ease-out forwards;
}

@keyframes successParticle {
  0% {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
  100% {
    transform: translateY(-100px) scale(0);
    opacity: 0;
  }
}

/* Эффект встряски для ошибок */
.notification.error {
  animation: notificationShake 0.5s ease-in-out;
}

@keyframes notificationShake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-5px); }
  75% { transform: translateX(5px); }
}

/* Адаптивность */
@media (max-width: 768px) {
  .notification-container {
    top: 20px;
    right: 20px;
    left: 20px;
  }
  
  .notification {
    min-width: auto;
    max-width: none;
    margin-bottom: 10px;
  }
  
  .notification.show {
    transform: translateY(0);
  }
  
  .notification.hide {
    transform: translateY(-100px);
  }
  
  .notification {
    transform: translateY(-100px);
  }
}

/* ===== ANIMATIONS ===== */
