/* ==========================================================
   VietTravel – Design system
   ========================================================== */
:root {
  --primary: #0b6e75;
  --primary-600: #095a60;
  --primary-50: #e6f4f4;
  --primary-100: #c9e8e8;
  --accent: #ff6b3d;
  --accent-600: #ec5525;
  --accent-50: #fff1ec;
  --gold: #ffb020;
  --ink: #0f1b2d;
  --ink-2: #334155;
  --muted: #64748b;
  --line: #e6eaf0;
  --bg: #f6f8fb;
  --card: #ffffff;
  --success: #14a44d;
  --warning: #e8a317;
  --danger: #e5484d;
  --info: #2f7bf5;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow-sm: 0 1px 2px rgba(15, 27, 45, .06), 0 2px 8px rgba(15, 27, 45, .04);
  --shadow: 0 10px 30px -10px rgba(15, 27, 45, .18);
  --shadow-lg: 0 30px 60px -20px rgba(15, 27, 45, .28);
  --container: 1240px;
  --font: 'Be Vietnam Pro', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --font-display: 'Playfair Display', Georgia, serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; font-family: var(--font); color: var(--ink); background: var(--bg);
  font-size: 15px; line-height: 1.6; -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 .5em; letter-spacing: -.02em; }
p { margin: 0 0 1em; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.muted { color: var(--muted); }
.text-accent { color: var(--accent); }
.text-primary { color: var(--primary); }
.center { text-align: center; }
.mt-0 { margin-top: 0 } .mt-1 { margin-top: 8px } .mt-2 { margin-top: 16px } .mt-3 { margin-top: 24px } .mt-4 { margin-top: 40px }
.mb-0 { margin-bottom: 0 } .mb-2 { margin-bottom: 16px } .mb-3 { margin-bottom: 24px }
.flex { display: flex; } .items-center { align-items: center; } .between { justify-content: space-between; } .gap-1 { gap: 8px } .gap-2 { gap: 16px } .wrap { flex-wrap: wrap; }
.grid { display: grid; gap: 24px; }
.hidden { display: none !important; }
[data-lucide] { width: 18px; height: 18px; stroke-width: 2; flex-shrink: 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px; border-radius: 999px; border: 1.5px solid transparent;
  font: 600 15px/1 var(--font); cursor: pointer; transition: all .2s ease; white-space: nowrap;
}
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 8px 20px -6px rgba(255, 107, 61, .55); }
.btn-primary:hover { background: var(--accent-600); transform: translateY(-2px); box-shadow: 0 12px 24px -8px rgba(255, 107, 61, .6); }
.btn-teal { background: var(--primary); color: #fff; }
.btn-teal:hover { background: var(--primary-600); transform: translateY(-1px); }
.btn-outline { border-color: var(--line); background: #fff; color: var(--ink); }
.btn-outline:hover { border-color: var(--primary); color: var(--primary); }
.btn-ghost { background: transparent; color: var(--ink-2); }
.btn-ghost:hover { background: var(--primary-50); color: var(--primary); }
.btn-danger { background: #fff; color: var(--danger); border-color: #f6c9ca; }
.btn-danger:hover { background: var(--danger); color: #fff; }
.btn-white { background: #fff; color: var(--ink); }
.btn-white:hover { transform: translateY(-2px); }
.btn-sm { padding: 8px 14px; font-size: 13px; }
.btn-lg { padding: 16px 30px; font-size: 16px; }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.topbar { background: var(--ink); color: #cbd5e1; font-size: 13px; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; height: 38px; }
.topbar a:hover { color: #fff; }
.topbar .flex span { display: inline-flex; align-items: center; gap: 6px; }
.topbar [data-lucide] { width: 14px; height: 14px; }

.header {
  position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .85);
  backdrop-filter: saturate(180%) blur(16px); -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid rgba(230, 234, 240, .7); transition: box-shadow .3s;
}
.header.scrolled { box-shadow: var(--shadow-sm); }
.header .container { display: flex; align-items: center; height: 74px; gap: 32px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 22px; letter-spacing: -.03em; }
.logo-mark {
  width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; color: #fff;
  background: linear-gradient(135deg, var(--primary) 0%, #14a3a3 60%, var(--accent) 140%);
  box-shadow: 0 8px 16px -6px rgba(11, 110, 117, .6);
}
.logo-mark [data-lucide] { width: 22px; height: 22px; }
.logo b { color: var(--accent); }
.nav { display: flex; gap: 4px; flex: 1; }
.nav a { padding: 10px 16px; border-radius: 999px; font-weight: 500; color: var(--ink-2); transition: .2s; position: relative; }
.nav a:hover, .nav a.active { color: var(--primary); background: var(--primary-50); }
.header-actions { display: flex; gap: 10px; align-items: center; }
.user-menu { position: relative; }
.user-menu > button {
  display: flex; align-items: center; gap: 8px; background: #fff; border: 1.5px solid var(--line);
  border-radius: 999px; padding: 5px 14px 5px 5px; cursor: pointer; font: 500 14px var(--font); color: var(--ink);
}
.avatar {
  width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: 13px;
  background: linear-gradient(135deg, var(--primary), #19b3a8); color: #fff; flex-shrink: 0;
}
.dropdown {
  position: absolute; right: 0; top: calc(100% + 8px); background: #fff; border-radius: 14px; box-shadow: var(--shadow-lg);
  border: 1px solid var(--line); min-width: 220px; padding: 8px; opacity: 0; visibility: hidden; transform: translateY(-6px); transition: .2s;
}
.user-menu.open .dropdown { opacity: 1; visibility: visible; transform: none; }
.dropdown a, .dropdown button {
  display: flex; align-items: center; gap: 10px; width: 100%; padding: 10px 12px; border-radius: 10px; font: 500 14px var(--font);
  color: var(--ink-2); background: none; border: 0; cursor: pointer; text-align: left;
}
.dropdown a:hover, .dropdown button:hover { background: var(--bg); color: var(--primary); }
.menu-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; color: var(--ink); }
.menu-toggle [data-lucide] { width: 26px; height: 26px; }

/* ---------- Flash ---------- */
.flash-wrap { position: fixed; top: 90px; right: 20px; z-index: 100; display: grid; gap: 10px; max-width: 380px; }
.flash {
  display: flex; gap: 12px; align-items: flex-start; padding: 14px 18px; border-radius: 14px; background: #fff;
  box-shadow: var(--shadow-lg); border-left: 4px solid var(--info); animation: slideIn .4s cubic-bezier(.2, .9, .3, 1.2);
}
.flash-success { border-color: var(--success); } .flash-success [data-lucide] { color: var(--success); }
.flash-danger { border-color: var(--danger); } .flash-danger [data-lucide] { color: var(--danger); }
.flash-warning { border-color: var(--warning); } .flash-warning [data-lucide] { color: var(--warning); }
.flash .close { margin-left: auto; background: none; border: 0; cursor: pointer; color: var(--muted); padding: 0; }
@keyframes slideIn { from { opacity: 0; transform: translateX(40px); } to { opacity: 1; transform: none; } }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 680px; display: flex; align-items: center; color: #fff; overflow: hidden;
  margin-top: -74px; padding-top: 74px;
}
.hero-bg { position: absolute; inset: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; opacity: 0; transition: opacity 1.4s ease, transform 8s ease; transform: scale(1.08); }
.hero-bg img.active { opacity: 1; transform: scale(1); }
.hero::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(8, 20, 35, .55) 0%, rgba(8, 20, 35, .25) 45%, rgba(8, 20, 35, .75) 100%);
}
.hero .container { position: relative; z-index: 2; padding-top: 40px; padding-bottom: 60px; }
.hero-tag {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border-radius: 999px; font-size: 13px; font-weight: 600;
  background: rgba(255, 255, 255, .15); border: 1px solid rgba(255, 255, 255, .3); backdrop-filter: blur(10px); margin-bottom: 22px;
}
.hero h1 { font-size: clamp(38px, 6vw, 72px); font-weight: 800; max-width: 820px; letter-spacing: -.035em; margin-bottom: 18px; }
.hero h1 em { font-family: var(--font-display); font-style: italic; font-weight: 700; color: #ffd2a8; }
.hero p.lead { font-size: 19px; max-width: 600px; opacity: .92; margin-bottom: 40px; }

.search-box {
  background: rgba(255, 255, 255, .97); border-radius: 22px; padding: 10px; display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr auto; gap: 4px; box-shadow: var(--shadow-lg); max-width: 1040px; color: var(--ink);
}
.search-field { display: flex; gap: 12px; align-items: center; padding: 10px 16px; border-radius: 14px; transition: .2s; }
.search-field:hover { background: var(--bg); }
.search-field + .search-field { border-left: 1px solid var(--line); }
.search-field [data-lucide] { color: var(--primary); width: 22px; height: 22px; }
.search-field label { font-size: 12px; font-weight: 600; color: var(--muted); display: block; text-transform: uppercase; letter-spacing: .04em; }
.search-field input, .search-field select {
  border: 0; outline: 0; background: transparent; font: 600 15px var(--font); color: var(--ink); width: 100%; padding: 2px 0; appearance: none;
}
.search-box .btn { border-radius: 16px; padding: 0 30px; }

.hero-stats { display: flex; gap: 48px; margin-top: 48px; }
.hero-stats strong { display: block; font-size: 32px; font-weight: 800; }
.hero-stats span { opacity: .8; font-size: 14px; }

/* ---------- Sections ---------- */
section.block { padding: 90px 0; }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 40px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; color: var(--accent); font-weight: 700; font-size: 13px; text-transform: uppercase; letter-spacing: .12em; margin-bottom: 12px; }
.eyebrow::before { content: ''; width: 24px; height: 2px; background: currentColor; border-radius: 2px; }
.section-title { font-size: clamp(28px, 3.6vw, 42px); font-weight: 800; margin: 0; }
.section-title em { font-family: var(--font-display); font-style: italic; color: var(--primary); }
.section-sub { color: var(--muted); max-width: 540px; margin-top: 10px; }

/* Destinations mosaic */
.dest-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 240px; gap: 20px; }
.dest-card { position: relative; border-radius: var(--radius); overflow: hidden; color: #fff; isolation: isolate; }
.dest-card:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.dest-card:nth-child(4) { grid-row: span 2; }
.dest-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2, .8, .2, 1); z-index: -2; }
.dest-card::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(0, 0, 0, .75)); z-index: -1; }
.dest-card:hover img { transform: scale(1.08); }
.dest-card .info { position: absolute; left: 22px; right: 22px; bottom: 20px; display: flex; justify-content: space-between; align-items: flex-end; }
.dest-card h3 { font-size: 24px; margin: 0; }
.dest-card:nth-child(1) h3 { font-size: 34px; }
.dest-card .count { font-size: 13px; opacity: .9; }
.dest-card .arrow {
  width: 42px; height: 42px; border-radius: 50%; background: rgba(255, 255, 255, .2); backdrop-filter: blur(8px);
  display: grid; place-items: center; transition: .3s; border: 1px solid rgba(255, 255, 255, .35);
}
.dest-card:hover .arrow { background: var(--accent); border-color: var(--accent); transform: rotate(-45deg); }

/* Tour cards */
.tour-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.tour-card {
  background: var(--card); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm);
  transition: transform .35s cubic-bezier(.2, .8, .2, 1), box-shadow .35s; display: flex; flex-direction: column; border: 1px solid var(--line);
}
.tour-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.tour-card .thumb { position: relative; aspect-ratio: 4/3; overflow: hidden; }
.tour-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2, .8, .2, 1); }
.tour-card:hover .thumb img { transform: scale(1.08); }
.tour-card .tags { position: absolute; top: 14px; left: 14px; display: flex; gap: 6px; }
.chip {
  display: inline-flex; align-items: center; gap: 5px; padding: 5px 11px; border-radius: 999px; font-size: 12px; font-weight: 600;
  background: rgba(255, 255, 255, .92); color: var(--ink); backdrop-filter: blur(6px);
}
.chip-accent { background: var(--accent); color: #fff; }
.chip [data-lucide] { width: 13px; height: 13px; }
.fav {
  position: absolute; top: 14px; right: 14px; width: 38px; height: 38px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(255, 255, 255, .92); display: grid; place-items: center; color: var(--ink-2); transition: .2s;
}
.fav:hover, .fav.on { color: var(--accent); transform: scale(1.1); }
.fav.on [data-lucide] { fill: var(--accent); }
.tour-card .body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.tour-card .loc { display: flex; align-items: center; gap: 6px; color: var(--primary); font-size: 13px; font-weight: 600; margin-bottom: 8px; }
.tour-card .loc [data-lucide] { width: 15px; height: 15px; }
.tour-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 12px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.tour-card h3 a:hover { color: var(--primary); }
.tour-meta { display: flex; flex-wrap: wrap; gap: 14px; color: var(--muted); font-size: 13px; margin-bottom: 16px; }
.tour-meta span { display: inline-flex; align-items: center; gap: 5px; }
.tour-meta [data-lucide] { width: 15px; height: 15px; }
.tour-card .foot { margin-top: auto; display: flex; justify-content: space-between; align-items: flex-end; padding-top: 16px; border-top: 1px dashed var(--line); }
.price-old { color: var(--muted); text-decoration: line-through; font-size: 13px; }
.price { font-size: 22px; font-weight: 800; color: var(--accent); letter-spacing: -.02em; }
.price small { font-size: 13px; color: var(--muted); font-weight: 500; }
.rating { display: inline-flex; align-items: center; gap: 4px; font-weight: 700; font-size: 14px; }
.rating [data-lucide] { color: var(--gold); fill: var(--gold); width: 16px; height: 16px; }
.rating small { color: var(--muted); font-weight: 500; }

/* Deals */
.deals { background: linear-gradient(135deg, #0b3b47 0%, var(--primary) 100%); color: #fff; position: relative; overflow: hidden; }
.deals::before {
  content: ''; position: absolute; width: 600px; height: 600px; border-radius: 50%; right: -200px; top: -250px;
  background: radial-gradient(circle, rgba(255, 107, 61, .35), transparent 70%);
}
.deals .section-title, .deals .section-title em { color: #fff; }
.deals .section-sub { color: rgba(255, 255, 255, .75); }
.deal-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; position: relative; }
.deal-card {
  background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .15); border-radius: var(--radius);
  overflow: hidden; backdrop-filter: blur(10px); transition: .3s;
}
.deal-card:hover { background: rgba(255, 255, 255, .14); transform: translateY(-6px); }
.deal-card .thumb { aspect-ratio: 16/11; position: relative; overflow: hidden; }
.deal-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.deal-card .off {
  position: absolute; top: 12px; left: 12px; background: var(--accent); color: #fff; font-weight: 800; padding: 6px 12px;
  border-radius: 10px; font-size: 14px;
}
.deal-card .body { padding: 18px; }
.deal-card h4 { font-size: 16px; margin-bottom: 10px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.deal-card .price { color: #ffd2a8; font-size: 20px; }
.deal-card .price-old { color: rgba(255, 255, 255, .6); }
.countdown { display: flex; gap: 10px; }
.countdown div { background: rgba(255, 255, 255, .12); border-radius: 12px; padding: 10px 14px; text-align: center; min-width: 64px; }
.countdown strong { display: block; font-size: 24px; font-weight: 800; line-height: 1; }
.countdown span { font-size: 11px; opacity: .75; text-transform: uppercase; }

/* Features */
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.feature { background: #fff; border-radius: var(--radius); padding: 30px 26px; border: 1px solid var(--line); transition: .3s; }
.feature:hover { border-color: transparent; box-shadow: var(--shadow); transform: translateY(-4px); }
.feature .ic {
  width: 58px; height: 58px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 20px;
  background: var(--primary-50); color: var(--primary);
}
.feature:nth-child(2) .ic { background: var(--accent-50); color: var(--accent); }
.feature:nth-child(3) .ic { background: #fff7e0; color: #d48c00; }
.feature:nth-child(4) .ic { background: #eef2ff; color: #4f46e5; }
.feature .ic [data-lucide] { width: 28px; height: 28px; }
.feature h4 { font-size: 18px; }
.feature p { color: var(--muted); margin: 0; font-size: 14px; }

/* Testimonials */
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.testi { background: #fff; border-radius: var(--radius); padding: 30px; border: 1px solid var(--line); position: relative; }
.testi .quote { position: absolute; top: 24px; right: 26px; color: var(--primary-100); }
.testi .quote [data-lucide] { width: 44px; height: 44px; }
.testi .stars { display: flex; gap: 2px; margin-bottom: 14px; }
.testi .stars [data-lucide] { color: var(--gold); fill: var(--gold); width: 17px; height: 17px; }
.testi p { color: var(--ink-2); font-size: 15px; }
.testi .who { display: flex; gap: 12px; align-items: center; margin-top: 20px; }
.testi .who .avatar { width: 46px; height: 46px; font-size: 16px; }
.testi .who small { color: var(--muted); display: block; font-size: 12px; }

/* CTA */
.cta {
  border-radius: 28px; padding: 60px; color: #fff; position: relative; overflow: hidden; display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: center;
  background: linear-gradient(120deg, rgba(255, 107, 61, .95), rgba(236, 72, 100, .9)), url('https://images.unsplash.com/photo-1507525428034-b723cf961d3e?auto=format&fit=crop&w=1400&q=60') center/cover;
}
.cta h2 { font-size: 38px; font-weight: 800; }
.cta form { display: flex; background: #fff; border-radius: 999px; padding: 6px; }
.cta input { flex: 1; border: 0; outline: 0; padding: 0 18px; font: 500 15px var(--font); border-radius: 999px; min-width: 0; }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: #94a3b8; padding: 80px 0 0; margin-top: 90px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px; }
.footer h5 { color: #fff; font-size: 16px; margin: 0 0 20px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.footer a:hover { color: #fff; }
.footer .logo { color: #fff; margin-bottom: 18px; }
.footer .contact-line { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 12px; }
.socials { display: flex; gap: 10px; margin-top: 20px; }
.socials a { width: 40px; height: 40px; border-radius: 12px; background: rgba(255, 255, 255, .06); display: grid; place-items: center; transition: .2s; }
.socials a:hover { background: var(--accent); color: #fff; }
.pay-logos { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 14px; }
.pay-logos span { background: rgba(255, 255, 255, .08); border-radius: 8px; padding: 6px 10px; font-size: 12px; font-weight: 700; color: #e2e8f0; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .08); margin-top: 60px; padding: 24px 0; display: flex; justify-content: space-between; font-size: 13px; }

/* ---------- Page header ---------- */
.page-hero {
  position: relative; padding: 70px 0 60px; color: #fff; overflow: hidden;
  background: linear-gradient(120deg, rgba(8, 40, 50, .88), rgba(11, 110, 117, .75)), var(--hero-img, url('https://images.unsplash.com/photo-1469854523086-cc02fe5d8800?auto=format&fit=crop&w=1600&q=60')) center/cover;
}
.page-hero h1 { font-size: clamp(30px, 4vw, 46px); font-weight: 800; margin-bottom: 8px; }
.breadcrumb { display: flex; gap: 8px; align-items: center; font-size: 14px; opacity: .85; flex-wrap: wrap; }
.breadcrumb [data-lucide] { width: 14px; height: 14px; }
.breadcrumb a:hover { text-decoration: underline; }

/* ---------- Tour list ---------- */
.list-layout { display: grid; grid-template-columns: 290px 1fr; gap: 32px; padding: 40px 0 0; align-items: start; }
.filter-card { background: #fff; border-radius: var(--radius); padding: 24px; border: 1px solid var(--line); position: sticky; top: 94px; }
.filter-card h4 { font-size: 16px; display: flex; align-items: center; gap: 8px; }
.filter-group { padding: 18px 0; border-top: 1px solid var(--line); }
.filter-group:first-of-type { border-top: 0; padding-top: 6px; }
.filter-group .title { font-weight: 700; font-size: 14px; margin-bottom: 12px; }
.check { display: flex; align-items: center; gap: 10px; padding: 6px 0; cursor: pointer; font-size: 14px; color: var(--ink-2); }
.check input { accent-color: var(--primary); width: 17px; height: 17px; }
.check .n { margin-left: auto; color: var(--muted); font-size: 12px; background: var(--bg); padding: 1px 8px; border-radius: 99px; }
.list-toolbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 22px; gap: 16px; flex-wrap: wrap; }
.list-layout .tour-grid { grid-template-columns: repeat(3, 1fr); gap: 22px; }
.pagination { display: flex; gap: 8px; justify-content: center; margin-top: 40px; }
.pagination a, .pagination span {
  min-width: 42px; height: 42px; display: grid; place-items: center; border-radius: 12px; background: #fff; border: 1px solid var(--line); font-weight: 600;
}
.pagination .active { background: var(--primary); color: #fff; border-color: var(--primary); }
.pagination a:hover { border-color: var(--primary); color: var(--primary); }
.empty { text-align: center; padding: 70px 20px; background: #fff; border-radius: var(--radius); border: 1px dashed var(--line); }
.empty [data-lucide] { width: 56px; height: 56px; color: var(--primary-100); margin: 0 auto 16px; }

/* ---------- Forms ---------- */
.form-row { display: grid; gap: 16px; grid-template-columns: 1fr 1fr; }
.form-row.three { grid-template-columns: repeat(3, 1fr); }
.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 600; font-size: 14px; margin-bottom: 7px; color: var(--ink-2); }
.field label .req { color: var(--danger); }
.input, .field input, .field select, .field textarea {
  width: 100%; padding: 12px 15px; border: 1.5px solid var(--line); border-radius: var(--radius-sm); background: #fff;
  font: 500 15px var(--font); color: var(--ink); outline: none; transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 100px; }
.input:focus, .field input:focus, .field select:focus, .field textarea:focus { border-color: var(--primary); box-shadow: 0 0 0 4px var(--primary-50); }
.input-icon { position: relative; }
.input-icon [data-lucide] { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--muted); }
.input-icon input { padding-left: 44px; }
select.input, .field select {
  appearance: none; padding-right: 40px; cursor: pointer;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%2364748b' stroke-width='2'%3E%3Cpath d='m4 6 4 4 4-4'/%3E%3C/svg%3E") no-repeat right 14px center;
}
.hint { font-size: 12px; color: var(--muted); margin-top: 5px; }

.card { background: #fff; border-radius: var(--radius); border: 1px solid var(--line); padding: 28px; }
.card-title { font-size: 19px; font-weight: 700; display: flex; align-items: center; gap: 10px; margin-bottom: 20px; }
.card-title .num {
  width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-size: 14px; background: var(--primary); color: #fff;
}

/* ---------- Tour detail ---------- */
.detail-head { padding: 30px 0 20px; }
.detail-head h1 { font-size: clamp(26px, 3.4vw, 40px); font-weight: 800; max-width: 900px; }
.detail-meta { display: flex; flex-wrap: wrap; gap: 20px; color: var(--ink-2); font-size: 14px; align-items: center; }
.detail-meta span { display: inline-flex; gap: 6px; align-items: center; }
.gallery { display: grid; grid-template-columns: 2fr 1fr; grid-template-rows: 220px 220px; gap: 12px; border-radius: 24px; overflow: hidden; }
.gallery a { position: relative; overflow: hidden; display: block; }
.gallery a:first-child { grid-row: span 2; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; cursor: zoom-in; }
.gallery a:hover img { transform: scale(1.05); }
.detail-layout { display: grid; grid-template-columns: 1fr 380px; gap: 40px; margin-top: 36px; align-items: start; }
.quick-info { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 30px; }
.quick-info div { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 16px; }
.quick-info [data-lucide] { color: var(--primary); margin-bottom: 8px; width: 22px; height: 22px; }
.quick-info small { display: block; color: var(--muted); font-size: 12px; }
.quick-info strong { font-size: 15px; }
.tabs-nav { display: flex; gap: 6px; background: #fff; border: 1px solid var(--line); padding: 6px; border-radius: 16px; margin-bottom: 24px; position: sticky; top: 84px; z-index: 5; overflow-x: auto; }
.tabs-nav a { padding: 10px 18px; border-radius: 12px; font-weight: 600; font-size: 14px; color: var(--muted); white-space: nowrap; }
.tabs-nav a:hover, .tabs-nav a.active { background: var(--primary-50); color: var(--primary); }
.detail-section { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; margin-bottom: 24px; scroll-margin-top: 160px; }
.detail-section h2 { font-size: 22px; display: flex; gap: 10px; align-items: center; }
.detail-section h2 [data-lucide] { color: var(--primary); width: 24px; height: 24px; }

.timeline { position: relative; padding-left: 8px; }
.tl-item { position: relative; padding-left: 48px; padding-bottom: 8px; }
.tl-item::before { content: ''; position: absolute; left: 17px; top: 36px; bottom: -4px; width: 2px; background: repeating-linear-gradient(var(--primary-100) 0 6px, transparent 6px 10px); }
.tl-item:last-child::before { display: none; }
.tl-dot {
  position: absolute; left: 0; top: 4px; width: 36px; height: 36px; border-radius: 50%; background: var(--primary); color: #fff;
  display: grid; place-items: center; font-weight: 800; font-size: 13px; box-shadow: 0 0 0 5px var(--primary-50);
}
.tl-head { display: flex; justify-content: space-between; gap: 12px; cursor: pointer; padding: 8px 0 12px; align-items: flex-start; }
.tl-head h4 { font-size: 16px; margin: 0; }
.tl-head small { color: var(--accent); font-weight: 700; font-size: 12px; text-transform: uppercase; letter-spacing: .06em; display: block; margin-bottom: 2px; }
.tl-head .toggle { transition: transform .3s; color: var(--muted); }
.tl-item.open .tl-head .toggle { transform: rotate(180deg); }
.tl-body { display: none; color: var(--ink-2); padding-bottom: 18px; }
.tl-item.open .tl-body { display: block; animation: fadeIn .3s; }
.meals { display: inline-flex; gap: 6px; align-items: center; font-size: 13px; color: var(--primary); background: var(--primary-50); padding: 4px 12px; border-radius: 99px; font-weight: 600; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }

.inc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.inc-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.inc-list li { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--ink-2); }
.inc-list.yes [data-lucide] { color: var(--success); }
.inc-list.no [data-lucide] { color: var(--danger); }

.dep-table { width: 100%; border-collapse: collapse; }
.dep-table th { text-align: left; font-size: 12px; text-transform: uppercase; color: var(--muted); padding: 10px 12px; letter-spacing: .05em; }
.dep-table td { padding: 14px 12px; border-top: 1px solid var(--line); font-size: 14px; }
.seat-bar { height: 6px; background: var(--bg); border-radius: 99px; overflow: hidden; width: 100px; margin-top: 4px; }
.seat-bar span { display: block; height: 100%; background: linear-gradient(90deg, var(--primary), #19b3a8); border-radius: 99px; }

.booking-widget { position: sticky; top: 94px; background: #fff; border-radius: 24px; box-shadow: var(--shadow-lg); padding: 28px; border: 1px solid var(--line); }
.booking-widget .price { font-size: 32px; }
.booking-widget .save { display: inline-block; background: var(--accent-50); color: var(--accent); font-weight: 700; font-size: 12px; padding: 4px 10px; border-radius: 8px; }
.qty { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; border-bottom: 1px solid var(--line); }
.qty small { display: block; color: var(--muted); font-size: 12px; }
.qty-ctrl { display: flex; align-items: center; gap: 12px; }
.qty-ctrl button {
  width: 34px; height: 34px; border-radius: 50%; border: 1.5px solid var(--line); background: #fff; cursor: pointer; font-size: 18px;
  display: grid; place-items: center; color: var(--ink); transition: .2s;
}
.qty-ctrl button:hover { border-color: var(--primary); color: var(--primary); }
.qty-ctrl input { width: 32px; text-align: center; border: 0; font: 700 16px var(--font); outline: none; background: transparent; }
.total-row { display: flex; justify-content: space-between; align-items: center; padding: 18px 0; font-weight: 700; }
.total-row .amount { font-size: 24px; color: var(--accent); font-weight: 800; }
.trust { display: grid; gap: 10px; margin-top: 18px; font-size: 13px; color: var(--muted); }
.trust div { display: flex; gap: 8px; align-items: center; }
.trust [data-lucide] { color: var(--success); width: 16px; height: 16px; }

.review { display: flex; gap: 16px; padding: 20px 0; border-top: 1px solid var(--line); }
.review:first-of-type { border-top: 0; }
.review .stars [data-lucide] { width: 14px; height: 14px; color: var(--gold); fill: var(--gold); }
.review .stars [data-lucide].off { fill: none; color: var(--line); }
.rating-summary { display: flex; gap: 30px; align-items: center; padding: 20px; background: var(--bg); border-radius: 16px; margin-bottom: 10px; }
.rating-summary .big { font-size: 52px; font-weight: 800; line-height: 1; color: var(--primary); }
.star-input { display: flex; flex-direction: row-reverse; justify-content: flex-end; gap: 4px; }
.star-input input { display: none; }
.star-input label { cursor: pointer; color: var(--line); font-size: 28px; line-height: 1; transition: .15s; }
.star-input label:hover, .star-input label:hover ~ label, .star-input input:checked ~ label { color: var(--gold); }

/* lightbox */
.lightbox { position: fixed; inset: 0; background: rgba(5, 10, 20, .92); z-index: 200; display: none; align-items: center; justify-content: center; padding: 40px; }
.lightbox.open { display: flex; animation: fadeIn .25s; }
.lightbox img { max-height: 88vh; border-radius: 16px; box-shadow: var(--shadow-lg); }
.lightbox button { position: absolute; top: 20px; right: 24px; background: rgba(255, 255, 255, .12); border: 0; color: #fff; width: 46px; height: 46px; border-radius: 50%; cursor: pointer; display: grid; place-items: center; }

/* ---------- Checkout ---------- */
.steps { display: flex; gap: 0; justify-content: center; margin: 36px 0; counter-reset: s; }
.step { display: flex; align-items: center; gap: 10px; color: var(--muted); font-weight: 600; font-size: 14px; }
.step + .step::before { content: ''; width: 70px; height: 2px; background: var(--line); margin: 0 16px; }
.step .n { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: #fff; border: 2px solid var(--line); }
.step.done .n { background: var(--success); color: #fff; border-color: var(--success); }
.step.active { color: var(--ink); }
.step.active .n { background: var(--primary); color: #fff; border-color: var(--primary); box-shadow: 0 0 0 5px var(--primary-50); }
.step.done + .step::before, .step.done + .step.active::before { background: var(--success); }
.checkout-layout { display: grid; grid-template-columns: 1fr 400px; gap: 30px; align-items: start; }
.checkout-layout .card + .card { margin-top: 24px; }
.summary { position: sticky; top: 94px; }
.summary-tour { display: flex; gap: 14px; padding-bottom: 18px; border-bottom: 1px solid var(--line); margin-bottom: 14px; }
.summary-tour img { width: 96px; height: 80px; object-fit: cover; border-radius: 12px; }
.summary-tour h4 { font-size: 15px; margin-bottom: 6px; }
.sum-line { display: flex; justify-content: space-between; padding: 7px 0; font-size: 14px; color: var(--ink-2); }
.sum-line.discount { color: var(--success); }
.sum-total { display: flex; justify-content: space-between; align-items: center; padding-top: 16px; margin-top: 10px; border-top: 2px dashed var(--line); }
.sum-total strong { font-size: 26px; color: var(--accent); }

.dep-options { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 10px; }
.dep-opt input { display: none; }
.dep-opt label {
  display: block; padding: 12px; border: 1.5px solid var(--line); border-radius: 14px; cursor: pointer; text-align: center; transition: .2s; background: #fff;
}
.dep-opt label:hover { border-color: var(--primary-100); }
.dep-opt input:checked + label { border-color: var(--primary); background: var(--primary-50); box-shadow: 0 0 0 3px var(--primary-50); }
.dep-opt .d { font-weight: 800; font-size: 16px; }
.dep-opt .w { font-size: 12px; color: var(--muted); }
.dep-opt .s { font-size: 11px; color: var(--success); font-weight: 600; }
.dep-opt .s.low { color: var(--accent); }

.pay-methods { display: grid; gap: 12px; }
.pay-opt input { display: none; }
.pay-opt label {
  display: flex; align-items: center; gap: 14px; padding: 16px 18px; border: 1.5px solid var(--line); border-radius: 16px; cursor: pointer; transition: .2s;
}
.pay-opt input:checked + label { border-color: var(--primary); background: var(--primary-50); }
.pay-opt .logo-box { width: 52px; height: 36px; border-radius: 8px; display: grid; place-items: center; font-weight: 800; font-size: 12px; color: #fff; flex-shrink: 0; }
.pay-opt .radio { margin-left: auto; width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--line); position: relative; }
.pay-opt input:checked + label .radio { border-color: var(--primary); }
.pay-opt input:checked + label .radio::after { content: ''; position: absolute; inset: 3px; border-radius: 50%; background: var(--primary); }
.pay-opt small { display: block; color: var(--muted); font-size: 12px; }
.lb-vnpay { background: linear-gradient(135deg, #005baa, #ed1c24); }
.lb-momo { background: #a50064; }
.lb-card { background: linear-gradient(135deg, #1a1f71, #f7b600); }
.lb-bank { background: var(--primary); }
.lb-cash { background: #475569; }
.coupon-row { display: flex; gap: 8px; }
.coupon-row input { flex: 1; }
.coupon-msg { font-size: 13px; margin-top: 8px; font-weight: 600; }
.coupon-msg.ok { color: var(--success); } .coupon-msg.err { color: var(--danger); }

/* Payment gateway */
.gateway { max-width: 980px; margin: 0 auto; display: grid; grid-template-columns: 1fr 360px; gap: 28px; }
.gw-tabs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-bottom: 24px; }
.gw-tab { border: 1.5px solid var(--line); border-radius: 14px; padding: 14px 8px; text-align: center; cursor: pointer; background: #fff; font: 600 13px var(--font); color: var(--ink-2); transition: .2s; }
.gw-tab .logo-box { margin: 0 auto 8px; width: 46px; height: 32px; border-radius: 8px; display: grid; place-items: center; color: #fff; font-weight: 800; font-size: 11px; }
.gw-tab.active { border-color: var(--primary); background: var(--primary-50); color: var(--primary); }
.gw-pane { display: none; } .gw-pane.active { display: block; animation: fadeIn .3s; }
.qr-box { display: flex; gap: 28px; align-items: center; }
.qr { width: 210px; height: 210px; padding: 12px; background: #fff; border-radius: 18px; border: 1px solid var(--line); box-shadow: var(--shadow); flex-shrink: 0; position: relative; }
.qr svg { width: 100%; height: 100%; }
.qr .scan { position: absolute; left: 12px; right: 12px; height: 3px; background: linear-gradient(90deg, transparent, var(--accent), transparent); animation: scan 2.2s ease-in-out infinite; top: 12px; border-radius: 3px; }
@keyframes scan { 0%, 100% { top: 14px; } 50% { top: calc(100% - 16px); } }
.qr-steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; counter-reset: q; }
.qr-steps li { display: flex; gap: 10px; font-size: 14px; color: var(--ink-2); counter-increment: q; }
.qr-steps li::before { content: counter(q); width: 24px; height: 24px; border-radius: 50%; background: var(--primary-50); color: var(--primary); font-weight: 800; font-size: 12px; display: grid; place-items: center; flex-shrink: 0; }
.timer { display: inline-flex; gap: 8px; align-items: center; background: var(--accent-50); color: var(--accent); font-weight: 700; padding: 8px 14px; border-radius: 10px; font-size: 14px; }

.credit-card {
  aspect-ratio: 1.586; border-radius: 20px; padding: 24px; color: #fff; position: relative; overflow: hidden; margin-bottom: 24px; max-width: 380px;
  background: linear-gradient(135deg, #0f2a44 0%, #0b6e75 55%, #ff6b3d 140%); box-shadow: var(--shadow-lg);
  display: flex; flex-direction: column; justify-content: space-between;
}
.credit-card::before { content: ''; position: absolute; width: 260px; height: 260px; border-radius: 50%; background: rgba(255, 255, 255, .08); right: -80px; top: -100px; }
.credit-card .chip-ic { width: 44px; height: 32px; border-radius: 6px; background: linear-gradient(135deg, #f8d77a, #c79a2e); }
.credit-card .num { font-size: 21px; letter-spacing: .12em; font-family: 'Courier New', monospace; font-weight: 700; }
.credit-card .row { display: flex; justify-content: space-between; font-size: 13px; text-transform: uppercase; }
.credit-card small { display: block; opacity: .7; font-size: 10px; }
.bank-info { background: var(--bg); border-radius: 16px; padding: 20px; display: grid; gap: 4px; }
.bank-info .line { display: flex; justify-content: space-between; align-items: center; padding: 10px 0; border-bottom: 1px dashed var(--line); font-size: 14px; }
.bank-info .line:last-child { border: 0; }
.copy { background: none; border: 0; color: var(--primary); cursor: pointer; display: inline-flex; gap: 4px; align-items: center; font: 600 12px var(--font); }
.processing { position: fixed; inset: 0; background: rgba(255, 255, 255, .92); backdrop-filter: blur(6px); z-index: 300; display: none; align-items: center; justify-content: center; flex-direction: column; gap: 18px; }
.processing.show { display: flex; }
.spinner { width: 56px; height: 56px; border-radius: 50%; border: 5px solid var(--primary-50); border-top-color: var(--primary); animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Success / invoice */
.success-hero { text-align: center; padding: 50px 0 30px; }
.success-ic {
  width: 96px; height: 96px; border-radius: 50%; background: var(--success); color: #fff; display: grid; place-items: center; margin: 0 auto 20px;
  box-shadow: 0 0 0 14px rgba(20, 164, 77, .12), 0 0 0 28px rgba(20, 164, 77, .06); animation: pop .6s cubic-bezier(.2, .9, .3, 1.4);
}
.success-ic.pending { background: var(--warning); box-shadow: 0 0 0 14px rgba(232, 163, 23, .14), 0 0 0 28px rgba(232, 163, 23, .06); }
.success-ic [data-lucide] { width: 48px; height: 48px; stroke-width: 3; }
@keyframes pop { from { transform: scale(0); } to { transform: scale(1); } }
.ticket { max-width: 820px; margin: 0 auto; background: #fff; border-radius: 24px; box-shadow: var(--shadow); overflow: hidden; border: 1px solid var(--line); }
.ticket-head { background: linear-gradient(120deg, var(--primary), #14a3a3); color: #fff; padding: 26px 32px; display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.ticket-head .code { font-size: 26px; font-weight: 800; letter-spacing: .06em; }
.ticket-cut { position: relative; height: 0; border-top: 2px dashed var(--line); margin: 0 24px; }
.ticket-cut::before, .ticket-cut::after { content: ''; position: absolute; width: 30px; height: 30px; border-radius: 50%; background: var(--bg); top: -16px; }
.ticket-cut::before { left: -40px; } .ticket-cut::after { right: -40px; }
.ticket-body { padding: 28px 32px; }
.info-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.info-grid small { display: block; color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .05em; margin-bottom: 2px; }
.info-grid strong { font-size: 15px; }

/* Badges */
.badge { display: inline-flex; align-items: center; gap: 5px; padding: 4px 10px; border-radius: 99px; font-size: 12px; font-weight: 600; white-space: nowrap; }
.badge::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.badge-success { background: #e7f7ee; color: var(--success); }
.badge-warning { background: #fdf4e1; color: #b97c00; }
.badge-danger { background: #fdeaea; color: var(--danger); }
.badge-info { background: #e8f0fe; color: var(--info); }
.badge-muted { background: #eef1f5; color: var(--muted); }

/* Auth */
.auth-wrap { min-height: calc(100vh - 112px); display: grid; grid-template-columns: 1fr 1fr; }
.auth-side { position: relative; color: #fff; padding: 60px; display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; }
.auth-side img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.auth-side::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11, 110, 117, .2), rgba(8, 20, 35, .85)); z-index: -1; }
.auth-side h2 { font-size: 40px; font-weight: 800; }
.auth-form { display: flex; align-items: center; justify-content: center; padding: 60px 30px; }
.auth-form .inner { width: 100%; max-width: 420px; }
.auth-form h1 { font-size: 32px; font-weight: 800; }
.demo-box { background: var(--primary-50); border: 1px dashed var(--primary-100); border-radius: 14px; padding: 14px 16px; font-size: 13px; margin-top: 22px; color: var(--ink-2); }
.divider { display: flex; align-items: center; gap: 14px; color: var(--muted); font-size: 13px; margin: 22px 0; }
.divider::before, .divider::after { content: ''; flex: 1; height: 1px; background: var(--line); }

/* Account */
.account-layout { display: grid; grid-template-columns: 280px 1fr; gap: 30px; padding-top: 40px; align-items: start; }
.side-card { background: #fff; border-radius: var(--radius); border: 1px solid var(--line); padding: 24px; position: sticky; top: 94px; }
.side-card .avatar { width: 72px; height: 72px; font-size: 26px; margin: 0 auto 12px; }
.side-nav { display: grid; gap: 4px; margin-top: 20px; }
.side-nav a { display: flex; gap: 10px; align-items: center; padding: 11px 14px; border-radius: 12px; font-weight: 500; color: var(--ink-2); }
.side-nav a:hover, .side-nav a.active { background: var(--primary-50); color: var(--primary); }
.stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-bottom: 26px; }
.stat-mini { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 18px 20px; display: flex; gap: 14px; align-items: center; }
.stat-mini .ic { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--primary-50); color: var(--primary); }
.stat-mini:nth-child(2) .ic { background: var(--accent-50); color: var(--accent); }
.stat-mini:nth-child(3) .ic { background: #e7f7ee; color: var(--success); }
.stat-mini strong { font-size: 20px; display: block; }
.stat-mini small { color: var(--muted); }
.booking-item { display: grid; grid-template-columns: 120px 1fr auto; gap: 18px; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 14px; margin-bottom: 14px; align-items: center; transition: .2s; }
.booking-item:hover { box-shadow: var(--shadow); }
.booking-item img { width: 120px; height: 96px; object-fit: cover; border-radius: 12px; }
.booking-item h4 { font-size: 16px; margin-bottom: 6px; }

/* Tables (shared) */
.table-wrap { overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; font-size: 14px; }
.table th { text-align: left; font-weight: 600; font-size: 12px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); padding: 12px 14px; background: #f8fafc; white-space: nowrap; }
.table td { padding: 14px; border-top: 1px solid var(--line); vertical-align: middle; }
.table tr:hover td { background: #fafcfd; }
.table .thumb-sm { width: 52px; height: 40px; border-radius: 8px; object-fit: cover; }

/* Misc pages */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about-imgs { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.about-imgs img { border-radius: 20px; height: 260px; width: 100%; object-fit: cover; }
.about-imgs img:first-child { grid-row: span 2; height: 536px; }
.counter-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 30px; }
.counter-grid div { background: #fff; border-radius: 16px; padding: 20px; border: 1px solid var(--line); }
.counter-grid strong { font-size: 30px; color: var(--primary); display: block; font-weight: 800; }
.contact-grid { display: grid; grid-template-columns: 380px 1fr; gap: 30px; }
.contact-card { display: flex; gap: 16px; padding: 20px; background: #fff; border-radius: 16px; border: 1px solid var(--line); margin-bottom: 14px; }
.contact-card .ic { width: 48px; height: 48px; border-radius: 14px; background: var(--primary-50); color: var(--primary); display: grid; place-items: center; flex-shrink: 0; }
.region-title { font-size: 22px; font-weight: 800; margin: 40px 0 20px; display: flex; align-items: center; gap: 12px; }
.region-title::after { content: ''; flex: 1; height: 1px; background: var(--line); }
.dest-list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.dest-list .dest-card { height: 300px; grid-column: auto !important; grid-row: auto !important; }

.error-page { text-align: center; padding: 100px 20px; }
.error-page .code { font-size: 140px; font-weight: 800; line-height: 1; background: linear-gradient(135deg, var(--primary), var(--accent)); -webkit-background-clip: text; background-clip: text; color: transparent; }

.back-top {
  position: fixed; right: 24px; bottom: 24px; width: 48px; height: 48px; border-radius: 50%; background: var(--primary); color: #fff; border: 0; cursor: pointer;
  display: grid; place-items: center; box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(20px); transition: .3s; z-index: 40;
}
.back-top.show { opacity: 1; visibility: visible; transform: none; }

.reveal { opacity: 0; transform: translateY(30px); transition: opacity .8s ease, transform .8s cubic-bezier(.2, .8, .2, 1); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .tour-grid, .list-layout .tour-grid { grid-template-columns: repeat(2, 1fr); }
  .deal-grid, .features, .dest-list { grid-template-columns: repeat(2, 1fr); }
  .search-box { grid-template-columns: 1fr 1fr; }
  .search-field + .search-field { border-left: 0; }
  .search-box .btn { grid-column: span 2; padding: 16px; }
  .detail-layout, .checkout-layout, .gateway { grid-template-columns: 1fr; }
  .booking-widget, .summary { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .nav { position: fixed; top: 112px; left: 0; right: 0; background: #fff; flex-direction: column; padding: 16px; box-shadow: var(--shadow-lg); display: none; }
  .nav.open { display: flex; }
  .menu-toggle { display: block; }
  .header .container { justify-content: space-between; }
  .header-actions .btn-text { display: none; }
  .list-layout, .account-layout, .contact-grid, .about-grid, .auth-wrap { grid-template-columns: 1fr; }
  .filter-card, .side-card { position: static; }
  .auth-side { display: none; }
  .dest-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 200px; }
  .dest-card:nth-child(1) { grid-column: span 2; grid-row: span 1; }
  .dest-card:nth-child(4) { grid-row: span 1; }
  .testi-grid, .cta { grid-template-columns: 1fr; }
  .cta { padding: 36px 26px; }
  .quick-info { grid-template-columns: 1fr 1fr; }
  .stat-row, .info-grid, .counter-grid { grid-template-columns: 1fr 1fr; }
  .hero-stats { gap: 24px; flex-wrap: wrap; }
  .topbar .hide-sm { display: none; }
}
@media (max-width: 600px) {
  body { font-size: 14px; }
  .container { padding: 0 16px; }
  .tour-grid, .list-layout .tour-grid, .deal-grid, .features, .dest-list, .footer-grid, .form-row, .form-row.three, .inc-grid { grid-template-columns: 1fr; }
  .search-box { grid-template-columns: 1fr; }
  .search-box .btn { grid-column: auto; }
  .hero { min-height: 0; }
  section.block { padding: 60px 0; }
  .section-head { flex-direction: column; align-items: flex-start; }
  .gallery { grid-template-columns: 1fr; grid-template-rows: 240px; }
  .gallery a:not(:first-child) { display: none; }
  .gallery a:first-child { grid-row: auto; }
  .booking-item { grid-template-columns: 1fr; }
  .booking-item img { width: 100%; height: 160px; }
  .steps .step span.lbl { display: none; }
  .step + .step::before { width: 36px; margin: 0 8px; }
  .qr-box { flex-direction: column; }
  .gw-tabs { grid-template-columns: 1fr 1fr; }
  .card, .detail-section { padding: 20px; }
  .ticket-head, .ticket-body { padding: 20px; }
  .ticket-head { flex-direction: column; align-items: flex-start; }
  .footer-bottom { flex-direction: column; gap: 8px; }
  .topbar { display: none; }
  .nav { top: 74px; }
  .flash-wrap { left: 16px; right: 16px; top: 84px; }
}

/* Header trong suốt trên hero trang chủ */
.is-home .header:not(.scrolled) { background: transparent; border-color: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; }
.is-home .header:not(.scrolled) .logo, .is-home .header:not(.scrolled) .menu-toggle { color: #fff; }
.is-home .header:not(.scrolled) .nav a { color: rgba(255, 255, 255, .9); }
.is-home .header:not(.scrolled) .nav a:hover, .is-home .header:not(.scrolled) .nav a.active { background: rgba(255, 255, 255, .16); color: #fff; }
.is-home .header:not(.scrolled) .btn-ghost { color: #fff; }
.is-home .header:not(.scrolled) .btn-ghost:hover { background: rgba(255, 255, 255, .16); }
@media (max-width: 860px) { .is-home .header:not(.scrolled) .nav a { color: var(--ink-2); } }
.tour-card .thumb > a { display: block; height: 100%; }
.detail-layout > *, .checkout-layout > *, .list-layout > *, .account-layout > *, .gateway > *, .contact-grid > * { min-width: 0; }
@media (max-width: 600px) {
  .header .container { gap: 12px; }
  .header-actions { gap: 4px; }
  .header-actions .btn-primary { display: none; }
  .logo { font-size: 20px; }
}

/* Cổng thanh toán thật */
.gw-redirect { display: flex; gap: 22px; align-items: flex-start; background: var(--bg); border-radius: 18px; padding: 24px; }
.logo-box.big { width: 76px; height: 52px; border-radius: 14px; font-size: 15px; display: grid; place-items: center; color: #fff; font-weight: 800; flex-shrink: 0; }
.demo-banner { display: flex; gap: 12px; align-items: flex-start; background: #fff8e6; border: 1px solid #f5dfa6; color: #7a5600; padding: 12px 16px; border-radius: 14px; font-size: 13px; margin-bottom: 20px; }
.demo-banner [data-lucide] { color: #c58a00; }
.nowrap { white-space: nowrap; }
@media (max-width: 600px) { .gw-redirect { flex-direction: column; padding: 18px; } }
.gw-tabs { grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); }
.bank-pane { display: grid; grid-template-columns: 220px 1fr; gap: 20px; align-items: start; }
.bank-pane:not(:has(.vietqr)) { grid-template-columns: 1fr; }
.vietqr { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 12px; text-align: center; box-shadow: var(--shadow-sm); }
.vietqr img { width: 100%; border-radius: 10px; }
.vietqr small { display: block; color: var(--muted); font-size: 11px; margin-top: 6px; line-height: 1.4; }
@media (max-width: 600px) { .bank-pane { grid-template-columns: 1fr; } .vietqr { max-width: 260px; margin: 0 auto; } }
.gw-tabs { grid-template-columns: repeat(auto-fit, minmax(84px, 1fr)); gap: 8px; }
.gw-tab { padding: 12px 4px; font-size: 12px; }
.bank-info .line { gap: 12px; }
.bank-info .line > .muted { white-space: nowrap; flex-shrink: 0; }
.bank-info .line > :last-child { text-align: right; }
.policy-list { margin: 0; padding: 0; list-style: none; counter-reset: p; display: grid; gap: 14px; }
.policy-list li { counter-increment: p; display: flex; gap: 14px; color: var(--ink-2); font-size: 15px; }
.policy-list li::before { content: counter(p); width: 28px; height: 28px; border-radius: 50%; background: var(--primary-50); color: var(--primary); font-weight: 800; font-size: 13px; display: grid; place-items: center; flex-shrink: 0; }
