/* ==========================================================================
   STYLE SYSTEM - CÔNG TY VLXD LÂM ANH PHÚ THỌ
   Hiện Đại • Đẳng Cấp • Tương Tác Cao • Glassmorphism • Mobile-First
   Tên miền: vlxdlamanh.biz | Hotline: 0372555999
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Oswald:wght@500;600;700&display=swap');

:root {
  /* Color Palette */
  --bg-dark: #070a12;
  --bg-card: rgba(15, 23, 42, 0.75);
  --bg-card-hover: rgba(30, 41, 59, 0.85);
  --bg-surface: #0f172a;
  --bg-surface-light: #1e293b;
  
  --primary: #f59e0b;       /* Amber Gold Construction */
  --primary-light: #fbbf24;
  --primary-dark: #d97706;
  --primary-glow: rgba(245, 158, 11, 0.35);

  --accent-orange: #ea580c; /* High-vis safety orange */
  --accent-blue: #38bdf8;   /* Steel tech blue */
  --accent-green: #10b981;  /* Ready/Success dot */

  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-focus: rgba(245, 158, 11, 0.5);

  --font-main: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-display: 'Oswald', sans-serif;

  --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.5), 0 8px 10px -6px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 30px rgba(245, 158, 11, 0.2);

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;

  --transition: all 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  color-scheme: dark;
}

body {
  font-family: var(--font-main);
  background-color: var(--bg-dark);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  background-image: 
    radial-gradient(circle at 15% 15%, rgba(245, 158, 11, 0.08) 0%, transparent 40%),
    radial-gradient(circle at 85% 65%, rgba(14, 165, 233, 0.06) 0%, transparent 45%);
  background-attachment: fixed;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

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

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
}

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

/* Typography Helpers */
.font-display {
  font-family: var(--font-display);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.text-gradient {
  background: linear-gradient(135deg, #ffffff 20%, var(--primary-light) 60%, var(--accent-orange) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-amber {
  background: linear-gradient(135deg, #fef08a 0%, var(--primary) 50%, var(--accent-orange) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Badges & Tags */
.badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.3);
  color: var(--primary-light);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: var(--radius-full);
}

.section-header {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 50px auto;
}

.section-header h2 {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  margin: 12px 0 16px 0;
  letter-spacing: 0.5px;
}

.section-header p {
  color: var(--text-muted);
  font-size: 1.05rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 26px;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent-orange) 100%);
  color: #000;
  font-weight: 700;
  box-shadow: 0 8px 20px rgba(245, 158, 11, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(245, 158, 11, 0.5);
  filter: brightness(1.1);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-main);
  border: 1px solid var(--border-subtle);
  backdrop-filter: blur(8px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--primary-light);
  border: 1px solid rgba(245, 158, 11, 0.4);
}

.btn-outline:hover {
  background: rgba(245, 158, 11, 0.15);
  border-color: var(--primary);
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.85rem;
  border-radius: var(--radius-sm);
}

/* Top Notification Bar */
.top-bar {
  background: #04060b;
  border-bottom: 1px solid var(--border-subtle);
  font-size: 0.85rem;
  color: var(--text-muted);
  padding: 8px 0;
}

.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.top-bar-left, .top-bar-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.top-bar-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.top-bar-item a:hover {
  color: var(--primary-light);
}

.top-bar-highlight {
  color: var(--primary);
  font-weight: 700;
}

/* Header & Navigation */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(7, 10, 18, 0.82);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
  transition: var(--transition);
}

.site-header.scrolled {
  background: rgba(7, 10, 18, 0.96);
  border-bottom-color: rgba(245, 158, 11, 0.2);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-symbol {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent-orange) 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: #000;
  font-weight: 900;
  box-shadow: 0 0 20px var(--primary-glow);
}

.logo-text-wrap {
  display: flex;
  flex-direction: column;
}

.logo-brand-name {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 700;
  line-height: 1.1;
  color: #ffffff;
  letter-spacing: 0.5px;
}

.logo-tagline {
  font-size: 0.72rem;
  color: var(--primary-light);
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 1px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  list-style: none;
}

.nav-link {
  font-size: 0.92rem;
  font-weight: 600;
  color: #cbd5e1;
  position: relative;
  padding: 6px 0;
}

.nav-link:hover, .nav-link.active {
  color: var(--primary-light);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--primary);
  transition: var(--transition);
}

.nav-link:hover::after {
  width: 100%;
}

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

.mobile-menu-btn {
  display: none;
  background: transparent;
  border: none;
  color: #fff;
  cursor: pointer;
  padding: 8px;
}

/* HERO SECTION */
.hero-section {
  position: relative;
  padding: 90px 0 100px 0;
  overflow: hidden;
}

.hero-bg-accent {
  position: absolute;
  top: -150px;
  right: -100px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.15) 0%, transparent 70%);
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.95fr;
  align-items: center;
  gap: 50px;
  position: relative;
  z-index: 1;
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.hero-title {
  font-family: var(--font-display);
  font-size: 3.4rem;
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.hero-desc {
  font-size: 1.15rem;
  color: #cbd5e1;
  line-height: 1.7;
}

.hero-btn-row {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  padding-top: 24px;
  border-top: 1px solid var(--border-subtle);
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.1;
}

.stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Hero Visual Showcase */
.hero-visual {
  position: relative;
}

.hero-image-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.7);
  background: var(--bg-surface);
}

.hero-main-img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.hero-image-card:hover .hero-main-img {
  transform: scale(1.03);
}

.hero-float-badge {
  position: absolute;
  backdrop-filter: blur(14px);
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  padding: 12px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: var(--shadow-lg);
}

.badge-pos-1 {
  bottom: 24px;
  left: 20px;
}

.badge-pos-2 {
  top: 24px;
  right: 20px;
}

.float-icon {
  font-size: 1.8rem;
}

.float-text-box h5 {
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
}

.float-text-box p {
  font-size: 0.78rem;
  color: var(--primary-light);
}

/* SECTION 2: BỘ CÔNG CỤ DỰ TOÁN VẬT TƯ THÔNG MINH */
.section-estimator {
  padding: 80px 0;
  background: linear-gradient(180deg, transparent 0%, rgba(15, 23, 42, 0.5) 100%);
  position: relative;
}

.estimator-card {
  background: var(--bg-card);
  border: 1px solid rgba(245, 158, 11, 0.25);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(16px);
  padding: 40px;
  box-shadow: var(--shadow-lg), var(--shadow-glow);
  display: grid;
  grid-template-columns: 1.1fr 1.3fr;
  gap: 40px;
}

.estimator-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-size: 0.9rem;
  font-weight: 600;
  color: #cbd5e1;
}

.form-control {
  background: rgba(2, 6, 23, 0.6);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  color: #fff;
  padding: 12px 16px;
  font-size: 0.95rem;
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 15px var(--primary-glow);
}

.estimator-results {
  background: rgba(2, 6, 23, 0.75);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.results-header {
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 14px;
  margin-bottom: 20px;
}

.results-header h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--primary-light);
}

.results-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 24px;
}

.result-item {
  background: rgba(255, 255, 255, 0.03);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  border: 1px solid rgba(255, 255, 255, 0.04);
}

.result-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  display: block;
}

.result-value {
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
  margin-top: 4px;
  display: block;
}

.result-total-cost-box {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.15) 0%, rgba(234, 88, 12, 0.25) 100%);
  border: 1px solid rgba(245, 158, 11, 0.4);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  margin-bottom: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cost-label {
  font-size: 0.88rem;
  color: var(--primary-light);
  font-weight: 600;
}

.cost-value {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  color: #fff;
}

/* SECTION 3: DANH MỤC SẢN PHẨM & TABS LỌC */
.section-products {
  padding: 90px 0;
  position: relative;
}

.product-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 36px;
}

.product-tabs {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.product-filter-btn {
  padding: 10px 20px;
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  color: var(--text-muted);
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 600;
  transition: var(--transition);
}

.product-filter-btn:hover {
  color: #fff;
  border-color: rgba(245, 158, 11, 0.4);
}

.product-filter-btn.active {
  background: var(--primary);
  color: #000;
  font-weight: 700;
  border-color: var(--primary);
  box-shadow: 0 4px 15px rgba(245, 158, 11, 0.3);
}

.product-search-box {
  position: relative;
  width: 280px;
}

.product-search-box input {
  width: 100%;
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  padding: 10px 18px 10px 42px;
  color: #fff;
  font-size: 0.88rem;
  outline: none;
}

.product-search-box input:focus {
  border-color: var(--primary);
}

.search-icon-inside {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-dim);
  font-size: 1rem;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 28px;
}

.product-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
  position: relative;
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-6px);
  border-color: rgba(245, 158, 11, 0.4);
  box-shadow: var(--shadow-lg), 0 0 25px rgba(245, 158, 11, 0.15);
}

.product-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--primary);
  color: #000;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  z-index: 2;
  box-shadow: var(--shadow-sm);
}

.product-thumb-wrap {
  width: 100%;
  height: 220px;
  overflow: hidden;
  position: relative;
  background: #020617;
}

.product-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.product-card:hover .product-thumb {
  transform: scale(1.06);
}

.product-body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-origin {
  font-size: 0.75rem;
  text-transform: uppercase;
  color: var(--primary-light);
  font-weight: 700;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
}

.product-name {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 8px;
  line-height: 1.35;
}

.product-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 16px;
  flex-grow: 1;
}

.product-price-box {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  margin-bottom: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.price-label {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.price-val {
  font-weight: 700;
  color: var(--primary-light);
  font-size: 0.95rem;
}

.product-actions {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 10px;
}

/* SECTION 4: NĂNG LỰC KHO BÃI & ĐỘI XE GIAO HÀNG */
.section-fleet {
  padding: 90px 0;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.4) 0%, transparent 100%);
}

.fleet-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.fleet-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
}

.fleet-card:hover {
  transform: translateY(-4px);
  border-color: rgba(245, 158, 11, 0.3);
}

.fleet-img-wrap {
  height: 220px;
  overflow: hidden;
}

.fleet-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.fleet-content {
  padding: 24px;
}

.fleet-content h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: #fff;
}

.fleet-content p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* SECTION 5: BẢNG BÁO GIÁ THAM KHẢO 2026 */
.section-price-table {
  padding: 90px 0;
}

.table-responsive-wrapper {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.custom-price-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.custom-price-table th {
  background: rgba(2, 6, 23, 0.85);
  color: var(--primary-light);
  font-family: var(--font-display);
  font-size: 1rem;
  letter-spacing: 0.5px;
  padding: 16px 20px;
  border-bottom: 2px solid rgba(245, 158, 11, 0.3);
}

.custom-price-table td {
  padding: 14px 20px;
  border-bottom: 1px solid var(--border-subtle);
  font-size: 0.92rem;
}

.custom-price-table tr:hover td {
  background: rgba(255, 255, 255, 0.02);
}

.table-cat-row td {
  background: rgba(245, 158, 11, 0.06);
  color: var(--primary-light);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.5px;
}

.price-cell-strong {
  font-weight: 700;
  color: #fff;
}

/* SECTION 6: THƯ VIỆN CÔNG TRÌNH THỰC TẾ & VINH DANH */
.section-gallery {
  padding: 90px 0;
  background: rgba(15, 23, 42, 0.3);
}

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

.gallery-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 260px;
  cursor: pointer;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-sm);
}

.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.gallery-card:hover img {
  transform: scale(1.08);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(2, 6, 23, 0.95) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
  transition: var(--transition);
}

.gallery-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
}

.gallery-sub {
  font-size: 0.8rem;
  color: var(--primary-light);
}

/* SECTION 7: NGUỒN DỮ LIỆU FOLDER CHO AI (AI FOLDER KNOWLEDGE BASE) */
.section-folder-knowledge {
  padding: 90px 0;
  position: relative;
  background: linear-gradient(180deg, transparent 0%, rgba(15, 23, 42, 0.6) 100%);
}

.folder-explorer-card {
  background: var(--bg-card);
  border: 1px solid rgba(56, 189, 248, 0.3);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-lg), 0 0 30px rgba(56, 189, 248, 0.1);
}

.folder-header-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 20px;
  margin-bottom: 24px;
}

.folder-path-display {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
}

.folder-chip {
  background: rgba(56, 189, 248, 0.15);
  color: var(--accent-blue);
  border: 1px solid rgba(56, 189, 248, 0.3);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.85rem;
}

.folder-docs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 20px;
  margin-bottom: 30px;
}

.folder-doc-card {
  background: rgba(2, 6, 23, 0.7);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition);
}

.folder-doc-card:hover {
  border-color: var(--accent-blue);
  transform: translateY(-3px);
}

.doc-badge {
  font-size: 0.7rem;
  background: rgba(245, 158, 11, 0.15);
  color: var(--primary-light);
  padding: 2px 8px;
  border-radius: var(--radius-sm);
  font-weight: 700;
}

.doc-name {
  font-size: 1rem;
  font-weight: 700;
  margin: 8px 0 6px 0;
  color: #fff;
}

.doc-desc {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 14px;
}

.doc-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.75rem;
  color: var(--text-dim);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 10px;
  margin-bottom: 12px;
}

/* Tester Box inside Folder Section */
.folder-tester-box {
  background: rgba(2, 6, 23, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 24px;
}

.tester-title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 8px;
}

.tester-input-row {
  display: flex;
  gap: 12px;
}

.tester-input-row input {
  flex-grow: 1;
}

.search-results-box {
  margin-top: 18px;
  border-top: 1px solid var(--border-subtle);
  padding-top: 14px;
}

.search-header {
  font-size: 0.85rem;
  color: var(--primary-light);
  font-weight: 600;
  margin-bottom: 10px;
}

.search-item {
  background: rgba(255, 255, 255, 0.03);
  border-left: 3px solid var(--primary);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 10px 14px;
  margin-bottom: 10px;
}

.search-item-meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  color: var(--text-dim);
  margin-bottom: 4px;
}

.search-snippet {
  font-size: 0.85rem;
  color: #e2e8f0;
  line-height: 1.45;
}

/* SECTION 8: FAQ & TESTIMONIALS */
.section-faq {
  padding: 90px 0;
}

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

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
}

.faq-question {
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-weight: 700;
  font-size: 1rem;
  color: #fff;
}

.faq-question:hover {
  color: var(--primary-light);
}

.faq-icon-arrow {
  transition: transform 0.3s ease;
  color: var(--primary);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
  background: rgba(2, 6, 23, 0.4);
  padding: 0 24px;
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.6;
}

.faq-item.active .faq-answer {
  max-height: 250px;
  padding: 16px 24px 24px 24px;
}

.faq-item.active .faq-icon-arrow {
  transform: rotate(180deg);
}

/* SECTION 9: LIÊN HỆ & FORM BÁO GIÁ */
.section-contact {
  padding: 90px 0;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.4) 0%, transparent 100%);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 1.3fr;
  gap: 40px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-lg);
}

.contact-info-col h3 {
  font-family: var(--font-display);
  font-size: 1.8rem;
  margin-bottom: 16px;
}

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin: 24px 0;
}

.contact-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.contact-icon-box {
  width: 44px;
  height: 44px;
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid rgba(245, 158, 11, 0.3);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: var(--primary);
  flex-shrink: 0;
}

.contact-detail h5 {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.contact-detail p, .contact-detail a {
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
}

.contact-detail a:hover {
  color: var(--primary-light);
}

.contact-map-preview {
  margin-top: 20px;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  height: 180px;
  background: #020617;
}

/* FOOTER */
.site-footer {
  background: #04060b;
  border-top: 1px solid var(--border-subtle);
  padding: 70px 0 30px 0;
  font-size: 0.92rem;
  color: var(--text-muted);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  margin-bottom: 50px;
}

.footer-col h4 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: #fff;
  margin-bottom: 20px;
  letter-spacing: 0.5px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a:hover {
  color: var(--primary-light);
  transform: translateX(4px);
  display: inline-block;
}

.footer-bottom {
  border-top: 1px solid var(--border-subtle);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.85rem;
}

/* ==========================================================================
   AI CONSULTANT CHAT WIDGET & FAB STYLES (Brand Assistant Skill Compliant)
   ========================================================================== */

.brand-fab-launcher {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 999;
  display: flex;
  align-items: center;
  gap: 14px;
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
  border: 1px solid rgba(245, 158, 11, 0.4);
  padding: 10px 20px 10px 12px;
  border-radius: var(--radius-full);
  box-shadow: 0 10px 25px -3px rgba(0, 0, 0, 0.7), 0 0 20px rgba(245, 158, 11, 0.25);
  cursor: pointer;
  transition: var(--transition);
  backdrop-filter: blur(12px);
}

.brand-fab-launcher:hover {
  transform: translateY(-4px) scale(1.02);
  border-color: var(--primary);
  box-shadow: 0 16px 32px -4px rgba(0, 0, 0, 0.8), 0 0 30px rgba(245, 158, 11, 0.45);
}

.brand-fab-icon-box {
  width: 46px;
  height: 46px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent-orange) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  font-size: 1.4rem;
  color: #000;
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.4);
}

.brand-fab-pulse {
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid var(--primary);
  animation: fabPulse 2s cubic-bezier(0.24, 0, 0.38, 1) infinite;
  opacity: 0.7;
}

@keyframes fabPulse {
  0% { transform: scale(0.95); opacity: 0.8; }
  70% { transform: scale(1.4); opacity: 0; }
  100% { transform: scale(1.4); opacity: 0; }
}

.brand-fab-text {
  display: flex;
  flex-direction: column;
}

.brand-fab-title {
  font-weight: 800;
  font-size: 0.95rem;
  color: #fff;
  line-height: 1.2;
}

.brand-fab-sub {
  font-size: 0.75rem;
  color: var(--primary-light);
}

.brand-fab-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: #34d399;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: var(--radius-full);
}

.brand-pulse-dot {
  width: 7px;
  height: 7px;
  background: #10b981;
  border-radius: 50%;
  box-shadow: 0 0 8px #10b981;
}

/* Chat Window Modal */
.brand-chat-window {
  position: fixed;
  bottom: 96px;
  right: 28px;
  width: 420px;
  max-width: calc(100vw - 36px);
  height: 640px;
  max-height: calc(100vh - 120px);
  background: rgba(11, 17, 32, 0.94);
  backdrop-filter: blur(24px);
  border: 1px solid rgba(245, 158, 11, 0.35);
  border-radius: var(--radius-lg);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.8), 0 0 40px rgba(0, 0, 0, 0.6);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  transform: translateY(20px) scale(0.96);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.brand-chat-window.open {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0) scale(1);
}

.brand-chat-header {
  padding: 16px 20px;
  background: rgba(15, 23, 42, 0.85);
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand-chat-profile {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-avatar {
  position: relative;
  width: 42px;
  height: 42px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent-orange) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: #000;
}

.brand-online-dot {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 11px;
  height: 11px;
  background: #10b981;
  border: 2px solid #0f172a;
  border-radius: 50%;
}

.brand-title {
  font-weight: 800;
  font-size: 1.05rem;
  color: #fff;
  line-height: 1.2;
}

.brand-status-text {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.brand-header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.brand-icon-btn {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-subtle);
  color: #cbd5e1;
  border-radius: var(--radius-sm);
  padding: 6px 10px;
  cursor: pointer;
  font-size: 0.82rem;
  transition: var(--transition);
}

.brand-icon-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
}

.brand-folder-badge-bar {
  background: rgba(2, 6, 23, 0.8);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding: 8px 16px;
  font-size: 0.75rem;
  color: #94a3b8;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand-sync-tag {
  color: #34d399;
  font-weight: 600;
}

.brand-chat-body {
  flex-grow: 1;
  overflow-y: auto;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  scroll-behavior: smooth;
}

.brand-msg {
  display: flex;
  gap: 10px;
  max-width: 88%;
  animation: msgFadeIn 0.25s ease forwards;
}

@keyframes msgFadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

.brand-msg.bot {
  align-self: flex-start;
}

.brand-msg.user {
  align-self: flex-end;
  flex-direction: row-reverse;
}

.brand-msg-avatar {
  width: 32px;
  height: 32px;
  background: rgba(245, 158, 11, 0.2);
  border: 1px solid rgba(245, 158, 11, 0.4);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  flex-shrink: 0;
}

.brand-msg-bubble {
  padding: 12px 16px;
  border-radius: 16px;
  font-size: 0.9rem;
  line-height: 1.55;
  word-break: break-word;
}

.brand-msg.bot .brand-msg-bubble {
  background: rgba(30, 41, 59, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #f1f5f9;
  border-top-left-radius: 4px;
}

.brand-msg.user .brand-msg-bubble {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--accent-orange) 100%);
  color: #fff;
  border-top-right-radius: 4px;
  font-weight: 500;
  box-shadow: 0 4px 14px rgba(234, 88, 12, 0.3);
}

.brand-code {
  background: rgba(0, 0, 0, 0.4);
  padding: 2px 6px;
  border-radius: 4px;
  color: var(--primary-light);
  font-size: 0.82rem;
}

.brand-typing-dots {
  display: inline-flex;
  gap: 4px;
}

.brand-typing-dots span {
  width: 7px;
  height: 7px;
  background: var(--primary-light);
  border-radius: 50%;
  animation: dotBounce 1.2s infinite ease-in-out;
}

.brand-typing-dots span:nth-child(2) { animation-delay: 0.2s; }
.brand-typing-dots span:nth-child(3) { animation-delay: 0.4s; }

@keyframes dotBounce {
  0%, 80%, 100% { transform: translateY(0); }
  40% { transform: translateY(-6px); }
}

.brand-chips-container {
  display: flex;
  gap: 8px;
  padding: 8px 16px;
  overflow-x: auto;
  scrollbar-width: none;
  background: rgba(2, 6, 23, 0.5);
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.brand-chips-container::-webkit-scrollbar {
  display: none;
}

.brand-suggestion-chip {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(245, 158, 11, 0.25);
  color: #cbd5e1;
  font-size: 0.78rem;
  padding: 6px 12px;
  border-radius: var(--radius-full);
  cursor: pointer;
  white-space: nowrap;
  transition: var(--transition);
}

.brand-suggestion-chip:hover {
  background: rgba(245, 158, 11, 0.2);
  color: #fff;
  border-color: var(--primary);
}

.brand-chat-footer {
  padding: 14px 16px 10px 16px;
  background: rgba(15, 23, 42, 0.95);
  border-top: 1px solid var(--border-subtle);
}

.brand-input-form {
  display: flex;
  gap: 10px;
  align-items: flex-end;
  background: rgba(2, 6, 23, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  padding: 8px 12px;
  transition: var(--transition);
}

.brand-input-form:focus-within {
  border-color: var(--primary);
  box-shadow: 0 0 15px var(--primary-glow);
}

.brand-input-field {
  flex-grow: 1;
  background: transparent;
  border: none;
  color: #fff;
  resize: none;
  font-size: 0.9rem;
  line-height: 1.4;
  outline: none;
  max-height: 100px;
}

.brand-send-btn {
  background: var(--primary);
  border: none;
  color: #000;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  flex-shrink: 0;
}

.brand-send-btn:hover {
  background: var(--accent-orange);
  color: #fff;
  transform: scale(1.05);
}

.brand-footer-note {
  font-size: 0.7rem;
  color: var(--text-dim);
  text-align: center;
  margin-top: 8px;
}

/* ==========================================================================
   POPUP MODALS (Product Detail, Doc Viewer, Lightbox)
   ========================================================================== */

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(12px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.modal-window {
  background: var(--bg-surface);
  border: 1px solid rgba(245, 158, 11, 0.3);
  border-radius: var(--radius-lg);
  width: 850px;
  max-width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: var(--shadow-lg), 0 0 50px rgba(0, 0, 0, 0.8);
  animation: modalPop 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes modalPop {
  from { transform: scale(0.92) translateY(20px); }
  to { transform: scale(1) translateY(0); }
}

.modal-close-btn {
  position: absolute;
  top: 16px;
  right: 18px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-subtle);
  color: #fff;
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: var(--transition);
}

.modal-close-btn:hover {
  background: var(--accent-orange);
  color: #fff;
}

/* Product Modal Layout */
.modal-product-layout {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 30px;
  padding: 36px;
}

.modal-image-col {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  height: 380px;
  background: #020617;
}

.modal-main-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.modal-badge-float {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--primary);
  color: #000;
  font-weight: 800;
  font-size: 0.8rem;
  padding: 4px 14px;
  border-radius: var(--radius-full);
}

.modal-cat-tag {
  color: var(--primary-light);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.modal-title {
  font-size: 1.6rem;
  font-weight: 700;
  margin: 6px 0 14px 0;
  line-height: 1.3;
}

.modal-price-banner {
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.3);
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.modal-price-banner .price-value {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--primary-light);
}

.modal-specs-block {
  margin: 20px 0;
  background: rgba(2, 6, 23, 0.5);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
}

.modal-specs-block h4 {
  font-size: 0.9rem;
  color: #fff;
  margin-bottom: 8px;
}

.modal-specs-block ul {
  padding-left: 20px;
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.modal-service-guarantee {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.82rem;
  color: #38bdf8;
  margin-bottom: 24px;
}

.modal-cta-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* Lightbox Modal */
.lightbox-window {
  max-width: 950px;
  background: transparent;
  border: none;
  box-shadow: none;
  text-align: center;
}

.lightbox-img-wrap img {
  max-height: 75vh;
  margin: 0 auto;
  border-radius: var(--radius-md);
  box-shadow: 0 0 50px rgba(0, 0, 0, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.lightbox-caption {
  margin-top: 16px;
  font-size: 1.15rem;
  font-weight: 600;
  color: #fff;
}

/* Doc Viewer Modal */
.doc-viewer-window {
  width: 900px;
  padding: 30px;
}

.doc-viewer-window h3 {
  font-size: 1.3rem;
  color: var(--primary-light);
  margin-bottom: 16px;
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 12px;
}

.doc-viewer-pre {
  background: #020617;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 18px;
  max-height: 500px;
  overflow: auto;
  font-family: monospace;
  font-size: 0.85rem;
  color: #e2e8f0;
  white-space: pre-wrap;
  line-height: 1.5;
}

/* ==========================================================================
   RESPONSIVE MEDIA QUERIES (Mobile-First Polish)
   ========================================================================== */

@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-content {
    align-items: center;
  }
  .hero-btn-row {
    justify-content: center;
  }
  .estimator-card {
    grid-template-columns: 1fr;
  }
  .fleet-grid, .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .top-bar {
    display: none;
  }
  .hero-title {
    font-size: 2.4rem;
  }
  .hero-stats-row {
    grid-template-columns: repeat(2, 1fr);
    width: 100%;
  }
  .product-toolbar {
    flex-direction: column;
    align-items: stretch;
  }
  .product-search-box {
    width: 100%;
  }
  .fleet-grid, .gallery-grid, .faq-grid {
    grid-template-columns: 1fr;
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .modal-product-layout {
    grid-template-columns: 1fr;
  }
  .modal-image-col {
    height: 240px;
  }
  .nav-links {
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    background: #070a12;
    flex-direction: column;
    padding: 30px;
    gap: 20px;
    border-bottom: 1px solid var(--border-subtle);
    transform: translateY(-150%);
    transition: transform 0.3s ease;
  }
  .nav-links.open {
    transform: translateY(0);
  }
  .mobile-menu-btn {
    display: block;
  }
  .brand-chat-window {
    width: 100%;
    right: 0;
    bottom: 0;
    max-width: 100vw;
    height: 100vh;
    max-height: 100vh;
    border-radius: 0;
  }
  .brand-fab-launcher {
    bottom: 16px;
    right: 16px;
    padding: 8px 14px 8px 10px;
  }
  .brand-fab-sub {
    display: none;
  }
}
