* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
   font-family: "Montserrat", sans-serif;
   font-optical-sizing: auto;
   font-style: normal;
}

html { 
    scroll-behavior: smooth;
}

.media-logo {
    display: none;
}

::-webkit-scrollbar {
    background: #ffffff;
    width: 12px;
}

::-webkit-scrollbar-thumb {
    background: #d01818;
    width: 12px;
}

section {
	scroll-margin-top: 100px;
}


a {
    text-decoration: none;
}

li {
    list-style-type: none;
}

header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 5;
}

.menuBtn.active span:nth-of-type(1) {    
    display: none;
}
.menuBtn.active span:nth-of-type(2) {    
    top: 50%;
    transform: translate(-50%, 0%) rotate(45deg);}
.menuBtn.active span:nth-of-type(3) {
    top: 50%;    transform: translate(-50%, 0%) rotate(-45deg);
}
.menuBtn {    
    cursor: pointer;
    width: 100px;   
     height: 50px;
    border-radius: 50%;   
     margin-left: 1%;
    overflow: hidden;    
    display: none;
    flex-direction: column;    
    align-items: center;
    justify-content: center;    
    gap: 10px;
    position: fixed;   
     top: 10px;
    right: 0px;   
     padding-left: 23px;
    z-index: 200;
}
    

.menuBtn span {    
    width: 40px;
    height: 2px;
    position: absolute;    
    transform: translate(-50%, -50%);
    background-color: #D9195A;    
    transition: all 0.5s;
    border-radius: 2px;
}
.menuBtn span:nth-of-type(2) {
    top: calc(30% - 5px);}

.menuBtn span:nth-of-type(3) {    
    top: calc(65% + 5px);
}

.header-top {
    background-color: #222;
}

.header-top-fix {
    max-width: 1500px;
    width: 100%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    padding: 10px;
    justify-content: space-between;
}

.header-top-contact {
    display: flex;
    align-items: center;
    gap: 20px;
}

.header-contact-block {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #ffffff;
    font-size: 14px;
}

.header-contact-block a {
    color: #ffffff;
    transition: 0.5s;
}

.header-contact-block a:hover {
    color: #d01818;
}

.header-top-messenger {
    display: flex;
    align-items: center;
    gap: 25px;
}

.header-top-messenger p {
    color: #fff;
    font-size: 14px;
}

.header-nav {
    background-color: #f4f4f4;
}

header nav {
    max-width: 1500px;
    width: 100%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 100px;
    padding: 10px 10px;

}

header nav ul {
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: space-between;
    width: 40%;
}

header nav ul li a{
    font-weight: 600;
    color: #222;
    transition: 0.5s;
}

header nav ul li a:hover {
    color: #d01818;
}

.intro {
    background-image: url('https://rnd-auto61.ru/wp-content/themes/rnd-auto/img/2.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    width: 100%;
    height: 700px;
    position: relative;
    margin-top: 150px;
}

.intro::after {
    content: '';
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    position: absolute;
    background-color: rgba(0, 0, 0, 0.6);
}

.intro-wrapper {
    position: sticky;
    z-index: 1;
    max-width: 1500px;
    width: 100%;
    height: 80%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: center;
    gap: 20px;
    text-transform: uppercase;
}

.intro-wrapper h1 {
    font-size: 40px;
    color: #fff;
    max-width: 700px;
    width: 100%;
}

.intro-wrapper h2 {
    font-size: 30px;
    color: #fff;
    max-width: 700px;
    width: 100%;
}

.intro-button {
    max-width: 700px;
    width: 100%;
}

.intro-button button {
    margin-right: 20px;
    padding: 10px;
    border-radius: 5px;
    text-transform: uppercase;
    border: none;
    background-color: #d01818;
    color: #fff;
    font-weight: 600;
    cursor: pointer;
    transition: 0.5s;
    position: relative;
    font-size: 17px;
}

.link {
    background-color: #4cd48f !important;
}

.intro-button button:hover {
    background-color: rgba(0, 0, 0, 0.6);
}

.intro-bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
    background-color: #f4f4f4;
    z-index: 1;
    position: sticky;

    border-radius: 10px;
    box-shadow: 1px 1px 10px rgba(0, 0, 0, 0.6);
}

.intro-bottom h2 {
    color: #d01818;
    font-weight: 600;
    margin-top: 40px;
}

.intro-bottom-flex {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-top: 40px;
    gap: 20px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.intro-bottom-block {
    padding: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    text-align: center;
    padding: 30px;
}

.intro-bottom-block:nth-child(2) {
    border-bottom-color: #ccc;
    background-color: rgba(204, 204, 204, 0.15);
    border-radius: 10px;
}

.intro-bottom-block h3 {
    font-size: 20px;
    font-weight: 400;
}

.work {
    width: 100%;
    margin: 200px auto 0;
}

.work h2 {
    text-align: center;
    font-size: 35px;
    color: #d01818;
    font-weight: 500;
    text-transform: uppercase;
}

.swiper {
    width: 100%;
    margin-top: 40px;
}

.swiper-slide {
    width: 30% !important;
    height: 100%;
    display: block;
}

.swiper-slide img {
    object-fit: cover;
    width: 100%;
    border-radius: 10px;
}

.swiper-button-next , .swiper-button-prev {
    color: #D9195A !important;
}

.conditions {
    background-image: url('https://rnd-auto61.ru/wp-content/themes/rnd-auto/img/bg-1.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
    width: 100%;
    height: 500px;
    position: relative;
    margin-top: 80px;
}

.conditions::after {
    content: '';
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
}

.conditions-wrapper {
    z-index: 1;
    position: sticky;
    max-width: 1500px;
    width: 100%;
    height: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 60px;
    padding: 60px 10px;
}

.conditions-wrapper h2 {
    color: #f4f4f4;
    font-size: 40px;
    font-weight: 400;
    text-transform: uppercase;
}

.conditions-block {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 20px;
    align-items: flex-start;
    justify-content: center;
}

.conditions-item {
    background-color: #222;
    display: flex;
    align-items: center;
    gap: 20px;
    max-width: 400px;
    width: 100%;
    height: 100px;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0px 5px 5px #d01818;
}

.conditions-item p {
    color: #f4f4f4;
    text-transform: uppercase;
}

.company {
    margin: 60px 0;
    padding: 0 15px;
}

.company h2 {
    text-align: center;
    font-size: 25px;
    text-transform: uppercase;
    font-weight: 400;
    line-height: 40px;
}

.company h2 span {
    color: #d01818;
    font-weight: 500;
    text-transform: none;
}

.company-wrapper {
    max-width: 1600px;
    width: 100%;
    margin: 50px auto;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 40px;
}

.company-left {
    max-width: 600px;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-top: 100px;
}

.company-left p {
    font-size: 17px;
    line-height: 25px;
    color: #222;
}

.company-left p b {
    color: #d01818;
}

.company-left h3 {
    color: #d01818;
    font-weight: 500
}

.company-left a {
    background-color: #222;
    max-width: 300px;
    width: 100%;
    padding: 15px;
    text-align: center;
    color: #f4f4f4;
    font-size: 18px;
    border-radius: 5px;
    cursor: pointer;
    transition: 0.5s;
}

.company-left a:hover {
    background-color: #d01818;
}

.company-right {
    margin-top: 100px;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.company-right-item {
    display: flex;
    align-items: center;
    gap: 20px;
}

.company-right-item p {
    font-size: 18px;
}

.choice-wrapper {
    display: flex;
    align-items: center;
    z-index: 1;
    position: sticky;
}

.choice-left {
    background-image: url('https://rnd-auto61.ru/wp-content/themes/rnd-auto/img/bg-4.jpg');
    background-attachment: fixed;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    height: 380px;
    width: 100%;
    position: relative;
    margin: 28px -90px 0 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.choice-left::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    background-color: #222;
    opacity: 0.8;
    width: 100%;
    height: 100%;
}

.choice-right {
    background-image: url('https://rnd-auto61.ru/wp-content/themes/rnd-auto/img/bg-3.jpg');
    background-attachment: fixed;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    height: 440px;
    width: 100%;
    position: relative;
    clip-path: polygon(5% 0, 100% 0%, 100% 100%, 0% 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.choice-right::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #222;
    opacity: 0.8;
}

.choice-item {
    position: sticky;
    z-index: 1;
    color: #f4f4f4;
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 400px;
    width: 100%;
}

.choice-item h2 {
    text-transform: uppercase;
    font-size: 32px;
}

.choice-item p {
    font-size: 17px;
    line-height: 24px;
}

.choice-item a {
    color: #fff;
    max-width: 250px;
    width: 100%;
    text-align: center;
    padding: 15px;
    transition: 0.5s;
    border-radius: 5px;
}

.choice-item a:hover {
    background-color: #222;
}

.contact {
    margin-top: -50px;
    padding-top: 200px;
    padding-bottom: 80px;
    background-image: url('https://rnd-auto61.ru/wp-content/themes/rnd-auto/img/bg.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
    position: relative;
}

.contact::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
}

.contact-wrapper {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 50px;
    width: 100%;
    padding: 0 50px;
    z-index: 1;
    position: sticky;
}

.map {
    width: 50%;
    height: 650px;
}

.form-messenger {
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    max-width: 450px;
    width: 100%;
}

.form-messenger a {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    /* border: 1px solid #fff; */
    color: #fff;
    padding: 10px;
    transition: 0.5s;
    border-radius: 5px;
}

.form-messenger a:hover {
    background-color: #d01818;
}
/* 0088cc */

.telegram {
    background-color: #0088cc; 
    /* color: #222 !important; */
    font-weight: 500;
}

.phone-calc {
    background-color: #d01818;
}

.WhatSapp {
    background-color: #4cd48f; 
    /* color: #222 !important; */
    font-weight: 500;
}

.WhatSapp:hover {
    background-color: #f4f4f4;
}

footer {
    background-color: rgba(0, 0, 0, 1);
    text-align: center;
    height: 60px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}

footer p a {
    color: #d01818;
    transition: 0.5s;
}

footer p b {
    color: #d01818;
}

footer p a:hover {
    color: #f4f4f4;
}