/* ===== БАЗОВЫЕ СТИЛИ (ДЕСКТОП) ===== */
html, body {
    margin: 0;
    padding: 0;
    background-color: #000;
    overflow-x: hidden;
}
* {
    user-select: none;
}
img {
    user-select: none;
    -webkit-user-drag: none;
}
button {
    cursor: pointer;
    transition: 0.2s ease;
}
button:hover {
    box-shadow: 0 0 18px rgba(0, 119, 255, 0.8);
    transform: translateY(-2px);
}
button:active {
    transform: translateY(0);
}

/* ШАПКА */
.head_class {
    display: flex;
    gap: 20px;
    justify-content: space-between;
    border-bottom: 0px solid #1e90ff02;
    box-shadow: 0 0 5px #0e70df;
    margin: -8px;
    padding: 20px;
    z-index: 1000;
    position: relative;
    background-color: #000000d1;
}
.head_class_group {
    display: flex;
    gap: 20px;
    align-items: center;
}
.head_class_h1 {
    color: white;
    font-weight: 900;
    font-size: calc(100%);
    margin-left: -15px;
    letter-spacing: 2px;
}
.head_class_img {
    width: 43px;
    height: 40px;
}
.head_class_support {
    display: flex;
    gap: 20px;
}
.head_class_white_button {
    padding-left: 15px;
    color: white;
    text-decoration: none;
    text-shadow: 0 0 5px #00aaff, 0 0 12px #0077ff;
}
.head_class_blue_button {
    border-color: #0077ff;
    font-weight: 700;
    border-style: solid;
    border-width: 2px;
    border-radius: 8px;
    margin-left: 40px;
    margin-right: 20px;
    color: white;
    background-color: #000;
    padding: 10px;
}

/* ПЕРВЫЙ ЭКРАН */
.first_body_group {
    padding: 20px;
    display: flex;
    gap: 20px;
    justify-content: space-between;
    z-index: 0;
    overflow-x: hidden;
}
.first_body_group_h1 {
    color: white;
    font-weight: 900;
    font-size: calc(480%);
    margin-left: -15px;
    letter-spacing: 2px;
    padding-left: 30px;
}
.first_body_group_h2 {
    color: #cbd5e1;
    font-weight: 900;
    font-size: calc(150%);
    margin-left: -15px;
    letter-spacing: 2px;
    padding-left: 30px;
    line-height: 40px;
    margin-bottom: 50px;
}
.first_body_subgroup {
    width: fit-content;
}
.first_body_white_button {
    background-color: #0077ff;
    font-weight: 700;
    border-style: solid;
    size: calc(100%);
    border-width: 2px;
    border-radius: 8px;
    margin-left: 15px;
    margin-right: 20px;
    color: white;
    padding-left: 40px;
    padding-right: 40px;
    padding-bottom: 15px;
    padding-top: 15px;
}
.first_body_transparent_button {
    border-color: #0077ff;
    font-weight: 700;
    border-style: solid;
    border-width: 2px;
    border-radius: 8px;
    margin-right: 20px;
    color: white;
    background-color: #000;
    padding-left: 40px;
    padding-right: 40px;
    padding-bottom: 15px;
    padding-top: 15px;
}
.first_body_img {
    margin-top: -250px;
    margin-right: -250px;
    size: 10%;
}

/* ВТОРОЙ БЛОК – КАРТОЧКИ */
.second_body_group {
    padding: 20px;
    display: flex;
    gap: 20px;
    justify-content: space-between;
    z-index: 1;
    background-color: #000;
    position: relative;
    margin-top: -200px;
}
.second_body_card {
    border-color: #0077ff;
    background-color: rgba(0, 20, 45, 0.55);
    border-width: 2px;
    border-style: solid;
    display: flex;
    border-radius: 15px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.second_body_img {
    width: 30%;
    z-index: -2;
}
.second_body_h3 {
    margin-top: -15px;
    border-radius: 15px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
}
.second_body_h5 {
    margin-top: -5px;
    border-radius: 15px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #cbd5e1;
    text-align: center;
}

/* БРЕНДЫ – ЗАГОЛОВКИ */
.brands_h1 {
    color: white;
    font-weight: 900;
    font-size: calc(200%);
    margin-left: -15px;
    letter-spacing: 2px;
    padding-left: 30px;
    text-align: center;
}
.brands_h5 {
    color: #cbd5e1;
    font-weight: 900;
    font-size: calc(80%);
    margin-left: -15px;
    letter-spacing: 2px;
    padding-left: 30px;
    text-align: center;
}

/* ТРЕТИЙ БЛОК – ПРОДУКТЫ */
.third_body_group {
    display: flex;
    gap: 10px;
    justify-content: space-between;
    z-index: 1;
    background-color: #000;
    position: relative;
}
.third_body_img {
    width: 100%;
}
.third_body_card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.third_body_button {
    background-color: #000;
    font-weight: 700;
    border-style: solid;
    size: calc(100%);
    border-color: #0077ff;
    background-color: #000;
    border-width: 2px;
    border-style: solid;
    border-width: 2px;
    border-radius: 8px;
    margin-left: 15px;
    margin-right: 20px;
    color: white;
    padding-left: 40px;
    padding-right: 40px;
    padding-bottom: 15px;
    padding-top: 15px;
}

/* ЧЕТВЁРТЫЙ БЛОК – "Почему Hillariot" */
.fourth_body_group {
    position: relative;
    padding: 80px 20px 70px 20px;
    background-color: #000;
}
.fourth_body_img {
    position: absolute;
    right: -120px;
    top: -40px;
    width: 520px;
    opacity: 0.18;
    z-index: 0;
}
.fourth_body_subgroup {
    position: relative;
    z-index: 2;
}
.fourth_body_h1 {
    color: white;
    font-weight: 900;
    font-size: calc(200%);
    margin: 0;
    letter-spacing: 2px;
    text-align: center;
}
.fourth_body_h5 {
    color: white;
    font-weight: 900;
    font-size: calc(80%);
    letter-spacing: 2px;
    text-align: center;
    margin: 25px 0 0 0;
    line-height: 24px;
}

/* ПЯТЫЙ БЛОК – КАРТОЧКИ "Почему" */
.fiveth_body_group {
    padding: 20px;
    display: flex;
    gap: 20px;
    justify-content: space-between;
    z-index: 1;
    background-color: #00000000;
    position: relative;
    padding-right: 15%;
    padding-left: 15%;
}
.fiveth_body_subgroup1 {
    border-right-color: #0077ff;
    border-width: 2px;
    border-style: solid;
    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: start;
}
.fiveth_body_subgroup2 {
    flex-direction: column;
    align-items: start;
    justify-content: start;
}
.fiveth_body_img {
    width: 30%;
    z-index: -2;
}
.fiveth_body_h3 {
    margin-top: -15px;
    border-radius: 15px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: start;
}
.fiveth_body_h5 {
    margin-top: -5px;
    border-radius: 15px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #cbd5e1;
    text-align: start;
}

/* ШЕСТОЙ БЛОК – ЗАГОЛОВКИ "Как мы работаем" */
.sixth_body_h1 {
    color: white;
    font-weight: 900;
    font-size: calc(200%);
    margin-left: -15px;
    letter-spacing: 2px;
    padding-left: 30px;
    text-align: center;
}
.sixth_body_h2 {
    color: white;
    font-weight: 900;
    font-size: calc(80%);
    margin-left: -15px;
    letter-spacing: 2px;
    padding-left: 30px;
    text-align: center;
}

/* СЕДЬМОЙ БЛОК – КАРТОЧКИ С ЦИФРАМИ */
.seventh_body_group {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    padding: 40px 20px;
    background-color: #000;
}
.seventh_body_subgroup1 {
    position: relative;
    width: 330px;
    min-height: 250px;
    padding: 55px 45px 35px 45px;
    box-sizing: border-box;
    border: 1px solid #0077ff;
    border-radius: 14px;
    background-color: rgba(0, 119, 255, 0.04);
    box-shadow: 0 0 18px rgba(0, 119, 255, 0.25);
    color: white;
}
.seventh_body_subgroup2 {
    color: #00aaff;
    font-size: 34px;
    font-weight: 900;
    text-shadow: 0 0 8px #00aaff, 0 0 18px #0077ff;
}
.seventh_body_digit {
    position: absolute;
    top: -22px;
    left: 28px;
    width: 54px;
    height: 54px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: #0077ff;
    color: white;
    font-size: 20px;
    font-weight: 900;
    box-shadow: 0 0 18px rgba(0, 119, 255, 0.9);
}
.seventh_body_img_group {
    margin-bottom: 35px;
    text-align: center;
}
.seventh_body_img {
    width: 30%;
    z-index: -2;
}
.seventh_body_h3 {
    margin: 0 0 20px 0;
    color: white;
    font-size: 22px;
    font-weight: 900;
}
.seventh_body_p {
    margin: 0;
    color: #9ca3af;
    font-size: 16px;
    line-height: 1.8;
    font-weight: 700;
}

/* ВОСЬМОЙ БЛОК – CTA */
.eighth_body_group {
    margin-bottom: 15px;
    margin-left: 15%;
    margin-right: 15%;
    min-height: 360px;
    background-image: linear-gradient(90deg, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.75) 38%, rgba(0, 0, 0, 0.15) 100%), url(images/main-6.png);
    background-size: contain;
    background-position: center right;
    background-repeat: no-repeat;
    border: 1px solid #0077ff;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 50px 50px;
    box-sizing: border-box;
    background-color: #0077ff10;
}
.eighth_body_subgroup {
    max-width: 560px;
}
.eighth_body_h1 {
    color: white;
    font-weight: 900;
    font-size: calc(280%);
    margin: 0 0 20px 0;
    letter-spacing: 2px;
    text-align: left;
}
.eighth_body_h5 {
    color: #c8c8c8;
    font-weight: 900;
    font-size: calc(80%);
    margin: 0 0 28px 0;
    letter-spacing: 2px;
    line-height: 22px;
    text-align: left;
}
.eighth_body_blue_button {
    background-color: #0077ff;
    font-weight: 700;
    border: 2px solid #0077ff;
    border-radius: 8px;
    color: white;
    padding: 15px 35px;
}
.eighth_body_transparent_button {
    border: 2px solid #0077ff;
    border-radius: 8px;
    color: white;
    background-color: #000000d1;
    padding: 15px 35px;
    font-weight: 700;
}

/* ПОДВАЛ */
.nineth_basement_group {
    display: flex;
    justify-content: space-between;
    margin: -8px;
    padding: 20px;
    z-index: 1000;
    position: relative;
    background-color: #000000d1;
}
.nineth_basement_first_column_group {
    display: grid;
    gap: 20px;
    align-items: center;
}
.nineth_basement_first_column_subgroup1 {
    display: flex;
    gap: 20px;
    align-items: center;
}
.nineth_basement_first_column_subgroup1_img {
    width: 43px;
    height: 40px;
}
.nineth_basement_first_column_subgroup2_h2 {
    color: white;
    font-weight: 900;
    font-size: calc(100%);
    margin-left: -15px;
    letter-spacing: 2px;
}
.nineth_basement_first_column_a {
    color: #cbd5e1;
    letter-spacing: 2px;
    font-size: larger;
}
.eighth_second_third_fourth_column_group {
    display: grid;
    gap: 10px;
    align-items: center;
}
.eighth_second_third_fourth_column_head {
    color: white;
    margin-left: -15px;
    letter-spacing: 2px;
    font-size: larger;
}
.eighth_second_third_fourth_column_buttons {
    color: #cbd5e1;
    margin-left: -15px;
    letter-spacing: 2px;
    font-size: larger;
    text-decoration: none;
}
.basement_h5 {
    color: grey;
    font-weight: 900;
    font-size: calc(80%);
    margin-left: -15px;
    letter-spacing: 2px;
    padding-left: 30px;
    text-align: center;
}

/* ===== МЕДИА-ЗАПРОСЫ ===== */

/* ПЛАНШЕТЫ И МАЛЕНЬКИЕ НОУТБУКИ (≤ 1024px) */
@media screen and (max-width: 1024px) {
    /* ШАПКА */
    .head_class {
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
        padding: 15px;
    }
    .head_class_group {
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }
    .head_class_blue_button {
        margin-left: 10px;
        margin-right: 10px;
    }
    .head_class_white_button {
        padding-left: 8px;
        font-size: 14px;
    }

    /* ПЕРВЫЙ ЭКРАН */
    .first_body_group {
        flex-direction: column;
        align-items: center;
        padding: 10px;
    }
    .first_body_group_h1 {
        font-size: calc(300%);
        padding-left: 10px;
        text-align: center;
    }
    .first_body_group_h2 {
        font-size: calc(120%);
        padding-left: 10px;
        text-align: center;
        line-height: 1.6;
        margin-bottom: 30px;
    }
    .first_body_subgroup {
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
        gap: 10px;
        width: 100%;
    }
    .first_body_white_button,
    .first_body_transparent_button {
        padding-left: 25px;
        padding-right: 25px;
        margin: 5px;
    }
    .first_body_img {
        margin-top: 0;
        margin-right: 0;
        width: 80%;
        max-width: 400px;
    }

    /* ВТОРОЙ БЛОК – КАРТОЧКИ */
    .second_body_group {
        flex-wrap: wrap;
        justify-content: center;
        margin-top: 0;
        gap: 15px;
    }
    .second_body_card {
        flex: 1 1 45%;
        min-width: 200px;
        padding: 15px 10px;
    }
    .second_body_img {
        width: 25%;
    }

    /* БРЕНДЫ – ЗАГОЛОВКИ */
    .brands_h1 {
        font-size: calc(160%);
        padding-left: 10px;
    }
    .brands_h5 {
        font-size: calc(70%);
        padding-left: 10px;
    }

    /* ТРЕТИЙ БЛОК – ПРОДУКТЫ */
    .third_body_group {
        flex-wrap: wrap;
        justify-content: center;
        gap: 20px;
    }
    .third_body_card {
        flex: 1 1 45%;
        max-width: 300px;
    }
    .third_body_button {
        padding-left: 20px;
        padding-right: 20px;
        margin: 10px 0;
        font-size: 14px;
    }

    /* ЧЕТВЁРТЫЙ БЛОК – "Почему Hillariot" */
    .fourth_body_group {
        padding: 60px 15px 50px 15px;
    }
    .fourth_body_img {
        width: 300px;
        right: -60px;
        top: 0;
    }
    .fourth_body_h1 {
        font-size: calc(160%);
    }
    .fourth_body_h5 {
        font-size: calc(70%);
        padding: 0 10px;
    }

    /* ПЯТЫЙ БЛОК – КАРТОЧКИ "Почему" */
    .fiveth_body_group {
        flex-wrap: wrap;
        justify-content: center;
        padding: 20px 5%;
        gap: 25px;
    }
    .fiveth_body_subgroup,
    .fiveth_body_subgroup2 {
        flex: 1 1 45%;
        min-width: 200px;
        text-align: center;
    }
    .fiveth_body_img {
        width: 20%;
    }
    .fiveth_body_h3 {
        text-align: center;
    }
    .fiveth_body_h5 {
        text-align: center;
    }

    /* ШЕСТОЙ БЛОК */
    .sixth_body_h1 {
        font-size: calc(160%);
        padding-left: 10px;
    }
    .sixth_body_h2 {
        font-size: calc(70%);
        padding-left: 10px;
    }

    /* СЕДЬМОЙ БЛОК – КАРТОЧКИ С ЦИФРАМИ */
    .seventh_body_group {
        flex-wrap: wrap;
        gap: 30px;
        padding: 30px 15px;
    }
    .seventh_body_subgroup1 {
        width: 280px;
        padding: 45px 30px 25px 30px;
    }
    .seventh_body_subgroup2 {
        display: none; /* скрываем стрелки на планшетах */
    }

    /* ВОСЬМОЙ БЛОК – CTA */
    .eighth_body_group {
        margin-left: 5%;
        margin-right: 5%;
        padding: 30px 30px;
        background-size: cover;
        background-position: center;
        min-height: auto;
    }
    .eighth_body_subgroup {
        max-width: 100%;
    }
    .eighth_body_h1 {
        font-size: calc(200%);
        text-align: center;
    }
    .eighth_body_h5 {
        font-size: calc(70%);
        text-align: center;
    }
    .eighth_body_subsubgroup {
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
        gap: 10px;
    }
    .eighth_body_blue_button,
    .eighth_body_transparent_button {
        padding: 12px 25px;
        font-size: 14px;
    }

    /* ПОДВАЛ */
    .nineth_basement_group {
        flex-wrap: wrap;
        justify-content: center;
        gap: 30px;
        padding: 20px 15px;
    }
    .nineth_basement_first_column_group,
    .eighth_second_third_fourth_column_group {
        flex: 1 1 45%;
        min-width: 150px;
        align-items: center;
        text-align: center;
    }
    .basement_h5 {
        font-size: calc(70%);
        padding-left: 10px;
    }
}

/* МАЛЕНЬКИЕ ПЛАНШЕТЫ И ТЕЛЕФОНЫ ГОРИЗОНТАЛЬНО (≤ 768px) */
@media screen and (max-width: 768px) {
    /* ШАПКА */
    .head_class {
        flex-direction: column;
        align-items: center;
        gap: 5px;
        padding: 12px;
    }
    .head_class_group {
        flex-wrap: wrap;
        justify-content: center;
        gap: 8px;
    }
    .head_class_white_button {
        font-size: 13px;
        padding-left: 5px;
    }
    .head_class_blue_button {
        margin: 0;
        padding: 8px 16px;
        font-size: 13px;
    }

    /* ПЕРВЫЙ ЭКРАН */
    .first_body_group_h1 {
        font-size: calc(220%);
        padding-left: 5px;
    }
    .first_body_group_h2 {
        font-size: calc(100%);
        padding-left: 5px;
        line-height: 1.5;
    }
    .first_body_white_button,
    .first_body_transparent_button {
        padding: 10px 20px;
        font-size: 14px;
        margin: 3px;
    }
    .first_body_img {
        width: 100%;
        max-width: 300px;
    }

    /* ВТОРОЙ БЛОК – КАРТОЧКИ */
    .second_body_card {
        flex: 1 1 100%;
        max-width: 300px;
    }
    .second_body_img {
        width: 20%;
    }

    /* ТРЕТИЙ БЛОК – ПРОДУКТЫ */
    .third_body_card {
        flex: 1 1 100%;
        max-width: 280px;
    }
    .third_body_button {
        padding: 10px 15px;
        font-size: 13px;
        white-space: nowrap;
    }

    /* ПЯТЫЙ БЛОК – КАРТОЧКИ "Почему" */
    .fiveth_body_group {
        padding: 15px 3%;
    }
    .fiveth_body_subgroup,
    .fiveth_body_subgroup2 {
        flex: 1 1 100%;
        max-width: 280px;
    }

    /* СЕДЬМОЙ БЛОК – КАРТОЧКИ С ЦИФРАМИ */
    .seventh_body_subgroup1 {
        width: 100%;
        max-width: 320px;
        padding: 40px 20px 20px 20px;
    }

    /* ВОСЬМОЙ БЛОК – CTA */
    .eighth_body_group {
        margin: 0 10px;
        padding: 25px 20px;
        border-radius: 10px;
    }
    .eighth_body_h1 {
        font-size: calc(160%);
    }

    /* ПОДВАЛ */
    .nineth_basement_group {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }
    .nineth_basement_first_column_group,
    .eighth_second_third_fourth_column_group {
        flex: 1 1 100%;
        text-align: center;
        align-items: center;
    }
    .nineth_basement_first_column_subgroup1 {
        justify-content: center;
    }
    .basement_h5 {
        padding-left: 5px;
        font-size: calc(60%);
    }
}

/* ТЕЛЕФОНЫ ВЕРТИКАЛЬНО (≤ 480px) */
@media screen and (max-width: 480px) {
    .head_class {
        padding: 10px;
    }
    .head_class_h1 {
        font-size: 16px;
        margin-left: 0;
    }
    .head_class_img {
        width: 35px;
        height: 32px;
    }
    .head_class_white_button {
        font-size: 11px;
        padding: 0 5px;
        text-shadow: 0 0 3px #00aaff;
    }
    .head_class_blue_button {
        font-size: 11px;
        padding: 6px 12px;
    }

    .first_body_group_h1 {
        font-size: calc(180%);
        padding: 0 5px;
    }
    .first_body_group_h2 {
        font-size: 14px;
        padding: 0 5px;
        margin-bottom: 20px;
    }
    .first_body_white_button,
    .first_body_transparent_button {
        padding: 8px 15px;
        font-size: 12px;
        margin: 2px;
    }
    .first_body_img {
        max-width: 220px;
    }

    .second_body_group {
        gap: 10px;
        padding: 10px;
    }
    .second_body_card {
        padding: 10px 5px;
    }
    .second_body_h3 {
        font-size: 16px;
    }
    .second_body_h5 {
        font-size: 12px;
    }
    .second_body_img {
        width: 25%;
    }

    .brands_h1 {
        font-size: 22px;
        padding-left: 5px;
    }
    .brands_h5 {
        font-size: 12px;
        padding-left: 5px;
    }

    .third_body_card {
        max-width: 220px;
    }
    .third_body_button {
        padding: 8px 12px;
        font-size: 11px;
        white-space: normal;
        width: 100%;
        box-sizing: border-box;
        margin: 5px 0;
    }

    .fourth_body_group {
        padding: 40px 10px 30px 10px;
    }
    .fourth_body_img {
        width: 180px;
        right: -30px;
        top: 10px;
    }
    .fourth_body_h1 {
        font-size: 22px;
    }
    .fourth_body_h5 {
        font-size: 12px;
        line-height: 1.6;
        padding: 0 5px;
    }

    .fiveth_body_group {
        padding: 10px 2%;
        gap: 15px;
    }
    .fiveth_body_subgroup,
    .fiveth_body_subgroup2 {
        max-width: 220px;
    }
    .fiveth_body_h3 {
        font-size: 16px;
    }
    .fiveth_body_h5 {
        font-size: 12px;
    }

    .sixth_body_h1 {
        font-size: 22px;
        padding-left: 5px;
    }
    .sixth_body_h2 {
        font-size: 12px;
        padding-left: 5px;
    }

    .seventh_body_group {
        gap: 20px;
        padding: 20px 10px;
    }
    .seventh_body_subgroup1 {
        max-width: 260px;
        padding: 35px 15px 15px 15px;
    }
    .seventh_body_digit {
        width: 44px;
        height: 44px;
        font-size: 16px;
        top: -18px;
        left: 20px;
    }
    .seventh_body_h3 {
        font-size: 18px;
    }
    .seventh_body_p {
        font-size: 14px;
    }
    .seventh_body_img {
        width: 25%;
    }

    .eighth_body_group {
        padding: 20px 15px;
        margin: 0 5px;
    }
    .eighth_body_h1 {
        font-size: 20px;
        margin-bottom: 10px;
    }
    .eighth_body_h5 {
        font-size: 12px;
        margin-bottom: 15px;
    }
    .eighth_body_blue_button,
    .eighth_body_transparent_button {
        padding: 10px 18px;
        font-size: 12px;
    }

    .nineth_basement_group {
        gap: 15px;
        padding: 15px 10px;
    }
    .nineth_basement_first_column_subgroup1_img {
        width: 35px;
        height: 32px;
    }
    .nineth_basement_first_column_subgroup2_h2 {
        font-size: 16px;
    }
    .eighth_second_third_fourth_column_head {
        font-size: 16px;
    }
    .eighth_second_third_fourth_column_buttons {
        font-size: 14px;
    }

    .basement_h5 {
        font-size: 11px;
        padding: 0 5px;
    }
}