.hs24-test-offer {
  --hs24-green: #00a86b;
  --hs24-green-dark: #087f57;
  --hs24-ink: #24323d;
  --hs24-muted: #5f6d78;
  --hs24-line: #dbe7e2;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(270px, 0.65fr);
  gap: 24px;
  margin: 18px 0 28px;
  padding: 24px;
  border: 1px solid var(--hs24-line);
  border-left: 5px solid var(--hs24-green);
  border-radius: 12px;
  background: linear-gradient(135deg, #f4fbf8 0%, #ffffff 62%);
  box-shadow: 0 8px 26px rgba(29, 74, 58, 0.09);
  color: var(--hs24-ink);
}

.hs24-test-offer.hs24-test-offer--ab {
  display: none;
}

html.hs24-test-offer-variant-b .hs24-test-offer.hs24-test-offer--ab {
  display: grid;
}

.hs24-test-offer__context {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0 0 11px;
}

.hs24-test-offer__tag {
  display: inline-flex;
  align-items: center;
  min-height: 25px;
  padding: 4px 9px;
  border: 1px solid #cfe8dd;
  border-radius: 999px;
  background: #ffffff;
  color: #376452;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
}

.hs24-test-offer__title {
  margin: 0 0 10px !important;
  font-size: clamp(22px, 2.1vw, 30px) !important;
  line-height: 1.2 !important;
  text-transform: none !important;
  letter-spacing: normal !important;
  color: var(--hs24-ink) !important;
}

.hs24-test-offer__text,
.hs24-test-offer__text p {
  margin: 0 0 10px;
  font-size: 16px;
  line-height: 1.52;
  color: var(--hs24-ink);
}

.hs24-test-offer__benefits {
  display: grid;
  gap: 7px;
  margin: 14px 0 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

.hs24-test-offer__benefits li {
  position: relative;
  margin: 0 !important;
  padding: 0 0 0 25px;
  line-height: 1.4;
}

.hs24-test-offer__benefits li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--hs24-green-dark);
  font-weight: 800;
}

.hs24-test-offer__reviews-link {
  color: var(--hs24-green-dark) !important;
  font-weight: 700;
  text-decoration: underline !important;
  text-decoration-thickness: 1px !important;
  text-underline-offset: 3px;
}

.hs24-test-offer__reviews-link:hover,
.hs24-test-offer__reviews-link:focus-visible {
  color: var(--hs24-green) !important;
}

.hs24-test-offer__action {
  align-self: center;
  padding: 17px;
  border-radius: 10px;
  background: #ffffff;
  box-shadow: inset 0 0 0 1px rgba(0, 168, 107, 0.16);
}

.hs24-test-offer__instruction {
  margin: 0 0 13px !important;
  font-size: 14px;
  line-height: 1.45;
  color: var(--hs24-muted);
}

.hs24-test-offer__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.hs24-test-offer__button {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  padding: 10px 15px;
  border: 1px solid var(--hs24-green);
  border-radius: 7px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none !important;
  transition: transform 0.15s ease, background-color 0.15s ease, color 0.15s ease;
}

.hs24-test-offer__button:hover,
.hs24-test-offer__button:focus-visible {
  transform: translateY(-1px);
}

.hs24-test-offer__button--primary {
  flex: 1 0 100%;
  background: var(--hs24-green);
  color: #ffffff !important;
}

.hs24-test-offer__button--primary:hover,
.hs24-test-offer__button--primary:focus-visible {
  background: var(--hs24-green-dark);
}

.hs24-test-offer__button--secondary {
  flex: 1 1 calc(50% - 8px);
  background: #ffffff;
  color: var(--hs24-green-dark) !important;
}

.hs24-test-offer__button--secondary:hover,
.hs24-test-offer__button--secondary:focus-visible {
  background: #eef9f4;
}

.hs24-test-offer__answers-link {
  display: block;
  margin-top: 13px;
  font-size: 13px;
  line-height: 1.35;
  text-align: center;
  color: #4d6572 !important;
  text-decoration: underline !important;
  text-underline-offset: 3px;
}

.hs24-test-offer__anchor-target {
  display: block;
  position: relative;
  top: -105px;
  visibility: hidden;
}

@media (max-width: 767px) {
  .hs24-test-offer {
    grid-template-columns: 1fr;
    gap: 15px;
    margin: 14px 0 22px;
    padding: 18px 16px;
    border-left-width: 4px;
  }

  .hs24-test-offer__title {
    font-size: 22px !important;
  }

  .hs24-test-offer__text,
  .hs24-test-offer__text p {
    font-size: 15px;
  }

  .hs24-test-offer__benefits {
    gap: 5px;
    font-size: 14px;
  }

  .hs24-test-offer__action {
    padding: 14px;
  }

  .hs24-test-offer__button {
    min-height: 44px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hs24-test-offer__button {
    transition: none;
  }
}
