/* ─── Full-page override ─────────────────────────────────────────────────── */
body:has(.nb-cs) {
    margin: 0;
    padding: 0;
    overflow: hidden;
}

/* ─── Reset ──────────────────────────────────────────────────────────────── */
.nb-cs *,
.nb-cs *::before,
.nb-cs *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* ─── Container ──────────────────────────────────────────────────────────── */
.nb-cs {
    position: relative;
    width: 100%;
    height: 100dvh;
    min-height: 500px;
    display: flex;
    flex-direction: column;
    font-family: 'Montserrat', sans-serif;
    color: #fff;
    overflow: hidden;
}

/* ─── Background ─────────────────────────────────────────────────────────── */
.nb-cs__bg {
    position: absolute;
    inset: 0;
    background-image: url('niuba_bg.jpg');
    background-size: cover;
    background-position: center;
    z-index: 0;
}
.nb-cs__bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.42);
}

/* ─── Corner graphic (top-right) ─────────────────────────────────────────── */
.nb-cs__corner {
    position: absolute;
    top: 0;
    right: 0;
    width: clamp(180px, 22vw, 360px);
    height: auto;
    display: block;
    z-index: 10;
}

/* ─── Mobile social icons (hidden on desktop) ────────────────────────────── */
.nb-cs__social-m {
    display: none;
}

/* ─── Main content ───────────────────────────────────────────────────────── */
.nb-cs__main {
    position: relative;
    z-index: 5;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 4vh 4vw 2vh;
    gap: 1.5vh;
}

/* Sneak peek */
.nb-cs__sneak {
    font-size: clamp(11px, 0.9vw, 14px);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.22em;
    opacity: 0.7;
    margin-bottom: auto;
    padding-top: 2vh;
}

/* ─── Logo ───────────────────────────────────────────────────────────────── */
.nb-cs__logo {
    line-height: 0;
}
.nb-cs__logo-d {
    width: clamp(300px, 63vw, 980px);
    height: auto;
    display: block;
}
.nb-cs__logo-m {
    display: none;
}

/* ─── EAT SIP STAY + descriptions ───────────────────────────────────────── */
.nb-cs__below {
    display: flex;
    gap: 3vw;
    align-items: flex-start;
}

.nb-cs__tagline {
    display: flex;
    flex-direction: column;
    gap: 0.25em;
    flex-shrink: 0;
    white-space: nowrap;
}
.nb-cs__tagline span {
    font-size: clamp(10px, 0.85vw, 13px);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.14em;
}
.nb-cs__tagline em {
    font-style: italic;
    font-weight: 300;
    margin-left: 0.5em;
    opacity: 0.75;
}

.nb-cs__desc {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3vw;
    font-size: clamp(10px, 0.78vw, 13px);
    font-weight: 300;
    line-height: 1.75;
    opacity: 0.82;
}

/* ─── Footer ─────────────────────────────────────────────────────────────── */
.nb-cs__footer {
    position: relative;
    z-index: 5;
    display: flex;
    align-items: center;
    gap: 3vw;
    padding: 1.6vh 4vw;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.nb-cs__address {
    font-size: clamp(10px, 0.72vw, 12px);
    font-weight: 300;
    font-style: normal;
    line-height: 1.6;
    opacity: 0.72;
}

.nb-cs__email {
    font-size: clamp(10px, 0.72vw, 12px);
    font-weight: 300;
    color: #fff;
    text-decoration: none;
    opacity: 0.72;
    transition: opacity 0.3s ease;
}
.nb-cs__email:hover { opacity: 1; }

.nb-cs__social-d {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: clamp(12px, 1.2vw, 22px);
}

/* ─── Icons ──────────────────────────────────────────────────────────────── */
.nb-cs__icon {
    display: flex;
    align-items: center;
    color: #fff;
    opacity: 0.75;
    transition: opacity 0.3s ease;
    cursor: default;
    text-decoration: none;
}
a.nb-cs__icon { cursor: pointer; }
a.nb-cs__icon:hover,
a.nb-cs__icon:focus { opacity: 1; }
.nb-cs__icon svg {
    width: clamp(18px, 1.35vw, 24px);
    height: clamp(18px, 1.35vw, 24px);
}

/* ─── Mobile ─────────────────────────────────────────────────────────────── */
@media (max-width: 768px) {
    body:has(.nb-cs) { overflow: hidden; }

    /* Social icons top-left */
    .nb-cs__social-m {
        display: flex;
        flex-direction: column;
        gap: 18px;
        position: absolute;
        top: 22px;
        left: 22px;
        z-index: 10;
    }
    .nb-cs__social-m .nb-cs__icon svg {
        width: 22px;
        height: 22px;
    }

    /* Smaller corner */
    .nb-cs__corner {
        width: clamp(140px, 46vw, 210px);
    }

    /* Main: center vertically */
    .nb-cs__main {
        justify-content: center;
        align-items: center;
        padding: 10vh 6vw 3vh;
        gap: 4vh;
    }

    .nb-cs__sneak { display: none; }

    /* Switch to mobile logo */
    .nb-cs__logo-d { display: none; }
    .nb-cs__logo-m {
        display: block;
        width: 78%;
        max-width: 290px;
        height: auto;
    }

    /* Below: stack vertically */
    .nb-cs__below {
        flex-direction: column;
        gap: 2.5vh;
        width: 100%;
    }

    .nb-cs__tagline {
        flex-direction: row;
        gap: 5vw;
        flex-wrap: wrap;
    }
    .nb-cs__tagline span { font-size: 11px; }

    .nb-cs__desc {
        grid-template-columns: 1fr;
        gap: 2vh;
        font-size: 12px;
    }

    /* Footer: address left, email right */
    .nb-cs__footer {
        flex-wrap: wrap;
        gap: 1.5vh 4vw;
        padding: 2vh 6vw;
    }
    .nb-cs__address {
        flex: 1;
        font-size: 11px;
    }
    .nb-cs__email {
        font-size: 11px;
        text-align: right;
    }
    .nb-cs__social-d { display: none; }
}
