:root{
    --pc:#415167;
    --acf:#C7A17A;
    --acs:#F9F5E8;
    --dg:#151D28;
    --lg:#EDF0F5;
}

*{

    scroll-behavior: smooth;
    margin: 0;
    padding: 0;
}

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

@font-face {
 font-family: 'CustomFont';
 src: url('../assets/fonts/custom-font.woff2') format('woff2');
 font-weight: 400;
 font-display: swap;
}

body {
    background-color: var(--lg);
 font-family: 'Inter', system-ui, sans-serif;
}
header{
    height: 920px;
}
.header__nav.nav {
  position: sticky;
  top: 0;
  z-index: 999;
  padding: 20px 40px;

}


@media (max-width: 768px) {
  header {
    position: relative;
    height: auto !important;
    min-height: 60vh;      
    overflow: visible;      
  }

  .header__phrase {
    position: static !important;
    margin:10vh 0 0 0 !important;
    padding: 0 !important;
    transform: none;
    text-align: center;
    font-size: 2rem; 

  }

  .background__img {
    display: none !important;
    width: auto;
    left: auto;
    transform: none;
  }


  html, body {
    height: auto;
    overflow-y: auto;
  }


}


 .background__img {
    position: absolute;
    z-index: -10;
    left: 50%;
    transform: translateX(-20%);
    max-width: 100%;
    height: auto;
}
a{
    text-decoration: none;
    color:inherit
}
.header__nav--burger{
    display: none;
    align-items: center;
    justify-content: center;

    width: 44px;     
    height: 44px;

    
    background: none;
    border: none;
    cursor: pointer;

    
}

.burger--icon{
    width: 32px;
    height: 32px;
    pointer-events: none;
    display: block;

}

@media (max-width: 768px)  {
    .header__nav.nav{
        border-radius: 20px;
    position: fixed;
    top: 10px;
    left: 20px;
    right: 20px;
    z-index: 9999;
    background: var(--pc); /* или белый, чтобы перекрывать фон */
  }
    .nav{
    
    color:var(--lg);
    background-color:var(--pc);
    display: flex;
    flex-direction: row;
    gap:40px;
    padding: 20px 40px;

    justify-content: space-between;
}
    .nav__list {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 10vh;
    border: 2px var(--acf) solid;
    border-radius: 10px;
    background-color: var(--pc);
    color: var(--acf);
    width: fit-content;
    padding: 10px;

    transform: scaleY(0);
    transform-origin: top;
    transition: transform 0.3s ease;
    opacity: 0;
    pointer-events: none; 
}
    .nav ul{
        gap:20px
    }
    .nav__list.show {
    transform: scaleY(1);
    opacity: 1;
    pointer-events: auto;
}

     .background__img{
        width: 100%;
        left: 0;
        transform: unset;
     }
    .header__nav--burger{
        
    display: unset;
    
    }
    
    .header__logo{
        display: none;
    }
}

nav{
    color:var(--lg);
    background-color:var(--pc);
    display: flex;
    flex-direction: row;
    gap:40px;
    padding: 40px;
    height: fit-content;
}
nav ul{
    list-style: none;
    display: flex;
    flex-direction: row;
    gap: 40px;
    width: 100%;
    padding: 10px;
}
.nav__item:hover{
    color:var(--acf)
}
.nav__item > a{
    display: block;
    width: 100%;
    padding:5px 0 5px 0;
}
.nav__link{
    height: fit-content;
}
.nav__link:hover{
    color:var(--acf)
}
.header__phrase{
    display: flex;
    flex-direction: column;
    position: absolute;
    margin-top: 45vh;
    margin-left: 14vw;
    color: var(--pc);
    font-weight: 700;
    font-size: 4rem;
}
@media (max-width: 1024px) {
    .header__phrase{

        font-size: 3rem;
    }
}
@media (max-width: 768px) {
    .header{
        margin-top: 200px;
        height: 320px;

    }
    .header__phrase{

        font-size: 2rem;
    }
}

.header__phrase--rev{
    color:var(--acf);
    
}
.header__logo{
    position: absolute;
    margin-left: 14vw;
    margin-top: 15vh;
}

.section--first{
    text-align: center;

}
.section--first h3{
    color: var(--pc);
    font-weight: 500;
    font-size: 20px;
}

.section--first h2{
    color: var(--pc);
    font-weight: 700;
    font-size: 40px;
    padding-top: 1vh;
}
@media (max-width: 1024px) {
    .section--first h3{
        font-size: 18px;
    }

    .section--first h2{
        font-size: 32px;
    }
}
@media (max-width: 768px) {
    .section--first h3{
        font-size: 16px;
    }

    .section--first h2{
        font-size: 26px;
    }
}


.section--first ul{
    list-style: none;
    margin: 15vh;
    margin-top: 10vh;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
}
@media (max-width: 768px) {
.section--first ul{
    margin: 5vh;
    grid-template-columns:unset;
    grid-template-areas: 
    "a b"
    "c d";
}
}
.section--first ul li{
    padding: 2vw;
}

.second--section{
    overflow-x: hidden;
    text-align: center;
    background: linear-gradient(
    to right,
    var(--pc) 0%,
    var(--pc) 18%,
    var(--lg) 18%,
    var(--lg) 100%
  );
}
.second--section h3{
    color: var(--pc);
    font-weight: 500;
    font-size: 20px;
}

.second--section h2{
    color: var(--pc);
    font-weight: 700; 
    font-size: 40px;
    padding-top: 1vh;
}
@media (max-width: 1024px) {
    .second--section h3{
        font-size: 18px;
    }

    .second--section h2{
        font-size: 32px;
    }
}
@media (max-width: 768px) {
    .second--section h3{
        font-size: 16px;
    }

    .second--section h2{
        font-size: 26px;
    }
}


.second--section .swiper{
    margin: 5vw;
    padding-bottom: 4vh;
    align-self: center;
    justify-self: center;
    gap:3vw;
    display: grid;
    grid-template-areas: 
    "a b"
    "c d";
}
@media (max-width: 768px){
    .second--section .swiper{
        margin-left: 3vw;
    grid-template-areas: 
    "a"
    "b"
    "c"
    "d";}
}
.second--section .swiper .item{
    display: flex;
    background: white;

    padding: 4px;
    border-radius: 12px;


}
.second--section .swiper .item img{

    border-radius: 12px;
    background-color: #d5d7dc;
}
.second--section .swiper .item .item-description{
    padding: 3vw;
    text-align: left;
}
.second--section .swiper .item .price{
    color:var(--acf);
    font-size: 25px;
}
.second--section .swiper .item .name{
    color:black;
    font-size: 30px;
    font-weight: 700;
    padding-bottom: 3vh;
}
.second--section .swiper .item button{
    background-color: inherit;
    border: none;
    border-radius: 50px; 
    
    padding: 8px 16px;    
    min-height: 40px;       
    min-width: 90px;      

    color: var(--pc);
    font-size: 15px;
    margin-top: 3vh;
    cursor: pointer;

    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

@media (max-width: 1024px) {

    .second--section .swiper .item .item-description{
        padding: 2vw;
    }

    .second--section .swiper .item .price{
        font-size: 22px;
    }

    .second--section .swiper .item .name{
        font-size: 26px;
        padding-bottom: 2vh;
    }

    .second--section .swiper .item button{
        font-size: 14px;
        margin-top: 2vh;
    }
}
@media (max-width: 768px) {

    .second--section .swiper .item .item-description{
        padding: 16px;
    }

    .second--section .swiper .item .price{
        font-size: 20px;
    }

    .second--section .swiper .item .name{
        font-size: 22px;
        padding-bottom: 1.5vh;
    }

    .second--section .swiper .item button{
        font-size: 13px;
        margin-top: 1.5vh;
    }
}
@media (max-width: 480px) {

    .second--section .swiper .item .item-description{
        padding: 12px;
    }

    .second--section .swiper .item .price{
        font-size: 18px;
    }

    .second--section .swiper .item .name{
        font-size: 20px;
        padding-bottom: 1vh;
    }

    .second--section .swiper .item button{
        font-size: 12px;
        margin-top: 1vh;
    }
}

.second--section .swiper .item button:hover {
    background-color: var(--pc);
    color: white;
    transform: scale(1.05);
    transition: all 0.2s ease-in-out;
}

.second--section .swiper .item .ac{
    background-color: var(--acf);
    border: 4px inherit solid;
    width: 9vw;
    height: 4vh;
    margin-right: 2vw;
    color:white;
}



.third--section{
    text-align: center;
    background: linear-gradient(
    to left,
    var(--lg) 0%,
    var(--lg) 25%,
    #e5e7ec 25%,
    #e5e7ec 100%
    
  );
}
.third--section{
    padding: 30px;
    text-align: center;
}
.third--section h3{
    color: var(--pc);
    font-weight: 500;
    font-size: 20px;
    padding-top: 5vh;
}
.third--section h2{
    color:var(--pc);
    font-weight: 100000;
    font-size: 40px;
    padding-top: 1vh;
}
.accordion{
    text-align: left;
    display: flex;
    background: linear-gradient(
        to right,
    #e5e7ec 0%,
    #e5e7ec 25%,
    white 25%,
    white 100%
    );

    margin: 10vh 10vw 0 10vw;
}
@media (max-width:768px){
.accordion{
    padding: 3vw;
    margin: 10vh 5vw 0 5vw;
    background: linear-gradient(
        to right,
    white 0%,
    white 25%,
    white 25%,
    white 100%
    );
    ;
}
}
.accordion img{
    padding-top: 5vh;
    padding-right: 7vw;
}
@media (max-width:768px){
    .accordion img{
        display: none;
    }
}
.accordion .price{
    padding-top: 5vh;
    color:var(--acf);
    font-size: 25px;

}
.accordion .name{
    color:black;
    font-size: 30px;
    font-weight: 10000;
    padding-bottom: 3vh;
}
.accordion__item button{
    background-color: inherit;
    border: none;
    border-radius: 50px;
    width: fit-content;
    height: 3vh;
    color: var(--pc);
    font-size: 15px;
    
    padding: 0 9px;
    margin-top: 13vh;
    cursor: pointer;
}
@media (max-width:768px){
    .accordion__item button{
        margin-top: 3vh;
    }
}


.accordion__item button:hover {
    background-color: var(--pc);
    color: white;
    transform: scale(1.05);
    transition: all 0.2s ease-in-out;
}
.accordion__item button.ac:hover {
    background-color: var(--pc);
    color: white;
    transform: scale(1.05);
    transition: all 0.2s ease-in-out;
}
.accordion__item button.ac{
    background-color: var(--acf);
    border: 4px inherit solid;
    width: fit-content;
    padding: 0 9px;
    height: 4vh;
    margin-top: 13vh;
    margin-right: 10vw;
    color:white;
}
.accordion__item{
    display: none;
}
.accordion__item.show{
    display: flex;
}
.slide-buttons{
    margin-left: 3vw;
    display: grid;
    width: 15vw;
    grid-area: 
    "a"
    "b"
    "c";
}
@media (max-width:768px){
    .slide-buttons{
    margin-left: 3vw;
    display: grid;
    min-width: 20vw;
    grid-area: 
    "a"
    "b"
    "c";
}
}
.selected{
    background-color: var(--pc) !important;
    color: white !important;
    cursor: pointer;
    color:var(--pc);
    border-left: 1px rgb(198, 198, 198) solid ;
    transform: scale(1.05);
    transition: all 0.2s ease-in-out;
}
.slide-buttons button{
    background-color: #e2e5ea;
    cursor: pointer;
    color:#41516763;
    font-weight: 6500;
    font-size: 30px;
    border-left: 1px rgb(134, 134, 134) solid ;
    border: none;
}
.slide-buttons button:hover{
    background-color: var(--pc);
    color: white;
    transform: scale(1.05);
    transition: all 0.2s ease-in-out;
}


.fourth--section{
    padding: 5vw;
    text-align: center;
    background: linear-gradient(
    to left,
    var(--pc) 0%,
    var(--pc) 25%,
    var(--lg) 25%,
    var(--lg) 100%
  );
}
.fourth--section h3{
    color: var(--pc);
    font-weight: 500;
    font-size: 20px;

}
.fourth--section h2{
    color:var(--pc);
    font-weight: 100000;
    font-size: 40px;
    margin-bottom: 6vh;
    padding-top: 1vh;
}

.fourth--section .swiper{
    align-self: center;
    justify-self: center;
    gap:3vw;
    display: grid;
    grid-template-areas: 
    "a b c";
}
@media (max-width: 768px){
    .fourth--section .swiper{
    grid-template-areas: 
    "a"
    "b"
    "c"
    "d";}
}
.fourth--section .swiper .item{
    display: flex;
    flex-direction: column;
    background: white;
    overflow: hidden;
    border-radius: 12px;
    text-align: left;    
} 
.fourth--section .swiper .item img{
    object-fit: cover;
    background-color: #d5d7dc;
}
.fourth--section .swiper .item .item-description{
    margin-left: 2vw;
    padding: 1vw;
    text-align: left;
}
.fourth--section .swiper .item .price{
    margin-top: 3vh;
    margin-left: 3vw;
    padding: 0vw;
    color:var(--acf);
    font-size: 25px;
}
.fourth--section .swiper .item .name{
    color:black;
    font-size: 30px;
    font-weight: 10000;
    padding-bottom: 3vh;
    padding: 1vw;
    margin-left: 2vw;
}
.fourth--section .buttons{
    display: flex;
}
.fourth--section .swiper .item button{
    margin: 3vw;
    display: block;
    background-color: inherit;
    border: none;
    border-radius: 50px;
    width: fit-content;
    height: 4vh;
    color: var(--pc);
    font-size: 15px;
    
    padding: 0 9px;
    cursor: pointer;
}
.fourth--section .swiper .item button:hover{
    background-color: var(--pc);
    color: white;
    transform: scale(1.05);
    transition: all 0.2s ease-in-out;
}
.fourth--section .swiper .item .ac{
    background-color: var(--acf);
    border: 4px inherit solid;
    width: fit-content;
   
    padding: 0 9px;
    margin-right: 2vw;
    color:white;
}
@media (max-width: 1024px) {
    .fourth--section h3{
        font-size: 18px;
    }

    .fourth--section h2{
        font-size: 32px;
        margin-bottom: 4vh;
    }

    .fourth--section .swiper .item .item-description{
        padding: 1.5vw;
        margin-left: 1.5vw;
    }

    .fourth--section .swiper .item .price{
        font-size: 22px;
        margin-top: 2vh;
        margin-left: 2vw;
    }

    .fourth--section .swiper .item .name{
        font-size: 26px;
        padding-bottom: 2vh;
    }

    .fourth--section .swiper .item button{
        font-size: 14px;
        margin: 2vw;
        margin-top: 2vh;
    }
}

@media (max-width: 768px) {
    .fourth--section h3{
        font-size: 16px;
    }

    .fourth--section h2{
        font-size: 26px;
        margin-bottom: 3vh;
    }

    .fourth--section .swiper .item .item-description{
        padding: 16px;
        margin-left: 12px;
    }

    .fourth--section .swiper .item .price{
        font-size: 20px;
        margin-top: 1.5vh;
        margin-left: 12px;
    }

    .fourth--section .swiper .item .name{
        font-size: 22px;
        padding-bottom: 1.5vh;
    }

    .fourth--section .swiper .item button{
        font-size: 13px;
        margin: 16px;
        margin-top: 1.5vh;
    }
}

@media (max-width: 480px) {
    .fourth--section h3{
        font-size: 14px;
    }

    .fourth--section h2{
        font-size: 22px;
        margin-bottom: 2vh;
    }

    .fourth--section .swiper .item .item-description{
        padding: 12px;
        margin-left: 10px;
    }

    .fourth--section .swiper .item .price{
        font-size: 18px;
        margin-top: 1vh;
        margin-left: 10px;
    }

    .fourth--section .swiper .item .name{
        font-size: 20px;
        padding-bottom: 1vh;
    }

    .fourth--section .swiper .item button{
        font-size: 12px;
        margin: 12px;
        padding: 4px;
        margin-top: 1vh;
    }
}

footer {
    min-height: 6vh;
    background-color: #dee0e3;
    color: var(--pk);
    font-weight: 100;
    font-size: 13px;
    display: flex;
    align-items: center;     
    justify-content: center; 
    text-align: center;

    opacity: 0.6;
}

.hidden {
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
  transition: 0.3s;
}

.scroll_to_top{
    z-index: 1000;
    position: fixed;
    bottom: 3%;
    right: 6%;
}




.scroll_button{
    background: none;
    border: none;
}

.scroll_button:hover{
    color:#151D28;
}
.scroll_button>svg{
    border-radius:12px ;
    background-color: #d3d8df;
}