/* Общие стили */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #f9f9f9;
}

.container {
  max-width: 1000px;
  margin: auto;
  padding: 0 1rem;
}

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

/* Шапка */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  transition: all 0.3s ease;
}

.logo {
  font-size: 1.5rem;
  font-weight: bold;
  color: #2c3e50;
}

.navbar nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.navbar a {
  font-weight: 500;
  color: #333;
  transition: color 0.3s ease;
}

.navbar a:hover {
  color: #2980b9;
}

/* Герой */
.hero {
  background: linear-gradient(to right, #2c3e50, #3498db);
  color: white;
  padding: 6rem 1rem;
  text-align: center;
  margin-top: 80px; /* чтобы не было перекрыто меню */
}

.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.hero p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

.btn {
  display: inline-block;
  padding: 0.8rem 2rem;
  background-color: #fff;
  color: #2c3e50;
  border-radius: 5px;
  font-weight: bold;
  transition: all 0.3s ease;
}

.btn:hover {
  background-color: #e7e7e7;
}

/* Секции */
section {
  padding: 4rem 0;
  background-color: white;
  border-top: 1px solid #ddd;
}

section h2 {
  text-align: center;
  margin-bottom: 2rem;
  font-size: 2rem;
  color: #2c3e50;
}

.service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: space-between;
}

.service-item {
  flex: 1 1 30%;
  min-width: 250px;
  background: #ecf0f1;
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
  transition: transform 0.3s ease;
}

.service-item h3 {
  margin-bottom: 0.5rem;
  color: #2c3e50;
}

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

.price table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1rem;
}

.price th, .price td {
  padding: 1rem;
  border: 1px solid #ccc;
  text-align: left;
}

.price th {
  background-color: #f2f2f2;
}

.reviews .review {
  background: #f2f2f2;
  padding: 1.5rem;
  border-radius: 8px;
  margin-bottom: 1rem;
}

.reviews cite {
  display: block;
  margin-top: 0.5rem;
  font-style: italic;
  color: #666;
}

/* Контакты + форма */
.contact-section {
  background-color: #ecf0f1;
}

.contact-info {
  flex: 1;
}

.contact-form {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-form input,
.contact-form textarea {
  padding: 0.75rem;
  border: 1px solid #ccc;
  border-radius: 4px;
}

.contact-form button {
  padding: 0.75rem;
  background-color: #2c3e50;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

.contact-form button:hover {
  background-color: #2980b9;
}

/* Адаптивность */
@media (max-width: 768px) {
  .navbar nav {
    display: none;
  }

  .service-list {
    flex-direction: column;
  }

  .contact-section {
    flex-direction: column;
  }

  .contact-form, .contact-info {
    width: 100%;
  }
}

/* Подвал */
footer {
  background: #2c3e50;
  color: white;
  text-align: center;
  padding: 2rem 0;
}