/* Supplement to the editable Elementor Site Settings; no page content here. */
.ltv-site {
    --ltv-black: var(--e-global-color-ltv_black, #000);
    --ltv-white: var(--e-global-color-primary, #fff);
    --ltv-surface: var(--e-global-color-ltv_surface, #1a1a1a);
    --ltv-surface-light: var(--e-global-color-ltv_surface_light, #262626);
    --ltv-space-1: 4px;
    --ltv-space-2: 8px;
    --ltv-space-3: 16px;
    --ltv-space-4: 24px;
    --ltv-space-5: 48px;
    --ltv-section-space: 96px;
}

/* Low specificity lets the Elementor kit and individual widgets take priority. */
:where(.ltv-site) {
    margin: 0;
    background: #000;
    color: #fff;
    font-family: 'Gantari', sans-serif;
    font-size: 16px;
    line-height: 1.5;
}

:where(.ltv-site) :is(button, input, select, textarea) {
    font-family: inherit;
}

:where(.ltv-site) :is(h1, h2, h3, h4, h5, h6) {
    margin-block-start: 0;
    margin-block-end: 8px;
}

/* Opt-in classes for the future Elementor layout, matching the live site. */
.ltv-site .ltv-section {
    padding-block: var(--ltv-section-space);
}

.ltv-site .ltv-surface { background-color: var(--ltv-surface); }
.ltv-site .ltv-surface-light { background-color: var(--ltv-surface-light); }
.ltv-site .ltv-divider { border: 0; height: 3px; background: var(--ltv-surface); }

.ltv-site .ltv-container {
    width: 100%;
    padding-inline: 12px;
    margin-inline: auto;
}

@media (min-width: 576px) { .ltv-site .ltv-container { max-width: 540px; } }
@media (min-width: 768px) { .ltv-site .ltv-container { max-width: 720px; } }
@media (min-width: 992px) { .ltv-site .ltv-container { max-width: 960px; } }
@media (min-width: 1200px) { .ltv-site .ltv-container { max-width: 1140px; } }
@media (min-width: 1400px) { .ltv-site .ltv-container { max-width: 1320px; } }

.ltv-site :is(a, button, input, select, textarea):focus-visible {
    outline: 2px solid #ffb547;
    outline-offset: 3px;
}

.ltv-site .ltv-thank-you {
    max-width: 760px;
    min-height: 55vh;
    margin-inline: auto;
    padding: clamp(72px, 12vw, 160px) 24px;
    text-align: center;
}

.ltv-site .ltv-thank-you :is(h1, h2, p) { color: #fff; }
.ltv-site .ltv-thank-you h1 { font-size: clamp(32px, 5vw, 54px); margin-bottom: 24px; }
.ltv-site .ltv-thank-you p { font-size: clamp(17px, 2vw, 20px); margin-bottom: 32px; }
.ltv-site .ltv-thank-you a {
    display: inline-block;
    padding: 14px 24px;
    background: #fff;
    color: #000;
    font-weight: 700;
    text-decoration: none;
}

/* Keep this contact link below dialogs and the cookie consent overlay. */
.ltv-site .ltv-whatsapp {
    position: fixed;
    right: calc(10px + env(safe-area-inset-right, 0px));
    bottom: calc(10px + env(safe-area-inset-bottom, 0px));
    z-index: 900;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    padding: 0;
    border: 1px solid rgb(255 255 255 / 30%);
    border-radius: 50%;
    background: #25d366;
    color: #fff;
    box-shadow: 0 4px 20px rgb(0 0 0 / 30%);
    text-decoration: none;
}
.ltv-site .ltv-whatsapp:is(:hover, :focus, :active) { background: #128c4a; color: #fff; }
.ltv-site .ltv-whatsapp:focus-visible { outline: 3px solid #fff; outline-offset: 4px; }
.ltv-site .ltv-whatsapp svg { display: block; width: 26px; height: 26px; }
@media (max-width: 767px) {
    .ltv-site .ltv-whatsapp { right: calc(16px + env(safe-area-inset-right, 0px)); bottom: calc(16px + env(safe-area-inset-bottom, 0px)); width: 56px; height: 56px; }
}

/* Leave room for the existing floating language selector. */
.ltv-site:has(.gt_switcher_wrapper) .ltv-whatsapp { bottom: calc(50px + env(safe-area-inset-bottom, 0px)); }
