/* Site-wide pieces shared by every page: header sign-in button, footer, back to top. */

/* Header: Sign in (replaces the black LOGIN button) */
.header .item-right a.kp-signin {
    display: inline-flex; align-items: center; gap: 7px; height: 36px; padding: 0 14px 0 12px;
    border-radius: 999px; border: 1.5px solid #ddd8f1; background: #fff; color: #4b418d !important;
    font-size: 14px; font-weight: 800; text-decoration: none !important; vertical-align: middle;
    transition: background-color .2s ease, border-color .2s ease;
}
.header .item-right a.kp-signin:hover, .header .item-right a.kp-signin:focus-visible { background: #efedf9; border-color: #cfc8ea; }
.header .item-right a.kp-signin:focus-visible { outline: none; box-shadow: 0 0 0 3px rgba(75, 65, 141, .3); }
/* Phones and tablets use the menu's Sign in button instead. */
@media (max-width: 991px) { .header .item-right a.kp-signin { display: none; } }

/* Footer */
.kp-foot { background: #1c1641; background: radial-gradient(1100px 420px at 85% -10%, #2f2669 0%, #1c1641 60%); color: #c9c4e4; font-family: Nunito, system-ui, -apple-system, sans-serif; }
.kp-foot { position: relative; overflow: hidden; }
.kp-foot__wrap { position: relative; max-width: 1200px; margin: 0 auto; padding: 56px 24px 28px; }
/* The K on its own, as a large quiet watermark in the corner. */
.kp-foot__mark { position: absolute; right: -60px; bottom: -70px; width: 360px; height: auto; opacity: .05; filter: brightness(0) invert(1); pointer-events: none; user-select: none; }
@media (max-width: 640px) { .kp-foot__mark { width: 220px; right: -40px; bottom: -40px; } }
.kp-foot a { color: inherit; text-decoration: none; }

.kp-foot__cta {
    display: flex; align-items: center; justify-content: space-between; gap: 20px 32px; flex-wrap: wrap;
    padding: 26px 30px; margin-bottom: 52px; border-radius: 24px;
    background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1);
}
.kp-foot__cta-title { margin: 0 0 4px; font-size: 22px; font-weight: 800; color: #fff; letter-spacing: -0.01em; }
.kp-foot__cta-text { margin: 0; font-size: 15px; color: #c9c4e4; }
.kp-foot__cta-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.kp-foot__btn { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 0 22px; border-radius: 999px; font-size: 15px; font-weight: 800; transition: background-color .2s ease, color .2s ease, border-color .2s ease; }
.kp-foot__btn--light { background: #fff; color: #2f2669 !important; }
.kp-foot__btn--light:hover { background: #efedf9; }
.kp-foot__btn--ghost { border: 1.5px solid rgba(255, 255, 255, .35); color: #fff !important; }
.kp-foot__btn--ghost:hover { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .6); }
/* The homepage already ends with a booking section right above the footer. */
.kp-home .kp-foot__cta { display: none; }

.kp-foot__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 36px 40px; }
.kp-foot__logo img { display: block; height: 28px; width: auto; }
.kp-foot__brand p { margin: 18px 0 18px; max-width: 340px; font-size: 15px; line-height: 1.6; }
.kp-foot__contact { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: 15px; }
.kp-foot__contact a { display: inline-flex; align-items: flex-start; gap: 10px; color: #e6e3f5; }
.kp-foot__contact a:hover { color: #fff; }
.kp-foot__contact svg { flex: none; margin-top: 2px; color: #a99ff0; }
.kp-foot__head { margin: 6px 0 16px; font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: #8fd8b5; }
.kp-foot__col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; font-size: 15px; }
.kp-foot__col a { color: #d7d3ec; transition: color .15s ease; }
.kp-foot__col a:hover, .kp-foot__col a:focus-visible { color: #fff; }

.kp-foot__bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; margin-top: 48px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: 14px; color: #9e98c2; }
@media (min-width: 768px) { .kp-foot__bar { padding-right: 64px; } }
.kp-foot__bar p { margin: 0; }
.kp-foot__bar ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; }
.kp-foot__bar a:hover { color: #fff; }
.kp-foot a:focus-visible { outline: 2px solid #a99ff0; outline-offset: 3px; border-radius: 6px; }

@media (max-width: 991px) {
    .kp-foot__grid { grid-template-columns: 1fr 1fr 1fr; }
    .kp-foot__brand { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
    .kp-foot__wrap { padding: 40px 18px calc(24px + env(safe-area-inset-bottom)); }
    .kp-foot__cta { padding: 22px 20px; margin-bottom: 36px; }
    .kp-foot__cta-actions { width: 100%; }
    .kp-foot__btn { flex: 1 1 auto; }
    .kp-foot__grid { grid-template-columns: 1fr 1fr; gap: 30px 20px; }
    .kp-foot__bar { flex-direction: column; align-items: flex-start; margin-top: 36px; }
}

/* Back to top: a small round button (app.js shows it after scrolling) */
#back-to-top.kp-totop {
    width: 44px; height: 44px; right: 24px; bottom: 24px; padding: 0; line-height: 1;
    display: none; align-items: center; justify-content: center;
    border-radius: 50%; background: #fff; color: #4b418d !important; border: 1px solid #e3dff2;
    box-shadow: 0 10px 24px rgba(36, 29, 82, .16);
}
#back-to-top.kp-totop[style*="block"] { display: inline-flex !important; }
#back-to-top.kp-totop:hover { background: #4b418d; color: #fff !important; border-color: #4b418d; }
#back-to-top.kp-totop svg { display: block; width: 18px; height: 18px; flex: none; }
/* On phones it covered buttons and text, and the header is always one tap away. */
@media (max-width: 767px) {
    #back-to-top.kp-totop, #back-to-top.kp-totop[style*="block"] { display: none !important; }
}
