@font-face {
    font-family: Alpine;
    src: url(fonts/alpineascensionweb-light.e9018de.eot);
    src: url(fonts/alpineascensionweb-light.e9018de.eot) format('embedded-opentype'),
        url(fonts/alpineascensionweb-light.e9018de.woff2) format('woff2'),
        url(fonts/alpineascensionweb-light.e9018de.woff) format('woff'),
        url(fonts/alpineascensionweb-light.e9018de.ttf) format('ttf');
    font-weight: 100 300;
}
@font-face {
    font-family: Alpine;
    src: url(fonts/alpineascensionweb-regular.5604a82.eot);
    src: url(fonts/alpineascensionweb-regular.5604a82.eot) format('embedded-opentype'),
        url(fonts/alpineascensionweb-regular.5604a82.woff2) format('woff2'),
        url(fonts/alpineascensionweb-regular.5604a82.woff) format('woff'),
        url(fonts/alpineascensionweb-regular.5604a82.ttf) format('ttf');
    font-weight: 400;
}
@font-face {
    font-family: Alpine;
    src: url(fonts/alpineascensionweb-bold.b352c46.eot);
    src: url(fonts/alpineascensionweb-bold.b352c46.eot) format('embedded-opentype'),
        url(fonts/alpineascensionweb-bold.b352c46.woff2) format('woff2'),
        url(fonts/alpineascensionweb-bold.b352c46.woff) format('woff'),
        url(fonts/alpineascensionweb-bold.b352c46.ttf) format('ttf');
    font-weight: 500 900;
}

body {
    font-family: Alpine, sans-serif;
    --main-color: #0C1D2C;
    color: var(--main-color);
}

p {
    margin: 0;
    font-size: 14px;
    line-height: 17px;
}

button.btn {
    background-color: var(--main-color);
    color: #fff;
    border: none;
    border-radius: 0;
    padding: 15px 20px;
    font-size: 16px;
    line-height: 19px;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    width: 100%;
}

button.btn:hover, button.btn:active {
    background-color: #263C5D;
    color: #fff;
}

button.btn.block {
    user-select: none;
    pointer-events: none;
    opacity: .5;
}

/* HEADER */
header {
    padding: 16px 0;
    box-shadow: 0px 4px 18px rgba(0, 0, 0, 0.2);
    background-color: #fff;
}

header > div {
    display: flex;
    justify-content: space-between;
    align-items: center;
    column-gap: 10px;
}

@media (max-width: 300px) {
    header > div {
        flex-direction: column;
        row-gap: 10px;
        justify-content: center;
    }
}

/* BANNER */
.banner {
    height: 475px;
    background: transparent url(../img/alpine/banner-mobile-2.webp) no-repeat center;
    background-size: cover;
    cursor: pointer;
    position: relative;
    /* button height */
    margin-bottom: 49px;
}

.banner button {
    position: absolute;
    bottom: 0;
    transform: translateY(100%);
}

@media (min-width: 425px) {
    .banner {
        height: 547px;
        background-image: url(../img/alpine/banner-desktop-2.webp);
        background-position: center left;
        margin-bottom: 0;
    }

    .banner button {
        display: none;
    }
}

@media (max-width: 524px) and (min-width: 425px) {
    .banner {
        background-position: center left -70px;
    }
}

@media (min-width: 1900px) {
    .banner {
        height: 700px;
    }
}

/* WINS */
.wins {
    background-color: #F2F2F2;
    padding: 40px 0;
}

.wins > div {
    display: flex;
    flex-direction: column;
    row-gap: 30px;
    column-gap: 70px;
}

.wins .win {
    display: flex;
    column-gap: 21px;
}

.wins .win .icon {
    min-width: 41px;
    height: 41px;
    background: transparent url(../img/icons/check.svg) no-repeat center;
    background-size: cover;
}

.wins .win h2 {
    font-size: 20px;
    line-height: 24px;
    letter-spacing: 0.2px;
    margin-bottom: 5px;
}

@media (min-width: 768px) {
    .wins > div {
        flex-direction: row;
        justify-content: center;
    }

    .wins .win {
        max-width: 418px;
    }
}

/* MODEL */

.model {
    padding: 60px 0 45px;
    text-align: center;
}

@media (min-width: 768px) {
    .model {
        padding: 90px 0 100px;
    }
}

.model h1 {
    font-size: 26px;
    line-height: 31px;
}

.model .columns {
    padding-top: 40px;
    display: flex;
    flex-direction: column;
    row-gap: 55px;
}

@media (min-width: 768px) {
    .model .columns {
        padding-top: 60px;
        flex-direction: row;
        column-gap: 56px;
        justify-content: center;
        align-items: center;
    }
}

.model .car {
    width: 100%;
    max-width: 299px;
    border: 1px solid #CCCCCC;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .model .car {
        margin: 0;
    }
}

.model .car img.car-img {
    width: 100%;
}

.model .car img.car-img:not(.active) {
    display: none;
}

.model .car .text {
    padding: 3px 19px 15px;
}

.model .car .colors {
    display: flex;
    justify-content: center;
    align-items: center;
    column-gap: 6px;
    padding-bottom: 9px;
}

.model .car .colors > .color-img {
    width: 16.27px;
    height: 16px;
    background-size: cover;
    border-radius: 50px;
}

.model .car .colors > .color-img.active {
    width: 20.33px;
    height: 20px;
    border: 1.5px solid #CCCCCC;
}

.model .car .colors > .color-img:hover {
    cursor: pointer;
}

.model .car p {
    font-weight: 300;
    font-size: 10px;
    line-height: 12px;
    text-align: center;
}

.model .car .info {
    --column-gap: 38px;
    --divider: 1px;
    display: flex;
    column-gap: var(--column-gap);
    align-items: center;
    padding: 20px 0;
}

.model .car .info > * {
    width: 50%;
}

.model .car .info h2 {
    font-size: 24px;
    line-height: 29px;
    letter-spacing: 0.2px;
    margin-bottom: 0;
    text-align: right;
}

.model .car .info p {
    position: relative;
    text-align: left;
}

.model .car .info p::after {
    content: '';
    position: absolute;
    right: 100%;
    top: 50%;
    display: inline-block;
    width: var(--divider);
    height: 35px;
    background-color: #000000;
    transform: translateY(-50%);
    margin-right: calc(((var(--column-gap) - var(--divider)) / 2));
}

.model .car .info p > span.big {
    font-size: 24px;
    line-height: 29px;
    letter-spacing: 0.2px;
    font-weight: 700;
}

.model .car .info p > span.medium {
    font-weight: 700;
    letter-spacing: 0.2px;
    font-size: 16px;
    line-height: 20px;
}

.model .car .info p > span.small {
    font-weight: 700;
    font-size: 14px;
    line-height: 17px;
}

.model .car button.btn {
    margin-bottom: 13px;
}


/* SLIDER */
.slider {
    --bootstrap-padding: 12px;
    width: calc(100% + (var(--bootstrap-padding) * 2));
    max-width: 639px;
    padding-bottom: 40px;
    margin: 0 calc(var(--bootstrap-padding) * -1);
}

.slider .carousel-item {
    width: 100%;
    height: 223px;
    background-size: cover;
    background-position: center;
}

@media (min-width: 768px) {
    .slider .carousel-item {
        height: 381px;
    }
}

/* ARROWS */

.slider button[class^=carousel-control-] {
    width: 40px;
    height: 40px;
    top: unset;
    opacity: 1;
}

.slider .carousel-control-next {
    right: 0;
    bottom: -40px;
}

.slider .carousel-control-prev {
    left: unset;
    right: 40px;
    bottom: -40px;
}

.slider button[class^=carousel-control-] span[class$=-icon] {
    background-size: cover;
    width: 5px;
    height: 11px;
}

.slider .carousel-control-next .carousel-control-next-icon {
    background-image: url(../img/icons/caret-right.svg);
}


.slider .carousel-control-prev .carousel-control-prev-icon {
    background-image: url(../img/icons/caret-left.svg);
}

.slider .carousel-control-next.disabled, .slider .carousel-control-prev.disabled {
    opacity: .14;
}

/* INDICATORS */
.slider .carousel-indicators {
    margin: 0;
    bottom: -22px;
    left: 20px;
    column-gap: 9px;
    justify-content: flex-start;
    width: calc(100% - 80px - 30px);
}

.slider .carousel-indicators button {
    height: 4px;
    background-color: #CCCCCC;
    margin: 0;
    border: 0;
    width: 100%;
}

.slider .carousel-indicators button.active {
    background-color: var(--main-color);
}

@media (min-width: 576px) {
    .slider {
        width: 100%;
        margin: 0;
    }

    .slider .carousel-indicators {
        left: 0;
    }
}

/* FOOTER */
footer {
    background-color: var(--main-color);
    color: #fff;
    padding: 25px 0 15px;
}

footer > .container {
    display: flex;
    flex-direction: column;
    row-gap: 16px;
}

@media (min-width: 768px) {
    footer {
        padding: 15px;
    }

    footer > .container {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        column-gap: 40px;
    }
}

footer p.rights, footer a {
    font-size: 12px;
    line-height: 14px;
}

footer p.rights {
    margin-bottom: 10px;
}

footer p.conditions {
    font-weight: 300;
    font-size: 10px;
    line-height: 12px;
}

footer a {
    color: #fff;
    white-space: nowrap;
    text-underline-offset: 2px;
}

footer a:hover {
    color: #fff;
}

/* MODAL */
@media (min-width: 576px) {
    .modal .modal-dialog {
        max-width: 746px;
        position: relative;
    }
}

.modal .modal-content {
    padding: 48px 25px 30px;
    border-radius: 2px;
}

.modal .modal-header {
    padding: 0;
    border: none;
    border-radius: 0;
}

.modal .modal-header h4 {
    font-size: 26px;
    line-height: 31px;
    margin-bottom: 8px;
}

.modal .modal-header button {
    position: absolute;
    right: 14px;
    top: 14px;
    padding: 0;
    margin: 0;
    width: 30px;
    height: 30px;
    background-image: url(../img/icons/cross.svg);
    background-size: 24px;
    background-position: center;
    opacity: 1;
}

.modal .modal-body {
    padding: 24px 0 0;
    border-radius: 0;
}

@media (min-width: 768px) {
    .modal .modal-content {
        padding: 48px;
    }
    
    .modal .modal-header button {
        right: 17px;
        top: 18px;
    }
}

/* FORM */

.modal form {
    --gap: 16px;
    --error-color: #EE4545;
}

.modal form .columns {
    display: flex;
    flex-direction: column;
    row-gap: var(--gap);
}

.modal form .columns.margin {
    margin: var(--gap) 0;
}

@media (min-width: 768px) {
    .modal form .columns {
        flex-direction: row;
        column-gap: var(--gap);
    }
}

.modal form .columns > div {
    width: 100%;
}

.modal form input:not([type=checkbox]) {
    background: #F2F2F2;
    border-radius: 2px;
    padding: 16px;
    border: none;
    width: 100%;
}

/* checkbox */

.modal form label.checkbox {
    text-align: left;
    width: 100%;
    margin-bottom: 26px;
}
  
.modal form label.checkbox a {
    font-size: 12px;
    line-height: 14px;
    color: var(--main-color);
    text-underline-offset: 2px;
}
  
.modal form input[type=checkbox] {
    visibility: hidden;
}
  
.modal form input[type=checkbox]+span {
    font-size: 12px;
    line-height: 14px;
    background: transparent url(../img/icons/checkbox-unselected.svg) no-repeat center left;
    background-size: 17px;
    padding: 5px 0 5px 29px;
    cursor: pointer;
    margin-left: -15px;
}
  
.modal form input[type=checkbox]:checked+span {
    background-image: url(../img/icons/checkbox-selected.svg);
}

/* errors */
.modal form label:not(.checkbox).error {
    color: var(--error-color);
    font-size: 12px;
    line-height: 15px;
    width: 100%;
    text-align: left;
    display: block;
}

.modal form input[type=checkbox]+span.error, form input[type=checkbox]+span.error a {
    color: var(--error-color);
    margin-bottom: 5px;
}

.modal form input[type=checkbox]+span.error {
    background-image: url(../img/icons/checkbox-error.svg);
}

.modal form input[type=checkbox] ~ label.error { 
    margin: 5px 0 0;
}
  
.modal form input:not([type=checkbox]).error {
    border: 1px solid var(--error-color);
    margin-bottom: 5px;
}