:root{
  /* ===== Brand palette (Aqua + Light Blue) ===== */
  --bg:#061426;            /* base deep-blue */
  --bg2:#061b33;           /* deeper blend */
  --aqua:#36F0FF;          /* aqua accent */
  --lightblue:#78A6FF;     /* light blue accent */
  --blue:#4D7CFF;

  --line:rgba(255,255,255,.12);
  --text:#EEF6FF;
  --muted:#A9B6D4;

  --shadow: 0 18px 50px rgba(0,0,0,.45);
  --shadow2: 0 14px 36px rgba(0,0,0,.25);

  --r:18px;
  --r2:26px;
  --max:1160px;
  --focus: 0 0 0 4px rgba(77,124,255,.22);
  --font: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial;

  --headerH: 72px;
}

*{box-sizing:border-box}
html,body{height:100%}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family:var(--font);
  color:var(--text);

  /* ===== Aqua + Light Blue blended background ===== */
  background:
    radial-gradient(900px 600px at 16% 10%, rgba(54,240,255,.22), transparent 58%),
    radial-gradient(800px 520px at 78% 14%, rgba(120,166,255,.22), transparent 58%),
    radial-gradient(900px 700px at 50% 120%, rgba(77,124,255,.14), transparent 60%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg2) 100%);

  overflow-x:hidden;
}

a{color:inherit; text-decoration:none}
.container{max-width:var(--max); margin:0 auto; padding:0 18px}

/* =====================
   Header (hidden -> show on scroll)
   ===================== */
header.nav{
  position:fixed; left:0; right:0; top:0;
  z-index:100;
  transform: translateY(-120%);
  opacity:0;
  transition: transform .22s ease, opacity .22s ease;
  backdrop-filter: blur(14px);
  background: linear-gradient(to bottom, rgba(6,20,38,.86), rgba(6,20,38,.58));
  border-bottom:1px solid var(--line);
  height: var(--headerH);
  display:flex;
  align-items:center;
}
header.nav.show{
  transform: translateY(0);
  opacity:1;
}

.nav-inner{
  display:flex; align-items:center; justify-content:space-between;
  gap:14px;
  width:100%;
}

.brand{
  display:flex; align-items:center; gap:10px;
  font-weight:900;
  letter-spacing:.6px;
  white-space:nowrap;
}

.mark{
  width:34px; height:34px; border-radius:12px;
  background: radial-gradient(circle at 30% 30%, rgba(54,240,255,.85), rgba(120,166,255,.28) 55%, rgba(77,124,255,.06));
  border:1px solid rgba(120,166,255,.35);
  box-shadow: 0 10px 26px rgba(120,166,255,.16);
  flex:0 0 auto;
}

.links{
  display:none;
  gap:12px;
  color:var(--muted);
  font-weight:900;
  font-size:14px;
}
.links a{
  padding:10px 12px;
  border-radius:14px;
  border:1px solid transparent;
}
.links a:hover{background: rgba(255,255,255,.06); color:var(--text)}
.links a.active{
  color: var(--text);
  background: rgba(120,166,255,.12);
  border-color: rgba(120,166,255,.28);
}

.cta{
  display:flex;
  gap:10px;
  align-items:center;
  flex-wrap:wrap;
  justify-content:flex-end;
}

/* EN/MN toggle (header only) */
.lang{
  display:flex; gap:8px; align-items:center;
  border:1px solid var(--line);
  background: rgba(255,255,255,.05);
  padding:6px;
  border-radius:999px;
  box-shadow: 0 10px 26px rgba(0,0,0,.22);
}
.lang button{
  border:none;
  background: transparent;
  color: var(--muted);
  font-weight:900;
  cursor:pointer;
  padding:7px 10px;
  border-radius:999px;
  font-size:12px;
}
.lang button.active{
  color: var(--text);
  background: rgba(120,166,255,.16);
  border:1px solid rgba(120,166,255,.38);
}

.btn{
  border:1px solid var(--line);
  background: rgba(255,255,255,.06);
  color:var(--text);
  padding:10px 14px;
  border-radius:14px;
  font-weight:900;
  cursor:pointer;
  transition:.18s ease;
  box-shadow: 0 10px 26px rgba(0,0,0,.25);
  white-space:nowrap;
}
.btn:hover{transform:translateY(-1px)}
.btn.primary{
  border:1px solid rgba(120,166,255,.58);
  background: linear-gradient(180deg, rgba(120,166,255,.96), rgba(25,60,140,.98));
  box-shadow: 0 18px 46px rgba(120,166,255,.18);
}
.btn.ghost{background: rgba(255,255,255,.04)}

/* =====================
   Full video hero (index)
   ===================== */
main.hero.hero-home{
  position: relative;
  min-height: 100vh;
  display: grid;
  align-items: center;
  overflow: hidden;
  padding: 0;
}
.hero-video{
  position:absolute;
  inset:0;
  z-index:0;
}
.hero-video video{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit: cover;
  transform: scale(1.02);
  filter: contrast(1.05) saturate(1.05);
}
.hero-overlay{
  position:absolute;
  inset:0;
  background:
    radial-gradient(900px 600px at 16% 16%, rgba(54,240,255,.18), transparent 55%),
    radial-gradient(800px 520px at 82% 14%, rgba(120,166,255,.20), transparent 55%),
    linear-gradient(180deg, rgba(6,20,38,.62) 0%, rgba(6,20,38,.90) 70%, rgba(6,27,51,1) 100%);
  z-index:1;
}

.hero-center{
  position:relative;
  z-index:2;
  min-height:100vh;
  display:grid;
  place-items:center;
  text-align:center;
  padding: 0 20px;
}

.welcome{
  margin:0;
  font-weight:950;
  letter-spacing:-.6px;
  line-height:1.04;
  font-size:42px;
  padding: 18px 16px;
  border-radius: var(--r2);
  border:1px solid var(--line);
  background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.03));
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
}

/* Small scroll hint (optional) */
.scroll-hint{
  position:absolute;
  bottom: 26px;
  left:50%;
  transform: translateX(-50%);
  width: 26px;
  height: 42px;
  border-radius: 999px;
  border:1px solid rgba(255,255,255,.20);
  background: rgba(255,255,255,.04);
  display:flex;
  align-items:flex-start;
  justify-content:center;
  padding-top: 8px;
}
.scroll-hint span{
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: rgba(54,240,255,.85);
  animation: hint 1.2s infinite;
}
@keyframes hint{
  0%{transform: translateY(0); opacity:1}
  70%{transform: translateY(16px); opacity:.25}
  100%{transform: translateY(16px); opacity:0}
}

/* Home scroll spacer so header can appear on scroll */
.home-spacer{height:55vh}

/* =====================
   Sections / cards (shared)
   ===================== */
section{padding:26px 0}

.head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:12px;
  margin-bottom:14px;
}
.head h2{margin:0; font-size:22px}
.head p{
  margin:0;
  color:var(--muted);
  font-size:13px;
  line-height:1.5;
  max-width:76ch;
}

.grid{display:grid; grid-template-columns:1fr; gap:12px}

.card{
  padding:14px;
  border-radius: var(--r2);
  border:1px solid var(--line);
  background: linear-gradient(180deg, rgba(255,255,255,.07), rgba(255,255,255,.03));
  box-shadow: var(--shadow2);
  transition:.18s ease;
}
.card:hover{transform:translateY(-2px)}

/* ===== FIX: text/button overlap (services issue) ===== */
.row{
  display:flex;
  align-items:center;
  gap:12px;
  flex-wrap:wrap;
}

/* title spacing so tag never sticks to it */
.row b{
  margin-right: 12px;
}

/* tag never wraps into title */
.tag{white-space:nowrap}

.meta{
  margin:10px 0;
  color:var(--muted);
  font-size:13px;
  line-height:1.55
}

.tag{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:7px 10px;
  border-radius:999px;
  border:1px solid rgba(120,166,255,.40);
  background: rgba(120,166,255,.10);
  color: #E6F0FF;
  font-size:12px;
  font-weight:900;
}

.pill{
  padding:8px 10px;
  border-radius:999px;
  border:1px solid var(--line);
  background: rgba(255,255,255,.04);
  color: var(--muted);
  font-size:12px;
  font-weight:900;
}

/* Reviews */
.quotes{display:grid; grid-template-columns:1fr; gap:12px}
blockquote{
  margin:0;
  padding:14px;
  border-radius: var(--r2);
  border:1px solid var(--line);
  background: rgba(255,255,255,.04);
}
blockquote p{margin:0; line-height:1.6; font-size:13px}
blockquote footer{margin-top:10px; color:var(--muted); font-weight:900; font-size:12px}

/* Contact map */
.map{padding:0; overflow:hidden}
iframe{display:block; width:100%}

.footer{
  padding:22px 0 28px;
  color:var(--muted);
  font-size:12px;
  border-top:1px solid var(--line);
  margin-top: 8px;
}

/* =====================
   Shared pages layout
   ===================== */
.page{
  min-height: 100vh;
  padding-top: var(--headerH);
}
.page .container{padding-top: 24px; padding-bottom: 48px;}

.page-hero{
  padding: 18px;
  border-radius: var(--r2);
  border:1px solid var(--line);
  background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.03));
  box-shadow: var(--shadow2);
  margin-bottom: 14px;
}
.page-hero h1{margin:0; font-size:28px; letter-spacing:-.4px}
.page-hero p{margin:8px 0 0; color:var(--muted); line-height:1.6; font-size:14px; max-width: 78ch}

.grid-2{display:grid; grid-template-columns:1fr; gap:12px}
.grid-3{display:grid; grid-template-columns:1fr; gap:12px}

.field{
  display:grid;
  gap:8px;
  margin-top: 10px;
}
.label{font-size:12px; color:var(--muted); font-weight:900}
.input, select{
  width:100%;
  padding:12px 12px;
  border-radius: 14px;
  border:1px solid var(--line);
  background: rgba(255,255,255,.05);
  color: var(--text);
  outline: none;
}
.input:focus, select:focus{
  box-shadow: 0 0 0 4px rgba(120,166,255,.18);
  border-color: rgba(120,166,255,.45);
}

hr.sep{
  border:none;
  border-top:1px solid var(--line);
  margin: 14px 0;
}

/* booking UI */
.step{
  display:flex; align-items:center; justify-content:space-between; gap:10px;
  padding:10px 12px;
  border-radius: 16px;
  border:1px solid var(--line);
  background: rgba(255,255,255,.04);
  margin-bottom: 10px;
}
.step b{font-size:13px}
.step span{color:var(--muted); font-size:12px; font-weight:900}

.slot-grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:10px;
  margin-top: 10px;
}
.slot{
  padding:10px 10px;
  border-radius: 14px;
  border:1px solid var(--line);
  background: rgba(255,255,255,.04);
  color: var(--text);
  font-weight:900;
  text-align:center;
  cursor:pointer;
  user-select:none;
  transition:.15s ease;
}
.slot:hover{transform: translateY(-1px)}
.slot.active{
  border-color: rgba(120,166,255,.55);
  background: rgba(120,166,255,.14);
  box-shadow: 0 12px 26px rgba(120,166,255,.10);
}
.slot.disabled{
  opacity:.35;
  cursor:not-allowed;
  pointer-events:none;
  text-decoration: line-through;
}

.pay-row{display:flex; gap:10px; flex-wrap:wrap; margin-top:10px}
.radio{
  display:flex; gap:10px; align-items:center;
  padding:10px 12px;
  border-radius: 14px;
  border:1px solid var(--line);
  background: rgba(255,255,255,.04);
  cursor:pointer;
  font-weight:900;
}
.radio input{accent-color: var(--blue)}

/* ===== Booking calendar UI ===== */
.cal{
  border:1px solid var(--line);
  background: rgba(255,255,255,.04);
  border-radius: var(--r2);
  padding: 12px;
  box-shadow: var(--shadow2);
}
.cal-top{
  display:flex; align-items:center; justify-content:space-between; gap:10px;
  margin-bottom: 10px;
}
.cal-title{font-weight:950; letter-spacing:-.3px}
.cal-nav{display:flex; gap:8px; align-items:center}
.iconbtn{
  width:40px; height:40px;
  border-radius: 14px;
  border:1px solid var(--line);
  background: rgba(255,255,255,.05);
  color: var(--text);
  cursor:pointer;
  font-weight:900;
}
.dow{
  display:grid;
  grid-template-columns: repeat(7,1fr);
  gap:8px;
  margin-bottom:8px;
  color: var(--muted);
  font-weight:900;
  font-size:12px;
  text-align:center;
}
.days{
  display:grid;
  grid-template-columns: repeat(7,1fr);
  gap:8px;
}
.day{
  height:44px;
  border-radius: 14px;
  border:1px solid var(--line);
  background: rgba(255,255,255,.04);
  color: var(--text);
  cursor:pointer;
  font-weight:900;
  display:grid;
  place-items:center;
  user-select:none;
  transition:.15s ease;
}
.day:hover{transform: translateY(-1px)}
.day.muted{opacity:.35; cursor: default}
.day.disabled{opacity:.28; cursor:not-allowed}
.day.active{
  border-color: rgba(120,166,255,.55);
  background: rgba(120,166,255,.14);
  box-shadow: 0 12px 26px rgba(120,166,255,.10);
}

/* Deposit box */
.depositBox{
  display:none;
  margin-top:10px;
  padding:12px;
  border-radius: var(--r2);
  border:1px solid rgba(120,166,255,.25);
  background: rgba(120,166,255,.08);
}
.depositBox.show{display:block}
.depositRow{
  display:flex;
  justify-content:space-between;
  gap:10px;
  flex-wrap:wrap;
  align-items:center;
}
.qr{
  width:120px; height:120px;
  border-radius: 18px;
  border:1px solid var(--line);
  background: rgba(255,255,255,.06);
  display:grid;
  place-items:center;
  overflow:hidden;
}
.small{font-size:12px; color:var(--muted); line-height:1.5}

/* =====================
   Responsive
   ===================== */
@media (min-width: 860px){
  .links{display:flex}
  .welcome{font-size:64px; padding:22px 22px}
  .grid{ grid-template-columns: repeat(3, 1fr); }
  .quotes{ grid-template-columns: repeat(3, 1fr); }
  .grid-2{grid-template-columns: 1.1fr .9fr}
  .grid-3{grid-template-columns: repeat(3, 1fr)}
  .slot-grid{grid-template-columns: repeat(5, 1fr)}
  .page-hero h1{font-size:34px}
}

@media (prefers-reduced-motion: reduce){
  html{scroll-behavior:auto}
  .card:hover,.btn:hover,.slot:hover,.day:hover{transform:none}
  .scroll-hint span{animation:none}
}
/* ===== Mobile hamburger ===== */

.menu-toggle{
  display:none;
  font-size:24px;
  background:none;
  border:none;
  color:var(--text);
  cursor:pointer;
}

/* mobile */
@media (max-width:860px){

  .menu-toggle{
    display:block;
  }

  .links{
    position:absolute;
    top:var(--headerH);
    left:0;
    right:0;
    background:rgba(6,20,38,.96);
    backdrop-filter: blur(12px);

    flex-direction:column;
    padding:20px;

    display:none;
  }

  .links.show{
    display:flex;
  }

  .links a{
    padding:14px;
    border-bottom:1px solid var(--line);
  }
  .cta{
    width: 100%;
    justify-content: flex-end;
  }

  /* language toggle-ийг жижигрүүлнэ */
  .lang{
    padding:4px;
    gap:6px;
  }
  .lang button{
    padding:6px 8px;
    font-size:11px;
  }

  /* Book button давхардахгүй, өөрийн мөр дээр орж болно */
  .cta .btn.primary{
    padding:10px 12px;
    border-radius:14px;
    width: auto;
  }

}
@media (max-width: 600px){
  cta{
    width: 100%;
    justify-content: flex-end;
  }

  /* language toggle-ийг жижигрүүлнэ */
  .lang{
    padding:4px;
    gap:6px;
  }
  .lang button{
    padding:6px 8px;
    font-size:11px;
  }

  /* Book button давхардахгүй, өөрийн мөр дээр орж болно */
  .cta .btn.primary{
    padding:10px 12px;
    border-radius:14px;
    width: auto;
  }
}