/*----------------------------------HERO--------------------------------*/
.hero {
    position: relative;
    overflow: hidden;
    color: var(--off-white);
    height: 100vh;
}

.hero video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hero .overlay {
    position: absolute;
    inset: 0;
    background: black;
    opacity: .3;
}

.hero .content {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 40px;
    width: 100%;
}

.hero .content .container {
    flex-direction: column;
    gap: 25px;
    text-align: center;
}

.hero .custom-logo-link img {
    width: 130px;
    height: auto;
}

.hero h1 {
    text-transform: none;
    line-height: 1.3em;
    font-size: var(--xl-font-size);
    font-style: normal;
}

.hero h1 span {
    font-style: italic;
    font-weight: 300;
}

/*----------------------------------PAGE BANNER--------------------------------*/

.page-banner {
    height: 400px;
    width: 100%;
    background-image: var(--banner-desktop);
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: end;
    justify-content: center;
}

.page-banner .custom-logo-link {
    display: none;
    margin-bottom: 20px;
}

.page-banner img {
    width: 90px;
    height: auto;
}

/*----------------------------------CONTENT BLOCK--------------------------------*/

.content-block {
    flex-direction: column;
    text-align: center;
    max-width: 650px;
    gap: 30px;
    font-weight: 300;

}

.content-block .button-block-container {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 20px;
    width: 100%;
    padding-block: 1rem;
}

.button-block {
    width: 190px;
}

/*----------------------------------IMAGE BLOCK--------------------------------*/

.image-block,
picture {
    width: 100%;
}

/*----------------------------------POPUP MODAL--------------------------------*/


.popup-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    z-index: 9998;
}

.popup {
    position: fixed;
    inset: 0;
    display: grid;
    place-items: center;
    z-index: 9999;
    padding: 24px;
}

.popup[hidden],
.popup-overlay[hidden] {
    display: none !important;
}

.popup .modal {
    background: var(--sea);
    position: relative;
    max-width: 560px;
    width: 100%;
    border-radius: 4px;
    padding: 40px 24px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    text-align: center;
    color: var(--off-white);
    display: flex;
    flex-direction: column;
    gap: 30px;
    align-items: center;
}

.modal .custom-logo {
    width: 80px;
    height: auto;
}

.close-modal-btn {
    position: absolute;
    top: 8px;
    right: 12px;
    width: 12px;
    height: 12px;
    margin: 0;
    padding: 0;
}

.close-modal-btn svg {
    width: 100%;
}

/* Prevent background scroll when modal is open */
html.spm-lock,
body.spm-lock {
    overflow: hidden !important;
}



/*----------------------------------PRIVACY POLICY--------------------------------*/

.privacy-policy {
    justify-content: center;
}

.privacy-policy .page-content {
    width: 650px;
    text-align: center;
}

.privacy-policy h3,
.privacy-policy h1 {
    margin: 2rem;
}

.privacy-policy p, .privacy-policy li{
	font-size: var(--small-font-size)
}

/*----------------------------------RESPONSIVENESS--------------------------------*/

@media (max-width:913px) {
    .page-banner .custom-logo-link {
        display: block;
    }
}

@media (max-width:685px) {
    .page-banner {
        background-image: var(--banner-mobile);
        height: 60vh;
    }

    .container:has(.image-block) {
        padding-inline: 0px;
    }
}

@media (max-width:475px) {
    .content-block .button-block-container {
        flex-direction: column;
    }

    .button-block {
        width: 100%;
    }

    .popup .modal {
        gap: 55px;
    }

    .modal .custom-logo {
        width: 100px;
        height: auto;
    }

    .hero h1 {
        font-size: var(--large-font-size);
    }
}