body {
  font-family: 'Segoe UI', sans-serif;
  margin: 0;
  padding: 0;
  background-color: #f5f7fa;
  color: #222;
  scroll-behavior: smooth;
}

html {
  scroll-behavior: smooth;
}

a {
  text-decoration: none;
  color: inherit;
}

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 20px;
}

/* Header */
header {
  background: #ffffff;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
  position: sticky;
  top: 0;
  z-index: 999;
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.logo {
  font-size: 1.6em;
  font-weight: bold;
  color: #003366;
}

.nav nav a {
  margin-left: 20px;
  font-weight: 500;
  color: #333;
}

.cta {
  background: #007aff;
  color: white;
  padding: 10px 20px;
  border-radius: 8px;
  font-weight: bold;
}

.hero-banner {
  background-image: url('фон.png');
  background-size: cover;
  background-position: center;
  height: 100vh;
  position: relative;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-banner .overlay {
  background: rgba(0, 0, 0, 0.4); /* тень сверху */
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-banner .content {
  text-align: center;
  max-width: 800px;
  padding: 20px;
}

.hero-banner h1 {
  font-size: 2.8rem;
  margin-bottom: 15px;
  font-weight: bold;
}

.hero-banner p {
  font-size: 1.2rem;
  margin-bottom: 25px;
}

.hero-banner .cta-button {
  background-color: #ffcd00;
  color: black;
  padding: 12px 24px;
  text-decoration: none;
  font-weight: 600;
  border-radius: 6px;
  transition: 0.3s;
}

.hero-banner .cta-button:hover {
  background-color: #f0b800;
}


.btn-primary {
  background: gold;
  color: #003366;
  padding: 12px 28px;
  border-radius: 10px;
  font-weight: bold;
}

/* Cards */
.cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
  margin-top: 30px;
}

.card {
  background: white;
  padding: 30px 20px;
  border-radius: 12px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.06);
  text-align: center;
  width: 280px;
  transition: transform 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
}

.card i {
  font-size: 2em;
  color: #007aff;
  margin-bottom: 10px;
}

.card h3 {
  margin: 10px 0;
  font-size: 1.1em;
}

/* Почему мы */
.why .card {
  font-weight: 600;
  font-size: 1em;
  background: #e6f0ff;
  border-left: 4px solid #007aff;
}

/* О компании */
.about p {
  max-width: 800px;
  margin: 0 auto;
  font-size: 1.1em;
}

/* Кейсы */
.cases {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
  margin-top: 30px;
}

.case {
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
  max-width: 300px;
  overflow: hidden;
}

.case img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.case h3 {
  margin: 15px;
  font-size: 1.2em;
}

.case p {
  margin: 0 15px 20px;
  color: #555;
}

/* Отзывы */
.review-slider {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  margin-top: 30px;
}

.review {
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  padding: 20px;
  max-width: 600px;
  text-align: center;
}

.review img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  margin-bottom: 10px;
}

/* Контакты */
.contact p {
  font-size: 1.1em;
}

.feedback-form {
  margin-top: 30px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  max-width: 500px;
  margin-inline: auto;
}

.feedback-form input,
.feedback-form textarea {
  padding: 12px;
  border-radius: 8px;
  border: 1px solid #ccc;
  font-size: 1em;
}

.feedback-form button {
  background: #007aff;
  color: white;
  padding: 12px;
  border: none;
  border-radius: 8px;
  font-size: 1em;
  font-weight: bold;
  cursor: pointer;
}

/* Footer */
footer {
  background: #003366;
  color: white;
  text-align: center;
  padding: 20px;
  margin-top: 60px;
}

/* FAQ */
.faq details {
  background: #fff;
  border-radius: 8px;
  margin: 10px 0;
  padding: 15px 20px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  cursor: pointer;
}

.faq summary {
  font-weight: bold;
  font-size: 1.05em;
  color: #003366;
}

.faq summary::marker {
  content: '➤ ';
  color: #007aff;
}

.faq details[open] summary {
  color: #007aff;
}

/* Статистика */
.stats {
  background: #ffffff;
  padding: 60px 20px;
  text-align: center;
}

.stats-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
}

.stat {
  flex: 1 1 200px;
  max-width: 220px;
}

.stat h3 {
  font-size: 2.5em;
  color: #007aff;
  margin: 0;
}

.stat p {
  font-size: 1em;
  color: #555;
  margin-top: 8px;
}

/* Как мы работаем */
.how-it-works {
  background: #f9fbfe;
  padding: 60px 20px;
  text-align: center;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.step-card {
  background: #ffffff;
  padding: 30px 20px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  transition: transform 0.3s;
}

.step-card:hover {
  transform: translateY(-5px);
}

.step-icon {
  font-size: 2em;
  color: #007aff;
  margin-bottom: 15px;
}

/* Галерея */
.gallery {
  padding: 60px 20px;
  background: #fff;
  text-align: center;
}

.gallery h2 {
  margin-bottom: 30px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}

.gallery-grid img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  transition: transform 0.3s ease;
}

.gallery-grid img:hover {
  transform: scale(1.05);
}

/* Гарантии */
.guarantees {
  background: #f5f8fc;
  padding: 60px 20px;
  text-align: center;
}

.guarantees h2 {
  margin-bottom: 30px;
}

.guarantees ul {
  list-style: none;
  padding: 0;
  max-width: 600px;
  margin: 0 auto;
}

.guarantees li {
  margin-bottom: 15px;
  font-size: 1.1em;
  color: #333;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.guarantees li i {
  color: #007aff;
  font-size: 1.2em;
}

/* Responsive */
@media (max-width: 768px) {
  .nav nav {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }

  .cards, .cases {
    flex-direction: column;
    align-items: center;
  }

  .review-slider {
    padding: 0 20px;
  }
}

.about-section {
  background: #f7faff;
  padding: 60px 20px;
  text-align: center;
}

.about-section h2 {
  margin-bottom: 40px;
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
  margin-bottom: 30px;
}

.about-item {
  background: #ffffff;
  border-radius: 12px;
  padding: 30px 20px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  transition: transform 0.3s;
}

.about-item:hover {
  transform: translateY(-5px);
}

.about-item i {
  font-size: 2em;
  color: #007aff;
  margin-bottom: 12px;
}

.about-item h3 {
  font-size: 1.2em;
  margin-bottom: 10px;
  color: #003366;
}

.about-item p {
  font-size: 1em;
  color: #444;
}

.about-text {
  font-size: 1.1em;
  max-width: 700px;
  margin: 0 auto;
  color: #333;
}
