/* БАЗА И ШРИФТЫ */




img {
  max-width: 100%;
  display: block;
}

section {
  width: 100%;
  position: relative;
}

.container {
  margin: 0 auto;
}

/* Заголовки */

.h1 {
  font-size: 56px;
  line-height: 60px;
  font-weight: 500;
}

@media (max-width: 980px) {
  .h1 {
    font-size: 32px;
    line-height: 36px;
  }
}

@media (max-width: 767px) {
  .h1 {
    font-size: 24px;
    line-height: 29px;
  }
}

.h2 {
  font-size: 46px;
  line-height: 52px;
  font-weight: 500;
}

@media (max-width: 767px) {
  .h2 {
    font-size: 20px;
    line-height: 25px;
  }
}

/* Кнопка */

.btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14.5px 24px;
  border-radius: 48px;
  color: white;
  text-align: center;
  background: #D93E28;
  cursor: pointer;
  border: none;
  
  transition: background 0.3s, opacity 0.4s;
  text-decoration: none;
  max-width: 100%;
  white-space: nowrap;
}

.btn img {
  max-height: 100%;
  max-width: 100%;
  height: 16px;
}

.btn[disabled] {
  cursor: default;
  opacity: 0.3;
}

.btn:hover {
  background: #c33926;
  color:#fff;
}

@media (max-width: 767px) {
  .btn {
    font-size: 12px;
    height: 42px !important;
    line-height: 36px !important;
    padding: 0 18px !important;
  }
}

/* WELCOME */

.welcome {
  background-image: url("./img/wlcm.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  max-width: calc(100% - 40px);
  height: 580px;
  overflow: hidden;
  width: 100%;
  margin: 40px auto;
}

.welcome .container {
  height: 100%;
  display: flex;
  align-items: flex-end;
  width: 100%;
  max-width: 100% !important;
}

.welcome .info {
  padding: 36px 45px;
  max-width: 100%;
  width: 520px;
  position: relative;
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(40px);
}

.welcome .info > * {
  position: relative;
  z-index: 2;
}


.welcome .price {
  font-size: 20px;
  line-height: 25px;
  color: #D93E28;
  margin: 0;
}

.welcome .h1 {
  margin: 8px 0 0;
}

.welcome .text {
  font-size: 20px;
  line-height: 150%;
  color: rgba(0, 0, 0, 0.6);
  margin: 20px 0 0;
}

.welcome .info .btn {
  margin-top: 24px;
  width: 174px;
}
.block-vkmod h2{
  margin-left: 20px;

}



@media (max-width: 768px) {
  .welcome .info {
    width: 100%;
    left: 0;
  }
}

@media (max-width: 767px) {
  .welcome .container {
    display: block;
    min-height: auto;
  }

  .welcome .container:before {
    content: "";
    display: block;
    width: calc(100);
    position: relative;
    height: 220px;
    max-height: 80vh;
    left: 0;
  }

  .welcome .info {
    bottom: 0;
    position: absolute;
    padding: 20px !important;
  }

  .welcome .h1 {
    font-size: 36px;
    line-height: 40px;
    margin: 12px 0 0;
  }

  .welcome .text {
    margin: 12px 0 0;
  }

  .welcome .info:before {
    height: 256px;
  }
}

/* НАВИГАЦИЯ НАД КАТАЛОГОМ */

.nav .container {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #303030;
  padding-bottom: 40px;
  width: 97%;
}

.nav .container .title {
  font-size: 24px;
  text-decoration: none;
  color: #111111;
  transition: 1s;
  width: 38%;
}

.nav .container .title span {
  font-size: 16px;
  color: #D93E28;
}

.nav .container a:hover {
  color: #D93E28 !important;
}

@media (max-width: 1120px) {
  .nav .container a {
    font-size: 16px;
  }
}

@media (max-width: 767px) {
  .nav .container {
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    padding-bottom: 40px !important;

  }

  .nav .container a {
    font-size: 24px;
    margin-top: 4px;
  }
}

/* БЛОК "Рассрочка" */

.meb-block-1 {
  margin-top: 50px;
}

.meb-block-1 .container {
  border-radius: 8px;
  background: #F4F4F4;
  padding: 72px;
  border: 1px solid rgba(0, 0, 0, 0.05);
  position: relative;
  overflow: hidden;
}

.meb-block-1 .container .info {
  max-width: 50%;
  position: relative;
  z-index: 5;
}

.meb-block-1 .container .info .h2 {
  color: #1A2332;
  font-size: 36px;
  line-height: 40px;
}

.meb-block-1 .container .info .text {
  font-size: 24px;
  line-height: 36px;
  color: #6D6D6D;
  margin-top: 28px;
}

.meb-block-1 .container .info .btn {
  margin-top: 28px;
  width: 200px;
  background: #222222;
}

.meb-block-1 .container .percent {
  position: absolute;
  z-index: 3;
  top: calc(50% + 17px);
  right: 0;
  transform: translate(0, -50%);
}

.meb-block-1 .container .circle {
  width: 590px;
  height: 590px;
  position: absolute;
  right: 0;
  bottom: 0;
  transform: translate(50%, 0);
  background: #D93E28;
  z-index: 1;
}

@media (max-width: 1120px) {
  .meb-block-1 .container .percent {
    max-width: 320px;
    transform: translate(-30%, -50%);
  }
}

@media (max-width: 767px) {
  .meb-block-1 {
    margin-top: 40px;
  }

  .meb-block-1 .container {
    padding: 32px 16px 300px !important;
  }

  .meb-block-1 .container .info {
    max-width: 100%;
  }

  .meb-block-1 .container .info .h2 {
    font-size: 20px;
    line-height: 25px;
  }

  .meb-block-1 .container .info .text {
    margin-top: 16px;
    font-size: 14px;
    line-height: 17px;
  }

  .meb-block-1 .container .info .btn {
    width: 100%;
    box-sizing: border-box;
  }
.welcome{
  max-width: none;
}
  .meb-block-1 .container .percent {
    max-width: 270px;
    top: auto;
    right: auto;
    left: 50%;
    bottom: 90px;
    transform: translate(-50%, 0);
  }

  .meb-block-1 .container .circle {
    top: auto;
    right: auto;
    left: -25%;
    bottom: 0;
    transform: translate(0, 60%);
    width: 150% !important;
  }
}

/* ОТЗЫВЫ + SWIPER */

.swiper-wrapper {
  height: auto !important;
}

.swiper-nav-2 {
  display: block !important;
  width: 36px;
  height: 36px;
  cursor: pointer;
  border: 1px solid #222222;
  background-color: transparent;
  background-image: url("img/ic-swiper-reviews.svg");
  background-size: 100% 100%;
  background-position: center;
  background-repeat: no-repeat;
  padding: 0;
  margin: 0;
  border-radius: 50%;
  transition: 0.2s;
}

.swiper-nav-2.swiper-button-disabled {
  opacity: 0.3;
  cursor: default;
}

.swiper-nav-2.prev {
  transform: rotate(180deg);
}

.swiper-nav-2.prev:not(.swiper-button-disabled):hover {
  transform: rotate(180deg) scale(1.1);
}

.swiper-nav-2:not(.swiper-button-disabled):hover {
  transform: scale(1.1);
  background-color: #F3F3F3;
}

/* блок отзывов */

.reviews {
  margin-top: 72px;
}

.reviews .top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
}

.reviews .buttons {
  display: flex;
  align-items: center;
  gap: 16px;
}

.reviews .inner {
  margin-top: 36px;
}

.reviews .swiper-reviews {
  width: 100%;
  position: relative;
}

.reviews .swiper-reviews::before {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: calc((100vw - 100%) / 2);
  transform: translateX(-100%);
  background: linear-gradient(270deg, transparent 0%, #fff 8vw);
  z-index: 2;
  pointer-events: none;
}

.reviews .swiper-reviews::after {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  width: calc((100vw - 100%) / 2);
  transform: translateX(100%);
  background: linear-gradient(90deg, transparent 0%, #fff 8vw);
  z-index: 2;
  pointer-events: none;
}

.reviews .swiper-reviews .swiper-slide {
  padding: 36px 32px;
  background: white;
  border: 1px solid #A7A7A7;
}

.reviews .swiper-reviews .swiper-slide .title {
  
  font-size: 20px;
  line-height: 25px;
}

.reviews .swiper-reviews .swiper-slide .text {
  
  font-size: 14px;
  line-height: 19px;
  margin-top: 16px;
}

.reviews .swiper-reviews .swiper-slide .author {
  color: #D93E28;
}

@media (max-width: 767px) {
  .reviews .inner {
    margin-top: 16px;
  }

  .reviews .swiper-reviews .swiper-slide {
    padding: 20px 12px;
  }
}
