/* ============================================================
   TRANG LIÊN HỆ + GIỚI THIỆU — v2 (5.794). Viết lại sạch, cô lập: mọi class tiền tố .tx / .tx-
   Màu thương hiệu lấy từ theme con (--xanh / --xanh-dam: đỏ hethongluat, xanh lá zluat).
   ============================================================ */
.tx{
  --red:var(--xanh,#8B0000); --red-dk:var(--xanh-dam,#6B0000); --red-lt:var(--xanh-nhat,#fdf5f5);
  --gold:#c5a447; --gold-dk:#a8862e; --gold-lt:#ead9a0;
  --ink:#232b33; --muted:#5f6b76; --line:#ece6d9; --cream:#fbf8f1; --paper:#fff;
  --shadow:0 8px 28px rgba(30,20,10,.07);
  --serif:"Playfair Display","Times New Roman",Georgia,serif;
  display:block; font-size:15.5px; line-height:1.7; color:var(--ink); text-align:left;
}
.tx, .tx *, .tx *::before, .tx *::after{ box-sizing:border-box; }
.tx.tx h1,.tx.tx h2,.tx.tx p,.tx.tx ul,.tx.tx ol,.tx.tx li,.tx.tx dl,.tx.tx dd,.tx.tx dt,.tx.tx summary{ margin:0; padding:0; border:0; background:none; box-shadow:none; text-transform:none; letter-spacing:normal; font-style:normal; }
.tx.tx ul,.tx.tx ol{ list-style:none; }
.tx.tx a{ text-decoration:none; box-shadow:none; border-bottom:0; }
.tx.tx img{ max-width:100%; height:auto; border:0; border-radius:0; box-shadow:none; }
.tx svg{ width:1em; height:1em; flex:0 0 auto; display:block; }
.tx .tx-wrap{ width:100%; max-width:1180px; margin:0 auto; padding:0 20px; }

/* ───────── HERO ───────── */
.tx.tx .tx-hero{
  position:relative; overflow:hidden; color:#fff; border-bottom:4px solid var(--gold);
  background:linear-gradient(135deg,var(--red-dk) 0%,var(--red) 55%,var(--red-dk) 100%);
}
.tx.tx .tx-hero::before{
  content:""; position:absolute; inset:0; pointer-events:none; opacity:.55;
  background:url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='%23c5a447' stroke-opacity='0.1'%3E%3Cpath d='M0 40h80M40 0v80'/%3E%3C/g%3E%3C/svg%3E");
}
.tx.tx .tx-hero-in{ position:relative; padding-top:56px; padding-bottom:60px; }
.tx.tx .tx-eyebrow{ display:inline-flex; align-items:center; gap:8px; margin-bottom:14px; color:var(--gold-lt); font-size:12px; font-weight:700; letter-spacing:2.2px; text-transform:uppercase; }
.tx.tx .tx-eyebrow svg{ font-size:18px; }
.tx.tx .tx-h1{ font-family:var(--serif); font-weight:700; font-size:clamp(30px,2.4vw + 20px,50px); line-height:1.15; color:#fff; margin:0 0 16px; text-shadow:0 2px 12px rgba(0,0,0,.28); }
.tx.tx .tx-lead{ max-width:680px; margin:0 0 26px; font-size:17px; line-height:1.7; color:rgba(255,255,255,.9); }

/* Nút */
.tx.tx .tx-cta{ display:flex; flex-wrap:wrap; gap:12px; }
.tx.tx .tx-btn{ display:inline-flex; align-items:center; justify-content:center; gap:9px; min-height:48px; padding:0 24px; border:1.5px solid transparent; border-radius:12px; font-size:15px; font-weight:700; line-height:1; cursor:pointer; transition:.2s; }
.tx.tx .tx-btn svg{ font-size:18px; }
.tx.tx .tx-btn-gold{ background:var(--gold); border-color:var(--gold); color:#3a2600; }
.tx.tx .tx-btn-gold:hover{ background:var(--gold-lt); border-color:var(--gold-lt); }
.tx.tx .tx-btn-line{ background:transparent; border-color:rgba(255,255,255,.6); color:#fff; }
.tx.tx .tx-btn-line:hover{ background:rgba(255,255,255,.14); border-color:#fff; }
.tx.tx .tx-btn-red{ background:var(--red); border-color:var(--red); color:#fff; }
.tx.tx .tx-btn-red:hover{ background:var(--red-dk); border-color:var(--red-dk); }

/* ───────── KHỐI CHUNG ───────── */
.tx.tx .tx-main{ padding-top:36px; padding-bottom:64px; }
.tx.tx .tx-khoi{ margin-bottom:52px; }
.tx.tx .tx-h2{ position:relative; margin:0 0 24px; padding-bottom:14px; font-family:var(--serif); font-size:clamp(22px,1vw + 18px,30px); font-weight:700; line-height:1.3; color:var(--ink); }
.tx.tx .tx-h2::after{ content:""; position:absolute; left:0; bottom:0; width:60px; height:3px; border-radius:3px; background:var(--gold); }
.tx.tx .tx-h2 small{ display:block; margin-bottom:5px; font-family:inherit; font-size:12px; font-weight:700; letter-spacing:1.8px; text-transform:uppercase; color:var(--gold-dk); }
.tx.tx .tx-ic{ display:inline-flex; align-items:center; justify-content:center; width:50px; height:50px; border-radius:14px; background:linear-gradient(135deg,var(--red),var(--red-dk)); color:var(--gold-lt); border:1px solid rgba(197,164,71,.5); }
.tx.tx .tx-ic svg{ font-size:23px; }
.tx.tx .tx-noidung{ font-size:16px; line-height:1.85; color:#37424d; overflow-wrap:anywhere; }
.tx.tx .tx-noidung p{ margin:0 0 16px; }
.tx.tx .tx-noidung h2,.tx.tx .tx-noidung h3{ margin:24px 0 10px; font-family:var(--serif); color:var(--ink); }
.tx.tx .tx-noidung ul{ list-style:disc; padding-left:24px; margin:0 0 16px; }
.tx.tx .tx-noidung li{ margin:0 0 6px; }
.tx.tx .tx-noidung a{ color:var(--red); text-decoration:underline; }

/* ───────── LIÊN HỆ: 4 kênh ───────── */
.tx.tx .tx-kenh{ display:grid; grid-template-columns:repeat(auto-fit,minmax(230px,1fr)); gap:18px; margin:-44px 0 52px; position:relative; z-index:2; }
.tx.tx .tx-kenh-o{ display:flex; flex-direction:column; gap:8px; padding:24px 22px; background:var(--paper); border:1px solid var(--line); border-radius:18px; box-shadow:var(--shadow); color:var(--ink); transition:.22s; }
.tx.tx .tx-kenh-o:hover{ transform:translateY(-4px); border-color:var(--gold); box-shadow:0 16px 34px rgba(30,20,10,.12); }
.tx.tx .tx-kenh-o .tx-ic{ margin-bottom:6px; }
.tx.tx .tx-kenh-o b{ font-size:18px; font-family:var(--serif); color:var(--ink); }
.tx.tx .tx-kenh-o > span:not(.tx-ic){ font-size:14px; line-height:1.6; color:var(--muted); flex:1; }
.tx.tx .tx-kenh-o em{ display:inline-flex; align-items:center; gap:6px; margin-top:6px; font-style:normal; font-size:14px; font-weight:700; color:var(--red); }
.tx.tx .tx-kenh-o em svg{ font-size:16px; transition:.2s; }
.tx.tx .tx-kenh-o:hover em svg{ transform:translateX(4px); }

/* ───────── LIÊN HỆ: quy trình ───────── */
.tx.tx .tx-buoc{ display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:18px; counter-reset:b; }
.tx.tx .tx-buoc li{ position:relative; display:flex; flex-direction:column; gap:6px; padding:24px 22px; background:var(--paper); border:1px solid var(--line); border-radius:16px; box-shadow:var(--shadow); }
.tx.tx .tx-buoc li:not(:last-child)::after{ content:""; position:absolute; top:42px; right:-19px; width:20px; height:2px; background:var(--gold); }
.tx.tx .tx-so{ display:inline-flex; align-items:center; justify-content:center; width:40px; height:40px; margin-bottom:6px; border-radius:50%; background:var(--red); color:#fff; font-family:var(--serif); font-size:19px; font-weight:700; }
.tx.tx .tx-buoc b{ font-size:17px; font-family:var(--serif); }
.tx.tx .tx-buoc li > span:not(.tx-so){ font-size:14px; line-height:1.6; color:var(--muted); }

/* ───────── LIÊN HỆ: bản đồ ───────── */
.tx.tx .tx-map{ display:grid; grid-template-columns:minmax(0,5fr) minmax(0,7fr); gap:28px; align-items:stretch; padding:28px; background:var(--paper); border:1px solid var(--line); border-radius:20px; box-shadow:var(--shadow); }
.tx.tx .tx-map-tin{ display:flex; flex-direction:column; gap:16px; justify-content:center; align-items:flex-start; }
.tx.tx .tx-map-tin .tx-h2{ margin-bottom:6px; }
.tx.tx .tx-map-tin p{ color:var(--muted); }
.tx.tx .tx-link{ display:inline-flex; align-items:center; gap:7px; font-size:14px; font-weight:700; color:var(--red); }
.tx.tx .tx-map-khung{ min-height:340px; border-radius:14px; overflow:hidden; border:1px solid var(--line); background:#eee; }
.tx.tx .tx-map-khung iframe{ display:block; width:100%; height:100%; min-height:340px; border:0; }

/* ───────── LIÊN HỆ: hỏi đáp ───────── */
.tx.tx .tx-hd{ display:grid; gap:12px; max-width:900px; }
.tx.tx .tx-hd details{ background:var(--paper); border:1px solid var(--line); border-radius:14px; padding:0 22px; transition:.2s; }
.tx.tx .tx-hd details[open]{ border-color:var(--gold); box-shadow:var(--shadow); }
.tx.tx .tx-hd summary{ position:relative; cursor:pointer; list-style:none; padding:18px 34px 18px 0; font-size:16px; font-weight:700; color:var(--ink); }
.tx.tx .tx-hd summary::-webkit-details-marker{ display:none; }
.tx.tx .tx-hd summary::after{ content:"+"; position:absolute; right:2px; top:50%; transform:translateY(-50%); font-size:24px; font-weight:400; color:var(--red); }
.tx.tx .tx-hd details[open] summary::after{ content:"–"; }
.tx.tx .tx-hd details p{ padding:0 0 20px; color:#4a5560; line-height:1.8; }

/* ───────── GIỚI THIỆU: dải số ───────── */
.tx.tx .tx-so-dai{ display:grid; grid-template-columns:repeat(auto-fit,minmax(150px,1fr)); gap:0; margin:-44px 0 52px; position:relative; z-index:2; background:var(--paper); border:1px solid var(--line); border-radius:20px; box-shadow:var(--shadow); overflow:hidden; }
.tx.tx .tx-so-dai > div{ padding:26px 16px; text-align:center; border-right:1px solid var(--line); }
.tx.tx .tx-so-dai > div:last-child{ border-right:0; }
.tx.tx .tx-so-dai b{ display:block; font-family:var(--serif); font-size:clamp(30px,1.4vw + 22px,42px); line-height:1.1; color:var(--red); }
.tx.tx .tx-so-dai span{ display:block; margin-top:6px; font-size:13.5px; color:var(--muted); }

/* ───────── GIỚI THIỆU: lĩnh vực ───────── */
.tx.tx .tx-luoi-lv{ display:grid; grid-template-columns:repeat(auto-fill,minmax(300px,1fr)); gap:18px; }
.tx.tx .tx-lv{ display:flex; flex-direction:column; gap:8px; padding:24px 24px 20px; background:var(--paper); border:1px solid var(--line); border-top:4px solid var(--red); border-radius:14px; box-shadow:var(--shadow); color:var(--ink); transition:.22s; }
.tx.tx .tx-lv:hover{ transform:translateY(-4px); border-top-color:var(--gold); box-shadow:0 16px 34px rgba(30,20,10,.12); }
.tx.tx .tx-lv b{ font-family:var(--serif); font-size:19px; line-height:1.35; color:var(--ink); }
.tx.tx .tx-lv span{ flex:1; font-size:14px; line-height:1.65; color:var(--muted); }
.tx.tx .tx-lv em{ display:inline-flex; align-items:center; gap:6px; font-style:normal; font-size:14px; font-weight:700; color:var(--red); }
.tx.tx .tx-lv em svg{ font-size:16px; transition:.2s; }
.tx.tx .tx-lv:hover em svg{ transform:translateX(4px); }

/* ───────── GIỚI THIỆU: đội ngũ ───────── */
.tx.tx .tx-nguoi{ display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:22px; }
.tx.tx .tx-ng{ position:relative; display:block; overflow:hidden; background:var(--paper); border:1px solid var(--line); border-radius:18px; color:var(--ink); box-shadow:var(--shadow); transition:.25s; }
.tx.tx .tx-ng:hover{ transform:translateY(-5px); border-color:var(--gold); box-shadow:0 18px 36px rgba(30,20,10,.14); }
.tx.tx .tx-ng-anh{ display:block; aspect-ratio:4/5; overflow:hidden; background:linear-gradient(160deg,var(--red-dk),var(--red)); }
.tx.tx .tx-ng-anh img{ width:100%; height:100%; object-fit:cover; object-position:center top; display:block; transition:.4s; }
.tx.tx .tx-ng:hover img{ transform:scale(1.05); }
.tx.tx .tx-ng-tin{ display:block; padding:16px 14px 18px; text-align:center; border-top:3px solid var(--gold); }
.tx.tx .tx-ng-tin b{ display:block; font-family:var(--serif); font-size:17px; line-height:1.3; color:var(--ink); }
.tx.tx .tx-ng-tin small{ display:block; margin-top:5px; font-size:13px; line-height:1.4; color:var(--muted); }
.tx.tx .tx-them{ margin-top:18px; text-align:right; }
.tx.tx .tx-them a{ display:inline-flex; align-items:center; gap:7px; font-size:14.5px; font-weight:700; color:var(--red); }
.tx.tx .tx-them svg{ font-size:16px; }

/* ───────── GIỚI THIỆU: cam kết ───────── */
.tx.tx .tx-camket{ display:grid; grid-template-columns:repeat(auto-fit,minmax(210px,1fr)); gap:18px; }
.tx.tx .tx-camket > div{ display:flex; flex-direction:column; gap:8px; padding:24px 22px; background:var(--paper); border:1px solid var(--line); border-radius:16px; box-shadow:var(--shadow); }
.tx.tx .tx-camket b{ font-family:var(--serif); font-size:18px; }
.tx.tx .tx-camket > div > span:not(.tx-ic){ font-size:14px; line-height:1.65; color:var(--muted); }

/* ───────── BĂNG KÊU GỌI ───────── */
.tx.tx .tx-band{ display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:22px; padding:34px 38px; border-radius:20px; color:#fff; background:linear-gradient(135deg,var(--red-dk),var(--red)); border-bottom:4px solid var(--gold); box-shadow:var(--shadow); }
.tx.tx .tx-band-h{ margin:0 0 6px; font-family:var(--serif); font-size:clamp(20px,1vw + 16px,28px); font-weight:700; color:#fff; }
.tx.tx .tx-band p{ color:rgba(255,255,255,.85); }

/* ───────── RESPONSIVE ───────── */
@media (max-width:980px){
  .tx.tx .tx-buoc{ grid-template-columns:repeat(2,minmax(0,1fr)); }
  .tx.tx .tx-buoc li::after{ display:none; }
  .tx.tx .tx-map{ grid-template-columns:minmax(0,1fr); padding:22px; }
  .tx.tx .tx-nguoi{ grid-template-columns:repeat(3,minmax(0,1fr)); }
}
@media (max-width:640px){
  .tx.tx .tx-hero-in{ padding-top:36px; padding-bottom:48px; }
  .tx.tx .tx-lead{ font-size:16px; }
  .tx.tx .tx-btn{ flex:1 1 100%; }
  .tx.tx .tx-kenh, .tx.tx .tx-so-dai{ margin-top:-30px; }
  .tx.tx .tx-so-dai > div{ border-right:0; border-bottom:1px solid var(--line); }
  .tx.tx .tx-buoc{ grid-template-columns:minmax(0,1fr); }
  .tx.tx .tx-nguoi{ grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }
  .tx.tx .tx-band{ padding:26px 22px; }
  .tx.tx .tx-khoi{ margin-bottom:40px; }
}
