/* Shared navigation, input and motion safeguards. */
html {
    scroll-padding-top: 120px;
    scroll-padding-bottom: 90px;
}

.skip-link {
    position: fixed;
    top: 8px;
    left: 8px;
    z-index: 2147483647;
    padding: 12px 20px;
    color: #fff;
    background: #2f4356;
    transform: translateY(-180%);
    text-decoration: underline;
    transition: none !important;
}

.skip-link:focus {
    transform: none;
}

body :is(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
    outline: 3px solid #005f73;
    outline-offset: 3px;
    box-shadow: 0 0 0 3px #fff;
}

main[tabindex="-1"]:focus {
    outline: none;
    box-shadow: none;
}

.reveal-on-scroll:focus-within {
    opacity: 1;
    transform: none;
}

.fullscreen-menu {
    height: 100dvh;
    /* Use display for the closed state so no inherited visibility can lag focus. */
    display: none;
    visibility: visible;
    transition: opacity 0.2s ease;
}

.fullscreen-menu.active {
    display: flex;
}

body .fullscreen-menu,
body .lz-modal-overlay {
    z-index: 2147483645;
}

.has-site-dialog .sticky-whatsapp-btn,
.has-site-dialog #runnrai-container,
.has-site-dialog .wdc-launcher,
.business-form-visible .sticky-whatsapp-btn,
.business-form-visible .wdc-launcher {
    visibility: hidden !important;
    pointer-events: none !important;
}

.menu-trigger,
.menu-close {
    min-width: 44px;
    min-height: 44px;
}

.fullscreen-menu :is(a, button):focus-visible {
    outline-color: #fff;
    box-shadow: 0 0 0 3px #2f4356;
}

.fullscreen-menu .menu-nav a {
    min-height: 44px;
    box-sizing: border-box;
}

.lang-link {
    opacity: 1;
}

.menu-lang-link {
    width: 44px;
    height: 44px;
    box-sizing: border-box;
    padding: 6px;
}

#main-header .book-now-link {
    background-color: #005f73;
    border-color: #005f73;
    color: #fff !important;
}

#main-header .book-now-link:hover {
    background-color: #004553;
}

.business-page .btn-editorial-sand {
    color: #1e2d3a !important;
}

.business-page .option-label {
    color: #626262;
}

.business-request-form .form-group :is(input, select, textarea) {
    border-color: #73808a;
    min-height: 44px;
}

.business-request-form .form-group [aria-invalid="true"] {
    border-color: #9b2525;
}

.business-request-form .field-error {
    color: #792020;
    font-size: 1rem;
    line-height: 1.4;
}

.business-page .option-text {
    min-width: 0;
    overflow-wrap: anywhere;
}

.business-page .option-icon {
    flex-shrink: 0;
}

.sticky-whatsapp-btn {
    background-color: #146c43 !important;
    color: #fff !important;
}

.sticky-whatsapp-btn:hover {
    background-color: #105636 !important;
}

.sticky-whatsapp-btn .whatsapp-icon-sm {
    fill: currentColor;
}

.lz-modal-container {
    max-height: calc(100dvh - 32px);
    overflow-y: auto;
    box-sizing: border-box;
}

.lz-modal-close {
    min-width: 44px;
    min-height: 44px;
}

.hero-video-wrapper .hero-video-poster {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-video-wrapper iframe[hidden] {
    display: none !important;
}

.hero-video-control {
    position: absolute;
    left: 1.25rem;
    bottom: 5rem;
    z-index: 5;
    min-height: 44px;
    padding: 8px 16px;
    border: 1px solid #fff;
    border-radius: 4px;
    background: #2f4356;
    color: #fff;
    font-size: 1rem;
    cursor: pointer;
}

@media (max-width: 992px) {
    .fullscreen-menu .menu-content {
        padding-top: 72px;
        box-sizing: border-box;
    }

    .fullscreen-menu .menu-left {
        flex: 1 1 100%;
        width: 100%;
        max-width: 100%;
        height: 100%;
        padding: 0 20px 24px;
        overflow-y: auto;
    }

    .fullscreen-menu .menu-nav {
        flex-grow: 0;
        height: auto;
        max-height: none;
        justify-content: flex-start;
        overflow: visible;
    }

    .fullscreen-menu .menu-nav a {
        min-height: 44px !important;
        padding: 8px 12px !important;
        font-size: 1.2rem !important;
    }

    .fullscreen-menu .menu-close {
        top: 12px;
    }
}

@media (max-width: 768px) {
    #main-header .header-container {
        display: grid;
        grid-template-columns: auto minmax(0, 1fr) auto;
        gap: 0.5rem;
        width: 100%;
        padding: 0 15px;
        box-sizing: border-box;
    }

    #main-header .header-logo-link {
        position: static;
        transform: none;
        justify-self: center;
    }

    #main-header .header-logo {
        width: 88px;
        max-width: 100%;
        height: auto;
    }

    #main-header .book-now-link {
        max-width: 115px;
        padding: 8px 10px;
        box-sizing: border-box;
        text-align: center;
        white-space: normal;
    }

    .business-page .contact-options {
        grid-template-columns: minmax(0, 1fr);
    }

    .business-page .business-section-nav a,
    .business-page .business-faq summary {
        min-height: 44px;
        display: flex;
        align-items: center;
        box-sizing: border-box;
    }

    .business-page .business-faq summary {
        display: list-item;
        padding: 8px 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .reveal-on-scroll,
    .stagger-item {
        opacity: 1;
        transform: none;
    }
}
