/* === Сброс и базовые стили === */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: 'Segoe UI', Roboto, 'Open Sans', sans-serif;
  line-height: 1.6;
  color: #333;
  background: #fafafa;
}
a {
  text-decoration: none;
  color: inherit;
}
img {
  max-width: 100%;
  height: auto;
}
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}
.btn {
  margin-bottom: 10px;
  font: inherit;
  display: inline-block;
  background: #e63900;
  color: white;
  padding: 12px 24px;
  border-radius: 6px;
  font-weight: 600;
  transition: background 0.3s;
  border: none;
  cursor: pointer;
  text-align: center;
}
.btn:hover {
  background: #c43000;
}
.btn.whatsapp { background: #25D366; }
.btn.whatsapp:hover { background: #1faa52; }
.btn.telegram { background: #0088cc; }
.btn.telegram:hover { background: #006fa6; }
.btn--color { background-color: rgb(247, 222, 5); color:black; }
.btn--color:hover { background-color: rgb(179, 168, 15); }

/* === Hero === */
.hero {
  background: linear-gradient(rgba(0,0,0,0.85), rgba(0,0,0,0.6)), url('../images/evakuator.jpg') center/cover no-repeat;
  color: white;
  padding: 100px 0;
  text-align: center;
}
.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 16px;
}
.hero p {
  font-size: 1.25rem;
  margin-bottom: 24px;
}

/* === Секции === */
section {
  padding: 60px 0;
}
.section-title {
  text-align: center;
  margin-bottom: 40px;
  font-size: 2rem;
  color: #222;
}

.section-title--white { color: white;}
.features, .services, .pricing, .how-to, .gallery, .reviews {
  background: white;
}
.features-grid, .services-grid, .pricing-grid, .gallery-grid, .reviews-grid {
  display: grid;
  gap: 20px;
}
@media (min-width: 768px) {
  .features-grid, .services-grid, .pricing-grid, .gallery-grid, .reviews-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 992px) {
  .features-grid, .services-grid, .pricing-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .gallery-grid, .reviews-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
.card, .card--green {
  position: relative;
  background: #fff;
  padding: 20px;
  border-radius: 16px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}
.card--green {
  padding-left: 30px;
}
.card--pricing {
  padding-left: 50px;
}
.card--green::before {
  content: '✅';
  color: green;
  position: absolute;
  top: 20px;
  left: 5px;
}
.card--transport {
  width: 40px;
  height: 40px;
  content: '';
  position: absolute;
  top: 10px;
  left: 5px;
}
.card--auto {
  background: url('../images/transport.png') center/cover no-repeat;
}
.card--crossover {
  background: url('../images/jeep-cross.png') center/cover no-repeat;
}
.card--mini {
  background: url('../images/minivan.png') center/cover no-repeat;
}
.card--jeep {
  background: url('../images/jeep.png') center/cover no-repeat;
}
.card--byke {
  background: url('../images/bycicle.png') center/cover no-repeat;
}
.card--trac {
  background: url('../images/tractor.png') center/cover no-repeat;
}
.card-prem {
  background: url('../images/racing-car.png') center/cover no-repeat;
}
.card--man {
  background: url('../images/tow-truck.png') center/cover no-repeat;
}
.card__img {
  border-radius: 8px;
}

/* Отзывы */
.review {
  font-style: italic;
  position: relative;
  padding-left: 20px;
}
.review::before {
  content: "“";
  font-size: 2rem;
  position: absolute;
  left: 0;
  top: -10px;
  color: #e63900;
}
.review-author {
  display: block;
  font-style: normal;
  font-weight: 600;
  margin-top: 10px;
  color: #555;
}

/* Цены */
.pricing-note {
  font-weight: bold;
  text-align: center;
  margin-bottom: 30px;
  color: #242424;
}

/* Контакты */
.contacts {
  text-align: center;
  background: linear-gradient(rgba(0,0,0,0.85), rgba(0,0,0,0.6)), url('../images/evakuator.jpg') center/cover no-repeat;
}
.contacts__text {
  color: white;
}
.contact-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 20px;
}

/* Футер */
footer {
  background: #222;
  color: #ddd;
  text-align: center;
  padding: 20px 0;
  font-size: 0.9rem;
}

/* Модальное окно */
#callback-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.7);
  z-index: 1000;
  align-items: center;
  justify-content: center;
}
.modal-content {
  background: white;
  padding: 30px;
  border-radius: 10px;
  width: 90%;
  max-width: 400px;
  position: relative;
}
.close-modal {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 1.5rem;
  cursor: pointer;
  color: #999;
}
.form-group {
  margin-bottom: 16px;
}
.form-group label {
  display: block;
  margin-bottom: 6px;
  font-weight: 600;
}
.form-group input {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
}