.page-header {
  background: linear-gradient(135deg, #8B7355 0%, #d4b483 100%);
  padding: 60px 20px;
  text-align: center;
  border-radius: 20px;
  margin: 20px 15px 40px 15px;
}

.page-header h1 {
  color: white;
  font-size: 32px;
  margin-bottom: 15px;
  font-family: 'Segoe UI', 'Comfortaa', sans-serif;
}

.page-header p {
  color: rgba(255,255,255,0.9);
  font-size: 16px;
  font-family: 'Segoe UI', 'Comfortaa', sans-serif;
}

.contacts-info {
  margin-bottom: 60px;
  padding: 0 15px;
}

.contacts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.contact-card {
  background: white;
  padding: 35px 25px;
  text-align: center;
  border-radius: 20px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.05);
  transition: all 0.3s ease;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.contact-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(139,115,85,0.15);
}

.contact-icon {
  font-size: 48px;
  margin-bottom: 15px;
}

.contact-card h3 {
  color: #2C2C2C;
  margin-bottom: 12px;
  font-size: 22px;
  font-family: 'Segoe UI', 'Comfortaa', sans-serif;
}

.contact-phone, .contact-email, .contact-schedule {
  font-size: 18px;
  font-weight: 600;
  color: #8B7355;
  margin-bottom: 8px;
  word-break: break-word;
  font-family: 'Segoe UI', 'Comfortaa', sans-serif;
}

.contact-schedule-bold {
  font-size: 22px;
  font-weight: 700;
  color: #2C2C2C;
  margin: 8px 0;
  font-family: 'Segoe UI', 'Comfortaa', sans-serif;
}

.contact-note {
  color: #999;
  font-size: 13px;
  margin-top: 8px;
  font-family: 'Segoe UI', 'Comfortaa', sans-serif;
}

.social-contacts {
  margin-bottom: 60px;
  padding: 0 15px;
}

.section-header {
  text-align: center;
  margin-bottom: 40px;
}

.section-header h2 {
  font-size: 32px;
  color: #2C2C2C;
  margin-bottom: 10px;
  font-family: 'Segoe UI', 'Comfortaa', sans-serif;
}

.section-subtitle {
  font-size: 16px;
  color: #8B7355;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-family: 'Segoe UI', 'Comfortaa', sans-serif;
}

.social-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 25px;
  max-width: 600px;
  margin: 0 auto;
}

.social-card {
  background: white;
  padding: 35px 25px;
  text-align: center;
  text-decoration: none;
  border-radius: 20px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.05);
  transition: all 0.3s ease;
  border: 2px solid #f0f0f0;
}

.social-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(139,115,85,0.2);
  border-color: #8B7355;
}

.social-icon-img {
  width: 55px;
  height: 55px;
  margin-bottom: 15px;
}

.social-card h3 {
  color: #2C2C2C;
  margin-bottom: 8px;
  font-size: 18px;
  font-family: 'Segoe UI', 'Comfortaa', sans-serif;
}

.social-card p {
  color: #666;
  font-size: 13px;
  font-family: 'Segoe UI', 'Comfortaa', sans-serif;
}

/* Планшеты */
@media (max-width: 768px) {
  .contacts-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  
  .page-header {
    padding: 50px 20px;
    margin: 15px 12px 35px 12px;
  }
  
  .page-header h1 {
    font-size: 28px;
  }
  
  .section-header h2 {
    font-size: 28px;
  }
}

/* Телефоны */
@media (max-width: 600px) {
  .contacts-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  
  .social-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  
  .page-header {
    padding: 40px 15px;
    margin: 10px 12px 30px 12px;
    border-radius: 16px;
  }
  
  .page-header h1 {
    font-size: 26px;
  }
  
  .page-header p {
    font-size: 14px;
  }
  
  .contact-card {
    padding: 28px 20px;
  }
  
  .contact-card h3 {
    font-size: 20px;
  }
  
  .contact-phone, .contact-email, .contact-schedule {
    font-size: 16px;
  }
  
  .contact-schedule-bold {
    font-size: 20px;
  }
  
  .contact-icon {
    font-size: 40px;
  }
  
  .section-header h2 {
    font-size: 24px;
  }
  
  .section-subtitle {
    font-size: 14px;
  }
  
  .social-card {
    padding: 28px 20px;
  }
  
  .social-icon-img {
    width: 48px;
    height: 48px;
  }
  
  .social-card h3 {
    font-size: 16px;
  }
  
  .contacts-info, .social-contacts {
    padding: 0 12px;
  }
}