.callback {
  position: relative;
  background: var(--color-blue);
  border-radius: 50px;
  overflow: hidden;
  margin-top: 20px;
}

.callback__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.callback__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  min-height: 424px;
}

.callback__content {
  padding: 60px 0 60px 0;
  position: relative;
  z-index: 2;
}

.callback__title {
  font-family: var(--font-main);
  font-weight: 700;
  font-size: 32px;
  line-height: 1.2;
  color: var(--color-white);
  text-transform: uppercase;
  margin-bottom: 8px;
}

.callback__subtitle {
  font-family: var(--font-main);
  font-weight: 400;
  font-size: 16px;
  color: var(--color-white);
  margin-bottom: 24px;
}

.callback__form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.callback__input-wrap {
  position: relative;
}

.callback__input {
  width: 100%;
  max-width: 420px;
  padding: 14px 20px;
  /*background: rgba(255,255,255,0.12);*/
  background: #ffffff;
  border: 1.5px solid rgba(255,255,255,0.4);
  border-radius: 50px;
  font-family: var(--font-main);
  font-size: 16px;
  /*color: var(--color-white);*/
  color: var(--color-black);
  outline: none;
  transition: border-color 0.2s;
}

.callback__input::placeholder {
  color: var(--color-black);
}

.callback__input:focus {
  border-color: var(--color-white);
}

.callback__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.callback__btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  border-radius: 50px;
  font-family: var(--font-main);
  font-weight: 700;
  font-size: 14px;
  line-height: 20px;
  text-transform: uppercase;
  transition: opacity 0.2s;
  white-space: nowrap;
}

.callback__btn:hover {
  opacity: 0.85;
}

.callback__btn--green {
  background: var(--color-green);
  color: var(--color-white);
}

.callback__btn--outline {
  background: transparent;
  border: 2px solid rgba(255,255,255,0.6);
  color: var(--color-white);
}

.callback__btn-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  transform: rotate(45deg);
}

.callback__legal {
  display: flex;
  align-items: center;
  gap: 10px;
}

.callback__checkbox {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  appearance: none;
  -webkit-appearance: none;
  border: 2px solid rgba(255,255,255,0.6);
  border-radius: 4px;
  background: rgba(255,255,255,0.12);
  cursor: pointer;
  margin-top: 2px;
  position: relative;
}

.callback__checkbox:checked {
  background: var(--color-white);
  border-color: var(--color-white);
}

.callback__checkbox:checked::after {
  content: '';
  position: absolute;
  left: 4px;
  top: 1px;
  width: 8px;
  height: 12px;
  border: 2px solid var(--color-blue);
  border-top: none;
  border-left: none;
  transform: rotate(45deg);
}

.callback__legal-text {
  font-family: var(--font-main);
  font-weight: 400;
  font-size: 12px;
  line-height: 1.4;
  color: rgba(255,255,255,0.7);
}

.callback__img {
  position: absolute;
  right: 0;
  bottom: 0;
  height: 100%;
  max-height: 485px;
  width: auto;
  object-fit: contain;
  object-position: right bottom;
}

/* --- Tablet --- */
@media (max-width: 1023px) {
  .callback__inner {
    grid-template-columns: 1fr;
  }

  .callback__img {
    display: none;
  }

  .callback__content {
    position: relative;
    z-index: 2;
    padding: 40px 0;
  }
}

/* --- Mobile --- */
@media (max-width: 699px) {
  .callback {
    border-radius: 24px;
  }

  .callback__title {
    font-size: 24px;
  }

  .callback__buttons {
    flex-direction: column;
    align-items: flex-start;
  }

  .callback__btn {
    width: 100%;
    justify-content: center;
  }

  .callback__input {
    max-width: 100%;
  }
}
