body {
    background: #010B25;
}

@keyframes cardWave {
    0% {
        transform: translateY(0);
    }

    7.69% {
        /* 300ms / 3900ms total */
        transform: translateY(-30px);
    }

    20.51% {
        /* (300ms + 500ms) / 3900ms */
        transform: translateY(0);
    }

    100% {
        transform: translateY(0);
    }
}

.renders-hero {
    background: linear-gradient(180deg, rgba(0, 35, 118, 0.00) 52.13%, #002989 100%), linear-gradient(270deg, rgba(1, 11, 37, 0.00) 39.34%, rgba(1, 11, 37, 0.80) 100%);
}

.renders-hero .content {
    width: 707px;
}

.renders-hero .content h1 {
    color: var(--n-white);
    margin-bottom: 24px;
}

.renders-hero .content p {
    color: var(--d-white);
    margin-bottom: 48px;
    max-width: 480px;
}

.renders-hero .wrapper {
    display: flex;
    gap: 16px;
    align-items: center;
    position: relative;
}

.renders-hero .cards {
    position: relative;
    height: 828px;
    width: 997px;
}

.renders-hero .cards .card {
    position: absolute;
    width: 320px;
    height: 200px;
    transition: transform 0.3s ease;
    cursor: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iODAiIGhlaWdodD0iODAiIHZpZXdCb3g9IjAgMCA4MCA4MCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48Y2lyY2xlIGN4PSI0MCIgY3k9IjQwIiByPSI0MCIgZmlsbD0iIzEyMzU2OSIgb3BhY2l0eT0iMC40Ii8+PHBhdGggZD0iTTMwIDQwSDUwIiBzdHJva2U9IndoaXRlIiBzdHJva2Utd2lkdGg9IjIuNCIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIi8+PHBhdGggZD0iTTQwLjAwNTkgMzAuMDAzOUw0MC4wMDU5IDUwLjAwMzkiIHN0cm9rZT0id2hpdGUiIHN0cm9rZS13aWR0aD0iMi40IiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiLz48L3N2Zz4=') 40 40, pointer;
}

.renders-hero .cards .card:hover {
    transform: translateY(-30px) !important;
}

.renders-hero .cards.animation-disabled .card {
    animation: none !important;
}

.renders-hero .cards .card .image {
    width: 384.43px;
    height: 312.96px;
    object-fit: cover;
    border-radius: 8px;
    transform: matrix(0.83, 0.55, 0, 1, 0, 0);
    position: absolute;
    left: -31px;
    bottom: 105px;
    mask-image: linear-gradient(180deg, #BBCDF7 0%, rgba(187, 205, 247, 0) 100%);
    -webkit-mask-image: linear-gradient(180deg, #BBCDF7 0%, rgba(187, 205, 247, 0) 100%);
    opacity: 0.4;
}

.renders-hero .cards .card:hover .image {
    opacity: 1;
}

.renders-hero .cards .card:nth-child(1) {
    z-index: 8;
    bottom: 0;
    left: 0;
    animation: cardWave 3900ms cubic-bezier(0.25, 0.1, 0.25, 1) infinite;
    animation-delay: 0ms;
}

.renders-hero .cards .card:nth-child(2) {
    z-index: 7;
    bottom: calc(38px * 1);
    left: calc(((100% - 320px * 8) / 7) * 1 + 320px * 1);
    animation: cardWave 3900ms cubic-bezier(0.25, 0.1, 0.25, 1) infinite;
    animation-delay: 100ms;
}

.renders-hero .cards .card:nth-child(3) {
    bottom: calc(38px * 2);
    z-index: 6;
    left: calc(((100% - 320px * 8) / 7) * 2 + 320px * 2);
    animation: cardWave 3900ms cubic-bezier(0.25, 0.1, 0.25, 1) infinite;
    animation-delay: 200ms;
}

.renders-hero .cards .card:nth-child(4) {
    z-index: 5;
    bottom: calc(38px * 3);
    left: calc(((100% - 320px * 8) / 7) * 3 + 320px * 3);
    animation: cardWave 3900ms cubic-bezier(0.25, 0.1, 0.25, 1) infinite;
    animation-delay: 300ms;
}

.renders-hero .cards .card:nth-child(5) {
    z-index: 4;
    bottom: calc(38px * 4);
    left: calc(((100% - 320px * 8) / 7) * 4 + 320px * 4);
    animation: cardWave 3900ms cubic-bezier(0.25, 0.1, 0.25, 1) infinite;
    animation-delay: 400ms;
}

.renders-hero .cards .card:nth-child(6) {
    z-index: 3;
    bottom: calc(38px * 5);
    left: calc(((100% - 320px * 8) / 7) * 5 + 320px * 5);
    animation: cardWave 3900ms cubic-bezier(0.25, 0.1, 0.25, 1) infinite;
    animation-delay: 500ms;
}

.renders-hero .cards .card:nth-child(7) {
    z-index: 2;
    bottom: calc(38px * 6);
    left: calc(((100% - 320px * 8) / 7) * 6 + 320px * 6);
    animation: cardWave 3900ms cubic-bezier(0.25, 0.1, 0.25, 1) infinite;
    animation-delay: 600ms;
}

.renders-hero .cards .card:nth-child(8) {
    z-index: 1;
    bottom: calc(38px * 7);
    left: calc(((100% - 320px * 8) / 7) * 7 + 320px * 7);
    animation: cardWave 3900ms cubic-bezier(0.25, 0.1, 0.25, 1) infinite;
    animation-delay: 700ms;
}

.renders-hero .cards .card::before {
    content: "";
    display: block;
    z-index: -1;
    background: rgb(79, 110, 183);
    width: 384.43px;
    height: 312.96px;
    object-fit: cover;
    border-radius: 8px;
    transform: matrix(0.83, 0.55, 0, 1, 0, 0);
    position: absolute;
    left: -31px;
    bottom: 105px;
    mask-image: linear-gradient(180deg, #BBCDF7 0%, rgba(187, 205, 247, 0) 100%);
    -webkit-mask-image: linear-gradient(180deg, #BBCDF7 0%, rgba(187, 205, 247, 0) 100%);
}

.renders-hero .badge {
    padding: 10px 16px;
    background: linear-gradient(180deg, rgba(110, 168, 255, 0.2) 0%, rgba(255, 255, 255, 0.08) 100%);
    display: flex;
    align-items: center;
    gap: 10px;
    border: 1px solid;
    border-image-source: linear-gradient(180deg, rgba(110, 168, 255, 0.2) 0%, rgba(255, 255, 255, 0.08) 100%);
    border-image-slice: 1;
    border-radius: 10px;
    font-size: 20px;
    font-weight: 500;
    color: var(--n-very-light-accent);
    width: fit-content;
    position: absolute;
    right: 345px;
    bottom: 290px;
    z-index: 10;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.renders-hero .badge.hidden {
    opacity: 0;
    visibility: hidden;
}

/* Modal */
.renders-hero__modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #0B1521CC;
    backdrop-filter: blur(16px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    padding: 80px 142px;
}

.renders-hero__modal.active {
    opacity: 1;
    visibility: visible;
}

.renders-hero__modal-content {
    position: relative;
    height: 100%;
    width: fit-content;
    display: flex;
    align-items: center;
    justify-content: center;
}

.renders-hero__image-wrap {
    position: relative;
}

.renders-hero__modal-image {
    width: auto;
    height: auto;
    object-fit: cover;
    user-select: none;
    -webkit-user-select: none;
    border-radius: 20px;
    aspect-ratio: 1920 / 1080;
    max-width: 100%;
    max-height: calc(100vh - 160px);
    display: block;
}

.renders-hero__close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 10000;
    transition: transform 0.3s ease;
}

.renders-hero__close:hover {
    transform: scale(1.1);
}

.renders-hero__close svg {
    width: 100%;
    height: 100%;
}

@media (max-width: 1919px) {
    .renders-hero .content {
        width: 524px;
    }

    .renders-hero .wrapper {
        justify-content: space-between;
    }

    .renders-hero .content h1 {
        margin-bottom: 20px;
    }

    .renders-hero .content p {
        margin-bottom: 40px;
    }

    .renders-hero .cards {
        max-width: 740px;
        max-height: 608px;
    }

    .renders-hero .cards .card {
        width: 240px;
        height: 200px;
    }

    .renders-hero .cards .card .image {
        width: 288.32px;
        height: 234.72px;
        left: -25px;
        bottom: 80px;

    }

    .renders-hero .cards .card::before {
        width: 288.32px;
        height: 234.72px;
        left: -25px;
        bottom: 80px;

    }


    .renders-hero .cards .card:nth-child(2) {
        z-index: 7;
        bottom: calc(29px * 1);
        left: calc(((100% - 240px * 8) / 7) * 1 + 240px * 1);
        animation: cardWave 3900ms cubic-bezier(0.25, 0.1, 0.25, 1) infinite;
        animation-delay: 100ms;
    }

    .renders-hero .cards .card:nth-child(3) {
        bottom: calc(29px * 2);
        z-index: 6;
        left: calc(((100% - 240px * 8) / 7) * 2 + 240px * 2);
        animation: cardWave 3900ms cubic-bezier(0.25, 0.1, 0.25, 1) infinite;
        animation-delay: 200ms;
    }

    .renders-hero .cards .card:nth-child(4) {
        z-index: 5;
        bottom: calc(29px * 3);
        left: calc(((100% - 240px * 8) / 7) * 3 + 240px * 3);
        animation: cardWave 3900ms cubic-bezier(0.25, 0.1, 0.25, 1) infinite;
        animation-delay: 300ms;
    }

    .renders-hero .cards .card:nth-child(5) {
        z-index: 4;
        bottom: calc(29px * 4);
        left: calc(((100% - 240px * 8) / 7) * 4 + 240px * 4);
        animation: cardWave 3900ms cubic-bezier(0.25, 0.1, 0.25, 1) infinite;
        animation-delay: 400ms;
    }

    .renders-hero .cards .card:nth-child(6) {
        z-index: 3;
        bottom: calc(29px * 5);
        left: calc(((100% - 240px * 8) / 7) * 5 + 240px * 5);
        animation: cardWave 3900ms cubic-bezier(0.25, 0.1, 0.25, 1) infinite;
        animation-delay: 500ms;
    }

    .renders-hero .cards .card:nth-child(7) {
        z-index: 2;
        bottom: calc(29px * 6);
        left: calc(((100% - 240px * 8) / 7) * 6 + 240px * 6);
        animation: cardWave 3900ms cubic-bezier(0.25, 0.1, 0.25, 1) infinite;
        animation-delay: 600ms;
    }

    .renders-hero .cards .card:nth-child(8) {
        z-index: 1;
        bottom: calc(29px * 7);
        left: calc(((100% - 240px * 8) / 7) * 7 + 240px * 7);
        animation: cardWave 3900ms cubic-bezier(0.25, 0.1, 0.25, 1) infinite;
        animation-delay: 700ms;
    }

    .renders-hero .badge {
        right: 245px;
        bottom: 180px;
    }

    @keyframes cardWave {
        0% {
            transform: translateY(0);
        }

        7.69% {
            /* 300ms / 3900ms total */
            transform: translateY(-22px);
        }

        20.51% {
            /* (300ms + 500ms) / 3900ms */
            transform: translateY(0);
        }

        100% {
            transform: translateY(0);
        }
    }

    .renders-hero .cards .card:hover {
        transform: translateY(-22px) !important;
    }

    .renders-hero__modal {
        padding: 80px 62px;
    }
}

@media (max-width: 1439px) {
    .renders-hero .content h1 {
        margin-bottom: 20px;
    }

    .renders-hero .cards {
        max-width: 647px;
        max-height: 528px;
    }

    .renders-hero .badge {
        right: 233px;
        bottom: 163px;
    }

    .renders-hero .cards .card {
        width: 204px;
        height: 200px;
    }

    .renders-hero .cards .card .image {
        width: 245.07px;
        height: 199.51px;
        left: -21px;
        bottom: 67px;

    }

    .renders-hero .cards .card::before {
        width: 245.07px;
        height: 199.51px;
        left: -21px;
        bottom: 67px;

    }

    .renders-hero .cards .card:nth-child(2) {
        z-index: 7;
        bottom: calc(23px * 1);
        left: calc(((100% - 204px * 8) / 7) * 1 + 204px * 1);
        animation: cardWave 3900ms cubic-bezier(0.25, 0.1, 0.25, 1) infinite;
        animation-delay: 100ms;
    }

    .renders-hero .cards .card:nth-child(3) {
        bottom: calc(23px * 2);
        z-index: 6;
        left: calc(((100% - 204px * 8) / 7) * 2 + 204px * 2);
        animation: cardWave 3900ms cubic-bezier(0.25, 0.1, 0.25, 1) infinite;
        animation-delay: 200ms;
    }

    .renders-hero .cards .card:nth-child(4) {
        z-index: 5;
        bottom: calc(23px * 3);
        left: calc(((100% - 204px * 8) / 7) * 3 + 204px * 3);
        animation: cardWave 3900ms cubic-bezier(0.25, 0.1, 0.25, 1) infinite;
        animation-delay: 300ms;
    }

    .renders-hero .cards .card:nth-child(5) {
        z-index: 4;
        bottom: calc(23px * 4);
        left: calc(((100% - 204px * 8) / 7) * 4 + 204px * 4);
        animation: cardWave 3900ms cubic-bezier(0.25, 0.1, 0.25, 1) infinite;
        animation-delay: 400ms;
    }

    .renders-hero .cards .card:nth-child(6) {
        z-index: 3;
        bottom: calc(23px * 5);
        left: calc(((100% - 204px * 8) / 7) * 5 + 204px * 5);
        animation: cardWave 3900ms cubic-bezier(0.25, 0.1, 0.25, 1) infinite;
        animation-delay: 500ms;
    }

    .renders-hero .cards .card:nth-child(7) {
        z-index: 2;
        bottom: calc(23px * 6);
        left: calc(((100% - 204px * 8) / 7) * 6 + 204px * 6);
        animation: cardWave 3900ms cubic-bezier(0.25, 0.1, 0.25, 1) infinite;
        animation-delay: 600ms;
    }

    .renders-hero .cards .card:nth-child(8) {
        z-index: 1;
        bottom: calc(23px * 7);
        left: calc(((100% - 204px * 8) / 7) * 7 + 204px * 7);
        animation: cardWave 3900ms cubic-bezier(0.25, 0.1, 0.25, 1) infinite;
        animation-delay: 700ms;
    }

    .renders-hero .content p {
        max-width: 440px;
    }

    .renders-hero__modal {
        padding: 80px 142px;
    }

}

@media (max-width: 1277px) {
    .renders-hero .wrapper {
        flex-direction: column-reverse;
        gap: 40px;
    }


    .renders-hero .content p {
        max-width: 440px;
        text-align: center;
    }

    .renders-hero .content h1 {
        text-align: center;
    }

    .renders-hero .content h1 br {
        display: none;
    }

    .renders-hero .content {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        padding-bottom: 60px;
    }

    .renders-hero .content .custom-button {
        margin: 0 auto;
    }

    .renders-hero .badge {
        display: none;
    }

    .renders-hero .cards {
        max-width: 688px;
        max-height: 588px;
    }

    .renders-hero__modal {
        padding: 40px;
    }

    .renders-hero__modal-image,
    .renders-hero__modal-content {
        height: fit-content;
    }

    .renders-hero__modal-image {
        max-height: calc(100vh - 80px);
    }

    .renders-hero__close {
        top: 10px;
        right: 10px;
    }
}

@media (max-width: 577px) {
    .renders-hero .wrapper {
        gap: 0;
    }

    .renders-hero .content {
        align-items: flex-start;
    }

    .renders-hero .content h1 {
        text-align: left;
    }

    .renders-hero .content p {
        text-align: left;
        margin-bottom: 32px;
    }

    .renders-hero .content .custom-button {
        margin: 0;
    }

    .renders-hero .cards {
        max-width: calc(100% + 17px);
        margin: 0 -16px 0 0;
        margin: 0 -16px 0 0;
        max-height: 85vw;
    }

    .renders-hero .cards .card {
        width: 153px;
        height: 200px;
    }

    .renders-hero .cards .card .image {
        width: 183.81px;
        height: 149.63px;
        left: -15px;
        bottom: 47px;

    }

    .renders-hero .cards .card::before {
        width: 183.81px;
        height: 149.63px;
        left: -15px;
        bottom: 47px;

    }

    .renders-hero .cards .card:nth-child(2) {
        z-index: 7;
        bottom: calc(10px * 1);
        left: calc(((100% - 153px * 8) / 7) * 1 + 153px * 1);
        animation: cardWave 3900ms cubic-bezier(0.25, 0.1, 0.25, 1) infinite;
        animation-delay: 100ms;
    }

    .renders-hero .cards .card:nth-child(3) {
        bottom: calc(10px * 2);
        z-index: 6;
        left: calc(((100% - 153px * 8) / 7) * 2 + 153px * 2);
        animation: cardWave 3900ms cubic-bezier(0.25, 0.1, 0.25, 1) infinite;
        animation-delay: 200ms;
    }

    .renders-hero .cards .card:nth-child(4) {
        z-index: 5;
        bottom: calc(10px * 3);
        left: calc(((100% - 153px * 8) / 7) * 3 + 153px * 3);
        animation: cardWave 3900ms cubic-bezier(0.25, 0.1, 0.25, 1) infinite;
        animation-delay: 300ms;
    }

    .renders-hero .cards .card:nth-child(5) {
        z-index: 4;
        bottom: calc(10px * 4);
        left: calc(((100% - 153px * 8) / 7) * 4 + 153px * 4);
        animation: cardWave 3900ms cubic-bezier(0.25, 0.1, 0.25, 1) infinite;
        animation-delay: 400ms;
    }

    .renders-hero .cards .card:nth-child(6) {
        z-index: 3;
        bottom: calc(10px * 5);
        left: calc(((100% - 153px * 8) / 7) * 5 + 153px * 5);
        animation: cardWave 3900ms cubic-bezier(0.25, 0.1, 0.25, 1) infinite;
        animation-delay: 500ms;
    }

    .renders-hero .cards .card:nth-child(7) {
        z-index: 2;
        bottom: calc(10px * 6);
        left: calc(((100% - 153px * 8) / 7) * 6 + 153px * 6);
        animation: cardWave 3900ms cubic-bezier(0.25, 0.1, 0.25, 1) infinite;
        animation-delay: 600ms;
    }

    .renders-hero .cards .card:nth-child(8) {
        z-index: 1;
        bottom: calc(10px * 7);
        left: calc(((100% - 153px * 8) / 7) * 7 + 153px * 7);
        animation: cardWave 3900ms cubic-bezier(0.25, 0.1, 0.25, 1) infinite;
        animation-delay: 700ms;
    }

    .renders-hero__modal {
        padding: 16px;
    }

    .renders-hero__modal-image {
        max-height: calc(100vh - 32px);
    }
}