:root {
  --white: #ffffff;
  --black: #000000;
  --blackLight: #141414;
  --blackTransparent: rgba(0, 0, 0, 0.7);
  --blackTransparentLight: rgba(0, 0, 0, 0.3);
  --grey: #f4f4f4;
  --greyDark: #c2c2c2;
  --greyDark2: #989898;
  --greyDark3: #7c7c7c;
  --red: #ba0001;
  --redDark: #880000;
  --redTransparent: rgba(186, 0, 1, 0.5);

  --transitionBlock: cubic-bezier(0.37, 0.01, 0.43, 1.28);

  --newsPaddingX: 110px;

  --sectionMargin: 130px;

  --swiper-theme-color: var(--red);
}

::selection {
  color: var(--white);
  background: var(--redTransparent);
}

::placeholder {
  /* Chrome, Firefox, Opera, Safari 10.1+ */
  color: var(--greyDark2);
  opacity: 1; /* Firefox */
}

:-ms-input-placeholder {
  /* Internet Explorer 10-11 */
  color: var(--greyDark2);
}

::-ms-input-placeholder {
  /* Microsoft Edge */
  color: var(--greyDark2);
}

html,
body {
  font-family: "Montserrat", sans-serif;
  padding: 0;
  margin: 0;
  font-weight: 400;
  font-size: 18px;
  line-height: normal;
  color: var(--black);
  box-sizing: border-box;
}

*,
*::before,
*::after {
  box-sizing: inherit;
}

#bx-panel .panel-btn-picture {
  margin-top: 5px !important;
  border-radius: 3px;
}

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

a {
  color: var(--red);
  transition: color 0.3s;
}

.center {
  text-align: center;
  margin-right: auto;
  margin-left: auto;
}

.wide, .w-full {
  width: 100%;
}

.h-full {
  height: 100%;
}

.mt-0 {
  margin-top: 0 !important;
}

.mt-inner {
  margin-top: 42px !important;
}

.mt-30 {
  margin-top: 30px;
}

[class*='icon-'] {
  font-family: 'icomoon' !important;
  speak: never;
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  text-transform: none;
  line-height: 1;

  /* Better Font Rendering =========== */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.swiper-pagination {
  position: static;
  margin-top: 7px;
}

.row {
  gap: var(--bs-gutter-x) 0;
}

.page {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.main {
  flex-grow: 1;
}

.header_overlap + .main {
  margin-top: -62px;
}

.header {
  position: relative;
  z-index: 9;
}

.header__top {
  padding: 10px 0 20px;
  background-color: var(--white);
}

.header__top-inner,
.header__main {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 100px;
  flex-grow: 1;
}

.header__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 2px solid var(--grey);
}

.header__burger {
  position: relative;
  z-index: 10;
  display: none;
}

.header__logo {
  position: relative;
  z-index: 10;
}

.header__address {
  display: flex;
  align-items: center;
  max-width: 300px;
  font-size: 1rem;
}

.header__address--mob {
  display: none;
}

.header__address a {
  color: inherit;
  text-decoration: none;
}

.header__address-icon {
  margin-right: 10px;
}

.header__menu-mob {
  display: none;
}

.header__phone-number {
  display: block;
  margin-bottom: 4px;
  font-weight: 800;
  color: var(--black);
  text-decoration: none;
  transition: color 0.4s;
}

.header__phone-number:hover,
.header__phone-number:focus {
  color: var(--red);
}

.header__phone-btn {
  font-size: 0.889rem;
  color: var(--black);
  text-decoration: none;
  transition: color 0.4s;
}

.header__phone-btn:hover,
.header__phone-btn:focus {
  color: var(--red);
}

.footer {
  color: var(--white);
}

.footer__top {
  padding: 39px 25px;
  background-color: var(--blackLight);
}

.footer__top-row {
  display: flex;
  justify-content: space-between;
}

.footer__menus {
  display: flex;
  justify-content: space-between;
  flex-grow: 1;
  margin: 0 -15px;
}

.footer__menu {
  padding: 0 15px;
}

.footer__top-right {
  display: flex;
  flex-direction: column;
  align-items: end;
  margin-left: 140px;
}

.footer__logo {
  margin-bottom: 6px;
}

.footer__copyright {
  margin-bottom: 29px;
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  padding: 28px 0 31px;
  font-size: 12px;
  background-color: var(--black);
}

.footer__bottom-row {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 15px;
}

.footer__bottom a {
  color: var(--greyDark2);
  text-decoration: none;
}

.section {
  margin: var(--sectionMargin) 0;
}

.section__title {
  margin: 0 0 42px;
  font-size: 1.889rem;
}

.section__desc {
  max-width: 873px;
  margin-bottom: 42px;
}

.section__title + .section__desc {
  margin-top: -22px;
}

.section__btns {
  margin-top: 42px;
  text-align: center;
}

.section-slider {
  overflow: hidden;
}

.section-slider .swiper {
  overflow: visible;
}

.section-slider .swiper-slide {
  height: auto;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s;
}

.section-slider .swiper-slide-visible {
  opacity: 1;
  pointer-events: initial;
}

.section-block-props {
  margin-top: 60px;
}

.main-services-tile {
  margin-bottom: -30px;
}

.main-services-tile__item {
  margin-bottom: 30px;
}

.main-services-tile__item_big {
  height: calc(100% - 30px);
}

.main-block-props {
  position: relative;
  z-index: 1;
  margin-top: -153px;
}

.main-block-props-title {
  font-size: 1.333rem;
  font-weight: 600;
}

.main-block-props-btn {
  margin-top: 32px;
}

.main-advantages__desc .list-long {
  margin-top: 32px;
  margin-bottom: 32px;
}

.main-advantages__block-grey {
  margin-top: 54px;
}

.page-delivery__step-btn {
  margin-top: 25px;
}

@media (max-width: 1399px) {
  .header__top-inner,
  .header__main {
    gap: 50px;
  }
}

@media (max-width: 1199px) {
  html,
  body {
    font-size: 16px;
  }

  .header__logo {
    max-width: 80px;
  }
}

@media (max-width: 991px) {
  :root {
    --newsPaddingX: 50px;
  }

  .page {
    margin-top: 104px;
  }

  .header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
  }

  .header_overlap + .main {
    margin-top: 0;
  }

  .header__top {
    padding: 20px 0;
  }

  .header__main {
    --container-width: 720px;
    position: absolute;
    top: 0;
    left: 0;
    display: none;
    justify-content: flex-start;
    align-items: flex-start;
    flex-direction: column;
    gap: 0;
    width: 100%;
    height: 100vh;
    padding: 115px max(15px, calc((100% - var(--container-width)) / 2)) 15px;
    background-color: #ffffff;
    overflow-y: auto;
  }

  .header__address--mob {
    display: flex;
  }

  .header__menu-mob {
    display: block;
    margin-bottom: 92px;
  }

  .header__bottom {
    display: none;
  }

  .header__burger {
    display: block;
  }

  .header__search-form {
    margin-bottom: 30px;
  }

  .header__phone {
    order: 1;
    margin-top: 20px;
  }

  .header__address--mob {
    order: 2;
    margin-top: 20px;
  }

  .header__phone-btn {
    font-size: 12px;
    text-decoration: underline;
    text-decoration-skip-ink: none;
  }

  .page--fixed {
    max-height: 100%;
    overflow: hidden;
  }

  .page--fixed .header {
    height: 100%;
  }

  .page--fixed .header__main {
    display: flex;
  }

  .footer__top-row {
    gap: 30px;
  }

  .footer__top-right {
    margin-left: 0;
  }
}

@media (max-width: 767px) {
  :root {
    --blackTransparentLight: rgba(0, 0, 0, 0.5);
    --sectionMargin: 60px;
    --newsPaddingX: 0;
  }

  html,
  body {
    font-size: 14px;
  }

  .row {
    --bs-gutter-x: 1rem;
  }

  .page {
    margin-top: 80px;
  }

  .section__title {
    margin-bottom: 30px;
    font-weight: 800;
    font-size: 20px;
    text-align: center;
  }

  .section__desc {
    margin-bottom: 40px;
  }

  .section__title + .section__desc {
    margin-top: -20px;
  }

  .section__btns {
    margin-top: 30px;
    gap: 20px;
  }

  .section__btns > .btn {
    width: 100%;
  }

  .header__main {
    --container-width: 540px;
    padding-top: 75px;
  }

  .header__logo {
    max-width: 50px;
  }

  .footer__top-row {
    flex-direction: column;
  }

  .footer__top-right {
    align-items: flex-start;
  }

  .section-block-props {
    margin-top: 0;
  }

  .main-block-props {
    gap: 30px;
    margin-top: 0;
    margin-right: calc(-.5 * var(--bs-gutter-x));
    margin-left: calc(-.5 * var(--bs-gutter-x));
  }

  .main-block-props-title {
    font-weight: 400;
    font-size: 1rem;
    text-align: center;
  }

  .main-block-props-btn {
    width: 100%;
    margin-top: 20px;
  }

  .main-picture {
    margin: 0;
  }
}

@media (max-width: 575px) {
  .header__address {
    font-size: 14px;
  }

  .footer__top {
    padding: 39px 0;
  }

  .footer__top-row {
    flex-direction: column;
  }

  .footer__top-right {
    align-items: flex-start;
  }

  .footer__bottom-row {
    flex-direction: column;
  }

  .footer__menus {
    flex-direction: column;
    gap: 30px;
    margin: 0;
  }

  .footer__menu {
    padding: 0;
  }

}