
:root {
    --brand-blue: #00b5d4;
    --brand-grey: #636363;
    --brand-darker-blue: #02859b;
    --brand-green: #98c93c;
    --brand-blue-dark: #0b2d55;
    --brand-gold: #d6a84f;
    --text-color: #202631;
}

html,
body {
    min-height: 100%;
}

body {
    margin: 0;
    color: var(--text-color);
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    background: #fff;
}

.page-shell,
.page-shell > .row {
    min-height: 100vh;
}

/* Keep both 1080x1080 image layers in the same left Bootstrap column
   and use identical cover cropping. */
.visual-panel {
    position: relative;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: #eee;
    isolation: isolate;
}

.visual-background,
.visual-overlay {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    object-position: center;
    margin: 0;
    padding: 0;
    border: 0;
}

.visual-background {
    /*z-index: -2;*/
}

.visual-panel:after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, .02), rgba(0, 0, 0, .10));
    z-index: -1;
    pointer-events: none;
}

.visual-overlay {
    z-index: 1;
    pointer-events: none;
}

.content-panel {
    min-width: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: #fff;
}

.site-header {
    box-sizing: border-box;
    height: 80px;
    min-height: 80px;
    flex: 0 0 80px;
    padding: 5px 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    background: #fff;
    border-bottom: 1px solid rgba(0, 0, 0, .07);
    position: sticky;
    top: 0;
    z-index: 20;
}

.site-header a {
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
    line-height: 0;
}

/* Explicit dimensions; deliberately no Bootstrap .img-fluid on these logos. */
.site-header .kingdom-logo {
    display: block;
    width: 112px;
    height: 50px;
    min-width: 112px;
    max-width: none;
    object-fit: contain;
}

.site-header .iex-logo {
    display: block;
    width: 239px;
    height: 85px;
    min-width: 239px;
    max-width: none;
    object-fit: contain;
}

.content-scroll {
    flex: 1 0 auto;
    padding: clamp(1rem, 3vw, 2.5rem) clamp(1.25rem, 4vw, 3.5rem);
}

.content-inner {
    width: 100%;
    max-width: 650px;
    margin-inline: auto;
}

.eyebrow {
    color: #00b5d4;
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
}

h1 {
    color: var(--brand-blue-dark);
    font-size: clamp(1.8rem, 2.4vw, 2.65rem);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -.035em;
}

h2 {
    color: var(--brand-blue-dark);
    font-weight: 700;
}

.intro-copy {
    font-size: 1rem;
    line-height: 1.65;
}

.steps {
    list-style: none;
    counter-reset: entry-step;
    padding: 0;
    margin: 1.5rem 0 1.75rem;
    display: grid;
    gap: .8rem;
}

.steps li {
    counter-increment: entry-step;
    display: flex;
    align-items: center;
    gap: .8rem;
    font-weight: 600;
}

.steps li:before {
    content: counter(entry-step);
    display: inline-grid;
    place-items: center;
    flex: 0 0 2rem;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    color: #fff;
    background: var(--brand-blue);
    font-size: .9rem;
    font-weight: 700;
}

.bonus-panel {
    border-left: 4px solid #00b5d4;
    background: #f5f7fa;
    padding: 1rem 1.1rem;
    margin: 1.5rem 0;
}

.bonus-panel h2 {
    font-size: 1.15rem;
    margin-bottom: .45rem;
}

.bonus-panel p {
    margin-bottom: 0;
    line-height: 1.6;
}

.btn {
    font-weight: 600;
    border-radius: .35rem;
    padding: .65rem 1rem;
}

.btn-primary {
    --bs-btn-bg: var(--brand-blue);
    --bs-btn-border-color: var(--brand-blue);
    --bs-btn-hover-bg: var(--brand-darker-blue);
    --bs-btn-hover-border-color: var(--brand-blue-dark);
    --bs-btn-active-bg: var(--brand-blue-dark);
}

.btn-outline-primary {
    --bs-btn-color: var(--brand-blue);
    --bs-btn-border-color: var(--brand-blue);
    --bs-btn-hover-bg: var(--brand-blue);
    --bs-btn-hover-border-color: var(--brand-blue);
}

.btn-outline-secondary {
    --bs-btn-color: var(--brand-green);
    --bs-btn-border-color: var(--brand-green);
    --bs-btn-hover-bg: var(--brand-green);
    --bs-btn-hover-border-color: var(--brand-green);
}

.action-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
    margin-top: 1.25rem;
}

/* Keep both timeshare choice buttons on one line by reducing
   horizontal padding, not text size. */
.intro-action-buttons {
    display: flex;
    flex-wrap: nowrap;
    gap: .5rem;
}

.intro-action-buttons > .btn {
    flex: 1 1 0;
    min-width: 0;
    white-space: nowrap;
    padding: .65rem .1rem;
}

.page-footer {
    flex: 0 0 auto;
    padding: .9rem clamp(1.25rem, 4vw, 3.5rem) 1.25rem;
    border-top: 1px solid rgba(0, 0, 0, .07);
    background: #fff;
}

/* Keep footer links aligned with the text and CTA buttons in .content-inner. */
.page-footer-inner {
    width: 100%;
    max-width: 650px;
    margin-inline: auto;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: .5rem 1.25rem;
}

.page-footer a {
    color: var(--brand-grey);
    text-underline-offset: 3px;
}

.form-label {
    font-weight: 650;
}

.form-control {
    min-height: 46px;
}

.invalid-feedback.alert {
    margin-top: .4rem;
    margin-bottom: 0;
}

.form-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .65rem;
}

.consent-copy {
    line-height: 1.55;
}

.text-blue {
    color: var(--brand-blue);
}

@media (min-width: 1630px) {
    .visual-panel,
    .content-panel {
        flex: 0 0 50%;
        max-width: 50%;
    }

    .visual-panel {
        height: 100vh;
        min-height: 100vh;
        aspect-ratio: auto;
    }

    .content-panel {
        height: 100vh;
        min-height: 100vh;
        overflow-y: auto;
    }
}

/* The sticky logo header is hidden completely when the columns stack. */
@media (max-width: 1629.98px) {
    .visual-panel {
        height: auto;
        min-height: 0;
        aspect-ratio: 1 / 1;
    }

    .site-header {
        display: none !important;
    }

    .content-panel {
        min-height: auto;
        height: auto;
        overflow: visible;
    }

    .content-scroll {
        padding: 1.75rem 1.25rem;
    }

    .page-footer {
        justify-content: center;
    }

    .page-footer-inner {
        justify-content: center;
        text-align: center;
    }
}

@media (max-width: 380px) {
    .action-buttons:not(.intro-action-buttons) .btn {
        width: 100%;
    }
}
