
/* Layout: editorial — the photographs carry the page; one navy plate in the hero, wide margins, hairline-ruled lists, no cards, no icons. */
:root {
  color-scheme: light;
  --thuy: #0F2942; --thuy-2: #17395A;
  --moc: #036B76; --moc-sang: #048C9A; --moc-nhat: #8FD3DA; --moc-50: #EEF8F9;
  --hoa: #BF6449; --tho: #B17F42; --tho-dam: #8F6534; --tho-nhat: #CFAE7E;
  --kem: #F5F0E6; --kem-sang: #FAF7F0; --vien: #DDD4C2; --trang: #FFFFFF;
  --chu: #1C2526; --chu-phu: #4A5556;
  --f-hien: "Playfair Display", Georgia, "Times New Roman", serif;
  --f-than: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --gl: max(20px, env(safe-area-inset-left, 0px)); --gr: max(20px, env(safe-area-inset-right, 0px));
  --rong: 1200px;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { background: var(--kem-sang); color: var(--chu); font: 400 17px/1.7 var(--f-than); -webkit-font-smoothing: antialiased; }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 10; background: var(--kem-sang); }
#site[data-lang="vi"] [data-l="en"], #site[data-lang="en"] [data-l="vi"] { display: none !important; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--moc-sang); outline-offset: 3px; }
h1, h2, h3 { margin: 0; font-weight: 500; text-wrap: balance; }
p, figure { margin: 0; }
img { display: block; }
.khung { max-width: var(--rong); margin: 0 auto; padding-left: var(--gl); padding-right: var(--gr); }
.phan { padding-block: clamp(80px, 11vw, 150px); }
.h2 { font-family: var(--f-hien); font-size: clamp(32px, 4.2vw, 52px); line-height: 1.14; color: var(--thuy); letter-spacing: -.005em; }
.dan { font-size: 18px; color: var(--chu-phu); max-width: 34em; }
.nho { font-size: 14px; color: var(--chu-phu); }
.minh-hoa { position: absolute; right: 14px; top: 14px; background: rgba(15,41,66,.55); color: var(--kem); font-size: 12px; padding: 4px 10px; border-radius: 2px; letter-spacing: .02em; }

/* Header */
.dau { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 9; background: var(--kem-sang); border-bottom: 1px solid var(--vien); }
.dau .khung { display: flex; align-items: center; gap: 28px; min-height: 74px; }
.thuonghieu { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.thuonghieu img { width: 46px; height: 46px; }
.thuonghieu span { font-family: var(--f-hien); font-size: 21px; color: var(--thuy); line-height: 1.1; }
.thuonghieu small { display: block; font-family: var(--f-than); font-size: 12px; color: var(--tho-dam); letter-spacing: .04em; }
.menu { display: flex; gap: 6px; margin-left: auto; }
.menu a { text-decoration: none; font-size: 15px; color: var(--chu-phu); padding: 10px 12px; }
.menu a:hover { color: var(--thuy); }
.ngonngu { display: inline-flex; gap: 2px; flex: none; }
.ngonngu button { font: 500 14px/1 var(--f-than); min-width: 44px; min-height: 44px; border: 0; background: transparent; color: var(--chu-phu); cursor: pointer; border-bottom: 2px solid transparent; }
.ngonngu button[aria-pressed="true"] { color: var(--thuy); border-bottom-color: var(--tho); }
@media (max-width: 900px) { .menu { display: none; } .ngonngu { margin-left: auto; } }

/* Hero */
.mo { position: relative; z-index: 2; overflow-x: clip; }
.mo-anh { position: relative; height: min(86vh, 820px); min-height: 520px; overflow: hidden; background: var(--kem); }
.mo-anh img { width: 100%; height: 100%; object-fit: cover; object-position: 30% 55%; animation: hien 1.8s cubic-bezier(.2,.7,.2,1) both; }
@keyframes hien { from { transform: scale(1.06); } to { transform: scale(1); } }
.mo-chu { position: absolute; left: 0; right: 0; bottom: -88px; }
.mo-the { position: relative; width: min(520px, 100%); margin-left: auto; background: var(--thuy); color: var(--kem); padding: clamp(28px, 3vw, 44px); box-shadow: 0 30px 60px rgba(15,41,66,.22); }
.mo-the .tt { font-size: 15px; color: var(--moc-nhat); }
.mo-the h1 { font-family: var(--f-hien); font-size: clamp(30px, 3.2vw, 46px); line-height: 1.12; margin-top: 14px; letter-spacing: -.005em; }
.mo-the p.l { margin-top: 18px; font-size: 16px; color: rgba(245,240,230,.84); max-width: 32em; }
.mo-nut { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; margin-top: 26px; }
.nut { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 26px; font: 500 15.5px/1 var(--f-than); text-decoration: none; border: 0; cursor: pointer; }
.nut-chinh { background: var(--moc-sang); color: var(--trang); }
.nut-chinh:hover { background: var(--moc); }
.lien-ket { font-size: 15.5px; color: var(--kem); text-decoration: none; border-bottom: 1px solid var(--tho-nhat); padding-bottom: 3px; }
.lien-ket:hover { color: var(--tho-nhat); }
@media (prefers-reduced-motion: reduce) { .mo-anh img { animation: none; } html { scroll-behavior: auto; } }
@media (max-width: 760px) {
  .mo-anh { height: 58vh; min-height: 360px; }
  .mo-chu { position: relative; bottom: auto; margin-top: -56px; }
}

.canh-goc-phai { position: absolute; left: calc(100% - 280px); top: calc(100% - 96px); width: 460px; height: 236px; z-index: 3; pointer-events: none; overflow: visible; }
@media (max-width: 760px) { .canh-goc-phai { left: calc(100% - 224px); top: calc(100% - 77px); width: 368px; height: 188.8px; } }
/* Intro statement */
.loi-mo { position: relative; overflow: hidden; padding-top: clamp(236px, 17vw, 256px); }
.loi-mo .khung { display: grid; grid-template-columns: 7fr 5fr; gap: 64px; align-items: end; }
.loi-mo blockquote { margin: 0; font-family: var(--f-hien); font-size: clamp(30px, 3.6vw, 46px); line-height: 1.22; color: var(--thuy); }
.loi-mo .dan { padding-bottom: 8px; }
.canh-goc { position: absolute; top: 0; right: 0; width: min(420px, 46vw); height: auto; pointer-events: none; }
@media (max-width: 760px) {
  .loi-mo { padding-top: 200px; }
  .loi-mo .khung { grid-template-columns: 1fr; gap: 28px; }
  .canh-goc { width: 64vw; }
}

/* Emblem split */
.bieu-tuong .khung { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(40px, 6vw, 88px); align-items: center; }
.bieu-tuong figure { position: relative; aspect-ratio: 4 / 3.3; overflow: hidden; max-width: 100%; }
.bieu-tuong figure img { width: 100%; height: 100%; object-fit: cover; object-position: 22% 50%; }
.bieu-tuong .than { min-width: 0; display: grid; gap: 24px; }
.mau-list { list-style: none; padding: 0; margin: 8px 0 0; border-top: 1px solid var(--vien); }
.mau-list li { display: grid; grid-template-columns: 14px 1fr; gap: 4px 16px; align-items: baseline; padding-block: 16px; border-bottom: 1px solid var(--vien); }
.mau-list i { width: 12px; height: 12px; border-radius: 50%; display: block; transform: translateY(1px); }
.mau-list b { font-weight: 600; color: var(--thuy); font-size: 16px; }
.mau-list span.m { grid-column: 2; font-size: 15px; color: var(--chu-phu); }
@media (max-width: 860px) { .bieu-tuong .khung { grid-template-columns: 1fr; } }

/* Values */
.gia-tri { background: var(--kem-sang); color: var(--chu); }
.gia-tri .h2 { color: var(--thuy); max-width: 18em; }
.gt-cot { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(32px, 4vw, 64px); margin-top: clamp(48px, 6vw, 80px); }
.gt-cot > div { border-top: 2px solid var(--thuy); padding-top: 28px; }
.gt-cot > div:nth-child(2) { border-top-color: var(--moc-sang); }
.gt-cot > div:nth-child(3) { border-top-color: var(--hoa); }
.gt-cot h3 { font-family: var(--f-hien); font-size: clamp(30px, 3vw, 40px); line-height: 1.1; color: var(--thuy); }
.gt-cot .en { margin-top: 6px; font-size: 15px; color: var(--moc); }
.gt-cot p.t { margin-top: 18px; font-size: 16.5px; color: var(--chu-phu); }
@media (max-width: 860px) { .gt-cot { grid-template-columns: 1fr; } }

/* Full-bleed photo */
.toan-canh { position: relative; height: min(84vh, 780px); min-height: 420px; overflow: hidden; }
.toan-canh img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 55%; }
.toan-canh figcaption { position: absolute; left: 0; right: 0; bottom: 0; }
.toan-canh .chu-thich { display: inline-block; background: var(--kem-sang); padding: 22px 28px; max-width: 460px; }
.toan-canh .chu-thich b { display: block; font-family: var(--f-hien); font-weight: 500; font-size: 22px; color: var(--thuy); }
.toan-canh .chu-thich span.m { font-size: 15px; color: var(--chu-phu); }

/* Services */
.dv .khung { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.dv-dau { position: sticky; top: 120px; display: grid; gap: 22px; }
.dv-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--vien); }
.dv-list li { padding-block: 26px; border-bottom: 1px solid var(--vien); display: grid; gap: 8px; }
.dv-list h3 { font-family: var(--f-hien); font-size: clamp(23px, 2.2vw, 28px); line-height: 1.2; color: var(--thuy); }
.dv-list p { font-size: 16px; color: var(--chu-phu); max-width: 36em; }
@media (max-width: 860px) { .dv .khung { grid-template-columns: 1fr; } .dv-dau { position: static; } }

/* Experience */
.tn { background: var(--kem); }
.tn .khung { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.tn figure { position: sticky; top: 110px; aspect-ratio: 3 / 4; overflow: hidden; max-width: 100%; }
.tn figure img { width: 100%; height: 100%; object-fit: cover; object-position: 55% 50%; }
.tn-list { list-style: none; margin: 40px 0 0; padding: 0; border-top: 1px solid var(--vien); }
.tn-list li { padding-block: 22px; border-bottom: 1px solid var(--vien); display: grid; grid-template-columns: minmax(0, 15em) minmax(0, 1fr); gap: 8px 28px; }
.tn-list b { font-weight: 600; font-size: 16.5px; color: var(--thuy); line-height: 1.5; }
.tn-list span.m { font-size: 15.5px; color: var(--chu-phu); }
@media (max-width: 860px) {
  .tn .khung { grid-template-columns: 1fr; }
  .tn figure { position: relative; top: auto; aspect-ratio: 4 / 3; }
  .tn-list li { grid-template-columns: 1fr; }
}

/* Partners */
.dt-cot { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(28px, 4vw, 56px); margin-top: 56px; }
.dt-cot > div { border-top: 1px solid var(--thuy); padding-top: 24px; display: grid; gap: 12px; align-content: start; }
.dt-cot .loai { font-size: 14px; color: var(--tho-dam); }
.dt-cot h3 { font-family: var(--f-hien); font-size: 25px; line-height: 1.25; color: var(--thuy); }
.dt-cot p { font-size: 16px; color: var(--chu-phu); }
@media (max-width: 860px) { .dt-cot { grid-template-columns: 1fr; } }

/* Contact */
.lh { background: var(--kem); }
.lh .khung { display: grid; grid-template-columns: 6fr 6fr; gap: clamp(40px, 6vw, 88px); align-items: center; }
.lh figure { position: relative; aspect-ratio: 4 / 3; overflow: hidden; max-width: 100%; }
.lh figure img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; }
.lh .than { display: grid; gap: 22px; min-width: 0; }
.dong { display: grid; gap: 4px; padding-block: 18px; border-top: 1px solid var(--vien); }
.dong .nh { font-size: 14px; color: var(--tho-dam); }
.email { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px 20px; }
.email .gt { font-family: var(--f-hien); font-size: clamp(22px, 2.4vw, 30px); color: var(--thuy); overflow-wrap: anywhere; }
.chep { font: 500 14.5px/1 var(--f-than); background: none; border: 0; border-bottom: 1px solid var(--moc-sang); color: var(--moc); padding: 12px 0 4px; cursor: pointer; min-height: 44px; }
.dong .gt2 { font-size: 18px; color: var(--thuy); font-weight: 500; }
.ghi { font-size: 15px; color: var(--moc); }
@media (max-width: 860px) { .lh .khung { grid-template-columns: 1fr; } }

/* Footer */
.chan { background: var(--thuy); color: rgba(245,240,230,.78); padding-block: 64px calc(48px + env(safe-area-inset-bottom, 0px)); font-size: 14.5px; }
.chan .khung { display: grid; grid-template-columns: auto 1fr; gap: 28px 40px; align-items: start; }
.chan .logo { width: 72px; height: 72px; }
.chan .ten { font-family: var(--f-hien); font-size: 26px; color: var(--kem); }
.chan .gtri { color: var(--moc-nhat); margin-top: 4px; }
.chan .pl { margin-top: 20px; display: grid; gap: 6px; max-width: 52em; }
.chan .cuoi { grid-column: 1 / -1; border-top: 1px solid rgba(245,240,230,.16); padding-top: 20px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; font-size: 13.5px; color: rgba(245,240,230,.62); }
@media (max-width: 600px) { .chan .khung { grid-template-columns: 1fr; } }

.vedau { position: fixed; right: calc(16px + env(safe-area-inset-right, 0px)); bottom: calc(16px + env(safe-area-inset-bottom, 0px)); width: 48px; height: 48px; border: 1px solid var(--vien); background: var(--kem-sang); color: var(--thuy); display: grid; place-items: center; cursor: pointer; z-index: 8; }
.thongbao { position: fixed; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%); background: var(--thuy); color: var(--kem); padding: 12px 18px; font-size: 14px; z-index: 11; }

/* Màn hình chờ: đúng tranh hai nhánh hoa lý của ERP (docs/mau-thiet-ke/man-hinh-cho.html), chạy một lượt rồi mờ dần */
.cho { position: fixed; inset: 0; z-index: 100; background: var(--kem); display: grid; place-items: center; animation: cho-tat .6s ease 3.4s forwards; }
.cho.xong { animation: cho-tat .55s ease forwards; }
@keyframes cho-tat { to { opacity: 0; visibility: hidden; } }
.cho-stage { position: relative; width: min(560px, 86vw); }
.cho-art { width: 100%; height: auto; display: block; }
.cho-art .tw { stroke-dasharray: 1; stroke-dashoffset: 1; }
.cho-art .pt { transform-box: fill-box; transform-origin: center; opacity: 0; }
.cho-mark { position: absolute; left: 50%; top: 50%; width: 12.2%; transform: translate(-50%, -50%); }
.cho-mark img { width: 100%; height: auto; display: block; }
.cho-ten { position: absolute; left: 0; right: 0; bottom: 14%; text-align: center; font-family: var(--f-hien); font-size: clamp(17px, 2.4vw, 22px); color: var(--thuy); opacity: 0; animation: cho-hien .8s ease .5s forwards; }
@keyframes cho-hien { to { opacity: 1; } }
.cho-bo { display: none; }
@media (prefers-reduced-motion: reduce) { .cho { display: none; } }
