/* ==========================================================================
   VTG NEXUS CORPORATE WEBSITE STYLESHEET (2026)
   - Alternating Light / Dark Contrast Sections (Nền Sáng - Tối So Le)
   - True-Color VTG Nexus Brand Logo Prominence
   - 3D Isometric Visual Showcases & Scrollable Product Benefits Modal
   ========================================================================== */

:root {
  --brand-red: #DC2626;
  --brand-crimson: #991B1B;
  --brand-amber: #F59E0B;
  --brand-orange: #EA580C;
  --brand-blue: #2563EB;
  --brand-cyan: #06B6D4;
  --brand-emerald: #059669;

  --bg-dark: #070B14;
  --bg-dark-2: #0B1120;
  --bg-light: #F8FAFC;
  --bg-white: #FFFFFF;

  --text-dark: #0F172A;
  --text-muted: #475569;
  --text-light: #F8FAFC;
  --text-light-muted: #94A3B8;

  --border-light: rgba(15, 23, 42, 0.09);
  --border-dark: rgba(255, 255, 255, 0.11);

  --gradient-brand: linear-gradient(135deg, #DC2626 0%, #EA580C 55%, #F59E0B 100%);
  --gradient-text: linear-gradient(135deg, #B91C1C 0%, #DC2626 45%, #EA580C 100%);

  --shadow-sm: 0 4px 16px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 12px 32px rgba(15, 23, 42, 0.1);
  --shadow-lg: 0 22px 48px rgba(15, 23, 42, 0.16);
  --shadow-red: 0 10px 26px rgba(220, 38, 38, 0.28);

  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --font-sans: 'Plus Jakarta Sans', 'Segoe UI', Roboto, Arial, sans-serif;
  --transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

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

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

body,
input,
select,
textarea,
button {
  font-family: var(--font-sans);
  color: var(--text-dark);
  background-color: var(--bg-white);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  text-decoration: none;
  color: inherit;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

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

/* ==================== NAVBAR (NỀN SÁNG - NỔI BẬT LOGO MÀU GỐC) ==================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 12px 0;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.05);
  transition: var(--transition);
}

.navbar.scrolled {
  padding: 10px 0;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 8px 28px rgba(15, 23, 42, 0.09);
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand-link {
  display: flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 12px;
  background: #FFFFFF;
}

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

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

.nav-link {
  padding: 9px 18px;
  border-radius: 999px;
  font-size: 0.94rem;
  font-weight: 700;
  color: #334155;
  transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
  color: var(--brand-red);
  background: rgba(220, 38, 38, 0.09);
}

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

.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 11px 22px;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 700;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--gradient-brand);
  color: #FFFFFF;
  box-shadow: var(--shadow-red);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(220, 38, 38, 0.38);
}

.btn-outline {
  background: #FFFFFF;
  color: var(--text-dark);
  border: 1.5px solid rgba(15, 23, 42, 0.16);
}

.btn-outline:hover {
  border-color: var(--brand-red);
  color: var(--brand-red);
  background: rgba(220, 38, 38, 0.04);
}

.mobile-toggle {
  display: none;
  color: var(--text-dark);
  padding: 6px;
}

/* ==================== SECTION 1 (NỀN SÁNG): HERO SLIDESHOW ==================== */
.hero-slideshow {
  position: relative;
  width: 100%;
  height: 90vh;
  min-height: 650px;
  max-height: 880px;
  background:
    radial-gradient(circle at 14% 22%, rgba(220, 38, 38, 0.08) 0%, transparent 42%),
    radial-gradient(circle at 86% 28%, rgba(37, 99, 235, 0.09) 0%, transparent 46%),
    linear-gradient(180deg, #FFFFFF 0%, #F8FAFC 65%, #F1F5F9 100%);
  overflow: hidden;
  padding-top: 74px;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

#neural-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
  opacity: 0.45;
}

.slides-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  z-index: 3;
}

.slide-item {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.75s ease, visibility 0.75s ease;
  z-index: 1;
  display: flex;
  align-items: center;
}

.slide-item.active {
  opacity: 1;
  visibility: visible;
  z-index: 3;
}

.slide-content-grid {
  position: relative;
  z-index: 4;
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  align-items: center;
  gap: 44px;
  width: 100%;
  padding-bottom: 74px;
}

.slide-title {
  font-size: clamp(1.6rem, 2.55vw, 2.35rem);
  font-weight: 800;
  line-height: 1.42;
  letter-spacing: -0.02em;
  color: #0F172A;
  margin-bottom: 18px;
}

.text-gradient {
  display: inline-block;
  margin-top: 6px;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.slide-subtitle {
  font-size: clamp(1rem, 1.2vw, 1.14rem);
  color: #475569;
  max-width: 540px;
  margin-bottom: 26px;
  font-weight: 500;
}

.slide-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 30px;
}

.hero-metrics-bar {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  max-width: 520px;
}

.hero-metric-chip {
  padding: 13px 16px;
  border-radius: 16px;
  background: #FFFFFF;
  border: 1px solid rgba(15, 23, 42, 0.1);
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.05);
}

.hero-metric-chip strong {
  display: block;
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--brand-red);
  line-height: 1.2;
}

.hero-metric-chip span {
  font-size: 0.78rem;
  color: #64748B;
  font-weight: 700;
}

/* 3D Showcase Frame on Right of Slide */
.slide-visual-showcase {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 28px;
}

.showcase-frame {
  position: relative;
  width: 100%;
  border-radius: 24px;
  padding: 10px;
  background: linear-gradient(145deg, #FFFFFF, #E2E8F0);
  border: 1px solid rgba(15, 23, 42, 0.12);
  box-shadow: 0 26px 60px rgba(15, 23, 42, 0.16);
  transform: none;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.slide-item.active .showcase-frame:hover {
  transform: translateY(-4px);
}

.showcase-frame img {
  width: 100%;
  border-radius: 18px;
  object-fit: cover;
}

/* Slideshow Controls */
.slide-nav-btn {
  position: absolute;
  top: 46%;
  transform: translateY(-50%);
  z-index: 10;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #FFFFFF;
  border: 1px solid rgba(15, 23, 42, 0.14);
  color: #0F172A;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.1);
  transition: var(--transition);
}

.slide-nav-btn:hover {
  background: var(--brand-red);
  border-color: var(--brand-red);
  color: #FFFFFF;
}

.slide-prev { left: 20px; }
.slide-next { right: 20px; }

.slide-thumbs-bar {
  position: absolute;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  width: min(1160px, calc(100% - 48px));
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.slide-thumb-btn {
  position: relative;
  text-align: left;
  padding: 12px 16px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(15, 23, 42, 0.1);
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.06);
  overflow: hidden;
  transition: var(--transition);
}

.slide-thumb-btn:hover,
.slide-thumb-btn.active {
  background: #FFFFFF;
  border-color: rgba(220, 38, 38, 0.45);
  box-shadow: 0 10px 24px rgba(220, 38, 38, 0.12);
}

.slide-thumb-num {
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--brand-red);
  letter-spacing: 0.06em;
  display: block;
  margin-bottom: 2px;
}

.slide-thumb-title {
  font-size: 0.84rem;
  font-weight: 700;
  color: #0F172A;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: block;
}

.slide-progress-track {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: var(--gradient-brand);
}

.slide-thumb-btn.active .slide-progress-track {
  animation: progressFill 6s linear forwards;
}

@keyframes progressFill {
  from { width: 0%; }
  to { width: 100%; }
}

/* ==================== SECTION COMMON ==================== */
section {
  padding: 84px 0;
}

.section-header {
  text-align: center;
  max-width: 980px;
  margin: 0 auto 48px;
}

.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(220, 38, 38, 0.09);
  color: var(--brand-red);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 14px;
}

.section-title {
  font-size: clamp(1.85rem, 3vw, 2.55rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-dark);
  line-height: 1.22;
  margin-bottom: 12px;
}

.section-desc {
  font-size: 1rem;
  color: var(--text-muted);
}

/* ==================== SECTION 2 (NỀN TỐI): 4 STRATEGIC AXES ==================== */
.axes-section {
  background: var(--bg-dark);
  color: #FFFFFF;
  position: relative;
  overflow: hidden;
}

.axes-section .section-title { color: #FFFFFF; }
.axes-section .section-desc { color: #94A3B8; }
.axes-section .section-kicker {
  background: rgba(245, 158, 11, 0.16);
  color: #FBBF24;
}

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

.axis-card {
  position: relative;
  padding: 28px 24px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: var(--transition);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.axis-card:hover {
  transform: translateY(-6px);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(245, 158, 11, 0.5);
}

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

.axis-icon {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(220, 38, 38, 0.2);
  color: #F87171;
}

.axis-num {
  font-size: 1.75rem;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.16);
}

.axis-card h3 {
  font-size: 1.12rem;
  font-weight: 800;
  margin-bottom: 10px;
  line-height: 1.35;
}

.axis-card p {
  font-size: 0.88rem;
  color: #94A3B8;
  margin-bottom: 18px;
}

.axis-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.82rem;
  font-weight: 700;
  color: #FBBF24;
}

/* ==================== SECTION 3 (NỀN SÁNG): VỀ VTG NEXUS ==================== */
.about-section {
  background: #FFFFFF;
}

.about-bento {
  display: grid;
  grid-template-columns: 0.94fr 1.06fr;
  gap: 32px;
  align-items: stretch;
}

.about-visual-card {
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-md);
  background: linear-gradient(135deg, #090D16 0%, #111827 50%, #1E1B4B 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px;
}

.about-visual-card img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.about-right-stack {
  display: flex;
  flex-direction: column;
  gap: 20px;
  justify-content: space-between;
}

.bento-stat-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.bento-stat-box {
  padding: 22px;
  border-radius: var(--radius-lg);
  background: var(--bg-light);
  border: 1px solid var(--border-light);
  transition: var(--transition);
}

.bento-stat-box:hover {
  border-color: rgba(220, 38, 38, 0.3);
  background: #FFFFFF;
  box-shadow: var(--shadow-sm);
}

.bento-stat-box strong {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.15;
  margin-bottom: 4px;
}

.bento-stat-box span {
  font-size: 0.83rem;
  font-weight: 700;
  color: var(--text-dark);
  white-space: nowrap;
}

.philosophy-card {
  padding: 24px 20px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, #0F172A 0%, #1E293B 100%);
  color: #FFFFFF;
}

.philosophy-card h3 {
  font-size: 1.08rem;
  margin-bottom: 14px;
  color: #FBBF24;
}

.philosophy-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.phi-step {
  padding: 12px 10px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.phi-step span {
  display: block;
  font-size: 0.72rem;
  font-weight: 800;
  color: #F59E0B;
  margin-bottom: 4px;
}

.phi-step strong {
  font-size: 0.8rem;
  line-height: 1.35;
  display: block;
  white-space: nowrap;
}

.legal-pills-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.legal-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 12px;
  background: var(--bg-light);
  border: 1px solid var(--border-light);
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--text-dark);
}

/* ==================== SECTION 4 (NỀN TỐI): 18 SẢN PHẨM 3D & ICON ==================== */
.products-section {
  background: var(--bg-dark-2);
  color: #FFFFFF;
}

.products-section .section-title {
  color: #FFFFFF;
}

.products-section .section-desc {
  color: #94A3B8;
}

.products-section .section-kicker {
  background: rgba(245, 158, 11, 0.16);
  color: #FBBF24;
}

.filter-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 34px;
  padding: 14px 18px;
  border-radius: var(--radius-lg);
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25);
}

.filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  border-radius: 999px;
  font-size: 0.86rem;
  font-weight: 700;
  color: #CBD5E1;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: var(--transition);
}

.filter-btn .count-badge {
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 0.74rem;
  background: rgba(255, 255, 255, 0.12);
  color: #F8FAFC;
}

.filter-btn:hover {
  color: #FFFFFF;
  border-color: rgba(245, 158, 11, 0.45);
}

.filter-btn.active {
  background: var(--gradient-brand);
  color: #FFFFFF;
  border-color: transparent;
  box-shadow: var(--shadow-red);
}

.filter-btn.active .count-badge {
  background: rgba(255, 255, 255, 0.24);
  color: #FFFFFF;
}

.search-box {
  position: relative;
  min-width: 260px;
  flex: 1;
  max-width: 340px;
}

.search-box input {
  width: 100%;
  padding: 10px 16px 10px 40px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
  color: #FFFFFF;
  font-family: inherit;
  font-size: 0.88rem;
  outline: none;
  transition: var(--transition);
}

.search-box input::placeholder {
  color: #94A3B8;
}

.search-box input:focus {
  border-color: var(--brand-amber);
  background: rgba(255, 255, 255, 0.1);
}

.search-box svg {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: #94A3B8;
}

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

.product-card {
  background: #111827;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.1);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.3);
  cursor: pointer;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 44px rgba(0, 0, 0, 0.45);
  border-color: rgba(245, 158, 11, 0.45);
}

.product-thumb-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 800 / 520;
  background: #090D16;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

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

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

.product-axis-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 5px 11px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
  color: #FFFFFF;
  background: rgba(15, 23, 42, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(8px);
}

.product-code-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 800;
  color: #FFFFFF;
  background: rgba(220, 38, 38, 0.92);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
}

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

.product-body h3 {
  font-size: 1.04rem;
  font-weight: 700;
  color: #F8FAFC;
  line-height: 1.42;
  min-height: 2.84em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.prod-tag {
  font-size: 0.74rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  color: #CBD5E1;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.product-card-footer {
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
  font-weight: 700;
  color: #FBBF24;
}

/* ==================== SECTION 5 (NỀN SÁNG): CONTACT SECTION ==================== */
.contact-section {
  background: var(--bg-light);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 32px;
  align-items: stretch;
}

.contact-info-card {
  padding: 30px 28px;
  border-radius: var(--radius-xl);
  background: linear-gradient(145deg, #070B14 0%, #111827 65%, #2A0A10 100%);
  color: #FFFFFF;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.contact-info-card h3 {
  font-size: 1.02rem;
  font-weight: 800;
  line-height: 1.35;
}

.contact-subtext {
  color: #94A3B8;
  font-size: 0.82rem;
  line-height: 1.5;
  margin: 6px 0 22px;
}

.contact-brand-circle-wrap {
  width: 134px;
  height: 134px;
  margin: 0 auto 22px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-brand-circle {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: #FFFFFF;
  border: 3.5px solid #F59E0B;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.38);
}

.contact-brand-circle img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

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

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

.contact-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #F59E0B;
  flex-shrink: 0;
}

.contact-item span {
  display: block;
  font-size: 0.7rem;
  color: #94A3B8;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 700;
  margin-bottom: 2px;
}

.contact-item strong,
.contact-item a {
  font-size: 0.88rem;
  line-height: 1.4;
  font-weight: 700;
  color: #FFFFFF;
}

.contact-form-card {
  padding: 36px;
  border-radius: var(--radius-xl);
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
}

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

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

.form-group label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 12px 16px;
  border-radius: 12px;
  border: 1.5px solid rgba(15, 23, 42, 0.12);
  background: var(--bg-light);
  font-family: inherit;
  font-size: 0.94rem;
  outline: none;
  transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--brand-red);
  background: #FFFFFF;
}

.consent-group {
  margin: 4px 0 16px;
}

.consent-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9rem;
  line-height: 1.5;
  color: #475569;
  cursor: pointer;
  font-weight: 500;
}

.consent-label input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 3px;
  accent-color: var(--brand-red);
  flex-shrink: 0;
  cursor: pointer;
}

.policy-link {
  color: #881337;
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 600;
}

.policy-link:hover {
  color: var(--brand-red);
}

.consent-warning {
  display: none;
  margin-top: 8px;
  padding: 10px 14px;
  border-radius: 10px;
  background: #FEF2F2;
  border: 1px solid #FECACA;
  color: #DC2626;
  font-size: 0.85rem;
  font-weight: 700;
}

.consent-warning.show {
  display: block;
}

.contact-submit-row {
  display: flex;
  justify-content: center;
  margin-top: 10px;
}

.btn-half-width {
  width: 50%;
  min-width: 210px;
  justify-content: center;
}

.form-toast {
  display: none;
  margin-top: 16px;
  padding: 14px 18px;
  border-radius: 12px;
  background: #ECFDF5;
  border: 1px solid #10B981;
  color: #065F46;
  font-weight: 700;
  font-size: 0.9rem;
}

.form-toast.show { display: block; }

/* ==================== FOOTER (THU GỌN 1/3 CHIỀU CAO & NỔI BẬT LOGO MÀU GỐC) ==================== */
.footer {
  background: #04070E;
  color: #94A3B8;
  padding: 28px 0 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
}

.footer-logo-badge {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: 10px;
  background: #FFFFFF;
}

.footer-logo {
  height: 34px;
  width: auto;
}

.footer-slogan {
  font-size: 0.9rem;
  color: #CBD5E1;
  font-weight: 600;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  list-style: none;
}

.footer-links a {
  font-size: 0.9rem;
  font-weight: 600;
  color: #CBD5E1;
  transition: var(--transition);
}

.footer-links a:hover { color: var(--brand-amber); }

.footer-bottom {
  padding-top: 14px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  font-size: 0.82rem;
  gap: 10px;
}

/* ==================== PRODUCT DETAIL MODAL ==================== */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(15, 23, 42, 0.72);
  backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.modal-backdrop.open {
  opacity: 1;
  visibility: visible;
}

.modal-dialog {
  width: 94vw;
  max-width: 1240px;
  min-height: 600px;
  max-height: 92vh;
  background: #FFFFFF;
  border-radius: 26px;
  border: 2px solid rgba(255, 255, 255, 0.95);
  overflow: hidden;
  box-shadow:
    0 0 0 6px rgba(255, 255, 255, 0.16),
    0 32px 90px rgba(0, 0, 0, 0.72),
    0 0 70px rgba(220, 38, 38, 0.24);
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  position: relative;
  transform: scale(0.95);
  transition: var(--transition);
}

.modal-backdrop.open .modal-dialog {
  transform: scale(1);
}

.modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 10;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #F1F5F9;
  color: #0F172A;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.modal-close:hover {
  background: var(--brand-red);
  color: #FFFFFF;
}

.modal-image-pane {
  background: linear-gradient(145deg, #F8FAFC 0%, #EEF2FF 55%, #FFF1F2 100%);
  border-right: 1px solid rgba(15, 23, 42, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px;
}

.modal-image-pane img {
  width: 100%;
  border-radius: 18px;
  border: 2px solid #FFFFFF;
  box-shadow: 0 20px 48px rgba(15, 23, 42, 0.24);
}

.modal-info-pane {
  padding: 32px 34px 28px;
  display: flex;
  flex-direction: column;
  max-height: 90vh;
  overflow: hidden;
}

#modal-title {
  font-size: 1.32rem;
  font-weight: 800;
  line-height: 1.36;
  color: var(--text-dark);
  margin-bottom: 8px;
}

#modal-summary {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.modal-info-pane .prod-tag {
  background: var(--bg-light);
  color: var(--text-muted);
  border: 1px solid var(--border-light);
}

/* Vùng kéo scroll chứa Tính năng + Hiệu quả mang lại */
.modal-scroll-body {
  flex: 1;
  overflow-y: auto;
  padding-right: 10px;
  margin-bottom: 18px;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  padding-top: 16px;
  padding-bottom: 16px;
  max-height: 360px;
}

.modal-scroll-body::-webkit-scrollbar {
  width: 6px;
}

.modal-scroll-body::-webkit-scrollbar-track {
  background: #F1F5F9;
  border-radius: 999px;
}

.modal-scroll-body::-webkit-scrollbar-thumb {
  background: #CBD5E1;
  border-radius: 999px;
}

.modal-scroll-body::-webkit-scrollbar-thumb:hover {
  background: var(--brand-red);
}

.modal-section-block {
  margin-bottom: 18px;
}

.modal-section-block:last-child {
  margin-bottom: 0;
}

.modal-sub-heading {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-dark);
  margin-bottom: 10px;
}

.modal-benefits-block {
  padding: 14px 16px;
  border-radius: 14px;
  background: #F0FDF4;
  border: 1px solid rgba(5, 150, 105, 0.2);
}

.modal-benefits-block .modal-sub-heading {
  color: #065F46;
}

.modal-highlights {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.modal-highlights li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.92rem;
  line-height: 1.58;
  color: var(--text-dark);
  font-weight: 500;
}

.modal-highlights li svg {
  color: var(--brand-red);
  flex-shrink: 0;
  margin-top: 3px;
}

.modal-benefits-list li svg {
  color: #059669;
}

.modal-cta-bar {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: auto;
}

/* ==================== FLOATING GO TOP BUTTON ==================== */
.back-to-top {
  position: fixed;
  right: 28px;
  bottom: 28px;
  z-index: 1500;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--gradient-brand);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 26px rgba(220, 38, 38, 0.36);
  border: 2px solid rgba(255, 255, 255, 0.85);
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px);
  transition: var(--transition);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 32px rgba(220, 38, 38, 0.48);
}

/* ==================== RESPONSIVE (PC, LAPTOP, TABLET & SMARTPHONE) ==================== */

/* 1. Compact Laptop Screens (1081px - 1366px width or short height) */
@media (max-width: 1366px) and (min-width: 1081px) {
  .hero-slideshow .container {
    padding: 0 72px;
  }
  .slide-prev {
    left: 14px;
  }
  .slide-next {
    right: 14px;
  }
  .slide-content-grid {
    gap: 32px;
  }
}

@media (min-width: 1081px) and (max-height: 760px) {
  .hero-slideshow {
    height: auto;
    min-height: 620px;
    max-height: none;
    padding: 88px 0 104px;
  }
  .slides-wrapper {
    height: auto;
  }
  .slide-item {
    position: relative;
    inset: auto;
    display: none;
  }
  .slide-item.active {
    display: flex;
  }
  .slide-content-grid {
    padding-bottom: 16px;
  }
  .slide-visual-showcase {
    margin-top: 8px;
  }
}

@media (max-width: 1240px) {
  .bento-stat-box span,
  .phi-step strong {
    white-space: normal;
  }
}

/* 2. Tablet Devices (<= 1080px) */
@media (max-width: 1080px) {
  .hero-slideshow {
    height: auto;
    min-height: unset;
    max-height: none;
    padding: 96px 0 28px;
  }
  .slides-wrapper {
    height: auto;
  }
  .slide-item {
    position: relative;
    inset: auto;
    display: none;
  }
  .slide-item.active {
    display: block;
  }
  .slide-content-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 28px;
    padding-bottom: 24px;
  }
  .slide-subtitle,
  .hero-metrics-bar {
    margin-left: auto;
    margin-right: auto;
  }
  .slide-cta-row {
    justify-content: center;
  }
  .slide-visual-showcase {
    display: flex;
    max-width: 560px;
    margin: 0 auto;
  }
  .showcase-frame {
    transform: none;
  }
  .slide-thumbs-bar {
    position: relative;
    bottom: auto;
    left: auto;
    transform: none;
    margin: 12px auto 0;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .axes-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .products-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .about-bento,
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .contact-info-card h3,
  .contact-subtext {
    text-align: center;
  }
  .modal-dialog {
    grid-template-columns: 1fr;
    max-height: 92vh;
    overflow-y: auto;
  }
  .modal-image-pane {
    border-right: none;
    border-bottom: 1px solid rgba(15, 23, 42, 0.1);
    padding: 20px;
  }
  .modal-image-pane img {
    max-width: 480px;
  }
  .modal-info-pane {
    max-height: none;
    overflow: visible;
    padding: 24px 22px;
  }
  .modal-scroll-body {
    max-height: none;
    overflow: visible;
  }
}

/* 3. Smartphone Devices (<= 768px) */
@media (max-width: 768px) {
  .container {
    padding: 0 16px;
  }
  section {
    padding: 56px 0;
  }
  .brand-logo {
    height: 38px;
  }
  .nav-menu,
  .nav-actions .btn-primary {
    display: none;
  }
  .mobile-toggle {
    display: block;
  }
  .nav-menu.mobile-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #FFFFFF;
    padding: 16px 20px;
    border-bottom: 1px solid rgba(15, 23, 42, 0.12);
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.1);
  }
  .section-header {
    margin-bottom: 32px;
  }
  .section-title {
    font-size: clamp(1.38rem, 5.2vw, 1.75rem);
  }
  .slide-title {
    font-size: clamp(1.48rem, 5.8vw, 1.8rem);
    line-height: 1.36;
  }
  .hero-metrics-bar {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }
  .hero-metric-chip {
    padding: 10px 8px;
  }
  .hero-metric-chip strong {
    font-size: 1.02rem;
  }
  .hero-metric-chip span {
    font-size: 0.72rem;
  }
  .slide-thumbs-bar {
    grid-template-columns: 1fr 1fr;
    width: calc(100% - 32px);
    gap: 8px;
  }
  .slide-nav-btn {
    display: none;
  }
  .filter-toolbar {
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
  }
  .filter-btn {
    padding: 8px 13px;
    font-size: 0.82rem;
  }
  .search-box {
    max-width: 100%;
    min-width: 0;
  }
  .axes-grid,
  .products-grid,
  .form-grid,
  .philosophy-steps,
  .bento-stat-grid {
    grid-template-columns: 1fr;
  }
  .product-body h3 {
    min-height: unset;
  }
  .contact-info-card,
  .contact-form-card {
    padding: 24px 20px;
  }
  .btn-half-width {
    width: 100%;
  }
  .footer-top,
  .footer-bottom {
    flex-direction: column;
    text-align: center;
    justify-content: center;
  }
  .footer-brand-row,
  .footer-links {
    justify-content: center;
  }
  .back-to-top {
    width: 42px;
    height: 42px;
    right: 16px;
    bottom: 18px;
  }
  .modal-backdrop {
    padding: 12px;
  }
  .modal-dialog {
    width: 100%;
    min-height: unset;
    border-radius: 20px;
  }
  .modal-cta-bar .btn {
    width: 100%;
    justify-content: center;
  }
}

/* 4. Small Smartphones (<= 420px) */
@media (max-width: 420px) {
  .slide-cta-row .btn {
    width: 100%;
    justify-content: center;
  }
  .slide-thumbs-bar {
    grid-template-columns: 1fr;
  }
}
