* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Lato', sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  text-decoration: none;
  color: inherit;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

button {
  border: none;
  background-color: transparent;
  cursor: pointer;
}

.title {
  font-size: 35px;
  line-height: 125%;
  color: #586272;
  font-weight: 700;
  margin-top: 50px;
}

.wrapper {
  width: 100%;
  max-width: 1180px;
  padding-left: 20px;
  padding-right: 20px;
  margin: 0 auto;
}

.header {
  padding: 28px 0;
  border-bottom: 1px solid #D3DEEC;
}

.header__container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.header__phone {
  font-size: 14px;
  font-weight: 600;
  color: #313949;
  transition: opacity 0.3s ease-in-out;
}

.header__phone:hover,
.footer__phone:hover,
.footer__email:hover {
  opacity: 0.7;
}

.header__phone svg {
  transform: translateY(1px);
}

.header__right {
  display: flex;
  align-items: center;
  gap: 25px;
}

.header__time {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: #586272;
}

.main {
  margin-top: 52px;
}

.hero {
  padding: 29px 80px 55px 95px;
  background-color: #313949;
  border-radius: 30px;
}

.hero__container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.hero__left {
  max-width: 430px;
}

.hero__title {
  line-height: 125%;
  color: #FFFFFF;
  font-size: 35px;
  font-weight: 700;
}

.hero__text {
  margin-top: 20px;
  font-size: 16px;
  line-height: 125%;
  color: #FFFFFF;
  font-weight: 600;
}

.hero__btn-container {
  margin-top: 30px;
  display: flex;
  align-items: center;
  gap: 30px;
}

.hero__btn {
  font-size: 15.69px;
  background-color: #FFFFFF;
  border-radius: 45px;
  padding: 18px 50px;
  color: #313949;
  font-weight: 600;
  transition: opacity 0.3s ease-in-out;
}

.hero__btn:hover {
  opacity: 0.9;
}

.hero__right {
  display: block;
  padding-top: 5px;
  max-width: 427px;
  height: 271px;
}

@media (max-width: 1200px) {
  .hero__right {
    margin-right: 0;
  }
}

.hero__img {
  background-color: #fff;
  padding: 10px 10px 5px 10px;
  border-radius: 20px;
  width: 427px;
  height: 271px;
}

.features {
  margin-top: 54px;
}

.features__container {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.features__item {
  width: 364px;
  border-radius: 20px;
  padding: 29px 20px;
  background-color: #F1F1F4;
}

.features__item-content {
  margin-top: 34px;
  display: flex;
  flex-direction: column;
  gap: 17px;
}

.features__item-title {
  font-size: 20px;
  line-height: 125%;
  color: #586272;
  font-weight: 700;
}

.features__item-text {
  color: #586272;
  font-size: 20px;
  line-height: 125%;
}

.metrics__container {
  margin-top: 37px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.metrics__text {
  max-width: 614px;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.metrics__item-title {
  font-size: 20px;
  line-height: 125%;
  color: #586272;
  font-weight: 700;
}

.metrics__item-text {
  margin-top: 13px;
  font-size: 20px;
  line-height: 125%;
  color: #000;
}

.metrics__img {
  width: 414px;
  height: 388px;
}

.metrics__img-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.it__container {
  margin-top: 42px;
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.it__title {
  font-size: 20px;
  line-height: 125%;
  color: #586272;
  font-weight: 600;
}

.it__list {
  padding-left: 25px;
  margin-top: 9px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  font-size: 12px;
}

.it__list-item-link:hover {
  opacity: 0.7;
}

.non-padding {
  padding-left: 0;
}

.it__list-item-text {
  font-size: 18px;
  line-height: 125%;
  color: #586272;
  font-weight: 400;
  padding-left: 5px;
  transform: translateY(1px);
}

.it__list-item {
  list-style-type: disc;
  color: #586272;
}

.it__text {
  margin-top: 9px;
  font-size: 18px;
  line-height: 125%;
  font-weight: 400 !important;
  color: #586272;
}

.non-disc {
  list-style-type: none;
  padding-left: 0;
  transform: translateX(-3px);
}

.it__list-item-link {
  color: #313949;
  text-decoration: underline;
  transition: opacity 0.3s ease-in-out;
}

.it__list-item-link-phone {
  transition: opacity 0.3s ease-in-out;
}

.it__list-item-link-phone:hover {
  opacity: 0.7;
}

.footer {
  margin-top: 49px;
  box-shadow: 0px -7px 14px 0px #0000000D;
  padding: 64px 0;
}

.footer__phone-item {
  display: flex;
  align-items: center;
  gap: 5px;
}

.footer__phone,
.footer__phone-time {
  transition: opacity 0.3s ease-in-out;
  font-size: 15px;
  color: #313949;
}

.footer__email {
  margin-top: 12px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 15px;
  transition: opacity 0.3s ease-in-out;
  color: #313949;
}

.footer__email-text {
  transform: translateY(-2px);
}

.footer__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.footer_top-right {
  display: flex;
  align-items: center;
  gap: 23px;
}

.footer__link {
  transition: opacity 0.3s ease-in-out;
}

.footer__link:hover {
  opacity: 0.7;
}

.footer__bottom {
  margin-top: 65px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.footer__bottom-right {
  display: flex;
  gap: 14px;
}

.footer__bottom-text {
  font-size: 12px;
  color: #333333;
  margin-top: 22px;
}

.footer__bottom-text span {
  font-weight: 600;
}

.footer__bottom-download {
  display: flex;
  align-items: center;
  gap: 10px;
  text-align: center;
  font-size: 10px;
  line-height: 115%;
  padding: 10px 12px;
  border-radius: 5px;
  box-shadow: 0px 0px 7px 0px #3498DB66;
  color: #313949;
  transition: all 0.3s ease-in-out;
}

.footer__bottom-download:hover {
  text-decoration: underline;
}

.footer__bottom-download p span {
  font-weight: 700;
}

.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  opacity: 0;
  pointer-events: none;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1000;
  transition: opacity 0.3s ease-in-out;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
  transition: opacity 0.3s ease-in-out;
}

.modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 95%;
  max-width: 492px;
  background-color: #fff;
  border-radius: 12px;
  overflow-y: auto;
  padding: 24px 26px;
  max-height: 90vh;
}

.modal__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.modal__title {
  font-size: 20px;
  color: #586272;
  font-weight: 600;
}

.modal__body {
  margin-top: 20px;
}

.modal__form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.modal__form-item {
  display: flex;
  flex-direction: column;
  gap: 7.64px;
}

.modal__close {
  transform: translate(15px, -20px);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
}

.modal__form-label {
  font-size: 14px;
  color: #586272;
}

.modal__form-input {
  border: 1px solid #D5D5D5;
  border-radius: 4px;
  padding: 14px 16px;
  font-size: 16px;
  color: #586272;
  width: 100%;
  transition: all 0.3s ease-in-out;
  resize: none;
}

.modal__form-input::placeholder {
  color: #B8B8B8;
}

.modal__form-input:focus {
  outline: none;
  border-color: #313949;
}

.modal__form-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  background-color: #313949;
  border-radius: 45px;
  padding: 14px 50px;
  font-size: 16px;
  color: #FFFFFF;
  transition: opacity 0.3s ease-in-out;
  margin-top: 10px;
}

.modal__form-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

#form-error {
  text-align: center;
}

.modal__form-btn:hover {
  opacity: 0.8;
}

.modal__form-success {
  margin-top: 10px;
  font-size: 16px;
  color: #313949;
  font-weight: 600;
  text-align: center;
  display: none;
}

.modal__form-error-message {
  font-size: 14px;
  color: #DC3428;
  display: none;
}

.input-error {
  border-color: #DC3428;
}

.modal__form-privacy {
  margin-top: 18px;
  text-align: center;
  font-size: 13px;
  color: #cdcdcd;
}

.modal__form-privacy span {
  color: #999999;
}

@media (max-width: 768px) {
  .hero {
    padding: 30px 30px 50px;
  }

  .footer__bottom-right {
    flex-wrap: wrap;
  }

  .hero__left {
    max-width: 100%;
    text-align: center;
  }

  .hero__btn {
    width: 100%;
  }

  .hero__btn-container {
    flex-wrap: wrap;
    justify-content: center;
  }

  .hero__right {
    display: none;
  }

  .title {
    font-size: 25px;
  }

  .metrics__img {
    display: none;
  }

  .features__item {
    width: 100%;
    text-align: center;
  }

  .hero__title {
    font-size: 25px;
  }
}

@media (max-width: 530px) {
  .header__logo {
    width: 100%;
    text-align: center;
  }

  .header__right {
    width: 100%;
    justify-content: center;
    gap: 15px;
  }

  .features__item-title {
    font-size: 18px;
  }

  .features__item-text {
    font-size: 16px;
  }

  .hero__text {
    font-size: 14px;
  }

  .footer {
    padding: 30px 0;
  }
}
