.modal-home-custom .modal-dialog.modal-xxl-custom{
    width: min(96vw, 1600px);
    max-width: none;
    margin: 1rem auto;
}

.modal-home-custom .modal-content{
    border: 0;
    border-radius: 28px;
    overflow: hidden;
    min-height: calc(100vh - 2rem);
    background: #ffffff;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
}

.modal-home-custom .modal-header.modal-header-home{
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.4rem 1.6rem 1.1rem;
    border-bottom: 1px solid rgba(0,0,0,.08);
    background:#2A275C;
    color: #fff;
}

.modal-header-home__text{
    display: flex;
    flex-direction: column;
    gap: .35rem;
    min-width: 0;
}

.modal-header-home__eyebrow{
    font-size: .85rem;
    font-weight: 600;
    letter-spacing: .06em;
    text-transform: uppercase;
    opacity: .9;
}

.modal-home-custom .modal-title{
    margin: 0;
    font-size: clamp(1.2rem, 2vw, 2rem);
    line-height: 1.2;
    font-weight: 800;
}

.modal-home-custom .btn-close-home{
    flex-shrink: 0;
    background-color: #fff;
    border-radius: 50%;
    opacity: 1;
    padding: .9rem;
    box-shadow: 0 6px 18px rgba(0,0,0,.18);
}

.modal-home-custom .modal-body.modal-body-home{
    padding: 1.25rem 1.25rem 1.75rem;
    background: #f8fafc;
    overflow-x: hidden;
}

.modal-home-custom .modal-body-home > *:first-child{
    margin-top: 0 !important;
}

.modal-home-custom .modal-body-home > *:last-child{
    margin-bottom: 0 !important;
}

@media (max-width: 991.98px){
    .modal-home-custom .modal-dialog.modal-xxl-custom{
        width: calc(100vw - 1rem);
        margin: .5rem auto;
    }

    .modal-home-custom .modal-content{
        min-height: calc(100vh - 1rem);
        border-radius: 22px;
    }

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

    .modal-home-custom .modal-body.modal-body-home{
        padding: 1rem;
    }
}

@media (max-width: 575.98px){
    .modal-home-custom .modal-dialog.modal-xxl-custom{
        width: 100vw;
        margin: 0;
    }

    .modal-home-custom .modal-content{
        min-height: 100vh;
        border-radius: 0;
    }

    .modal-home-custom .modal-header.modal-header-home{
        padding: .9rem .9rem .8rem;
    }

    .modal-home-custom .modal-body.modal-body-home{
        padding: .85rem;
    }

    .modal-home-custom .modal-title{
        font-size: 1.15rem;
    }
}