
	* { box-sizing: border-box; }
	body {
	  margin: 0;
	  font-family: 'Roboto', sans-serif;
	  color: #fff;
	  background-color: #000;
	}
	.fixed-bg {
	  background: url('../core/image.php?file=audi1.jpg') center/cover no-repeat;
	  position: fixed;
	  top: 0; left: 0;
	  width: 100%; height: 100%;
	  z-index: -1;
	}
	header {
	  display: flex; justify-content: center; align-items: center;
	  padding: 20px; gap: 15px;
	  background-color: rgba(255,255,255,0.6);
	  border-bottom: 1px solid #ddd;
	}
	header img { height: 60px; }
	.hero {
	  height: 85vh; display: flex;
	  flex-direction: column; justify-content: flex-end;
	  align-items: center; text-align: center;
	  padding-bottom: 40px;
	}
	.header-inner {
	  display: flex;
	  justify-content: space-between;
	  align-items: center;
	  max-width: 1200px;
	  margin: 0 auto;
	  width: 100%;
	  position: relative;
	}
	
	.header-left {
	  display: flex;
	  align-items: center;
	  gap: 20px;
	}
	
	.header-right {
	  display: flex;
	  align-items: center;
	}
	
	/* Телефон в мобильной версии - скрыт на десктопе по умолчанию */
	.phone-block.phone-mobile {
	  display: none !important;
	}
	
	/* Телефон в десктопной версии - по центру */
	.header-inner .phone-block.phone-desktop {
	  display: flex !important;
	  position: absolute;
	  left: 50%;
	  top: 50%;
	  transform: translate(-50%, -50%);
	  z-index: 10;
	}
	.hero-text {
	  background-color: rgba(0,0,0,0.4);
	  padding: 20px; border-radius: 10px;
	  max-width: 1200px; width: 90%;
	}
	.hero-text h1 { font-size: 2.2rem; margin: 10px 0; }
	.btn {
	  background: #e30613; color: #fff;
	  padding: 12px 24px; border: none; border-radius: 5px;
	  font-size: 1.2rem; cursor: pointer;
	  margin-top: 20px; display: inline-block;
	  transition: all 0.3s ease;
	}
	.btn:hover { background: #ff1a2a; transform: scale(1.05); }
	
	/* Убираем hover эффекты на мобильных устройствах */
	@media (hover: none) and (pointer: coarse) {
	  .btn:hover {
		background: #e30613;
		transform: none;
	  }
	}
	

	.section {
	  padding: 20px 20px; text-align: center;
	  background-color: rgba(0,0,0,0.6);
	  margin: 100px auto; border-radius: 10px;
	  max-width: 1200px; width: 90%;
	}
	.section h2 {
	  font-size: 2rem; margin-bottom: 20px; color: #e30613;
	}
	.services {
	  display: flex; flex-wrap: wrap;
	  justify-content: center; gap: 20px;
	}
	.service {
	  background: rgba(20,20,20,0.8);
	  padding: 20px; border-radius: 10px;
	  width: 280px; border: 1px solid #333;
	  text-align: center;
	}
	.service img { width: 128px; margin-bottom: 1px; }
	.service h3 { margin-bottom: 10px; }
	.models {
	  display: flex; flex-wrap: wrap;
	  justify-content: center; gap: 15px;
	}
	.models img {
	  width: 250px; border-radius: 10px;
	  border: 2px solid #e30613;
	}
	.btn {
	  background: #e30613;
	  color: #fff;
	  padding: 12px 24px;
	  border: none;
	  border-radius: 5px;
	  font-size: 1.2rem;
	  cursor: pointer;
	  margin-top: 20px;
	  display: inline-block;
	  transition: all 0.3s ease;
	  text-decoration: none;
	}
	footer {
	  background-color: rgba(0, 0, 0, 0.8);
	  border-top: 1px solid #333;
	  padding: 15px 20px;
	  font-size: 0.9rem;
	  color: #aaa;
	}
	
	.footer-content {
	  display: flex;
	  justify-content: space-between;
	  align-items: center;
	  flex-wrap: wrap;
	  text-align: center;
	}
	
	.footer-content p {
	  margin: 5px 0;
	}
	
	.footer-content a {
	  color: #e30613;
	  text-decoration: none;
	}
	
	.footer-content a:hover {
	  text-decoration: underline;
	}
	
	.footer-center {
	  flex: 1;
	}
	form {
	  max-width: 500px; margin: 0 auto;
	  text-align: left; width: 100%;
	}
	form input, form select, form textarea {
  width: 100%; padding: 10px; margin: 10px 0;
  border-radius: 5px; border: none; font-size: 1rem;
  background-color: #fff; color: #000; display: block;
}

/* Унифицируем цвет текста для всех элементов формы */
form input::placeholder {
  color: #999;
}

form textarea::placeholder {
  color: #999;
}

/* Стили для выпадающих списков */
form select {
  color: #000;
}

form select option {
  color: #000;
  background-color: #fff;
}

form select option:first-child {
  color: #999;
}

/* Для браузеров, которые поддерживают псевдоэлемент */
form select:invalid {
  color: #999;
}

form select:valid {
  color: #000;
}
	form select {
	  appearance: none; -webkit-appearance: none; -moz-appearance: none;
	  background: #fff url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="black"><path d="M4 6l4 4 4-4z"/></svg>') no-repeat right 10px center;
	  background-size: 16px 16px; padding-right: 30px;
	}
	form input, form select, form textarea {
	  border: 2px solid transparent;
	  transition: border-color 0.3s ease;
	}
	form input:focus, form select:focus, form textarea:focus {
	  border-color: #e30613;
	  outline: none;
	}
	form button {
	  width: 100%; padding: 12px;
	  background: #e30613; border: none;
	  border-radius: 5px; color: #fff; font-size: 1.2rem;
	  cursor: pointer; transition: all 0.3s ease;
	}
	form button:hover { background: #ff1a2a; transform: scale(1.05); }
	#phoneError {
	  color:#e30613; font-weight:bold; text-align:center;
	  font-size:1.1rem; display:none;
	}
	.popup {
	  display: none; position: fixed; z-index: 1000;
	  left: 0; top: 0; width: 100%; height: 100%;
	  background-color: rgba(0,0,0,0.7);
	  justify-content: center; align-items: center;
	  opacity: 0; transition: opacity 0.3s ease;
	}
	.popup.show { display: flex; opacity: 1; }
	.popup-content {
	  background-color: #111; padding: 30px;
	  border-radius: 10px; text-align: center;
	  max-width: 400px; width: 80%;
	  border: 2px solid #e30613; position: relative;
	  transform: scale(0.9); transition: transform 0.3s ease;
	}
	.popup.show .popup-content { transform: scale(1); }
	.popup-content p { font-size: 1.2rem; color: #fff; }
	.popup-close {
	  position: absolute; top: 10px; right: 15px;
	  font-size: 2rem; color: #fff; cursor: pointer;
	}
	.phone-block {
	  display: flex;
	  align-items: center;
	}
	
	.phone-link {
	  color: #8b0000;
	  font-weight: bold;
	  text-decoration: none;
	  font-size: 1.1rem;
	  transition: all 0.2s ease;
	  padding: 8px 12px;
	  border: 2px solid #8b0000;
	  border-radius: 5px;
	  background-color: rgba(139, 0, 0, 0.1);
	}
	
	.phone-link:hover {
	  background-color: #8b0000;
	  color: #fff;
	  transform: scale(1.05);
	}
	
	/* Убираем hover эффекты на мобильных устройствах */
	@media (hover: none) and (pointer: coarse) {
	  .phone-link:hover {
		background-color: rgba(139, 0, 0, 0.1);
		color: #8b0000;
		transform: none;
	  }
	}
	
	.lang-block {
	  display: flex;
	  flex-direction: column;
	  align-items: flex-end;
	  padding-right: 10px;
	  gap: 5px;
	}
	.lang-link {
	  color: #000;
	  font-weight: bold;
	  text-decoration: none;
	  font-size: 1rem;
	  transition: all 0.2s ease;
	}
	.lang-link:hover {
	  text-decoration: underline;
	}
	.lang-link.active {
	  font-weight: bold;
	  color: #8b0000;
	}
	@media (max-width: 768px) {
	  .hero-text h1 { font-size: 1.2rem; }
	  
	  /* Тонкий header на мобильных */
	  header {
		padding: 10px 20px;
	  }
	  
	  header img { 
		height: 45px; 
	  }
	  
	  /* Скрываем телефон в центре на мобильной */
	  .header-inner .phone-block.phone-desktop {
		display: none !important;
		position: static !important;
		transform: none !important;
	  }
	  
	  /* Показываем телефон в header-left на мобильной */
	  .header-left .phone-block.phone-mobile {
		display: block !important;
	  }
	  
	  .phone-link {
		font-size: 0.9rem;
		padding: 6px 10px;
	  }
	  
	  .header-right {
		flex-direction: column;
		align-items: flex-end;
	  }
	  
	  .lang-block {
		font-size: 0.8rem;
		align-items: flex-end;
		gap: 3px;
	  }
	  
	  .hero {
		height: 79vh; display: flex;
	  }
	}
	
	/* Для очень маленьких экранов */
	@media (max-width: 480px) {
	  header {
		padding: 8px 15px;
	  }
	  
	  header img { 
		height: 40px; 
	  }
	  
	  /* Скрываем телефон в центре на маленьких экранах */
	  .header-inner .phone-block.phone-desktop {
		display: none !important;
		position: static !important;
		transform: none !important;
	  }
	  
	  /* Показываем телефон в header-left на маленьких экранах */
	  .header-left .phone-block.phone-mobile {
		display: block !important;
	  }
	  
	  .phone-link {
		font-size: 0.85rem;
		padding: 5px 8px;
	  }
	  
	  .header-left {
		gap: 6px;
	  }
	  
	  .lang-block {
		font-size: 0.75rem;
		gap: 2px;
	  }
	}
