/* Добавьте в начало CSS файла, после объявления переменных */
:root {
	--header-height: 70px;
	--header-height-mobile: 65px;
  }
  
  /* Добавьте стили для основного контента */
  .site-content {
	padding-top: var(--header-height);
  }
  
  @media (max-width: 1024px) {
	.site-content {
	  padding-top: var(--header-height-mobile);
	}
  }
  
  /* Header Component */
  .site-header {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: var(--header-height, 70px);
	background: var(--header-bg, #fff);
	box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
	padding: 0 clamp(12px, 3vw, 24px);
	z-index: 100;
	display: flex;
	align-items: center;
	justify-content: space-between;
  }
  
  /* Logo */
  .brand-logo {
	height: clamp(24px, 5vw, 35px);
	width: auto;
	display: block;
  }
  
  /* Navigation Container */
  .main-nav {
	flex: 1;
	display: flex;
	justify-content: center;
  }
  
  .nav-list {
	display: flex;
	align-items: center;
	gap: clamp(16px, 2vw, 24px);
	margin: 0;
	padding: 0;
	list-style: none;
  }
  
  .nav-item {
	position: relative;
  }
  
  .nav-link {
	font-family: var(--primary-font, 'Gilroy', sans-serif);
	font-size: clamp(12px, 1vw, 14px);
	color: var(--text-primary, #14451f);
	text-decoration: none;
	padding: 0.5em 0;
	transition: color 0.3s ease;
	white-space: nowrap;
  }
  
  .nav-link:hover {
	color: var(--color-accent, #43a154);
  }
  
  /* Dropdown Styles */
  .dropdown {
	position: absolute;
	top: 100%;
	left: 50%;
	transform: translateX(-50%) translateY(8px);
	background: var(--dropdown-bg, #fff);
	border-radius: 8px;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
	padding: 12px;
	min-width: 220px;
	opacity: 0;
	visibility: hidden;
	transition: all 0.3s ease;
  }
  
  .nav-item:hover .dropdown {
	opacity: 1;
	visibility: visible;
	transform: translateX(-50%) translateY(0);
  }
  
  .dropdown::before {
	content: '';
	position: absolute;
	top: -8px;
	left: 50%;
	transform: translateX(-50%);
	border: 8px solid transparent;
	border-bottom-color: var(--dropdown-bg, #fff);
  }
  
  .dropdown-link {
	display: block;
	padding: 0.75em 1em;
	color: var(--text-primary, #14451f);
	font-size: clamp(12px, 0.9vw, 14px);
	transition: all 0.3s ease;
	border-radius: 4px;
	text-decoration: none;
  }
  
  .dropdown-link:hover {
	background-color: rgba(67, 161, 84, 0.1);
	color: var(--color-accent, #43a154);
  }
  
  /* Contact Section */
  .contact-group {
	display: flex;
	align-items: center;
	gap: clamp(12px, 2vw, 16px);
  }
  
  .phone-link {
	display: flex;
	align-items: center;
	gap: 8px;
	text-decoration: none;
	color: var(--text-primary, #14451f);
	transition: color 0.3s ease;
  }
  
  .phone-link:hover {
	color: var(--color-accent, #43a154);
  }
  
  .cta-button {
	padding: clamp(6px, 1vw, 8px) clamp(12px, 2vw, 16px);
	border: 2px solid var(--color-accent, #43a154);
	border-radius: 5px;
	background: transparent;
	color: var(--text-primary, #14451f);
	transition: all 0.3s ease;
	cursor: pointer;
	font-size: clamp(12px, 0.9vw, 14px);
  }
  
  .cta-button:hover {
	background: var(--color-accent, #43a154);
	color: #fff;
  }
  
  /* Mobile Menu Toggle */
  .menu-toggle {
	display: none;
	cursor: pointer;
	padding: 8px;
	align-items: center;
	gap: 8px;
	background: none;
	border: none;
  }
  
  /* Responsive Breakpoints */
  @media (max-width: 1024px) {
	.site-header {
	  height: var(--header-height-mobile, 65px);
	}
  
	.menu-toggle {
	  display: flex;
	}
  
	.main-nav {
	  position: fixed;
	  top: var(--header-height-mobile, 65px);
	  left: 0;
	  width: 100%;
	  height: calc(100vh - var(--header-height-mobile, 65px));
	  background: var(--header-bg, #fff);
	  transform: translateX(100%);
	  transition: transform 0.3s ease;
	  overflow-y: auto;
	}
  
	.main-nav.active {
	  transform: translateX(0);
	}
  
	.nav-list {
	  flex-direction: column;
	  padding: clamp(16px, 4vw, 20px);
	  gap: clamp(12px, 2vw, 16px);
	  align-items: flex-start;
	  width: 100%;
	}
  
	.nav-link {
	  font-size: clamp(14px, 1.2vw, 16px);
	  width: 100%;
	  padding: 0.75em 0;
	}
  
	.dropdown {
	  position: static;
	  transform: none;
	  box-shadow: none;
	  opacity: 1;
	  visibility: visible;
	  margin: 8px 0;
	  padding: 0 0 0 16px;
	  min-width: 100%;
	  display: none;
	}
  
	.dropdown::before {
	  display: none;
	}
  
	.nav-item.active .dropdown {
	  display: block;
	}
  
	.cta-button {
	  display: none;
	}
  }
  
  @media (max-width: 480px) {
	.phone-link .text {
	  display: none;
	}
	
	.contact-group {
	  gap: 8px;
	}
  }
  
  /* Smooth Scrolling */
  @media (prefers-reduced-motion: no-preference) {
	html {
	  scroll-behavior: smooth;
	}
  }
  
  /* Добавьте в ваш CSS файл */
  .menu-toggle svg {
	transition: transform 0.3s ease;
  }
  
  .menu-toggle.active svg {
	transform: rotate(90deg);
  }
  
  @media (max-width: 1024px) {
	.dropdown {
	  position: static;
	  transform: none !important; /* Отключаем любые трансформации */
	  left: 0;  /* Сбрасываем позиционирование */
	  box-shadow: none;
	  opacity: 1;
	  visibility: visible;
	  margin: 8px 0;
	  padding: 0 0 0 16px;
	  min-width: 100%;
	  display: none;
	}
  
	/* Убираем декоративную стрелку в мобильной версии */
	.dropdown::before {
	  display: none;
	}
  
	.nav-item:hover .dropdown {
	  transform: none !important; /* Отключаем трансформацию при ховере */
	}
  }
  