:root {
  --primary: #0b5d3b;
  --primary-dark: #073d27;
  --primary-light: #e6f1ec;
  --accent: #f28c1b;
  --text: #1c2b24;
  --muted: #5b6b63;
  --bg-soft: #f3f7f5;
  --radius: 14px;
  --shadow: 0 6px 24px rgba(11, 93, 59, 0.10);
  --shadow-lg: 0 12px 40px rgba(7, 61, 39, 0.22);
  --container: 1180px;
  --header-h: 84px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); }
body {
  margin: 0;
  font-family: "Be Vietnam Pro", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--text);
  background: #fff;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3 { line-height: 1.25; margin: 0; }
p { margin: 0 0 14px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.section { padding: 76px 0; }
.bg-soft { background: var(--bg-soft); }
.center { text-align: center; margin-top: 34px; }
.center-text { text-align: center; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: #fff;
  box-shadow: 0 1px 0 rgba(0,0,0,.06);
}
.header-inner { display: flex; align-items: center; gap: 28px; height: var(--header-h); }
.logo { display: flex; align-items: center; height: 68px; flex-shrink: 0; }
.logo img { height: 100%; width: auto;  }
.main-nav { display: flex; gap: 6px; margin-left: auto; }
.main-nav a {
  padding: 8px 14px; border-radius: 8px;
  font-weight: 600; font-size: 14.5px; color: var(--text);
  transition: background .15s, color .15s;
}
.main-nav a:hover { background: var(--primary-light); color: var(--primary); }
.hotline { display: flex; align-items: center; gap: 10px; }
.icon-circle {
  width: 46px; height: 46px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--primary-light); color: var(--primary); flex-shrink: 0;
}
.hotline .icon-circle { width: 40px; height: 40px; }
.hotline-text { display: flex; flex-direction: column; line-height: 1.2; }
.hotline-text small { color: var(--muted); font-size: 11.5px; }
.hotline-text strong { color: var(--primary); font-size: 16px; }
.menu-toggle {
  display: none; width: 42px; height: 42px; border: 0; background: transparent;
  flex-direction: column; justify-content: center; gap: 5px; padding: 10px; cursor: pointer;
}
.menu-toggle span { display: block; height: 2.5px; background: var(--primary); border-radius: 2px; transition: transform .2s, opacity .2s; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 13px 26px; border-radius: 999px;
  font-weight: 700; font-size: 15px; border: 2px solid transparent;
  cursor: pointer; transition: transform .15s, box-shadow .15s, background .15s, color .15s;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 6px 18px rgba(242,140,27,.35); }
.btn-primary:hover { background: #dc7c10; }
.btn-outline { border-color: #fff; color: #fff; }
.btn-outline:hover { background: #fff; color: var(--primary); }
.btn-light { background: #fff; color: var(--primary); }
.btn-ghost { border-color: rgba(255,255,255,.7); color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,.15); }

/* ---------- Hero ---------- */
.hero-wrap { background: var(--bg-soft); padding: 34px 0 60px; }
.hero {
  position: relative; min-height: 500px; display: flex; align-items: center;
  background-size: cover; background-position: center; background-repeat: no-repeat;
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg);
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(7,61,39,.95) 0%, rgba(7,61,39,.86) 34%, rgba(7,61,39,.45) 64%, rgba(7,61,39,.05) 100%);
}
.hero-content { position: relative; z-index: 2; padding: 48px 52px; max-width: 560px; color: #fff; }
.eyebrow {
  display: inline-block; padding: 5px 14px; border-radius: 999px;
  background: rgba(255,255,255,.16); font-size: 13px; font-weight: 600; margin-bottom: 18px;
}
.hero h1 { font-size: 44px; font-weight: 800; margin-bottom: 16px; }
.hero p { font-size: 17px; opacity: .95; margin-bottom: 26px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- Commit strip ---------- */
.commit-strip { background: var(--primary); color: #fff; }
.commit-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding-top: 26px; padding-bottom: 26px; }
.commit-item { display: flex; align-items: center; gap: 14px; }
.commit-item svg { flex-shrink: 0; opacity: .95; }
.commit-item div { display: flex; flex-direction: column; line-height: 1.3; }
.commit-item strong { font-size: 16px; }
.commit-item span { font-size: 13px; opacity: .85; }

/* ---------- Sections ---------- */
.section-title { text-align: center; font-size: 32px; font-weight: 800; color: var(--primary-dark); margin-bottom: 10px; }
.section-title::after { content: ""; display: block; width: 56px; height: 4px; border-radius: 4px; background: var(--accent); margin: 14px auto 0; }
.section-title.left { text-align: left; }
.section-title.left::after { margin-left: 0; }
.section-title.light { color: #fff; }
.section-sub { text-align: center; color: var(--muted); max-width: 640px; margin: 14px auto 40px; }
.section-sub.light { color: rgba(255,255,255,.88); }

.grid { display: grid; gap: 22px; }
.grid-5 { grid-template-columns: repeat(5, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.card {
  background: #fff; border: 1px solid #e3ece7; border-radius: var(--radius);
  padding: 26px 22px; box-shadow: var(--shadow);
  transition: transform .2s, box-shadow .2s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card .icon-circle { margin-bottom: 16px; }
.center-text .icon-circle { margin-left: auto; margin-right: auto; }
.card h3 { font-size: 17px; color: var(--primary-dark); margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 14.5px; margin: 0; }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; }
.about-grid p { color: var(--muted); }
.about-image img { border-radius: var(--radius); box-shadow: var(--shadow-lg); width: 100%; height: auto; }
.vm { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 22px; }
.vm-box { background: #fff; border-left: 4px solid var(--primary); border-radius: 10px; padding: 16px 18px; box-shadow: var(--shadow); }
.vm-box h3 { font-size: 16px; color: var(--primary); margin-bottom: 6px; }
.vm-box p { font-size: 14px; margin: 0; }

/* ---------- Contact ---------- */
.contact { background: linear-gradient(135deg, var(--primary-dark), var(--primary)); color: #fff; }
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 36px; align-items: stretch; }
.contact-list { display: flex; flex-direction: column; gap: 18px; margin-bottom: 26px; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; }
.ci {
  width: 42px; height: 42px; border-radius: 50%; background: rgba(255,255,255,.14);
  display: inline-flex; align-items: center; justify-content: center; font-size: 18px; flex-shrink: 0;
}
.contact-list small { display: block; opacity: .75; font-size: 12.5px; }
.contact-list a, .contact-list span { font-weight: 600; font-size: 16px; }
.contact-list a:hover { text-decoration: underline; }
.contact-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.map { border-radius: var(--radius); overflow: hidden; min-height: 340px; box-shadow: var(--shadow-lg); background: #dfe9e4; }
.map iframe { width: 100%; height: 100%; min-height: 340px; border: 0; display: block; }

/* ---------- Footer ---------- */
.site-footer { background: #fff; padding: 34px 0 26px; text-align: center; }
.footer-inner { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.footer-logo { height: 72px; width: auto;  }
.site-footer p { color: var(--muted); font-size: 14px; margin: 0; max-width: 520px; }
.site-footer .copy { font-size: 13px; margin-top: 8px; }

/* ---------- Floating buttons ---------- */
.float-actions { position: fixed; right: 16px; bottom: 18px; z-index: 90; display: flex; flex-direction: column; gap: 12px; }
.float-btn {
  width: 52px; height: 52px; border-radius: 50%; color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 13px; box-shadow: 0 6px 18px rgba(0,0,0,.25);
  transition: transform .15s;
}
.float-btn:hover { transform: scale(1.08); }
.float-zalo { background: #0068ff; }
.float-call { background: var(--accent); animation: pulse 2.2s infinite; }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(242,140,27,.55); }
  70% { box-shadow: 0 0 0 16px rgba(242,140,27,0); }
  100% { box-shadow: 0 0 0 0 rgba(242,140,27,0); }
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .grid-5 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .commit-grid { grid-template-columns: repeat(2, 1fr); }
  .hero h1 { font-size: 38px; }
}
@media (max-width: 860px) {
  :root { --header-h: 72px; }
  .logo { height: 54px; }
  .menu-toggle { display: flex; margin-left: auto; }
  .hotline-text { display: none; }
  .main-nav {
    position: fixed; top: var(--header-h); left: 0; right: 0;
    flex-direction: column; gap: 0; margin: 0; background: #fff;
    padding: 8px 20px 16px; box-shadow: 0 12px 24px rgba(0,0,0,.12);
    transform: translateY(-120%); visibility: hidden; transition: transform .25s, visibility .25s;
  }
  .main-nav.open { transform: translateY(0); visibility: visible; }
  .main-nav a { padding: 14px 8px; border-bottom: 1px solid #edf2ef; border-radius: 0; }
  .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 30px; }
  .section { padding: 56px 0; }
  .section-title { font-size: 26px; }
}
@media (max-width: 600px) {
  .grid-5, .grid-4 { grid-template-columns: 1fr; }
  .hero { min-height: 420px; }
  .hero-content { padding: 32px 24px; }
  .hero h1 { font-size: 30px; }
  .hero p { font-size: 15px; }
  .hero-overlay { background: linear-gradient(180deg, rgba(7,61,39,.92) 0%, rgba(7,61,39,.80) 60%, rgba(7,61,39,.55) 100%); }
  .vm { grid-template-columns: 1fr; }
  .commit-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
  .commit-item { flex-direction: column; text-align: center; gap: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .float-call { animation: none; }
  * { transition: none !important; }
}
