/* === Общие стили === */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  color: #222;
  background: #fff;
}

/* Контейнер */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* === Шапка === */
.header {
  background: #fff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  padding: 15px 0;
  position: sticky;
  top: 0;
  z-index: 10;
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: #0091ff;
}

.header nav a {
  margin: 0 10px;
  text-decoration: none;
  color: #333;
  font-weight: 500;
}

.header nav .btn-primary {
  background: #0091ff;
  color: #fff;
  padding: 8px 16px;
  border-radius: 6px;
}

/* === Герой (верхняя секция) === */
.hero {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  padding: 100px 0;
  text-align: center;
  background: linear-gradient(120deg, #0091ff, #00c6ff, #ffffff);
  background-size: 400% 400%;
  animation: gradientShift 10s ease infinite;
  color: #fff;
}

@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.hero h1 {
  font-size: 2rem;
  margin-bottom: 15px;
}

.hero p {
  font-size: 1.1rem;
  max-width: 700px;
  margin: 0 auto 25px;
  color: #f0f0f0;
}

.buttons {
  display: flex;
  justify-content: center;
  gap: 10px;
}

/* === Кнопки === */
.btn-primary,
.btn-secondary {
  display: inline-block;
  padding: 10px 18px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-primary {
  background: #fff;
  color: #0091ff;
}

.btn-primary:hover {
  background: #e6f3ff;
}

.btn-secondary {
  border: 1px solid #fff;
  color: #fff;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* === Секции === */
.section {
  padding: 60px 0;
  background: #fff;
}

.section.light {
  background: #f4f7fa;
}

h2 {
  text-align: center;
  margin-bottom: 20px;
  font-size: 1.8rem;
  color: #111;
}

p {
  line-height: 1.5;
}

/* === Карточки === */
.cards {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.card {
  background: #fff;
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  width: 250px;
  text-align: center;
  transition: transform 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
}

/* === Этапы === */
.steps {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px;
}

.step {
  flex: 1 1 30%;
  background: #fff;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  text-align: center;
  transition: transform 0.3s ease;
}

.step:hover {
  transform: translateY(-5px);
}

/* === Контакты === */
.contacts {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: flex-start;
}

.contacts .map {
  flex: 1 1 50%;
}

.contacts a {
  color: #0091ff;
  text-decoration: none;
}

.contacts a:hover {
  text-decoration: underline;
}

/* === Подвал === */
.footer {
  background: #111;
  color: #fff;
  text-align: center;
  padding: 20px 0;
  margin-top: 40px;
  font-size: 0.95rem;
}

/* === Адаптив === */
@media (max-width: 768px) {
  .hero {
    padding: 60px 20px;
  }

  .steps {
    flex-direction: column;
    align-items: center;
  }

  .step {
    width: 100%;
    max-width: 350px;
  }

  .cards {
    flex-direction: column;
    align-items: center;
  }

  .contacts {
    flex-direction: column;
  }
}
