@font-face{
    font-family: "Hyndai-Medium";
    src: url("../fonts/HyundaiSansHeadOffice-Medium.ttf") format("truetype");
    font-weight: 500;
    font-style: normal;
}

@font-face{
    font-family: "Hyndai-Regular";
    src: url("../fonts/HyundaiSansTextOffice-Regular.ttf") format("truetype");
    font-weight: 400;
    font-style: normal;
}



body, html{
    background-color: #050D17;
    margin: 0%;
    padding: 0%;
    font-size: calc(10/1024*100vw);
}

body{
    font-family: "Hyndai-Regular", sans-serif;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    font-size: 1.6rem;
    position: relative;
    gap: 2.2rem;
}

*{
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}

section, header{
    width: 100%;
    max-width: 92.4rem;
    margin: 0 auto;
    padding: 0;
}

main{
    max-width: 92.4rem;
    width: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

a{
    text-decoration: none;
}
button{
    font-family: inherit;
    cursor: pointer;
}
h1, .h1, h2, h3, h4, span, button{
    font-family: "Hyndai-Medium", sans-serif;

}

h1, .h1, h2, .h2, h3, h4, h5, h6,
b, strong,
.fancybox-share h1, .fancybox-share__button{
    font-weight: 500;
}



p{
    font-size: 1.2rem;
    font-family: "Hyndai-Regular", sans-serif;
    line-height: 100%;
}

h2, .h2{
    font-size: 2.4rem;
}

header{
    padding: 3.8rem 0 0;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
}

.company-logo{
    width: 100%;
    max-width: 19rem;
    height: auto;
}

.lng-selection{
    display: flex;
    flex-direction: row;
    gap: 1rem;
    align-items: center;
}

.btn{
    padding: 1.7rem 3.2rem;
    border-radius: 0.5rem;
}

.transparent-white{
    background-color: transparent;
    border: 1px solid #fff;
    color: #fff;
}

.cyan-bg{
    background-color: rgba(3, 167, 206, 1);
}

.blue-white{
    background-color: rgba(17, 26, 38, 1);
    color: #fff;
    border: none;
}

.lng-btn{
    padding: 1.3rem 2.1rem;
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #fff;
    background-color: transparent;
    font-size: 1.2rem;
    text-transform: uppercase;
}



.lng-btn.active{
    background-color: #fff;
    color: rgba(0, 0, 0, 1);
}

.mp-section{
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3rem;
    padding-bottom: 4.9rem;
}

.title{
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.7rem;
    color: #fff;
}

.title .h1{
    font-size: 2.4rem;
}

.grid{
    display: grid;
}

.model-grid{
    grid-template-columns: repeat(3, 1fr);
    gap: 1.7rem 2rem;
    width: 100%;
}

.model-cell{
    position: relative;
    width: 100%;
    height: 16.5rem;
    color: #fff;
}

.model-cell-bg img{
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 1rem;
    z-index: 1;
}

.model-cell-content{
    position: relative;
    z-index: 2;
    padding: 1.5rem 2.6rem;
}

.model-cell-content span{
    font-size: 1.2rem;
}

.car-img{
    position: absolute;
    bottom: -8.5rem;
    right: -0.9rem;
}

/* Hero page */

.choosen-model-bg{
    width: 100%;
    height: 100%;
    position: fixed;
    inset: 0;
    z-index: 0;
}

body > *:not(.choosen-model-bg){
    position: relative;
    z-index: 1;
}

.choosen-model-bg picture,
.choosen-model-bg img{
    display: block;
    width: 100%;
    height: 100%;
}

.choosen-model-bg img{
    object-fit: cover;
}

.float-content{
    position: absolute !important;
    left: 5rem;
    top: 50%;
    transform: translateY(-50%);
}

.hero-content{
    display: flex;
    flex-direction: column;
    color: #fff;
}

.hero-content h1{
    font-size: 6.4rem;
}

.hero-btn-wrapper{
    position: absolute !important; 
    bottom: 6rem;
    left: 5rem;
}

.hero-btn span{
    padding-right: 1.2rem;
    position: relative;
}

.hero-btn span::before{
    content: "";
    position: absolute;
    right: 0;
    width: 1.13rem;
    height: 1.13rem;
    border-right: 1px solid #fff;
    border-bottom: 1px solid #fff;
    transform:  translateX(0.7rem) rotate(-45deg);
}

/* Model option charactheristics */
.back-btn{
    position: fixed !important;
    display: flex;
    align-items: center;
    justify-content: center;
    left: 0;
    top: 0;
    z-index: 10;
    width: 5rem;
    height: 4.146rem;
    border-radius: 0 0 0.5rem 0;
    border: none;
    padding: 0;
}

.extra-space{
    margin-top: 1.1rem;
}

nav{
    max-width: 92.4rem;
    margin: 0 auto;
    width: 100%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    display: flex;
    flex-direction: row;
    gap: 5rem;
    position: relative;
    z-index: 3;
}

.nav-btn{
    background-color: transparent;
    border: none;
    padding-bottom: 1.4rem;
    color: #fff;
    font-size: 2rem;
}

.nav-btn.active{
    color: rgba(3, 167, 206, 1);
    border-bottom: 3px solid rgba(3, 167, 206, 1);
}

.hint{
    color: rgba(255, 255, 255, 0.45);
}

.container{
    display: flex;
}

.charactheristics-container{
    flex-direction: row;
    gap: 2rem;
    margin-top: 0.6rem;
}

.charactheristics-container aside{
    display: flex;
    flex-direction: column;
    gap: 1.223rem;
    max-width: 21.6rem;
    width: 100%;
}

.option-btn{
    display: flex;
    flex-direction: column;
    text-align: start;
}

.option-btn b{
    font-size: 1.6rem;
}

.option-btn span{
    color: rgba(255, 255, 255, 0.45);
}

.option-btn.active{
    border: 1px solid rgba(3, 167, 206, 1);
}

.main-info{
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
    width: 100%;
}

.block{
    background-color: rgba(17, 26, 38, 1);
    border-radius: 1rem;
}

.characteristics-block{
    padding: 2.2rem 4rem;
    display: flex;
    flex-direction: column;
    gap: 1.65rem;
    position: relative;
    margin-bottom: 1.65rem;
}

.car-preview{
    position: absolute;
    z-index: 4;
    right: 0;
    top: -9.8rem;
    width: 36.2rem;
    height: auto;
}

.option-head-price{
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.option-head{
    display: flex;
    flex-direction: row;
    gap: 1rem;
    align-items: center;
    color: #fff;
}

.outlined-char{
    padding: 0.4rem 0.5rem;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 0.5rem;
    font-size: 1.2rem;
}

.price{
    font-size: 2rem;
    color: rgba(3, 167, 206, 1);
}

.characteristics-row{
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

.characteristics-point{
    display: flex;
    flex-direction: row;
    width: auto;

    gap: 1.3rem;
    align-items: flex-end;
    color: #fff;
  
}

.characteristics-point img{
    height: 1.5rem;
    width: auto;
    margin-bottom: 0.5rem;
}

.characteristics-point-content{
    display: flex;
    flex-direction: column;
}

.characteristics-point-content p{
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.45);
}

.char-d{
    width: 1px;
    height: auto;
    align-self: stretch;
    background:rgba(255, 255, 255, 0.15);
}

.option-benefits-block h2{
    color: #fff;
}

.option-benefits{
    display: grid;
    grid-template-columns: repeat(2, auto);
    row-gap: 0.7rem;
    justify-content: space-between;
    column-gap: 3.9rem;
}

.option-benefits-container{
    padding: 2.7rem 4rem 2.35rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.option-benefits p{
    position: relative;
    display: flex;
    align-items: center;
    min-height: 1.5rem;
    padding-left: 2.7rem;
    color: rgba(255, 255, 255, 0.7);
}

.option-benefits p::before{
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 50%;
    transform: translateY(-50%);
}

.option-benefits p.included::before{
    background-color: rgba(3, 167, 206, 1);
}

.option-benefits p.not-included::before{
    width: 1.45rem;
    background-color: transparent;
    border: 1px solid rgba(3, 167, 206, 1);
    background-image: linear-gradient(rgba(3, 167, 206, 1), rgba(3, 167, 206, 1));
    background-repeat: no-repeat;
    background-position: center;
    background-size: 0.7rem 0.2rem;
}

.bottom-note{
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    padding: 1.65rem 4rem 1.6rem;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 0.8rem;
}

.bottom-note p{
    color: rgba(255, 255, 255, 0.45);
}

.marker{
    font-size: 2.2rem;
    color: rgba(3, 167, 206, 1) !important;
}

/* Model benefits */
.benefits-container{
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 1.7rem;
}

.benefits-main,
.benefits-thumbs{
    width: 100%;
    overflow: hidden;
}

.benefits-main .swiper-slide{
    height: auto;
}

.hero-benefit-card{
    width: 100%;
    display: flex;
    flex-direction: row;
    background-color: rgba(17, 26, 38, 1);
    border-radius: 1.6rem;
    overflow: hidden;
    min-height: 22.3rem;
}

.image-wrapper-hbc{
    flex: 0 0 50%;
    position: relative;
}

.image-wrapper-hbc picture,
.image-wrapper-hbc img{
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
}

.image-wrapper-hbc img{
    object-fit: cover;
}

.hbc-content-container{
    position: relative;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 3.5rem;
    padding: 4rem 5rem;
    min-width: 0;
}

.hbc-content{
    display: flex;
    flex-direction: column;
    gap: 1rem;
    color: #fff;
}

.hbc-content h3{
    font-size: 2rem;
    line-height: 135%;
}

.hbc-content p{
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.45);
    line-height: 135%;
}

.benefit-thumb{
    height: 12.6rem;
    padding: 0;
    position: relative;
    overflow: hidden;
    border: 0.2rem solid transparent;
    background-color: rgba(17, 26, 38, 1);
    border-radius: 1.5rem;
    color: #fff;
    text-align: left;
    opacity: 0.55;
    transition: border-color 0.2s ease, opacity 0.2s ease;
}

.benefit-thumb picture,
.benefit-thumb img{
    width: 100%;
    height: 100%;
    display: block;
}

.benefit-thumb img{
    object-fit: cover;
}

.benefit-thumb:hover,
.benefit-thumb.swiper-slide-thumb-active{
    border-color: rgba(3, 167, 206, 1);
    opacity: 1;
}

/* Model colors */
.colors-container{
    flex-direction: column;
    align-items: center;
    gap: 2.6rem;
    padding: 2rem 0 4rem;
}

.color-stage{
    position: relative;
    width: 100%;
    max-width: 72rem;
    min-height: 34rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.color-stage-platform{
    position: absolute;
    left: 50%;
    bottom: 0rem;
    transform: translateX(-50%);
    width: 80.6rem;
    height: 9.443rem;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.15);
    z-index: 1;
}

.color-car-img{
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 62rem;
    height: auto;
}

.stage-arrow-group{
    position: absolute;
    width: 11.9rem;
    height: 2rem !important;
    height: auto;
    background-color: #050D17;
    bottom: -1rem;
    z-index: 2;
}

.stage-arrow{
    position: absolute;
    bottom: -0.8rem;
    left: 3rem;
    transform: translateY(-50%);
    width: 2rem;
    height: 2rem;
    z-index: 3;
    border: none;
    background-color: #050D17;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 0;
    transition: background-color 0.2s ease, border-color 0.2s ease;
}


.stage-arrow img{
    width: 0.9rem;
    height: auto;
}

.stage-arrow-right{
    left: auto;
    right: 3rem;
}

.stage-arrow-right img{
    transform: rotate(180deg);
}

.color-name{
    color: #fff;
    font-size: 2rem;
    text-align: center;
}

.color-stage.is-360{
    cursor: grab;
    touch-action: pan-y;
}

.color-stage.is-360 .color-car-img{
    user-select: none;
}

.color-swatches{
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 1.6rem;
}

.color-swatch{
    width: 3.4rem;
    height: 3.4rem;
    border-radius: 50%;
    border: none;
    padding: 0;
    cursor: pointer;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.15);
    transition: box-shadow 0.2s ease, transform 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.color-swatch:hover{
    transform: scale(1.08);
}

.color-swatch.active{
    box-shadow: 0 0 0 0px rgba(5, 13, 23, 1), 0 0 0 3px rgba(3, 167, 206, 1);
}

.checkmark{
    width: 1.287rem;
    height: auto;
    display: none;
}

.checkmark.active{
    display: block;
}

.dark{
    filter: contrast(0) brightness(0);
}
