.guarantee {
  background: #fff;
  color: #fff;
  font-family: manrope;
  padding: 100px 50px 0;
}
@media (width < 768px) {
  .guarantee {
    padding: 32px 16px 0;
  }
}

.guarantee__miniblock {
  display: flex;
}
@media (width < 1100px) {
  .guarantee__miniblock {
    flex-direction: column;
  }
}

.guarantee__left {
  background: radial-gradient(65.49% 100% at 51.66% 0%, #ff8262 0%, #e84e26 52.4%, #e87726 100%);
  border-radius: 24px;
  padding: 32px;
  width: calc(547 / 1508 * 100%);
  display: flex;
  flex-direction: column;
}
@media (width < 1100px) {
  .guarantee__left {
    width: 100%;
  }
}
@media (width < 768px) {
  .guarantee__left {
    padding: 16px;
  }
}

.guarantee__title {
  font-size: 56px;
  font-family: oswald;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: -0.05em;
  margin-bottom: auto;

  &._form {
    color: #21201f;
    display: none;
  }
}
@media (width < 768px) {
  .guarantee__title {
    font-size: 30px;
  }
}

.guarantee__text {
  font-size: 24px;
  margin-top: 40px;
}
@media (width < 768px) {
  .guarantee__text {
    font-size: 18px;
    margin-top: 16px;
  }
}

.guarantee__right {
  padding: 56px;
  background: #efefef;
  border-radius: 24px;
  width: calc(961 / 1508 * 100%);
}
@media (width < 1100px) {
  .guarantee__right {
    width: 100%;
  }
}
@media (width < 768px) {
  .guarantee__right {
    padding: 24px 16px 16px;
  }
}

.guarantee__form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
@media (width < 768px) {
  .guarantee__form {
    gap: 16px;
  }
}
@media (width < 580px) {
  .guarantee__form {
    display: flex;
    flex-direction: column;
  }
}

.guarantee__field {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.guarantee__field-title {
  color: #21201f;
  font-size: 26px;
  margin-bottom: 16px;
  font-weight: 500;
}
@media (width < 768px) {
  .guarantee__field-title {
    font-size: 20px;
    margin-bottom: 0;
  }
}

.guarantee__input {
  background-color: #fff;
  border-radius: 16px;
  font-size: 24px;
  color: #21201f;
  padding: 12px 24px;
  cursor: pointer;

  &:first-of-type {
    margin-top: auto;
  }

  &._select {
    width: 100%;
    outline: none;
    appearance: none;
    border: none;
  }
}
@media (width < 768px) {
  .guarantee__input {
    font-size: 16px;
    border-radius: 8px;
  }
}

.guarantee__button {
  border-radius: 16px;
  font-size: 24px;
  padding: 16px 24px;
  text-align: center;
  grid-column: 1/3;

  background: radial-gradient(65.49% 100% at 51.66% 0%, #3e3d3d 0%, #21201f 52.4%, #4a4a4a 100%);

  transition: opacity 0.4s;
  &:hover {
    opacity: 0.6;
  }
}
@media (width < 768px) {
  .guarantee__button {
    font-size: 16px;
    padding: 16px;
  }
}

.guarantee__mikcheckbox {
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 20px 0 0;
  position: relative;
  grid-column: 1/3;
  color: #8e8e8e;

  /*  */
  --mikwidth: 26px;
}
@media (width < 768px) {
  .guarantee__mikcheckbox {
    margin: 0;
  }
}

.guarantee__mikcheckbox-input {
  opacity: 0;
  position: absolute;
  z-index: -1;
}

.guarantee__mikcheckbox-input:checked ~ .guarantee__mikcheckbox-indicator {
  opacity: 1;
}

.guarantee__mikcheckbox-input:checked ~ .guarantee__mikcheckbox-indicator::after {
  opacity: 1;
}

.guarantee__mikcheckbox-indicator {
  border: calc(var(--mikwidth) / 20 * 2) solid #000;
  box-sizing: border-box;
  display: inline-block;
  opacity: 0.6;
  position: relative;
  transition: all 0.3s;
  width: var(--mikwidth);
  height: var(--mikwidth);
  border-color: currentColor;
  flex-shrink: 0;
  border-radius: 8px;
}

.guarantee__mikcheckbox-indicator::after {
  border: solid #000;
  border-width: 0 calc(var(--mikwidth) / 20 * 2) calc(var(--mikwidth) / 20 * 2) 0;
  border-color: currentColor;
  content: "";
  opacity: 0;
  position: absolute;
  transition: all 0.3s;
  transform: rotate(45deg);
  left: calc(var(--mikwidth) / 20 * 6);
  top: calc(var(--mikwidth) / 20 * 2);
  height: calc(var(--mikwidth) / 20 * 8);
  width: calc(var(--mikwidth) / 20 * 3);
}

.guarantee__mikcheckbox-text {
  line-height: 1;
  font-size: 16px;
  color: inherit;
}
@media (width < 768px) {
  .guarantee__mikcheckbox-text {
    font-size: 12px;
  }
}
