@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: 'Inter', system-ui, sans-serif;
  line-height: 1.6;
  color: #1f2937;
  background: #f8fafc;
}

/* Навбар */
.navbar {
  background: white;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  position: sticky;
  top: 0;
  z-index: 100;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 29px;
  font-weight: 700;
  color: #0ea5e9;
}

.nav-links a {
  margin-left: 34px;
  text-decoration: none;
  color: #1f2937;
  font-weight: 600;
  font-size: 17px;
}

.nav-links a:hover { color: #0ea5e9; }

.btn-primary {
  background: #0ea5e9;
  color: white;
  padding: 14px 32px;
  border-radius: 9999px;
  font-weight: 600;
  text-decoration: none;
}

/* Hero */
.hero {
  background: linear-gradient(135deg, #f0f9ff, #e0f2fe);
  padding: 140px 0 100px;
}

.hero .grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.hero h1 {
  font-size: 54px;
  line-height: 1.1;
  font-weight: 700;
}

/* Общие секции */
.section { padding: 100px 0; }

h1 {
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 40px;
}

/* Карточки — ИСПРАВЛЕННЫЕ И КРАСИВЫЕ */
.card {
  background: white;
  border-radius: 24px;
  padding: 32px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  transition: all 0.3s;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

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

.service-card .price {
  font-size: 32px;
  font-weight: 700;
  color: #0ea5e9;
  margin: 12px 0 8px;
}

/* Врачи и отзывы */
.doctors-grid, .reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.doctor-photo-frame {
  width: 160px;
  height: 160px;
  background: #f1f5f9;
  border-radius: 50%;
  margin: 0 auto 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 70px;
  border: 8px solid #e0f2fe;
}
