.home-video {
    position: relative;
    overflow: hidden;
    background: #022B45;
}

.home-video::before {
    background: linear-gradient(120deg, rgba(2, 43, 69, .98), rgba(2, 43, 69, .78));
}

.home-video-heading {
    position: relative;
    z-index: 1;
    max-width: 680px;
    margin: 0 auto 2.5rem;
    color: #fff;
    text-align: center;
}

.home-video-heading > span {
    color: #EC5C20;
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.home-video-heading h3 {
    margin: .7rem 0 .9rem;
    color: #fff;
    font-size: clamp(1.8rem, 3.5vw, 3rem);
    line-height: 1.15;
}

.home-video-heading p {
    margin: 0 auto;
    color: rgba(255, 255, 255, .7);
    line-height: 1.7;
}

.home-video-player {
    position: relative;
    z-index: 1;
    display: flex;
    min-height: 390px;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 1.5rem;
    background: linear-gradient(0deg, rgba(2, 43, 69, .5), transparent), url("../images/bg-video.jpg") center / cover;
    box-shadow: 0 1.5rem 3rem rgba(0, 0, 0, .25);
}

.home-video-player::before {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, transparent 0, rgba(2, 43, 69, .28) 60%, rgba(2, 43, 69, .7));
    content: "";
}

.home-video-copy {
    position: absolute;
    top: 1.5rem;
    left: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: .3rem;
    color: #fff;
}

.home-video-label {
    color: #EC5C20;
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .15em;
    text-transform: uppercase;
}

.home-video-copy strong {
    font-size: 1.1rem;
}

.home-video-copy small {
    color: rgba(255, 255, 255, .7);
}

.home-video-play {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: .8rem;
    color: #fff;
    font-size: .75rem;
    font-weight: 700;
    text-decoration: none;
}

.home-video-play-icon {
    display: grid;
    width: 5.5rem;
    height: 5.5rem;
    place-items: center;
    color: #022B45;
    border: .5rem solid rgba(255, 255, 255, .25);
    border-radius: 50%;
    background: #EC5C20;
    box-shadow: 0 0 0 1rem rgba(236, 92, 32, .12), 0 1rem 2rem rgba(0, 0, 0, .25);
    font-size: 1.4rem;
    transition: transform .35s ease, background-color .35s ease;
}

.home-video-play:hover {
    color: #fff;
}

.home-video-play:hover .home-video-play-icon {
    background: #fff;
    transform: scale(1.08);
}

.home-video-corner {
    position: absolute;
    right: 1.5rem;
    bottom: 1.5rem;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: .5rem;
    color: rgba(255, 255, 255, .7);
    font-size: .7rem;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.home-video-corner i {
    color: #EC5C20;
}

.home-video-bottom {
    position: relative;
    z-index: 1;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    margin-top: 1.5rem;
    color: rgba(255, 255, 255, .72);
    font-size: .75rem;
}

.home-video-bottom i {
    margin-right: .35rem;
    color: #EC5C20;
}

.home-video-modal {
    --bs-modal-bg: #022B45;
}

.home-video-modal .modal-dialog {
    max-width: 980px;
}

.home-video-modal .modal-content {
    overflow: hidden;
    border: 1px solid rgba(236, 92, 32, .35);
    border-radius: 1.25rem;
    background: #022B45;
    box-shadow: 0 2rem 5rem rgba(0, 0, 0, .4);
}

.home-video-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    background: linear-gradient(110deg, #022B45, #063c5e);
}

.home-video-modal-header span {
    color: #EC5C20;
    font-size: .65rem;
    font-weight: 700;
    letter-spacing: .15em;
    text-transform: uppercase;
}

.home-video-modal-header h2 {
    margin: .35rem 0 0;
    color: #fff;
    font-size: 1.25rem;
}

.home-video-modal-close {
    flex: 0 0 auto;
    width: 1rem;
    height: 1rem;
    opacity: .9;
    filter: invert(1) grayscale(1) brightness(2);
}

.home-video-modal-close:hover {
    opacity: 1;
}

.home-video-modal .modal-body {
    padding: 0;
    background: #011d2f;
}

.home-video-modal-frame {
    overflow: hidden;
    background: #011d2f;
}

.home-video-modal-frame video {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.home-video-modal-footer {
    padding: .85rem 1.5rem 1rem;
    color: rgba(255, 255, 255, .65);
    font-size: .72rem;
}

.home-video-modal-footer i {
    margin-right: .35rem;
    color: #EC5C20;
}

@media (max-width: 575px) {
    .home-video-player {
        min-height: 320px;
    }

    .home-video-copy {
        top: 1rem;
        left: 1rem;
    }

    .home-video-corner {
        right: 1rem;
        bottom: 1rem;
        font-size: .58rem;
    }

    .home-video-bottom {
        align-items: center;
        flex-direction: column;
        gap: .55rem;
    }

    .home-video-modal-header {
        padding: 1rem;
    }

    .home-video-modal-header h2 {
        font-size: 1rem;
    }

    .home-video-modal-footer {
        padding: .75rem 1rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .home-video-play-icon {
        transition: none;
    }
}
