html, body {
    overflow-x: hidden;
}

.bottom-bckg-gradient {
    position: relative;
    width: 100%;
}

.bottom-bckg-gradient::before {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--footer-gradient);
    z-index: -1;
    width: 120vw;
    left: -11vw;
    height: calc(55vw + 15%);
}
@media (max-width: 1275px) {
    .bottom-bckg-gradient::before {
        height: calc(55vw + 60%);
    }

}
@media (max-width: 1020px) {
    .bottom-bckg-gradient::before {
        height: calc(55vw + 70%);
    }

}
@media (max-width: 790px) {
    .bottom-bckg-gradient::before {
        height: calc(55vw + 70%);
    }


}

.container.pc-block, .container.mobile-block {
    position: relative;
    z-index: 1;
}

.txt-banner {
    font: var(--txt-h1);
    color: var(--color-txt);
}

.txt-h2 {
    color: var(--color-txt);
    font: var(--h2-txt);
}

/*Кнопка*/

.btn-icon {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
}

.gift-icon {
    height: 45px;
    margin: 8px;
}

/*!*Контейнер с анимацией текста*!*/

.banner-content {
    display: flex;
    flex-direction: row-reverse;
    justify-content: space-between;
}

.banner-content-box {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 45vw;
}

.fade-box {
    display: flex;
    align-items: center;
    position: relative;
    height: 20vw;
}

.fade-box div {
    position: absolute;
    opacity: 0;
    animation: fadein 15s linear infinite;
}

.fade-box div > p {
    display: block;
    color: var(--color-txt);
    font: var(--txt-in-container);
}

.fade-box div:nth-child(1) {
    animation-delay: 0s;
}
.fade-box div:nth-child(2) {
    animation-delay: 5s;
}
.fade-box div:nth-child(3) {
    animation-delay: 10s;
}

@keyframes fadein {
    0% {
        opacity: 0;
    }
    2% {
        opacity: 1;
    }
    30% {
        opacity: 1;
    }
    33% {
        opacity: 0;
    }
    100% {
        opacity: 0;
    }
}


@media (max-width: 760px) {
    .banner-content {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 64px;
    }
    .banner-content-box {
        display: flex;
        gap: 24px;
        width: 100%;
    }
    .banner {
        width: 240px;
    }
}

@media (max-width: 360px) {
    .banner-content {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 86px;

    }
    .banner-content-box {
        display: flex;
        gap: 32px;
    }
}



/*!*Контейнер РАЗНООБРАЗИЕ ТАРИФОВ*!*/

.tariffs-content {
    display: flex;
    flex-direction: row;
    gap: 10%;
    width: 100%;
}

.tariff-img {
    height: clamp(180px, 30vw, 310px);
}

.tariff-txt {
    display: flex;
    flex-direction: column;
    /*width: 55vw;*/
}

.tariff-txt p {
    color: var(--color-txt);
    font: var(--txt-in-container);
}

.tariff-txt ul {
    color: var(--color-txt);
    font: var(--txt-in-container);
    list-style-position: inside;
}

.tariff-txt li {
    text-indent: 1.5em;
}

@media (max-width: 760px) {
    .tariffs-content {
        flex-direction: column;
        gap: 24px;
        align-items: center;
    }

    .tariff-txt {
        align-items: center;
        text-align: center;
    }
}
/*!*Контейнер ПОДХОДИТ ДЛЯ ЛЮБЫХ УСТРОЙСВ*!*/

.devices {
    display: flex;
    gap: 24px;
    justify-content: space-between;
}
.devices-txt {
    width: 50vw;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.devices-txt p {
    color: var(--color-txt);
    font: var(--txt-in-container);

}

.devices-content {
    width: 30vw;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 24px;
}
.devices-btns1 {
    display: flex;
    gap: 24px;
    justify-content: center;
}

.devices-btns2 {
    display: flex;
    justify-content: center;
    gap: 24px;
}
.devices-img {
    aspect-ratio: 1 / 1;
    width: clamp(80px, 10vw, 126px);
    background-color: #040e2b;
    border: 1px solid #FFFFFF4D;
    border-radius: 50%;
    position: relative;
    overflow: hidden;
    box-shadow:
            4px 4px 12px 4px #0C50CF3C,
            inset 1px 6px 4px -4px #FFFFFF80;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
}

.devices-img img {
    width: auto;
    height: 50%;
    object-fit: contain;
}

@media (max-width: 760px) {
    .devices {
        flex-direction: column;
        gap: 68px;
    }

    .devices-txt{
        width: 100%;
        text-align: center;
    }

    .devices-content {
        width: 100%;
        align-items: center;
    }

    .devices-btns1,
    .devices-btns2 {
        justify-content: center;
        gap: 34px;
    }
}

/*!*Контейнер БЫСТРОЕ ПОДКЛЮЧЕНИЕ*!*/

.numbers-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    font: var(--txt-numbers-content);
    color: var(--color-txt);
    text-align: center;
}

.numbers-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 64px;
    width: 100%;
}

.numbers {
    display: flex;
    justify-content: space-evenly;
    flex-wrap: nowrap;
    gap: 32px;
    width: 100%;
}

.numbers-content-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    flex: 0 1 200px;
}

.numbers-content-box img {
    height: 54px;
}


@media (max-width: 760px) {
    .numbers {
        flex-wrap: wrap;
    }

    .numbers-content-box {
        flex: 1 1 calc(50% - 32px);
        max-width: 220px;
    }
}

/*!*Заголовок с картиной о безопасном доступе*!*/

.access {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 116px;
}

.access-txt {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.txt-access {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.text-ul{
    font: var(--bnt-txt);
    color: var(--color-txt);
}

.access-ul li {
    list-style: none;
    font: var(--txt-in-container);
    color: var(--color-txt);
    padding: 10px 0;
}

.access-ul img {
    width: 15px;
    height: 15px;
    margin: 0 10px;
}

@media (max-width: 760px) {
    .access {
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
        gap: 64px;
    }
    .access-btn{
        display: flex;
        justify-content: center;
        align-items: center;
        margin-top: 36px;
        width: 100%;
    }
    .access-img {
        width: 216px;
    }
}


/*!*6 блоков*!*/

.advantages-subtitle {
    display: flex;
    justify-content: center;
    text-align: center;
    margin-bottom: 5%;
}
.advantages-box {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    justify-content: center;
    gap: 64px;
}

.advantages {
    height: 260px;
    border-radius: 24px;
    border: 1px solid #FFFFFF4D;
    overflow: hidden;
    position: relative;
    background: rgba(3, 10, 32, 0.5);
    background-blend-mode: overlay;
}

.advantages::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(
            ellipse 130% 130% at 37% 100%,
            #017DE4 8%,
            #030A20 92%
    );
    z-index: -1;
}

.last::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(
            ellipse 130% 130% at 37% 100%,
            #01559a 8%,
            #030A20 92%
    );
    z-index: -1;
}

.advantages-content {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding: 24px 64px 24px 24px;
}

.advantages span {
    display: block;
    font: var(--bnt-txt);
    color: var(--color-txt);
    margin-bottom: 24px;
}
.advantages p {
    font: var(--txt-in-container);
    color: var(--color-txt);
}

.advantages-img {
    mix-blend-mode: soft-light;
    opacity: 0.7;
    position: absolute;
    bottom: -5px;
    right: 0;
}

@media (max-width: 1230px) {
    .advantages-box {
        display: grid;
        grid-template-columns: repeat(2, minmax(340px, 360px));
    }
}


@media (max-width: 760px) {
    .pc-block {
        display: none;
    }
}

/*эти же блоки но мобильная версия */
.mobile-block {
    display: none;
}

.advantages-box-2 {
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    align-content: center;
    gap: 18px;
}

.advantages-mobile {
    width: 360px;
    border-radius: 24px;
    overflow: hidden;
    position: relative;
    background: rgba(3, 10, 32, 0.5);
    background-blend-mode: overlay;
    border: 1px solid #FFFFFF4D;
}

.advantages-mobile::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(
            ellipse 130% 130% at 37% 100%,
            #017DE4 8%,
            #030A20 92%
    );
    z-index: -1;
}

.last::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(
            ellipse 130% 130% at 37% 100%,
            #01559a 8%,
            #030A20 92%
    );
    z-index: -1;
}

.advantages-content-mobile {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.advantages-mobile span {
    font: var(--bnt-txt);
    color: var(--color-txt);
    margin-bottom: 24px;
}

.advantages-mobile p {
    font: var(--txt-in-container);
    color: var(--color-txt);
    padding: 0 64px 24px 24px;
}

.advantages-img-mobile {
    mix-blend-mode: soft-light;
    opacity: 0.7;
    position: absolute;
    bottom: -5px;
    right: 0;
}

.advantages-content-mobile {
    display: flex;
    flex-direction: column;
}

.custom-label1 {
    padding: 24px 24px 0;
}

.advantages-content-mobile input {
    display: none;
}

.advantages-content-mobile label {
    display: flex;
    justify-content: space-between;
    cursor: pointer;
    z-index: 1;
}

.arrow-icon {
    width: 33px;
    transition: transform 0.3s ease;
}

.advantages-content-mobile input:checked + .custom-label1 .arrow-icon {
    transform: rotate(180deg);
}

.advantages-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.6s ease;
}

.advantages-content-mobile input:checked ~ .advantages-body {
    max-height: 200px;
}
@media (max-width: 760px) {
    .mobile-block {
        display: block;
    }
}


/*Блок "Не уверены какой тариф выбрать?"*/

.freedays-content {
    display: flex;
    justify-content: space-between;
}

.freedays-img {
    height: clamp(180px, 30vw, 310px)
}

.freedays-img-content {
    display: flex;
    justify-content: center;
    width: 30vw;
}

.freedays-txt {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 24px;
    width: 50vw;
}

.freedays-txt {
    color: var(--color-txt);
    font: var(--txt-in-container);
}


@media (max-width: 760px) {
    .advantages-subtitle {
        margin: 34px;
    }

    .freedays-content {
        flex-direction: column;
        gap: 24px;
        align-items: center;
    }

    .freedays-txt {
        align-items: center;
        text-align: center;
        width: 100%;
    }
}
