/* All Nepal Hostel — public site. Plain CSS, no build step. */
:root {
  --accent: #B3202D;
  --ink: #15212E;
  --text: #3E4855;
  --muted: #5A6470;
  --paper: #FFFFFF;
  --stone: #F4F1EA;
  --line: #E6E1D7;
  --field: #CFC8BA;
  --green: #157A43;
  --star: #C77A12;
  --radius: 18px;
  --font: 'Roboto', system-ui, -apple-system, 'Segoe UI', sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
/* Lenis momentum scrolling (js/lenis.min.js); scroll-padding-top above also offsets its anchor jumps. */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-stopped { overflow: clip; }
.lenis.lenis-smooth iframe { pointer-events: none; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--font); font-size: 17px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.08; letter-spacing: -0.015em; margin: 0; }
p { margin: 0; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; }
.section--stone { background: var(--stone); }
.section--dark { background: var(--ink); color: #F4F1EA; }
.eyebrow { font-size: 14px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.section--dark .eyebrow { color: #F2B8A0; }
.h2 { font-size: clamp(32px, 4.2vw, 44px); }
.section-head { display: flex; flex-wrap: wrap; gap: 16px 32px; align-items: flex-end; justify-content: space-between; margin-bottom: 40px; }
.section-head > div:first-child { display: flex; flex-direction: column; gap: 12px; }
.section-head p { color: var(--text); max-width: 440px; }
.section-head--center { justify-content: center; text-align: center; }
.section-head--center > div { align-items: center; }

/* Scroll reveal: fade in while rising into place (js/site.js adds .reveal only to parts still below
   the screen, then .is-visible when they scroll in). Strong ease-out: quick start, gentle settle. */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s cubic-bezier(.23, 1, .32, 1), transform .6s cubic-bezier(.23, 1, .32, 1); }
.reveal.is-visible { opacity: 1; transform: none; }
@media print { .reveal { opacity: 1; transform: none; } }
.skip { position: absolute; left: -999px; top: 8px; background: #fff; padding: 8px 12px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 22px; border-radius: 999px; font: inherit; font-weight: 600; text-decoration: none; border: 1.5px solid transparent; cursor: pointer; transition: transform .15s, background .15s; }
.btn:hover { transform: translateY(-1px); }
.btn--accent { background: var(--accent); color: #fff; }
.btn--green { background: var(--green); color: #fff; }
.btn--green:hover { background: #106237; }
.btn--outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn--dark { background: var(--ink); color: #fff; }
.btn--lg { min-height: 54px; padding: 0 26px; font-size: 18px; }
.btn--sm { min-height: 44px; padding: 0 16px; font-size: 15px; }

/* Top bar & header */
.topbar { background: var(--ink); color: #E9E5DC; font-size: 14px; }
.topbar .wrap { display: flex; flex-wrap: wrap; gap: 8px 24px; align-items: center; justify-content: space-between; padding-top: 8px; padding-bottom: 8px; }
.topbar a { color: #E9E5DC; text-decoration: none; display: inline-flex; gap: 8px; align-items: center; }
.topbar a:hover { color: #fff; }
.topbar__group { display: flex; flex-wrap: wrap; gap: 6px 20px; align-items: center; }
.header { position: sticky; top: 0; z-index: 30; background: rgba(255,255,255,.96); backdrop-filter: blur(6px); border-bottom: 1px solid var(--line); }
.header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-top: 12px; padding-bottom: 12px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand__mark { width: 42px; height: 42px; border-radius: 10px; background: var(--accent); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 17px; flex-shrink: 0; }
.brand__logo { height: 44px; width: auto; max-width: 220px; object-fit: contain; }
.brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.brand__name { font-weight: 700; font-size: 21px; }
.brand__tag { font-size: 13px; color: var(--muted); }
.nav { display: flex; gap: clamp(14px, 1.6vw, 24px); font-weight: 600; font-size: 16px; }
.nav a { text-decoration: none; white-space: nowrap; }
.header__actions .btn { white-space: nowrap; }
.brand__text { min-width: 0; }
.nav a:hover { color: var(--accent); }
.header__actions { display: flex; gap: 10px; align-items: center; }
.menu-btn { display: none; width: 46px; height: 46px; border-radius: 10px; border: 1px solid var(--line); background: #fff; color: var(--ink); align-items: center; justify-content: center; cursor: pointer; }
/* Mobile menu: drawer that slides in from the right (js/site.js). Opens over .3s, closes a little faster. */
/* overflow: hidden clips the parked panel, so phones never count it as page width (no sideways scroll / zoom-out). */
.drawer { position: fixed; inset: 0; z-index: 80; overflow: hidden; visibility: hidden; transition: visibility 0s linear .22s; }
.drawer.is-open { visibility: visible; transition: none; }
.drawer__backdrop { position: absolute; inset: 0; background: rgba(21,33,46,.5); opacity: 0; transition: opacity .22s ease; touch-action: none; }
.drawer.is-open .drawer__backdrop { opacity: 1; transition-duration: .3s; }
.drawer__panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(340px, 86vw); display: flex; flex-direction: column; padding: 16px 20px 24px; background: #fff; box-shadow: -16px 0 40px rgba(21,33,46,.2); overflow-y: auto; overscroll-behavior: contain; transform: translateX(100%); transition: transform .22s cubic-bezier(.4,0,1,1); }
.drawer.is-open .drawer__panel { transform: none; transition: transform .3s cubic-bezier(.22,1,.36,1); }
.drawer__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.drawer__title { font-weight: 700; font-size: 18px; }
.drawer__close { flex-shrink: 0; width: 44px; height: 44px; border-radius: 10px; border: 1px solid var(--line); background: #fff; color: var(--ink); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.drawer__links { display: flex; flex-direction: column; padding: 6px 0; }
.drawer__links a { padding: 14px 4px; font-size: 17px; font-weight: 600; text-decoration: none; border-bottom: 1px solid #F0ECE4; }
.drawer__links a:hover { color: var(--accent); }
.drawer__actions { margin-top: auto; display: flex; flex-direction: column; gap: 10px; padding-top: 20px; }

/* Hero */
.hero { background: var(--stone); }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 56px; align-items: center; padding-top: 72px; padding-bottom: 80px; }
.hero__copy { display: flex; flex-direction: column; gap: 24px; }
.badge { align-self: flex-start; padding: 6px 14px; border-radius: 999px; background: #fff; border: 1px solid #E0DACE; font-size: 14px; font-weight: 600; color: var(--muted); }
.hero h1 { font-size: clamp(38px, 5.4vw, 60px); line-height: 1.03; letter-spacing: -0.02em; }
.hero__text { font-size: 20px; color: var(--text); max-width: 540px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__blocks { display: flex; flex-wrap: wrap; gap: 32px; border-top: 1px solid #E0DACE; padding-top: 16px; }
.hero__blocks strong { display: block; font-size: 22px; }
.hero__blocks span { font-size: 15px; color: var(--muted); }
.hero__media { position: relative; }
.hero__img { width: 100%; height: 500px; object-fit: cover; border-radius: 20px; }
.hero__card { position: absolute; left: -24px; bottom: 40px; background: #fff; border-radius: 14px; padding: 16px 20px; box-shadow: 0 10px 30px rgba(21,33,46,.12); display: flex; gap: 14px; align-items: center; max-width: 340px; }
.hero__card-icon { width: 40px; height: 40px; border-radius: 10px; background: #E7F3EC; color: var(--green); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.hero__card strong { display: block; }
.hero__card span { font-size: 14px; color: var(--muted); }
.placeholder { background-color: #DCD6CA; background-image: repeating-linear-gradient(135deg, rgba(255,255,255,.35) 0 10px, transparent 10px 20px); }

/* About */
.about { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.about__media { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.about__media img, .about__media .placeholder { width: 100%; height: 380px; object-fit: cover; border-radius: 16px; }
.about__stack { display: flex; flex-direction: column; gap: 16px; padding-top: 48px; }
.about__stack img, .about__stack .placeholder { height: 200px; }
.about__highlight { border-radius: 16px; background: var(--accent); color: #fff; padding: 18px; min-height: 116px; display: flex; flex-direction: column; justify-content: center; }
.about__highlight strong { font-size: 30px; }
.about__copy { display: flex; flex-direction: column; gap: 20px; }
.about__copy .prose { display: flex; flex-direction: column; gap: 14px; color: var(--text); }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; font-weight: 600; }
.ticks svg { color: var(--green); flex-shrink: 0; margin-top: 3px; }

/* Rooms */
.grid-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; }
.room { background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); display: flex; flex-direction: column; }
.room__media { position: relative; height: 190px; }
.room__media img { width: 100%; height: 100%; object-fit: cover; }
.room__media .placeholder { width: 100%; height: 100%; }
.room__tag { position: absolute; top: 12px; left: 12px; padding: 4px 10px; border-radius: 999px; background: #fff; font-size: 13px; font-weight: 600; }
.room__body { padding: 20px; display: flex; flex-direction: column; gap: 12px; flex-grow: 1; }
.room__body h3 { font-size: 22px; }
.room__meta { display: flex; gap: 8px; align-items: center; color: var(--muted); font-size: 15px; }
.room__desc { color: var(--text); font-size: 15px; }
.room__features { margin: 0; padding-left: 18px; color: var(--text); font-size: 15px; display: flex; flex-direction: column; gap: 4px; }
.room__foot { margin-top: auto; padding-top: 14px; border-top: 1px solid #EEEAE2; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.room__price strong { display: block; font-size: 18px; }
.room__price span { font-size: 13px; color: var(--muted); }
.room__foot .btn { flex-grow: 1; white-space: nowrap; }

/* Facilities */
.facilities { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
.facility { padding: 24px; border-radius: 16px; border: 1px solid var(--line); display: flex; flex-direction: column; gap: 10px; }
.facility__icon { width: 48px; height: 48px; border-radius: 12px; background: var(--stone); color: var(--accent); display: flex; align-items: center; justify-content: center; }
.facility h3 { font-size: 19px; letter-spacing: 0; }
.facility p { font-size: 15px; color: var(--muted); }

/* Gallery */
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { min-height: 44px; padding: 0 18px; border-radius: 999px; font: inherit; font-size: 15px; font-weight: 600; cursor: pointer; background: transparent; color: #E9E5DC; border: 1px solid #56636F; }
.chip[aria-pressed="true"] { background: #fff; color: var(--ink); border-color: #fff; }
.gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 200px; gap: 14px; }
.gallery__item { margin: 0; position: relative; border-radius: 14px; overflow: hidden; background: #33404F; cursor: zoom-in; border: 0; padding: 0; color: #fff; font: inherit; }
.gallery__item:first-child { grid-column: span 2; grid-row: span 2; }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.gallery__item:hover img { transform: scale(1.04); }
.gallery__item span { position: absolute; left: 12px; bottom: 12px; padding: 4px 10px; border-radius: 8px; background: rgba(21,33,46,.85); font-size: 13px; }
.gallery__item[hidden] { display: none; }
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(10,16,22,.92); display: none; align-items: center; justify-content: center; padding: 24px; }
.lightbox.is-open { display: flex; }
.lightbox img { max-height: 84vh; max-width: 100%; border-radius: 10px; }
.lightbox figure { margin: 0; display: flex; flex-direction: column; gap: 12px; align-items: center; color: #fff; }
.lightbox__btn { position: absolute; width: 52px; height: 52px; border-radius: 50%; border: 0; background: rgba(255,255,255,.14); color: #fff; display: flex; align-items: center; justify-content: center; cursor: pointer; }
.lightbox__btn:hover { background: rgba(255,255,255,.26); }
.lightbox__close { top: 20px; right: 20px; }
.lightbox__prev { left: 20px; top: 50%; transform: translateY(-50%) scaleX(-1); }
.lightbox__next { right: 20px; top: 50%; transform: translateY(-50%); }

/* Locations */
.locations { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 24px; }
.location { border-radius: var(--radius); border: 1px solid var(--line); overflow: hidden; display: flex; flex-direction: column; }
.location iframe, .location .placeholder { width: 100%; height: 300px; border: 0; display: flex; align-items: center; justify-content: center; color: #4A4438; font-weight: 600; }
.location__body { padding: 20px 24px; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.location__body strong { display: block; font-size: 22px; }
.location__body span { color: var(--muted); }

/* Reviews */
.rating-box { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; background: #fff; border-radius: 14px; padding: 14px 20px; border: 1px solid var(--line); }
.rating-box__num { font-size: 36px; font-weight: 700; }
.stars { display: inline-flex; gap: 2px; color: var(--star); }
.stars .off { color: #D9D3C7; }
.review { background: #fff; border-radius: var(--radius); padding: 24px; border: 1px solid var(--line); display: flex; flex-direction: column; gap: 14px; }
.review__who { display: flex; align-items: center; gap: 12px; }
.review__avatar { width: 44px; height: 44px; border-radius: 50%; background: #E3DED3; display: flex; align-items: center; justify-content: center; font-weight: 700; color: #4A4438; object-fit: cover; flex-shrink: 0; }
.review__who strong { display: block; }
.review__who span { font-size: 13px; color: var(--muted); }
.review p { color: var(--text); white-space: pre-line; }
.review__more { display: -webkit-box; -webkit-line-clamp: 6; -webkit-box-orient: vertical; overflow: hidden; }

/* Extra sections */
.extra { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.extra--text { grid-template-columns: minmax(0, 760px); }
.extra img { width: 100%; border-radius: var(--radius); max-height: 460px; object-fit: cover; }
.extra__copy { display: flex; flex-direction: column; gap: 18px; }
.extra__copy .prose { display: flex; flex-direction: column; gap: 14px; color: var(--text); }
.section--stone + .section--stone { padding-top: 0; }

/* Contact */
.contact { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: start; }
.contact__info { display: flex; flex-direction: column; gap: 24px; }
.contact__list { display: flex; flex-direction: column; gap: 16px; }
.contact__item { display: flex; gap: 14px; align-items: center; text-decoration: none; }
.contact__icon { width: 44px; height: 44px; border-radius: 12px; background: var(--stone); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact__item small { display: block; font-size: 14px; color: var(--muted); }
.contact__item strong { font-weight: 600; }
.socials { display: flex; flex-wrap: wrap; gap: 8px; }
.social { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1px solid #D8D2C6; text-decoration: none; font-weight: 600; }
.social:hover { border-color: var(--ink); }
.form { background: var(--stone); border-radius: 20px; padding: 32px; display: flex; flex-direction: column; gap: 16px; }
.form h3 { font-size: 26px; }
.form__intro { color: var(--muted); font-size: 15px; margin-top: 4px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: flex; flex-direction: column; gap: 6px; font-weight: 600; font-size: 15px; }
.field input, .field select, .field textarea { min-height: 48px; padding: 0 14px; border-radius: 10px; border: 1px solid var(--field); background: #fff; font: inherit; font-weight: 400; color: var(--ink); width: 100%; }
.field textarea { padding: 12px 14px; resize: vertical; min-height: 110px; }
.field__error { color: #A3151F; font-weight: 400; font-size: 14px; }
.hp { position: absolute; left: -5000px; }
.alert-ok { background: #E2F2E8; color: #0F6136; border-radius: 12px; padding: 14px 16px; font-weight: 600; }
.alert-err { background: #FBE3E5; color: #8E1A24; border-radius: 12px; padding: 14px 16px; font-weight: 600; }
.alert-ok:focus, .alert-err:focus { outline: none; }
/* Contact button while the message is being sent (js/site.js) */
.btn[aria-busy="true"] { cursor: progress; opacity: .9; }
.btn__spinner { width: 18px; height: 18px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: btn-spin .7s linear infinite; }
@keyframes btn-spin { to { transform: rotate(360deg); } }

/* Footer */
.footer { background: var(--ink); color: #C9CFD6; }
.footer .wrap { display: flex; flex-wrap: wrap; gap: 20px; align-items: center; justify-content: space-between; padding-top: 40px; padding-bottom: 40px; font-size: 15px; }
.footer strong { display: block; font-size: 20px; color: #fff; }
.footer nav { display: flex; flex-wrap: wrap; gap: 20px; }
.footer a { color: #C9CFD6; text-decoration: none; }
.footer a:hover { color: #fff; }

/* WhatsApp buttons */
.wa-float { position: fixed; right: 24px; bottom: 24px; z-index: 40; display: flex; align-items: center; gap: 10px; min-height: 60px; padding: 0 22px 0 18px; border-radius: 999px; background: var(--green); color: #fff; font-weight: 600; text-decoration: none; box-shadow: 0 10px 28px rgba(21,122,67,.35); }
.wa-float:hover { background: #106237; }
.mobile-bar { display: none; }

/* Responsive */
@media (max-width: 1180px) { /* 8 menu items + logo need about 1180px */
  .nav { display: none; }
  .menu-btn { display: inline-flex; }
}
@media (max-width: 900px) {
  .section { padding: 64px 0; }
  .hero .wrap, .about, .contact, .extra { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .hero .wrap { padding-top: 32px; padding-bottom: 48px; }
  .hero__img { height: 300px; }
  .hero__media { order: -1; }
  .hero__card { left: 12px; bottom: 12px; right: 12px; }
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 150px; }
}
@media (max-width: 640px) {
  body { font-size: 16px; padding-bottom: 76px; }
  .wrap { padding: 0 16px; }
  .topbar { display: none; }
  .brand__name { font-size: 19px; }
  .header__actions .btn { display: none; }
  .about__media img, .about__media .placeholder { height: 260px; }
  .about__stack { padding-top: 24px; }
  .about__stack img, .about__stack .placeholder { height: 140px; }
  .ticks, .form__row { grid-template-columns: 1fr; }
  .form { padding: 20px; }
  .locations { grid-template-columns: 1fr; }
  .location iframe, .location .placeholder { height: 240px; }
  .wa-float { display: none; }
  .mobile-bar { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; background: #fff; border-top: 1px solid var(--line); padding: 10px 12px; gap: 10px; box-shadow: 0 -6px 18px rgba(21,33,46,.08); }
  .mobile-bar .btn { min-height: 52px; }
  .mobile-bar .btn--green { flex-grow: 1; }
  .lightbox__prev, .lightbox__next { top: auto; bottom: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
  .reveal { opacity: 1; transform: none; } /* no scroll animation at all */
}
