/* Мобильная кнопка МАКС — скрыта по умолчанию */
.mobile-maks-btn {
  display: none;
}

/* Показываем только на мобильных */
@media (max-width: 768px) {
  .mobile-maks-btn {
    display: block;
    margin: 20px auto;
    text-align: center;
  }

  .mobile-maks-btn a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    background: linear-gradient(135deg, #4cf 0%, #53e 66.2%, #93d 100%);
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(83, 62, 238, 0.3);
    transition: all 0.3s ease;
  }

  .mobile-maks-btn a:active {
    transform: scale(0.96);
    box-shadow: 0 2px 8px rgba(83, 62, 238, 0.2);
  }

  .mobile-maks-btn svg {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
    /* Анимация переворота */
    animation: maksFlip 5s ease-in-out infinite;
    transform-style: preserve-3d;
  }

  /* Ключевые кадры: ждём → переворот → ждём */
	@keyframes maksFlip {
	  0%, 70% { transform: rotate3d(1, 1, 0, 0deg); }
	  85% { transform: rotate3d(1, 1, 0, 180deg); }
	  100% { transform: rotate3d(1, 1, 0, 360deg); }
	}
}

/* УТП в теле сайта */

.th-offer-section {
  width: 100%;
  padding: 36px 16px;
  box-sizing: border-box;
}

.th-offer-card {
  max-width: 1180px;
  margin: 70px auto;
  display: grid;
  grid-template-columns: 1.45fr 0.75fr;
  gap: 28px;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 38px;
  background:
    radial-gradient(circle at top left, rgba(108, 190, 3, 0.20), transparent 36%),
    linear-gradient(135deg, #ffffff 0%, #f6fbf2 100%);
  border: 1px solid rgba(108, 190, 3, 0.22);
  box-shadow: 0 22px 60px rgba(18, 31, 10, 0.12);
}

.th-offer-card::after {
  content: "";
  position: absolute;
  right: -80px;
  top: -80px;
  width: 230px;
  height: 230px;
  border-radius: 50%;
  background: rgba(108, 190, 3, 0.12);
  pointer-events: none;
}

.th-offer-content,
.th-offer-actions {
  position: relative;
  z-index: 1;
}

.th-offer-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  padding: 8px 15px;
  border-radius: 999px;
  background: rgba(108, 190, 3, 0.12);
  color: #4f9100;
  border: 1px solid rgba(108, 190, 3, 0.28);
  font-size: 14px;
  font-weight: 800;
  line-height: 1;
}

.th-offer-title {
  margin: 0 0 14px;
  max-width: 760px;
  color: #17210f;
  font-size: clamp(28px, 4vw, 46px);
  line-height: 1.08;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.th-offer-text {
  margin: 0;
  max-width: 700px;
  color: #4d5748;
  font-size: 18px;
  line-height: 1.55;
}

.th-offer-text strong {
  color: #5cad00;
  font-weight: 900;
  white-space: nowrap;
}

.th-offer-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.th-offer-point {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 13px;
  border-radius: 999px;
  background: #ffffff;
  border: 1px solid rgba(108, 190, 3, 0.16);
  color: #39502d;
  font-size: 14px;
  font-weight: 700;
  box-shadow: 0 8px 20px rgba(18, 31, 10, 0.05);
}

.th-offer-point span {
  color: #6cbe03;
  font-weight: 900;
}

.th-offer-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.th-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 14px 22px;
  border-radius: 14px;
  text-decoration: none;
  font-size: 16px;
  font-weight: 800;
  line-height: 1;
  box-sizing: border-box;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.th-btn:hover {
  transform: translateY(-2px);
}

.th-btn-max {
  color: #ffffff;
  background: radial-gradient(136.12% 140.74% at 99.77% 99.04%, rgb(141, 40, 200) 0%, rgb(124, 66, 250) 20%, rgb(0, 122, 255) 80%, rgb(96, 156, 235) 100%);
  box-shadow: 0 12px 28px rgba(0, 122, 255, 0.28);
}

.th-btn-phone {
  color: #ffffff;
  background: linear-gradient(135deg, #6cbe03 0%, #4f9100 100%);
  box-shadow: 0 12px 28px rgba(108, 190, 3, 0.24);
}

.th-btn-email {
  color: #39502d;
  background: #ffffff;
  border: 1px solid rgba(108, 190, 3, 0.24);
  box-shadow: 0 10px 24px rgba(18, 31, 10, 0.06);
}

.th-btn-email:hover {
  background: #eef6e8;
}

@media (max-width: 860px) {
  .th-offer-card {
    grid-template-columns: 1fr;
    padding: 30px 22px;
    border-radius: 22px;
  }

  .th-offer-text {
    font-size: 16px;
  }
}

@media (max-width: 480px) {
  .th-offer-section {
    padding: 24px 12px;
  }

  .th-offer-card {
    padding: 26px 18px;
  }

  .th-offer-title {
    font-size: 27px;
  }

  .th-offer-points {
    flex-direction: column;
  }

  .th-offer-point {
    width: 100%;
    box-sizing: border-box;
  }
}

/* Плитка */

    .paving-wrapper {
        position: relative;
        width: 100%;
        height: 130px;
        background: #ffffff;
        overflow: hidden;
    }

    .paving-svg {
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: 2;
    }