/* =========================================
   STYLE.CSS — Vay Vốn Kinh Doanh
   Design: Tối giản, hiện đại, chuyên nghiệp
   ========================================= */

/* === VARIABLES === */
:root {
  --primary:      #F5A623;
  --primary-dark: #E08C00;
  --secondary:    #1A3C5E;
  --sec-light:    #2A5280;
  --white:        #FFFFFF;
  --bg-light:     #F8F9FA;
  --text:         #2D2D2D;
  --text-muted:   #6B7280;
  --border:       #E5E7EB;
  --green:        #10B981;
  --radius:       10px;
  --radius-lg:    16px;
  --shadow:       0 2px 16px rgba(0,0,0,0.08);
  --shadow-md:    0 4px 24px rgba(0,0,0,0.12);
  --transition:   0.2s ease;
  --font:         'Be Vietnam Pro', 'Inter', sans-serif;
}

/* === RESET === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: var(--font); color: var(--text); line-height: 1.65; background: var(--white); -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: var(--font); }
input, select, textarea { font-family: var(--font); }
h1,h2,h3,h4,h5 { font-weight: 700; line-height: 1.2; color: var(--secondary); }

/* === CONTAINER === */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* === SECTION HEADER === */
.section-header {
  text-align: center;
  margin-bottom: 48px;
}
.section-header h2 {
  font-size: 32px;
  font-weight: 700;
  color: var(--secondary);
  margin-bottom: 12px;
}
.section-header p {
  font-size: 16px;
  color: var(--text-muted);
  max-width: 520px;
  margin: 0 auto;
}

/* === BUTTONS === */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary);
  color: var(--secondary);
  font-weight: 700;
  font-size: 15px;
  padding: 13px 28px;
  border-radius: 8px;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  position: relative;
  overflow: hidden;
}
.btn-primary:hover { background: var(--primary-dark); box-shadow: 0 4px 16px rgba(245,166,35,0.4); }
.btn-primary:active { transform: scale(0.96); }

.btn-primary.btn-sm { padding: 9px 20px; font-size: 14px; }
.btn-primary.btn-lg { padding: 15px 32px; font-size: 16px; }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  color: var(--secondary);
  font-weight: 600;
  font-size: 15px;
  padding: 13px 24px;
  border-radius: 8px;
  border: 2px solid var(--border);
  transition: all var(--transition);
}
.btn-ghost:hover { border-color: var(--secondary); background: rgba(26,60,94,0.04); }
.btn-ghost:active { transform: scale(0.96); }
.btn-ghost.btn-lg { padding: 14px 28px; font-size: 16px; }

.btn-phone {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--secondary);
  font-weight: 600;
  font-size: 15px;
  transition: color var(--transition);
}
.btn-phone:hover { color: var(--primary); }

/* Ripple effect */
.btn-primary::after {
  content: '';
  position: absolute;
  width: 0; height: 0;
  background: rgba(255,255,255,0.3);
  border-radius: 50%;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.4s ease, height 0.4s ease, opacity 0.4s ease;
  opacity: 0;
}
.btn-primary:active::after { width: 200px; height: 200px; opacity: 1; }

/* === HEADER === */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--white);
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.header.scrolled {
  border-color: var(--border);
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}
.navbar {
  display: flex;
  align-items: center;
  height: 68px;
  gap: 32px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.logo-text { display: flex; flex-direction: row; align-items: baseline; gap: 5px; line-height: 1; }
.logo-main { font-size: 19px; font-weight: 700; color: var(--secondary); white-space: nowrap; }
.logo-sub  { font-size: 19px; font-weight: 700; color: var(--primary); white-space: nowrap; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
  justify-content: center;
  min-width: 0;
}
.nav-links > li {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 14px;
  line-height: 1;
  font-weight: 500;
  color: var(--text);
  padding: 8px 14px;
  border-radius: 6px;
  white-space: nowrap;
  transition: color var(--transition), background var(--transition);
}
.nav-link:hover { color: var(--primary); background: rgba(245,166,35,0.08); }

.nav-dropdown {
  position: relative;
  flex-shrink: 0;
}
.nav-dropdown-toggle {
  background: transparent;
}
.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  min-width: 230px;
  padding: 8px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  box-shadow: var(--shadow-md);
  transform: translateX(-50%) translateY(8px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity var(--transition), transform var(--transition), visibility var(--transition);
}
.nav-dropdown-menu::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: -12px;
  height: 12px;
}
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.nav-dropdown-menu a {
  display: block;
  padding: 10px 12px;
  border-radius: 7px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  white-space: nowrap;
  transition: color var(--transition), background var(--transition);
}
.nav-dropdown-menu a:hover,
.nav-dropdown-menu a.active-nav {
  color: var(--primary);
  background: rgba(245,166,35,0.08);
}

.nav-cta { display: flex; align-items: center; gap: 16px; flex-shrink: 0; }

.hamburger { display: none; flex-direction: column; gap: 5px; padding: 8px; }
.hamburger span { display: block; width: 22px; height: 2px; background: var(--secondary); border-radius: 2px; transition: all 0.3s ease; }

/* Mobile Nav */
.mobile-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.4);
  z-index: 998;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.mobile-overlay.show { display: block; opacity: 1; }
.mobile-nav {
  display: none;
  position: fixed;
  top: 68px; left: 0; right: 0;
  background: var(--white);
  z-index: 999;
  padding: 20px 24px;
  box-shadow: var(--shadow-md);
  transform: translateY(-10px);
  opacity: 0;
  transition: all 0.3s ease;
}
.mobile-nav.show { display: block; transform: translateY(0); opacity: 1; }
.mobile-nav ul { display: flex; flex-direction: column; gap: 4px; }
.mobile-nav a { display: block; padding: 12px 16px; font-weight: 500; color: var(--text); border-radius: 8px; transition: background var(--transition); }
.mobile-nav a:hover { background: var(--bg-light); color: var(--primary); }

/* === HERO === */
.hero {
  background: linear-gradient(135deg, #EBF4FF 0%, #FAFCFF 55%, #FFF9F0 100%);
  padding: 80px 0 60px;
  overflow: hidden;
}
.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  min-height: 480px;
}
.hero-content { display: flex; flex-direction: column; gap: 24px; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(16,185,129,0.1);
  color: #059669;
  font-size: 13px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 20px;
  width: fit-content;
}
.badge-dot {
  width: 8px; height: 8px;
  background: #10B981;
  border-radius: 50%;
  animation: pulse-dot 2s infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(1.3); }
}

.hero h1 {
  font-size: 46px;
  font-weight: 700;
  color: var(--secondary);
  line-height: 1.15;
}
.text-accent { color: var(--primary); }

.hero-sub {
  font-size: 16px;
  color: var(--text-muted);
  max-width: 480px;
  line-height: 1.7;
}

.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-stats {
  display: flex;
  align-items: center;
  gap: 24px;
  padding-top: 8px;
}
.stat-item { display: flex; flex-direction: column; }
.stat-item strong { font-size: 22px; font-weight: 700; color: var(--secondary); }
.stat-item span { font-size: 12px; color: var(--text-muted); }
.stat-sep { width: 1px; height: 36px; background: var(--border); }

/* Hero Visual */
.hero-visual { display: flex; justify-content: center; align-items: center; }
.hero-img-wrap { position: relative; width: 100%; max-width: 480px; }
.hero-svg { width: 100%; height: auto; }

/* Floating Cards */
.float-card {
  position: absolute;
  background: var(--white);
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.12);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  animation: float 3s ease-in-out infinite;
}
.fc-1 { bottom: 14%; left: -4%; animation-delay: 0s; }
.fc-2 { top: 18%; right: -2%; animation-delay: 1.5s; }
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
.fc-icon {
  width: 34px; height: 34px;
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.fc-icon.green { background: var(--green); }
.fc-icon.orange { background: var(--primary); }
.fc-text strong { display: block; font-size: 13px; font-weight: 700; color: var(--secondary); }
.fc-text span  { font-size: 11px; color: var(--text-muted); }

/* === BENEFITS === */
.benefits {
  background: var(--bg-light);
  padding: 40px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.benefit-card {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--white);
  padding: 20px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
}
.benefit-card:hover { transform: translateY(-4px) scale(1.02); box-shadow: var(--shadow-md); }
.bicon {
  width: 44px; height: 44px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.bicon.orange { background: var(--primary); }
.bicon.blue   { background: var(--secondary); }
.bicon.green  { background: var(--green); }
.bicon.purple { background: #7C3AED; }
.benefit-card h3 { font-size: 15px; font-weight: 700; color: var(--secondary); margin-bottom: 4px; }
.benefit-card p  { font-size: 13px; color: var(--text-muted); }

/* === SERVICES === */
.services { padding: 80px 0; background: var(--white); }

.tab-switcher {
  display: flex;
  gap: 0;
  background: var(--bg-light);
  border-radius: 10px;
  padding: 4px;
  margin-bottom: 40px;
  width: fit-content;
}
.tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-muted);
  transition: all var(--transition);
}
.tab-btn.active {
  background: var(--primary);
  color: var(--secondary);
  box-shadow: 0 2px 8px rgba(245,166,35,0.35);
}
.tab-btn:hover:not(.active) { background: rgba(0,0,0,0.04); color: var(--text); }
.tab-btn:active { transform: scale(0.97); }

/* Tab panel */
.tab-panel { display: none; }
.tab-panel.active {
  display: block;
  animation: fadeSlideIn 0.22s ease;
}
@keyframes fadeSlideIn {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

.service-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.svc-info h3 {
  font-size: 26px;
  color: var(--secondary);
  margin-bottom: 12px;
}
.svc-info > p {
  color: var(--text-muted);
  font-size: 15px;
  margin-bottom: 28px;
  line-height: 1.7;
}

/* Info table (CSS grid, not <table>) */
.info-table { margin-bottom: 28px; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.info-row {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 0;
  border-bottom: 1px solid var(--border);
}
.info-row:last-child { border-bottom: none; }
.info-label {
  padding: 14px 16px;
  background: var(--bg-light);
  font-size: 14px;
  color: var(--text-muted);
  font-weight: 500;
  border-right: 1px solid var(--border);
}
.info-val {
  padding: 14px 16px;
  font-size: 14px;
  color: var(--text);
  line-height: 1.5;
}
.info-val.primary { color: var(--secondary); font-weight: 700; }
.info-val.link-style { color: var(--sec-light); text-decoration: underline; cursor: pointer; }

/* Features */
.svc-features h4 {
  font-size: 18px;
  color: var(--secondary);
  margin-bottom: 20px;
}
.feature-list { display: flex; flex-direction: column; gap: 18px; }
.feature-list li { display: flex; gap: 14px; align-items: flex-start; }
.fcheck {
  width: 26px; height: 26px;
  background: var(--primary);
  color: var(--secondary);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px;
  font-weight: 800;
  flex-shrink: 0;
  margin-top: 2px;
}
.feature-list strong { display: block; font-size: 15px; color: var(--secondary); margin-bottom: 4px; }
.feature-list p { font-size: 13px; color: var(--text-muted); margin: 0; }

/* === COMPARISON TABLE (VIB-style 2-column) === */
.comp-tab-header {
  display: flex;
  gap: 12px;
  margin-bottom: 0;
  flex-wrap: wrap;
}
.comp-tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 8px 8px 0 0;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-muted);
  background: var(--bg-light);
  border: 1.5px solid var(--border);
  border-bottom: none;
  transition: all var(--transition);
  cursor: pointer;
}
.comp-tab-btn.active {
  background: var(--primary);
  color: var(--secondary);
  border-color: var(--primary);
}
.comp-tab-btn:hover:not(.active) { background: #EEF0F2; color: var(--text); }
.comp-tab-btn:active { transform: scale(0.97); }

.comp-table {
  border: 1.5px solid var(--border);
  border-radius: 0 12px 12px 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
  margin-bottom: 40px;
}
.comp-row {
  display: grid;
  grid-template-columns: 180px 1fr 1fr;
  border-bottom: 1px solid var(--border);
}
.comp-row:last-child { border-bottom: none; }
.comp-head-row { background: var(--secondary); }

.comp-label-col {
  padding: 16px 20px;
  background: var(--bg-light);
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
  border-right: 1px solid var(--border);
  display: flex;
  align-items: center;
}
.comp-col-head {
  padding: 18px 24px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  font-weight: 700;
  color: var(--white);
  border-right: 1px solid rgba(255,255,255,0.15);
}
.comp-col-head:last-child { border-right: none; }
.col-head-icon {
  width: 36px; height: 36px;
  background: rgba(255,255,255,0.15);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.col-active  { background: rgba(245,166,35,0.15); }
.col-secondary { background: rgba(255,255,255,0.05); }

.comp-cell {
  padding: 14px 20px;
  font-size: 14px;
  color: var(--text);
  line-height: 1.55;
  border-right: 1px solid var(--border);
}
.comp-cell:last-child { border-right: none; }
.comp-cell strong { color: var(--secondary); }
.comp-highlight { background: rgba(245,166,35,0.06); }
.comp-highlight strong { color: var(--primary-dark); }
.text-muted { color: var(--text-muted); font-size: 13px; }
.link-blue { color: var(--sec-light); text-decoration: underline; font-size: 13px; }
.link-blue:hover { color: var(--primary); }

.comp-cta-row { background: var(--bg-light); }
.comp-cta-row .comp-cell { padding: 20px; }

/* Service highlights (below table) */
.svc-highlights {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  padding: 32px;
  background: var(--bg-light);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
}
.highlight-col h4 { font-size: 16px; color: var(--secondary); margin-bottom: 18px; padding-bottom: 10px; border-bottom: 2px solid var(--primary); display: inline-block; }

.dao-subservices {
  margin-top: 28px;
  padding: 30px;
  background: linear-gradient(135deg, rgba(10,61,98,0.96), rgba(17,122,101,0.92));
  border-radius: var(--radius-lg);
  color: var(--white);
  box-shadow: var(--shadow-md);
}
.dao-subservices-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 22px;
}
.dao-subservices-head span {
  display: inline-flex;
  padding: 7px 12px;
  border: 1px solid rgba(255,255,255,0.28);
  border-radius: 999px;
  color: rgba(255,255,255,0.82);
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}
.dao-subservices-head h3 {
  margin: 0;
  color: var(--white);
  font-size: 24px;
}
.dao-subservice-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.dao-subservice-card {
  min-height: 150px;
  padding: 20px;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 14px;
  background: rgba(255,255,255,0.1);
}
.dao-subservice-card h4 {
  margin: 0 0 10px;
  color: var(--white);
  font-size: 16px;
}
.dao-subservice-card p {
  margin: 0;
  color: rgba(255,255,255,0.78);
  font-size: 13px;
  line-height: 1.55;
}

/* === CALCULATOR === */
.calc-section { padding: 80px 0; background: var(--secondary); }
.calc-section .section-header h2 { color: var(--white); }
.calc-section .section-header p { color: rgba(255,255,255,0.65); }

.calc-box {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 8px 48px rgba(0,0,0,0.2);
}
.calc-tabs {
  display: flex;
  background: var(--bg-light);
  border-bottom: 1px solid var(--border);
}
.ctab {
  padding: 16px 32px;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-muted);
  border-bottom: 3px solid transparent;
  transition: all var(--transition);
  flex: 1;
  text-align: center;
}
.ctab.active { color: var(--primary); border-color: var(--primary); background: var(--white); }
.ctab:hover:not(.active) { background: rgba(0,0,0,0.03); color: var(--text); }
.ctab:active { transform: scale(0.98); }

.calc-panel { display: none; }
.calc-panel.active { display: block; animation: fadeSlideIn 0.2s ease; }

.calc-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}
.calc-inputs {
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 28px;
  border-right: 1px solid var(--border);
}
.inp-group { display: flex; flex-direction: column; gap: 8px; }
.inp-group label { font-size: 14px; font-weight: 600; color: var(--secondary); }
.inp-wrap {
  display: flex;
  align-items: center;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  transition: border-color var(--transition);
}
.inp-wrap:focus-within { border-color: var(--primary); }
.inp-wrap input {
  flex: 1;
  border: none;
  outline: none;
  padding: 11px 14px;
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  background: transparent;
}
.inp-unit {
  padding: 11px 14px;
  font-size: 13px;
  color: var(--text-muted);
  background: var(--bg-light);
  font-weight: 500;
  border-left: 1px solid var(--border);
  white-space: nowrap;
}

/* Range slider */
.slider {
  width: 100%;
  -webkit-appearance: none;
  height: 4px;
  border-radius: 4px;
  background: var(--border);
  outline: none;
  transition: background var(--transition);
}
.slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--primary);
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(245,166,35,0.4);
  transition: transform var(--transition);
}
.slider::-webkit-slider-thumb:hover { transform: scale(1.2); }
.range-row { display: flex; justify-content: space-between; font-size: 12px; color: var(--text-muted); }
.range-row span:nth-child(2) { font-weight: 700; color: var(--primary); }

.btn-calc {
  width: 100%;
  justify-content: center;
  padding: 14px;
  font-size: 16px;
  margin-top: 4px;
}

/* Calc results */
.calc-results {
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: var(--bg-light);
}
.res-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 18px 20px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: transform var(--transition);
}
.res-card:hover { transform: translateY(-2px); }
.res-card span { font-size: 13px; color: var(--text-muted); font-weight: 500; }
.res-card strong { font-size: 22px; font-weight: 700; color: var(--secondary); }
.res-card.accent { background: var(--primary); }
.res-card.accent span { color: rgba(26,60,94,0.7); }
.res-card.accent strong { color: var(--secondary); }
.calc-note { font-size: 12px; color: var(--text-muted); line-height: 1.6; margin: 0; }

/* === PROCESS === */
.process { padding: 80px 0; background: var(--white); }
.steps {
  display: flex;
  align-items: flex-start;
  gap: 0;
  justify-content: center;
}
.step {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 32px 20px;
  border-radius: var(--radius-lg);
  background: var(--bg-light);
  transition: transform var(--transition), box-shadow var(--transition);
  cursor: default;
}
.step:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.step-num {
  font-size: 36px;
  font-weight: 800;
  color: rgba(245,166,35,0.25);
  line-height: 1;
  margin-bottom: 12px;
}
.step-icon {
  width: 60px; height: 60px;
  background: var(--white);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow);
  margin-bottom: 16px;
}
.step h3 { font-size: 16px; color: var(--secondary); margin-bottom: 10px; }
.step p { font-size: 14px; color: var(--text-muted); line-height: 1.6; }
.step-arrow {
  font-size: 24px;
  color: var(--primary);
  padding: 0 8px;
  margin-top: 60px;
  flex-shrink: 0;
}

/* === CONTACT === */
.contact-section { padding: 80px 0; background: var(--bg-light); }
.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 60px;
  align-items: start;
}
.contact-left h2 { font-size: 30px; margin-bottom: 14px; }
.contact-left > p { font-size: 15px; color: var(--text-muted); margin-bottom: 32px; line-height: 1.7; }

.cinfo-list { display: flex; flex-direction: column; gap: 18px; margin-bottom: 32px; }
.cinfo-item { display: flex; align-items: flex-start; gap: 14px; }
.cinfo-icon {
  width: 40px; height: 40px;
  background: var(--primary);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.cinfo-item strong { display: block; font-size: 14px; color: var(--secondary); margin-bottom: 3px; }
.cinfo-item span, .cinfo-item a { font-size: 15px; color: var(--text); }
.cinfo-item a:hover { color: var(--primary); }

.quick-products h4 { font-size: 14px; color: var(--text-muted); margin-bottom: 10px; text-transform: uppercase; letter-spacing: 0.5px; }
.qprod-link {
  display: inline-block;
  padding: 7px 16px;
  background: var(--white);
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  color: var(--secondary);
  border: 1.5px solid var(--border);
  margin-right: 8px;
  margin-bottom: 8px;
  transition: all var(--transition);
}
.qprod-link:hover { border-color: var(--primary); color: var(--primary); }

/* Form */
.contact-right {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-md);
  position: relative;
}
.form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 20px; }
.form-group label { font-size: 14px; font-weight: 600; color: var(--secondary); }
.req { color: var(--primary); }
.form-group input,
.form-group select,
.form-group textarea {
  border: 1.5px solid var(--border);
  border-radius: 8px;
  padding: 12px 16px;
  font-size: 15px;
  color: var(--text);
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
  width: 100%;
  background: var(--white);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(245,166,35,0.15);
}
.form-group input.error { border-color: #EF4444; }
.ferr { font-size: 12px; color: #EF4444; min-height: 16px; }

.btn-submit {
  width: 100%;
  justify-content: center;
  padding: 15px;
  font-size: 16px;
  margin-top: 4px;
}
.spin-icon { animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.form-success {
  display: none;
  position: absolute;
  inset: 0;
  background: var(--white);
  border-radius: var(--radius-lg);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px;
  gap: 16px;
}
.form-success.show { display: flex; animation: fadeSlideIn 0.3s ease; }
.success-circle {
  width: 72px; height: 72px;
  background: var(--green);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 30px;
  color: white;
  animation: popIn 0.4s ease;
}
@keyframes popIn {
  0% { transform: scale(0); opacity: 0; }
  70% { transform: scale(1.15); }
  100% { transform: scale(1); opacity: 1; }
}
.form-success h3 { font-size: 22px; color: var(--secondary); }
.form-success p { font-size: 15px; color: var(--text-muted); line-height: 1.6; }

/* === FAQ === */
.faq-section { padding: 80px 0; background: var(--white); }

.faq-products {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 32px;
  flex-wrap: wrap;
}
.fprod {
  font-size: 14px;
  font-weight: 700;
  color: var(--secondary);
  padding: 6px 16px;
  border-bottom: 2px solid var(--primary);
}
.fprod-link {
  font-size: 14px;
  color: var(--text-muted);
  padding: 6px 16px;
  border-bottom: 2px solid transparent;
  transition: all var(--transition);
}
.fprod-link:hover { color: var(--secondary); border-color: var(--border); }

.faq-list { display: flex; flex-direction: column; gap: 0; margin-bottom: 60px; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item:first-child { border-top: 1px solid var(--border); }
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  text-align: left;
  gap: 16px;
  transition: color var(--transition);
}
.faq-q:hover { color: var(--primary); }
.faq-q:active { transform: none; }
.faq-arr { flex-shrink: 0; transition: transform 0.3s ease; color: var(--text-muted); }
.faq-item.open .faq-arr { transform: rotate(180deg); color: var(--primary); }
.faq-item.open .faq-q { color: var(--primary); }

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
}
.faq-item.open .faq-a { max-height: 300px; padding-bottom: 20px; }
.faq-a p { font-size: 15px; color: var(--text-muted); line-height: 1.75; }

/* FAQ Support section */
.faq-support {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.fsup-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 28px;
  background: var(--bg-light);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  transition: transform var(--transition), box-shadow var(--transition);
}
.fsup-item:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.fsup-icon {
  width: 52px; height: 52px;
  background: white;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow);
  flex-shrink: 0;
}
.fsup-item strong { display: block; font-size: 16px; color: var(--secondary); margin-bottom: 6px; }
.fsup-item p { font-size: 14px; color: var(--text-muted); line-height: 1.6; margin: 0; }

/* === FOOTER === */
.footer {
  background: var(--secondary);
  color: rgba(255,255,255,0.75);
  padding: 60px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-brand .logo { margin-bottom: 16px; }
.logo-white .logo-main { color: var(--white); }
.logo-white .logo-sub { color: var(--primary); }
.footer-brand p { font-size: 14px; line-height: 1.7; color: rgba(255,255,255,0.6); margin-bottom: 20px; }
.footer-socials { display: flex; gap: 10px; }
.social-btn {
  width: 36px; height: 36px;
  border-radius: 8px;
  background: rgba(255,255,255,0.1);
  color: white;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 700;
  transition: background var(--transition), transform var(--transition);
}
.social-btn:hover { background: var(--primary); color: var(--secondary); transform: translateY(-2px); }

.footer-col h4 { font-size: 14px; font-weight: 700; color: var(--white); margin-bottom: 16px; text-transform: uppercase; letter-spacing: 0.5px; }
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a { font-size: 14px; color: rgba(255,255,255,0.6); transition: color var(--transition); }
.footer-col a:hover { color: var(--primary); }

.footer-contact { display: flex; flex-direction: column; gap: 12px; }
.footer-contact li { display: flex; align-items: flex-start; gap: 8px; font-size: 14px; color: rgba(255,255,255,0.65); }
.footer-contact li svg { flex-shrink: 0; margin-top: 2px; color: var(--primary); }
.footer-contact a { color: rgba(255,255,255,0.65); }
.footer-contact a:hover { color: var(--primary); }

.footer-bottom {
  padding: 24px 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-align: center;
}
.footer-bottom p { font-size: 13px; color: rgba(255,255,255,0.45); }
.disclaimer { font-size: 12px; }

/* === FLOATING CONTACT BUTTONS === */
.floating-btns {
  position: fixed;
  bottom: 28px; right: 24px;
  z-index: 1000;
  display: flex; flex-direction: column; gap: 10px;
  align-items: flex-end;
}
.flt-item {
  display: flex; align-items: center; gap: 10px;
}
.flt-label {
  background: rgba(0,0,0,0.72); color: white;
  padding: 5px 12px; border-radius: 6px;
  font-size: 12px; white-space: nowrap;
  backdrop-filter: blur(4px); pointer-events: none;
  opacity: 0; transform: translateX(8px);
  transition: opacity 0.15s ease, transform 0.15s ease;
}
.flt-item:hover .flt-label { opacity: 1; transform: translateX(0); }
.flt-btn {
  width: 52px; height: 52px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 16px rgba(0,0,0,0.2);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  border: none; cursor: pointer; flex-shrink: 0;
  position: relative;
}
.flt-btn strong {
  color: white;
  font-size: 18px;
  font-weight: 800;
  line-height: 1;
}
.flt-btn:hover { transform: scale(1.1); box-shadow: 0 6px 24px rgba(0,0,0,0.28); }
.flt-btn:active { transform: scale(0.94); }
.flt-phone {
  background: var(--green);
  animation: phone-ring 3s ease-in-out infinite;
}
.flt-zalo  { background: #0068FF; }
.flt-chat  { background: var(--primary); }
.flt-badge {
  position: absolute; top: -3px; right: -3px;
  width: 18px; height: 18px; background: #EF4444; color: white;
  font-size: 11px; font-weight: 700; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  border: 2px solid white;
  transition: transform 0.2s, opacity 0.2s;
}
.flt-badge.hide { transform: scale(0); opacity: 0; }
@keyframes phone-ring {
  0%, 88%, 100% { transform: scale(1) rotate(0deg); }
  91%  { transform: scale(1.08) rotate(-10deg); }
  94%  { transform: scale(1.08) rotate(10deg); }
  97%  { transform: scale(1.05) rotate(-4deg); }
}

/* === AI CHAT WIDGET === */
.chat-widget {
  position: fixed;
  bottom: 100px; right: 24px;
  width: 320px; background: white;
  border-radius: 16px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.16);
  z-index: 998;
  display: flex; flex-direction: column;
  transform: scale(0.9) translateY(16px);
  opacity: 0; pointer-events: none;
  transition: transform 0.25s cubic-bezier(0.34,1.56,0.64,1), opacity 0.2s ease;
  transform-origin: bottom right; overflow: hidden;
}
.chat-widget.open { transform: scale(1) translateY(0); opacity: 1; pointer-events: auto; }
.chat-header {
  background: var(--secondary);
  padding: 14px 16px;
  display: flex; align-items: center; gap: 12px;
}
.chat-avatar { position: relative; flex-shrink: 0; }
.chat-av-inner {
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--primary); color: var(--secondary);
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 13px;
}
.chat-online-dot {
  position: absolute; bottom: 0; right: 0;
  width: 10px; height: 10px; background: #22C55E;
  border-radius: 50%; border: 2px solid var(--secondary);
}
.chat-hinfo { flex: 1; }
.chat-hinfo strong { display: block; font-size: 14px; color: white; font-weight: 600; }
.chat-hinfo span { font-size: 12px; color: rgba(255,255,255,0.65); }
.chat-close-btn {
  background: rgba(255,255,255,0.12); border: none;
  width: 28px; height: 28px; border-radius: 50%;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: background 0.15s;
}
.chat-close-btn:hover { background: rgba(255,255,255,0.25); }
.chat-body {
  padding: 16px; overflow-y: auto;
  display: flex; flex-direction: column; gap: 10px;
  min-height: 160px; max-height: 220px;
}
.chat-msg {
  max-width: 88%; padding: 9px 13px; border-radius: 12px;
  font-size: 14px; line-height: 1.55;
  animation: msgIn 0.2s ease;
}
@keyframes msgIn {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}
.chat-msg-bot {
  background: #F3F4F6; color: var(--text-main);
  border-bottom-left-radius: 4px; align-self: flex-start;
}
.chat-msg-user {
  background: var(--secondary); color: white;
  border-bottom-right-radius: 4px; align-self: flex-end;
}
.chat-msg-typing {
  display: flex; gap: 5px; align-items: center;
  padding: 12px 14px; background: #F3F4F6;
  border-radius: 12px 12px 12px 4px; align-self: flex-start;
}
.typing-dot {
  width: 7px; height: 7px; border-radius: 50%; background: #9CA3AF;
  animation: typingBounce 1.2s ease infinite;
}
.typing-dot:nth-child(2) { animation-delay: 0.2s; }
.typing-dot:nth-child(3) { animation-delay: 0.4s; }
@keyframes typingBounce {
  0%, 60%, 100% { transform: translateY(0); }
  30% { transform: translateY(-5px); }
}
.chat-quick {
  padding: 8px 12px;
  display: flex; flex-wrap: wrap; gap: 6px;
  border-top: 1px solid var(--border);
}
.chat-quick.hide { display: none; }
.cq-btn {
  padding: 5px 11px; border-radius: 20px;
  border: 1.5px solid var(--primary);
  background: white; color: var(--primary);
  font-size: 12px; cursor: pointer;
  transition: background 0.15s, color 0.15s;
  font-family: var(--font-main);
}
.cq-btn:hover { background: var(--primary); color: white; }
.chat-footer {
  padding: 10px 12px; display: flex; gap: 8px; align-items: center;
  border-top: 1px solid var(--border);
}
.chat-input {
  flex: 1; padding: 8px 14px; border-radius: 20px;
  border: 1.5px solid var(--border);
  font-size: 13px; font-family: var(--font-main);
  outline: none; transition: border-color 0.2s;
}
.chat-input:focus { border-color: var(--primary); }
.chat-send-btn {
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--primary); border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s, transform 0.15s; flex-shrink: 0;
}
.chat-send-btn:hover { background: var(--primary-dark); }
.chat-send-btn:active { transform: scale(0.88); }
.chat-proactive {
  position: fixed; bottom: 96px; right: 90px;
  background: white; border-radius: 12px 12px 0 12px;
  padding: 12px 14px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.14);
  font-size: 13px; color: var(--text-main); max-width: 190px;
  line-height: 1.5; z-index: 997;
  border: 1px solid var(--border);
  animation: proactiveIn 0.3s ease; cursor: pointer;
}
.chat-proactive::after {
  content: ''; position: absolute;
  bottom: -8px; right: -1px;
  border-left: 10px solid transparent;
  border-top: 10px solid white;
}
@keyframes proactiveIn {
  from { opacity: 0; transform: scale(0.9) translateY(8px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}
.cp-dismiss {
  position: absolute; top: -8px; right: -8px;
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--text-muted); color: white;
  border: none; cursor: pointer; font-size: 14px;
  display: flex; align-items: center; justify-content: center;
  line-height: 1;
}

/* Back to Top */
.back-top {
  position: fixed;
  bottom: 100px;
  right: 24px;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--secondary);
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow);
  z-index: 900;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity var(--transition), transform var(--transition);
  pointer-events: none;
}
.back-top.show { opacity: 1; transform: translateY(0); pointer-events: auto; }
.back-top:hover { background: var(--primary); }
.back-top:active { transform: scale(0.9); }

/* === SCROLL ANIMATIONS === */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  animation: fadeUp 0.6s ease forwards;
}
.fade-up:nth-child(1) { animation-delay: 0.1s; }
.fade-up:nth-child(2) { animation-delay: 0.2s; }
.fade-up:nth-child(3) { animation-delay: 0.3s; }
.fade-up:nth-child(4) { animation-delay: 0.4s; }
.fade-up:nth-child(5) { animation-delay: 0.5s; }
@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}

.anim-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.anim-in.visible { opacity: 1; transform: translateY(0); }

/* === UTILITY === */
.text-primary { color: var(--primary); }
.text-muted { color: var(--text-muted); }
