@font-face {
    font-family: 'Onest';
    src: url('/assets/fonts/onest.woff2') format('woff2');
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
}

@font-face {
    font-family: 'Nunito Sans Light Wide';
    src: url('/assets/fonts/nunito-sans-light-wide-v2.woff2') format('woff2');
    font-style: normal;
    font-weight: 300;
    font-stretch: 105%;
    font-display: swap;
}

@font-face {
    font-family: 'Nunito Sans Medium';
    src: url('/assets/fonts/nunito-sans-medium-v2.woff2') format('woff2');
    font-style: normal;
    font-weight: 500;
    font-stretch: 100%;
    font-display: swap;
}

:root {
    --brand-blue: #0400FA;
    --font-nunito-light-wide: 'Nunito Sans Light Wide', 'Onest', system-ui, sans-serif;
    --font-nunito-medium: 'Nunito Sans Medium', 'Onest', system-ui, sans-serif;
    --hero-copy-size: clamp(20px, 1.35vw, 28px);
}

* {
    box-sizing: border-box;
}

body {
    min-width: 320px;
    margin: 0;
    color: #0A1722;
    background: #fff;
    font: 16px/1.4 'Onest', system-ui, sans-serif;
}

.font-nunito-light-wide {
    font-family: var(--font-nunito-light-wide);
    font-style: normal;
    font-weight: 300;
    font-stretch: 105%;
    font-synthesis: none;
}

.font-nunito-medium {
    font-family: var(--font-nunito-medium);
    font-style: normal;
    font-weight: 500;
    font-stretch: 100%;
    font-synthesis: none;
}

.support-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: clamp(28px, 4.95vh, 54px) clamp(24px, 5vw, 96px);
}

.support-header__brand {
    --logo-eye-fill: #fff;
    position: relative;
    display: block;
    width: clamp(92px, 7.56vw, 113px);
    background: var(--brand-blue);
    -webkit-mask: url('/assets/ui/8ty-logo.svg') center/contain no-repeat;
    mask: url('/assets/ui/8ty-logo.svg') center/contain no-repeat;
}

.support-header__brand img {
    display: block;
    width: 100%;
    height: auto;
    opacity: 0;
}

.support-header__languages {
    display: flex;
    gap: 14px;
}

.support-header__languages button {
    border: 0;
    padding: 8px 0;
    color: #0A1722;
    background: transparent;
    font: inherit;
    font-size: 18px;
    opacity: .45;
    cursor: pointer;
}

.support-header__languages button[aria-pressed="true"] {
    color: var(--brand-blue);
    opacity: 1;
}

.support-header a:focus-visible,
.support-header button:focus-visible,
.hotel-contact__submit:focus-visible {
    outline: 3px solid var(--brand-blue);
    outline-offset: 5px;
}

.support-contact {
    display: grid;
    grid-template-columns: minmax(0, 1200px);
    justify-content: center;
    justify-items: center;
    gap: clamp(64px, 8svh, 96px);
    min-height: 100svh;
    padding: clamp(80px, 10svh, 130px) clamp(24px, 5vw, 96px) clamp(120px, 15svh, 180px);
    text-align: center;
}

.hotel-contact__title {
    max-width: 14em;
    margin: 0;
    font-size: clamp(48px, 5.2vw, 76px);
    line-height: .98;
    letter-spacing: -.035em;
    white-space: pre-line;
}

.hotel-contact__panel {
    position: relative;
    display: grid;
    width: min(100%, 653px);
    min-height: 520px;
    text-align: left;
}

.hotel-contact__form {
    grid-area: 1 / 1;
    align-self: start;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px;
}

.hotel-contact__field--wide,
.hotel-contact__submit {
    grid-column: 1 / -1;
}

.hotel-contact__field {
    position: relative;
    display: grid;
    gap: 8px;
}

.hotel-contact__field label {
    color: rgba(10, 23, 34, .48);
    font-family: var(--font-nunito-medium);
    font-size: var(--hero-copy-size);
    line-height: 1.35;
}

.hotel-contact__field input,
.hotel-contact__field textarea {
    width: 100%;
    min-width: 0;
    margin: 0;
    border: 0;
    border-bottom: 2px solid rgba(10, 23, 34, .22);
    border-radius: 0;
    padding: 4px 0 14px;
    color: #0A1722;
    background: transparent;
    font: 500 var(--hero-copy-size)/1.35 var(--font-nunito-medium);
    outline: 0;
    transition: border-color .24s ease;
}

.hotel-contact__field textarea {
    min-height: 0;
    resize: vertical;
}

.hotel-contact__field textarea.is-autogrow {
    overflow-y: hidden;
    resize: none;
}

.hotel-contact__field input:focus,
.hotel-contact__field textarea:focus {
    border-color: var(--brand-blue);
}

.hotel-contact__field input[aria-invalid="true"] {
    border-color: #D93245;
}

.hotel-contact__error {
    position: absolute;
    top: 100%;
    left: 0;
    padding-top: 5px;
    color: #D93245;
    font-size: 13px;
    line-height: 1.2;
}

.hotel-contact__submit {
    --contact-submit-height: 92px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    justify-self: center;
    width: 100%;
    height: var(--contact-submit-height);
    margin-top: 8px;
    border: 0;
    border-radius: 999px;
    padding: 0 34px;
    color: #fff;
    background: var(--brand-blue);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .32), inset 0 0 28px rgba(125, 205, 255, .28), 0 20px 62px rgba(4, 0, 250, .48), 0 0 30px rgba(54, 73, 255, .24);
    font-size: var(--hero-copy-size);
    line-height: 1;
    cursor: pointer;
    transition: box-shadow .85s cubic-bezier(.22, .61, .36, 1), background .3s;
}

.hotel-contact__submit-label {
    display: inline-block;
}

.hotel-contact__submit:disabled {
    color: rgba(10, 23, 34, .38);
    background: rgba(0, 0, 0, .1);
    box-shadow: none;
    cursor: not-allowed;
}

.hotel-contact__submit:not(:disabled):hover {
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .56), inset 0 0 44px rgba(154, 221, 255, .48), 0 28px 78px rgba(4, 0, 250, .6), 0 0 64px rgba(255, 0, 184, .4);
}

.hotel-contact__result {
    position: relative;
    grid-area: 1 / 1;
    align-self: center;
    justify-self: center;
    max-width: 10em;
    margin: 0 auto;
    color: #0A1722;
    font-size: clamp(48px, 4.4vw, 68px);
    line-height: .95;
    letter-spacing: -.025em;
    text-align: center;
}

.hotel-contact__result-text {
    position: relative;
    z-index: 1;
}

.hotel-contact__success-cloud {
    --particle-burst-glow: rgba(4, 0, 250, .28);
    position: absolute;
    z-index: 0;
    top: 50%;
    left: 50%;
    width: 1px;
    height: 1px;
    pointer-events: none;
}

.support-page .foot {
    --foot-link-eco: var(--brand-blue);
    color: #0A1722;
    background: #fff;
}

.support-page .foot-wordmark {
    --logo-eye-fill: #fff;
}

@media (max-width: 760px) {
    .support-header {
        padding: 18px 20px;
    }

    .support-header__brand {
        width: 86px;
    }

    .support-header__languages button {
        font-size: 16px;
    }

    .support-contact {
        align-content: start;
        gap: 36px;
        padding: 40px 20px clamp(88px, 12svh, 120px);
    }

    .hotel-contact__title {
        font-size: clamp(40px, 8.6vw, 58px);
        line-height: .94;
        text-align: left;
    }

    .hotel-contact__panel {
        min-height: 420px;
    }

    .hotel-contact__form {
        grid-template-columns: minmax(0, 1fr);
        gap: 20px;
    }

    .hotel-contact__field,
    .hotel-contact__submit {
        grid-column: 1;
    }

    .hotel-contact__submit {
        --contact-submit-height: 72px;
        font-size: 20px;
    }

    .hotel-contact__result {
        font-size: clamp(38px, 10vw, 52px);
    }
}

@media (prefers-reduced-motion: reduce) {
    .support-page *,
    .support-page *::before,
    .support-page *::after {
        animation-duration: .01ms !important;
        transition-duration: .01ms !important;
    }
}

html[data-performance-mode='lite'] .support-page *,
html[data-performance-mode='lite'] .support-page *::before,
html[data-performance-mode='lite'] .support-page *::after {
    animation: none !important;
    transition: none !important;
}
