/* stylelint-disable no-empty-source */

.cpa-block {
  background: #f7f7f7;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 28px 32px;
  margin: 32px 0;
}
.cpa-block__inner {
  display: flex;
  gap: 40px;
  align-items: flex-start;
  flex-wrap: wrap;
}
.cpa-block__text {
  flex: 1 1 320px;
}
.cpa-block__title {
  font-size: 20px;
  font-weight: 700;
  color: #242321;
  margin: 0 0 14px;
}
.cpa-block__list {
  list-style: none !important;
  padding: 0 !important;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.cpa-block__list li {
  font-size: 14px;
  color: #333;
  line-height: 1.5;
  list-style: none !important;
}
.cpa-block__list li::before {
  content: none !important;
  display: none !important;
}

.cpa-block__list li::after {
  content: none !important;
  display: none !important;
}
.cpa-check {
  color: #e87722;
  font-weight: 700;
  margin-right: 6px;
}
.cpa-block__action {
  flex: 0 1 280px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.cpa-block__subtitle {
  font-size: 15px;
  font-weight: 600;
  color: #242321;
  margin: 0;
}
.cpa-block__desc {
  font-size: 13px;
  color: #555;
  line-height: 1.5;
  margin: 0;
}
.cpa-block__btn {
  display: block;
  text-align: center;
  padding: 12px 20px;
  border-radius: 15px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.18s;
}
.cpa-block__btn--primary {
  background: #242321;
  color: #ffffff !important;
}
.cpa-block__btn--primary:hover {
  background: #3a3936;
  color: #ffffff !important;
}
.cpa-block__btn--secondary {
  background: #fff;
  color: #242321;
  border: 2px solid #242321;
}
.cpa-block__btn--secondary:hover {
  background: #f0f0f0;
}
@media (max-width: 640px) {
  .cpa-block {
    padding: 20px 16px;
  }
  .cpa-block__inner {
    flex-direction: column;
    gap: 24px;
  }
  .cpa-block__action {
    flex: 1 1 100%;
  }
}
/* Модальная форма CPA */
#cpa-order-modal {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  display: none;
  z-index: 100000;
  overflow-y: auto;
}
#cpa-order-modal .form-bg {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.75);
}
#cpa-order-modal .form-block {
  position: relative;
  width: 500px;
  max-width: 95vw;
  margin: 80px auto 40px;
  background: #fff;
  padding: 30px;
  border-radius: 8px;
  z-index: 1;
}
.cpa-modal-close {
  position: absolute;
  top: -16px; right: -16px;
  width: 32px; height: 32px;
  background: #242321;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  cursor: pointer;
  line-height: 1;
  z-index: 2;
}
.cpa-modal-close:hover { background: #e87722; }
#cpa-order-modal .form-block h3 {
  font-size: 22px;
  font-weight: 700;
  color: #242321;
  margin: 0 0 20px;
  text-align: center;
}
#cpa-order-modal .form-block .input,
#cpa-order-modal .form-block textarea {
  display: block;
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: #cccccc solid 1px;
  box-sizing: border-box;
  font-size: 15px;
  color: #333;
  padding: 8px 0;
  margin-bottom: 16px;
  outline: none;
}
#cpa-order-modal .form-block textarea {
  height: 80px;
  resize: none;
}
#cpa-order-modal .form-block .cpa-feedback-btn {
  display: block;
  width: 100%;
  padding: 14px;
  background: linear-gradient(to left, #ed413b, #f3722a);
  color: #fff !important;
  border: none;
  border-radius: 15px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  margin-top: 16px;
  transition: opacity 0.18s;
}
#cpa-order-modal .form-block .cpa-feedback-btn:hover { opacity: 0.88; }
#cpa-order-modal .feedback-form-err {
  border-bottom-color: #ed413b !important;
  color: #ed413b !important;
}
.cpa-modal-success {
  text-align: center;
  padding: 30px 0;
  display: none;
}
.cpa-modal-success p {
  font-size: 18px;
  font-weight: 600;
  color: #242321;
  margin-top: 12px;
}
@media (max-width: 640px) {
  #cpa-order-modal .form-block {
    width: 95vw;
    padding: 20px 16px;
  }
}
/* Модалка обратного звонка */
#cpa-call-modal {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  display: none;
  z-index: 100000;
  overflow-y: auto;
}
#cpa-call-modal .form-bg {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.75);
}
#cpa-call-modal .form-block {
  position: relative;
  width: 420px;
  max-width: 95vw;
  margin: 120px auto 40px;
  background: #fff;
  padding: 30px;
  border-radius: 8px;
  z-index: 1;
}
#cpa-call-modal h3 {
  font-size: 22px;
  font-weight: 700;
  color: #242321;
  margin: 0 0 8px;
  text-align: center;
}
#cpa-call-modal .cpa-modal-sub {
  font-size: 13px;
  color: #777;
  text-align: center;
  margin: 0 0 20px;
}
#cpa-call-modal .input {
  display: block;
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: #cccccc solid 1px;
  box-sizing: border-box;
  font-size: 15px;
  color: #333;
  padding: 8px 0;
  margin-bottom: 16px;
  outline: none;
}
#cpa-call-modal .cpa-call-close {
  position: absolute;
  top: -16px; right: -16px;
  width: 32px; height: 32px;
  background: #242321;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  cursor: pointer;
  z-index: 2;
}
#cpa-call-modal .cpa-call-close:hover { background: #e87722; }
#cpa-call-modal .cpa-call-btn {
  display: block;
  width: 100%;
  padding: 14px;
  background: linear-gradient(to left, #ed413b, #f3722a);
  color: #fff !important;
  border: none;
  border-radius: 15px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  margin-top: 8px;
  transition: opacity 0.18s;
}
#cpa-call-modal .cpa-call-btn:hover { opacity: 0.88; }
#cpa-call-modal .feedback-form-err {
  border-bottom-color: #ed413b !important;
  color: #ed413b !important;
}
#cpa-call-modal .cpa-modal-success {
  text-align: center;
  padding: 30px 0;
  display: none;
}
#cpa-call-modal .cpa-modal-success p {
  font-size: 18px;
  font-weight: 600;
  color: #242321;
  margin-top: 12px;
}
@media (max-width: 640px) {
  #cpa-call-modal .form-block {
    width: 95vw;
    padding: 20px 16px;
  }
}