/* ============================================================
   MONTRAVEL-UI.CSS — biến màu/chữ, nút, đầu trang, nút nổi, chân trang
   v3.0.0: giao diện sáng, đơn giản (duyệt 05/12/2026)
   ============================================================ */

/* ── 1. RESET & BASE ─────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { font-family: var(--mt-font-body); color: var(--mt-ink); background: #fff; line-height: 1.65; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }

/* ── 2. CSS VARIABLES ────────────────────────────────────── */
:root {
  /* Tên biến giữ như bản cũ để các tệp CSS khác dùng tiếp; giá trị đổi sang bảng màu xanh lá của logo */
  --mt-ink:         #14211b;
  --mt-navy:        #0b3a2a;
  --mt-navy-dark:   #072619;
  --mt-blue:        #0d6b47;
  --mt-blue-mid:    #094f34;
  --mt-sky:         #7fd1a8;
  --mt-gold:        #d99a17;
  --mt-gold-dark:   #b57e0c;
  --mt-coral:       #e0604c;

  --mt-gray-50:     #f5f8f6;
  --mt-gray-100:    #eef2f0;
  --mt-gray-200:    #e6ebe8;
  --mt-gray-500:    #5d6b64;
  --mt-gray-700:    #33423a;
  --mt-gray-900:    #14211b;

  --mt-font-display: 'Be Vietnam Pro', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mt-font-body:    'Be Vietnam Pro', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --mt-container:   1160px;
  --mt-header-h:    68px;
  --mt-radius:      12px;
  --mt-radius-lg:   18px;

  --mt-shadow-sm:   0 2px 8px rgba(20,33,27,.05);
  --mt-shadow-md:   0 8px 24px rgba(20,33,27,.08);
  --mt-shadow-lg:   0 16px 40px rgba(20,33,27,.12);
}

/* ── 3. UTILITIES ────────────────────────────────────────── */
.mt-container { max-width: var(--mt-container); margin: 0 auto; padding: 0 20px; }
.mt-section { padding: 76px 0 0; }
.mt-section-sm { padding: 76px 0 0; }
.mt-section-title { font-family: var(--mt-font-display); font-size: clamp(24px, 3vw, 32px); font-weight: 700; color: var(--mt-ink); line-height: 1.25; letter-spacing: -.015em; text-wrap: balance; }
.mt-section-sub { font-size: 16px; color: var(--mt-gray-500); margin-top: 6px; max-width: 62ch; }
.mt-section-head { margin-bottom: 28px; }
.mt-badge { display: block; color: var(--mt-blue); font-size: 14px; font-weight: 600; margin-bottom: 10px; }

/* Nút */
.mt-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 22px; border-radius: 10px; font-family: var(--mt-font-body); font-size: 15px; font-weight: 600; line-height: 1.3; cursor: pointer; border: 1px solid transparent; transition: background .2s, border-color .2s, color .2s; white-space: nowrap; }
.mt-btn-primary, .mt-btn-gold { background: var(--mt-blue); color: #fff; }
.mt-btn-primary:hover, .mt-btn-gold:hover { background: var(--mt-blue-mid); color: #fff; }
.mt-btn-outline { background: #fff; color: var(--mt-ink); border-color: var(--mt-gray-200); }
.mt-btn-outline:hover { border-color: var(--mt-blue); color: var(--mt-blue); }
.mt-btn-white { background: #fff; color: var(--mt-blue-mid); border-color: var(--mt-gray-200); }
.mt-btn-white:hover { background: var(--mt-gray-100); }

/* ── 4. HEADER ───────────────────────────────────────────── */
.mt-header { position: fixed; top: 0; left: 0; right: 0; height: var(--mt-header-h); background: #fff; z-index: 9000; border-bottom: 1px solid var(--mt-gray-200); transition: box-shadow .25s; }
.mt-header.scrolled { box-shadow: var(--mt-shadow-md); }
.mt-nav-inner { max-width: var(--mt-container); margin: 0 auto; padding: 0 20px; height: var(--mt-header-h); display: flex; align-items: center; gap: 18px; }
.mt-logo { display: flex; align-items: center; flex-shrink: 0; }
.mt-logo img { height: 32px; width: auto; object-fit: contain; }

.mt-nav-links { display: flex; align-items: center; gap: 2px; margin-right: auto; }
.mt-nav-links a { display: block; color: var(--mt-ink); font-size: 14.5px; font-weight: 500; padding: 8px 10px; border-radius: 8px; white-space: nowrap; }
.mt-nav-links a:hover, .mt-nav-links a.active { color: var(--mt-blue); background: var(--mt-gray-50); }

.mt-nav-dropdown { position: relative; }
.mt-nav-dropdown > a::after { content: ' ▾'; font-size: 10px; opacity: .5; }
.mt-dropdown-menu { display: none; position: absolute; top: 100%; left: 0; min-width: 220px; background: #fff; border: 1px solid var(--mt-gray-200); border-radius: var(--mt-radius); box-shadow: var(--mt-shadow-lg); padding: 8px; }
.mt-nav-dropdown:hover .mt-dropdown-menu, .mt-nav-dropdown:focus-within .mt-dropdown-menu { display: block; }
.mt-dropdown-menu a { font-weight: 400; font-size: 14px; padding: 9px 12px; }

.mt-nav-cta { display: flex; align-items: center; gap: 14px; flex-shrink: 0; margin-left: auto; }
.mt-btn-hotline { font-size: 14px; font-weight: 600; color: var(--mt-ink); white-space: nowrap; }
.mt-btn-hotline:hover { color: var(--mt-blue); }
.mt-header-cta { background: var(--mt-blue); color: #fff; font-size: 14px; font-weight: 600; padding: 10px 16px; border-radius: 10px; border: 0; cursor: pointer; white-space: nowrap; }
.mt-header-cta:hover { background: var(--mt-blue-mid); color: #fff; }

.mt-flag-en { display: inline-flex; align-items: center; gap: 5px; flex: 0 0 auto; padding: 6px 8px; border: 1px solid var(--mt-gray-200); border-radius: 8px; color: var(--mt-gray-700); font-size: 12px; font-weight: 700; line-height: 1; }
.mt-flag-en:hover { border-color: var(--mt-blue); }
.mt-flag-en svg { display: block; border-radius: 2px; }

.mt-hamburger { display: none; flex-direction: column; justify-content: center; align-items: center; gap: 5px; width: 40px; height: 38px; background: #fff; border: 1px solid var(--mt-gray-200); border-radius: 8px; cursor: pointer; }
.mt-hamburger span { display: block; width: 18px; height: 2px; background: var(--mt-ink); border-radius: 2px; }

.mt-mobile-menu { display: none; position: fixed; top: var(--mt-header-h); left: 0; right: 0; background: #fff; z-index: 8999; padding: 8px 16px 18px; border-bottom: 1px solid var(--mt-gray-200); box-shadow: var(--mt-shadow-lg); max-height: calc(100vh - var(--mt-header-h)); overflow-y: auto; }
.mt-mobile-menu.open { display: block; }
.mt-mobile-menu a { display: block; color: var(--mt-ink); font-size: 15px; font-weight: 600; padding: 11px 8px; border-bottom: 1px solid var(--mt-gray-100); }
.mt-mobile-menu a.mt-mobile-sub { padding-left: 24px; font-size: 14px; font-weight: 400; color: var(--mt-gray-500); }
.mt-mobile-menu .mt-mobile-cta { display: flex; gap: 10px; margin-top: 14px; }
.mt-mobile-menu .mt-mobile-cta a { flex: 1; text-align: center; border: 1px solid var(--mt-blue); border-radius: 10px; color: var(--mt-blue); }
.mt-mobile-menu .mt-mobile-cta a:last-child { background: var(--mt-blue); color: #fff; }

/* ── 5. NÚT NỔI ──────────────────────────────────────────── */
.mt-float-wrap { position: fixed; right: 16px; bottom: 72px; display: flex; flex-direction: column; gap: 10px; z-index: 7000; }
.mt-float-btn { width: 48px; height: 48px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 700; color: #fff; box-shadow: var(--mt-shadow-lg); border: 0; cursor: pointer; }
.mt-float-zalo { background: #0068ff; }
.mt-float-phone { background: var(--mt-blue); }
.mt-float-top { position: fixed; right: 20px; bottom: 18px; width: 40px; height: 40px; border-radius: 50%; background: #fff; color: var(--mt-ink); border: 1px solid var(--mt-gray-200); display: none; align-items: center; justify-content: center; font-size: 16px; cursor: pointer; z-index: 7000; box-shadow: var(--mt-shadow-md); }
.mt-float-top.visible { display: flex; }

/* ── 6. FOOTER ───────────────────────────────────────────── */
#mt-footer { margin-top: 76px; background: var(--mt-gray-50); border-top: 1px solid var(--mt-gray-200); color: var(--mt-ink); font-size: 14px; }
.mt-footer-topbar { padding: 40px 0 0; }
.mt-footer-topbar-inner { max-width: var(--mt-container); margin: 0 auto; padding: 0 20px 28px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.mt-footer-topbar-inner > div { padding-bottom: 4px; min-width: 0; }
.mt-footer-topbar-label { font-size: 12px; color: var(--mt-gray-500); }
.mt-footer-topbar-value { font-weight: 600; overflow-wrap: anywhere; }
.mt-footer-main { padding: 36px 0 12px; }
.mt-footer-topbar + .mt-footer-main { border-top: 1px solid var(--mt-gray-200); }
.mt-footer-grid { max-width: var(--mt-container); margin: 0 auto; padding: 0 20px; display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 30px; }
.mt-footer-grid > div { min-width: 0; overflow-wrap: anywhere; }
.mt-footer-brand-logo { font-size: 22px; font-weight: 700; color: var(--mt-blue); margin-bottom: 12px; }
.mt-footer-brand-logo span { color: var(--mt-gold); }
.mt-footer-brand-logo img { height: 30px; width: auto; }
.mt-footer-brand-desc { color: var(--mt-gray-500); max-width: 36ch; margin-bottom: 14px; }
.mt-footer-socials { display: flex; flex-wrap: wrap; gap: 8px; }
.mt-footer-social-btn { padding: 6px 12px; border: 1px solid var(--mt-gray-200); border-radius: 999px; background: #fff; font-size: 13px; font-weight: 600; color: var(--mt-gray-700); }
.mt-footer-social-btn:hover { border-color: var(--mt-blue); color: var(--mt-blue); }
.mt-footer-col-title { font-size: 14px; font-weight: 700; margin-bottom: 10px; }
.mt-footer-col ul { list-style: none; }
.mt-footer-col li { padding: 3px 0; color: var(--mt-gray-500); }
.mt-footer-col li a:hover { color: var(--mt-blue); }
.mt-footer-bottom-bar { padding: 18px 20px 26px; }
.mt-footer-bottom-inner { max-width: calc(var(--mt-container) - 40px); margin: 0 auto; padding-top: 18px; border-top: 1px solid var(--mt-gray-200); display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.mt-footer-copy, .mt-footer-legal a { font-size: 13px; color: var(--mt-gray-500); }
.mt-footer-legal { display: flex; flex-wrap: wrap; gap: 18px; }
.mt-footer-legal a:hover { color: var(--mt-blue); }

/* ── 7. BREADCRUMB ───────────────────────────────────────── */
.mt-breadcrumb {
  background: var(--mt-gray-50);
  border-bottom: 1px solid var(--mt-gray-200);
  padding: 12px 0;
}
.mt-breadcrumb-inner {
  max-width: var(--mt-container);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--mt-gray-500);
}
.mt-breadcrumb-inner a {
  color: var(--mt-blue);
  transition: color .2s;
}
.mt-breadcrumb-inner a:hover { color: var(--mt-navy); }
.mt-breadcrumb-sep { color: var(--mt-gray-200); }

/* ── 8. RESPONSIVE ───────────────────────────────────────── */
@media (max-width: 1100px) {
  .mt-nav-inner .mt-nav-links, .mt-nav-inner .mt-nav-cta { display: none; }
  .mt-nav-inner .mt-logo { margin-right: auto; }
  .mt-nav-inner .mt-hamburger { display: flex; }
}
@media (max-width: 900px) {
  .mt-footer-topbar-inner, .mt-footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .mt-section, .mt-section-sm { padding-top: 56px; }
  .mt-footer-topbar-inner, .mt-footer-grid { grid-template-columns: 1fr; gap: 18px; }
  .mt-footer-bottom-inner { flex-direction: column; text-align: center; }
  .mt-float-wrap { right: 12px; bottom: 68px; }
  .mt-float-btn { width: 44px; height: 44px; font-size: 12px; }
  .mt-float-top { right: 14px; }
  #mt-footer { padding-bottom: 8px; }
}
