/* ==========================================================================
   Voyara Travel — design system
   ========================================================================== */
@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@500;600;700;800&family=Inter:wght@400;500;600;700&display=swap");

:root {
  --bg: #070c14;
  --bg-2: #0a121c;
  --surface: #0f1a26;
  --surface-2: #14212f;
  --surface-3: #1a2a3a;
  --line: rgba(255, 255, 255, 0.09);
  --line-2: rgba(255, 255, 255, 0.16);
  --text: #eff4f8;
  --muted: #93a4b5;
  --muted-2: #6c7f92;
  --accent: #f5b942;
  --accent-2: #ffd479;
  --accent-ink: #17120a;
  --teal: #2ad4c1;
  --danger: #ff6b6b;
  --ok: #34d399;
  --blue: #2f6bff;
  --r-xl: 30px;
  --r-lg: 24px;
  --r-md: 16px;
  --r-sm: 11px;
  --shadow-lg: 0 30px 70px rgba(0, 0, 0, 0.5);
  --shadow-md: 0 16px 40px rgba(0, 0, 0, 0.35);
  --max: 1240px;
  --font: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
  --display: "Manrope", var(--font);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }
::selection { background: rgba(245, 185, 66, 0.28); }

h1, h2, h3, h4 { font-family: var(--display); font-weight: 800; line-height: 1.08; letter-spacing: -0.02em; margin: 0; }
h1 { font-size: clamp(2.6rem, 6vw, 5rem); }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.9rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.5rem); letter-spacing: -0.01em; }
p { margin: 0; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.muted { color: var(--muted); }
.small { font-size: 0.86rem; }
.kicker {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 0.74rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--accent);
}
.kicker::before { content: ""; width: 22px; height: 1px; background: currentColor; opacity: 0.7; }
.section { padding: clamp(64px, 9vw, 116px) 0; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 28px; margin-bottom: 42px; }
.section-head p { max-width: 520px; margin-top: 14px; }
.divider { height: 1px; background: var(--line); border: 0; margin: 0; }

/* ------------------------------------------------------------------ buttons */
.btn {
  --btn-bg: var(--accent);
  --btn-fg: var(--accent-ink);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 13px 26px; border-radius: 999px; border: 1px solid transparent;
  background: var(--btn-bg); color: var(--btn-fg);
  font-size: 0.94rem; font-weight: 700; letter-spacing: -0.01em;
  cursor: pointer; white-space: nowrap;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, opacity 0.18s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(245, 185, 66, 0.22); }
.btn:active { transform: translateY(0); }
.btn:disabled { opacity: 0.55; cursor: not-allowed; transform: none; box-shadow: none; }
.btn-ghost { --btn-bg: transparent; --btn-fg: var(--text); border-color: var(--line-2); }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.06); box-shadow: none; }
.btn-light { --btn-bg: #fff; --btn-fg: #0b1220; }
.btn-dark { --btn-bg: var(--surface-2); --btn-fg: var(--text); border-color: var(--line); }
.btn-sm { padding: 9px 17px; font-size: 0.82rem; }
.btn-block { width: 100%; }
.btn-icon { padding: 11px; width: 44px; height: 44px; border-radius: 50%; }

/* ------------------------------------------------------------------- header */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 90;
  padding: 18px 0;
  transition: background 0.3s ease, padding 0.3s ease, border-color 0.3s ease, backdrop-filter 0.3s ease;
  border-bottom: 1px solid transparent;
}
.site-header.solid {
  padding: 11px 0;
  background: rgba(7, 12, 20, 0.86);
  backdrop-filter: blur(18px) saturate(150%);
  border-bottom-color: var(--line);
}
.header-inner { display: flex; align-items: center; gap: 22px; }
.brand { display: flex; align-items: center; gap: 11px; font-family: var(--display); font-weight: 800; font-size: 1.16rem; letter-spacing: -0.02em; }
.brand-mark {
  width: 34px; height: 34px; border-radius: 11px; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--accent), #ff8a3d);
  color: #191307; font-size: 1rem; font-weight: 800;
  box-shadow: 0 8px 20px rgba(245, 185, 66, 0.32);
}
.nav { display: flex; align-items: center; gap: 6px; margin-left: 14px; }
.nav a {
  padding: 9px 14px; border-radius: 999px; font-size: 0.9rem; font-weight: 500; color: rgba(255, 255, 255, 0.78);
  transition: color 0.18s, background 0.18s;
}
.nav a:hover { color: #fff; background: rgba(255, 255, 255, 0.07); }
.header-right { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.header-cta { display: flex; align-items: center; gap: 10px; }
.burger {
  display: none; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line-2);
  background: rgba(255, 255, 255, 0.06); color: #fff; cursor: pointer;
}

/* --------------------------------------------------------- language switch */
.lang { position: relative; }
.lang-btn {
  display: inline-flex; align-items: center; gap: 9px;
  height: 42px; padding: 0 15px 0 13px; border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(12, 26, 40, 0.55);
  backdrop-filter: blur(10px);
  color: #fff; font-size: 0.86rem; font-weight: 600; cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}
.lang-btn:hover { background: rgba(18, 36, 54, 0.8); border-color: rgba(255, 255, 255, 0.36); }
.lang-btn svg.globe { width: 18px; height: 18px; opacity: 0.92; }
.lang-btn .chev { width: 12px; height: 12px; opacity: 0.7; transition: transform 0.22s ease; }
.lang.open .lang-btn .chev { transform: rotate(180deg); }
.lang-menu {
  position: absolute; right: 0; top: calc(100% + 12px); width: 246px;
  background: #fff; border-radius: 22px; padding: 8px;
  box-shadow: 0 26px 60px rgba(3, 12, 26, 0.38), 0 0 0 1px rgba(10, 20, 40, 0.06);
  opacity: 0; visibility: hidden; transform: translateY(-8px) scale(0.98);
  transform-origin: top right;
  transition: opacity 0.2s ease, transform 0.22s cubic-bezier(0.2, 0.9, 0.3, 1), visibility 0.2s;
  z-index: 120;
}
.lang.open .lang-menu { opacity: 1; visibility: visible; transform: translateY(0) scale(1); }
.lang-item {
  display: flex; align-items: center; gap: 13px; width: 100%;
  padding: 13px 15px; border: 0; background: none; cursor: pointer;
  border-radius: 15px; color: #1c2534; font-size: 0.95rem; font-weight: 500; text-align: left;
  transition: background 0.15s, color 0.15s;
}
.lang-item:hover { background: #f4f6fa; }
.lang-item.active { background: #edf1fb; color: var(--blue); font-weight: 600; }
.lang-item svg { width: 18px; height: 18px; opacity: 0.85; flex: none; }
.lang-item.active svg { opacity: 1; }

/* --------------------------------------------------------------------- hero */
.hero { position: relative; min-height: min(94vh, 900px); display: flex; align-items: center; padding: 140px 0 90px; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.03); }
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(120% 90% at 20% 10%, rgba(5, 12, 22, 0.32) 0%, rgba(5, 12, 22, 0.78) 58%, #070c14 100%),
    linear-gradient(180deg, rgba(7, 12, 20, 0.72) 0%, rgba(7, 12, 20, 0.15) 34%, rgba(7, 12, 20, 0.92) 100%);
}
.hero-inner { position: relative; z-index: 2; max-width: 900px; }
.hero .kicker { color: var(--accent-2); }
.hero h1 { margin: 20px 0 0; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero-sub { margin-top: 22px; max-width: 560px; font-size: clamp(1rem, 1.5vw, 1.16rem); color: rgba(238, 245, 250, 0.82); }
.hero-trust { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 34px; font-size: 0.86rem; color: rgba(238, 245, 250, 0.72); }
.hero-trust span { display: inline-flex; align-items: center; gap: 8px; }
.hero-trust svg { width: 15px; height: 15px; color: var(--teal); }

/* search bar */
.searchbar {
  position: relative; z-index: 3; margin-top: 44px;
  display: grid; grid-template-columns: 1.3fr 1fr 1fr auto; gap: 2px;
  background: rgba(16, 28, 42, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 22px; padding: 8px;
  backdrop-filter: blur(20px) saturate(140%);
  box-shadow: var(--shadow-lg);
  max-width: 880px;
}
.sb-field { padding: 9px 16px; border-radius: 15px; position: relative; }
.sb-field + .sb-field::before {
  content: ""; position: absolute; left: 0; top: 22%; height: 56%; width: 1px; background: rgba(255, 255, 255, 0.12);
}
.sb-field label { display: block; font-size: 0.68rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.sb-field input, .sb-field select {
  width: 100%; border: 0; background: none; color: #fff; font-size: 0.95rem; font-weight: 600;
  padding: 3px 0 0; outline: none; font-family: inherit;
}
.sb-field input::placeholder { color: rgba(255, 255, 255, 0.42); font-weight: 500; }
.sb-field input[type="date"] { color-scheme: dark; }
.sb-field select option { background: #0f1a26; color: #fff; }
.searchbar .btn { border-radius: 16px; height: 100%; padding: 0 26px; }

/* ------------------------------------------------------------------- cards */
.grid-3 { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 22px; }
.grid-quad { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.tour-card {
  position: relative; border-radius: var(--r-lg); overflow: hidden;
  background: var(--surface); border: 1px solid var(--line);
  transition: transform 0.28s cubic-bezier(0.2, 0.8, 0.3, 1), border-color 0.28s, box-shadow 0.28s;
  display: flex; flex-direction: column;
}
.tour-card:hover { transform: translateY(-7px); border-color: var(--line-2); box-shadow: var(--shadow-md); }
.tour-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
.tour-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s cubic-bezier(0.2, 0.8, 0.3, 1); }
.tour-card:hover .tour-media img { transform: scale(1.07); }
.tour-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7, 12, 20, 0.05) 40%, rgba(7, 12, 20, 0.7) 100%); }
.chip {
  position: absolute; z-index: 2; display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 11px; border-radius: 999px; font-size: 0.72rem; font-weight: 700;
  background: rgba(9, 17, 27, 0.62); border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(8px); color: #fff;
}
.chip-tl { top: 14px; left: 14px; }
.chip-tr { top: 14px; right: 14px; background: rgba(245, 185, 66, 0.94); color: #1a1305; border-color: transparent; }
.chip-bl { bottom: 14px; left: 14px; }
.chip .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--danger); box-shadow: 0 0 0 3px rgba(255, 107, 107, 0.25); }
.tour-body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 9px; flex: 1; }
.tour-loc { font-size: 0.76rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); }
.tour-title { font-family: var(--display); font-size: 1.08rem; font-weight: 700; line-height: 1.3; letter-spacing: -0.01em; }
.tour-sum { font-size: 0.87rem; color: var(--muted); line-height: 1.55; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.tour-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); }
.price { display: flex; align-items: baseline; gap: 7px; }
.price b { font-family: var(--display); font-size: 1.28rem; font-weight: 800; letter-spacing: -0.02em; }
.price s { color: var(--muted-2); font-size: 0.82rem; }
.price span { font-size: 0.74rem; color: var(--muted); }
.rating { display: inline-flex; align-items: center; gap: 5px; font-size: 0.82rem; font-weight: 700; }
.rating svg { width: 13px; height: 13px; color: var(--accent); }
.rating span { color: var(--muted); font-weight: 500; }

/* ---------------------------------------------------------------- page hero */
.page-hero { position: relative; padding: 150px 0 60px; border-bottom: 1px solid var(--line); overflow: hidden; }
.page-hero::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(80% 100% at 15% 0%, rgba(42, 212, 193, 0.12), transparent 60%),
    radial-gradient(70% 90% at 85% 10%, rgba(245, 185, 66, 0.12), transparent 55%);
}
.page-hero .container { position: relative; }
.page-hero h1 { font-size: clamp(2.1rem, 4.4vw, 3.4rem); margin-top: 16px; }
.page-hero p { margin-top: 14px; max-width: 620px; color: var(--muted); }

/* ------------------------------------------------------------------ panels */
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px; }
.panel-tight { padding: 20px; }

/* ------------------------------------------------------------------ fields */
.field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 16px; }
.field > label { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 15px; border-radius: 13px;
  background: rgba(255, 255, 255, 0.04); border: 1px solid var(--line-2);
  color: var(--text); font-size: 0.95rem; font-family: inherit; outline: none;
  transition: border-color 0.18s, box-shadow 0.18s, background 0.18s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: rgba(245, 185, 66, 0.7); box-shadow: 0 0 0 4px rgba(245, 185, 66, 0.12); background: rgba(255, 255, 255, 0.06);
}
.field input::placeholder { color: var(--muted-2); }
.field select option { background: #0f1a26; }
.field .hint { font-size: 0.76rem; color: var(--muted-2); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 0.88rem; color: var(--muted); cursor: pointer; }
.check input { width: 18px; height: 18px; flex: none; margin-top: 2px; accent-color: var(--accent); }

/* ------------------------------------------------------------------ footer */
.footer { border-top: 1px solid var(--line); padding: 66px 0 34px; background: var(--bg-2); }
.footer-top { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 40px; }
.footer h4 { font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; font-family: var(--font); font-weight: 700; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.footer a { color: rgba(239, 244, 248, 0.74); font-size: 0.9rem; }
.footer a:hover { color: var(--accent); }
.footer-bottom { margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px; font-size: 0.8rem; color: var(--muted-2); }

/* ------------------------------------------------------------------- toast */
.toast-wrap { position: fixed; right: 22px; bottom: 22px; z-index: 200; display: grid; gap: 10px; }
.toast {
  padding: 13px 18px; border-radius: 14px; font-size: 0.88rem; font-weight: 600;
  background: var(--surface-3); border: 1px solid var(--line-2); color: var(--text);
  box-shadow: var(--shadow-md); animation: toastIn 0.3s ease both;
}
.toast.err { border-color: rgba(255, 107, 107, 0.5); background: #2a1518; }
.toast.ok { border-color: rgba(52, 211, 153, 0.4); background: #0f2620; }
@keyframes toastIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* -------------------------------------------------------------------- pills */
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; border-radius: 999px; font-size: 0.74rem; font-weight: 700; border: 1px solid var(--line-2); }
.pill.pending { color: #ffcf70; border-color: rgba(245, 185, 66, 0.4); background: rgba(245, 185, 66, 0.12); }
.pill.confirmed { color: #6ee7d8; border-color: rgba(42, 212, 193, 0.4); background: rgba(42, 212, 193, 0.12); }
.pill.completed { color: #7ee2b8; border-color: rgba(52, 211, 153, 0.4); background: rgba(52, 211, 153, 0.12); }
.pill.cancelled, .pill.rejected { color: #ff9d9d; border-color: rgba(255, 107, 107, 0.4); background: rgba(255, 107, 107, 0.12); }
.pill.approved { color: #7ee2b8; border-color: rgba(52, 211, 153, 0.4); background: rgba(52, 211, 153, 0.12); }

/* ------------------------------------------------------------- tour detail */
.detail-grid { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 44px; align-items: start; }
.detail-hero-img { border-radius: var(--r-xl); overflow: hidden; aspect-ratio: 16 / 9; }
.detail-hero-img img { width: 100%; height: 100%; object-fit: cover; }
.detail-meta { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 26px; }
.detail-body h3 { margin: 34px 0 14px; }
.detail-body p { color: var(--muted); }
.feature-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; }
.feature-list li { display: flex; align-items: center; gap: 10px; font-size: 0.91rem; color: rgba(239, 244, 248, 0.86); }
.feature-list svg { width: 17px; height: 17px; color: var(--teal); flex: none; }
.booking-box { position: sticky; top: 96px; background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--r-lg); padding: 24px; box-shadow: var(--shadow-md); }
.booking-box .price b { font-size: 1.9rem; }
.stepper { display: flex; align-items: center; justify-content: space-between; gap: 10px; background: rgba(255, 255, 255, 0.04); border: 1px solid var(--line-2); border-radius: 13px; padding: 6px; }
.stepper button { width: 34px; height: 34px; border-radius: 9px; border: 0; background: var(--surface-3); color: #fff; font-size: 1.1rem; cursor: pointer; }
.stepper button:disabled { opacity: 0.4; cursor: not-allowed; }
.stepper span { font-weight: 700; font-size: 0.98rem; }
.total-row { display: flex; justify-content: space-between; align-items: baseline; padding: 16px 0; border-top: 1px solid var(--line); margin-top: 16px; }
.total-row b { font-family: var(--display); font-size: 1.3rem; }

/* ---------------------------------------------------------------- checkout */
.checkout-grid { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 32px; align-items: start; }
.steps { display: flex; gap: 10px; margin-bottom: 26px; flex-wrap: wrap; }
.step-pill { display: inline-flex; align-items: center; gap: 9px; font-size: 0.82rem; font-weight: 600; color: var(--muted); }
.step-pill i { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: var(--surface-3); font-style: normal; font-size: 0.74rem; }
.step-pill.on { color: var(--text); }
.step-pill.on i { background: var(--accent); color: var(--accent-ink); }
.traveller-block { border: 1px dashed var(--line-2); border-radius: var(--r-md); padding: 18px; margin-bottom: 14px; background: rgba(255, 255, 255, 0.02); }
.traveller-block h4 { font-family: var(--display); font-size: 0.98rem; margin-bottom: 12px; display: flex; align-items: center; gap: 9px; }
.traveller-block h4 span { width: 22px; height: 22px; border-radius: 50%; background: var(--surface-3); display: grid; place-items: center; font-size: 0.72rem; color: var(--muted); }
.drop {
  display: flex; align-items: center; gap: 14px; padding: 15px;
  border: 1px dashed var(--line-2); border-radius: var(--r-md); cursor: pointer;
  background: rgba(255, 255, 255, 0.03); transition: border-color 0.18s, background 0.18s;
}
.drop:hover { border-color: rgba(245, 185, 66, 0.55); background: rgba(245, 185, 66, 0.05); }
.drop.has { border-style: solid; border-color: rgba(42, 212, 193, 0.45); background: rgba(42, 212, 193, 0.06); }
.drop svg { width: 26px; height: 26px; color: var(--muted); flex: none; }
.drop.has svg { color: var(--teal); }
.drop-main { flex: 1; min-width: 0; }
.drop-main b { display: block; font-size: 0.88rem; }
.drop-main small { color: var(--muted-2); font-size: 0.76rem; display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.drop input { display: none; }
.summary-line { display: flex; justify-content: space-between; gap: 14px; font-size: 0.89rem; padding: 7px 0; }
.summary-line span:first-child { color: var(--muted); }
.summary-thumb { display: flex; gap: 13px; align-items: center; padding-bottom: 16px; margin-bottom: 12px; border-bottom: 1px solid var(--line); }
.summary-thumb img { width: 66px; height: 66px; border-radius: 14px; object-fit: cover; }

/* ------------------------------------------------------------------ tables */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); }
table.table { width: 100%; border-collapse: collapse; font-size: 0.88rem; min-width: 720px; }
table.table th {
  text-align: left; padding: 14px 16px; font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--muted); border-bottom: 1px solid var(--line); white-space: nowrap; font-weight: 700;
  position: sticky; top: 0; background: var(--surface); backdrop-filter: blur(6px);
}
table.table td { padding: 14px 16px; border-bottom: 1px solid rgba(255, 255, 255, 0.05); vertical-align: middle; }
table.table tr:last-child td { border-bottom: 0; }
table.table tbody tr:hover { background: rgba(255, 255, 255, 0.025); }
table.table .num { font-variant-numeric: tabular-nums; font-weight: 600; }
.row-actions { display: flex; gap: 7px; flex-wrap: wrap; }

/* ------------------------------------------------------------------- admin */
.admin-body { background: var(--bg-2); }
.admin-shell { display: grid; grid-template-columns: 248px minmax(0, 1fr); min-height: 100vh; }
.admin-side { border-right: 1px solid var(--line); padding: 22px 16px; position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; gap: 6px; background: var(--bg); }
.admin-side .brand { padding: 4px 10px 20px; }
.admin-tab {
  display: flex; align-items: center; gap: 11px; padding: 11px 13px; border-radius: 12px;
  color: var(--muted); font-size: 0.89rem; font-weight: 600; cursor: pointer; border: 0; background: none; width: 100%; text-align: left;
  transition: background 0.16s, color 0.16s;
}
.admin-tab:hover { background: rgba(255, 255, 255, 0.05); color: var(--text); }
.admin-tab.on { background: rgba(245, 185, 66, 0.12); color: var(--accent); }
.admin-tab svg { width: 17px; height: 17px; }
.admin-side-foot { margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line); font-size: 0.78rem; color: var(--muted-2); }
.admin-main { padding: 26px 30px 60px; min-width: 0; }
.admin-head { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 22px; flex-wrap: wrap; }
.admin-head h1 { font-size: 1.5rem; }
.stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 14px; margin-bottom: 26px; }
.stat { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); padding: 17px 18px; }
.stat small { display: block; font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.09em; color: var(--muted); margin-bottom: 7px; font-weight: 700; }
.stat b { font-family: var(--display); font-size: 1.7rem; letter-spacing: -0.02em; }
.stat b em { font-style: normal; font-size: 0.9rem; color: var(--muted); font-family: var(--font); font-weight: 600; }
.admin-empty { padding: 54px 20px; text-align: center; color: var(--muted-2); font-size: 0.9rem; }
.doc-thumb { width: 46px; height: 34px; border-radius: 7px; object-fit: cover; background: var(--surface-3); border: 1px solid var(--line-2); cursor: pointer; }
.modal-back { position: fixed; inset: 0; background: rgba(3, 7, 12, 0.78); backdrop-filter: blur(6px); z-index: 300; display: grid; place-items: center; padding: 24px; }
.modal { background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--r-lg); max-width: 760px; width: 100%; max-height: 88vh; overflow: auto; box-shadow: var(--shadow-lg); }
.modal-head { display: flex; align-items: center; justify-content: space-between; padding: 18px 22px; border-bottom: 1px solid var(--line); position: sticky; top: 0; background: var(--surface); }
.modal-body { padding: 22px; }
.modal img.doc { width: 100%; border-radius: 12px; background: #000; }

/* ------------------------------------------------------------------ auth */
.auth-wrap { min-height: 100vh; display: grid; grid-template-columns: 1fr 1fr; }
.auth-art { position: relative; overflow: hidden; }
.auth-art img { width: 100%; height: 100%; object-fit: cover; }
.auth-art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(120deg, rgba(7, 12, 20, 0.55), rgba(7, 12, 20, 0.15)); }
.auth-art-txt { position: absolute; left: 48px; bottom: 52px; z-index: 2; max-width: 380px; }
.auth-art-txt h2 { font-size: 2rem; }
.auth-art-txt p { margin-top: 12px; color: rgba(255, 255, 255, 0.8); font-size: 0.95rem; }
.auth-panel { display: flex; align-items: center; justify-content: center; padding: 100px 28px 60px; }
.auth-card { width: 100%; max-width: 420px; }
.auth-card h1 { font-size: 1.9rem; }
.auth-card > p { margin-top: 10px; color: var(--muted); font-size: 0.93rem; }
.auth-form { margin-top: 28px; }
.auth-alt { margin-top: 20px; font-size: 0.88rem; color: var(--muted); text-align: center; }
.auth-alt a { color: var(--accent); font-weight: 600; }
.auth-note { margin-top: 22px; padding: 12px 14px; border-radius: 12px; background: rgba(42, 212, 193, 0.07); border: 1px solid rgba(42, 212, 193, 0.22); font-size: 0.78rem; color: #8fd8cf; line-height: 1.55; }

/* ------------------------------------------------------------------ misc */
.tabs { display: inline-flex; gap: 5px; padding: 5px; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; }
.tabs button { padding: 9px 16px; border-radius: 999px; border: 0; background: none; color: var(--muted); font-size: 0.84rem; font-weight: 600; cursor: pointer; }
.tabs button.on { background: var(--surface-3); color: var(--text); }
.toolbar { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 22px; }
.search-input { flex: 1; min-width: 200px; padding: 12px 16px; border-radius: 999px; background: rgba(255, 255, 255, 0.04); border: 1px solid var(--line-2); color: var(--text); font-size: 0.9rem; outline: none; }
.search-input:focus { border-color: rgba(245, 185, 66, 0.6); }
.empty { text-align: center; padding: 60px 20px; color: var(--muted-2); }
.loading { padding: 70px 0; text-align: center; color: var(--muted-2); font-size: 0.9rem; }
.spin { width: 26px; height: 26px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, 0.15); border-top-color: var(--accent); animation: sp 0.8s linear infinite; margin: 0 auto 12px; }
@keyframes sp { to { transform: rotate(360deg); } }
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.8, 0.3, 1); }
.reveal.in { opacity: 1; transform: none; }

/* ------------------------------------------------------------- responsive */
@media (max-width: 1080px) {
  .detail-grid, .checkout-grid { grid-template-columns: 1fr; }
  .booking-box { position: static; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .admin-shell { grid-template-columns: 1fr; }
  .admin-side { position: static; height: auto; flex-direction: row; flex-wrap: wrap; align-items: center; border-right: 0; border-bottom: 1px solid var(--line); }
  .admin-side .brand { padding: 0 12px 0 4px; }
  .admin-side-foot { display: none; }
  .admin-tab { width: auto; }
}
@media (max-width: 900px) {
  .nav { display: none; }
  .burger { display: grid; place-items: center; }
  .header-cta .btn { display: none; }
  .auth-wrap { grid-template-columns: 1fr; }
  .auth-art { display: none; }
  .searchbar { grid-template-columns: 1fr; gap: 8px; }
  .sb-field + .sb-field::before { display: none; }
  .sb-field { padding: 10px 14px; background: rgba(255, 255, 255, 0.04); border-radius: 14px; }
  .searchbar .btn { height: 50px; }
  .hero { min-height: auto; padding: 128px 0 64px; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 14px; }
}
@media (max-width: 640px) {
  .container { padding: 0 18px; }
  .grid-3, .grid-quad { grid-template-columns: 1fr; }
  .brand { font-size: 0.98rem; white-space: nowrap; }
  .brand-mark { width: 30px; height: 30px; border-radius: 10px; font-size: 0.9rem; }
  .field-row { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .admin-main { padding: 18px 16px 50px; }
  .panel { padding: 20px; }
  .lang-menu { width: 220px; }
  h1 { font-size: 2.35rem; }
}

/* mobile nav drawer */
.mobile-nav { position: fixed; inset: 0; z-index: 95; background: rgba(7, 12, 20, 0.97); backdrop-filter: blur(14px); padding: 100px 26px 40px; display: none; }
.mobile-nav.open { display: block; }
.mobile-nav a { display: block; padding: 15px 4px; font-size: 1.3rem; font-family: var(--display); font-weight: 700; border-bottom: 1px solid var(--line); }
