/*
 * PIKKMASTER BMV SUITE — Phase 1 shared design system.
 * Values are ported from the approved HTML references without visual redesign.
 */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
    margin: 0;
    background: #F7F4EF;
    color: #0A1B33;
    font-family: 'Jost', system-ui, sans-serif;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
body.pikkmaster-menu-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: #0A1B33; text-decoration: none; }
a:hover { color: #C8102E; }
button, input, textarea, select { font: inherit; }
::selection { background: #C8102E; color: #F7F4EF; }
.pikkmaster-page { position: relative; min-height: 100vh; background: #F7F4EF; color: #0A1B33; font-family: 'Jost', sans-serif; }
.pikkmaster-accent { color: var(--accent, #C8102E); }
.pikkmaster-bmv-blue { color: #4EA1FF; }

@keyframes pikk-kb { from { transform: scale(1.04); } to { transform: scale(1.2); } }
@keyframes pikk-maskUp { from { opacity: 0; transform: translateY(112%) skewY(3deg); } to { opacity: 1; transform: translateY(0) skewY(0); } }
@keyframes pikk-fadeUp { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@keyframes pikk-fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes pikk-ruleX { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes pikk-ruleY { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@keyframes pikk-cue { 0% { transform: translateY(-105%); } 55% { transform: translateY(0); } 100% { transform: translateY(105%); } }
@keyframes pikk-revealUp { from { opacity: 0; transform: translateY(46px); } to { opacity: 1; transform: none; } }
@keyframes pikk-imgReveal { from { clip-path: inset(0 0 100% 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes pikk-dropIn { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: none; } }
@keyframes pikk-drawerIn { from { opacity: 0; clip-path: inset(0 0 100% 0); } to { opacity: 1; clip-path: inset(0 0 0 0); } }

/* Shared fixed header */
.pikkmaster-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 70;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: clamp(13px, 1.7vw, 22px) clamp(18px, 4.4vw, 60px);
    background: transparent;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    border-bottom: 1px solid transparent;
    transition: background .5s ease, border-color .5s ease, padding .5s ease, backdrop-filter .5s ease;
}
.pikkmaster-header.is-scrolled {
    background: rgba(7,22,43,.9);
    -webkit-backdrop-filter: blur(16px) saturate(140%);
    backdrop-filter: blur(16px) saturate(140%);
    border-bottom-color: rgba(247,244,239,.12);
}
.pikkmaster-standard-content .pikkmaster-header:not(.is-scrolled) {
    background: rgba(7,22,43,.96);
    border-bottom-color: rgba(247,244,239,.12);
}
.pikkmaster-wordmark {
    display: block;
    color: #F7F4EF;
    animation: pikk-fadeIn .9s ease both;
}
.pikkmaster-wordmark:hover { color: #F7F4EF; }
.pikkmaster-wordmark > span {
    display: block;
    font-family: 'Spectral', serif;
    font-weight: 600;
    font-size: clamp(16px, 1.6vw, 21px);
    line-height: 1.06;
    letter-spacing: .1em;
    color: #F7F4EF;
}

/* Desktop navigation */
.pikkmaster-desktop-nav {
    display: flex;
    align-items: center;
    gap: clamp(20px, 2.6vw, 42px);
    animation: pikk-fadeIn 1s ease .15s both;
}
.pikkmaster-nav-link,
.pikkmaster-locations-toggle {
    font-family: 'Jost', sans-serif;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: .13em;
    text-transform: uppercase;
    color: rgba(247,244,239,.82);
}
.pikkmaster-nav-link {
    padding: 6px 0;
    transition: color .3s ease;
}
.pikkmaster-nav-link:hover { color: #F7F4EF; }
.pikkmaster-nav-link.is-active { color: #F7F4EF; border-bottom: 1px solid var(--accent, #C8102E); }
.pikkmaster-locations { position: relative; padding: 6px 0; }
.pikkmaster-locations-toggle {
    display: flex;
    align-items: center;
    gap: 9px;
    background: none;
    border: 0;
    padding: 0;
    cursor: pointer;
    transition: color .3s ease;
}
.pikkmaster-locations-toggle:hover { color: #F7F4EF; }
.pikkmaster-locations-toggle.is-active { color: #F7F4EF; border-bottom: 1px solid var(--accent, #C8102E); }
.pikkmaster-chevron {
    display: inline-block;
    width: 5px;
    height: 5px;
    border-right: 1px solid currentColor;
    border-bottom: 1px solid currentColor;
    transform: rotate(45deg) translateY(-2px);
}
.pikkmaster-locations-menu {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 16px;
    min-width: 320px;
    padding: 10px;
    background: rgba(7,20,38,.97);
    -webkit-backdrop-filter: blur(18px);
    backdrop-filter: blur(18px);
    border: 1px solid rgba(247,244,239,.12);
    box-shadow: 0 32px 70px -30px rgba(0,0,0,.85);
    animation: pikk-dropIn .3s cubic-bezier(.16,.8,.24,1) both;
}
.pikkmaster-locations-menu::before {
    content: '';
    position: absolute;
    left: -10px;
    right: -10px;
    top: -25px;
    height: 25px;
    background: transparent;
}
.pikkmaster-locations-menu[hidden] { display: none; }
.pikkmaster-locations-menu a {
    display: flex;
    align-items: baseline;
    gap: 12px;
    padding: 14px 16px;
    color: rgba(247,244,239,.86);
    font-size: 14px;
    letter-spacing: .02em;
    transition: background .3s ease, color .3s ease, padding-left .3s ease;
}
.pikkmaster-locations-menu a:hover,
.pikkmaster-locations-menu a.is-current {
    background: rgba(247,244,239,.07);
    color: #F7F4EF;
    padding-left: 22px;
}
.pikkmaster-locations-menu a span {
    font-family: 'Jost', sans-serif;
    font-weight: 600;
    font-size: 12px;
    letter-spacing: .06em;
    color: var(--accent, #C8102E);
}

/* Mobile header + drawer */
.pikkmaster-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    width: 46px;
    height: 46px;
    padding: 0 11px;
    background: none;
    border: 1px solid rgba(247,244,239,.28);
    cursor: pointer;
}
.pikkmaster-menu-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background: #F7F4EF;
    border-radius: 999px;
}
.pikkmaster-mobile-drawer {
    position: fixed;
    inset: 0;
    z-index: 90;
    background: #07162B;
    padding: 22px clamp(20px, 6vw, 40px) 40px;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    animation: pikk-drawerIn .55s cubic-bezier(.16,.8,.24,1) both;
}
.pikkmaster-mobile-drawer[hidden] { display: none; }
.pikkmaster-mobile-drawer-top { display: flex; align-items: center; justify-content: space-between; }
.pikkmaster-mobile-wordmark {
    font-family: 'Spectral', serif;
    font-size: 17px;
    font-weight: 600;
    letter-spacing: .1em;
    color: #F7F4EF;
}
.pikkmaster-menu-close {
    width: 46px;
    height: 46px;
    background: none;
    border: 1px solid rgba(247,244,239,.28);
    color: #F7F4EF;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
}
.pikkmaster-mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-top: clamp(40px, 9vh, 80px);
}
.pikkmaster-mobile-main-link {
    font-family: 'Spectral', serif;
    font-size: clamp(30px, 9vw, 44px);
    font-weight: 400;
    color: #F7F4EF;
    padding: 10px 0;
    animation: pikk-fadeUp .6s cubic-bezier(.16,.8,.24,1) .1s both;
}
.pikkmaster-mobile-main-link:hover,
.pikkmaster-mobile-location-link:hover { color: #F7F4EF; }
.pikkmaster-mobile-rule {
    display: block;
    height: 1px;
    background: rgba(247,244,239,.12);
    transform-origin: left;
    animation: pikk-ruleX .8s cubic-bezier(.16,.8,.24,1) both;
}
.pikkmaster-mobile-rule.first { margin: 14px 0 18px; animation-delay: .18s; }
.pikkmaster-mobile-rule.second { margin: 18px 0 14px; animation-delay: .46s; }
.pikkmaster-mobile-label {
    font-size: 11px;
    letter-spacing: .3em;
    text-transform: uppercase;
    color: var(--accent, #C8102E);
    animation: pikk-fadeUp .6s ease .22s both;
}
.pikkmaster-mobile-location-link {
    font-family: 'Spectral', serif;
    font-size: clamp(21px, 5.6vw, 28px);
    color: rgba(247,244,239,.88);
    padding: 13px 0;
    animation: pikk-fadeUp .6s cubic-bezier(.16,.8,.24,1) both;
}
.pikkmaster-mobile-location-link:nth-of-type(2) { animation-delay: .28s; }
.pikkmaster-mobile-location-link:nth-of-type(3) { animation-delay: .34s; }
.pikkmaster-mobile-location-link:nth-of-type(4) { animation-delay: .4s; }
.pikkmaster-mobile-main-link.more { animation-delay: .52s; }
.pikkmaster-mobile-location-caption {
    margin-top: auto;
    padding-top: 40px;
    font-size: 12px;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: rgba(247,244,239,.45);
    animation: pikk-fadeIn 1s ease .7s both;
}

/* Shared footer */
.pikkmaster-footer {
    background: #07162B;
    padding: clamp(44px, 6vh, 72px) clamp(20px, 5vw, 72px) clamp(30px, 4vh, 44px);
    border-top: 1px solid rgba(247,244,239,.1);
}
.pikkmaster-footer-inner {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: clamp(28px, 4vw, 60px);
}
.pikkmaster-footer-wordmark {
    display: block;
    font-family: 'Spectral', serif;
    font-size: clamp(19px, 1.8vw, 24px);
    font-weight: 600;
    letter-spacing: .1em;
    line-height: 1.25;
    color: #F7F4EF;
}
.pikkmaster-footer-email {
    display: inline-block;
    margin-top: 18px;
    font-size: 14px;
    letter-spacing: .04em;
    color: rgba(247,244,239,.68);
    border-bottom: 1px solid rgba(247,244,239,.22);
    padding-bottom: 3px;
    transition: color .3s ease, border-color .3s ease;
}
.pikkmaster-footer-email:hover { color: #F7F4EF; border-color: var(--accent, #C8102E); }
.pikkmaster-footer-nav { display: grid; gap: 12px; }
.pikkmaster-footer-nav a {
    font-size: 12.5px;
    font-weight: 500;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: rgba(247,244,239,.7);
    transition: color .3s ease;
}
.pikkmaster-footer-nav a:hover { color: #F7F4EF; }
.pikkmaster-footer-bottom {
    width: 100%;
    max-width: 1440px;
    margin: clamp(32px, 5vh, 56px) auto 0;
    padding-top: 22px;
    border-top: 1px solid rgba(247,244,239,.1);
    display: flex;
    flex-wrap: wrap;
    gap: 12px 28px;
    justify-content: space-between;
}
.pikkmaster-footer-bottom span {
    font-size: 11.5px;
    font-weight: 500;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: rgba(247,244,239,.42);
}

/* Safe fallback content. The locked public templates will replace this in later phases. */
.pikkmaster-content-shell { min-height: 62vh; padding: 150px clamp(20px, 5vw, 72px) 80px; background: #F7F4EF; }
.pikkmaster-content-inner { width: 100%; max-width: 1100px; margin: 0 auto; }
.pikkmaster-generic-entry h1 { margin: 0 0 24px; font-family: 'Spectral', serif; font-size: clamp(38px, 6vw, 76px); font-weight: 400; line-height: 1; color: #07162B; }
.pikkmaster-generic-content { font-family: 'Spectral', serif; font-size: 18px; line-height: 1.75; color: #23344b; }

@media (max-width: 899px) {
    .pikkmaster-desktop-nav { display: none; }
    .pikkmaster-menu-toggle { display: flex; }
    .pikkmaster-footer-inner { display: grid; grid-template-columns: 1fr; }
}

@media (min-width: 900px) {
    .pikkmaster-mobile-drawer { display: none !important; }
}

@media (max-width: 360px) {
    .pikkmaster-header { gap: 12px; padding-left: 16px; padding-right: 16px; }
    .pikkmaster-wordmark > span { font-size: 15px; }
    .pikkmaster-mobile-drawer { padding-left: 18px; padding-right: 18px; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: .001s !important;
        animation-delay: 0s !important;
        transition-duration: .001s !important;
        scroll-behavior: auto !important;
    }
}


/* Shared hotel-page hero scroll cue — mirrors the homepage hero cue. */
.pikk-hotel-scroll-cue {
    position: absolute;
    right: clamp(20px, 5vw, 72px);
    bottom: clamp(30px, 5vh, 56px);
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 14px;
    animation: pikk-fadeUp 1s ease .85s both;
    pointer-events: none;
}
.pikk-hotel-scroll-line {
    position: relative;
    display: block;
    width: 1px;
    height: clamp(44px, 7vh, 72px);
    background: rgba(247,244,239,.22);
    overflow: hidden;
}
.pikk-hotel-scroll-line span {
    position: absolute;
    inset: 0;
    background: var(--accent, #4EA1FF);
    animation: pikk-cue 2.6s cubic-bezier(.5,0,.5,1) 1.6s infinite;
}
.pikk-hotel-scroll-cue > span:last-child {
    font-size: 11px;
    letter-spacing: .28em;
    text-transform: uppercase;
    color: rgba(247,244,239,.55);
}
@media (max-width: 720px) {
    .pikk-hotel-scroll-cue {
        right: 20px;
        bottom: 24px;
    }
}

/* Phase 4 location-specific shared-shell details from the approved Uyo HTML. */
.pikkmaster-mobile-reception-link {
    display: inline-block;
    color: var(--accent, #C8102E);
    font-weight: 500;
    letter-spacing: .18em;
}
.pikkmaster-mobile-reception-link:hover { color: var(--accent, #C8102E); }
.pikkmaster-footer-location-address {
    display: block;
    max-width: 34ch;
    margin-top: 16px;
    font-size: 14px;
    line-height: 1.7;
    color: rgba(247,244,239,.6);
}
.pikkmaster-footer-location-address + .pikkmaster-footer-email { margin-top: 16px; }
.pikkmaster-mobile-location-link.is-current { color: #F7F4EF; }

/* Phase 9 responsive image wrapper: preserves existing image sizing while allowing modern sources. */
.pikk-responsive-picture { display: block; width: 100%; height: 100%; }
.pikk-responsive-picture > img { display: block; }

/* Phase 10 accessibility QA: keyboard-only affordances, no visual change for pointer users. */
.pikkmaster-skip-link {
    position: fixed;
    top: 10px;
    left: 10px;
    z-index: 120;
    padding: 10px 14px;
    background: #F7F4EF;
    color: #07162B;
    border: 2px solid var(--accent, #C8102E);
    transform: translateY(-160%);
    transition: transform .18s ease;
}
.pikkmaster-skip-link:focus { transform: translateY(0); }

:where(a, button, [tabindex]:not([tabindex="-1"])):focus-visible {
    outline: 2px solid var(--accent, #C8102E);
    outline-offset: 4px;
}
.pikkmaster-header :where(a, button):focus-visible,
.pikkmaster-mobile-drawer :where(a, button):focus-visible,
.pikkmaster-footer :where(a, button):focus-visible {
    outline-color: #F7F4EF;
}
#main-content:focus { outline: none; }

@supports not (height: 100svh) {
    .pikkmaster-mobile-drawer { min-height: 100vh; }
}

/* Shared WhatsApp-hours modal. */
body.pikkmaster-modal-open { overflow: hidden; }
.pikkmaster-whatsapp-modal[hidden] { display: none !important; }
.pikkmaster-whatsapp-modal {
    position: fixed;
    inset: 0;
    z-index: 140;
    display: grid;
    place-items: center;
    padding: 20px;
}
.pikkmaster-whatsapp-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(4,15,31,.72);
    backdrop-filter: blur(8px);
}
.pikkmaster-whatsapp-modal-dialog {
    position: relative;
    width: min(100%, 520px);
    padding: clamp(28px, 5vw, 48px);
    background: #F7F4EF;
    color: #0A1B33;
    box-shadow: 0 30px 90px rgba(0,0,0,.28);
}
.pikkmaster-whatsapp-modal-close {
    position: absolute;
    top: 14px;
    right: 16px;
    border: 0;
    background: transparent;
    color: #0A1B33;
    font-size: 30px;
    line-height: 1;
    cursor: pointer;
}
.pikkmaster-whatsapp-modal-eyebrow {
    display: block;
    margin-bottom: 12px;
    font-size: 11.5px;
    font-weight: 600;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: var(--accent, #4EA1FF);
}
.pikkmaster-whatsapp-modal-dialog h2 {
    margin: 0;
    font-family: 'Spectral', serif;
    font-weight: 600;
    font-size: clamp(2rem, 6vw, 3.2rem);
    line-height: 1.02;
}
.pikkmaster-whatsapp-modal-dialog p {
    margin: 20px 0 0;
    font-size: clamp(15px, 2.4vw, 17px);
    line-height: 1.75;
    color: #33405A;
}
.pikkmaster-whatsapp-modal-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}
.pikkmaster-whatsapp-modal-continue,
.pikkmaster-whatsapp-modal-call,
.pikkmaster-whatsapp-modal-cancel {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 13px 20px;
    border: 1px solid #0A1B33;
    font: 600 11.5px/1 'Jost', sans-serif;
    letter-spacing: .14em;
    text-transform: uppercase;
    cursor: pointer;
}
.pikkmaster-whatsapp-modal-continue,
.pikkmaster-whatsapp-modal-call {
    background: #0A1B33;
    color: #F7F4EF;
}
.pikkmaster-whatsapp-modal-cancel {
    background: transparent;
    color: #0A1B33;
}
.pikkmaster-whatsapp-modal-continue:hover,
.pikkmaster-whatsapp-modal-continue:focus-visible,
.pikkmaster-whatsapp-modal-call:hover,
.pikkmaster-whatsapp-modal-call:focus-visible {
    background: var(--accent, #4EA1FF);
    border-color: var(--accent, #4EA1FF);
    color: #07162B;
}
.pikkmaster-whatsapp-modal-cancel:hover,
.pikkmaster-whatsapp-modal-cancel:focus-visible {
    border-color: var(--accent, #4EA1FF);
    color: #0A1B33;
}


/* 1.1.3 hotel-page branch identity: branch name belongs in the header, not the hero. */
.pikkmaster-visually-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}
.pikkmaster-wordmark.pikkmaster-hotel-wordmark {
    flex: 1 1 auto;
    min-width: 0;
    max-width: min(52vw, 720px);
}
.pikkmaster-wordmark.pikkmaster-hotel-wordmark > .pikkmaster-hotel-wordmark-line {
    display: block;
    font-family: 'Spectral', serif;
    font-size: clamp(21px, 2.05vw, 31px);
    font-weight: 700;
    line-height: .96;
    letter-spacing: .035em;
    color: #F7F4EF;
    white-space: nowrap;
}
.pikkmaster-wordmark.pikkmaster-hotel-wordmark > .pikkmaster-hotel-wordmark-city {
    margin-top: 2px;
    font-size: clamp(22px, 2.15vw, 33px);
    letter-spacing: .055em;
}
.pikkmaster-hotel-branch-tag {
    display: inline;
    margin-left: 0;
    font-family: inherit;
    font-size: 1em;
    font-weight: 700;
    line-height: inherit;
    letter-spacing: inherit;
    text-transform: uppercase;
    color: #4EA1FF;
    vertical-align: baseline;
}
.pikkmaster-mobile-hotel-wordmark {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    font-size: clamp(18px, 5.2vw, 24px);
    font-weight: 700;
    line-height: .98;
    letter-spacing: .035em;
}
.pikkmaster-mobile-hotel-wordmark > span { display: block; }
.pikkmaster-mobile-hotel-city {
    margin-top: 4px;
    font-size: 1.06em;
    letter-spacing: .055em;
}
.pikk-hotel-address-without-hero-title {
    margin-top: clamp(8px, 1.4vh, 16px) !important;
}

@media (max-width: 1199px) and (min-width: 900px) {
    .pikkmaster-wordmark.pikkmaster-hotel-wordmark { max-width: 46vw; }
    .pikkmaster-wordmark.pikkmaster-hotel-wordmark > .pikkmaster-hotel-wordmark-line {
        font-size: clamp(18px, 2vw, 23px);
        letter-spacing: .025em;
    }
    .pikkmaster-wordmark.pikkmaster-hotel-wordmark > .pikkmaster-hotel-wordmark-city {
        font-size: clamp(19px, 2.1vw, 25px);
    }
    .pikkmaster-desktop-nav { gap: clamp(14px, 2vw, 28px); }
}

@media (max-width: 899px) {
    .pikkmaster-wordmark.pikkmaster-hotel-wordmark {
        max-width: calc(100% - 64px);
    }
    .pikkmaster-wordmark.pikkmaster-hotel-wordmark > .pikkmaster-hotel-wordmark-line {
        font-size: clamp(16px, 4.7vw, 22px);
        line-height: .97;
        letter-spacing: .02em;
        white-space: nowrap;
    }
    .pikkmaster-wordmark.pikkmaster-hotel-wordmark > .pikkmaster-hotel-wordmark-city {
        font-size: clamp(17px, 5vw, 23px);
        letter-spacing: .04em;
    }
}

@media (max-width: 360px) {
    .pikkmaster-wordmark.pikkmaster-hotel-wordmark > .pikkmaster-hotel-wordmark-line {
        font-size: 15px;
        letter-spacing: .012em;
    }
    .pikkmaster-wordmark.pikkmaster-hotel-wordmark > .pikkmaster-hotel-wordmark-city { font-size: 16px; }
    .pikkmaster-mobile-hotel-wordmark { font-size: 17px; }
}


/* 1.1.11 — Hotel pages now begin with the address-led intro instead of a hero. */
.pikk-hotel-intro-no-hero {
    padding-top: clamp(150px, 18vh, 220px) !important;
}
@media (max-width: 899px) {
    .pikk-hotel-intro-no-hero {
        padding-top: clamp(118px, 16vh, 150px) !important;
    }
}
