*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
    :root {
      --navy:     #0B1D3E;
      --blue:     #1A56DB;
      --orange:   #E85D26;
      --white:    #FFFFFF;
      --gray-50:  #F8F9FB;
      --gray-200: #E2E6ED;
      --gray-400: #9AA3B0;
      --gray-600: #5A6478;
      --gray-800: #1E2533;
      --radius:   12px;
      --shadow-sm: 0 1px 4px rgba(0,0,0,.08);
      --shadow-md: 0 4px 16px rgba(0,0,0,.13);
      --shadow-lg: 0 8px 32px rgba(0,0,0,.2);
      --font:     'Inter', sans-serif;
      --font-d:   'Manrope', sans-serif;
      --t:        .2s ease;
    }
    html { scroll-behavior: smooth; }
    body { font-family: var(--font); color: var(--gray-800); background: var(--white); line-height: 1.5; -webkit-font-smoothing: antialiased; }
    a { text-decoration: none; color: inherit; }
    img { display: block; max-width: 100%; }
    button { cursor: pointer; border: none; background: none; font-family: inherit; }
    ul { list-style: none; }
    .container { max-width: 1200px; margin: 0 auto; padding: 0 28px; }

    .hero {
      display: flex;
      min-height: 470px;
      overflow: hidden;
    }

    .hero-left {
      width: 25%;
      flex-shrink: 0;
      background: var(--navy);
      display: flex;
      align-items: flex-start;
      padding: 0 0 0 max(calc((100vw - 1200px) / 2 + 28px), 28px);
      position: relative;
      z-index: 2;
      overflow: visible;
      min-height: 470px;
    }

    .hero-content {
      display: flex;
      flex-direction: column;
      width: 480px;
      padding: 18px 0 28px 0;
    }

    .hero-logo {
      display: flex;
      align-items: center;
      margin-bottom: 44px;
      flex-shrink: 0;
    }
    .hero-logo img { height: 48px; width: auto; }

    .hero-right {
      flex: 1;
      position: relative;
      overflow: hidden;
    }

    .hero-right-clip {
      position: absolute;
      inset: 0;
      width: 100%;
      height: 100%;
      overflow: hidden;
    }

    .hero-right-clip svg.clip-def {
      position: absolute;
      width: 0;
      height: 0;
    }

    .hero-right-clip .photo-wrapper {
      width: 100%;
      height: 100%;
      clip-path: url(#heroClip);
      position: relative;
    }

    .hero-right-clip .photo-wrapper::after {
      content: "";
      position: absolute;
      inset: 0;
      background: rgba(0, 0, 0, 0.35);
      z-index: 1;
      pointer-events: none;
    }


    .hero-photo {
      width: 100%;
      height: 100%;
      object-fit: cover;
      object-position: 60% center;
      display: block;
    }

    .hero-nav {
      position: absolute;
      top: 18px;
      left: 0; right: 0;
      z-index: 10;
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 0 24px;
      height: 48px;
    }

    .nav-links {
      display: flex;
      align-items: center;
      gap: 40px;
      flex: 1;
      justify-content: center;
    }
    .nav-links li { display: flex; }
    .nav-links a {
      color: rgba(255,255,255,.9);
      font-size: 1rem;
      font-weight: 800;
      padding: 6px 11px;
      border-radius: 6px;
      white-space: nowrap;
      transition: background var(--t), color var(--t);
    }
    .nav-links a:hover { background: rgba(255,255,255,.12); color: var(--white); }
    .nav-links a.active { background: rgba(255,255,255,.18); color: var(--white); font-weight: 600; }

    .btn-signin {
      background: var(--white);
      color: #000;
      font-size: 1rem;
      font-weight: 700;
      padding: 7px 20px;
      border-radius: 20px;
      border: none;
      flex-shrink: 0;
      white-space: nowrap;
      transition: opacity var(--t);
    }
    .btn-signin:hover { opacity: .88; }



    .nav-toggle { display: none; flex-direction: column; gap: 5px; padding: 8px; }
    .nav-toggle span { width: 22px; height: 2px; background: var(--white); border-radius: 2px; display: block; }

    .hero-headline {
      font-family: var(--font-d);
      font-size: clamp(1.7rem, 2.8vw, 2.6rem);
      font-weight: 800;
      color: var(--white);
      line-height: 1.35;
      letter-spacing: .3px;
      margin-bottom: 20px;
    }
    .hero-headline span { color: var(--white); }

    .hero-sub {
      color: rgba(255,255,255,.92);
      font-size: 1rem;
      font-weight: 700;
      letter-spacing: .2px;
      margin-bottom: 28px;
    }

    .search-bar {
      display: flex;
      align-items: stretch;
      background: var(--white);
      border-radius: 8px;
      overflow: hidden;
      box-shadow: var(--shadow-lg);
      max-width: 480px;
      flex-wrap: nowrap;
    }
    .search-select-wrap {
      display: flex; align-items: center; gap: 6px;
      padding: 0 14px;
      border-right: 1px solid var(--gray-200);
      flex-shrink: 0;
    }
    .search-select {
      border: none; outline: none;
      font-family: var(--font); font-size: .875rem; font-weight: 600;
      color: var(--gray-800); background: transparent;
      cursor: pointer; padding: 14px 0;
      appearance: none; -webkit-appearance: none;
    }
    .search-select-wrap svg { color: var(--gray-400); }
    .search-input-wrap {
      flex: 1; display: flex; align-items: center;
      gap: 8px; padding: 0 14px; min-width: 0;
    }
    .search-input-wrap svg { color: var(--gray-400); flex-shrink: 0; }
    .search-input {
      flex: 1; border: none; outline: none;
      font-family: var(--font); font-size: .875rem;
      color: var(--gray-800); padding: 14px 0; background: transparent;
      min-width: 0;
    }
    .search-input::placeholder { color: var(--gray-400); }

    .section { padding: 56px 0; }
    .section-alt { background: var(--gray-50); }
    .section-title { font-family: var(--font-d); font-size: clamp(1.2rem, 2.2vw, 1.55rem); font-weight: 800; color: var(--gray-800); letter-spacing: -.3px; }
    .section-sub { color: var(--gray-600); font-size: .85rem; margin-top: 5px; max-width: 420px; }
    .section-divider { width: 44px; height: 3px; background: var(--blue); border-radius: 2px; margin: 14px 0 26px; }
    .section-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 8px; }

    .carousel-controls { display: flex; gap: 8px; flex-shrink: 0; padding-top: 4px; }
    .carousel-btn {
      width: 36px; height: 36px; border-radius: 50%;
      border: 1.5px solid var(--gray-200); background: var(--white);
      display: flex; align-items: center; justify-content: center;
      color: var(--gray-600); box-shadow: var(--shadow-sm);
      transition: background var(--t), border-color var(--t), color var(--t);
    }
    .carousel-btn:hover { background: var(--blue); border-color: var(--blue); color: var(--white); }
    .carousel-track-wrap { overflow: hidden; margin-top: 4px; }
    .carousel-track { display: flex; gap: 20px; transition: transform .42s cubic-bezier(.4,0,.2,1); }

    .hostel-card {
      flex-shrink: 0; width: 268px;
      background: var(--white); border-radius: var(--radius);
      overflow: hidden; border: 1px solid var(--gray-200);
      box-shadow: var(--shadow-sm); cursor: pointer;
      transition: transform var(--t), box-shadow var(--t);
    }
    .hostel-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
    .hostel-card-img { width: 100%; height: 178px; object-fit: cover; }
    .hostel-card-body { padding: 13px 15px 15px; }
    .hostel-card-title { font-size: .875rem; font-weight: 600; color: var(--gray-800); line-height: 1.35; margin-bottom: 5px; }
    .hostel-card-price { color: var(--orange); font-weight: 700; font-size: .875rem; margin-bottom: 3px; }
    .hostel-card-loc { color: var(--gray-600); font-size: .78rem; }

    .view-all-wrap { margin-top: 26px; }
    .view-all-link {
      display: inline-flex; align-items: center; gap: 8px;
      color: var(--blue); font-weight: 600; font-size: .875rem;
      padding: 4px 0; border-bottom: 1.5px solid transparent;
      transition: border-color var(--t);
    }
    .view-all-link::before { content: ''; display: inline-block; width: 34px; height: 1.5px; background: var(--blue); }
    .view-all-link:hover { border-bottom-color: var(--blue); }

    .hostels-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
    .grid-card {
      background: var(--white); border-radius: var(--radius);
      overflow: hidden; border: 1px solid var(--gray-200);
      box-shadow: var(--shadow-sm); cursor: pointer;
      transition: transform var(--t), box-shadow var(--t);
    }
    .grid-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
    .grid-card-img { width: 100%; height: 205px; object-fit: cover; }
    .grid-card-body { padding: 13px 15px 16px; }
    .grid-card-name { font-size: .925rem; font-weight: 700; color: var(--gray-800); margin-bottom: 3px; }
    .grid-card-price { color: var(--orange); font-weight: 700; font-size: .875rem; margin-bottom: 4px; }
    .grid-card-addr { color: var(--gray-600); font-size: .78rem; margin-bottom: 10px; }
    .grid-card-meta { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
    .meta-item { display: flex; align-items: center; gap: 4px; color: var(--gray-600); font-size: .76rem; }

    .footer { background: var(--navy); color: var(--white); padding: 52px 0 0; }
    .footer-inner { display: grid; grid-template-columns: 1.5fr 1fr; gap: 48px; padding-bottom: 44px; }
    .footer-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
    .footer-logo img { height: 44px; width: auto; filter: brightness(0) invert(1); }
    .footer-tagline { color: rgba(255,255,255,.56); font-size: .875rem; line-height: 1.7; max-width: 380px; }
    .footer-contact-item { margin-bottom: 22px; }
    .footer-contact-item .label { font-weight: 700; font-size: .9rem; color: var(--white); margin-bottom: 2px; }
    .footer-contact-item .value { color: rgba(255,255,255,.58); font-size: .875rem; }
    .footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 18px 0; text-align: center; color: rgba(255,255,255,.35); font-size: .78rem; }

    .scroll-top {
      position: fixed; bottom: 26px; right: 26px;
      width: 42px; height: 42px; background: var(--blue); color: var(--white);
      border-radius: 50%; display: flex; align-items: center; justify-content: center;
      box-shadow: var(--shadow-md); opacity: 0; pointer-events: none;
      transition: opacity var(--t); z-index: 900;
    }
    .scroll-top.visible { opacity: 1; pointer-events: auto; }

    /* ── STICKY NAV (new, separate bar — appears only on scroll) ──── */
    .sticky-nav {
      position: fixed;
      top: 0; left: 0; right: 0;
      z-index: 500;
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 0 24px;
      height: 56px;
      background: rgba(11,29,62,.96);
      backdrop-filter: blur(8px);
      box-shadow: 0 2px 12px rgba(0,0,0,.15);
      transform: translateY(-100%);
      transition: transform .25s ease;
    }
    .sticky-nav.visible { transform: translateY(0); }
    .sticky-nav-logo { display: flex; align-items: center; flex-shrink: 0; }
    .sticky-nav-logo img { height: 32px; width: auto; }
    .sticky-nav .nav-links { gap: 28px; }
    .sticky-nav .nav-links a { font-size: .875rem; }

    /* ── MOBILE MENU OVERLAY FIX ──────────────────────────────────── */
    .nav-links.open {
      overflow-y: auto;
      -webkit-overflow-scrolling: touch;
    }
    .nav-close-btn {
      display: none;
      position: absolute;
      top: 20px;
      right: 20px;
      width: 36px; height: 36px;
      align-items: center;
      justify-content: center;
      color: var(--white);
      font-size: 1.6rem;
      line-height: 1;
      z-index: 10000;
    }
    .nav-links.open .nav-close-btn { display: flex; }

    @media (max-width: 1024px) {
      .hostels-grid { grid-template-columns: repeat(2,1fr); }
    }

    @media (max-width: 768px) {
      .hero { min-height: 280px; }
      .hero-left { min-height: 280px; }
      .hero-nav { top: 12px; height: 48px; padding: 0 16px; }
      .hero-content { padding-top: 0; margin-top: -10px; width: 165%; }
      .hero-logo img { height: 36px; }
      .hero-logo { margin-right: 0; }
      .nav-links { display: none; }
      .nav-links.open {
        display: flex; flex-direction: column;
        position: fixed; inset: 0;
        background: rgba(8,21,41,.97);
        padding: 60px 28px 28px;
        z-index: 9999; gap: 4px;
      }
      .nav-links.open a { padding: 12px 14px; font-size: 1rem; color: var(--white); }
      .nav-toggle { display: flex; }
      .btn-signin { padding: 6px 14px; font-size: .76rem; margin-left: 8px; }
      .hero-left { padding: 28px 18px 36px 18px; width: 60%; }
      .search-select { font-size: .74rem; padding: 10px 0; }
      .search-select-wrap { padding: 0 8px; }
      .search-input { font-size: .74rem; padding: 10px 0; }
      .search-input-wrap { padding: 0 8px; }
      .section { padding: 40px 0; }
      .section-header { flex-direction: column; }
      .hostels-grid { grid-template-columns: repeat(2,1fr); gap: 14px; }
      .footer-inner { grid-template-columns: 1fr; gap: 32px; }
      .sticky-nav .nav-links { display: none; }
    }

    @media (max-width: 480px) {
      .hostels-grid { grid-template-columns: 1fr; }
      .hostel-card { width: 240px; }
    }
