/* ===========================
   Общие стили для сайта
   =========================== */

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

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #f8f9fa;
}

/* ===========================
   Логотип
   =========================== */

.logo-container {
  text-align: center;
  padding: 40px 20px;
  background-color: #fff;
  border-bottom: 1px solid #e0e0e0;
}

.logo-container img {
  max-width: 120px;
  height: auto;
  display: block;
  margin: 0 auto;
}

/* ===========================
   Основной контент
   =========================== */

.main-content {
  max-width: 900px;
  margin: 40px auto;
  padding: 0 20px;
}

/* ===========================
   Блок заголовка и текста
   =========================== */

.text-block {
  background-color: #fff;
  padding: 40px;
  border-radius: 8px;
  margin-bottom: 40px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.text-block h2 {
  font-size: 24px;
  margin-bottom: 20px;
  color: #222;
  font-weight: 600;
}

.text-block p {
  font-size: 16px;
  line-height: 1.8;
  color: #555;
  margin-bottom: 15px;
}

.text-block p:last-child {
  margin-bottom: 0;
}

/* ===========================
   Фотография
   =========================== */

.photo-block {
  text-align: center;
  margin-bottom: 40px;
}

.photo-block img {
  max-width: 100%;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
  display: block;
}

/* ===========================
   Блок кнопок
   =========================== */

.buttons-block {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-bottom: 40px;
}

.button-link {
  display: block;
  text-decoration: none;
  color: #fff;
  font-weight: 600;
  font-size: 18px;
  border-radius: 30px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 30px;
}

.button-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.button-link img {
  width: 100%;
  height: 100%;
  display: none;
  object-fit: cover;
}

.button-link:nth-child(1) {
  background-color: #74b223;
}

.button-link:nth-child(2) {
  background-color: #ff4433;
}

.button-link:nth-child(3) {
  background-color: #3981f1;
}

/* ===========================
   Блок адреса
   =========================== */

.address-block {
  background-color: #fff;
  padding: 30px 40px;
  border-radius: 8px;
  margin-bottom: 40px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.address-block h3 {
  font-size: 18px;
  margin-bottom: 15px;
  color: #222;
  font-weight: 600;
}

.address-block p {
  font-size: 16px;
  color: #555;
  line-height: 1.8;
}

/* ===========================
   Карта Яндекс
   =========================== */

.map-block {
  margin-bottom: 40px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.map-block iframe {
  width: 100%;
  height: 450px;
  border: none;
  border-radius: 8px;
}

/* ===========================
   Адаптивность
   =========================== */

@media (max-width: 768px) {
  .main-content {
    margin: 30px auto;
  }

  .text-block {
    padding: 30px 20px;
    margin-bottom: 30px;
  }

  .text-block h2 {
    font-size: 20px;
  }

  .text-block p {
    font-size: 15px;
  }

  .buttons-block {
    gap: 12px;
    margin-bottom: 30px;
  }

  .button-link {
    height: 75px;
  }

  .address-block {
    padding: 25px 20px;
    margin-bottom: 30px;
  }

  .address-block h3 {
    font-size: 16px;
  }

  .address-block p {
    font-size: 15px;
  }

  .map-block iframe {
    height: 350px;
  }

  .logo-container {
    padding: 30px 20px;
  }

  .logo-container img {
    max-width: 100px;
  }
}

@media (max-width: 480px) {
  .main-content {
    margin: 20px auto;
  }

  .text-block {
    padding: 20px 15px;
    margin-bottom: 20px;
  }

  .text-block h2 {
    font-size: 18px;
    margin-bottom: 15px;
  }

  .text-block p {
    font-size: 14px;
  }

  .buttons-block {
    gap: 10px;
    margin-bottom: 20px;
  }

  .button-link {
    height: 70px;
  }

  .address-block {
    padding: 20px 15px;
    margin-bottom: 20px;
  }

  .address-block p {
    font-size: 14px;
  }

  .map-block iframe {
    height: 280px;
  }

  .logo-container {
    padding: 20px 15px;
  }

  .logo-container img {
    max-width: 80px;
  }
}
