/*
Theme Name: Dai Thanh Land
Theme URI: https://daithanhland.vn
Author: Hoang Sy Sang - Dai Thanh Land
Author URI: https://daithanhland.vn
Description: Theme WordPress riêng cho Công ty Cổ phần Bất động sản Đại Thành Land (daithanhland.vn) — sàn tư vấn, phân phối, truyền thông bất động sản tại Nghệ An, Hà Tĩnh và Bắc Trung Bộ. Thiết kế cao cấp navy - gold, tối ưu mobile, SEO cơ bản, có CPT Dự án, form tư vấn, nút Zalo/hotline cố định. Chủ website tự đăng bài, thêm dự án, sửa hotline/nội dung qua Tùy biến (Customizer).
Version: 1.0.0
Requires at least: 5.8
Tested up to: 6.6
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: dai-thanh-land
Tags: real-estate, business, custom-colors, custom-menu, custom-logo, featured-images, translation-ready, responsive
*/

/* ==========================================================================
   Đại Thành Land — Bảng màu & biến hệ thống
   ========================================================================== */
:root {
  --navy-900: #071E36;
  --navy-800: #0B2A4A;
  --navy-700: #103a5f;
  --navy-600: #17507f;
  --gold: #C6A15B;
  --gold-soft: #d9bd85;
  --gold-deep: #a9843d;
  --cream: #F5F1E8;
  --cream-2: #efe9db;
  --ink: #16202B;
  --slate: #5C6B7A;
  --line: #e3ddce;
  --white: #ffffff;

  --bg: var(--cream);
  --surface: var(--white);
  --surface-2: #faf7f0;
  --text: var(--ink);
  --text-muted: var(--slate);
  --border: var(--line);
  --header-bg: rgba(7,30,54,0.94);

  --serif: Cambria, "Palatino Linotype", "Times New Roman", Georgia, serif;
  --sans: "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;

  --wrap: 1180px;
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 22px;
  --shadow-sm: 0 2px 10px rgba(11,42,74,0.08);
  --shadow-md: 0 12px 34px rgba(11,42,74,0.14);
  --shadow-lg: 0 24px 60px rgba(7,30,54,0.28);
}

/* ==========================================================================
   Reset & nền tảng
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  font-size: 16px;
}
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 700; line-height: 1.18; margin: 0; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
button { font-family: inherit; cursor: pointer; }
p { margin: 0 0 1em; }
ul { margin: 0; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.eyebrow {
  font-family: var(--sans);
  font-size: 12px; font-weight: 700;
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--gold-deep);
  display: inline-flex; align-items: center; gap: 9px;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--gold); display: inline-block; }
.muted { color: var(--text-muted); }
.screen-reader-text {
  position: absolute !important; clip: rect(1px,1px,1px,1px);
  width: 1px; height: 1px; overflow: hidden;
}
.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { left: 12px; top: 12px; z-index: 100; background: #fff; color: var(--navy-900); padding: 10px 16px; border-radius: 8px; }

/* ==========================================================================
   Nút
   ========================================================================== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 20px; border-radius: 999px; font-weight: 600; font-size: 14px;
  border: 1px solid transparent; transition: transform .15s, box-shadow .2s, background .2s;
  font-family: var(--sans); cursor: pointer;
}
.btn:active { transform: translateY(1px); }
.btn-gold { background: linear-gradient(135deg, var(--gold), var(--gold-deep)); color: var(--navy-900); box-shadow: 0 8px 20px rgba(198,161,91,0.32); }
.btn-gold:hover { box-shadow: 0 10px 26px rgba(198,161,91,0.45); color: var(--navy-900); }
.btn-ghost { background: transparent; border-color: rgba(255,255,255,0.35); color:#fff; }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold-soft); }
.btn-navy { background: var(--navy-800); color:#fff; }
.btn-navy:hover { background: var(--navy-700); color:#fff; }
.btn-outline { background: transparent; border-color: var(--border); color: var(--text); }
.btn-outline:hover { border-color: var(--gold-deep); color: var(--gold-deep); }
.btn-lg { padding: 14px 26px; font-size: 15px; }
.btn-block { width: 100%; }

/* ==========================================================================
   Header
   ========================================================================== */
.topbar {
  background: var(--navy-900);
  color: #cdd8e4;
  font-size: 12.5px;
  border-bottom: 1px solid rgba(198,161,91,0.18);
}
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; min-height: 38px; gap: 16px; }
.topbar a { color: #cdd8e4; }
.topbar a:hover { color: var(--gold-soft); }
.topbar .tb-right { display: flex; gap: 18px; align-items: center; }
.topbar .tb-right span { display: inline-flex; gap: 6px; align-items: center; }

header.site {
  position: sticky; top: 0; z-index: 50;
  background: var(--header-bg);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(198,161,91,0.22);
  color: #fff;
}
.nav { display: flex; align-items: center; justify-content: space-between; min-height: 68px; gap: 20px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand .mark {
  width: 42px; height: 42px; border-radius: 10px;
  background: linear-gradient(150deg, var(--gold), var(--gold-deep));
  display: grid; place-items: center;
  font-family: var(--serif); font-weight: 700; color: var(--navy-900);
  font-size: 22px; box-shadow: 0 6px 16px rgba(198,161,91,0.35); flex: none;
}
.brand .bt { line-height: 1.05; }
.brand .bt b { font-family: var(--serif); font-size: 19px; letter-spacing: .01em; display: block; color:#fff; }
.brand .bt small { font-size: 10.5px; letter-spacing: .22em; text-transform: uppercase; color: var(--gold-soft); }
.brand img.custom-logo { max-height: 48px; width: auto; }

/* Menu chính */
nav.menu { display: none; }
nav.menu ul { list-style: none; display: flex; gap: 22px; padding: 0; margin: 0; }
nav.menu li { position: relative; }
nav.menu a { font-size: 14.5px; color: #e7edf4; padding: 22px 0; position: relative; white-space: nowrap; display: inline-block; }
nav.menu > ul > li > a::after { content:""; position:absolute; left:0; bottom:16px; height:2px; width:0; background: var(--gold); transition: width .25s; }
nav.menu a:hover { color:#fff; }
nav.menu > ul > li:hover > a::after,
nav.menu > ul > li.current-menu-item > a::after { width: 100%; }
/* submenu */
nav.menu ul ul {
  position: absolute; top: 100%; left: 0; display: block; flex-direction: column; gap: 0;
  background: var(--navy-800); min-width: 210px; border: 1px solid rgba(198,161,91,0.25);
  border-radius: 10px; padding: 8px; box-shadow: var(--shadow-md);
  opacity: 0; visibility: hidden; transform: translateY(8px); transition: .2s; z-index: 60;
}
nav.menu li:hover > ul { opacity: 1; visibility: visible; transform: translateY(0); }
nav.menu ul ul a { padding: 9px 12px; border-radius: 7px; font-size: 14px; width: 100%; }
nav.menu ul ul a:hover { background: rgba(198,161,91,0.14); color: var(--gold-soft); }
nav.menu ul ul::after { display: none; }
.menu-item-has-children > a::before { content: "▾"; font-size: 11px; margin-left: 5px; opacity: .7; }

.nav-cta { display: flex; align-items: center; gap: 12px; }
.hamb { display: inline-grid; place-items:center; width:42px; height:42px; border-radius:10px; background: rgba(255,255,255,0.08); border:1px solid rgba(255,255,255,0.16); }
.hamb span { width:18px; height:2px; background:#fff; box-shadow: 0 6px 0 #fff, 0 -6px 0 #fff; display:block; }

/* Drawer mobile */
.drawer { position: fixed; inset: 0; z-index: 60; display: none; }
.drawer.open { display: block; }
.drawer .scrim { position:absolute; inset:0; background: rgba(4,12,22,0.55); }
.drawer .panel {
  position:absolute; top:0; right:0; height:100%; width: 84%; max-width: 340px;
  background: var(--navy-900); color:#fff; padding: 22px; overflow:auto;
  box-shadow: var(--shadow-lg); display:flex; flex-direction:column; gap: 2px;
}
.drawer .panel ul { list-style: none; padding: 0; margin: 0; }
.drawer .panel a { padding: 13px 6px; border-bottom: 1px solid rgba(255,255,255,0.08); font-size: 15px; display:flex; justify-content:space-between; color:#fff; }
.drawer .panel a:hover { color: var(--gold-soft); }
.drawer .panel .sub-menu a { padding-left: 18px; font-size: 14px; color:#c7d3df; }
.drawer .close { align-self:flex-end; background:transparent; border:none; color:#fff; font-size:28px; line-height:1; margin-bottom: 6px; }
.drawer .dw-cta { margin-top: 18px; display: grid; gap: 10px; }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero { position: relative; color:#fff; overflow: hidden; }
.hero-bg { position:absolute; inset:0; background-size: cover; background-position: center; }
.hero-bg::before {
  content:""; position:absolute; inset:0;
  background: linear-gradient(180deg, rgba(7,30,54,0.74) 0%, rgba(7,30,54,0.82) 55%, rgba(7,30,54,0.95) 100%),
              linear-gradient(120deg, rgba(16,58,95,0.5), rgba(7,30,54,0.6));
}
.hero-bg::after {
  content:""; position:absolute; inset:0; opacity:.55;
  background:
    radial-gradient(700px 380px at 78% 12%, rgba(198,161,91,0.28), transparent 60%),
    radial-gradient(520px 320px at 8% 88%, rgba(23,80,127,0.5), transparent 60%);
}
.skyline { position:absolute; left:0; right:0; bottom:0; height: 170px; opacity:.30; z-index:1; }
.hero .wrap { position: relative; z-index: 2; padding-top: 68px; padding-bottom: 74px; }
.hero .tag {
  display:inline-flex; gap:8px; align-items:center; font-size:12.5px; letter-spacing:.14em; text-transform:uppercase;
  color: var(--gold-soft); border:1px solid rgba(198,161,91,0.4); padding:7px 14px; border-radius:999px; margin-bottom:20px;
}
.hero h1 { font-size: clamp(32px, 6.6vw, 58px); letter-spacing: .01em; margin-bottom: 6px; }
.hero h1 .hl { color: var(--gold-soft); }
.hero p.sub { font-size: clamp(15px, 2.4vw, 20px); color:#e7edf4; max-width: 680px; margin: 14px 0 0; font-weight: 500; }
.hero p.desc { font-size: clamp(14px, 2vw, 16.5px); color:#c9d5e2; max-width: 640px; margin: 14px 0 0; }
.hero-cta { display:flex; flex-wrap:wrap; gap: 12px; margin-top: 28px; }

/* ==========================================================================
   Section chung
   ========================================================================== */
section.blk { padding: 62px 0; }
section.blk.alt { background: var(--surface-2); }
section.blk.navy { background: linear-gradient(160deg, var(--navy-800), var(--navy-900)); color:#fff; }
.sec-head { display:flex; align-items:flex-end; justify-content:space-between; gap: 18px; margin-bottom: 32px; flex-wrap: wrap; }
.sec-head.center { justify-content: center; text-align: center; flex-direction: column; align-items: center; }
.sec-head h2 { font-size: clamp(24px, 4vw, 34px); margin-top: 8px; }
.sec-head p { margin: 10px 0 0; color: var(--text-muted); max-width: 620px; }
section.blk.navy .sec-head p { color:#c3d0dd; }
.see-all { font-weight:700; color: var(--gold-deep); font-size:14px; white-space:nowrap; display:inline-flex; gap:6px; align-items:center; }
section.blk.navy .see-all { color: var(--gold-soft); }

.grid { display:grid; gap: 22px; grid-template-columns: 1fr; }

/* ==========================================================================
   Khối thành tựu (achievements)
   ========================================================================== */
.stats-band { display:grid; grid-template-columns: repeat(2,1fr); gap: 26px 16px; text-align:center; }
.stats-band .st b { font-family: var(--serif); font-size: clamp(30px,7vw,44px); color: var(--gold-soft); display:block; line-height: 1.05; }
.stats-band .st span { font-size: 13px; color:#c3d0dd; letter-spacing:.03em; display:block; margin-top: 4px; }
section.blk:not(.navy) .stats-band .st b { color: var(--gold-deep); }
section.blk:not(.navy) .stats-band .st span { color: var(--text-muted); }

/* ==========================================================================
   Giới thiệu (about split)
   ========================================================================== */
.split { display:grid; grid-template-columns: 1fr; gap: 30px; align-items:center; }
.about-media { position:relative; border-radius: var(--r-lg); overflow:hidden; aspect-ratio: 4/3; box-shadow: var(--shadow-md); background: var(--navy-800); }
.about-media img { width: 100%; height: 100%; object-fit: cover; }
.about-media .badge-float {
  position:absolute; bottom:16px; left:16px; background: var(--surface); color: var(--text);
  padding: 14px 18px; border-radius: var(--r-md); box-shadow: var(--shadow-md); border:1px solid var(--border);
}
.about-media .badge-float b { font-family:var(--serif); font-size:26px; color: var(--gold-deep); display:block; }
.about-media .badge-float span { font-size:12px; color: var(--text-muted); }
.ticks { list-style:none; padding:0; margin: 18px 0 0; display:grid; gap: 12px; }
.ticks li { display:flex; gap: 11px; align-items:flex-start; font-size: 15px; }
.ticks li .ck { flex:none; width:24px; height:24px; border-radius:50%; background: rgba(198,161,91,0.16); color: var(--gold-deep); display:grid; place-items:center; font-size:13px; font-weight:700; }

/* ==========================================================================
   Đối tác / thế mạnh (partner cards)
   ========================================================================== */
.feature-grid { display:grid; gap: 20px; grid-template-columns: 1fr; }
.feature-card {
  background: var(--surface); border:1px solid var(--border); border-radius: var(--r-md);
  padding: 26px 22px; box-shadow: var(--shadow-sm); transition: transform .2s, box-shadow .2s;
}
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.feature-card .ic { width:54px; height:54px; border-radius:14px; background: linear-gradient(150deg, rgba(198,161,91,0.9), var(--gold-deep)); color: var(--navy-900); display:grid; place-items:center; font-size:24px; margin-bottom: 16px; box-shadow: 0 8px 18px rgba(198,161,91,0.3); }
.feature-card h3 { font-size: 18px; margin-bottom: 8px; }
.feature-card p { font-size: 14px; color: var(--text-muted); margin: 0; }

/* ==========================================================================
   Dự án (project cards)
   ========================================================================== */
.proj-grid { display:grid; gap: 22px; grid-template-columns: 1fr; }
.proj {
  position:relative; border-radius: var(--r-md); overflow:hidden; min-height: 320px; color:#fff;
  display:flex; align-items:flex-end; box-shadow: var(--shadow-sm); transition: transform .2s, box-shadow .2s;
  border:1px solid var(--border); background: var(--navy-800);
}
.proj:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.proj .pbg { position:absolute; inset:0; width:100%; height:100%; object-fit: cover; }
.proj .pov { position:absolute; inset:0; background: linear-gradient(180deg, rgba(7,30,54,0) 28%, rgba(7,30,54,0.92) 100%); }
.proj .pc { position:relative; z-index:2; padding: 20px; width:100%; }
.proj .pc .st { display:inline-flex; gap:6px; font-size:11.5px; font-weight:700; letter-spacing:.05em; background: var(--gold); color: var(--navy-900); padding: 4px 10px; border-radius:6px; margin-bottom: 10px; }
.proj .pc .st.role { background: rgba(255,255,255,0.16); color:#fff; border:1px solid rgba(255,255,255,0.3); margin-left: 6px; }
.proj .pc h3 { font-size: 22px; color:#fff; }
.proj .pc .meta { display:flex; gap:16px; flex-wrap:wrap; font-size:13px; color:#d6e0ea; margin-top:8px; }
.proj .pc .prow { display:flex; justify-content:space-between; align-items:center; margin-top:14px; gap: 10px; }
.proj .pc .pr { font-family:var(--serif); font-size:18px; color: var(--gold-soft); font-weight:700; }

/* ==========================================================================
   Tại sao chọn (why-us)
   ========================================================================== */
.why-grid { display:grid; gap: 18px; grid-template-columns: 1fr; }
.why-item { display:flex; gap: 14px; align-items:flex-start; background: rgba(255,255,255,0.04); border:1px solid rgba(255,255,255,0.1); border-radius: var(--r-md); padding: 18px 18px; }
.why-item .n { flex:none; width:40px; height:40px; border-radius:12px; background: rgba(198,161,91,0.18); color: var(--gold-soft); display:grid; place-items:center; font-family:var(--serif); font-weight:700; font-size:18px; }
.why-item h3 { font-size: 16.5px; color:#fff; margin-bottom: 5px; }
.why-item p { font-size: 13.5px; color:#c3d0dd; margin: 0; }

/* ==========================================================================
   Tuyển dụng (recruitment)
   ========================================================================== */
.job-grid { display:grid; gap: 18px; grid-template-columns: 1fr; }
.job-card { background: var(--surface); border:1px solid var(--border); border-radius: var(--r-md); padding: 22px; box-shadow: var(--shadow-sm); display:flex; flex-direction:column; gap: 8px; transition: transform .2s, box-shadow .2s; }
.job-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--gold); }
.job-card .jt { display:flex; align-items:center; gap:10px; }
.job-card .jt .ic { width:40px; height:40px; border-radius:10px; background: rgba(198,161,91,0.15); color: var(--gold-deep); display:grid; place-items:center; font-size:19px; flex:none; }
.job-card h3 { font-size: 17px; }
.job-card p { font-size: 13.5px; color: var(--text-muted); margin: 0; flex:1; }
.job-card .jl { font-size: 12.5px; color: var(--gold-deep); font-weight: 700; display:inline-flex; align-items:center; gap:6px; }

/* ==========================================================================
   Người sáng lập (founder)
   ========================================================================== */
.founder { display:grid; grid-template-columns: 1fr; gap: 30px; align-items:center; }
.founder-media { position:relative; border-radius: var(--r-lg); overflow:hidden; aspect-ratio: 4/3; max-width: 460px; margin: 0 auto; box-shadow: var(--shadow-lg); background: var(--navy-800); }
.founder-media img { width:100%; height:100%; object-fit: cover; }
.founder-media .fq { position:absolute; left:0; right:0; bottom:0; padding: 18px; background: linear-gradient(180deg, transparent, rgba(7,30,54,0.92)); color:#fff; }
.founder-media .fq b { font-family:var(--serif); font-size: 20px; display:block; }
.founder-media .fq span { font-size:13px; color: var(--gold-soft); }
.founder-text .sig { font-family:var(--serif); font-style: italic; font-size: 22px; color: var(--gold-deep); margin-top: 18px; }

/* ==========================================================================
   Form tư vấn (lead)
   ========================================================================== */
.lead-inner { display:grid; grid-template-columns: 1fr; gap: 30px; align-items:start; }
.lead-form { background: var(--surface); border:1px solid var(--border); border-radius: var(--r-lg); padding: 26px; box-shadow: var(--shadow-lg); }
.lead-form .fg { margin-bottom: 14px; }
.lead-form .row2 { display: grid; gap: 14px; }
.lead-form label { display:block; font-size:13px; font-weight:600; margin-bottom:6px; }
.lead-form label .req { color:#b23b3b; }
.lead-form input, .lead-form select, .lead-form textarea {
  width:100%; padding: 12px 13px; border-radius: var(--r-sm); border:1px solid var(--border);
  background: var(--surface-2); color: var(--text); font-family:inherit; font-size:14.5px;
}
.lead-form input:focus, .lead-form select:focus, .lead-form textarea:focus { outline:2px solid var(--gold); outline-offset:1px; border-color: var(--gold); }
.lead-form textarea { min-height: 88px; resize: vertical; }
.form-note { font-size:12px; color: var(--text-muted); margin-top: 12px; text-align:center; }
.hp-field { position:absolute; left:-9999px; top:-9999px; }
.form-alert { padding: 13px 16px; border-radius: var(--r-sm); font-size: 14px; margin-bottom: 16px; }
.form-alert.ok { background: rgba(47,111,79,0.14); color:#2f6f4f; border:1px solid rgba(47,111,79,0.3); }
.form-alert.err { background: rgba(178,59,59,0.12); color:#b23b3b; border:1px solid rgba(178,59,59,0.3); }
.lead-benefits { list-style:none; padding:0; margin: 18px 0 0; display:grid; gap: 14px; }
.lead-benefits li { display:flex; gap:12px; align-items:flex-start; }
.lead-benefits li .ck { flex:none; width:26px; height:26px; border-radius:50%; background: rgba(198,161,91,0.16); color: var(--gold-deep); display:grid; place-items:center; font-weight:700; font-size:13px; }
section.blk.navy .lead-benefits li { color:#e7edf4; }

/* ==========================================================================
   Bài viết / trang nội dung
   ========================================================================== */
.page-hero { background: linear-gradient(160deg, var(--navy-800), var(--navy-900)); color:#fff; padding: 46px 0; }
.page-hero h1 { font-size: clamp(26px, 5vw, 40px); color:#fff; }
.page-hero .crumb { font-size: 13px; color:#b9c6d4; margin-top: 10px; }
.page-hero .crumb a:hover { color: var(--gold-soft); }

.content-area { padding: 50px 0; }
.content-wrap { display:grid; grid-template-columns: 1fr; gap: 36px; }
.entry { background: var(--surface); border:1px solid var(--border); border-radius: var(--r-md); padding: 26px; box-shadow: var(--shadow-sm); }
.entry-content { font-size: 16px; }
.entry-content h2 { font-size: 24px; margin: 26px 0 12px; }
.entry-content h3 { font-size: 20px; margin: 22px 0 10px; }
.entry-content p { margin: 0 0 16px; }
.entry-content img { border-radius: var(--r-sm); margin: 10px 0; }
.entry-content ul, .entry-content ol { margin: 0 0 16px; padding-left: 22px; }
.entry-content li { margin-bottom: 8px; }
.entry-content a { color: var(--navy-700); text-decoration: underline; }
.entry-content blockquote { border-left: 4px solid var(--gold); background: var(--surface-2); margin: 18px 0; padding: 14px 18px; border-radius: 0 8px 8px 0; }
.entry-thumb { border-radius: var(--r-md); overflow:hidden; margin-bottom: 22px; }
.entry-meta { font-size: 13px; color: var(--text-muted); margin: 6px 0 18px; display:flex; gap: 16px; flex-wrap:wrap; }

/* Card bài viết (blog/tin tức) */
.post-card { background: var(--surface); border:1px solid var(--border); border-radius: var(--r-md); overflow:hidden; box-shadow: var(--shadow-sm); transition: transform .2s, box-shadow .2s; display:flex; flex-direction:column; }
.post-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.post-card .ph { aspect-ratio: 16/9; overflow:hidden; background: var(--navy-800); }
.post-card .ph img { width:100%; height:100%; object-fit: cover; }
.post-card .pb { padding: 16px 18px 20px; display:flex; flex-direction:column; gap:8px; flex:1; }
.post-card .cat { font-size:11.5px; font-weight:700; color: var(--gold-deep); letter-spacing:.05em; text-transform:uppercase; }
.post-card h3 { font-size: 17px; line-height: 1.35; }
.post-card:hover h3 { color: var(--navy-700); }
.post-card .ex { font-size: 13.5px; color: var(--text-muted); margin:0; }
.post-card .rm { font-size: 13px; font-weight:700; color: var(--gold-deep); margin-top: auto; }

/* Sidebar */
.sidebar .widget { background: var(--surface); border:1px solid var(--border); border-radius: var(--r-md); padding: 20px; box-shadow: var(--shadow-sm); margin-bottom: 22px; }
.sidebar .widget-title { font-size: 16px; margin-bottom: 14px; padding-bottom: 8px; border-bottom: 2px solid var(--gold); display:inline-block; }
.sidebar ul { list-style:none; padding:0; margin:0; }
.sidebar li { padding: 8px 0; border-bottom: 1px solid var(--border); font-size: 14px; }
.sidebar li:last-child { border-bottom: none; }
.sidebar a:hover { color: var(--gold-deep); }

/* ==========================================================================
   Chi tiết dự án (single du_an)
   ========================================================================== */
.p-gallery { border-radius: var(--r-md); overflow:hidden; box-shadow: var(--shadow-sm); position:relative; aspect-ratio: 16/10; background: var(--navy-800); }
.p-gallery img { width:100%; height:100%; object-fit: cover; }
.p-gallery .badge { position:absolute; top:14px; left:14px; background: var(--gold); color: var(--navy-900); padding: 5px 12px; border-radius: 6px; font-weight:700; font-size:12px; }
.spec-grid { display:grid; grid-template-columns: repeat(2,1fr); gap: 1px; background: var(--border); border:1px solid var(--border); border-radius: var(--r-md); overflow:hidden; margin: 20px 0; }
.spec-grid .sp { background: var(--surface); padding: 15px 16px; }
.spec-grid .sp small { font-size:12px; color: var(--text-muted); letter-spacing:.04em; text-transform:uppercase; display:block; }
.spec-grid .sp b { font-size: 16px; margin-top:3px; display:block; }
.thumbs { display:grid; grid-template-columns: repeat(4,1fr); gap: 10px; margin-top: 10px; }
.thumbs img { aspect-ratio: 4/3; object-fit: cover; border-radius: var(--r-sm); cursor:pointer; border:2px solid transparent; }
.thumbs img:hover { border-color: var(--gold); }

/* ==========================================================================
   Footer
   ========================================================================== */
footer.site { background: var(--navy-900); color:#c7d3df; padding: 54px 0 26px; border-top: 3px solid var(--gold); }
.foot-grid { display:grid; grid-template-columns: 1fr; gap: 30px; }
footer.site h4 { color:#fff; font-family: var(--sans); font-size:14px; letter-spacing:.08em; text-transform:uppercase; margin-bottom: 14px; }
footer.site a { color:#c7d3df; font-size:14px; display:block; padding: 5px 0; }
footer.site a:hover { color: var(--gold-soft); }
footer.site ul { list-style:none; padding:0; margin:0; }
.foot-brand p { font-size:13.5px; color:#9fb1c2; }
.foot-brand .fb-line { display:flex; gap:8px; margin: 8px 0; font-size: 13.5px; color:#bccadb; }
.foot-brand .fb-line b { color:#fff; }
.foot-soc { display:flex; gap:10px; margin-top:14px; }
.foot-soc a { width:38px; height:38px; border-radius:10px; background: rgba(255,255,255,0.06); border:1px solid rgba(255,255,255,0.12); display:grid; place-items:center; padding:0; }
.foot-soc a:hover { background: rgba(198,161,91,0.2); }
.foot-bottom { border-top:1px solid rgba(255,255,255,0.1); margin-top: 34px; padding-top: 18px; display:flex; justify-content:space-between; gap:14px; flex-wrap:wrap; font-size:12.5px; color:#8ea2b5; }

/* ==========================================================================
   Nút cố định (dock) + Zalo/hotline
   ========================================================================== */
.dock { position: fixed; z-index: 70; right: 16px; bottom: 18px; display:flex; flex-direction:column; gap: 12px; }
.dock a { width: 54px; height:54px; border-radius:50%; display:grid; place-items:center; color:#fff; box-shadow: var(--shadow-md); font-size:22px; position:relative; }
.dock a.call { background: #2f9e44; }
.dock a.zalo { background: #0068ff; font-size:12px; font-weight:800; letter-spacing:.02em; }
.dock a.form { background: linear-gradient(135deg, var(--gold), var(--gold-deep)); color: var(--navy-900); }
.dock a::after { content: attr(data-tip); position:absolute; right:62px; top:50%; transform: translateY(-50%); background: var(--navy-900); color:#fff; font-size:12px; padding:6px 10px; border-radius:8px; white-space:nowrap; opacity:0; pointer-events:none; transition:opacity .2s; }
.dock a:hover::after { opacity:1; }
.pulse { animation: pulse 2s infinite; }
@keyframes pulse { 0%{box-shadow:0 0 0 0 rgba(47,158,68,0.5);}70%{box-shadow:0 0 0 14px rgba(47,158,68,0);}100%{box-shadow:0 0 0 0 rgba(47,158,68,0);} }

/* Phân trang */
.pagination { display:flex; gap:8px; justify-content:center; margin-top: 34px; flex-wrap:wrap; }
.pagination .page-numbers { display:inline-grid; place-items:center; min-width: 42px; height: 42px; padding: 0 12px; border-radius: 8px; border:1px solid var(--border); background: var(--surface); font-weight:600; font-size:14px; }
.pagination .page-numbers.current { background: var(--navy-800); color:#fff; border-color: var(--navy-800); }
.pagination .page-numbers:hover:not(.current) { border-color: var(--gold); color: var(--gold-deep); }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (min-width: 640px) {
  .grid.cols-2 { grid-template-columns: repeat(2,1fr); }
  .grid.cols-3 { grid-template-columns: repeat(2,1fr); }
  .grid.cols-4 { grid-template-columns: repeat(2,1fr); }
  .proj-grid { grid-template-columns: repeat(2,1fr); }
  .feature-grid { grid-template-columns: repeat(2,1fr); }
  .job-grid { grid-template-columns: repeat(2,1fr); }
  .why-grid { grid-template-columns: repeat(2,1fr); }
  .lead-form .row2 { grid-template-columns: 1fr 1fr; }
  .foot-grid { grid-template-columns: 1.4fr 1fr 1fr; }
}
@media (min-width: 900px) {
  nav.menu { display:flex; }
  .hamb { display:none; }
  .grid.cols-3 { grid-template-columns: repeat(3,1fr); }
  .grid.cols-4 { grid-template-columns: repeat(4,1fr); }
  .proj-grid { grid-template-columns: repeat(3,1fr); }
  .feature-grid { grid-template-columns: repeat(4,1fr); }
  .job-grid { grid-template-columns: repeat(4,1fr); }
  .why-grid { grid-template-columns: repeat(3,1fr); }
  .stats-band { grid-template-columns: repeat(5,1fr); }
  .split { grid-template-columns: 1fr 1fr; }
  .founder { grid-template-columns: 460px 1fr; }
  .lead-inner { grid-template-columns: 1fr 1.05fr; }
  .content-wrap.has-sidebar { grid-template-columns: 1fr 320px; }
  .foot-grid { grid-template-columns: 1.6fr 1fr 1fr 1.2fr; }
}
