/* Общие стили */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
  background-color: #f9f9f9;
  color: #333;
  line-height: 1.6;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 0;
}

/* Шапка — чистая, без акцентов */
header {
  background-color: #2c3e50;
  color: white;
  padding: 12px 0;
}

.header-full {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  text-align: center;
}

.header-left,
.header-right {
  color: white;
  font-size: 16px;
  white-space: nowrap;
}

.header-link {
  color: white;
  text-decoration: underline;
  font-size: 15px;
  line-height: 1.4;
  transition: opacity 0.2s;
}

.header-link:hover {
  opacity: 0.8;
  text-decoration: underline;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 8px;
}

.telegram-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background-color: #0088cc;
}

.telegram-icon svg {
  width: 12px;
  height: 12px;
  fill: white;
}

/* Hero секция */
.hero {
  background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('/img/hero-bg.jpg');
  background-size: cover;
  background-position: center;
  color: white;
  text-align: center;
  padding: 100px 20px;
}

.hero h1 {
  font-size: 2.8rem;
  margin-bottom: 20px;
}

.hero p {
  font-size: 1.4rem;
  max-width: 800px;
  margin: 0 auto 30px;
}

.btn {
  display: inline-block;
  background-color: #e67e22;
  color: white;
  padding: 14px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.2rem;
  transition: background-color 0.3s;
}

.btn:hover {
  background-color: #d35400;
}

/* Преимущества */
.section {
  padding: 60px 0;
}

.section-title {
  text-align: center;
  font-size: 2.2rem;
  margin-bottom: 40px;
  color: #2c3e50;
}

.features {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  gap: 30px;
}

.feature {
  background: white;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  width: 30%;
  min-width: 280px;
  text-align: center;
}

.feature h3 {
  margin: 15px 0;
  color: #e67e22;
}

/* Форма заявки */
.form-section {
  background-color: #ecf0f1;
}

.form-container {
  max-width: 600px;
  margin: 0 auto;
  background: white;
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: bold;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 1rem;
}

/* Контакты */
.contacts {
  text-align: center;
}

.contacts p {
  font-size: 1.2rem;
  margin: 10px 0;
}

/* Footer */
footer {
  background-color: #2c3e50;
  color: white;
  text-align: center;
  padding: 20px 0;
}

/* Политика конфиденциальности под формой */
.form-privacy {
  text-align: center;
  margin-top: 15px;
  font-size: 0.9rem;
  color: #777;
}

.form-privacy a {
  color: #e67e22;
  text-decoration: underline;
}

.form-privacy a:hover {
  color: #d35400;
}

/* Стили для ошибок валидации */
.error-message {
  color: #e74c3c !important;
  font-size: 0.9rem;
  margin-top: 5px;
  min-height: 1.2rem;
  line-height: 1.2;
}

.input-error {
  border: 2px solid #e74c3c !important;
  outline: none;
}

/* Адаптив для мобильных */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2rem;
  }
  .hero p {
    font-size: 1.1rem;
  }
  .feature {
    width: 100%;
  }
  .header-full {
    flex-direction: column;
    text-align: center;
  }
  .header-left,
  .header-right {
    width: 100%;
    justify-content: center;
  }
}

