@font-face {
  font-family: "Nunito";
  src: url("../fonts//Nunito-Regular.ttf");
  font-weight: 400;
}

@font-face {
  font-family: "Nunito";
  src: url("../fonts//Nunito-SemiBold.ttf");
  font-weight: 600;
}

@font-face {
  font-family: "Nunito";
  src: url("../fonts//Nunito-Bold.ttf");
  font-weight: 700;
}

:root {
  --brand: rgba(15, 110, 255, 1);
  --text-color: rgba(24, 29, 39, 1);
}

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}
.text-color-brand {
  color: var(--brand);
}

body {
  color: rgba(83, 88, 98, 1);
  font-size: 20px;
  font-family: "Nunito";
  min-width: 320px;
  overflow-x: hidden;
}

.site-header {
  background-color: #fff;
  position: sticky;
  top: 0;
  z-index: 200;
  border-bottom: 1px solid rgba(245, 245, 245, 1);
}

.site-header__nav {
  margin-left: 30px;
}

.site-nav {
  display: flex;
  height: 80px;
}

.site-nav a {
  text-decoration: none;
  display: flex;
  align-items: center;
  font-weight: 600;
  color: rgba(83, 88, 98, 1);
  font-size: 16px;
  margin-right: 20px;
  transition: all 0.3s ease 0s;
}

.site-nav a:hover {
  color: var(--brand);
}

.site-header__container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.site-header__left {
  display: flex;
  align-items: center;
}

.site-header__logo {
  display: inline-block;
  font-size: 0;
  line-height: 0;
  width: 80px;
}

.site-header__logo img {
  width: 100%;
}

.df-link {
  text-decoration: underline;
  cursor: pointer;
}

.df-link:hover {
  text-decoration: none;
}

.df-form {
  margin: -20px -5px 0;
  display: flex;
  flex-wrap: wrap;
}

.df-form__field {
  width: 100%;
  padding: 20px 5px 0;
}

.df-form__field.w50 {
  width: 50%;
}

.df-checkbox-wrapper a {
  color: var(--brand);
}

.df-checkbox-wrapper a:hover {
  text-decoration: none;
}

.switch-checkbox {
  position: relative;
  display: inline-flex;
}

.switch-checkbox-wrapper {
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

.switch-checkbox-wrapper__label {
  margin-left: 10px;
  cursor: pointer;
}

.switch-checkbox__input {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  z-index: 20;
  opacity: 0;
  cursor: pointer;
}

.switch-checkbox__input:checked ~ .switch-checkbox__button::before {
  left: 20px;
}

.switch-checkbox__button {
  width: 44px;
  height: 20px;
  border: 1px solid rgba(0, 0, 0, 0.3);
  display: inline-flex;
  border-radius: 20px;
  background-color: #eee;
  position: relative;
  transition: all 0.3s ease 0s;
  cursor: pointer;
}

.switch-checkbox__input:checked ~ .switch-checkbox__button {
  background-color: var(--brand);
  border-color: transparent;
}

.switch-checkbox__button::before {
  content: "";
  top: 50%;
  margin-top: -12px;
  left: -2px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background-color: #fff;
  box-shadow: 0 3px 5px rgba(0, 0, 0, 0.3);
  position: absolute;
  transition: all 0.3s ease 0s;
}

.df-input {
  height: 44px;
  padding: 0 20px;
  font-size: 16px;
  width: 100%;
  border-radius: 8px;
  outline: none;
  border: 1px solid rgba(213, 215, 218, 1);
  font-family: "Nunito";
}

.df-textarea {
  height: 128px;
  padding: 10px 20px;
  font-size: 16px;
  width: 100%;
  border-radius: 8px;
  outline: none;
  border: 1px solid rgba(213, 215, 218, 1);
  resize: none;
  font-family: "Nunito";
}

.df-button {
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  outline: none;
  border: none;
  background-color: rgba(15, 110, 255, 1);
  color: #fff;
  padding: 0 30px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 17px;
  font-weight: 600;
  font-family: "Nunito";
}

.df-button_bg_white {
  background-color: rgba(255, 255, 255, 1);
  border: 1px solid rgba(213, 215, 218, 1);
  color: rgba(15, 110, 255, 1);
}

.df-input-field__label {
  margin-bottom: 5px;
  display: inline-block;
  font-size: 14px;
  line-height: 1.2em;
  font-weight: 500;
}

.df-button__icon {
  width: 24px;
  margin-right: 5px;
}

.df-button_w_100 {
  width: 100%;
}

.df-title {
  color: rgba(24, 29, 39, 1);
  font-weight: 400;
  letter-spacing: -2%;
  font-family: "Nunito";
}

.df-title_color_inherit {
  color: inherit;
}

.df-title_h1 {
  font-size: 60px;
  font-weight: 600;
  line-height: 1.2em;
}

.df-title_h2 {
  font-size: 40px;
  font-weight: 600;
  line-height: 1.2em;
}

.df-title_h4 {
  font-size: 30px;
  font-weight: 600;
  line-height: 1.2em;
}

.descr-box__title {
  margin-bottom: 30px;
}

.df-descr {
  font-size: 20px;
  line-height: 1.5em;
}

.df-descr a {
  color: inherit;
}

.df-descr a:hover {
  text-decoration: none;
}

.df-descr ol,
.df-descr ul {
  padding-left: 20px;
  margin-bottom: 15px;
}

.df-descr li {
  margin-top: 5px;
}

.df-descr_fz_17 {
  font-size: 17px;
}

.df-descr p:not(:last-child) {
  margin-bottom: 15px;
}

.container {
  max-width: 1240px;
  padding: 0 20px;
  margin: 0 auto;
  position: relative;
  z-index: 20;
}

.info-section {
  padding: 150px 0;
  background-repeat: no-repeat;
  background-size: 1070px auto;
  background-image: url("../images/tool_blocks.png");
  background-position: 70% 5%;
}

.info-section__content {
  max-width: 900px;
}

.info-section__content.w500 {
  max-width: 500px;
}

.info-section__title {
  margin-bottom: 30px;
}

.section {
  padding: 95px 0;
  background-color: rgba(255, 255, 255, 1);
}

.section_bg_gray {
  background-color: rgba(250, 250, 250, 1);
}

.section_bg_lines {
  background-size: 100% 100%;
  background-repeat: no-repeat;
  background-image: url("../images/bg-section-lines.png");
}

.section_bg_blue-dots {
  position: relative;
  background: url("../images/bg-dots.png");
  background-size: 300px auto;
  background-repeat: repeat;
}

.section_bg_blue-dots:before {
  background-color: rgba(0, 117, 255, 0.05);
  content: "";
  position: absolute;
  z-index: 10;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
}

.section-grid__title {
  margin-bottom: 64px;
  text-align: center;
}

.df-grid {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  flex-wrap: wrap;
  margin: -30px -15px 0;
}

.df-grid__item {
  width: 25%;
  padding: 30px 20px 0;
}

.df-grid_el_3 .df-grid__item {
  width: 33.3%;
}

.df-grid-item {
  text-align: center;
}

.df-grid-item__icon {
  margin-bottom: 20px;
}

.df-grid-item__title {
  font-weight: 600;
  font-size: 20px;
  line-height: 1.5em;
  margin-bottom: 5px;
  color: rgba(24, 29, 39, 1);
}

.df-grid-item__descr {
  font-size: 17px;
  line-height: 1.5em;
}

.service-grid-item {
  padding: 20px 30px;
  height: 150px;
  background: #fff;
  box-shadow:
    0 -4px 7px rgba(178, 209, 254, 0.5),
    0 4px 7px rgba(178, 209, 254, 0.5);
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-decoration: none;
  transition: all 0.5s ease 0s;
  color: inherit;
}

.service-grid-item:hover {
  background-color: var(--brand);
  color: #fff;
}

.service-grid-item__title {
  font-style: normal;
  font-weight: 500;
  font-size: 24px;
  line-height: 33px;
}

.service-grid-item__descr {
  font-style: normal;
  font-weight: 400;
  font-size: 14px;
  line-height: 1.5em;
}

.modal-wrapper {
  height: 100%;
  width: 100%;
  top: 0;
  left: 0;
  position: fixed;
  z-index: 1000;
  align-items: center;
  justify-content: center;
  display: none;
}

.modal-wrapper.opened {
  display: flex;
}

.modal-wrapper__overlay {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  z-index: 50;
}

.modal-wrapper__container {
  position: relative;
  z-index: 60;
  padding: 10px;
}

.feedback-modal {
  width: 520px;
  font-size: 17px;
  padding: 24px;
  border-radius: 12px;
  background-color: rgba(255, 255, 255, 1);
}

.feedback-modal__icon {
  margin-bottom: 20px;
}

.feedback-modal__title {
  font-size: 20px;
  font-weight: 600;
  line-height: 1.2em;
  margin-bottom: 10px;
}

.feedback-modal__descr {
  margin-bottom: 20px;
}

.feedback-modal__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 30px;
}

.feedback-modal__message {
  font-weight: 600;
  font-size: 22px;
}

.feedback-modal__footer-item {
  width: 47%;
}

.section-conditions {
  display: flex;
  justify-content: space-between;
}

.section-conditions__title {
  font-size: 32px;
  margin-bottom: 20px;
}

.section-conditions__left {
  padding: 40px;
  background-color: var(--brand);
  color: #fff;
  width: 48%;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
}

.section-conditions__right {
  width: 48%;
}

.conditions-list-item__icon {
  width: 20px;
  height: 20px;
  margin-top: 10px;
  margin-right: 10px;
}

.conditions-list-item__icon img {
  width: 100%;
}

.conditions-list-item {
  display: flex;
  padding: 15px 0;
}

.conditions-list-item__title {
  font-size: 26px;
  line-height: 1.5em;
  font-weight: 500;
  margin-bottom: 5px;
}

.conditions-list-item__descr {
  font-size: 17px;
  line-height: 1.2em;
  color: rgba(83, 88, 98, 1);
}

.footer {
  padding: 30px 0;
  border-top: 1px solid #eee;
}

.footer__container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer__logo {
  width: 80px;
  flex-shrink: 0;
}

.footer__logo img {
  width: 100%;
}

.footer__contacts {
  width: 700px;
  padding-left: 20px;
}

.footer-contacts {
  font-size: 14px;
  line-height: 1.2em;
}

.footer-contacts__header {
  margin-bottom: 10px;
}

.footer-contacts__main {
  display: flex;
}

.footer-contacts a {
  color: inherit;
}

.footer-contacts a:hover {
  text-decoration: none;
}

.footer-contacts__title {
  margin-bottom: 20px;
  font-weight: 600;
  font-size: 20px;
  color: #1e2022;
}

.footer-contacts p {
  margin-bottom: 10px;
}

.footer-contacts__right {
  padding-left: 20px;
  flex-shrink: 0;
  text-align: right;
}

.main-info-box {
  text-align: center;
  max-width: 768px;
  margin: 0 auto;
}

.main-info-box__title {
  margin-bottom: 24px;
}

.main-info-box__descr {
  margin-bottom: 48px;
}

.section-list {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 17px;
}

.section-list__title {
  margin-bottom: 20px;
}

.section-list__left,
.section-list__right {
  width: 45%;
}

.df-list-item__title {
  margin-bottom: 8px;
}

.df-list-item__descr {
  font-weight: 700;
  margin-bottom: 8px;
  color: rgba(24, 29, 39, 1);
}

.df-list__item:not(:last-child) {
  margin-bottom: 40px;
}

.price-formation-box {
  text-align: center;
  background-color: var(--brand);
  padding: 40px 20px;
  color: #fff;
  border-radius: 16px;
}

.price-formation-box__container {
  max-width: 768px;
  margin: 0 auto;
}

.price-formation-box__title {
  margin-bottom: 20px;
}

.price-formation-box__descr {
  margin-bottom: 40px;
}

@media screen and (max-width: 1024px) {
  .site-header__nav {
    display: none;
  }

  .df-grid_el_3 .df-grid__item,
  .df-grid__item {
    width: 50%;
  }

  .info-section {
    padding: 100px 0;
    background-size: 400px auto;
    background-position: 100% 0;
  }
}

@media screen and (max-width: 600px) {
  body {
    font-size: 17px;
  }

  .feedback-modal {
    padding: 10px;
  }

  .feedback-modal__icon {
    display: none;
  }

  .section-list {
    display: block;
  }

  .feedback-modal__footer {
    padding-top: 15px;
  }

  .df-button {
    height: 38px;
    font-size: 15px;
  }

  .section-list__left,
  .section-list__right {
    width: 100%;
  }

  .section-list__left {
    margin-bottom: 20px;
  }

  .df-title_h1 {
    font-size: 40px;
  }

  .df-title_h2 {
    font-size: 30px;
  }

  .df-descr {
    font-size: 17px;
  }

  .section-conditions {
    display: block;
  }

  .section-conditions__left,
  .section-conditions__right {
    width: 100%;
  }

  .section-conditions__left {
    padding: 15px;
  }

  .section-conditions__title {
    font-size: 26px;
  }

  .section-conditions__descr {
    font-size: 17px;
  }

  .conditions-list-item__title {
    font-size: 20px;
  }

  .section {
    padding: 30px 0;
  }

  .service-grid-item {
    padding: 15px;
  }

  .df-grid_el_3 .df-grid__item,
  .df-grid__item {
    width: 100%;
  }

  .info-section {
    padding: 30px 0;
    background-size: 300px auto;
    background-position: 100% -50px;
  }

  .footer-contacts__right {
    display: none;
  }

  .footer__logo,
  .site-header__logo {
    width: 50px;
  }

  .feedback-modal {
    width: auto;
    max-width: 520px;
  }
}
