:root {
  --nen: #f7f4ee; --the: #fff; --chu: #14213d; --mo: #5b6478; --vien: #e4ddd0; --nhat: #f1ebe0;
  --cam: #c2611b; --cam-dam: #9c4a10; --cam-nhat: #fbeee2; --xanh: #1f6f5c; --xanh-nhat: #e3f2ec; --do: #b42318;
  --bo: 14px; --bong: 0 1px 2px rgba(20, 33, 61, .05), 0 8px 24px rgba(20, 33, 61, .06);
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body { background: var(--nen); color: var(--chu); font: 16px/1.6 'Be Vietnam Pro', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: var(--cam-dam); }
.khung { max-width: 760px; margin: 0 auto; padding: 0 16px; }
.dau { padding: 18px 0; }
.dau .khung { display: flex; align-items: center; gap: 10px; }
.logo { width: 36px; height: 36px; border-radius: 10px; background: var(--chu); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 15px; letter-spacing: -.5px; }
.ten-dn { font-weight: 700; font-size: 17px; }
.ten-dn small { display: block; font-weight: 400; font-size: 12.5px; color: var(--mo); }
h1 { font-size: clamp(26px, 6vw, 38px); line-height: 1.2; margin: 18px 0 12px; letter-spacing: -.5px; }
h1 em { font-style: normal; color: var(--cam); }
h2 { font-size: 21px; margin: 0 0 4px; }
.mo-ta { color: var(--mo); font-size: 17px; margin: 0 0 22px; }
.the { background: var(--the); border: 1px solid var(--vien); border-radius: var(--bo); box-shadow: var(--bong); padding: 22px; margin-bottom: 16px; }
.ba-cot { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 20px 0 24px; }
.ba-cot div { background: var(--the); border: 1px solid var(--vien); border-radius: 12px; padding: 14px; text-align: center; }
.ba-cot b { display: block; font-size: 24px; color: var(--cam); line-height: 1.2; }
.ba-cot span { font-size: 13.5px; color: var(--mo); }
.nhan-duoc { list-style: none; padding: 0; margin: 0; }
.nhan-duoc li { padding: 8px 0 8px 32px; position: relative; }
.nhan-duoc li::before { content: '✓'; position: absolute; left: 0; top: 8px; width: 22px; height: 22px; border-radius: 50%; background: var(--xanh-nhat); color: var(--xanh); font-weight: 700; font-size: 13px; display: grid; place-items: center; }
.nut { display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: var(--cam); color: #fff; border: 0; border-radius: 12px; padding: 14px 26px; font: inherit; font-weight: 600; font-size: 17px; cursor: pointer; text-decoration: none; transition: background .15s; }
.nut:hover { background: var(--cam-dam); }
.nut:disabled { opacity: .55; cursor: default; }
.nut.phu { background: transparent; color: var(--chu); border: 1px solid var(--vien); }
.nut.phu:hover { background: var(--nhat); }
.nut.rong { width: 100%; }
.nho { font-size: 13.5px; color: var(--mo); }
.chan { padding: 26px 0 40px; font-size: 13px; color: var(--mo); text-align: center; }

/* Bảng hỏi */
.tien-do { position: sticky; top: 0; z-index: 5; background: var(--nen); padding: 12px 0 10px; }
.tien-do .vach { height: 6px; background: var(--nhat); border-radius: 6px; overflow: hidden; }
.tien-do .vach i { display: block; height: 100%; background: var(--cam); width: 0; transition: width .3s; }
.tien-do .chu-tien-do { display: flex; justify-content: space-between; font-size: 13px; color: var(--mo); margin-top: 6px; }
.cau { margin-bottom: 20px; }
.cau > label, .cau > .hoi { display: block; font-weight: 600; margin-bottom: 7px; }
.cau .goi-y { display: block; font-weight: 400; font-size: 13.5px; color: var(--mo); margin-top: -4px; margin-bottom: 7px; }
input[type=text], input[type=tel], input[type=email], input[type=number], input[type=password], textarea, select {
  width: 100%; font: inherit; font-size: 16px; color: var(--chu); background: #fff; border: 1px solid var(--vien); border-radius: 10px; padding: 11px 13px; outline: none; transition: border .15s, box-shadow .15s;
}
input:focus, textarea:focus, select:focus { border-color: var(--cam); box-shadow: 0 0 0 3px var(--cam-nhat); }
textarea { min-height: 84px; resize: vertical; }
.hai-o { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.chon { display: flex; flex-wrap: wrap; gap: 8px; }
.chon button { font: inherit; font-size: 15px; background: #fff; color: var(--chu); border: 1px solid var(--vien); border-radius: 22px; padding: 8px 15px; cursor: pointer; transition: all .12s; }
.chon button:hover { border-color: var(--cam); }
.chon button.dang { background: var(--chu); border-color: var(--chu); color: #fff; }
.dieu-khien { display: flex; gap: 10px; justify-content: space-between; margin-top: 8px; }
.loi-chu { color: var(--do); font-size: 14.5px; margin: 8px 0 0; min-height: 1em; }
.bay { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.cam-ket { background: var(--nhat); border-radius: 10px; padding: 12px 14px; font-size: 13.5px; color: var(--mo); margin-top: 14px; }

/* Cảm ơn, gửi tài liệu */
.ma-ho-so { display: inline-block; font-weight: 700; font-size: 20px; letter-spacing: .5px; background: var(--cam-nhat); color: var(--cam-dam); padding: 6px 14px; border-radius: 10px; }
.ds-tai-lieu { padding-left: 20px; margin: 8px 0 0; }
.ds-tai-lieu li { margin: 4px 0; }
.vung-tha { display: block; border: 2px dashed var(--vien); border-radius: var(--bo); padding: 30px 16px; text-align: center; background: #fff; cursor: pointer; transition: all .15s; }
.vung-tha:hover, .vung-tha.dang { border-color: var(--cam); background: var(--cam-nhat); }
.vung-tha b { display: block; font-size: 17px; margin-bottom: 4px; }
.tep-dong { display: flex; align-items: center; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--nhat); font-size: 15px; }
.tep-dong:last-child { border-bottom: 0; }
.tep-dong .ten { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tep-dong .tt { font-size: 13px; color: var(--mo); white-space: nowrap; }
.tep-dong .tt.ok { color: var(--xanh); }
.tep-dong .tt.loi { color: var(--do); }

/* Đề xuất */
.dx-dau { background: var(--chu); color: #f7f4ee; border-radius: var(--bo); padding: 26px 22px; margin-bottom: 16px; }
.dx-dau h1 { color: #fff; margin: 6px 0 8px; font-size: clamp(23px, 5vw, 31px); }
.dx-dau .nho { color: rgba(247, 244, 238, .75); }
.muc-so { display: flex; gap: 12px; align-items: flex-start; }
.muc-so .so { flex: 0 0 30px; height: 30px; border-radius: 50%; background: var(--cam-nhat); color: var(--cam-dam); font-weight: 700; display: grid; place-items: center; font-size: 14px; }
.diem-manh { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 10px; margin-top: 10px; }
.diem-manh div { background: var(--xanh-nhat); border-radius: 12px; padding: 13px 14px; }
.diem-manh b { display: block; color: var(--xanh); margin-bottom: 3px; }
.diem-manh span { font-size: 14px; }
table.lo-trinh { width: 100%; border-collapse: collapse; font-size: 15px; margin-top: 8px; }
table.lo-trinh th { text-align: left; background: var(--nhat); padding: 9px 10px; font-weight: 600; }
table.lo-trinh td { padding: 9px 10px; border-bottom: 1px solid var(--nhat); vertical-align: top; }
.gia-lon { font-size: 30px; font-weight: 800; color: var(--cam-dam); line-height: 1.2; }
.giu-dong { white-space: pre-line; }
@media (max-width: 560px) {
  .the { padding: 18px 16px; }
  .hai-o { grid-template-columns: 1fr; }
  .ba-cot b { font-size: 20px; }
  table.lo-trinh { font-size: 14px; }
}
@media print {
  body { background: #fff; }
  .khong-in { display: none !important; }
  .the { box-shadow: none; break-inside: avoid; }
}
