/*
Theme Name: Đoàn Hiền BĐS
Theme URI: https://batdongsantaynguyen.com.vn
Author: Đoàn Hiền
Description: Giao diện riêng cho Đoàn Hiền – Bất động sản Tây Nguyên. Quản lý bất động sản, bộ lọc khu vực/loại/giá/diện tích, video review, nút gọi – Zalo, form tư vấn, schema SEO.
Version: 1.0.0
Requires at least: 6.2
Requires PHP: 7.4
License: GPLv2 or later
Text Domain: doanhien
*/

:root {
	--green: #0f4d2e;
	--green-700: #0b3a23;
	--green-600: #145c37;
	--green-500: #1b6b42;
	--green-50: #eef5f0;
	--gold: #c9a24a;
	--gold-600: #b08a35;
	--gold-300: #e6c878;
	--gold-50: #fbf5e6;
	--ink: #1c2a22;
	--muted: #5d6b63;
	--line: #e3e9e5;
	--bg: #ffffff;
	--bg-soft: #f7f9f7;
	--radius: 14px;
	--radius-sm: 8px;
	--shadow: 0 10px 30px rgba(15, 77, 46, .08);
	--shadow-lg: 0 20px 50px rgba(15, 77, 46, .16);
	--font: "Be Vietnam Pro", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { overflow-x: clip; }
body { margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.65; color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; }
img, svg, video, iframe { max-width: 100%; }
img { height: auto; display: block; }
a { color: var(--green-500); text-decoration: none; }
a:hover { color: var(--gold-600); }
h1, h2, h3, h4 { line-height: 1.25; margin: 0 0 .5em; color: var(--green-700); font-weight: 700; }
p { margin: 0 0 1em; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--green); color: #fff; padding: 8px 14px; z-index: 999; border-radius: 6px; }
.skip-link:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 16px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 22px; border-radius: 999px; font-weight: 600; font-size: 15px; line-height: 1.2; border: 2px solid transparent; cursor: pointer; transition: transform .15s, background .2s, color .2s, box-shadow .2s; font-family: inherit; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-green { background: var(--green); color: #fff; }
.btn-green:hover { background: var(--green-600); color: #fff; }
.btn-gold { background: linear-gradient(135deg, var(--gold-300), var(--gold) 55%, var(--gold-600)); color: var(--green-700); box-shadow: 0 6px 18px rgba(201, 162, 74, .35); }
.btn-gold:hover { color: var(--green-700); box-shadow: 0 8px 22px rgba(201, 162, 74, .5); }
.btn-outline { border-color: currentColor; color: var(--green); background: transparent; }
.btn-outline-light { border-color: rgba(255,255,255,.7); color: #fff; background: rgba(255,255,255,.06); }
.btn-outline-light:hover { background: #fff; color: var(--green); }
.btn-zalo { background: #0068ff; color: #fff; }
.btn-zalo:hover { background: #0057d6; color: #fff; }
.btn-sm { padding: 8px 14px; font-size: 14px; }
.btn-block { width: 100%; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.97); border-bottom: 1px solid var(--line); backdrop-filter: saturate(1.2) blur(6px); }
.site-header.is-scrolled { box-shadow: 0 6px 20px rgba(0,0,0,.06); }
.header-inner { display: flex; align-items: center; gap: 20px; min-height: 76px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--green); flex: none; }
.brand:hover { color: var(--green); }
.brand-mark { width: 48px; height: 48px; flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-weight: 800; font-size: 19px; letter-spacing: .04em; color: var(--green); }
.brand-sub { font-size: 10.5px; font-weight: 600; letter-spacing: .14em; color: var(--gold-600); text-transform: uppercase; margin-top: 3px; }
.custom-logo { max-height: 56px; width: auto; }

.main-nav { margin-left: auto; }
.main-nav ul { list-style: none; margin: 0; padding: 0; }
.main-nav > ul { display: flex; gap: 2px; align-items: center; }
.main-nav li { position: relative; }
.main-nav a { display: block; padding: 10px 11px; color: var(--ink); font-weight: 500; font-size: 15px; border-radius: 8px; }
.main-nav a:hover, .main-nav .current-menu-item > a, .main-nav .current-menu-ancestor > a { color: var(--green-500); }
.main-nav .current-menu-item > a { box-shadow: inset 0 -2px 0 var(--gold); border-radius: 0; }
.main-nav .sub-menu { position: absolute; top: 100%; left: 0; min-width: 230px; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow-lg); padding: 8px; opacity: 0; visibility: hidden; transform: translateY(6px); transition: .18s; }
.main-nav li:hover > .sub-menu, .main-nav li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.main-nav .sub-menu a { padding: 8px 12px; font-size: 14.5px; }
.main-nav .sub-menu a:hover { background: var(--green-50); }
.main-nav .menu-item-has-children > a::after { content: ""; display: inline-block; width: 6px; height: 6px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg); margin: 0 0 3px 7px; }
.header-call { flex: none; }
.nav-toggle { display: none; margin-left: auto; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 10px; background: #fff; cursor: pointer; padding: 11px 10px; flex-direction: column; justify-content: space-between; }
.nav-toggle span:not(.sr-only) { display: block; height: 2px; background: var(--green); border-radius: 2px; }

/* Hero */
.hero { position: relative; color: #fff; background: var(--green-700) center/cover no-repeat; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(8, 42, 25, .92) 0%, rgba(11, 58, 35, .78) 45%, rgba(11, 58, 35, .25) 100%); }
.hero-inner { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: 32px; align-items: end; min-height: 600px; padding-top: 64px; }
.hero-text { padding-bottom: 130px; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-300); margin-bottom: 16px; }
.eyebrow::before { content: ""; width: 34px; height: 2px; background: var(--gold); }
.hero h1 { color: #fff; font-size: clamp(32px, 5vw, 56px); font-weight: 800; letter-spacing: -.01em; margin-bottom: 18px; }
.hero h1 .accent { color: var(--gold-300); }
.hero-lead { font-size: 18px; color: rgba(255,255,255,.88); max-width: 560px; margin-bottom: 28px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 30px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 10px 22px; list-style: none; margin: 0; padding: 0; font-size: 14.5px; color: rgba(255,255,255,.9); }
.hero-trust li { display: flex; align-items: center; gap: 8px; }
.hero-trust svg { width: 18px; height: 18px; color: var(--gold-300); }
.hero-portrait { align-self: end; justify-self: center; position: relative; }
.hero-portrait img { max-height: 560px; width: auto; filter: drop-shadow(0 20px 40px rgba(0,0,0,.35)); }
.hero-portrait::before { content: ""; position: absolute; left: 50%; bottom: 0; width: 86%; aspect-ratio: 1; transform: translateX(-50%); border-radius: 50%; background: radial-gradient(circle, rgba(201,162,74,.38), transparent 68%); z-index: -1; }
.hero-emblem { align-self: center; justify-self: center; width: min(320px, 70%); opacity: .95; padding-bottom: 120px; }

/* Search box */
.search-wrap { position: relative; z-index: 5; margin-top: -84px; }
.search-box { background: #fff; border-radius: 18px; box-shadow: var(--shadow-lg); padding: 22px; border-top: 4px solid var(--gold); }
.search-box h2 { font-size: 18px; margin-bottom: 14px; display: flex; align-items: center; gap: 8px; }
.search-box h2 svg { width: 20px; height: 20px; color: var(--gold-600); }
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
@media (max-width: 600px) { .admin-bar .site-header { top: 0; } }
.filter-grid { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr) auto; gap: 12px; align-items: end; }
.field label { display: block; font-size: 13px; font-weight: 600; color: var(--muted); margin-bottom: 5px; }
.field input, .field select, .field textarea { width: 100%; font: inherit; font-size: 15px; color: var(--ink); padding: 11px 13px; border: 1px solid var(--line); border-radius: 10px; background: #fff; transition: border-color .15s, box-shadow .15s; }
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 17px) 50%, calc(100% - 12px) 50%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 32px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--green-500); box-shadow: 0 0 0 3px rgba(27,107,66,.15); }
.filter-grid .btn { height: 47px; }

/* Sections */
.section { padding: 80px 0; }
.section-soft { background: var(--bg-soft); }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 34px; flex-wrap: wrap; }
.section-head .eyebrow { color: var(--gold-600); margin-bottom: 8px; }
.section-head h2 { font-size: clamp(26px, 3.2vw, 36px); margin: 0; }
.section-head p { color: var(--muted); margin: 8px 0 0; max-width: 620px; }
.link-more { font-weight: 600; display: inline-flex; align-items: center; gap: 6px; }
.link-more::after { content: "→"; }

/* Category grid */
.cat-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.cat-card { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; padding: 22px 18px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); color: var(--ink); transition: .2s; }
.cat-card:hover { border-color: var(--gold); box-shadow: var(--shadow); transform: translateY(-3px); color: var(--ink); }
.cat-icon { width: 48px; height: 48px; border-radius: 12px; background: var(--green-50); color: var(--green); display: grid; place-items: center; }
.cat-icon svg { width: 26px; height: 26px; }
.cat-card:hover .cat-icon { background: var(--green); color: var(--gold-300); }
.cat-card strong { font-size: 16px; color: var(--green-700); }
.cat-card span { font-size: 13px; color: var(--muted); }

/* Property cards */
.grid-bds { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card-bds { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: .2s; }
.card-bds:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); border-color: transparent; }
.card-media { position: relative; display: block; aspect-ratio: 3 / 2; background: var(--green-50); overflow: hidden; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.card-bds:hover .card-media img { transform: scale(1.04); }
.ph { position: absolute; inset: 0; display: grid; place-items: center; color: var(--muted); font-size: 14px; background: repeating-linear-gradient(135deg, var(--green-50), var(--green-50) 12px, #e6efe9 12px, #e6efe9 24px); text-align: center; padding: 12px; }
.badges { position: absolute; top: 12px; left: 12px; display: flex; gap: 6px; flex-wrap: wrap; }
.badge { display: inline-block; font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: rgba(11,58,35,.88); color: #fff; }
.badge-gold { background: var(--gold); color: var(--green-700); }
.badge-video { position: absolute; right: 12px; bottom: 12px; display: inline-flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 600; padding: 5px 10px; border-radius: 999px; background: rgba(0,0,0,.65); color: #fff; }
.badge-video svg { width: 14px; height: 14px; }
.sold-flag { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(0,0,0,.45); color: #fff; font-weight: 800; font-size: 22px; letter-spacing: .1em; text-transform: uppercase; }
.card-body { padding: 18px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.card-title { font-size: 17px; margin: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card-title a { color: var(--green-700); }
.card-title a:hover { color: var(--green-500); }
.card-loc { display: flex; align-items: center; gap: 6px; font-size: 14px; color: var(--muted); margin: 0; }
.card-loc svg, .card-meta svg { width: 16px; height: 16px; color: var(--gold-600); flex: none; }
.card-meta { display: flex; flex-wrap: wrap; gap: 6px 16px; list-style: none; margin: 0; padding: 0; font-size: 14px; color: var(--ink); }
.card-meta li { display: flex; align-items: center; gap: 6px; }
.card-foot { margin-top: auto; padding-top: 12px; border-top: 1px dashed var(--line); display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.price { font-size: 20px; font-weight: 800; color: var(--green); }
.price small { font-size: 13px; font-weight: 500; color: var(--muted); }

/* Video grid */
.video-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.video-card { color: var(--ink); }
.video-thumb { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: var(--green-700); }
.video-thumb img { width: 100%; height: 100%; object-fit: cover; opacity: .9; transition: .3s; }
.video-card:hover .video-thumb img { opacity: 1; transform: scale(1.03); }
.play { position: absolute; left: 50%; top: 50%; width: 64px; height: 64px; transform: translate(-50%, -50%); border-radius: 50%; background: rgba(201,162,74,.95); color: var(--green-700); display: grid; place-items: center; box-shadow: 0 0 0 10px rgba(201,162,74,.25); }
.play svg { width: 26px; height: 26px; margin-left: 3px; }
.video-card h3 { font-size: 16px; margin: 12px 0 4px; }
.video-card p { font-size: 14px; color: var(--muted); margin: 0; }

/* Areas */
.area-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.area-card { display: flex; justify-content: space-between; align-items: center; padding: 18px 20px; background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--gold); border-radius: 12px; color: var(--green-700); font-weight: 600; transition: .2s; }
.area-card:hover { background: var(--green); color: #fff; border-color: var(--green); }
.area-card small { font-weight: 500; color: var(--muted); }
.area-card:hover small { color: var(--gold-300); }

/* About */
.about { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: center; }
.about-media { position: relative; border-radius: 20px; overflow: hidden; background: linear-gradient(160deg, var(--green), var(--green-700)); aspect-ratio: 4 / 5; display: grid; place-items: center; }
.about-media img { width: 100%; height: 100%; object-fit: cover; }
.about-media .emblem { width: 55%; }
.about-media::after { content: ""; position: absolute; inset: 14px; border: 1px solid rgba(201,162,74,.6); border-radius: 14px; pointer-events: none; }
.about h2 { font-size: clamp(26px, 3.2vw, 36px); }
.values { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 24px 0 28px; padding: 0; list-style: none; }
.values li { display: flex; gap: 12px; align-items: flex-start; padding: 14px; background: var(--bg-soft); border-radius: 12px; }
.values svg { width: 22px; height: 22px; color: var(--gold-600); flex: none; margin-top: 2px; }
.values strong { display: block; color: var(--green-700); }
.values span { font-size: 14px; color: var(--muted); }

/* CTA band */
.cta-band { background: linear-gradient(120deg, var(--green-700), var(--green-500)); color: #fff; border-radius: 22px; padding: 44px; display: grid; grid-template-columns: 1.3fr 1fr; gap: 32px; align-items: center; position: relative; overflow: hidden; }
.cta-band::after { content: ""; position: absolute; right: -80px; top: -80px; width: 260px; height: 260px; border-radius: 50%; border: 40px solid rgba(201,162,74,.15); }
.cta-band h2 { color: #fff; font-size: clamp(24px, 3vw, 32px); }
.cta-band p { color: rgba(255,255,255,.85); }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; position: relative; z-index: 1; }

/* Posts */
.grid-posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card-post { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.card-post .card-media { aspect-ratio: 16 / 9; }
.card-post .card-body { gap: 8px; }
.card-post .cat { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--gold-600); }
.card-post p { font-size: 14.5px; color: var(--muted); margin: 0; }

/* Page hero / breadcrumbs */
.page-hero { background: linear-gradient(120deg, var(--green-700), var(--green-500)); color: #fff; padding: 46px 0 40px; position: relative; overflow: hidden; }
.page-hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 60px; background: url("assets/img/hills-line.svg") bottom center / cover no-repeat; opacity: .5; }
.page-hero h1 { color: #fff; font-size: clamp(26px, 4vw, 40px); margin: 6px 0 8px; }
.page-hero p { color: rgba(255,255,255,.85); margin: 0; max-width: 720px; }
.breadcrumbs { font-size: 13.5px; color: rgba(255,255,255,.75); }
.breadcrumbs a { color: var(--gold-300); }
.breadcrumbs span[aria-hidden] { margin: 0 6px; }

/* Archive */
.archive-filter { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 18px; margin: -30px 0 30px; position: relative; z-index: 2; box-shadow: var(--shadow); }
.result-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 20px; flex-wrap: wrap; color: var(--muted); }
.result-bar strong { color: var(--green-700); }
.result-bar select { font: inherit; padding: 8px 12px; border-radius: 10px; border: 1px solid var(--line); }
.empty { text-align: center; padding: 60px 20px; background: var(--bg-soft); border-radius: 16px; color: var(--muted); }
.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 40px; flex-wrap: wrap; }
.pagination .page-numbers { min-width: 42px; height: 42px; display: grid; place-items: center; padding: 0 12px; border-radius: 10px; border: 1px solid var(--line); color: var(--ink); font-weight: 600; }
.pagination .current { background: var(--green); color: #fff; border-color: var(--green); }
.term-intro { margin-bottom: 24px; color: var(--muted); }

/* Single property */
.single-wrap { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 32px; padding: 32px 0 70px; align-items: start; }
.gallery-main { position: relative; aspect-ratio: 16 / 10; border-radius: 16px; overflow: hidden; background: var(--green-50); cursor: zoom-in; }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumbs { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; margin-top: 8px; }
.gallery-thumbs button { padding: 0; border: 2px solid transparent; border-radius: 8px; overflow: hidden; aspect-ratio: 4 / 3; cursor: pointer; background: none; }
.gallery-thumbs button.is-active { border-color: var(--gold); }
.gallery-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.prop-head { margin: 26px 0 18px; }
.prop-head h1 { font-size: clamp(24px, 3.2vw, 34px); margin-bottom: 8px; }
.prop-price { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.prop-price .price { font-size: 30px; }
.prop-price .unit { color: var(--muted); }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 0 0 28px; padding: 0; list-style: none; }
.facts li { padding: 14px 16px; background: var(--bg-soft); border-radius: 12px; border: 1px solid var(--line); }
.facts .k { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--muted); }
.facts .k svg { width: 15px; height: 15px; color: var(--gold-600); }
.facts .v { font-weight: 700; color: var(--green-700); }
.block { margin-bottom: 34px; }
.block > h2 { font-size: 22px; padding-bottom: 10px; border-bottom: 2px solid var(--line); position: relative; }
.block > h2::after { content: ""; position: absolute; left: 0; bottom: -2px; width: 60px; height: 2px; background: var(--gold); }
.video-embed { position: relative; aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden; background: #000; margin-bottom: 14px; }
.video-embed iframe, .video-embed video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-embed.is-vertical { aspect-ratio: auto; background: none; }
.video-embed.is-vertical iframe, .video-embed.is-vertical blockquote { position: static; }
.map-embed { aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); }
.map-embed iframe { width: 100%; height: 100%; border: 0; }
.note { font-size: 13.5px; color: var(--muted); background: var(--gold-50); border-left: 3px solid var(--gold); padding: 12px 14px; border-radius: 8px; }
.entry-content > *:last-child { margin-bottom: 0; }
.entry-content img { border-radius: 10px; }
.entry-content h2 { margin-top: 1.4em; }
.entry-content ul, .entry-content ol { padding-left: 1.3em; }
.side-box { position: sticky; top: 96px; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 22px; box-shadow: var(--shadow); }
.side-box .agent { display: flex; gap: 12px; align-items: center; margin-bottom: 16px; }
.side-box .agent img, .side-box .agent .brand-mark { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; background: var(--green-50); }
.side-box .agent strong { display: block; color: var(--green-700); }
.side-box .agent span { font-size: 13px; color: var(--muted); }
.side-box .btn { width: 100%; margin-bottom: 10px; }
.side-box hr { border: 0; border-top: 1px dashed var(--line); margin: 16px 0; }
.side-box h3 { font-size: 16px; }

/* Forms */
.lead-form { display: grid; gap: 12px; scroll-margin-top: 110px; }
.lead-form .row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.lead-form textarea { min-height: 110px; resize: vertical; }
.hp { position: absolute !important; left: -9999px !important; }
.form-msg { padding: 12px 14px; border-radius: 10px; font-size: 14.5px; }
.form-msg.ok { background: var(--green-50); color: var(--green-700); border: 1px solid #cfe3d6; }
.form-msg.err { background: #fdf0ef; color: #9b2c22; border: 1px solid #f3cdc9; }
.form-note { font-size: 12.5px; color: var(--muted); margin: 0; }

/* Service page */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: step; list-style: none; padding: 0; margin: 0; }
.steps li { position: relative; padding: 26px 22px 22px; background: #fff; border: 1px solid var(--line); border-radius: 16px; counter-increment: step; }
.steps li::before { content: counter(step, decimal-leading-zero); display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; background: var(--green); color: var(--gold-300); font-weight: 800; margin-bottom: 14px; }
.steps strong { display: block; color: var(--green-700); font-size: 17px; margin-bottom: 4px; }
.steps span { color: var(--muted); font-size: 14.5px; }
.platforms { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.platform { display: flex; gap: 14px; align-items: center; padding: 22px; border-radius: 16px; background: #fff; border: 1px solid var(--line); }
.platform svg { width: 40px; height: 40px; flex: none; }
.platform strong { display: block; color: var(--green-700); }
.platform span { font-size: 14px; color: var(--muted); }
.two-col { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: start; }
.card-pad { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 26px; box-shadow: var(--shadow); }
.contact-list { list-style: none; padding: 0; margin: 0 0 20px; display: grid; gap: 12px; }
.contact-list li { display: flex; gap: 14px; align-items: center; padding: 16px; border-radius: 14px; background: var(--bg-soft); }
.contact-list .ic { width: 44px; height: 44px; border-radius: 12px; background: var(--green); color: var(--gold-300); display: grid; place-items: center; flex: none; }
.contact-list .ic svg { width: 22px; height: 22px; }
.contact-list small { display: block; color: var(--muted); font-size: 13px; }
.contact-list a, .contact-list b { font-weight: 700; color: var(--green-700); }

/* Blog single */
.post-wrap { max-width: 780px; margin: 0 auto; padding: 40px 16px 70px; }
.post-meta { color: rgba(255,255,255,.8); font-size: 14px; }
.post-wrap .entry-content { font-size: 17px; }
.post-thumb { border-radius: 16px; overflow: hidden; margin-bottom: 28px; }

/* Footer */
.site-footer { background: var(--green-700); color: rgba(255,255,255,.78); padding: 64px 0 0; margin-top: 0; position: relative; }
.site-footer::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: linear-gradient(90deg, var(--gold-600), var(--gold-300), var(--gold-600)); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 36px; }
.site-footer h3 { color: var(--gold-300); font-size: 15px; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 16px; }
.site-footer a { color: rgba(255,255,255,.85); }
.site-footer a:hover { color: var(--gold-300); }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 15px; }
.site-footer .brand-name { color: #fff; }
.site-footer .brand { margin-bottom: 16px; }
.footer-about { font-size: 15px; }
.socials { display: flex; gap: 10px; margin-top: 16px; }
.socials a { width: 40px; height: 40px; border-radius: 10px; background: rgba(255,255,255,.08); display: grid; place-items: center; }
.socials a:hover { background: var(--gold); color: var(--green-700); }
.socials svg { width: 20px; height: 20px; }
.footer-bottom { margin-top: 48px; border-top: 1px solid rgba(255,255,255,.1); padding: 18px 0 22px; font-size: 13.5px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }

/* Floating contact */
.float-contact { position: fixed; right: 18px; bottom: 22px; z-index: 90; display: flex; flex-direction: column; gap: 12px; }
.float-contact a { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; color: #fff; box-shadow: 0 8px 22px rgba(0,0,0,.22); position: relative; }
.float-contact a svg { width: 26px; height: 26px; }
.float-contact .fc-zalo { background: #0068ff; font-weight: 800; font-size: 13px; }
.float-contact .fc-call { background: var(--green); }
.float-contact .fc-call::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--green-500); animation: ring 1.8s infinite; }
@keyframes ring { from { transform: scale(1); opacity: .8; } to { transform: scale(1.6); opacity: 0; } }
.mobile-bar { display: none; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; background: rgba(0,0,0,.92); z-index: 200; display: none; align-items: center; justify-content: center; padding: 20px; }
.lightbox.is-open { display: flex; }
.lightbox img { max-height: 90vh; width: auto; border-radius: 8px; }
.lightbox button { position: absolute; background: rgba(255,255,255,.12); border: 0; color: #fff; width: 48px; height: 48px; border-radius: 50%; font-size: 24px; cursor: pointer; }
.lb-close { top: 16px; right: 16px; }
.lb-prev { left: 16px; top: 50%; }
.lb-next { right: 16px; top: 50%; }

/* Responsive */
@media (max-width: 1100px) {
	.main-nav a { padding: 10px 8px; font-size: 14.5px; }
	.header-call span.num { display: none; }
	.cat-grid { grid-template-columns: repeat(3, 1fr); }
	.filter-grid { grid-template-columns: 1fr 1fr 1fr; }
	.filter-grid .field-kw { grid-column: 1 / -1; }
}
@media (max-width: 1180px) {
	.nav-toggle { display: flex; }
	.main-nav { position: fixed; top: 76px; left: 0; right: 0; bottom: 0; background: #fff; padding: 16px; overflow-y: auto; transform: translateX(100%); visibility: hidden; transition: transform .25s, visibility .25s; margin: 0; }
	.main-nav.is-open { transform: none; visibility: visible; }
	.main-nav > ul { flex-direction: column; align-items: stretch; gap: 0; }
	.main-nav a { padding: 13px 8px; font-size: 16px; border-bottom: 1px solid var(--line); }
	.main-nav .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 0 14px; min-width: 0; }
	.main-nav .current-menu-item > a { box-shadow: none; }
	.header-call { display: none; }
}
@media (max-width: 960px) {
	.hero-inner { grid-template-columns: 1fr; min-height: 0; padding-top: 48px; }
	.hero-text { padding-bottom: 120px; }
	.hero-portrait, .hero-emblem { display: none; }
	.grid-bds, .video-grid, .grid-posts { grid-template-columns: repeat(2, 1fr); }
	.area-grid { grid-template-columns: repeat(2, 1fr); }
	.about, .two-col, .cta-band { grid-template-columns: 1fr; }
	.about-media { max-width: 420px; }
	.single-wrap { grid-template-columns: 1fr; }
	.side-box { position: static; }
	.footer-grid { grid-template-columns: 1fr 1fr; }
	.steps, .platforms { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
	body { font-size: 15.5px; padding-bottom: 64px; }
	.header-inner { min-height: 66px; }
	.main-nav { top: 66px; }
	.brand-mark { width: 40px; height: 40px; }
	.brand-name { font-size: 16px; }
	.brand-sub { font-size: 9px; letter-spacing: .1em; }
	.section { padding: 56px 0; }
	.hero-lead { font-size: 16px; }
	.filter-grid { grid-template-columns: 1fr 1fr; }
	.filter-grid .btn { grid-column: 1 / -1; }
	.cat-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
	.grid-bds, .video-grid, .grid-posts { grid-template-columns: 1fr; }
	.values, .facts { grid-template-columns: 1fr 1fr; }
	.cta-band { padding: 28px 22px; }
	.footer-grid { grid-template-columns: 1fr; }
	.steps, .platforms { grid-template-columns: 1fr; }
	.lead-form .row-2 { grid-template-columns: 1fr; }
	.gallery-thumbs { grid-template-columns: repeat(4, 1fr); }
	.float-contact { display: none; }
	.mobile-bar { display: grid; grid-template-columns: 1fr 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 95; box-shadow: 0 -4px 18px rgba(0,0,0,.12); }
	.mobile-bar a { display: flex; align-items: center; justify-content: center; gap: 8px; height: 58px; color: #fff; font-weight: 700; }
	.mobile-bar a svg { width: 20px; height: 20px; }
	.mobile-bar .mb-call { background: var(--green); }
	.mobile-bar .mb-zalo { background: #0068ff; }
}
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
