.header {
    width: 100%;
    background-image: url('/local/templates/pass/assets/images/slide-2.png');
    background-repeat: no-repeat;
    background-position-x: center;
    background-position-y: 10%;
    background-size: 100%;
    background-clip: content-box;
}

.header__container {
    display: flex;
    justify-content: center;
    flex-direction: column;
    padding: 36px 40px 105px 40px;
    margin: 0 auto;
    max-width: 1440px;
}

.header__top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0 0 96px 0;
}

.header__top__phone {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 700;
    line-height: 19px;
    color: var(--text-primary-color);
    transition: color .3s ease;
}

@media (hover: hover) {
    .header__top__phone:hover {
        color: var(--accent-background-color);
    }
}

.header__top__logo {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 0 0 16px;
    max-width: 224px;
}

.header__top__image {
    width: 100%;
}

.header__top__text {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 700;
    line-height: 19px;
    letter-spacing: -0.32px;
    color: var(--text-primary-color);
    transition: color .3s ease;
}

@media (hover: hover) {
    .header__top__text:hover {
        color: var(--accent-background-color);
    }
}

.header__main__info {
    padding: 8px;
    margin: 0 auto 63% auto;
    border-radius: 16px;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    max-height: 1200px;
    height: 100% !important;
}

.header__info {
    display: none;
}

.header__info__wrapper {
    display: none;
    justify-content: center;
    align-items: center;
    padding: 4px 10px;
    border-radius: 16px;
    width: 100%;
    height: 605px;
    background-color: var(--text-primary-color);
    background-repeat: no-repeat;
    background-position: center;
    background-size: 101%;
}


.header__main {
    display: flex;
    justify-content: center;
    align-items: center;
    align-self: flex-start;
    flex-direction: column;
    margin: 0 auto 112px auto;
}

.header__main__title {
    margin: 0 12px 32px 0;
    max-width: 1000px;
    font-family: 'Inter', sans-serif;
    font-size: 55px;
    font-weight: 600;
    line-height: 62px;
    background: var(--accent-gradient-1);
    text-align: center;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    white-space: pre-line;
}

.header__main__button {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 333px;
    gap: 10px;
    width: 250px;
    height: 52px;
    border: 4px solid rgba(255, 255, 255, 0.15);
    background-color: var(--button-background-gradient);
    transition: background-color 0.6s ease;
    overflow: hidden;
    z-index: 1;
    cursor: pointer;
}

.header__main__text {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 600;
    line-height: 19px;
    color: var(--text-secondary-color-2);
    transition: color 0.6s ease;
    z-index: 2;
}

.header__main__button::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-image: var(--accent-gradient-2);
    transition: opacity 0.6s ease;
    z-index: 0;
    opacity: 1;
}

.header__main__button:hover::before {
    opacity: 0;
}

.header__main__button:hover {
    background-color: var(--accent-background-color);
}

.header__main__button:hover .header__main__text {
    color: var(--text-primary-color);
}

.header__button {
    display: flex;
    justify-content: center;
    align-items: center;
}

@media (max-width: 1680px){
    .header{
        background-position-y: -20%;
    }

    .header__main__info{
        margin: 0 auto 53% auto;
    }

}

@media (max-width: 1550px){
    .header{
        background-position-y: 50px;
    }

    .header__main__info{
        margin: 0 auto 49% auto;
    }

}

@media (max-width: 1441px){
    .header{
        background-position-y: 70px;
    }

    .header__main__info{
        margin: 0 auto 45% auto;
    }

}

@media (max-width: 1250px){
    .header{
        background-position-y: 120px;
    }
}

@media (max-width: 1200px) {
    .header{
        background-position-y: 110px;
    }

    .header__main__info{
        margin: -30px auto 45% auto;
    }

    .header__main__title {
        font-size: 42px;
        line-height: 50px;
    }

    .header__info__wrapper {
        background-position: top;
        height: 400px;
    }

}

@media (max-width: 992px) {
    .header__top__phone {
        font-size: 14px;
    }

    .header__top__text {
        font-size: 14px;
    }

    .header__top__logo {
        margin: 0;
        max-width: 180px;
    }

    .header__main__title {
        margin: 0 0 32px 0;
        font-size: 32px;
        line-height: 36px;
    }

    .header__main__button {
        width: 200px;
        height: 40px;
        font-size: 14px;
    }

    .swiper-slide{
        padding-top: 46px;
        padding-left: 21px;
    }
}

@media (max-width: 768px) {
    .header {
        background-size: 0;
    }

    .header__container {
        padding: 32px 0 0 0;
    }

    .header__top {
        flex-direction: column;
        justify-content: center;
        padding: 0 20px;
        margin: 0 0 56px 0;
    }

    .header__top__logo {
        margin: 0 0 16px 0;
        max-width: 238px;
    }

    .header__top__phone {
        order: 3;
        font-size: 13px;
    }

    .header__top__text {
        margin: 0 0 6px 0;
        font-size: 13px;
    }

    .header__main {
        padding: 0 20px;
        margin-bottom: 71px;
    }

    .header__main__title {
        margin: 0 0 24px 0;
        font-size: 28px;
        line-height: 32px;
    }

    .header__main__info {
        padding: 4px 0 0 0;
        border-radius: 0;
        margin: 0;
        max-width: 100%;
    }

    .header__info{
        display: block;
        margin: 0;
    }

    .header__info__wrapper {
        display: flex;
        padding: 0;
        border-radius: 0;
        height: 390px;
        background-image: url('/local/templates/pass/assets/images/slide-2-shadow-min.png');
    }

    .header__button {
        display: none;
    }
}

@media (max-width: 670px){
    .header__info__wrapper{
        height: 370px;
    }
}

@media (max-width: 576px) {
    .header__main__title {
        font-size: 32px;
        line-height: 120%;
    }

    .header__main__button {
        width: 237px;
        height: 49px;
    }

    .header__info__wrapper {
        height: 310px;
    }

    .header__main{
        margin-bottom: 73px;
    }
}

@media (max-width: 568px) {
    .header__main__title {
        white-space: normal;
    }
}

@media (max-width: 500px) {
    .header {
        background-size: 0;
    }

    .header__info__wrapper {
        height: 260px;
    }
}

@media (max-width: 402px) {
    .header {
        background-size: 0;
    }

    .header__info__wrapper {
        height: 220px;
    }
}