.free-consult2 {
  opacity: 1;
  background: radial-gradient(50% 50% at 50% 50%, rgb(21, 62, 118) 0%, rgb(17, 44, 87) 100%);
  border-radius: 0 60px;
  padding: 95px 0;
  position: relative;
}
@media screen and (max-width: 960px) {
  .free-consult2 {
    padding-bottom: 550px;
    padding-top: 60px;
  }
}
@media screen and (max-width: 780px) {
  .free-consult2 {
    border-radius: 0 40px;
    padding-top: 33px;
    padding-bottom: 480px;
  }
}
.free-consult2::before {
  content: "";
  display: block;
  position: absolute;
  width: 556px;
  height: 488px;
  background: url("../../img/free-consult2-bg.svg") no-repeat center/contain;
  top: 78px;
  right: 50px;
}
@media screen and (max-width: 1300px) {
  .free-consult2::before {
    width: 400px;
    height: 400px;
  }
}
@media screen and (max-width: 960px) {
  .free-consult2::before {
    left: 50%;
    transform: translateX(-50%);
    right: auto;
    bottom: 150px;
    top: auto;
  }
}
@media screen and (max-width: 780px) {
  .free-consult2::before {
    width: 300px;
    height: 300px;
    bottom: 120px;
  }
}
.free-consult2__row {
  display: flex;
  position: relative;
  z-index: 2;
}
@media screen and (max-width: 960px) {
  .free-consult2__row {
    flex-direction: column;
    position: static;
  }
}
.free-consult2__left {
  flex: 1 1 auto;
  padding-left: 120px;
  margin-right: 60px;
}
@media screen and (max-width: 1600px) {
  .free-consult2__left {
    padding-left: 0;
  }
}
@media screen and (max-width: 960px) {
  .free-consult2__left {
    flex: unset;
    margin-right: 0;
  }
}
.free-consult2__right {
  margin-bottom: -95px;
  flex: 0 0 580px;
  position: relative;
}
@media screen and (max-width: 1300px) {
  .free-consult2__right {
    flex-basis: 400px;
  }
}
@media screen and (max-width: 960px) {
  .free-consult2__right {
    margin-bottom: 0;
    position: static;
    flex-basis: 0;
  }
}
.free-consult2__person {
  position: absolute;
  bottom: 0;
  left: 0;
}
@media screen and (max-width: 960px) {
  .free-consult2__person {
    left: 50%;
    transform: translateX(-50%);
  }
}
.free-consult2__person-img {
  max-width: 100%;
  display: block;
}
@media screen and (max-width: 960px) {
  .free-consult2__person-img {
    max-width: 340px;
  }
}
@media screen and (max-width: 780px) {
  .free-consult2__person-img {
    max-width: 300px;
  }
}
.free-consult2__person-block {
  background: #fff;
  border-radius: 10px;
  padding: 33px 45px;
  width: auto;
  position: absolute;
  right: 50%;
  transform: translateX(50%);
  bottom: 31px;
  min-width: 440px;
}
@media screen and (max-width: 1300px) {
  .free-consult2__person-block {
    min-width: 340px;
  }
}
@media screen and (max-width: 960px) {
  .free-consult2__person-block {
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 360px;
    min-width: unset;
  }
}
@media screen and (max-width: 780px) {
  .free-consult2__person-block {
    padding: 18px;
    width: 100%;
    max-width: 270px;
  }
}
.free-consult2__person-name {
  margin: 0 0 8px;
  font-size: 20px;
  line-height: 130%;
  font-weight: 700;
  color: #303030;
}
@media screen and (max-width: 780px) {
  .free-consult2__person-name {
    font-size: 14px;
    margin-bottom: 10px;
  }
}
.free-consult2__person-pos {
  margin: 0;
  font-size: 18px;
  line-height: 130%;
}
@media screen and (max-width: 780px) {
  .free-consult2__person-pos {
    font-size: 14px;
  }
}
.free-consult2__title {
  margin-bottom: 51px;
}
@media screen and (max-width: 1600px) {
  .free-consult2__title {
    margin-bottom: 40px;
  }
}
@media screen and (max-width: 780px) {
  .free-consult2__title {
    margin-bottom: 30px;
  }
}
.free-consult2__title * {
  color: #ffffff;
  font-size: 54px;
  font-weight: 700;
}
@media screen and (max-width: 1600px) {
  .free-consult2__title * {
    font-size: 44px;
  }
}
@media screen and (max-width: 1200px) {
  .free-consult2__title * {
    font-size: 38px;
  }
}
@media screen and (max-width: 780px) {
  .free-consult2__title * {
    font-size: 30px;
  }
}
@media screen and (max-width: 560px) {
  .free-consult2__title * {
    font-size: 24px;
  }
}
.free-consult2__title * b, .free-consult2__title * strong {
  color: #9cc1ff;
}
.free-consult2__form-wrapper {
  max-width: 740px;
}
.free-consult2__form-wrapper .form__form-group-title {
  color: #ffffff;
}
.free-consult2__form-wrapper .wpcf7-list-item-label {
  color: #ffffff;
}
@media screen and (max-width: 1100px) {
  .free-consult2__form-wrapper .form__row {
    flex-direction: column;
    margin-left: 0;
    margin-right: 0;
  }
}
@media screen and (max-width: 1100px) {
  .free-consult2__form-wrapper .form__row .form__form-group, .free-consult2__form-wrapper .form__row .form__form-submit {
    margin-left: 0;
    margin-right: 0;
    width: 100%;
  }
}



.free-consult2__form-wrapper {
  background: linear-gradient(135deg, #0d1b3e 0%, #162d5a 100%);
  border-radius: 18px;
  max-width: 680px;
  width: 100%;
  padding: 44px 48px;
  text-align: center;
}

/* ——— Заголовок ——— */
.free-consult2__form-wrapper h2 {
  font-size: 28px;
  font-weight: 900;
  color: #fff;
  line-height: 1.3;
  margin-bottom: 10px;
}

.free-consult2__form-wrapper h2 .red {
  color: #ff4757;
}

.free-consult2__form-wrapper .sub {
  font-size: 16px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.55;
  margin-bottom: 32px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

/* ——— Кнопки ——— */
.free-consult2__form-wrapper .msg-row {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-bottom: 22px;
}

.free-consult2__form-wrapper .msg-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 36px;
  border-radius: 14px;
  text-decoration: none;
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  transition: transform 0.15s, box-shadow 0.15s;
}

.free-consult2__form-wrapper .msg-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.3);
}

.free-consult2__form-wrapper .msg-link--tg {
  background: linear-gradient(135deg, #2AABEE, #1E96D1);
}

.free-consult2__form-wrapper .msg-link--max {
  background: linear-gradient(135deg, #3B82F6, #2563EB);
}

/* ——— Подпись ——— */
.free-consult2__form-wrapper .note {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.35);
  line-height: 1.55;
}

@media (max-width: 520px) {
  .free-consult2__form-wrapper {
    padding: 32px 22px;
  }

  .free-consult2__form-wrapper h2 {
    font-size: 21px;
  }

  .free-consult2__form-wrapper .sub {
    font-size: 14px;
  }

  .free-consult2__form-wrapper .msg-row {
    flex-direction: column;
    gap: 10px;
  }

  .free-consult2__form-wrapper .msg-link {
    justify-content: center;
    padding: 15px 24px;
  }
}