* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: Arial, sans-serif;
  background: #0f172a;
  color: white;
}

/* Верхнее меню */
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 25px 8%;
  background: #111827;
  gap: 20px;
}

.logo {
  font-size: 26px;
  font-weight: bold;
  color: #facc15;
}

nav a {
  color: white;
  text-decoration: none;
  margin-left: 25px;
  font-size: 16px;
  font-weight: bold;
}

nav a:hover {
  color: #facc15;
}

/* Кнопки языка */
.language-switch {
  display: flex;
  gap: 8px;
}

.language-switch button {
  padding: 8px 14px;
  border: 1px solid #facc15;
  background: transparent;
  color: #facc15;
  border-radius: 8px;
  font-weight: bold;
  cursor: pointer;
}

.language-switch button:hover {
  background: #facc15;
  color: #111827;
}

/* Главный блок */
.hero {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 80px 8%;
  gap: 40px;
}

.hero-text {
  max-width: 650px;
}

.hero h1 {
  font-size: 48px;
  margin-bottom: 20px;
  line-height: 1.2;
}

.hero p {
  font-size: 20px;
  line-height: 1.5;
  color: #d1d5db;
}

.buttons {
  margin-top: 30px;
}

.btn {
  display: inline-block;
  padding: 15px 25px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: bold;
  margin-right: 15px;
}

.btn.main {
  background: #facc15;
  color: #111827;
}

.btn.second {
  border: 2px solid #facc15;
  color: #facc15;
}

.btn.main:hover {
  background: #eab308;
}

.btn.second:hover {
  background: #facc15;
  color: #111827;
}

/* Карточка справа */
.hero-card {
  background: #1f2937;
  padding: 35px;
  border-radius: 20px;
  min-width: 300px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.hero-card h3 {
  color: #facc15;
  font-size: 28px;
  margin-bottom: 20px;
}

.hero-card p {
  margin-bottom: 15px;
  color: #e5e7eb;
}

/* Преимущества */
.benefits {
  padding: 70px 8%;
  background: #111827;
  text-align: center;
}

.benefits h2,
.form-section h2 {
  font-size: 36px;
  margin-bottom: 35px;
}

.benefit-boxes {
  display: flex;
  gap: 25px;
  justify-content: center;
}

.box {
  background: #1f2937;
  padding: 30px;
  border-radius: 15px;
  width: 30%;
}

.box h3 {
  color: #facc15;
  margin-bottom: 15px;
  font-size: 22px;
}

.box p {
  color: #d1d5db;
  line-height: 1.5;
}

/* Форма заявки */
.form-section {
  padding: 70px 8%;
  text-align: center;
}

.form-section p {
  margin-bottom: 25px;
  color: #d1d5db;
  font-size: 18px;
}

form {
  max-width: 450px;
  margin: auto;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

input {
  padding: 16px;
  border-radius: 10px;
  border: none;
  font-size: 16px;
  outline: none;
}

input:focus {
  box-shadow: 0 0 0 3px rgba(250, 204, 21, 0.4);
}

button {
  padding: 16px;
  border-radius: 10px;
  border: none;
  background: #facc15;
  color: #111827;
  font-size: 18px;
  font-weight: bold;
  cursor: pointer;
}

button:hover {
  background: #eab308;
}

button:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.form-status {
  margin-top: 20px;
  font-size: 18px;
  font-weight: bold;
  color: #facc15;
}

/* Подвал */
footer {
  padding: 30px 8%;
  background: #020617;
  text-align: center;
  color: #d1d5db;
}

footer p {
  margin-bottom: 8px;
}

/* Адаптация под телефон */
@media (max-width: 768px) {
  .header {
    flex-direction: column;
    text-align: center;
  }

  nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
  }

  nav a {
    margin-left: 0;
  }

  .hero {
    flex-direction: column;
    text-align: center;
    padding: 60px 6%;
  }

  .hero h1 {
    font-size: 34px;
  }

  .hero p {
    font-size: 18px;
  }

  .buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }

  .btn {
    margin-right: 0;
  }

  .hero-card {
    min-width: 100%;
  }

  .benefit-boxes {
    flex-direction: column;
  }

  .box {
    width: 100%;
  }
}