/*
Theme Name: Sửa Nhà Nhanh
Theme URI: https://suanhanhanh.vn
Author: Antigravity Team
Author URI: https://suanhanhanh.vn
Description: WordPress Theme Tùy biến 100% qua Customizer dành cho dịch vụ sửa chữa, cải tạo nhà ở tại TP.HCM.
Version: 1.0.0
License: GNU General Public License v2 or later
Text Domain: suanhanhanh
*/

:root {
  --primary: #d9381e;
  --primary-hover: #b82810;
  --secondary: #1a2e40;
  --accent: #ff9800;
  --accent-soft: #fff4e5;
  --bg-light: #f8fafc;
  --bg-white: #ffffff;
  --text-main: #1e293b;
  --text-muted: #64748b;
  --border-color: #e2e8f0;
  --radius: 8px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
  --max-w: 1140px;
  --font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html {
  overflow-x: hidden;
  max-width: 100%;
}
body {
  font-family: var(--font-family);
  color: var(--text-main);
  background-color: var(--bg-white);
  line-height: 1.6;
  font-size: 14px;
  padding-bottom: 70px;
  overflow-x: hidden;
  max-width: 100%;
  position: relative;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 16px; }

/* Typography & Utilities */
.text-sm { font-size: 14px; }
.text-xs { font-size: 14px; }
.text-xxs { font-size: 13px; }
.text-badge { font-size: 12px; font-weight: 700; color: var(--primary); text-transform: uppercase; margin-bottom: 4px; display: inline-block; }
.text-muted { color: var(--text-muted); }
.font-bold { font-weight: 700; }
.w-full { width: 100%; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 700;
  padding: 12px 22px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  font-size: 15px;
  transition: 0.2s ease;
  text-align: center;
}
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-hover); }
.btn-outline { border-color: var(--secondary); color: var(--secondary); background: transparent; }
.btn-outline:hover { background: var(--secondary); color: #fff; }

.section { padding: 48px 0; }
.section-bg { background-color: var(--bg-light); }
.section-title { font-size: 26px; font-weight: 800; color: var(--secondary); margin-bottom: 8px; text-align: center; }
.section-subtitle { text-align: center; color: var(--text-muted); margin-bottom: 32px; font-size: 15px; }

/* ================= HEADER & MODERN MENU ================= */
header.site-header {
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  z-index: 1000;
  transition: all 0.3s ease;
}

.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo {
  font-size: 20px;
  font-weight: 800;
  color: var(--secondary);
  letter-spacing: -0.5px;
  display: flex;
  align-items: center;
  gap: 6px;
  z-index: 1001;
}
.logo-img-wrap {
  display: inline-flex;
  align-items: center;
}
.logo img,
.custom-logo,
.custom-logo-link img,
.site-logo-img {
  max-height: var(--snh-logo-height, 48px);
  width: auto;
  max-width: 250px;
  height: auto;
  object-fit: contain;
  display: block;
}
.custom-logo-link {
  display: inline-flex;
  align-items: center;
}
.footer-brand-logo-link img {
  max-height: 52px;
  max-width: 220px;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}
.logo-badge {
  background: var(--primary);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 4px;
  text-transform: uppercase;
}

/* Desktop Navigation Links */
.nav-links {
  display: flex;
  gap: 4px;
  list-style: none;
  align-items: center;
}

.nav-item {
  position: relative;
}

.nav-link, .nav-links > li > a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 8px 12px;
  font-size: 14px;
  font-weight: 500;
  color: #4a5568;
  border-radius: 6px;
  transition: all 0.2s ease;
  cursor: pointer;
  background: none;
  border: none;
  font-family: inherit;
}

.nav-link:hover, .nav-links > li > a:hover, .nav-item.current-menu-item > a {
  color: var(--primary);
  background-color: #f7fafc;
}

.arrow-icon {
  transition: transform 0.2s ease;
}

/* Desktop Dropdown */
.dropdown-menu, .nav-links .sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: #ffffff;
  min-width: 230px;
  padding: 8px 0;
  border-radius: 10px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08), 0 2px 6px rgba(0, 0, 0, 0.04);
  border: 1px solid #edf2f7;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  list-style: none;
  z-index: 1002;
}

.nav-item:hover .dropdown-menu, .nav-links li:hover > .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(4px);
}

.dropdown-menu li a, .nav-links .sub-menu li a {
  display: block;
  padding: 9px 18px;
  font-size: 14px;
  font-weight: 500;
  color: #4a5568;
  transition: all 0.15s ease;
}

.dropdown-menu li a:hover, .nav-links .sub-menu li a:hover {
  color: var(--primary);
  background: #fff5f5;
  padding-left: 22px;
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn-phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
  color: var(--secondary);
  padding: 8px 14px;
  border-radius: 30px;
  background: #f1f5f9;
  transition: all 0.2s ease;
}

.btn-phone:hover {
  background: #e2e8f0;
}

.btn-header-lead {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 18px;
  background: var(--primary);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  border-radius: 30px;
  box-shadow: 0 2px 8px rgba(217, 56, 30, 0.25);
  transition: all 0.2s ease;
}

.btn-header-lead:hover {
  background: var(--primary-hover);
  box-shadow: 0 4px 12px rgba(217, 56, 30, 0.35);
  transform: translateY(-1px);
}

/* Mobile Hamburger Button */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 20px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1001;
}
.menu-toggle span {
  display: block;
  height: 2.5px;
  width: 100%;
  background: var(--secondary);
  border-radius: 3px;
  transition: all 0.3s ease;
}
.menu-toggle.active span:nth-child(1) {
  transform: translateY(8.5px) rotate(45deg);
}
.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}
.menu-toggle.active span:nth-child(3) {
  transform: translateY(-8.5px) rotate(-45deg);
}

/* Mobile Backdrop Overlay */
.menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.5);
  backdrop-filter: blur(4px);
  z-index: 998;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: all 0.3s ease;
}
.menu-overlay.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* ================= BREADCRUMB ================= */
.breadcrumb-wrap {
  background: #fff;
  border-bottom: 1px solid var(--border-color);
  padding: 10px 0;
  font-size: 14px;
}
.breadcrumb-list {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  gap: 6px;
  align-items: center;
  color: var(--text-muted);
}
.breadcrumb-item a:hover { color: var(--primary); }
.breadcrumb-separator { color: #cbd5e1; font-size: 12px; }

/* ================= HERO SECTION ================= */
.hero-section {
  padding: 40px 0;
  background: linear-gradient(180deg, #fff 0%, var(--bg-light) 100%);
  border-bottom: 1px solid var(--border-color);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 36px;
  align-items: start;
}
.hero-content h1 {
  font-size: 32px;
  line-height: 1.25;
  font-weight: 900;
  color: var(--secondary);
  margin-bottom: 16px;
}
.hero-content p {
  font-size: 16px;
  color: var(--text-muted);
  margin-bottom: 24px;
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 24px; }
.trust-bullets { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; font-size: 14px; font-weight: 600; color: var(--secondary); list-style: none; }
.trust-bullets li::before { content: "✔ "; color: var(--primary); font-weight: bold; }

/* LEAD CONVERSION BOX */
.lead-box {
  background: #fff;
  border: 2px solid var(--primary);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-md);
}
.lead-box-title { font-size: 18px; font-weight: 800; color: var(--secondary); margin-bottom: 12px; }
.problem-checklist {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 16px;
}
.problem-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  cursor: pointer;
}
.file-upload-box {
  border: 1px dashed var(--border-color);
  padding: 10px;
  text-align: center;
  font-size: 14px;
  color: var(--text-muted);
  border-radius: 6px;
  background: var(--bg-light);
  margin-bottom: 12px;
  cursor: pointer;
  display: block;
}
.input-field {
  width: 100%;
  padding: 12px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  margin-bottom: 12px;
  font-size: 14px;
}
.file-chosen-text {
  margin-top: 4px;
  font-weight: 700;
  color: var(--primary);
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* GRID SERVICES */
.grid-8 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.service-card {
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 20px;
  display: flex;
  flex-direction: column;
  transition: 0.2s;
}
.service-card:hover { border-color: var(--primary); box-shadow: var(--shadow-sm); }
.service-card h3 { font-size: 16px; margin-bottom: 6px; color: var(--secondary); }
.service-card p { font-size: 14px; color: var(--text-muted); flex-grow: 1; margin-bottom: 12px; }
.service-card a { font-size: 14px; font-weight: 700; color: var(--primary); }

/* PROBLEM DRIVEN CARDS */
.problem-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.problem-card {
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 20px;
  position: relative;
  border-top: 4px solid var(--accent);
  display: flex;
  flex-direction: column;
}
.problem-card h3 { font-size: 16px; margin-bottom: 8px; }
.problem-card p { font-size: 14px; color: var(--text-muted); margin-bottom: 12px; flex-grow: 1; }
.problem-card a { font-size: 14px; font-weight: bold; color: var(--secondary); }

/* PRICING TABLE */
.table-wrap { overflow-x: auto; margin-bottom: 20px; }
.price-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 14px;
  background: #fff;
}
.price-table th, .price-table td {
  padding: 12px 16px;
  border: 1px solid var(--border-color);
}
.price-table th { background: var(--secondary); color: #fff; font-weight: 700; }
.price-table tr:nth-child(even) { background: var(--bg-light); }
.price-notice { font-size: 14px; color: var(--text-muted); font-style: italic; text-align: center; }

/* ESTIMATOR TOOL */
.calculator-box {
  max-width: 700px;
  margin: 0 auto;
  background: #fff;
  border: 2px solid var(--secondary);
  border-radius: var(--radius);
  padding: 28px;
}
.calc-row { margin-bottom: 16px; }
.calc-label { font-size: 14px; font-weight: 700; margin-bottom: 6px; display: block; }
.calc-inline { display: flex; gap: 16px; flex-wrap: wrap; }
.calc-result-box {
  margin-top: 24px;
  padding: 16px;
  background: var(--bg-light);
  border-radius: var(--radius);
  text-align: center;
  border: 1px dashed var(--secondary);
}
.calc-price { font-size: 24px; font-weight: 900; color: var(--primary); }
.calc-subtext { font-size: 13px; color: var(--text-muted); margin-top: 6px; }
.calc-cta-btn { margin-top: 14px; }

/* CASE STUDY */
.case-study-card {
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 24px;
}
.case-header { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 16px; }
.case-title { font-size: 18px; color: var(--secondary); }
.case-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 16px 0; }
.case-img-box {
  background: #eaecef;
  height: 160px;
  border-radius: 6px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 1px solid #d1d5da;
  margin: 0;
  overflow: hidden;
}
.case-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.gallery-caption {
  font-size: 14px;
  font-weight: 700;
  color: #6a737d;
  text-align: center;
  padding: 4px;
}
.timeline-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--secondary);
  margin-top: 12px;
}
.timeline {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
  margin-top: 8px;
  text-align: center;
}
.timeline-item {
  background: var(--bg-light);
  padding: 8px 4px;
  border-radius: 4px;
  font-size: 12px;
  border: 1px solid var(--border-color);
}
.timeline-item b { display: block; color: var(--primary); margin-bottom: 2px; }

/* PROCESS */
.process-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
  text-align: center;
}
.process-step {
  background: #fff;
  border: 1px solid var(--border-color);
  padding: 22px 12px;
  border-radius: var(--radius);
  transition: all 0.25s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: var(--shadow-sm);
}
.process-step:hover {
  border-color: var(--primary);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.step-num {
  width: 38px;
  height: 38px;
  background: var(--primary);
  color: #fff;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 15px;
  margin-bottom: 12px;
  box-shadow: 0 2px 6px rgba(217, 56, 30, 0.3);
}
.process-title {
  font-size: 15px;
  font-weight: 800;
  color: var(--secondary);
  margin-bottom: 6px;
}
.process-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.45;
  word-break: break-word;
}

/* HONEST CONSULTING CALLOUT */
.honest-box {
  background: #fff4e5;
  border-left: 5px solid var(--accent);
  padding: 24px;
  border-radius: 4px;
}
.honest-title { font-size: 18px; margin-bottom: 8px; color: #8a5300; }
.honest-desc { font-size: 14px; margin-bottom: 8px; }
.honest-quote { font-size: 14px; font-weight: 700; }

/* SERVICE & TRUST & LOCATION STYLES */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.trust-card {
  background: #fff;
  border: 1px solid var(--border-color);
  padding: 24px;
  border-radius: var(--radius);
  transition: all 0.2s ease;
}
.trust-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-sm);
}
.trust-card h3 {
  font-size: 16px;
  margin-bottom: 8px;
  color: var(--secondary);
  display: flex;
  align-items: center;
  gap: 8px;
}
.trust-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.5;
}

.location-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  max-width: 950px;
  margin: 0 auto;
}
.loc-tag {
  background: #fff;
  border: 1.5px solid var(--border-color);
  padding: 9px 20px;
  border-radius: 25px;
  font-size: 14px;
  font-weight: 700;
  color: #334155;
  box-shadow: var(--shadow-sm);
  transition: all 0.25s ease;
  display: inline-block;
}
.loc-tag:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: #fffafa;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(217, 56, 30, 0.12);
}

.final-cta-section {
  background: linear-gradient(135deg, var(--secondary) 0%, #0f172a 100%);
  color: #fff;
  padding: 50px 20px;
  text-align: center;
  border-radius: var(--radius);
}
.final-cta-box {
  max-width: 700px;
  margin: 0 auto;
}
.final-cta-title {
  font-size: 26px;
  font-weight: 900;
  margin-bottom: 12px;
  color: #fff;
}
.final-cta-desc {
  font-size: 15px;
  color: #cbd5e1;
  margin-bottom: 24px;
}
.final-cta-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-action-group {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.hero-media-box {
  background: #e2e8f0;
  border-radius: var(--radius);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  position: relative;
}
.hero-media-placeholder {
  height: 280px;
  background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px;
}
.hero-media-badge {
  position: absolute;
  bottom: 12px;
  left: 12px;
  background: rgba(0, 0, 0, 0.75);
  color: #fff;
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 4px;
}

/* ACTION BARS & VIEW MORE STYLING */
.section-action-bar {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.btn-view-all {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #fff;
  color: var(--secondary);
  border: 1.5px solid var(--border-color);
  padding: 11px 26px;
  border-radius: 30px;
  font-size: 14px;
  font-weight: 700;
  box-shadow: var(--shadow-sm);
  transition: all 0.25s ease;
}
.btn-view-all:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: #fffafa;
  box-shadow: 0 4px 12px rgba(217, 56, 30, 0.12);
  transform: translateY(-2px);
}
.btn-view-all span.arrow {
  font-size: 16px;
  transition: transform 0.2s ease;
}
.btn-view-all:hover span.arrow {
  transform: translateX(4px);
}

.cluster-filter-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  align-items: center;
}
.cluster-filter-tags span.label {
  font-size: 14px;
  color: var(--text-muted);
  font-weight: 500;
}
.filter-tag {
  background: rgba(0, 0, 0, 0.04);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  color: #475569;
  border: 1px solid transparent;
  transition: all 0.15s ease;
}
.filter-tag:hover {
  background: #fff;
  border-color: var(--primary);
  color: var(--primary);
}

/* FAQ ACCORDION */
.faq-container {
  max-width: 800px;
  margin: 0 auto;
}
.faq-item {
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  margin-bottom: 10px;
}
.faq-question {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  font-family: inherit;
  padding: 16px 20px;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text-main);
}
.faq-answer {
  padding: 0 20px 16px 20px;
  color: var(--text-muted);
  font-size: 14px;
  display: none;
}
.faq-item.active .faq-answer { display: block; }

/* ARTICLE LAYOUT & SIDEBAR */
.article-layout {
  display: grid;
  grid-template-columns: 2.2fr 1fr;
  gap: 40px;
  padding: 36px 0 60px 0;
  align-items: start;
}
.article-header {
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-color);
}
.article-badge {
  display: inline-block;
  background: #fee2e2;
  color: var(--primary);
  font-size: 12px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 4px;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.article-title {
  font-size: 32px;
  font-weight: 900;
  color: var(--secondary);
  line-height: 1.3;
  margin-bottom: 14px;
}
.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 14px;
  color: var(--text-muted);
}
.meta-author { font-weight: 600; color: var(--secondary); }
.article-lead {
  font-size: 16.5px;
  font-weight: 500;
  color: #334155;
  line-height: 1.7;
  background: var(--bg-light);
  border-left: 4px solid var(--primary);
  padding: 16px 20px;
  border-radius: 0 var(--radius) var(--radius) 0;
  margin-bottom: 24px;
}
.toc-box {
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 18px 22px;
  margin-bottom: 32px;
}
.toc-title {
  font-size: 15px;
  font-weight: 800;
  color: var(--secondary);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.toc-list { list-style: none; font-size: 14px; }
.toc-list li { margin-bottom: 6px; }
.toc-list li a { color: #475569; transition: color 0.2s; }
.toc-list li a:hover { color: var(--primary); font-weight: 600; }
.toc-list li.sub { padding-left: 18px; font-size: 14px; }

.article-content {
  font-size: 15.5px;
  color: #334155;
  line-height: 1.8;
}
.article-content h2 {
  font-size: 22px;
  font-weight: 800;
  color: var(--secondary);
  margin: 36px 0 16px 0;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--border-color);
}
.article-content h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--secondary);
  margin: 24px 0 12px 0;
}
.article-content p { margin-bottom: 16px; }
.article-content ul, .article-content ol { margin: 12px 0 20px 24px; }
.article-content li { margin-bottom: 8px; }

/* Callout & Note Boxes & Blockquotes */
.callout-box,
blockquote,
.wp-block-quote {
  background: var(--accent-soft, #fff4e5);
  border-left: 4px solid var(--accent, #ff9800);
  padding: 16px 20px;
  border-radius: 6px;
  margin: 24px 0;
  font-size: 14.5px;
  line-height: 1.7;
  color: #1e293b;
}

.callout-box.tip,
blockquote.tip,
blockquote {
  background: #ecfdf5;
  border-left: 4px solid #10b981;
}

.callout-title,
blockquote strong:first-child,
.wp-block-quote cite {
  font-weight: 800;
  color: #047857;
  margin-bottom: 6px;
  font-size: 15px;
  display: block;
}

.callout-box .callout-title {
  color: #8a5300;
}
.callout-box.tip .callout-title {
  color: #047857;
}

/* Inline Content Tables */
.content-table-wrap { overflow-x: auto; margin: 24px 0; }
.content-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  background: #fff;
}
.content-table th, .content-table td {
  padding: 12px 14px;
  border: 1px solid var(--border-color);
}
.content-table th { background: var(--secondary); color: #fff; font-weight: 700; }
.content-table tr:nth-child(even) { background: var(--bg-light); }

/* In-Article Mid CTA */
.mid-article-cta {
  background: linear-gradient(135deg, #f8fafc 0%, #edf2f7 100%);
  border: 1.5px solid var(--secondary);
  border-radius: var(--radius);
  padding: 24px;
  margin: 32px 0;
  text-align: center;
}
.mid-cta-title { font-size: 18px; font-weight: 800; color: var(--secondary); margin-bottom: 8px; }
.mid-cta-desc { font-size: 14px; color: var(--text-muted); margin-bottom: 16px; }

/* Bottom Conversion Box for Article */
.article-bottom-cta {
  background: #fff;
  border: 2px solid var(--primary);
  border-radius: var(--radius);
  padding: 28px;
  margin-top: 48px;
  box-shadow: var(--shadow-md);
}
.bottom-cta-title { font-size: 20px; font-weight: 800; color: var(--secondary); margin-bottom: 8px; }
.bottom-cta-desc { font-size: 14.5px; color: var(--text-muted); margin-bottom: 20px; }
.bottom-cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }

.sidebar-wrapper {
  position: sticky;
  top: 90px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.sidebar-widget {
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 22px;
}
.sidebar-lead-widget {
  border: 2px solid var(--secondary);
  box-shadow: var(--shadow-sm);
}
.widget-title {
  font-size: 16px;
  font-weight: 800;
  color: var(--secondary);
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border-color);
}
.related-article-list { list-style: none; }
.related-article-item {
  margin-bottom: 12px;
  padding-bottom: 12px;
  border-bottom: 1px dashed var(--border-color);
}
.related-article-item:last-child { margin-bottom: 0; padding-bottom: 0; border: none; }
.related-article-item a {
  font-size: 14px;
  font-weight: 600;
  color: var(--secondary);
  line-height: 1.4;
  display: block;
}
.related-article-item a:hover { color: var(--primary); }
.related-article-meta { font-size: 13px; color: var(--text-muted); margin-top: 4px; }

/* SERVICE & PROJECT SPECIFIC STYLES */
.service-hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 36px;
  align-items: center;
}
.service-summary-bar {
  margin-top: -24px;
  position: relative;
  z-index: 10;
}
.summary-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow-sm);
}
.summary-card {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.summary-icon {
  width: 38px;
  height: 38px;
  background: var(--bg-light);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
  border: 1px solid var(--border-color);
}
.summary-text h3 { font-size: 14px; font-weight: 700; color: var(--secondary); margin-bottom: 2px; }
.summary-text p { font-size: 14px; color: var(--text-muted); line-height: 1.4; }

.scope-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.scope-card {
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 20px;
  transition: all 0.2s ease;
}
.scope-card:hover {
  border-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}
.scope-num {
  font-size: 13px;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 6px;
}
.scope-card h3 { font-size: 16px; color: var(--secondary); margin-bottom: 6px; }
.scope-card p { font-size: 14px; color: var(--text-muted); line-height: 1.5; }

.compare-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.compare-col {
  background: #fff;
  border-radius: var(--radius);
  padding: 24px;
  border: 1px solid var(--border-color);
}
.compare-col.should { border-top: 4px solid #10b981; }
.compare-col.should-not { border-top: 4px solid var(--accent); }
.compare-header {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 16px;
}
.compare-header.green { color: #059669; }
.compare-header.orange { color: #d97706; }
.compare-list { list-style: none; font-size: 14px; }
.compare-list li { margin-bottom: 12px; padding-left: 24px; position: relative; }
.compare-list.green li::before { content: "✔"; position: absolute; left: 0; color: #10b981; font-weight: bold; }
.compare-list.orange li::before { content: "✖"; position: absolute; left: 0; color: var(--accent); font-weight: bold; }

/* FOOTER */
footer {
  background: var(--secondary);
  color: #fff;
  padding: 48px 0 24px 0;
  font-size: 14px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 32px;
}
.footer-brand {
  font-size: 20px;
  font-weight: 900;
  margin-bottom: 12px;
}
.footer-desc {
  color: #cbd5e1;
  font-size: 14px;
  margin-bottom: 12px;
}
.footer-address {
  color: #fff;
  font-size: 14px;
}
.footer-col h4 { font-size: 16px; margin-bottom: 16px; color: #fff; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul li a { color: #cbd5e1; }
.footer-col ul li a:hover { color: #fff; }
.footer-contact-item { margin-bottom: 6px; }
.footer-hours { font-size: 13px; color: #94a3b8; }
.footer-bottom { border-top: 1px solid #304455; padding-top: 20px; text-align: center; color: #8b949e; font-size: 13px; }

/* MOBILE STICKY BOTTOM BAR */
.mobile-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #fff;
  border-top: 1px solid var(--border-color);
  height: 60px;
  z-index: 997;
  grid-template-columns: 1fr 1fr 1fr;
}
.mobile-bar-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  color: var(--secondary);
}
.mobile-bar-btn.call { background: var(--primary); color: #fff; }
.mobile-bar-btn.zalo { background: #0068ff; color: #fff; }

/* RESPONSIVE DESIGN */
@media (max-width: 992px) {
  .menu-toggle { display: flex; }
  .header-cta .btn-phone { display: none; }
  
  .nav-links {
    position: fixed;
    top: 0;
    right: 0;
    width: 280px;
    max-width: 85vw;
    height: 100vh;
    height: 100dvh;
    background: #ffffff;
    flex-direction: column;
    align-items: flex-start;
    padding: 85px 20px 30px 20px;
    box-shadow: -4px 0 20px rgba(0,0,0,0.15);
    z-index: 999;
    transform: translateX(100%);
    visibility: hidden;
    pointer-events: none;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.3s ease;
    overflow-y: auto;
    gap: 0;
  }
  .nav-links.active {
    transform: translateX(0);
    visibility: visible;
    pointer-events: auto;
  }

  .nav-item {
    width: 100%;
    border-bottom: 1px solid #f1f5f9;
  }

  .nav-link, .nav-links > li > a {
    width: 100%;
    padding: 14px 8px;
    font-size: 15px;
    justify-content: space-between;
    font-weight: 600;
  }

  /* Mobile Dropdown Accordion */
  .dropdown-menu, .nav-links .sub-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    box-shadow: none;
    border: none;
    transform: none;
    padding: 0 0 8px 12px;
    background: #f8fafc;
    border-radius: 6px;
    margin-bottom: 8px;
    display: none;
  }
  .nav-item.dropdown-open .dropdown-menu, .nav-links li.dropdown-open > .sub-menu {
    display: block;
  }
  .nav-item.dropdown-open .arrow-icon {
    transform: rotate(180deg);
  }
  .dropdown-menu li a, .nav-links .sub-menu li a {
    padding: 8px 12px;
    font-size: 14px;
  }

  .hero-grid { grid-template-columns: 1fr; }
  .grid-8 { grid-template-columns: repeat(2, 1fr); }
  .problem-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .timeline { grid-template-columns: repeat(4, 1fr); }
  .article-layout { grid-template-columns: 1fr; }
  .service-hero-grid { grid-template-columns: 1fr; }
  .summary-grid { grid-template-columns: repeat(2, 1fr); }
  .scope-grid { grid-template-columns: repeat(2, 1fr); }
  .compare-grid { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .logo img,
  .custom-logo,
  .custom-logo-link img,
  .site-logo-img {
    max-height: 42px;
    max-width: 170px;
  }
  .header-cta .btn-header-lead { display: none; }
  .bottom-cta-actions { flex-direction: column; }
  .bottom-cta-actions .btn { width: 100%; }
  .grid-8, .problem-grid { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .case-gallery { grid-template-columns: 1fr; }
  .timeline { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .mobile-bar { display: grid; }
  .summary-grid { grid-template-columns: 1fr; }
  .scope-grid { grid-template-columns: 1fr; }
  .specs-grid { grid-template-columns: 1fr; }
}

/* ================= CASE STUDY (project.html) FULL STYLES ================= */
.case-hero {
  padding: 36px 0 24px 0;
  border-bottom: 1px solid var(--border-color);
}
.case-hero h1 {
  font-size: 30px;
  font-weight: 900;
  color: var(--secondary);
  line-height: 1.3;
  margin-bottom: 16px;
}
.case-meta-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 14px;
  color: var(--text-muted);
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border-color);
}
.meta-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.meta-tag b { color: var(--secondary); }

/* Quick Specs Grid */
.specs-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 24px;
}
.spec-item {
  background: var(--bg-light);
  border: 1px solid var(--border-color);
  padding: 16px;
  border-radius: var(--radius);
}
.spec-label { font-size: 13px; font-weight: 600; color: var(--text-muted); text-transform: uppercase; }
.spec-value { font-size: 16px; font-weight: 800; color: var(--secondary); margin-top: 4px; }
.spec-value.highlight { color: var(--primary); }

/* Main Case Content & Layout */
.case-layout {
  display: grid;
  grid-template-columns: 2.1fr 1fr;
  gap: 36px;
  padding: 40px 0;
  align-items: start;
}

/* Comparison Gallery (Trước - Trong - Sau) */
.phase-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 32px;
}
.phase-card {
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.phase-badge {
  font-size: 12px;
  font-weight: 800;
  padding: 7px 12px;
  text-transform: uppercase;
  text-align: center;
  color: #fff;
}
.phase-badge.before { background: #64748b; }
.phase-badge.during { background: var(--accent); }
.phase-badge.after { background: #10b981; }

.phase-img-box {
  height: 200px;
  background: #f1f5f9;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 12px;
  text-align: center;
  border-bottom: 1px solid var(--border-color);
  overflow: hidden;
}
.phase-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.phase-img-desc {
  font-size: 12px;
  color: #475569;
  font-weight: 700;
}
.phase-notes {
  padding: 12px 14px;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.45;
  background: #fff;
}

/* Narrative Blocks */
.case-block {
  margin-bottom: 36px;
}
.case-block h2 {
  font-size: 20px;
  font-weight: 800;
  color: var(--secondary);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.case-prose {
  font-size: 15px;
  color: #334155;
  line-height: 1.7;
}
.case-prose p { margin-bottom: 12px; }
.case-prose ul { margin: 10px 0 16px 20px; }
.case-prose li { margin-bottom: 6px; }

/* Work Scope Checklist Pills */
.scope-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}
.scope-tag-item {
  background: #f1f5f9;
  border: 1px solid var(--border-color);
  padding: 7px 16px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 700;
  color: var(--secondary);
}

/* Timeline Daily Logs */
.log-timeline {
  position: relative;
  border-left: 2px solid var(--border-color);
  margin-left: 12px;
  padding-left: 22px;
}
.log-item {
  position: relative;
  margin-bottom: 22px;
}
.log-item:last-child { margin-bottom: 0; }
.log-item::before {
  content: "";
  position: absolute;
  left: -28px;
  top: 5px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--primary);
  border: 2px solid #fff;
}
.log-date {
  font-size: 13px;
  font-weight: 800;
  color: var(--primary);
  text-transform: uppercase;
}
.log-title {
  font-size: 15px;
  font-weight: 800;
  color: var(--secondary);
  margin: 3px 0 5px 0;
}
.log-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.55;
}

/* Pricing Breakdown Table */
.cost-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  margin-top: 14px;
  background: #fff;
}
.cost-table th, .cost-table td {
  padding: 12px 16px;
  border: 1px solid var(--border-color);
}
.cost-table th { background: var(--secondary); color: #fff; font-weight: 700; }
.cost-table tr:nth-child(even) { background: var(--bg-light); }
.cost-table tr.total-row {
  background: #fef2f2;
  font-weight: 800;
  color: var(--primary);
  font-size: 15px;
}

/* Client Review Box */
.client-review-card {
  background: #fff;
  border-left: 4px solid #10b981;
  padding: 22px;
  border-radius: 0 var(--radius) var(--radius) 0;
  box-shadow: var(--shadow-sm);
  border-top: 1px solid var(--border-color);
  border-right: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  margin-top: 16px;
}
.review-quote {
  font-style: italic;
  font-size: 14.5px;
  color: #334155;
  margin-bottom: 14px;
  line-height: 1.65;
}
.reviewer-meta {
  display: flex;
  align-items: center;
  gap: 12px;
}
.reviewer-avatar {
  width: 40px;
  height: 40px;
  background: #e2e8f0;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 14px;
  color: var(--secondary);
}
.reviewer-info b { display: block; font-size: 14px; color: var(--secondary); }
.reviewer-info span { font-size: 14px; color: var(--text-muted); }

/* Sidebar Lead Panel & Related Projects */
.sidebar-lead {
  position: sticky;
  top: 90px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.lead-card {
  background: #fff;
  border: 2px solid var(--secondary);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-md);
}
.lead-card-title {
  font-size: 18px;
  font-weight: 800;
  color: var(--secondary);
  margin-bottom: 8px;
}
.lead-card-desc {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 16px;
}
.related-projects-card {
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 20px;
}
.related-title {
  font-size: 15px;
  font-weight: 800;
  color: var(--secondary);
  margin-bottom: 14px;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 8px;
}
.related-list { list-style: none; }
.related-item {
  margin-bottom: 12px;
  padding-bottom: 12px;
  border-bottom: 1px dashed var(--border-color);
}
.related-item:last-child { margin-bottom: 0; padding-bottom: 0; border: none; }
.related-item a {
  font-size: 14px;
  font-weight: 600;
  color: var(--secondary);
  line-height: 1.4;
  display: block;
}
.related-item a:hover { color: var(--primary); }
.related-meta { font-size: 13px; color: var(--text-muted); margin-top: 3px; }

/* ================= PROJECT ARCHIVE & SPLIT CARDS STYLES ================= */
.archive-hero {
  padding: 44px 0 32px 0;
  background: linear-gradient(180deg, #fff 0%, var(--bg-light) 100%);
  border-bottom: 1px solid var(--border-color);
  text-align: center;
}
.archive-hero h1 {
  font-size: 32px;
  font-weight: 900;
  color: var(--secondary);
  margin-bottom: 12px;
}
.archive-hero p {
  max-width: 760px;
  margin: 0 auto 24px auto;
  font-size: 15.5px;
  color: var(--text-muted);
}
.filter-wrapper {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
  margin-top: 16px;
}
.filter-group, .filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}
.filter-btn {
  background: #fff;
  border: 1px solid var(--border-color);
  padding: 7px 16px;
  border-radius: 30px;
  font-size: 14px;
  font-weight: 600;
  color: #475569;
  cursor: pointer;
  transition: all 0.2s ease;
}
.filter-btn:hover, .filter-btn.active {
  background: var(--secondary);
  color: #fff;
  border-color: var(--secondary);
}
.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 8px;
}
.project-card {
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.25s ease;
}
.project-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}
.card-visual-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  height: 160px;
  background: #e2e8f0;
  position: relative;
  border-bottom: 1px solid var(--border-color);
}
.split-side {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 8px;
  font-size: 13px;
  font-weight: 700;
  position: relative;
  overflow: hidden;
}
.split-side.before {
  background: #cbd5e1;
  color: #475569;
  border-right: 2px solid #fff;
}
.split-side.after {
  background: #1e293b;
  color: #fff;
}
.split-tag {
  position: absolute;
  top: 8px;
  font-size: 11px;
  padding: 2px 6px;
  border-radius: 3px;
  text-transform: uppercase;
  font-weight: 800;
  z-index: 2;
}
.split-side.before .split-tag { left: 8px; background: rgba(0,0,0,0.6); color: #fff; }
.split-side.after .split-tag { right: 8px; background: #10b981; color: #fff; }
.project-card-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.project-location-badge {
  font-size: 12px;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  margin-bottom: 6px;
  display: inline-block;
}
.project-card h2 {
  font-size: 17px;
  font-weight: 800;
  color: var(--secondary);
  line-height: 1.4;
  margin-bottom: 10px;
}
.project-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 16px;
  flex-grow: 1;
}
.project-meta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  background: var(--bg-light);
  padding: 10px 12px;
  border-radius: 6px;
  font-size: 13px;
  margin-bottom: 16px;
}
.meta-cell span { display: block; color: var(--text-muted); }
.meta-cell b { color: var(--secondary); }
.meta-cell.cost b { color: var(--primary); }
.project-card-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  padding: 10px;
  background: #f1f5f9;
  color: var(--secondary);
  font-size: 14px;
  font-weight: 700;
  border-radius: 6px;
  transition: all 0.2s ease;
}
.project-card:hover .project-card-link {
  background: var(--primary);
  color: #fff;
}

/* ================= SERVICE ARCHIVE GRID STYLES ================= */
.archive-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 8px;
}
.archive-card {
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  flex-direction: column;
  transition: all 0.25s ease;
  position: relative;
}
.archive-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}
.card-icon-wrap {
  width: 48px;
  height: 48px;
  background: #fee2e2;
  color: var(--primary);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 16px;
}
.archive-card h2 {
  font-size: 18px;
  font-weight: 800;
  color: var(--secondary);
  margin-bottom: 8px;
}
.archive-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 16px;
  flex-grow: 1;
}
.card-keypoints {
  list-style: none;
  font-size: 14px;
  color: #475569;
  margin-bottom: 20px;
  padding-top: 12px;
  border-top: 1px dashed var(--border-color);
}
.card-keypoints li {
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.card-keypoints li::before {
  content: "✔";
  color: #10b981;
  font-weight: bold;
}
.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid var(--border-color);
}
.card-price-est {
  font-size: 14px;
  font-weight: 700;
  color: var(--primary);
}
.card-link {
  font-size: 14px;
  font-weight: 700;
  color: var(--secondary);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.card-link:hover { color: var(--primary); }

.guide-box {
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 32px;
  margin: 40px 0;
}
.guide-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 20px;
}
.guide-col h3 {
  font-size: 16px;
  font-weight: 800;
  color: var(--secondary);
  margin-bottom: 8px;
}
.guide-col p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ================= TRUST STAT BANNER ================= */
.trust-banner {
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 32px;
  margin: 40px 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  text-align: center;
}
.trust-stat-num {
  font-size: 32px;
  font-weight: 900;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 6px;
}
.trust-stat-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--secondary);
}
.archive-cta {
  background: linear-gradient(135deg, var(--secondary) 0%, #0f172a 100%);
  color: #fff;
  padding: 50px 0;
  text-align: center;
}
.archive-cta-box { max-width: 680px; margin: 0 auto; }
.archive-cta h2 { font-size: 26px; font-weight: 900; margin-bottom: 12px; color: #fff; }
.archive-cta p { font-size: 15px; color: #cbd5e1; margin-bottom: 24px; }
.cta-actions { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }

/* ================= 404 PAGE STYLING ================= */
.section-404 {
  padding: 60px 0 80px;
}
.error-404-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 48px 36px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 860px;
  margin: 0 auto 56px;
}
.error-404-visual {
  margin-bottom: 24px;
}
.error-404-badge {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.error-code {
  font-size: 110px;
  font-weight: 900;
  line-height: 1;
  background: linear-gradient(135deg, var(--primary) 0%, #ff6b4a 50%, var(--secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -4px;
  animation: float404 4s ease-in-out infinite;
}
@keyframes float404 {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
.error-icon-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(255, 255, 255, 0.9);
  padding: 12px;
  border-radius: 50%;
  box-shadow: var(--shadow-md);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
}
.error-404-title {
  font-size: 26px;
  font-weight: 800;
  color: var(--secondary);
  margin: 12px 0 14px;
  line-height: 1.35;
}
.error-404-desc {
  font-size: 15px;
  color: var(--text-muted);
  max-width: 640px;
  margin: 0 auto 28px;
  line-height: 1.6;
}
.error-404-search-box {
  width: 100%;
  max-width: 580px;
  margin: 0 auto 28px;
}
.search-form-404 .search-input-group {
  display: flex;
  align-items: center;
  background: #f8fafc;
  border: 2px solid var(--border-color);
  border-radius: 40px;
  padding: 6px 8px 6px 18px;
  transition: all 0.25s ease;
}
.search-form-404 .search-input-group:focus-within {
  border-color: var(--primary);
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(217, 56, 30, 0.12);
}
.search-icon {
  font-size: 16px;
  margin-right: 8px;
  color: var(--text-muted);
}
.search-field-404 {
  flex-grow: 1;
  border: none;
  outline: none;
  background: transparent;
  font-size: 14.5px;
  color: var(--text-main);
  padding: 8px 0;
  font-family: inherit;
}
.search-submit-404 {
  border-radius: 30px;
  padding: 10px 24px;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
}
.error-404-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}
.btn-zalo-404 {
  background: #0068ff;
  color: #ffffff;
  border-radius: var(--radius);
  font-weight: 700;
  padding: 12px 22px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease;
}
.btn-zalo-404:hover {
  background: #0052cc;
  color: #ffffff;
  transform: translateY(-1px);
}
.error-service-card {
  position: relative;
  transition: all 0.25s ease;
}
.error-service-card:hover {
  transform: translateY(-4px);
  border-color: var(--primary);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}
.service-card-icon {
  font-size: 28px;
  margin-bottom: 12px;
}
.link-more {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 14px;
  font-weight: 700;
  color: var(--primary);
  margin-top: 8px;
}

@media (max-width: 768px) {
  .error-404-card {
    padding: 32px 20px;
  }
  .error-code {
    font-size: 80px;
  }
  .error-404-title {
    font-size: 20px;
  }
  .search-form-404 .search-input-group {
    flex-direction: column;
    border-radius: 16px;
    padding: 12px;
    gap: 10px;
  }
  .search-submit-404 {
    width: 100%;
  }
  .error-404-actions {
    flex-direction: column;
    width: 100%;
  }
  .error-404-actions .btn {
    width: 100%;
  }
}

/* KNOWLEDGE HUB STYLES */
.knowledge-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.knowledge-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  border-color: var(--primary);
}
.knowledge-card .knowledge-img-wrap {
  width: 100%;
  height: 175px;
  overflow: hidden;
  border-radius: 6px;
  margin-bottom: 12px;
  background: var(--bg-light);
}
.knowledge-card .knowledge-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}
.knowledge-card:hover .knowledge-img {
  transform: scale(1.05);
}
.knowledge-card h3 a {
  color: var(--secondary);
  transition: color 0.2s ease;
}
.knowledge-card h3 a:hover {
  color: var(--primary);
}



