/* ==============================================================================
   HOA DƯƠNG AGENCY - CORE DESIGN SYSTEM & STYLESHEET
   Màu sắc nhận diện theo Logo: Sắc Đỏ Hoa Dương (#FA3333), Đen Than Chì & Trắng Bạc
   Tương thích Chế độ Tối (Dark Mode) và Sáng (Light Mode)
   ============================================================================== */

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

/* --- 1. CSS VARIABLES & TOKENS --- */
:root {
  /* Brand Colors */
  --primary: #FA3333;
  --primary-hover: #E02424;
  --primary-light: rgba(250, 51, 51, 0.1);
  --primary-glow: rgba(250, 51, 51, 0.25);
  --accent: #FF6B35;
  --success: #10B981;
  --warning: #F59E0B;
  --info: #3B82F6;

  /* Typography */
  --font-heading: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-body: 'Be Vietnam Pro', system-ui, -apple-system, sans-serif;

  /* Transition Speeds */
  --transition-fast: 0.15s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.4s cubic-bezier(0.4, 0, 0.2, 1);

  /* Radius & Shadows */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --radius-full: 9999px;
  --container-max: 1240px;
}

/* --- THEME: LIGHT MODE (Mặc định hoặc chọn sáng) --- */
[data-theme="light"] {
  --bg-body: #F8FAFC;
  --bg-surface: #FFFFFF;
  --bg-surface-elevated: #F1F5F9;
  --bg-card: #FFFFFF;
  --bg-glass: rgba(255, 255, 255, 0.85);

  --text-main: #0F172A;
  --text-muted: #64748B;
  --text-sub: #475569;
  --text-inverse: #FFFFFF;

  --border-color: #E2E8F0;
  --border-light: #F1F5F9;
  --border-focus: #FA3333;

  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 16px -2px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 12px 32px -4px rgba(15, 23, 42, 0.12);
  --shadow-glow: 0 8px 30px rgba(250, 51, 51, 0.2);

  --header-bg: rgba(255, 255, 255, 0.9);
  --footer-bg: #0F172A;
  --footer-text: #E2E8F0;
  --footer-muted: #94A3B8;
  --footer-border: #1E293B;
}

/* --- THEME: DARK MODE (Nền đen huyền bí, hiện đại) --- */
[data-theme="dark"] {
  --bg-body: #080B11;
  --bg-surface: #0F1420;
  --bg-surface-elevated: #161D2E;
  --bg-card: #121826;
  --bg-glass: rgba(15, 20, 32, 0.85);

  --text-main: #F8FAFC;
  --text-muted: #94A3B8;
  --text-sub: #CBD5E1;
  --text-inverse: #0F172A;

  --border-color: #1E283D;
  --border-light: #182030;
  --border-focus: #FA3333;

  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 4px 20px -2px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 16px 40px -4px rgba(0, 0, 0, 0.7);
  --shadow-glow: 0 8px 32px rgba(250, 51, 51, 0.35);

  --header-bg: rgba(8, 11, 17, 0.9);
  --footer-bg: #05070B;
  --footer-text: #E2E8F0;
  --footer-muted: #64748B;
  --footer-border: #182030;
}

/* --- 2. GLOBAL RESET & BASE STYLES --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-body);
  color: var(--text-main);
  line-height: 1.65;
  transition: background-color var(--transition-normal), color var(--transition-normal);
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--text-main);
  line-height: 1.25;
  font-weight: 700;
  text-wrap: balance;
}

p {
  color: var(--text-sub);
  margin-bottom: 1rem;
}

p:last-child {
  margin-bottom: 0;
}

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

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

ul, ol {
  list-style: none;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: 1rem;
  color: inherit;
  border: none;
  outline: none;
}

button {
  cursor: pointer;
  background: none;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

/* --- 3. UTILITY CLASSES --- */
.text-primary { color: var(--primary) !important; }
.text-muted { color: var(--text-muted) !important; }
.text-center { text-align: center !important; }
.font-bold { font-weight: 700 !important; }
.gradient-text {
  background: linear-gradient(135deg, var(--primary) 0%, #FF6B35 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.825rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.badge-primary {
  background: var(--primary-light);
  color: var(--primary);
  border: 1px solid rgba(250, 51, 51, 0.2);
}

.badge-success {
  background: rgba(16, 185, 129, 0.1);
  color: var(--success);
  border: 1px solid rgba(16, 185, 129, 0.2);
}

/* Section Header Component */
.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 50px auto;
}

.section-header .badge {
  margin-bottom: 16px;
}

.section-header h2 {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

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

/* --- 4. BUTTONS --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 28px;
  border-radius: var(--radius-md);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.975rem;
  line-height: 1;
  transition: all var(--transition-normal);
  white-space: nowrap;
  user-select: none;
}

.btn-primary {
  background: var(--primary);
  color: #FFFFFF;
  box-shadow: 0 4px 16px rgba(250, 51, 51, 0.35);
}

.btn-primary:hover {
  background: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(250, 51, 51, 0.45);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-outline {
  border: 1.5px solid var(--border-color);
  color: var(--text-main);
  background: transparent;
}

.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--primary-light);
  transform: translateY(-2px);
}

.btn-white {
  background: #FFFFFF;
  color: #0F172A;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
}

.btn-white:hover {
  background: #F8FAFC;
  transform: translateY(-2px);
}

.btn-sm {
  padding: 9px 18px;
  font-size: 0.875rem;
}

.btn-lg {
  padding: 16px 36px;
  font-size: 1.05rem;
}

.btn-full {
  width: 100%;
}

/* --- 5. HEADER & NAVIGATION --- */
.site-header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: var(--header-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-color);
  transition: all var(--transition-normal);
}

.site-header.scrolled {
  box-shadow: var(--shadow-md);
}

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

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

.brand-logo img {
  height: 44px;
  width: auto;
  object-fit: contain;
  transition: opacity var(--transition-fast);
}

/* Điều khiển hiển thị logo trắng/đen theo theme */
[data-theme="dark"] .logo-black {
  display: none !important;
}
[data-theme="dark"] .logo-white {
  display: block !important;
}
[data-theme="light"] .logo-white {
  display: none !important;
}
[data-theme="light"] .logo-black {
  display: block !important;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-item {
  position: relative;
}

.nav-link {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-sub);
  padding: 10px 0;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: color var(--transition-fast);
}

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

/* Dropdown Menu */
.has-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  width: 260px;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 10px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: all var(--transition-fast);
  z-index: 100;
}

.dropdown-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 18px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-sub);
  transition: background var(--transition-fast), color var(--transition-fast);
}

.dropdown-link:hover {
  background: var(--primary-light);
  color: var(--primary);
}

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

/* Theme Toggle Button */
.theme-toggle-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: var(--radius-full);
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  transition: all var(--transition-fast);
}

.theme-toggle-btn:hover {
  background: var(--primary-light);
  color: var(--primary);
  border-color: var(--primary);
}

.mobile-menu-btn {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--text-main);
}

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

.hero-background-glow {
  position: absolute;
  top: -150px;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 600px;
  background: radial-gradient(circle, rgba(250, 51, 51, 0.18) 0%, rgba(139, 92, 246, 0.08) 45%, transparent 75%);
  filter: blur(90px);
  pointer-events: none;
  z-index: 0;
}

/* Hero Ambient Animated SVG Network */
.hero-bg-network-wrap {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}

.hero-bg-network {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.85;
}

.hero-container {
  position: relative;
  z-index: 2;
  max-width: 1440px;
  margin: 0 auto;
}

.hero-center-box {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 480px;
  margin-bottom: 20px;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 820px;
  margin: 0 auto;
}

.hero-content .badge {
  margin-bottom: 24px;
}

.hero-title {
  font-size: clamp(2.5rem, 5vw, 4.15rem);
  font-weight: 800;
  letter-spacing: -1.5px;
  line-height: 1.15;
  margin-bottom: 24px;
}

.hero-subtitle {
  font-size: clamp(1.05rem, 1.8vw, 1.28rem);
  color: var(--text-muted);
  max-width: 700px;
  margin: 0 auto 36px auto;
  line-height: 1.65;
}

.hero-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 30px;
}

/* Flanking Animated SVG Badges */
.hero-flank-badge {
  width: 290px;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 18px 20px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4), 0 0 30px rgba(250, 51, 51, 0.08);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  z-index: 5;
  transition: transform var(--transition-base), border-color var(--transition-base);
}

.hero-flank-badge:hover {
  border-color: var(--primary);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5), 0 0 40px rgba(250, 51, 51, 0.2);
}

.flank-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.flank-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 8px var(--primary);
}

.flank-status-dot.green {
  background: var(--success);
  box-shadow: 0 0 8px var(--success);
}

.flank-header-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-main);
  margin-left: 8px;
  margin-right: auto;
}

.flank-badge-tag {
  font-size: 0.72rem;
  padding: 3px 8px;
}

.flank-svg-chart-wrap,
.flank-svg-funnel-wrap {
  width: 100%;
  height: 110px;
  margin-bottom: 12px;
}

.flank-chart-svg,
.flank-funnel-svg {
  width: 100%;
  height: 100%;
  display: block;
}

.flank-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 10px;
  border-top: 1px solid var(--border-color);
}

.flank-metric {
  display: flex;
  flex-direction: column;
}

.flank-metric-num {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-main);
}

.flank-metric-lbl {
  font-size: 0.72rem;
  color: var(--text-muted);
}

.flank-divider {
  width: 1px;
  height: 24px;
  background: var(--border-color);
}

/* Floating 3D Satellites */
.hero-satellite {
  position: absolute;
  width: 54px;
  height: 54px;
  border-radius: var(--radius-lg);
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 4;
}

.hero-satellite svg {
  width: 28px;
  height: 28px;
}

@media (min-width: 1200px) {
  .hero-flank-badge.flank-left {
    position: absolute;
    left: 10px;
    top: calc(50% - 110px);
  }
  .hero-flank-badge.flank-right {
    position: absolute;
    right: 10px;
    top: calc(50% - 110px);
  }
  .sat-google {
    top: 6%;
    left: 20%;
  }
  .sat-meta {
    top: 6%;
    right: 20%;
  }
  .sat-tiktok {
    bottom: 8%;
    left: 18%;
  }
  .sat-target {
    bottom: 8%;
    right: 18%;
  }
}

@media (max-width: 1199px) and (min-width: 992px) {
  .hero-flank-badge.flank-left {
    position: absolute;
    left: -15px;
    top: calc(50% - 95px);
    transform: scale(0.85);
    transform-origin: left center;
  }
  .hero-flank-badge.flank-right {
    position: absolute;
    right: -15px;
    top: calc(50% - 95px);
    transform: scale(0.85);
    transform-origin: right center;
  }
  .hero-satellite {
    display: none;
  }
}

@media (max-width: 991px) {
  .hero-flank-badge,
  .hero-satellite {
    display: none;
  }
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding-top: 40px;
  border-top: 1px solid var(--border-color);
  max-width: 840px;
  margin: 0 auto;
}

.metric-item {
  text-align: center;
}

.metric-value {
  font-family: var(--font-heading);
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.1;
  margin-bottom: 6px;
}

.metric-label {
  font-size: 0.875rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* Hero Showcase Mockup */
.hero-mockup-wrapper {
  margin-top: 60px;
  position: relative;
  max-width: 1040px;
  margin-left: auto;
  margin-right: auto;
}

.hero-mockup-card {
  position: relative;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 12px;
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.4), 0 0 40px rgba(250, 51, 51, 0.15);
  overflow: hidden;
}

.hero-mockup-img {
  width: 100%;
  height: auto;
  max-height: 480px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  display: block;
}

.hero-float-badge {
  position: absolute;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 14px 20px;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 12px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 10;
}

.hero-float-badge.badge-left {
  top: 15%;
  left: -20px;
}

.hero-float-badge.badge-right {
  bottom: 20%;
  right: -20px;
}

.float-badge-icon {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-md);
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
}

.float-badge-text h5 {
  font-size: 0.95rem;
  margin-bottom: 2px;
}

.float-badge-text span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Card Image Header (Dùng cho Services & Case Studies) */
.card-img-wrapper {
  position: relative;
  height: 200px;
  overflow: hidden;
  border-radius: var(--radius-md);
  margin-bottom: 22px;
}

.card-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.service-card:hover .card-img-wrapper img,
.case-card:hover .card-img-wrapper img {
  transform: scale(1.06);
}

.card-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(8, 11, 17, 0.75) 100%);
}

.card-img-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
}

/* --- 7. PARTNERS BANNER --- */
.partners-section {
  padding: 48px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: #080C14; /* Deep sleek tech backdrop ensuring 100% crystal clear contrast */
}

.partners-title {
  text-align: center;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #94A3B8;
  font-weight: 700;
  margin-bottom: 28px;
}

.partners-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}

.partner-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.partner-badge:hover {
  transform: translateY(-5px) scale(1.05);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.35);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4), 0 0 25px rgba(250, 51, 51, 0.2);
}

.partner-badge svg,
.partner-badge img {
  height: 48px;
  width: auto;
  max-width: 240px;
  display: block;
}

/* --- 8. SERVICES SECTION --- */
.services-section {
  padding: 100px 0;
}

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

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.service-card:hover {
  transform: translateY(-8px);
  border-color: rgba(250, 51, 51, 0.4);
  box-shadow: var(--shadow-lg);
}

.service-card:hover::before {
  opacity: 1;
}

.service-icon-box {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-md);
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.service-icon-box svg {
  width: 30px;
  height: 30px;
}

.service-card h3 {
  font-size: 1.35rem;
  margin-bottom: 12px;
}

.service-card p {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.service-features-list {
  margin-bottom: 28px;
  flex-grow: 1;
}

.service-features-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--text-sub);
  margin-bottom: 10px;
}

.service-features-list li svg {
  width: 18px;
  height: 18px;
  color: var(--primary);
  flex-shrink: 0;
  margin-top: 3px;
}

.service-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 20px;
  border-top: 1px solid var(--border-color);
}

.service-price-tag {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--primary);
}

/* --- 9. WORKFLOW TIMELINE --- */
.workflow-section {
  padding: 100px 0;
  background: var(--bg-surface);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

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

.workflow-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  position: relative;
}

.workflow-step-num {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary);
  opacity: 0.85;
  margin-bottom: 12px;
  line-height: 1;
}

.workflow-card h3 {
  font-size: 1.25rem;
  margin-bottom: 10px;
}

.workflow-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* --- 10. CASE STUDIES & RESULTS --- */
.case-studies-section {
  padding: 100px 0;
}

.cases-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.case-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  transition: transform var(--transition-normal), border-color var(--transition-normal);
}

.case-card:hover {
  transform: translateY(-4px);
  border-color: var(--primary);
}

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

.case-industry {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--primary);
}

.case-card h3 {
  font-size: 1.4rem;
  margin-bottom: 14px;
}

.case-stats-box {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  background: var(--bg-surface-elevated);
  padding: 18px;
  border-radius: var(--radius-md);
  margin: 24px 0;
  text-align: center;
}

.case-stat-num {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1.1;
}

.case-stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 4px;
}

/* --- 11. TESTIMONIALS --- */
.testimonials-section {
  padding: 100px 0;
  background: var(--bg-surface);
  border-top: 1px solid var(--border-color);
}

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

.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.testimonial-stars {
  color: #FBBF24;
  margin-bottom: 16px;
  display: flex;
  gap: 4px;
}

.testimonial-quote {
  font-size: 0.95rem;
  color: var(--text-sub);
  font-style: italic;
  margin-bottom: 24px;
  line-height: 1.6;
}

.client-profile {
  display: flex;
  align-items: center;
  gap: 14px;
}

.client-avatar {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full);
  background: var(--primary);
  color: #FFFFFF;
  font-family: var(--font-heading);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  overflow: hidden;
  flex-shrink: 0;
}

.client-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.client-info h4 {
  font-size: 1rem;
  margin-bottom: 2px;
}

.client-info span {
  font-size: 0.825rem;
  color: var(--text-muted);
}

/* --- 12. FAQ ACCORDION --- */
.faq-section {
  padding: 100px 0;
}

.faq-wrapper {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid var(--border-color);
  background: var(--bg-card);
  border-radius: var(--radius-md);
  margin-bottom: 16px;
  overflow: hidden;
  transition: border-color var(--transition-fast);
}

.faq-item.active {
  border-color: var(--primary);
}

.faq-question {
  width: 100%;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--text-main);
  text-align: left;
}

.faq-question svg {
  width: 20px;
  height: 20px;
  transition: transform var(--transition-fast);
  color: var(--text-muted);
}

.faq-item.active .faq-question svg {
  transform: rotate(180deg);
  color: var(--primary);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-slow);
}

.faq-answer-inner {
  padding: 0 24px 22px 24px;
  font-size: 0.95rem;
  color: var(--text-sub);
  line-height: 1.6;
}

/* --- 13. CTA BANNER --- */
.cta-banner-section {
  padding: 80px 0;
}

.cta-banner {
  background: linear-gradient(135deg, #0F1420 0%, #1A2234 100%);
  border: 1px solid rgba(250, 51, 51, 0.3);
  border-radius: var(--radius-xl);
  padding: 60px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(250, 51, 51, 0.25) 0%, transparent 70%);
  pointer-events: none;
}

.cta-banner h2 {
  color: #FFFFFF;
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  margin-bottom: 16px;
}

.cta-banner p {
  color: #CBD5E1;
  font-size: 1.15rem;
  max-width: 680px;
  margin: 0 auto 36px auto;
}

.cta-banner .btn-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* --- 14. FOOTER --- */
.site-footer {
  background: var(--footer-bg);
  color: var(--footer-text);
  padding: 80px 0 30px 0;
  border-top: 1px solid var(--footer-border);
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
  margin-bottom: 60px;
}

.footer-col-brand .footer-logo img {
  height: 44px;
  margin-bottom: 20px;
}

.footer-company-desc {
  font-size: 0.9rem;
  color: var(--footer-muted);
  line-height: 1.6;
  margin-bottom: 20px;
}

.footer-legal-badge {
  display: inline-block;
  font-size: 0.85rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  color: #CBD5E1;
}

.footer-col h4 {
  color: #FFFFFF;
  font-size: 1.1rem;
  margin-bottom: 22px;
  position: relative;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 32px;
  height: 2px;
  background: var(--primary);
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  font-size: 0.9rem;
  color: var(--footer-muted);
  transition: color var(--transition-fast), padding-left var(--transition-fast);
  display: inline-block;
}

.footer-links a:hover {
  color: #FFFFFF;
  padding-left: 6px;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.9rem;
  color: var(--footer-muted);
  margin-bottom: 14px;
}

.footer-contact-item svg {
  width: 18px;
  height: 18px;
  color: var(--primary);
  flex-shrink: 0;
  margin-top: 3px;
}

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

.footer-bottom-links {
  display: flex;
  gap: 20px;
}

.footer-bottom-links a:hover {
  color: #FFFFFF;
}

/* --- 15. FLOATING QUICK CONTACT BAR --- */
.floating-contact-bar {
  position: fixed;
  bottom: 24px;
  right: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 998;
}

.floating-btn {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.25);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.floating-btn:hover {
  transform: scale(1.1);
}

.floating-btn.btn-call {
  background: var(--primary);
  box-shadow: 0 4px 18px rgba(250, 51, 51, 0.4);
}

.floating-btn.btn-zalo {
  background: #0068FF;
}

.floating-btn.btn-top {
  background: var(--bg-surface-elevated);
  color: var(--text-main);
  border: 1px solid var(--border-color);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-fast), visibility var(--transition-fast);
}

.floating-btn.btn-top.visible {
  opacity: 1;
  visibility: visible;
}

/* --- 16. RESPONSIVE BREAKPOINTS --- */
@media (max-width: 1024px) {
  .services-grid,
  .workflow-grid,
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    background: var(--bg-surface);
    border-bottom: 1px solid var(--border-color);
    flex-direction: column;
    align-items: flex-start;
    padding: 24px 20px;
    gap: 16px;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: all var(--transition-normal);
  }

  .nav-menu.open {
    max-height: 600px;
    opacity: 1;
    box-shadow: var(--shadow-lg);
  }

  .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    padding-left: 16px;
    width: 100%;
  }

  .mobile-menu-btn {
    display: flex;
  }

  .services-grid,
  .workflow-grid,
  .cases-grid,
  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .hero-metrics {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

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

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero-metrics {
    grid-template-columns: 1fr;
  }
}
