.dcx-guarantee {
  --dcx-guarantee-accent: #d11236;
  --dcx-guarantee-accent-dark: #b10d28;
  position: relative;
  isolation: isolate;
  width: min(1200px, calc(100% - 32px));
  margin: 0 auto;
  padding: 0 56px;
  overflow: hidden;
  border: 1px solid #fecdd3;
  border-radius: 28px;
  background:
    radial-gradient(circle at 8% 12%, rgba(254, 226, 226, 0.72), transparent 30%),
    linear-gradient(135deg, #ffffff 0%, #ffffff 62%, #fff7f8 100%);
  box-shadow: 0 20px 56px rgba(15, 23, 43, 0.08);
  font-family: "Plus Jakarta Sans", sans-serif;
}

.dcx-guarantee,
.dcx-guarantee *,
.dcx-guarantee *::before,
.dcx-guarantee *::after {
  box-sizing: border-box;
}

.dcx-guarantee__row {
  position: relative;
  z-index: 1;
  width: 100%;
  min-height: 500px;
  display: grid;
  grid-template-columns: minmax(320px, 430px) minmax(0, 1fr);
  align-items: stretch;
  gap: clamp(40px, 6vw, 88px);
}

.dcx-guarantee__visual {
  position: relative;
  min-width: 0;
  min-height: 500px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.dcx-guarantee__person {
  display: block;
  width: min(100%, 430px);
  height: auto;
  max-height: 468px;
  object-fit: contain;
  object-position: center bottom;
}

.dcx-guarantee__content {
  min-width: 0;
  max-width: 590px;
  align-self: center;
  justify-self: start;
  padding: 56px 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  text-align: left;
}

.dcx-guarantee__title {
  max-width: 15ch;
  margin: 0;
  color: #0f172b;
  font-size: clamp(36px, 3.4vw, 50px);
  font-weight: 750;
  line-height: 1.14;
  letter-spacing: -0.035em;
  text-align: left;
  text-wrap: balance;
}

.dcx-guarantee__title-accent {
  color: var(--dcx-guarantee-accent);
}

.dcx-guarantee__benefits {
  width: 100%;
  max-width: 54ch;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
  list-style: none;
}

.dcx-guarantee__benefit {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  align-items: start;
  gap: 12px;
  color: #475569;
  font-size: 17px;
  font-weight: 500;
  line-height: 1.65;
}

.dcx-guarantee__benefit svg {
  width: 24px;
  height: 24px;
  margin-top: 2px;
  padding: 4px;
  border-radius: 50%;
  background: #ffe4e6;
  fill: none;
  stroke: var(--dcx-guarantee-accent-dark);
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.dcx-guarantee__cta {
  min-width: 190px;
  min-height: 54px;
  padding: 14px 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 2px solid transparent;
  border-radius: 999px;
  background: linear-gradient(100deg, var(--dcx-guarantee-accent-dark), var(--dcx-guarantee-accent));
  box-shadow: 0 12px 28px rgba(177, 13, 40, 0.2);
  color: #ffffff;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.dcx-guarantee__cta:hover {
  transform: translateY(-2px);
  background: linear-gradient(100deg, #950b22, #b10d28);
  box-shadow: 0 16px 34px rgba(177, 13, 40, 0.26);
}

.dcx-guarantee__cta:focus-visible {
  outline: 3px solid #0f172b;
  outline-offset: 4px;
}

.dcx-guarantee__cta-text {
  color: inherit;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.dcx-guarantee__cta-icon {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 180ms ease;
}

.dcx-guarantee__cta:hover .dcx-guarantee__cta-icon {
  transform: translateX(3px);
}

.dcx-guarantee--no-visual {
  padding-top: 56px;
  padding-bottom: 56px;
}

.dcx-guarantee--no-visual .dcx-guarantee__row {
  min-height: 0;
  grid-template-columns: minmax(0, 1fr);
}

.dcx-guarantee--no-visual .dcx-guarantee__visual {
  display: none;
}

.dcx-guarantee--no-visual .dcx-guarantee__content {
  max-width: 720px;
  padding: 0;
  justify-self: center;
  align-items: center;
  text-align: center;
}

.dcx-guarantee--no-visual .dcx-guarantee__title {
  text-align: center;
}

@media (max-width: 1100px) {
  .dcx-guarantee {
    padding: 0 36px;
  }

  .dcx-guarantee__row {
    min-height: 460px;
    grid-template-columns: minmax(280px, 360px) minmax(0, 1fr);
    gap: 34px;
  }

  .dcx-guarantee__visual {
    min-height: 460px;
  }

  .dcx-guarantee__person {
    max-height: 420px;
  }

  .dcx-guarantee__content {
    padding: 44px 0;
  }

  .dcx-guarantee__title {
    font-size: clamp(34px, 4vw, 42px);
  }
}

@media (max-width: 820px) {
  .dcx-guarantee {
    width: min(100%, calc(100% - 24px));
    padding: 34px 24px;
    border-radius: 24px;
  }

  .dcx-guarantee__row {
    min-height: 0;
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "content";
    gap: 0;
  }

  .dcx-guarantee__content {
    grid-area: content;
    width: 100%;
    max-width: 600px;
    padding: 0;
    justify-self: center;
  }

  .dcx-guarantee__visual {
    display: none;
  }

  .dcx-guarantee__title {
    max-width: 17ch;
    font-size: clamp(30px, 7vw, 38px);
  }

  .dcx-guarantee__benefit {
    font-size: 16px;
  }

}

@media (max-width: 480px) {
  .dcx-guarantee {
    width: min(100%, calc(100% - 20px));
    padding: 28px 20px;
    border-radius: 20px;
  }

  .dcx-guarantee__content {
    gap: 20px;
  }

  .dcx-guarantee__title {
    font-size: 28px;
    line-height: 1.18;
  }

  .dcx-guarantee__benefit {
    grid-template-columns: 22px minmax(0, 1fr);
    gap: 10px;
    font-size: 15px;
    line-height: 1.6;
  }

  .dcx-guarantee__benefit svg {
    width: 22px;
    height: 22px;
  }

  .dcx-guarantee__cta {
    width: 100%;
    min-height: 54px;
  }

}

@media (prefers-reduced-motion: reduce) {
  .dcx-guarantee__cta,
  .dcx-guarantee__cta-icon {
    transition: none;
  }
}
