section.billboard {
    padding: 60px 0 80px 0;
    position: relative;

    .container {
        min-height: 860px;
    }

    .media-background {
        position: absolute;
        top: 260px;
        bottom: 80px;
        left: 0;
        width: 100%;
        overflow: hidden;

        .video-wrap {
            position: absolute;
            top: -650px;
            bottom: -650px;
            width: 100%;

            iframe {
                width: 100%;
                height: 100%;
                object-fit: cover;
                border: none;
            }
        }

        video {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
        }
    }

    .media-background::after {
        content: '';
        position: absolute;
        top: 0;
        bottom: 0;
        left: 0;
        width: 100%;
        background: linear-gradient(0deg, rgba(31, 31, 31, 0.2) 50%, #000000 100%);
        flex-shrink: 0;
    }

    .media-background + div {
        position: relative;
    }

    .subtitle {
        font-size: 18px;
        font-weight: 700;
        line-height: 1.44em;
        letter-spacing: 1px;
        text-align: center;
        background: linear-gradient(270deg, #FFFFFF 0.16%, #F9371C 49.41%, rgba(249, 55, 28, 0.70) 99.98%);
        background-clip: text;
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
    }

    .section-title {
        font-size: 56px;
        letter-spacing: 1.5px;
        color: #EFEFEF;
        text-align: center;
        margin: 32px auto 0 auto;
        max-width: 880px;
    }

    .description {
        text-align: center;
        color: #FFFFFF;
        font-size: 18px;
        font-weight: 400;
        line-height: 1.44em;
        letter-spacing: 0.5px;
        margin: 16px auto 0 auto;
        max-width: 880px;
    }

    .buttons-wrap {
        display: flex;
        justify-content: center;
        gap: 20px;
        margin-top: 48px;

        .button {
            color: #FFFFFF;
            border-color: #FFFFFF;
        }

        .button:hover {
            border-color: #F9371C;
        }
    }

    .media-content {
        height: 500px;
        display: flex;
        justify-content: center;

        .media-link {
            margin-top: 130px;
            position: relative;
            display: flex;
            align-items: center;
            width: 108px;
            height: 108px;
            border-radius: 58px;
            background: rgba(0, 0, 0, 0.32);
            backdrop-filter: blur(10px);
            transition: all 0.3s linear;

            img {
                margin-left: 34px;
                width: 44px;
                height: 44px;
            }

            .link-text {
                font-size: 16px;
                font-weight: 700;
                letter-spacing: 1px;
                text-transform: uppercase;
                color: #FFFFFF;
                opacity: 0;
                visibility: hidden;
                white-space: nowrap;
                margin-left: 10px;
                transition: all 0.3s linear;
            }
        }

        .media-link:hover {
            width: 240px;

            .link-text {
                opacity: 1;
                visibility: visible;
            }
        }
    }

    .button--red {
        display: flex;
        align-items: center;
    }

    .item-menu-billboard {
        position: sticky;
        bottom: 0;
        padding: 0 0 48px 40px;
        width: fit-content;
        z-index: 1;

        a {
            color: #FFFFFF;
        }

        .flex-item {
            display: flex;
            gap: 16px;
            align-items: center;
            font-size: 16px;
            padding: 8px 16px;
            background: rgba(255, 255, 255, 0.06);
            border: 1px solid rgba(255, 255, 255, 0.08);
            border-radius: 16px;
            margin-bottom: 8px;
            max-width: 280px;
            position: relative;
            background-clip: padding-box;
            backdrop-filter: blur(15px);
        }

        .sub-menu__link-title .warning {
            border: 1px solid #f9371c;
            color: #f9371c;
            display: inline-block;
            font-size: 12px;
            line-height: 14px;
            margin-left: 10px;
            padding: 4px 8px;
        }

        .flex-item::before {
            content: "";
            position: absolute;
            inset: 0;
            border-radius: inherit;
            padding: 1px;
            background: linear-gradient(170deg, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0.06) 50%, rgba(255, 255, 255, 0.06) 70%, rgba(255, 255, 255, 1) 100%);
            -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
            -webkit-mask-composite: xor;
            mask-composite: exclude;
            pointer-events: none;
        }

        .sub-menu__link {
            font-size: 16px;
            font-weight: 700;
            line-height: 20px;
            letter-spacing: 1px;
            transition: all 0.2s ease-in-out;
        }

        .sub-menu__link:hover {
            color: #F9371C;
        }

        .item-portfolio {
            max-width: 480px;
            background: rgba(255, 255, 255, 0.06);
            border: 1px solid rgba(255, 255, 255, 0.08);
            border-radius: 16px;
            position: relative;
            background-clip: padding-box;
            margin-top: 28px;
            padding: 24px;
            backdrop-filter: blur(15px);

            .portfolio-title {
                display: flex;
                gap: 10px;
                justify-content: space-between;
                margin-bottom: 20px;
            }

            .sub-menu__case-name {
                color: #FFFFFF;
                font-size: 16px;
                font-style: normal;
                font-weight: 700;
                line-height: 20px;
                letter-spacing: 1px;
                margin-bottom: 4px;
                display: inline-block;
            }

            .portfolio-title__title {
                color: #FFFFFF;
                font-size: 24px;
                font-style: normal;
                font-weight: 700;
                line-height: 30px;
                letter-spacing: 1px;
                margin-bottom: 4px;
            }

            .sub-menu__case-text,
            .sub-menu__case-text p {
                color: #FFFFFF;
                font-size: 16px;
                font-style: normal;
                font-weight: 400;
                line-height: 24px;

                display: -webkit-box;
                -webkit-line-clamp: 3;
                -webkit-box-orient: vertical;
                overflow: hidden;
            }

            .sub-menu__reviews-link {
                font-size: 14px;
                font-style: normal;
                font-weight: 500;
                line-height: 18px;
                letter-spacing: 0.5px;
                display: flex;
                gap: 8px;
                align-items: center;
                transition: all 0.3s ease-in-out;
            }

            .sub-menu__reviews-link:hover {
                color: #F9371C;
            }

            .sub-menu__case-link {
                display: inline-block;
                font-size: 14px;
                color: #F9371C;
                margin-top: 12px;
                transition: all 0.2s ease-in-out;
            }

            .sub-menu__case-link:hover {
                color: #ADADAD;
            }

            .flex-wrap {
                display: flex;
                gap: 12px;
            }

            .sub-menu__case-img {
                width: 46%;
                border-radius: 6px;
                overflow: hidden;

                img {
                    width: 100%;
                    height: 100%;
                    object-fit: cover;
                }
            }

            .sub-menu__case-info {
                max-width: 220px;
            }

            .after-arrow svg path {
                stroke: #F9371C;
            }
        }

        .item-portfolio::before {
            content: "";
            position: absolute;
            inset: 0;
            border-radius: inherit;
            padding: 1px;
            background: linear-gradient(170deg, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0.06) 50%, rgba(255, 255, 255, 0.06) 70%, rgba(255, 255, 255, 1) 100%);
            -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
            -webkit-mask-composite: xor;
            mask-composite: exclude;
            pointer-events: none;
        }
    }
}

.wait-js {
    visibility: hidden;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.js-ready .wait-js {
    visibility: visible;
    pointer-events: auto;
    opacity: 1;
}

/* MEDIA */

@media only screen and (max-width: 768px) {
    section.billboard {
        padding: 40px 0 58px 0;

        .container {
            min-height: auto;
        }

        .subtitle {
            font-size: 18px;
            max-width: 217px;
            margin: 0 auto;
        }

        .section-title {
            font-size: 36px !important;
        }

        .description p {
            font-size: 18px;
        }

        .buttons-wrap {
            flex-wrap: wrap;
            margin-top: 24px;
        }

        .media-content {
            display: none;
        }

        .media-background {
            top: 0;
            bottom: 0;
            left: calc(50% - 380px);
            right: calc(50% - 380px);

            video,
            .video-wrap {
                display: none;
            }
        }

        .media-background::after {
            background: radial-gradient(
                    ellipse 70% 50% at 50% 42%,
                    #3d0f0a 0%,
                    #2a0907 30%,
                    #120303 65%,
                    #000000 100%
            );
            backdrop-filter: blur(30px);
        }
    }

    section.billboard .item-menu-billboard {
        position: static;
        margin-top: 70px;
        padding: 14px;

        .sub-menu__case.flex-wrap > div {
            max-width: 49%;
        }

        .portfolio-title__title {
            font-size: 18px !important;
        }

        .sub-menu__link {
            font-size: 14px;
        }
    }
}

/* ( < 768 ) */
