﻿/* ═══════════════════════════════════════════════════════════════
   ALIRO CONSULTING — Unified Stylesheet v2
   Deep Blue #123E6B | Light BG #F7F9FC | Bright #2F6EA6
   Teal #4F8F9D | Steel #5C7896
   ═══════════════════════════════════════════════════════════════ */

/* ─── Variables ─────────────────────────────────────────────── */
:root {
  --deep-blue: #123E6B;
  --light-bg: #F7F9FC;
  --bright-blue: #2F6EA6;
  --teal: #4F8F9D;
  --steel: #5C7896;
  --mid-gray: #7E93A8;
  --soft-gray: #DCE4EC;
  --dark-navy: #0C2A47;
  --text-body: #1a2e42;
  --white: #FFFFFF;
  --font: 'Inter', 'Aptos', 'Calibri', Arial, sans-serif;
  --max-w: 1280px;
  --ease: 0.25s ease;
  --nav-h: 68px;
}

/* ─── Reset ─────────────────────────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  /* Thêm dòng này để khóa scroll ngang */
  overflow-x: hidden;
}

body {
  font-family: var(--font);
  color: var(--text-body);
  background: var(--light-bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  padding-top: var(--nav-h);

  /* Thêm 2 dòng này để đảm bảo không phần tử nào làm phình trang */
  overflow-x: hidden;
  width: 100%;
}

/* home page has full-screen hero — remove top padding */
body.page-home {
  padding-top: 0;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--bright-blue);
  text-decoration: none;
  transition: color var(--ease);
}

a:hover {
  color: var(--deep-blue);
}

.container-xl {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 32px;
}

.py-section {
  padding: 96px 0;
}

.bg-light-alt {
  background: var(--light-bg);
}

/* ═══════════════════════════════════════════════════════════════
   NAVBAR  — single definition, two states via body class
   ═══════════════════════════════════════════════════════════════ */
#mainNav {
  height: var(--nav-h);
  z-index: 1000;
  border-bottom: 1px solid transparent;
  font-family: var(--font);
  padding: 0;
  transition: background 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

/* HOME: transparent → solid when scrolled */
body.page-home #mainNav {
  background: transparent;
}

body.page-home #mainNav.scrolled {
  background: var(--deep-blue);
  border-bottom-color: rgba(255, 255, 255, 0.07);
  box-shadow: 0 2px 20px rgba(12, 42, 71, 0.22);
}

/* ALL INNER PAGES: always solid from top */
body:not(.page-home) #mainNav {
  background: var(--deep-blue);
  border-bottom-color: rgba(255, 255, 255, 0.07);
  box-shadow: 0 2px 16px rgba(12, 42, 71, 0.18);
}

/* Brand */
.navbar-brand {
  font-weight: 800;
  font-size: 14.7px;
  letter-spacing: 0.13em;
  color: var(--white) !important;
  flex-shrink: 0;
}

.brand-logo {
  height: 36px;
  width: auto;
  display: block;
}

.footer-brand .brand-logo {
  height: 30px;
}

.nav-drawer-brand .brand-logo {
  height: 28px;
}

.brand-word {
  color: var(--white);
}

.brand-light {
  font-weight: 400;
  opacity: 0.65;
}

.brand-sep {
  display: inline-block;
  width: 0.55em;
}

/* Desktop links */
.navbar-nav {
  gap: 0;
}

.nav-link {
  color: rgba(255, 255, 255, 0.72) !important;
  font-size: 13.1px;
  font-weight: 500;
  letter-spacing: 0.04em;
  padding: 6.1px 14.1px !important;
  position: relative;
  transition: color var(--ease);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 14.1px;
  right: 14.1px;
  height: 1.5px;
  background: var(--teal);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.22s ease;
}

.nav-link:hover {
  color: var(--white) !important;
}

.nav-link:hover::after {
  transform: scaleX(1);
}

.nav-item.active .nav-link {
  color: var(--white) !important;
}

.nav-item.active .nav-link::after {
  transform: scaleX(1);
}

/* CTA button */
.btn-nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 6.4px;
  background: var(--bright-blue);
  color: var(--white) !important;
  border: none;
  border-radius: 2px;
  font-size: 12.6px;
  font-weight: 600;
  letter-spacing: 0.06em;
  padding: 7.7px 18.4px;
  transition: background var(--ease), transform 0.2s ease;
  white-space: nowrap;
  text-decoration: none;
}

.btn-nav-cta:hover {
  background: var(--teal);
  color: var(--white) !important;
  transform: translateY(-1px);
}

/* Hamburger (visible on mobile only) */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: none;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 2px;
  cursor: pointer;
  padding: 0 7px;
  transition: border-color var(--ease);
  flex-shrink: 0;
}

.nav-hamburger:hover {
  border-color: rgba(255, 255, 255, 0.5);
}

.nav-hamburger span {
  display: block;
  height: 1.5px;
  background: rgba(255, 255, 255, 0.85);
  border-radius: 1px;
  transition: transform 0.28s ease, opacity 0.2s ease;
  transform-origin: center;
}

.nav-hamburger.is-open span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}

.nav-hamburger.is-open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.nav-hamburger.is-open span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* Responsive nav visibility */
@media (min-width: 992px) {
  .nav-hamburger {
    display: none !important;
  }

  .navbar-collapse {
    display: flex !important;
  }
}

@media (max-width: 991px) {
  .nav-hamburger {
    display: flex;
  }

  .navbar-collapse {
    display: none !important;
  }
}

/* Progress bar */
.nav-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--teal), var(--bright-blue));
  z-index: 1200;
  width: 0%;
  transition: width 0.1s linear;
  pointer-events: none;
}

/* ═══════════════════════════════════════════════════════════════
   MOBILE DRAWER
   ═══════════════════════════════════════════════════════════════ */
.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 26, 47, 0);
  z-index: 1099;
  pointer-events: none;
  transition: background 0.35s ease;
}

.nav-overlay.is-open {
  background: rgba(10, 26, 47, 0.72);
  pointer-events: auto;
}

.nav-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(340px, 88vw);
  background: var(--dark-navy);
  z-index: 1100;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.38s cubic-bezier(0.32, 0.82, 0.35, 1);
  overflow-y: auto;
  overscroll-behavior: contain;
}

.nav-drawer.is-open {
  transform: translateX(0);
  box-shadow: -8px 0 48px rgba(0, 0, 0, 0.45);
}

.nav-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  height: var(--nav-h);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  flex-shrink: 0;
}

.nav-drawer-brand {
  font-size: 14.1px;
  font-weight: 800;
  letter-spacing: 0.13em;
  color: var(--white);
}

.nav-drawer-brand span {
  font-weight: 400;
  opacity: 0.6;
}

.nav-drawer-close {
  width: 34px;
  height: 34px;
  background: none;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 2px;
  color: rgba(255, 255, 255, 0.65);
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: border-color var(--ease), color var(--ease), background var(--ease);
  line-height: 1;
}

.nav-drawer-close:hover {
  border-color: rgba(255, 255, 255, 0.4);
  color: var(--white);
  background: rgba(255, 255, 255, 0.05);
}

/* Current page label */
.nav-drawer-context {
  padding: 10.4px 24px;
  font-size: 10.7px;
  font-weight: 600;
  letter-spacing: 0.15em;
  color: var(--teal);
  text-transform: uppercase;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  flex-shrink: 0;
}

.nav-drawer-nav {
  list-style: none;
  margin: 0;
  padding: 9.6px 0;
  flex: 1;
}

.nav-drawer-nav li a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14.1px 24px;
  font-size: 15.5px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.68);
  text-decoration: none;
  letter-spacing: 0.02em;
  border-left: 3px solid transparent;
  transition: color var(--ease), border-color var(--ease), background var(--ease), padding-left 0.2s ease;
}

.nav-arrow {
  font-size: 11.5px;
  opacity: 0;
  transform: translateX(-4px);
  transition: opacity 0.18s ease, transform 0.18s ease;
  flex-shrink: 0;
}

.nav-drawer-nav li a:hover {
  color: var(--white);
  border-left-color: var(--teal);
  background: rgba(255, 255, 255, 0.04);
  padding-left: 29.6px;
}

.nav-drawer-nav li a:hover .nav-arrow {
  opacity: 1;
  transform: translateX(0);
}

.nav-drawer-nav li.active a {
  color: var(--teal);
  border-left-color: var(--teal);
  background: rgba(79, 143, 157, 0.07);
  padding-left: 29.6px;
  font-weight: 600;
}

.nav-drawer-nav li.active a .nav-arrow {
  opacity: 1;
  transform: translateX(0);
}

.nav-drawer-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.06);
  margin: 8px 24px;
}

.nav-drawer-cta {
  padding: 20px 24px;
  flex-shrink: 0;
}

.nav-drawer-cta a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--bright-blue);
  color: var(--white);
  text-decoration: none;
  font-size: 14.1px;
  font-weight: 600;
  letter-spacing: 0.05em;
  padding: 14.4px 24px;
  border-radius: 2px;
  transition: background var(--ease), transform 0.2s ease;
}

.nav-drawer-cta a:hover {
  background: var(--teal);
  transform: translateY(-1px);
}

.nav-drawer-footer {
  padding: 16px 24px 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  flex-shrink: 0;
}

.nav-drawer-footer p {
  font-size: 11.5px;
  color: rgba(255, 255, 255, 0.26);
  line-height: 1.7;
  margin: 0 0 6.4px;
}

.nav-drawer-footer a {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.38);
  text-decoration: none;
  transition: color var(--ease);
}

.nav-drawer-footer a:hover {
  color: var(--teal);
}

body.nav-open {
  overflow: hidden;
}

/* ═══════════════════════════════════════════════════════════════
   HERO — Home page
   ═══════════════════════════════════════════════════════════════ */
.hero-section {
  position: relative;
  min-height: 100vh;
  background: linear-gradient(to bottom, var(--deep-blue) 20%, var(--bright-blue) 100%);
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(47, 110, 166, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(47, 110, 166, 0.08) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

.hero-grid-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 70% at 50% 40%, rgba(18, 62, 107, 0) 0%, rgba(18, 62, 107, 0.65) 100%);
}

.hero-inner {
  position: relative;
  z-index: 2;
  padding: 144px 32px 96px;
  text-align: center;
  
}

.hero-eyebrow {
  font-size: 12.2px;
  font-weight: 500;
  letter-spacing: 0.17em;
  color: var(--mid-gray);
  text-transform: uppercase;
  margin-bottom: 40px;
}

.hero-headline {
  font-size: clamp(48px, 4.8vw, 64px);
  font-weight: 800;
  color: var(--white);
  line-height: 1.18;
  margin-bottom: 32px;
  letter-spacing: -0.02em;
}

.hero-sub {
  font-size: 16px;
  color: var(--white);
  margin-bottom: 28px;
  letter-spacing: 0.04em;
}

.btn-hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--bright-blue);
  color: var(--white);
  border: none;
  border-radius: 2px;
  font-size: 13.9px;
  font-weight: 600;
  letter-spacing: 0.06em;
  padding: 13.6px 32px;
  transition: background var(--ease), transform var(--ease), box-shadow var(--ease);
  text-decoration: none;
}

.btn-hero-cta:hover {
  background: var(--teal);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(47, 110, 166, 0.32);
}

.hero-scroll-hint {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--mid-gray);
  font-size: 10.9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  z-index: 2;
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--mid-gray), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {

  0%,
  100% {
    opacity: 0.4;
  }

  50% {
    opacity: 0.9;
  }
}

/* ═══════════════════════════════════════════════════════════════
   SECTION TYPOGRAPHY HELPERS
   ═══════════════════════════════════════════════════════════════ */
.section-label {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--teal);
  text-transform: uppercase;
  margin-bottom: 11.2px;
}

.section-label.light {
  color: var(--teal);
}

.section-heading {
  font-size: clamp(36px, 3.2vw, 40px);
  font-weight: 700;
  color: var(--deep-blue);
  letter-spacing: -0.02em;
  margin-bottom: 32px;
  line-height: 1.22;
}

.section-heading.light {
  color: var(--white);
}

.section-sub {
  font-size: 16px;
  color: var(--steel);
  max-width: 660px;
  line-height: 1.72;
  margin-bottom: 16px;
}

.sub-heading {
  font-size: 26px;
  font-weight: 700;
  color: var(--deep-blue);
  margin-bottom: 16px;
}

/* ─── Thesis ────────────────────────────────────────────────── */
.thesis-section {
  background: var(--white);
  padding: 112px 0;
  border-bottom: 1px solid var(--soft-gray);
}

.thesis-text {
  max-width: 790px;
  margin: 0 auto;
  text-align: center;
}

.thesis-text p {
  font-size: 17.9px;
  color: var(--text-body);
  line-height: 1.78;
  margin-bottom: 24px;
}

.thesis-close {
  font-weight: 600;
  color: var(--deep-blue);
  font-style: italic;
}

/* ─── Position ──────────────────────────────────────────────── */
.position-section {
  background: var(--light-bg);
  padding: 96px 0;
  border-bottom: 1px solid var(--soft-gray);
}

.position-grid {
  display: grid;
  grid-template-columns: 1fr 1px 1fr;
  gap: 0 48px;
  align-items: start;
}

.position-col p {
  font-size: 15.4px;
  color: var(--text-body);
  margin-bottom: 19.2px;
  line-height: 1.72;
}

.position-col strong {
  color: var(--deep-blue);
  font-weight: 600;
}

.position-tag {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--teal);
  text-transform: uppercase;
  margin-bottom: 16px;
}

.position-divider {
  background: var(--soft-gray);
  width: 1px;
  align-self: stretch;
}

/* ─── Stats ─────────────────────────────────────────────────── */
.stats-section {
  background: var(--deep-blue);
  padding: 32px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.stat-item {
  background: var(--deep-blue);
  padding: 48px 40px;
  border-right: 1px solid rgba(255, 255, 255, 0.07);
  transition: background var(--ease);
}

.stat-item:last-child {
  border-right: none;
}

.stat-item:hover {
  background: var(--dark-navy);
}

.stat-number {
  font-size: clamp(41.6px, 4.5vw, 60.8px);
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 4.8px;
}

.stat-suffix {
  font-size: 13.1px;
  color: var(--teal);
  font-weight: 500;
  margin-bottom: 5.6px;
}

.stat-label {
  font-size: 13.8px;
  color: var(--mid-gray);
}

/* ─── 4iC Method ────────────────────────────────────────────── */
.method-section {
  background: var(--white);
  padding: 104px 0;
  border-bottom: 1px solid var(--soft-gray);
}

.card-4ic {
  background: var(--light-bg);
  padding: 26px 24px;
  border-left: 4px solid var(--bright-blue);
  height: 100%;
  transition: transform var(--ease), box-shadow var(--ease);
}

.card-4ic:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(18, 62, 107, 0.07);
}

.card-4ic--market {
  border-left-color: var(--bright-blue);
}

.card-4ic--ops {
  border-left-color: var(--teal);
}

.card-4ic--digital {
  border-left-color: var(--steel);
}

.card-4ic--cap {
  border-left-color: var(--mid-gray);
}

.card-4ic-icon {
  font-size: 24.8px;
  margin-bottom: 16px;
  color: var(--bright-blue);
}

.card-4ic--ops .card-4ic-icon {
  color: var(--teal);
}

.card-4ic--digital .card-4ic-icon {
  color: var(--steel);
}

.card-4ic--cap .card-4ic-icon {
  color: var(--mid-gray);
}

.card-4ic h3 {
  font-size: 16.3px;
  font-weight: 700;
  color: var(--deep-blue);
  margin-bottom: 11.2px;
}

.card-4ic p {
  font-size: 14.4px;
  color: var(--steel);
  line-height: 1.65;
  margin: 0;
}

/* ─── Team (Redesign) ───────────────────────────────────────── */
.team-section {
  background: var(--light-bg);
  padding: 104px 0;
  border-bottom: 1px solid var(--soft-gray);
}

.team-card {
  background: var(--white);
  border: 1px solid rgba(92, 120, 150, 0.15); /* Viền nhạt và mềm mại hơn */
  border-radius: 6px; /* Bo góc nhẹ */
  padding: 40px 32px;
  height: 100%;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.team-card:hover {
  transform: translateY(-5px); /* Hiệu ứng nhấc lên khi hover */
  box-shadow: 0 12px 32px rgba(18, 62, 107, 0.08); /* Bóng đổ mềm */
}

/* Thẻ nổi bật ở giữa */
.team-card--anchor {
  border-top: 4px solid var(--bright-blue); /* Điểm nhấn viền trên thay vì viền toàn bộ */
  background: linear-gradient(180deg, rgba(47, 110, 166, 0.03) 0%, var(--white) 120px);
}

/* Xử lý Avatar chuẩn để ảnh không bị méo */
.team-avatar {
  width: 86px;
  height: 86px;
  border-radius: 50%;
  background: var(--soft-gray);
  margin-bottom: 24px;
  overflow: hidden; /* Giữ ảnh nằm gọn trong vòng tròn */
  border: 3px solid var(--white);
  box-shadow: 0 4px 14px rgba(12, 42, 71, 0.12); /* Đổ bóng nhẹ cho avatar */
  flex-shrink: 0;
}

.team-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* QUAN TRỌNG: Giúp ảnh tự cắt gọn không bị méo tỷ lệ */
  object-position: top center; /* Focus vào khuôn mặt */
  display: block;
}

.team-info {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.team-card h4 {
  font-size: 18.4px;
  font-weight: 700;
  color: var(--deep-blue);
  margin-bottom: 4.8px;
}

.team-title {
  font-size: 12.8px;
  color: var(--bright-blue);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 3.2px;
}

.team-entity {
  font-size: 13.1px;
  color: var(--mid-gray);
  font-style: italic;
  margin-bottom: 19.2px;
  padding-bottom: 19.2px;
  border-bottom: 1px solid var(--soft-gray); /* Đường kẻ phân cách tinh tế */
}

.team-card p {
  font-size: 14.4px;
  color: var(--text-body);
  line-height: 1.7;
  margin: 0;
}

/* Khối ghi chú bên dưới */
.team-advisory-note {
  margin-top: 56px;
  padding: 24px 32px;
  background: rgba(79, 143, 157, 0.05); 
  border-left: 4px solid var(--teal);
  border-radius: 0 4px 4px 0;
  font-size: 13.6px;
  color: var(--steel);
  line-height: 1.7;
}

/* Fix mobile cho thẻ Team */
@media (max-width: 767px) {
  .team-card {
    padding: 32px 24px;
  }
  .team-advisory-note {
    padding: 20px 24px;
    margin-top: 32px;
  }
}

/* ─── Credentials ───────────────────────────────────────────── */
.credentials-section {
  background: var(--white);
  padding: 104px 0;
  border-bottom: 1px solid var(--soft-gray);
}

.cred-card {
  background: var(--light-bg);
  border-left: 4px solid var(--teal);
  padding: 32px;
  height: 100%;
  transition: transform var(--ease), box-shadow var(--ease);
}

.cred-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(18, 62, 107, 0.06);
}

.cred-tag {
  font-size: 13px;
  font-weight: 600;
  color: var(--teal);
  font-style: italic;
  margin-bottom: 8.8px;
}

.cred-card h4 {
  font-size: 15.5px;
  font-weight: 700;
  color: var(--deep-blue);
  margin-bottom: 11.2px;
}

.cred-card p {
  font-size: 13.9px;
  color: var(--steel);
  line-height: 1.65;
  margin: 0;
}

.btn-text-link {
  font-size: 13.6px;
  font-weight: 600;
  color: var(--bright-blue);
  display: inline-flex;
  align-items: center;
  gap: 5.6px;
  transition: gap var(--ease), color var(--ease);
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
}

.btn-text-link:hover {
  gap: 9.6px;
  color: var(--deep-blue);
}

.btn-text-link.light {
  color: var(--teal);
}

.btn-text-link.light:hover {
  color: var(--white);
}

/* ─── Intelligence Layer ────────────────────────────────────── */
.intel-layer-section {
  background: var(--dark-navy);
  padding: 112px 0;
}

.intel-body {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.76;
  margin-bottom: 20.8px;
}

.intel-viz {
  display: flex;
  align-items: center;
  justify-content: center;
}

.intel-svg {
  width: 100%;
  max-width: 480px;
  opacity: 0.9;
}

/* ─── CTA (Home) ────────────────────────────────────────────── */
.cta-home-section {
  background: var(--deep-blue);
  padding: 112px 32px;
  text-align: center;
}

.cta-home-section h2 {
  font-size: clamp(24px, 2.8vw, 33.6px);
  font-weight: 700;
  color: var(--white);
  max-width: 680px;
  margin: 0 auto 22.4px;
  line-height: 1.32;
  letter-spacing: -0.01em;
}

.cta-home-section p {
  font-size: 15.7px;
  color: var(--mid-gray);
  max-width: 500px;
  margin: 0 auto 16px;
  line-height: 1.72;
}

.cta-email {
  display: inline-block;
  font-size: 19.2px;
  font-weight: 600;
  color: var(--white) !important;
  letter-spacing: 0.02em;
  margin-top: 16px;
  transition: color var(--ease);
}

.cta-email:hover {
  color: var(--teal) !important;
}

.btn-cta-outline {
  display: inline-flex;
  align-items: center;
  gap: 6.4px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: var(--white);
  background: transparent;
  border-radius: 2px;
  font-size: 13.4px;
  font-weight: 500;
  padding: 10.9px 24.8px;
  transition: border-color var(--ease), background var(--ease);
  text-decoration: none;
}

.btn-cta-outline:hover {
  border-color: var(--teal);
  background: rgba(79, 143, 157, 0.1);
  color: var(--white);
}

/* ─── Inner page hero mini ──────────────────────────────────── */
.page-section {
  background: var(--white);
}

.hero-section-mini {
  padding: 0 32px ;
  /* inner pages already have body padding-top = nav-h, so no extra padding needed */
}

.hero-headline-sm {
  font-size: clamp(36px, 3.2vw, 40px);
  font-weight: 700;
  color: var(--white);
  line-height: 1.22;
  letter-spacing: -0.02em;
  margin-bottom: 14.4px;
}

.hero-sub-sm {
  font-size: 15.7px;
  color: var(--mid-gray);
  max-width: 580px;
  line-height: 1.72;
  margin: 0;
}

/* ─── Approach ──────────────────────────────────────────────── */
.entity-summary-note {
  margin-top: 24px; /* Khoảng cách từ 2 card xuống câu text */
  max-width: 800px; /* Giới hạn độ rộng để text không bị kéo dài quá trên màn hình to */
}

.entity-summary-note p {
  font-size: 14.4px;
  color: var(--steel); /* Màu xám thép để dễ đọc */
  font-style: italic; /* In nghiêng theo ý bạn */
  line-height: 1.65;
  margin: 0;
}
.engagement-wrapper {
  background-color: #DCE4EC; /* Đổ nền màu bạn yêu cầu */
  padding: 48px;             /* Tạo khoảng cách từ viền vào trong */
  border-radius: 8px;        /* Bo góc nhẹ cho đẹp */
}
.approach-quote-block {
  background: transparent; 
  padding: 32px 48px; 
  border-left: 3px solid var(--bright-blue); 
  height: 100%;
  display: flex;
  align-items: center;
}

.approach-quote-block blockquote {
  font-size: 19.2px;
  color: var(--deep-blue); 
  font-weight: 600; 
  font-style: italic;
  line-height: 1.62;
  border: none;
  padding: 0;
  margin: 0;
}

.flow-steps {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 16px;
  align-items: start;
}

.flow-step {
  background: var(--white); /* Đổi card sang màu trắng để nổi bật trên nền #DCE4EC */
  border: none;             /* Bỏ viền */
  border-radius: 6px;       /* Bo góc cho card */
  padding: 32px 24px;
  transition: transform 0.3s ease, box-shadow 0.3s ease; /* Khai báo hiệu ứng mượt */
  height: 100%;
}

/* Thêm hiệu ứng HOVER cho card */
.flow-step:hover {
  transform: translateY(-5px); /* Khi trỏ chuột, card sẽ nổi lên trên 5px */
  box-shadow: 0 12px 24px rgba(18, 62, 107, 0.12); /* Đổ bóng phía dưới */
}

/* Cập nhật lại màu mũi tên (nếu giữ nguyên nó sẽ bị tàng hình trên nền #DCE4EC) */
.flow-arrow {
  display: flex;
  align-items: center;
  padding-top: 60.8px;
  color: var(--teal); /* Đổi mũi tên sang màu xanh Teal cho đồng bộ và dễ nhìn */
  font-size: 24px;
}

.flow-num {
  font-size: 30.4px;
  font-weight: 800;
  color: var(--bright-blue);
  opacity: 0.38;
  line-height: 1;
  margin-bottom: 11.2px;
}

.flow-content h4 {
  font-size: 15.5px;
  font-weight: 700;
  color: var(--deep-blue);
  margin-bottom: 3.2px;
}

.flow-meta {
  font-size: 11.8px;
  color: var(--teal);
  font-style: italic;
  margin-bottom: 11.2px;
}

.flow-content p {
  font-size: 13.8px;
  color: var(--steel);
  line-height: 1.65;
  margin: 0;
}

.flow-arrow {
  display: flex;
  align-items: center;
  padding-top: 60.8px;
  color: var(--soft-gray);
  font-size: 20.8px;
}

.entity-card {
  background: var(--light-bg);
  border: 1px solid var(--soft-gray);
  padding: 32px;
  height: 100%;
}

.entity-card--vn {
  border-top: 3px solid var(--teal);
}

.entity-flag {
  display: inline-block;
  font-size: 10.7px;
  font-weight: 700;
  letter-spacing: 0.12em;
  background: var(--soft-gray);
  color: var(--steel);
  padding: 2.9px 8px;
  margin-bottom: 11.2px;
}

.entity-card h4 {
  font-size: 15.5px;
  font-weight: 700;
  color: var(--deep-blue);
  margin-bottom: 2.9px;
}

.entity-location {
  font-size: 12.5px;
  color: var(--mid-gray);
  margin-bottom: 11.2px;
  font-style: italic;
}

.entity-card p {
  font-size: 13.8px;
  color: var(--steel);
  line-height: 1.65;
  margin: 0;
}

.section-cta {
  text-align: center;
  margin-top: 64px;
  padding-top: 48px;
  border-top: 1px solid var(--soft-gray);
  font-size: 14.9px;
  color: var(--steel);
  line-height: 1.72;
}

.section-cta a {
  display: block;
  font-size: 15.5px;
  font-weight: 600;
  color: var(--bright-blue);
  margin-top: 8px;
}

/* ─── Services ──────────────────────────────────────────────── */
.services-list {
  display: flex;
  flex-direction: column;
  gap: 1px;
  background: var(--soft-gray);
}

.service-card {
  display: flex;
  background: var(--white);
  transition: background var(--ease);
}

.service-card:hover {
  background: #f4f8fc;
}

.service-accent {
  width: 5px;
  flex-shrink: 0;
}

.service-accent--1 {
  background: var(--bright-blue);
}

.service-accent--2 {
  background: var(--teal);
}

.service-accent--3 {
  background: var(--steel);
}

.service-accent--4 {
  background: var(--mid-gray);
}

.service-body {
  padding: 38.4px 38.4px 38.4px 32px;
  flex: 1;
}

.service-audience {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--teal);
  text-transform: uppercase;
  margin-bottom: 7.2px;
}

.service-body h3 {
  font-size: 24px;
  font-weight: 700;
  color: var(--deep-blue);
  margin-bottom: 11.2px;
}

.service-body p {
  font-size: 16px;
  color: var(--text-body);
  line-height: 1.72;
  margin-bottom: 14.4px;
}

.service-deliverables {
  border-top: 1px solid var(--soft-gray);
  padding-top: 14.4px;
}

.deliverables-label {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--mid-gray);
  text-transform: uppercase;
  margin-bottom: 5.6px;
}

.deliverables-list {
  font-size: 13.3px;
  color: var(--steel);
  line-height: 1.62;
}

.format-block,
.format-block--alt {
  background: var(--light-bg);
  border: 1px solid var(--soft-gray);
  padding: 32px;
  height: 100%;
}

.format-block--alt {
  background: var(--deep-blue);
  border-color: var(--deep-blue);
}

.format-header {
  margin-bottom: 22.4px;
  border-bottom: 1px solid var(--soft-gray);
  padding-bottom: 14.4px;
}

.format-block--alt .format-header {
  border-bottom-color: rgba(255, 255, 255, 0.1);
}

.format-header h4 {
  font-size: 15.5px;
  font-weight: 700;
  color: var(--deep-blue);
  margin-bottom: 3.2px;
}

.format-block--alt .format-header h4 {
  color: var(--white);
}

.format-tag {
  font-size: 13px;
  color: var(--teal);
  font-style: italic;
}

/* Layout các card xếp chồng */
.format-items {
  display: flex;
  flex-direction: column;
  gap: 16px; /* Khoảng cách giữa các card */
  margin-top: 24px;
}

/* Base Card Style (Cột Sáng) */
.format-item {
  background: var(--white);
  border: 1px solid var(--soft-gray);
  border-radius: 6px;
  padding: 24px;
  transition: transform var(--ease), box-shadow var(--ease);
}

.format-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(18, 62, 107, 0.08);
}

/* Alt Card Style (Cột Tối) */
.format-block--alt .format-item {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.08);
}

.format-block--alt .format-item:hover {
  background: rgba(255, 255, 255, 0.07);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

/* Typography bên trong Card */
.format-item-title {
  font-size: 15.5px;
  font-weight: 700;
  color: var(--deep-blue);
  margin-bottom: 4px;
}

.format-block--alt .format-item-title {
  color: var(--white);
}

.format-item-meta {
  font-size: 11.5px;
  color: var(--teal);
  font-style: italic;
  font-weight: 600;
  margin-bottom: 12px;
}

.format-item-body p {
  font-size: 13.6px;
  color: var(--steel);
  line-height: 1.65;
  margin: 0;
}

.format-block--alt .format-item-body p {
  color: rgba(255, 255, 255, 0.7);
}

/* ─── Work ──────────────────────────────────────────────────── */
.work-note {
  font-size: 13.1px;
  color: var(--mid-gray);
  font-style: italic;
}

.work-tabs {
  display: flex;
  border-bottom: 1px solid var(--soft-gray);
  margin-bottom: 32px;
}

.work-tab {
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  font-size: 13.8px;
  font-weight: 600;
  color: var(--mid-gray);
  padding: 12.5px 27.2px;
  cursor: pointer;
  margin-bottom: -1px;
  transition: color var(--ease), border-color var(--ease);
  font-family: var(--font);
}

.work-tab.active {
  color: var(--deep-blue);
  border-bottom-color: var(--bright-blue);
}

.work-tab:hover {
  color: var(--deep-blue);
}

.work-stream {
  display: none;
}

.work-stream.active {
  display: block;
}

.work-card {
  padding: 30.4px 0;
  border-bottom: 1px solid var(--soft-gray);
}

.work-card:last-child {
  border-bottom: none;
}

.work-meta {
  font-size: 13px;
  font-weight: 600;
  color: var(--teal);
  font-style: italic;
  margin-bottom: 6.1px;
}

.work-card h4 {
  font-size: 16.3px;
  font-weight: 700;
  color: var(--deep-blue);
  margin-bottom: 8.8px;
}

.work-card p {
  font-size: 16px;
  color: var(--steel);
  line-height: 1.72;
  margin: 0;
  max-width: 740px;
}

/* ─── Intelligence page ─────────────────────────────────────── */
.intel-philosophy {
  max-width: 660px;
  margin: 0 0 16px;
}

.intel-philosophy p {
  font-size: 16.3px;
  color: var(--text-body);
  line-height: 1.77;
  margin-bottom: 19.2px;
}

.intel-cap-card {
  background: var(--white);
  border: 1px solid var(--soft-gray);
  border-top: 3px solid var(--bright-blue);
  padding: 35.2px;
  height: 100%;
  transition: box-shadow var(--ease);
}

.intel-cap-card:hover {
  box-shadow: 0 6px 24px rgba(18, 62, 107, 0.07);
}

.intel-cap-card--alt {
  border-top-color: var(--teal);
}

.intel-cap-icon {
  font-size: 28px;
  color: var(--bright-blue);
  margin-bottom: 19.2px;
}

.intel-cap-card--alt .intel-cap-icon {
  color: var(--teal);
}

.intel-cap-card h3 {
  font-size: 24px;
  font-weight: 700;
  color: var(--deep-blue);
  margin-bottom: 11.2px;
}

.intel-cap-card p {
  font-size: 16px;
  color: var(--text-body);
  line-height: 1.72;
  margin-bottom: 16px;
}

.intel-coverage {
  margin-top: 14.4px;
}

.coverage-label {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--mid-gray);
  text-transform: uppercase;
  margin-bottom: 6.1px;
}

.coverage-items {
  font-size: 13.3px;
  color: var(--steel);
  line-height: 1.65;
}

.intel-note {
  font-size: 13px;
  color: var(--mid-gray);
  font-style: italic;
  margin-top: 11.2px;
}

.drift-section {
  border-top: 1px solid var(--soft-gray);
  padding-top: 48px;
}

.drift-card {
  background: var(--white);
  border: 1px solid var(--soft-gray);
  height: 100%;
  transition: border-color var(--ease), box-shadow var(--ease);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
}

.drift-card:hover {
  border-color: var(--steel);
  box-shadow: 0 4px 16px rgba(18, 62, 107, 0.06);
}

.drift-thumb {
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--soft-gray);
  flex-shrink: 0;
}

.drift-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
  display: block;
}

.drift-card:hover .drift-thumb img {
  transform: scale(1.04);
}

.drift-card-body {
  padding: 20px 24px 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.drift-label {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.13em;
  color: var(--teal);
  text-transform: uppercase;
  margin-bottom: 7.2px;
}

.drift-card h5 {
  font-size: 15px;
  font-weight: 700;
  color: var(--deep-blue);
  margin-bottom: 8.8px;
}

.drift-card p {
  font-size: 13.4px;
  color: var(--steel);
  line-height: 1.65;
  margin: 0;
}

/* ─── About ─────────────────────────────────────────────────── */
.firm-statement {
  max-width: 740px;
  border-left: 4px solid var(--bright-blue);
  padding-left: 32px;
  margin-top: 32px;
}

.firm-statement p {
  font-size: 16px;
  color: var(--text-body);
  line-height: 1.77;
  margin-bottom: 19.2px;
}

.about-card {
  background: var(--light-bg);
  border: 1px solid var(--soft-gray);
  padding: 35.2px;
  height: 100%;
  position: relative;
  transition: box-shadow var(--ease);
}

.about-card:hover {
  box-shadow: 0 6px 24px rgba(18, 62, 107, 0.07);
}

.about-card--anchor {
  border-top: 3px solid var(--bright-blue);
  background: white;
}

.about-anchor-badge {
  position: absolute;
  top: -1px;
  right: 24px;
  font-size: 10.1px;
  font-weight: 700;
  letter-spacing: 0.12em;
  background: var(--bright-blue);
  color: var(--white);
  padding: 3.5px 9.6px;
  text-transform: uppercase;
}

.about-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--soft-gray);
  margin-bottom: 19.2px;
  overflow: hidden;
  border: 3px solid var(--white);
  box-shadow: 0 4px 14px rgba(12, 42, 71, 0.12);
  flex-shrink: 0;
}

.about-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}

.about-card h4 {
  font-size: 15.8px;
  font-weight: 700;
  color: var(--deep-blue);
  margin-bottom: 3.5px;
}

.about-title {
  font-size: 12.8px;
  color: var(--bright-blue);
  font-weight: 500;
  margin-bottom: 2.9px;
}

.about-entity {
  font-size: 12px;
  color: var(--mid-gray);
  font-style: italic;
  margin-bottom: 14.4px;
}

.about-card p {
  font-size: 13.8px;
  color: var(--steel);
  line-height: 1.65;
  margin: 0;
}

.advisors-section {
  background: var(--light-bg);
  padding: 40px;
  margin: 0 -32px;
}

.advisor-domain {
  background: var(--white);
  border: 1px solid var(--soft-gray);
  padding: 13.6px 19.2px;
  font-size: 13.6px;
  color: var(--text-body);
  display: flex;
  align-items: center;
  gap: 9.6px;
  font-weight: 500;
}

.advisor-domain i {
  color: var(--teal);
}

.partner-card {
  background: var(--light-bg);
  border: 1px solid var(--soft-gray);
  padding: 24.8px;
  height: 100%;
}

.partner-pillar {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--teal);
  text-transform: uppercase;
  margin-bottom: 6.1px;
}

.partner-card h5 {
  font-size: 14.9px;
  font-weight: 700;
  color: var(--deep-blue);
  margin-bottom: 7.2px;
}

.partner-card p {
  font-size: 13.4px;
  color: var(--steel);
  line-height: 1.62;
  margin: 0;
}

/* ─── Contact ───────────────────────────────────────────────── */
.contact-section {
  background: var(--deep-blue);
  padding: 128px 32px;
}

.contact-sub {
  font-size: 15.4px;
  color: rgba(255, 255, 255, 0.62);
  max-width: 590px;
  margin: 0 auto 14.4px;
  line-height: 1.77;
}

.contact-form .form-label {
  font-size: 12.2px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.52);
  text-transform: uppercase;
  margin-bottom: 6.1px;
}

.contact-form .form-control {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 0;
  color: var(--white);
  font-size: 14.9px;
  padding: 13.1px 16px;
  transition: border-color var(--ease), background var(--ease);
}

.contact-form .form-control:focus {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--teal);
  box-shadow: none;
  color: var(--white);
}

.contact-form .form-control::placeholder {
  color: rgba(255, 255, 255, 0.24);
}

.contact-form .btn-submit {
  background: var(--bright-blue);
  color: var(--white);
  border-radius: 0;
  padding: 15.2px;
  font-size: 14.1px;
  font-weight: 600;
  letter-spacing: 0.06em;
  border: none;
  width: 100%;
  transition: background var(--ease);
  cursor: pointer;
  font-family: var(--font);
}

.contact-form .btn-submit:hover {
  background: var(--teal);
}

.form-success {
  margin-top: 22.4px;
  padding: 15.2px 22.4px;
  background: rgba(79, 143, 157, 0.14);
  border-left: 3px solid var(--teal);
  color: var(--teal);
  font-size: 14.1px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.contact-info-col {
  padding-top: 32px;
}

.contact-info-label {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--teal);
  text-transform: uppercase;
  margin-bottom: 7.2px;
}

.contact-email {
  font-size: 15.5px;
  font-weight: 600;
  color: var(--white);
  display: block;
  transition: color var(--ease);
}

.contact-email:hover {
  color: var(--teal);
}

.contact-address {
  font-size: 13.4px;
  color: var(--mid-gray);
  line-height: 1.65;
}

/* ─── Footer ────────────────────────────────────────────────── */
.site-footer {
  background: var(--dark-navy);
  padding: 48px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-brand {
  font-size: 13.8px;
  font-weight: 800;
  color: var(--white);
  letter-spacing: 0.15em;
  margin-bottom: 3.5px;
}

.footer-tagline {
  font-size: 11.5px;
  color: var(--mid-gray);
  letter-spacing: 0.08em;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2.4px 20.8px;
}

.footer-nav a {
  font-size: 12.5px;
  color: var(--mid-gray);
  transition: color var(--ease);
}

.footer-nav a:hover {
  color: var(--white);
}

.footer-entities {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2.9px;
  margin-bottom: 6.1px;
}

.footer-entities span {
  font-size: 11.5px;
  color: var(--mid-gray);
}

.footer-email {
  font-size: 12.5px;
  color: var(--steel);
  font-weight: 500;
  transition: color var(--ease);
}

.footer-email:hover {
  color: var(--teal);
}

.footer-legal {
  margin-top: 32px;
  padding-top: 22.4px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-legal span {
  font-size: 11.2px;
  color: rgba(255, 255, 255, 0.18);
  line-height: 1.5;
}

/* ─── Cookie ────────────────────────────────────────────────── */
.cookie-banner {
  position: fixed;
  bottom: 32px;
  left: 32px;
  right: 32px;
  max-width: 660px;
  background: var(--dark-navy);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 19.2px 24px;
  display: flex;
  align-items: center;
  gap: 22.4px;
  z-index: 9999;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  transition: transform 0.4s ease, opacity 0.4s ease;
}

.cookie-banner.hidden {
  transform: translateY(130%);
  opacity: 0;
  pointer-events: none;
}

.cookie-text {
  font-size: 12.8px;
  color: var(--mid-gray);
  line-height: 1.55;
  flex: 1;
}

.btn-cookie-accept,
.btn-cookie-decline {
  font-size: 12.2px;
  font-weight: 600;
  border: none;
  padding: 7.7px 16px;
  cursor: pointer;
  white-space: nowrap;
  transition: background var(--ease);
  font-family: var(--font);
}

.btn-cookie-accept {
  background: var(--bright-blue);
  color: var(--white);
}

.btn-cookie-accept:hover {
  background: var(--teal);
}

.btn-cookie-decline {
  background: transparent;
  color: var(--mid-gray);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-cookie-decline:hover {
  color: var(--white);
}

/* ─── Utilities ─────────────────────────────────────────────── */
.d-none {
  display: none !important;
}

[data-aos] {
  pointer-events: none;
}

[data-aos].aos-animate {
  pointer-events: auto;
}

/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════════ */
@media (max-width: 991px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stat-item {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  }

  .stat-item:nth-child(odd) {
    border-right: 1px solid rgba(255, 255, 255, 0.07);
  }

  .stat-item:last-child,
  .stat-item:nth-last-child(2):nth-child(odd) {
    border-bottom: none;
  }

  .flow-steps {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .flow-arrow {
    display: none;
  }

  .position-grid {
    grid-template-columns: 1fr;
  }

  .position-divider {
    display: none;
  }

  .footer-entities {
    align-items: flex-start;
  }

  .footer-nav {
    justify-content: flex-start;
  }

  .intel-layer-section .row {
    flex-direction: column-reverse;
  }

  .intel-viz {
    margin-bottom: 32px;
  }

  .hero-section-mini {
    padding: 56px 32px 56px;
  }
}

/* ═══════════════════════════════════════════════════════════════
   CẬP NHẬT RESPONSIVE CHO MOBILE (Thay thế vào đoạn @max-width: 767px)
   ═══════════════════════════════════════════════════════════════ */
@media (max-width: 767px) {

  /* Khóa trục ngang an toàn cho mọi trang */
  html,
  body {
    overflow-x: hidden;
  }

  /* 1. TYPOGRAPHY (Giảm kích thước chữ tiêu đề) */
  .section-heading {
    font-size: clamp(30px, 7vw, 36px);
    margin-bottom: 24px;
  }

  .hero-headline-sm {
    font-size: clamp(28px, 6vw, 36px);
    margin-bottom: 16px;
  }

  .sub-heading {
    font-size: 22px;
  }

  /* 2. SPACING TỔNG THỂ (Giảm khoảng cách trên mobile) */
  .py-section {
    padding: 64px 20px;
  }

  .container-xl {
    padding: 0 20px;
  }

  /* --- TRANG ABOUT --- */
  .firm-statement {
    padding-left: 16px;
    margin-top: 24px;
  }

  .about-card {
    padding: 24px;
  }

  .partner-card {
    padding: 20px;
  }

  .advisors-section {
    margin: 0 -20px;
    padding: 32px 20px;
  }

  .advisor-domain {
    padding: 11.2px 16px;
    font-size: 12.8px;
  }

  /* --- TRANG APPROACH --- */
  .hero-section-mini {
    padding: 48px 20px;
  }

  .approach-quote-block {
     padding: 16px 0 16px 24px;
  }

  .approach-quote-block blockquote {
    font-size: 16.8px;
    line-height: 1.5;
  }

  .flow-steps {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .flow-arrow {
    display: none;
  }

  /* Ẩn mũi tên ngang vì đã xếp dọc */
  .flow-step {
    padding: 24px;
  }

  .entity-card {
    padding: 24px;
  }

  /* --- TRANG SERVICES --- */
  .service-body {
    padding: 24px 20px;
  }

  .service-body h3 {
    font-size: 16.8px;
  }

  .format-block,
  .format-block--alt {
    padding: 24px;
  }

  /* --- TRANG INTELLIGENCE --- */
  .intel-cap-card {
    padding: 24px;
  }

  .drift-card-body {
    padding: 16px 20px 20px;
  }

  /* --- TRANG WORK (Biến Tab thành dạng vuốt ngang UX tốt hơn) --- */
  .work-tabs {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    /* Cho phép vuốt ngang */
    -webkit-overflow-scrolling: touch;
    /* Mượt mà trên iOS */
    padding-bottom: 2px;
    margin-right: -20px;
    /* Tràn lề phải để vuốt tự nhiên */
    padding-right: 20px;
    scrollbar-width: none;
    /* Ẩn thanh cuộn Firefox */
  }

  .work-tabs::-webkit-scrollbar {
    display: none;
  }

  /* Ẩn thanh cuộn Chrome/Safari */
  .work-tab {
    white-space: nowrap;
    flex-shrink: 0;
    padding: 11.2px 19.2px;
  }

  .work-card {
    padding: 24px 0;
  }

  /* --- TRANG CONTACT --- */
  .contact-section {
    padding: 64px 20px;
  }

  .contact-info-col {
    margin-top: 16px;
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }

  /* Fix lỗi Container g-4 g-5 của Bootstrap gây tràn lề trên mobile */
  .row.g-4,
  .row.g-5 {
    --bs-gutter-x: 20px;
  }
}

@media (max-width: 480px) {
  .stats-grid {
    grid-template-columns: 1fr;
  }

  .stat-item {
    border-right: none !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  }

  .hero-headline {
    font-size: 28px;
  }

  /* Further reductions for very small screens */
  .stats-section {
    padding: 40px 0;
  }

  .stat-item {
    padding: 24px 20px;
  }

  .cta-home-section {
    padding: 48px 20px;
  }

  .contact-section {
    padding: 48px 20px;
  }

  .hero-section-mini {
    padding: 32px 0;
  }

  .flow-step {
    padding: 24px 20px;
  }

  .service-body {
    padding: 22.4px 16px;
  }

  .about-card {
    padding: 24px;
  }

  .team-card {
    padding: 24px;
  }

  .format-block,
  .format-block--alt {
    padding: 24px;
  }

  .cred-card {
    padding: 24px;
  }

  .intel-cap-card {
    padding: 24px;
  }

  .drift-card-body {
    padding: 16px 20px 20px;
  }
}

@media print {

  #mainNav,
  .cookie-banner,
  .nav-drawer,
  .nav-overlay {
    display: none;
  }

  body {
    background: white;
    color: black;
    padding-top: 0;
  }
}
