/* ============================================================
   Năm Châu IMS — Cung ứng lao động nước ngoài vào Việt Nam
   Foreign Manpower Supply for Vietnam
   ============================================================ */

:root {
  --navy-950: #071c38;
  --navy-900: #0b2447;
  --navy-800: #10315e;
  --navy-700: #164079;
  --blue-600: #1f5fbf;
  --blue-100: #e3edfb;
  --gold-500: #f0a500;
  --gold-600: #d99400;
  --gold-100: #fdf3dd;
  --ink-900: #16233b;
  --ink-700: #33415e;
  --ink-500: #5b6b88;
  --line-200: #dfe6f0;
  --bg-50: #f6f8fc;
  --white: #ffffff;
  --radius: 14px;
  --shadow-sm: 0 1px 2px rgba(11, 36, 71, 0.06), 0 4px 14px rgba(11, 36, 71, 0.06);
  --shadow-md: 0 6px 24px rgba(11, 36, 71, 0.12);
  --container: 1140px;
  --font: "Be Vietnam Pro", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--ink-900);
  background: var(--white);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

/* ---------- Song ngữ / Bilingual switching ---------- */
html[data-lang="vi"] [lang="en"] { display: none !important; }
html[data-lang="en"] [lang="vi"] { display: none !important; }

img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 22px;
}

/* ============================================================
   Header
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid var(--line-200);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  height: 72px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  flex-shrink: 0;
}

.brand-badge {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--navy-800), var(--navy-950));
  color: var(--gold-500);
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 17px;
  letter-spacing: 0.5px;
  box-shadow: var(--shadow-sm);
}

.brand-text { line-height: 1.2; }

.brand-name {
  font-weight: 800;
  font-size: 16.5px;
  color: var(--navy-900);
  letter-spacing: 0.2px;
}

.brand-tag {
  font-size: 11px;
  color: var(--ink-500);
  font-weight: 500;
  letter-spacing: 0.6px;
  text-transform: uppercase;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}

.main-nav a {
  padding: 9px 10px;
  border-radius: 9px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-700);
  transition: color 0.15s, background 0.15s;
  white-space: nowrap;
}

@media (max-width: 1400px) and (min-width: 901px) {
  .btn-header .hotline-num { display: none; }
  .header-cta .btn-header { padding: 9px 12px; }
}

.main-nav a:hover { color: var(--navy-900); background: var(--bg-50); }

.main-nav a.active {
  color: var(--navy-900);
  background: var(--blue-100);
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.lang-switch {
  display: flex;
  border: 1.5px solid var(--line-200);
  border-radius: 9px;
  overflow: hidden;
}

.lang-switch button {
  border: 0;
  background: transparent;
  font-family: var(--font);
  font-size: 12.5px;
  font-weight: 700;
  padding: 6px 11px;
  cursor: pointer;
  color: var(--ink-500);
  transition: background 0.15s, color 0.15s;
}

.lang-switch button.on {
  background: var(--navy-900);
  color: var(--white);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 11px;
  font-family: var(--font);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  border: 0;
  transition: transform 0.15s, box-shadow 0.15s, background 0.15s;
  white-space: nowrap;
}

.btn:hover { transform: translateY(-1px); }

.btn-gold {
  background: var(--gold-500);
  color: var(--navy-950);
  box-shadow: 0 6px 18px rgba(240, 165, 0, 0.35);
}

.btn-gold:hover { background: #ffb61a; }

.btn-outline {
  background: transparent;
  border: 1.5px solid rgba(255, 255, 255, 0.45);
  color: var(--white);
}

.btn-outline:hover { border-color: var(--white); background: rgba(255, 255, 255, 0.08); }

.btn-navy {
  background: var(--navy-900);
  color: var(--white);
}

.btn-navy:hover { background: var(--navy-800); }

.btn-sm { padding: 9px 16px; font-size: 13.5px; border-radius: 9px; }

.header-cta .btn-header { display: inline-flex; }

.nav-toggle {
  display: none;
  border: 1.5px solid var(--line-200);
  background: var(--white);
  border-radius: 9px;
  width: 42px;
  height: 42px;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.nav-toggle span {
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: var(--navy-900);
  transition: transform 0.2s, opacity 0.2s;
}

/* ============================================================
   Hero
   ============================================================ */
.hero {
  position: relative;
  background:
    radial-gradient(1100px 500px at 85% -10%, rgba(31, 95, 191, 0.55), transparent 60%),
    radial-gradient(800px 420px at -10% 110%, rgba(240, 165, 0, 0.18), transparent 55%),
    linear-gradient(160deg, var(--navy-900) 0%, var(--navy-950) 70%);
  color: var(--white);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
  padding: 84px 0 90px;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.16);
  padding: 7px 15px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.3px;
  margin-bottom: 22px;
}

.hero-kicker .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold-500);
  box-shadow: 0 0 0 4px rgba(240, 165, 0, 0.25);
}

.hero h1 {
  font-size: clamp(32px, 4.6vw, 50px);
  line-height: 1.16;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 20px;
}

.hero h1 .accent { color: var(--gold-500); }

.hero-sub {
  font-size: 17.5px;
  color: rgba(255, 255, 255, 0.82);
  max-width: 560px;
  margin-bottom: 30px;
}

.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 38px; }

.hero-trust {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
}

.trust-item { line-height: 1.35; }

.trust-num {
  font-size: 26px;
  font-weight: 800;
  color: var(--gold-500);
}

.trust-label { font-size: 13px; color: rgba(255, 255, 255, 0.72); }

.hero-visual { position: relative; }

.hero-visual svg { width: 100%; height: auto; }

.hero-visual path.flow {
  stroke-dasharray: 7 9;
  stroke-linecap: round;
  opacity: 0.85;
  animation: flowdash 2.6s linear infinite;
}

@keyframes flowdash {
  to { stroke-dashoffset: -64; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-visual path.flow { animation: none; }
}

/* ============================================================
   Sections chung
   ============================================================ */
.section { padding: 84px 0; }
.section.alt { background: var(--bg-50); }

.section-head { max-width: 720px; margin-bottom: 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

.kicker {
  display: inline-block;
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--gold-600);
  margin-bottom: 12px;
}

.section-head h2 {
  font-size: clamp(26px, 3.2vw, 36px);
  line-height: 1.22;
  font-weight: 800;
  color: var(--navy-900);
  letter-spacing: -0.4px;
  margin-bottom: 14px;
}

.section-head p { color: var(--ink-500); font-size: 16.5px; }

/* ---------- Cards ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }

.card {
  background: var(--white);
  border: 1px solid var(--line-200);
  border-radius: var(--radius);
  padding: 28px 26px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.18s, box-shadow 0.18s;
}

.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }

.card-icon {
  width: 52px;
  height: 52px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  background: var(--blue-100);
  color: var(--navy-800);
}

.card-icon.gold { background: var(--gold-100); color: var(--gold-600); }

.card-icon svg { width: 26px; height: 26px; }

.card h3 {
  font-size: 18.5px;
  font-weight: 700;
  color: var(--navy-900);
  margin-bottom: 10px;
  line-height: 1.35;
}

.card p { font-size: 14.8px; color: var(--ink-500); }

.card .card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  font-size: 14px;
  font-weight: 700;
  color: var(--blue-600);
}

.card ul.ticks { margin-top: 14px; display: grid; gap: 9px; }

ul.ticks li {
  position: relative;
  padding-left: 26px;
  font-size: 14.6px;
  color: var(--ink-700);
}

ul.ticks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 3.5px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--gold-100);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23d99400' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 13l4 4 10-11'/%3E%3C/svg%3E");
  background-size: 10px;
  background-position: center;
  background-repeat: no-repeat;
}

/* ---------- Số liệu / Stats band ---------- */
.stats-band {
  background: linear-gradient(120deg, var(--navy-900), var(--navy-800));
  border-radius: 18px;
  padding: 40px 44px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
  color: var(--white);
  box-shadow: var(--shadow-md);
}

.stat h3 { font-size: 34px; font-weight: 800; color: var(--gold-500); }
.stat p { font-size: 14px; color: rgba(255, 255, 255, 0.78); margin-top: 4px; }

/* ---------- Steps / Quy trình ---------- */
.steps { display: grid; gap: 0; }

.step {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 22px;
  position: relative;
  padding-bottom: 34px;
}

.step:last-child { padding-bottom: 0; }

.step::before {
  content: "";
  position: absolute;
  left: 31px;
  top: 64px;
  bottom: 6px;
  width: 2px;
  background: linear-gradient(var(--line-200), var(--line-200));
}

.step:last-child::before { display: none; }

.step-num {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  background: var(--white);
  border: 1.5px solid var(--line-200);
  box-shadow: var(--shadow-sm);
  display: grid;
  place-items: center;
  font-size: 22px;
  font-weight: 800;
  color: var(--navy-800);
  position: relative;
  z-index: 1;
}

.step.gold .step-num { background: var(--gold-500); border-color: var(--gold-500); color: var(--navy-950); }

.step-body h3 { font-size: 18px; font-weight: 700; color: var(--navy-900); margin-bottom: 7px; margin-top: 6px; }
.step-body p { font-size: 15px; color: var(--ink-500); max-width: 640px; }

.step-badge {
  display: inline-block;
  margin-top: 10px;
  background: var(--blue-100);
  color: var(--navy-800);
  font-size: 12.5px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 999px;
}

/* ---------- Bảng ---------- */
.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line-200);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  background: var(--white);
}

table { width: 100%; border-collapse: collapse; font-size: 14.8px; min-width: 640px; }

thead th {
  background: var(--navy-900);
  color: var(--white);
  text-align: left;
  font-weight: 700;
  padding: 14px 18px;
  font-size: 14px;
  letter-spacing: 0.2px;
  white-space: nowrap;
}

tbody td { padding: 14px 18px; border-top: 1px solid var(--line-200); vertical-align: top; color: var(--ink-700); }

tbody tr:nth-child(even) { background: var(--bg-50); }

tbody td strong { color: var(--navy-900); }

/* ---------- Cờ / Flags & country cards ---------- */
.country-card { display: flex; flex-direction: column; }

.country-head { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }

.flag {
  width: 46px;
  height: 32px;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 0 0 1px rgba(11, 36, 71, 0.12), 0 2px 6px rgba(11, 36, 71, 0.14);
  flex-shrink: 0;
}

.flag svg { width: 100%; height: 100%; display: block; }

.country-head h3 { margin: 0; font-size: 18px; }

.country-sub { font-size: 12.5px; color: var(--ink-500); font-weight: 600; letter-spacing: 0.4px; text-transform: uppercase; }

.tagrow { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 16px; }

.tag {
  background: var(--bg-50);
  border: 1px solid var(--line-200);
  color: var(--ink-700);
  font-size: 12.5px;
  font-weight: 600;
  padding: 5px 11px;
  border-radius: 999px;
}

/* ---------- Đơn hàng / Job orders ---------- */
.filterbar {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 34px;
}

.chips { display: flex; flex-wrap: wrap; gap: 9px; align-items: center; }

.chips .chips-label {
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--ink-500);
  margin-right: 4px;
}

.chip {
  border: 1.5px solid var(--line-200);
  background: var(--white);
  color: var(--ink-700);
  font-family: var(--font);
  font-size: 13.5px;
  font-weight: 700;
  padding: 8px 16px;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, border 0.15s;
}

.chip:hover { border-color: var(--blue-600); color: var(--navy-900); }

.chip.on {
  background: var(--navy-900);
  border-color: var(--navy-900);
  color: var(--white);
}

.order-card { display: flex; flex-direction: column; gap: 14px; }

.order-top { display: flex; align-items: center; gap: 12px; }

.order-top .flag { width: 40px; height: 27px; }

.order-code {
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 0.6px;
  color: var(--ink-500);
}

.status-badge {
  margin-left: auto;
  font-size: 12px;
  font-weight: 800;
  padding: 5px 12px;
  border-radius: 999px;
  white-space: nowrap;
}

.st-open { background: #e5f6ec; color: #157347; }
.st-interview { background: var(--gold-100); color: #8a6100; }
.st-closed { background: #eef1f6; color: #6b7890; }

.order-card h3 { font-size: 18px; font-weight: 800; color: var(--navy-900); line-height: 1.35; margin: 0; }

.order-meta { display: grid; gap: 9px; }

.order-meta div {
  display: flex;
  gap: 10px;
  font-size: 14.4px;
  color: var(--ink-700);
  align-items: flex-start;
}

.order-meta svg { width: 17px; height: 17px; flex-shrink: 0; margin-top: 3px; color: var(--gold-600); }

.order-meta strong { color: var(--navy-900); }

.order-card .btn { margin-top: auto; }

.order-card.is-closed { opacity: 0.62; }

.orders-empty {
  text-align: center;
  color: var(--ink-500);
  padding: 40px 0;
  font-size: 15.5px;
}

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 14px; max-width: 860px; margin: 0 auto; }

.faq-item {
  background: var(--white);
  border: 1px solid var(--line-200);
  border-radius: 13px;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
  background: transparent;
  border: 0;
  cursor: pointer;
  font-family: var(--font);
  font-size: 16px;
  font-weight: 700;
  color: var(--navy-900);
  text-align: left;
}

.faq-q .chev {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--blue-100);
  display: grid;
  place-items: center;
  transition: transform 0.2s;
  color: var(--navy-800);
}

.faq-item.open .chev { transform: rotate(180deg); background: var(--gold-100); color: var(--gold-600); }

.faq-a { display: none; padding: 0 22px 20px; color: var(--ink-500); font-size: 15px; }

.faq-item.open .faq-a { display: block; }

/* ---------- CTA band ---------- */
.cta-band {
  background:
    radial-gradient(700px 300px at 90% 0%, rgba(240, 165, 0, 0.22), transparent 60%),
    linear-gradient(130deg, var(--navy-900), var(--navy-950));
  border-radius: 22px;
  color: var(--white);
  padding: 54px 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  box-shadow: var(--shadow-md);
}

.cta-band h2 { font-size: clamp(24px, 3vw, 32px); font-weight: 800; line-height: 1.25; margin-bottom: 10px; letter-spacing: -0.3px; }
.cta-band p { color: rgba(255, 255, 255, 0.8); font-size: 16px; max-width: 560px; }
.cta-band .btn { flex-shrink: 0; }

/* ---------- Page hero (trang con) ---------- */
.page-hero {
  background:
    radial-gradient(900px 380px at 80% -20%, rgba(31, 95, 191, 0.5), transparent 60%),
    linear-gradient(150deg, var(--navy-900), var(--navy-950));
  color: var(--white);
  padding: 64px 0 58px;
}

.page-hero .kicker { color: var(--gold-500); }

.page-hero h1 { font-size: clamp(28px, 3.8vw, 42px); font-weight: 800; letter-spacing: -0.5px; line-height: 1.18; margin-bottom: 14px; }

.page-hero p { color: rgba(255, 255, 255, 0.82); font-size: 17px; max-width: 680px; }

.breadcrumb { display: flex; gap: 8px; font-size: 13.5px; color: rgba(255, 255, 255, 0.6); margin-bottom: 20px; font-weight: 600; }
.breadcrumb a:hover { color: var(--white); }
.breadcrumb .sep { opacity: 0.5; }

/* ---------- Legal blocks ---------- */
.legal-card {
  border-left: 4px solid var(--gold-500);
  background: var(--white);
  border-radius: 12px;
  border-top: 1px solid var(--line-200);
  border-right: 1px solid var(--line-200);
  border-bottom: 1px solid var(--line-200);
  padding: 22px 26px;
  box-shadow: var(--shadow-sm);
}

.legal-card h3 { font-size: 16.5px; font-weight: 800; color: var(--navy-900); margin-bottom: 6px; }
.legal-card p { font-size: 14.6px; color: var(--ink-500); }

.notice {
  display: flex;
  gap: 14px;
  background: var(--gold-100);
  border: 1px solid #f3ddae;
  border-radius: 13px;
  padding: 18px 20px;
  font-size: 14.8px;
  color: #6b5310;
  align-items: flex-start;
}

.notice svg { flex-shrink: 0; width: 22px; height: 22px; margin-top: 2px; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 36px; align-items: start; }

.contact-info-card {
  background: linear-gradient(150deg, var(--navy-900), var(--navy-950));
  color: var(--white);
  border-radius: 18px;
  padding: 36px 34px;
  box-shadow: var(--shadow-md);
}

.contact-info-card h3 { font-size: 21px; font-weight: 800; margin-bottom: 8px; }
.contact-info-card > p { color: rgba(255, 255, 255, 0.75); font-size: 14.8px; margin-bottom: 26px; }

.c-row { display: flex; gap: 15px; padding: 15px 0; border-top: 1px solid rgba(255, 255, 255, 0.12); }

.c-row .c-ic {
  width: 42px;
  height: 42px;
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.09);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  color: var(--gold-500);
}

.c-row .c-ic svg { width: 20px; height: 20px; }

.c-row h4 { font-size: 13px; text-transform: uppercase; letter-spacing: 0.8px; color: rgba(255, 255, 255, 0.6); font-weight: 700; margin-bottom: 3px; }
.c-row p, .c-row a { font-size: 15px; font-weight: 600; color: var(--white); line-height: 1.5; }
.c-row a:hover { color: var(--gold-500); }

.form-card {
  background: var(--white);
  border: 1px solid var(--line-200);
  border-radius: 18px;
  padding: 36px 34px;
  box-shadow: var(--shadow-sm);
}

.form-card h3 { font-size: 21px; font-weight: 800; color: var(--navy-900); margin-bottom: 6px; }
.form-card > p { color: var(--ink-500); font-size: 14.8px; margin-bottom: 24px; }

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

.field { display: flex; flex-direction: column; gap: 7px; }
.field.full { grid-column: 1 / -1; }

.field label { font-size: 13.5px; font-weight: 700; color: var(--navy-900); }
.field label .req { color: #d23b3b; }

.field input, .field select, .field textarea {
  font-family: var(--font);
  font-size: 15px;
  color: var(--ink-900);
  border: 1.5px solid var(--line-200);
  border-radius: 10px;
  padding: 12px 14px;
  background: var(--bg-50);
  outline: none;
  transition: border 0.15s, background 0.15s;
  width: 100%;
}

.field textarea { resize: vertical; min-height: 110px; }

.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--blue-600);
  background: var(--white);
}

.form-note { font-size: 13px; color: var(--ink-500); margin-top: 14px; }

.map-wrap {
  margin-top: 60px;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--line-200);
  box-shadow: var(--shadow-sm);
}

.map-wrap iframe { width: 100%; height: 380px; border: 0; display: block; }

/* ============================================================
   Footer
   ============================================================ */
.site-footer {
  background: var(--navy-950);
  color: rgba(255, 255, 255, 0.75);
  padding: 64px 0 0;
  margin-top: 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 44px;
}

.footer-brand .brand-name { color: var(--white); }
.footer-brand .brand-tag { color: rgba(255, 255, 255, 0.55); }

.footer-desc { font-size: 14px; margin-top: 16px; line-height: 1.7; color: rgba(255, 255, 255, 0.62); }

.footer-license { margin-top: 16px; display: grid; gap: 6px; font-size: 13px; color: rgba(255, 255, 255, 0.55); }

.site-footer h4 {
  color: var(--white);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1.1px;
  font-weight: 800;
  margin-bottom: 18px;
}

.footer-links { display: grid; gap: 11px; font-size: 14.5px; }
.footer-links a:hover { color: var(--gold-500); }

.footer-contact { display: grid; gap: 12px; font-size: 14.5px; }
.footer-contact div { display: flex; gap: 10px; align-items: flex-start; }
.footer-contact svg { width: 17px; height: 17px; flex-shrink: 0; margin-top: 3px; color: var(--gold-500); }
.footer-contact a:hover { color: var(--gold-500); }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 20px 0;
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.5);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

/* ---------- Gallery hình ảnh hoạt động ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 14px;
}

.gallery-item {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  cursor: zoom-in;
  aspect-ratio: 4 / 3;
  border: 1px solid var(--line-200);
  background: var(--bg-50);
  box-shadow: var(--shadow-sm);
  margin: 0;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.25s ease;
}

.gallery-item:hover img { transform: scale(1.05); }

.gallery-sub {
  font-size: 19px;
  font-weight: 800;
  color: var(--navy-900);
  margin: 34px 0 16px;
}

.gallery-sub:first-of-type { margin-top: 0; }

/* Lightbox */
.lb {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(6, 15, 30, 0.93);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 34px;
}

.lb.open { display: flex; }

.lb img {
  max-width: 92vw;
  max-height: 86vh;
  border-radius: 10px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.55);
}

.lb button {
  position: absolute;
  border: 0;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  font-size: 22px;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background 0.15s;
}

.lb button:hover { background: rgba(255, 255, 255, 0.25); }

.lb .lb-close { top: 18px; right: 18px; }
.lb .lb-prev { left: 14px; top: 50%; transform: translateY(-50%); }
.lb .lb-next { right: 14px; top: 50%; transform: translateY(-50%); }

@media (max-width: 560px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .lb { padding: 12px; }
}

/* ---------- Nút Zalo nổi ---------- */
.zalo-fab {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 90;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #0068ff;
  color: #ffffff;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 15px;
  letter-spacing: 0.2px;
  box-shadow: 0 8px 24px rgba(0, 104, 255, 0.45);
  transition: transform 0.15s, box-shadow 0.15s;
}

.zalo-fab:hover { transform: translateY(-3px) scale(1.04); box-shadow: 0 12px 30px rgba(0, 104, 255, 0.55); }

.zalo-fab::after {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid rgba(0, 104, 255, 0.35);
  animation: zalopulse 2s ease-out infinite;
}

@keyframes zalopulse {
  0% { transform: scale(0.9); opacity: 1; }
  100% { transform: scale(1.35); opacity: 0; }
}

@media (prefers-reduced-motion: reduce) { .zalo-fab::after { animation: none; } }

/* ---------- Bài cẩm nang ---------- */
.guide-toc { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 44px; }

.guide-article {
  max-width: 860px;
  background: var(--white);
  border: 1px solid var(--line-200);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 38px 40px;
  margin: 0 auto 30px;
  scroll-margin-top: 90px;
}

.guide-article h2 { font-size: 24px; font-weight: 800; color: var(--navy-900); line-height: 1.3; margin-bottom: 6px; }

.guide-article .guide-meta {
  font-size: 13px;
  font-weight: 700;
  color: var(--gold-600);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 18px;
}

.guide-article h3 { font-size: 17.5px; font-weight: 700; color: var(--navy-900); margin: 22px 0 8px; }

.guide-article p { font-size: 15.3px; color: var(--ink-700); margin-bottom: 12px; }

.guide-article ul.ticks { margin: 12px 0 16px; }

@media (max-width: 560px) { .guide-article { padding: 28px 22px; } }

/* ============================================================
   Reveal animation
   ============================================================ */
html.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.6s ease, transform 0.6s ease; }
html.js .reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; padding: 64px 0 70px; }
  .hero-visual { max-width: 560px; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .stats-band { grid-template-columns: repeat(2, 1fr); padding: 34px 34px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .main-nav {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--line-200);
    flex-direction: column;
    align-items: stretch;
    padding: 14px 20px 20px;
    gap: 6px;
    display: none;
    box-shadow: var(--shadow-md);
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 13px 14px; font-size: 16px; }
  .nav-toggle { display: flex; margin-left: auto; }
  .header-cta { margin-left: 0; }
  .header-cta .btn-header { display: none; }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .cta-band { flex-direction: column; align-items: flex-start; padding: 40px 34px; }
}

@media (max-width: 560px) {
  .grid-4 { grid-template-columns: 1fr; }
  .stats-band { grid-template-columns: 1fr 1fr; gap: 20px; }
  .stat h3 { font-size: 27px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .section { padding: 62px 0; }
  .hero-trust { gap: 20px; }
  .form-grid { grid-template-columns: 1fr; }
  .brand-tag { display: none; }
}
