/*
Theme Name: WEPRO
Theme URI: https://wepro.com.vn
Author: WEPRO Digital Marketing Solution
Author URI: https://wepro.com.vn
Description: WordPress Vanilla Theme cho WEPRO — Digital Marketing Solution (Thuần PHP, WordPress Core API, 0 Plugin).
Version: 1.0.0
Text Domain: wepro
*/

:root {
  --black: #111111;
  --ink: #181818;
  --text: #2c2c2c;
  --muted: #666666;
  --soft: #f7f7f4;
  --soft-card: #fdfdfc;
  --line: #deded9;
  --line-dark: #333333;
  --white: #ffffff;
  --header-h: 74px;
  --content-max: 760px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0;
  overflow-x: clip;
  position: relative;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Be Vietnam Pro', -apple-system, BlinkMacSystemFont, Arial, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main {
  flex: 1;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 24px;
  padding-right: 24px;
}

section {
  scroll-margin-top: calc(var(--header-h) + 20px);
  width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

img, svg {
  display: block;
  max-width: 100%;
  height: auto;
}

.icon-inline {
  width: 15px;
  height: 15px;
  display: inline-block;
  vertical-align: middle;
  fill: currentColor;
}

/* =========================================
   1. HEADER & LOGO BRAND SYSTEM
========================================= */
header {
  height: var(--header-h);
  background: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
}

.nav {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  flex-shrink: 0;
}

.brand-mark {
  height: 30px;
  width: auto;
  color: var(--black);
}

.brand-copy {
  display: flex;
  flex-direction: column;
}

.brand-word {
  font-size: 21px;
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 1;
}

.brand-tag {
  font-size: 7.5px;
  letter-spacing: 0.16em;
  color: #666;
  text-transform: uppercase;
  margin-top: 3px;
  white-space: nowrap;
}

.custom-logo-link img {
  max-height: 40px;
  width: auto;
}

.menu {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 13.5px;
  font-weight: 600;
  color: #333;
  list-style: none;
  margin: 0;
  padding: 0;
}

.menu li,
.menu .menu-item {
  display: inline-flex;
  align-items: center;
  position: relative;
  list-style: none;
  margin: 0;
  padding: 0;
}

.menu a,
.menu li a,
.menu .menu-item > a {
  position: relative;
  padding: 24px 0;
  white-space: nowrap;
  font-size: 13.5px;
  font-weight: 600;
  color: #333;
  text-decoration: none;
  display: inline-block;
}

.menu a::after,
.menu li a::after,
.menu .menu-item > a::after,
.menu .current-menu-item > a::after,
.menu a.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 18px;
  height: 1.5px;
  background: var(--black);
  transition: right 0.25s var(--ease);
}

.menu a:hover::after,
.menu li a:hover::after,
.menu .menu-item > a:hover::after,
.menu .current-menu-item > a::after,
.menu a.active::after {
  right: 0;
}

.menu-mobile-cta-item,
.menu-mobile-cta {
  display: none !important;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-cta {
  border: 1px solid var(--black);
  padding: 8px 18px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
  transition: 0.2s;
  white-space: nowrap;
  background: transparent;
}

.nav-cta:hover {
  background: var(--black);
  color: var(--white);
}

.menu-toggle {
  display: none;
  border: 0;
  background: none;
  font-size: 22px;
  cursor: pointer;
  line-height: 1;
  padding: 6px;
}

/* =========================================
   2. HERO SECTION
========================================= */
.hero {
  border-bottom: 1px solid var(--line);
  background: var(--white);
  padding: 65px 0 60px;
  width: 100%;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(0, 0.82fr);
  gap: 48px;
  align-items: center;
  width: 100%;
}

.eyebrow {
  font-size: 11px;
  letter-spacing: 0.18em;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.eyebrow::before {
  content: "";
  width: 24px;
  height: 1.5px;
  background: var(--black);
}

h1 {
  font-size: clamp(30px, 3.5vw, 50px);
  line-height: 1.14;
  letter-spacing: -0.045em;
  font-weight: 800;
  max-width: 630px;
  word-break: break-word;
}

.hero-lead {
  font-size: 15.5px;
  color: #555;
  max-width: 540px;
  margin-top: 18px;
  line-height: 1.68;
}

.hero-actions {
  display: flex;
  gap: 12px;
  margin-top: 28px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 20px;
  border: 1px solid var(--black);
  font-size: 13px;
  font-weight: 700;
  transition: 0.25s var(--ease);
  white-space: nowrap;
}

.btn-dark {
  background: var(--black);
  color: var(--white);
}
.btn-dark:hover {
  background: #333;
}

.btn-light {
  background: var(--white);
  color: var(--black);
}
.btn-light:hover {
  background: #f3f3f0;
}

.hero-note {
  margin-top: 22px;
  font-size: 11px;
  color: #777;
  letter-spacing: 0.05em;
}

/* VISUAL SIGNATURE: WEPRO SYSTEM FLOW */
.system-signature {
  border: 1px solid #d4d4cd;
  background: #fafaf8;
  padding: 28px;
  position: relative;
  border-radius: 4px;
}

.system-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.system-tag {
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 800;
  color: var(--black);
}

.system-status {
  font-size: 10.5px;
  color: #777;
  display: flex;
  align-items: center;
  gap: 6px;
}

.status-dot {
  width: 6px;
  height: 6px;
  background: #22c55e;
  border-radius: 50%;
}

.system-flow {
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: relative;
}

.flow-node {
  display: grid;
  grid-template-columns: 28px 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  background: var(--white);
  border: 1px solid #e2e2dc;
  border-radius: 2px;
  transition: transform 0.2s, border-color 0.2s;
}

.flow-node:hover {
  border-color: var(--black);
  transform: translateX(4px);
}

.flow-idx {
  font-size: 11px;
  font-weight: 800;
  color: #888;
}

.flow-info strong {
  display: block;
  font-size: 13px;
  letter-spacing: -0.01em;
  color: var(--black);
}

.flow-info span {
  display: block;
  font-size: 11px;
  color: #777;
}

.flow-output {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #444;
  background: var(--soft);
  padding: 3px 8px;
  border: 1px solid #e0e0da;
}

.flow-connector {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 10px;
  color: #999;
  font-size: 11px;
  margin-top: -6px;
  margin-bottom: -6px;
}

/* =========================================
   3. INTRO STATEMENT
========================================= */
.statement {
  background: var(--black);
  color: var(--white);
  padding: 55px 0;
  width: 100%;
}

.statement-grid {
  display: grid;
  grid-template-columns: 0.8fr 2fr;
  gap: 40px;
  align-items: start;
}

.kicker {
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #aaa;
  font-weight: 700;
}

.statement h2 {
  font-size: clamp(22px, 2.6vw, 34px);
  line-height: 1.25;
  letter-spacing: -0.035em;
  font-weight: 700;
}

.statement p {
  color: #aaa;
  font-size: 14.5px;
  margin-top: 14px;
  line-height: 1.65;
}

/* =========================================
   4. SECTIONS CHUNG & SOLUTIONS
========================================= */
.section {
  padding: 72px 0;
  width: 100%;
}

.section-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
  align-items: end;
}

.section-number {
  font-size: 10.5px;
  color: #777;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 10px;
}

.section h2 {
  font-size: clamp(24px, 2.8vw, 38px);
  line-height: 1.15;
  letter-spacing: -0.04em;
  font-weight: 800;
}

.section-head p {
  color: var(--muted);
  font-size: 14.5px;
  max-width: 480px;
  justify-self: end;
}

.solutions {
  border-bottom: 1px solid var(--line);
}

.solution-list {
  border-top: 1px solid var(--black);
}

.solution {
  display: grid;
  grid-template-columns: 85px 1.1fr 1fr 30px;
  gap: 20px;
  align-items: center;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
  transition: 0.25s var(--ease);
}

.solution:hover {
  padding-left: 10px;
  padding-right: 10px;
  background: #f7f7f4;
}

.solution-no {
  font-size: 11px;
  color: #777;
  font-weight: 700;
}

.solution h3 {
  font-size: 18.5px;
  letter-spacing: -0.03em;
}

.solution p {
  font-size: 13.5px;
  color: var(--muted);
}

.solution-arrow {
  font-size: 18px;
  text-align: right;
}

/* WHO WE WORK WITH (SUB-SECTION) */
.who-we-fit {
  margin-top: 45px;
  padding-top: 35px;
  border-top: 1px dashed var(--line);
}

.who-title {
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 800;
  margin-bottom: 20px;
  color: var(--black);
}

.who-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.who-card {
  padding: 16px;
  background: var(--soft);
  border: 1px solid #e8e8e2;
  border-radius: 2px;
}

.who-card strong {
  display: block;
  font-size: 13px;
  color: var(--black);
  margin-bottom: 5px;
}

.who-card p {
  font-size: 12px;
  color: #666;
  line-height: 1.5;
}

/* =========================================
   5. WHY WEPRO & METHOD
========================================= */
.why {
  background: var(--soft);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--black);
  border-left: 1px solid var(--line);
}

.why-item {
  padding: 24px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  min-height: 195px;
}

.why-item .no {
  font-size: 11px;
  color: #888;
  font-weight: 700;
}

.why-item h3 {
  font-size: 16px;
  margin-top: 32px;
  letter-spacing: -0.025em;
}

.why-item p {
  font-size: 13px;
  color: var(--muted);
  margin-top: 8px;
}

.method-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--black);
}

.method {
  padding: 24px 16px 26px 0;
  border-bottom: 1px solid var(--line);
  position: relative;
}

.method:not(:last-child) {
  margin-right: 20px;
}

.method-no {
  font-size: 11px;
  color: #777;
  font-weight: 700;
}

.method h3 {
  font-size: 18px;
  margin-top: 32px;
  letter-spacing: -0.03em;
}

.method h3 small {
  display: block;
  font-size: 9.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #888;
  margin-top: 4px;
}

.method p {
  font-size: 13px;
  color: var(--muted);
  margin-top: 12px;
}

/* =========================================
   6. CORE PROBLEMS
========================================= */
.problems-section {
  background: var(--black);
  color: var(--white);
}

.problems-section .section-head p {
  color: #aaa;
}

.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 10px;
}

.problem-card {
  background: #181818;
  border: 1px solid var(--line-dark);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 250px;
}

.problem-label {
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #888;
}

.problem-card h3 {
  font-size: 19px;
  letter-spacing: -0.03em;
  margin-top: 16px;
  margin-bottom: 10px;
  color: var(--white);
}

.problem-card p {
  font-size: 13px;
  color: #aaa;
  line-height: 1.6;
}

.problem-solution {
  margin-top: 20px;
  padding-top: 14px;
  border-top: 1px solid #282828;
  font-size: 11.5px;
  font-weight: 700;
  color: #ddd;
}

/* =========================================
   7. INSIGHTS SECTION (HOMEPAGE & GRID)
========================================= */
.insights-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--black);
}

.insight {
  padding: 22px 16px 24px 0;
  border-bottom: 1px solid var(--line);
  margin-right: 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.insight:last-child {
  margin-right: 0;
}

.insight-meta {
  font-size: 9.5px;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  color: #888;
}

.insight h3 {
  font-size: 17.5px;
  line-height: 1.3;
  letter-spacing: -0.025em;
  margin-top: 20px;
}

.insight p {
  font-size: 13px;
  color: var(--muted);
  margin-top: 8px;
}

.insight a.read-more {
  display: inline-block;
  margin-top: 16px;
  font-size: 11.5px;
  font-weight: 700;
}

/* =========================================
   8. SECTION CTA & FOOTER
========================================= */
.cta {
  background: var(--soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.cta-inner {
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  gap: 40px;
  align-items: end;
}

.cta h2 {
  font-size: clamp(26px, 3.4vw, 44px);
  line-height: 1.15;
  letter-spacing: -0.045em;
}

.cta p {
  color: var(--muted);
  font-size: 14.5px;
  margin-top: 16px;
  max-width: 580px;
}

.cta-contact {
  justify-self: end;
  width: 100%;
  max-width: 300px;
}

.contact-row {
  padding: 12px 0;
  border-top: 1px solid #cfcfc9;
  font-size: 13px;
}

.contact-row strong {
  display: block;
  font-size: 17px;
  margin-top: 2px;
}

.contact-row a:hover {
  text-decoration: underline;
}

.cta-buttons {
  display: flex;
  gap: 10px;
  margin-top: 12px;
}

.btn-zalo-clean {
  background: var(--white);
  color: var(--black);
  border: 1px solid var(--black);
}
.btn-zalo-clean:hover {
  background: #0068ff;
  border-color: #0068ff;
  color: var(--white);
}

footer {
  background: var(--black);
  color: var(--white);
  padding: 45px 0 24px;
  width: 100%;
  margin-top: auto;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 0.8fr 0.8fr;
  gap: 40px;
  padding-bottom: 35px;
  width: 100%;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--white);
}

.footer-brand svg {
  height: 24px;
  width: auto;
}

.footer-brand span {
  font-size: 21px;
  font-weight: 800;
  letter-spacing: -0.05em;
}

.footer-desc {
  font-size: 13px;
  color: #999;
  max-width: 410px;
  margin-top: 12px;
  line-height: 1.6;
}

.footer-col h4 {
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.17em;
  color: #777;
  margin-bottom: 14px;
}

.footer-col ul {
  list-style: none;
}

.footer-col a, .footer-col span {
  display: block;
  font-size: 13px;
  color: #ccc;
  margin: 8px 0;
}

.footer-col a:hover {
  color: var(--white);
}

.footer-bottom {
  border-top: 1px solid #2d2d2d;
  padding-top: 18px;
  display: flex;
  justify-content: space-between;
  gap: 15px;
  color: #777;
  font-size: 11.5px;
  flex-wrap: wrap;
}

.floating {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 900;
  background: var(--black);
  color: var(--white);
  border: 1px solid #444;
  padding: 9px 15px;
  font-size: 12px;
  font-weight: 700;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.floating:hover {
  background: #282828;
}

/* =========================================
   9. DOMAINS SHOWCASE & FILTERS
========================================= */
.domain-hero {
  padding: 60px 0 40px;
  background: #fafaf8;
  border-bottom: 1px solid var(--line);
}

.breadcrumb, .post-breadcrumb, .page-breadcrumb, .search-breadcrumb {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #777;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.breadcrumb a:hover, .post-breadcrumb a:hover, .page-breadcrumb a:hover, .search-breadcrumb a:hover {
  color: var(--black);
  text-decoration: underline;
}

.domain-title, .archive-title, .contact-title, .page-title {
  font-size: clamp(30px, 3.8vw, 50px);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1.15;
  color: var(--black);
  max-width: 780px;
}

.domain-lead, .archive-lead, .contact-lead, .page-lead {
  font-size: 16px;
  color: var(--muted);
  max-width: 650px;
  margin-top: 14px;
  line-height: 1.65;
}

.domain-filters, .filter-bar, .search-tabs {
  display: flex;
  gap: 8px;
  margin-top: 35px;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: none;
}

.domain-filters::-webkit-scrollbar, .filter-bar::-webkit-scrollbar, .search-tabs::-webkit-scrollbar {
  display: none;
}

.filter-tag, .filter-btn, .tab-btn {
  padding: 7px 16px;
  border: 1px solid var(--line);
  background: var(--white);
  font-size: 12.5px;
  font-weight: 600;
  color: #555;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s var(--ease);
  border-radius: 2px;
}

.filter-tag:hover, .filter-tag.active,
.filter-btn:hover, .filter-btn.active,
.tab-btn:hover, .tab-btn.active {
  background: var(--black);
  border-color: var(--black);
  color: var(--white);
}

.domain-section {
  padding: 65px 0 80px;
}

.domain-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.domain-card {
  border: 1px solid var(--line);
  background: var(--white);
  padding: 26px 24px;
  border-radius: 2px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 250px;
  transition: border-color 0.2s, box-shadow 0.2s;
  position: relative;
}

.domain-card:hover {
  border-color: var(--black);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
}

.domain-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}

.domain-cat {
  font-size: 9.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 800;
  color: #777;
}

.domain-status {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #166534;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  padding: 2px 7px;
  border-radius: 2px;
}

.domain-name {
  font-size: 23px;
  font-weight: 800;
  letter-spacing: -0.035em;
  color: var(--black);
  line-height: 1.2;
  margin-bottom: 8px;
  word-break: break-all;
}

.domain-name .ext {
  color: #777;
  font-weight: 700;
}

.domain-desc {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.55;
  margin-bottom: 22px;
}

.domain-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  margin-top: auto;
}

.domain-price {
  font-size: 13px;
  color: #555;
}

.domain-price strong {
  display: block;
  font-size: 14.5px;
  color: var(--black);
}

.domain-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  background: var(--black);
  color: var(--white);
  font-size: 12px;
  font-weight: 700;
  border: 1px solid var(--black);
  transition: background 0.2s;
}

.domain-btn:hover {
  background: #333;
}

.process-section {
  background: var(--soft);
  padding: 75px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.process-head {
  max-width: 650px;
  margin-bottom: 45px;
}

.process-head span {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 800;
  color: #777;
}

.process-head h2 {
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 800;
  letter-spacing: -0.04em;
  margin-top: 8px;
}

.transfer-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.step-box {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 24px 20px;
  border-radius: 2px;
}

.step-no {
  font-size: 12px;
  font-weight: 800;
  color: #888;
  margin-bottom: 14px;
}

.step-box h3 {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
  color: var(--black);
}

.step-box p {
  font-size: 12.5px;
  color: #666;
  line-height: 1.55;
}

.domain-inquiry {
  padding: 75px 0 85px;
}

.inquiry-card {
  border: 1px solid var(--black);
  background: #fafaf8;
  padding: 45px;
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  gap: 40px;
  align-items: center;
}

.inquiry-text h2 {
  font-size: clamp(24px, 3.2vw, 36px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.2;
  margin-bottom: 12px;
}

.inquiry-text p {
  font-size: 14.5px;
  color: var(--muted);
  line-height: 1.65;
  max-width: 580px;
}

.inquiry-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  justify-self: end;
  width: 100%;
  max-width: 280px;
}

.btn-action-call {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  background: var(--black);
  color: var(--white);
  font-size: 13px;
  font-weight: 700;
  border: 1px solid var(--black);
  transition: background 0.2s;
}

.btn-action-call:hover {
  background: #333;
}

.btn-action-zalo {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  background: var(--white);
  color: var(--black);
  font-size: 13px;
  font-weight: 700;
  border: 1px solid var(--black);
  transition: all 0.2s;
}

.btn-action-zalo:hover {
  background: #0068ff;
  border-color: #0068ff;
  color: #fff;
}

/* =========================================
   10. CONTACT PAGE & COMPONENT STYLES
========================================= */
.contact-hero {
  padding: 60px 0 40px;
  background: #fafaf8;
  border-bottom: 1px solid var(--line);
}

.contact-main {
  padding: 65px 0 85px;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: 50px;
  align-items: start;
}

.channels-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-bottom: 35px;
}

.channel-card {
  border: 1px solid var(--line);
  background: var(--white);
  padding: 26px 22px;
  border-radius: 2px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 200px;
  transition: border-color 0.2s;
}

.channel-card:hover {
  border-color: var(--black);
}

.channel-tag {
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 800;
  color: #777;
  margin-bottom: 12px;
}

.channel-card h3 {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 6px;
  color: var(--black);
}

.channel-card p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
  margin-bottom: 20px;
}

.btn-channel {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 16px;
  font-size: 12.5px;
  font-weight: 700;
  border: 1px solid var(--black);
  transition: all 0.2s;
  width: 100%;
}

.btn-channel.dark {
  background: var(--black);
  color: var(--white);
}
.btn-channel.dark:hover {
  background: #333;
}

.btn-channel.outline {
  background: var(--white);
  color: var(--black);
}
.btn-channel.outline:hover {
  background: #0068ff;
  border-color: #0068ff;
  color: var(--white);
}

.company-details {
  border-top: 1px solid var(--line);
  padding-top: 30px;
}

.details-table {
  width: 100%;
  border-collapse: collapse;
}

.details-table tr {
  border-bottom: 1px dashed var(--line);
}

.details-table td {
  padding: 12px 0;
  font-size: 13.5px;
}

.details-table td:first-child {
  color: #777;
  width: 140px;
  font-weight: 600;
}

.details-table td:last-child {
  color: var(--black);
  font-weight: 600;
}

.contact-aside {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.qr-card {
  border: 1px solid var(--line);
  background: #fafaf8;
  padding: 26px;
  text-align: center;
  border-radius: 2px;
}

.qr-card .tag {
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 800;
  color: var(--black);
  margin-bottom: 12px;
}

.qr-placeholder {
  width: 140px;
  height: 140px;
  margin: 0 auto 16px;
  background: var(--white);
  border: 1px solid #dcdcd5;
  padding: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.qr-card h4 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 4px;
  color: var(--black);
}

.qr-card p {
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.5;
}

.map-frame {
  border: 1px solid var(--line);
  background: #eee;
  height: 260px;
  position: relative;
  overflow: hidden;
  border-radius: 2px;
}

.map-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
  filter: grayscale(100%) contrast(1.1);
}

.support-flow {
  background: var(--soft);
  padding: 65px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.flow-head {
  margin-bottom: 35px;
}

.flow-head span {
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 800;
  color: #777;
}

.flow-head h2 {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.035em;
  margin-top: 6px;
}

.steps-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.step-item {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 22px 20px;
  border-radius: 2px;
}

.step-item .num {
  font-size: 12px;
  font-weight: 800;
  color: #888;
  margin-bottom: 10px;
}

.step-item strong {
  display: block;
  font-size: 15px;
  margin-bottom: 6px;
  color: var(--black);
}

.step-item p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.55;
}

/* =========================================
   11. ARCHIVE, SINGLE & PAGE TYPOGRAPHY
========================================= */
.featured-section {
  padding: 55px 0 45px;
  border-bottom: 1px solid var(--line);
  background: #fafaf8;
}

.featured-card {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  align-items: center;
  background: var(--white);
  border: 1px solid #dcdcd5;
  padding: 36px;
  border-radius: 2px;
  transition: border-color 0.2s;
}

.featured-card:hover {
  border-color: var(--black);
}

.featured-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #888;
  margin-bottom: 14px;
}

.featured-tag {
  background: var(--black);
  color: var(--white);
  padding: 2px 7px;
  font-weight: 700;
}

.featured-title {
  font-size: clamp(24px, 2.6vw, 34px);
  font-weight: 800;
  line-height: 1.22;
  letter-spacing: -0.035em;
  margin-bottom: 14px;
}

.featured-excerpt {
  font-size: 14.5px;
  color: #555;
  line-height: 1.65;
  margin-bottom: 22px;
}

.btn-read {
  font-size: 12.5px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-bottom: 1.5px solid var(--black);
  padding-bottom: 2px;
  transition: gap 0.2s;
}

.btn-read:hover {
  gap: 10px;
}

.featured-diagram {
  background: var(--soft);
  border: 1px solid #e5e5df;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 220px;
}

.diagram-step {
  font-size: 11.5px;
  font-weight: 700;
  padding: 8px 12px;
  background: #fff;
  border: 1px solid #deded9;
  margin-bottom: 8px;
  display: flex;
  justify-content: space-between;
}

.diagram-step:last-child {
  margin-bottom: 0;
  border-color: var(--black);
  background: var(--black);
  color: #fff;
}

.articles-section {
  padding: 65px 0 80px;
}

.articles-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px 24px;
}

.post-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  padding-bottom: 28px;
  transition: transform 0.2s;
}

.post-card:hover h3 {
  text-decoration: underline;
}

.post-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #888;
  margin-bottom: 12px;
}

.post-category {
  font-weight: 700;
  color: var(--black);
}

.post-card h3 {
  font-size: 18.5px;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -0.025em;
  margin-bottom: 10px;
}

.post-card p {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 18px;
}

.post-link {
  font-size: 12px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 55px;
  padding-top: 30px;
  border-top: 1px solid var(--line);
}

.pagination .page-numbers {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  font-size: 13px;
  font-weight: 600;
  color: var(--black);
  transition: all 0.2s;
}

.pagination .page-numbers.current,
.pagination .page-numbers:hover {
  background: var(--black);
  border-color: var(--black);
  color: var(--white);
}

.archive-cta {
  background: var(--soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 50px 0;
}

.archive-cta-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 25px;
}

.archive-cta-text h3 {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.035em;
  margin-bottom: 6px;
}

.archive-cta-text p {
  font-size: 14px;
  color: var(--muted);
}

.archive-cta-btn {
  display: inline-flex;
  align-items: center;
  padding: 11px 24px;
  background: var(--black);
  color: var(--white);
  font-size: 13px;
  font-weight: 700;
  border: 1px solid var(--black);
  transition: background 0.2s;
}

.archive-cta-btn:hover {
  background: #333;
}

/* SINGLE POST EDITORIAL STYLES */
.article-header {
  padding: 55px 0 35px;
  border-bottom: 1px solid var(--line);
  background: #fafaf8;
}

.article-header-inner {
  max-width: var(--content-max);
  margin: 0 auto;
}

.post-badge {
  display: inline-block;
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 800;
  background: var(--black);
  color: var(--white);
  padding: 3px 8px;
  margin-bottom: 16px;
}

.post-main-title {
  font-size: clamp(28px, 3.8vw, 44px);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.04em;
  color: var(--black);
  margin-bottom: 20px;
}

.post-header-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 12.5px;
  color: var(--muted);
  padding-top: 14px;
  border-top: 1px solid #e2e2dc;
  flex-wrap: wrap;
}

.post-author {
  font-weight: 700;
  color: var(--black);
}

.article-body-wrapper {
  padding: 55px 0 70px;
}

.article-content {
  max-width: var(--content-max);
  margin: 0 auto;
  font-size: 16.5px;
  color: var(--text);
  line-height: 1.75;
}

.article-lead {
  font-size: 19px;
  line-height: 1.6;
  color: #333;
  font-weight: 500;
  margin-bottom: 30px;
  padding-bottom: 25px;
  border-bottom: 1px solid var(--line);
}

/* MỤC LỤC BÀI VIẾT (TABLE OF CONTENTS) */
.toc-box {
  background: var(--soft);
  border: 1px solid #e2e2dc;
  padding: 22px 24px;
  margin-top: 25px;
  margin-bottom: 40px;
  border-radius: 2px;
}

.toc-title {
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 800;
  color: var(--black);
  margin-bottom: 12px;
}

.toc-list,
.article-content .toc-list {
  list-style: none !important;
  padding-left: 0 !important;
  margin-left: 0 !important;
  margin-bottom: 0 !important;
}

.toc-list li,
.article-content .toc-list li {
  margin-bottom: 8px;
  font-size: 14px;
  list-style-type: none !important;
}

.toc-list li a,
.article-content .toc-list li a {
  color: #444;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  transition: color 0.2s ease;
}

.toc-list li a:hover,
.article-content .toc-list li a:hover {
  color: var(--black);
  text-decoration: underline;
}

.article-content h2 {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.035em;
  color: var(--black);
  margin-top: 45px;
  margin-bottom: 16px;
  line-height: 1.25;
  scroll-margin-top: calc(var(--header-h) + 20px);
}

.article-content h3 {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin-top: 30px;
  margin-bottom: 12px;
  line-height: 1.35;
  scroll-margin-top: calc(var(--header-h) + 20px);
}

.article-content p {
  margin-bottom: 20px;
}

.article-content ul, 
.article-content ol {
  margin-bottom: 22px;
  padding-left: 24px;
}

.article-content li {
  margin-bottom: 8px;
}

blockquote,
.article-content blockquote {
  border-left: 3px solid var(--black);
  padding: 16px 0 16px 24px;
  margin: 35px 0;
  font-size: 18px;
  font-style: italic;
  color: #111;
  background: #fafaf8;
}

.callout-box {
  border: 1px solid var(--black);
  background: var(--soft);
  padding: 24px;
  margin: 35px 0;
}

.callout-box strong {
  display: block;
  font-size: 15px;
  margin-bottom: 8px;
  color: var(--black);
}

.callout-box p {
  margin-bottom: 0;
  font-size: 14.5px;
  color: #555;
}

/* THẺ BÀI VIẾT (TAGS) */
.article-tags {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-top: 45px;
  padding-top: 25px;
  border-top: 1px solid var(--line);
  flex-wrap: wrap;
}

.tag-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #888;
}

.tag-item {
  font-size: 12px;
  padding: 4px 10px;
  background: var(--soft);
  border: 1px solid var(--line);
  color: #444;
  border-radius: 2px;
  text-decoration: none;
  transition: all 0.2s ease;
  display: inline-block;
}

.tag-item:hover {
  border-color: var(--black);
  color: var(--black);
  background: #e8e8e3;
}

.author-box {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 20px;
  align-items: center;
  background: #fafaf8;
  border: 1px solid var(--line);
  padding: 24px;
  margin-top: 35px;
}

.author-avatar {
  width: 60px;
  height: 60px;
  background: var(--black);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 16px;
}

.author-info h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 4px;
}

.author-info p {
  font-size: 13px;
  color: #666;
  line-height: 1.5;
  margin-bottom: 0;
}

.article-cta {
  background: var(--black);
  color: var(--white);
  padding: 35px 30px;
  margin-top: 40px;
  text-align: center;
}

.article-cta h3 {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 10px;
  color: #fff;
}

.article-cta p {
  font-size: 14px;
  color: #aaa;
  max-width: 540px;
  margin: 0 auto 20px;
}

.btn-cta-article {
  display: inline-flex;
  padding: 10px 24px;
  background: var(--white);
  color: var(--black);
  font-size: 13px;
  font-weight: 700;
  transition: background 0.2s;
  text-decoration: none;
}

.btn-cta-article:hover {
  background: #e2e2dc;
  color: var(--black);
}

.related-section {
  background: var(--soft);
  padding: 65px 0 75px;
  border-top: 1px solid var(--line);
}

.related-title {
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 800;
  color: var(--black);
  margin-bottom: 30px;
  text-align: center;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  max-width: 900px;
  margin: 0 auto;
}

.related-card {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 26px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: border-color 0.2s;
}

.related-card:hover {
  border-color: var(--black);
}

.related-card h4 a {
  color: var(--black);
  text-decoration: none;
}

.related-card h4 a:hover {
  text-decoration: underline;
}

.related-link {
  font-size: 12px;
  font-weight: 700;
  color: var(--black);
  text-decoration: none;
}

.related-link:hover {
  text-decoration: underline;
}

.related-meta {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #888;
  margin-bottom: 8px;
}

.related-card h4 {
  font-size: 17px;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.related-card p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 16px;
}

.related-link {
  font-size: 12px;
  font-weight: 700;
}

/* 2-COLUMN PAGE LAYOUT */
.page-wrapper {
  padding: 60px 0 80px;
}

.page-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 55px;
  align-items: start;
}

.page-content {
  font-size: 16px;
  color: var(--text);
  line-height: 1.7;
}

.page-content h2 {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.035em;
  color: var(--black);
  margin-top: 40px;
  margin-bottom: 16px;
  line-height: 1.25;
}

.page-content h2:first-of-type {
  margin-top: 0;
}

.page-content h3 {
  font-size: 18.5px;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin-top: 26px;
  margin-bottom: 10px;
}

.page-content p {
  margin-bottom: 20px;
}

.page-content ul {
  margin-bottom: 24px;
  padding-left: 20px;
}

.page-content li {
  margin-bottom: 8px;
}

.content-box {
  border: 1px solid var(--line);
  background: var(--soft);
  padding: 24px;
  margin: 30px 0;
  border-radius: 2px;
}

.content-box strong {
  display: block;
  font-size: 15px;
  color: var(--black);
  margin-bottom: 6px;
}

.content-box p {
  margin-bottom: 0;
  font-size: 14px;
  color: #555;
}

.page-sidebar {
  position: sticky;
  top: calc(var(--header-h) + 25px);
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.sidebar-widget {
  border: 1px solid var(--line);
  background: #fafaf8;
  padding: 24px;
  border-radius: 2px;
}

.widget-title {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 800;
  color: var(--black);
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}

.sidebar-list {
  list-style: none;
}

.sidebar-list li {
  padding: 10px 0;
  border-bottom: 1px dashed var(--line);
  font-size: 13.5px;
}

.sidebar-list li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.sidebar-list strong {
  display: block;
  color: var(--black);
  font-size: 13.5px;
}

.sidebar-list span {
  display: block;
  font-size: 11.5px;
  color: #777;
  margin-top: 2px;
}

.sidebar-cta {
  background: var(--black);
  color: var(--white);
  border-color: var(--black);
}

.sidebar-cta .widget-title {
  color: var(--white);
  border-bottom-color: #333;
}

.sidebar-cta p {
  font-size: 13px;
  color: #bbb;
  margin-bottom: 18px;
  line-height: 1.5;
}

.btn-sidebar {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 10px 16px;
  background: var(--white);
  color: var(--black);
  font-size: 12.5px;
  font-weight: 700;
  transition: background 0.2s;
}

.btn-sidebar:hover {
  background: #e2e2dc;
}

/* SEARCH STYLES */
.search-hero {
  padding: 55px 0 35px;
  background: #fafaf8;
  border-bottom: 1px solid var(--line);
}

.search-hero-inner {
  max-width: var(--content-max);
  margin: 0 auto;
}

.search-title {
  font-size: clamp(26px, 3.4vw, 40px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.2;
  color: var(--black);
  margin-bottom: 8px;
}

.search-title span {
  font-weight: 400;
  color: var(--muted);
}

.search-count {
  font-size: 13.5px;
  color: var(--muted);
  margin-bottom: 24px;
}

.search-form-box {
  display: flex;
  align-items: center;
  border: 1px solid var(--black);
  background: var(--white);
  max-width: 640px;
}

.search-input {
  flex: 1;
  border: 0;
  background: transparent;
  padding: 12px 18px;
  font-size: 14.5px;
  font-family: inherit;
  color: var(--black);
  outline: none;
}

.search-submit {
  background: var(--black);
  color: var(--white);
  border: 0;
  padding: 12px 22px;
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: background 0.2s;
}

.search-submit:hover {
  background: #333;
}

.search-results-section {
  padding: 55px 0 80px;
}

.search-results-inner {
  max-width: var(--content-max);
  margin: 0 auto;
}

.result-list {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.result-item {
  border-bottom: 1px solid var(--line);
  padding-bottom: 28px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.result-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #888;
}

.result-type {
  font-weight: 800;
  color: var(--black);
  background: var(--soft);
  border: 1px solid #e2e2dc;
  padding: 2px 7px;
}

.result-item h2 {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.35;
  color: var(--black);
}

.result-item h2 a:hover {
  text-decoration: underline;
}

.result-item p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
}

.result-item p mark {
  background: #fef08a;
  color: var(--black);
  padding: 1px 4px;
  font-weight: 600;
}

.result-link {
  font-size: 12px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 6px;
  color: var(--black);
}

/* 404 ERROR STYLES */
.error-section {
  padding: 80px 0 90px;
  width: 100%;
}

.error-box {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
}

.error-code {
  font-size: clamp(80px, 12vw, 140px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.07em;
  color: var(--black);
  margin-bottom: 10px;
  user-select: none;
}

.error-badge {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 800;
  color: var(--muted);
  margin-bottom: 16px;
  padding: 4px 10px;
  background: var(--soft);
  border: 1px solid var(--line);
}

.error-title {
  font-size: clamp(24px, 3.2vw, 36px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.25;
  color: var(--black);
  margin-bottom: 16px;
}

.error-desc {
  font-size: 15.5px;
  color: var(--muted);
  line-height: 1.65;
  max-width: 520px;
  margin: 0 auto 32px;
}

.error-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.recovery-block {
  border-top: 1px solid var(--line);
  padding-top: 32px;
  text-align: left;
}

.recovery-title {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 800;
  color: var(--black);
  margin-bottom: 14px;
  text-align: center;
}

.recovery-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.recovery-item {
  padding: 14px;
  background: var(--soft);
  border: 1px solid #e5e5df;
  border-radius: 2px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: border-color 0.2s, background 0.2s;
}

.recovery-item:hover {
  border-color: var(--black);
  background: var(--white);
}

.recovery-item strong {
  display: block;
  font-size: 13px;
  color: var(--black);
  margin-bottom: 4px;
}

.recovery-item span {
  font-size: 11.5px;
  color: #777;
}

/* =========================================
   12. RESPONSIVE MEDIA QUERIES
========================================= */
@media (max-width: 992px) {
  .menu {
    display: none;
    position: absolute;
    left: 20px;
    right: 20px;
    top: calc(100% + 1px);
    background: var(--white);
    border: 1px solid var(--line);
    padding: 16px 20px;
    box-shadow: 0 18px 35px rgba(0, 0, 0, 0.08);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    z-index: 1001;
    list-style: none !important;
    margin: 0 !important;
  }

  .menu.active {
    display: flex !important;
  }

  .menu li,
  .menu .menu-item {
    width: 100%;
    display: block;
    margin: 0;
    padding: 0;
  }

  .menu a,
  .menu li a,
  .menu .menu-item > a {
    width: 100%;
    display: block;
    padding: 12px 0;
    border-bottom: 1px solid #eee;
    font-size: 14px;
    font-weight: 600;
    color: #333;
    text-decoration: none;
    text-align: left;
  }

  .menu a::after,
  .menu li a::after,
  .menu .menu-item > a::after,
  .menu .current-menu-item > a::after {
    display: none !important;
  }

  .menu li:not(.menu-mobile-cta-item):last-child a,
  .menu .menu-item:not(.menu-mobile-cta-item):last-child > a {
    border-bottom: 0;
  }

  .menu-mobile-cta-item {
    display: block !important;
    width: 100%;
    margin-top: 10px;
  }

  .menu-mobile-cta-item a,
  .menu a.menu-mobile-cta,
  .menu-mobile-cta {
    display: block !important;
    width: 100%;
    padding: 11px 0 !important;
    background: var(--black) !important;
    color: var(--white) !important;
    text-align: center;
    font-size: 13px;
    font-weight: 700;
    border-bottom: 0 !important;
    border-radius: 2px;
    text-decoration: none;
  }

  .menu-toggle {
    display: block !important;
  }

  .nav-cta {
    display: none !important;
  }

  .hero {
    padding: 40px 0;
  }

  .hero-grid, .statement-grid, .section-head, .cta-inner {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .section-head p {
    justify-self: start;
  }

  .who-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .why-grid, .method-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .method:nth-child(2) {
    margin-right: 0;
  }

  .problem-grid {
    grid-template-columns: 1fr;
  }

  .insights-grid {
    grid-template-columns: 1fr;
  }

  .insight {
    margin-right: 0;
  }

  .cta-contact {
    justify-self: start;
  }

  .domain-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .transfer-steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .inquiry-card {
    grid-template-columns: 1fr;
    padding: 30px;
  }

  .inquiry-actions {
    justify-self: start;
    max-width: 100%;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .steps-row {
    grid-template-columns: 1fr;
  }

  .featured-card {
    grid-template-columns: 1fr;
  }

  .articles-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .related-grid {
    grid-template-columns: 1fr;
  }

  .page-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .page-sidebar {
    position: static;
  }

  .recovery-links {
    grid-template-columns: 1fr;
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
  }

  .footer-top > div:first-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  :root {
    --header-h: 62px;
  }

  .container {
    padding-left: 16px;
    padding-right: 16px;
  }

  .brand-mark {
    height: 24px;
  }

  .brand-word {
    font-size: 18px;
  }

  .brand-tag {
    font-size: 6.5px;
  }

  .hero {
    padding: 30px 0;
  }

  .hero-lead {
    font-size: 14px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .section {
    padding: 50px 0;
  }

  .statement {
    padding: 35px 0;
  }

  .solution {
    grid-template-columns: 32px 1fr 20px;
    gap: 12px;
  }

  .solution p {
    grid-column: 2 / -1;
    margin-top: -4px;
  }

  .solution h3 {
    font-size: 17px;
  }

  .solution-arrow {
    grid-column: 3;
    grid-row: 1;
  }

  .who-grid {
    grid-template-columns: 1fr;
  }

  .why-grid, .method-list {
    grid-template-columns: 1fr;
  }

  .why-item {
    min-height: 0;
    padding: 18px;
  }

  .why-item h3 {
    margin-top: 20px;
  }

  .method:not(:last-child) {
    margin-right: 0;
  }

  .method {
    padding-right: 0;
  }

  .domain-hero, .contact-hero, .archive-hero, .page-header, .search-hero {
    padding: 35px 0 25px;
  }

  .domain-grid, .transfer-steps, .channels-list, .articles-grid {
    grid-template-columns: 1fr;
  }

  .details-table td {
    display: block;
    padding: 4px 0;
  }

  .details-table td:first-child {
    width: 100%;
  }

  .featured-card {
    padding: 20px;
  }

  .archive-cta-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .archive-cta-btn {
    width: 100%;
    justify-content: center;
  }

  .article-header {
    padding: 35px 0 25px;
  }

  .article-body-wrapper, .page-wrapper {
    padding: 35px 0 50px;
  }

  .article-content, .page-content {
    font-size: 15px;
  }

  .author-box {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .search-form-box {
    flex-direction: column;
    border: 0;
    background: transparent;
  }

  .search-input {
    width: 100%;
    border: 1px solid var(--black);
    background: #fff;
    margin-bottom: 8px;
  }

  .search-submit {
    width: 100%;
    justify-content: center;
  }

  .error-section {
    padding: 50px 0 60px;
  }

  .error-actions {
    flex-direction: column;
  }

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

  .footer-top > div:first-child {
    grid-column: auto;
  }

  .footer-bottom {
    flex-direction: column;
  }

  .floating-widget-group {
    right: 14px;
    bottom: 14px;
    gap: 8px;
  }
}

/* BỘ NÚT NỔI HỖ TRỢ TRỰC TUYẾN (FLOATING WIDGET GROUP) */
.floating-widget-group {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 900;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
  pointer-events: none;
}

.floating-widget-group > * {
  pointer-events: auto;
}

.floating-btn {
  background: var(--black);
  color: var(--white);
  border: 1px solid #444;
  padding: 9px 16px;
  font-size: 12.5px;
  font-weight: 700;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.22);
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  gap: 7.5px;
  text-decoration: none;
  transition: all 0.25s var(--ease);
  white-space: nowrap;
}

.floating-btn:hover {
  background: #282828;
  border-color: #666;
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
}

.zalo-icon-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
  color: var(--black);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: -0.02em;
  padding: 2px 5px;
  border-radius: 3px;
  line-height: 1;
}

/* NÚT BACK TO TOP (LÊN ĐẦU TRANG) TINH TẾ */
.back-to-top {
  width: 40px;
  height: 40px;
  background: var(--black);
  color: var(--white);
  border: 1px solid #444;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.25s var(--ease), visibility 0.25s var(--ease), transform 0.25s var(--ease), background 0.2s, border-color 0.2s;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: #2b2b2b;
  border-color: #777;
  transform: translateY(-2px);
}


