.home-questions {
  display: grid;
  gap: 14px;
  margin-top: clamp(32px, 5vw, 72px);
  margin-bottom: clamp(34px, 6vw, 86px);
  color: #101820;
}

.home-questions__card,
.home-questions__socials-block {
  position: relative;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 22px 62px rgba(46, 33, 96, .14);
}

.home-questions__card {
  min-height: 370px;
  overflow: visible;
  padding: clamp(26px, 4vw, 58px) clamp(22px, 5vw, 70px);
}

.home-questions__socials-block {
  overflow: hidden;
}

.home-questions__content {
  position: relative;
  z-index: 2;
  max-width: min(760px, calc(100% - clamp(290px, 29vw, 420px)));
}

.home-questions__head {
  display: grid;
  gap: 8px;
  margin-bottom: 24px;
}

.home-questions__title {
  margin: 0;
  color: #101820;
  font-family: var(--font-ui, Arial, sans-serif);
  font-size: clamp(30px, 3vw, 44px);
  font-weight: 800;
  line-height: 1.1;
}

.home-questions__subtitle {
  margin: 0;
  max-width: 560px;
  color: rgba(16, 24, 32, .78);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.45;
}

.home-questions__form {
  display: grid;
  gap: 16px;
}

.home-questions__fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 16px;
}

.home-questions__field {
  display: grid;
  gap: 0;
  min-width: 0;
}

.home-questions__field span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.home-questions__field input,
.home-questions__field select {
  width: 100%;
  min-height: 54px;
  border: 1px solid rgba(46, 33, 96, .12);
  border-radius: 8px;
  outline: 0;
  background: #fff;
  color: #101820;
  font: inherit;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.2;
  transition: border-color .2s ease, box-shadow .2s ease;
}

.home-questions__field input {
  padding: 0 18px;
}

.home-questions__field select {
  padding: 0 46px 0 18px;
  appearance: none;
  background:
    linear-gradient(45deg, transparent 50%, var(--brand-purple, #2E2160) 50%) calc(100% - 22px) 50% / 7px 7px no-repeat,
    linear-gradient(135deg, var(--brand-purple, #2E2160) 50%, transparent 50%) calc(100% - 17px) 50% / 7px 7px no-repeat,
    #fff;
}

.home-questions__field input:focus,
.home-questions__field select:focus {
  border-color: rgba(46, 33, 96, .38);
  box-shadow: 0 0 0 4px rgba(46, 33, 96, .08);
}

.home-questions__submit {
  min-height: 54px;
  border: 0;
  border-radius: 8px;
  background: var(--brand-purple, #2E2160);
  color: #fff;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.2;
  cursor: pointer;
  transition: transform .2s ease, background-color .2s ease;
}

.home-questions__submit:hover {
  background: #3b2a77;
  transform: translateY(-1px);
}

.home-questions__submit:disabled {
  cursor: wait;
  opacity: .76;
}

.home-questions__consents {
  display: grid;
  max-width: 520px;
  gap: 10px;
  margin-left: calc(50% + 8px);
}

.home-questions__consent {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  margin: 0;
  color: rgba(16, 24, 32, .74);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.35;
}

.home-questions__consent input {
  width: 18px;
  height: 18px;
  margin: 1px 0 0;
  border: 1px solid rgba(46, 33, 96, .28);
  border-radius: 4px;
  appearance: none;
  background: #fff;
  cursor: pointer;
}

.home-questions__consent input:checked {
  border-color: var(--brand-purple, #2E2160);
  background:
    linear-gradient(135deg, transparent 0 38%, #fff 38% 48%, transparent 48%) 5px 8px / 8px 8px no-repeat,
    var(--brand-purple, #2E2160);
}

.home-questions__consent a {
  color: var(--brand-purple, #2E2160);
  font-weight: 800;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

.home-questions__status {
  min-height: 18px;
  margin: 0 0 0 calc(50% + 8px);
  color: var(--brand-purple, #2E2160);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.35;
}

.home-questions__form.is-error .home-questions__status {
  color: #8d1f1f;
}

.home-questions__visual {
  position: absolute;
  right: clamp(-180px, -8vw, -96px);
  bottom: 0;
  z-index: 1;
  display: flex;
  width: clamp(760px, 58vw, 1040px);
  max-width: none;
  height: calc(100% + 86px);
  align-items: flex-end;
  justify-content: center;
  pointer-events: none;
}

.home-questions__visual img {
  display: block;
  width: 100%;
  max-height: 108%;
  object-fit: contain;
  object-position: right bottom;
}

.home-questions__socials-block {
  display: grid;
  grid-template-columns: minmax(220px, .75fr) minmax(0, 1.25fr);
  gap: clamp(18px, 3vw, 44px);
  align-items: center;
  padding: clamp(24px, 3.6vw, 40px) clamp(22px, 5vw, 70px);
}

.home-questions__socials-block h3 {
  max-width: 360px;
  margin: 0;
  color: #101820;
  font-size: clamp(26px, 2.8vw, 40px);
  font-weight: 800;
  line-height: 1.12;
}

.home-questions__socials {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.home-questions__social {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: 8px;
  background: var(--brand-purple, #2E2160);
  color: #fff;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.2;
  text-decoration: none;
  transition: transform .2s ease, background-color .2s ease;
}

.home-questions__social:hover {
  background: #3b2a77;
  color: #fff;
  transform: translateY(-1px);
}

.home-questions__social-icon {
  display: inline-flex;
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
}

.home-questions__social-icon svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
}

.home-questions__social-icon .b-icon--max,
.home-questions__social-icon .b-icon--avito {
  display: inline-block;
  width: 24px;
  height: 24px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
}

.home-questions__social-icon .b-icon--max {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 720 720'%3E%3Cpath fill='white' d='M350.4,9.6C141.8,20.5,4.1,184.1,12.8,390.4c3.8,90.3,40.1,168,48.7,253.7c2.2,22.2-4.2,49.6,21.4,59.3c31.5,11.9,79.8-8.1,106.2-26.4c9-6.1,17.6-13.2,24.2-22c27.3,18.1,53.2,35.6,85.7,43.4c143.1,34.3,299.9-44.2,369.6-170.3C799.6,291.2,622.5-4.6,350.4,9.6h0ZM269.4,504c-11.3,8.8-22.2,20.8-34.7,27.7c-18.1,9.7-23.7-.4-30.5-16.4c-21.4-50.9-24-137.6-11.5-190.9c16.8-72.5,72.9-136.3,150-143.1c78-6.9,150.4,32.7,183.1,104.2c72.4,159.1-112.9,316.2-256.4,218.6h0Z'/%3E%3C/svg%3E");
}

.home-questions__social-icon .b-icon--avito {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M7.357 4.092a3.108 3.108 0 11-6.216 0 3.108 3.108 0 016.216 0zm4.001 2.435a2.434 2.434 0 100-4.869 2.434 2.434 0 000 4.869zm3.783 4.675a3.782 3.782 0 11-7.565 0 3.782 3.782 0 017.565 0zm-9.132 0a1.76 1.76 0 11-3.52 0 1.76 1.76 0 013.52 0z' fill='white'/%3E%3C/svg%3E");
}

@media (max-width: 1100px) {
  .home-questions__content {
    max-width: 100%;
    padding-right: 320px;
  }

  .home-questions__visual {
    right: -210px;
    bottom: 0;
    width: 760px;
    opacity: .95;
  }
}

@media (max-width: 820px) {
  .home-questions__fields,
  .home-questions__socials-block,
  .home-questions__socials {
    grid-template-columns: 1fr;
  }

  .home-questions__consents,
  .home-questions__status {
    margin-left: 0;
  }

  .home-questions__content {
    padding-right: 0;
  }

  .home-questions__visual {
    display: none;
  }
}

@media (max-width: 560px) {
  .home-questions {
    margin-top: 36px;
  }

  .home-questions__card,
  .home-questions__socials-block {
    border-radius: 8px;
  }

  .home-questions__card {
    min-height: 0;
  }
}
