/*
Theme Name: VBA - Hội Doanh nghiệp Việt Hưng
Theme URI: https://hoidoanhnghiepviethung.vn
Author: VBA Digital
Description: Theme chính thức của Hội Doanh nghiệp Việt Hưng (Viet Hung Business Association) — thiết kế navy-gold hiện đại, hỗ trợ Danh bạ hội viên, Ban Chấp hành, tin tức đa danh mục.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
Text Domain: vba
*/

/* =========================================================
   Hội Doanh nghiệp Việt Hưng (VBA) — stylesheet chung
   ========================================================= */

:root {
  --navy: #0b2a5b;
  --navy-2: #123572;
  --navy-3: #0a2149;
  --gold: #f5c65e;
  --gold-dark: #d9a83a;
  --bg: #f7f8fb;
  --bg-alt: #fbf4e3;
  --text: #1b2436;
  --muted: #5b667a;
  --white: #ffffff;
  --border: #e4e8f1;
  --shadow: 0 10px 30px rgba(11, 42, 91, 0.08);
  --radius: 14px;
  --container: 1180px;
  --font-head: "Montserrat", "Segoe UI", Arial, sans-serif;
  --font-body: "Inter", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--navy);
  margin: 0 0 .5em;
  line-height: 1.25;
}
p { margin: 0 0 1em; color: var(--muted); }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 72px 0; }
.section.alt { background: var(--bg-alt); }
.section.navy { background: var(--navy); color: var(--white); }
.section.navy p { color: rgba(255,255,255,.75); }
.section.navy h2 { color: var(--white); }

.eyebrow {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 2px;
  color: var(--gold-dark);
  background: rgba(245, 198, 94, .15);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 14px;
}
.section-head { max-width: 640px; margin: 0 auto 44px; text-align: center; }
.section-head h2 { font-size: clamp(24px, 3vw, 34px); }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: .3px;
  padding: 13px 26px;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-gold { background: var(--gold); color: var(--navy-3); }
.btn-gold:hover { background: var(--gold-dark); box-shadow: 0 8px 20px rgba(245,198,94,.4); }
.btn-outline { background: transparent; border-color: rgba(255,255,255,.6); color: var(--white); }
.btn-outline:hover { background: rgba(255,255,255,.12); }
.btn-navy { background: var(--navy); color: var(--white); }
.btn-navy:hover { background: var(--navy-2); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  box-shadow: 0 1px 0 var(--border);
}
.header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px 0;
}
.brand { display: flex; align-items: center; gap: 14px; }
.brand img { width: 56px; height: 56px; }
.brand-text .brand-name {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 18px;
  color: var(--navy);
  letter-spacing: .3px;
}
.brand-text .brand-sub {
  font-size: 12px;
  letter-spacing: 1.5px;
  color: var(--gold-dark);
  font-weight: 700;
}
.header-search {
  display: flex;
  align-items: center;
  border: 1.5px solid var(--border);
  border-radius: 999px;
  overflow: hidden;
  min-width: 260px;
}
.header-search input {
  border: none;
  outline: none;
  padding: 10px 16px;
  flex: 1;
  font-family: var(--font-body);
  font-size: 14px;
}
.header-search button {
  border: none;
  background: var(--navy);
  color: var(--white);
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.header-search button:hover { background: var(--navy-2); }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span {
  display: block;
  width: 26px;
  height: 3px;
  background: var(--navy);
  margin: 5px 0;
  border-radius: 2px;
}

.main-nav {
  border-top: 1px solid var(--border);
}
.main-nav ul {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.main-nav a {
  display: block;
  padding: 14px 16px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 13.5px;
  letter-spacing: .4px;
  color: var(--navy);
  border-bottom: 3px solid transparent;
}
.main-nav a:hover,
.main-nav a.active {
  color: var(--gold-dark);
  border-bottom-color: var(--gold);
}

/* ---------- Hero / slider ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(120deg, var(--navy-3), var(--navy) 55%, var(--navy-2));
}
.hero-slides { position: relative; min-height: 520px; }
.hero-slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity .8s ease;
  padding: 76px 0;
  background-size: cover;
  background-position: center;
}
.hero-slide::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(10,33,73,.94) 0%, rgba(10,33,73,.82) 40%, rgba(10,33,73,.45) 75%, rgba(10,33,73,.25) 100%);
}
.hero-slide::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--gold), transparent 70%);
}
.hero-slide.active { opacity: 1; visibility: visible; position: relative; }
.hero-slide .container {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 640px);
  align-items: center;
  width: 100%;
}
.hero-tag {
  display: inline-block;
  color: var(--gold);
  font-family: var(--font-head);
  font-weight: 700;
  letter-spacing: 2px;
  font-size: 13px;
  margin-bottom: 16px;
}
.hero-slide h1 {
  color: var(--white);
  font-size: clamp(28px, 4vw, 46px);
  margin-bottom: 18px;
}
.hero-slide p {
  color: rgba(255,255,255,.8);
  font-size: 16px;
  max-width: 520px;
  margin-bottom: 28px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-art {
  aspect-ratio: 4/3;
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(245,198,94,.25), rgba(245,198,94,.05));
  border: 1px solid rgba(245,198,94,.3);
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-art svg { width: 55%; height: 55%; opacity: .9; }

.hero-dots {
  position: absolute;
  bottom: 22px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 10px;
  z-index: 3;
}
.hero-dots button {
  width: 10px; height: 10px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,.35);
  cursor: pointer;
  padding: 0;
}
.hero-dots button.active { background: var(--gold); width: 26px; border-radius: 6px; }

.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 44px; height: 44px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,.12);
  color: var(--white);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}
.hero-arrow:hover { background: rgba(255,255,255,.25); }
.hero-arrow.prev { left: 18px; }
.hero-arrow.next { right: 18px; }

/* ---------- Page banner (inner pages) ---------- */
.page-banner {
  position: relative;
  background: linear-gradient(120deg, var(--navy-3), var(--navy) 60%, var(--navy-2));
  background-size: cover;
  background-position: center 30%;
  padding: 64px 0 52px;
  color: var(--white);
  overflow: hidden;
}
.page-banner.has-photo::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(10,33,73,.95) 0%, rgba(10,33,73,.85) 50%, rgba(10,33,73,.6) 100%);
}
.page-banner .container { position: relative; z-index: 1; }
.page-banner::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), transparent 70%);
  z-index: 1;
}
.page-banner h1 { color: var(--white); margin-bottom: 8px; font-size: clamp(24px, 3vw, 34px); }
.breadcrumb { font-size: 13px; color: rgba(255,255,255,.7); font-weight: 600; letter-spacing: .3px; }
.breadcrumb a:hover { color: var(--gold); }

/* ---------- Video block ---------- */
.video-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 44px;
  align-items: center;
}
.video-frame {
  aspect-ratio: 16/9;
  background: var(--navy-3);
  border-radius: var(--radius);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow);
}
/* ---------- Stats ---------- */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.stat-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 30px 20px;
  text-align: center;
  box-shadow: var(--shadow);
  border-top: 4px solid var(--gold);
}
.stat-card .num {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(28px, 3vw, 38px);
  color: var(--navy);
}
.stat-card .label { font-size: 13.5px; color: var(--muted); font-weight: 600; margin-top: 4px; }

/* ---------- About summary ---------- */
.about-grid {
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: 48px;
  align-items: center;
}
.about-art {
  aspect-ratio: 4/3;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--navy), var(--navy-2));
  position: relative;
  overflow: hidden;
}
.about-art svg { position: absolute; inset: 0; margin: auto; width: 60%; height: 60%; }
.value-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.value-chip {
  background: var(--bg-alt);
  border: 1px solid rgba(245,198,94,.4);
  color: var(--navy);
  font-weight: 700;
  font-size: 13px;
  padding: 8px 16px;
  border-radius: 999px;
}

/* ---------- Cards / grids ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.grid-6 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }

.card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  transition: transform .25s ease, box-shadow .25s ease;
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(11, 42, 91, .14);
}
.card-thumb img { transition: transform .5s ease; }
.card:hover .card-thumb img { transform: scale(1.05); }
.card-thumb {
  aspect-ratio: 16/10;
  background: linear-gradient(135deg, var(--navy), var(--navy-2));
  position: relative;
  display: flex; align-items: center; justify-content: center;
}
.card-thumb svg { width: 42%; height: 42%; opacity: .85; }
.card-thumb .tag {
  position: absolute; top: 12px; left: 12px;
  background: var(--gold);
  color: var(--navy-3);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .5px;
  padding: 5px 10px;
  border-radius: 999px;
}
.card-body { padding: 20px 22px 24px; flex: 1; display: flex; flex-direction: column; }
.card-date { font-size: 12.5px; color: var(--gold-dark); font-weight: 700; margin-bottom: 8px; letter-spacing: .3px; }
.card-body h3 { font-size: 17px; margin-bottom: 10px; }
.card-body p { font-size: 14px; flex: 1; }
.card-link { font-weight: 700; font-size: 13.5px; color: var(--navy); display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; }
.card-link:hover { color: var(--gold-dark); }

.icon-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: var(--shadow);
  border-top: 4px solid var(--navy);
}
.icon-card .ic {
  width: 52px; height: 52px;
  border-radius: 12px;
  background: var(--bg-alt);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.icon-card .ic svg { width: 26px; height: 26px; color: var(--navy); }
.icon-card h3 { font-size: 16.5px; }
.icon-card p { font-size: 14px; margin: 0; }

/* ---------- Timeline ---------- */
.timeline { position: relative; margin-left: 10px; padding-left: 34px; border-left: 3px solid var(--border); }
.timeline-item { position: relative; padding-bottom: 34px; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item::before {
  content: "";
  position: absolute; left: -42px; top: 4px;
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--gold); border: 3px solid var(--navy);
}
.timeline-item .year { font-family: var(--font-head); font-weight: 800; color: var(--navy); font-size: 18px; }
.timeline-item p { margin: 4px 0 0; }

/* ---------- Leadership ---------- */
.people-card { text-align: center; background: var(--white); border-radius: var(--radius); padding: 28px 18px; box-shadow: var(--shadow); }
.avatar {
  width: 84px; height: 84px; margin: 0 auto 16px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy), var(--navy-2));
  color: var(--gold);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head); font-weight: 800; font-size: 22px;
}
.people-card h3 { font-size: 15.5px; margin-bottom: 2px; }
.people-card .role { font-size: 13px; color: var(--gold-dark); font-weight: 700; }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(120deg, var(--gold), #f8d789);
  border-radius: var(--radius);
  padding: 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.cta-band h2 { color: var(--navy-3); margin-bottom: 6px; }
.cta-band p { color: var(--navy-2); margin: 0; }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.step { background: var(--white); border-radius: var(--radius); padding: 26px 20px; box-shadow: var(--shadow); position: relative; }
.step .n {
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--navy); color: var(--gold);
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-family: var(--font-head); margin-bottom: 14px;
}

/* ---------- Tiers table ---------- */
.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.tier-card { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); padding: 30px 26px; border: 2px solid transparent; }
.tier-card.featured { border-color: var(--gold); }
.tier-card .badge { display: inline-block; background: var(--bg-alt); color: var(--gold-dark); font-weight: 800; font-size: 11.5px; letter-spacing: .5px; padding: 5px 12px; border-radius: 999px; margin-bottom: 14px; }
.tier-card ul { margin-top: 16px; }
.tier-card li { font-size: 14px; color: var(--muted); padding: 6px 0; display: flex; gap: 8px; }
.tier-card li::before { content: "✓"; color: var(--gold-dark); font-weight: 800; }

/* ---------- Forms ---------- */
.form-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 36px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 18px; }
.form-field { display: flex; flex-direction: column; gap: 6px; }
.form-field.full { grid-column: 1 / -1; }
.form-field label { font-size: 13px; font-weight: 700; color: var(--navy); }
.form-field input,
.form-field select,
.form-field textarea {
  border: 1.5px solid var(--border);
  border-radius: 10px;
  padding: 12px 14px;
  font-family: var(--font-body);
  font-size: 14px;
  outline: none;
  background: var(--bg);
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus { border-color: var(--gold); background: var(--white); }
.form-note { font-size: 12.5px; color: var(--muted); margin-top: 14px; }
.form-success {
  display: none;
  margin-top: 16px;
  background: #eaf7ec;
  color: #1e6b34;
  border: 1px solid #bfe6c8;
  padding: 12px 16px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
}
.form-success.show { display: block; }

/* ---------- Contact info cards ---------- */
.contact-info-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.contact-info-card { background: var(--white); border-radius: var(--radius); padding: 26px 20px; box-shadow: var(--shadow); text-align: center; }
.contact-info-card .ic { width: 48px; height: 48px; border-radius: 50%; background: var(--bg-alt); display: flex; align-items: center; justify-content: center; margin: 0 auto 14px; }
.contact-info-card .ic svg { width: 22px; height: 22px; color: var(--navy); }
.contact-info-card h3 { font-size: 15px; margin-bottom: 6px; }
.contact-info-card p { font-size: 13.5px; margin: 0; }

.map-box {
  aspect-ratio: 21/9;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--navy), var(--navy-2));
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  color: var(--white);
  text-align: center;
  gap: 8px;
}
.map-box svg { width: 40px; height: 40px; color: var(--gold); }

/* ---------- Filter tabs ---------- */
.filter-tabs { display: flex; gap: 10px; justify-content: center; margin-bottom: 40px; flex-wrap: wrap; }
.filter-tabs button {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .3px;
  padding: 10px 20px;
  border-radius: 999px;
  border: 1.5px solid var(--border);
  background: var(--white);
  color: var(--navy);
  cursor: pointer;
}
.filter-tabs button.active,
.filter-tabs button:hover { background: var(--navy); color: var(--white); border-color: var(--navy); }

.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 44px; }
.pagination a {
  width: 40px; height: 40px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  border: 1.5px solid var(--border);
  font-weight: 700;
  font-size: 13.5px;
  color: var(--navy);
}
.pagination a.active, .pagination a:hover { background: var(--navy); color: var(--white); border-color: var(--navy); }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-3); color: rgba(255,255,255,.75); padding: 64px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 44px; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer-brand { display: flex; gap: 12px; margin-bottom: 16px; }
.footer-brand img { width: 46px; height: 46px; }
.footer-brand .name { font-family: var(--font-head); font-weight: 800; color: var(--white); font-size: 16px; }
.footer-brand .sub { font-size: 11.5px; color: var(--gold); letter-spacing: 1px; font-weight: 700; }
.site-footer h4 { color: var(--white); font-size: 14.5px; letter-spacing: .3px; margin-bottom: 18px; }
.site-footer p { font-size: 13.5px; color: rgba(255,255,255,.65); }
.footer-links li { margin-bottom: 10px; }
.footer-links a { font-size: 13.5px; color: rgba(255,255,255,.7); }
.footer-links a:hover { color: var(--gold); }
.footer-contact li { font-size: 13.5px; margin-bottom: 12px; display: flex; gap: 10px; color: rgba(255,255,255,.75); }
.footer-contact svg { width: 16px; height: 16px; flex-shrink: 0; color: var(--gold); margin-top: 2px; }
.footer-social { display: flex; gap: 10px; margin-top: 6px; }
.footer-social a {
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,.08);
  display: flex; align-items: center; justify-content: center;
}
.footer-social svg { width: 16px; height: 16px; color: var(--white); }
.footer-social a:hover { background: var(--gold); }
.footer-social a:hover svg { color: var(--navy-3); }
.newsletter { display: flex; margin-top: 8px; }
.newsletter input {
  flex: 1; border: none; border-radius: 999px 0 0 999px;
  padding: 12px 16px; font-size: 13.5px; outline: none;
}
.newsletter button {
  border: none; background: var(--gold); color: var(--navy-3);
  font-weight: 800; padding: 0 20px; border-radius: 0 999px 999px 0; cursor: pointer;
}
.footer-bottom {
  padding: 20px 0 26px;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px;
  font-size: 12.5px; color: rgba(255,255,255,.55);
}

/* ---------- Floating actions ---------- */
.floating-actions {
  position: fixed;
  right: 20px;
  bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 200;
}
.floating-actions a, .floating-actions button {
  width: 50px; height: 50px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--white);
  box-shadow: 0 8px 20px rgba(11,42,91,.3);
  border: none;
  cursor: pointer;
}
.floating-actions svg { width: 22px; height: 22px; }
.fab-phone { background: #2e9e46; }
.fab-zalo { background: #0068ff; }
.fab-ai { background: linear-gradient(135deg, var(--gold), var(--gold-dark)); color: var(--navy-3); position: relative; }
.fab-ai::after {
  content: "";
  position: absolute; top: -2px; right: -2px;
  width: 12px; height: 12px; border-radius: 50%;
  background: #2e9e46; border: 2px solid var(--white);
}
.fab-top { background: var(--navy); display: none; }
.fab-top.show { display: flex; }

/* ---------- AI chat widget ---------- */
.ai-chat-panel {
  position: fixed;
  right: 20px;
  bottom: 90px;
  width: 340px;
  max-width: calc(100vw - 40px);
  height: 460px;
  max-height: calc(100vh - 130px);
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: 0 20px 50px rgba(11,42,91,.35);
  display: none;
  flex-direction: column;
  overflow: hidden;
  z-index: 210;
}
.ai-chat-panel.open { display: flex; }
.ai-chat-header {
  background: linear-gradient(120deg, var(--navy), var(--navy-2));
  color: var(--white);
  padding: 16px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.ai-chat-header .title { display: flex; align-items: center; gap: 10px; }
.ai-chat-header .title .dot {
  width: 9px; height: 9px; border-radius: 50%; background: var(--gold);
}
.ai-chat-header h4 { color: var(--white); margin: 0; font-size: 14.5px; }
.ai-chat-header p { margin: 0; font-size: 11.5px; color: rgba(255,255,255,.7); }
.ai-chat-close {
  background: rgba(255,255,255,.12);
  border: none; color: var(--white);
  width: 28px; height: 28px; border-radius: 50%;
  cursor: pointer; font-size: 15px; line-height: 1;
  display: flex; align-items: center; justify-content: center;
}
.ai-chat-close:hover { background: rgba(255,255,255,.25); }
.ai-chat-body {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: var(--bg);
}
.ai-chat-msg {
  max-width: 85%;
  padding: 10px 14px;
  border-radius: 14px;
  font-size: 13.5px;
  line-height: 1.5;
}
.ai-chat-msg.bot {
  background: var(--white);
  border: 1px solid var(--border);
  color: var(--text);
  align-self: flex-start;
  border-bottom-left-radius: 4px;
}
.ai-chat-msg.user {
  background: var(--navy);
  color: var(--white);
  align-self: flex-end;
  border-bottom-right-radius: 4px;
}
.ai-chat-badge {
  align-self: flex-start;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .3px;
  color: var(--gold-dark);
  background: rgba(245,198,94,.15);
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: -2px;
}
.ai-chat-form {
  display: flex;
  gap: 8px;
  padding: 12px;
  border-top: 1px solid var(--border);
  background: var(--white);
}
.ai-chat-form input {
  flex: 1;
  border: 1.5px solid var(--border);
  border-radius: 999px;
  padding: 10px 16px;
  font-size: 13.5px;
  font-family: var(--font-body);
  outline: none;
}
.ai-chat-form input:focus { border-color: var(--gold); }
.ai-chat-form button {
  width: 40px; height: 40px;
  border-radius: 50%;
  border: none;
  background: var(--gold);
  color: var(--navy-3);
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.ai-chat-form button:hover { background: var(--gold-dark); }

@media (max-width: 480px) {
  .ai-chat-panel { right: 12px; bottom: 84px; width: calc(100vw - 24px); }
}

/* ---------- Scroll reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .card, .card-thumb img { transition: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .stats-grid, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3, .grid-6, .tiers, .steps { grid-template-columns: repeat(2, 1fr); }
  .about-grid, .video-block { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-info-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 760px) {
  .header-search { display: none; }
  .nav-toggle { display: block; }
  .main-nav { display: none; }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; gap: 0; }
  .main-nav a { border-bottom: 1px solid var(--border); }
  .hero-slide .container { grid-template-columns: 1fr; }
  .hero-art { display: none; }
  .grid-3, .grid-4, .grid-6, .grid-2, .tiers, .steps { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .cta-band { flex-direction: column; text-align: center; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .contact-info-grid { grid-template-columns: 1fr; }
  .section { padding: 52px 0; }
}

/* ================= Bổ sung cho WordPress ================= */
.main-nav ul { display: flex; gap: 6px; flex-wrap: wrap; }
.main-nav li.current-menu-item > a,
.main-nav li.current_page_item > a { color: var(--gold-dark); border-bottom-color: var(--gold); }
.custom-logo { width: 56px; height: 56px; object-fit: contain; }

.entry-content { font-size: 16px; line-height: 1.75; color: var(--text); }
.entry-content p { color: var(--text); }
.entry-content img { border-radius: var(--radius); height: auto; margin: 18px auto; }
.entry-content h2, .entry-content h3 { margin-top: 1.4em; }
.entry-content a { color: var(--navy-2); text-decoration: underline; }
.entry-content blockquote { border-left: 4px solid var(--gold); padding-left: 18px; color: var(--muted); }
.aligncenter { display: block; margin-left: auto; margin-right: auto; }
.wp-caption { max-width: 100%; }
.wp-caption-text { font-size: 13px; color: var(--muted); text-align: center; }

.pagination { flex-wrap: wrap; }
.pagination .page-numbers {
  width: 40px; height: 40px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1.5px solid var(--border); font-weight: 700; font-size: 13.5px; color: var(--navy);
  margin: 0 3px;
}
.pagination .page-numbers.current, .pagination .page-numbers:hover { background: var(--navy); color: #fff; border-color: var(--navy); }

.people-card img.avatar { width: 84px; height: 84px; border-radius: 50%; margin: 0 auto 16px; }

/* Contact Form 7 theo phong cách VBA */
.wpcf7 label { font-size: 13px; font-weight: 700; color: var(--navy); display: block; margin-bottom: 14px; }
.wpcf7 input[type="text"], .wpcf7 input[type="email"], .wpcf7 input[type="tel"],
.wpcf7 select, .wpcf7 textarea {
  width: 100%; border: 1.5px solid var(--border); border-radius: 10px;
  padding: 12px 14px; font-family: var(--font-body); font-size: 14px;
  outline: none; background: var(--bg); margin-top: 6px;
}
.wpcf7 input:focus, .wpcf7 select:focus, .wpcf7 textarea:focus { border-color: var(--gold); background: #fff; }
.wpcf7 input[type="submit"] {
  font-family: var(--font-head); font-weight: 700; font-size: 14px;
  padding: 13px 26px; border-radius: 999px; border: none; cursor: pointer;
  background: var(--gold); color: var(--navy-3);
}
.wpcf7 input[type="submit"]:hover { background: var(--gold-dark); }
.wpcf7-response-output { border-radius: 10px !important; padding: 12px 16px !important; font-size: 14px; }
