 /* Подключаем шрифт Poppins */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;700&display=swap');

.custom-home-block {
  font-family: 'Poppins', sans-serif;
}

.custom-home-container,
.custom-home-row {
  max-width: 1140px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  padding: 0 7px;
  box-sizing: border-box;
}

.custom-home-info,
.custom-home-text {
  background-color: #f6f6f6;
  flex: 1 1 50%;
  padding: 30px;
  box-sizing: border-box;
}

.custom-home-calc {
  background-color: #ffffff;
  flex: 1 1 50%;
  padding: 30px;
  box-sizing: border-box;
}

.custom-home-image {
  background-color: #ffffff;
  flex: 1 1 50%;
  padding: 30px;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
}

.custom-home-title {
  display: flex;
  align-items: center;
  font-weight: 500;
  font-size: 16px;
  margin-bottom: 20px;
  color: #333;
}

.custom-home-title img {
  width: 48px;
  height: 48px;
  margin-right: 10px;
}

.custom-home-item {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.custom-home-icon {
  width: 48px;
  height: 48px;
  margin-right: 10px;
}

.custom-home-textblock {
  color: #333;
  font-size: 16px;
  font-weight: 500;
}

.custom-home-button-wrapper {
  display: flex;
  justify-content: center;
}

.custom-home-button-wrapper a {
  display: block;
  background-color: #99CC33;
  color: #fff;
  padding: 10px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 600;
  margin: 15px auto;
  width: fit-content;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.custom-home-button-wrapper > a:hover {
  background-color: #FD7400;
  color: #fff !important;
}

.custom-home-calc-title {
  color: #333;
  font-size: 28px;
  margin-bottom: 20px;
  font-weight: 700;
}

.custom-home-calc p,
.custom-home-text p {
  font-size: 16px;
  color: #333;
  font-weight: 400;
  line-height: 1.7;
  margin-bottom: 20px;
}

.custom-home-text h2 {
  font-size: 24px;
  font-weight: 700;
  color: #333;
  margin-bottom: 20px;
}

.custom-home-image img {
  max-width: 100%;
  height: auto;
  transform: scale(1.4);
}

.custom-home-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-evenly;
  align-items: center;
  gap: 0px;
  margin-top: 20px;
  padding: 10px 0;
}

.custom-home-logos img {
  height: 50px;
  max-width: 100px;
  flex: 0 1 80px;
  object-fit: contain;
  transition: transform 0.2s ease;
}

.custom-home-logos img:hover {
  transform: scale(1.1);
}

/* Мобильная адаптация */
@media (max-width: 768px) {
  .custom-home-logos {
    justify-content: center;
    gap: 0px;
  }

  .custom-home-logos img {
    flex: 0 1 60px;
    max-width: 70px;
  }
}

@media (max-width: 768px) {
  .custom-home-container,
  .custom-home-row {
    flex-direction: column;
    padding: 0 2px;
  }

  .custom-home-info,
  .custom-home-calc,
  .custom-home-text,
  .custom-home-image {
    flex: 1 1 100%;
    padding: 20px;
  }
}

@media (max-width: 480px) {
  .custom-home-container,
  .custom-home-row {
    padding: 0 2px;
  }
}