/* ==========================================================================
   CÔNG TY TNHH VẬN TẢI BIỂN KHẢI MINH — CORPORATE WEBSITE REDESIGN (DEMO)
   Brand Palette:
   - Deep Maritime Navy: #0B1426 / #111E38
   - Khai Minh Royal Indigo: #3E2756 / #59387A
   - Khai Minh Crimson Red: #E62A29 / #D11F1E
   - Slate Neutrals: #F8FAFC / #F1F5F9 / #0F172A / #475569
   ========================================================================== */

:root {
  --km-navy-950: #070e1c;
  --km-navy-900: #0c172e;
  --km-navy-800: #152546;
  --km-indigo-900: #342049;
  --km-indigo-700: #4c2f6b;
  --km-indigo-600: #613d87;
  --km-red-600: #e62a29;
  --km-red-700: #c81e1d;
  --km-red-soft: rgba(230, 42, 41, 0.1);
  --km-sky-500: #0ea5e9;
  --km-emerald-500: #10b981;
  --km-amber-500: #f59e0b;

  --bg-body: #f8fafc;
  --bg-surface: #ffffff;
  --bg-subtle: #f1f5f9;
  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-muted: #64748b;
  --border-light: #e2e8f0;
  --border-strong: #cbd5e1;

  --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.05);
  --shadow-md: 0 10px 30px -6px rgba(12, 23, 46, 0.1);
  --shadow-lg: 0 22px 48px -12px rgba(12, 23, 46, 0.18);
  --shadow-red: 0 12px 28px -6px rgba(230, 42, 41, 0.38);

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --container-max: 1340px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: 'Be Vietnam Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: var(--bg-body);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.22s ease;
}

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

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

/* ==================== TOP UTILITY BAR ==================== */
.topbar {
  background: linear-gradient(90deg, var(--km-navy-950) 0%, var(--km-indigo-900) 60%, var(--km-navy-900) 100%);
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.8125rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
  z-index: 60;
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 40px;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 6px;
  padding-bottom: 6px;
}

.topbar-left,
.topbar-right {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.topbar-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: rgba(255, 255, 255, 0.85);
}

.topbar-item svg {
  width: 14px;
  height: 14px;
  color: #f87171;
  flex-shrink: 0;
}

.topbar-item:hover {
  color: #ffffff;
}

.topbar-divider {
  width: 1px;
  height: 13px;
  background: rgba(255, 255, 255, 0.18);
}

.erp-badge-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #ffffff;
  font-weight: 600;
  font-size: 0.75rem;
}

.erp-badge-link:hover {
  background: rgba(230, 42, 41, 0.85);
  border-color: var(--km-red-600);
}

.lang-switch {
  display: inline-flex;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  padding: 2px;
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.lang-btn {
  border: none;
  background: transparent;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.lang-btn.active {
  background: var(--km-red-600);
  color: #ffffff;
}

/* ==================== MAIN STICKY HEADER ==================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 55;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.9);
  transition: box-shadow 0.25s ease, background 0.25s ease;
}

.site-header.scrolled {
  box-shadow: 0 10px 30px -10px rgba(12, 23, 46, 0.14);
  background: rgba(255, 255, 255, 0.98);
}

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

.brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.brand-logo img {
  height: 46px;
  width: auto;
  object-fit: contain;
}

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

.brand-title {
  font-size: 0.96rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--km-indigo-900);
  line-height: 1.15;
}

.brand-sub {
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 2px;
}

.nav-link {
  padding: 7px 7px;
  border-radius: 9px;
  font-size: 0.815rem;
  font-weight: 600;
  color: var(--text-primary);
  position: relative;
  white-space: nowrap;
}

.nav-link:hover,
.nav-link.active {
  color: var(--km-red-600);
  background: rgba(230, 42, 41, 0.06);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.header-actions .btn {
  padding: 10px 16px;
  font-size: 0.86rem;
}

.hotline-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px 6px 7px;
  border-radius: 999px;
  background: var(--bg-subtle);
  border: 1px solid var(--border-light);
}

.hotline-pill:hover {
  border-color: var(--km-indigo-600);
  background: #ffffff;
}

.hotline-icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--km-indigo-700), var(--km-navy-800));
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hotline-icon svg {
  width: 16px;
  height: 16px;
}

.hotline-meta {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.hotline-label {
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.hotline-number {
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--km-navy-900);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 12px;
  font-size: 0.92rem;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: all 0.24s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
}

.btn svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.btn-primary {
  background: linear-gradient(135deg, var(--km-red-600) 0%, #c81e1d 100%);
  color: #ffffff;
  box-shadow: var(--shadow-red);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 32px -6px rgba(230, 42, 41, 0.5);
  filter: brightness(1.04);
}

.btn-outline-light {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  border: 1.5px solid rgba(255, 255, 255, 0.32);
  backdrop-filter: blur(8px);
}

.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: #ffffff;
  transform: translateY(-2px);
}

.btn-navy {
  background: linear-gradient(135deg, var(--km-navy-900), var(--km-indigo-700));
  color: #ffffff;
  box-shadow: var(--shadow-md);
}

.btn-navy:hover {
  transform: translateY(-2px);
  filter: brightness(1.08);
}

.mobile-menu-btn {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  border: 1px solid var(--border-light);
  background: #ffffff;
  color: var(--text-primary);
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

/* ==================== HERO SECTION ==================== */
.hero {
  position: relative;
  min-height: 760px;
  display: flex;
  align-items: center;
  padding: 72px 0 88px;
  background-color: var(--km-navy-950);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.02);
  filter: saturate(1.08) contrast(1.04);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(100deg, rgba(7, 14, 28, 0.93) 0%, rgba(15, 25, 48, 0.85) 48%, rgba(36, 22, 54, 0.68) 100%),
    radial-gradient(circle at 80% 20%, rgba(230, 42, 41, 0.18), transparent 45%);
}

.hero-grid-pattern {
  position: absolute;
  inset: 0;
  z-index: 2;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.7), transparent 90%);
}

.hero-content {
  position: relative;
  z-index: 5;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #f8fafc;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 22px;
  backdrop-filter: blur(8px);
}

.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ef4444;
  box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.28);
}

.hero-title {
  font-size: clamp(2.2rem, 3.8vw, 3.45rem);
  font-weight: 800;
  color: #ffffff;
  line-height: 1.16;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}

.hero-title .accent {
  background: linear-gradient(90deg, #ff6b6b 0%, #fbbf24 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  font-size: 1.06rem;
  color: rgba(241, 245, 249, 0.86);
  max-width: 610px;
  margin-bottom: 30px;
  line-height: 1.72;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

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

.hero-stat-num {
  font-size: 1.75rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.hero-stat-num span {
  color: #ff5757;
}

.hero-stat-label {
  font-size: 0.78rem;
  color: rgba(226, 232, 240, 0.78);
  margin-top: 5px;
  font-weight: 500;
}

/* ==================== HERO INTERACTIVE QUOTE WIDGET ==================== */
.quote-widget {
  background: rgba(255, 255, 255, 0.97);
  border-radius: var(--radius-lg);
  box-shadow: 0 28px 60px -12px rgba(4, 9, 20, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.5);
  overflow: hidden;
}

.widget-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: #f1f5f9;
  padding: 6px;
  gap: 6px;
}

.widget-tab {
  border: none;
  background: transparent;
  padding: 11px 12px;
  border-radius: 11px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-secondary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  transition: all 0.2s ease;
}

.widget-tab svg {
  width: 16px;
  height: 16px;
}

.widget-tab.active {
  background: #ffffff;
  color: var(--km-indigo-900);
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.08);
}

.widget-body {
  padding: 24px;
}

.widget-header-note {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.widget-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--km-navy-900);
}

.sla-chip {
  font-size: 0.72rem;
  font-weight: 700;
  color: #047857;
  background: #d1fae5;
  padding: 3px 10px;
  border-radius: 999px;
}

.form-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 12px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-bottom: 12px;
}

.form-grid-2 .form-group {
  margin-bottom: 0;
}

.form-label {
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--text-secondary);
}

.form-control {
  width: 100%;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1.5px solid var(--border-light);
  background: #f8fafc;
  color: var(--text-primary);
  font-size: 0.88rem;
  font-weight: 500;
  transition: border-color 0.2s, background 0.2s;
}

.form-control:focus {
  outline: none;
  border-color: var(--km-indigo-600);
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(97, 61, 135, 0.12);
}

.widget-submit {
  width: 100%;
  margin-top: 6px;
  padding: 13px 20px;
  font-size: 0.94rem;
}

.quote-instant-result {
  margin-top: 14px;
  padding: 14px;
  border-radius: 12px;
  background: linear-gradient(135deg, #f0f9ff 0%, #eef2ff 100%);
  border: 1px solid #bae6fd;
  display: none;
}

.quote-instant-result.show {
  display: block;
  animation: fadeSlideUp 0.28s ease;
}

.result-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.result-code {
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--km-indigo-700);
  background: rgba(97, 61, 135, 0.12);
  padding: 2px 8px;
  border-radius: 6px;
}

.result-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin: 10px 0;
}

.result-metric-box {
  background: #ffffff;
  padding: 8px 10px;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
}

.result-metric-box small {
  display: block;
  font-size: 0.68rem;
  color: var(--text-muted);
}

.result-metric-box strong {
  font-size: 0.84rem;
  color: var(--km-navy-900);
}

.result-actions {
  display: flex;
  gap: 8px;
  margin-top: 10px;
}

.btn-zalo-sm,
.btn-call-sm {
  flex: 1;
  padding: 8px 10px;
  border-radius: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  text-align: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.btn-zalo-sm {
  background: #0068ff;
  color: #ffffff;
}

.btn-call-sm {
  background: var(--km-navy-900);
  color: #ffffff;
}

/* ==================== TRUST / SHIPPING LINES RIBBON ==================== */
.partners-ribbon {
  background: #ffffff;
  border-bottom: 1px solid var(--border-light);
  padding: 26px 0;
}

.ribbon-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
}

.ribbon-label {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  max-width: 240px;
}

.carrier-logos {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  flex: 1;
  justify-content: flex-end;
}

.carrier-pill {
  padding: 9px 18px;
  border-radius: 10px;
  background: var(--bg-body);
  border: 1px solid var(--border-light);
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--km-navy-800);
  transition: all 0.2s ease;
}

.carrier-pill span {
  color: var(--km-red-600);
}

.carrier-pill:hover {
  border-color: var(--km-indigo-600);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

/* ==================== SECTION HEADERS ==================== */
.section {
  padding: 92px 0;
}

.section-subtle {
  background: var(--bg-subtle);
}

.section-dark {
  background: linear-gradient(145deg, var(--km-navy-950) 0%, var(--km-navy-900) 55%, var(--km-indigo-900) 100%);
  color: #ffffff;
  position: relative;
  overflow: hidden;
}

.section-header {
  max-width: 720px;
  margin-bottom: 52px;
}

.section-header.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--km-red-600);
  background: var(--km-red-soft);
  padding: 5px 13px;
  border-radius: 999px;
  margin-bottom: 14px;
}

.section-dark .eyebrow {
  background: rgba(230, 42, 41, 0.22);
  color: #fca5a5;
}

.section-title {
  font-size: clamp(1.8rem, 2.8vw, 2.5rem);
  font-weight: 800;
  line-height: 1.22;
  letter-spacing: -0.02em;
  color: var(--km-navy-900);
  margin-bottom: 14px;
}

.section-dark .section-title {
  color: #ffffff;
}

.section-subtitle {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.section-dark .section-subtitle {
  color: rgba(226, 232, 240, 0.8);
}

/* ==================== ABOUT KHAI MINH SECTION ==================== */
.about-grid {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: 56px;
  align-items: center;
}

.about-visual {
  position: relative;
}

.about-main-img {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 16 / 11;
}

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

.about-float-card {
  position: absolute;
  bottom: 18px;
  right: 18px;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  padding: 18px 22px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  border-left: 4px solid var(--km-red-600);
  max-width: 285px;
}

.about-float-card strong {
  display: block;
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--km-indigo-900);
}

.about-float-card span {
  font-size: 0.83rem;
  color: var(--text-secondary);
}

.about-hq-tag {
  position: absolute;
  top: 20px;
  left: 20px;
  background: rgba(12, 23, 46, 0.86);
  backdrop-filter: blur(10px);
  color: #ffffff;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.about-pillars {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 28px 0 32px;
}

.pillar-box {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 16px 18px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  box-shadow: var(--shadow-sm);
}

.pillar-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(76, 47, 107, 0.12), rgba(230, 42, 41, 0.12));
  color: var(--km-indigo-700);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.pillar-icon svg {
  width: 20px;
  height: 20px;
}

.pillar-box h4 {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--km-navy-900);
  margin-bottom: 3px;
}

.pillar-box p {
  font-size: 0.8rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* ==================== CORE SERVICES CARDS ==================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.service-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(97, 61, 135, 0.35);
}

.service-media {
  position: relative;
  height: 230px;
  overflow: hidden;
}

.service-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.service-card:hover .service-media img {
  transform: scale(1.06);
}

.service-tag {
  position: absolute;
  top: 16px;
  left: 16px;
  background: rgba(12, 23, 46, 0.85);
  backdrop-filter: blur(8px);
  color: #ffffff;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 700;
}

.service-icon-floating {
  position: absolute;
  bottom: 14px;
  right: 16px;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--km-red-600);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-red);
}

.service-icon-floating svg {
  width: 24px;
  height: 24px;
}

.service-body {
  padding: 28px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.service-body h3 {
  font-size: 1.28rem;
  font-weight: 800;
  color: var(--km-navy-900);
  margin-bottom: 10px;
}

.service-body p {
  font-size: 0.92rem;
  color: var(--text-secondary);
  margin-bottom: 18px;
}

.service-bullets {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 12px;
  margin-bottom: 24px;
}

.service-bullets li {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 7px;
}

.service-bullets li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--km-red-600);
  flex-shrink: 0;
}

.service-footer {
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--km-indigo-700);
  background: none;
  border: none;
  cursor: pointer;
}

.link-arrow:hover {
  color: var(--km-red-600);
  gap: 10px;
}

/* ==================== INTERACTIVE ROUTE NETWORK ==================== */
.routes-layout {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 36px;
  align-items: stretch;
}

.route-map-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.map-svg-wrap {
  width: 100%;
  max-width: 390px;
  margin: 12px auto;
}

.route-filter-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.route-tab-btn {
  padding: 9px 16px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.83rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.route-tab-btn.active,
.route-tab-btn:hover {
  background: var(--km-red-600);
  border-color: var(--km-red-600);
  color: #ffffff;
}

.route-cards-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.route-item-card {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  transition: all 0.22s ease;
}

.route-item-card:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.32);
  transform: translateX(4px);
}

.route-item-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.route-ports {
  font-size: 1.04rem;
  font-weight: 800;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 8px;
}

.route-freq {
  font-size: 0.74rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(16, 185, 129, 0.2);
  color: #6ee7b7;
  border: 1px solid rgba(16, 185, 129, 0.35);
}

.route-specs {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 0.82rem;
  color: rgba(226, 232, 240, 0.85);
}

.route-specs strong {
  color: #ffffff;
}

.industry-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.industry-chip {
  font-size: 0.76rem;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.09);
  color: #e2e8f0;
}

/* ==================== CONTAINER SPECIFICATIONS TOOL ==================== */
.cont-selector-bar {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.cont-btn {
  padding: 11px 20px;
  border-radius: 12px;
  border: 1.5px solid var(--border-light);
  background: #ffffff;
  color: var(--text-secondary);
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.cont-btn.active {
  background: var(--km-navy-900);
  border-color: var(--km-navy-900);
  color: #ffffff;
  box-shadow: var(--shadow-md);
}

.cont-showcase {
  background: #ffffff;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-light);
  padding: 36px;
  box-shadow: var(--shadow-md);
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 40px;
  align-items: center;
}

.cont-visual-box {
  background: linear-gradient(145deg, #0f172a 0%, #2e1d44 100%);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  color: #ffffff;
  text-align: center;
  position: relative;
}

.cont-type-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--km-red-600);
  font-size: 0.75rem;
  font-weight: 800;
  margin-bottom: 16px;
}

.cont-dims-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin: 20px 0;
}

.cont-dim-item {
  background: var(--bg-subtle);
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid var(--border-light);
}

.cont-dim-item span {
  display: block;
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 600;
}

.cont-dim-item strong {
  font-size: 1.12rem;
  font-weight: 800;
  color: var(--km-navy-900);
}

/* ==================== WHY CHOOSE US & WORKFLOW ==================== */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.why-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: all 0.25s ease;
  position: relative;
}

.why-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--km-indigo-600);
}

.why-icon {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--km-navy-900), var(--km-indigo-700));
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.why-icon svg {
  width: 24px;
  height: 24px;
}

.why-card h3 {
  font-size: 1.08rem;
  font-weight: 800;
  color: var(--km-navy-900);
  margin-bottom: 8px;
}

.why-card p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

.workflow-strip {
  margin-top: 56px;
  background: linear-gradient(135deg, var(--km-navy-900) 0%, var(--km-indigo-900) 100%);
  border-radius: var(--radius-xl);
  padding: 38px 36px;
  color: #ffffff;
}

.workflow-steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
  margin-top: 26px;
}

.wf-step {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  padding: 18px;
  position: relative;
}

.wf-num {
  display: inline-flex;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: var(--km-red-600);
  color: #ffffff;
  font-size: 0.82rem;
  font-weight: 800;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
}

.wf-step h4 {
  font-size: 0.92rem;
  font-weight: 700;
  margin-bottom: 5px;
}

.wf-step p {
  font-size: 0.78rem;
  color: rgba(226, 232, 240, 0.78);
  line-height: 1.5;
}

/* ==================== NEWS & KNOWLEDGE ==================== */
.news-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.news-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.25s ease;
}

.news-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.news-thumb {
  height: 170px;
  overflow: hidden;
  position: relative;
}

.news-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.news-cat {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--km-indigo-900);
  color: #ffffff;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 999px;
}

.news-content {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.news-date {
  font-size: 0.74rem;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.news-content h3 {
  font-size: 0.98rem;
  font-weight: 800;
  color: var(--km-navy-900);
  line-height: 1.4;
  margin-bottom: 10px;
}

.news-content p {
  font-size: 0.83rem;
  color: var(--text-secondary);
  margin-bottom: 16px;
  flex: 1;
}

/* ==================== CONTACT & QUOTE SECTION ==================== */
.contact-box {
  background: #ffffff;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
}

.contact-info-panel {
  background: linear-gradient(155deg, var(--km-navy-950) 0%, var(--km-indigo-900) 100%);
  color: #ffffff;
  padding: 44px 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

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

.contact-info-row {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.contact-info-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.1);
  color: #f87171;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-info-icon svg {
  width: 19px;
  height: 19px;
}

.contact-info-row small {
  display: block;
  font-size: 0.74rem;
  color: rgba(226, 232, 240, 0.7);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.contact-info-row strong {
  font-size: 0.95rem;
  color: #ffffff;
}

.map-embed-frame {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  height: 190px;
}

.map-embed-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.contact-form-panel {
  padding: 44px 42px;
}

/* ==================== FOOTER ==================== */
.site-footer {
  background: var(--km-navy-950);
  color: rgba(226, 232, 240, 0.8);
  padding: 72px 0 28px;
  border-top: 4px solid var(--km-red-600);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo-wrap {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: #ffffff;
  padding: 10px 16px;
  border-radius: 14px;
  margin-bottom: 18px;
}

.footer-logo-wrap img {
  height: 44px;
  width: auto;
}

.footer-col h4 {
  color: #ffffff;
  font-size: 0.96rem;
  font-weight: 800;
  margin-bottom: 18px;
  position: relative;
}

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

.footer-links a {
  font-size: 0.85rem;
  color: rgba(226, 232, 240, 0.76);
}

.footer-links a:hover {
  color: #ffffff;
  padding-left: 4px;
}

.footer-bottom {
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 0.82rem;
  color: rgba(148, 163, 184, 0.9);
}

/* ==================== FLOATING QUICK CONTACT DOCK ==================== */
.floating-dock {
  position: fixed;
  right: 22px;
  bottom: 24px;
  z-index: 70;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.dock-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
  position: relative;
  transition: transform 0.22s ease;
}

.dock-btn:hover {
  transform: scale(1.08);
}

.dock-zalo {
  background: linear-gradient(135deg, #0068ff, #0091ff);
  font-weight: 800;
  font-size: 0.78rem;
}

.dock-call {
  background: linear-gradient(135deg, var(--km-red-600), #b91c1c);
}

.dock-call::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid rgba(230, 42, 41, 0.5);
  animation: pulseRing 1.8s infinite;
}

/* ==================== MODAL SYSTEM ==================== */
.km-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(7, 14, 28, 0.72);
  backdrop-filter: blur(6px);
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.km-modal-backdrop.open {
  display: flex;
}

.km-modal {
  background: #ffffff;
  border-radius: var(--radius-lg);
  max-width: 760px;
  width: 100%;
  max-height: 88vh;
  overflow-y: auto;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.4);
  animation: fadeSlideUp 0.25s ease;
}

.km-modal-header {
  padding: 22px 28px;
  background: linear-gradient(135deg, var(--km-navy-900), var(--km-indigo-900));
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
}

.km-modal-close {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
  font-size: 1.2rem;
  cursor: pointer;
}

.km-modal-body {
  padding: 28px;
}

@keyframes pulseRing {
  0% { transform: scale(0.95); opacity: 0.9; }
  100% { transform: scale(1.28); opacity: 0; }
}

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

/* ==================== RESPONSIVE BREAKPOINTS ==================== */
@media (max-width: 1280px) {
  .hotline-pill {
    display: none;
  }
}

@media (max-width: 1100px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-btn {
    display: inline-flex;
  }
  .hero-content,
  .about-grid,
  .routes-layout,
  .cont-showcase,
  .contact-box {
    grid-template-columns: 1fr;
  }
  .workflow-steps {
    grid-template-columns: repeat(2, 1fr);
  }
  .news-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 720px) {
  .container {
    padding: 0 16px;
  }
  .topbar-left .topbar-address {
    display: none;
  }
  .header-inner {
    height: 68px;
  }
  .brand-logo img {
    height: 38px;
  }
  .brand-title {
    font-size: 0.88rem;
  }
  .brand-sub {
    font-size: 0.56rem;
  }
  .header-actions .btn-primary {
    display: none;
  }
  .hero {
    padding: 44px 0 60px;
  }
  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
  }
  .services-grid,
  .why-grid,
  .news-grid,
  .workflow-steps,
  .about-pillars,
  .form-grid-2,
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .service-bullets {
    grid-template-columns: 1fr;
  }
  .about-float-card {
    position: static;
    margin-top: 16px;
    max-width: 100%;
  }
  .cont-dims-grid {
    grid-template-columns: 1fr 1fr;
  }
  .contact-info-panel,
  .contact-form-panel {
    padding: 28px 22px;
  }
}

/* Mobile Nav Drawer */
.mobile-drawer {
  position: fixed;
  inset: 0;
  z-index: 95;
  background: rgba(7, 14, 28, 0.65);
  display: none;
}

.mobile-drawer.open {
  display: block;
}

.mobile-drawer-panel {
  width: min(320px, 86vw);
  height: 100%;
  background: #ffffff;
  margin-left: auto;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mobile-drawer-panel a {
  padding: 12px 14px;
  border-radius: 10px;
  font-weight: 700;
  color: var(--km-navy-900);
}

.mobile-drawer-panel a:hover {
  background: var(--bg-subtle);
  color: var(--km-red-600);
}

/* ==================== FEATURED CLIENT PARTNERS SECTION ==================== */
.client-partners-section {
  padding: 46px 0 52px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.client-partners-section .section-header {
  text-align: center;
  margin: 0 auto 26px;
  max-width: 720px;
}

.client-partners-section .section-title {
  font-size: clamp(1.42rem, 2.2vw, 1.85rem);
  margin-bottom: 8px;
}

.client-partners-section .section-subtitle {
  font-size: 0.92rem;
  line-height: 1.6;
}

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

.client-partner-card {
  flex: 0 0 calc((100% - 64px) / 5);
  max-width: calc((100% - 64px) / 5);
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 3px 14px rgba(12, 23, 46, 0.04);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
  position: relative;
}

.client-partner-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--km-indigo-700), var(--km-red-600));
  opacity: 0;
  transition: opacity 0.22s ease;
}

.client-partner-card:hover {
  transform: translateY(-4px);
  border-color: rgba(76, 47, 107, 0.35);
  box-shadow: var(--shadow-md);
}

.client-partner-card:hover::before {
  opacity: 1;
}

.client-logo-stage {
  height: 76px;
  padding: 10px 14px;
  background: #ffffff;
  border-bottom: 1px solid #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: center;
}

.client-logo-stage img {
  width: 150px;
  height: 54px;
  max-width: 100%;
  object-fit: contain;
  transition: transform 0.22s ease;
}

.client-partner-card:hover .client-logo-stage img {
  transform: scale(1.05);
}

.client-partner-body {
  padding: 11px 12px 13px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 3px;
  flex: 1;
  text-align: center;
  background: #fcfdff;
}

.client-partner-name {
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--km-navy-900);
  line-height: 1.3;
}

.client-partner-sub {
  font-size: 0.75rem;
  color: var(--text-secondary);
  line-height: 1.42;
}

.seo-prose .client-partners-grid {
  gap: 14px;
  margin: 18px 0 24px;
}

.seo-prose .client-partner-card {
  flex: 0 0 calc((100% - 28px) / 3);
  max-width: calc((100% - 28px) / 3);
}

@media (max-width: 1024px) {
  .client-partners-grid {
    gap: 14px;
  }
  .client-partner-card {
    flex: 0 0 calc((100% - 28px) / 3);
    max-width: calc((100% - 28px) / 3);
  }
}

@media (max-width: 640px) {
  .client-partners-section {
    padding: 30px 0 34px;
  }
  .client-partners-section .section-header {
    margin-bottom: 18px;
  }
  .client-partners-section .section-subtitle {
    font-size: 0.84rem;
  }
  .client-partners-grid,
  .seo-prose .client-partners-grid {
    gap: 10px;
  }
  .client-partner-card,
  .seo-prose .client-partner-card {
    flex: 0 0 calc((100% - 10px) / 2);
    max-width: calc((100% - 10px) / 2);
    border-radius: 12px;
  }
  .client-logo-stage {
    height: 58px;
    padding: 7px 10px;
  }
  .client-logo-stage img {
    width: 122px;
    height: 44px;
  }
  .client-partner-body {
    padding: 8px 8px 10px;
    gap: 2px;
  }
  .client-partner-name {
    font-size: 0.81rem;
  }
  .client-partner-sub {
    font-size: 0.7rem;
    line-height: 1.35;
  }
}

/* ==================== SEO PILLAR & ARTICLE PAGES (AIRY EDITORIAL 2026) ==================== */
body.seo-page-body {
  background-color: #f3f6fb;
}

.seo-reading-progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 3px;
  background: transparent;
  pointer-events: none;
  overflow: hidden;
}

#seoProgressBar {
  display: block;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--km-indigo-600) 0%, var(--km-red-600) 100%);
  border-radius: 0 4px 4px 0;
  transition: width 0.08s linear;
}

/* --- Editorial 2-Column Hero --- */
.seo-hero {
  position: relative;
  background:
    radial-gradient(circle at 86% 18%, rgba(97, 61, 135, 0.42), transparent 48%),
    linear-gradient(135deg, var(--km-navy-950) 0%, var(--km-navy-900) 58%, var(--km-indigo-900) 100%);
  color: #ffffff;
  padding: 44px 0 50px;
  border-bottom: 3px solid var(--km-red-600);
}

.seo-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.38fr) minmax(290px, 0.62fr);
  gap: 44px;
  align-items: center;
}

.seo-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: rgba(226, 232, 240, 0.8);
  margin-bottom: 16px;
}

.seo-breadcrumb a {
  color: #cbd5e1;
  font-weight: 500;
}

.seo-breadcrumb a:hover {
  color: #ffffff;
  text-decoration: underline;
}

.seo-breadcrumb .sep {
  opacity: 0.55;
  font-size: 0.9rem;
}

.seo-breadcrumb .crumb-current {
  color: #ffffff;
  font-weight: 600;
}

.seo-badge-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.seo-cat-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 13px;
  border-radius: 999px;
  background: rgba(230, 42, 41, 0.22);
  border: 1px solid rgba(252, 165, 165, 0.36);
  color: #fecaca;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.seo-readtime-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #e2e8f0;
  font-size: 0.76rem;
  font-weight: 600;
}

.seo-hero h1 {
  font-size: clamp(1.58rem, 2.75vw, 2.3rem);
  font-weight: 800;
  line-height: 1.32;
  max-width: 840px;
  margin-bottom: 16px;
  letter-spacing: -0.015em;
}

.seo-lead {
  font-size: 1.03rem;
  line-height: 1.78;
  color: rgba(241, 245, 249, 0.9);
  max-width: 800px;
  margin-bottom: 22px;
}

.seo-meta-chips {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.seo-meta-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.42);
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.8rem;
  color: #cbd5e1;
}

.seo-meta-chip strong {
  color: #ffffff;
}

.seo-meta-chip.seo-meta-call {
  background: rgba(230, 42, 41, 0.2);
  border-color: rgba(252, 165, 165, 0.35);
  color: #fecaca;
}

.seo-meta-chip.seo-meta-call:hover {
  background: rgba(230, 42, 41, 0.35);
}

.seo-hero-visual {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 24px 48px -14px rgba(0, 0, 0, 0.45);
  background: var(--km-navy-900);
}

.seo-hero-visual img {
  width: 100%;
  aspect-ratio: 16 / 10.5;
  object-fit: cover;
  display: block;
}

.seo-hero-caption {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  padding: 8px 13px;
  border-radius: 10px;
  background: rgba(7, 14, 28, 0.78);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 0.77rem;
  font-weight: 600;
  color: #f1f5f9;
  text-align: center;
}

/* --- Main Reading Container & Sidebar Grid --- */
.seo-layout-wrap {
  padding: 46px 0 80px;
}

.seo-layout-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 334px;
  gap: 38px;
  align-items: start;
}

.seo-article-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 22px;
  padding: 46px 52px;
  box-shadow: 0 12px 36px -14px rgba(15, 23, 42, 0.08);
}

/* --- KPI Highlight Cards --- */
.seo-kpi-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin: 0 0 30px;
}

.seo-kpi-box {
  position: relative;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 16px 16px 15px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.03);
}

.seo-kpi-box::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--km-indigo-700), var(--km-red-600));
}

.seo-kpi-box strong {
  display: block;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--km-red-600);
  line-height: 1.25;
  margin-bottom: 5px;
}

.seo-kpi-box span {
  display: block;
  font-size: 0.8rem;
  color: #475569;
  font-weight: 600;
  line-height: 1.42;
}

/* --- Smart Collapsible 2-Column TOC --- */
.seo-toc-card {
  background: #f8fafc;
  border: 1px solid #dbe4f0;
  border-radius: 16px;
  margin-bottom: 38px;
  overflow: hidden;
}

.seo-toc-summary {
  padding: 15px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  cursor: pointer;
  list-style: none;
  background: linear-gradient(90deg, #f8fafc 0%, #f1f5f9 100%);
  user-select: none;
}

.seo-toc-summary::-webkit-details-marker {
  display: none;
}

.seo-toc-heading {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--km-navy-900);
}

.seo-toc-toggle-hint {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--km-indigo-700);
  background: #ffffff;
  border: 1px solid #cbd5e1;
  padding: 4px 10px;
  border-radius: 999px;
}

.seo-toc-grid {
  list-style: none;
  margin: 0;
  padding: 16px 20px 20px;
  border-top: 1px solid #e2e8f0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 18px;
}

.seo-toc-grid li {
  margin: 0;
}

.seo-toc-grid a {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 9px 12px;
  border-radius: 10px;
  background: #ffffff;
  border: 1px solid #e6edf5;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--km-navy-900);
  line-height: 1.45;
  height: 100%;
}

.seo-toc-grid a:hover {
  border-color: var(--km-indigo-600);
  color: var(--km-red-600);
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.05);
}

.toc-num {
  min-width: 25px;
  height: 25px;
  border-radius: 7px;
  background: #eef2ff;
  color: var(--km-indigo-700);
  font-size: 0.74rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}

.seo-toc-grid a:hover .toc-num {
  background: var(--km-red-600);
  color: #ffffff;
}

/* --- Editorial Prose & Structured Section Blocks --- */
.seo-prose {
  font-size: 1.035rem;
  line-height: 1.88;
  color: #27364b;
}

.seo-section-block {
  scroll-margin-top: 96px;
}

.seo-section-block + .seo-section-block {
  margin-top: 42px;
  padding-top: 38px;
  border-top: 1px dashed #d8e2ee;
}

.seo-h2-wrap {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 20px;
}

.seo-sec-num {
  min-width: 38px;
  height: 38px;
  border-radius: 11px;
  background: linear-gradient(135deg, var(--km-indigo-900) 0%, var(--km-red-600) 100%);
  color: #ffffff;
  font-size: 0.86rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
  box-shadow: 0 6px 14px rgba(52, 32, 73, 0.18);
}

.seo-h2-wrap h2 {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--km-navy-900);
  line-height: 1.36;
  margin: 0;
  letter-spacing: -0.01em;
}

.seo-prose p {
  margin-bottom: 18px;
}

.seo-prose strong {
  color: #0f172a;
  font-weight: 700;
}

.seo-prose h3 {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--km-indigo-900);
  margin: 26px 0 12px;
  line-height: 1.42;
}

.seo-prose code {
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  padding: 2px 7px;
  border-radius: 6px;
  font-size: 0.88em;
  color: var(--km-indigo-900);
}

/* Airy Card-Style Bullet & Numbered Lists */
.seo-sec-body > ul,
.seo-sec-body > ol {
  list-style: none;
  margin: 20px 0 26px;
  padding: 0;
  display: grid;
  gap: 12px;
}

.seo-sec-body > ol {
  counter-reset: seo-step;
}

.seo-sec-body > ul > li,
.seo-sec-body > ol > li {
  position: relative;
  margin: 0;
  padding: 15px 18px 15px 48px;
  background: #f8fafc;
  border: 1px solid #e6edf5;
  border-radius: 13px;
  line-height: 1.78;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.seo-sec-body > ul > li:hover,
.seo-sec-body > ol > li:hover {
  background: #ffffff;
  border-color: #cbd5e1;
}

.seo-sec-body > ul > li::before {
  content: "✓";
  position: absolute;
  left: 15px;
  top: 17px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(76, 47, 107, 0.12);
  color: var(--km-indigo-700);
  font-size: 0.76rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

.seo-sec-body > ol > li {
  counter-increment: seo-step;
}

.seo-sec-body > ol > li::before {
  content: counter(seo-step);
  position: absolute;
  left: 14px;
  top: 16px;
  width: 24px;
  height: 24px;
  border-radius: 8px;
  background: var(--km-indigo-900);
  color: #ffffff;
  font-size: 0.76rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

.seo-prose a.inline-link {
  color: var(--km-red-600);
  font-weight: 700;
  border-bottom: 1.5px dashed rgba(230, 42, 41, 0.45);
}

.seo-prose a.inline-link:hover {
  color: var(--km-indigo-900);
  border-bottom-style: solid;
}

/* --- Spacious Desktop Tables & Native Mobile Cards --- */
.seo-table-wrap {
  width: 100%;
  overflow-x: auto;
  margin: 24px 0 30px;
  border-radius: 15px;
  border: 1px solid #d5e0ec;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
  background: #ffffff;
}

.seo-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
  line-height: 1.62;
  background: #ffffff;
}

.seo-table thead th {
  background: linear-gradient(90deg, var(--km-navy-900), var(--km-indigo-900));
  color: #ffffff;
  font-weight: 700;
  text-align: left;
  padding: 15px 18px;
  font-size: 0.84rem;
  letter-spacing: 0.01em;
}

.seo-table tbody td {
  padding: 15px 18px;
  border-bottom: 1px solid #e8eef5;
  color: #27364b;
  vertical-align: middle;
}

.seo-table tbody tr:last-child td {
  border-bottom: none;
}

.seo-table tbody tr:nth-child(even) td {
  background: #f9fbfd;
}

.seo-table tbody tr:hover td {
  background: #f1f6ff;
}

.tbl-quote-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 9px;
  background: linear-gradient(135deg, var(--km-red-600), var(--km-red-700));
  color: #ffffff !important;
  font-size: 0.81rem;
  font-weight: 700;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(230, 42, 41, 0.24);
}

.tbl-quote-btn.tbl-call-btn {
  background: linear-gradient(135deg, var(--km-indigo-900), var(--km-indigo-700));
  box-shadow: 0 4px 12px rgba(52, 32, 73, 0.22);
}

.tbl-quote-btn:hover {
  transform: translateY(-1px);
  filter: brightness(1.06);
}

/* --- Callouts & Inline Mid/End CTA Banners --- */
.seo-callout {
  background: #fffbeb;
  border: 1px solid #fde68a;
  border-left: 5px solid #f59e0b;
  border-radius: 14px;
  padding: 20px 22px;
  margin: 26px 0;
  font-size: 0.96rem;
  line-height: 1.78;
  color: #1e293b;
}

.seo-callout.info {
  background: #f0f7ff;
  border-color: #bfdbfe;
  border-left-color: #0284c7;
}

.seo-callout strong.callout-head {
  display: block;
  font-size: 0.98rem;
  color: var(--km-navy-900);
  margin-bottom: 6px;
}

.seo-cta-banner {
  background:
    radial-gradient(circle at 90% 15%, rgba(230, 42, 41, 0.22), transparent 45%),
    linear-gradient(135deg, var(--km-navy-900) 0%, var(--km-indigo-900) 100%);
  color: #ffffff;
  border-radius: 18px;
  padding: 28px 32px;
  margin: 38px 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  box-shadow: 0 16px 36px -10px rgba(12, 23, 46, 0.24);
}

.seo-cta-eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: #fecaca;
  margin-bottom: 6px;
}

.seo-cta-banner h3 {
  color: #ffffff !important;
  margin: 0 0 8px !important;
  font-size: 1.24rem !important;
  line-height: 1.35 !important;
}

.seo-cta-banner p {
  margin: 0 !important;
  font-size: 0.92rem;
  line-height: 1.65;
  color: #cbd5e1;
  max-width: 520px;
}

.seo-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.btn-zalo-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 11px;
  background: #0068ff;
  color: #ffffff !important;
  font-weight: 800;
  font-size: 0.9rem;
  box-shadow: 0 8px 20px rgba(0, 104, 255, 0.32);
}

.btn-zalo-cta:hover {
  background: #0056d6;
  transform: translateY(-1px);
}

.btn-hotline-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 11px;
  background: var(--km-red-600);
  color: #ffffff !important;
  font-weight: 800;
  font-size: 0.9rem;
  box-shadow: 0 8px 20px rgba(230, 42, 41, 0.32);
}

.btn-hotline-cta:hover {
  background: var(--km-red-700);
  transform: translateY(-1px);
}

/* --- FAQ Accordion --- */
.seo-faq-list {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.seo-faq-item {
  border: 1px solid #d8e2ee;
  border-radius: 14px;
  background: #ffffff;
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.seo-faq-item[open] {
  border-color: rgba(76, 47, 107, 0.4);
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.05);
}

.seo-faq-item summary {
  padding: 17px 20px;
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--km-navy-900);
  line-height: 1.48;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  background: #f8fafc;
}

.seo-faq-item[open] summary {
  background: #f3f6fc;
}

.seo-faq-item summary::-webkit-details-marker {
  display: none;
}

.seo-faq-item summary::after {
  content: "+";
  min-width: 28px;
  height: 28px;
  border-radius: 8px;
  background: #ffffff;
  border: 1px solid #dbe4f0;
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--km-red-600);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.seo-faq-item[open] summary::after {
  content: "−";
  background: var(--km-red-600);
  border-color: var(--km-red-600);
  color: #ffffff;
}

.seo-faq-ans {
  padding: 18px 22px;
  font-size: 0.97rem;
  color: #334155;
  border-top: 1px solid #e8eef5;
  line-height: 1.82;
}

/* --- E-E-A-T Author Box & Related Section --- */
.seo-author-box {
  margin-top: 42px;
  padding: 24px 26px;
  border-radius: 16px;
  background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
  border: 1px solid #d8e2ee;
  display: flex;
  gap: 18px;
  align-items: flex-start;
}

.seo-author-badge {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--km-navy-900), var(--km-indigo-700));
  color: #ffffff;
  font-weight: 800;
  font-size: 1.05rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.seo-author-content > strong {
  font-size: 1rem;
  color: var(--km-navy-900);
  display: block;
  margin-bottom: 6px;
}

.seo-author-content > p {
  font-size: 0.9rem;
  color: #475569;
  line-height: 1.72;
  margin-bottom: 12px;
}

.seo-author-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.author-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 12px;
  border-radius: 999px;
  background: #ffffff;
  border: 1px solid #d8e2ee;
  font-size: 0.81rem;
  font-weight: 700;
}

.author-chip.zalo { color: #0068ff; }
.author-chip.call { color: var(--km-red-600); }
.author-chip.mail { color: var(--km-indigo-900); }

.author-chip:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
}

.seo-related-section {
  margin-top: 44px;
  padding-top: 34px;
  border-top: 1px solid #e2e8f0;
}

.seo-related-head h3 {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--km-navy-900);
}

.seo-related-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 18px;
}

.seo-related-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 15px;
  padding: 20px 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
  transition: all 0.22s ease;
}

.seo-related-card:hover {
  background: #ffffff;
  border-color: var(--km-indigo-600);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.seo-rel-cat {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--km-red-600);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.seo-rel-title {
  font-size: 0.98rem;
  font-weight: 800;
  color: var(--km-navy-900);
  margin-top: 6px;
  line-height: 1.44;
}

.seo-rel-more {
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--km-indigo-700);
}

/* --- Sticky Desktop Sidebar & Live Scroll-Spy --- */
.seo-sidebar {
  position: sticky;
  top: 94px;
  display: grid;
  gap: 20px;
}

.seo-side-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  padding: 22px;
  box-shadow: 0 8px 26px -10px rgba(15, 23, 42, 0.08);
}

.seo-side-toc-head {
  font-size: 0.84rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--km-indigo-700);
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid #eef2f6;
}

.seo-side-toc-list {
  list-style: none;
  display: grid;
  gap: 5px;
}

.seo-side-toc-list a {
  display: block;
  padding: 7px 10px 7px 12px;
  border-left: 3px solid transparent;
  border-radius: 0 8px 8px 0;
  font-size: 0.83rem;
  font-weight: 600;
  color: #475569;
  line-height: 1.42;
}

.seo-side-toc-list a:hover {
  color: var(--km-navy-900);
  background: #f8fafc;
}

.seo-side-toc-list a.active {
  border-left-color: var(--km-red-600);
  background: #fff5f5;
  color: var(--km-navy-900);
  font-weight: 700;
}

.seo-side-card.dark-quote {
  background: linear-gradient(160deg, var(--km-navy-950) 0%, var(--km-indigo-900) 100%);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.side-fast-badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(230, 42, 41, 0.28);
  color: #fecaca;
  font-size: 0.71rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.seo-side-card.dark-quote h3 {
  font-size: 1.18rem;
  font-weight: 800;
  margin-bottom: 6px;
}

.side-quote-desc {
  font-size: 0.83rem;
  color: #cbd5e1;
  line-height: 1.55;
  margin-bottom: 14px;
}

.side-cta-stack {
  display: grid;
  gap: 10px;
}

.side-cta-stack .btn-zalo-cta,
.side-cta-stack .btn-hotline-cta {
  width: 100%;
}

.side-form-details {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.side-form-details summary {
  font-size: 0.81rem;
  font-weight: 700;
  color: #e2e8f0;
  cursor: pointer;
  list-style: none;
  text-align: center;
  padding: 6px 8px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
}

.side-form-details summary::-webkit-details-marker {
  display: none;
}

.side-quote-form {
  margin-top: 12px;
  display: grid;
  gap: 9px;
}

.side-quote-form .form-control {
  background: #ffffff;
  color: #0f172a;
  padding: 10px 12px;
  font-size: 0.86rem;
}

.side-quote-success {
  display: none;
  margin-top: 10px;
  padding: 10px 12px;
  border-radius: 8px;
  background: rgba(16, 185, 129, 0.22);
  border: 1px solid #6ee7b7;
  font-size: 0.8rem;
  color: #ecfdf5;
}

.seo-side-heading {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--km-navy-900);
}

.seo-side-links {
  list-style: none;
  display: grid;
  gap: 8px;
  margin-top: 12px;
}

.seo-side-links a {
  display: block;
  padding: 9px 12px;
  border-radius: 10px;
  background: #f8fafc;
  border: 1px solid #e6edf5;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--km-navy-900);
}

.seo-side-links a:hover {
  border-color: var(--km-red-600);
  color: var(--km-red-600);
  background: #fff5f5;
}

/* --- Magazine Hub (/cam-nang/) --- */
.hub-filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 30px;
}

.hub-chip {
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid #cbd5e1;
  background: #ffffff;
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--km-navy-900);
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.hub-chip.active,
.hub-chip:hover {
  background: var(--km-indigo-900);
  color: #ffffff;
  border-color: var(--km-indigo-900);
  box-shadow: 0 6px 16px rgba(52, 32, 73, 0.2);
}

.hub-articles-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-bottom: 12px;
}

.hub-article-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 6px 20px -8px rgba(15, 23, 42, 0.07);
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.hub-article-card:hover {
  transform: translateY(-4px);
  border-color: rgba(76, 47, 107, 0.4);
  box-shadow: var(--shadow-md);
}

.hub-article-thumb {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9.5;
  overflow: hidden;
  background: var(--km-navy-900);
}

.hub-article-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.hub-article-card:hover .hub-article-thumb img {
  transform: scale(1.04);
}

.hub-thumb-badge {
  position: absolute;
  left: 12px;
  bottom: 12px;
  padding: 4px 11px;
  border-radius: 999px;
  background: rgba(12, 23, 46, 0.84);
  backdrop-filter: blur(6px);
  color: #ffffff;
  font-size: 0.7rem;
  font-weight: 700;
}

.hub-article-body {
  padding: 20px 22px 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.hub-article-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.77rem;
  font-weight: 600;
  color: #64748b;
  margin-bottom: 8px;
}

.hub-article-body h3 {
  font-size: 1.06rem;
  font-weight: 800;
  color: var(--km-navy-900);
  line-height: 1.42;
  margin-bottom: 10px;
}

.hub-article-body h3 a:hover {
  color: var(--km-red-600);
}

.hub-article-body p {
  font-size: 0.88rem;
  color: #475569;
  line-height: 1.66;
  margin-bottom: 16px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.hub-article-foot {
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid #f1f5f9;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.hub-read-link {
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--km-indigo-900);
}

.hub-read-link:hover {
  color: var(--km-red-600);
}

.hub-quote-chip {
  padding: 4px 10px;
  border-radius: 999px;
  background: #eff6ff;
  color: #0068ff;
  font-size: 0.77rem;
  font-weight: 700;
}

.hub-pillars-section {
  margin-top: 52px;
  padding-top: 42px;
  border-top: 1px solid #dbe4f0;
}

.hub-pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.hub-pillar-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 22px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
  box-shadow: var(--shadow-sm);
}

.hub-pillar-card:hover {
  border-color: var(--km-red-600);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.hub-pillar-tag {
  display: inline-block;
  font-size: 0.73rem;
  font-weight: 800;
  color: var(--km-indigo-700);
  text-transform: uppercase;
  margin-bottom: 6px;
}

.hub-pillar-top h3 {
  font-size: 1.04rem;
  font-weight: 800;
  color: var(--km-navy-900);
  line-height: 1.4;
  margin-bottom: 8px;
}

.hub-pillar-top p {
  font-size: 0.86rem;
  color: #475569;
  line-height: 1.64;
}

.hub-card-more {
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--km-red-600);
}

/* --- Mobile Sticky Bottom Bar (Hidden on Desktop) --- */
.seo-mobile-action-bar {
  display: none;
}

/* ==================== SEO RESPONSIVE BREAKPOINTS (TABLET & MOBILE) ==================== */
@media (max-width: 1120px) {
  .seo-layout-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .seo-sidebar {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .seo-side-toc-card {
    display: none;
  }
  .hub-articles-grid,
  .hub-pillars-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 920px) {
  .seo-hero {
    padding: 30px 0 34px;
  }
  .seo-hero-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .seo-hero-visual img {
    aspect-ratio: 16 / 8.5;
    max-height: 220px;
  }
  .seo-article-card {
    padding: 34px 28px;
  }
}

@media (max-width: 768px) {
  body.seo-page-body {
    padding-bottom: 74px;
  }
  .seo-desktop-dock {
    display: none !important;
  }
  .seo-mobile-action-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 70;
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    gap: 10px;
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-top: 1px solid #cbd5e1;
    box-shadow: 0 -8px 24px rgba(15, 23, 42, 0.1);
  }
  .seo-mob-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    height: 44px;
    border-radius: 11px;
    font-size: 0.85rem;
    font-weight: 800;
    color: #ffffff !important;
    white-space: nowrap;
  }
  .seo-mob-call {
    background: linear-gradient(135deg, var(--km-navy-900), var(--km-indigo-900));
  }
  .seo-mob-zalo {
    background: linear-gradient(135deg, #0068ff, #0052cc);
    box-shadow: 0 6px 16px rgba(0, 104, 255, 0.28);
  }

  .seo-layout-wrap {
    padding: 22px 0 46px;
  }
  .seo-article-card {
    padding: 24px 18px;
    border-radius: 18px;
  }
  .seo-kpi-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-bottom: 22px;
  }
  .seo-kpi-box {
    padding: 13px 12px;
  }
  .seo-kpi-box strong {
    font-size: 1.08rem;
  }
  .seo-kpi-box span {
    font-size: 0.75rem;
  }
  .seo-toc-card {
    margin-bottom: 26px;
  }
  .seo-toc-summary {
    padding: 13px 15px;
  }
  .seo-toc-heading {
    font-size: 0.88rem;
  }
  .seo-toc-grid {
    grid-template-columns: 1fr;
    padding: 12px 14px 14px;
    gap: 8px;
  }

  .seo-prose {
    font-size: 0.985rem;
    line-height: 1.84;
  }
  .seo-section-block + .seo-section-block {
    margin-top: 32px;
    padding-top: 28px;
  }
  .seo-h2-wrap {
    gap: 11px;
    margin-bottom: 15px;
  }
  .seo-sec-num {
    min-width: 32px;
    height: 32px;
    border-radius: 9px;
    font-size: 0.78rem;
  }
  .seo-h2-wrap h2 {
    font-size: 1.22rem;
    line-height: 1.38;
  }
  .seo-sec-body > ul > li,
  .seo-sec-body > ol > li {
    padding: 13px 14px 13px 42px;
    font-size: 0.96rem;
    line-height: 1.74;
  }
  .seo-sec-body > ul > li::before,
  .seo-sec-body > ol > li::before {
    left: 11px;
    top: 15px;
  }

  /* Transform Data Tables into Clean Stacked Mobile Cards (Zero Horizontal Scroll!) */
  .seo-table-wrap {
    overflow: visible;
    border: none;
    box-shadow: none;
    background: transparent;
    margin: 18px 0 24px;
  }
  .seo-table,
  .seo-table tbody {
    display: block;
    width: 100%;
    background: transparent;
  }
  .seo-table thead {
    display: none;
  }
  .seo-table tbody {
    display: grid;
    gap: 14px;
  }
  .seo-table tbody tr {
    display: block;
    background: #ffffff;
    border: 1px solid #d5e0ec;
    border-radius: 15px;
    padding: 14px 15px;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.04);
  }
  .seo-table tbody tr:nth-child(even) td,
  .seo-table tbody tr:hover td {
    background: transparent;
  }
  .seo-table tbody td {
    display: flex;
    flex-direction: column;
    gap: 3px;
    padding: 8px 0;
    border-bottom: 1px dashed #e8eef5;
    font-size: 0.92rem;
  }
  .seo-table tbody td:last-child {
    border-bottom: none;
  }
  .seo-table tbody td::before {
    content: attr(data-label);
    font-size: 0.71rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: #64748b;
  }
  .seo-table tbody td.td-primary {
    padding: 0 0 10px;
    margin-bottom: 4px;
    border-bottom: 1px solid #e2e8f0;
    font-size: 0.97rem;
    color: var(--km-navy-900);
  }
  .seo-table tbody td.td-action {
    padding: 12px 0 2px;
    border-bottom: none;
  }
  .seo-table tbody td.td-action::before {
    display: none;
  }
  .seo-table tbody td.td-action .tbl-quote-btn {
    width: 100%;
    padding: 11px 16px;
    font-size: 0.87rem;
  }

  .seo-cta-banner {
    padding: 22px 18px;
    margin: 28px 0;
  }
  .seo-cta-actions {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr;
  }
  .seo-faq-item summary {
    padding: 14px 15px;
    font-size: 0.94rem;
  }
  .seo-faq-ans {
    padding: 14px 16px;
    font-size: 0.93rem;
  }
  .seo-author-box {
    flex-direction: column;
    padding: 20px 18px;
  }
  .seo-related-grid,
  .seo-sidebar,
  .hub-articles-grid,
  .hub-pillars-grid {
    grid-template-columns: 1fr;
  }
  .hub-filter-bar {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 6px;
    margin-bottom: 22px;
    -webkit-overflow-scrolling: touch;
  }
}
