.home-hero-request {
  width: min(430px, 100%);
  flex: 0 0 430px;
  margin-left: 48px;
  color: #17212b;
  text-align: left;
}

.home-hero-request__inner {
  padding: 28px;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(15, 41, 66, .12);
}

.home-hero-request h2 {
  margin: 0;
  color: #17212b;
  font-size: 29px;
  font-weight: 700;
  line-height: 1.16;
}

.home-hero-request__inner > p {
  margin: 15px 0 20px;
  color: #748291;
  font-size: 16px;
  line-height: 1.48;
}

.home-hero-request__form {
  display: grid;
  gap: 12px;
}

.home-hero-request__field {
  width: 100%;
  min-height: 54px;
  padding: 14px 16px;
  border: 1px solid #c8d6e2;
  border-radius: 9px;
  color: #17212b;
  background: #fff;
  box-shadow: none;
  font: inherit;
  font-size: 16px;
  line-height: 1.35;
  transition: border-color .18s ease, box-shadow .18s ease;
}

textarea.home-hero-request__field {
  min-height: 92px;
  resize: vertical;
}

.home-hero-request__field:focus {
  border-color: #0065b1;
  box-shadow: 0 0 0 3px rgba(0, 101, 177, .12);
  outline: 0;
}

.home-hero-request__submit {
  min-height: 54px;
  padding: 13px 20px;
  border: 0;
  border-radius: 9px;
  color: #fff;
  background: #f0566c;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.2;
  cursor: pointer;
  transition: background-color .18s ease, transform .18s ease;
}

.home-hero-request__submit:hover,
.home-hero-request__submit:focus {
  background: #e8445c;
  outline: 0;
}

.home-hero-request__submit:active {
  transform: translateY(1px);
}

.home-hero-request__agree {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 2px 4px 0;
  color: #748291;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.35;
}

.home-hero-request__agree input {
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  margin: 1px 0 0;
  accent-color: #0065b1;
}

.home-hero-request__agree a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.home-hero-request .alert {
  font-size: 13px;
}

.home-hero-lawyers {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid #d8e1e9;
}

.home-hero-lawyers__photos {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  padding-left: 10px;
}

.home-hero-lawyer-photo {
  position: relative;
  display: inline-flex;
  width: 56px;
  height: 56px;
  margin-left: -10px;
  flex: 0 0 56px;
}

.home-hero-lawyer-photo img {
  width: 56px;
  height: 56px;
  border: 2px solid #fff;
  border-radius: 50%;
  object-fit: cover;
  object-position: top center;
  background: #eef6fb;
  box-shadow: 0 5px 12px rgba(15, 41, 66, .13);
}

.home-hero-lawyer-photo__status {
  position: absolute;
  top: 4px;
  right: 3px;
  width: 8px;
  height: 8px;
  border: 2px solid #fff;
  border-radius: 50%;
  background: #aeb8c2;
  box-shadow: 0 2px 5px rgba(15, 41, 66, .12);
}

.home-hero-lawyer-photo__status--online {
  background: #22c55e;
}

.home-hero-lawyers__text {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.home-hero-lawyers__text strong {
  color: #17212b;
  font-size: 17px;
  line-height: 1.2;
}

.home-hero-lawyers__text span {
  color: #657585;
  font-size: 14px;
  line-height: 1.35;
}

@media (max-width: 1199px) {
  .home-hero-request {
    flex-basis: 390px;
    width: 390px;
    margin-left: 24px;
  }

  .home-hero-request__inner {
    padding: 24px;
  }

  .home-hero-request h2 {
    font-size: 26px;
  }
}

@media (max-width: 991px) {
  .home_block .slider_home .item_block {
    padding-bottom: 40px;
  }

  .home-hero-request {
    width: min(520px, 100%);
    margin: 30px auto 0;
  }

  .home-hero-lawyers {
    max-width: 620px;
  }
}

@media (max-width: 575px) {
  .home-hero-request__inner {
    padding: 22px 18px;
    border-radius: 12px;
  }

  .home-hero-request h2 {
    font-size: 25px;
  }

  .home-hero-request__inner > p {
    font-size: 15px;
  }

  .home-hero-lawyers {
    display: grid;
    gap: 13px;
    margin: 22px 16px 0;
    padding-top: 17px;
  }

  .home-hero-lawyer-photo {
    width: 52px;
    height: 52px;
    flex-basis: 52px;
  }

  .home-hero-lawyer-photo img {
    width: 52px;
    height: 52px;
  }

  .home-hero-lawyers__text strong {
    font-size: 16px;
  }
}

@media (min-width: 1200px) {
  .home_block .slider_home .item_block {
    padding-top: 42px !important;
    padding-bottom: 38px !important;
  }

  .home_block .slider_home .item_block .item_block_r {
    align-items: center !important;
  }

  .home_block .slider_home .item_block .item_left {
    width: 620px;
    max-width: 620px;
    flex: 0 1 620px;
  }

  .home_block .slider_home .item_block .item_left .title_home {
    margin-bottom: 30px !important;
  }

  .home_block .slider_home .item_block .item_block_r .item_left .title_home h1 {
    max-width: 610px;
    margin: 0;
    color: #17212b;
    font-size: 48px !important;
    font-weight: 700;
    line-height: 1.08 !important;
    letter-spacing: -.025em;
  }

  .home_block .slider_home .item_block .item_left .title_home h1 span {
    display: inline-block;
    margin-top: 5px;
  }

  .home_block .slider_home .item_block .item_left .done_gr {
    margin-bottom: 0;
  }

  .home_block .slider_home .item_block .item_left .done_gr > .d-flex {
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 22px !important;
  }

  .home_block .slider_home .item_block .item_left .done_gr > .d-flex:last-child {
    margin-bottom: 0 !important;
  }

  .home_block .slider_home .item_block .item_left .done_gr > .d-flex > .ms-4 {
    margin-left: 0 !important;
  }

  .home_block .slider_home .item_block .item_left .done_gr p {
    max-width: 455px;
    line-height: 1.48;
  }

  .home_block .slider_home .item_block .item_left .done_gr .mb-3 {
    margin-bottom: 5px !important;
    color: #17212b;
    font-size: 19px !important;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: -.01em;
  }

  .home_block .slider_home .item_block .item_left .done_gr .mb-3 + p {
    color: #43505d;
    font-size: 16px;
    line-height: 1.5;
  }

  .home-hero-request h2 {
    font-size: 28px;
    line-height: 1.18;
    letter-spacing: -.015em;
  }

  .home-hero-request__inner > p {
    max-width: 355px;
    color: #657585;
    line-height: 1.52;
  }
}
