/* ==========================================================================
   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 9px;
  border-radius: 9px;
  font-size: 0.83rem;
  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: 1200px) {
  .hotline-pill {
    display: none;
  }
}

@media (max-width: 1060px) {
  .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);
}
