/* ==========================================================================
   AACC DESIGN SYSTEM & STYLESHEET
   Công ty TNHH Hãng Kiểm toán và Tư vấn Châu Á
   Concept: The Line of Trust - Chuẩn mực, Thể chế, Minh bạch, Vững chắc
   ========================================================================== */

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

:root {
  /* Brand Palettes */
  --aacc-blue-900: #0b3158;
  --aacc-blue-800: #105aaa;
  --aacc-blue-600: #167fbd;
  --aacc-cyan-500: #1699d6;
  --aacc-blue-100: #e7f4fa;
  --aacc-red-600: #be1e2d;
  --aacc-red-700: #9e1522;
  --aacc-red-50: #fdf2f2;
  
  /* Inks & Surfaces */
  --ink-900: #231f20;
  --ink-700: #43484e;
  --ink-500: #6b737b;
  --line: #d7e0e7;
  --line-light: #eaf0f5;
  --surface: #ffffff;
  --surface-muted: #f5f8fa;
  --surface-subtle: #edf3f7;

  /* Elevation */
  --shadow-sm: 0 1px 3px rgba(11, 49, 88, 0.06);
  --shadow-md: 0 4px 16px rgba(11, 49, 88, 0.08);
  --shadow-lg: 0 12px 32px rgba(11, 49, 88, 0.12);

  /* Spacing Tokens */
  --space-2: 4px;
  --space-3: 8px;
  --space-4: 12px;
  --space-5: 16px;
  --space-6: 24px;
  --space-7: 32px;
  --space-8: 48px;
  --space-9: 64px;
  --space-10: 96px;
  --space-11: 120px;

  /* Typography */
  --font-main: 'Be Vietnam Pro', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  
  /* Containers */
  --container-max: 1280px;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
  max-width: 100%;
}

body {
  font-family: var(--font-main);
  color: var(--ink-900);
  background-color: var(--surface);
  line-height: 1.7;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  max-width: 100%;
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main#main-content {
  flex: 1 0 auto;
}

/* Skip link for Accessibility */
.skip-link {
  position: absolute;
  top: -100px;
  left: 20px;
  background: var(--aacc-blue-900);
  color: #fff;
  padding: 12px 20px;
  z-index: 9999;
  font-weight: 600;
  border-radius: var(--radius-sm);
  transition: top 0.2s ease;
  text-decoration: none;
}
.skip-link:focus {
  top: 15px;
}

/* Typography Defaults */
h1, h2, h3, h4, h5, h6 {
  color: var(--ink-900);
  line-height: 1.25;
  font-weight: 700;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2rem, 3.8vw, 2.75rem); }
h2 { font-size: clamp(1.6rem, 2.8vw, 2.125rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.45rem); font-weight: 600; }
h4 { font-size: 1.15rem; font-weight: 600; }

p {
  color: var(--ink-700);
  margin-bottom: 1rem;
}
p:last-child {
  margin-bottom: 0;
}

.body-large {
  font-size: 1.125rem;
  line-height: 1.75;
  color: var(--ink-700);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--aacc-red-600);
  margin-bottom: 12px;
}

.eyebrow::before {
  content: '';
  display: inline-block;
  width: 14px;
  height: 2.5px;
  background: var(--aacc-red-600);
}

.eyebrow-navy {
  color: var(--aacc-blue-600);
}
.eyebrow-navy::before {
  background: var(--aacc-blue-600);
}

a {
  color: var(--aacc-blue-800);
  text-decoration: none;
  transition: color 0.18s ease;
}
a:hover {
  color: var(--aacc-blue-900);
}

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

/* Layout Container */
.container {
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 32px;
  padding-right: 32px;
  width: 100%;
}

@media (max-width: 1024px) {
  .container {
    padding-left: 24px;
    padding-right: 24px;
  }
}
@media (max-width: 640px) {
  .container {
    padding-left: 20px;
    padding-right: 20px;
  }
}

.section {
  padding-top: clamp(64px, 7vw, 110px);
  padding-bottom: clamp(64px, 7vw, 110px);
  position: relative;
}

.section-muted {
  background-color: var(--surface-muted);
}

.section-blue {
  background-color: var(--aacc-blue-900);
  color: #ffffff;
}
.section-blue h2, .section-blue h3, .section-blue h4 {
  color: #ffffff;
}
.section-blue p {
  color: #d1dfed;
}

/* ==========================================================================
   RESPONSIVE GRID UTILITIES
   ========================================================================== */
.grid-2col-intro {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.grid-sidebar-layout {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 48px;
  align-items: start;
}

.grid-contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
  align-items: start;
}

.grid-2col-equal {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.grid-2col-equal-center {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.grid-options-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 10px;
}

@media (max-width: 991px) {
  .grid-2col-intro,
  .grid-sidebar-layout,
  .grid-contact-layout,
  .grid-2col-equal,
  .grid-2col-equal-center {
    grid-template-columns: 1fr !important;
    gap: 32px !important;
  }
}

@media (max-width: 639px) {
  .grid-options-2col {
    grid-template-columns: 1fr !important;
    gap: 10px !important;
  }
}

/* ==========================================================================
   HEADER & NAVIGATION
   ========================================================================== */
.site-header {
  width: 100%;
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--surface);
  box-shadow: 0 2px 10px rgba(11, 49, 88, 0.05);
  transition: box-shadow 0.25s ease;
}
.site-header.scrolled {
  box-shadow: 0 4px 20px rgba(11, 49, 88, 0.12);
}

/* Utility Bar (Top tier) */
.utility-bar {
  background-color: var(--aacc-blue-900);
  color: #d8e5f2;
  font-size: 0.8125rem;
  padding: 9px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  line-height: 1.4;
}
.utility-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: nowrap;
}
.utility-left {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #ffffff;
  flex-shrink: 1;
  min-width: 0;
}
.utility-badge {
  background: rgba(255, 255, 255, 0.1);
  padding: 4px 12px;
  border-radius: 4px;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: #e2effa;
  border: 1px solid rgba(255, 255, 255, 0.18);
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.utility-right {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-shrink: 0;
  white-space: nowrap;
}
.utility-right a {
  color: #d8e5f2;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  transition: color 0.15s ease;
}
.utility-right a:hover {
  color: #ffffff;
  text-decoration: underline;
}
.lang-switcher {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-left: 1px solid rgba(255, 255, 255, 0.25);
  padding-left: 12px;
  font-weight: 600;
  white-space: nowrap;
}
.lang-switcher .active {
  color: #ffffff;
}
.lang-switcher .inactive {
  color: rgba(255, 255, 255, 0.5);
  cursor: pointer;
}

/* Main Nav (Bottom tier) */
.main-nav-bar {
  background: var(--surface);
  padding: 14px 0;
  position: relative;
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand-logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}
.brand-logo img, .brand-logo svg {
  height: 54px;
  width: auto;
}

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

.nav-item {
  position: relative;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 10px 14px;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--ink-900);
  border-radius: var(--radius-sm);
  transition: all 0.18s ease;
}
.nav-link:hover, .nav-item.current .nav-link {
  color: var(--aacc-blue-800);
  background-color: var(--aacc-blue-100);
}
.nav-item.current .nav-link {
  border-bottom: 2px solid var(--aacc-blue-800);
}

.dropdown-arrow {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translate(-2px, -2px);
  transition: transform 0.2s ease;
}
.nav-item:hover .dropdown-arrow,
.nav-item:focus-within .dropdown-arrow {
  transform: rotate(-135deg) translate(-1px, -1px);
}

/* Dropdown Menu */
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 280px;
  background: #ffffff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
  border-radius: var(--radius-md);
  padding: 8px 0;
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 100;
}
.nav-item:hover .dropdown-menu,
.nav-item:focus-within .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.dropdown-menu li a {
  display: block;
  padding: 10px 18px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--ink-900);
  border-left: 3px solid transparent;
  transition: all 0.15s ease;
}
.dropdown-menu li a:hover,
.dropdown-menu li a:focus {
  background-color: var(--surface-muted);
  color: var(--aacc-blue-800);
  border-left-color: var(--aacc-red-600);
  padding-left: 22px;
}

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

/* Mobile Toggle (Hamburger Button) */
.mobile-toggle {
  display: none;
  background: var(--surface-muted);
  border: 1px solid var(--line);
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  padding: 0;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  transition: all 0.2s ease;
  position: relative;
  z-index: 1001;
}
.mobile-toggle:hover, .mobile-toggle:focus {
  background: var(--surface-subtle);
  border-color: var(--aacc-blue-600);
}
.mobile-toggle .bar {
  display: block;
  width: 22px;
  height: 2px;
  background-color: var(--aacc-blue-900);
  border-radius: 2px;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.mobile-toggle.active .bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.mobile-toggle.active .bar:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.mobile-toggle.active .bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Drawer Navigation */
.mobile-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 86%;
  max-width: 360px;
  height: 100vh;
  height: 100dvh;
  background: #ffffff;
  box-shadow: -8px 0 32px rgba(11, 49, 88, 0.18);
  z-index: 2000;
  display: flex;
  flex-direction: column;
  transition: right 0.32s cubic-bezier(0.16, 1, 0.3, 1);
  overflow-y: auto;
  overscroll-behavior: contain;
}
.mobile-drawer.open {
  right: 0;
}
.drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(11, 49, 88, 0.65);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  z-index: 1999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s ease;
}
.drawer-backdrop.open {
  opacity: 1;
  visibility: visible;
}
.drawer-header {
  padding: 18px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--line);
  background: #ffffff;
  position: sticky;
  top: 0;
  z-index: 10;
}
.drawer-header .brand-logo img {
  height: 38px;
  width: auto;
  display: block;
}
.drawer-close {
  background: var(--surface-muted);
  border: 1px solid var(--line);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  color: var(--ink-700);
  cursor: pointer;
  transition: all 0.2s ease;
  line-height: 1;
}
.drawer-close:hover {
  background: var(--aacc-red-50);
  color: var(--aacc-red-600);
  border-color: var(--aacc-red-600);
}
.drawer-content {
  padding: 16px 16px 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.mobile-nav {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.mobile-nav > li {
  border-bottom: 1px solid var(--line-light);
  padding-bottom: 6px;
  margin-bottom: 6px;
}
.mobile-nav > li:last-child {
  border-bottom: none;
}
.mobile-nav-link {
  display: block;
  padding: 11px 14px;
  font-weight: 600;
  color: var(--ink-900);
  font-size: 1rem;
  text-decoration: none;
  border-radius: var(--radius-sm);
  transition: all 0.18s ease;
}
.mobile-nav-link:hover {
  background: var(--surface-muted);
  color: var(--aacc-blue-800);
  padding-left: 18px;
}
.mobile-nav-link.current {
  background: var(--aacc-blue-100);
  color: var(--aacc-blue-900);
  font-weight: 700;
  border-left: 3px solid var(--aacc-red-600);
}
.mobile-submenu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.mobile-submenu-header .mobile-nav-link {
  flex: 1;
}
.mobile-submenu-toggle {
  background: var(--surface-muted);
  border: 1px solid var(--line);
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--aacc-blue-900);
  transition: all 0.2s ease;
  margin-left: 8px;
  flex-shrink: 0;
}
.mobile-submenu-toggle:hover {
  background: var(--surface-subtle);
  border-color: var(--aacc-blue-600);
}
.mobile-submenu-toggle.active {
  background: var(--aacc-blue-900);
  color: #ffffff;
  border-color: var(--aacc-blue-900);
}
.mobile-submenu-toggle svg {
  transition: transform 0.25s ease;
}
.mobile-submenu-toggle.active svg {
  transform: rotate(180deg);
}
.mobile-submenu {
  list-style: none;
  margin: 4px 0 8px 12px;
  padding: 0 0 0 14px;
  border-left: 2px solid var(--aacc-blue-600);
  display: none;
  flex-direction: column;
  gap: 2px;
}
.mobile-submenu.open {
  display: flex;
}
.mobile-submenu li a {
  display: block;
  padding: 8px 10px;
  color: var(--ink-700);
  font-size: 0.9125rem;
  text-decoration: none;
  border-radius: var(--radius-sm);
  transition: all 0.18s ease;
}
.mobile-submenu li a:hover {
  color: var(--aacc-blue-800);
  background: var(--surface-muted);
  padding-left: 14px;
}
.drawer-footer {
  padding: 20px 16px;
  border-top: 1px solid var(--line);
  background: var(--surface-muted);
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.drawer-footer .btn-block {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 12px 16px;
  font-size: 0.95rem;
}

@media (max-width: 1023px) {
  .utility-bar {
    display: none;
  }
  .nav-menu {
    display: none;
  }
  .mobile-toggle {
    display: flex !important;
  }
}

/* ==========================================================================
   TOAST NOTIFICATIONS (POPUP THÔNG BÁO SAO CHÉP / HÀNH ĐỘNG)
   ========================================================================== */
.toast-container {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
  width: 90%;
  max-width: 440px;
}
.toast-item {
  background: #0b3158;
  color: #ffffff;
  padding: 14px 20px;
  border-radius: var(--radius-md);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.925rem;
  line-height: 1.5;
  border-left: 4px solid var(--aacc-cyan-500);
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: auto;
}
.toast-item.show {
  opacity: 1;
  transform: translateY(0);
}
.toast-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--aacc-cyan-500);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 800;
  flex-shrink: 0;
}
.toast-msg {
  flex: 1;
}

/* ==========================================================================
   FLOATING QUICK CONTACT WIDGET (NÚT LIÊN HỆ NỔI)
   ========================================================================== */
.floating-contact-widget {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 990;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.floating-action-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  box-shadow: 0 6px 20px rgba(11, 49, 88, 0.22);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  text-decoration: none;
  border: none;
  cursor: pointer;
}
.floating-action-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 24px rgba(11, 49, 88, 0.32);
  color: #ffffff;
}
.floating-action-btn.btn-call {
  background: linear-gradient(135deg, var(--aacc-red-600) 0%, #d32f2f 100%);
}
.floating-action-btn.btn-email {
  background: linear-gradient(135deg, var(--aacc-blue-800) 0%, var(--aacc-blue-600) 100%);
}
.floating-action-btn.btn-quote {
  background: linear-gradient(135deg, var(--aacc-cyan-500) 0%, #0ea5e9 100%);
}
.btn-back-to-top,
.floating-action-btn.btn-back-to-top {
  width: 52px;
  height: 0;
  min-height: 0;
  padding: 0;
  margin-top: -12px;
  border-radius: 50%;
  border: 0 solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  background: linear-gradient(135deg, #0b3158 0%, #1e3a5f 100%);
  box-shadow: none;
  cursor: pointer;
  text-decoration: none;
  position: relative;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: scale(0.6);
  overflow: hidden;
  transition: height 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              min-height 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              margin-top 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              opacity 0.25s ease,
              transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.35s ease,
              border-width 0.35s ease,
              visibility 0.35s;
}
.btn-back-to-top.visible,
.floating-action-btn.btn-back-to-top.visible {
  height: 52px;
  min-height: 52px;
  margin-top: 0;
  border-width: 1px;
  box-shadow: 0 6px 20px rgba(11, 49, 88, 0.28);
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: scale(1);
}
.btn-back-to-top:hover,
.floating-action-btn.btn-back-to-top:hover {
  background: linear-gradient(135deg, var(--aacc-blue-800) 0%, var(--aacc-blue-600) 100%);
  transform: translateY(-3px) scale(1.08);
  box-shadow: 0 10px 24px rgba(16, 90, 170, 0.4);
  color: #ffffff;
}
.btn-back-to-top svg,
.floating-action-btn.btn-back-to-top svg {
  flex-shrink: 0;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.btn-back-to-top:hover svg,
.floating-action-btn.btn-back-to-top:hover svg {
  transform: translateY(-3px);
}

/* Sóng âm nhịp đập cho nút gọi Hotline (Pulse Effect) */
.pulse-ring {
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid var(--aacc-red-600);
  opacity: 0.8;
  animation: pulseWave 2s infinite cubic-bezier(0.25, 0.46, 0.45, 0.94);
  pointer-events: none;
}
@keyframes pulseWave {
  0% {
    transform: scale(0.95);
    opacity: 0.85;
  }
  70% {
    transform: scale(1.4);
    opacity: 0;
  }
  100% {
    transform: scale(1.4);
    opacity: 0;
  }
}

.floating-tooltip {
  position: absolute;
  right: 64px;
  background: #0b3158;
  color: #ffffff;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.8125rem;
  font-weight: 600;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transform: translateX(10px);
  transition: all 0.2s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}
.floating-tooltip::after {
  content: '';
  position: absolute;
  top: 50%;
  right: -5px;
  transform: translateY(-50%);
  border-width: 5px 0 5px 5px;
  border-style: solid;
  border-color: transparent transparent transparent #0b3158;
}
.floating-action-btn:hover .floating-tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

@media (max-width: 639px) {
  .floating-contact-widget {
    bottom: 20px;
    right: 18px;
    gap: 10px;
  }
  .floating-action-btn {
    width: 46px;
    height: 46px;
  }
  .btn-back-to-top,
  .floating-action-btn.btn-back-to-top {
    width: 46px;
    height: 0;
    min-height: 0;
    margin-top: -10px;
  }
  .btn-back-to-top.visible,
  .floating-action-btn.btn-back-to-top.visible {
    height: 46px;
    min-height: 46px;
    margin-top: 0;
  }
  .floating-tooltip {
    display: none;
  }
}

/* ==========================================================================
   BUTTONS & CTA
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  padding: 11px 24px;
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  cursor: pointer;
  border: 1px solid transparent;
  text-decoration: none;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  text-align: center;
  white-space: nowrap;
}
.btn:focus-visible {
  outline: 3px solid var(--aacc-cyan-500);
  outline-offset: 2px;
}

.btn-primary {
  background-color: var(--aacc-blue-800);
  color: #ffffff;
  border-color: var(--aacc-blue-800);
}
.btn-primary:hover {
  background-color: var(--aacc-blue-900);
  border-color: var(--aacc-blue-900);
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(16, 90, 170, 0.25);
}

.btn-secondary {
  background-color: #ffffff;
  color: var(--aacc-blue-900);
  border-color: var(--aacc-blue-800);
}
.btn-secondary:hover {
  background-color: var(--aacc-blue-100);
  color: var(--aacc-blue-900);
  border-color: var(--aacc-blue-900);
}

.btn-accent {
  background-color: var(--aacc-red-600);
  color: #ffffff;
  border-color: var(--aacc-red-600);
}
.btn-accent:hover {
  background-color: var(--aacc-red-700);
  border-color: var(--aacc-red-700);
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(190, 30, 45, 0.3);
}

.btn-ghost-light {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.3);
}
.btn-ghost-light:hover {
  background: rgba(255, 255, 255, 0.22);
  color: #ffffff;
  border-color: #ffffff;
}

.btn-sm {
  min-height: 38px;
  padding: 8px 16px;
  font-size: 0.875rem;
}

.btn-icon-arrow svg {
  transition: transform 0.2s ease;
}
.btn:hover .btn-icon-arrow svg {
  transform: translateX(4px);
}

/* ==========================================================================
   THE LINE OF TRUST (SVG DECORATIVE ACCENT)
   ========================================================================== */
.line-of-trust {
  display: block;
  width: 100%;
  height: 8px;
  margin: 16px 0 24px;
}
.line-of-trust path {
  stroke-dasharray: 600;
  stroke-dashoffset: 0;
  transition: stroke-dashoffset 0.8s ease;
}

/* ==========================================================================
   BREADCRUMB
   ========================================================================== */
.breadcrumb-wrap {
  background-color: var(--surface-muted);
  border-bottom: 1px solid var(--line);
  padding: 12px 0;
  font-size: 0.875rem;
}
.breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
}
.breadcrumb li {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--ink-500);
}
.breadcrumb li a {
  color: var(--ink-700);
}
.breadcrumb li a:hover {
  color: var(--aacc-blue-800);
  text-decoration: underline;
}
.breadcrumb li::after {
  content: '/';
  color: var(--line);
  font-weight: 300;
}
.breadcrumb li:last-child::after {
  content: '';
}
.breadcrumb li[aria-current="page"] {
  color: var(--aacc-blue-900);
  font-weight: 600;
}

/* ==========================================================================
   PAGE HEROES
   ========================================================================== */
/* Home Hero */
.hero-home {
  position: relative;
  background: linear-gradient(135deg, rgba(11, 49, 88, 0.94) 0%, rgba(16, 90, 170, 0.88) 100%), 
              url('../assets/images/p1_img1_2114x1410.webp') center/cover no-repeat;
  color: #ffffff;
  padding: clamp(70px, 9vw, 130px) 0 clamp(60px, 8vw, 110px);
  overflow: hidden;
  border-bottom: 4px solid var(--aacc-red-600);
}
.hero-home-inner {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
  align-items: center;
}
.hero-content {
  position: relative;
  z-index: 2;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #aeddfa;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.hero-eyebrow::before {
  content: '';
  display: inline-block;
  width: 20px;
  height: 3px;
  background: var(--aacc-red-600);
}
.hero-title {
  color: #ffffff;
  font-size: clamp(2.25rem, 4.2vw, 3.4rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 20px;
}
.hero-desc {
  font-size: clamp(1.05rem, 1.4vw, 1.25rem);
  color: #e2effa;
  line-height: 1.7;
  max-width: 680px;
  margin-bottom: 32px;
}
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}
.hero-trust-box {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-md);
  padding: 32px;
  backdrop-filter: blur(8px);
}
.hero-trust-box h3 {
  color: #ffffff;
  font-size: 1.25rem;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--aacc-red-600);
}
.hero-trust-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.hero-trust-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.9375rem;
  color: #e5f1fb;
}
.trust-icon-bullet {
  color: var(--aacc-cyan-500);
  font-size: 1.1rem;
  flex-shrink: 0;
  line-height: 1;
}

@media (max-width: 1023px) {
  .hero-home-inner {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}

/* Standard Page Hero */
.page-hero {
  background-color: var(--aacc-blue-900);
  background-image: linear-gradient(135deg, rgba(11, 49, 88, 0.96) 0%, rgba(16, 90, 170, 0.9) 100%);
  color: #ffffff;
  padding: clamp(48px, 6vw, 80px) 0;
  border-bottom: 3px solid var(--aacc-red-600);
  position: relative;
}
.page-hero h1 {
  color: #ffffff;
  margin-bottom: 14px;
}
.page-hero p {
  color: #d8e8f8;
  font-size: 1.125rem;
  max-width: 760px;
}

/* ==========================================================================
   CREDIBILITY STRIP (DẢI XÁC TÍN)
   ========================================================================== */
.credibility-strip {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  padding: 32px 0;
  box-shadow: var(--shadow-sm);
}
.credibility-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.credibility-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 8px 12px;
  border-left: 3px solid var(--aacc-blue-800);
}
.credibility-item:nth-child(1) { border-left-color: var(--aacc-red-600); }
.credibility-item:nth-child(2) { border-left-color: var(--aacc-blue-800); }
.credibility-item:nth-child(3) { border-left-color: var(--aacc-blue-600); }
.credibility-item:nth-child(4) { border-left-color: var(--aacc-cyan-500); }
.cred-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--ink-900);
  margin-bottom: 4px;
}
.cred-desc {
  font-size: 0.875rem;
  color: var(--ink-500);
  line-height: 1.5;
}

@media (max-width: 1023px) {
  .credibility-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}
@media (max-width: 639px) {
  .credibility-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

/* ==========================================================================
   SERVICE CARDS (DỊCH VỤ TRỌNG TÂM)
   ========================================================================== */
.section-header {
  margin-bottom: 48px;
  max-width: 800px;
}
.section-header.text-center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.section-title {
  margin-top: 8px;
  margin-bottom: 16px;
}
.section-subtitle {
  font-size: 1.125rem;
  color: var(--ink-500);
  line-height: 1.7;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
}

.service-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: var(--shadow-sm);
  text-decoration: none;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0%;
  height: 3.5px;
  background: linear-gradient(90deg, var(--aacc-red-600) 0%, var(--aacc-blue-800) 100%);
  transition: width 0.3s ease;
  border-radius: var(--radius-md) var(--radius-md) 0 0;
}
.service-card:hover {
  border-color: var(--aacc-blue-600);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.service-card:hover::before {
  width: 100%;
}
.service-num {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--aacc-blue-600);
  letter-spacing: -0.03em;
  margin-bottom: 14px;
}
.service-card-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--ink-900);
  margin-bottom: 14px;
  line-height: 1.35;
}
.service-card-desc {
  font-size: 0.9375rem;
  color: var(--ink-700);
  margin-bottom: 24px;
  flex-grow: 1;
}
.service-card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--aacc-blue-800);
}
.service-card-link svg {
  transition: transform 0.2s ease;
}
.service-card:hover .service-card-link svg {
  transform: translateX(4px);
}

/* ==========================================================================
   STRENGTHS (6 THẾ MẠNH)
   ========================================================================== */
.strengths-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.strength-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 30px 24px;
  transition: border-color 0.2s ease;
}
.strength-card:hover {
  border-color: var(--aacc-blue-800);
}
.strength-header {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 14px;
}
.strength-num {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--aacc-blue-800);
  line-height: 1;
}
.strength-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--ink-900);
}
.strength-desc {
  font-size: 0.9375rem;
  color: var(--ink-700);
  line-height: 1.65;
}

@media (max-width: 1023px) {
  .strengths-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 639px) {
  .strengths-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   TIMELINE PROCESS (QUY TRÌNH 6 BƯỚC)
   ========================================================================== */
.process-timeline {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
  position: relative;
  margin-top: 36px;
}
.process-step {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 24px 18px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all 0.2s ease;
}
.process-step:hover {
  border-color: var(--aacc-blue-800);
  box-shadow: var(--shadow-sm);
}
.step-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 4px;
  background: var(--aacc-blue-100);
  color: var(--aacc-blue-900);
  font-weight: 800;
  font-size: 1rem;
  margin-bottom: 14px;
}
.process-step:nth-child(1) .step-badge {
  background: var(--aacc-red-600);
  color: #fff;
}
.step-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink-900);
  margin-bottom: 10px;
  line-height: 1.35;
}
.step-desc {
  font-size: 0.84rem;
  color: var(--ink-700);
  line-height: 1.5;
}

@media (max-width: 1023px) {
  .process-timeline {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
}
@media (max-width: 639px) {
  .process-timeline {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

/* ==========================================================================
   LEGAL DOCUMENT CARD (HỒ SƠ PHÁP LÝ)
   ========================================================================== */
.legal-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 28px;
}
.legal-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex;
  flex-direction: column;
  transition: all 0.2s ease;
  box-shadow: var(--shadow-sm);
}
.legal-card:hover {
  border-color: var(--aacc-blue-800);
  box-shadow: var(--shadow-md);
}
.legal-badge-verified {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 2px;
  background: #e6f7eb;
  color: #1a7f37;
  align-self: flex-start;
  margin-bottom: 14px;
}
.legal-doc-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--ink-900);
  margin-bottom: 14px;
}
.legal-metadata-list {
  list-style: none;
  font-size: 0.875rem;
  margin-bottom: 20px;
  flex-grow: 1;
}
.legal-metadata-list li {
  display: flex;
  justify-content: space-between;
  padding: 6px 0;
  border-bottom: 1px dashed var(--line);
}
.meta-label {
  color: var(--ink-500);
}
.meta-value {
  color: var(--ink-900);
  font-weight: 600;
  text-align: right;
}
.legal-privacy-notice {
  background: var(--surface-muted);
  border-left: 3px solid var(--aacc-blue-600);
  padding: 8px 12px;
  font-size: 0.8125rem;
  color: var(--ink-500);
  margin-bottom: 16px;
}

/* =======================================================================    ========================================================================== */
.modal-overlay,
.legal-modal-overlay,
#legalModal {
  position: fixed !important;
  inset: 0 !important;
  background: rgba(8, 25, 48, 0.88) !important;
  backdrop-filter: blur(6px);
  z-index: 99999 !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}
.modal-overlay.open,
.legal-modal-overlay.open,
#legalModal.open {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
}
.modal-container {
  background: #ffffff;
  border-radius: var(--radius-md);
  max-width: 680px;
  width: 100%;
  max-height: 92vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
  overflow: hidden;
  transform: scale(0.95);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.modal-container.lightbox-mode {
  max-width: 1040px;
  height: 90vh;
}
.modal-overlay.open .modal-container {
  transform: scale(1);
}
.modal-header {
  padding: 14px 20px;
  background: var(--aacc-blue-900);
  color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 2px solid var(--aacc-red-600);
  gap: 12px;
}
.modal-header-left {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}
.modal-header h3 {
  color: #fff;
  font-size: 1.05rem;
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.doc-counter-badge {
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #fff;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  white-space: nowrap;
}
.modal-header-tools {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.modal-tool-btn {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  border-radius: 4px;
  padding: 6px 10px;
  font-size: 0.8125rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s;
  font-family: inherit;
}
.modal-tool-btn:hover {
  background: rgba(255, 255, 255, 0.25);
  color: #fff;
}
.modal-close {
  background: none;
  border: none;
  color: #fff;
  font-size: 1.6rem;
  cursor: pointer;
  padding: 0 6px;
  line-height: 1;
  border-radius: 4px;
  transition: opacity 0.15s;
}
.modal-close:hover {
  opacity: 0.75;
}

@media (max-width: 767px) {
  .modal-overlay {
    padding: 6px;
  }
  .modal-container.lightbox-mode {
    max-height: 96vh;
    height: 94vh;
    border-radius: var(--radius-sm);
  }
  .modal-header {
    flex-wrap: wrap;
    padding: 10px 12px 8px;
    gap: 8px 10px;
  }
  .modal-header-left {
    flex: 1 1 100%;
    width: 100%;
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 8px;
  }
  .modal-header-left .doc-counter-badge {
    font-size: 0.72rem;
    padding: 2px 8px;
    flex-shrink: 0;
  }
  .modal-header h3 {
    font-size: 0.88rem;
    font-weight: 600;
    line-height: 1.35;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    flex: 1;
    min-width: 0;
    margin: 0;
  }
  .modal-header-tools {
    flex: 1 1 100%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 6px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    padding-top: 6px;
  }
  .modal-tool-btn {
    padding: 4px 8px;
    font-size: 0.75rem;
    height: 28px;
    flex: 0 0 auto;
  }
  #modalZoomResetBtn {
    min-width: 48px;
    text-align: center;
  }
  .modal-close {
    font-size: 1.5rem;
    padding: 0 6px;
    line-height: 1;
    margin-left: auto;
  }
}
.modal-body {
  padding: 20px;
  overflow-y: auto;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.lightbox-body {
  padding: 0;
  overflow: hidden;
  background: #0d1e33;
  position: relative;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.lightbox-viewport {
  position: relative;
  flex: 1;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  cursor: default;
  user-select: none;
  -webkit-user-select: none;
  touch-action: none;
}
.lightbox-viewport.is-zoomed {
  cursor: grab;
}
.lightbox-viewport.is-zoomed:active,
.lightbox-viewport.is-dragging {
  cursor: grabbing !important;
}
.lightbox-image-wrap {
  display: inline-block;
  transition: transform 0.2s cubic-bezier(0.2, 0, 0, 1);
  transform-origin: center center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  border-radius: 4px;
  overflow: hidden;
  max-width: 100%;
  user-select: none;
  will-change: transform;
}
.lightbox-image-wrap img {
  display: block;
  max-width: 100%;
  max-height: 62vh;
  object-fit: contain;
  background: #fff;
  user-select: none;
  -webkit-user-drag: none;
  pointer-events: none;
}
.lightbox-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(11, 49, 88, 0.85);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.3);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.3rem;
  transition: all 0.2s ease;
  z-index: 10;
}
.lightbox-nav-btn:hover {
  background: var(--aacc-blue-800);
  border-color: #fff;
  transform: translateY(-50%) scale(1.08);
}
.lightbox-nav-btn.prev {
  left: 14px;
}
.lightbox-nav-btn.next {
  right: 14px;
}
.lightbox-meta-footer {
  background: #ffffff;
  border-top: 1px solid var(--line);
  padding: 14px 20px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  font-size: 0.85rem;
}
.lightbox-meta-details {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  color: var(--ink-700);
}
.lightbox-meta-item strong {
  color: var(--aacc-blue-900);
}
.modal-footer {
  padding: 14px 20px;
  border-top: 1px solid var(--line);
  background: var(--surface-muted);
  display: flex;
  justify-content: flex-end;
  gap: 12px;
}

/* Document Gallery & Credential Room Cards */
.doc-room-intro {
  background: #ffffff;
  border: 1px solid var(--line);
  border-left: 4px solid var(--aacc-blue-800);
  border-radius: var(--radius-sm);
  padding: 24px 28px;
  margin-bottom: 36px;
  box-shadow: var(--shadow-sm);
}
.doc-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
  margin-bottom: 48px;
}
.doc-gallery-grid.certs-grid {
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}
.doc-gallery-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.doc-gallery-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--aacc-blue-800);
}
.doc-thumb-container {
  position: relative;
  background: #f1f5f9;
  border-bottom: 1px solid var(--line);
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  cursor: pointer;
}
.doc-thumb-container img {
  max-width: 90%;
  max-height: 90%;
  object-fit: contain;
  transition: transform 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
.doc-thumb-container:hover img {
  transform: scale(1.04);
}
.doc-thumb-overlay {
  position: absolute;
  inset: 0;
  background: rgba(11, 49, 88, 0.6);
  opacity: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-weight: 600;
  font-size: 0.875rem;
  gap: 8px;
  transition: opacity 0.2s ease;
}
.doc-thumb-container:hover .doc-thumb-overlay {
  opacity: 1;
}
.doc-card-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.doc-card-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
  margin-bottom: 10px;
  background: #eef4fa;
  color: var(--aacc-blue-900);
  align-self: flex-start;
}
.doc-card-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--aacc-blue-900);
  margin-bottom: 12px;
  line-height: 1.4;
}
.doc-meta-table {
  width: 100%;
  font-size: 0.84rem;
  border-collapse: collapse;
  margin-bottom: 16px;
  flex: 1;
}
.doc-meta-table tr {
  border-bottom: 1px solid #f1f5f9;
}
.doc-meta-table tr:last-child {
  border-bottom: none;
}
.doc-meta-table td {
  padding: 6px 0;
  vertical-align: top;
}
.doc-meta-table td.meta-label {
  color: var(--ink-500);
  width: 38%;
  font-weight: 500;
}
.doc-meta-table td.meta-val {
  color: var(--ink-900);
  font-weight: 600;
}
.doc-card-actions {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid #f1f5f9;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}
.doc-card-actions .btn {
  margin: 0 auto;
}

/* ==========================================================================
   ORGANIZATION CHART
   ========================================================================== */
.org-chart {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  margin-top: 40px;
}
.org-node {
  background: var(--surface);
  border: 2px solid var(--aacc-blue-800);
  border-radius: var(--radius-sm);
  padding: 18px 28px;
  text-align: center;
  width: 100%;
  max-width: 380px;
  box-shadow: var(--shadow-sm);
}
.org-node.root {
  background: var(--aacc-blue-900);
  color: #ffffff;
  border-color: var(--aacc-blue-900);
}
.org-node.root h4 {
  color: #ffffff;
}
.org-node.exec {
  background: var(--aacc-blue-100);
  border-color: var(--aacc-blue-800);
}
.org-connector-vert {
  width: 2px;
  height: 24px;
  background: var(--line);
}
.org-branches {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  width: 100%;
}
.org-dept {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 18px 16px;
  text-align: center;
  border-top: 3px solid var(--aacc-blue-800);
}
.org-dept:nth-child(1) { border-top-color: var(--aacc-blue-800); }
.org-dept:nth-child(2) { border-top-color: var(--aacc-blue-600); }
.org-dept:nth-child(3) { border-top-color: var(--aacc-cyan-500); }
.org-dept:nth-child(4) { border-top-color: var(--aacc-red-600); }

@media (max-width: 1023px) {
  .org-branches {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 639px) {
  .org-branches {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   ARTICLE & NEWS CARDS
   ========================================================================== */
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 28px;
}
.news-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.2s ease;
  text-decoration: none;
}
.news-card:hover {
  border-color: var(--aacc-blue-800);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.news-thumb {
  height: 200px;
  overflow: hidden;
  background: var(--surface-muted);
}
.news-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.news-card:hover .news-thumb img {
  transform: scale(1.03);
}
.news-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.news-category {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--aacc-red-600);
  margin-bottom: 8px;
  letter-spacing: 0.05em;
}
.news-date {
  font-size: 0.8125rem;
  color: var(--ink-500);
  margin-bottom: 12px;
}
.news-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--ink-900);
  margin-bottom: 12px;
  line-height: 1.4;
}
.news-excerpt {
  font-size: 0.875rem;
  color: var(--ink-700);
  line-height: 1.6;
  margin-bottom: 18px;
  flex-grow: 1;
}
.news-link {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--aacc-blue-800);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* Category Filter Buttons */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 32px;
}
.filter-btn {
  background: var(--surface-muted);
  border: 1px solid var(--line);
  color: var(--ink-700);
  padding: 8px 18px;
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.18s ease;
}
.filter-btn:hover, .filter-btn.active {
  background: var(--aacc-blue-800);
  color: #fff;
  border-color: var(--aacc-blue-800);
}

/* ==========================================================================
   FORMS & CONTROLS
   ========================================================================== */
.form-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: clamp(24px, 4vw, 44px);
  box-shadow: var(--shadow-sm);
}
.form-group {
  margin-bottom: 22px;
}
.form-label {
  display: block;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--ink-900);
  margin-bottom: 8px;
}
.form-label .required {
  color: var(--aacc-red-600);
}
.form-control {
  width: 100%;
  min-height: 46px;
  padding: 10px 16px;
  font-family: var(--font-main);
  font-size: 0.9375rem;
  color: var(--ink-900);
  background-color: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.form-control:focus {
  outline: none;
  border-color: var(--aacc-blue-800);
  box-shadow: 0 0 0 3px rgba(16, 90, 170, 0.18);
}
textarea.form-control {
  min-height: 120px;
  resize: vertical;
}

.form-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
@media (max-width: 639px) {
  .form-grid-2 {
    grid-template-columns: 1fr;
    gap: 0;
  }
}

.form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.875rem;
  color: var(--ink-700);
  cursor: pointer;
}
.form-checkbox input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--aacc-blue-800);
}

.form-feedback {
  font-size: 0.8125rem;
  color: var(--aacc-red-600);
  margin-top: 6px;
  display: none;
}
.form-group.has-error .form-control {
  border-color: var(--aacc-red-600);
  background-color: var(--aacc-red-50);
}
.form-group.has-error .form-feedback {
  display: block;
}

.form-success-banner {
  display: none;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: var(--radius-md);
  padding: 28px;
  margin-bottom: 24px;
}
.form-success-banner.active {
  display: block;
}
.success-code {
  display: inline-block;
  background: #dcfce7;
  color: #166534;
  font-family: monospace;
  font-size: 1.1rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  margin: 12px 0;
}

/* Multi-step Quote Form */
.step-indicator {
  display: flex;
  justify-content: space-between;
  margin-bottom: 36px;
  position: relative;
}
.step-indicator::before {
  content: '';
  position: absolute;
  top: 18px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--line);
  z-index: 1;
}
.step-item {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.step-circle {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--surface);
  border: 2px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--ink-500);
  transition: all 0.2s ease;
}
.step-item.active .step-circle {
  border-color: var(--aacc-blue-800);
  background: var(--aacc-blue-800);
  color: #fff;
}
.step-item.completed .step-circle {
  border-color: #16a34a;
  background: #16a34a;
  color: #fff;
}
.step-label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--ink-700);
  text-align: center;
}

.quote-step-content {
  display: none;
}
.quote-step-content.active {
  display: block;
}

/* ==========================================================================
   PHOTO GALLERY
   ========================================================================== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}
.gallery-item {
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
  aspect-ratio: 4/3;
  background: var(--surface-muted);
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.gallery-item:hover img {
  transform: scale(1.05);
}
.gallery-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(11, 49, 88, 0.9) 0%, transparent 100%);
  color: #fff;
  padding: 16px 14px 10px;
  font-size: 0.8125rem;
}

/* ==========================================================================
   ACCORDION & FAQ
   ========================================================================== */
.accordion {
  border-top: 1px solid var(--line);
}
.accordion-item {
  border-bottom: 1px solid var(--line);
}
.accordion-header {
  width: 100%;
  padding: 18px 0;
  background: none;
  border: none;
  text-align: left;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ink-900);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.accordion-header:hover {
  color: var(--aacc-blue-800);
}
.accordion-icon {
  width: 20px;
  height: 20px;
  transition: transform 0.25s ease;
  flex-shrink: 0;
}
.accordion-header[aria-expanded="true"] .accordion-icon {
  transform: rotate(180deg);
}
.accordion-collapse {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.accordion-body {
  padding-bottom: 20px;
  color: var(--ink-700);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ==========================================================================
   CALL TO ACTION BANNER (CTA CUỐI TRANG)
   ========================================================================== */
.cta-banner {
  background: linear-gradient(135deg, var(--aacc-blue-900) 0%, var(--aacc-blue-800) 100%);
  color: #ffffff;
  padding: clamp(54px, 7vw, 84px) 0;
  position: relative;
  overflow: hidden;
  border-top: 4px solid var(--aacc-red-600);
}
.cta-banner-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
}
.cta-content h2 {
  color: #ffffff;
  margin-bottom: 12px;
}
.cta-content p {
  color: #d1e2f2;
  font-size: 1.125rem;
  max-width: 650px;
}
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  flex-shrink: 0;
}

@media (max-width: 1023px) {
  .cta-banner-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  background-color: var(--aacc-blue-900);
  color: #cadbee;
  font-size: 0.9375rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.footer-top {
  padding-top: clamp(48px, 6vw, 80px);
  padding-bottom: 48px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.3fr;
  gap: 40px;
}
.footer-brand img {
  height: 48px;
  width: auto;
  margin-bottom: 18px;
}
.footer-tagline {
  color: #b0c9e2;
  line-height: 1.65;
  margin-bottom: 20px;
  font-size: 0.9rem;
}
.footer-col-title {
  color: #ffffff;
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}
.footer-col-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 32px;
  height: 2px;
  background: var(--aacc-red-600);
}
.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-links li a {
  color: #cadbee;
  transition: color 0.18s ease;
  font-size: 0.9rem;
}
.footer-links li a:hover {
  color: #ffffff;
  padding-left: 4px;
}
.footer-contact-info {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  font-size: 0.9rem;
}
.footer-contact-info li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.footer-contact-info svg {
  flex-shrink: 0;
  margin-top: 4px;
  color: var(--aacc-cyan-500);
}
.footer-contact-info a {
  color: #ffffff;
  text-decoration: none;
}
.footer-contact-info a:hover {
  text-decoration: underline;
}

.footer-bottom {
  padding: 24px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.8125rem;
  color: #8da4be;
}
.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-legal-links {
  display: flex;
  gap: 20px;
  list-style: none;
}
.footer-legal-links a {
  color: #8da4be;
}
.footer-legal-links a:hover {
  color: #ffffff;
}

@media (max-width: 1023px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 639px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .footer-bottom-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ==========================================================================
   UTILITY & ACCESSIBILITY
   ========================================================================== */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
