@font-face {
  font-family: Montserrat;
  font-display: swap;
  src: url("../fonts/Montserrat-Black.woff2") format("woff2"), url("../fonts/Montserrat-Black.woff") format("woff");
  font-weight: 900;
  font-style: normal;
}

@font-face {
  font-family: Montserrat;
  font-display: swap;
  src: url("../fonts/Montserrat-ExtraBold.woff2") format("woff2"), url("../fonts/Montserrat-ExtraBold.woff") format("woff");
  font-weight: 800;
  font-style: normal;
}

@font-face {
  font-family: Montserrat;
  font-display: swap;
  src: url("../fonts/Montserrat-ExtraLight.woff2") format("woff2"), url("../fonts/Montserrat-ExtraLight.woff") format("woff");
  font-weight: 200;
  font-style: normal;
}

@font-face {
  font-family: Montserrat;
  font-display: swap;
  src: url("../fonts/Montserrat-Light.woff2") format("woff2"), url("../fonts/Montserrat-Light.woff") format("woff");
  font-weight: 300;
  font-style: normal;
}

@font-face {
  font-family: Montserrat;
  font-display: swap;
  src: url("../fonts/Montserrat-Medium.woff2") format("woff2"), url("../fonts/Montserrat-Medium.woff") format("woff");
  font-weight: 500;
  font-style: normal;
}

@font-face {
  font-family: Montserrat;
  font-display: swap;
  src: url("../fonts/Montserrat-SemiBold.woff2") format("woff2"), url("../fonts/Montserrat-SemiBold.woff") format("woff");
  font-weight: 600;
  font-style: normal;
}

@font-face {
  font-family: Montserrat;
  font-display: swap;
  src: url("../fonts/Montserrat-Regular.woff2") format("woff2"), url("../fonts/Montserrat-Regular.woff") format("woff");
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: Montserrat;
  font-display: swap;
  src: url("../fonts/Montserrat-Thin.woff2") format("woff2"), url("../fonts/Montserrat-Thin.woff") format("woff");
  font-weight: 100;
  font-style: normal;
}

@font-face {
  font-family: Montserrat;
  font-display: swap;
  src: url("../fonts/Montserrat-Bold.woff2") format("woff2"), url("../fonts/Montserrat-Bold.woff") format("woff");
  font-weight: 700;
  font-style: normal;
}

/* Reset and base styles  */

*,
*::before,
*::after {
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}

html {
  height: 100%;
}

body {
  margin: 0;
  font-family: "Montserrat", sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 18px;
  color: #000000;
}

.wrapper {
  height: 100vh;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
}

body > * {
  -ms-flex-negative: 0;
      flex-shrink: 0;
  /* sticky footer */
}

.d-none{
  display: none !important;
}

body.noscroll {
  overflow: hidden;
}

#overlay {
  display: none;
  top: 0;
  right: 0;
  height: 100%;
  width: 100%;
  z-index: 2;
  background-color: rgba(0, 0, 0, 0.35);
  -webkit-transition: 0.5s;
  -o-transition: 0.5s;
  transition: 0.5s;
  position: fixed;
}

#overlay.active {
  display: block;
}

input,
textarea,
button {
  outline: none;
  font-family: inherit;
  padding: 0;
}

input[type=radio],
input[type=checkbox],
input[type=submit] {
  -webkit-appearance: none;
          appearance: none;
  -moz-appearance: none;
}

input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
  -webkit-appearance: none;
          appearance: none;
}

label,
a,
button {
  cursor: pointer;
}

label.error {
  display: none !important;
}

.error {
  border: 1px solid red;
}

a,
a:hover {
  text-decoration: none;
}

svg {
  max-width: 100%;
}

button {
  display: inline-block;
  border: 0;
  padding: 0;
}

h1,
h2,
h3,
h4,
h5,
h6,
p {
  margin: 0;
}

dl,
dt,
dd {
  margin: 0;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

ul {
  margin: 0;
  padding: 0;
  list-style-type: none;
}

fieldset {
  border: none;
  margin: 0;
  padding: 0;
}

legend {
  display: block;
  margin: 0;
  padding: 0;
  border: none;
}

select {
  -moz-appearance: none;
  -webkit-appearance: none;
  appearance: none;
  outline: none;
  cursor: pointer;
}

select:focus {
  outline: none;
}

select::-ms-expand {
  display: none;
}

.container {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 15px;
  padding-right: 15px;
}

.none {
  display: none !important;
}

.list-scrollbar {
  overflow-y: auto;
  scrollbar-color: rgba(153, 166, 183, 0.5) #fff;
  scrollbar-width: thin;
}

.list-scrollbar::-webkit-scrollbar {
  width: 5px;
  height: 5px;
  background-color: #FFFFFF;
}

.list-scrollbar::-webkit-scrollbar-track {
  background-color: #fff;
  border-radius: 4px;
}

.list-scrollbar::-webkit-scrollbar-thumb {
  border-radius: 4px;
  background: rgba(153, 166, 183, 0.5);
}

.form {
  -webkit-transition: height 1s linear;
  -o-transition: height 1s linear;
  transition: height 1s linear;
}

.tr,
.principles__block-image,
.link-tel,
.nav__link,
.modal-btn--bg-red,
.modal-btn {
  -webkit-transition: 0.4s;
  -o-transition: 0.4s;
  transition: 0.4s;
}

.sticky-btn,
.reviews__btn,
.principles__block-image {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

.cookies-row__container {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

.bg {
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

:root {
  --bg-dark: #e3e3e3;
  --bg-boss: #5a5a5a;
  --color-text: #ffffff;
  --color-red: #E93223;
  --bg-dark-2: #fff;
}

.title1 {
  font-weight: 700;
  font-size: 38px;
  line-height: 1.2;
}

.title2 {
  font-weight: 700;
  font-size: 38px;
  line-height: 1.2;
  margin-bottom: 50px;
}

.title3 {
  font-weight: 700;
  font-size: 24px;
  line-height: 1.2;
}

.title4 {
  font-weight: 700;
  font-size: 20px;
  line-height: 1.2;
}

.title5 {
  font-weight: 700;
  font-size: 18px;
  line-height: 30px;
}

.text {
  font-weight: 500;
  font-size: 17px;
  line-height: 26px;
}

.title--white,
.text--white {
  color: white;
}

.txt--white {
  color: #fff;
}

.dark body,
.dark header {
  background: var(--bg-boss);
  color: var(--color-text);
}

.dark header {
  border-bottom: 0.6px solid #444;
  background: #4f4e4e;
}

.dark .night {
  color: var(--color-text);
}

.dark .night-bg {
  background: var(--bg-dark);
}

.dark .night-bg-2{
  background: var(--bg-dark-2);
}

.dark .swiper-button {
  border: 1px solid var(--color-text);
}

.dark .button-prev {
  background-image: url("./../img/icons/arrow_left_white.svg");
}

.dark .button-next {
  background-image: url("./../img/icons/arrow_right_white.svg");
}

.dark .case-slide__comment-text::after {
  border-color: transparent transparent transparent var(--bg-boss);
}

.dark .modal-btn {
  background: var(--bg-boss);
}

.dark .case__container .pagination .swiper-pagination-bullet-active {
  background: #fff;
}

.dark .reviews__container .swiper-pagination .swiper-pagination-bullet-active {
  background: #fff;
}

.dark .contacts__item-btn {
  background: var(--bg-dark);
}

.dark .nav-icon span {
  background: #fff;
}

.dark .nav-icon span::before {
  background: #fff;
}

.dark .nav-icon span::after {
  background: #fff;
}


.modal {
  --transition-time: 0.3s;
  position: fixed;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 1000;
  background-color: rgba(0, 0, 0, 0.5);
  cursor: pointer;
  overflow-y: auto;
  overflow-x: hidden;
  text-align: center;
  opacity: 0;
  visibility: hidden;
  -webkit-transition: opacity var(--transition-time), visibility var(--transition-time);
  -o-transition: opacity var(--transition-time), visibility var(--transition-time);
  transition: opacity var(--transition-time), visibility var(--transition-time);
}

.modal::before {
  content: "";
  display: inline-block;
  vertical-align: middle;
  height: 100%;
}

.modal__container {
  position: relative;
  width: 100%;
  margin: 50px auto;
  display: none;
  vertical-align: middle;
  background-color: #fff;
  border-radius: 20px;
  cursor: default;
  text-align: left;
}

.modal__container--custom {
  max-width: 460px;
  border-radius: 10px;
  padding: 25px;
}

.modal.is-open {
  opacity: 1;
  visibility: visible;
  -webkit-transition: opacity var(--transition-time), visibility var(--transition-time);
  -o-transition: opacity var(--transition-time), visibility var(--transition-time);
  transition: opacity var(--transition-time), visibility var(--transition-time);
}

.modal__container.modal-open {
  display: inline-block;
}

.fade {
  opacity: 0;
  -webkit-transition: opacity var(--transition-time);
  -o-transition: opacity var(--transition-time);
  transition: opacity var(--transition-time);
}

.fade.animate-open {
  opacity: 1;
  -webkit-transition: opacity var(--transition-time);
  -o-transition: opacity var(--transition-time);
  transition: opacity var(--transition-time);
}

.fadeInUp {
  opacity: 0;
  -webkit-transform: translateY(-100px);
      -ms-transform: translateY(-100px);
          transform: translateY(-100px);
  -webkit-transition: opacity var(--transition-time), -webkit-transform var(--transition-time);
  transition: opacity var(--transition-time), -webkit-transform var(--transition-time);
  -o-transition: opacity var(--transition-time), transform var(--transition-time);
  transition: opacity var(--transition-time), transform var(--transition-time);
  transition: opacity var(--transition-time), transform var(--transition-time), -webkit-transform var(--transition-time);
}

.fadeInUp.animate-open {
  opacity: 1;
  -webkit-transform: translateY(0);
      -ms-transform: translateY(0);
          transform: translateY(0);
  -webkit-transition: opacity var(--transition-time), -webkit-transform var(--transition-time);
  transition: opacity var(--transition-time), -webkit-transform var(--transition-time);
  -o-transition: opacity var(--transition-time), transform var(--transition-time);
  transition: opacity var(--transition-time), transform var(--transition-time);
  transition: opacity var(--transition-time), transform var(--transition-time), -webkit-transform var(--transition-time);
}

*:focus {
  /* outline: 3px red solid; */
}

.disable-scroll {
  position: relative;
  overflow: hidden;
  height: 100vh;
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
}

.modal-btn {
  font-weight: 700;
  font-size: 16px;
  line-height: 41px;
  height: 45px;
  cursor: pointer;
  text-align: center;
  padding: 0 50px;
  color: var(--color-red);
  border: 2px solid var(--color-red);
  background: #fff;
  border-radius: 4px;
}
.modal-btn:hover {
  color: #fff;
  background: var(--color-red);
}

.modal-btn--bg-red {
  max-width: 100%;
  color: #fff;
  background: var(--color-red);
}

.modal-btn--bg-red:hover {
  color: var(--color-red);
  background: #fff;
}

.modal-close {
  position: absolute;
  background: transparent;
  top: 10px;
  right: 10px;
}

.mobile-menu {
  z-index: 5;
  position: fixed;
  top: 0;
  left: -100%;
  opacity: 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  padding-top: 60px;
  margin-left: auto;
  margin-right: auto;
  background-color: #fff;
  width: 320px;
  height: 100vh;
  -webkit-transition: all 0.5s ease-in;
  -o-transition: all 0.5s ease-in;
  transition: all 0.5s ease-in;
}

.mobile-menu.active {
  left: 0;
  opacity: 1;
}

.mobale__menu-close {
  position: absolute;
  background-image: url("./../img/icons/close_black.svg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 70px;
  top: 25px;
  left: 33px;
  width: 20px;
  height: 20px;
}

.mobile-menu__item {
  margin-bottom: 15px;
}

.mobile-menu__link {
  font-size: 18px;
  font-weight: 600;
  color: #000;
}

.mobile-menu__link--red {
  color: var(--color-red);
}

.nav-icon {
  display: none;
  width: 30px;
  height: 30px;
  border-radius: 12px;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

.nav-icon span {
  position: relative;
  width: 100%;
  height: 5px;
  background: #000;
  border-radius: 10px;
}

.nav-icon span::before,
.nav-icon span::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 5px;
  background: #000;
  border-radius: 10px;
  -webkit-transition: top 0.2s linear 0.2s, -webkit-transform 0.2s ease-in;
  transition: top 0.2s linear 0.2s, -webkit-transform 0.2s ease-in;
  -o-transition: transform 0.2s ease-in, top 0.2s linear 0.2s;
  transition: transform 0.2s ease-in, top 0.2s linear 0.2s;
  transition: transform 0.2s ease-in, top 0.2s linear 0.2s, -webkit-transform 0.2s ease-in;
}

.nav-icon span::before {
  top: -10px;
}

.nav-icon span::after {
  top: 10px;
}

.nav-icon.active span {
  background: transparent;
}

.nav-icon.active span::before,
.nav-icon.active span::after {
  background: #000;
  top: 0px;
  -webkit-transition: top 0.2s linear, -webkit-transform 0.2s ease-in 0.2s;
  transition: top 0.2s linear, -webkit-transform 0.2s ease-in 0.2s;
  -o-transition: top 0.2s linear, transform 0.2s ease-in 0.2s;
  transition: top 0.2s linear, transform 0.2s ease-in 0.2s;
  transition: top 0.2s linear, transform 0.2s ease-in 0.2s, -webkit-transform 0.2s ease-in 0.2s;
}

.nav-icon.active span::before {
  -webkit-transform: rotate(45deg);
      -ms-transform: rotate(45deg);
          transform: rotate(45deg);
}

.nav-icon.active span::after {
  -webkit-transform: rotate(-45deg);
      -ms-transform: rotate(-45deg);
          transform: rotate(-45deg);
}

.form__title {
  margin-bottom: 20px;
  text-align: center;
  color: #000;
}

.form-block {
  display: block;
  width: 100%;
}

.form-input {
  width: 100%;
  border: 1px solid #E8E8E8;
  border-radius: 3px;
  height: 45px;
  margin-bottom: 15px;
  padding: 0 17px;
  font-weight: 300;
}

.form-button {
  width: 100%;
}

.send-button {
  width: 100%;
}

.success__content {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

.success__title {
  color: #000;
  margin-bottom: 20px;
}

.form-input--message {
  min-height: 220px;
  padding-top: 10px;
  resize: none;
}

.success__subtitle {
  color: #000;
}

.politic__block {
  padding: 100px 0px;
}

.politic__block ul,
.politic__block p {
  font-size: 16px;
  line-height: 20px;
  margin-bottom: 5px;
}

.politic__block a {
  font-weight: 500;
}

.politic__title {
  margin-bottom: 30px;
}

.politic__title4 {
  margin-bottom: 10px;
}

.header {
  background: #fff;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  padding: 25px 0 25px;
  border-bottom: 1px solid #ECECEC;
  z-index: 3;
}

.header__container {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

.logo-text {
  font-size: 22px;
  font-weight: 800;
  color: #000;
}

.logo-text span {
  color: var(--color-red);
}

.nav__list {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

.nav__item:not(:last-child) {
  margin-right: 45px;
}

.nav__link {
  color: #878787;
}

.nav__link:hover {
  color: var(--color-red);
}

.header__tel {
  margin-right: 10px;
}

.link-tel {
  font-weight: 700;
  font-size: 17px;
  line-height: 26px;
  color: #000;
}

.link-tel:hover {
  color: var(--color-red);
}

.header__box-right {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

.theme {
  cursor: pointer;
}

.section {
  padding-bottom: 130px;
}

.deploy {
  padding-top: 86px;
  padding-bottom: 60px;
}

.deploy__container {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

.deploy__image {
  -ms-flex-negative: 0;
      flex-shrink: 0;
  margin-left: -66px;
}

.deploy__desc {
  margin-top: 58px;
  margin-left: -55px;
}

.deploy__desc-title {
  margin-bottom: 35px;
}

.deploy__desc-def {
  max-width: 400px;
  margin-bottom: 20px;
  font-weight: 700;
  font-size: 17px;
  line-height: 26px;
}

.case {
  padding-bottom: 95px;
}

.case__title {
  text-align: center;
}

.case__slider {
  position: relative;
  margin-bottom: 55px;
}

.case__swiper {
  padding: 25px 35px;
  margin: -25px -35px;
}

.case__swiper .swiper-slide {
  opacity: 0;
}

.case__swiper .swiper-slide-prev {
  opacity: 0;
}

.case__swiper .swiper-slide-active {
  opacity: 1;
}

.case__swiper .swiper-slide-next {
  opacity: 1;
}

.case-slide {
  min-height: 420px;
  background: #ffffff;
  -webkit-box-shadow: 0px 4px 25px rgba(0, 0, 0, 0.25);
          box-shadow: 0px 4px 25px rgba(0, 0, 0, 0.25);
  border-radius: 25px;
  padding: 40px 30px 30px;
  background-repeat: no-repeat;
  background-position: center 60px;
  background-size: auto;
}

.case-slide__content {
  font-size: 17px;
  line-height: 21px;
  color: #020202;
}

.case-slide__title {
  font-weight: 600;
  font-size: 25px;
  line-height: 30px;
  color: #000000;
  margin-bottom: 10px;
}

.case-slide__text {
  font-weight: 500;
  margin-bottom: 20px;
}

.case-slide__subtitle {
  font-weight: 700;
  margin-bottom: 10px;
}

.case-slide__subtitle span {
  font-weight: 500;
}

.case-slide__list {
  font-weight: 500;
  font-size: 17px;
  line-height: 21px;
  color: #020202;
  list-style-type: disc;
  padding-left: 20px;
}

.case-slide__list > li:not(:last-child) {
  margin-bottom: 10px;
}

.swiper-button {
  position: absolute;
  top: 50%;
  -webkit-transform: translateY(-50%);
      -ms-transform: translateY(-50%);
          transform: translateY(-50%);
  z-index: 2;
  width: 55px;
  height: 55px;
  border-radius: 50%;
  border: 1px solid var(--color-red);
  background-repeat: no-repeat;
  background-position: center;
  background-size: auto;
  cursor: pointer;
}

.button-prev {
  left: -75px;
  margin-right: 10px;
  background-image: url("./../img/icons/arrow_left_red.svg");
}

.button-next {
  right: -75px;
  background-image: url("./../img/icons/arrow_right_red.svg");
}

.case__btn {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}

.client {
  padding-bottom: 110px;
}

.client__container {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: (1fr)[2];
  grid-template-columns: repeat(2, 1fr);
  gap: 44px;
}

.contacts {
  margin-bottom: 70px;
}

.contacts__container {
  background: #ffffff;
  -webkit-box-shadow: 0px 0px 18.0938px rgba(185, 185, 185, 0.25);
          box-shadow: 0px 0px 18.0938px rgba(185, 185, 185, 0.25);
  border-radius: 7.23753px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  padding: 60px 67px 53px 50px;
}

.contacts__title {
  color: #000000;
  max-width: 365px;
}

.contacts__items {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: (1fr)[2];
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  max-width: 602px;
}

.contacts__item-link {
  background-repeat: no-repeat;
  background-position: 0px 0px;
  background-size: 20px;
  font-weight: 700;
  font-size: 16px;
  line-height: 20px;
  color: #000000;
  padding-left: 30px;
}

.contacts__item-link--phone {
  background-image: url("./../img/icons/let_p.svg");
}

.contacts__item-link--map {
  background-image: url("./../img/icons/let_map.svg");
  display: block;
}

.contacts__item-link--mail {
  background-image: url("./../img/icons/let_email.svg");
}

.contacts__item-text {
  padding-left: 20px;
  font-weight: 400;
  font-size: 16px;
  line-height: 20px;
  color: #C4C4C4;
  padding-left: 30px;
}

.contacts__item-btn {
  display: block;
}

.fast__title {
  text-align: center;
}

.fast__container {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: (1fr)[3];
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.fast__card {
  background: #FFFFFF;
  -webkit-box-shadow: 0px 0px 18.0938px rgba(185, 185, 185, 0.25);
          box-shadow: 0px 0px 18.0938px rgba(185, 185, 185, 0.25);
  border-radius: 7.23753px;
  padding: 30px 40px 20px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

.fast__image {
  margin-bottom: 15px;
}

.fast__text {
  font-weight: 700;
  font-size: 17px;
  line-height: 21px;
  text-align: center;
  color: #000000;
}

.principles__title {
  margin-bottom: 38px;
}

.principles__title span {
  color: var(--color-red);
}

.principles__list {
  -webkit-column-count: 2;
     -moz-column-count: 2;
          column-count: 2;
  margin-bottom: 85px;
}

.principles__item {
  background-image: url("./../img/icons/red-galka.svg");
  background-position: 0px 5px;
  background-repeat: no-repeat;
  background-size: 35px;
  padding-left: 50px;
  font-weight: 400;
  font-size: 17px;
  line-height: 26px;
  padding-bottom: 10px;
  padding-top: 10px;
}

.principles__block {
  background: #FFFFFF;
  -webkit-box-shadow: 0px 0px 25px rgba(185, 185, 185, 0.25);
          box-shadow: 0px 0px 25px rgba(185, 185, 185, 0.25);
  border-radius: 10px;
  padding: 12px 20px 20px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  max-width: 745px;
  margin-left: auto;
  margin-right: auto;
}

.principles__block-content {
  font-weight: 500;
  font-size: 14px;
  line-height: 21px;
  color: #000000;
}

.principles__block-image {
  -ms-flex-negative: 0;
      flex-shrink: 0;
  background: #FFFFFF;
  margin-left: auto;
  border: 1px solid #C4C4C4;
  width: 75px;
  height: 75px;
  border-radius: 50%;
}

.principles__block-image:hover {
  background-color: var(--color-red);
}

.reviews__title {
  text-align: center;
  margin-bottom: 32px;
}

.reviews__container {
  position: relative;
  margin-bottom: 48px;
}

.reviews__container .swiper-pagination {
  bottom: -25px;
  z-index: 2;
}

.reviews__container .swiper-pagination .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
}

.reviews__container .swiper-pagination .swiper-pagination-bullet-active {
  background: #666666;
}

.reviews__swiper {
  padding: 20px;
  padding-bottom: 30px;
}

.reviews__slide {
  background: #FFFFFF;
  -webkit-box-shadow: 0px 0px 25px rgba(185, 185, 185, 0.25);
          box-shadow: 0px 0px 25px rgba(185, 185, 185, 0.25);
  border-radius: 10px;
  padding: 30px 30px 45px;
}

.reviews__name {
  width: -webkit-max-content;
  width: -moz-max-content;
  width: max-content;
  font-weight: 700;
  font-size: 13px;
  line-height: 20px;
  color: #000000;
  margin-bottom: 10px;
  padding-bottom: 5px;
  border-bottom: 2px solid var(--color-red);
}

.reviews__text {
  font-weight: 500;
  font-size: 14px;
  line-height: 21px;
  color: #000000;
}

.inner {
  position: relative;
}

.reviews__swiper-btn .case__swiper-button {
  top: 45%;
}

.ban-box-text {
  -ms-flex-negative: 0;
      flex-shrink: 0;
}

.ban-box-text--mba {
  margin-bottom: auto;
}

.box-overlay {
  position: relative;
  -webkit-transition: 0.4s;
  -o-transition: 0.4s;
  transition: 0.4s;
}

.box-overlay:hover::before {
  content: "";
  position: absolute;
  background: #000000;
  opacity: 0.61;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.ban-box-text {
  background: #ffffff;
  height: 44px;
  padding: 0 23px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
      align-items: center;
  -webkit-transform: skewX(-20deg);
  -ms-transform: skewX(-20deg);
      transform: skewX(-20deg);
}

.ban-box-text .text {
  font-weight: 500;
  font-size: 17px;
  line-height: 24px;
  text-transform: uppercase;
  color: #000000;
  -webkit-transform: skewX(20deg);
  -ms-transform: skewX(20deg);
      transform: skewX(20deg);
}

.mb-1 {
  margin-bottom: 70px;
}

.mb-3 {
  margin-bottom: 45px;
}

.mb-4 {
  margin-bottom: 60px;
}

.passibility {
  padding-bottom: 220px;
}

.passibility__title {
  margin-bottom: 64px;
  text-align: center;
}

.footer {
  background: #353535;
  padding-top: 37px;
  padding-bottom: 37px !important;
}

.footer__container {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
}

.footer__logo{
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.footer__logo-text {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
}

.footer__logo-text span {
  color: var(--color-red);
}

.footer__box div, .footer__box a{
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 400;
  font-size: 12px;
  line-height: 15px;

  color: #FFFFFF;
}

.footer__company {
  font-weight: 600;
  font-size: 8px;
  line-height: 10px;
  color: #FFFFFF;
  margin-bottom: 8px;
  max-width: 120px;
  display: block;
}

.footer__link {
  color: #fff;
}

.sticky-btn {
  padding: 20px 0 20px;
  background: rgba(255, 255, 255, 0.8);
  -webkit-backdrop-filter: blur(10px) saturate(160%);
          backdrop-filter: blur(10px) saturate(160%);
  -webkit-box-shadow: 0px -2px 10px rgba(0, 0, 0, 0.18);
          box-shadow: 0px -2px 10px rgba(0, 0, 0, 0.18);
  position: fixed;
  opacity: 0;
  left: 0;
  bottom: 0;
  width: 100%;
  height: -webkit-max-content;
  height: -moz-max-content;
  height: max-content;
  -webkit-transition: opacity 0.5s ease-in;
  -o-transition: opacity 0.5s ease-in;
  transition: opacity 0.5s ease-in;
  z-index: -1;
  overflow: hidden;
}

.sticky-btn.sticky-btn--active {
  opacity: 1;
  overflow: visible;
  z-index: 2;
}

.sticky-btn__btn {
  background: #E93223;
  color: #FFFFFF;
  border: 1px solid transparent;
}

.sticky-btn__btn:hover {
  color: #E93223;
  background: #fff;
  border: 1px solid #E93223;
}

.cookies-row {
  display: none;
  padding: 18px 0 18px;
  position: relative;
  z-index: 3;
  -webkit-box-shadow: 0px -2px 10px rgba(0, 0, 0, 0.25);
          box-shadow: 0px -2px 10px rgba(0, 0, 0, 0.25);
  position: fixed;
  background: #fff;
  width: 100%;
  bottom: 0;
  left: 0;
}

.cookies-row p {
  font-weight: 500;
  font-size: 17px;
  line-height: 18px;
  color: #000000;
}

.cookies-row.cookies-row--hide {
  display: block;
}

.footer__box-quote {
  font-weight: 500;
  font-size: 10px;
  line-height: 10px;
  color: #FFFFFF;
  max-width: 230px;
}

.footer__quote {
  margin-bottom: 10px;
}

.main_block_container{
  padding-left: 50px;
  padding-right: 50px;
  padding-top: 80px;
  padding-bottom: 80px;
  display: flex;
  justify-content: center;
  width: 100%;
}

.main_block_content_block{
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: 500px;
  column-gap: 38px;
  row-gap: 20px;
}

.logo_box{
  padding-right: 108px;
  width: 500px
}

.logo_box img{
  height: 100%;
  width: 100%;
}

.main_block_content h2{
  text-align: left;
}

.main_block_content_block_item h4{
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 700;
  font-size: 28px;
  line-height: 34px;
  color: #E23334;

}

.main_block_content_block_item p{
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 700;
  font-size: 17px;
  line-height: 21px;
  padding-top: 5px;
}

#dark-main-logo{
  display: none;
}

#map{
  position: relative;
  width: 100%;
  border: none;
  border-radius: 10px;
  height: 518px;
}

.map-section{
  margin-bottom: 130px;
}

.faq>.container>h2{
  text-align: left;
}

.faq-item{
  border: 1px solid;
  filter: drop-shadow(0px 0px 18.0938px rgba(185, 185, 185, 0.25));
  border-radius: 7.23753px;
  padding: 34px 50px;
  cursor: pointer;
  margin-bottom: 7px;
}

.faq-item:hover>.faq-item-header{
  color:red
}

.faq-item>.faq-item-header>h4{
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 700;
  font-size: 17px;
  line-height: 21px;
}

.faq-item-text{
  margin-top: 20px;
}

.faq-item-header{
  display: flex;
  justify-content: space-between;
}

.faq-item>p{
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 400;
  font-size: 17px;
  line-height: 25px;
}

.plus{
  font-size: 40px;
}

.minus{
  font-size: 50px;
}

.faq{
  margin-bottom: 110px;
}

.reviews__swiper>.swiper-wrapper>.swiper-slide{
  height: auto !important;
}

.reviews__slide{
  height: 100%;
}


/* l */

/* T */

/* T */

/* M */

/* XX */

/* X */

/* XS */

/* l */

/* T */

/* MN */

/* M */

/* XX */

/* X */

/* XS */

@media (max-width: 1350px) {
  .button-prev {
    left: 0;
  }

  .button-next {
    right: 0;
  }}

@media (max-width: 1199px) {
  .main_block_content_block {
    column-gap: 30px;
    row-gap: 18px;
  }
  .main_block_container{
    padding-left: 0px;
    padding-right: 00px;
    padding-top: 80px;
    padding-bottom: 80px;
    display: flex;
  }
  .logo_box {
    padding-right: 50px;
    width: auto;
  }
  .main_block_content_block_item p{
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 700;
    font-size: 14px;
    line-height: 17px;
  }
  .main_block_content_block_item h4{
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 700;
    font-size: 28px;
    line-height: 34px;
  }
  .main_block_content h2{
    margin-bottom: 20px;
  }
  .title1 {
    font-size: calc(22px + (16) * ((100vw - 320px) / (1200 - 320)));
  }

  .title2 {
    font-size: calc(20px + (18) * ((100vw - 320px) / (1200 - 320)));
  }

  .title3 {
    font-size: calc(20px + (4) * ((100vw - 320px) / (1200 - 320)));
  }

  .title4 {
    font-size: calc(18px + (2) * ((100vw - 320px) / (1200 - 320)));
  }

  .nav__item:not(:last-child) {
    margin-right: 45px;
  }

  .section {
    padding-bottom: calc(50px + (80) * ((100vw - 320px) / (1200 - 320)));
  }

  .deploy__image {
    max-width: 690px;
    margin-left: 0;
  }

  .deploy__desc {
    margin-top: 0;
  }

  .deploy__desc-title {
    margin-bottom: 30px;
  }

  .client {
    padding-bottom: calc(50px + (60) * ((100vw - 320px) / (1200 - 320)));
  }

  .client__container {
    gap: 30px;
  }

  .contacts__container {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
  }

  .contacts__title {
    max-width: 100%;
  }

  .principles__list {
    margin-bottom: calc(30px + (40) * ((100vw - 320px) / (1200 - 320)));
  }

  .mb-5 {
    font-size: 12px;
  }

  .container {
    max-width: 1024px;
  }

  .container {
    max-width: 1024px;
  }}

@media (max-width: 1024px) {
  .modal__container {
    width: 90%;
  }}

@media (max-width: 1023px) {
  .nav__item:not(:last-child) {
    margin-right: 20px;
  }

  .container {
    max-width: 992px;
  }

  .container {
    max-width: 992px;
  }}

@media (max-width: 992px) {
  .nav-icon {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    z-index: 6;
  }

  .nav {
    display: none;
  }}

@media (max-width: 991px) {
  .deploy__container {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
  }

  .deploy__desc {
    margin-left: 0;
  }

  .case__title {
    text-align: start;
  }

  .case__slider {
    max-width: 395px;
    margin-left: auto;
    margin-right: auto;
  }

  .case__swiper .swiper-slide {
    opacity: 1;
  }

  .case__swiper .swiper-slide-prev {
    opacity: 1;
  }

  .case-slide {
    padding: 30px 20px 20px;
    min-height: -webkit-max-content;
    min-height: -moz-max-content;
    min-height: max-content;
    background-position: center 25px;
  }

  .case-slide__content {
    font-size: 12px;
    line-height: 15px;
  }

  .case-slide__title {
    font-size: 17px;
    margin-bottom: 20px;
  }

  .case-slide__list {
    font-size: 12px;
    line-height: 15px;
  }

  .case__swiper-btn {
    position: absolute;
    top: -40px;
    -webkit-transform: unset;
        -ms-transform: unset;
            transform: unset;
    right: -15%;
    width: -webkit-max-content;
    width: -moz-max-content;
    width: max-content;
    z-index: 2;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
  }

  .swiper-button {
    position: static;
  }

  .button-prev {
    left: 0;
  }

  .button-next {
    right: 0;
  }

  .reviews__title {
    text-align: start;
  }

  .reviews__swiper-btn {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    width: -webkit-max-content;
    width: -moz-max-content;
    width: max-content;
    margin-left: auto;
    margin-bottom: 32px;
    margin-top: -47px;
    display: flex;
    z-index: 2;
  }

  .mb-1 {
    margin-bottom: 30px;
  }

  .container {
    max-width: 768px;
  }

  .container {
    max-width: 768px;
  }}

@media (max-width: 767px) {
  .faq-item-title{
    font-size: 14px;
    line-height: 17px;
  }
  .faq-item-text{
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 400;
    font-size: 14px;
    line-height: 17px;
  }
  .faq-item{
    padding: 28px 30px;
  }
  .logo_box{
    display: flex;
    justify-content: center;
    padding-right: 0;
    margin-bottom: 30px;
  }
  .logo_box img{
    width: 64%;
    margin-right: -40px;
  }
  .main_block_container{
    flex-direction: column;
    padding: 10px 0px;
  }
  .main_block_content_block_item p{
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 700;
    font-size: 13px;
    line-height: 16px;
  }
  .main_block_content_block_item h4{
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 700;
    font-size: 28px;
    line-height: 34px;
  }
  .main_block_content_block{
    width: auto;
    column-gap: 13px;
    row-gap: 15px;
  }
  .header {
    padding: 15px 0 15px;
  }

  .case {
    padding-bottom: 70px;
  }

  .client__container {
    -ms-grid-columns: 1fr;
    grid-template-columns: 1fr;
  }

  .contacts {
    margin-bottom: 50px;
  }

  .contacts__items {
    -ms-grid-columns: 1fr;
    grid-template-columns: 1fr;
  }

  .fast__container {
    -ms-grid-columns: (1fr)[2];
    grid-template-columns: repeat(2, 1fr);
  }

  .principles__title {
    margin-bottom: 20px;
  }

  .principles__list {
    -webkit-column-count: 1;
       -moz-column-count: 1;
            column-count: 1;
    margin-bottom: 40px;
  }

  .principles__item {
    padding-bottom: 10px;
    padding-top: 5px;
    background-size: 30px;
  }

  .reviews__title {
    max-width: 450px;
  }

  .ban-box-text--mba {
    position: absolute;
    bottom: 20px;
  }

  .passibility__title {
    margin-bottom: 40px;
  }

  .container {
    max-width: 576px;
  }

  .container {
    max-width: 576px;
  }}

@media (max-width: 747px) {
  .passibility {
    padding-bottom: 140px;
  }}

@media (max-width: 599px) {
  .header__tel {
    display: none;
  }}

@media (max-width: 575px) {
  body {
    font-size: 12px;
    line-height: 16px;
  }

  .title2 {
    margin-bottom: 20px;
  }

  .mobale__menu-close {
    top: 22px;
    left: 39px;
    width: 17px;
    height: 17px;
  }

  .nav-icon {
    width: 25px;
    height: 25px;
  }

  .nav-icon span {
    height: 3px;
  }

  .nav-icon span::before,
  .nav-icon span::after {
    height: 3px;
  }

  .nav-icon span::before {
    top: -8px;
  }

  .nav-icon span::after {
    top: 8px;
  }

  .politic__block {
    padding: 70px 0px;
  }

  .deploy__desc-title {
    margin-bottom: 20px;
  }

  .deploy__desc-def {
    margin-bottom: 10px;
  }

  .case__swiper {
    padding: 25px 10px;
    margin: -35px -10px;
  }

  .case-slide {
    padding: 170px 12px 20px;
  }

  .case-slide__title {
    margin-bottom: 5px;
    line-height: 17px;
  }

  .case-slide__text {
    margin-bottom: 10px;
  }

  .case__swiper-btn {
    right: 0%;
    top: 0px;
  }

  .swiper-button {
    width: 35px;
    height: 35px;
  }

  .fast__container {
    gap: 15px;
  }

  .fast__card {
    padding: 30px 25px 20px;
  }

  .reviews__title {
    max-width: 320px;
  }

  .reviews__container .swiper-pagination .swiper-pagination-bullet {
    width: 8px;
    height: 8px;
  }

  .reviews__swiper {
    padding: 10px;
  }

  .passibility {
    padding-bottom: 40px;
  }

  .footer {
    padding-top: 20px;
    padding-bottom: 20px;
  }

  .sticky-btn {
    padding: 15px 0 15px;
  }

  .cookies-row {
    padding: 10px 0 10px;
  }

  .cookies-row p {
    font-size: 10px;
    line-height: 18px;
    max-width: 215px;
  }

  .cookies-row__btn {
    font-size: 14px;
    line-height: 36px;
    height: 38px;
    padding: 0 30px;
  }

  .container {
    max-width: 425px;
  }

  .container {
    max-width: 425px;
  }}

@media (max-width: 424px) {
  .title5 {
    font-size: 16px;
  }

  .modal-btn {
    font-size: 14px;
  }

  .politic__block ul,
  .politic__block p {
    font-size: 12px;
    line-height: 18px;
  }

  .politic__title {
    margin-bottom: 15px;
  }

  .politic__title4 {
    margin-bottom: 5px;
  }

  .deploy__desc-def {
    font-size: 16px;
    line-height: 22px;
  }

  .case {
    padding-bottom: 30px;
  }

  .case__slider {
    margin-bottom: 45px;
  }

  .case-slide__list > li:not(:last-child) {
    margin-bottom: 5px;
  }

  .button-prev {
    margin-right: 5px;
  }

  .contacts {
    margin-bottom: 30px;
  }

  .contacts__item-link {
    font-size: 14px;
    background-size: 18px;
  }

  .contacts__item-text {
    font-size: 14px;
  }

  .contacts__item-btn {
    font-size: 12px;
  }

  .fast__container {
    -ms-grid-columns: 1fr;
    grid-template-columns: 1fr;
  }

  .principles__item {
    font-size: 16px;
    line-height: 22px;
  }

  .principles__block {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
  }

  .principles__block-image {
    margin-left: unset;
    width: 65px;
    height: 65px;
  }

  .principles__block-icon {
    width: 35px;
    height: 35px;
  }

  .reviews__title {
    margin-bottom: 20px;
    max-width: 310px;
  }

  .reviews__container {
    margin-bottom: 30px;
  }

  .reviews__swiper-btn {
    margin-bottom: 0px;
  }

  .ban-box-text .text {
    font-size: 14px;
  }

  .mb-2 {
    margin-bottom: 40px;
  }

  .passibility__title {
    margin-bottom: 30px;
  }

  .cookies-row__btn {
    font-size: 10px;
    padding: 6px 17px;
    line-height: 16px;
    height: 30px;
  }

  .footer__box-quote {
    max-width: 160px;
  }

  .container {
    max-width: 375px;
  }

  .container {
    max-width: 375px;
  }}

@media (max-width: 374px) {
  .deploy__desc-def {
    font-size: 14px;
    line-height: 20px;
  }

  .contacts__container {
    padding: 30px 20px;
    width: 300px;
  }


  .principles__item {
    font-size: 14px;
    line-height: 20px;
  }
  .case__btn .modal-btn{
    padding: 0 25px;
  }
  .principles__block-content {
    font-size: 13px;
    line-height: 1.3;
  }

  .reviews__slide {
    padding: 20px 15px 20px;
  }

  .mb-5 {
    margin-bottom: 10px;
  }

  .footer__logo {
    margin-right: 20px;
  }

  .footer__link {
    display: block;
  }

  .container {
    width: 320px;
  }

  .container {
    width: 320px;
  }}

/* ===== JTBD hero heading (added) ===== */
.deploy__container { flex-direction: column; align-items: stretch; }
.hero-heading {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto 24px auto;
  padding: 0 50px;
  box-sizing: border-box;
}
.hero-heading__title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 40px;
  line-height: 1.18;
  color: #000000;
  margin: 0 0 18px 0;
  text-align: center;
}
.hero-heading__title b,
.hero-heading__title span.accent { color: #E93223; }
.hero-heading__subtitle {
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  font-style: italic;
  font-size: 18px;
  line-height: 1.5;
  color: #000000;
  margin: 0 0 0 auto;
  max-width: 600px;
  text-align: right;
  border-right: 3px solid #E93223;
  padding-right: 18px;
}
@media (max-width: 1200px) {
  .hero-heading { padding: 0 20px; }
  .hero-heading__title { font-size: calc(24px + (16) * ((100vw - 320px) / (1200 - 320))); }
  .hero-heading__subtitle { font-size: calc(14px + (4) * ((100vw - 320px) / (1200 - 320))); }}
@media (max-width: 768px) {
  .hero-heading { padding: 0 15px; margin-bottom: 16px; }}
/* dark theme: reuse existing .dark scoping; .accent stays brand red */
.dark .hero-heading__title,
.dark .hero-heading__subtitle { color: var(--color-text); }
.dark .hero-heading__title b,
.dark .hero-heading__title span.accent { color: #E93223; }

/* ===== services block: centered column headings ===== */
#services .client__block-title { text-align: center; }

/* ===== merged block + services: align columns, equal headings ===== */
#why-failed .client__block-title,
#services .client__block-title {
  min-height: 2.4em;          /* вмещает 2 строки заголовка, выравнивает старт плиток */
  display: flex;
  align-items: flex-start;
  margin-bottom: 18px;
}
#services .client__block-title { justify-content: center; }
/* плитки одинаковой высоты внутри колонки */
#why-failed .client__block,
#services .client__block { display: flex; flex-direction: column; }


/* ============================================================
   СЛОЙ ДОВОДКИ ОФОРМЛЕНИЯ (бывш. polish.css) — влит в style.css.
   Идёт ПОСЛЕ базовых правил, поэтому порядок каскада сохранён.
   Единая система теней/радиусов, типографика, состояния наведения.
   Адаптивные размеры из медиа-запросов выше намеренно не трогаются.
   ============================================================ */

:root{
  --red:#E93223;
  --red-deep:#C81E12;
  --ink:#16181d;
  --ink-soft:#3d424c;
  --muted:#8b919c;
  --line:#e9ebef;
  --line-soft:#f1f2f5;
  --shadow-sm:0 1px 2px rgba(20,23,28,.04), 0 4px 14px rgba(20,23,28,.05);
  --shadow:0 2px 8px rgba(20,23,28,.05), 0 18px 44px rgba(20,23,28,.08);
  --shadow-red:0 8px 22px rgba(233,50,35,.26);
  --ease:cubic-bezier(.22,.61,.36,1);
}

/* ---- base / global ------------------------------------------------- */
html{ scroll-behavior:smooth; scroll-padding-top:96px; }
body{
  color:var(--ink);
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
  text-rendering:optimizeLegibility;
  font-feature-settings:"kern" 1,"liga" 1;
}
::selection{ background:rgba(233,50,35,.16); color:var(--ink); }
img{ -webkit-user-drag:none; }

/* ---- typography ---------------------------------------------------- */
.title1,.title2,.title3,.title4{ letter-spacing:-.018em; }
.title2{ text-wrap:balance; }
/* keep style.css's compact mobile heading gap (20px @<=767px) intact */
@media (min-width:768px){ .title2{ margin-bottom:46px; }}
/* desktop section-title size lives in the TYPE SCALE block at the end */

/* ---- header -------------------------------------------------------- */
.header{
  padding:15px 0;
  background:rgba(255,255,255,.82);
  -webkit-backdrop-filter:saturate(180%) blur(14px);
  backdrop-filter:saturate(180%) blur(14px);
  border-bottom:1px solid var(--line);
}
.logo-text{ font-weight:800; letter-spacing:-.012em; }
.nav__link{
  position:relative;
  font-weight:600;
  font-size:15px;
  color:var(--muted);
}
.nav__link::after{
  content:""; position:absolute; left:0; right:0; bottom:-6px; height:2px;
  background:var(--red); border-radius:2px;
  transform:scaleX(0); transform-origin:left;
  transition:transform .3s var(--ease);
}
.nav__link:hover{ color:var(--ink); }
.nav__link:hover::after{ transform:scaleX(1); }
.link-tel{ font-size:16px; letter-spacing:-.01em; }
.theme{ opacity:.82; transition:opacity .25s var(--ease), transform .3s var(--ease); }
.theme:hover{ opacity:1; transform:rotate(-14deg); }

/* ---- buttons ------------------------------------------------------- */
.modal-btn{
  font-size:15px; font-weight:700; letter-spacing:.012em;
  height:48px; line-height:44px; padding:0 38px;
  border:1.5px solid var(--red); border-radius:10px;
  transition:background .28s var(--ease), color .28s var(--ease),
             box-shadow .28s var(--ease), transform .2s var(--ease);
}
.modal-btn:hover{ background:var(--red); color:#fff; box-shadow:var(--shadow-red); transform:translateY(-1px); }
.modal-btn:active{ transform:translateY(0); box-shadow:none; }
.sticky-btn{ padding:15px 0; }
.sticky-btn__btn{ border:1.5px solid var(--red); border-radius:10px; box-shadow:var(--shadow-red); }

/* ---- hero ---------------------------------------------------------- */
@media (min-width:1200px){
  .deploy{ padding-top:74px; padding-bottom:34px; }
  .section{ padding-bottom:108px; }}
.hero-heading__subtitle{ color:var(--ink-soft); line-height:1.55; }
.main_block_container{ padding-top:54px; padding-bottom:18px; }
.main_block_content h2.title2{ margin-bottom:24px; }
.main_block_content_block_item h4{ color:var(--red); font-size:30px; letter-spacing:-.022em; }
.main_block_content_block_item p{ color:var(--ink-soft); font-weight:600; line-height:1.4; }

/* ---- principles ---------------------------------------------------- */
.principles__item{ color:var(--ink-soft); line-height:1.55; }
.principles__title span{ color:var(--red); }

/* book / personal-site CTA banner */
.principles__block{ border-radius:16px; box-shadow:var(--shadow); padding:22px 26px; border:1px solid var(--line-soft); text-decoration:none; color:inherit; transition:box-shadow .3s var(--ease), transform .3s var(--ease); }
.principles__block:hover{ box-shadow:0 14px 34px rgba(20,23,28,.13); transform:translateY(-2px); }
.principles__block-content-text b{ color:var(--ink); }
/* персональный сайт: круглый аватар вместо красной стрелки.
   Обводка задана непрозрачно-тёмной, чтобы читалась и на белой карточке
   (светлая тема), и на светло-серой (тёмная тема). */
.principles__block-image{
  width:64px; height:64px;
  padding:0; overflow:hidden;
  background:none;
  border:2px solid rgba(20,23,28,.14);
  box-shadow:0 3px 10px rgba(20,23,28,.10);
  transition:border-color .3s var(--ease), transform .3s var(--ease), box-shadow .3s var(--ease);
}
.principles__block-image img{ width:100%; height:100%; object-fit:cover; border-radius:50%; display:block; }
.principles__block:hover .principles__block-image{ border-color:var(--red); box-shadow:var(--shadow-red); }
.client__block-title{ letter-spacing:-.015em; }

/* ---- cases --------------------------------------------------------- */
.case-slide{ border-radius:18px; box-shadow:var(--shadow); }
.case-slide__title{ letter-spacing:-.015em; line-height:1.25; }
.case-slide__text{ color:var(--ink-soft); line-height:1.5; }
.case-slide__subtitle{ color:var(--red); }

/* swiper nav */
.swiper-button{
  border:1.5px solid var(--red);
  transition:background-color .28s var(--ease), box-shadow .28s var(--ease), transform .2s var(--ease);
}
/* keep the compact 35px arrows on phones (style.css: <=575px); resize only above */
@media (min-width:576px){ .swiper-button{ width:50px; height:50px; }}
.swiper-button:hover{ background-color:var(--red); box-shadow:var(--shadow-red); transform:translateY(-50%) scale(1.04); }
@media (max-width:991px){ .swiper-button:hover{ transform:scale(1.04); }}
.button-prev:hover{ background-image:url("./../img/icons/arrow_left_white.svg"); }
.button-next:hover{ background-image:url("./../img/icons/arrow_right_white.svg"); }

/* ---- reviews ------------------------------------------------------- */
.reviews__slide{
  border-radius:16px; box-shadow:var(--shadow-sm);
  border:1px solid var(--line-soft);
  transition:box-shadow .3s var(--ease), transform .25s var(--ease);
}
/* keep the tight card padding on very small phones (style.css: <=374px) */
@media (min-width:375px){ .reviews__slide{ padding:32px 30px 36px; }}
.reviews__slide:hover{ box-shadow:var(--shadow); transform:translateY(-2px); }
.reviews__name{ font-size:13px; letter-spacing:.02em; color:var(--ink); }
.reviews__text{ color:var(--ink-soft); line-height:1.62; }
.reviews__container .swiper-pagination .swiper-pagination-bullet{ background:#d4d7dd; opacity:1; transition:background .25s var(--ease); }
.reviews__container .swiper-pagination .swiper-pagination-bullet-active{ background:var(--red); }

/* ---- contacts ------------------------------------------------------ */
.contacts__container{ border-radius:18px; box-shadow:var(--shadow); gap:48px; align-items:center; }
@media (min-width:1200px){ .contacts__container{ padding:52px 56px; }}
@media (max-width:1199px){ .contacts__container{ gap:30px; }}
.contacts__title.title2{ margin-bottom:0; }
.contacts__item-link{ color:var(--ink); transition:color .25s var(--ease); }
.contacts__item-link:hover{ color:var(--red); }
.contacts__item-text{ color:var(--muted); }

/* ---- why-us cards -------------------------------------------------- */
.fast__container{ gap:24px; }
.fast__card{
  border-radius:16px; border:1px solid var(--line-soft); box-shadow:var(--shadow-sm);
  transition:box-shadow .3s var(--ease), transform .25s var(--ease);
}
@media (min-width:1200px){ .fast__card{ padding:34px 28px 28px; }}
.fast__card:hover{ box-shadow:var(--shadow); transform:translateY(-3px); }
.fast__image{ margin-bottom:18px; }
.fast__text{ color:var(--ink); line-height:1.4; }

/* ---- faq ----------------------------------------------------------- */
.faq-item{
  border:1px solid var(--line); border-radius:14px;
  filter:none; box-shadow:var(--shadow-sm); margin-bottom:12px;
  transition:box-shadow .3s var(--ease), border-color .3s var(--ease);
}
@media (min-width:1200px){ .faq-item{ padding:28px 34px; }}
.faq-item:hover{ border-color:#dfe1e6; box-shadow:var(--shadow); }
.faq-item:hover>.faq-item-header{ color:inherit; }
.faq-item>.faq-item-header>h4{ letter-spacing:-.01em; transition:color .25s var(--ease); }
.faq-item:hover .faq-item-title{ color:var(--red); }
.faq-item-header{ align-items:center; gap:24px; }
.faq-item-text{ color:var(--ink-soft); line-height:1.62; }
.plus,.minus{ color:var(--red); font-weight:300; line-height:1; }
.plus{ font-size:30px; }
.minus{ font-size:34px; }

/* ---- footer -------------------------------------------------------- */
.footer{ background:#1a1c21; }
@media (min-width:1200px){ .footer{ padding:36px 0; }}
.footer__link{ transition:color .25s var(--ease); }
.footer__link:hover{ color:var(--red); }

/* ---- modal / forms ------------------------------------------------- */
.modal__container--custom{ border-radius:16px; box-shadow:0 30px 90px rgba(20,23,28,.30); }
.form-input{ border:1px solid var(--line); border-radius:8px; transition:border-color .2s var(--ease), box-shadow .2s var(--ease); }
.form-input:focus{ border-color:var(--red); box-shadow:0 0 0 3px rgba(233,50,35,.12); }
.modal-close{ transition:transform .25s var(--ease), opacity .25s var(--ease); opacity:.6; border-radius:8px; }
.modal-close:hover{ opacity:1; transform:rotate(90deg); }

/* ---- cookies ------------------------------------------------------- */
.cookies-row{ box-shadow:0 -2px 22px rgba(20,23,28,.10); }
.cookies-row p{ color:var(--ink-soft); }

/* ---- dark theme: refined neutral palette (cards stay light for legible
   black body copy already authored in style.css) -------------------- */
.dark{ --bg-boss:#23262d; --bg-dark:#eef0f3; --bg-dark-2:#eef0f3; --color-text:#f1f3f6; }
.dark .header{ background:rgba(28,31,37,.85); border-bottom:1px solid #30343c; }
.dark .footer{ background:#15171b; }
.dark .nav__link{ color:#b7bcc5; }
.dark .nav__link:hover{ color:#fff; }
.dark .reviews__slide,
.dark .faq-item{ border-color:rgba(0,0,0,.06); }

/* ---- reviews: stable nav buttons (desktop) -------------------------------
   Was: arrows absolutely positioned at top:50% of a variable-height
   container, so changing slide -> container reflow -> buttons jumped.
   Now they sit in the header row, in normal flow -> rock-steady. */
@media (min-width:992px){
  .reviews__box{
    display:flex; align-items:center; justify-content:space-between;
    gap:24px; margin-bottom:34px;
  }
  .reviews__title{ margin-bottom:0; text-align:left; }
  .reviews__swiper-btn{ display:flex; gap:14px; flex-shrink:0; margin:0; }
  .reviews__swiper-btn .swiper-button{
    position:static; transform:none; top:auto; left:auto; right:auto; margin:0;
  }
  .reviews__swiper-btn .swiper-button:hover{ transform:scale(1.06); }}

/* ---- why-failed / services: balanced two-panel lists --------------------
   Replaces the ragged grid of mismatched tiles (bold only on the left).
   Two equal-styled panels, top-aligned; every item carries the same
   leading marker + bold lead, so both columns read consistently. */
/* equal-height panels: both columns stretch to the taller one */
.client__container--lists{ align-items:stretch; }
.client__container--lists .info-panel{ display:flex; flex-direction:column; }
.info-panel{
  background:#fff;
  border:1px solid var(--line);
  border-radius:16px;
  box-shadow:var(--shadow-sm);
  padding:30px 32px 14px;
}
@media (max-width:991px){ .info-panel{ padding:24px 22px 8px; }}
.info-panel .client__block-title{ letter-spacing:-.015em; margin-bottom:6px; }
.pitfall-list{ list-style:none; margin:0; padding:0; }
.pitfall-item{
  position:relative;
  padding:18px 0 18px 40px;
  border-top:1px solid var(--line-soft);
}
.pitfall-item:first-child{ border-top:0; }
.pitfall-item::before{
  content:""; position:absolute; left:0; top:18px;
  width:24px; height:24px; border-radius:7px;
  background-color:rgba(233,50,35,.10);
  background-repeat:no-repeat; background-position:center;
}
.pitfall-item--x::before{
  background-image:url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20width='11'%20height='11'%20viewBox='0%200%2011%2011'%20fill='none'%20stroke='%23E93223'%20stroke-width='2'%20stroke-linecap='round'%3E%3Cpath%20d='M2.5%202.5l6%206M8.5%202.5l-6%206'/%3E%3C/svg%3E");
  background-size:11px 11px;
}
.pitfall-item--check::before{
  background-image:url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20width='13'%20height='13'%20viewBox='0%200%2013%2013'%20fill='none'%20stroke='%23E93223'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpath%20d='M2.5%207l2.6%202.6L10.5%204'/%3E%3C/svg%3E");
  background-size:13px 13px;
}
.pitfall-lead{
  display:block;
  font-weight:600;
  font-size:17px;
  line-height:1.45;
  color:var(--ink);
}
.pitfall-note{
  display:block;
  margin-top:6px;
  font-weight:400;
  font-size:15px;
  line-height:1.55;
  color:var(--ink-soft);
}
.dark .info-panel{ border-color:rgba(0,0,0,.06); }

/* =========================================================================
   TYPE SCALE — one family (Montserrat), four roles, scoped to >=992px so the
   existing mobile/fluid sizing is left untouched. Within every content block
   the body text is now the SAME size; emphasis comes from weight (500 body /
   600 lead / 700 heading) and brand red — never from a one-off size.

     · label          13px / 700        (review author, contact captions)
     · body           17px / 500 / 1.6  (principles, cases, reviews, faq, …)
     · lead           17px / 600 / 1.5  (emphasised lines, contact values)
     · block / card   22px / 700        (panel & case headlines)
     · section title  34px / 700        (every .title2 section heading)
   ========================================================================= */
@media (min-width:992px){
  /* section titles — identical everywhere */
  .title1,
  .title2{ font-size:34px; line-height:1.16; font-weight:700; }

  /* block & card titles — one clear step down */
  .client__block-title,
  .case-slide__title{ font-size:22px; line-height:1.3; font-weight:700; }

  /* emphasised body / leads */
  .pitfall-lead,
  .fast__text,
  .contacts__item-link,
  .faq-item>.faq-item-header>h4{ font-size:17px; line-height:1.5; font-weight:600; }

  /* plain body — one size across every block */
  .principles__item,
  .pitfall-note,
  .faq-item .faq-item-text,
  .reviews__text,
  .case-slide__text,
  .case-slide__content,
  .case-slide__list,
  .mission__desc{ font-size:17px; line-height:1.6; font-weight:500; }

  /* small labels */
  .reviews__name,
  .contacts__item-text{ font-size:13px; line-height:1.5; }}


/* ============================================================
   MISSION — две формулировки, прижатые к краям контентной области.
   Левый блок («Зачем мы это делаем») у левого края, правый
   («Ради чего») — у правого. Обёртка несёт класс .container, поэтому
   делит с шапкой и секциями ширину 1200px и боковые отступы 15px —
   блоки выровнены ровно по краям контента сайта.
   Раскладка: ≥768px — две колонки у краёв; <768px — вертикальный
   стек, оба блока слева (иконка слева).
   ============================================================ */
.mission { margin-bottom: 70px; }

.mission__container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
}

/* иконка выводится фоном над текстом (background-position: *_top) */
.mission__block {
  max-width: 340px;
  padding-left: 87px;
  background-repeat: no-repeat;
  background-size: auto;
  background-position: left top;
}
.mission__block--left {
  text-align: left;
  background-image: url("./../img/icons/hovel.svg");
}
.mission__block--right {
  text-align: right;
  padding-left: 0;
  padding-right: 87px;
  background-image: url("./../img/icons/target.svg");
  background-position: right top;
}

.mission__name {
  font-weight: 700;
  font-size: 18px;
  line-height: 22px;
  letter-spacing: -.01em;
  margin-bottom: 15px;
}
.mission__name span { position: relative; }
.mission__name span::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 100%;
  height: 2px;
  background: var(--color-red);
}

.mission__desc {
  font-weight: 500;
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink-soft);
}
@media (min-width: 992px) {
  .mission__desc { font-size: 17px; }}

/* планшеты и телефоны: вертикальный стек, оба блока выровнены влево */
@media (max-width: 767px) {
  .mission { margin-bottom: 40px; }
  .mission__container { flex-direction: column; gap: 28px; }
  .mission__block { max-width: 520px; }
  .mission__block--right {
    text-align: left;
    padding-left: 87px;
    padding-right: 0;
    background-position: left top;
  }
  .mission__name { font-size: 16px; }}
@media (max-width: 575px) {
  .mission__block { background-size: 50px; padding-left: 70px; }}


/* ============================================================
   ТЁМНАЯ ТЕМА — выравниваем читаемость по всему сайту.
   Парадигма: тёмный фон страницы + светлые карточки. Значит:
   • карточки с «зашитым» белым фоном приводим к тому же мягкому
     светло-серому, что и прочие карточки (не чисто-белые → не аляписто);
   • текст ВНУТРИ светлых карточек — тёмный (читаем на светлом);
   • текст ПРЯМО на тёмном фоне страницы — светлый.
   ============================================================ */

/* карточки: единый светло-серый фон вместо чисто-белого */
.dark .info-panel,
.dark .case-slide,
.dark .cookies-row { background: var(--bg-dark); }

/* лента «Заказать звонок» — полупрозрачная, чтобы не перекрывать футер */
.dark .sticky-btn { background: rgba(238, 240, 243, 0.82); }

/* заголовки/текст ВНУТРИ светлых карточек — тёмные */
.dark .client__block-title { color: var(--ink); }
.dark .principles__block-content-text { color: var(--ink); }

/* текст ПРЯМО на тёмном фоне страницы — светлый */
.dark .principles__item,
.dark .mission__desc,
.dark .main_block_content_block_item p,
.dark .faq-item-text { color: #c6ccd4; }

/* FAQ выводится без карточки — даём тонкую светлую рамку на тёмном фоне */
.dark .faq-item { border-color: rgba(255,255,255,.10); }


/* кнопка «Написать отзыв»: иконка-метка Яндекс Карт + текст в одну строку
   (иконка наследует цвет кнопки: красная в покое, белая при наведении) */
.reviews__ya-btn { display: inline-flex; align-items: center; gap: 8px; }
.reviews__ya-ico { flex-shrink: 0; }


/* контакты: соцсети (Telegram, MAX). Слева — красная иконка соцсетей (как у
   телефона/почты/адреса). Кнопки прямоугольные, поровну заполняют строку. */
.contacts__social .contacts__item-text { margin-top: 12px; }
.contacts__item--cta { grid-column: 1 / -1; margin-top: 4px; }
.contacts__social-links {
  display: flex; gap: 10px;
  padding-left: 30px;
  background: url("./../img/icons/social.svg") left center / 20px 20px no-repeat;
}
.contacts__social-link {
  flex: 1; gap: 8px;                      /* прямоугольные, поровну на всю ширину строки */
  display: inline-flex; align-items: center; justify-content: center;
  height: 46px; border-radius: 10px;
  border: 1px solid rgba(20,23,28,.12);   /* читается и на белой, и на светло-серой карточке */
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.contacts__social-ico { display: block; width: 24px; height: 24px; flex-shrink: 0; }
.contacts__social-name { font-size: 14px; font-weight: 600; letter-spacing: -.01em; color: var(--ink); }
.contacts__social-link:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.contacts__social-link--tg:hover  { border-color: #229ED9; }
.contacts__social-link--max:hover { border-color: #5b53e6; }
