.attestat {
  position: relative;
  overflow: hidden;
  min-height: 25.43cqw;
  --owl-v: 130px;
  display: flex;
  flex-direction: column;
  padding: clamp(16px, 1.01cqw, 19px) clamp(16px, 1.596cqw, 30px) clamp(16px, 1.277cqw, 24px);
}

.attestat__content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  flex: 1;
}

.attestat__title {
  color: var(--color-black);
  font-family: var(--font-heading);
  font-size: var(--fs-h3);
  font-weight: 700;
  line-height: 1.25;
}

.attestat__title-accent { color: var(--color-blue-accent); }

.attestat__facts {
  align-self: stretch;
  display: flex;
  flex-direction: column;
  gap: clamp(6px, 0.352cqw, 6.62px);
  margin: clamp(14px, 2.287cqw, 43px) 0 calc(clamp(24px, 1.7cqw, 32px) + var(--owl-v) - 90px);
}

.attestat__fact {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--color-black);
  font-size: var(--fs-text);
  line-height: 1.39;
}

.attestat__fact-text {
  flex: 1;
  display: flex;
  align-items: flex-start;
  min-height: 44px;
  padding: max(9px, calc((44px - 1.39em) / 2)) 12px;
  border-radius: 20px;
}

.attestat__fact--blue .attestat__fact-text { background: var(--tint-sky); }
.attestat__fact--pink .attestat__fact-text { background: var(--tint-peach); }

.attestat__check {
  flex: none;
  box-sizing: content-box;
  padding: 5px;
  border-radius: 12px;
  margin-top: 10px;
  color: var(--color-white);
}

.attestat__content .btn {
  margin-top: auto;
  box-sizing: border-box;
  width: 284px;
  min-height: 76px;
  padding: 22px 0;
  justify-content: center;
  gap: 12px;
  font-size: 20px;
  line-height: 28px;
}

.attestat__fact--blue .attestat__check { background: var(--color-blue-accent); }
.attestat__fact--pink .attestat__check { background: var(--color-pink); }

.attestat__owl {
  position: absolute;
  left: 63.5%;
  top: calc(100% - var(--owl-v));
  width: 44.08%;
  height: auto;
  z-index: 2;
  pointer-events: none;
}

@media (min-width: 768px) and (max-width: 1024px) {
  .attestat__owl,
  .landing--1-4 .attestat__owl,
  .landing--5-9 .attestat__owl,
  .landing--10-11 .attestat__owl {
    left: auto;
    right: 3%;
    top: auto;
    bottom: -28px;
    width: 26%;
    aspect-ratio: auto;
  }
}

@media (max-width: 767px) {
  .attestat { padding: 20px; }
  .attestat__title { font-size: var(--fs-h3); }
  .attestat__facts { margin-bottom: 24px; }
  .attestat__owl { position: relative; left: auto; top: auto; width: 200px; margin: 8px -20px -20px auto; display: block; }
  .attestat__content .btn { align-self: stretch; width: auto; }
}
