@charset "UTF-8";
/* ============================================================
   PHUONG NAM IMPORT EQUIPMENT CO., LTD
   Industrial Design System — Factually Accurate Build
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Bebas+Neue&family=Barlow:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400;1,500;1,600;1,700&family=Barlow+Condensed:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500;1,600;1,700&display=swap');

:root {
  --navy: #0A1628;
  --navy-mid: #112240;
  --navy-light: #1B3461;
  --steel: #3A5070;
  --steel-mid: #5B7EA6;
  --steel-light: #8BAABF;
  --accent: #C8960C;
  --accent-lt: #E8B820;
  --accent-contrast: #996F00; /* WCAG AA compliant on light backgrounds */
  --white: #F4F6F9;
  --gray-100: #E8ECF0;
  --gray-200: #CDD5DE;
  --gray-300: #ADBFD0;
  --gray-400: #8EA5B8;  /* improved contrast */
  --gray-600: #5A7080;  /* improved contrast on dark */
  --text-dark: #0D1B2A;
  --text-body: #2D3E50;
  --placeholder-bg: #f0f4f8;
  --placeholder-border: #c8d8e8;
  --placeholder-text: #6b8099;

  --font-display: 'Barlow Condensed', sans-serif;
  --font-cond: 'Barlow Condensed', sans-serif;
  --font-body: 'Inter', 'Barlow', sans-serif;   /* Inter as primary body font */

  --radius-sm: 4px;
  --radius-md: 10px;   /* slightly softer radius */
  --radius-lg: 18px;
  --shadow-card: 0 4px 24px rgba(10, 22, 40, 0.14);
  --shadow-heavy: 0 12px 48px rgba(10, 22, 40, 0.28);
  --shadow-lift: 0 16px 48px rgba(10, 22, 40, 0.18), 0 4px 12px rgba(10, 22, 40, 0.1);
  --ease-out-expo: cubic-bezier(0.25, 0.9, 0.3, 1);
  --ease-out-quart: cubic-bezier(0.25, 0.8, 0.25, 1);
  --ease-smooth: cubic-bezier(0.25, 0.8, 0.25, 1);
  --ease-glide: cubic-bezier(0.4, 0, 0.15, 1);
  --transition: transform 0.46s cubic-bezier(0.25, 0.8, 0.25, 1),
                box-shadow 0.46s cubic-bezier(0.25, 0.8, 0.25, 1),
                border-color 0.36s ease,
                background-color 0.36s ease,
                color 0.28s ease,
                opacity 0.36s ease;
}

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

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: 15.5px;
  line-height: 1.7;
  color: var(--text-body);
  background: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-cond);
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.2;
  color: var(--navy);
}

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

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

p {
  color: var(--text-body);
}

/* ── Top Bar (Contact Strip) ── */
.top-bar {
  background: var(--navy);
  padding: 6px 0;
  font-family: var(--font-body);
  font-size: 13px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.top-contact {
  color: var(--gray-400);
}

.top-contact a {
  color: var(--gray-300);
  text-decoration: none;
  transition: color 0.2s;
}

.top-contact a:hover {
  color: var(--accent);
}

.top-contact i {
  color: var(--accent);
  margin-right: 4px;
  font-size: 11px;
}

/* ── Placeholder blocks ── */
.placeholder-block {
  background: var(--placeholder-bg);
  border: 2px dashed var(--placeholder-border);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  text-align: center;
}

.placeholder-inline {
  display: inline-block;
  background: var(--placeholder-bg);
  border: 1px dashed var(--placeholder-border);
  border-radius: 3px;
  padding: 2px 10px;
  font-size: 13px;
  color: var(--placeholder-text);
  font-style: italic;
}

/* ── Customer Logo Images ── */
.customer-logo-wrap {
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px 8px;
}

.customer-logo-img {
  max-width: 100%;
  max-height: 72px;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  margin: 0 auto;
  filter: grayscale(20%);
  transition: filter 0.3s ease, transform 0.3s ease;
}

.customer-logo-img:hover {
  filter: grayscale(0%);
  transform: scale(1.05);
}

/* ── Product Images ── */
.product-img-wrap {
  height: 280px;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--navy-mid);
  position: relative;
}

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

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

/* ── Spare Parts Diagram Image Wrapper ── */
.spareparts-img-wrap {
  width: 100%;
  background: #ffffff;
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-md);
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(10, 22, 40, 0.04);
  transition: var(--transition);
}

.spareparts-img-wrap:hover {
  box-shadow: 0 8px 25px rgba(10, 22, 40, 0.08);
}

.spareparts-img {
  max-width: 100%;
  height: auto;
  max-height: 600px;
  object-fit: contain;
  display: block;
  transition: transform 0.4s ease;
}

.spareparts-img-wrap:hover .spareparts-img {
  transform: scale(1.02);
}

/* ── Hero Product Showcase (right column) ── */
.hero-product-showcase {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(200, 150, 12, 0.3);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.5);
  animation: fadeInUp 0.8s ease 0.6s both;
}

.hero-product-img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  display: block;
  filter: brightness(0.9) contrast(1.08);
  transition: transform 0.5s ease;
}

.hero-product-showcase:hover .hero-product-img {
  transform: scale(1.03);
}

.hero-product-tag {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 3;
  background: rgba(10, 22, 40, 0.85);
  border: 1px solid rgba(200, 150, 12, 0.4);
  color: var(--accent);
  font-family: var(--font-cond);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 3px;
  display: flex;
  align-items: center;
  gap: 7px;
  backdrop-filter: blur(4px);
}

.hero-product-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(10, 22, 40, 0.92) 0%, transparent 100%);
  padding: 28px 20px 18px;
  z-index: 3;
}

/* ── Customer Logo Wrapper (Homepage customers section) ── */
.customer-logo-wrapper {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-md);
  padding: 16px 12px 12px;
  text-align: center;
  transition: var(--transition);
  box-shadow: 0 2px 8px rgba(10, 22, 40, 0.04);
}

.customer-logo-wrapper:hover {
  border-color: var(--accent);
  box-shadow: 0 6px 20px rgba(10, 22, 40, 0.1);
  transform: translateY(-3px);
}

.customer-logo-label {
  font-family: var(--font-cond);
  font-size: 11px;
  color: var(--gray-600);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-top: 8px;
  line-height: 1.3;
}

/* ── About Page Company Photo ── */
.about-company-photo-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-heavy);
}

.about-company-photo {
  width: 100%;
  height: 280px;
  object-fit: cover;
  object-position: center;
  display: block;
}

.about-company-photo-badge {
  position: absolute;
  bottom: 16px;
  left: 16px;
  background: rgba(10, 22, 40, 0.88);
  border: 1px solid rgba(200, 150, 12, 0.35);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--accent);
  backdrop-filter: blur(6px);
}

/* ── Utility ── */
.text-accent {
  color: var(--accent) !important;
}

.bg-navy {
  background: var(--navy) !important;
}

.font-display {
  font-family: var(--font-display);
}

.font-cond {
  font-family: var(--font-cond);
}

.section-padding {
  padding: 96px 0;
}

.section-sm {
  padding: 64px 0;
}

.section-label {
  font-family: var(--font-cond);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.section-label::before {
  content: '';
  display: inline-block;
  width: 32px;
  height: 2px;
  background: var(--accent);
  flex-shrink: 0;
}

.section-title {
  font-family: var(--font-cond);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 20px;
}

.section-title.white {
  color: var(--white);
}

.section-subtitle {
  font-size: 17px;
  color: var(--gray-600);
  max-width: 640px;
  line-height: 1.7;
}

.section-subtitle.white {
  color: var(--gray-200);
}

/* ── Buttons ── */
.btn-primary-gold {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  gap: 8px;
  background: var(--accent);
  color: var(--navy);
  font-family: var(--font-cond);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 13px 32px;
  border: 2px solid transparent;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

/* Shine sweep effect (GPU-accelerated via transform) */
.btn-primary-gold::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 60%;
  height: 100%;
  background: linear-gradient(120deg, transparent 0%, rgba(255,255,255,0.35) 50%, transparent 100%);
  transform: translate3d(-170%, 0, 0);
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
  pointer-events: none;
}

.btn-primary-gold:hover::before {
  transform: translate3d(260%, 0, 0);
}

.btn-primary-gold:hover {
  background: var(--accent-lt);
  color: var(--navy);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(200, 150, 12, 0.45), 0 0 0 3px rgba(200, 150, 12, 0.15);
}

.btn-outline-white {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  gap: 8px;
  background: transparent;
  color: var(--white);
  font-family: var(--font-cond);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 13px 32px;
  border: 2px solid rgba(244, 246, 249, 0.5);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
}

.btn-outline-white:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--white);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.btn-outline-navy {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  gap: 8px;
  background: transparent;
  color: var(--navy);
  font-family: var(--font-cond);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 13px 32px;
  border: 2px solid var(--navy);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
}

.btn-outline-navy:hover {
  background: var(--navy);
  color: var(--white);
}

.btn-outline-zalo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  gap: 8px;
  background: transparent;
  color: #0068FF;
  font-family: var(--font-cond);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 13px 32px;
  border: 2px solid #0068FF;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
}

.btn-outline-zalo:hover {
  background: #0068FF;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 104, 255, 0.25);
}

/* ── Top Bar (hidden, kept for legacy) ── */
.top-bar {
  display: none !important;
}

.top-contact {
  font-family: var(--font-cond);
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--gray-600);
}

.top-contact a {
  color: var(--gray-600);
}

.top-contact a:hover {
  color: var(--accent);
}

/* ── Navbar — Glassmorphism Scrolled Style ── */
#mainNav {
  background: rgba(255, 255, 255, 0.96) !important;
  padding: 0;
  border-bottom: 1px solid rgba(10, 22, 40, 0.06);
  box-shadow: 0 2px 16px rgba(10, 22, 40, 0.05);
  transition: background-color 0.35s cubic-bezier(0.22, 1, 0.36, 1),
              box-shadow 0.35s cubic-bezier(0.22, 1, 0.36, 1),
              border-color 0.35s ease;
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
}

#mainNav.scrolled {
  background: rgba(255, 255, 255, 0.88) !important;
  box-shadow: 0 8px 32px rgba(10, 22, 40, 0.08);
  border-bottom: 1px solid rgba(200, 150, 12, 0.22);
}

.navbar-brand {
  display: flex;
  flex-direction: column;
  padding: 12px 0;
  transition: transform 0.3s ease;
}

.navbar-brand img {
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
}

.navbar-brand:hover img {
  transform: scale(1.08);
  box-shadow: 0 0 14px rgba(200, 150, 12, 0.45);
}

.brand-name {
  font-family: var(--font-cond);
  font-size: 18px;
  font-weight: 700;
  color: var(--navy) !important;
  line-height: 1;
  letter-spacing: 0.06em;
  transition: color 0.25s ease;
}

.navbar-brand:hover .brand-name {
  color: var(--accent-contrast) !important;
}

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

.nav-link {
  font-family: var(--font-cond) !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  color: var(--text-body) !important;
  padding: 26px 16px !important;
  position: relative;
  transition: var(--transition) !important;
  cursor: pointer;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 16px;
  right: 16px;
  height: 2.5px;
  background: linear-gradient(90deg, var(--accent), var(--accent-lt));
  border-radius: 2px 2px 0 0;
  transform: scaleX(0);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-link:hover,
.nav-link.active {
  color: var(--navy) !important;
}

.nav-link:hover::after,
.nav-link.active::after {
  transform: scaleX(1);
}

.navbar-toggler {
  border-color: rgba(10, 22, 40, 0.2) !important;
  padding: 6px 10px;
  cursor: pointer;
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2810,22,40,0.7%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

.nav-cta,
.nav-cta.active {
  margin-left: 8px;
  padding: 8px 22px !important;
  background: var(--navy) !important;
  color: #fff !important;
  border-radius: var(--radius-sm) !important;
  font-weight: 700 !important;
  letter-spacing: 0.06em !important;
}

.nav-cta::after,
.nav-cta.active::after {
  display: none !important;
}

.nav-cta:hover,
.nav-cta.active:hover {
  background: var(--accent) !important;
  color: var(--navy) !important;
}

/* ── 108.supply-style Parallax Hero Slideshow ── */
.section.hero {
  position: relative;
  width: 100%;
  height: calc(100vh - 76px);
  min-height: 540px;
  max-height: 860px;
  overflow: hidden;
  background: var(--navy);
  user-select: none;
}

.img-slider,
.img-slider__list {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.img-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
  visibility: hidden;
  pointer-events: none;
  will-change: transform;
  backface-visibility: hidden;
}

.img-slide.is--current,
.img-slide.is--animating {
  visibility: visible;
}

.img-slide.is--current {
  z-index: 2;
  pointer-events: auto;
}

.img-slide.is--animating {
  z-index: 3;
}

.img-slide__inner {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  will-change: transform;
  backface-visibility: hidden;
}

.slide-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
  filter: brightness(0.72) contrast(1.08);
}

.slide-overlay,
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg,
      rgba(10, 22, 40, 0.88) 0%,
      rgba(10, 22, 40, 0.58) 45%,
      rgba(10, 22, 40, 0.25) 100%);
  pointer-events: none;
  z-index: 1;
}

.hero-overlay {
  z-index: 4;
}

.hero-content {
  position: relative;
  z-index: 5;
  height: 100%;
  display: flex;
  align-items: center;
  padding-bottom: 56px;
  pointer-events: none;
}

.hero-content .hero-slide-inner {
  pointer-events: auto;
  max-width: 720px;
}

.hero-content .hero-slide-eyebrow,
.hero-content .hero-slide-desc,
.hero-content .hero-slide-actions {
  opacity: 1;
  transform: none;
}

.heading-h1 {
  font-family: var(--font-cond);
  font-size: clamp(2.6rem, 5.2vw, 4.6rem);
  font-weight: 700;
  line-height: 1.05;
  color: var(--white);
  text-transform: uppercase;
  margin-bottom: 20px;
  letter-spacing: 0.02em;
}

.caption-mask {
  display: block;
  min-height: 1.12em;
  overflow: clip;
  overflow-clip-margin: 0.2em;
}

.caption-mask--sub {
  font-size: clamp(1.6rem, 3.2vw, 2.75rem);
  min-height: 1.2em;
}

.caption-line {
  display: inline-block;
  will-change: contents, transform;
}

.caption-line--sub {
  color: var(--accent);
  font-size: clamp(1.6rem, 3.2vw, 2.75rem);
  text-shadow: 0 0 30px rgba(200, 150, 12, 0.35);
}

/* GSAP Hero Texting / Typewriter Caret */
.caption-line.is-typing::after,
.hero-slide-eyebrow.is-typing::after {
  content: '';
  display: inline-block;
  width: 3px;
  height: 0.84em;
  margin-left: 6px;
  vertical-align: -0.07em;
  border-radius: 1px;
  background: var(--accent-lt);
  box-shadow: 0 0 12px rgba(232, 184, 32, 0.65);
  animation: pn-caret-blink 0.85s steps(1, end) infinite;
}

.hero-slide-eyebrow.is-typing::after {
  width: 2px;
  height: 0.95em;
  margin-left: 4px;
}

.caption-line.is-typing-active::after,
.hero-slide-eyebrow.is-typing-active::after {
  animation: none;
  opacity: 1;
}

@keyframes pn-caret-blink {
  0%, 49% { opacity: 1; }
  50%, 100% { opacity: 0; }
}

/* Thumbnail Navigation with Progress Bar */
.img-slider__nav {
  position: absolute;
  bottom: 64px;
  right: max(24px, calc((100% - 1296px) / 2));
  z-index: 12;
  display: flex;
  align-items: center;
  gap: 10px;
}

@media (max-width: 1399.98px) {
  .img-slider__nav {
    right: max(24px, calc((100% - 1116px) / 2));
  }
}

@media (max-width: 1199.98px) {
  .img-slider__nav {
    right: max(24px, calc((100% - 936px) / 2));
  }
}

@media (max-width: 991.98px) {
  .img-slider__nav {
    right: 24px;
  }
}

@media (max-width: 768px) {
  .section.hero {
    height: 82vh;
    min-height: 500px;
  }
  .img-slider__nav {
    bottom: 60px;
    right: 16px;
    gap: 8px;
  }
  .img-slider__thumb {
    width: 54px;
    height: 38px;
  }
}

.img-slider__thumb {
  position: relative;
  width: 72px;
  height: 48px;
  border-radius: 6px;
  overflow: hidden;
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  padding: 0;
  background: var(--navy);
  cursor: pointer;
  opacity: 0.6;
  transition: opacity 0.35s ease,
              border-color 0.35s ease,
              transform 0.38s cubic-bezier(0.25, 0.8, 0.25, 1),
              box-shadow 0.35s ease;
}

.img-slider__thumb:hover {
  opacity: 0.92;
  transform: translate3d(0, -2px, 0);
}

.img-slider__thumb.is--current {
  opacity: 1;
  border-color: var(--accent-lt);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.45);
}

.slider-thumb__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.thumb-progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: var(--accent-lt);
  transform-origin: left center;
  transform: scale(0, 1);
  will-change: transform;
}

.hero-slide-eyebrow {
  font-family: var(--font-cond);
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-lt);
  margin-bottom: 16px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.hero-slide-eyebrow::before {
  content: '';
  display: inline-block;
  width: 20px;
  height: 2px;
  background: var(--accent-lt);
}

.hero-slide-title {
  font-family: var(--font-cond);
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 700;
  line-height: 1.1;
  color: var(--white);
  text-transform: uppercase;
  margin-bottom: 20px;
  letter-spacing: 0.02em;
}

.hero-slide-title span {
  color: var(--accent);
  text-shadow: 0 0 30px rgba(200, 150, 12, 0.35);
}

.hero-slide-desc {
  font-size: 18px;
  color: var(--gray-200);
  margin-bottom: 36px;
  max-width: 580px;
  line-height: 1.65;
  min-height: calc(1.65em * 2);
}

.hero-slide-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-nav {
  position: absolute;
  bottom: 64px;
  right: max(24px, calc((100% - 1296px) / 2));
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 16px;
}

@media (max-width: 1399.98px) {
  .hero-nav {
    right: max(24px, calc((100% - 1116px) / 2));
  }
}

@media (max-width: 1199.98px) {
  .hero-nav {
    right: max(24px, calc((100% - 936px) / 2));
  }
}

@media (max-width: 991.98px) {
  .hero-nav {
    right: 24px;
  }
}

.hero-dots {
  display: flex;
  align-items: center;
  gap: 10px;
}

.hero-dot {
  width: 10px;
  height: 10px;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.2);
  cursor: pointer;
  padding: 0;
  transition: width 0.5s cubic-bezier(0.22, 1, 0.36, 1),
              background-color 0.35s ease,
              border-color 0.35s ease,
              box-shadow 0.35s ease;
}

.hero-dot:hover {
  background-color: rgba(255, 255, 255, 0.65);
}

.hero-dot.active {
  width: 34px;
  background: var(--accent);
  border-color: var(--accent-lt);
  box-shadow: 0 0 16px rgba(200, 150, 12, 0.65);
}

.hero-arrow {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(10, 22, 40, 0.65);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--white);
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              background-color 0.3s ease,
              color 0.3s ease,
              border-color 0.3s ease,
              box-shadow 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.hero-arrow:active {
  transform: scale(0.94) !important;
}

.hero-arrow:hover {
  background: var(--accent);
  color: var(--navy);
  border-color: var(--accent);
  box-shadow: 0 6px 20px rgba(200, 150, 12, 0.4);
  transform: translateY(-2px) scale(1.05);
}

/* Hero Bottom Strip */
.hero-strip {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 10;
  background: rgba(8, 18, 34, 0.72);
  border-top: 1px solid rgba(200, 150, 12, 0.18);
  backdrop-filter: blur(8px);
  padding: 11px 0;
}

.hero-strip-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-strip-item {
  font-family: var(--font-cond);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.hero-strip-dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: rgba(200, 150, 12, 0.5);
  flex-shrink: 0;
}

/* ── Feature Strip (MAINA 4-column) ── */
.feature-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  width: 100%;
  background: var(--navy);
}

.feature-strip-item {
  position: relative;
  height: 240px;
  overflow: hidden;
  display: block;
}

.feature-strip-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.25, 0.8, 0.25, 1), filter 0.6s ease;
  filter: brightness(0.65) contrast(1.1);
}

.feature-strip-item:hover img {
  transform: scale(1.05);
  filter: brightness(0.75) contrast(1.1);
}

.feature-strip-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 22, 40, 0.9) 0%, rgba(10, 22, 40, 0.2) 100%);
  z-index: 1;
}

.feature-strip-text {
  position: absolute;
  bottom: 24px;
  left: 24px;
  right: 24px;
  z-index: 2;
  transition: transform 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.feature-strip-item:hover .feature-strip-text {
  transform: translate3d(0, -4px, 0);
}

.feature-strip-label {
  font-family: var(--font-cond);
  font-size: 11px;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 6px;
}

.feature-strip-title {
  font-family: var(--font-cond);
  font-size: 18px;
  font-weight: 700;
  color: var(--white);
  text-transform: uppercase;
  line-height: 1.25;
  margin-bottom: 12px;
}

.feature-strip-link {
  font-family: var(--font-cond);
  font-size: 12px;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
  opacity: 0.7;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition);
}

.feature-strip-item:hover .feature-strip-link {
  opacity: 1;
  color: var(--accent);
}

/* ── Business Areas (Overview Cards) ── */
.overview-card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-md);
  padding: 36px 28px;
  transition: var(--transition);
  box-shadow: 0 4px 15px rgba(10, 22, 40, 0.03);
  position: relative;
  overflow: hidden;
}

.overview-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent-lt));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.overview-card:hover {
  transform: translate3d(0, -5px, 0);
  border-color: rgba(200, 150, 12, 0.3);
  box-shadow: var(--shadow-lift);
}

.overview-card:hover::after {
  transform: scaleX(1);
}

.overview-icon {
  font-family: var(--font-cond);
  font-weight: 700;
  font-size: 38px;
  line-height: 1;
  color: var(--accent);
  margin-bottom: 20px;
}

.overview-card h5 {
  margin-bottom: 12px;
}

/* ── Why Choose Us ── */
.why-section {
  background: var(--navy);
  padding: 96px 0;
}

.why-item {
  display: flex;
  gap: 20px;
  margin-bottom: 28px;
}

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

.why-bullet {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
  margin-top: 8px;
  flex-shrink: 0;
}

.why-content h5 {
  color: var(--white);
  margin-bottom: 6px;
}

.why-content p {
  color: var(--gray-400);
  font-size: 15px;
}

/* ── Products Section — MAINA Grid ── */
.products-section {
  padding: 96px 0;
  background: var(--navy-mid);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid rgba(10, 22, 40, 0.08);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(10, 22, 40, 0.1);
}

.product-grid-item,
.product-grid-cta {
  position: relative;
  height: 380px;
  display: flex;
  align-items: flex-end;
  padding: 32px 24px;
  overflow: hidden;
  text-decoration: none;
}

.product-grid-item img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1), filter 0.8s ease;
  filter: brightness(0.4) contrast(1.1);
}

.product-grid-item:hover img {
  transform: scale(1.08);
  filter: brightness(0.55) contrast(1.15);
}

.product-grid-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 22, 40, 0.95) 0%, rgba(10, 22, 40, 0.3) 100%);
  z-index: 1;
  transition: opacity 0.5s ease;
}

.product-grid-item:hover .product-grid-overlay {
  background: linear-gradient(to top, rgba(10, 22, 40, 0.98) 0%, rgba(10, 22, 40, 0.4) 100%);
}

.product-grid-text {
  position: relative;
  z-index: 2;
  width: 100%;
  transition: transform 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.product-grid-item:hover .product-grid-text {
  transform: translate3d(0, -4px, 0);
}

.product-grid-cat {
  font-family: var(--font-cond);
  font-size: 10px;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  display: block;
  margin-bottom: 4px;
}

.product-grid-name {
  font-family: var(--font-cond);
  font-size: 20px;
  font-weight: 700;
  color: var(--white);
  text-transform: uppercase;
  margin-bottom: 12px;
  line-height: 1.2;
}

.product-grid-desc {
  font-size: 13px;
  color: var(--gray-400);
  margin-bottom: 0;
  line-height: 1.5;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transform: translate3d(0, 6px, 0);
  transition: max-height 0.52s cubic-bezier(0.25, 0.8, 0.25, 1),
              opacity 0.42s cubic-bezier(0.25, 0.8, 0.25, 1),
              transform 0.48s cubic-bezier(0.25, 0.8, 0.25, 1),
              margin-bottom 0.48s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.product-grid-item:hover .product-grid-desc {
  max-height: 56px;
  opacity: 1;
  transform: translate3d(0, 0, 0);
  margin-bottom: 14px;
}

.product-grid-link {
  font-family: var(--font-cond);
  font-size: 12px;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
}

.product-grid-link .ic {
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.product-grid-item:hover .product-grid-link .ic {
  transform: translate3d(6px, 0, 0);
}

.product-grid-cta {
  background: var(--navy);
  border-left: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 32px 28px;
}

.product-grid-cta i {
  font-size: 40px;
  color: var(--accent);
  margin-bottom: 18px;
}

.product-grid-cta h5 {
  color: var(--white);
  text-transform: uppercase;
  margin-bottom: 10px;
}

.product-grid-cta p {
  color: var(--gray-400);
  font-size: 13px;
  margin-bottom: 20px;
  line-height: 1.6;
}

/* ── Partner Section ── */
.partner-section {
  background: var(--navy-mid);
  padding: 96px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.partner-logo-block {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 32px;
  text-align: center;
}

.partner-logo-text {
  font-family: var(--font-cond);
  font-size: 32px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.1em;
}

.partner-logo-sub {
  font-size: 12px;
  color: var(--gray-400);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 2px;
}

.partner-logo-since {
  font-size: 12px;
  color: var(--accent);
  margin-top: 6px;
}

.cert-badge {
  background: rgba(200, 150, 12, 0.1);
  border: 1px solid rgba(200, 150, 12, 0.3);
  color: var(--accent);
  font-size: 11px;
  font-family: var(--font-cond);
  padding: 4px 10px;
  border-radius: 2px;
  text-transform: uppercase;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* ── Customers Section ── */
.customers-section {
  padding: 96px 0;
  background: var(--white);
}

/* ── Footer ── */
footer {
  background: var(--navy);
  color: var(--gray-400);
  padding: 80px 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

footer h6 {
  color: var(--white);
  text-transform: uppercase;
  font-size: 14px;
  letter-spacing: 0.1em;
  margin-bottom: 24px;
}

.footer-brand {
  margin-bottom: 20px;
}

.footer-brand-name {
  font-family: var(--font-cond);
  font-size: 22px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.08em;
}

.footer-brand-sub {
  font-size: 11px;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.footer-desc {
  font-size: 14px;
  line-height: 1.6;
}

.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: var(--gray-400);
  font-size: 14px;
}

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

.footer-contact-item {
  display: flex;
  gap: 12px;
  margin-bottom: 14px;
  font-size: 14px;
}

.footer-contact-icon {
  color: var(--accent);
  flex-shrink: 0;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 24px 0;
  margin-top: 60px;
  font-size: 12px;
}

.footer-bottom p {
  color: var(--gray-600);
  margin: 0;
}

/* ── Products page sticky nav ── */
.product-subnav {
  background: var(--navy-mid);
  border-bottom: 1px solid rgba(91, 126, 166, 0.2);
  position: sticky;
  top: 64px;
  z-index: 100;
}

.product-subnav a {
  font-family: var(--font-cond);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gray-400);
  padding: 16px 20px;
  white-space: nowrap;
  border-bottom: 3px solid transparent;
  transition: color 0.3s ease, border-color 0.3s ease;
  display: block;
  text-decoration: none;
}

.product-subnav a:hover {
  color: var(--white);
  border-bottom-color: var(--accent);
}

/* ── Divider ── */
.gold-divider {
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent-lt));
  margin: 0 auto 24px;
}

.gold-divider.left {
  margin-left: 0;
}

/* ── Specs Table ── */
.specs-table {
  width: 100%;
  border-collapse: collapse;
}

.specs-table th {
  background: var(--navy);
  color: var(--white);
  font-family: var(--font-cond);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 14px 20px;
  text-align: left;
}

.specs-table td {
  padding: 12px 20px;
  font-size: 14px;
  color: var(--text-body);
  border-bottom: 1px solid var(--gray-100);
}

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

/* ── Product Details Layout (products.html) ── */
.product-gallery-wrap {
  width: 100%;
}

.product-main-img-wrap {
  height: 400px;
  overflow: hidden;
  border-radius: var(--radius-md);
  background: #fff;
  border: 1px solid var(--gray-100);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.product-main-img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: opacity 0.24s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.32s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}

.product-main-img.img-switching {
  opacity: 0;
  transform: scale(0.975);
}

.thumb-wrap {
  cursor: pointer;
  border: 2px solid transparent;
  border-radius: var(--radius-sm);
  overflow: hidden;
  height: 70px;
  background: #fff;
  border: 1px solid var(--gray-100);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5px;
  transition: var(--transition);
}

.thumb-wrap.active {
  border-color: var(--accent);
  box-shadow: 0 0 10px rgba(200, 150, 12, 0.3);
}

.thumb-wrap img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.specs-box {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-md);
  padding: 24px;
}

.specs-box-title {
  font-family: var(--font-cond);
  font-size: 14px;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 12px;
}

.product-details-desc {
  font-size: 16px;
  color: var(--gray-600);
  line-height: 1.8;
  margin-bottom: 24px;
}

.features-title {
  font-family: var(--font-cond);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--navy);
  margin-bottom: 14px;
}

.features-list {
  list-style: none;
  padding: 0;
}

.features-list li {
  display: flex;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid var(--gray-100);
  font-size: 15px;
}

.features-list li:last-child {
  border-bottom: none;
}

.features-list .bullet {
  color: var(--accent);
  font-weight: 700;
}

.app-alert {
  background: var(--gray-100);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
}

.app-alert .label {
  font-family: var(--font-cond);
  font-size: 13px;
  color: var(--navy);
  font-weight: 600;
  margin-right: 6px;
}

.app-alert .text {
  font-size: 14px;
  color: var(--gray-600);
}

.product-actions {
  display: flex;
  gap: 16px;
}

/* ── Timeline Section ── */
.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 0;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  background: var(--gray-200);
  transform: translateX(-50%);
}

.timeline-item {
  position: relative;
  width: 50%;
  padding: 20px 40px;
  box-sizing: border-box;
}

.timeline-item:nth-child(odd) {
  left: 0;
  text-align: right;
}

.timeline-item:nth-child(even) {
  left: 50%;
  text-align: left;
}

.timeline-dot {
  position: absolute;
  top: 25px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--accent);
  border: 4px solid var(--white);
  z-index: 1;
}

.timeline-item:nth-child(odd) .timeline-dot {
  right: -8px;
}

.timeline-item:nth-child(even) .timeline-dot {
  left: -8px;
}

.timeline-content {
  background: var(--white);
  border: 1px solid var(--gray-100);
  padding: 20px;
  border-radius: var(--radius-md);
  box-shadow: 0 4px 15px rgba(10, 22, 40, 0.03);
}

.timeline-date {
  font-family: var(--font-cond);
  font-size: 18px;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 4px;
}

.timeline-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}

.timeline-desc {
  font-size: 14px;
  color: var(--gray-600);
  margin: 0;
}

/* ── Media Queries ── */
@media (max-width: 1199px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .product-grid-item {
    height: 300px;
  }
}

@media (max-width: 991px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .product-grid-item {
    height: 280px;
  }

  .feature-strip {
    grid-template-columns: repeat(2, 1fr);
  }

  .feature-strip-item {
    height: 200px;
  }

  .navbar-collapse {
    background: #fff;
    border-top: 1px solid rgba(10, 22, 40, 0.08);
    padding: 8px 0 16px;
  }

  .nav-link {
    padding: 12px 20px !important;
  }

  .nav-link::after {
    display: none;
  }

  .nav-cta {
    margin: 8px 20px 0;
    display: inline-flex;
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .hero-slider {
    height: 80vh;
    min-height: 480px;
  }

  .hero-slide-content {
    padding-bottom: 70px;
  }

  .hero-slide-title {
    font-size: clamp(2rem, 8vw, 3.5rem);
  }

  .hero-slide-desc {
    font-size: 15px;
    margin-bottom: 24px;
  }

  .hero-nav {
    right: 16px;
    bottom: 80px;
  }

  .section-padding {
    padding: 64px 0;
  }

  .timeline::before {
    left: 20px;
  }

  .timeline-item {
    width: 100%;
    padding-left: 55px;
    padding-right: 0;
    text-align: left !important;
  }

  .timeline-item:nth-child(even) {
    left: 0;
  }

  .timeline-dot {
    left: 12px !important;
    right: auto !important;
  }
}

@media (max-width: 576px) {
  .product-grid {
    grid-template-columns: 1fr;
  }

  .product-grid-item {
    height: 240px;
  }

  .feature-strip {
    grid-template-columns: 1fr;
  }

  .hero-slide-actions {
    flex-direction: column;
    gap: 10px;
  }

  .hero-slide-actions>* {
    width: 100%;
    justify-content: center;
  }
}

/* ── Contact Page Styles ── */
.contact-info-card {
  background: var(--navy);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 48px 40px;
  box-shadow: var(--shadow-heavy);
  height: 100%;
}

.contact-info-card h3 {
  color: var(--white);
  font-family: var(--font-cond);
  text-transform: uppercase;
  font-size: 24px;
  margin-bottom: 32px;
}

.contact-item {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
}

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

.contact-item-icon {
  font-size: 20px;
  color: var(--accent);
  margin-top: 4px;
  flex-shrink: 0;
}

.contact-item-text label {
  font-family: var(--font-cond);
  font-size: 11px;
  text-transform: uppercase;
  color: var(--gray-400);
  letter-spacing: 0.08em;
  display: block;
  margin-bottom: 2px;
}

.contact-item-text p {
  color: var(--white);
  font-size: 15px;
  margin: 0;
}

.contact-item-text a {
  color: var(--accent);
  font-size: 15px;
  font-weight: 600;
}

.contact-form-card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  padding: 48px 40px;
  box-shadow: var(--shadow-card);
}

.contact-form-card h3 {
  font-family: var(--font-cond);
  text-transform: uppercase;
  font-size: 24px;
  margin-bottom: 8px;
}

.form-label {
  font-family: var(--font-cond);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--navy);
  margin-bottom: 6px;
  display: block;
}

/* ── Form controls - enhanced focus ── */
.form-control,
.form-select {
  background: var(--white);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  font-size: 14px;
  font-family: var(--font-body);
  color: var(--navy);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  outline: none;
}

.form-control:focus,
.form-select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(200, 150, 12, 0.18);
  background: #fffdf5;
  outline: none;
}

/* Real-time validation states */
.form-control.is-valid {
  border-color: #28a745;
  box-shadow: 0 0 0 3px rgba(40, 167, 69, 0.12);
  background: #f8fff9;
}

.form-control.is-invalid {
  border-color: #dc3545;
  box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.12);
  background: #fff8f8;
}

.form-control.is-valid,
.form-control.is-invalid {
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 18px;
  padding-right: 40px;
}

/* Custom valid/invalid icons */
.form-control.is-valid {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%2328a745' d='M2.3 6.73.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/%3e%3c/svg%3e");
}

.form-control.is-invalid {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3e%3ccircle cx='6' cy='6' r='4.5' fill='none' stroke='%23dc3545' stroke-width='1.5'/%3e%3cpath fill='%23dc3545' d='M5.8 3.6h.4l-.2 3.4zm.2 4.8a.5.5 0 1 1 0-1 .5.5 0 0 1 0 1z'/%3e%3c/svg%3e");
}

.invalid-feedback {
  font-size: 12px;
  font-family: var(--font-body);
  margin-top: 4px;
  display: none;
}

.form-control.is-invalid ~ .invalid-feedback,
.form-select.is-invalid ~ .invalid-feedback {
  display: block;
  color: #dc3545;
}

/* ── Page Hero (inner pages) ── */
.page-hero {
  background: var(--navy);
  padding: 72px 0 60px;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 70% 50%, rgba(200, 150, 12, 0.08) 0%, transparent 60%),
    linear-gradient(135deg, rgba(27, 52, 97, 0.6) 0%, transparent 100%);
  pointer-events: none;
}

.page-hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent), var(--accent-lt), transparent);
}

.page-hero-content {
  position: relative;
  z-index: 1;
}

.page-hero h1 {
  font-family: var(--font-cond);
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 700;
  color: var(--white);
  text-transform: uppercase;
  line-height: 1.1;
  margin-bottom: 0;
  letter-spacing: 0.03em;
}

/* Breadcrumb styling */
.breadcrumb {
  background: transparent;
  padding: 0;
  margin-bottom: 8px;
}

.breadcrumb-item a {
  color: var(--gray-400);
  font-family: var(--font-cond);
  font-size: 13px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.breadcrumb-item a:hover {
  color: var(--accent);
}

.breadcrumb-item.active {
  color: var(--accent);
  font-family: var(--font-cond);
  font-size: 13px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.breadcrumb-item+.breadcrumb-item::before {
  color: var(--gray-600);
}

/* ── Fade-in-up scroll animation ── */
.fade-in-up {
  opacity: 0;
  transform: translate3d(0, 26px, 0);
  transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
  backface-visibility: hidden;
}

.fade-in-up.visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

/* ── @keyframes for misc animations ── */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ── Document Cards (documents.html) ── */
.doc-card {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  transition: var(--transition);
  box-shadow: 0 2px 8px rgba(10, 22, 40, 0.04);
}

.doc-card:hover {
  border-color: var(--accent);
  box-shadow: 0 6px 20px rgba(10, 22, 40, 0.08);
  transform: translateY(-2px);
}

.doc-icon {
  font-size: 28px;
  color: var(--navy);
  flex-shrink: 0;
  width: 48px;
  text-align: center;
}

.doc-info {
  flex: 1;
  min-width: 0;
}

.doc-info h6 {
  font-family: var(--font-cond);
  font-size: 16px;
  color: var(--navy);
  margin-bottom: 4px;
  font-weight: 700;
  text-transform: uppercase;
}

.doc-info span {
  font-size: 13px;
  color: var(--gray-400);
  line-height: 1.4;
}

.doc-download {
  flex-shrink: 0;
}

/* ── Filter Buttons (documents.html) ── */
.filter-btn {
  font-family: var(--font-cond);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gray-600);
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  padding: 8px 18px;
  cursor: pointer;
  transition: var(--transition);
}

.filter-btn:hover {
  border-color: var(--navy);
  color: var(--navy);
}

.filter-btn.active {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
}

/* ── Services Page ── */
/* ── Service Cards (Services Page) ── */
.service-card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-md);
  padding: 36px 28px;
  transition: var(--transition);
  box-shadow: 0 4px 15px rgba(10, 22, 40, 0.03);
  height: 100%;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent-lt));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.service-card:hover {
  transform: translate3d(0, -5px, 0);
  border-color: rgba(200, 150, 12, 0.25);
  box-shadow: var(--shadow-lift);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-card-icon {
  font-size: 36px;
  color: var(--accent);
  margin-bottom: 20px;
}

.service-card h4,
.service-card h5 {
  font-family: var(--font-cond);
  text-transform: uppercase;
  margin-bottom: 12px;
  color: var(--navy);
}

.service-card p {
  font-size: 15px;
  color: var(--gray-600);
  line-height: 1.7;
  margin: 0;
}

/* ── Customers Page ── */
.customer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

@media (max-width: 991px) {
  .customer-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 576px) {
  .customer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ── Lightbox (Phóng to ảnh) ── */
.lightbox-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(10, 22, 40, 0.85);
  backdrop-filter: blur(6px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.lightbox-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-content {
  position: relative;
  max-width: 85%;
  max-height: 85%;
  transform: scale(0.92) translate3d(0, 10px, 0);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  align-items: center;
  justify-content: center;
  will-change: transform;
}

.lightbox-overlay.active .lightbox-content {
  transform: scale(1) translate3d(0, 0, 0);
}

.lightbox-img {
  max-width: 100%;
  max-height: 85vh;
  border-radius: var(--radius-sm);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
  object-fit: contain;
  display: block;
}

.lightbox-close {
  position: absolute;
  top: -45px;
  right: 0;
  background: none;
  border: none;
  color: var(--white);
  font-size: 36px;
  cursor: pointer;
  line-height: 1;
  transition: color 0.2s;
  padding: 5px;
}

.lightbox-close:hover {
  color: var(--accent);
}

/* ── Thumbnail Carousel ── */
.thumb-carousel-wrap {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
}

.thumb-carousel-track-container {
  overflow: hidden;
  flex: 1;
}

.thumb-carousel-track {
  display: flex;
  gap: 8px;
  transition: transform 0.55s cubic-bezier(0.25, 0.8, 0.25, 1);
  will-change: transform;
}

.thumb-carousel-item {
  flex: 0 0 calc((100% - 24px) / 4);
  box-sizing: border-box;
}

.thumb-carousel-prev,
.thumb-carousel-next {
  background: var(--navy);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.15);
  width: 42px;
  height: 42px;
  min-width: 42px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  line-height: 1;
  transition: var(--transition);
  z-index: 2;
  box-shadow: 0 4px 14px rgba(10, 22, 40, 0.25);
}

.thumb-carousel-prev:hover,
.thumb-carousel-next:hover {
  background: var(--accent);
  color: var(--navy);
  border-color: var(--accent);
  transform: scale(1.08);
}

.thumb-carousel-prev:active,
.thumb-carousel-next:active {
  transform: scale(0.96);
}

.thumb-carousel-prev:disabled,
.thumb-carousel-next:disabled {
  opacity: 0.25;
  cursor: not-allowed;
  background: var(--gray-300);
  color: var(--gray-500);
  border-color: transparent;
  transform: none;
  box-shadow: none;
}

/* ============================================================
   Horizontal Industrial Timeline
   ============================================================ */
.timeline-horizontal-section {
  background: var(--navy-mid);
  padding: 80px 0;
  color: var(--white);
  overflow: hidden;
  position: relative;
}

.timeline-horizontal-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(180deg, rgba(17, 34, 64, 0.88) 0%, rgba(10, 22, 40, 0.78) 50%, rgba(17, 34, 64, 0.92) 100%),
    url('../images/maina-history.jpg');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  opacity: 0.45;
  filter: contrast(1.08);
  pointer-events: none;
  z-index: 0;
}

.timeline-horizontal-section > .container-fluid {
  position: relative;
  z-index: 1;
}

.timeline-horizontal-section .section-title {
  color: var(--white);
}

.timeline-horizontal-section .section-subtitle {
  color: var(--gray-400);
}

.timeline-horizontal-wrapper {
  width: 100%;
  overflow-x: auto;
  padding: 30px 0 50px 0;
  position: relative;
  scrollbar-width: thin;
  scrollbar-color: var(--accent) var(--navy-mid);
  cursor: grab;
}

.timeline-horizontal-wrapper:active {
  cursor: grabbing;
}

.timeline-horizontal-wrapper::-webkit-scrollbar {
  height: 8px;
}

.timeline-horizontal-wrapper::-webkit-scrollbar-track {
  background: var(--navy-mid);
  border-radius: 4px;
}

.timeline-horizontal-wrapper::-webkit-scrollbar-thumb {
  background: var(--accent);
  border-radius: 4px;
}

.timeline-horizontal-track {
  display: flex;
  position: relative;
  padding-top: 60px;
  min-width: max-content;
}

.timeline-horizontal-line {
  position: absolute;
  top: 30px;
  left: 0;
  right: 0;
  height: 4px;
  background: rgba(200, 150, 12, 0.25);
  z-index: 1;
}

.timeline-horizontal-item {
  width: 320px;
  flex-shrink: 0;
  position: relative;
  padding: 0 15px;
  z-index: 2;
}

.timeline-node {
  position: absolute;
  top: -46px; /* 30px line + dot alignment */
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  pointer-events: none;
}

.timeline-year {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 6px;
  transition: var(--transition);
}

.timeline-dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--navy);
  border: 4px solid var(--accent);
  box-shadow: 0 0 10px rgba(200, 150, 12, 0.4);
  transition: var(--transition);
}

.timeline-horizontal-item:hover .timeline-year {
  color: var(--white);
  transform: scale(1.1);
}

.timeline-horizontal-item:hover .timeline-dot {
  background: var(--accent-lt);
  border-color: var(--white);
  box-shadow: 0 0 15px var(--accent-lt);
}

.timeline-card {
  background: rgba(10, 22, 40, 0.58);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  padding: 24px;
  margin-top: 30px;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  transition: var(--transition);
  position: relative;
  height: calc(100% - 30px);
}

.timeline-card::before {
  content: '';
  position: absolute;
  top: -30px;
  left: 50%;
  width: 1px;
  height: 30px;
  background: rgba(200, 150, 12, 0.3);
  transition: var(--transition);
}

.timeline-horizontal-item:hover .timeline-card {
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--accent);
  transform: translateY(5px);
  box-shadow: var(--shadow-heavy);
}

.timeline-horizontal-item:hover .timeline-card::before {
  background: var(--accent);
  width: 2px;
}

.timeline-card-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
  text-transform: uppercase;
}

.timeline-card-desc {
  font-size: 14px;
  color: var(--gray-200);
  line-height: 1.6;
  margin: 0;
}

.timeline-card-desc ul {
  padding-left: 18px;
  margin-top: 8px;
  margin-bottom: 0;
  color: var(--gray-400);
}

.timeline-card-desc li {
  margin-bottom: 6px;
}

.timeline-scroll-indicator {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
  font-size: 13px;
  color: var(--gray-400);
}

.timeline-scroll-indicator i {
  animation: pulse-horizontal 1.5s infinite;
}

@keyframes pulse-horizontal {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(5px); }
}

/* ============================================================
   MAINA EDITORIAL — Home Page (Minimal Split)
   ============================================================ */

.maina-editorial-section {
  background: var(--navy);
  overflow: hidden;
}

.maina-editorial-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 600px;
}

.maina-editorial-image {
  position: relative;
  overflow: hidden;
}

.maina-editorial-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: grayscale(20%) contrast(1.05);
  transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.maina-editorial-section:hover .maina-editorial-image img {
  transform: scale(1.03);
}

.maina-editorial-image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(5, 15, 35, 0.0) 0%,
    rgba(5, 15, 35, 0.45) 100%
  );
}

.maina-editorial-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px 72px;
  position: relative;
}

.maina-editorial-label {
  font-family: var(--font-cond);
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 28px;
}

.maina-editorial-title {
  font-family: var(--font-cond);
  font-size: clamp(5rem, 9vw, 9rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--white);
  line-height: 0.9;
  margin-bottom: 20px;
}

.maina-editorial-sub {
  font-family: var(--font-cond);
  font-size: 1rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gray-400);
}

.maina-editorial-rule {
  width: 48px;
  height: 1px;
  background: var(--accent);
  margin: 32px 0;
  opacity: 0.7;
}

.maina-editorial-desc {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.85;
  color: var(--gray-400);
  max-width: 340px;
  margin-bottom: 40px;
}

.maina-editorial-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-cond);
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  border-bottom: 1px solid rgba(200, 150, 12, 0.35);
  padding-bottom: 4px;
  width: fit-content;
  transition: var(--transition);
}

.maina-editorial-cta:hover {
  color: var(--accent-lt);
  border-color: var(--accent-lt);
}

@media (max-width: 900px) {
  .maina-editorial-inner {
    grid-template-columns: 1fr;
    min-height: unset;
  }
  .maina-editorial-image {
    height: 300px;
  }
  .maina-editorial-content {
    padding: 52px 32px;
  }
  .maina-editorial-title {
    font-size: clamp(4rem, 15vw, 6rem);
  }
}

/* ============================================================
   MAINA INDUSTRIAL — About Page (Full Presentation)
   ============================================================ */

.maina-industrial-section {
  background: var(--navy);
  position: relative;
  overflow: hidden;
}

/* Subtle blueprint grid texture */
.maina-industrial-bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(90, 120, 170, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(90, 120, 170, 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
  z-index: 0;
}

.maina-industrial-inner {
  display: grid;
  grid-template-columns: 42% 58%;
  min-height: 700px;
  position: relative;
  z-index: 1;
}

.maina-industrial-image {
  position: relative;
  overflow: hidden;
}

.maina-industrial-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: grayscale(15%) contrast(1.08);
}

.maina-industrial-image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(5, 15, 35, 0.15) 0%,
    rgba(5, 15, 35, 0.65) 100%
  );
}

.maina-industrial-content {
  padding: 72px 64px 72px 56px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow-y: auto;
}

.maina-ind-label {
  font-family: var(--font-cond);
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}

.maina-ind-title-block {
  margin-bottom: 12px;
}

.maina-ind-title {
  font-family: var(--font-cond);
  font-size: clamp(3.5rem, 6vw, 6.5rem);
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--white);
  line-height: 0.9;
  margin-bottom: 8px;
}

.maina-ind-subtitle-full {
  font-family: var(--font-cond);
  font-size: 1.05rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gray-400);
}

.maina-ind-tagline {
  font-family: var(--font-cond);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--steel-light);
  letter-spacing: 0.04em;
  margin-top: 16px;
}

.maina-ind-rule {
  width: 48px;
  height: 1px;
  background: var(--accent);
  margin: 24px 0;
  opacity: 0.7;
}

.maina-ind-desc {
  font-size: 14.5px;
  line-height: 1.85;
  color: var(--gray-400);
  max-width: 520px;
  margin-bottom: 32px;
}

/* Manufacturing capability grid */
.maina-cap-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  margin-bottom: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.maina-cap-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding-right: 16px;
}

.maina-cap-item:nth-child(odd) {
  padding-right: 20px;
  border-right: 1px solid rgba(255, 255, 255, 0.06);
}

.maina-cap-item:nth-child(even) {
  padding-left: 20px;
}

.maina-cap-icon {
  width: 30px;
  height: 30px;
  background: rgba(200, 150, 12, 0.08);
  border: 1px solid rgba(200, 150, 12, 0.18);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--accent);
  font-size: 12px;
}

.maina-cap-title {
  font-family: var(--font-cond);
  font-size: 13px;
  font-weight: 700;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 2px;
}

.maina-cap-sub {
  font-size: 11.5px;
  color: var(--gray-600);
  line-height: 1.4;
}

/* Cert + Ref row */
.maina-cert-ref-row {
  display: flex;
  gap: 32px;
  margin-bottom: 36px;
  padding: 20px 24px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--radius-md);
  flex-wrap: wrap;
}

.maina-cert-block,
.maina-ref-block {
  flex: 1;
  min-width: 160px;
}

.maina-cert-label,
.maina-ref-label {
  font-family: var(--font-cond);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}

.maina-cert-list {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}

.maina-cert-badge {
  font-family: var(--font-cond);
  font-size: 12px;
  color: var(--white);
  background: rgba(200, 150, 12, 0.1);
  border: 1px solid rgba(200, 150, 12, 0.25);
  border-radius: 3px;
  padding: 3px 10px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  letter-spacing: 0.06em;
}

.maina-cert-badge i {
  color: var(--accent);
  font-size: 10px;
}

.maina-cert-authority {
  font-size: 11px;
  color: var(--gray-600);
}

.maina-ref-list {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.maina-ref-list span {
  font-family: var(--font-cond);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--gray-200);
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 3px;
  padding: 3px 10px;
}

/* CTA link */
.maina-ind-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-cond);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  border-bottom: 1px solid rgba(200, 150, 12, 0.3);
  padding-bottom: 3px;
  width: fit-content;
  transition: var(--transition);
}

.maina-ind-cta:hover {
  color: var(--accent-lt);
  border-color: var(--accent-lt);
}

@media (max-width: 1024px) {
  .maina-industrial-inner {
    grid-template-columns: 1fr;
    min-height: unset;
  }
  .maina-industrial-image {
    height: 360px;
  }
  .maina-industrial-content {
    padding: 52px 32px;
  }
}

@media (max-width: 600px) {
  .maina-cap-grid {
    grid-template-columns: 1fr;
  }
  .maina-cap-item:nth-child(odd) {
    border-right: none;
    padding-right: 0;
  }
  .maina-cap-item:nth-child(even) {
    padding-left: 0;
  }
  .maina-industrial-content {
    padding: 40px 20px;
  }
}

/* ============================================================
   CTA BANNER SECTION
   ============================================================ */
.cta-banner {
  padding: 48px 0;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 50%, var(--navy-light) 100%);
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(200, 150, 12, 0.15);
  border-bottom: 1px solid rgba(200, 150, 12, 0.15);
}

/* Background subtle industrial pattern grid / glow overlay */
.cta-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 80% 50%, rgba(200, 150, 12, 0.1) 0%, transparent 60%),
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 100% 100%, 40px 40px, 40px 40px;
  pointer-events: none;
  opacity: 0.8;
}

.cta-banner h2 {
  color: var(--white);
  font-family: var(--font-cond);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-bottom: 8px;
  position: relative;
}

.cta-banner p {
  color: var(--gray-200);
  font-size: 15px;
  max-width: 720px;
  margin-bottom: 0;
  line-height: 1.6;
  position: relative;
  font-weight: 400;
}

.cta-banner .btn-primary-gold,
.cta-banner .btn-outline-white {
  position: relative;
  z-index: 2;
}

/* ── Product Gallery Navigation Buttons ── */
.product-gallery-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(10, 22, 40, 0.6);
  color: #fff;
  border: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: opacity 0.3s ease, transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.25s ease, color 0.25s ease;
  z-index: 10;
  opacity: 0;
  pointer-events: none;
}
.product-main-img-wrap:hover .product-gallery-btn {
  opacity: 1;
  pointer-events: auto;
}
.product-gallery-btn:hover {
  background: var(--accent);
  color: #fff;
  transform: translateY(-50%) scale(1.1);
}
.product-gallery-btn.prev {
  left: 15px;
}
.product-gallery-btn.next {
  right: 15px;
}
.product-gallery-btn .ic {
  font-size: 18px;
}

/* ── Boneyard Skeleton Loading Overlays ── */
.skeleton-section {
  position: relative;
}

.skeleton-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 20;
  background: var(--white);
  pointer-events: none;
  opacity: 1;
  transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.skeleton-section.loaded .skeleton-overlay {
  opacity: 0;
}

/* Override boneyard default bone color to match our design tokens */
.skeleton-overlay .boneyard-bone {
  background-color: var(--gray-100) !important;
  animation-name: boneyard-site-pulse !important;
}

@keyframes boneyard-site-pulse {
  0%, 100% { background-color: var(--gray-100); }
  50% { background-color: #d8dee6; }
}

/* ============================================================
   UI/UX ENHANCEMENTS — Premium Upgrade Pack
   ============================================================ */

/* ── 1. Inter font body refinements ── */
p, li, span, td, th {
  font-feature-settings: "kern" 1, "liga" 1;
  letter-spacing: -0.01em;
}

/* Headings keep Barlow Condensed but with refined sizing */
h1, h2, h3 {
  letter-spacing: 0.01em;
}

/* ── 2. Customer Logo Card — Enhanced hover lift ── */
.customer-logo-wrapper {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-md);
  padding: 16px 12px 12px;
  text-align: center;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1),
              box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1),
              border-color 0.3s ease;
  box-shadow: 0 2px 8px rgba(10, 22, 40, 0.04);
}

.customer-logo-wrapper:hover {
  border-color: var(--accent);
  box-shadow: 0 12px 32px rgba(10, 22, 40, 0.12), 0 4px 12px rgba(200, 150, 12, 0.12);
  transform: translateY(-6px);
}

/* ── 3. Dark sections text contrast improvements ── */
/* why-section body text improvement */
.why-content p {
  color: #A0B8CC;   /* brighter than gray-400 for better legibility on navy */
  font-size: 15px;
  line-height: 1.75;
}

/* Product/partner section subtitle */
.section-subtitle.white {
  color: #C5D5E2;
}

/* Footer contact text */
.footer-contact-item p,
.footer-contact-item a {
  color: #9BB5CC;
  font-size: 14px;
}

.footer-contact-item a:hover {
  color: var(--accent);
}

/* ── 4. Section titles — tighter, more editorial ── */
.section-title {
  line-height: 1.1;
}

/* ── 5. AOS custom easing override ── */
[data-aos] {
  pointer-events: none;
}
[data-aos].aos-animate {
  pointer-events: auto;
}

/* ── 6. Smooth outline-navy button hover ── */
.btn-outline-navy:hover {
  background: var(--navy);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(10, 22, 40, 0.25);
}

/* ── 7. Back-to-top button — enhanced glow ── */
#backToTop {
  box-shadow: 0 4px 16px rgba(200, 150, 12, 0.35) !important;
}

#backToTop:hover {
  transform: translateY(-3px) !important;
  box-shadow: 0 8px 24px rgba(200, 150, 12, 0.5) !important;
}

/* ── 8. Why-section item hover reveal ── */
.why-item {
  transition: transform 0.3s ease;
  padding: 4px 0;
}

.why-item:hover {
  transform: translateX(4px);
}

.why-bullet {
  box-shadow: 0 0 0 0 rgba(200, 150, 12, 0.4);
  transition: box-shadow 0.3s ease;
}

.why-item:hover .why-bullet {
  box-shadow: 0 0 0 5px rgba(200, 150, 12, 0.15);
}

/* ── 9. Product grid items — smooth internal zoom without breaking grid frame ── */
.product-grid-item {
  transition: box-shadow 0.45s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.product-grid-item:hover {
  z-index: 2;
}

/* ── 10. Form focus label animation ── */
.form-label {
  transition: color 0.2s ease;
}

.form-control:focus ~ .form-label,
.form-select:focus ~ .form-label {
  color: var(--accent);
}

/* ── 11. Footer links hover ── */
.footer-links a {
  display: inline-block;
  transition: color 0.25s ease, transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.footer-links a:hover {
  color: var(--accent);
  transform: translate3d(4px, 0, 0);
}

/* ── 12. Breadcrumb separator color ── */
.breadcrumb-item + .breadcrumb-item::before {
  color: var(--accent);
  opacity: 0.5;
}

/* ── 13. Nav CTA glow on hover ── */
.nav-cta:hover,
.nav-cta.active:hover {
  background: var(--accent) !important;
  color: var(--navy) !important;
  box-shadow: 0 4px 16px rgba(200, 150, 12, 0.35) !important;
}

/* ── 14. Contact form card bottom border accent ── */
.contact-form-card {
  position: relative;
  overflow: hidden;
}

.contact-form-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent-lt), transparent);
}

/* ── 15. Page hero accent line pulse ── */
.page-hero::after {
  animation: accentPulse 3s ease-in-out infinite;
}

@keyframes accentPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.6; }
}

/* ============================================================
   Product Gallery Prev/Next Navigation Buttons
   ============================================================ */
.product-gallery-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(10, 22, 40, 0.7);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.15);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  z-index: 5;
  opacity: 0;
  transition: opacity 0.3s ease, transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
  backdrop-filter: blur(4px);
}

.product-main-img-wrap:hover .product-gallery-btn {
  opacity: 1;
}

.product-gallery-btn:hover {
  background: var(--accent);
  color: var(--navy);
  border-color: var(--accent);
  transform: translateY(-50%) scale(1.1);
}

.product-gallery-btn.prev {
  left: 12px;
}

.product-gallery-btn.next {
  right: 12px;
}

/* ============================================================
   Floating Contact Widget (Zalo + Hotline)
   ============================================================ */
.floating-contact {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
}

.floating-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px 10px 12px;
  border-radius: 50px;
  text-decoration: none;
  font-family: var(--font-cond);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.02em;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.22, 1, 0.36, 1), background-color 0.25s ease;
  white-space: nowrap;
}

.floating-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.35);
}

.floating-btn-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}

.floating-btn-zalo {
  background: #0068FF;
  color: #fff;
}

.floating-btn-zalo .floating-btn-icon {
  background: rgba(255, 255, 255, 0.2);
}

.floating-btn-zalo:hover {
  background: #0055DD;
  color: #fff;
}

.floating-btn-phone {
  background: var(--accent);
  color: var(--navy);
}

.floating-btn-phone .floating-btn-icon {
  background: rgba(10, 22, 40, 0.12);
  animation: floatingPulse 2s ease-in-out infinite;
}

.floating-btn-phone:hover {
  background: var(--accent-lt);
  color: var(--navy);
}

@keyframes floatingPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.1); }
}

/* Responsive: collapse labels on small screens */
@media (max-width: 576px) {
  .floating-contact {
    bottom: 74px;
    left: 16px;
  }
  .floating-btn {
    padding: 0;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    justify-content: center;
  }
  .floating-btn-label {
    display: none;
  }
  .floating-btn-icon {
    width: 48px;
    height: 48px;
    font-size: 20px;
  }
}

/* ============================================================
   UX ENHANCEMENTS (UX Design Guide Implementation)
   ============================================================ */

/* ── 1. Hero Slider Progress Bar ── */
.hero-slider {
  position: relative;
}

.hero-progress-track {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: rgba(255, 255, 255, 0.15);
  z-index: 10;
  overflow: hidden;
}

.hero-progress-bar {
  height: 100%;
  width: 100%;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left center;
  will-change: transform;
}

/* ── 2. Mobile Bottom Action Bar (Fitts's Law / Thumb Zone) ── */
.mobile-action-bar {
  display: none;
}

@media (max-width: 768px) {
  .mobile-action-bar {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: rgba(10, 22, 40, 0.97);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid rgba(200, 150, 12, 0.35);
    z-index: 1050;
    padding: 8px 12px;
    gap: 10px;
    box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.35);
  }

  .mobile-action-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-radius: 8px;
    font-family: var(--font-cond);
    font-size: 14.5px;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-decoration: none;
    padding: 0 10px;
    transition: transform 0.15s ease, background 0.15s ease;
  }

  .mobile-action-btn:active {
    transform: scale(0.97);
  }

  .mobile-action-phone {
    background: var(--accent);
    color: var(--navy);
  }

  .mobile-action-phone:hover {
    background: var(--accent-lt);
    color: var(--navy);
  }

  .mobile-action-zalo {
    background: #0068FF;
    color: #ffffff;
  }

  .mobile-action-zalo:hover {
    background: #0056d6;
    color: #ffffff;
  }

  /* Hide desktop floating contact on mobile to prevent clutter */
  .floating-contact {
    display: none !important;
  }

  /* Lift Back to Top above the mobile action bar */
  #backToTop {
    bottom: 74px !important;
    right: 16px !important;
  }

  /* Add padding to prevent footer/content cutoff */
  body {
    padding-bottom: 60px;
  }
}

/* ── 3. Quick Product Search & Filter Bar (Hick's Law) ── */
.product-search-container {
  background: var(--navy-mid);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(200, 150, 12, 0.25);
  padding: 16px 0;
  position: relative;
  z-index: 90;
}

.product-search-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  justify-content: space-between;
}

.product-search-input-wrap {
  position: relative;
  flex: 1;
  min-width: 280px;
}

.product-search-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--gray-400);
  font-size: 14px;
  pointer-events: none;
}

.product-search-input {
  width: 100%;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  padding: 10px 38px 10px 38px;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 14px;
  transition: var(--transition);
}

.product-search-input:focus {
  outline: none;
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(200, 150, 12, 0.25);
}

.product-search-input::placeholder {
  color: var(--gray-400);
  font-size: 13.5px;
}

.product-search-clear {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--gray-400);
  cursor: pointer;
  padding: 4px;
  display: none;
  font-size: 14px;
}

.product-search-clear:hover {
  color: var(--white);
}

.product-quick-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.product-tag-label {
  font-family: var(--font-cond);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--gray-400);
}

.product-tag-btn {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: var(--gray-200);
  font-family: var(--font-cond);
  font-size: 12.5px;
  font-weight: 500;
  padding: 4px 12px;
  border-radius: 20px;
  cursor: pointer;
  transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.product-tag-btn:hover,
.product-tag-btn.active {
  background: var(--accent);
  color: var(--navy);
  border-color: var(--accent);
}

/* ── 4. Request Quote Button per Product Category ── */
.btn-product-quote {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-lt) 100%);
  color: var(--navy) !important;
  font-family: var(--font-cond);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 9px 20px;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(200, 150, 12, 0.28);
  transition: var(--transition);
  margin-top: 14px;
}

.btn-product-quote:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(200, 150, 12, 0.42);
  color: var(--navy) !important;
}

/* ── 5. Language Switcher (VI | EN) ── */
.lang-switcher {
  display: inline-flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 20px;
  padding: 2px 4px;
  gap: 2px;
}

.lang-btn {
  background: none;
  border: none;
  color: var(--gray-300);
  font-family: var(--font-cond);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 2px 8px;
  border-radius: 12px;
  cursor: pointer;
  transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.lang-btn:hover {
  color: var(--white);
}

.lang-btn.active {
  background: var(--accent);
  color: var(--navy);
}

/* ── 6. Technical Spec Table Improvements (Gestalt & Usability) ── */
.table-responsive-custom {
  position: relative;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: 8px;
  border: 1px solid var(--gray-100);
}

.spec-table {
  width: 100%;
  margin-bottom: 0;
  font-size: 13.5px;
}

.spec-table thead th {
  background: var(--navy);
  color: var(--white);
  font-family: var(--font-cond);
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 12px 14px;
  border: none;
  white-space: nowrap;
}

.spec-table tbody tr:nth-child(even) {
  background: rgba(10, 22, 40, 0.025);
}

.spec-table tbody tr:hover {
  background: rgba(200, 150, 12, 0.06);
}

.spec-table td {
  padding: 10px 14px;
  border-top: 1px solid var(--gray-100);
  color: var(--text-body);
}

/* ── 7. Direct Zalo Quick Action on Contact Page ── */
.zalo-quick-action {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: linear-gradient(135deg, rgba(0, 104, 255, 0.08) 0%, rgba(0, 104, 255, 0.03) 100%);
  border: 1px dashed rgba(0, 104, 255, 0.35);
  border-radius: 10px;
  padding: 16px 20px;
  margin-bottom: 24px;
}

.zalo-quick-action-text h6 {
  font-size: 15px;
  margin-bottom: 3px;
  color: var(--navy);
}

.zalo-quick-action-text p {
  font-size: 13px;
  color: var(--gray-600);
  margin-bottom: 0;
  line-height: 1.4;
}

.btn-zalo-direct {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #0068FF;
  color: #ffffff !important;
  font-family: var(--font-cond);
  font-size: 13px;
  font-weight: 700;
  padding: 8px 16px;
  border-radius: 6px;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.2s ease;
}

.btn-zalo-direct:hover {
  background: #0056d6;
}

/* ============================================================
   8. Impact Stats Bar (Heritage & Numbers) — Glassmorphism Industrial
   ============================================================ */
.stats-section {
  position: relative;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  padding: 56px 0;
  border-top: 1px solid rgba(200, 150, 12, 0.25);
  border-bottom: 1px solid rgba(10, 22, 40, 0.08);
  box-shadow: 0 10px 30px rgba(10, 22, 40, 0.12);
  overflow: hidden;
  z-index: 5;
}

.stats-section::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -20%;
  width: 140%;
  height: 200%;
  background: radial-gradient(circle at 50% 50%, rgba(200, 150, 12, 0.06), transparent 60%);
  pointer-events: none;
}

.stat-card {
  position: relative;
  padding: 24px 20px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.22, 1, 0.36, 1), background-color 0.3s ease, border-color 0.3s ease;
  text-align: center;
  height: 100%;
  cursor: default;
}

.stat-card:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(200, 150, 12, 0.4);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25), 0 0 20px rgba(200, 150, 12, 0.15);
}

.stat-icon {
  font-size: 26px;
  color: var(--accent);
  margin-bottom: 12px;
  display: inline-block;
  transition: transform 0.3s ease;
}

.stat-card:hover .stat-icon {
  transform: scale(1.15);
}

.stat-number {
  font-family: var(--font-cond);
  font-size: clamp(2.2rem, 3.5vw, 3rem);
  font-weight: 700;
  line-height: 1;
  background: linear-gradient(135deg, #ffffff 30%, var(--accent-lt) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 8px;
  letter-spacing: 0.02em;
}

.stat-label {
  font-family: var(--font-cond);
  font-size: 14px;
  font-weight: 600;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 4px;
}

.stat-subtext {
  font-size: 12.5px;
  color: var(--gray-400);
  line-height: 1.4;
  margin-bottom: 0;
}

/* ── Refined Back To Top Button ── */
#backToTop {
  transition: opacity 0.35s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.35s cubic-bezier(0.22, 1, 0.36, 1),
              background-color 0.25s ease !important;
  box-shadow: 0 4px 16px rgba(10, 22, 40, 0.18);
  pointer-events: none;
  transform: translate3d(0, 10px, 0);
  will-change: opacity, transform;
}

#backToTop.is-visible {
  opacity: 1 !important;
  pointer-events: auto;
  transform: translate3d(0, 0, 0);
}

#backToTop:hover {
  transform: translate3d(0, -4px, 0) scale(1.06) !important;
  box-shadow: 0 8px 24px rgba(200, 150, 12, 0.5);
  background: var(--accent-lt) !important;
}

/* ── Customer Profile Cards (customers.html) ── */
.customer-profile-card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-md);
  padding: 28px;
  text-align: center;
  height: 100%;
  box-shadow: 0 2px 8px rgba(10, 22, 40, 0.06);
  transition: transform 0.38s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.38s cubic-bezier(0.22, 1, 0.36, 1),
              border-color 0.3s ease;
  will-change: transform;
}

.customer-profile-card:hover {
  transform: translate3d(0, -6px, 0);
  border-color: rgba(200, 150, 12, 0.45);
  box-shadow: 0 12px 32px rgba(10, 22, 40, 0.14);
}

/* ── Interactive Card & Pointer States ── */
.customer-logo-wrapper,
.product-grid-item,
.overview-card {
  cursor: pointer;
}

.customer-logo-wrapper {
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.3s ease;
}

.customer-logo-wrapper:hover {
  transform: translateY(-6px);
  border-color: rgba(200, 150, 12, 0.5);
  box-shadow: 0 10px 28px rgba(10, 22, 40, 0.12);
}

/* ── Pulse animation on Floating hotline ── */
@keyframes floatingGlowPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(200, 150, 12, 0.5);
  }
  70% {
    box-shadow: 0 0 0 12px rgba(200, 150, 12, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(200, 150, 12, 0);
  }
}

.floating-btn-phone {
  animation: floatingGlowPulse 2.5s infinite;
}

/* ── Accessibility: Reduced Motion ── */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}



/* ============================================================
   INLINE SVG ICONS (replaces Font Awesome)
   ============================================================ */
.ic {
  display: inline-block;
  width: 1em;
  height: 1em;
  flex-shrink: 0;
  vertical-align: -0.125em;
  pointer-events: none;
}

.hero-arrow .ic,
.thumb-carousel-prev .ic,
.thumb-carousel-next .ic {
  width: 18px;
  height: 18px;
}

.product-gallery-btn .ic {
  width: 20px;
  height: 20px;
}

#backToTop .ic {
  width: 18px;
  height: 18px;
}

.product-search-icon.ic {
  width: 16px;
  height: 16px;
}

.product-search-clear .ic {
  width: 16px;
  height: 16px;
}

.floating-btn-icon .ic {
  width: 18px;
  height: 18px;
}

.mobile-action-btn .ic {
  width: 17px;
  height: 17px;
}

/* Arrow nudge on hover for text links */
.feature-strip-link .ic,
.maina-editorial-cta .ic {
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.feature-strip-item:hover .feature-strip-link .ic,
.maina-editorial-cta:hover .ic {
  transform: translate3d(5px, 0, 0);
}

/* Hero arrow icon nudge */
.hero-arrow .ic {
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

#heroPrev:hover .ic { transform: translate3d(-2px, 0, 0); }
#heroNext:hover .ic { transform: translate3d(2px, 0, 0); }

/* ============================================================
   SMOOTH HOVER & CAROUSEL POLISH
   ============================================================ */

/* Card hovers: soft cushion curve (gentle start + smooth landing) */
.overview-card,
.service-card,
.stat-card,
.customer-logo-wrapper,
.customer-profile-card,
.doc-card,
.timeline-card {
  backface-visibility: hidden;
  transition: transform 0.48s cubic-bezier(0.25, 0.8, 0.25, 1),
              box-shadow 0.48s cubic-bezier(0.25, 0.8, 0.25, 1),
              background-color 0.35s ease,
              border-color 0.35s ease;
}

.timeline-year,
.timeline-dot {
  transition: transform 0.45s cubic-bezier(0.25, 0.8, 0.25, 1),
              color 0.32s ease,
              background-color 0.32s ease,
              border-color 0.32s ease,
              box-shadow 0.32s ease;
}

/* Image zooms: slower, softer easing */
.feature-strip-item img,
.product-grid-item img,
.maina-editorial-image img,
.product-img,
.hero-product-img {
  transition: transform 0.85s cubic-bezier(0.25, 0.8, 0.25, 1),
              filter 0.6s ease;
  backface-visibility: hidden;
}

/* Crossfade clone overlay for product gallery main image */
.product-main-img-clone {
  position: absolute;
  inset: 20px;
  width: calc(100% - 40px);
  height: calc(100% - 40px);
  object-fit: contain;
  margin: auto;
  pointer-events: none;
  opacity: 1;
  transform: scale(1);
  transition: opacity 0.38s cubic-bezier(0.25, 0.8, 0.25, 1),
              transform 0.38s cubic-bezier(0.25, 0.8, 0.25, 1);
  z-index: 2;
}

.product-main-img-clone.fade-out {
  opacity: 0;
  transform: scale(1.02);
}

/* Thumbnails */
.thumb-wrap {
  transition: border-color 0.32s ease,
              box-shadow 0.32s ease,
              transform 0.42s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.thumb-wrap:hover {
  transform: translate3d(0, -2px, 0);
  border-color: rgba(200, 150, 12, 0.55);
}

.thumb-wrap img {
  transition: transform 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

.thumb-carousel-prev,
.thumb-carousel-next {
  transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1),
              background-color 0.28s ease,
              color 0.28s ease,
              border-color 0.28s ease,
              opacity 0.28s ease;
}

/* Touch drag states for carousels */
.thumb-carousel-track-container,
.product-main-img-wrap,
.hero-slider {
  touch-action: pan-y;
}

.hero-slides.is-dragging,
.thumb-carousel-track.is-dragging {
  transition: none !important;
}

/* Disable sticky hover lifts on touch devices */
@media (hover: none) {
  .overview-card:hover,
  .service-card:hover,
  .stat-card:hover,
  .customer-logo-wrapper:hover,
  .customer-profile-card:hover,
  .product-grid-item:hover,
  .thumb-wrap:hover,
  .why-item:hover {
    transform: none;
  }
}

/* ============================================================
   LENIS SMOOTH SCROLL STYLES
   ============================================================ */
html.lenis, html.lenis body {
  height: auto;
}

.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}

.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}

.lenis.lenis-stopped {
  overflow: hidden;
}

.lenis.lenis-smooth iframe {
  pointer-events: none;
}

/* Enhanced 3D card tilt smoothness */
.overview-card,
.service-card,
.stat-card,
.customer-logo-wrapper,
.customer-profile-card {
  will-change: transform, box-shadow;
  transform-style: preserve-3d;
}

/* Subtle magnetic button lift */
.btn-primary-gold,
.btn-outline-white,
.btn-outline-zalo {
  will-change: transform;
}

/* ============================================================
   LUCIAN UX/UI TOKENS & BASE RULES (Mapped to Phuong Nam Theme)
   MIT License (c) 2026 Seokwoooo · https://lucianlabs.dev/uxui-prompt/
   ============================================================ */
:root {
  --ux-surface: #FFFFFF;
  --ux-surface-2: var(--white);
  --ux-surface-3: var(--gray-100);
  --ux-ink: var(--navy);
  --ux-ink-2: var(--text-body);
  --ux-ink-3: var(--gray-600);
  --ux-line: rgba(10, 22, 40, 0.12);
  --ux-accent: var(--accent);
  --ux-shadow-strong: rgba(10, 22, 40, 0.28);
}

.ux,
.ux *,
.ux *::before,
.ux *::after {
  box-sizing: border-box;
}

.ux {
  font-family: var(--font-body);
  color: var(--ux-ink);
  -webkit-font-smoothing: antialiased;
  letter-spacing: -0.01em;
  -webkit-tap-highlight-color: transparent;
  word-break: keep-all;
  overflow-wrap: break-word;
}

:where(.ux) :is(button, input, textarea, select) {
  font: inherit;
  color: inherit;
}

:where(.ux) button {
  cursor: pointer;
}

.ux :focus-visible {
  outline: 2px solid var(--ux-accent);
  outline-offset: 3px;
}

.ux [hidden] {
  display: none !important;
}

@media (prefers-reduced-motion: reduce) {
  .ux,
  .ux *,
  .ux *::before,
  .ux *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
}

/* Lucian UX/UI Prompt #295 · MIT License (c) 2026 Seokwoooo · https://lucianlabs.dev/uxui-prompt/#295 */
/* Adapted to full-width contact-form-card size with all Phuong Nam inquiry fields */
.u295{position:relative;width:100%;height:auto;border-radius:var(--radius-lg);overflow:hidden;background:var(--ux-surface);border:1px solid var(--gray-100);box-shadow:var(--shadow-card);color:var(--ux-ink)}
.u295::after{content:'';position:absolute;bottom:0;left:0;right:0;height:3px;background:linear-gradient(90deg,var(--accent),var(--accent-lt),transparent);pointer-events:none}
.u295-fm{position:relative;padding:48px 40px;display:flex;flex-direction:column;transition:opacity .3s,transform .4s}
@media (max-width:576px){.u295-fm{padding:32px 20px}}
.u295.is-sent .u295-fm{opacity:0;transform:scale(.97);pointer-events:none}
.u295 h3{margin:0 0 8px;font-family:var(--font-cond);font-size:24px;font-weight:700;text-transform:uppercase;letter-spacing:.02em;color:var(--ux-ink)}
.u295-fm>p{margin:0 0 20px;font-size:15px;color:var(--ux-ink-3)}
.u295-sg{position:relative;display:flex;margin-bottom:20px;padding:4px;border-radius:12px;background:var(--ux-surface-2);box-shadow:inset 0 0 0 1px var(--ux-line)}
.u295-pl{position:absolute;left:4px;top:4px;bottom:4px;width:calc((100% - 8px) / 3);border-radius:9px;background:var(--ux-surface);box-shadow:0 2px 6px -1px var(--ux-shadow-strong),0 0 0 1px var(--ux-line);transition:transform .35s cubic-bezier(.3,1.3,.5,1)}
.u295-tp{position:relative;flex:1;height:36px;border:0;border-radius:9px;background:none;color:var(--ux-ink-3);font-family:var(--font-cond);font-size:13.5px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;cursor:pointer;white-space:nowrap;transition:color .2s}
.u295-tp[aria-checked="true"]{color:var(--ux-ink)}
.u295-dy{display:grid;grid-template-rows:0fr;opacity:0;transition:grid-template-rows .4s cubic-bezier(.3,1,.4,1),opacity .25s}
.u295-dy>div{min-height:0;overflow:hidden}
.u295-dy.is-on{grid-template-rows:1fr;opacity:1;margin-bottom:16px;transition-delay:.12s}
.u295-lb{display:block;font-family:var(--font-cond);font-size:13px;font-weight:600;text-transform:uppercase;letter-spacing:.05em;color:var(--ux-ink);margin-bottom:6px}
.u295-ch{display:flex;gap:8px;margin-top:8px;flex-wrap:wrap}
.u295-ch button{height:32px;padding:0 14px;border:0;border-radius:999px;background:var(--ux-surface-2);box-shadow:inset 0 0 0 1px var(--ux-line);color:var(--ux-ink-2);font:inherit;font-size:12px;font-weight:600;cursor:pointer;transition:background .2s,color .2s,box-shadow .2s}
.u295-ch button[aria-pressed="true"]{background:var(--ux-ink);color:var(--ux-surface);box-shadow:none}
.u295-at{display:flex;align-items:center;justify-content:center;gap:8px;width:100%;height:44px;margin-top:12px;border:1.5px dashed var(--ux-line);border-radius:10px;background:var(--ux-surface-2);color:var(--ux-ink-2);font:inherit;font-size:13px;font-weight:600;cursor:pointer;transition:border-color .2s,color .2s}
.u295-at:hover{border-color:var(--ux-accent);color:var(--ux-ink)}
.u295-at svg{width:15px;height:15px}
.u295-fl{display:none;align-items:center;gap:10px;margin-top:12px;padding:10px 12px;border-radius:10px;background:var(--ux-surface-2);border:1px solid var(--ux-line);font-size:12.5px;font-weight:600;animation:u295-in .35s cubic-bezier(.3,1.4,.5,1)}
.u295-fl.is-on{display:flex}
.u295.is-file .u295-at{display:none}
@keyframes u295-in{from{opacity:0;transform:scale(.92)}}
.u295-fl i{flex:none;width:28px;height:28px;border-radius:7px;background:linear-gradient(135deg,var(--accent),var(--accent-lt))}
.u295-fl div{flex:1;min-width:0}
.u295-fl span{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.u295-fl small{display:block;font-size:11px;color:var(--ux-ink-3);font-variant-numeric:tabular-nums}
.u295-fl em{display:block;height:3px;margin-top:4px;border-radius:2px;background:var(--ux-surface-3);overflow:hidden}
.u295-fl em b{display:block;height:100%;width:0;background:var(--ux-accent);transition:width 1s cubic-bezier(.3,.8,.3,1)}
.u295-fl button{flex:none;width:26px;height:26px;border:0;border-radius:6px;background:none;color:var(--ux-ink-3);cursor:pointer;display:grid;place-items:center}
.u295-fl button svg{width:11px;height:11px}
.u295-mw{position:relative}
.u295-tx{padding-right:44px !important}
.u295-rg{position:absolute;right:12px;bottom:12px;width:24px;height:24px;transform:rotate(-90deg);pointer-events:none}
.u295-rg circle{fill:none;stroke-width:3}
.u295-rg .t{stroke:var(--ux-surface-3)}
.u295-rg .f{stroke:var(--ux-accent);stroke-linecap:round;stroke-dasharray:56.5;stroke-dashoffset:56.5;transition:stroke-dashoffset .2s,stroke .2s}
.u295-go{width:100%;padding:16px !important;justify-content:center}
.u295-dn{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:32px;text-align:center;background:var(--ux-surface);opacity:0;transform:translateY(14px);pointer-events:none;transition:opacity .35s .15s,transform .45s cubic-bezier(.3,1.3,.5,1) .15s;z-index:5}
.u295.is-sent .u295-dn{opacity:1;transform:none;pointer-events:auto}
.u295-dn i{width:68px;height:68px;border-radius:20px;background:linear-gradient(135deg,#34D399,#059669);display:grid;place-items:center;box-shadow:0 16px 30px -14px #059669}
.u295-dn i::after{content:"";width:12px;height:22px;margin-top:-6px;border:solid #fff;border-width:0 4px 4px 0;transform:rotate(45deg)}
.u295-dn b{margin-top:18px;font-family:var(--font-cond);font-size:24px;font-weight:700;text-transform:uppercase;color:var(--ux-ink)}
.u295-dn p{margin:6px 0 0;font-size:14px;color:var(--ux-ink-3)}
.u295-dn div{margin-top:18px;padding:12px 22px;border-radius:12px;background:var(--ux-surface-2);border:1px solid var(--ux-line);font-size:12px;font-weight:600;color:var(--ux-ink-2)}
.u295-dn div strong{display:block;margin-top:3px;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:17px;color:var(--ux-ink)}
.u295-reset{margin-top:20px;padding:9px 20px;border-radius:var(--radius-sm);border:1.5px solid var(--ux-line);background:transparent;color:var(--ux-ink);font-family:var(--font-cond);font-size:13px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;cursor:pointer;transition:border-color .2s,background .2s}
.u295-reset:hover{border-color:var(--ux-accent);background:var(--ux-surface-2)}
.u295 button:focus-visible{outline:2px solid var(--ux-accent);outline-offset:2px}
@media (prefers-reduced-motion: reduce){.u295-pl,.u295-dy,.u295-fm,.u295-dn,.u295-fl em b{transition:none}.u295-fl{animation:none}}

/* ============================================================
   CARD SPLIT HOVER ANIMATION (.feature-strip & .product-grid)
   ============================================================ */
.card-split-hover {
  position: relative;
  overflow: hidden;
  --card-accent: var(--accent-lt);
  --card-accent-rgb: 232, 184, 32;
  transition: box-shadow 500ms cubic-bezier(0.66, 0.08, 0.19, 0.97);
}

/* Split Overlays (Top 50% & Bottom 50%) */
.card-split-hover::before,
.card-split-hover::after {
  content: '';
  position: absolute;
  left: 0;
  width: 100%;
  height: 50%;
  background: linear-gradient(
    90deg,
    rgba(10, 22, 40, 0.88) 0%,
    rgba(10, 22, 40, 0.72) 65%,
    rgba(var(--card-accent-rgb), 0.18) 100%
  );
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 500ms cubic-bezier(0.66, 0.08, 0.19, 0.97);
  z-index: 1;
  pointer-events: none;
  will-change: transform;
}

.card-split-hover::before {
  top: 0;
  transition-delay: 0ms;
}

.card-split-hover::after {
  top: 50%;
  transition-delay: 150ms;
}

.card-split-hover:hover::before,
.card-split-hover:focus-visible::before,
.card-split-hover.is-revealed::before,
.card-split-hover:hover::after,
.card-split-hover:focus-visible::after,
.card-split-hover.is-revealed::after {
  transform: scaleX(1);
}

/* Card Highlight & Shadow */
.card-split-hover:hover,
.card-split-hover:focus-visible,
.card-split-hover.is-revealed {
  z-index: 3;
  box-shadow: 0 18px 40px -12px rgba(var(--card-accent-rgb), 0.34),
              0 8px 24px rgba(10, 22, 40, 0.35);
}

.card-split-hover:focus-visible {
  outline: 2px solid var(--card-accent);
  outline-offset: -2px;
}

/* Image Zoom (800ms) */
.card-split-hover > img {
  object-fit: cover;
  transition: transform 800ms cubic-bezier(0.66, 0.08, 0.19, 0.97),
              filter 800ms ease;
  will-change: transform;
  backface-visibility: hidden;
}

.card-split-hover:hover > img,
.card-split-hover:focus-visible > img,
.card-split-hover.is-revealed > img {
  transform: scale(1.1);
  filter: brightness(0.65) contrast(1.12);
}

/* Text container above split overlays */
.card-split-hover .feature-strip-text,
.card-split-hover .product-grid-text {
  z-index: 2;
}

.card-split-hover .feature-strip-label,
.card-split-hover .product-grid-cat {
  color: var(--card-accent);
  transition: color 350ms ease;
}

/* Reveal product description cleanly inside split hover */
.card-split-hover .product-grid-desc {
  max-height: 0;
  opacity: 1;
  overflow: hidden;
  transform: none;
  transition: max-height 600ms cubic-bezier(0.38, 0.26, 0.05, 1.07),
              margin-bottom 600ms cubic-bezier(0.38, 0.26, 0.05, 1.07);
}

.card-split-hover:hover .product-grid-desc,
.card-split-hover:focus-visible .product-grid-desc,
.card-split-hover.is-revealed .product-grid-desc {
  max-height: 84px;
  margin-bottom: 14px;
}

/* Sequential Character & Word Reveal */
.card-split-hover .split-char {
  display: inline-block;
  opacity: 0;
  transform: translate3d(0, 18px, 0);
  transition: opacity 750ms cubic-bezier(0.38, 0.26, 0.05, 1.07),
              transform 750ms cubic-bezier(0.38, 0.26, 0.05, 1.07),
              color 400ms ease;
  transition-delay: calc(var(--char-index, 0) * 50ms);
  will-change: opacity, transform;
}

.card-split-hover .split-char.is-space {
  width: 0.28em;
}

.card-split-hover .split-word {
  display: inline-block;
  opacity: 0;
  transform: translate3d(0, 14px, 0);
  transition: opacity 750ms cubic-bezier(0.38, 0.26, 0.05, 1.07),
              transform 750ms cubic-bezier(0.38, 0.26, 0.05, 1.07);
  transition-delay: calc(120ms + var(--word-index, 0) * 15ms);
  will-change: opacity, transform;
}

.card-split-hover:hover .split-char,
.card-split-hover:focus-visible .split-char,
.card-split-hover.is-revealed .split-char {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  color: var(--card-accent);
}

.card-split-hover:hover .split-word,
.card-split-hover:focus-visible .split-word,
.card-split-hover.is-revealed .split-word {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

/* Resting state on touch devices: keep text readable, tap triggers split reveal */
@media (hover: none) {
  .card-split-hover .split-char,
  .card-split-hover .split-word {
    opacity: 0.92;
    transform: translate3d(0, 0, 0);
  }
  .card-split-hover .product-grid-desc {
    max-height: 84px;
    margin-bottom: 14px;
  }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
  .card-split-hover::before,
  .card-split-hover::after,
  .card-split-hover > img,
  .card-split-hover .split-char,
  .card-split-hover .split-word,
  .card-split-hover .product-grid-desc {
    transition: none !important;
    transition-delay: 0ms !important;
  }
  .card-split-hover .split-char,
  .card-split-hover .split-word {
    opacity: 1;
    transform: none;
  }
  .card-split-hover .product-grid-desc {
    max-height: 84px;
    margin-bottom: 14px;
  }
}

/* ============================================================
   SHADCN/UI CAROUSEL (Embla Carousel for Products Page)
   ============================================================ */
.pn-shadcn-gallery {
  width: 100%;
}

.pn-carousel {
  position: relative;
}

.pn-carousel-viewport {
  overflow: hidden;
  border-radius: var(--radius-md);
  border: 1px solid var(--gray-100);
  background: #ffffff;
  box-shadow: 0 2px 12px rgba(10, 22, 40, 0.04);
}

.pn-carousel-track {
  display: flex;
  margin-left: -16px;
  touch-action: pan-y pinch-zoom;
}

.pn-carousel-item {
  flex: 0 0 100%;
  min-width: 0;
  padding-left: 16px;
}

.pn-carousel-item .product-main-img-wrap {
  border: none;
  border-radius: 0;
}

/* shadcn CarouselPrevious / CarouselNext circular outline buttons */
.pn-carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border-radius: 9999px;
  border: 1px solid var(--gray-200);
  background: rgba(255, 255, 255, 0.92);
  color: var(--navy);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 5;
  box-shadow: 0 2px 10px rgba(10, 22, 40, 0.1);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: background-color 0.2s ease,
              color 0.2s ease,
              border-color 0.2s ease,
              transform 0.25s cubic-bezier(0.25, 0.8, 0.25, 1),
              opacity 0.2s ease,
              box-shadow 0.2s ease;
}

.pn-carousel-prev {
  left: 12px;
}

.pn-carousel-next {
  right: 12px;
}

.pn-carousel-btn .ic {
  width: 16px;
  height: 16px;
}

.pn-carousel-btn:hover:not(:disabled) {
  background: var(--navy);
  color: #ffffff;
  border-color: var(--navy);
  transform: translateY(-50%) scale(1.06);
  box-shadow: 0 4px 14px rgba(10, 22, 40, 0.2);
}

.pn-carousel-btn:active:not(:disabled) {
  transform: translateY(-50%) scale(0.95);
}

.pn-carousel-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.pn-carousel-btn:focus-visible,
.pn-thumb-item:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.pn-carousel-counter {
  position: absolute;
  right: 12px;
  bottom: 12px;
  z-index: 4;
  padding: 4px 10px;
  border-radius: 9999px;
  background: rgba(10, 22, 40, 0.72);
  color: #ffffff;
  font-family: var(--font-cond);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  font-variant-numeric: tabular-nums;
  backdrop-filter: blur(6px);
  pointer-events: none;
}

/* Synced Thumbnail Strip */
.pn-thumb-viewport {
  overflow: hidden;
  padding: 2px;
}

.pn-thumb-track {
  display: flex;
  gap: 8px;
}

.pn-thumb-item {
  flex: 0 0 calc((100% - 24px) / 4);
  min-width: 0;
  height: 72px;
  padding: 5px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--gray-100);
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0.65;
  transition: opacity 0.25s ease,
              border-color 0.25s ease,
              box-shadow 0.25s ease,
              transform 0.25s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.pn-thumb-item:hover {
  opacity: 0.95;
  transform: translateY(-2px);
  border-color: rgba(200, 150, 12, 0.5);
}

.pn-thumb-item.is-active {
  opacity: 1;
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent), 0 4px 12px rgba(200, 150, 12, 0.22);
}

.pn-thumb-item img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  pointer-events: none;
}

@media (max-width: 576px) {
  .pn-carousel-btn {
    width: 32px;
    height: 32px;
  }
  .pn-carousel-prev { left: 8px; }
  .pn-carousel-next { right: 8px; }
}

/* ============================================================
   GSAP MOTION DESIGN SYSTEM ENHANCEMENTS
   ============================================================ */
/* Prevent clipping of stacked Vietnamese diacritics (Ớ, Ế, Ẫ, Ộ) inside SplitText masks */
.pn-split-line-mask,
.pn-split-word-mask,
.pn-split-char-mask {
  overflow-clip-margin: 0.22em;
}

.pn-split-line,
.pn-split-word,
.pn-split-char {
  will-change: transform;
}

.pn-scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent-lt));
  transform-origin: left center;
  transform: scaleX(0);
  z-index: 2000;
  pointer-events: none;
  will-change: transform;
}

.product-subnav a.is-active {
  color: var(--white);
  border-bottom-color: var(--accent);
}

.timeline-horizontal-wrapper.is-draggable {
  overflow: hidden;
  touch-action: pan-y;
  user-select: none;
}

.timeline-horizontal-wrapper.is-grabbing {
  cursor: grabbing;
}

@media (prefers-reduced-motion: reduce) {
  .pn-scroll-progress {
    display: none;
  }
}

/* ============================================================
   ON-SITE ENGINEERING & FIELD INSPECTION SHOWCASE (Services)
   ============================================================ */
.onsite-showcase-section {
  background: #ffffff;
  border-top: 1px solid var(--gray-100);
}

.onsite-photo-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--navy);
  border: 1px solid rgba(10, 22, 40, 0.12);
  box-shadow: var(--shadow-heavy);
}

.onsite-photo-media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--navy);
}

.onsite-service-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.65s var(--ease-out-quart);
}

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

.onsite-photo-caption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 15px 22px;
  background: var(--navy);
  border-top: 2px solid var(--accent);
}

.onsite-caption-tag {
  display: block;
  font-family: var(--font-cond);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  line-height: 1.2;
  margin-bottom: 3px;
}

.onsite-caption-title {
  display: block;
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--gray-200);
  line-height: 1.4;
}

.onsite-caption-zoom {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
  font-family: var(--font-cond);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gray-300);
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  pointer-events: none;
}

.onsite-step-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.onsite-step-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 16px 18px;
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.onsite-step-item:hover {
  border-color: rgba(200, 150, 12, 0.35);
  border-left-color: var(--accent);
  box-shadow: 0 6px 20px rgba(10, 22, 40, 0.06);
  transform: translate3d(4px, 0, 0);
}

.onsite-step-num {
  font-family: var(--font-cond);
  font-size: 18px;
  font-weight: 700;
  color: var(--accent-contrast);
  line-height: 1.2;
  min-width: 26px;
  padding-top: 1px;
}

.onsite-step-body h5 {
  font-family: var(--font-cond);
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--navy);
  margin: 0 0 4px;
}

.onsite-step-body p {
  font-size: 14px;
  color: var(--gray-600);
  line-height: 1.6;
  margin: 0;
}

@media (max-width: 576px) {
  .onsite-photo-caption {
    padding: 12px 16px;
  }
  .onsite-caption-zoom {
    display: none;
  }
}

/* Hide inactive language toggle until full i18n dictionary is enabled */
.lang-switcher {
  display: none !important;
}

@media (prefers-reduced-motion: reduce) {
  .onsite-photo-frame:hover .onsite-service-img,
  .onsite-step-item:hover {
    transform: none;
  }
}
