/*
Theme Name: Nanocheck
Theme URI: https://nanocheck.vn
Author: Ong Vang
Author URI: https://nanocheck.vn
Description: Giao diện công nghệ cao cấp Nanocheck chuẩn doanh nghiệp, phong cách FPT Software, tối ưu font Muli và hiển thị hiện đại.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.0
Text Domain: nanocheck
*/

:root {
  --font-base: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
  
  /* Tech Xanh Đen (Midnight Blue-Black) */
  --color-navy: #040914;
  --color-navy-dark: #02050b;
  --color-navy-surface: #091322;
  --color-navy-border: #132238;
  
  /* Accent Electric Blues */
  --color-blue-primary: #1d4ed8;
  --color-blue-hover: #1e40af;
  --color-blue-accent: #0284c7;
  --color-cyan-glow: #38bdf8;
  --color-blue-light: #eff6ff;
  --color-blue-subtle: #f0f9ff;
  
  /* Luxury Light Palette */
  --color-bg-body: #f8fafc;
  --color-bg-card: #ffffff;
  --color-bg-secondary: #f1f5f9;
  
  /* Text & Border Shades */
  --color-text-main: #0f172a;
  --color-text-muted: #475569;
  --color-text-subtle: #64748b;
  --color-border: #e2e8f0;
  --color-border-hover: #cbd5e1;
  
  /* Radius & Shadows */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-pill: 9999px;
  
  --shadow-subtle: 0 1px 3px rgba(15, 23, 42, 0.06);
  --shadow-card: 0 10px 25px -5px rgba(11, 25, 44, 0.05), 0 8px 10px -6px rgba(11, 25, 44, 0.03);
  --shadow-elevated: 0 20px 35px -10px rgba(11, 25, 44, 0.1), 0 10px 15px -5px rgba(11, 25, 44, 0.05);
  --shadow-glow: 0 0 25px rgba(2, 132, 199, 0.25);
  
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  font-family: var(--font-base);
  font-size: 16px;
  line-height: 1.6;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-color: var(--color-bg-body);
  color: var(--color-text-main);
  overflow-x: hidden;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-weight: 400;
  overflow-x: hidden;
  width: 100%;
}

main {
  flex: 1;
  width: 100%;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

/* Typography Standards: Semi-Bold Titles & Headings (font-weight 600) */
h1, h2, h3, h4, h5, h6,
.section-title,
.hero-slide-title,
.hero-title,
.why-choose-title,
.why-item-title,
.fpt-card-title,
.solution-card-title,
.prod-card-title,
.industry-card-title,
.sample-banner-title,
.sample-item-title,
.process-title,
.cta-title,
.footer-heading,
.page-hero-title,
.about-hero-title,
.services-hero-title,
.contact-hero-title,
.service-hero-title,
.cat-hero-title,
.product-card-title,
.news-card-title,
.stat-title {
  font-family: var(--font-base);
  font-weight: 600;
  color: var(--color-navy);
  letter-spacing: -0.02em;
  line-height: 1.25;
}

/* Layout Containers */
.container {
  width: 100%;
  max-width: 1240px;
  margin-inline: auto;
  padding-inline: 24px;
}

.container-narrow {
  max-width: 960px;
  margin-inline: auto;
  padding-inline: 24px;
}

/* Header & Navigation Bar (FPT Software Style) */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: #ffffff;
  border-bottom: 1px solid var(--color-border);
  box-shadow: 0 2px 10px rgba(4, 9, 20, 0.04);
  transition: all var(--transition-fast);
}

.top-bar {
  background-color: var(--color-navy);
  color: #94a3b8;
  font-size: 13px;
  padding-block: 6px;
  border-bottom: 1px solid var(--color-navy-border);
}

.top-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.top-bar-info {
  display: flex;
  gap: 20px;
  align-items: center;
}

.top-bar-item {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #cbd5e1;
}

.top-bar-item svg {
  width: 14px;
  height: 14px;
  stroke: var(--color-cyan-glow);
}


.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.site-custom-logo {
  display: flex;
  align-items: center;
}

.site-custom-logo .custom-logo-link {
  display: inline-flex;
  align-items: center;
}

.site-custom-logo img.custom-logo {
  max-height: 48px;
  width: auto;
  object-fit: contain;
  display: block;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
  font-size: 22px;
  color: var(--color-navy);
  flex-shrink: 0;
}

.brand-icon {
  width: 38px;
  height: 38px;
  background: linear-gradient(135deg, var(--color-navy) 0%, var(--color-blue-primary) 100%);
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  box-shadow: 0 4px 10px rgba(29, 78, 216, 0.25);
}

.brand-icon svg {
  width: 22px;
  height: 22px;
}

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

.brand-name-main {
  font-size: 20px;
  font-weight: 500;
  color: var(--color-navy);
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.brand-name-sub {
  font-size: 10px;
  font-weight: 500;
  color: var(--color-blue-accent);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.site-header .navbar {
  max-width: 1360px;
  padding-inline: 16px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(6px, 0.85vw, 12px);
  list-style: none;
  height: 100%;
  margin: 0;
  padding: 0;
}

.nav-links > li {
  height: 100%;
  display: flex;
  align-items: center;
  position: relative;
}

.nav-links > li.menu-item-mega {
  position: static;
}

.nav-links > li > a {
  height: 100%;
  display: flex;
  align-items: center;
  font-size: 12px;
  font-weight: 700;
  color: var(--color-navy);
  padding-inline: 2px;
  white-space: nowrap;
  position: relative;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  text-decoration: none;
  transition: color var(--transition-fast);
}

.nav-links > li > a .dropdown-arrow {
  width: 8px;
  height: 8px;
  margin-left: 3px;
}

.nav-links > li > a:hover {
  color: var(--color-blue-primary);
}

.nav-links > li > a::after {
  content: '';
  position: absolute;
  bottom: 22px;
  left: 2px;
  right: 2px;
  width: 0;
  height: 2px;
  background: var(--color-blue-primary);
  transition: width var(--transition-fast);
}

.nav-links > li:hover > a::after,
.nav-links > li.hover-active > a::after {
  width: calc(100% - 4px);
}

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

.nav-actions .btn-primary {
  padding: 7px 13px;
  font-size: 11.5px;
  letter-spacing: 0.02em;
}

/* Button Component (Max 3 words compliant, flat modern tech style) */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-base);
  font-size: 13.5px;
  font-weight: 500;
  padding: 10px 22px;
  border-radius: 6px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all var(--transition-fast);
  white-space: nowrap;
  line-height: 1.4;
  text-decoration: none;
}

.btn-primary {
  background-color: var(--color-navy);
  color: #ffffff;
  border: 1px solid var(--color-navy);
  box-shadow: 0 2px 8px rgba(4, 9, 20, 0.15);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-weight: 500;
}

.btn-primary:hover {
  background-color: #0284c7;
  border-color: #0284c7;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.25);
  color: #ffffff;
}

.btn-accent {
  background-color: var(--color-navy);
  color: #ffffff;
  border: 1px solid var(--color-navy);
  box-shadow: 0 2px 8px rgba(4, 9, 20, 0.15);
}

.btn-accent:hover {
  background-color: #0284c7;
  border-color: #0284c7;
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.25);
  transform: translateY(-1px);
  color: #ffffff;
}

.btn-outline {
  background: #ffffff;
  color: var(--color-navy);
  border: 1px solid #cbd5e1;
}

.btn-outline:hover {
  border-color: var(--color-navy);
  color: var(--color-navy);
  background-color: #f8fafc;
}

.btn-outline-navy {
  background: transparent;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.4);
}

.btn-outline-navy:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: #ffffff;
  color: #ffffff;
}

.btn-sm {
  padding: 8px 16px;
  font-size: 12.5px;
}

.btn-lg {
  padding: 12px 28px;
  font-size: 14.5px;
}

/* Mobile Toggle */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: var(--color-navy);
}

/* Hero Banner Slider Section (Full-width Edge-to-Edge with Flat Tech Buttons) */
.hero-banner-section {
  padding-block: 0;
  background-color: var(--color-navy-dark);
  width: 100%;
  position: relative;
  overflow: hidden;
}

.hero-banner-slider {
  position: relative;
  width: 100%;
  border-radius: 0;
  overflow: hidden;
  background-color: var(--color-navy-dark);
  min-height: 520px;
}

@media (min-width: 992px) {
  .hero-banner-slider {
    aspect-ratio: 21 / 8;
    min-height: 520px;
  }
}

.hero-slides-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: inherit;
}

.hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center right;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.7s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  align-items: center;
  z-index: 1;
}

.hero-slide-container {
  display: flex;
  align-items: center;
}

.hero-slide.active {
  opacity: 1;
  visibility: visible;
  z-index: 2;
}

.hero-slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(4, 9, 20, 0.94) 0%, rgba(4, 9, 20, 0.76) 45%, rgba(4, 9, 20, 0.18) 100%);
  z-index: 1;
}

.hero-slide-content {
  position: relative;
  z-index: 2;
  max-width: 680px;
  color: #ffffff;
  padding-bottom: 76px; /* Space for bottom action buttons */
}

.hero-slide-title {
  font-size: 58px;
  font-weight: 600;
  color: #ffffff;
  line-height: 1.14;
  margin-bottom: 16px;
  letter-spacing: -0.025em;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

.hero-slide-desc {
  font-size: 18px;
  font-weight: 300;
  color: #cbd5e1;
  line-height: 1.6;
  max-width: 520px;
}

/* Banner Bottom Controls Overlay Layer (Strictly aligned to .container) */
.hero-banner-controls-layer {
  position: absolute;
  bottom: 36px;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 10;
  pointer-events: none;
}

.hero-banner-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.hero-banner-buttons {
  display: flex;
  align-items: center;
  gap: 14px;
  pointer-events: auto;
}

/* Flat Tech Action Buttons */
.btn-banner-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #f1f5f9;
  color: #0f172a;
  font-family: var(--font-base);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  padding: 13px 28px;
  border-radius: 6px; /* Flat modern clean tech corner */
  border: 1px solid #f1f5f9;
  box-shadow: none; /* Flat design, no heavy drop shadow */
  transition: all var(--transition-fast);
  white-space: nowrap;
  text-decoration: none;
}

.btn-banner-action:hover {
  background-color: #ffffff;
  color: #0284c7;
  border-color: #ffffff;
  transform: translateY(-2px);
}

.btn-banner-action-flat {
  background-color: transparent;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.65);
}

.btn-banner-action-flat:hover {
  background-color: rgba(255, 255, 255, 0.15);
  color: #ffffff;
  border-color: #ffffff;
}

/* Pagination Dots (4 Dots) */
.slider-pagination {
  display: flex;
  align-items: center;
  gap: 10px;
  pointer-events: auto;
}

.slider-pagination .dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.45);
  border: none;
  cursor: pointer;
  transition: all 0.25s ease;
  padding: 0;
}

.slider-pagination .dot:hover {
  background-color: #ffffff;
}

.slider-pagination .dot.active {
  background-color: #ffffff;
  width: 28px;
  border-radius: 14px;
}

@media (max-width: 768px) {
  .hero-banner-slider {
    min-height: 480px;
    border-radius: 0;
  }
  .hero-slide-title {
    font-size: 34px;
    line-height: 1.2;
  }
  .hero-slide-desc {
    font-size: 15px;
  }
  .hero-slide-content {
    padding-bottom: 120px;
  }
  .hero-banner-controls {
    flex-direction: column-reverse;
    align-items: center;
    gap: 16px;
  }
  .hero-banner-buttons {
    width: 100%;
    flex-direction: column;
    gap: 10px;
  }
  .btn-banner-action {
    width: 100%;
    text-align: center;
    padding: 12px 20px;
  }
}

/* ==========================================================================
   Why Choose Nanocheck - Enterprise Bento Tech Grid (New Design)
   ========================================================================== */
.why-choose-section {
  padding-block: 72px 80px;
  background-color: #f8fafc;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.why-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  font-weight: 700;
  color: #0284c7;
  background: #e0f2fe;
  padding: 4px 12px;
  border-radius: 999px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.why-header-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}

.why-header-row .section-header {
  margin-bottom: 0;
  text-align: left;
}

.why-slider-nav {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.why-nav-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1.5px solid #cbd5e1;
  background: #ffffff;
  color: #0f172a;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.05);
}

.why-nav-btn:hover {
  background: #0284c7;
  border-color: #0284c7;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(2, 132, 199, 0.25);
}

.why-carousel-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: 6px 2px 14px;
}

.why-tech-track {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 8px 4px 16px;
}

.why-tech-track::-webkit-scrollbar {
  display: none;
}

/* 4 columns on Desktop (>= 1200px) */
.why-tech-track .why-tech-card,
.why-tech-grid .why-tech-card {
  flex: 0 0 calc((100% - 3 * 20px) / 4);
  scroll-snap-align: start;
  min-height: 290px;
}

@media (max-width: 1200px) {
  .why-tech-track .why-tech-card {
    flex: 0 0 calc((100% - 2 * 18px) / 3);
  }
}

@media (max-width: 860px) {
  .why-header-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  .why-slider-nav {
    align-self: flex-end;
  }
  .why-tech-track .why-tech-card {
    flex: 0 0 calc((100% - 16px) / 2);
  }
}

@media (max-width: 520px) {
  .why-tech-track .why-tech-card {
    flex: 0 0 84%;
  }
}

.why-tech-grid {
  display: flex;
  gap: 20px;
  overflow-x: auto;
}

.why-tech-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 28px 24px 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.03);
}

.why-tech-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #0284c7 0%, #38bdf8 100%);
  opacity: 0;
  transition: opacity 0.28s ease;
}

.why-tech-card:hover {
  transform: translateY(-6px);
  border-color: #93c5fd;
  box-shadow: 0 16px 36px rgba(2, 132, 199, 0.12);
}

.why-tech-card:hover::before {
  opacity: 1;
}

.why-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.why-icon-box {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 16px rgba(2, 132, 199, 0.28);
  transition: transform 0.25s ease;
}

.why-tech-card:hover .why-icon-box {
  transform: scale(1.08) rotate(3deg);
}

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

.why-index-num {
  font-family: monospace;
  font-size: 13px;
  font-weight: 800;
  color: #0284c7;
  background: #f0f9ff;
  border: 1px solid #bae6fd;
  padding: 3px 9px;
  border-radius: 6px;
  letter-spacing: 0.04em;
}

.why-card-body {
  flex: 1;
}

.why-card-title {
  font-size: 16.5px;
  font-weight: 700;
  color: #0b1f3a;
  margin-bottom: 8px;
  line-height: 1.35;
  letter-spacing: -0.01em;
}

.why-card-desc {
  font-size: 13.5px;
  font-weight: 400;
  color: #64748b;
  line-height: 1.6;
  margin: 0;
}

.why-card-footer {
  margin-top: 20px;
  padding-top: 14px;
  border-top: 1px dashed #e2e8f0;
  display: flex;
  align-items: center;
}

.why-tag-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  font-weight: 700;
  color: #0284c7;
  background: #f0f9ff;
  padding: 3px 10px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

/* Modern Banner Card for Why Choose (Dạng banner ảnh, title & text phía dưới) */
.why-tech-card.why-banner-card {
  padding: 0;
  border-radius: 16px;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  min-height: 380px;
}

.why-tech-card.why-banner-card::before {
  display: none;
}

.why-tech-card.why-banner-card:hover {
  transform: translateY(-6px);
  border-color: #38bdf8;
  box-shadow: 0 16px 36px rgba(2, 132, 199, 0.14);
}

.why-card-thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #0b1f3a;
}

.why-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s ease;
}

.why-tech-card.why-banner-card:hover .why-card-thumb img {
  transform: scale(1.06);
}

.why-card-thumb::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 50%, rgba(11,31,58,0.3) 100%);
  pointer-events: none;
}

.why-index-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(11, 31, 58, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #38bdf8;
  font-family: monospace;
  font-size: 12px;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 6px;
  border: 1px solid rgba(56, 189, 248, 0.35);
  letter-spacing: 0.05em;
  z-index: 2;
}

.why-card-content {
  padding: 18px 20px 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.why-card-meta {
  margin-bottom: 8px;
}

.why-banner-card .why-tag-pill {
  font-size: 11px;
  font-weight: 700;
  color: #0284c7;
  background: #e0f2fe;
  padding: 3px 8px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  display: inline-block;
}

.why-banner-card .why-card-title {
  font-size: 16.5px;
  font-weight: 700;
  color: #0b1f3a;
  margin: 0 0 8px 0;
  line-height: 1.35;
}

.why-banner-card .why-card-desc {
  font-size: 13.5px;
  font-weight: 400;
  color: #64748b;
  line-height: 1.55;
  margin: 0;
}

/* Dots Pagination for 6 sliding cards */
.why-slider-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 24px;
}

.why-dot {
  width: 8px;
  height: 8px;
  border-radius: 9999px;
  background: #cbd5e1;
  border: none;
  padding: 0;
  cursor: pointer;
  transition: all 0.28s ease;
}

.why-dot:hover {
  background: #94a3b8;
}

.why-dot.active {
  width: 26px;
  background: #0284c7;
  border-radius: 9999px;
}



@media (max-width: 768px) {
  .why-choose-title {
    font-size: 22px;
  }
  .why-item {
    flex: 0 0 170px;
  }
  .why-icon-circle {
    width: 76px;
    height: 76px;
  }
  .why-icon-circle svg {
    width: 36px;
    height: 36px;
  }
}

/* Trust & Standards Bar */
.trust-bar {
  padding-block: 36px;
  background: #ffffff;
  border-bottom: 1px solid var(--color-border);
}

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

.trust-title {
  font-size: 14px;
  font-weight: 500;
  color: var(--color-slate-600);
}

.trust-items {
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--color-slate-700);
}

.trust-item svg {
  width: 18px;
  height: 18px;
  stroke: var(--color-blue-primary);
}

/* Section Common Styles */
.section {
  padding-block: 80px;
}

.section-header,
.section-header-left {
  text-align: left;
  max-width: 860px;
  margin-inline: 0;
  margin-bottom: 38px;
}

.section-title {
  font-size: 32px;
  font-weight: 600;
  color: var(--color-navy);
  margin-bottom: 12px;
  line-height: 1.25;
  letter-spacing: -0.015em;
  text-align: left;
}

.section-desc {
  font-size: 15px;
  font-weight: 300;
  color: var(--color-slate-600);
  line-height: 1.6;
  text-align: left;
}

/* FPT Solutions Grid (4-Column Desktop) */
.fpt-solutions-grid {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 16px !important;
}

.fpt-card {
  background-color: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 14px rgba(4, 9, 20, 0.04);
  transition: all var(--transition-normal);
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  height: 100%;
}

.fpt-card:hover {
  transform: translateY(-5px);
  border-color: var(--color-blue-primary);
  box-shadow: 0 12px 28px rgba(29, 78, 216, 0.12);
}

.fpt-card-thumb {
  width: 100%;
  height: 150px;
  overflow: hidden;
  position: relative;
  background-color: var(--color-slate-100);
}

.fpt-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-normal);
}

.fpt-card:hover .fpt-card-thumb img {
  transform: scale(1.06);
}

.fpt-card-body {
  padding: 18px 16px 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.fpt-card-title {
  font-size: 15.5px;
  font-weight: 600;
  color: var(--color-navy);
  margin-bottom: 8px;
  line-height: 1.35;
  min-height: 42px;
}

.fpt-card-desc {
  font-size: 13px;
  font-weight: 300;
  color: var(--color-slate-600);
  line-height: 1.5;
  margin-bottom: 16px;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.btn-solution-more {
  background-color: var(--color-navy);
  color: #ffffff;
  font-family: var(--font-base);
  font-size: 12.5px;
  font-weight: 500;
  padding: 7px 14px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: fit-content;
  text-decoration: none;
  border: 1px solid var(--color-navy);
  transition: all var(--transition-fast);
  box-shadow: 0 2px 8px rgba(4, 9, 20, 0.12);
  margin-top: auto;
}

.btn-solution-more:hover,
.fpt-card:hover .btn-solution-more {
  background-color: var(--color-blue-primary);
  border-color: var(--color-blue-primary);
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(29, 78, 216, 0.28);
}

/* Solutions Grid (FPT Software Enterprise Style) */
.solutions-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.solution-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-normal);
  box-shadow: var(--shadow-subtle);
  position: relative;
  overflow: hidden;
}

.solution-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-blue-primary), var(--color-blue-accent));
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.solution-card:hover {
  transform: translateY(-4px);
  border-color: var(--color-border-hover);
  box-shadow: var(--shadow-card);
}

.solution-card:hover::before {
  opacity: 1;
}

.solution-icon-box {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-md);
  background: var(--color-slate-100);
  color: var(--color-navy);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: all var(--transition-fast);
}

.solution-card:hover .solution-icon-box {
  background: var(--color-blue-light);
  color: var(--color-blue-primary);
}

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

.solution-card-title {
  font-size: 18px;
  font-weight: 500;
  color: var(--color-navy);
  margin-bottom: 10px;
}

.solution-card-desc {
  font-size: 14px;
  color: var(--color-slate-600);
  line-height: 1.5;
  margin-bottom: 24px;
  flex: 1;
}

.solution-card-footer {
  margin-top: auto;
}

/* Products Section (3 Tabs & Pricing Spec Cards) */
.products-tab-section {
  background-color: #f8fafc;
  border-top: 1px solid var(--color-border);
}

.product-tabs-nav {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}

.product-tab-btn {
  font-family: var(--font-base);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  padding: 10px 22px;
  border-radius: 6px;
  border: 1px solid #cbd5e1;
  background: #ffffff;
  color: #334155;
  cursor: pointer;
  transition: all var(--transition-fast);
  box-shadow: 0 1px 4px rgba(4, 9, 20, 0.04);
}

.product-tab-btn:hover {
  border-color: var(--color-navy);
  color: var(--color-navy);
  background-color: #f8fafc;
}

.product-tab-btn.active {
  background: var(--color-navy);
  color: #ffffff;
  border-color: var(--color-navy);
  box-shadow: 0 4px 14px rgba(4, 9, 20, 0.2);
}

.product-tab-pane {
  display: none;
  animation: fadeIn 0.35s ease;
}

.product-tab-pane.active {
  display: block;
}

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

.product-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.prod-card {
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-normal);
  box-shadow: 0 4px 16px rgba(4, 9, 20, 0.04);
}

.prod-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 36px rgba(4, 9, 20, 0.1);
  border-color: rgba(2, 132, 199, 0.35);
}

.prod-card-thumb {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  position: relative;
  background-color: #f1f5f9;
}

.prod-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.prod-card:hover .prod-card-thumb img {
  transform: scale(1.06);
}

.prod-thumb-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(4, 9, 20, 0.78);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: #ffffff;
  font-size: 10.5px;
  font-weight: 500;
  padding: 4px 10px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.prod-card-body {
  padding: 18px 18px 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.prod-card-title {
  font-size: 17px;
  font-weight: 600;
  color: var(--color-navy);
  margin-bottom: 6px;
  line-height: 1.35;
}

.prod-card-sub {
  font-size: 13px;
  font-weight: 400;
  color: var(--color-slate-600);
  line-height: 1.5;
  margin-bottom: 16px;
}

/* Ẩn danh sách tick xanh dài dòng để card gọn gàng, thoáng đãng */
.prod-bullet-list {
  display: none;
}

/* Rút gọn thanh nút bấm thành 1 nút hành động thanh lịch duy nhất */
.prod-card-actions-flat {
  display: flex;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid #f1f5f9;
}

.prod-action-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 9px 14px;
  font-family: var(--font-base);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  border-radius: 8px;
  transition: all var(--transition-fast);
}

.prod-action-btn svg {
  flex-shrink: 0;
  transition: transform var(--transition-fast);
}

/* Ẩn nút phụ thứ 2, chỉ giữ 1 nút chi tiết tinh tế */
.prod-action-primary {
  display: none;
}

.prod-action-secondary {
  width: 100%;
  background: #f8fafc;
  color: var(--color-navy);
  border: 1px solid #e2e8f0;
}

.prod-action-secondary:hover,
.prod-card:hover .prod-action-secondary {
  background: var(--color-navy);
  color: #ffffff;
  border-color: var(--color-navy);
}

.prod-action-secondary:hover svg,
.prod-card:hover .prod-action-secondary svg {
  transform: translateX(3px);
}

/* Industry Applications (FPT Tall Rounded Cards Carousel Style) */
.industry-section {
  background-color: #ffffff;
  border-top: 1px solid var(--color-border);
  overflow: hidden;
}

.text-blue-accent {
  color: #0284c7;
}

.industry-carousel-wrapper {
  position: relative;
}

.industry-carousel-track {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 8px 4px 16px;
  scroll-snap-type: x mandatory;
}

.industry-carousel-track::-webkit-scrollbar {
  display: none;
}

.industry-card {
  flex: 0 0 calc((100% - 60px) / 4);
  min-width: 180px;
  height: 380px;
  border-radius: 22px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 8px 24px rgba(4, 9, 20, 0.08);
  transition: all var(--transition-normal);
  cursor: pointer;
  scroll-snap-align: start;
  user-select: none;
  border: 1px solid rgba(226, 232, 240, 0.8);
}

.industry-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(4, 9, 20, 0.16);
  border-color: rgba(2, 132, 199, 0.4);
}

.industry-card-img-wrap {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.industry-card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.industry-card:hover .industry-card-img-wrap img {
  transform: scale(1.08);
}

.industry-card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg, rgba(4, 9, 20, 0.8) 0%, rgba(4, 9, 20, 0.12) 42%, rgba(4, 9, 20, 0.62) 100%);
  pointer-events: none;
}

.industry-card-content {
  position: relative;
  z-index: 2;
  padding: 22px 18px;
}

.industry-card-title {
  font-size: 16.5px;
  font-weight: 600;
  color: #ffffff;
  line-height: 1.35;
  margin: 0;
  letter-spacing: -0.01em;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.55);
}

.industry-carousel-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 24px;
}

.industry-nav-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid #cbd5e1;
  background: #ffffff;
  color: var(--color-navy);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
  box-shadow: 0 2px 8px rgba(4, 9, 20, 0.04);
}

.industry-nav-btn:hover {
  background: var(--color-navy);
  color: #ffffff;
  border-color: var(--color-navy);
  transform: scale(1.05);
}

.industry-nav-btn svg {
  width: 18px;
  height: 18px;
}

/* Sample Library Section (Kho tem mẫu Nanocheck Wireframe) */
.sample-lib-section {
  background-color: #f8fafc;
  border-top: 1px solid var(--color-border);
  padding-block: 84px;
}

.sample-header {
  margin-bottom: 36px;
  text-align: left;
}

.sample-row {
  display: flex;
  align-items: stretch;
  gap: 24px;
}

.sample-banner-card {
  flex: 0 0 280px;
  border-radius: 26px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 8px 24px rgba(4, 9, 20, 0.08);
  transition: transform var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.sample-banner-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px rgba(4, 9, 20, 0.14);
}

.sample-banner-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
}

.sample-banner-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sample-banner-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg, rgba(4, 9, 20, 0.85) 0%, rgba(4, 9, 20, 0.45) 50%, rgba(4, 9, 20, 0.9) 100%);
}

.sample-banner-content {
  position: relative;
  z-index: 2;
  padding: 28px 24px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: #ffffff;
}

.sample-banner-badge {
  display: inline-block;
  width: fit-content;
  font-size: 10.5px;
  font-weight: 500;
  background: #0284c7;
  color: #ffffff;
  padding: 4px 10px;
  border-radius: 20px;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.sample-banner-title {
  font-size: 22px;
  font-weight: 500;
  color: #ffffff;
  margin-bottom: 8px;
  line-height: 1.25;
}

.sample-banner-desc {
  font-size: 13px;
  font-weight: 300;
  color: #cbd5e1;
  line-height: 1.5;
  margin-bottom: 20px;
}

.btn-sample-banner {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  color: var(--color-navy);
  font-family: var(--font-base);
  font-size: 13px;
  font-weight: 500;
  padding: 10px 20px;
  border-radius: 6px;
  text-decoration: none;
  width: fit-content;
  transition: all var(--transition-fast);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
  border: 1px solid transparent;
}

.btn-sample-banner:hover {
  background: #0284c7;
  color: #ffffff;
  border-color: #0284c7;
  transform: translateY(-1px);
}

.sample-slider-wrapper {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  position: relative;
}

.sample-slider-track {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 8px 4px 16px;
  width: 100%;
  scroll-snap-type: x mandatory;
}

.sample-slider-track::-webkit-scrollbar {
  display: none;
}

.sample-item {
  flex: 0 0 calc((100% - 60px) / 4);
  min-width: 165px;
  scroll-snap-align: start;
  cursor: pointer;
  transition: transform var(--transition-fast);
}

.sample-item:hover {
  transform: translateY(-4px);
}

.sample-item-thumb {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 22px;
  overflow: hidden;
  background: #e2e8f0;
  margin-bottom: 12px;
  position: relative;
  box-shadow: 0 6px 18px rgba(4, 9, 20, 0.06);
  border: 1px solid rgba(226, 232, 240, 0.8);
}

.sample-item-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.sample-item:hover .sample-item-thumb img {
  transform: scale(1.08);
}

.sample-item-title {
  font-size: 15.5px;
  font-weight: 500;
  color: var(--color-navy);
  margin-bottom: 4px;
  line-height: 1.35;
}

.sample-item-desc {
  font-size: 12.5px;
  font-weight: 300;
  color: var(--color-slate-600);
  line-height: 1.45;
  margin: 0;
}

.sample-nav-next {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid #cbd5e1;
  background: #ffffff;
  color: var(--color-navy);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  margin-left: 12px;
  transition: all var(--transition-fast);
  box-shadow: 0 2px 8px rgba(4, 9, 20, 0.04);
}

.sample-nav-next:hover {
  background: var(--color-navy);
  border-color: var(--color-navy);
  color: #ffffff;
  transform: scale(1.05);
}

.sample-footer-action {
  text-align: center;
  margin-top: 36px;
}

.btn-sample-all {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--color-navy);
  text-decoration: none;
  padding: 10px 22px;
  border-radius: 6px;
  border: 1px solid #cbd5e1;
  background: #ffffff;
  transition: all var(--transition-fast);
  box-shadow: 0 1px 4px rgba(4, 9, 20, 0.04);
}

.btn-sample-all:hover {
  background-color: var(--color-navy);
  border-color: var(--color-navy);
  color: #ffffff;
  transform: translateY(-1px);
}

/* ============================================================
   Clients Section (Khách hàng của Nanocheck - 2 Rows Static Grid)
   ============================================================ */
.clients-section {
  background-color: #ffffff;
  padding-block: 72px;
  border-top: 1px solid var(--color-border);
}

.clients-header {
  margin-bottom: 32px;
  text-align: left;
}

.clients-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  width: 100%;
}

.client-logo-card {
  position: relative;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 22px 16px;
  min-height: 104px;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.03);
  cursor: pointer;
  overflow: hidden;
}

.client-logo-card:hover {
  transform: translateY(-4px);
  border-color: #0284c7;
  box-shadow: 0 12px 24px -4px rgba(2, 132, 199, 0.12), 0 4px 6px -2px rgba(15, 23, 42, 0.04);
}

.client-card-bg-logo {
  position: absolute;
  inset: 8px;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: contain;
  opacity: 0.14;
  filter: grayscale(100%);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
  z-index: 1;
}

.client-logo-card:hover .client-card-bg-logo {
  opacity: 0.32;
  filter: grayscale(0%);
  transform: scale(1.08);
}

.client-logo-inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 100%;
}

.client-logo-name {
  font-family: var(--font-heading, inherit);
  font-size: 15px;
  font-weight: 700;
  color: #0f172a;
  letter-spacing: 0.5px;
  line-height: 1.25;
  text-transform: uppercase;
  transition: color 0.25s ease;
}

.client-logo-card:hover .client-logo-name {
  color: #0284c7;
}

.client-logo-sub {
  font-size: 12px;
  font-weight: 400;
  color: #64748b;
  margin-top: 5px;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
  transition: color 0.25s ease;
}

.client-logo-card:hover .client-logo-sub {
  color: #334155;
}

/* Tech Capabilities (Navy Xanh Đen Highlight Section) */
.navy-tech-section {
  background-color: var(--color-navy);
  color: #ffffff;
  position: relative;
  overflow: hidden;
  padding-block: 84px;
}

.navy-tech-section::before {
  content: '';
  position: absolute;
  top: -30%;
  left: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(2, 132, 199, 0.15) 0%, transparent 70%);
  pointer-events: none;
  filter: blur(50px);
}

.navy-tech-section::after {
  content: '';
  position: absolute;
  bottom: -30%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(29, 78, 216, 0.18) 0%, transparent 70%);
  pointer-events: none;
  filter: blur(50px);
}

.navy-header {
  text-align: left;
  max-width: 840px;
  margin-inline: 0;
  margin-bottom: 48px;
  position: relative;
  z-index: 2;
}

.navy-header .section-title {
  color: #ffffff;
  text-align: left;
}

.navy-header .section-desc {
  color: #94a3b8;
  text-align: left;
}

/* ============================================================
   Factory Slider Showcase (Năng lực sản xuất)
   ============================================================ */
.factory-slider-wrapper {
  position: relative;
  z-index: 2;
  width: 100%;
  margin-bottom: 36px;
  border-radius: 20px;
  overflow: hidden;
  background: #08101e;
  border: 1px solid rgba(56, 189, 248, 0.22);
  box-shadow: 0 24px 60px -12px rgba(0, 0, 0, 0.6), 0 0 35px rgba(2, 132, 199, 0.12);
}

.factory-slider {
  position: relative;
  width: 100%;
  height: 480px;
  overflow: hidden;
}

@media (max-width: 991px) {
  .factory-slider {
    height: 380px;
  }
}

@media (max-width: 640px) {
  .factory-slider {
    height: 290px;
  }
}

.factory-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.7s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1;
}

.factory-slide.active {
  opacity: 1;
  visibility: visible;
  z-index: 2;
}

.factory-slide-img-wrap {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.factory-slide-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.04);
  transition: transform 6s cubic-bezier(0.25, 1, 0.5, 1);
}

.factory-slide.active .factory-slide-img {
  transform: scale(1);
}

.factory-slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 16, 30, 0.15) 0%, rgba(8, 16, 30, 0.45) 45%, rgba(8, 16, 30, 0.95) 100%);
  pointer-events: none;
}

.factory-slide-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 32px 40px;
  z-index: 3;
  pointer-events: none;
}

@media (max-width: 640px) {
  .factory-slide-caption {
    padding: 18px 20px;
  }
}

.factory-slide-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 14px;
  background: rgba(2, 132, 199, 0.28);
  border: 1px solid rgba(56, 189, 248, 0.45);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 9999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.8px;
  color: #38bdf8;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.factory-badge-pulse {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #38bdf8;
  box-shadow: 0 0 8px #38bdf8;
  animation: factoryPulse 2s infinite;
}

@keyframes factoryPulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(56, 189, 248, 0.7); }
  70% { transform: scale(1.1); box-shadow: 0 0 0 8px rgba(56, 189, 248, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(56, 189, 248, 0); }
}

.factory-slide-title {
  font-family: var(--font-heading, inherit);
  font-size: 24px;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.3;
  margin-bottom: 8px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
}

@media (max-width: 640px) {
  .factory-slide-title {
    font-size: 17px;
  }
}

.factory-slide-desc {
  font-size: 14px;
  color: #cbd5e1;
  max-width: 680px;
  line-height: 1.5;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
  margin: 0;
}

@media (max-width: 640px) {
  .factory-slide-desc {
    font-size: 13px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
}

/* Nav arrows */
.factory-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(11, 21, 40, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all 0.25s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.factory-nav-btn svg {
  width: 20px;
  height: 20px;
}

.factory-nav-btn:hover {
  background: #0284c7;
  border-color: #38bdf8;
  transform: translateY(-50%) scale(1.08);
  box-shadow: 0 0 20px rgba(56, 189, 248, 0.5);
}

.factory-nav-btn.prev {
  left: 20px;
}

.factory-nav-btn.next {
  right: 20px;
}

@media (max-width: 640px) {
  .factory-nav-btn {
    width: 38px;
    height: 38px;
  }
  .factory-nav-btn.prev {
    left: 10px;
  }
  .factory-nav-btn.next {
    right: 10px;
  }
}

/* Dots pagination */
.factory-slider-dots {
  position: absolute;
  bottom: 28px;
  right: 40px;
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 10;
}

@media (max-width: 640px) {
  .factory-slider-dots {
    bottom: 14px;
    right: 20px;
  }
}

.factory-dot {
  width: 10px;
  height: 6px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.3);
  border: none;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 0;
}

.factory-dot:hover {
  background: rgba(255, 255, 255, 0.6);
}

.factory-dot.active {
  width: 28px;
  background: #38bdf8;
  box-shadow: 0 0 10px rgba(56, 189, 248, 0.7);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
  z-index: 2;
  margin-bottom: 0;
}

.stat-item {
  background: rgba(19, 36, 61, 0.7);
  border: 1px solid var(--color-navy-border);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: var(--radius-lg);
  padding: 30px 24px;
  text-align: center;
  transition: transform var(--transition-fast);
}

.stat-item:hover {
  transform: translateY(-3px);
  border-color: rgba(56, 189, 248, 0.4);
}

.stat-val {
  font-size: 38px;
  font-weight: 500;
  color: #ffffff;
  line-height: 1.1;
  margin-bottom: 8px;
  background: linear-gradient(135deg, #ffffff 30%, var(--color-cyan-glow) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stat-title {
  font-size: 15px;
  font-weight: 500;
  color: #e2e8f0;
  margin-bottom: 6px;
}

.stat-desc {
  font-size: 13px;
  font-weight: 300;
  color: #94a3b8;
  line-height: 1.4;
}

.navy-cta-box {
  text-align: center;
  position: relative;
  z-index: 2;
}

/* ============================================================
   Standardized 5-Step Process (Quy trình triển khai chuẩn)
   ============================================================ */
.process-section {
  background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
  position: relative;
  padding-block: 84px;
  overflow: hidden;
}

.process-section .section-header {
  text-align: left;
  margin-bottom: 44px;
}

.process-section-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 14px;
  background: #e0f2fe;
  border: 1px solid #bae6fd;
  border-radius: 9999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.8px;
  color: #0284c7;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.process-badge-pulse {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #0284c7;
  box-shadow: 0 0 8px #0284c7;
  animation: processPulse 2s infinite;
}

@keyframes processPulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(2, 132, 199, 0.7); }
  70% { transform: scale(1.1); box-shadow: 0 0 0 6px rgba(2, 132, 199, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(2, 132, 199, 0); }
}

.process-infographic-wrapper {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  border-radius: 24px;
  overflow: hidden;
  background: transparent;
  border: none;
  box-shadow: none;
  transition: transform 0.35s ease;
}

.process-infographic-wrapper:hover {
  transform: translateY(-2px);
  border: none;
  box-shadow: none;
}

.process-infographic-picture {
  display: block;
  width: 100%;
  line-height: 0;
}

.process-infographic-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  border-radius: 20px;
}

@media (max-width: 768px) {
  .process-infographic-wrapper {
    border-radius: 16px;
    max-width: 500px;
  }
  .process-infographic-img {
    border-radius: 16px;
  }
}

.process-flow-container {
  position: relative;
  width: 100%;
}

.process-grid-5 {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  position: relative;
  width: 100%;
}

.process-card-item {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-top: 4px solid #0284c7;
  border-radius: 18px;
  padding: 24px 20px 20px;
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: visible;
}

.process-card-item:hover {
  transform: translateY(-8px);
  border-color: #38bdf8;
  border-top-color: #0284c7;
  box-shadow: 0 20px 35px -10px rgba(2, 132, 199, 0.16), 0 0 1px rgba(2, 132, 199, 0.3);
}

.process-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  position: relative;
}

.process-num-glow {
  font-size: 15px;
  font-weight: 800;
  color: #ffffff;
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
  width: 38px;
  height: 38px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.35);
  flex-shrink: 0;
  letter-spacing: -0.5px;
  transition: transform 0.3s ease;
}

.process-card-item:hover .process-num-glow {
  transform: scale(1.08);
}

.process-tag {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #0369a1;
  background: #e0f2fe;
  padding: 4px 10px;
  border-radius: 9999px;
  border: 1px solid #bae6fd;
}

.process-connector-arrow {
  position: absolute;
  right: -23px;
  top: 50%;
  transform: translateY(-50%);
  width: 22px;
  height: 22px;
  color: #94a3b8;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5;
  pointer-events: none;
  transition: all 0.3s ease;
}

.process-connector-arrow svg {
  width: 18px;
  height: 18px;
}

.process-card-item:hover .process-connector-arrow {
  color: #0284c7;
  transform: translateY(-50%) translateX(3px);
}

.process-icon-box {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #f0f9ff;
  border: 1px solid #e0f2fe;
  color: #0284c7;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  transition: all 0.3s ease;
}

.process-icon-box svg {
  width: 22px;
  height: 22px;
}

.process-card-item:hover .process-icon-box {
  background: #0284c7;
  color: #ffffff;
  border-color: #0284c7;
  transform: rotate(4deg);
}

.process-card-body {
  flex-grow: 1;
  margin-bottom: 16px;
}

.process-card-title {
  font-family: var(--font-heading, inherit);
  font-size: 16px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 8px;
  line-height: 1.35;
  transition: color 0.25s ease;
}

.process-card-item:hover .process-card-title {
  color: #0284c7;
}

.process-card-desc {
  font-size: 13px;
  color: #64748b;
  line-height: 1.55;
  margin: 0;
}

.process-card-footer {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px dashed #e2e8f0;
}

.process-deliverable-pill {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  padding: 8px 10px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  font-size: 12px;
  color: #334155;
  font-weight: 500;
  line-height: 1.35;
  transition: all 0.25s ease;
}

.process-card-item:hover .process-deliverable-pill {
  background: #f0fdf4;
  border-color: #bbf7d0;
  color: #166534;
}

.deliverable-icon {
  width: 14px;
  height: 14px;
  color: #10b981;
  flex-shrink: 0;
  margin-top: 2px;
}

@media (max-width: 1199px) {
  .process-grid-5 {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }
  .process-connector-arrow {
    display: none;
  }
}

@media (max-width: 768px) {
  .process-grid-5 {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    gap: 14px;
    margin: 0 -16px;
    padding: 8px 16px 18px 16px;
  }
  .process-grid-5::-webkit-scrollbar {
    display: none;
  }
  .process-card-item {
    flex: 0 0 275px;
    max-width: 82vw;
    scroll-snap-align: start;
    align-self: stretch;
  }
}

/* CTA Conversion Banner */
.cta-section {
  padding-block: 70px;
  background: #ffffff;
  border-top: 1px solid var(--color-border);
}

.cta-banner {
  background: linear-gradient(135deg, var(--color-navy) 0%, var(--color-navy-surface) 100%);
  border-radius: var(--radius-xl);
  padding: 56px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-elevated);
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(2, 132, 199, 0.25) 0%, transparent 70%);
  pointer-events: none;
}

.cta-content {
  position: relative;
  z-index: 2;
  max-width: 580px;
}

.cta-title {
  font-size: 32px;
  font-weight: 500;
  color: #ffffff;
  margin-bottom: 10px;
}

.cta-desc {
  font-size: 16px;
  font-weight: 300;
  color: #cbd5e1;
  line-height: 1.5;
}

.cta-actions {
  position: relative;
  z-index: 2;
  flex-shrink: 0;
}

/* Footer (Deep Navy & Midnight Tech Xanh Đen Style) */
.site-footer {
  background: linear-gradient(180deg, #071526 0%, #040914 100%);
  color: #94a3b8;
  padding-top: 68px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 13.5px;
  position: relative;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.25fr 1.1fr 1fr 1.35fr;
  gap: 36px;
  padding-bottom: 52px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-heading {
  color: #ffffff;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.01em;
  margin-bottom: 22px;
  line-height: 1.3;
}

.footer-nav {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 0;
  margin: 0;
}

.footer-nav a {
  color: #94a3b8;
  text-decoration: none;
  font-weight: 300;
  font-size: 13px;
  line-height: 1.45;
  transition: all var(--transition-fast);
  display: inline-block;
}

.footer-nav a:hover {
  color: #38bdf8;
  transform: translateX(3px);
  text-decoration: none;
}

.footer-col-contact {
  display: flex;
  flex-direction: column;
}

.footer-company-name {
  color: #ffffff;
  font-size: 13.5px;
  font-weight: 500;
  margin-bottom: 10px;
  line-height: 1.45;
}

.footer-address {
  color: #94a3b8;
  font-size: 12.5px;
  font-weight: 300;
  line-height: 1.55;
  margin-bottom: 14px;
}

.footer-contact-details {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 24px;
}

.footer-contact-details p {
  margin: 0;
}

.footer-contact-details a {
  color: #94a3b8;
  font-size: 13px;
  font-weight: 300;
  text-decoration: none;
  transition: color var(--transition-fast);
}

.footer-contact-details a:hover {
  color: #38bdf8;
  text-decoration: none;
}

.footer-brand-social {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-sub-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

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

.sub-brand-name {
  color: #ffffff;
  font-size: 17px;
  font-weight: 500;
  letter-spacing: 0.04em;
  line-height: 1.1;
}

.sub-brand-tagline {
  color: #64748b;
  font-size: 10px;
  font-weight: 300;
  letter-spacing: 0.02em;
}

.footer-social-links {
  display: flex;
  align-items: center;
  gap: 16px;
}

.footer-social-links a {
  color: #94a3b8;
  opacity: 0.9;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.footer-social-links a:hover {
  opacity: 1;
  transform: translateY(-2px);
  color: #38bdf8;
}

.footer-bottom {
  padding-block: 20px;
}

.footer-bottom-inner {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  font-size: 12.5px;
  font-weight: 300;
  color: #64748b;
}

/* ==========================================================================
   FLOATING QUICK CONTACT WIDGET (Xê lên cao: Zalo, Phone, Map, Tư Vấn)
   ========================================================================== */
.floating-contact-bar {
  position: fixed;
  right: 22px;
  bottom: 92px; /* XÊ LÊN CAO: Tránh chạm đáy và tránh che form card */
  z-index: 998;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.contact-float-btn {
  position: relative;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border: 2px solid #ffffff;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.22);
  cursor: pointer;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease;
}

.contact-float-btn:hover {
  transform: scale(1.12);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.32);
}

/* Tooltip on hover */
.float-tooltip {
  position: absolute;
  right: 58px;
  top: 50%;
  transform: translateY(-50%) translateX(6px);
  background: #0f172a;
  color: #ffffff;
  font-size: 11.5px;
  font-weight: 600;
  white-space: nowrap;
  padding: 5px 10px;
  border-radius: 6px;
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  transition: all 0.2s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.float-tooltip::after {
  content: '';
  position: absolute;
  right: -5px;
  top: 50%;
  transform: translateY(-50%);
  border-width: 5px 0 5px 5px;
  border-style: solid;
  border-color: transparent transparent transparent #0f172a;
}

.contact-float-btn:hover .float-tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateY(-50%) translateX(0);
}

/* 1. Zalo Button */
.btn-zalo {
  background: #0068ff;
  color: #ffffff;
}

.btn-zalo-text {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

/* 2. Phone Button */
.btn-phone {
  background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
  color: #ffffff;
}

/* 3. Map Button */
.btn-map {
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
  color: #ffffff;
}

/* 4. Consult Button */
.btn-consult {
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
  color: #ffffff;
}

/* 5. Back to top */
.btn-back-top {
  width: 38px;
  height: 38px;
  background: #334155;
  color: #ffffff;
  border: 1.5px solid rgba(255, 255, 255, 0.4);
}

/* Pulses */
.float-pulse {
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  pointer-events: none;
  animation: ncFloatPulse 2.2s infinite;
}

.float-pulse-blue {
  border: 2px solid rgba(0, 104, 255, 0.6);
}

.float-pulse-green {
  border: 2px solid rgba(34, 197, 94, 0.6);
  animation-delay: 0.7s;
}

@keyframes ncFloatPulse {
  0% {
    transform: scale(0.9);
    opacity: 0.8;
  }
  70% {
    transform: scale(1.4);
    opacity: 0;
  }
  100% {
    transform: scale(1.4);
    opacity: 0;
  }
}

/* Tự động ẩn thanh liên hệ nổi khi Form Dock trên trang chi tiết đang mở (tránh chồng chéo) */
body:has(#ncFloatingLeadDock.is-open) .floating-contact-bar {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

/* ==========================================================================
   GLOBAL CONSULTATION POPUP MODAL (Giữ chân khách hàng tức thì)
   ========================================================================== */
.nc-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.nc-modal-overlay.is-active {
  opacity: 1;
  visibility: visible;
}

.nc-modal-card {
  position: relative;
  width: 360px;
  max-width: calc(100vw - 32px);
  max-height: calc(100vh - 40px);
  overflow-y: auto;
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid #e2e8f0;
  border-top: 4px solid #0284c7;
  padding: 20px 20px 18px;
  box-shadow: 0 25px 60px rgba(15, 23, 42, 0.3), 0 0 0 1px rgba(2, 132, 199, 0.12);
  transform: scale(0.92);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.nc-modal-overlay.is-active .nc-modal-card {
  transform: scale(1);
}

.nc-modal-header {
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid #f1f5f9;
}

.nc-modal-header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 4px;
}

.nc-modal-close-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1px solid #e2e8f0;
  background: #f8fafc;
  color: #64748b;
  cursor: pointer;
  transition: all 0.2s ease;
}

.nc-modal-close-btn:hover {
  background: #fee2e2;
  border-color: #fca5a5;
  color: #ef4444;
  transform: rotate(90deg);
}

.nc-modal-title {
  font-size: 17px;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 3px 0;
}

.nc-modal-desc {
  font-size: 11.5px;
  color: #64748b;
  margin: 0;
  line-height: 1.4;
}

body.nc-modal-open {
  overflow: hidden;
}

/* Responsive Rules */
@media (max-width: 1024px) {
  .solutions-grid,
  .product-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .industry-card {
    flex: 0 0 220px;
    height: 360px;
  }
  .sample-row {
    flex-direction: column;
  }
  .sample-banner-card {
    width: 100%;
    flex: none;
    height: 240px;
  }
  .sample-item {
    flex: 0 0 170px;
  }
  .clients-grid {
    grid-template-columns: repeat(5, 1fr);
    gap: 12px;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

@media (max-width: 768px) {
  .top-bar {
    display: none;
  }
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .hero-title {
    font-size: 36px;
  }
  .nav-links {
    display: none;
  }
  .mobile-toggle {
    display: block;
  }
  .nav-search-wrap {
    display: none;
  }
  .solutions-grid,
  .product-cards-grid {
    grid-template-columns: 1fr;
  }
  .fpt-solutions-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px !important;
  }
  @media (max-width: 540px) {
    .fpt-solutions-grid {
      grid-template-columns: 1fr !important;
    }
  }
  .industry-card {
    flex: 0 0 190px;
    height: 320px;
    border-radius: 18px;
  }
  .industry-carousel-nav {
    justify-content: center;
  }
  .sample-item {
    flex: 0 0 150px;
  }
  .sample-item-thumb {
    border-radius: 18px;
  }
  /* 1. Khách hàng của Nanocheck dạng vuốt ngang (2 hàng gọn gàng) */
  .clients-grid {
    display: grid;
    grid-template-rows: repeat(2, 1fr);
    grid-auto-flow: column;
    grid-auto-columns: 145px;
    gap: 10px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    margin: 0 -16px;
    padding: 4px 16px 14px 16px;
  }
  .clients-grid::-webkit-scrollbar {
    display: none;
  }
  .client-logo-card {
    scroll-snap-align: start;
    padding: 12px 10px;
    min-height: 78px;
  }

  .product-tabs-nav {
    flex-direction: column;
    width: 100%;
  }
  .product-tab-btn {
    width: 100%;
    text-align: center;
  }

  /* 2. Quy trình triển khai chuẩn dạng vuốt ngang */
  .process-grid,
  .process-grid-5 {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    gap: 14px;
    margin: 0 -16px;
    padding: 8px 16px 18px 16px;
  }
  .process-grid::-webkit-scrollbar,
  .process-grid-5::-webkit-scrollbar {
    display: none;
  }
  .process-card-item {
    flex: 0 0 275px;
    max-width: 82vw;
    scroll-snap-align: start;
    align-self: stretch;
  }

  /* 3. Thẻ thống kê chỉ số năng lực dạng vuốt ngang */
  .stats-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    gap: 12px;
    margin: 0 -16px;
    padding: 6px 16px 16px 16px;
  }
  .stats-grid::-webkit-scrollbar {
    display: none;
  }
  .stat-item {
    flex: 0 0 220px;
    scroll-snap-align: start;
    padding: 22px 16px;
  }

  /* 4. Tab Kết nối với chúng tôi dạng vuốt ngang trên mobile */
  .contact-inquiry-tabs {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    justify-content: flex-start;
    gap: 10px;
    margin: 18px -16px 26px -16px;
    padding: 4px 16px 10px 16px;
  }
  .contact-inquiry-tabs::-webkit-scrollbar {
    display: none;
  }
  .contact-tab-btn {
    flex-shrink: 0;
    white-space: nowrap;
    scroll-snap-align: start;
    padding: 10px 18px;
    font-size: 13.5px;
  }
  .cta-banner {
    flex-direction: column;
    text-align: center;
    padding: 40px 24px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .footer-bottom-inner {
    flex-direction: column;
    text-align: center;
  }

  /* 1. Thu hẹp Hero Banner để khách đỡ kéo lâu trên mobile */
  .hero-banner-slider {
    min-height: 330px !important;
  }
  .hero-slide-content {
    padding-top: 15px !important;
    padding-bottom: 56px !important;
    max-width: 100% !important;
  }
  .hero-slide-title {
    font-size: 26px !important;
    line-height: 1.22 !important;
    margin-bottom: 6px !important;
  }
  .hero-slide-desc {
    font-size: 13.5px !important;
    line-height: 1.4 !important;
    margin-bottom: 0 !important;
  }
  .hero-banner-controls-layer {
    bottom: 12px !important;
  }
  .hero-banner-buttons {
    gap: 8px !important;
  }
  .btn-banner-action {
    padding: 8px 14px !important;
    font-size: 11px !important;
    letter-spacing: 0.02em !important;
  }

  /* 2. Co lại khoảng trống giữa các section trên mobile */
  .why-choose-section,
  .products-tab-section,
  .industry-section,
  .sample-lib-section,
  .clients-section,
  .navy-tech-section,
  .process-section,
  .cta-section,
  .related-posts-section,
  .home-contact-section,
  .contact-touch-section,
  .contact-hq-section,
  .about-content-section,
  .about-pillars-section,
  .about-vm-section,
  .about-values-section,
  .section {
    padding-top: 36px !important;
    padding-bottom: 36px !important;
  }
  .section-header {
    margin-bottom: 22px !important;
  }
  .section-title {
    font-size: 24px !important;
    line-height: 1.25 !important;
  }
  .section-desc {
    font-size: 13.5px !important;
    margin-bottom: 0 !important;
  }

  /* 3. Xê lên: Thanh liên hệ nổi xê lên cao trên mobile */
  .floating-contact-bar {
    right: 14px !important;
    bottom: 82px !important;
    gap: 8px !important;
  }
  .contact-float-btn {
    width: 44px !important;
    height: 44px !important;
  }
  .float-tooltip {
    display: none !important;
  }
}

@media (max-width: 480px) {
  .clients-grid {
    grid-auto-columns: 138px;
  }
  .stat-item {
    flex: 0 0 205px;
    padding: 20px 14px;
  }
  .process-card-item {
    flex: 0 0 260px;
  }
}

/* ============================================================
   About Page & FPT Case Studies Showcase
   ============================================================ */
.about-hero-section {
  background: linear-gradient(180deg, var(--color-navy-dark) 0%, var(--color-navy) 100%);
  padding: 88px 0 72px;
  position: relative;
  overflow: hidden;
  text-align: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.about-hero-content {
  max-width: 780px;
  margin-inline: auto;
  position: relative;
  z-index: 2;
}

.about-hero-badge {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-cyan-glow);
  background: rgba(2, 132, 199, 0.15);
  border: 1px solid rgba(56, 189, 248, 0.3);
  padding: 6px 16px;
  border-radius: 50px;
  display: inline-block;
  margin-bottom: 18px;
}

.about-hero-title {
  font-size: 48px;
  font-weight: 500;
  color: #ffffff;
  line-height: 1.16;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.about-hero-desc {
  font-size: 16.5px;
  font-weight: 300;
  color: #cbd5e1;
  max-width: 620px;
  margin-inline: auto;
  margin-bottom: 32px;
  line-height: 1.6;
}

.about-hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

/* FPT Software Style Case Studies Component */
.fpt-case-studies-section {
  background-color: #f8fafc;
  padding: 76px 0 84px;
}

.fpt-case-studies-card {
  position: relative;
  overflow: hidden;
  background: linear-gradient(145deg, #07172c 0%, #040914 100%);
  border: 1px solid rgba(56, 189, 248, 0.18);
  border-radius: 24px;
  box-shadow: 0 20px 50px rgba(4, 9, 20, 0.35);
  padding: 48px 48px 0 48px;
}

.fpt-case-glow {
  position: absolute;
  pointer-events: none;
  filter: blur(70px);
  border-radius: 50%;
  z-index: 1;
}

.fpt-case-glow-cyan {
  top: -60px;
  right: 15%;
  width: 360px;
  height: 360px;
  background: radial-gradient(circle, rgba(2, 132, 199, 0.22) 0%, transparent 70%);
}

.fpt-case-glow-emerald {
  bottom: 60px;
  left: -40px;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.16) 0%, transparent 70%);
}

.fpt-case-tab-content {
  position: relative;
  z-index: 2;
}

.fpt-case-panel {
  display: none;
  animation: fadeIn 0.35s ease;
}

.fpt-case-panel.active {
  display: block;
}

.fpt-case-body {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 48px;
  align-items: center;
  margin-bottom: 44px;
}

.fpt-case-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.fpt-case-title {
  font-size: 34px;
  font-weight: 500;
  color: #ffffff;
  line-height: 1.25;
  margin-bottom: 18px;
  letter-spacing: -0.015em;
}

.fpt-case-desc {
  font-size: 14.5px;
  font-weight: 300;
  color: #cbd5e1;
  line-height: 1.7;
  margin-bottom: 28px;
}

.fpt-case-action {
  display: flex;
  align-items: center;
}

.fpt-case-media {
  width: 100%;
}

.fpt-case-img-wrap {
  width: 100%;
  height: 330px;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.45);
}

.fpt-case-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.fpt-case-studies-card:hover .fpt-case-img-wrap img {
  transform: scale(1.04);
}

/* FPT Case Navigation Tabs (Bottom horizontal bar) */
.fpt-case-nav {
  position: relative;
  z-index: 2;
  display: flex;
  width: calc(100% + 96px);
  margin-left: -48px;
  margin-right: -48px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.fpt-case-nav-item {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 32px;
  background: transparent;
  border: none;
  border-top: 3px solid transparent;
  color: #94a3b8;
  font-family: var(--font-base);
  font-size: 14px;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
  transition: all var(--transition-fast);
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.fpt-case-nav-item:last-child {
  border-right: none;
}

.fpt-case-nav-item:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.04);
}

.fpt-case-nav-item.active {
  color: #ffffff;
  background: rgba(2, 132, 199, 0.14);
  border-top-color: #38bdf8;
}

.fpt-case-nav-label {
  line-height: 1.35;
}

.fpt-case-chevron {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-left: 12px;
  transition: transform var(--transition-fast);
}

.fpt-case-nav-item:hover .fpt-case-chevron,
.fpt-case-nav-item.active .fpt-case-chevron {
  transform: translateX(4px);
  stroke: #38bdf8;
}

/* Vision & Mission Section */
.about-vm-section {
  background-color: #ffffff;
}

.about-vm-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.about-vm-card {
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: 18px;
  padding: 36px 32px;
  box-shadow: 0 4px 16px rgba(4, 9, 20, 0.04);
  transition: transform var(--transition-fast), border-color var(--transition-fast);
}

.about-vm-card:hover {
  transform: translateY(-4px);
  border-color: rgba(2, 132, 199, 0.35);
  box-shadow: 0 12px 28px rgba(4, 9, 20, 0.08);
}

.about-vm-icon {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background: #eff6ff;
  color: #0284c7;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.about-vm-icon svg {
  width: 28px;
  height: 28px;
}

.about-vm-title {
  font-size: 20px;
  font-weight: 500;
  color: var(--color-navy);
  margin-bottom: 12px;
  line-height: 1.3;
}

.about-vm-desc {
  font-size: 14.5px;
  font-weight: 300;
  color: var(--color-slate-600);
  line-height: 1.65;
}

/* Core Values Section */
.about-values-section {
  background-color: #f8fafc;
  border-top: 1px solid var(--color-border);
}

.about-values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.about-value-card {
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: 16px;
  padding: 28px 24px;
  transition: all var(--transition-fast);
  box-shadow: 0 2px 8px rgba(4, 9, 20, 0.03);
}

.about-value-card:hover {
  transform: translateY(-4px);
  border-color: var(--color-navy);
  box-shadow: 0 10px 24px rgba(4, 9, 20, 0.08);
}

.about-value-num {
  font-size: 26px;
  font-weight: 500;
  color: #0284c7;
  margin-bottom: 12px;
  opacity: 0.85;
}

.about-value-title {
  font-size: 17px;
  font-weight: 500;
  color: var(--color-navy);
  margin-bottom: 8px;
  line-height: 1.35;
}

.about-value-desc {
  font-size: 13.5px;
  font-weight: 300;
  color: var(--color-slate-600);
  line-height: 1.55;
}

/* Responsive Rules for About Page */
@media (max-width: 992px) {
  .fpt-case-body {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .fpt-case-img-wrap {
    height: 280px;
  }
  .fpt-case-nav {
    flex-direction: column;
    width: 100%;
    margin-left: 0;
    margin-right: 0;
  }
  .fpt-case-nav-item {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 16px 20px;
  }
  .about-vm-grid {
    grid-template-columns: 1fr;
  }
  .about-values-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .about-hero-title {
    font-size: 34px;
  }
  .about-hero-actions {
    flex-direction: column;
    width: 100%;
  }
  .about-hero-actions .btn {
    width: 100%;
  }
  .fpt-case-studies-card {
    padding: 28px 20px 0 20px;
    border-radius: 18px;
  }
  .fpt-case-title {
    font-size: 25px;
  }
  .about-values-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   Services & Industries Page (FPT Software Style)
   ============================================================ */
.services-hero-section {
  background: linear-gradient(180deg, var(--color-navy-dark) 0%, var(--color-navy) 100%);
  padding: 88px 0 72px;
  text-align: center;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.services-hero-content {
  max-width: 760px;
  margin-inline: auto;
  position: relative;
  z-index: 2;
}

.services-hero-badge {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-cyan-glow);
  background: rgba(2, 132, 199, 0.15);
  border: 1px solid rgba(56, 189, 248, 0.3);
  padding: 6px 16px;
  border-radius: 50px;
  display: inline-block;
  margin-bottom: 18px;
}

.services-hero-title {
  font-size: 48px;
  font-weight: 500;
  color: #ffffff;
  line-height: 1.16;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.services-hero-desc {
  font-size: 16.5px;
  font-weight: 300;
  color: #cbd5e1;
  max-width: 620px;
  margin-inline: auto;
  line-height: 1.6;
}

/* Industries 12-Card Grid */
.industries-grid-section {
  background-color: #ffffff;
  padding-block: 80px;
}

.industries-cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.industry-box-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  padding: 32px 24px;
  min-height: 175px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all var(--transition-fast);
  box-shadow: 0 4px 14px rgba(4, 9, 20, 0.03);
  cursor: pointer;
}

.industry-box-card:hover {
  transform: translateY(-5px);
  border-color: rgba(2, 132, 199, 0.45);
  box-shadow: 0 14px 30px rgba(4, 9, 20, 0.09);
}

.industry-box-icon {
  width: 44px;
  height: 44px;
  color: var(--color-navy);
  transition: all var(--transition-fast);
}

.industry-box-icon svg {
  width: 100%;
  height: 100%;
}

.industry-box-card:hover .industry-box-icon {
  color: #0284c7;
  transform: scale(1.08);
}

.industry-box-title {
  font-size: 16px;
  font-weight: 500;
  color: var(--color-navy);
  line-height: 1.35;
  margin-top: 24px;
}

/* Capabilities Showcase Section (FPT Dark Multi-column Style) */
.capabilities-section {
  background-color: var(--color-navy);
  padding: 84px 0 92px;
  position: relative;
  overflow: hidden;
}

.capabilities-header {
  text-align: center;
  max-width: 680px;
  margin-inline: auto;
  margin-bottom: 36px;
}

.capabilities-title {
  font-size: 32px;
  font-weight: 500;
  color: #ffffff;
  line-height: 1.25;
  margin-bottom: 12px;
  letter-spacing: -0.015em;
}

.capabilities-desc {
  font-size: 15px;
  font-weight: 300;
  color: #94a3b8;
  line-height: 1.6;
}

/* Category Tabs */
.cap-category-tabs {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}

.cap-tab-btn {
  font-family: var(--font-base);
  font-size: 13.5px;
  font-weight: 500;
  padding: 10px 22px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: transparent;
  color: #cbd5e1;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.cap-tab-btn:hover {
  border-color: #38bdf8;
  color: #ffffff;
  background: rgba(56, 189, 248, 0.08);
}

.cap-tab-btn.active {
  background: #0284c7;
  border-color: #0284c7;
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.35);
}

/* Capabilities Main Card */
.capabilities-card {
  position: relative;
  overflow: hidden;
  background: rgba(9, 22, 40, 0.7);
  border: 1px solid rgba(56, 189, 248, 0.2);
  border-radius: 24px;
  padding: 40px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.cap-glow {
  position: absolute;
  pointer-events: none;
  filter: blur(70px);
  border-radius: 50%;
  z-index: 1;
}

.cap-glow-blue {
  top: -40px;
  right: 10%;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(2, 132, 199, 0.25) 0%, transparent 70%);
}

.cap-glow-cyan {
  bottom: 20px;
  left: -30px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.18) 0%, transparent 70%);
}

.cap-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: stretch;
}

/* Service Sub-item List */
.cap-service-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.cap-service-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.cap-item-title {
  font-size: 15px;
  font-weight: 500;
  color: #cbd5e1;
  transition: color var(--transition-fast);
}

.cap-item-badge {
  font-size: 10px;
  font-weight: 500;
  color: #38bdf8;
  background: rgba(2, 132, 199, 0.2);
  border: 1px solid rgba(56, 189, 248, 0.3);
  padding: 3px 8px;
  border-radius: 4px;
}

.cap-service-item:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(56, 189, 248, 0.3);
}

.cap-service-item:hover .cap-item-title {
  color: #ffffff;
}

.cap-service-item.active {
  background: rgba(2, 132, 199, 0.22);
  border-color: #38bdf8;
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.2);
}

.cap-service-item.active .cap-item-title {
  color: #ffffff;
}

/* Preview Box on the Right */
.cap-preview-box {
  background: rgba(4, 9, 20, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.cap-preview-img-wrap {
  width: 100%;
  height: 230px;
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.cap-preview-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.cap-preview-box:hover .cap-preview-img-wrap img {
  transform: scale(1.04);
}

.cap-preview-title {
  font-size: 22px;
  font-weight: 500;
  color: #ffffff;
  margin-bottom: 10px;
}

.cap-preview-desc {
  font-size: 14px;
  font-weight: 300;
  color: #cbd5e1;
  line-height: 1.6;
  margin-bottom: 22px;
}

/* Feature Success Story Section (You Might Like) */
.feature-story-section {
  background-color: #f8fafc;
  padding-block: 80px;
}

.feature-story-card {
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(4, 9, 20, 0.05);
}

.feature-story-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
}

.feature-story-thumb {
  height: 340px;
  overflow: hidden;
}

.feature-story-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.feature-story-card:hover .feature-story-thumb img {
  transform: scale(1.04);
}

.feature-story-body {
  padding: 48px 44px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.feature-story-tag {
  font-size: 11px;
  font-weight: 500;
  color: #0284c7;
  letter-spacing: 0.08em;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.feature-story-title {
  font-size: 28px;
  font-weight: 500;
  color: var(--color-navy);
  margin-bottom: 14px;
  line-height: 1.25;
}

.feature-story-desc {
  font-size: 14.5px;
  font-weight: 300;
  color: var(--color-slate-600);
  line-height: 1.65;
  margin-bottom: 24px;
}

/* Responsive Rules for Services Page */
@media (max-width: 1024px) {
  .industries-cards-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .cap-grid {
    grid-template-columns: 1fr;
  }
  .feature-story-grid {
    grid-template-columns: 1fr;
  }
  .feature-story-thumb {
    height: 280px;
  }
}

@media (max-width: 768px) {
  .industries-cards-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  .industry-box-card {
    padding: 24px 18px;
    min-height: 150px;
  }
  .capabilities-card {
    padding: 24px 18px;
  }
  .feature-story-body {
    padding: 32px 24px;
  }
}

@media (max-width: 480px) {
  .services-hero-title {
    font-size: 34px;
  }
  .industries-cards-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   PAGE: LIÊN HỆ (CONTACT US - FPT SOFTWARE STYLE)
   ========================================================================== */

/* 1. Contact Hero Banner */
.contact-hero-section {
  position: relative;
  background: linear-gradient(135deg, #040914 0%, #07172c 50%, #0a2540 100%);
  padding: 96px 0 80px 0;
  text-align: center;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.contact-hero-section::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -20%;
  width: 140%;
  height: 200%;
  background: radial-gradient(circle at 50% 50%, rgba(56, 189, 248, 0.09) 0%, transparent 60%);
  pointer-events: none;
  z-index: 1;
}

.contact-hero-container {
  position: relative;
  z-index: 2;
}

.contact-hero-content {
  max-width: 680px;
  margin: 0 auto;
}

.contact-hero-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 500;
  color: #38bdf8;
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.25);
  border-radius: 20px;
  padding: 4px 14px;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
  text-transform: uppercase;
}

.contact-hero-title {
  font-size: 48px;
  font-weight: 500;
  color: #ffffff;
  line-height: 1.16;
  margin-bottom: 14px;
  letter-spacing: -0.02em;
}

.contact-hero-desc {
  font-size: 16px;
  font-weight: 300;
  color: #94a3b8;
  line-height: 1.6;
}

/* 2. Contact Touch & Main Form Section */
.contact-touch-section {
  padding: 68px 0;
  background: #f8fafc;
}

.contact-touch-section .section-header-center {
  margin-bottom: 38px;
  text-align: left;
}

.contact-section-title {
  font-size: 28px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 8px;
  line-height: 1.25;
}

.contact-section-desc {
  font-size: 15px;
  color: #64748b;
  margin-bottom: 0;
  line-height: 1.5;
}

.contact-title-highlight {
  color: #0284c7;
}

.contact-inquiry-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin: 32px 0 44px 0;
}

.contact-tab-btn {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  color: #334155;
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  padding: 10px 22px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.22s ease;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.03);
}

.contact-tab-btn:hover {
  border-color: #0284c7;
  color: #0284c7;
  background: #f0f9ff;
}

.contact-tab-btn.active {
  background: #040914;
  color: #ffffff;
  border-color: #040914;
  box-shadow: 0 4px 12px rgba(4, 9, 20, 0.16);
}

.contact-main-card {
  background: #ffffff;
  border-radius: 20px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 12px 36px rgba(15, 23, 42, 0.05);
  display: grid;
  grid-template-columns: 400px 1fr;
  gap: 48px;
  padding: 44px;
}

/* Left Column: Trust */
.contact-trust-col {
  display: flex;
  flex-direction: column;
}

.contact-trust-image-wrap {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
  aspect-ratio: 4 / 3;
  background: #f1f5f9;
}

.contact-trust-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.contact-trust-body {
  padding-top: 24px;
}

.contact-trust-heading {
  font-size: 19px;
  font-weight: 500;
  color: #040914;
  margin-bottom: 16px;
  line-height: 1.3;
}

.contact-trust-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.contact-trust-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.contact-check-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #e0f2fe;
  color: #0284c7;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.contact-check-icon svg {
  width: 13px;
  height: 13px;
}

.contact-trust-text {
  font-size: 14px;
  font-weight: 400;
  color: #475569;
  line-height: 1.5;
}

/* Right Column: Form */
.contact-form-col {
  display: flex;
  flex-direction: column;
}

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

.form-group {
  margin-bottom: 18px;
}

.form-label {
  display: block;
  font-size: 13.5px;
  font-weight: 500;
  color: #334155;
  margin-bottom: 6px;
}

.form-label .required {
  color: #ef4444;
}

.form-control {
  width: 100%;
  padding: 11px 15px;
  font-size: 14px;
  font-weight: 400;
  color: #0f172a;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  font-family: inherit;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-control:focus {
  outline: none;
  border-color: #0284c7;
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.12);
}

.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%2364748b' stroke-width='2'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 16px;
}

.form-textarea {
  resize: vertical;
  min-height: 96px;
}

/* B2B Choice Pills (Checkboxes & Radios) */
.form-choice-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 6px;
}

.choice-pill-checkbox,
.choice-pill-radio {
  display: inline-flex;
  align-items: center;
  position: relative;
  cursor: pointer;
  user-select: none;
  margin: 0;
}

.choice-pill-checkbox input,
.choice-pill-radio input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  pointer-events: none;
}

.choice-pill-text {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 18px;
  background: #f8fafc;
  border: 1.5px solid #cbd5e1;
  border-radius: 8px;
  font-size: 13.5px;
  font-weight: 500;
  color: #334155;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

.choice-pill-checkbox:hover .choice-pill-text,
.choice-pill-radio:hover .choice-pill-text {
  border-color: #0284c7;
  color: #0284c7;
  background: #f0f9ff;
}

.choice-pill-checkbox input:checked + .choice-pill-text,
.choice-pill-radio input:checked + .choice-pill-text {
  background: #e0f2fe;
  border-color: #0284c7;
  color: #0369a1;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(2, 132, 199, 0.15);
  transform: translateY(-1px);
}

.home-contact-section {
  padding-block: 68px;
  background: #f8fafc;
  border-top: 1px solid var(--color-border);
}

.home-contact-section .section-header {
  margin-bottom: 38px;
}

/* Compact & Modern Card Layout for Homepage and Contact Page */
.contact-main-card.home-compact-card {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 36px;
  padding: 36px 36px 32px;
  border-radius: 18px;
  box-shadow: 0 10px 30px -5px rgba(15, 23, 42, 0.05), 0 0 0 1px rgba(226, 232, 240, 0.8);
}

.home-compact-card .contact-trust-image-wrap {
  aspect-ratio: 16 / 10;
  border-radius: 12px;
}

.home-compact-card .contact-trust-body {
  padding-top: 18px;
}

.home-compact-card .contact-trust-heading {
  font-size: 16.5px;
  font-weight: 600;
  margin-bottom: 12px;
}

.home-compact-card .contact-trust-list {
  gap: 12px;
}

.home-compact-card .contact-trust-item {
  gap: 10px;
}

.home-compact-card .contact-trust-text {
  font-size: 13.5px;
  line-height: 1.45;
}

.home-compact-card .contact-check-icon {
  width: 18px;
  height: 18px;
}

.home-compact-card .contact-check-icon svg {
  width: 11px;
  height: 11px;
}

/* Compact Form Elements */
.home-compact-card .form-group {
  margin-bottom: 15px;
}

.home-compact-card .form-grid-2 {
  gap: 16px;
}

.home-compact-card .form-label {
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 6px;
  color: #334155;
}

.home-compact-card .form-control {
  padding: 9px 13px;
  font-size: 13.5px;
  border-radius: 8px;
  height: 40px;
}

.home-compact-card select.form-control {
  height: 40px;
  padding-right: 32px;
}

.home-compact-card .form-textarea {
  height: auto;
  min-height: 68px;
  resize: vertical;
}

.home-compact-card .form-pills-row {
  margin-bottom: 15px;
}

.home-compact-card .form-pills-row .form-group {
  margin-bottom: 0;
}

.home-compact-card .form-choice-group {
  gap: 6px;
  margin-top: 4px;
}

.home-compact-card .choice-pill-text {
  padding: 6px 11px;
  font-size: 12px;
  border-radius: 6px;
  gap: 5px;
}

.home-compact-card .form-consent-group {
  margin: 4px 0 12px 0;
}

.home-compact-card .consent-text {
  font-size: 12px;
  line-height: 1.35;
}

.home-compact-card .btn-contact-submit {
  padding: 10px 24px;
  font-size: 14px;
  font-weight: 600;
  border-radius: 7px;
  height: 42px;
  letter-spacing: 0.5px;
}

@media (max-width: 991px) {
  .contact-main-card.home-compact-card {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 22px 18px;
  }
  .home-compact-card .contact-trust-col {
    max-width: 100%;
  }
  .home-compact-card .contact-trust-image-wrap {
    height: 140px;
  }
}

@media (max-width: 640px) {
  .home-compact-card .form-grid-2 {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}

.form-consent-group {
  margin: 6px 0 22px 0;
}

.consent-checkbox-wrap {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  font-weight: 400;
  color: #64748b;
  cursor: pointer;
  line-height: 1.45;
}

.consent-checkbox-wrap input[type="checkbox"] {
  margin-top: 2px;
  accent-color: #0284c7;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.btn-contact-submit {
  width: 100%;
  padding: 13px 24px;
  font-size: 15px;
  font-weight: 500;
  border-radius: 6px;
  background: #040914;
  color: #ffffff;
  border: none;
  cursor: pointer;
  transition: all 0.25s ease;
  font-family: inherit;
}

.btn-contact-submit:hover {
  background: #0284c7;
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.28);
}

.btn-contact-submit:disabled {
  opacity: 0.75;
  cursor: not-allowed;
}

.contact-form-notice {
  margin-top: 18px;
  padding: 16px 20px;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: 8px;
  animation: fadeIn 0.3s ease;
}

.notice-inner {
  display: flex;
  align-items: center;
  gap: 14px;
}

.notice-icon {
  width: 26px;
  height: 26px;
  color: #16a34a;
  flex-shrink: 0;
}

.notice-title {
  font-size: 15px;
  font-weight: 500;
  color: #166534;
  margin: 0;
}

.notice-desc {
  font-size: 13px;
  font-weight: 400;
  color: #15803d;
  margin-top: 2px;
}

/* 3. General Contact Information Section */
.contact-general-section {
  padding: 84px 0;
  background: #ffffff;
}

.contact-dept-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  margin-top: 44px;
}

.contact-dept-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 30px 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.28s ease;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.02);
}

.contact-dept-card:hover {
  transform: translateY(-4px);
  border-color: #38bdf8;
  box-shadow: 0 12px 28px rgba(2, 132, 199, 0.08);
}

.dept-card-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 18px;
}

.dept-icon-box {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: #f0f9ff;
  border: 1px solid #bae6fd;
  color: #0284c7;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

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

.dept-title {
  font-size: 18px;
  font-weight: 500;
  color: #040914;
  margin: 0;
  line-height: 1.3;
}

.dept-subtitle {
  font-size: 13px;
  font-weight: 400;
  color: #64748b;
  display: block;
  margin-top: 3px;
}

.dept-card-body {
  margin-bottom: 20px;
}

.dept-contact-line {
  font-size: 14px;
  color: #475569;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.dept-label {
  font-weight: 500;
  color: #334155;
}

.dept-link {
  color: #0284c7;
  text-decoration: none;
  font-weight: 400;
  transition: color 0.2s;
}

.dept-link:hover {
  text-decoration: underline;
  color: #0369a1;
}

.dept-card-footer {
  border-top: 1px solid #f1f5f9;
  padding-top: 16px;
}

.btn-dept-action {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 500;
  color: #040914;
  text-decoration: none;
  transition: all 0.2s;
}

.btn-dept-action svg {
  transition: transform 0.2s ease;
}

.btn-dept-action:hover {
  color: #0284c7;
}

.btn-dept-action:hover svg {
  transform: translateX(4px);
}

/* 4. Headquarter Section */
.contact-hq-section {
  padding: 0 0 90px 0;
  background: #ffffff;
}

.hq-dark-card {
  background: linear-gradient(135deg, #07172c 0%, #040914 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  padding: 48px;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 48px;
  align-items: center;
  overflow: hidden;
  position: relative;
  box-shadow: 0 16px 40px rgba(4, 9, 20, 0.25);
}

.hq-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 500;
  color: #38bdf8;
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.25);
  border-radius: 20px;
  padding: 4px 12px;
  letter-spacing: 0.08em;
  margin-bottom: 14px;
  text-transform: uppercase;
}

.hq-title {
  font-size: 32px;
  font-weight: 500;
  color: #ffffff;
  margin-bottom: 28px;
  line-height: 1.25;
}

.hq-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 22px;
}

.hq-icon-box {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #38bdf8;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hq-icon-box svg {
  width: 22px;
  height: 22px;
}

.hq-item-label {
  font-size: 15px;
  font-weight: 500;
  color: #f1f5f9;
  margin: 0 0 4px 0;
}

.hq-item-desc {
  font-size: 13.5px;
  font-weight: 300;
  color: #94a3b8;
  line-height: 1.55;
  margin: 0;
}

.hq-actions {
  display: flex;
  gap: 14px;
  margin-top: 32px;
}

.hq-image-frame {
  border-radius: 18px;
  overflow: hidden;
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
}

.hq-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hq-ambient-glow {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg, rgba(4, 9, 20, 0.1) 0%, rgba(4, 9, 20, 0.4) 100%);
  pointer-events: none;
}

/* Responsive Rules for Contact Page */
@media (max-width: 1024px) {
  .contact-main-card {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .contact-trust-col {
    max-width: 520px;
    margin: 0 auto;
    width: 100%;
  }
  .hq-dark-card {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}

@media (max-width: 768px) {
  .contact-dept-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .form-grid-2 {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .contact-main-card {
    padding: 28px 20px;
  }
  .hq-dark-card {
    padding: 32px 20px;
  }
  .contact-hero-title {
    font-size: 36px;
  }
}

/* ==========================================================================
   PAGE: CHI TIẾT DỊCH VỤ (SINGLE SERVICE - NANOCHECK DETAIL)
   ========================================================================== */

/* 1. Hero Banner Dịch Vụ */
.single-service-hero {
  position: relative;
  min-height: 420px;
  display: flex;
  align-items: center;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.service-hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
}

.service-hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.service-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(90deg, rgba(4, 9, 20, 0.94) 0%, rgba(4, 9, 20, 0.82) 48%, rgba(4, 9, 20, 0.6) 100%);
}

.service-hero-inner {
  position: relative;
  z-index: 2;
  padding: 84px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
  width: 100%;
}

.service-hero-left {
  max-width: 660px;
}

.service-hero-badge {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 500;
  color: #38bdf8;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.service-hero-title {
  font-size: 40px;
  font-weight: 500;
  color: #ffffff;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}

.service-highlight-cyan {
  color: #38bdf8;
}

.service-hero-subtitle {
  font-size: 15px;
  font-weight: 300;
  color: #cbd5e1;
  line-height: 1.6;
}

.service-hero-right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.service-slogan-box {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 16px;
}

.service-slogan-text {
  font-size: 26px;
  font-weight: 400;
  color: #f1f5f9;
  font-style: italic;
  letter-spacing: 0.02em;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
  white-space: nowrap;
}

.btn-service-video {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(8px);
  color: #ffffff;
  padding: 10px 20px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.25s ease;
  font-family: inherit;
}

.btn-service-video:hover {
  background: #0284c7;
  border-color: #0284c7;
  transform: translateY(-2px);
}

.video-play-pulse {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #38bdf8;
  color: #040914;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* 2. Gallery Mẫu Tem */
.service-gallery-section {
  padding: 60px 0 70px 0;
  background: #ffffff;
}

.service-gallery-header {
  margin-bottom: 24px;
}

.service-gallery-title {
  font-size: 15px;
  font-weight: 500;
  color: #040914;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin: 0;
}

.service-gallery-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 18px;
}

.gallery-item-card {
  aspect-ratio: 1 / 1;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  background: #f8fafc;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.03);
  transition: all 0.28s ease;
}

.gallery-item-card:hover {
  transform: translateY(-5px);
  border-color: #38bdf8;
  box-shadow: 0 10px 24px rgba(2, 132, 199, 0.12);
}

.gallery-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.gallery-item-card:hover .gallery-thumb-img {
  transform: scale(1.06);
}

/* 3. Alternating Left / Right Sections */
.service-sections-wrap {
  padding: 40px 0 90px 0;
  background: #ffffff;
}

.service-row-item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  margin-bottom: 84px;
}

.service-row-item:last-child {
  margin-bottom: 0;
}

.service-col-media {
  position: relative;
}

.service-media-frame {
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  box-shadow: 0 12px 36px rgba(15, 23, 42, 0.06);
  aspect-ratio: 4 / 3;
  background: #f1f5f9;
}

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

.service-media-frame:hover .service-media-img {
  transform: scale(1.03);
}

.service-col-content {
  position: relative;
  padding: 20px 0;
}

.service-watermark-num {
  font-size: 88px;
  font-weight: 500;
  color: rgba(2, 132, 199, 0.12);
  line-height: 1;
  letter-spacing: -0.04em;
  margin-bottom: -12px;
  pointer-events: none;
  user-select: none;
}

.service-sec-badge {
  font-size: 11.5px;
  font-weight: 500;
  color: #0284c7;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  display: inline-block;
  margin-bottom: 12px;
}

.service-sec-title {
  font-size: 32px;
  font-weight: 500;
  color: #040914;
  line-height: 1.25;
  margin-bottom: 18px;
  letter-spacing: -0.01em;
}

.service-sec-desc {
  font-size: 15px;
  font-weight: 300;
  color: #475569;
  line-height: 1.7;
}

/* 4. Tin Tức Mới Nhất */
.service-news-section {
  padding: 70px 0 90px 0;
  background: #f8fafc;
  border-top: 1px solid #e2e8f0;
}

.service-news-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 32px;
}

.service-news-title {
  font-size: 16px;
  font-weight: 500;
  color: #040914;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin: 0;
}

.service-news-more {
  font-size: 14px;
  font-weight: 500;
  color: #040914;
  text-decoration: none;
  transition: color 0.2s ease;
}

.service-news-more:hover {
  color: #0284c7;
}

.service-news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.service-news-card {
  background: #ffffff;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.03);
  transition: all 0.3s ease;
}

.service-news-card:hover {
  transform: translateY(-4px);
  border-color: #38bdf8;
  box-shadow: 0 12px 28px rgba(2, 132, 199, 0.08);
}

.news-card-thumb {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #e2e8f0;
}

.news-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.service-news-card:hover .news-card-thumb img {
  transform: scale(1.05);
}

.news-card-body {
  padding: 20px 22px;
}

.news-date {
  font-size: 12.5px;
  font-weight: 300;
  color: #94a3b8;
  display: block;
  margin-bottom: 8px;
}

.news-card-title {
  font-size: 16px;
  font-weight: 500;
  color: #040914;
  line-height: 1.45;
  margin: 0;
}

/* 5. Video Modal */
.service-video-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(4, 9, 20, 0.88);
  backdrop-filter: blur(6px);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.video-modal-content {
  position: relative;
  width: 100%;
  max-width: 880px;
  background: #000000;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6);
}

.video-modal-close {
  position: absolute;
  top: 10px;
  right: 16px;
  background: transparent;
  border: none;
  color: #ffffff;
  font-size: 32px;
  cursor: pointer;
  z-index: 10;
  line-height: 1;
}

.video-iframe-wrap {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
}

.video-iframe-wrap iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* Responsive Rules for Single Service Page */
@media (max-width: 1024px) {
  .service-hero-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 28px;
  }
  .service-slogan-box {
    align-items: flex-start;
  }
  .service-gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .service-row-item {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .service-row-item.pos-right .service-col-content {
    order: 2;
  }
  .service-row-item.pos-right .service-col-media {
    order: 1;
  }
}

@media (max-width: 768px) {
  .service-hero-title {
    font-size: 30px;
  }
  .service-gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .service-news-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .service-sec-title {
    font-size: 24px;
  }
  .service-watermark-num {
    font-size: 64px;
  }
}

/* ==========================================================================
   PRODUCT HIERARCHY & TAXONOMY (DANH MỤC & DANH MỤC CON)
   ========================================================================== */

/* Breadcrumbs Bar */
.product-breadcrumb-bar {
  background: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
  padding: 13px 0;
  font-size: 13px;
  color: #64748b;
}

.breadcrumb-inner {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.breadcrumb-inner a {
  color: #64748b;
  text-decoration: none;
  transition: color 0.2s;
}

.breadcrumb-inner a:hover {
  color: #0284c7;
}

.breadcrumb-inner .sep {
  color: #cbd5e1;
}

.breadcrumb-inner .current {
  color: #040914;
  font-weight: 500;
}

/* Cấp 1 & Cấp 2 Category Heroes */
.cat-parent-hero,
.cat-sub-hero {
  position: relative;
  background: linear-gradient(135deg, #040914 0%, #07172c 50%, #0b2545 100%);
  padding: 64px 0;
  color: #ffffff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.cat-parent-hero-inner {
  max-width: 700px;
}

.cat-sub-hero-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
}

.cat-sub-hero-content {
  max-width: 680px;
}

.cat-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 500;
  color: #38bdf8;
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.25);
  border-radius: 20px;
  padding: 3px 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.cat-hero-title {
  font-size: 36px;
  font-weight: 500;
  color: #ffffff;
  line-height: 1.22;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}

.cat-hero-desc {
  font-size: 15px;
  font-weight: 300;
  color: #94a3b8;
  line-height: 1.6;
}

.slogan-badge {
  font-size: 20px;
  font-style: italic;
  color: #f1f5f9;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

/* Cấp 1: Subcategories Grid */
.cat-subcategories-section {
  padding: 64px 0 80px 0;
  background: #ffffff;
}

.subcategories-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 40px;
}

.subcat-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.28s ease;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.02);
}

.subcat-card:hover {
  transform: translateY(-4px);
  border-color: #38bdf8;
  box-shadow: 0 12px 28px rgba(2, 132, 199, 0.08);
}

.subcat-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
}

.subcat-icon-circle {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #f0f9ff;
  border: 1px solid #bae6fd;
  color: #0284c7;
  display: flex;
  align-items: center;
  justify-content: center;
}

.subcat-icon-circle svg {
  width: 22px;
  height: 22px;
}

.subcat-count-badge {
  font-size: 12px;
  font-weight: 500;
  color: #0284c7;
  background: #e0f2fe;
  padding: 3px 10px;
  border-radius: 20px;
}

.subcat-title {
  font-size: 19px;
  font-weight: 500;
  color: #040914;
  margin: 0 0 8px 0;
}

.subcat-desc {
  font-size: 13.5px;
  font-weight: 300;
  color: #64748b;
  line-height: 1.55;
  margin-bottom: 20px;
}

.btn-subcat-view {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 500;
  color: #040914;
  text-decoration: none;
  transition: color 0.2s ease;
}

.btn-subcat-view:hover {
  color: #0284c7;
}

/* Cấp 2: Summary Highlights */
.subcat-summary-section {
  padding: 40px 0;
  background: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
}

.subcat-highlights-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.highlight-mini-card {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 16px 20px;
}

.mini-icon-wrap {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: #f0f9ff;
  color: #0284c7;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

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

.mini-title {
  font-size: 14px;
  font-weight: 500;
  color: #040914;
  margin: 0 0 2px 0;
}

.mini-desc {
  font-size: 12.5px;
  font-weight: 300;
  color: #64748b;
  margin: 0;
}

/* Cấp 2: Products List Grid */
.subcat-products-list-section {
  padding: 60px 0 80px 0;
  background: #ffffff;
}

.section-header-between {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 36px;
}

.product-count-label {
  font-size: 13.5px;
  font-weight: 500;
  color: #0284c7;
  background: #f0f9ff;
  border: 1px solid #bae6fd;
  padding: 6px 14px;
  border-radius: 20px;
}

.subcat-products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.product-list-card {
  background: #ffffff;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.03);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.product-list-card:hover {
  transform: translateY(-4px);
  border-color: #38bdf8;
  box-shadow: 0 12px 28px rgba(2, 132, 199, 0.08);
}

.product-card-thumb {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  position: relative;
  background: #f1f5f9;
}

.product-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.product-list-card:hover .product-card-thumb img {
  transform: scale(1.04);
}

.product-card-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(4, 9, 20, 0.85);
  color: #38bdf8;
  font-size: 10.5px;
  font-weight: 500;
  padding: 3px 10px;
  border-radius: 4px;
  letter-spacing: 0.04em;
  backdrop-filter: blur(4px);
}

.product-card-body {
  padding: 22px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.product-card-title {
  font-size: 18px;
  font-weight: 500;
  color: #040914;
  margin: 0 0 8px 0;
  line-height: 1.35;
}

.product-card-excerpt {
  font-size: 13.5px;
  font-weight: 300;
  color: #64748b;
  line-height: 1.55;
  margin-bottom: 14px;
}

.product-card-features {
  list-style: none;
  padding: 0;
  margin: 0 0 20px 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 13px;
  color: #475569;
}

.product-card-features li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.product-card-features .check-icon {
  width: 15px;
  height: 15px;
  color: #16a34a;
  flex-shrink: 0;
}

.product-card-footer {
  margin-top: auto;
  border-top: 1px solid #f1f5f9;
  padding-top: 14px;
}

.btn-product-detail {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #040914;
  color: #ffffff;
  padding: 9px 18px;
  border-radius: 6px;
  font-size: 13.5px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.22s ease;
}

.btn-product-detail:hover {
  background: #0284c7;
}

/* Cấp 2: Consultation Box */
.subcat-cta-section {
  padding: 0 0 80px 0;
  background: #ffffff;
}

.subcat-cta-box {
  background: linear-gradient(135deg, #07172c 0%, #040914 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  padding: 36px 44px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 28px;
}

.cta-title {
  font-size: 24px;
  font-weight: 500;
  color: #ffffff;
  margin: 0 0 6px 0;
}

.cta-desc {
  font-size: 14px;
  font-weight: 300;
  color: #94a3b8;
  margin: 0;
}

/* ==========================================================================
   NEWS & CATEGORIES (TIN TỨC, PHÁP LUẬT, KIẾN THỨC)
   ========================================================================== */

.news-archive-section {
  padding: 44px 0 84px 0;
  background: #ffffff;
}

/* Toolbar: Tabs & Search Box */
.news-toolbar-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  margin-bottom: 36px;
  padding-bottom: 24px;
  border-bottom: 1px solid #e2e8f0;
}

.news-cat-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.news-tab-item {
  padding: 8px 18px;
  border-radius: 6px;
  border: 1px solid #cbd5e1;
  background: #ffffff;
  color: #334155;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.22s ease;
}

.news-tab-item:hover {
  border-color: #0284c7;
  color: #0284c7;
  background: #f0f9ff;
}

.news-tab-item.active {
  background: #040914;
  color: #ffffff;
  border-color: #040914;
}

.news-search-wrap {
  display: flex;
  align-items: center;
}

.news-search-form {
  display: flex;
  align-items: center;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  background: #ffffff;
  overflow: hidden;
  width: 260px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.news-search-form:focus-within {
  border-color: #0284c7;
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.12);
}

.news-search-input {
  border: none;
  outline: none;
  padding: 8px 12px;
  font-size: 13.5px;
  font-family: inherit;
  color: #0f172a;
  width: 100%;
}

.news-search-btn {
  background: transparent;
  border: none;
  padding: 0 12px;
  color: #64748b;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s;
}

.news-search-btn:hover {
  color: #0284c7;
}

/* 3-Column Post Grid (12 Items per Page) */
.news-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 48px;
}

.news-grid-card {
  background: #ffffff;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.02);
  transition: all 0.28s ease;
  display: flex;
  flex-direction: column;
}

.news-grid-card:hover {
  transform: translateY(-4px);
  border-color: #38bdf8;
  box-shadow: 0 12px 28px rgba(2, 132, 199, 0.08);
}

.news-card-thumb-wrap {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #f1f5f9;
}

.news-grid-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.news-grid-card:hover .news-grid-thumb-img {
  transform: scale(1.04);
}

.news-grid-card-body {
  padding: 20px 22px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.news-grid-card-title {
  font-size: 17px;
  font-weight: 500;
  color: #040914;
  line-height: 1.38;
  margin: 0 0 10px 0;
}

.news-grid-card-title a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}

.news-grid-card-title a:hover {
  color: #0284c7;
}

.news-grid-card-excerpt {
  font-size: 13.5px;
  font-weight: 300;
  color: #64748b;
  line-height: 1.55;
  margin: 0 0 16px 0;
  flex: 1;
}

.news-grid-card-meta {
  display: flex;
  align-items: center;
  font-size: 12.5px;
  font-weight: 400;
  color: #94a3b8;
}

.news-meta-date {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.calendar-icon {
  width: 14px;
  height: 14px;
  color: #94a3b8;
}

/* Pagination Bar */
.news-pagination-wrap {
  display: flex;
  justify-content: center;
  margin-top: 24px;
}

.news-pagination-wrap .nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.news-pagination-wrap .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 10px;
  border-radius: 6px;
  border: 1px solid #cbd5e1;
  background: #ffffff;
  color: #334155;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s ease;
}

.news-pagination-wrap .page-numbers:hover {
  border-color: #0284c7;
  color: #0284c7;
  background: #f0f9ff;
}

.news-pagination-wrap .page-numbers.current {
  background: #040914;
  color: #ffffff;
  border-color: #040914;
}

.news-pagination-wrap .page-numbers.dots {
  border: none;
  background: transparent;
  color: #94a3b8;
}

/* Single Post Layout */
.single-post-article {
  padding: 44px 0 64px 0;
  background: #ffffff;
}

.single-post-header {
  margin-bottom: 28px;
}

.post-cat-badge {
  font-size: 11px;
  font-weight: 500;
  color: #0284c7;
  background: #e0f2fe;
  padding: 3px 10px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  display: inline-block;
  margin-bottom: 12px;
}

.single-post-title {
  font-size: 34px;
  font-weight: 500;
  color: #040914;
  line-height: 1.28;
  margin-bottom: 14px;
}

.single-post-meta {
  display: flex;
  gap: 20px;
  font-size: 13.5px;
  color: #64748b;
  font-weight: 400;
}

.post-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.single-post-featured-media {
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 32px;
  aspect-ratio: 16 / 9;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
}

.single-featured-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.single-post-content {
  font-size: 16px;
  font-weight: 400;
  color: #334155;
  line-height: 1.85;
}

.related-posts-section {
  background: #f8fafc;
  padding: 60px 0 80px 0;
  border-top: 1px solid #e2e8f0;
}

.related-posts-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.related-title {
  font-size: 20px;
  font-weight: 500;
  color: #040914;
  margin: 0;
}

.btn-more-articles {
  font-size: 13.5px;
  font-weight: 500;
  color: #0284c7;
  text-decoration: none;
}

.related-posts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.related-post-card {
  background: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  transition: all 0.25s ease;
}

.related-post-card:hover {
  transform: translateY(-3px);
  border-color: #38bdf8;
}

.related-thumb-link {
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.related-thumb-link img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.related-card-body {
  padding: 16px;
}

.related-date {
  font-size: 12px;
  font-weight: 300;
  color: #94a3b8;
  display: block;
  margin-bottom: 6px;
}

.related-card-title {
  font-size: 15px;
  font-weight: 500;
  color: #040914;
  line-height: 1.4;
  margin: 0;
}

.related-card-title a {
  color: inherit;
  text-decoration: none;
}

/* Responsive Rules for Products & News */
@media (max-width: 1024px) {
  .subcategories-cards-grid,
  .subcat-products-grid,
  .news-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .subcat-highlights-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .news-toolbar-bar {
    flex-direction: column;
    align-items: stretch;
  }
  .news-search-form {
    width: 100%;
  }
  .subcategories-cards-grid,
  .subcat-products-grid,
  .news-cards-grid,
  .related-posts-grid {
    grid-template-columns: 1fr;
  }
  .subcat-cta-box {
    flex-direction: column;
    align-items: flex-start;
    padding: 28px 24px;
  }
}

/* ==========================================================================
   ABOUT SECTION PAGES (VỀ NANOCHECK, HỒ SƠ NĂNG LỰC, NĂNG LỰC SX, QUY TRÌNH)
   ========================================================================== */

/* Header Dropdown Menu */
.nav-links .menu-item-has-children {
  position: relative;
}

.nav-links .menu-item-has-children > a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.dropdown-arrow {
  transition: transform 0.2s ease;
}

/* Universal sub-menu and mega-menu list resets */
.nav-links .sub-menu,
.nav-links .mega-menu,
.nav-links .mega-col-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

/* Desktop Dropdowns & Mega Menus (>= 992px only) */
@media (min-width: 992px) {
  .nav-links .menu-item-has-children:hover .dropdown-arrow,
  .nav-links .menu-item-has-children.hover-active .dropdown-arrow {
    transform: rotate(180deg);
  }

  .nav-links .sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: #ffffff;
  min-width: 230px;
  box-shadow: 0 16px 36px rgba(4, 9, 20, 0.14);
  border: 1px solid #e2e8f0;
  border-top: 2px solid #0284c7;
  border-radius: 0 0 10px 10px;
  padding: 8px 0;
  list-style: none;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
  z-index: 1000;
  pointer-events: none;
}

/* Safety hover bridge above sub-menu */
.nav-links .sub-menu::before {
  content: '';
  position: absolute;
  top: -24px;
  left: 0;
  right: 0;
  height: 24px;
}

.nav-links .menu-item-has-children:hover .sub-menu,
.nav-links .menu-item-has-children.hover-active .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.nav-links .sub-menu li a {
  display: block;
  padding: 10px 18px;
  font-size: 13px;
  font-weight: 700;
  color: #334155;
  text-decoration: none;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.nav-links .sub-menu li a:hover {
  background: #f0f9ff;
  color: #0284c7;
  padding-left: 22px;
}

/* ==========================================================================
   MEGA MENU - SẢN PHẨM (Based on Image 2)
   ========================================================================== */
.site-header .navbar {
  position: relative;
}

.nav-links .menu-item-mega {
  position: static;
}

.nav-links .menu-item-mega .mega-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(6px);
  width: 960px;
  max-width: calc(100vw - 32px);
  background: #ffffff;
  box-shadow: 0 16px 36px -4px rgba(15, 23, 42, 0.14), 0 0 1px 1px rgba(15, 23, 42, 0.05);
  border: 1px solid #e2e8f0;
  border-top: 3px solid #0284c7;
  border-radius: 0 0 12px 12px;
  padding: 16px 20px 12px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
  z-index: 1000;
  pointer-events: none;
}

.nav-links .menu-item-mega:hover .mega-menu,
.nav-links .menu-item-mega.hover-active .mega-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}

/* Safety hover bridge above mega-menu */
.nav-links .menu-item-mega .mega-menu::before {
  content: '';
  position: absolute;
  top: -24px;
  left: 0;
  right: 0;
  height: 24px;
}

.mega-menu-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px 20px;
}

.mega-menu-col {
  display: flex;
  flex-direction: column;
}

.mega-col-title {
  display: block;
  font-size: 12px;
  font-weight: 800;
  color: #0b1f3a;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  padding-bottom: 5px;
  margin-bottom: 5px;
  border-bottom: 2px solid #e2e8f0;
  text-decoration: none;
  line-height: 1.35;
  transition: all 0.2s ease;
}

.mega-col-title:hover {
  color: #0284c7;
  border-bottom-color: #0284c7;
}

.mega-col-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.mega-col-list li {
  margin: 0;
  padding: 0;
}

.mega-col-list li a {
  display: flex;
  align-items: center;
  padding: 4px 6px;
  font-size: 11.5px;
  font-weight: 500;
  color: #475569;
  text-decoration: none;
  border-radius: 4px;
  line-height: 1.35;
  transition: all 0.18s ease;
  white-space: normal;
}

.mega-col-list li a::before {
  content: '›';
  font-size: 13px;
  font-weight: 800;
  color: #94a3b8;
  margin-right: 5px;
  transition: all 0.18s ease;
}

.mega-col-list li a:hover {
  background: #f0f9ff;
  color: #0284c7;
  padding-left: 9px;
}

.mega-col-list li a:hover::before {
  color: #0284c7;
  margin-right: 7px;
}

.mega-menu-footer {
  margin-top: 12px;
  padding-top: 8px;
  border-top: 1px solid #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mega-footer-tagline {
  font-size: 11.5px;
  color: #64748b;
  font-weight: 500;
}

.mega-footer-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  font-weight: 700;
  color: #0284c7;
  text-decoration: none;
  transition: all 0.2s ease;
}

.mega-footer-link:hover {
  color: #0369a1;
  gap: 8px;
}

/* 4-Column Mega Menu for Solutions (Giải pháp chống giả) */
.mega-menu-solutions {
  width: 880px;
}

.mega-menu-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px 16px;
}

.mega-menu-solutions .mega-col-title {
  font-size: 11.8px;
  font-weight: 800;
  color: #0b1f3a;
  text-transform: uppercase;
  padding-bottom: 5px;
  margin-bottom: 5px;
  border-bottom: 2px solid #e0f2fe;
}

.mega-menu-solutions .mega-col-title:hover {
  color: #0284c7;
  border-bottom-color: #0284c7;
}

.mega-menu-solutions .mega-col-list li a {
  font-size: 11.5px;
  font-weight: 500;
  text-transform: none;
  line-height: 1.35;
  padding: 3.5px 6px;
  color: #334155;
}

.mega-menu-solutions .mega-col-list li a::before {
  content: '›';
  font-size: 13px;
  font-weight: 700;
  color: #0284c7;
  margin-right: 5px;
}

.mega-menu-solutions .mega-col-list li a:hover {
  background: #f0f9ff;
  color: #0284c7;
  font-weight: 600;
  padding-left: 9px;
}

/* 6-Group Mega Menu for Products (Sản phẩm) */
.mega-menu-products {
  width: 940px;
}

.mega-menu-grid-6 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px 18px;
}

.mega-menu-products .mega-col-title {
  font-size: 11.8px;
  font-weight: 800;
  color: #0b1f3a;
  text-transform: uppercase;
  padding-bottom: 4px;
  margin-bottom: 4px;
  border-bottom: 2px solid #e0f2fe;
}

.mega-menu-products .mega-col-title:hover {
  color: #0284c7;
  border-bottom-color: #0284c7;
}

.mega-menu-products .mega-col-list li a {
  font-size: 11.5px;
  font-weight: 500;
  text-transform: none;
  line-height: 1.35;
  padding: 3.5px 6px;
  color: #334155;
}

.mega-menu-products .mega-col-list li a::before {
  content: '›';
  font-size: 13px;
  font-weight: 700;
  color: #0284c7;
  margin-right: 5px;
}

.mega-menu-products .mega-col-list li a:hover {
  background: #f0f9ff;
  color: #0284c7;
  font-weight: 600;
  padding-left: 9px;
}
} /* End of @media (min-width: 992px) for desktop dropdowns */

/* Tablet landscape / small desktop adjustments for mega-menus */
@media (max-width: 1200px) and (min-width: 992px) {
  .mega-menu-grid-4,
  .mega-menu-grid-6 {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px 18px;
  }
}

/* ==========================================================================
   NAVBAR SEARCH BAR (Thanh tìm kiếm trên menu)
   ========================================================================== */
.nav-search-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.nav-search-form {
  position: relative;
  display: flex;
  align-items: center;
}

.nav-search-input {
  width: 120px;
  height: 32px;
  padding: 4px 28px 4px 10px;
  font-size: 11.5px;
  font-family: inherit;
  color: #1e293b;
  background-color: #f8fafc;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  outline: none;
  transition: all 0.25s ease;
}

.nav-search-input:focus {
  width: 155px;
  background-color: #ffffff;
  border-color: #0284c7;
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.12);
}

.nav-search-input::placeholder {
  color: #94a3b8;
  font-size: 12px;
}

.nav-search-btn {
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  padding: 4px;
  color: #64748b;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  transition: color 0.2s ease;
}

.nav-search-btn:hover {
  color: #0284c7;
}

@media (max-width: 1280px) {
  .nav-links {
    gap: 12px;
  }
  .nav-links > li > a {
    font-size: 12px;
  }
  .nav-search-input {
    width: 120px;
  }
  .nav-search-input:focus {
    width: 155px;
  }
}

@media (max-width: 1120px) {
  .nav-links {
    gap: 8px;
  }
  .nav-links > li > a {
    font-size: 11.5px;
    padding-inline: 2px;
  }
  .nav-search-wrap {
    display: none;
  }
}


/* Sub-navigation Bar for About Section */
.about-subnav-bar {
  background: #ffffff;
  border-bottom: 1px solid #e2e8f0;
  position: sticky;
  top: 70px;
  z-index: 900;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.03);
}

.about-subnav-list {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0;
  overflow-x: auto;
}

.about-subnav-item a {
  display: inline-block;
  padding: 16px 20px;
  font-size: 13.5px;
  font-weight: 500;
  color: #475569;
  text-decoration: none;
  position: relative;
  transition: color 0.2s ease;
  white-space: nowrap;
}

.about-subnav-item a:hover {
  color: #0284c7;
}

.about-subnav-item.active a {
  color: #040914;
}

.about-subnav-item.active a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 20px;
  right: 20px;
  height: 3px;
  background: #0284c7;
  border-radius: 3px 3px 0 0;
}

/* About Shared Hero Banner */
.about-hero-section {
  position: relative;
  background: linear-gradient(135deg, #040914 0%, #07172c 50%, #0b2545 100%);
  padding: 80px 0 74px 0;
  text-align: center;
  color: #ffffff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.about-hero-content {
  max-width: 680px;
  margin: 0 auto;
}

.about-hero-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 500;
  color: #38bdf8;
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.25);
  border-radius: 20px;
  padding: 4px 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.about-hero-title {
  font-size: 42px;
  font-weight: 500;
  color: #ffffff;
  line-height: 1.2;
  margin-bottom: 14px;
  letter-spacing: -0.01em;
}

.about-hero-desc {
  font-size: 16px;
  font-weight: 300;
  color: #94a3b8;
  line-height: 1.6;
  margin-bottom: 24px;
}

.about-hero-actions {
  display: flex;
  justify-content: center;
  gap: 14px;
}

/* Certifications Grid */
.about-content-section {
  padding: 70px 0 84px 0;
  background: #ffffff;
}

.certifications-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.cert-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 28px 22px;
  text-align: center;
  transition: all 0.28s ease;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.02);
}

.cert-card:hover {
  transform: translateY(-5px);
  border-color: #38bdf8;
  box-shadow: 0 12px 28px rgba(2, 132, 199, 0.08);
}

.cert-icon-box {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: #f0f9ff;
  border: 1px solid #bae6fd;
  color: #0284c7;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.cert-icon-box svg {
  width: 26px;
  height: 26px;
}

.cert-code {
  display: inline-block;
  font-size: 11px;
  font-weight: 500;
  color: #0284c7;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.cert-title {
  font-size: 17px;
  font-weight: 500;
  color: #040914;
  margin: 0 0 8px 0;
}

.cert-desc {
  font-size: 13px;
  font-weight: 300;
  color: #64748b;
  line-height: 1.5;
  margin: 0;
}

/* Core Tech Pillars */
.about-pillars-section {
  padding: 64px 0 80px 0;
  background: #f8fafc;
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
}

.core-tech-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 40px;
}

.tech-pillar-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 32px 28px;
  position: relative;
  transition: all 0.28s ease;
}

.tech-pillar-card:hover {
  transform: translateY(-4px);
  border-color: #38bdf8;
  box-shadow: 0 10px 24px rgba(2, 132, 199, 0.08);
}

.pillar-num {
  font-size: 32px;
  font-weight: 500;
  color: rgba(2, 132, 199, 0.35);
  margin-bottom: 12px;
}

.pillar-title {
  font-size: 19px;
  font-weight: 500;
  color: #040914;
  margin: 0 0 10px 0;
}

.pillar-desc {
  font-size: 14px;
  font-weight: 300;
  color: #475569;
  line-height: 1.65;
  margin: 0;
}

/* Download Profile CTA Card */
.about-cta-section {
  padding: 70px 0 90px 0;
  background: #ffffff;
}

.about-download-card {
  background: linear-gradient(135deg, #07172c 0%, #040914 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  align-items: center;
  box-shadow: 0 16px 40px rgba(4, 9, 20, 0.25);
}

.download-card-body {
  padding: 48px;
}

.download-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 500;
  color: #38bdf8;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.download-title {
  font-size: 30px;
  font-weight: 500;
  color: #ffffff;
  line-height: 1.25;
  margin-bottom: 12px;
}

.download-desc {
  font-size: 15px;
  font-weight: 300;
  color: #94a3b8;
  line-height: 1.6;
  margin-bottom: 24px;
}

.download-actions {
  display: flex;
  gap: 14px;
}

.download-card-media {
  height: 100%;
  min-height: 320px;
}

.download-media-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Manufacturing Metrics */
.about-metrics-section {
  padding: 60px 0;
  background: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
}

.metrics-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.metric-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 28px 22px;
  text-align: center;
}

.metric-value {
  font-size: 36px;
  font-weight: 500;
  color: #0284c7;
  line-height: 1.15;
  margin-bottom: 8px;
}

.metric-label {
  font-size: 14px;
  font-weight: 500;
  color: #040914;
  margin-bottom: 6px;
}

.metric-desc {
  font-size: 12.5px;
  font-weight: 300;
  color: #64748b;
  line-height: 1.5;
  margin: 0;
}

/* Machinery Cards Grid */
.machinery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  margin-top: 40px;
}

.machinery-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.02);
  transition: all 0.28s ease;
}

.machinery-card:hover {
  transform: translateY(-4px);
  border-color: #38bdf8;
  box-shadow: 0 12px 28px rgba(2, 132, 199, 0.08);
}

.machinery-media {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  position: relative;
  background: #f1f5f9;
}

.machinery-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.machinery-card:hover .machinery-media img {
  transform: scale(1.04);
}

.machinery-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(4, 9, 20, 0.85);
  color: #38bdf8;
  font-size: 10px;
  font-weight: 500;
  padding: 3px 10px;
  border-radius: 4px;
  letter-spacing: 0.06em;
}

.machinery-body {
  padding: 24px;
}

.machinery-title {
  font-size: 19px;
  font-weight: 500;
  color: #040914;
  margin: 0 0 8px 0;
}

.machinery-desc {
  font-size: 13.5px;
  font-weight: 300;
  color: #64748b;
  line-height: 1.55;
  margin: 0;
}

/* QA/QC Steps Grid */
.about-qaqc-section {
  padding: 64px 0 80px 0;
  background: #f8fafc;
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
}

.qaqc-steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 40px;
}

.qaqc-step-box {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 24px 20px;
  position: relative;
}

.step-circle {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #e0f2fe;
  color: #0284c7;
  font-size: 14px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

.step-title {
  font-size: 15px;
  font-weight: 500;
  color: #040914;
  margin: 0 0 6px 0;
}

.step-desc {
  font-size: 13px;
  font-weight: 300;
  color: #64748b;
  line-height: 1.5;
  margin: 0;
}

/* Workflow Timeline */
.about-process-section {
  padding: 70px 0 84px 0;
  background: #ffffff;
}

.process-timeline-list {
  max-width: 820px;
  margin: 44px auto 0 auto;
}

.process-step-item {
  display: flex;
  gap: 24px;
  position: relative;
}

.step-badge-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 52px;
  flex-shrink: 0;
}

.step-num-bubble {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: #040914;
  color: #ffffff;
  border: 2px solid #38bdf8;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  font-weight: 500;
  z-index: 2;
  box-shadow: 0 4px 14px rgba(4, 9, 20, 0.2);
}

.step-connector-line {
  width: 2px;
  flex: 1;
  background: #e2e8f0;
  margin: 8px 0;
}

.step-content-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 24px 28px;
  margin-bottom: 28px;
  flex: 1;
  box-shadow: 0 3px 12px rgba(15, 23, 42, 0.02);
  transition: all 0.25s ease;
}

.step-content-card:hover {
  border-color: #38bdf8;
  transform: translateX(4px);
  box-shadow: 0 8px 24px rgba(2, 132, 199, 0.08);
}

.step-tag {
  font-size: 11px;
  font-weight: 500;
  color: #0284c7;
  letter-spacing: 0.06em;
  display: block;
  margin-bottom: 4px;
}

.step-name {
  font-size: 18px;
  font-weight: 500;
  color: #040914;
  margin: 0 0 8px 0;
}

.step-description {
  font-size: 14px;
  font-weight: 300;
  color: #475569;
  line-height: 1.6;
  margin: 0;
}

/* Commitments Grid */
.about-commitments-section {
  padding: 64px 0 80px 0;
  background: #f8fafc;
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
}

.commitments-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 40px;
}

.commit-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 28px 24px;
  text-align: center;
}

.commit-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: #f0f9ff;
  border: 1px solid #bae6fd;
  color: #0284c7;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

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

.commit-title {
  font-size: 17px;
  font-weight: 500;
  color: #040914;
  margin: 0 0 8px 0;
}

.commit-desc {
  font-size: 13.5px;
  font-weight: 300;
  color: #64748b;
  line-height: 1.55;
  margin: 0;
}

/* Responsive Rules for About Section */
@media (max-width: 1024px) {
  .certifications-grid,
  .metrics-grid-4,
  .qaqc-steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .about-download-card {
    grid-template-columns: 1fr;
  }
  .download-card-media {
    min-height: 240px;
  }
}

@media (max-width: 768px) {
  .certifications-grid,
  .core-tech-grid,
  .metrics-grid-4,
  .machinery-grid,
  .qaqc-steps-grid,
  .commitments-grid {
    grid-template-columns: 1fr;
  }
  .about-hero-title {
    font-size: 32px;
  }
  .about-hero-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .download-card-body {
    padding: 32px 24px;
  }
  .process-step-item {
    gap: 16px;
  }
}

/* Legal Entity Profile Card */
.legal-entity-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 36px 32px;
  margin-bottom: 48px;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.03);
}

.legal-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: #0284c7;
  background: #f0f9ff;
  border: 1px solid #bae6fd;
  padding: 4px 12px;
  border-radius: 6px;
  margin-bottom: 12px;
}

.legal-company-title {
  font-size: 24px;
  font-weight: 500;
  color: #040914;
  margin: 0 0 6px 0;
  line-height: 1.35;
}

.legal-company-intl {
  font-size: 14px;
  font-weight: 400;
  color: #64748b;
  margin: 0 0 24px 0;
}

.legal-entity-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px 28px;
  border-top: 1px solid #f1f5f9;
  padding-top: 24px;
}

.legal-grid-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.legal-item-label {
  font-size: 12px;
  font-weight: 400;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.legal-item-val {
  font-size: 15px;
  font-weight: 500;
  color: #0f172a;
  line-height: 1.45;
}

.footer-company-sub {
  font-size: 12px;
  font-weight: 400;
  color: #94a3b8;
  margin: 4px 0 8px 0;
  line-height: 1.4;
}

.footer-tax-id {
  font-size: 12px;
  font-weight: 400;
  color: #38bdf8;
  margin: 0 0 10px 0;
}

@media (max-width: 768px) {
  .legal-entity-card {
    padding: 24px 18px;
  }
  .legal-entity-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

/* ==========================================================================
   SOLUTIONS (GIẢI PHÁP) SECTION STYLES
   ========================================================================== */

/* Solutions Hero */
.solution-hero-section {
  background: linear-gradient(135deg, #040914 0%, #061527 50%, #0b192c 100%);
  color: #ffffff;
  padding: 80px 0 60px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.solution-hero-section::before {
  content: "";
  position: absolute;
  top: -30%;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 300px;
  background: radial-gradient(circle, rgba(2, 132, 199, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.solution-hero-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: #38bdf8;
  background: rgba(2, 132, 199, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.25);
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 18px;
  text-transform: uppercase;
}

.solution-hero-title {
  font-size: 42px;
  font-weight: 500;
  letter-spacing: -0.02em;
  margin: 0 0 16px 0;
  color: #ffffff;
  line-height: 1.25;
}

.solution-hero-desc {
  font-size: 16px;
  font-weight: 300;
  color: #94a3b8;
  max-width: 580px;
  margin: 0 auto 30px auto;
  line-height: 1.6;
}

.solution-hero-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
}

/* Solutions Sub-Navigation Bar */
.solution-subnav-bar {
  background: #ffffff;
  border-bottom: 1px solid #e2e8f0;
  position: sticky;
  top: 70px;
  z-index: 90;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
}

.solution-subnav-container {
  display: flex;
  align-items: center;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.solution-subnav-container::-webkit-scrollbar {
  display: none;
}

.solution-subnav-label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 500;
  color: #0284c7;
  letter-spacing: 0.08em;
  padding: 14px 18px 14px 0;
  border-right: 1px solid #e2e8f0;
  margin-right: 12px;
  white-space: nowrap;
  flex-shrink: 0;
}

.solution-subnav-list {
  display: flex;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 4px;
}

.solution-subnav-item {
  flex-shrink: 0;
}

.solution-subnav-link {
  display: block;
  padding: 14px 14px;
  font-size: 13px;
  font-weight: 400;
  color: #64748b;
  text-decoration: none;
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  transition: all 0.2s ease;
}

.solution-subnav-item.active .solution-subnav-link,
.solution-subnav-link:hover {
  color: #0284c7;
  border-bottom-color: #0284c7;
}

/* Solution Matrix Grid */
.solution-matrix-section {
  padding: 70px 0;
  background: #f8fafc;
}

.solution-matrix-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 44px;
}

.solution-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  transition: all 0.28s ease;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.02);
}

.solution-card:hover {
  transform: translateY(-5px);
  border-color: #38bdf8;
  box-shadow: 0 16px 32px rgba(2, 132, 199, 0.08);
}

.solution-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.solution-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: #f0f9ff;
  border: 1px solid #bae6fd;
  color: #0284c7;
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.solution-card-tag {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: #0284c7;
  background: #f0f9ff;
  border: 1px solid #bae6fd;
  padding: 3px 10px;
  border-radius: 4px;
}

.solution-card-title {
  font-size: 20px;
  font-weight: 500;
  color: #040914;
  margin: 0 0 10px 0;
  line-height: 1.35;
}

.solution-card-desc {
  font-size: 14px;
  font-weight: 400;
  color: #64748b;
  line-height: 1.6;
  margin: 0 0 20px 0;
}

.solution-card-features {
  list-style: none;
  padding: 0;
  margin: 0 0 24px 0;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.solution-card-features li {
  font-size: 13px;
  font-weight: 400;
  color: #334155;
  position: relative;
  padding-left: 18px;
  line-height: 1.45;
}

.solution-card-features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #0284c7;
}

.solution-card-footer {
  border-top: 1px solid #f1f5f9;
  padding-top: 18px;
}

.btn-solution-detail {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 500;
  color: #0284c7;
  text-decoration: none;
  transition: gap 0.2s ease, color 0.2s ease;
}

.btn-solution-detail:hover {
  color: #0369a1;
  gap: 10px;
}

/* Solutions Architecture Workflow */
.solution-architecture-section {
  padding: 80px 0;
  background: #ffffff;
}

.architecture-flow-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  align-items: center;
  gap: 16px;
  margin-top: 48px;
}

.flow-step-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 24px 20px;
  text-align: center;
  transition: all 0.25s ease;
}

.flow-step-card:hover {
  background: #ffffff;
  border-color: #38bdf8;
  box-shadow: 0 8px 24px rgba(2, 132, 199, 0.06);
}

.flow-step-num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #0284c7;
  color: #ffffff;
  font-size: 14px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}

.flow-step-title {
  font-size: 16px;
  font-weight: 500;
  color: #040914;
  margin: 0 0 8px 0;
  line-height: 1.35;
}

.flow-step-desc {
  font-size: 13px;
  font-weight: 400;
  color: #64748b;
  line-height: 1.5;
  margin: 0;
}

.flow-arrow-icon {
  color: #94a3b8;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Responsive Solutions */
@media (max-width: 1024px) {
  .solution-matrix-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .architecture-flow-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .flow-arrow-icon {
    transform: rotate(90deg);
  }
}

@media (max-width: 768px) {
  .solution-matrix-grid {
    grid-template-columns: 1fr;
  }
  .solution-hero-title {
    font-size: 32px;
  }
  .solution-hero-actions {
    flex-direction: column;
    align-items: stretch;
  }
}

/* ==========================================================================
   PIXEL-PERFECT SHOWCASE TEMPLATE (GIẢI PHÁP & ỨNG DỤNG NGÀNH)
   ========================================================================== */

/* 1. Hero Banner */
.mockup-hero-section {
  background: linear-gradient(135deg, #030813 0%, #061527 55%, #0a1b33 100%);
  color: #ffffff;
  padding: 68px 0 54px 0;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.mockup-hero-container {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 40px;
}

.mockup-hero-left {
  max-width: 640px;
}

.mockup-hero-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: #38bdf8;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.mockup-hero-title {
  font-size: 38px;
  font-weight: 500;
  color: #ffffff;
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin: 0 0 14px 0;
  text-transform: uppercase;
}

.mockup-cyan-text {
  color: #00a2ed;
}

.mockup-hero-subtitle {
  font-size: 14.5px;
  font-weight: 300;
  color: #cbd5e1;
  line-height: 1.6;
  margin: 0 0 24px 0;
}

/* 3 Benefit Pills */
.mockup-hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 30px;
}

.mockup-pill-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(6px);
  padding: 8px 14px;
  border-radius: 30px;
}

.mockup-pill-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(2, 132, 199, 0.2);
  border: 1px solid rgba(56, 189, 248, 0.35);
  color: #38bdf8;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.mockup-pill-text {
  font-size: 12.5px;
  font-weight: 400;
  color: #e2e8f0;
  white-space: nowrap;
}

/* Action Buttons */
.mockup-hero-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.btn-mockup-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #00a2ed;
  color: #ffffff;
  font-size: 13.5px;
  font-weight: 500;
  padding: 12px 26px;
  border-radius: 30px;
  text-decoration: none;
  transition: all 0.25s ease;
  box-shadow: 0 4px 16px rgba(0, 162, 237, 0.35);
}

.btn-mockup-primary:hover {
  background: #0284c7;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 162, 237, 0.45);
}

.btn-mockup-play {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  border: none;
  color: #ffffff;
  font-size: 13.5px;
  font-weight: 400;
  cursor: pointer;
  padding: 8px 12px;
  transition: color 0.2s ease;
  font-family: inherit;
}

.btn-mockup-play:hover {
  color: #38bdf8;
}

.mockup-play-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #0284c7;
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 14px rgba(2, 132, 199, 0.5);
  transition: transform 0.2s ease;
}

.btn-mockup-play:hover .mockup-play-icon {
  transform: scale(1.1);
}

/* Hero Right Visual */
.mockup-hero-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  position: relative;
}

.mockup-device-frame {
  width: 100%;
  max-width: 480px;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.mockup-device-img {
  width: 100%;
  height: auto;
  display: block;
}

/* 1.1 Clean Light Header Section (Khi bỏ banner tối màu) */
.mockup-clean-header-section {
  padding: 36px 0 28px 0;
  background: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
}

.mockup-clean-breadcrumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #64748b;
  margin-bottom: 18px;
}

.mockup-clean-breadcrumbs a {
  color: #64748b;
  text-decoration: none;
  transition: color 0.2s ease;
}

.mockup-clean-breadcrumbs a:hover {
  color: #0284c7;
}

.mockup-clean-breadcrumbs .sep {
  color: #cbd5e1;
}

.mockup-clean-breadcrumbs .current {
  color: #0f172a;
  font-weight: 600;
}

.mockup-clean-header-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

.mockup-clean-header-left {
  flex: 1;
  min-width: 300px;
}

.mockup-clean-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #0284c7;
  background: #e0f2fe;
  border: 1px solid #bae6fd;
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 10px;
}

.mockup-clean-title {
  font-size: 32px;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 10px 0;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.mockup-clean-subtitle {
  font-size: 15px;
  color: #475569;
  line-height: 1.6;
  margin: 0 0 16px 0;
  max-width: 720px;
}

.mockup-clean-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.mockup-clean-pill-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: 8px;
  padding: 6px 12px;
  font-size: 12.5px;
  font-weight: 600;
  color: #334155;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.04);
}

.mockup-clean-pill-item .pill-icon {
  color: #0284c7;
  display: flex;
}

.mockup-clean-header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.btn-sample-poc-action {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
  color: #ffffff;
  border: none;
  border-radius: 10px;
  padding: 12px 22px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.22s ease;
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.32);
}

.btn-sample-poc-action:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(2, 132, 199, 0.42);
  background: linear-gradient(135deg, #0369a1 0%, #075985 100%);
}

.btn-sample-video-action {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #ffffff;
  border: 1.5px solid #cbd5e1;
  border-radius: 10px;
  padding: 11px 18px;
  font-size: 13px;
  font-weight: 600;
  color: #334155;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-sample-video-action:hover {
  border-color: #0284c7;
  color: #0284c7;
  background: #f0f9ff;
}

/* 2. Gallery Section - Làm To & Nổi Bật Các Hình Ảnh */
.mockup-gallery-section {
  padding: 50px 0 60px 0;
  background: #ffffff;
  border-bottom: 1px solid #f1f5f9;
}

.mockup-gallery-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 28px;
  gap: 20px;
}

.mockup-gallery-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  color: #0284c7;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.mockup-gallery-title {
  font-size: 24px;
  font-weight: 700;
  color: #040914;
  letter-spacing: -0.01em;
  margin: 0 0 6px 0;
}

.mockup-gallery-sub {
  font-size: 14px;
  color: #64748b;
  margin: 0;
}

.mockup-gallery-nav {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

.mockup-arrow-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1.5px solid #cbd5e1;
  background: #ffffff;
  color: #334155;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.22s ease;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.05);
}

.mockup-arrow-btn:hover {
  background: #0284c7;
  border-color: #0284c7;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.3);
}

/* Track ảnh lớn và nổi bật */
.mockup-gallery-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(320px, 360px);
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 8px 4px 18px 4px;
  scrollbar-width: thin;
  scrollbar-color: #cbd5e1 transparent;
}

.mockup-gallery-track::-webkit-scrollbar {
  height: 6px;
}
.mockup-gallery-track::-webkit-scrollbar-track {
  background: #f1f5f9;
  border-radius: 999px;
}
.mockup-gallery-track::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 999px;
}
.mockup-gallery-track::-webkit-scrollbar-thumb:hover {
  background: #0284c7;
}

.mockup-gallery-card {
  scroll-snap-align: start;
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  display: flex;
  flex-direction: column;
}

.mockup-gallery-card:hover {
  transform: translateY(-6px);
  border-color: #0284c7;
  box-shadow: 0 18px 40px rgba(2, 132, 199, 0.18);
}

.mockup-gallery-card-inner {
  height: 250px;
  position: relative;
  overflow: hidden;
  background: #f8fafc;
}

.mockup-gallery-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.mockup-gallery-card:hover .mockup-gallery-img {
  transform: scale(1.08);
}

.mockup-gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(4, 9, 20, 0.45);
  backdrop-filter: blur(2px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.mockup-gallery-card:hover .mockup-gallery-overlay {
  opacity: 1;
}

.gallery-zoom-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  color: #0284c7;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
  transform: scale(0.85);
  transition: transform 0.25s ease;
}

.mockup-gallery-card:hover .gallery-zoom-icon {
  transform: scale(1);
}

.gallery-zoom-label {
  color: #ffffff;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: rgba(2, 132, 199, 0.85);
  padding: 4px 10px;
  border-radius: 999px;
}

.mockup-gallery-card-caption {
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border-top: 1px solid #f1f5f9;
  background: #ffffff;
}

.caption-idx {
  font-size: 11px;
  font-weight: 700;
  color: #0284c7;
  letter-spacing: 0.06em;
  background: #f0f9ff;
  border: 1px solid #bae6fd;
  padding: 2.5px 8px;
  border-radius: 6px;
}

.caption-title {
  font-size: 13.5px;
  font-weight: 600;
  color: #1e293b;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* 3. Alternating Sections (Full Width Responsive) */
.mockup-sections-wrap {
  padding: 80px 0 60px 0;
  background: #f8fafc;
}

.mockup-sections-list {
  width: 100%;
}

.mockup-row-item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 64px;
  margin-bottom: 90px;
}

.mockup-row-item:last-child {
  margin-bottom: 20px;
}

.mockup-col-media {
  width: 100%;
}

.mockup-media-frame {
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.08);
  border: 1px solid #e2e8f0;
  background: #ffffff;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.mockup-row-item:hover .mockup-media-frame {
  transform: translateY(-3px);
  box-shadow: 0 20px 42px rgba(15, 23, 42, 0.12);
}

.mockup-media-img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  display: block;
}

.mockup-col-content {
  position: relative;
  padding: 10px 0;
}

.mockup-watermark-num {
  position: absolute;
  top: -28px;
  right: 0;
  font-size: 88px;
  font-weight: 700;
  color: #e2e8f0;
  line-height: 1;
  pointer-events: none;
  user-select: none;
  letter-spacing: -0.03em;
}

.mockup-sec-badge {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 700;
  color: #0284c7;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.mockup-sec-title {
  font-size: 28px;
  font-weight: 600;
  color: #040914;
  line-height: 1.32;
  margin: 0 0 16px 0;
  letter-spacing: -0.01em;
}

.mockup-sec-desc {
  font-size: 15px;
  font-weight: 400;
  color: #475569;
  line-height: 1.75;
  margin: 0;
}

.mockup-sec-desc p {
  margin: 0 0 14px 0;
  line-height: 1.75;
}

.mockup-sec-desc p:last-child {
  margin-bottom: 0;
}

/* 5. FLOATING LEAD DOCK (Chạy dọc theo trang, thu gọn thành icon bên hông trang phải) */
.nc-floating-lead-dock {
  position: relative;
  z-index: 990;
}

/* Form Card nổi ở góc phải màn hình */
.nc-floating-form-card {
  position: fixed;
  right: 28px;
  bottom: 36px; /* Xê lên tránh sát đáy */
  z-index: 992;
  width: 320px;
  max-width: calc(100vw - 32px);
  max-height: calc(100vh - 56px);
  overflow-y: auto;
  overflow-x: hidden;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-top: 3.5px solid #0284c7;
  border-radius: 16px;
  padding: 16px 16px 14px;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.18), 0 0 0 1px rgba(2, 132, 199, 0.1);
  scrollbar-width: thin;
  scrollbar-color: #cbd5e1 transparent;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease, visibility 0.35s ease;
}

.nc-floating-form-card::-webkit-scrollbar {
  width: 4px;
}
.nc-floating-form-card::-webkit-scrollbar-track {
  background: transparent;
}
.nc-floating-form-card::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 4px;
}

/* Trạng thái Mở của Dock */
.nc-floating-lead-dock.is-open .nc-floating-form-card {
  transform: translateX(0);
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* Trạng thái Thu gọn của Dock */
.nc-floating-lead-dock.is-collapsed .nc-floating-form-card {
  transform: translateX(calc(100% + 50px));
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

/* Header của Form nổi */
.nc-dock-header {
  margin-bottom: 10px;
  padding-bottom: 8px;
  border-bottom: 1px solid #f1f5f9;
}

.nc-dock-header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 4px;
}

.nc-dock-close-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1px solid #e2e8f0;
  background: #f8fafc;
  color: #64748b;
  cursor: pointer;
  transition: all 0.2s ease;
}

.nc-dock-close-btn:hover {
  background: #fee2e2;
  border-color: #fca5a5;
  color: #ef4444;
  transform: rotate(90deg);
}

.sticky-form-badge {
  display: inline-block;
  font-size: 9.5px;
  font-weight: 700;
  color: #0284c7;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: #f0f9ff;
  border: 1px solid #bae6fd;
  padding: 2px 7px;
  border-radius: 999px;
}

.sticky-form-title {
  font-size: 16px;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 2px 0;
  line-height: 1.25;
}

.sticky-form-desc {
  font-size: 11px;
  color: #64748b;
  margin: 0;
  line-height: 1.35;
}

.sticky-form-desc strong {
  color: #0284c7;
  font-weight: 600;
}

.sticky-detail-form .sticky-field {
  margin-bottom: 9px;
}

.sticky-label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  color: #334155;
  margin-bottom: 3px;
}

.sticky-label .required {
  color: #ef4444;
}

.sticky-input,
.sticky-textarea {
  width: 100%;
  border: 1.5px solid #e2e8f0;
  border-radius: 7px;
  padding: 7px 10px;
  font-size: 12px;
  color: #0f172a;
  background: #f8fafc;
  outline: none;
  transition: all 0.2s ease;
  box-sizing: border-box;
  font-family: inherit;
}

.sticky-input:focus,
.sticky-textarea:focus {
  background: #ffffff;
  border-color: #0284c7;
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.12);
}

.sticky-textarea {
  resize: vertical;
  min-height: 48px;
}

/* Service & Quantity Pills (Clean enterprise design, strictly NO raw emojis) */
.sticky-pills-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.sticky-pill-checkbox,
.sticky-pill-radio {
  display: inline-flex;
  align-items: center;
  position: relative;
  cursor: pointer;
  user-select: none;
  margin: 0;
}

.sticky-pill-checkbox input,
.sticky-pill-radio input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  pointer-events: none;
}

.sticky-pill-text {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 5px 9px;
  background: #f8fafc;
  border: 1.5px solid #e2e8f0;
  border-radius: 7px;
  font-size: 11px;
  font-weight: 500;
  color: #475569;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.sticky-pill-checkbox:hover .sticky-pill-text,
.sticky-pill-radio:hover .sticky-pill-text {
  border-color: #0284c7;
  color: #0284c7;
  background: #f0f9ff;
}

.sticky-pill-checkbox input:checked + .sticky-pill-text,
.sticky-pill-radio input:checked + .sticky-pill-text {
  background: #e0f2fe;
  border-color: #0284c7;
  color: #0369a1;
  font-weight: 600;
  box-shadow: 0 2px 6px rgba(2, 132, 199, 0.14);
}

.sticky-consent {
  margin: 8px 0 10px 0;
}

.sticky-consent .consent-checkbox-wrap {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  cursor: pointer;
  font-size: 11px;
  color: #64748b;
  line-height: 1.35;
}

.sticky-consent input[type="checkbox"] {
  margin-top: 2px;
  accent-color: #0284c7;
}

.btn-sticky-submit {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 9px 14px;
  margin-top: 6px;
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
  color: #ffffff;
  border: none;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.22s ease;
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.24);
}

.btn-sticky-submit:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(2, 132, 199, 0.35);
  background: linear-gradient(135deg, #0369a1 0%, #075985 100%);
}

.sticky-trust-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 8px;
  padding-top: 6px;
  border-top: 1px dashed #e2e8f0;
}

.sticky-trust-footer .trust-item {
  display: flex;
  align-items: center;
  gap: 4px;
  color: #64748b;
  font-size: 10px;
  font-weight: 500;
}

.sticky-trust-footer .trust-item svg {
  color: #0284c7;
  flex-shrink: 0;
}

/* Sidebar Tab bên hông trang phải khi thu gọn */
.nc-lead-dock-tab {
  position: fixed;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 985;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(180deg, #0284c7 0%, #0369a1 100%);
  color: #ffffff;
  padding: 16px 8px 14px 9px;
  border-radius: 12px 0 0 12px;
  box-shadow: -4px 6px 24px rgba(2, 132, 199, 0.45);
  border: none;
  cursor: pointer;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease, background 0.2s ease;
}

.nc-floating-lead-dock.is-open .nc-lead-dock-tab {
  transform: translateY(-50%) translateX(115%);
  opacity: 0;
  pointer-events: none;
}

.nc-floating-lead-dock.is-collapsed .nc-lead-dock-tab {
  transform: translateY(-50%) translateX(0);
  opacity: 1;
  pointer-events: auto;
}

.nc-lead-dock-tab:hover {
  transform: translateY(-50%) translateX(-4px);
  background: linear-gradient(180deg, #0369a1 0%, #075985 100%);
}

.nc-dock-tab-pulse {
  position: absolute;
  top: 7px;
  left: 7px;
  width: 7px;
  height: 7px;
  background: #22c55e;
  border-radius: 50%;
  box-shadow: 0 0 0 2px #ffffff;
}

.nc-dock-tab-icon {
  display: flex;
  align-items: center;
  justify-content: center;
}

.nc-dock-tab-label {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #ffffff;
  user-select: none;
}

/* Backdrop cho Mobile */
.nc-lead-dock-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.55);
  backdrop-filter: blur(4px);
  z-index: 991;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.nc-lead-dock-backdrop.is-active {
  opacity: 1;
  pointer-events: auto;
}

/* 4. News Section */
.mockup-news-section {
  padding: 60px 0 80px 0;
  background: #ffffff;
}

.mockup-news-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 32px;
}

.mockup-news-badge {
  display: block;
  font-size: 11px;
  font-weight: 500;
  color: #0284c7;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.mockup-news-title {
  font-size: 24px;
  font-weight: 500;
  color: #040914;
  margin: 0;
}

.mockup-news-viewall {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 500;
  color: #0284c7;
  text-decoration: none;
  transition: gap 0.2s ease;
}

.mockup-news-viewall:hover {
  color: #0369a1;
  gap: 10px;
}

.mockup-news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.mockup-news-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  overflow: hidden;
  transition: all 0.25s ease;
  display: flex;
  flex-direction: column;
}

.mockup-news-card:hover {
  transform: translateY(-4px);
  border-color: #38bdf8;
  box-shadow: 0 12px 28px rgba(2, 132, 199, 0.08);
}

.mockup-news-thumb {
  height: 190px;
  overflow: hidden;
}

.mockup-news-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.mockup-news-card:hover .mockup-news-thumb img {
  transform: scale(1.04);
}

.mockup-news-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  position: relative;
}

.mockup-news-date {
  font-size: 12px;
  font-weight: 400;
  color: #94a3b8;
  margin-bottom: 8px;
}

.mockup-news-item-title {
  font-size: 15px;
  font-weight: 500;
  color: #040914;
  line-height: 1.45;
  margin: 0 0 16px 0;
}

.mockup-news-item-title a {
  color: #040914;
  text-decoration: none;
  transition: color 0.2s ease;
}

.mockup-news-item-title a:hover {
  color: #0284c7;
}

.mockup-news-thumb-link {
  display: block;
  text-decoration: none;
}

.mockup-news-arrow {
  margin-top: auto;
  align-self: flex-end;
  color: #0284c7;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease;
}

.mockup-news-card:hover .mockup-news-arrow {
  transform: translateX(4px);
}

/* 6. Kho Tem Mẫu Archive & Card Styles */
.sample-archive-hero {
  padding: 48px 0 36px 0;
  background: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
  text-align: center;
}

.sample-hero-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #0284c7;
  background: #e0f2fe;
  border: 1px solid #bae6fd;
  padding: 4px 14px;
  border-radius: 999px;
  margin-bottom: 12px;
}

.sample-hero-title {
  font-size: 34px;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 12px 0;
  letter-spacing: -0.02em;
}

.sample-hero-desc {
  font-size: 15px;
  color: #475569;
  max-width: 720px;
  margin: 0 auto 28px auto;
  line-height: 1.65;
}

.sample-filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.sample-tab-btn {
  background: #ffffff;
  border: 1.5px solid #cbd5e1;
  border-radius: 999px;
  padding: 7px 18px;
  font-size: 13px;
  font-weight: 600;
  color: #475569;
  cursor: pointer;
  transition: all 0.2s ease;
}

.sample-tab-btn:hover {
  border-color: #0284c7;
  color: #0284c7;
  background: #f0f9ff;
}

.sample-tab-btn.active {
  background: #0284c7;
  border-color: #0284c7;
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.28);
}

.sample-archive-grid-section {
  padding: 50px 0 80px 0;
  background: #ffffff;
}

.sample-archive-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.sample-archive-card {
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
}

.sample-archive-card:hover {
  transform: translateY(-6px);
  border-color: #0284c7;
  box-shadow: 0 18px 40px rgba(2, 132, 199, 0.16);
}

.sample-card-media {
  height: 240px;
  position: relative;
  overflow: hidden;
  background: #f8fafc;
  cursor: pointer;
}

.sample-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

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

.sample-card-zoom-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(4px);
  color: #ffffff;
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.sample-archive-card:hover .sample-card-zoom-badge {
  opacity: 1;
}

.sample-card-tech-badge {
  position: absolute;
  bottom: 12px;
  left: 12px;
  background: rgba(2, 132, 199, 0.9);
  backdrop-filter: blur(4px);
  color: #ffffff;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: 6px;
}

.sample-card-content {
  padding: 22px 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.sample-card-title {
  font-size: 18px;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 8px 0;
  line-height: 1.35;
}

.sample-card-title a {
  color: #0f172a;
  text-decoration: none;
  transition: color 0.2s ease;
}

.sample-card-title a:hover {
  color: #0284c7;
}

.sample-card-desc {
  font-size: 13.5px;
  color: #64748b;
  line-height: 1.6;
  margin: 0 0 20px 0;
  flex-grow: 1;
}

.sample-card-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-top: 14px;
  border-top: 1px solid #f1f5f9;
}

.btn-sample-view-detail {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: #0284c7;
  text-decoration: none;
  transition: gap 0.2s ease;
}

.btn-sample-view-detail:hover {
  color: #0369a1;
  gap: 9px;
}

.btn-sample-poc-req {
  background: #f0f9ff;
  border: 1px solid #bae6fd;
  color: #0284c7;
  padding: 6px 12px;
  border-radius: 7px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-sample-poc-req:hover {
  background: #0284c7;
  color: #ffffff;
  border-color: #0284c7;
}

/* Sample Kit POC Callout Banner */
.sample-kit-callout-section {
  padding: 0 0 80px 0;
  background: #ffffff;
}

.sample-kit-box {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  border: 1px solid #334155;
  border-radius: 24px;
  padding: 44px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  box-shadow: 0 20px 48px rgba(15, 23, 42, 0.15);
}

.kit-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  color: #38bdf8;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.kit-title {
  font-size: 28px;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 12px 0;
  line-height: 1.3;
}

.kit-desc {
  font-size: 14.5px;
  color: #94a3b8;
  line-height: 1.65;
  margin: 0 0 22px 0;
  max-width: 680px;
}

.kit-features {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.kit-feat-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #e2e8f0;
  font-size: 13.5px;
  font-weight: 500;
}

.kit-feat-item svg {
  color: #38bdf8;
}

.btn-kit-register {
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
  color: #ffffff;
  border: none;
  border-radius: 12px;
  padding: 16px 28px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.22s ease;
  box-shadow: 0 6px 20px rgba(2, 132, 199, 0.35);
}

.btn-kit-register:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(2, 132, 199, 0.45);
  background: linear-gradient(135deg, #0369a1 0%, #075985 100%);
}

.sample-item-link {
  text-decoration: none;
  display: block;
  color: inherit;
}

/* Responsive Rules for Mockup Layout & Floating Lead Dock */
@media (max-width: 1024px) {
  .mockup-hero-container {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .mockup-hero-right {
    align-items: center;
  }
  .mockup-gallery-track {
    grid-auto-columns: minmax(280px, 320px);
  }
  .mockup-row-item {
    gap: 40px;
    margin-bottom: 70px;
  }
  .mockup-news-grid,
  .sample-archive-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .sample-kit-box {
    flex-direction: column;
    padding: 32px 28px;
    text-align: center;
  }
  .kit-features {
    justify-content: center;
  }

  /* Floating Dock trên Tablet & Mobile */
  .nc-floating-form-card {
    left: 16px;
    right: 16px;
    bottom: 16px;
    width: auto;
    max-width: 480px;
    margin: 0 auto;
    max-height: 85vh;
    z-index: 1002;
  }

  .nc-floating-lead-dock.is-open .nc-floating-form-card {
    transform: translateY(0);
  }

  .nc-floating-lead-dock.is-collapsed .nc-floating-form-card {
    transform: translateY(120%);
  }

  .nc-lead-dock-tab {
    top: auto;
    bottom: 90px;
    transform: none;
    border-radius: 999px 0 0 999px;
    padding: 10px 14px 10px 12px;
    flex-direction: row;
    gap: 7px;
    z-index: 990;
  }

  .nc-lead-dock-tab .nc-dock-tab-label {
    writing-mode: horizontal-tb;
    font-size: 11px;
  }

  .nc-floating-lead-dock.is-open .nc-lead-dock-tab {
    transform: translateX(115%);
  }

  .nc-floating-lead-dock.is-collapsed .nc-lead-dock-tab {
    transform: translateX(0);
  }
}

@media (max-width: 768px) {
  .mockup-hero-title {
    font-size: 28px;
  }
  .mockup-clean-title {
    font-size: 26px;
  }
  .mockup-gallery-section {
    padding: 34px 0 40px 0;
  }
  .mockup-gallery-header {
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 16px;
    gap: 10px;
  }
  .mockup-gallery-header-left {
    width: 100%;
  }
  .mockup-gallery-badge {
    font-size: 11px;
    letter-spacing: 0.05em;
    margin-bottom: 4px;
    display: inline-block;
  }
  .mockup-gallery-title {
    font-size: 19.5px;
    line-height: 1.32;
    margin: 0 0 6px 0;
    letter-spacing: -0.01em;
  }
  .mockup-gallery-sub {
    font-size: 13.5px;
    line-height: 1.45;
    color: #64748b;
  }
  .mockup-gallery-nav {
    display: flex;
    align-self: flex-start;
    gap: 8px;
    margin-top: 2px;
  }
  .mockup-arrow-btn {
    width: 36px;
    height: 36px;
  }
  .mockup-arrow-btn svg {
    width: 15px;
    height: 15px;
  }
  .mockup-gallery-track {
    grid-auto-columns: minmax(260px, 280px);
  }
  .mockup-row-item {
    grid-template-columns: 1fr;
    margin-bottom: 50px;
  }
  .mockup-row-item.pos-right .mockup-col-media {
    order: -1;
  }
  .mockup-media-img {
    height: 240px;
  }
  .mockup-watermark-num {
    font-size: 64px;
    top: -16px;
  }
  .mockup-news-grid,
  .sample-archive-grid {
    grid-template-columns: 1fr;
  }
  .nc-floating-form-card {
    left: 10px;
    right: 10px;
    bottom: 10px;
    padding: 18px 14px;
  }
}

/* Tablet Navigation Switch (Tránh tràn menu trên tablet 769px - 991px) */
@media (max-width: 991px) {
  .nav-links {
    display: none;
  }
  .mobile-toggle {
    display: block;
  }
  .nav-search-wrap {
    display: none;
  }
}

/* ==========================================================================
   POST AUTHOR BOX (Ô Giới thiệu Tác giả bài viết dưới chân tin tức)
   ========================================================================== */
.post-author-box {
  display: flex;
  align-items: flex-start;
  gap: 22px;
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  border: 1px solid #e2e8f0;
  border-left: 4px solid #0284c7;
  border-radius: 14px;
  padding: 24px 28px;
  margin-top: 48px;
  margin-bottom: 24px;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
}

.author-box-avatar-wrap {
  flex-shrink: 0;
}

.author-box-avatar {
  position: relative;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0f172a 0%, #0284c7 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 16px rgba(2, 132, 199, 0.25);
  border: 2.5px solid #ffffff;
}

.author-avatar-initials {
  color: #ffffff;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.05em;
  font-family: inherit;
}

.author-verified-badge {
  position: absolute;
  bottom: -2px;
  right: -2px;
  width: 20px;
  height: 20px;
  background: #0284c7;
  border-radius: 50%;
  border: 2px solid #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.author-box-content {
  flex: 1;
  min-width: 0;
}

.author-box-header {
  margin-bottom: 8px;
}

.author-box-header-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 4px;
}

.author-badge-tag {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #0284c7;
  background: #e0f2fe;
  padding: 2px 8px;
  border-radius: 999px;
}

.author-role-sub {
  font-size: 12px;
  color: #64748b;
  font-weight: 500;
}

.author-box-name {
  font-size: 18px;
  font-weight: 700;
  color: #0f172a;
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  line-height: 1.3;
}

.author-check-icon {
  flex-shrink: 0;
}

.author-box-bio {
  font-size: 13.5px;
  color: #475569;
  line-height: 1.6;
  margin: 0 0 14px 0;
}

.author-box-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 12px;
  border-top: 1px dashed #cbd5e1;
}

.author-trust-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 500;
  color: #0284c7;
}

.author-all-posts-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12.5px;
  font-weight: 600;
  color: #0f172a;
  text-decoration: none;
  transition: color 0.2s ease;
}

.author-all-posts-link:hover {
  color: #0284c7;
}

@media (max-width: 640px) {
  .post-author-box {
    flex-direction: column;
    padding: 20px 18px;
    gap: 14px;
  }
  .author-box-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
}

/* ==========================================================================
   MOBILE & TABLET HEADER / NAVIGATION MASTER OVERRIDES (Wins cascade)
   ========================================================================== */

/* Universal SVG sizing protection */
svg {
  max-width: 100%;
}
.why-icon-box {
  width: 52px !important;
  height: 52px !important;
  max-width: 52px !important;
  max-height: 52px !important;
  flex-shrink: 0 !important;
  overflow: hidden !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}
.why-icon-box svg {
  width: 26px !important;
  height: 26px !important;
  max-width: 26px !important;
  max-height: 26px !important;
  flex-shrink: 0 !important;
}

/* Mobile Toggle Button Base */
.mobile-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: var(--color-navy);
  border-radius: 8px;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
.mobile-toggle .icon-close {
  display: none;
}
.mobile-toggle.is-active .icon-hamburger {
  display: none !important;
}
.mobile-toggle.is-active .icon-close {
  display: block !important;
}


@media (max-width: 991px) {
  /* 1. Hide Desktop Search in Header Bar */
  .site-header .nav-search-wrap {
    display: none !important;
  }

  /* 2. Header Layout */
  .site-header .navbar {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    position: relative !important;
    height: 64px !important;
    padding-inline: 16px !important;
  }

  /* 3. Compact Brand Logo on Mobile */
  .brand-logo {
    gap: 8px !important;
  }
  .brand-icon {
    width: 34px !important;
    height: 34px !important;
    border-radius: 8px !important;
  }
  .brand-icon svg {
    width: 18px !important;
    height: 18px !important;
  }
  .brand-name-main {
    font-size: 16px !important;
  }
  .brand-name-sub {
    font-size: 8.5px !important;
  }

  /* 4. Nav Actions & Toggle Button */
  .nav-actions {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    flex-shrink: 0 !important;
  }

  .nav-actions .btn-primary {
    padding: 6px 12px !important;
    font-size: 11px !important;
    letter-spacing: 0.02em !important;
  }

  .mobile-toggle {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 42px !important;
    height: 42px !important;
    min-width: 42px !important;
    padding: 0 !important;
    background: #f1f5f9 !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 8px !important;
    color: #0f172a !important;
    z-index: 1002 !important;
    flex-shrink: 0 !important;
  }
  .mobile-toggle svg {
    pointer-events: none !important;
  }

  /* 5. Mobile Navigation Drawer */
  .nav-links {
    display: none !important;
  }

  .nav-links.mobile-open {
    display: flex !important;
    flex-direction: column !important;
    position: fixed !important;
    top: 64px !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100% !important;
    height: calc(100vh - 64px) !important;
    height: calc(100dvh - 64px) !important;
    background: #ffffff !important;
    padding: 16px 20px 80px !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch !important;
    z-index: 99999 !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15) !important;
    gap: 0 !important;
    align-items: stretch !important;
  }

  /* Items inside Drawer */
  .nav-links.mobile-open > li {
    width: 100% !important;
    border-bottom: 1px solid #f1f5f9 !important;
    padding: 10px 0 !important;
    display: flex !important;
    flex-direction: column !important;
    flex-shrink: 0 !important;
    height: auto !important;
    min-height: 0 !important;
    position: static !important;
    overflow: visible !important;
    clear: both !important;
    box-sizing: border-box !important;
  }

  .nav-links.mobile-open > li > a {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
    flex-shrink: 0 !important;
    height: auto !important;
    min-height: 44px !important;
    font-size: 14.5px !important;
    font-weight: 700 !important;
    color: #0f172a !important;
    padding: 4px 0 !important;
    text-decoration: none !important;
    -webkit-tap-highlight-color: transparent !important;
  }

  .nav-links.mobile-open > li > a::after {
    display: none !important;
  }

  .nav-links.mobile-open .dropdown-arrow {
    transition: transform 0.25s ease !important;
    transform: none !important;
    flex-shrink: 0 !important;
  }
  .nav-links.mobile-open .menu-item-has-children.mobile-sub-open > a .dropdown-arrow {
    transform: rotate(180deg) !important;
  }

  /* Force hide all sub-menus and mega-menus by default on mobile */
  .nav-links .sub-menu,
  .nav-links .mega-menu,
  .nav-links.mobile-open .sub-menu,
  .nav-links.mobile-open .mega-menu,
  .nav-links.mobile-open .mega-menu-solutions,
  .nav-links.mobile-open .mega-menu-products,
  .nav-links.mobile-open .menu-item-mega .mega-menu,
  .nav-links.mobile-open .menu-item-has-children .sub-menu {
    display: none !important;
    position: static !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    flex-shrink: 0 !important;
    transform: none !important;
    box-shadow: none !important;
    border: none !important;
    border-left: 3px solid #0284c7 !important;
    background: #f8fafc !important;
    padding: 12px 14px !important;
    margin-top: 10px !important;
    margin-bottom: 8px !important;
    border-radius: 6px !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    float: none !important;
    clear: both !important;
    box-sizing: border-box !important;
  }

  /* Opened state - ONLY when .mobile-sub-open is toggled on parent */
  .nav-links.mobile-open .menu-item-has-children.mobile-sub-open > .sub-menu,
  .nav-links.mobile-open .menu-item-has-children.mobile-sub-open > .mega-menu,
  .nav-links.mobile-open .menu-item-mega.mobile-sub-open > .mega-menu {
    display: block !important;
    position: static !important;
    top: auto !important;
    left: auto !important;
    transform: none !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    clear: both !important;
  }

  .nav-links.mobile-open .mega-menu::before,
  .nav-links.mobile-open .sub-menu::before {
    display: none !important;
  }

  .nav-links.mobile-open .mega-menu-grid,
  .nav-links.mobile-open .mega-menu-grid-4,
  .nav-links.mobile-open .mega-menu-grid-6 {
    display: flex !important;
    flex-direction: column !important;
    gap: 16px !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  .nav-links.mobile-open .mega-menu-col {
    width: 100% !important;
    max-width: 100% !important;
    display: flex !important;
    flex-direction: column !important;
  }

  .nav-links.mobile-open .mega-col-title {
    display: block !important;
    font-size: 12.5px !important;
    font-weight: 700 !important;
    padding-bottom: 6px !important;
    margin-bottom: 6px !important;
    border-bottom: 1px solid #e2e8f0 !important;
    color: #0284c7 !important;
    text-transform: uppercase !important;
    text-decoration: none !important;
  }

  .nav-links.mobile-open .sub-menu,
  .nav-links.mobile-open .mega-col-list {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 2px !important;
  }

  .nav-links.mobile-open .sub-menu li,
  .nav-links.mobile-open .mega-col-list li {
    list-style: none !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
    width: 100% !important;
  }

  .nav-links.mobile-open .sub-menu li a,
  .nav-links.mobile-open .mega-col-list li a {
    display: flex !important;
    align-items: center !important;
    padding: 6px 0 !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    color: #334155 !important;
    line-height: 1.4 !important;
    text-decoration: none !important;
    border-bottom: 1px dashed #e2e8f0 !important;
    white-space: normal !important;
  }

  .nav-links.mobile-open .sub-menu li a::before,
  .nav-links.mobile-open .mega-col-list li a::before {
    content: '›' !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    color: #0284c7 !important;
    margin-right: 6px !important;
    display: inline-block !important;
  }

  .nav-links.mobile-open .sub-menu li:last-child a,
  .nav-links.mobile-open .mega-col-list li:last-child a {
    border-bottom: none !important;
  }

  .nav-links.mobile-open .sub-menu li a:hover,
  .nav-links.mobile-open .mega-col-list li a:hover {
    color: #0284c7 !important;
    padding-left: 4px !important;
  }

  .nav-links.mobile-open .mega-menu-footer {
    display: none !important;
  }
}

@media (max-width: 480px) {
  /* On small phones, hide header CTA button to leave room for brand & hamburger toggle */
  .nav-actions .btn-primary.nav-btn-consult,
  .nav-actions .btn-primary {
    display: none !important;
  }
  .mockup-gallery-title {
    font-size: 18px;
    line-height: 1.34;
  }
  .mockup-gallery-sub {
    font-size: 13px;
    line-height: 1.42;
  }
}


