@import url(./fonts/stylesheet.css);

* {
  padding: 0;
  margin: 0;
  border: 0;
}

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

:focus,
:active {
  outline: none;
}

a:focus,
a:active {
  outline: none;
}

nav,
footer,
header,
aside {
  display: block;
}

html,
body {
  height: 100%;
  width: 100%;
  font-size: 100%;
  line-height: 1;
  font-size: 14px;
  -ms-text-size-adjust: 100%;
  -moz-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
  font-family: "Montserrat";
  background-color: white;
}

input,
button,
textarea {
  font-family: inherit;
}

input::-ms-clear {
  display: none;
}

button {
  cursor: pointer;
}

button::-moz-focus-inner {
  padding: 0;
  border: 0;
}

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

a:hover {
  text-decoration: none;
}

ul li {
  list-style: none;
}

img {
  vertical-align: top;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-size: inherit;
  font-weight: 400;
}

.container {
  padding: 0px 30px;
  max-width: 1300px;
  margin: 0 auto;
}
footer{
  background: #0A0905;
    
}

header {
  background: #0A0905;
}

nav a {
  font-weight: 500;
  font-size: 18px;
  text-transform: capitalize;
  color: white;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 40px;
}

.nav-link {
  box-shadow: 0 4px 15px 0 rgba(0, 0, 0, 0.13);
  background: #F5BF0B;
  display: inline-block;
  padding: 16px 24px;
  border-radius: 15px;
  color:#000;
}

.header-nav {
  padding: 12px 0px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.burger-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100%;
    color: black;
    background: white;
    transition: right 0.3s ease;
    box-shadow: -4px 0 15px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    padding: 20px;
  }
  
  .burger-menu.active {
    right: 0;
  }
  section{
    background-color: white;
  }
  
  .burger-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
  }
  
  .burger-list a {
    font-weight: 500;
    font-size: 18px;
    text-transform: capitalize;
    color: black;
    text-decoration: none;
  }
  
  .burger-list a:hover {
    color: #ffddc1;
  }
  


.banner {
  height: 90vh;
  background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url(./images/bg.png);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}

.banner_info h2 {
  font-weight: 500;
  font-size: 40px;
  color: #d7d2d2;
  margin-bottom: 4px;
}

.banner_info h1 {
  font-weight: 600;
  font-size: 48px;
  line-height: 100%;
  text-transform: uppercase;
  color: white;
  margin-bottom: 8px;
}

.banner_info p {
  font-weight: 400;
  font-size: 24px;
  color: white;
  margin-bottom: 20px;
}
.banner_info img {
  margin-bottom: 20px;
}

.banner_link {
  display: inline-block;
  background: #F5BF0B;
  border-radius: 15px;
  padding: 16px 24px;
  width: 391px;
  height: 61px;
  font-weight: 500;
  font-size: 24px;
  text-transform: uppercase;
  color: rgb(0, 0, 0);
  text-align: center;
}

.banner_info {
  max-width: 678px;
}

.banner_form input {
}

.banner_form h2 {
  font-weight: 800;
  font-size: 24px;
  text-transform: uppercase;
  text-align: center;
  color: white;
}

input {
  background: #eee;
  border-radius: 15px;
  padding: 16px 32px;
  width: 100%;
}

::placeholder {
  font-weight: 400;
  font-size: 18px;
  color: #b3b0b0;
}

.form_content {
  margin-top: 12px;
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 12px;
}
.btn_send {
  width: 100%;
  border-radius: 15px;
  padding: 16px 32px;
  background-color: #F5BF0B;
  font-weight: 700;
  font-size: 18px;
  color: #000000;
}

form {
  max-width: 451px;
  backdrop-filter: blur(18.700000762939453px);
  background: rgba(255, 255, 255, 0.32);
  border: 3px solid #8C0003;
  border-radius: 15px;
  padding: 52px 32px;
}

.banner_content {
  padding-top: 150px;
  display: flex;
  gap: 20px;
  align-items: center;
  justify-content: space-between;
}

.left_calc {
  max-width: 650px;
  box-shadow: 0 7px 10px 0 rgba(106, 102, 102, 0.25);
  background: #fff;
  border-radius: 25px;
  padding: 24px 46px;
}

.calc_title {
  margin-bottom: 40px;
  font-weight: 600;
  font-size: 20px;
  line-height: 125%;
  text-align: center;
  color: black;
}

.ffddd {
  justify-content: center;
  text-align: center;
  display: flex;
  align-items: center;
  gap: 3px;
  font-weight: 500;
  font-size: 20px;
  line-height: 125%;
  text-transform: uppercase;
  text-align: center;
  color: #000;
  background: #F1B30F;
  border-radius: 15px;
  padding: 16px 32px;
}

.info_header h2 {
  font-weight: 700;
  font-size: 28px;
  line-height: 150%;
  color: #1e1e1e;
}

.info_header h3 {
  font-weight: 700;
  font-size: 20px;
  line-height: 150%;
  color: #a9a7a7;
}

.rigth_info p {
  font-style: italic;
  font-weight: 400;
  font-size: 20px;
  line-height: 150%;
  color: #161616;
}

.info_header {
  display: flex;
  align-items: center;
  gap: 10px;
}

.rigth_info {
  max-width: 500px;
}
.line {
  height: 100%;
  width: 4px;
  min-height: 500px;
  background-color: #ad0d04;
}

.info_calc {
    gap: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.info {
  padding: 87px 0px;
}

.adv_item {
  max-width: 629px;
  padding: 15px; /* Пример padding, можно настроить по необходимости */
  border-radius: 8px; /* Округление углов */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Легкая тень */
  margin-bottom:30px;
}

.adv_text h2 {
  font-weight: 500;
  font-size: 48px;
  line-height: 100%;
  text-transform: uppercase;
  color: #161616;
  padding-bottom: 20px;
  border-bottom: 4px solid #a00900;
  margin-bottom: 24px;
}

.adv_text {
  max-width: 700px;
}

.adv_header {
  display: flex;
  align-items: center;
  gap: 8px;
}

.adv_header h3 {
  font-weight: 500;
  font-size: 32px;
  color: #1e1e1e;
}

.adv_item p {
  margin-top: 8px;
  font-weight: 400;
  font-size: 24px;
  color: #161616;
  /*margin-bottom: 24px;*/
}
.adv_content {
  display: flex;
  align-items: flex-end;
  gap: 50px;
}

.adv_content img {
  position: absolute;
  right: 0;
}

.tabs-container {
  margin: auto;
}
html{
    overflow-x: hidden;
}

.tabs {
    margin-top: 0px!important;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  gap: 50px;
}

.tab-button {
  background: none;
  font-weight: 500;
  font-size: 24px;
  color: #1e1e1e;
  transition: background 0.3s;
  padding-bottom: 10px;
}

.tab-button:not(:last-child) {
  border-right: none;
}

.tab-button.active {
  border-bottom: 4px solid #ad0d04;
}

.tab-content {
  display: none;
  padding: 50px 0px;
  background: #ffdc90;
}

.tab-content.active {
  display: block;
}

.tab-content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}
.tab-content h3 {
  font-weight: 700;
  font-size: 32px;
  color: #1e1e1e;
  margin-bottom: 10px;
}

.tab-content p {
  font-weight: 400;
  font-size: 32px;
  text-align: center;
  color: #1e1e1e;
}

.tabs {
  margin: 70px 0px;
  margin-bottom: 0px;
}

.tab-container {
  width: 100%;
  background: #ffdc90;
}

.reviews {
    overflow-x: hidden;
  text-align: center;
  padding: 20px;
}

.reviews__title {
  font-size: 2rem;
  font-weight: bold;
}

.reviews__container {
  display: flex;
  position: relative;
  justify-content: space-between;
}

.review {
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  margin: 0 10px;
  padding: 20px;
  flex: 0 0 30%;
  text-align: left;
}

.review__stars {
  color: #d7ad0d;
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.review__text {
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 15px;
}

.review__author {
  display: flex;
  align-items: center;
}

.review__avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  margin-right: 10px;
}

.review__info {
  text-align: left;
}

.review__name {
  font-weight: bold;

  margin-bottom: 8px;
}

.review__details {
  font-size: 0.8rem;
  color: #777;
}

.reviews__navigation {
  margin-top: 20px;
}

.reviews__prev,
.reviews__next {
  background: none;
  border: none;
  font-size: 2rem;
  cursor: pointer;
  color: #333;
}
.reviews__next {
  margin-left: 22px;
}

.reviews__prev:hover,
.reviews__next:hover {
  color: #000;
}

.reviews__navigation {
  display: flex;
  justify-content: center;
  margin-bottom: 10px;
  position: relative;
}

.reviews__prev,
.reviews__next {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
}

.reviews__icon {
  width: 30px;
  height: 30px;
  transition: transform 0.2s ease;
}

.reviews__prev:hover .reviews__icon,
.reviews__next:hover .reviews__icon {
  transform: scale(1.2);
}

.review_header {
  display: flex;
  flex-direction: row-reverse;
  align-items: center;
  justify-content: space-between;
}
.reviews {
  padding-top: 70px;
}

.review_header {
  margin-bottom: 24px;
}

.reviews__navigation {
  display: flex;
  justify-content: center;
  margin-bottom: 10px;
  position: relative;
}

.reviews__prev,
.reviews__next {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
}

.reviews__icon {
  width: 30px;
  height: 30px;
  transition: transform 0.2s ease;
}

.reviews__prev:hover .reviews__icon,
.reviews__next:hover .reviews__icon {
  transform: scale(1.2);
}

.reviews__prev:disabled,
.reviews__next:disabled {
  cursor: not-allowed;
}

.reviews__container img {
  opacity: 0.5;
  transition: opacity 0.3s ease-in-out;
}

.reviews__slide {
  flex: 0 0 33.33%; /* Каждый слайд занимает ровно треть контейнера */
  transition: opacity 0.3s ease-in-out;
  padding: 0 15px; /* Отступы между слайдами */
}

.reviews__prev:disabled,
.reviews__next:disabled {
  cursor: not-allowed;
}

/* Медиа-запрос для мобильных устройств */
@media (max-width: 768px) {
  .reviews__slide {
    flex: 0 0 100%; /* На мобильных один слайд занимает всю ширину */
  }
}

/* Контейнер для кнопок */
.reviews__buttons {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
}

/* Стили для кнопок */
.reviews__prev,
.reviews__next {
  border: 1px solid #ddd;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.3s ease;
  background: none;
  cursor: pointer;
}

.reviews__prev:not(:disabled):hover,
.reviews__next:not(:disabled):hover {
  background-color: #f5f5f5;
}

.reviews__container {
  display: flex;
  transition: transform 0.3s ease-in-out;
  width: 100%;
}

/* Добавить wrapper для container */
.reviews__wrapper {
  overflow: hidden;
  margin: 0 -15px; /* Компенсируем отступы слайдов */
}

.reviews__slide {
  flex: 0 0 33.33%;
  min-width: 33.33%; /* Добавляем минимальную ширину */
  padding: 0 15px;
  box-sizing: border-box;
}

.review__avatar {
  opacity: 1 !important;
}

.second {
  display: flex;
  align-items: center;
  justify-content: center;
}

.second{
    padding: 0;
}

.open-menu{
    display: none;
}


@media(max-width:1376px){
    .adv_content{
        
        max-width: 550px;
    }
    .adv_text h2{
        font-size: 40px;
    }
    .adv_content img{
max-width: 500px;
    }
}

@media(max-width:1245px){
    .left_calc {
        max-width: 500px;
    }
    .rigth_info {
        max-width:500px;
    }

}
@media(max-width:1177px){
    .banner_info h1 {
        font-size: 40px;
    }
    .nav-list{
        gap: 17px;
    }
    nav a{
        font-size: 16px;
    }
    .banner_info{
        max-width: 535px;
    }
}
.adv-mob{
    display: none;
}
@media(max-width:1107px){
    .info_calc{
        flex-direction: column-reverse;
        gap: 40px;
    }
    .footer-img{
        justify-content: center;
    }
    .line{
        max-width: 500px;
        margin: 0 auto;
        height: 4px;
        width: 100%;
        min-height: unset;
    }
    .adv-phone-pc{
        display: none;
    }
    .adv_text{
        margin: 0 auto;
    }
    .adv-mob{
        display: block;
        width: 100%;
        position: unset!important;
    }
    .adv_content{
        margin: 0 auto;
        justify-content: center;
    }
    .adv_content img{
        max-width: unset;
        margin-bottom: 20px;

    }
}

@media(max-width:965px){
    .nav-list{
        display: none;
    }
    .open-menu{
        display: block;
    }
    .banner_content{
        flex-direction: column;
        padding-top: 100px;
        padding-bottom: 100px;
    }
    .banner{
        height: fit-content;
    }
    .banner_info{
    }
    form{
        max-width: 559px;
    }

}



@media(max-width:650px){
    .banner_info img{
        width: 100%;
    }
    .banner_info h2{
        font-size: 18px;
    }
    .banner_info h1{
        font-size: 24px;
        margin-top: 4px;
    }
    .banner_info p{
        font-size: 18px;
    }
    .banner_link{
        width: 100%;




    height: 52px;
    font-weight: 500;
    font-size: 18px;
    }
    form{
        padding: 16px;
    }
    .banner_content{
        padding-top: 60px;
        padding-bottom: 60px;
    }
    .ffddd{
        font-size: 14px;
    }
    .left_calc{
        padding: 20px 40px;
    }
    .info_header h2 {
    font-size: 25px;
    }
    .info_header h3{
        font-size: 14px;
    }
    .ffddd{
        padding: 14px;
    }
    .info_header{
        margin-bottom: 20px;
    }
    .rigth_info p{
        font-size: 16px;
    }
    .tab-content{
    padding: 70px 14px;
    }
    .tab-content p{
        font-size: 18px;
    }
    .tab-content h3{
        font-size: 18px; 
    }
    .tab-button{
        font-size: 16px;
    }
    .tabs{
        margin-top: 0px;
    }
    .tabs{
        gap: 15px;
    }
    .review{
        flex: 0 0 97%;
    }
    .second{
        padding: 20px;
    }
    .adv_header h3{
        font-size: 20px;
    }
    .adv_item p{
        font-size: 18px;
    }
    .adv_header svg{
        max-width: 32px;
        height: 32px;
    }
    .adv_item p{
          /*margin-bottom: 35px;*/
    }
}

.tabs{
    padding-top: 40px!important;
}