/**
 * Chi tiết lĩnh vực (CPT linh_vuc) — single-linh_vuc.php.
 * Dùng lại token màu/font của home.css: navy #071726 / #0A1F33 — kem #FAF9F6 — vàng đồng #C6A667.
 */

/* ---------- HERO ---------- */
.tlv-hero {
  position: relative; min-height: 560px; height: 66vh; max-height: 720px;
  background: var(--tch-navy-1); color: var(--tch-cream);
  display: flex; align-items: center; overflow: hidden;
}
.tlv-hero-bg { position: absolute; inset: 0; opacity: 0.38; }
.tlv-hero-bg img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tlv-hero-overlay {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(100deg, rgba(7, 23, 38, 0.96) 0%, rgba(10, 31, 51, 0.9) 46%, rgba(13, 41, 66, 0.62) 100%);
}
.tlv-hero-in { position: relative; width: 100%; padding-top: 96px; padding-bottom: 96px; animation: tch-fade-up 0.9s ease both; }

.tlv-crumb {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px;
  font-size: 11.5px; letter-spacing: 0.08em; font-weight: 600; text-transform: uppercase;
  margin-bottom: 34px;
}
.tlv-crumb a { color: rgba(255, 255, 255, 0.55); text-decoration: none; transition: color 0.2s; }
.tlv-crumb a:hover { color: var(--tch-gold); }
.tlv-crumb i { font-style: normal; color: rgba(255, 255, 255, 0.25); }
.tlv-crumb span { color: rgba(255, 255, 255, 0.85); }

.tlv-hero-eyebrow {
  font-size: 12px; letter-spacing: 0.28em; color: var(--tch-gold);
  font-weight: 700; margin-bottom: 20px;
}
.tlv-hero-title {
  font-family: 'Cormorant Garamond', 'Noto Sans JP', serif;
  font-size: clamp(38px, 4.6vw, 66px); font-weight: 500; line-height: 1.08;
  margin: 0 0 20px; max-width: 820px;
}
.tlv-badge {
  display: inline-block; border: 1px solid rgba(198, 166, 103, 0.55); color: var(--tch-gold);
  font-size: 11px; letter-spacing: 0.12em; font-weight: 700; text-transform: uppercase;
  padding: 9px 16px; margin-bottom: 26px;
}
.tlv-hero-lead {
  margin: 0; max-width: 620px; padding-left: 18px; border-left: 2px solid rgba(198, 166, 103, 0.5);
  font-size: 14px; line-height: 1.7; color: rgba(255, 255, 255, 0.72); font-weight: 300;
}

/* ---------- CON SỐ ẤN TƯỢNG ---------- */
.tlv-metrics { background: var(--tch-cream); border-bottom: 1px solid rgba(10, 31, 51, 0.08); padding: 58px 0; }
.tlv-metrics-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.tlv-metric { text-align: center; padding: 0 20px; border-right: 1px solid rgba(10, 31, 51, 0.1); }
.tlv-metric:last-child { border-right: 0; }
.tlv-metric-num {
  font-family: 'Cormorant Garamond', serif; font-size: 46px; font-weight: 500; line-height: 1.1;
  color: var(--tch-navy-2);
}
.tlv-metric-label {
  font-size: 11.5px; letter-spacing: 0.1em; color: rgba(10, 31, 51, 0.55);
  margin-top: 10px; text-transform: uppercase; font-weight: 700; line-height: 1.5;
}

/* ---------- NỘI DUNG ---------- */
.tlv-body { background: #fff; padding: 92px 0; }
.tlv-grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 64px; align-items: start; }

/* Cột nội dung chính */
.tlv-main { color: var(--tch-navy-2); max-width: 760px; }
.tlv-main > p { font-size: 15px; line-height: 1.85; font-weight: 300; color: rgba(10, 31, 51, 0.78); margin: 0 0 20px; }
.tlv-main > p.lead { font-size: 17px; line-height: 1.75; color: rgba(10, 31, 51, 0.88); }
.tlv-main h2 {
  font-family: 'Cormorant Garamond', 'Noto Sans JP', serif;
  font-size: 30px; font-weight: 500; line-height: 1.25;
  margin: 44px 0 18px; padding-left: 14px; border-left: 3px solid var(--tch-gold);
}
.tlv-main h2:first-child { margin-top: 0; }
.tlv-main h3 { font-size: 16px; font-weight: 700; margin: 30px 0 12px; }
.tlv-main a { color: var(--tch-gold); }
.tlv-main img { border-radius: 8px; }

/* Khối thành tích & bằng khen (HTML trong nội dung) */
.tlv-awards {
  margin: 38px 0 8px; padding: 30px 32px;
  background: var(--tch-cream); border: 1px solid rgba(10, 31, 51, 0.08); border-left: 3px solid var(--tch-gold);
}
.tlv-awards-title {
  font-size: 11.5px; letter-spacing: 0.16em; color: var(--tch-gold);
  font-weight: 700; margin-bottom: 20px;
}
.tlv-award { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 16px; }
.tlv-award:last-child { margin-bottom: 0; }
.tlv-award-icon { font-size: 20px; line-height: 1.4; flex-shrink: 0; }
.tlv-award-body { font-size: 14px; line-height: 1.7; color: rgba(10, 31, 51, 0.8); font-weight: 300; margin: 0; }
.tlv-award-body strong { font-weight: 700; color: var(--tch-navy-2); }

/* Khối dự án (re-project-box kế thừa style.css — chỉ tinh chỉnh trong ngữ cảnh này) */
.tlv-main .re-project-box { background: var(--tch-cream); margin-top: 36px; }

/* Cột phải */
.tlv-side { position: sticky; top: calc(var(--tch-header-h, 64px) + 90px); display: flex; flex-direction: column; gap: 22px; }
.tlv-side-box { border: 1px solid rgba(10, 31, 51, 0.12); padding: 28px; background: #fff; }
.tlv-side-head { font-size: 11px; letter-spacing: 0.16em; color: var(--tch-gold); font-weight: 700; margin-bottom: 18px; }
.tlv-unit { padding: 14px 0; border-top: 1px solid rgba(10, 31, 51, 0.08); }
.tlv-unit:first-of-type { border-top: 0; padding-top: 0; }
.tlv-unit-name { font-size: 15px; font-weight: 700; color: var(--tch-navy-2); margin-bottom: 5px; }
.tlv-unit-desc { font-size: 13px; line-height: 1.6; color: rgba(10, 31, 51, 0.55); font-weight: 300; margin: 0; }

.tlv-side-box.is-cta { background: var(--tch-navy-2); border-color: var(--tch-navy-2); color: var(--tch-cream); }
.tlv-side-box.is-cta .tlv-side-head { color: var(--tch-gold); }
.tlv-side-text { font-size: 13.5px; line-height: 1.7; color: rgba(255, 255, 255, 0.7); font-weight: 300; margin: 0 0 22px; }
.tlv-side-box.is-cta .tch-btn-solid { width: 100%; text-align: center; }
.tlv-side-link {
  display: block; margin-top: 16px; text-align: center;
  font-size: 12px; letter-spacing: 0.05em; font-weight: 600; color: rgba(255, 255, 255, 0.65);
  text-decoration: none; transition: color 0.2s;
}
.tlv-side-link:hover { color: var(--tch-gold); }

/* ---------- CÁC LĨNH VỰC KHÁC ---------- */
.tlv-more { background: var(--tch-cream); padding: 92px 0; }
/* Mặc định 3 cột (xem 1 lĩnh vực thì còn đúng 3 lĩnh vực khác).
   Độ đặc hiệu 0,2,0 — phải tự xử lý responsive vì media rule 0,1,0 của home.css không thắng được. */
.tlv-more .tch-sector-grid { grid-template-columns: repeat(3, 1fr); }
/* Khi có 4 mục (xem trang liên doanh) giữ lưới 4 cột như trang chủ */
.tlv-more .tch-sector-grid.is-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1100px) {
  /* Lưới 2 cột với số card lẻ sẽ còn ô trống nếu dùng trick "gap 1px + nền line"
     — chuyển sang card viền + khoảng cách như khối Liên doanh. */
  .tlv-more .tch-sector-grid,
  .tlv-more .tch-sector-grid.is-4 {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px; background: transparent;
  }
  .tlv-more .tch-sector { border: 1px solid rgba(10, 31, 51, 0.12); }
}
@media (max-width: 760px) {
  .tlv-more .tch-sector-grid,
  .tlv-more .tch-sector-grid.is-4 {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

/* ---------- CTA HỢP TÁC ---------- */
.tlv-cta {
  background: linear-gradient(120deg, var(--tch-navy-1), var(--tch-navy-4));
  color: var(--tch-cream); padding: 84px 0;
}
.tlv-cta-in { display: flex; justify-content: space-between; align-items: center; gap: 48px; flex-wrap: wrap; }
.tlv-cta-title {
  font-family: 'Cormorant Garamond', 'Noto Sans JP', serif;
  font-size: clamp(30px, 3.2vw, 44px); font-weight: 500; line-height: 1.15; margin: 0 0 14px;
}
.tlv-cta-lead { font-size: 14.5px; line-height: 1.7; color: rgba(255, 255, 255, 0.65); font-weight: 300; margin: 0; max-width: 560px; }
.tlv-cta .tch-btn-row { margin: 0; }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1100px) {
  .tlv-grid { grid-template-columns: 1fr; gap: 48px; }
  .tlv-side { position: static; flex-direction: row; }
  .tlv-side-box { flex: 1; }
}
@media (max-width: 760px) {
  .tlv-hero { min-height: 480px; height: 62vh; }
  .tlv-hero-in { padding-top: 64px; padding-bottom: 64px; }
  .tlv-metrics, .tlv-body, .tlv-more { padding-top: 64px; padding-bottom: 64px; }
  .tlv-metric-num { font-size: 36px; }
  .tlv-side { flex-direction: column; }
  .tlv-main h2 { font-size: 24px; }
  .tlv-cta { padding: 64px 0; }
  .tlv-cta-in { flex-direction: column; align-items: flex-start; }
}
