/* Bộ màu lấy từ hồ sơ năng lực Hải Châu 2026 */
:root {
  --nau: #571802; --nau-dam: #3d1103; --nau-den: #230800;
  --vang: #f7c800; --vang-nhat: #fff4c7; --vang-kem: #fffaf0;
  --do: #d30000; --do-nhat: #fdecea;
  --kem: #fbf7ef; --muc: #2b1a12; --xam: #6e5f55; --vien: #eadccb;
  --font: 'Be Vietnam Pro', 'Segoe UI', Arial, sans-serif;
  --bo: 14px; --bong: 0 10px 30px rgba(61, 17, 3, .08);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); color: var(--muc); background: #fff; font-size: 16px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.25; color: var(--nau-dam); font-weight: 800; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
.khung { max-width: 1180px; margin: 0 auto; padding: 0 20px; }
/* Bỏ dải vàng gạch chân (góp ý 17/10): tiêu đề để trơn cho dễ đọc */
.gach { background: none; padding: 0; }
.nhan { display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--do); }
.nhan::before { content: ''; width: 22px; height: 3px; background: var(--vang); border-radius: 2px; }
.nut { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 24px; border-radius: 12px; font-weight: 700; font-size: 15.5px; border: 2px solid transparent; cursor: pointer; transition: transform .15s, box-shadow .15s, background .15s; font-family: var(--font); }
.nut:hover { transform: translateY(-2px); }
.nut-vang { background: var(--vang); color: var(--nau-den); box-shadow: 0 8px 20px rgba(247, 200, 0, .35); }
.nut-nau { background: var(--nau); color: #fff; }
.nut-vien { border-color: currentColor; background: transparent; }
.nut-do { background: var(--do); color: #fff; }
.muc { padding: 84px 0; }
.muc-kem { background: var(--kem); }
.dau-muc { max-width: 720px; margin-bottom: 40px; }
.dau-muc.giua { margin-left: auto; margin-right: auto; text-align: center; }
.dau-muc h2 { font-size: clamp(26px, 3.4vw, 38px); }
.dau-muc p { color: var(--xam); font-size: 17px; }

/* ---------- Đầu trang chung ---------- */
.thanh-tren { background: var(--nau-den); color: #e9d9c3; font-size: 13px; }
.thanh-tren .khung { display: flex; gap: 22px; align-items: center; min-height: 36px; }
.thanh-tren .dc { margin-right: auto; }
.dau { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--vien); }
.dau .khung { display: flex; align-items: center; gap: 28px; min-height: 72px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; color: var(--nau-dam); line-height: 1.1; }
.logo img { height: 40px; width: auto; }
.logo small { display: block; font-size: 11px; font-weight: 600; color: var(--xam); letter-spacing: .08em; text-transform: uppercase; }
.menu { display: flex; gap: 4px; margin-left: auto; }
.menu a { padding: 10px 14px; border-radius: 10px; font-weight: 600; font-size: 15px; color: var(--muc); }
.menu a:hover, .menu a.dang { background: var(--vang-nhat); color: var(--nau-dam); }
.nut-menu { display: none; margin-left: auto; background: none; border: 0; font-size: 26px; color: var(--nau-dam); }

/* ---------- Thẻ, lưới ---------- */
.luoi-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.luoi-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.the { background: #fff; border: 1px solid var(--vien); border-radius: var(--bo); padding: 26px; box-shadow: var(--bong); transition: transform .2s, box-shadow .2s; }
.the:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(61, 17, 3, .12); }
.the .so { font-size: 13px; font-weight: 800; color: var(--do); }
.the h3 { font-size: 19px; margin-top: 6px; }
.the p { color: var(--xam); font-size: 15px; margin: 0; }
.bieu-tuong-nho { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; background: var(--vang-nhat); color: var(--nau); font-size: 22px; margin-bottom: 14px; }
.xem-them { display: inline-flex; gap: 6px; margin-top: 14px; font-weight: 700; color: var(--do); font-size: 14.5px; }

/* ---------- Chân trang chung ---------- */
.chan { background: var(--nau-den); color: #d9c5ad; padding: 64px 0 28px; font-size: 14.5px; }
.chan .luoi-chan { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 40px; }
.chan h4 { color: var(--vang); font-size: 15px; text-transform: uppercase; letter-spacing: .08em; }
.chan a:hover { color: var(--vang); }
.chan ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.chan .cuoi { border-top: 1px solid rgba(255,255,255,.1); margin-top: 40px; padding-top: 20px; font-size: 13px; color: #a8927a; }

/* ---------- Nút nổi + thanh dưới điện thoại ---------- */
.noi { position: fixed; right: 18px; bottom: 20px; display: grid; gap: 10px; z-index: 60; }
.noi a { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-weight: 800; font-size: 13px; box-shadow: 0 6px 18px rgba(0,0,0,.25); }
.noi .zalo { background: #0068ff; }
.noi .goi { background: var(--do); font-size: 22px; }
.thanh-duoi { display: none; }

/* ---------- Nhãn "bản mẫu" ---------- */
.ban-mau { position: fixed; left: 12px; bottom: 12px; z-index: 70; background: var(--nau-den); color: var(--vang); padding: 8px 14px; border-radius: 30px; font-size: 13px; font-weight: 700; box-shadow: 0 6px 18px rgba(0,0,0,.3); }
.ban-mau a { color: #fff; text-decoration: underline; margin-left: 6px; }

@media (max-width: 960px) {
  .menu, .dau .nut, .thanh-tren .dc { display: none; }
  .nut-menu { display: block; }
  .luoi-3, .luoi-4 { grid-template-columns: 1fr 1fr; }
  .chan .luoi-chan { grid-template-columns: 1fr; }
  .muc { padding: 60px 0; }
}
@media (max-width: 600px) {
  .luoi-3, .luoi-4 { grid-template-columns: 1fr; }
  .noi { bottom: 76px; }
  .noi .goi { display: none; }
  .thanh-duoi { display: grid; grid-template-columns: 1fr 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 65; }
  .thanh-duoi a { padding: 15px 8px; text-align: center; font-weight: 800; font-size: 15px; }
  .thanh-duoi .g { background: var(--do); color: #fff; }
  .thanh-duoi .b { background: var(--vang); color: var(--nau-den); }
  .ban-mau { bottom: 64px; font-size: 11.5px; padding: 6px 10px; }
  body { font-size: 15.5px; }
}

/* ---------- Điện thoại: chữ to hơn cho dễ đọc (góp ý 17/10) ---------- */
@media (max-width: 600px) {
  body { font-size: 17.5px; line-height: 1.7; }
  .dau-muc h2 { font-size: 29px; }
  .dau-muc p { font-size: 18px; }
  .nhan { font-size: 13.5px; }
  .nut { font-size: 17px; padding: 15px 24px; }
  .the { padding: 24px; }
  .the h3 { font-size: 21px; }
  .the p { font-size: 17px; }
  .xem-them { font-size: 16.5px; }
  .logo { font-size: 18px; }
  .logo small { font-size: 12px; }
  .thanh-tren { font-size: 14px; }
  .chan { font-size: 16px; }
  .chan h4 { font-size: 16px; }
  .chan .cuoi { font-size: 14px; }
  .thanh-duoi a { font-size: 17px; padding: 16px 8px; }
}

/* ---------- Nhãn nhỏ: gạch thẳng dòng đầu; nhãn giữa có gạch hai bên (góp ý 17/10) ---------- */
.nhan { align-items: flex-start; line-height: 1.5; }
.nhan::before { flex: none; margin-top: .68em; }
.dau-muc.giua .nhan::after { content: ''; flex: none; width: 22px; height: 3px; background: var(--vang); border-radius: 2px; margin-top: .68em; }
@media (max-width: 960px) { .thanh-tren { display: none; } }
