/* =====================================================================
   HostelHub — Public / resident site
   ===================================================================== */

/* ---------------------------------------------------------------
   Navbar
   --------------------------------------------------------------- */
.hh-nav {
  position: sticky; top: 0; z-index: 1030;
  background: rgba(255, 255, 255, .82);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--base), box-shadow var(--base), background var(--base);
}
.hh-nav.is-stuck { border-bottom-color: var(--line); box-shadow: 0 4px 20px -12px rgba(16,24,40,.28); }
.hh-nav__inner { display: flex; align-items: center; gap: 20px; height: 70px; }

.hh-logo { display: inline-flex; align-items: center; gap: 11px; font-family: var(--display); font-weight: 800; font-size: 1.08rem; color: var(--ink-900); letter-spacing: -.03em; }
.hh-logo:hover { color: var(--ink-900); }
.hh-logo__mark {
  width: 36px; height: 36px; border-radius: 11px; flex: none;
  display: grid; place-items: center; color: #fff; font-size: 1.05rem;
  background: linear-gradient(140deg, var(--brand), rgba(var(--brand-rgb), .68));
  box-shadow: var(--sh-brand);
}
.hh-logo__mark i { line-height: 1; }
.hh-logo small { display: block; font-family: var(--font); font-size: .64rem; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; color: var(--ink-400); margin-top: -3px; }

.hh-nav__links { display: flex; align-items: center; gap: 3px; margin-left: 10px; }
.hh-nav__links a {
  font-size: .88rem; font-weight: 600; color: var(--ink-600);
  padding: 8px 14px; border-radius: var(--r-xs); transition: all var(--fast);
}
.hh-nav__links a:hover { background: var(--bg-soft); color: var(--ink-900); }
.hh-nav__links a.is-active { color: var(--brand); background: rgba(var(--brand-rgb), .09); }
.hh-nav__right { margin-left: auto; display: flex; align-items: center; gap: 10px; }

.hh-nav__burger {
  display: none; background: var(--surface); border: 1px solid var(--line);
  width: 40px; height: 40px; border-radius: var(--r-xs); color: var(--ink-700);
  font-size: 1.15rem; cursor: pointer;
}
@media (max-width: 991px) {
  .hh-nav__links { display: none; }
  .hh-nav__burger { display: grid; place-items: center; }
}

.hh-mobile-menu {
  display: none; padding: 8px 0 18px; border-top: 1px solid var(--line-soft);
}
.hh-mobile-menu.is-open { display: block; }
.hh-mobile-menu a {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 4px; font-weight: 600; color: var(--ink-700);
  border-bottom: 1px solid var(--line-soft);
}
.hh-mobile-menu a:last-child { border-bottom: none; }

/* ---------------------------------------------------------------
   Hero
   --------------------------------------------------------------- */
.hh-hero {
  position: relative; overflow: hidden;
  padding: 84px 0 70px;
  background:
    radial-gradient(1000px 460px at 12% -8%,  rgba(var(--brand-rgb), .16), transparent 62%),
    radial-gradient(760px 380px at 92% 4%,   rgba(14, 164, 114, .11),  transparent 60%),
    radial-gradient(620px 420px at 55% 108%, rgba(var(--brand-rgb), .10), transparent 62%),
    linear-gradient(180deg, #fbfcff, var(--bg));
}
.hh-hero::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(16,24,40,.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(16,24,40,.028) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 85% 70% at 50% 34%, #000 25%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 85% 70% at 50% 34%, #000 25%, transparent 78%);
}
.hh-hero__inner { position: relative; z-index: 1; }
.hh-hero h1 { margin: 20px 0 16px; max-width: 17ch; }
.hh-hero h1 .grad {
  background: linear-gradient(100deg, var(--brand), #0ea472 78%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hh-hero p.hh-lead { font-size: 1.1rem; }
.hh-hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

.hh-hero__figures {
  display: flex; flex-wrap: wrap; gap: 10px 40px; margin-top: 44px;
  padding-top: 28px; border-top: 1px solid var(--line);
}
.hh-hero__fig strong {
  display: block; font-family: var(--display); font-size: 1.85rem; font-weight: 800;
  color: var(--ink-900); line-height: 1.1; letter-spacing: -.03em; font-variant-numeric: tabular-nums;
}
.hh-hero__fig span { font-size: .78rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--ink-400); }

/* ---------------------------------------------------------------
   Hostel picker cards (landing)
   --------------------------------------------------------------- */
.hh-hostel-card {
  --brand: var(--card-brand, #4f46e5);
  --brand-rgb: var(--card-brand-rgb, 79, 70, 229);
  position: relative; overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  box-shadow: var(--sh-2);
  display: flex; flex-direction: column;
  transition: transform var(--base), box-shadow var(--base), border-color var(--base);
}
.hh-hostel-card:hover { transform: translateY(-6px); box-shadow: var(--sh-3); border-color: rgba(var(--brand-rgb), .3); }

.hh-hostel-card__cover {
  position: relative; height: 152px; overflow: hidden;
  background:
    radial-gradient(420px 200px at 20% 0%, rgba(var(--brand-rgb), .38), transparent 70%),
    linear-gradient(135deg, rgba(var(--brand-rgb), .95), rgba(var(--brand-rgb), .62));
}
.hh-hostel-card__cover::after {
  content: ''; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.10) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.10) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: linear-gradient(200deg, #000, transparent 72%);
  -webkit-mask-image: linear-gradient(200deg, #000, transparent 72%);
}
.hh-hostel-card__cover img { width: 100%; height: 100%; object-fit: cover; }
.hh-hostel-card__glyph {
  position: absolute; right: 18px; bottom: -14px; z-index: 1;
  font-size: 5.4rem; color: rgba(255, 255, 255, .17); line-height: 1;
}
.hh-hostel-card__tag {
  position: absolute; top: 15px; left: 15px; z-index: 2;
  background: rgba(255, 255, 255, .94); color: var(--brand);
  font-size: .7rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase;
  padding: 5px 11px; border-radius: var(--r-pill); box-shadow: var(--sh-1);
}
.hh-hostel-card__live {
  position: absolute; top: 15px; right: 15px; z-index: 2;
  background: rgba(255, 255, 255, .94);
  font-size: .7rem; font-weight: 800;
  padding: 5px 11px; border-radius: var(--r-pill); box-shadow: var(--sh-1);
  display: inline-flex; align-items: center; gap: 6px; color: var(--ok);
}
.hh-hostel-card__live::before { content: ''; width: 6px; height: 6px; border-radius: 99px; background: currentColor; animation: pulseDot 1.7s infinite; }
.hh-hostel-card__live.is-full { color: var(--bad); }

.hh-hostel-card__body { padding: 20px 22px; flex: 1; display: flex; flex-direction: column; }
.hh-hostel-card__body h3 { font-size: 1.14rem; margin-bottom: 4px; }
.hh-hostel-card__loc { font-size: .84rem; color: var(--ink-400); display: flex; align-items: center; gap: 6px; }

.hh-hostel-card__bar { display: flex; gap: 3px; margin: 16px 0 10px; }
.hh-hostel-card__bar span { height: 7px; border-radius: 99px; flex: 1; background: var(--ink-100); }
.hh-hostel-card__bar span.on-busy { background: var(--bad); }
.hh-hostel-card__bar span.on-hold { background: var(--warn); }
.hh-hostel-card__bar span.on-free { background: var(--ok); }

.hh-hostel-card__nums {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px;
  padding: 14px 0; margin-top: auto;
  border-top: 1px solid var(--line-soft);
}
.hh-hostel-card__num strong {
  display: block; font-family: var(--display); font-size: 1.28rem; font-weight: 800;
  color: var(--ink-900); line-height: 1.15; font-variant-numeric: tabular-nums;
}
.hh-hostel-card__num span { font-size: .68rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--ink-400); }
.hh-hostel-card__num.is-free strong { color: var(--ok); }
.hh-hostel-card__num.is-busy strong { color: var(--bad); }

.hh-hostel-card__foot {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 15px 22px; border-top: 1px solid var(--line-soft); background: var(--bg-soft);
}
.hh-hostel-card__price strong { font-family: var(--display); font-size: 1.16rem; color: var(--ink-900); font-weight: 800; }
.hh-hostel-card__price span { font-size: .74rem; color: var(--ink-400); font-weight: 600; }

/* ---------------------------------------------------------------
   Hostel detail page
   --------------------------------------------------------------- */
.hh-hostel-hero {
  position: relative; overflow: hidden;
  padding: 46px 0 42px;
  background:
    radial-gradient(820px 400px at 8% -10%, rgba(var(--brand-rgb), .22), transparent 62%),
    linear-gradient(180deg, #fbfcff, var(--bg));
  border-bottom: 1px solid var(--line);
}
.hh-crumbs { display: flex; align-items: center; gap: 8px; font-size: .82rem; color: var(--ink-400); margin-bottom: 16px; }
.hh-crumbs a { color: var(--ink-500); font-weight: 600; }
.hh-crumbs a:hover { color: var(--brand); }
.hh-crumbs i { font-size: .68rem; }

.hh-hostel-hero__top { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 24px; }
.hh-hostel-hero__title { flex: 1 1 380px; }
.hh-hostel-hero__title h1 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); margin: 12px 0 10px; }
.hh-hostel-hero__side {
  flex: 0 0 auto; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 20px 24px; box-shadow: var(--sh-2); min-width: 250px;
}

.hh-occ { display: flex; align-items: center; gap: 18px; }
.hh-occ__nums { display: flex; flex-direction: column; gap: 5px; font-size: .82rem; }
.hh-occ__nums b { font-variant-numeric: tabular-nums; }

/* availability summary strip */
.hh-avail-strip {
  display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 6px; box-shadow: var(--sh-2);
}
.hh-avail-strip__cell { padding: 16px 18px; border-radius: var(--r); transition: background var(--fast); }
.hh-avail-strip__cell:hover { background: var(--bg-soft); }
.hh-avail-strip__cell strong {
  display: block; font-family: var(--display); font-size: 1.7rem; font-weight: 800;
  line-height: 1.1; color: var(--ink-900); font-variant-numeric: tabular-nums; letter-spacing: -.03em;
}
.hh-avail-strip__cell span {
  font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--ink-400); display: flex; align-items: center; gap: 6px; margin-top: 3px;
}
.hh-avail-strip__cell span i { width: 9px; height: 9px; border-radius: 3px; display: inline-block; }
.hh-avail-strip__cell.c-free strong { color: var(--ok); }
.hh-avail-strip__cell.c-busy strong { color: var(--bad); }
.hh-avail-strip__cell.c-hold strong { color: var(--warn); }

/* ---------------------------------------------------------------
   Room cards
   --------------------------------------------------------------- */
.hh-room {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-lg); box-shadow: var(--sh-2);
  display: flex; flex-direction: column; overflow: hidden;
  transition: transform var(--base), box-shadow var(--base), border-color var(--base);
}
.hh-room:hover { transform: translateY(-4px); box-shadow: var(--sh-3); border-color: rgba(var(--brand-rgb), .28); }
.hh-room.is-full { opacity: .82; }
.hh-room.is-full:hover { transform: none; }

.hh-room__top {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 12px;
  padding: 18px 20px 14px;
}
.hh-room__no {
  font-family: var(--display); font-size: 1.16rem; font-weight: 800; color: var(--ink-900);
  display: flex; align-items: center; gap: 9px; letter-spacing: -.02em;
}
.hh-room__no i {
  width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center;
  background: rgba(var(--brand-rgb), .10); color: var(--brand); font-size: .95rem;
}
.hh-room__feat { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 20px 14px; }
.hh-room__feat .hh-chip { font-size: .74rem; padding: 5px 10px; }

.hh-room__bedbox { padding: 14px 20px; background: var(--bg-soft); border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
.hh-room__bedbox-head {
  display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 11px;
  font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-400);
}

.hh-room__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 15px 20px; }
.hh-room__price strong { font-family: var(--display); font-size: 1.28rem; font-weight: 800; color: var(--ink-900); letter-spacing: -.02em; }
.hh-room__price span { font-size: .74rem; color: var(--ink-400); font-weight: 600; display: block; margin-top: -3px; }

/* ---------------------------------------------------------------
   Booking page
   --------------------------------------------------------------- */
.hh-book-grid { display: grid; grid-template-columns: 1fr 372px; gap: 26px; align-items: start; }
@media (max-width: 991px) { .hh-book-grid { grid-template-columns: 1fr; } }

.hh-summary { position: sticky; top: 92px; }
.hh-summary__row {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 11px 0; font-size: .89rem; color: var(--ink-500);
  border-bottom: 1px dashed var(--line);
}
.hh-summary__row:last-of-type { border-bottom: none; }
.hh-summary__row b { color: var(--ink-900); font-weight: 700; font-variant-numeric: tabular-nums; }
.hh-summary__total {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  margin-top: 12px; padding: 16px 18px; border-radius: var(--r);
  background: linear-gradient(135deg, rgba(var(--brand-rgb), .10), rgba(var(--brand-rgb), .04));
  border: 1px solid rgba(var(--brand-rgb), .18);
}
.hh-summary__total span { font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; color: var(--brand); }
.hh-summary__total strong { font-family: var(--display); font-size: 1.6rem; font-weight: 800; color: var(--ink-900); letter-spacing: -.03em; }

.hh-steps { display: flex; align-items: center; gap: 6px; margin-bottom: 26px; flex-wrap: wrap; }
.hh-step { display: flex; align-items: center; gap: 9px; font-size: .84rem; font-weight: 700; color: var(--ink-300); }
.hh-step__n {
  width: 26px; height: 26px; border-radius: 50%; flex: none;
  display: grid; place-items: center; font-size: .76rem;
  background: var(--ink-100); color: var(--ink-400);
}
.hh-step.is-done { color: var(--ok); }
.hh-step.is-done .hh-step__n { background: var(--ok-bg); color: var(--ok); }
.hh-step.is-now { color: var(--brand); }
.hh-step.is-now .hh-step__n { background: var(--brand); color: #fff; box-shadow: 0 0 0 4px rgba(var(--brand-rgb), .16); }
.hh-steps .sep { flex: 1; min-width: 18px; height: 2px; background: var(--ink-100); border-radius: 99px; }

/* success page */
.hh-success-mark {
  width: 84px; height: 84px; margin: 0 auto 22px; border-radius: 50%;
  display: grid; place-items: center; font-size: 2.4rem; color: #fff;
  background: linear-gradient(140deg, var(--ok), #34c99a);
  box-shadow: 0 18px 34px -14px rgba(14, 164, 114, .7);
  animation: popIn .55s var(--ease) both;
}
@keyframes popIn { from { transform: scale(.6); opacity: 0; } }

.hh-code-box {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--display); font-size: 1.3rem; font-weight: 800; letter-spacing: .06em;
  color: var(--ink-900); background: var(--bg-soft);
  border: 1.5px dashed var(--ink-200); border-radius: var(--r);
  padding: 13px 22px;
}
.hh-code-box button { background: none; border: none; color: var(--brand); cursor: pointer; font-size: 1rem; padding: 0; }

/* ---------------------------------------------------------------
   Resident dashboard
   --------------------------------------------------------------- */
.hh-dash-grid { display: grid; grid-template-columns: 264px 1fr; gap: 26px; align-items: start; }
@media (max-width: 991px) { .hh-dash-grid { grid-template-columns: 1fr; } }

.hh-sidenav { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 10px; box-shadow: var(--sh-2); position: sticky; top: 92px; }
.hh-sidenav a {
  display: flex; align-items: center; gap: 11px;
  padding: 11px 14px; border-radius: var(--r-sm);
  font-size: .89rem; font-weight: 600; color: var(--ink-600);
  transition: all var(--fast);
}
.hh-sidenav a i { font-size: 1.02rem; width: 20px; color: var(--ink-400); transition: color var(--fast); }
.hh-sidenav a:hover { background: var(--bg-soft); color: var(--ink-900); }
.hh-sidenav a:hover i { color: var(--brand); }
.hh-sidenav a.is-active { background: rgba(var(--brand-rgb), .10); color: var(--brand); }
.hh-sidenav a.is-active i { color: var(--brand); }
.hh-sidenav a .tail { margin-left: auto; font-size: .7rem; font-weight: 800; color: var(--ink-300); }

.hh-booking-row {
  display: flex; flex-wrap: wrap; align-items: center; gap: 16px;
  padding: 18px 20px; border-bottom: 1px solid var(--line-soft);
  transition: background var(--fast);
}
.hh-booking-row:last-child { border-bottom: none; }
.hh-booking-row:hover { background: var(--bg-soft); }
.hh-booking-row__id { font-family: var(--display); font-weight: 800; color: var(--ink-900); font-size: .95rem; letter-spacing: .02em; }
.hh-booking-row__main { flex: 1 1 220px; min-width: 0; }
.hh-booking-row__side { display: flex; align-items: center; gap: 12px; margin-left: auto; }

/* ---------------------------------------------------------------
   Auth pages
   --------------------------------------------------------------- */
.hh-auth {
  min-height: 100vh; display: grid; grid-template-columns: 1.05fr 1fr;
}
@media (max-width: 991px) { .hh-auth { grid-template-columns: 1fr; } .hh-auth__art { display: none; } }

.hh-auth__art {
  position: relative; overflow: hidden; color: #fff;
  display: flex; flex-direction: column; justify-content: space-between;
  padding: 46px 52px;
  background:
    radial-gradient(700px 420px at 18% 8%, rgba(255,255,255,.16), transparent 62%),
    linear-gradient(150deg, var(--brand), var(--brand-ink) 62%, #0b1020);
}
.hh-auth__art::after {
  content: ''; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.07) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(ellipse 80% 70% at 30% 40%, #000, transparent 76%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 30% 40%, #000, transparent 76%);
}
.hh-auth__art > * { position: relative; z-index: 1; }
.hh-auth__art h2 { color: #fff; font-size: 2.1rem; max-width: 15ch; }
.hh-auth__art p { color: rgba(255,255,255,.76); max-width: 40ch; }
.hh-auth__quote { border-left: 3px solid rgba(255,255,255,.3); padding-left: 18px; }
.hh-auth__quote p { font-size: 1.02rem; color: rgba(255,255,255,.9); font-style: italic; }
.hh-auth__points { display: flex; flex-direction: column; gap: 13px; margin: 26px 0; }
.hh-auth__points div { display: flex; align-items: center; gap: 11px; font-size: .93rem; color: rgba(255,255,255,.86); font-weight: 500; }
.hh-auth__points i { color: #fff; background: rgba(255,255,255,.16); width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; font-size: .8rem; flex: none; }

.hh-auth__form { display: grid; place-items: center; padding: 40px 24px; background: var(--surface); }
.hh-auth__box { width: min(100%, 424px); }
.hh-auth__box h2 { font-size: 1.7rem; margin-bottom: 6px; }

/* ---------------------------------------------------------------
   Feature / amenity strips
   --------------------------------------------------------------- */
.hh-amenities { display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(168px, 1fr)); }
.hh-amenity {
  display: flex; align-items: center; gap: 11px;
  padding: 12px 14px; border-radius: var(--r-sm);
  background: var(--bg-soft); border: 1px solid var(--line-soft);
  font-size: .86rem; font-weight: 600; color: var(--ink-700);
}
.hh-amenity i { color: var(--brand); font-size: 1.05rem; }

.hh-rules { display: flex; flex-direction: column; gap: 10px; }
.hh-rules li { display: flex; gap: 11px; font-size: .89rem; color: var(--ink-600); list-style: none; }
.hh-rules i { color: var(--brand); margin-top: 3px; font-size: .8rem; }

/* ---------------------------------------------------------------
   Footer
   --------------------------------------------------------------- */
.hh-footer {
  background: var(--ink-900); color: rgba(255,255,255,.62);
  padding: 56px 0 26px; margin-top: 76px;
}
.hh-footer h5 { color: #fff; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 16px; font-family: var(--font); font-weight: 800; }
.hh-footer a { color: rgba(255,255,255,.62); font-size: .88rem; display: block; padding: 5px 0; }
.hh-footer a:hover { color: #fff; }
.hh-footer__grid { display: grid; gap: 34px; grid-template-columns: 1.6fr repeat(3, 1fr); }
@media (max-width: 767px) { .hh-footer__grid { grid-template-columns: 1fr 1fr; } }
.hh-footer__logo { color: #fff; }
.hh-footer__logo .hh-logo__mark { box-shadow: none; }
.hh-footer__logo small { color: rgba(255,255,255,.45); }
.hh-footer__bar {
  margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.09);
  display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between;
  font-size: .82rem;
}

/* ---------------------------------------------------------------
   Landing hero — 3D tower column
   --------------------------------------------------------------- */
.hh-tower-wrap { position: relative; padding: 4px 0 0; }

.hh-tower-badge {
  display: flex; align-items: center; gap: 10px;
  width: max-content; margin: 0 auto 2px;
  padding: 8px 16px; border-radius: var(--r-pill);
  background: rgba(255, 255, 255, .82);
  border: 1px solid var(--line);
  box-shadow: var(--sh-2);
  backdrop-filter: blur(10px);
  position: relative; z-index: 2;
}

@media (max-width: 991px) {
  .hh-tower-wrap { max-width: 460px; margin-inline: auto; }
}

/* ---------------------------------------------------------------
   Closing call to action
   --------------------------------------------------------------- */
.hh-cta-panel {
  position: relative; overflow: hidden; text-align: center;
  border-radius: var(--r-xl);
  padding: 58px 32px;
  background: linear-gradient(140deg, var(--ink-900), #16203c 58%, var(--brand-ink));
  box-shadow: var(--sh-3);
}
.hh-cta-panel h2 { margin-bottom: 10px; }
.hh-cta-panel::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(ellipse 75% 70% at 50% 40%, #000, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 75% 70% at 50% 40%, #000, transparent 78%);
}

/* the hero gives the tower room to breathe */
.hh-hero { padding: 68px 0 64px; }
@media (max-width: 991px) { .hh-hero { padding: 48px 0 44px; } }

/* hero aurora sits behind the grid, not over it */
.hh-hero .aurora { opacity: .5; filter: blur(34px); }
.hh-hostel-hero .aurora { opacity: .42; filter: blur(30px); }

/* keep the headline from orphaning its last word next to the tower */
.hh-hero h1 { max-width: 15ch; }
@media (min-width: 992px) and (max-width: 1199px) {
  .hh-hero h1 { font-size: clamp(1.8rem, 3.4vw, 2.4rem); }
}
