/* Общие стили */
body {
  font-family: 'Open Sans', sans-serif;
  color: #000000;
  background: #FFFFFF;
  margin: 0;
  line-height: 1.5;
}

.main-section {
  padding: 60px 0;
  background: linear-gradient(180deg, #F5E6CA 0%, #FFFFFF 100%);
}

.container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 15px;
  box-sizing: border-box;
  text-align: center;
}

h1 {
  font-family: 'Montserrat', sans-serif !important;
  font-size: 36px !important;
  font-weight: 700 !important;
  margin: 20px 0 !important; /* Стандартный отступ для одной строки */
  line-height: 1.2 !important; /* Оптимизировано для одной строки */
}

.phone {
  font-size: 36px !important; /* Увеличен размер номера */
  font-weight: 600;
  margin-bottom: 20px;
  color: #000000;
  text-decoration: none;
}

.phone:hover {
  color: #4DB6AC;
  text-decoration: underline; /* Подчёркивание при наведении для наглядности */
}

/* Проверка кликабельности */
@media (max-width: 768px) {
  .phone {
    color: #000000;
    display: block; /* Убеждаемся, что ссылка активна */
  }
  .phone[href^="tel:"]:active {
    color: #4DB6AC; /* Изменение цвета при нажатии */
  }
}

.services-list {
  list-style: none;
  padding: 0;
  margin: 0 0 60px;
  font-size: 18px;
  text-align: center;
  display: block;
}

.services-list li {
  margin-bottom: 15px;
  position: relative;
  padding-left: 35px;
  display: block;
  text-align: left;
  vertical-align: middle;
  line-height: 1.4;
}

.services-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
  width: 15px;
  height: 15px;
  border-bottom: 3px solid #4DB6AC;
  border-right: 3px solid #4DB6AC;
  opacity: 0;
  animation: checkmark 0.5s ease forwards 0.2s;
  box-shadow: 1px 1px 3px rgba(26, 60, 90, 0.3);
}

.services-list li:nth-child(2)::before { animation-delay: 0.4s; }
.services-list li:nth-child(3)::before { animation-delay: 0.6s; }
.services-list li:nth-child(4)::before { animation-delay: 0.8s; }

@keyframes checkmark {
  0% { width: 0; height: 0; opacity: 0; }
  100% { width: 15px; height: 15px; opacity: 1; }
}

.services-blocks {
  display: flex;
  justify-content: center;
  gap: 50px;
  margin-top: 30px;
}

.service-block {
  background: linear-gradient(135deg, #F5E6CC, #A3D8D3);
  padding: 25px;
  width: 300px;
  border-radius: 15px;
  text-align: center;
  box-shadow: 0 8px 15px rgba(58, 138, 128, 0.3);
  border: 1px solid rgba(77, 182, 172, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-block:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 20px rgba(58, 138, 128, 0.4);
}

.service-block h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 20px;
  font-weight: 600;
  margin: 0 0 20px;
}

.btn-primary {
  background: #4DB6AC;
  color: #FFFFFF !important;
  padding: 12px 25px;
  border: none;
  border-radius: 25px;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  cursor: pointer;
  transition: background 0.3s ease;
}

.btn-primary:hover {
  background: #3A8A80;
}

/* Адаптивность для планшетов и мобильных */
@media (max-width: 768px) {
  h1 {
    font-size: 28px;
  }

  .phone {
    font-size: 28px;
  }

  .services-list {
    font-size: 16px;
  }

  .services-list li {
    margin-bottom: 10px;
    padding-left: 25px;
  }

  .services-list li::before {
    width: 12px;
    height: 12px;
  }

  .services-blocks {
    flex-direction: column;
    align-items: center;
    gap: 40px;
  }

  .service-block {
    width: 80%;
    margin-bottom: 15px;
  }

  .btn-primary {
    padding: 10px 20px;
  }
  .container { width: 100%; margin: 0; }
.cta-button { font-family: 'Open Sans', sans-serif; }
}
