@charset "UTF-8";
@import url("https://fonts.googleapis.com/css2?family=Roboto+Flex:opsz,wght,XOPQ,XTRA,YOPQ,YTDE,YTFI,YTLC,YTUC@8..144,100..1000,96,468,79,-203,738,514,712&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Roboto+Slab:wght@100..900&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400..900;1,400..900&display=swap");
:root {
  --fontFamily: Roboto, Helvetica, Arial, sans-serif;
  --fontSize: 16px;
  --lineHeight: 1.5;
  --letterSpacing: 0px;
  --textTransform: none;
  --fontStyle: normal;
  --fontWeight: 400;
}

.container {
  max-width: 1330px;
  width: 100%;
  padding: 0 15px;
  box-sizing: border-box;
  margin: 0 auto;
}

.header {
  padding-top: 35px;
}
.header__wrapper {
  position: relative;
  display: flex;
  justify-content: space-between;
}
.header__logo {
  display: flex;
  max-width: 180px;
  width: 100%;
  height: 36px;
}
.header__logo picture, .header__logo img {
  width: 100%;
  filter: invert(1);
}
.header__nav {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}
.header__contacts {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  gap: 2px;
}
.header__contact, .header__address {
  font-family: var(--fontFamily);
  font-size: var(--fontSize);
  font-weight: var(--fontWeight);
  line-height: var(--lineHeight);
  letter-spacing: var(--letterSpacing);
  font-style: var(--fontStyle);
  color: #fff;
  display: flex;
  align-items: center;
  gap: 8px;
}
.header__contact img, .header__address img {
  display: flex;
  flex-shrink: 0;
  width: 20px;
  filter: invert(1);
}
.header__contact {
  width: 160px;
}
.header__address {
  font-weight: 500;
  font-size: 14px;
}
.header__list {
  display: flex;
  gap: 24px;
}
.header__list-link {
  position: relative;
  font-size: var(--fontSize);
  color: #fff;
  white-space: nowrap;
}
.header__list-link::before {
  content: "";
  display: block;
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 1px;
  background: #fff;
  z-index: -1;
  pointer-events: none;
  transform: translateY(1.5px);
  opacity: 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.header__list-link:hover::before {
  transform: translateZ(0);
  opacity: 0.35;
}
.header__burger {
  display: none;
  background: transparent;
  padding: 0;
  border: none;
  flex-direction: column;
  gap: 8px;
}
.header__burger span {
  width: 40px;
  height: 3px;
  border-radius: 10px;
  background: #fff;
}

@media (max-width: 1024px) {
  .header {
    padding-top: 15px;
  }
  .header__wrapper {
    align-items: center;
  }
  .header__nav {
    display: none;
  }
  .header__contacts {
    display: none;
  }
  .header__burger {
    display: flex;
  }
}
.burger-overlay {
  position: fixed;
  inset: 0;
  height: 100vh;
  /* Fallback для старых браузеров */
  height: 100svh;
  /* Используем smallest viewport height для учета адресной строки браузера */
  width: 100%;
  box-sizing: border-box;
  display: none;
}

.burger-menu {
  margin-left: auto;
  padding: 30px;
  width: 400px;
  box-sizing: border-box;
  backdrop-filter: blur(10px);
  background: rgba(41, 77, 255, 0.75);
  height: 100vh;
  /* Fallback для старых браузеров */
  height: 100svh;
  /* Используем smallest viewport height для учета адресной строки браузера */
  transform: translateX(100%);
  transition: 0.5s all;
}
.burger-menu__close {
  display: flex;
  background: transparent;
  border: none;
  padding: 0;
  margin-bottom: 60px;
}
.burger-menu .header__list {
  flex-direction: column;
  margin-bottom: 40px;
}
.burger-menu .header__contacts {
  display: flex;
  width: max-content;
}

.burger-overlay.active {
  display: block;
}

.burger-menu.active {
  transform: translateX(0);
  overflow-y: auto;
}

@media (max-width: 798px) {
  .burger-menu {
    width: 237px;
    padding: 24px 15px;
  }
  .burger-menu__close {
    margin-bottom: 32px;
  }
  .burger-menu__list {
    gap: 15px;
  }
  .burger-menu__link {
    height: 40px;
  }
  .burger-menu__link img,
  .burger-menu__link picture {
    height: 40px;
  }
  .burger-menu__link.active::after {
    width: 32px;
    height: 32px;
    background-size: 32px 32px;
  }
}
.overlay {
  position: fixed;
  display: none;
  background: rgba(0, 0, 0, 0.6);
  padding: 50px 15px 50px 15px;
  box-sizing: border-box;
  inset: 0;
  width: 100%;
  height: 100vh;
  overflow-y: auto;
  z-index: 4;
}

.overlay.active {
  display: grid;
}

.options-modal {
  max-width: 1150px;
  border-radius: 7px;
  width: 100%;
  background: #fff;
  position: relative;
  padding: 40px;
  box-sizing: border-box;
  margin: 0 auto;
  height: max-content;
}
.options-modal__close {
  position: absolute;
  right: 20px;
  top: 20px;
}
.options-modal__close img {
  width: 16px;
  height: 16px;
}
.options-modal__title {
  font-size: 48px;
  font-weight: 500;
  margin-bottom: 40px;
  font-family: "Roboto Flex", sans-serif;
  padding-left: 50px;
}
.options-modal__body {
  display: grid;
  grid-template-columns: 390px 1fr;
  gap: 70px;
}
.options-modal__slider {
  max-width: 390px;
  width: 100%;
}
.options-modal__image {
  max-width: 390px;
  width: 100%;
  margin-bottom: 20px;
  overflow: hidden;
}
.options-modal__image img {
  transition: 0.3s all;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.options-modal__image:hover img {
  transform: scale(1.1);
}
.options-modal__list {
  display: flex;
  flex-direction: column;
  margin-bottom: 15px;
}
.options-modal__list li {
  line-height: 32px;
  font-size: 16px;
  font-weight: 300;
}
.options-modal__download {
  display: flex;
  align-items: center;
  gap: 15px;
  font-weight: 700;
  text-decoration: underline;
  font-size: 16px;
  margin-bottom: 20px;
}
.options-modal__download img {
  width: 25px;
}
.options-modal__button {
  font-size: 20px;
  font-weight: 500;
}
.options-modal__slide img {
  width: 100%;
  object-fit: contain;
}
.options-modal .options-swiper .swiper-slide {
  cursor: pointer;
  opacity: 0.5;
}
.options-modal .options-swiper .swiper-slide-thumb-active {
  opacity: 1;
}

.modal-consultation {
  max-width: 750px;
  border-radius: 7px;
  width: 100%;
  background: #fff;
  position: relative;
  padding: 40px;
  box-sizing: border-box;
  margin: 0 auto;
  height: max-content;
}
.modal-consultation__close {
  position: absolute;
  right: 20px;
  top: 20px;
}
.modal-consultation__close img {
  width: 16px;
  height: 16px;
}
.modal-consultation__title {
  font-size: 28px;
  line-height: 42px;
  font-weight: 700;
  font-family: "Roboto Flex", sans-serif;
  margin-bottom: 50px;
  padding-left: 30px;
}
.modal-consultation__label {
  display: flex;
  align-items: center;
  gap: 10px;
}
.modal-consultation__label:not(:last-of-type) {
  margin-bottom: 10px;
}
.modal-consultation__label .circle {
  width: 20px;
  height: 20px;
  display: flex;
  flex-shrink: 0;
  border: 1px solid rgba(6, 6, 7, 0.15);
  border-radius: 100%;
  box-sizing: border-box;
  transition: 0.3s all;
}
.modal-consultation__label .text {
  font-size: 18px;
  font-weight: 300;
  line-height: 21px;
}
.modal-consultation__label:hover .circle {
  border: 1px solid rgb(6, 6, 7);
}
.modal-consultation__form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 455px;
  width: 100%;
  margin: 0 auto;
}
.modal-consultation__form-title {
  font-size: 22px;
  line-height: 26px;
  margin-bottom: 15px;
}
.modal-consultation__form input[type=radio] {
  display: none;
}
.modal-consultation__form input[type=radio]:checked + .modal-consultation__label .circle {
  border: 7px solid rgb(6, 6, 7);
}
.modal-consultation__form input[type=text] {
  height: 58px;
  border: 1px solid rgba(6, 6, 7, 0.15);
  width: 100%;
  padding: 0 17px;
  box-sizing: border-box;
  border-radius: 50px;
  font-family: "Roboto", sans-serif;
  font-size: 18px;
  line-height: 56px;
}
.modal-consultation__form input[type=text].error {
  border: 1px solid red;
}
.modal-consultation__button {
  width: 100%;
  font-size: 15px;
  font-weight: 500;
}

.modal-callback {
  max-width: 400px;
  border-radius: 7px;
  width: 100%;
  background: #fff;
  position: relative;
  padding: 40px;
  box-sizing: border-box;
  margin: 0 auto;
  height: max-content;
}
.modal-callback__close {
  position: absolute;
  right: 20px;
  top: 20px;
}
.modal-callback__close img {
  width: 16px;
  height: 16px;
}
.modal-callback__title {
  font-size: 25px;
  line-height: 37px;
  font-weight: 400;
  font-family: "Roboto Flex", sans-serif;
  margin-bottom: 20px;
  text-align: center;
}
.modal-callback__subtitle {
  text-align: center;
  font-size: 16px;
  line-height: 24px;
  margin-bottom: 50px;
}
.modal-callback__form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.modal-callback__form-title {
  margin-bottom: 5px;
  font-size: 15px;
  font-weight: 500;
}
.modal-callback__form input[type=text] {
  height: 48px;
  border: 1px solid rgba(6, 6, 7, 0.15);
  width: 100%;
  padding: 0 17px;
  box-sizing: border-box;
  border-radius: 50px;
  font-family: "Roboto", sans-serif;
  font-size: 18px;
  line-height: 46px;
}
.modal-callback__form input[type=text].error {
  border: 1px solid red;
}
.modal-callback__button {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50px;
  padding: 0;
  border: none;
  font-size: 16px;
  font-family: "Roboto", sans-serif;
  font-weight: 500;
  transition: 0.3s all;
  height: 44px;
  width: 100%;
  background: #294dff;
  color: #fff;
}
.modal-callback__button:hover {
  transform: scale(1.03);
}

.modal-certificates {
  max-width: 595px;
  border-radius: 7px;
  width: 100%;
  background: #fff;
  position: relative;
  padding: 40px 20px;
  box-sizing: border-box;
  margin: 0 auto;
  height: max-content;
}
.modal-certificates__close {
  position: absolute;
  right: 20px;
  top: 20px;
}
.modal-certificates__close img {
  width: 16px;
  height: 16px;
}
.modal-certificates__slide {
  display: flex;
  overflow: hidden;
}
.modal-certificates__slide img {
  transition: 0.5s all;
  width: 100%;
  object-fit: cover;
}
.modal-certificates__slide:hover img {
  transform: scale(1.1);
}
.modal-certificates__button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 100%;
  background: #144999;
  transition: 0.5s all;
}
.modal-certificates__button::after {
  font-size: 14px;
  color: #fff;
}
.modal-certificates__button:hover {
  transform: scale(1.1);
}
.modal-certificates__pagination {
  color: #144999;
}

.modal {
  position: relative;
  background: #fff;
  border-radius: 7px;
  padding: 40px;
  box-sizing: border-box;
  max-width: 400px;
  width: 100%;
  margin: 0 auto;
  height: max-content;
}
.modal__close {
  max-width: 16px;
  width: 100%;
  display: flex;
  height: 16px;
  right: 15px;
  top: 15px;
  position: absolute;
}
.modal__close svg {
  width: 100%;
  height: 100%;
}
.modal__title {
  font-size: 1.125rem;
  line-height: 1.37;
  font-weight: 400;
  padding: 5px 0;
  text-align: center;
}
.modal__subtitle {
  font-size: 1rem;
  line-height: 1.5;
  font-weight: 400;
  padding: 10px 0;
  text-align: center;
}
.modal__form {
  padding: 10px 0;
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.modal__form-label {
  font-size: 0.9375rem;
  padding-bottom: 10px;
  line-height: 1.375;
  font-weight: 500;
  text-align: left;
}
.modal__form-wrap input {
  display: block;
  width: 100%;
  border: 1px solid transparent;
  font-family: inherit;
  min-height: 2.875rem;
  font-size: inherit;
  line-height: 1.333;
  font-weight: 400;
  padding: 3px 15px 2px;
  box-sizing: border-box;
  word-break: keep-all;
  border-radius: 4px;
  transition: all 0.3s ease;
  appearance: none;
  color: #060607;
  border: 1px solid rgba(6, 6, 7, 0.15);
  transition: all 0.3s cubic-bezier(0.21, 0.67, 0.58, 1);
  margin-bottom: 5px;
}
.modal__form-wrap input:hover {
  border: 1px solid rgba(6, 6, 7, 0.3);
}
.modal__form-wrap input:active {
  border: 1px solid rgba(6, 6, 7, 0.3);
}
.modal__form-error {
  font-size: 0.625rem;
  line-height: 1.5;
  height: 0;
  font-weight: 500;
  color: #ff714d;
  pointer-events: none;
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.21, 0.67, 0.58, 1);
}
.modal__form-error.active {
  height: 15px;
  padding-top: 3px;
  pointer-events: all;
  opacity: 1;
  visibility: visible;
}
.modal__form-button {
  border-radius: 20px;
  color: #fff;
  font-size: 0.9375rem;
  font-weight: 500;
  line-height: 1.37;
  padding: 14px 24px;
  transition: 0.2s all;
  border: none;
  width: 100%;
  font-family: "Arial", Helvetica, Arial, sans-serif;
}

@media (max-width: 1022px) {
  .overlay {
    padding: 0;
  }
  .overlay_padding {
    padding: 15px;
  }
  .overlay_certificates {
    padding: 15px;
  }
  .modal-consultation__title {
    padding-left: 0;
    font-size: 22px;
    line-height: 30px;
  }
  .options-modal {
    border-radius: 0px;
  }
  .options-modal__body {
    grid-template-columns: 1fr;
  }
  .options-modal__title {
    padding-left: 0;
    text-align: center;
  }
  .options-modal__slider {
    margin: 0 auto;
  }
  .options-modal__button {
    width: 100%;
  }
}
@media (max-width: 798px) {
  .options-modal {
    padding: 40px 20px 40px 20px;
  }
  .options-modal__title {
    font-size: 25px;
  }
  .options-modal__button {
    font-weight: 400;
    font-size: 16px;
  }
  .modal-consultation {
    padding: 40px 20px 40px 20px;
  }
  .modal-callback {
    padding: 40px 20px 40px 20px;
  }
}
@media (max-width: 630px) {
  .overlay.active.overlay_certificates {
    display: flex;
  }
  .modal-certificates {
    max-width: 100%;
  }
}
@media (max-width: 500px) {
  .options-modal__slider {
    max-width: 300px;
  }
}
@media (max-width: 405px) {
  .options-modal__slider {
    max-width: 280px;
  }
}
@media (max-width: 370px) {
  .options-modal {
    padding: 40px 15px 40px 15px;
  }
  .options-modal__slider {
    max-width: 240px;
  }
}
.custom-select {
  position: relative;
}
.custom-select__value {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 13px 13px 13px 23px;
  box-sizing: border-box;
  border-radius: 10px;
  border: 2px solid #fff;
  cursor: pointer;
  margin-bottom: 0;
  transition: all 0.3s ease;
}
.custom-select__value .value {
  font-size: 18px;
  color: #fff;
  font-family: "Roboto Flex", sans-serif;
}
.custom-select__value .icon {
  display: flex;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}
.custom-select__list {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  z-index: 10;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, opacity 0.3s ease;
}
.custom-select__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 5px 16px;
  font-family: "Roboto Flex", sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 120%;
  box-sizing: border-box;
  gap: 10px;
  transition: 0.3s all;
}
.custom-select__link:hover {
  color: #144199;
}
.custom-select.open .custom-select__value .icon {
  transform: rotate(180deg);
}
.custom-select.open .custom-select__list {
  max-height: 333px;
  overflow-y: auto;
  opacity: 1;
}

@media (max-width: 606px) {
  .custom-select__value .value {
    font-size: 16px;
  }
}
.page-form__title {
  color: #fff;
  font-size: 30px;
  text-align: center;
  font-family: "Roboto Flex", sans-serif;
  font-weight: 400;
  line-height: 1;
  margin-bottom: 40px;
}
.page-form__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  column-gap: 80px;
  row-gap: 45px;
  max-width: 800px;
  width: 100%;
  margin: 0 auto 40px;
}
.page-form__button,
.modal-callback__button,
.modal-consultation__button,
.step__button,
.modal__form-button {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #294dff;
  color: #fff;
  border: none;
  border-radius: 50px;
  font-family: "Roboto", sans-serif;
  font-weight: 500;
  transition: 0.3s all;
  cursor: pointer;
  padding: 12px 24px;
  font-size: 16px;
  line-height: 1.2;
  text-align: center;
  width: auto;
  /* Убираем возможные наследуемые стили */
  box-sizing: border-box;
}

.page-form__button:hover,
.modal-callback__button:hover,
.modal-consultation__button:hover,
.step__button:hover,
.modal__form-button:hover {
  transform: scale(1.03);
  background: #1a3bcc;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Дополнительно: если кнопка занимает всю ширину родителя, сохраняем это */
.page-form__button {
  max-width: 665px;
  width: 100%;
  margin: 0 auto;
}

.modal-callback__button {
  width: 100%;
  height: 44px;
  padding: 0;
}

.modal-consultation__button {
  /* если нужно, добавьте специфичные стили */
}

.step__button {
  padding: 18px 24px;
  font-size: 18px;
  margin: 0 auto 20px;
}

.modal__form-button {
  width: 100%;
  border-radius: 20px;
  padding: 14px 24px;
}
}

@media (max-width: 798px) {
  .page-form__grid {
    grid-template-columns: 1fr;
    row-gap: 20px;
  }
}
.footer {
  padding: 40px 0;
}
.footer__wrapper {
  display: flex;
  gap: 40px;
  justify-content: space-between;
}
.footer__logo {
  display: flex;
  max-width: 180px;
  width: 100%;
  height: 36px;
}
.footer__logo picture, .footer__logo img {
  width: 100%;
}
.footer .header__list {
  flex-direction: column;
  gap: 5px;
}
.footer .header__list-link {
  color: #000;
}
.footer .header__list-link::before {
  background: #000;
}
.footer .header__contacts {
  justify-content: flex-start;
}
.footer .header__contact {
  color: #000;
}
.footer .header__contact img {
  filter: invert(0);
}
.footer__address {
  font-size: 16px;
  line-height: 1.5;
  font-weight: 400;
  font-family: "Roboto", sans-serif;
}

@media (max-width: 1024px) {
  .footer__wrapper {
    display: grid;
    grid-template-columns: 180px 1fr;
    grid-template-areas: "logo contacts" "nav address";
    column-gap: 24px;
    row-gap: 20px;
    align-items: start;
  }
  .footer__logo {
    grid-area: logo;
  }
  .footer .header__list {
    grid-area: nav;
    gap: 8px;
  }
  .footer .header__contacts {
    grid-area: contacts;
    display: flex;
    align-items: flex-end;
  }
  .footer__address {
    grid-area: address;
    max-width: 320px;
    font-size: 14px;
    line-height: 1.4;
    overflow-wrap: anywhere;
    margin-left: auto;
    text-align: right;
  }
}
@media (max-width: 475px) {
  .footer__wrapper {
    grid-template-columns: 1fr;
    grid-template-areas: "logo" "contacts" "address" "nav";
    row-gap: 16px;
    justify-items: center;
    text-align: center;
  }
  .footer .header__contacts {
    justify-content: center;
    align-items: center;
  }
  .footer .header__list {
    align-items: center;
  }
  .footer__address {
    max-width: 100%;
    font-size: 13px;
    text-align: center;
    margin-left: initial;
  }
}
.main {
  background: linear-gradient(rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0.75)), url(../images/main/bg.webp) center/cover no-repeat;
}
.main__wrapper {
  padding: 90px 0 190px 0;
}
.main__title {
  font-family: "Roboto Flex", sans-serif;
  font-weight: 400;
  font-size: 52px;
  color: #fff;
  margin-bottom: 40px;
  line-height: 1;
  letter-spacing: 2px;
}
.main__subtitle {
  color: #fff;
  font-weight: 300;
  font-size: 22px;
  font-family: "Roboto", sans-serif;
  margin-bottom: 50px;
  line-height: 1.5;
}
.main__buttons {
  display: flex;
  gap: 20px;
  margin-bottom: 50px;
}
.main__buttons .white, .main__buttons .blue {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50px;
  padding: 0;
  border: none;
  font-size: 16px;
  font-family: "Roboto", sans-serif;
  font-weight: 500;
  color: #000;
  background: #fff;
  transition: 0.3s all;
  height: 44px;
  width: 212px;
}
.main__buttons .white:hover, .main__buttons .blue:hover {
  transform: scale(1.03);
}
.main__buttons .blue {
  background: #294dff;
  color: #fff;
  width: 279px;
}
.main__list {
  display: flex;
  row-gap: 60px;
  column-gap: 40px;
  flex-wrap: wrap;
}
.main__list-item {
  display: flex;
  align-items: center;
  gap: 16px;
  color: #fff;
  font-size: 16px;
  line-height: 24px;
}
.main__list-item::before {
  content: "";
  display: block;
  width: 2px;
  background: #007bff;
  height: calc(100% + 12px);
}

@media (max-width: 1024px) {
  .main__wrapper {
    padding: 90px 0 90px 0;
  }
}
@media (max-width: 798px) {
  .main__title {
    font-size: 35px;
  }
  .main__subtitle br {
    display: none;
  }
  .main__list {
    row-gap: 40px;
  }
}
@media (max-width: 606px) {
  .main__wrapper {
    padding: 50px 0;
  }
  .main__title {
    font-size: 30px;
  }
  .main__title br {
    display: none;
  }
  .main__title {
    margin-bottom: 30px;
  }
  .main__subtitle {
    font-size: 18px;
    margin-bottom: 30px;
  }
  .main__list {
    row-gap: 25px;
  }
  .main__buttons {
    flex-direction: column;
    margin-bottom: 30px;
  }
  .main__buttons .white, .main__buttons .blue {
    width: 100%;
  }
}
@media (max-width: 375px) {
  .main__list-item br {
    display: none;
  }
}
.step {
  padding: 90px 0;
}
.step__title {
  text-align: center;
  font-size: 52px;
  font-weight: 400;
  font-family: "Roboto Flex", sans-serif;
  line-height: 1;
  margin-bottom: 75px;
}
.step__cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  column-gap: 85px;
  margin-bottom: 100px;
}
.step__wrapper-card {
  display: flex;
  flex-direction: column;
}
.step__wrapper-card::after {
  content: "";
  width: 2px;
  height: 40px;
  background: #144199;
  display: block;
  transform: translateX(132px);
}
.step__wrapper-card:nth-child(7)::after {
  display: none;
}
.step__wrapper-card:nth-child(8)::after {
  display: none;
}
.step__card {
  display: flex;
  align-items: center;
  height: 100%;
}
.step__card-number {
  clip-path: polygon(30% 0, 100% 0%, 100% 100%, 30% 100%, 0% 50%);
  height: 65px;
  background: #3c58b5;
  font-size: 38px;
  color: #fff;
  font-family: "Roboto", sans-serif;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 50px;
  box-sizing: border-box;
  padding-left: 10px;
}
.step__card-content {
  box-shadow: 0px 10px 10px 0px rgba(0, 0, 0, 0.1);
  border: 1px solid #e3e3e3;
  background: linear-gradient(180deg, #fafafa 0%, #ffffff 9.14%, #bbdcfa 100%);
  border-radius: 10px;
  padding: 17.5px 20px 17.5px 40px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 100%;
  height: 100%;
  box-sizing: border-box;
}
.step__card-title {
  font-size: 25px;
  font-weight: 400;
  line-height: 1;
}
.step__card-description {
  font-size: 16px;
  line-height: 1;
}
.step__button {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50px;
  padding: 18px 24px;
  font-size: 18px;
  font-family: "Roboto", sans-serif;
  color: #fff;
  font-weight: 500;
  background: #144199;
  transition: 0.3s all;
  margin: 0 auto 20px;
  border: none;
}
.step__button:hover {
  transform: scale(1.03);
}
.step__footer {
  text-align: center;
  font-size: 18px;
  font-weight: 300;
  line-height: 1;
}

@media (max-width: 1024px) {
  .step__cards {
    grid-template-columns: 1fr;
  }
  .step__wrapper-card:nth-child(1) {
    order: 1;
  }
  .step__wrapper-card:nth-child(3) {
    order: 2;
  }
  .step__wrapper-card:nth-child(5) {
    order: 3;
  }
  .step__wrapper-card:nth-child(7) {
    order: 4;
  }
  .step__wrapper-card:nth-child(2) {
    order: 5;
  }
  .step__wrapper-card:nth-child(4) {
    order: 6;
  }
  .step__wrapper-card:nth-child(6) {
    order: 7;
  }
  .step__wrapper-card:nth-child(8) {
    order: 8;
  }
  .step__wrapper-card:nth-child(7)::after {
    display: block;
  }
}
@media (max-width: 606px) {
  .step {
    padding: 50px 0;
  }
  .step__title {
    margin-bottom: 40px;
    font-size: 30px;
  }
  .step__cards {
    margin-bottom: 50px;
  }
  .step__card-content {
    padding: 17px;
  }
  .step__card-title {
    font-size: 20px;
  }
}
.manager {
  padding: 70px 0 120px 0;
  background: linear-gradient(rgba(255, 255, 255, 0.89), rgba(255, 255, 255, 0.89)), url(../images/manager/bg.webp) center/cover no-repeat;
}
.manager__title {
  text-align: center;
  font-size: 52px;
  font-weight: 400;
  font-family: "Roboto Flex", sans-serif;
  line-height: 1;
  margin-bottom: 30px;
}
.manager__subtitle {
  text-align: center;
  font-size: 25px;
  line-height: 1.5;
  font-weight: 300;
  margin-bottom: 65px;
}
.manager .container {
  position: relative;
}
.manager__words {
  font-size: 30px;
  line-height: 1.2;
  font-family: "Roboto Flex", sans-serif;
  margin-bottom: 85px;
}
.manager__name, .manager__worker {
  font-size: 25px;
  line-height: 1;
  font-weight: 300;
  margin-bottom: 12px;
}
.manager__worker {
  font-size: 20px;
  margin-bottom: 0;
}
.manager__wrapper-man {
  position: absolute;
  bottom: -162px;
  left: -40px;
}
.manager__man {
  position: relative;
}
.manager__man img {
  transform: translateY(0px);
}
.manager__man .blue-block {
  position: absolute;
  height: 90px;
  width: 270px;
  right: 25px;
  bottom: -48px; /* меняем с 0px на отрицательное значение */
  background: #144199;
}
.manager__text {
  transform: translateX(82%);
  overflow: hidden;
  width: max-content;
}

@media (max-width: 1400px) {
  .manager__wrapper-man {
    left: -15px;
  }
}
@media (max-width: 1130px) {
  .manager__text {
    transform: translateX(0);
    margin-left: auto;
  }
}
@media (max-width: 1050px) {
  .manager {
    padding: 70px 0 550px 0;
  }
  .manager__wrapper-man {
    bottom: -592px;
    left: 50%;
    transform: translateX(-50%);
  }
  .manager__text {
    margin: 0 auto;
  }
}
@media (max-width: 606px) {
  .manager__title {
    font-size: 30px;
  }
  .manager__subtitle {
    font-size: 20px;
    line-height: 1.2;
    margin-bottom: 30px;
  }
  .manager__subtitle br {
    display: none;
  }
  .manager__text {
    width: 100%;
  }
  .manager__words {
    font-size: 20px;
    margin-bottom: 40px;
  }
  .manager__words br {
    display: none;
  }
}
.advantages {
  padding: 100px 0;
  background: #144199;
}
.advantages__title {
  text-align: center;
  font-size: 52px;
  font-weight: 400;
  font-family: "Roboto Flex", sans-serif;
  line-height: 1;
  margin-bottom: 75px;
  color: #fff;
}
.advantages__subtitle {
  color: #fff;
  font-size: 30px;
  text-align: center;
  font-family: "Roboto Flex", sans-serif;
  font-weight: 400;
  line-height: 1;
  margin-bottom: 100px;
}
.advantages__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  column-gap: 110px;
  row-gap: 40px;
  max-width: 1015px;
  width: 100%;
  margin: 0 auto 100px;
}
.advantages__card {
  padding: 28px 18px;
  border-radius: 10px;
  border: 2px solid #fff;
  display: flex;
  flex-direction: column;
}
.advantages__card-title {
  font-size: 25px;
  line-height: 1;
  margin-bottom: 23px;
  color: #fff;
}
.advantages__card-text {
  font-size: 18px;
  line-height: 1.2;
  color: #fff;
  margin-top: auto;
}

@media (max-width: 1024px) {
  .advantages__grid {
    column-gap: 60px;
  }
}
@media (max-width: 870px) {
  .advantages__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 798px) {
  .advantages__grid {
    margin-bottom: 40px;
  }
}
@media (max-width: 606px) {
  .advantages {
    padding: 50px 0;
  }
  .advantages__title {
    font-size: 30px;
    margin-bottom: 30px;
    position: relative;
    z-index: 1;
  }
  .advantages__grid {
    grid-template-columns: repeat(2, 1fr);
    column-gap: 20px;
    row-gap: 20px;
  }
  .advantages__card-title {
    font-size: 20px;
  }
  .advantages__card-text {
    font-size: 16px;
  }
}
@media (max-width: 470px) {
  .advantages__grid {
    grid-template-columns: 1fr;
  }
}
.projects {
  padding: 60px 0 100px 0;
}
.projects__title {
  text-align: center;
  font-size: 52px;
  font-weight: 400;
  font-family: "Roboto Flex", sans-serif;
  line-height: 1;
  margin-bottom: 20px;
}
.projects__title.partners {
  margin-bottom: 50px;
}
.projects__subtitle {
  text-align: center;
  font-size: 30px;
  line-height: 1;
  font-weight: 300;
  margin-bottom: 30px;
}
.projects__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(255px, 1fr));
  gap: 60px;
  justify-items: center;
  margin-bottom: 75px;
}
.projects__card {
  display: flex;
  width: 255px;
  height: 255px;
  flex-shrink: 0;
  overflow: hidden;
}
.projects__card picture, .projects__card img {
  display: flex;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.3s all;
}
.projects__card:hover picture, .projects__card:hover img {
  transform: scale(1.03);
}
.projects__partners {
  display: flex;
  gap: 30px;
  justify-content: space-around;
  flex-wrap: wrap;
}
.projects__partner {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 7px;
}
.projects__partner picture, .projects__partner img {
  height: 53px;
  object-fit: contain;
  display: flex;
  width: 100%;
}
.projects__partner-title {
  font-size: 14px;
  line-height: 1.5;
  font-weight: 400;
  font-family: "Roboto", sans-serif;
  text-align: center;
  white-space: nowrap;
}

@media (max-width: 1024px) {
  .projects__grid {
    gap: 20px;
  }
}
@media (max-width: 606px) {
  .projects__title {
    font-size: 30px;
  }
  .projects__subtitle {
    font-size: 20px;
  }
}
*:active, *:focus, *:focus-within, *:target, *:hover, *:visited, *:focus-visible {
  outline: none !important;
}

html {
  scroll-behavior: smooth;
}

html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font: inherit;
  vertical-align: baseline;
  outline: none;
}

a {
  text-decoration: none;
  color: #000;
}
a:hover {
  text-decoration: none;
}

body {
  font-family: var(--fontFamily);
  font-weight: 400;
  position: relative;
  color: #000;
  min-width: 303px;
  scroll-behavior: smooth;
  overflow-x: clip;
}

ol, ul {
  list-style: none;
}

label, button {
  cursor: pointer;
}

b {
  font-weight: 700;
}