:is(.hero__services-text, .methods__description) b {
  color: #1e659a;
  font-weight: 600;
}

:is(.modal__form, .consultation__form, .diagnostics__form)
  p:not(.modal__warning, .consultation__label) {
  margin: 0;
}

:is(.modal__form, .consultation__form, .diagnostics__form) .wpcf7-spinner {
  position: absolute;
}

.diagnostics__field + p {
  display: contents;
}

.modal__send {
  width: 100%;
}

.modal__input-wrap .wpcf7-form-control-wrap {
  display: block;
}

.modal__input {
  width: 100%;
}

.footer__address a {
  color: #544e4b;
}

.notification {
  background-color: #ffffff;
  z-index: 100;
  position: fixed;
  bottom: 40px;
  left: 50%;
  translate: -50% 0;
  width: 80%;
  padding: 30px;
  border: solid #ccd6dd;
  border-radius: 60px;
  border-width: 3px 3px 7px;
}
.notification:not(._active) {
  display: none;
}
.notification__container {
  width: 100%;
}
.notification__text {
  line-height: 1.2;
  text-wrap: balance;
  margin-top: 0;
}
.notification__link {
  text-decoration: underline;
  text-underline-offset: 2px;
}
.notification__button {
  padding: 19px 30px;
}

@media (max-width: 1439.95px) {
  .notification {
    left: 32px;
    translate: 0;
    width: calc(100% - 64px);
  }
}

@media (max-width: 1023.95px) {
  .notification {
    left: 24px;
    width: calc(100% - 48px);
  }
}

@media (max-width: 767.95px) {
  .notification {
    left: 10px;
    width: calc(100% - 20px);
    padding: 20px;
    border-radius: 40px;
  }
  .notification__text {
    font-size: 18px;
  }
  .notification__button {
    font-size: 18px;
    padding: 18px;
  }
}

.agree {
  font-size: 16px;
  line-height: 20px;
}

.agree input {
  accent-color: #f90100;
  width: 20px;
  height: 20px;
}

.agree label {
  display: inline-block;
}

.agree label span {
  vertical-align: top;
}

.agree a {
  text-decoration: underline;
}

.diagnostics__agree {
  color: #ffffff;
  margin-top: 20px;
}

.diagnostics__agree a {
  color: #ffffff;
}

@media (min-width: 1025px) {
  .diagnostics__form form {
    flex-wrap: wrap;
    max-width: 659px;
  }
}

.consultation__agree {
  margin-top: 20px;
}

.footer__politics:not(:last-child) {
  margin-bottom: 20px;
}

.footer__email-span {
  text-align: center;
}

/* Header phone */
.header__logo {
  max-width: 300px;
}
.header_phone_wrapper,
.header_phone_wrapper:visited {
  background-color: #f4f4f4;
  border: 1px solid #ccd6dd;
  border-radius: 20px;
  padding: 13px 20px;
  display: flex;
  transition: 0.3s;
  flex-shrink: 0;
}
.header_phone_wrapper:hover {
  border: 1px solid #276294;
  transition: 0.3s;
}
.header_phone {
  color: #276294;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 1.2;
}
.mobile_header_phone {
  display: none;
}
@media (max-width: 1200px) {
  .header__block-wrapper {
    display: none;
  }
}
@media (min-width: 768px) and (max-width: 1000px) {
  .btn {
    font-size: 20px;
    padding: 12px 20px;
  }
}
@media (max-width: 767px) {
  .header__logo {
    max-height: 28px;
    max-width: 138px;
  }
  .header_phone_wrapper,
  .header_phone_wrapper:visited {
    padding: 8px 15px;
  }
  .header_phone {
    font-size: 10px;
  }
  .consultation__input {
    max-width: 100%;
  }
}
@media (max-width: 450px) {
  .header_phone_wrapper {
    border: none;
    padding: 8px 8px 6px 6px;
    width: 32px;
    height: 32px;
    background: #276294;
  }
  .mobile_header_phone {
    display: block;
  }
  .header_phone {
    display: none;
  }
}

.footer__logo img {
  width: 100%;
}
.notification__text a {
  text-decoration: underline;
}

/* simple pages */
.simple_page {
  margin-bottom: 50px;
}
.simple_page_title {
  color: #216196;
  font-family: "DIN 2014";
  font-size: 56px;
  font-style: normal;
  font-weight: 300;
  line-height: 120%;
  letter-spacing: 1.12px;
  margin: 60px 0 41px;
}
.simple_page p {
  color: #4c4c4c;
  font-family: "DIN 2014";
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 120%;
  letter-spacing: 0.32px;
  margin-top: 19px;
}
.simple_page li {
  color: #4c4c4c;
  font-family: "DIN 2014";
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 120%;
  letter-spacing: 0.32px;
  margin-bottom: 19px;
}
@media (max-width: 767px) {
  .simple_page_title {
    color: #216196;
    font-family: "DIN 2014";
    font-size: 32px;
    font-style: normal;
    font-weight: 300;
    line-height: 120%;
    letter-spacing: 0.64px;
    margin: 40px 0;
  }
}
