/* Khung "bio" một cột kiểu điện thoại — dùng chung cho /doi-tac/ và /info/. */
*{ margin:0; padding:0; box-sizing:border-box; }
:root{
  --maroon:#801e2a;
  --maroon-2:#9a2737;
  --maroon-d:#5e1520;
  --rose:#c96b78;
  --blush:#f8e4e6;
  --blush-2:#f1cfd4;
  --gold:#c9a24b;
  --gold-2:#b8913c;
  --cream:#fbf6f2;
  --cream-2:#f4e9e2;
  --ink:#2a1f20;
  --muted:#6f6061;
  --line:rgba(128,30,42,.12);
  --card-shadow:0 10px 26px rgba(94,21,32,.08);
  --serif:'Lora', Georgia, 'Times New Roman', serif;
  --sans:'Be Vietnam Pro', ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --frame:460px;
  --bar-h:0px;
}
html{ -webkit-text-size-adjust:100%; scroll-behavior:smooth; scrollbar-width:none; }
html::-webkit-scrollbar{ display:none; } /* giống điện thoại: vẫn cuộn được, chỉ ẩn thanh cuộn */
body{
  font-family:var(--sans); font-weight:400; color:var(--ink); line-height:1.6;
  background:#efe3e0;
  background-image:radial-gradient(70% 50% at 50% 0%, #f8e4e6 0%, rgba(248,228,230,0) 70%);
  min-height:100vh;
}
img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
button{ font:inherit; }
[hidden]{ display:none !important; }

/* Số: thẳng hàng, đều bề rộng */
.num{ font-family:var(--sans); font-variant-numeric:lining-nums tabular-nums; letter-spacing:-.01em; }

/* Khung điện thoại */
.frame{
  max-width:var(--frame); margin:0 auto; min-height:100vh; background:var(--cream);
  padding-bottom:var(--bar-h); position:relative; overflow:hidden;
}
@media (min-width:520px){
  body{ padding:20px 0; }
  .frame{ border-radius:26px; min-height:calc(100vh - 40px); box-shadow:0 30px 70px rgba(94,21,32,.16); }
}
.pad{ padding:0 16px; }
.block{ padding:26px 16px 4px; }

/* Tiêu đề mục */
.label{ font-size:12.5px; font-weight:700; letter-spacing:1.6px; text-transform:uppercase; color:var(--maroon); margin-bottom:12px; }
.title{ font-family:var(--serif); font-weight:600; font-size:22px; line-height:1.3; color:var(--ink); margin-bottom:6px; }
.sub{ font-size:14px; color:var(--muted); }

/* Thẻ đầu trang maroon */
.head{
  position:relative; color:#fff; padding:22px 16px 22px;
  background:linear-gradient(160deg, var(--maroon-d) 0%, var(--maroon) 55%, var(--maroon-2) 100%);
}
.head::after{
  content:""; position:absolute; inset:0; pointer-events:none;
  background:radial-gradient(60% 40% at 90% 0%, rgba(255,255,255,.12), transparent 70%);
}
.head > *{ position:relative; z-index:1; }
.head__brand{ display:flex; align-items:center; gap:14px; }
.head__logo{ width:62px; height:62px; flex:0 0 auto; border-radius:16px; padding:4px; background:rgba(255,255,255,.14); border:1px solid rgba(255,255,255,.22); }
.head__logo img{ width:100%; height:100%; border-radius:12px; object-fit:cover; }
.head__name{ font-family:var(--serif); font-weight:600; font-size:20px; line-height:1.25; letter-spacing:.2px; }
.head__tag{ font-size:13px; opacity:.85; margin-top:2px; }
.head__box{
  margin-top:18px; padding:16px; border-radius:18px;
  background:rgba(255,255,255,.1); border:1px solid rgba(255,255,255,.2);
  font-size:14.5px; line-height:1.65; color:rgba(255,255,255,.92);
}
.head__box strong{ color:#fff; font-weight:600; }
.head__acts{ display:grid; grid-template-columns:1fr 1fr; gap:10px; margin-top:14px; }
.head__btn{
  display:flex; align-items:center; justify-content:center; gap:8px; text-align:center;
  min-height:54px; padding:10px 12px; border-radius:16px; background:#fff; color:var(--maroon);
  font-weight:600; font-size:14px; line-height:1.3; box-shadow:0 10px 22px rgba(0,0,0,.14);
  transition:transform .15s ease;
}
.head__btn svg{ width:18px; height:18px; flex:0 0 auto; }
.head__btn:active{ transform:scale(.97); }

/* Nút */
.btn{
  display:flex; align-items:center; justify-content:center; gap:8px; width:100%;
  min-height:50px; padding:12px 18px; border-radius:16px; border:0; cursor:pointer;
  font-weight:600; font-size:15px; letter-spacing:.2px; transition:transform .15s ease, filter .15s ease;
}
.btn svg{ width:18px; height:18px; flex:0 0 auto; }
.btn--primary{ background:var(--maroon); color:#fff; box-shadow:0 12px 26px rgba(128,30,42,.26); }
.btn--soft{ background:#fff; color:var(--maroon); border:1px solid var(--line); }
.btn:active{ transform:scale(.98); }
@media (hover:hover){ .btn--primary:hover{ filter:brightness(1.08); } }
a:focus-visible, button:focus-visible, summary:focus-visible{ outline:3px solid var(--gold); outline-offset:2px; }

/* Thẻ liên hệ (dạng danh sách) */
.list{ display:flex; flex-direction:column; gap:10px; }
.row{
  display:flex; align-items:center; gap:14px; padding:14px; border-radius:18px;
  background:#fff; border:1px solid var(--line); box-shadow:var(--card-shadow);
  transition:transform .15s ease;
}
.row:active{ transform:scale(.99); }
.row__ic{ width:46px; height:46px; flex:0 0 auto; border-radius:13px; display:grid; place-items:center; overflow:hidden; background:var(--blush); color:var(--maroon); }
.row__ic img{ width:100%; height:100%; object-fit:contain; }
.row__ic svg{ width:22px; height:22px; }
.row__tx{ flex:1; min-width:0; }
.row__k{ font-size:11.5px; font-weight:700; letter-spacing:1.2px; text-transform:uppercase; color:var(--rose); }
.row__v{ font-weight:600; font-size:15px; color:var(--ink); overflow-wrap:anywhere; }
.row__go{ color:var(--rose); font-size:20px; line-height:1; flex:0 0 auto; }

/* Thẻ Zalo QR */
.zalo{ background:#fff; border:1px solid var(--line); border-radius:22px; box-shadow:var(--card-shadow); overflow:hidden; }
.zalo__top{ display:flex; align-items:center; gap:12px; padding:14px 16px; border-bottom:1px solid var(--line); }
.zalo__top img{ width:42px; height:42px; object-fit:contain; }
.zalo__t{ font-weight:700; font-size:15px; color:var(--maroon); letter-spacing:.3px; text-transform:uppercase; }
.zalo__s{ font-size:12.5px; color:var(--muted); }
.zalo__body{ display:grid; grid-template-columns:132px 1fr; gap:14px; padding:16px; align-items:center; }
@media (max-width:359px){ .zalo__body{ grid-template-columns:1fr; } .zalo__qr{ max-width:180px; margin:0 auto; } }
.zalo__qr{ border:1px dashed var(--blush-2); border-radius:16px; padding:8px; background:#fff; }
.zalo__qr img{ width:100%; height:auto; aspect-ratio:1; border-radius:8px; }
.zalo__info{ display:flex; flex-direction:column; gap:8px; min-width:0; }
.pill{ display:flex; flex-direction:column; gap:1px; padding:8px 12px; border-radius:14px; border:1px solid var(--line); background:var(--cream); }
.pill span{ font-size:11.5px; letter-spacing:.6px; text-transform:uppercase; color:var(--muted); }
.pill b{ font-weight:700; font-size:15.5px; color:var(--ink); line-height:1.35; }
.zalo__note{ min-height:1.2em; font-size:12.5px; color:var(--maroon); text-align:center; }

/* Chân trang */
.foot{ margin-top:30px; padding:22px 16px 26px; color:#fff; background:linear-gradient(160deg, var(--maroon-d), var(--maroon)); }
.foot__name{ font-family:var(--serif); font-weight:600; font-size:17px; }
.foot__tag{ font-size:13px; opacity:.8; margin-top:2px; }
.foot__links{ display:flex; flex-wrap:wrap; gap:6px 16px; margin-top:12px; font-size:13px; }
.foot__links a{ opacity:.85; text-decoration:underline; text-underline-offset:3px; text-decoration-color:rgba(255,255,255,.35); }
.foot__copy{ margin-top:12px; font-size:12px; opacity:.6; }

/* Thanh liên hệ cố định cuối màn hình, nằm trong khung */
.sbar{
  position:fixed; bottom:0; left:50%; transform:translateX(-50%); z-index:60;
  width:100%; max-width:var(--frame);
  display:grid; grid-template-columns:repeat(var(--n,3),1fr); gap:8px;
  padding:10px 12px calc(10px + env(safe-area-inset-bottom));
  background:rgba(255,255,255,.96); -webkit-backdrop-filter:blur(10px); backdrop-filter:blur(10px);
  border-top:1px solid var(--line); box-shadow:0 -10px 30px rgba(42,31,32,.08);
}
.sbar .btn{ min-height:46px; padding:8px 10px; font-size:14px; border-radius:14px; box-shadow:none; }
.sbar .btn--soft{ background:var(--blush); border-color:var(--blush-2); }

@media (prefers-reduced-motion:reduce){ *{ transition:none !important; scroll-behavior:auto !important; } }
