/*
 * Pansion Ana info application shell
 *
 * Keeps the info-specific fixed contact and primary navigation bars while the
 * application uses the shared ANA theme. Load after ana-theme.css.
 */

:root {
    --ana-info-topbar-height: 58px;
    --ana-reception-submenu-height: 54px;
    --ana-info-bottombar-height: 76px;
    --ana-info-surface: rgba(248, 248, 248, .97);
    --ana-info-border: rgba(89, 76, 54, .16);
    --ana-info-shadow: 0 8px 28px rgba(89, 76, 54, .09);
}

body.ana-info {
    padding-top: var(--ana-info-topbar-height);
    padding-bottom: calc(var(--ana-info-bottombar-height) + env(safe-area-inset-bottom));
    background: #f8f5f0;
}

body.ana-info.is-scrolled {
    padding-top: var(--ana-info-topbar-height);
}

/* Reception request modal: ANA warm-neutral, blue and restrained card details. */
.ana-reception-modal .modal-dialog {
    max-width: 580px;
    max-height: calc(100vh - 20px);
}

.ana-reception-modal__content {
    overflow: hidden;
    max-height: calc(100vh - 20px);
    border: 0;
    border-radius: 0;
    box-shadow: 0 24px 64px rgba(89, 76, 54, .22);
}

.ana-reception-modal__content form {
    display: flex;
    max-height: inherit;
    min-height: 0;
    flex-direction: column;
}

.ana-reception-modal .modal-body {
    overflow-y: auto;
    flex: 1 1 auto;
    min-height: 0;
    padding: 28px 32px 32px;
    color: #594c36;
}

.ana-reception-modal__intro {
    margin-bottom: 24px;
    font-size: 14px;
    line-height: 1.65;
}

.ana-reception-modal .form-label {
    margin-bottom: 7px;
    color: #34334f;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.ana-reception-modal .form-control {
    min-height: 46px;
    border: 1px solid rgba(89, 76, 54, .22);
    border-radius: 0;
    color: #34334f;
    box-shadow: none;
}

.ana-reception-modal textarea.form-control {
    min-height: 110px;
    resize: vertical;
}

.ana-reception-modal .form-control:focus {
    border-color: #80a7bf;
    box-shadow: 0 0 0 3px rgba(128, 167, 191, .18);
}

.ana-reception-modal__group {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px 18px;
    margin: 0;
    padding: 18px 20px 16px;
    border: 1px solid #eee3d0;
}

.ana-reception-modal__group legend {
    float: none;
    width: auto;
    padding: 0 8px;
}

.ana-reception-modal .form-check {
    min-height: 22px;
    margin: 0;
    padding-left: 1.55em;
}

.ana-reception-modal .form-check-input {
    border-radius: 0;
    border-color: rgba(89, 76, 54, .45);
}

.ana-reception-modal .form-check-input:checked {
    border-color: #80a7bf;
    background-color: #80a7bf;
}

.ana-reception-modal .form-check-label {
    color: #594c36;
    font-size: 13px;
}

.ana-reception-modal__footer {
    flex: 0 0 auto;
    justify-content: space-between;
    padding: 18px 32px;
    border-top: 1px solid #eee3d0;
    background: #f8f8f8;
}

.ana-reception-modal__cancel,
.ana-reception-modal__submit {
    min-height: 42px;
    border-radius: 0;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.ana-reception-modal__cancel {
    width: 42px;
    padding: 0;
    border: 1px solid rgba(89, 76, 54, .28);
    color: #34334f;
}

.ana-reception-modal__submit {
    padding: 0 22px;
    border: 1px solid #80a7bf;
    background: #80a7bf;
    color: #fff;
}

.ana-reception-modal__submit:hover,
.ana-reception-modal__submit:focus-visible {
    border-color: #34334f;
    background: #34334f;
    color: #fff;
}

@media (max-width: 575.98px) {
    .ana-reception-modal .modal-dialog {
        margin: 10px;
    }

    .ana-reception-modal .modal-body {
        padding-right: 22px;
        padding-left: 22px;
    }

    .ana-reception-modal__footer {
        padding-right: 22px;
        padding-left: 22px;
    }

    .ana-reception-modal__group {
        grid-template-columns: 1fr;
    }
}

.ana-info-topbar,
.ana-info-bottombar {
    right: 0;
    left: 0;
    z-index: 1040;
    background: var(--ana-info-surface) !important;
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
}

.ana-info-topbar {
    min-height: var(--ana-info-topbar-height);
    padding: 0 !important;
    border-bottom: 1px solid var(--ana-info-border);
    box-shadow: var(--ana-info-shadow);
}

.ana-info-bottombar {
    min-height: var(--ana-info-bottombar-height);
    padding: 0 0 env(safe-area-inset-bottom) !important;
    border-top: 1px solid var(--ana-info-border);
    box-shadow: 0 -8px 28px rgba(89, 76, 54, .09);
}

.ana-info-topbar .row,
.ana-info-bottombar .row {
    margin: 0;
    background: transparent !important;
}

.ana-info-topbar .row > *,
.ana-info-bottombar .row > * {
    padding: 0;
}

.ana-info-topbar__nav,
.ana-info-bottombar__nav {
    width: 100%;
    margin: 0 auto;
}

.ana-info-topbar__nav {
    min-height: var(--ana-info-topbar-height);
    align-items: center;
    padding: 0 clamp(10px, 2.5vw, 32px);
}

.ana-info-header-logo {
    position: relative;
    display: inline-flex;
    width: 132px;
    height: 42px;
    flex: 0 0 132px;
    align-items: center;
    justify-content: flex-start;
    margin-right: clamp(4px, 1vw, 14px);
}

.ana-info-header-logo img {
    position: absolute;
    display: block;
    max-width: 100%;
    max-height: 100%;
    filter: brightness(0) saturate(100%) invert(66%) sepia(16%) saturate(950%) hue-rotate(158deg) brightness(87%) contrast(83%);
    transition: opacity .18s ease;
}

.ana-info-header-logo__full {
    width: 106px;
    opacity: 1;
    transform: translateY(3px);
}

.ana-info-header-logo__compact {
    width: 30px;
    opacity: 0;
}

.ana-info-header-logo__stay {
    width: 110px;
    opacity: 1;
    transform: translate(3px, 3px);
}

body.ana-info.is-scrolled .ana-info-header-logo__full {
    opacity: 0;
}

body.ana-info.is-scrolled .ana-info-header-logo__compact {
    opacity: 1;
}

.ana-info-topbar .nav-link {
    display: inline-flex;
    min-width: 44px;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    padding: 8px clamp(9px, 1.4vw, 18px);
    color: #80a7bf;
    font-family: var(--ana-font-navigation);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: .08em;
    line-height: 1.2;
    text-transform: uppercase;
    transition: color .25s ease, background-color .25s ease;
}

.ana-info-topbar .nav-link b,
.ana-info-topbar .nav-link span {
    display: inline-flex;
    align-items: center;
    color: inherit;
    font: inherit;
}

.ana-info-topbar .nav-link i {
    color: currentColor;
    font-size: 17px;
}

.ana-info-topbar .nav-link span {
    margin-left: 8px;
}

.ana-info-topbar .nav-link:hover,
.ana-info-topbar .nav-link:focus-visible {
    color: #80a7bf;
    background: #f8f8f8;
}

.ana-info-language {
    position: relative;
    display: flex;
    align-items: center;
    margin: 0 0 0 auto;
}

.ana-info-language summary {
    display: inline-flex;
    min-width: 18px;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    color: #80a7bf;
    font-family: var(--ana-font-navigation);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: .08em;
    line-height: 1.2;
    cursor: pointer;
    list-style: none;
    text-transform: uppercase;
    transition: color .25s ease;
}

.ana-info-language summary::-webkit-details-marker { display: none; }

.ana-info-language > div {
    position: absolute;
    top: calc(100% + 5px);
    right: 0;
    min-width: 142px;
    padding: 7px 0;
    border: 1px solid var(--ana-info-border);
    background: #fff;
    box-shadow: var(--ana-info-shadow);
}

.ana-info-language > div a {
    display: block;
    padding: 8px 13px;
    color: #0f2454;
    font-family: var(--ana-font-navigation);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: .04em;
    line-height: 1.2;
    text-decoration: none;
}

.ana-info-language > div a:hover,
.ana-info-language > div a:focus-visible { background: #f8f8f8; color: #80a7bf; }

.ana-info-topbar .ana-reception-menu__toggle {
    display: inline-flex;
    margin-left: 4px;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.ana-info-language summary:hover,
.ana-info-language summary:focus-visible {
    color: #0f2454;
}

.ana-reception-submenu {
    height: var(--ana-reception-submenu-height);
    overflow: hidden;
    border-top: 1px solid var(--ana-info-border);
    border-bottom: 1px solid var(--ana-info-border);
    background: #fff;
    opacity: 1;
    transition: height .2s ease, opacity .16s ease;
}

.ana-reception-submenu__viewport {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.ana-reception-submenu__viewport::after {
    position: absolute;
    top: 0;
    right: 0;
    display: none;
    width: 58px;
    height: 100%;
    align-items: center;
    justify-content: flex-end;
    padding-right: 12px;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0), #fff 58%);
    color: #80a7bf;
    content: '›';
    font-size: 27px;
    line-height: 1;
    pointer-events: none;
}

.ana-reception-submenu.is-overflowing:not(.is-at-end) .ana-reception-submenu__viewport::after {
    display: flex;
}

.ana-reception-submenu__inner {
    display: flex;
    width: 100%;
    max-width: 1320px;
    height: 100%;
    align-items: center;
    justify-content: flex-start;
    gap: clamp(20px, 4vw, 52px);
    margin: 0 auto;
    padding: 0 clamp(12px, 2.5vw, 32px);
    overflow-x: auto;
    scrollbar-width: none;
}

.ana-reception-submenu__inner::-webkit-scrollbar {
    display: none;
}

.ana-reception-submenu__label {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 8px;
    color: #594c36;
    font-family: var(--ana-font-navigation);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .04em;
    white-space: nowrap;
}

.ana-reception-submenu__label i {
    color: #80a7bf;
    font-size: 17px;
}

.ana-reception-submenu a {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 9px;
    color: #34334f;
    font-family: var(--ana-font-navigation);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: .03em;
    line-height: 1.2;
    white-space: nowrap;
}

.ana-reception-submenu a i {
    color: #80a7bf;
    font-size: 17px;
}

.ana-reception-submenu a:hover,
.ana-reception-submenu a:focus-visible {
    color: #80a7bf;
}

body.ana-info:not(.is-reception-menu-open) .ana-reception-submenu {
    height: 0;
    border-color: transparent;
    opacity: 0;
}

.ana-info-bottombar__nav {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    max-width: 820px;
}

.ana-info-bottombar .nav-link {
    position: relative;
    display: flex !important;
    min-width: 0;
    min-height: var(--ana-info-bottombar-height);
    align-items: center;
    justify-content: center;
    padding: 8px 12px !important;
    color: #594c36;
    font-family: var(--ana-font-navigation);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: .06em;
    line-height: 1.15;
    text-transform: uppercase;
    transition: color .25s ease, background-color .25s ease;
}

.ana-info-bottombar .nav-link::before {
    position: absolute;
    top: 0;
    right: 18%;
    left: 18%;
    height: 2px;
    background: #80a7bf;
    content: "";
    opacity: 0;
    transform: scaleX(.35);
    transition: opacity .25s ease, transform .25s ease;
}

.ana-info-bottombar .nav-link b {
    display: flex;
    min-width: 0;
    align-items: center;
    justify-content: center;
    color: inherit;
    font: inherit;
}

.ana-info-bottombar .nav-link i {
    flex: 0 0 auto;
    margin: 0;
    color: #80a7bf;
    font-size: 25px;
    line-height: 1;
}

.ana-info-bottombar .nav-link span {
    min-width: 0;
    margin-left: 9px;
    overflow: hidden;
    color: inherit;
    font: inherit;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ana-info-bottombar .nav-link:hover,
.ana-info-bottombar .nav-link:focus-visible {
    color: #34334f;
    background: #f8f8f8;
}

.ana-info-bottombar .nav-link:hover::before,
.ana-info-bottombar .nav-link:focus-visible::before {
    opacity: 1;
    transform: scaleX(1);
}

/* Page state deliberately has no visual treatment in the info app. */
.ana-info-bottombar .nav-link.is-active,
.ana-info-bottombar .nav-link.is-active:hover,
.ana-info-bottombar .nav-link.is-active:focus-visible {
    background: transparent !important;
    color: inherit;
}

.ana-info-bottombar .nav-link.is-active::before {
    opacity: 0 !important;
    transform: scaleX(0) !important;
}

/* The shared ANA consent surface sits above the persistent app navigation. */
.ana-info .ana-consent {
    bottom: calc(var(--ana-info-bottombar-height) + env(safe-area-inset-bottom)) !important;
}

/* Keep the shared back-to-top control clear of the persistent info navigation. */
.ana-info .progress-wrap {
    bottom: calc(var(--ana-info-bottombar-height) + env(safe-area-inset-bottom) + 16px);
    right: 16px;
    z-index: 1500;
}

.ana-info-rules-cookie {
    display: inline-flex;
    width: 100%;
    justify-content: flex-end;
}

.ana-info-rules-cookie__link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 0;
    border: 0;
    border-bottom: 1px solid currentColor;
    background: transparent;
    color: #34334f;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.2;
}

.ana-info-rules-cookie__link i {
    color: #80a7bf;
    font-size: 18px;
}

.ana-info-rules-cookie__link:hover,
.ana-info-rules-cookie__link:focus-visible {
    color: #80a7bf;
}

@media (max-width: 767.98px) {
    :root {
        --ana-info-topbar-height: 52px;
        --ana-reception-submenu-height: 50px;
        --ana-info-bottombar-height: 68px;
    }

    .ana-info-topbar__nav {
        padding: 0 13px;
    }

    .ana-info-header-logo {
        width: 82px;
        height: 38px;
        flex-basis: 82px;
        margin-right: 0;
    }

    .ana-info-header-logo__full {
        width: 68px;
    }

    .ana-info-header-logo__compact {
        width: 27px;
    }

    .ana-info-header-logo__stay {
        width: 72px;
    }

    .ana-info-topbar .nav-link {
        padding: 4px 10px;
    }

    .ana-info-topbar .ana-reception-menu__toggle {
        min-width: 0;
        padding-right: 7px;
        padding-left: 7px;
        font-size: 11px;
        letter-spacing: .04em;
    }

    .ana-info-language summary {
        min-width: 16px;
        min-height: 40px;
        font-size: 12px;
    }

    .ana-reception-submenu__inner {
        justify-content: flex-start;
        gap: 24px;
        padding-right: 16px;
        padding-left: 16px;
    }

    .ana-reception-submenu a {
        gap: 8px;
        font-size: 12px;
    }

    .ana-reception-submenu__label {
        font-size: 12px;
    }

    .ana-info-bottombar .nav-link {
        min-height: var(--ana-info-bottombar-height);
        padding: 6px 3px !important;
        font-size: 12px;
        letter-spacing: .01em;
        line-height: 1.1;
    }

    .ana-info-bottombar .nav-link b {
        flex-direction: column;
        gap: 5px;
    }

    .ana-info-bottombar .nav-link i {
        font-size: 22px;
    }

    .ana-info-bottombar .nav-link span {
        display: block !important;
        width: 100%;
        margin-left: 0;
        text-align: center;
    }

    .ana-info-bottombar .nav-link::before {
        right: 24%;
        left: 24%;
    }

}

/* Hero pages share the landing/header behaviour: transparent over imagery,
   then the normal solid ANA shell once the visitor reaches page navigation. */
body.ana-info--hero:not(.is-scrolled) {
    padding-top: 0;
}

body.ana-info--hero:not(.is-scrolled) .ana-info-topbar {
    background: transparent !important;
    border-color: transparent;
    box-shadow: none;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
}

body.ana-info--hero:not(.is-scrolled) .ana-info-topbar .nav-link,
body.ana-info--hero:not(.is-scrolled) .ana-info-language,
body.ana-info--hero:not(.is-scrolled) .ana-info-language summary {
    color: #fff;
}

body.ana-info--hero:not(.is-scrolled) .ana-info-topbar .nav-link i {
    color: currentColor;
}

body.ana-info--hero:not(.is-scrolled) .ana-info-topbar .nav-link:hover,
body.ana-info--hero:not(.is-scrolled) .ana-info-topbar .nav-link:focus-visible {
    background: transparent;
}

body.ana-info--hero:not(.is-scrolled) .ana-info-header-logo img {
    filter: brightness(0) invert(1);
}

.ana-bottom-nav-icon,
.ana-home .ana-nav-icon {
    display: inline-block;
    width: 28px;
    height: 28px;
    object-fit: contain;
    vertical-align: middle;
    filter: invert(66%) sepia(16%) saturate(950%) hue-rotate(158deg) brightness(87%) contrast(83%);
}

.ana-home .ana-nav-icon {
    width: 38px;
    height: 38px;
}

.ana-bottom-nav-icon[src$="bedroom.svg"] {
    width: 34px;
    height: 34px;
}

.ana-home .ana-nav-icon[src$="bedroom.svg"] {
    width: 48px;
    height: 48px;
}

@media (max-width: 767.98px) {
    .ana-bottom-nav-icon {
        width: 22px;
        height: 22px;
    }

    .ana-bottom-nav-icon[src$="bedroom.svg"] {
        width: 28px;
        height: 28px;
    }
}

@media print {
    body.ana-info {
        padding-top: 0;
        padding-bottom: 0;
    }
}
