html {
    overflow-x: hidden;
    scroll-behavior: smooth;
}

body {
    font-family: sans-serif;
}


/* Шрифты */
h1 {font-size: 45px;}
h2 {font-size: 38px;}
h3 {font-size: 30px;}
h4 {font-size: 26px;}
h5 {font-size: 20px;    
    font-family: Arial, sans-serif;
    font-weight: bold;}
span, blockquote {font-size: 20px;}

header {
    background: white;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: center;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    text-align: center;
    margin: 25px 0;
}



button {
    color: white;
    background-color: rgb(255, 30, 72);
    border: 1px solid transparent;
    -webkit-transition: 0.5s;
    -o-transition: 0.5s;
    transition: 0.5s;
}
button:hover {
    color:  rgb(255, 30, 72);
    background-color: transparent;
    border: 1px solid  rgb(255, 30, 72);
}


.form {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    color: white;
    padding: 80px 65px;
}
.background {
    background-image: url(../img/bg.jpg);
    background-repeat: round;
}

/* Левая форма */

.form__left {
    -ms-flex-preferred-size: 50%;
        flex-basis: 50%;
    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;
    text-align: center;
    gap: 80px;
}

.form__left span {
    display: block;
    padding-right: 340px;
}

form input {
    text-align: center;
    color: #454545;
    width: 320px;
    height: 60px;
    font-size: 21px;
    border-width: 1px;
    border-color: rgb(121, 121, 121);
    border-style: solid;
    border-radius: 10px;
    
}
form input:first-child {
    margin: 0 10px;
}


.form__btn {
    font-size: 25px;
    width: 650px;
    padding: 20px 0;
    margin-top: 10px;
    margin-left: 10px;
}

.mess {
    margin: 0 auto;
    top: 30px;
    position: fixed;
}

.form__left-h2mob {display: none;}


/* Правая форма */
.form__right {
    -ms-flex-preferred-size: 50%;
        flex-basis: 50%;
    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: end;
        -ms-flex-pack: end;
            justify-content: end;
    padding-left: 206px;
}

.form__right a {
    font-size: 23px;
    padding-bottom: 25px;
    cursor: pointer;
    max-width: 375px;
}

.form__right span {
    font-size: inherit;
    line-height: 2;
}

.form__right__number {
    padding-bottom: 5px;
    font-size: 35px;
}


.call__btn {
    display: block;
    padding: 10px 0;
    margin-bottom: 60px;
    width: 375px;
    -ms-grid-column-align: start;
        justify-self: start;
    font-size: 25px;
}

.form__right h2 {
    padding-bottom: 30px;
}

/* Иконки */
.socials {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    gap: 70px;
}

.socials__wa {
    border-radius: 100%;
}
.socials__wa img {opacity: 0.6;}
.socials__wa img:hover {opacity: 1;}
.socials__tg { border-radius: 100%; }
.socials__tg img {opacity: 0.6;}
.socials__tg img:hover {opacity: 1;}





/* Свайп на отзывы */
.swipe {
    background-color: white;
    color: black;
    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;
    padding: 10px 0;
}

.swipe h2 { font-size: 22px; font-weight: 700; }

.swipe img {
    width: 80px;
    height: 80px;
}


/* Отзывы */
.reviews {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    padding: 0 65px 100px;
    -webkit-box-pack: space-evenly;
        -ms-flex-pack: space-evenly;
            justify-content: space-evenly;
}
.reviews__brand {
    width: 45%;
    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;
}
.review__name {
    margin-top: 40px;
    margin-bottom: 20px;    
    position: relative;
    width: 235px;
    height: 188px;
    z-index: 2;
}
.review__name img {
    position: absolute;
    left: 0;
    top: 0;
}
.review__name-second {
    opacity: 0;
}
.review__name-second:hover  {
    opacity: 1;
}



.reviews__item {
    border-radius: 10px;
    background-color: #ececec;
    width: 100%;
    padding: 25px 10%;
    position: relative;
}
.reviews__item h5 {
    padding-bottom: 30px;
}
.reviews__item blockquote {
    line-height: 1.2;
}


/* Стрелки слайдера */
.reviews__item .slick-arrow {
    position: absolute;
    top: 45%;
    z-index: 10;
    width: 30px;
    height: 50px;
    border: none;
}
.slick-prev {
    left: 15px;
    font-size: 0;
    background: url(../img/arrow-left.png) 0 0 no-repeat;
}
.slick-next {
    right: 15px;
    font-size: 0;
    background: url(../img/arrow-right.png) 0 0 no-repeat;
    -webkit-transform: translateX(-15px);
        -ms-transform: translateX(-15px);
            transform: translateX(-15px);
}


/* Контакты */
.contacts {
    padding: 50px 0;
    background-color: #161a25;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    color: white;
    font-size: 21px;
    gap: 50px;
    line-height: 1.2;
    border-bottom: 2px solid white;
}


.contacts a { transition: 0.5s; }
.contacts a:hover { color: gray; }

.contacts__left {
    text-align: right;
    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;
}
.contacts__center img{
    width: 400px; height: 300px;
}
.contacts__right {
    text-align: left;
}
.contact__mob h4 {
    cursor: pointer;
}


/* Подвал */
footer {
    background: #161a25;
    color: white;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
    padding: 10px 65px;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
}
.footer__socials-full {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    gap: 25px;
}
.footer__socials-full img {
    opacity: 0.3;
    -webkit-transition: 1s;
    -o-transition: 1s;
    transition: 1s;
}
.footer__socials-full img:hover {
    opacity: 1;
}
.footer__socials-mob {
    display: none;
}

.swal-button:hover {
    color: white;
    background-color: transparent;
    border: none
}

#logo-avtovikup {
    display: block;
    right: 0;
    width: 71px; height: 71px;
}
/* Движение кнопки перехода */
@-webkit-keyframes swipe {
    0%, 100% {
        -webkit-transform: translate(0, 0);
                transform: translate(0, 0);
    }

    50% {
        -webkit-transform: translate(0, 15%);
                transform: translate(0, 15%);
    }
}
@keyframes swipe {
    0%, 100% {
        -webkit-transform: translate(0, 0);
                transform: translate(0, 0);
    }

    50% {
        -webkit-transform: translate(0, 15%);
                transform: translate(0, 15%);
    }
}






/* ••••••••••Адаптив•••••••••• */

/* 1440px (Ноуты/Мелкие мониторы) */
@media (max-width: 1899px) {
.container {max-width: 1440px; margin: 0 auto;}
h1 {font-size: 42px;}
h2 {font-size: 35px;}
h3 {font-size: 27px;}
h4 {font-size: 23px;}
h5 {font-size: 17px;    
    font-family: Arial, sans-serif;
    font-weight: bold;}
span, blockquote {font-size: 20px;}
form input {width: 300px;}
.form__btn {width: 610px; padding: 10px 0;}
.form__left span {padding-right: 300px;}
.form {padding: 80px 40px;}
.form__right {padding-left: 100px;}
}

/* 1024px (Квадратные мониторы) */
@media (max-width: 1439px) {
.container {max-width: 1024px; margin: 0 auto;}
h1 {font-size: 40px;}
h2 {font-size: 30px;}
h3 {font-size: 27px;}
h4 {font-size: 27px;}
h5 {font-size: 23px;    
    font-family: Arial, sans-serif;
    font-weight: bold;}
span, blockquote {font-size: 20px;}
form input {width: 200px; height: 40px; font-size: 16px;}
.form__btn {width: 415px; padding:10px 0; font-size: 20px;}
.form {padding: 40px 20px;}
.form__left span {padding-right: 105px;}
.form__left {gap: 50px;}
.form__right {padding-left: 40px;}
.call__btn {width: 275px; font-size: 20px;}
.socials img {width: 70px;}
.socials {gap: 0;}
.socials div:not(:last-child) {padding-right: 30px;}
.review__name img {width: 80%;}
.review__text h5 {text-align: left; padding-left: 18px;}
blockquote {max-width: 90%; margin: 0 auto;}
.reviews {padding: 0 15px 50px; -ms-flex-pack: distribute; justify-content: space-around;}
.contacts__center img {width: 200px; height: 150px;}
.contacts {font-size: 15px;}
}

/* 768px (Планшет) */
@media (max-width: 1023px) {
.container {max-width: 768px; margin: 0 auto;}
h1 {font-size: 35px;}
h2 {font-size: 22px;}
h3 {font-size: 20px;}
h4 {font-size: 20px;}
h5 {font-size: 23px;    
    font-family: Arial, sans-serif;
    font-weight: bold;}
span, blockquote {font-size: 20px;}
.form__btn {width: 300px; font-size: 15px;}
.call__btn {width: 200px; font-size: 15px;}
form input {width: 145px; font-size: 12px;}
.form__left span {padding-right: 110px; font-size: 12px;}
.review__text h5 {text-align: left; padding-left: 15px;}
.form__right {padding-left: 60px;}
.reviews__brand img{ -webkit-transform: translateX(20px); -ms-transform: translateX(20px); transform: translateX(20px);}
.slick-prev {background: url(../img/arrow-left-mob.png) 0 0 no-repeat; left: 10px;}
.slick-next {background: url(../img/arrow-right-mob.png) 0 0 no-repeat; right: -5px;}
.slick-arrow {width: 15px; height: 30px;}
.footer__socials-full img {opacity: 1; width: 50px;}
.socials__wa img {opacity: 1; width: 60px;}
.socials__tg img {opacity: 1; width: 60px;}
.contacts {padding-right: 50px;}
}



/* Телефон */
@media (max-width: 767px) {
.form__left-h2mob {display: block;}
.form__left-h2pc {display: none;}
.container {max-width: 320px; margin: 0 auto;}
.background { background-image: url(../img/bg-mob.jpg); }
h1 {font-size: 30px;}
h2 {font-size: 19px;}
h3 {font-size: 20px;}
h4 {font-size: 25px;}
h5 {font-size: 23px;    
    font-family: Arial, sans-serif;
    font-weight: bold;}
span, blockquote {font-size: 17px;}
header {margin: 15px 0;}
header h1 {padding-right: 0px;}
.swipe img {width: 60px; height: 60px;}
.swipe h2 { font-size: 22px; font-weight: 700; }
.form {display: -webkit-box;display: -ms-flexbox;display: flex; -webkit-box-orient: vertical; -webkit-box-direction: normal; -ms-flex-direction: column; flex-direction: column-reverse; padding: 30px 0; gap: 20px;}
.form__left {gap: 0;}
.form__left h2{margin: 15px 0;}
.form__btn {width: 300px; font-size: 20px; margin-left: 0; }
.call__btn {width: 300px; font-size: 20px; margin: 0 auto; margin-bottom: 40px;}
form input {width: 300px; font-size: 18px;}
.form__text {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;}
.form__text input {margin-top: 10px;}
.form__left span {padding-right: 120px; }
.form__right {padding-left: 0;}
.form__right a {margin-left: 20px; max-width: none; max-height: 150px; font-size: 20px;}
.form__right span {font-size: 20px;}
.form__right h2 {padding-left: 20px; padding-right: 0;}
.socials {padding-left: 20px;}
.reviews {display: -webkit-box;display: -ms-flexbox;display: flex; -webkit-box-orient: vertical; -webkit-box-direction: normal; -ms-flex-direction: column; flex-direction: column; padding: 0 0 20px;}
.reviews__brand {width: 100%;}
.review__text h5 {text-align: left; padding-left: 20px;}
.review__name {padding: 20px 0; margin-bottom: 0;}
.footer__socials-full {display: none;}
.footer__socials-mob {display: -webkit-box;display: -ms-flexbox;display: flex; }
.footer__socials-mob img {width: 40px; margin-right: 20px;}
.footer__socials-mob:not(:first-child) {margin-left: 60px;}
.contact__mob h4 {font-size: 15px;}
.contact__mob {display: -webkit-box;display: -ms-flexbox;display: flex; -webkit-box-align: center; -ms-flex-align: center; align-items: center; -ms-flex-pack: distribute; justify-content: space-around;}

.contacts {padding: 20px 0 20px 0; gap: 0;}
footer {padding: 20px 10px;}
footer span {margin: 0 auto; font-size: 12px;}
.contacts__right li {display: none;}
.contacts__left li {display: none;}
.contacts__left {text-align: left; -webkit-box-orient: horizontal; -webkit-box-direction: normal; -ms-flex-direction: row; flex-direction: row;}
.contacts__center {display: none;}
}